@ckeditor/ckeditor5-uploadcare 47.7.1 → 47.7.2

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 _0x627448=_0x2526;function _0x2526(_0x3f58de,_0x2a7c5a){const _0x104c30=_0x104c();return _0x2526=function(_0x252656,_0xd68723){_0x252656=_0x252656-0x1da;let _0x5f94d=_0x104c30[_0x252656];return _0x5f94d;},_0x2526(_0x3f58de,_0x2a7c5a);}(function(_0x23a1d,_0x2fb810){const _0x364186=_0x2526,_0x441c68=_0x23a1d();while(!![]){try{const _0x4ca168=-parseInt(_0x364186(0x1de))/0x1*(-parseInt(_0x364186(0x220))/0x2)+-parseInt(_0x364186(0x1fc))/0x3*(parseInt(_0x364186(0x222))/0x4)+parseInt(_0x364186(0x218))/0x5*(-parseInt(_0x364186(0x20e))/0x6)+-parseInt(_0x364186(0x1e9))/0x7+parseInt(_0x364186(0x1fa))/0x8+-parseInt(_0x364186(0x1e6))/0x9+parseInt(_0x364186(0x1f1))/0xa*(parseInt(_0x364186(0x208))/0xb);if(_0x4ca168===_0x2fb810)break;else _0x441c68['push'](_0x441c68['shift']());}catch(_0x4f293e){_0x441c68['push'](_0x441c68['shift']());}}}(_0x104c,0x6869e));import{Plugin as _0x559eb4}from'ckeditor5/src/core.js';import{Dialog as _0x541625}from'ckeditor5/src/ui.js';import{createElement as _0x2694ae,global as _0x1916c1,uid as _0x2fe9e4}from'ckeditor5/src/utils.js';import{UploadcareCommand as _0x4e79fe}from'./uploadcarecommand.js';function _0x104c(){const _0x13441b=['5JpsveU','imageInline','for','schema','insertImage','requires','_initCtx','uploader-','6rizcEO','attributeToAttribute','3372844TiARJf','render','isPremiumPlugin','uploadcareImageReplace','closeMax','get','replaceImageSource','removeAttribute','#uc-icon-arrow-down','uc-config','selection','listenTo','isOfficialPlugin','editor','isRegistered','data-uc-image-id','_initConfig','upcast','124827TNfgOn','PictureEditing','elementToAttribute','uploadcare.pubkey','_initImageProcessingIndicator','editing','view','_initSchema','346689pvUEAc','_configElement','iconHrefResolver','572369BzPzxJ','querySelector','fromCharCode','destroy','once','imageBlock','ctxElement','href','70IbJgsJ','locale','uc-upload-ctx-provider','config','join','_initConversion','add','remove','cleanupImage','4105008GhjinQ','execute','3YJgrnA','configElement','document','uploadcare.uploader','body','getAttribute','model','_ctxElement','contentLanguage','\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','afterInit','extend','1019051btXpzR','input[uploadcare-file-input]','uploadcare','appendChild','conversion','downcast','869502PWxqfQ','commands','ucContextId','UploadcareEditing','true','getSelectedElement','pluginName','map','init','uploadcareImageId'];_0x104c=function(){return _0x13441b;};return _0x104c();}import{UploadcareUploadAdapter as _0x533028}from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x2d805d}from'./utils/editingutils.js';export class UploadcareEditing extends _0x559eb4{[_0x627448(0x1e7)]=null;[_0x627448(0x203)]=null;static get[_0x627448(0x214)](){const _0x5e387f=_0x627448;return _0x5e387f(0x211);}static get[_0x627448(0x21d)](){const _0xa511dd=_0x627448;return[_0xa511dd(0x1df),_0x533028,_0x541625];}static get[_0x627448(0x22e)](){return!0x0;}static get[_0x627448(0x224)](){return!0x0;}[_0x627448(0x210)];get[_0x627448(0x1fd)](){const _0x5050a9=_0x627448;return this[_0x5050a9(0x1e7)];}get[_0x627448(0x1ef)](){const _0x30dc53=_0x627448;return this[_0x30dc53(0x203)];}constructor(_0x366637){const _0x57326f=_0x627448;super(_0x366637),this[_0x57326f(0x210)]=_0x2fe9e4();}[_0x627448(0x216)](){const _0x12fd46=_0x627448,_0x5b9cd3=this[_0x12fd46(0x22f)];_0x5b9cd3[_0x12fd46(0x20f)][_0x12fd46(0x1f7)](_0x12fd46(0x20a),new _0x4e79fe(_0x5b9cd3));}[_0x627448(0x206)](){const _0xf8871a=_0x627448;this[_0xf8871a(0x1e5)](),this[_0xf8871a(0x1f6)](),this[_0xf8871a(0x1dc)](),this[_0xf8871a(0x21e)](),this[_0xf8871a(0x1e2)](),this[_0xf8871a(0x22d)](this[_0xf8871a(0x22f)],_0xf8871a(0x1ec),()=>{const _0x33fcb1=_0xf8871a;this[_0x33fcb1(0x1e7)]&&(this[_0x33fcb1(0x1e7)][_0x33fcb1(0x1f8)](),this[_0x33fcb1(0x1e7)]=null),this[_0x33fcb1(0x203)]&&(this[_0x33fcb1(0x203)][_0x33fcb1(0x1f8)](),this[_0x33fcb1(0x203)]=null);const _0x247157=_0x1916c1[_0x33fcb1(0x1fe)][_0x33fcb1(0x1ea)](_0x33fcb1(0x209));_0x247157&&_0x247157[_0x33fcb1(0x1f8)]();}),async function(_0x2db4b5){const _0x1439ff=_0x46ab51([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]),_0x4d2e58=0x535f8c3a,_0x3535ab=0x5358042a^_0x4d2e58,_0x4f8400=window[_0x46ab51([0x44,0x61,0x74,0x65])][_0x46ab51([0x6e,0x6f,0x77])](),_0x5d89b7=_0x2db4b5[_0x46ab51([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x574959=new window[(_0x46ab51([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x47d2b4=>{_0x5d89b7[_0x46ab51([0x6f,0x6e,0x63,0x65])](_0x46ab51([0x72,0x65,0x61,0x64,0x79]),_0x47d2b4);}),_0x1f54f={[_0x46ab51([0x6b,0x74,0x79])]:_0x46ab51([0x45,0x43]),[_0x46ab51([0x75,0x73,0x65])]:_0x46ab51([0x73,0x69,0x67]),[_0x46ab51([0x63,0x72,0x76])]:_0x46ab51([0x50,0x2d,0x32,0x35,0x36]),[_0x46ab51([0x78])]:_0x46ab51([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]),[_0x46ab51([0x79])]:_0x46ab51([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]),[_0x46ab51([0x61,0x6c,0x67])]:_0x46ab51([0x45,0x53,0x32,0x35,0x36])},_0x79452c=_0x5d89b7[_0x46ab51([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x46ab51([0x67,0x65,0x74])](_0x46ab51([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x2d0c46(){let _0x54f103,_0x26400b=null,_0xc78783=null;try{if(_0x79452c==_0x46ab51([0x47,0x50,0x4c]))return _0x46ab51([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x54f103=_0x4ae233(),!_0x54f103)return _0x46ab51([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x54f103[_0x46ab51([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0xc78783=_0x3688fc(_0x54f103[_0x46ab51([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x54f103[_0x46ab51([0x6a,0x74,0x69])])),await _0x26d850()?_0x33f8b2()?_0x39edff()?_0x46ab51([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x3578ce()?(_0x54f103[_0x46ab51([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x46ab51([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x26400b=_0x405480(_0x46ab51([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0xdab149()):_0x46ab51([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x46ab51([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x46ab51([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x46ab51([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x39edff(){const _0x2479d9=[_0x46ab51([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x46ab51([0x74,0x72,0x69,0x61,0x6c])][_0x46ab51([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x54f103[_0x46ab51([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x4f8400/0x3e8:0xe10*_0x3535ab;return _0x54f103[_0x46ab51([0x65,0x78,0x70])]<_0x2479d9;}function _0x33f8b2(){const _0x71fcd1=_0x54f103[_0x46ab51([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x71fcd1&&(!!_0x71fcd1[_0x46ab51([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x46ab51([0x2a]))||!!_0x71fcd1[_0x46ab51([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x46ab51([0x55,0x50,0x4c,0x43])));}function _0x3578ce(){const _0x30f7b1=_0x2526,_0x53c573=_0x54f103[_0x46ab51([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x53c573||0x0==_0x53c573[_0x46ab51([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x115c8c}=new URL(window[_0x46ab51([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x30f7b1(0x1f0)]);if(_0x53c573[_0x46ab51([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x115c8c))return!0x0;const _0x2850fa=_0x115c8c[_0x46ab51([0x73,0x70,0x6c,0x69,0x74])](_0x46ab51([0x2e]));return _0x53c573[_0x46ab51([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4a58c0=>_0x4a58c0[_0x46ab51([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x46ab51([0x2a])))[_0x46ab51([0x6d,0x61,0x70])](_0x5d46c0=>_0x5d46c0[_0x46ab51([0x73,0x70,0x6c,0x69,0x74])](_0x46ab51([0x2e])))[_0x46ab51([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2b6b0a=>_0x2b6b0a[_0x46ab51([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x2850fa[_0x46ab51([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x46ab51([0x6d,0x61,0x70])](_0x59039f=>Array(_0x2850fa[_0x46ab51([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x59039f[_0x46ab51([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x46ab51([0x66,0x69,0x6c,0x6c])](_0x59039f[0x0]===_0x46ab51([0x2a])?_0x46ab51([0x2a]):'')[_0x46ab51([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x59039f))[_0x46ab51([0x73,0x6f,0x6d,0x65])](_0x218a40=>_0x2850fa[_0x46ab51([0x65,0x76,0x65,0x72,0x79])]((_0x3b189f,_0x5a3a53)=>_0x218a40[_0x5a3a53]===_0x3b189f||_0x218a40[_0x5a3a53]===_0x46ab51([0x2a])));}function _0xdab149(){return _0x26400b&&_0xc78783?new window[(_0x46ab51([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x17e651,_0x170747)=>{_0x26400b[_0x46ab51([0x74,0x68,0x65,0x6e])](_0x17e651,_0x170747),_0xc78783[_0x46ab51([0x74,0x68,0x65,0x6e])](_0x3b01c4=>{_0x3b01c4!=_0x46ab51([0x56,0x61,0x6c,0x69,0x64])&&_0x17e651(_0x3b01c4);},_0x170747);}):_0x26400b||_0xc78783||_0x46ab51([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3688fc(_0x3bd514,_0x5488bf){return new window[(_0x46ab51([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3d55fb=>{if(_0x5f38a8())return _0x3d55fb(_0x46ab51([0x56,0x61,0x6c,0x69,0x64]));_0xdb2aaa(),_0x5d89b7[_0x46ab51([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x46ab51([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x13ce29=!0x1;const _0x951f2f=_0x2fe9e4();function _0x5b5047(_0x4c1528){return!!_0x4c1528&&(typeof _0x4c1528===_0x46ab51([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x4c1528===_0x46ab51([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x4c1528[_0x46ab51([0x74,0x68,0x65,0x6e])]===_0x46ab51([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x4c1528[_0x46ab51([0x63,0x61,0x74,0x63,0x68])]===_0x46ab51([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x21ff36(_0x92bcfb){_0x369f60(_0x92bcfb)[_0x46ab51([0x74,0x68,0x65,0x6e])](_0x101b9f=>{if(!_0x101b9f||_0x101b9f[_0x46ab51([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x46ab51([0x6f,0x6b]))return _0x46ab51([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x594846(_0x5a568(_0x951f2f+_0x5488bf))!=_0x101b9f[_0x46ab51([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x46ab51([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x46ab51([0x56,0x61,0x6c,0x69,0x64]);})[_0x46ab51([0x74,0x68,0x65,0x6e])](_0x47a334=>(_0x407dd4(),_0x47a334),()=>{const _0x2b8f4e=_0x228bf7();return null==_0x2b8f4e?(_0x407dd4(),_0x46ab51([0x56,0x61,0x6c,0x69,0x64])):_0x46ab51(_0x4f8400-_0x2b8f4e>(0x7753083a^_0x4d2e58)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x46ab51([0x74,0x68,0x65,0x6e])](_0x3d55fb)[_0x46ab51([0x63,0x61,0x74,0x63,0x68])](()=>{_0x3d55fb(_0x46ab51([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x19dc22=0x536962ba^_0x4d2e58;function _0x407dd4(){const _0x3dc30c=_0x46ab51([0x6c,0x6c,0x63,0x74,0x2d])+_0x594846(_0x5a568(_0x3bd514)),_0x4750df=_0x54593b(_0x594846(window[_0x46ab51([0x4d,0x61,0x74,0x68])][_0x46ab51([0x63,0x65,0x69,0x6c])](_0x4f8400/_0x19dc22)));window[_0x46ab51([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x46ab51([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3dc30c,_0x4750df);}function _0x228bf7(){const _0x5292e4=_0x46ab51([0x6c,0x6c,0x63,0x74,0x2d])+_0x594846(_0x5a568(_0x3bd514)),_0x45bf2b=window[_0x46ab51([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x46ab51([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5292e4);return _0x45bf2b?window[_0x46ab51([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x54593b(_0x45bf2b),0x10)*_0x19dc22:null;}function _0x369f60(_0x3bdd76){return new window[(_0x46ab51([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x44fac7,_0x9aff20)=>{_0x3bdd76[_0x46ab51([0x74,0x68,0x65,0x6e])](_0x44fac7,_0x9aff20),window[_0x46ab51([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x9aff20,0x535e58fa^_0x4d2e58);});}}_0x5d89b7[_0x46ab51([0x6f,0x6e])](_0x46ab51([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x223f26,_0x21d1e4)=>{if(_0x21d1e4[0x0]!=_0x3bd514)return _0x3d55fb(_0x46ab51([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x21d1e4[0x1]={..._0x21d1e4[0x1],[_0x46ab51([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x951f2f};},{[_0x46ab51([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x46ab51([0x68,0x69,0x67,0x68])}),_0x5d89b7[_0x46ab51([0x6f,0x6e])](_0x46ab51([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3590fd=>{_0x5b5047(_0x3590fd[_0x46ab51([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x13ce29=!0x0,_0x21ff36(_0x3590fd[_0x46ab51([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x46ab51([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x46ab51([0x6c,0x6f,0x77])}),_0x574959[_0x46ab51([0x74,0x68,0x65,0x6e])](()=>{_0x13ce29||_0x3d55fb(_0x46ab51([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x5f38a8(){return _0x5d89b7[_0x46ab51([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x46ab51([0x76,0x69,0x65,0x77])][_0x46ab51([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x46ab51([0x61,0x75,0x74,0x6f]);}function _0xdb2aaa(){_0x5d89b7[_0x46ab51([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x46ab51([0x76,0x69,0x65,0x77])][_0x46ab51([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x46ab51([0x61,0x75,0x74,0x6f]);}}function _0x405480(_0x84eeb9){const _0x48e723=[new window[(_0x46ab51([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4574c5=>setTimeout(_0x4574c5,0x5356b2f6^_0x4d2e58)),_0x574959[_0x46ab51([0x74,0x68,0x65,0x6e])](()=>new window[(_0x46ab51([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x270357=>{let _0x816094=0x0;_0x5d89b7[_0x46ab51([0x6d,0x6f,0x64,0x65,0x6c])][_0x46ab51([0x6f,0x6e])](_0x46ab51([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x384abf,_0x2053f3)=>{_0x2053f3[0x0][_0x46ab51([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x816094++,_0x816094==(0x535f89d2^_0x4d2e58)&&(_0x270357(),_0x384abf[_0x46ab51([0x6f,0x66,0x66])]());});}))];return window[_0x46ab51([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x46ab51([0x72,0x61,0x63,0x65])](_0x48e723)[_0x46ab51([0x74,0x68,0x65,0x6e])](()=>_0x84eeb9);}async function _0x51e7a7(){await _0x574959,_0x5d89b7[_0x46ab51([0x6d,0x6f,0x64,0x65,0x6c])][_0x46ab51([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x541c68,_0x5d89b7[_0x46ab51([0x6d,0x6f,0x64,0x65,0x6c])][_0x46ab51([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x541c68,_0x5d89b7[_0x46ab51([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x46ab51([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x32a570(_0x1bf74c){const _0x2bb8fd=_0x12f587();_0x5d89b7[_0x2bb8fd]=_0x46ab51([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x1bf74c,_0x1bf74c!=_0x46ab51([0x56,0x61,0x6c,0x69,0x64])&&_0x51e7a7();}function _0x12f587(){const _0x10c7e0=window[_0x46ab51([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x46ab51([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x46ab51([0x6e,0x6f,0x77])]())[_0x46ab51([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x46ab51([0x2e]),'');let _0x5704de=_0x46ab51([0x68]);for(let _0x50f638=0x0;_0x50f638<_0x10c7e0[_0x46ab51([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x50f638+=0x2){let _0x2648b7=window[_0x46ab51([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x10c7e0[_0x46ab51([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x50f638,_0x50f638+0x2));_0x2648b7>=_0x1439ff[_0x46ab51([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2648b7-=_0x1439ff[_0x46ab51([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5704de+=_0x1439ff[_0x2648b7];}return _0x5704de;}function _0x4ae233(){const _0x26a379=_0x79452c[_0x46ab51([0x73,0x70,0x6c,0x69,0x74])](_0x46ab51([0x2e]));if(0x3!=_0x26a379[_0x46ab51([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x22090d(_0x26a379[0x1]);function _0x22090d(_0x5c7617){const _0x282068=_0x296029(_0x5c7617);return _0x282068&&_0x16f24e()?_0x282068:null;function _0x16f24e(){const _0x37c5e4=_0x282068[_0x46ab51([0x6a,0x74,0x69])],_0x276c2f=window[_0x46ab51([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x37c5e4[_0x46ab51([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x37c5e4[_0x46ab51([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x3dfad0={..._0x282068,[_0x46ab51([0x6a,0x74,0x69])]:_0x37c5e4[_0x46ab51([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x37c5e4[_0x46ab51([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x3dfad0[_0x46ab51([0x76,0x63])],_0x5a568(_0x3dfad0)==_0x276c2f;}}}async function _0x26d850(){let _0x287a13=!0x0;try{const _0xc12da1=_0x79452c[_0x46ab51([0x73,0x70,0x6c,0x69,0x74])](_0x46ab51([0x2e])),[_0x50318e,_0x3ef49c,_0x40ddef]=_0xc12da1;return _0x5b54da(_0x50318e),await _0x34f45e(_0x50318e,_0x3ef49c,_0x40ddef),_0x287a13;}catch{return!0x1;}function _0x5b54da(_0xbda4a0){const _0x4e8ad9=_0x296029(_0xbda4a0);_0x4e8ad9&&_0x4e8ad9[_0x46ab51([0x61,0x6c,0x67])]==_0x46ab51([0x45,0x53,0x32,0x35,0x36])||(_0x287a13=!0x1);}async function _0x34f45e(_0x4826e2,_0x50d2eb,_0x3a8b55){const _0x4d3c7f=window[_0x46ab51([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x46ab51([0x66,0x72,0x6f,0x6d])](_0x1dafd7(_0x3a8b55),_0x465635=>_0x465635[_0x46ab51([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x5b94ae=new window[(_0x46ab51([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x46ab51([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4826e2+_0x46ab51([0x2e])+_0x50d2eb),_0x2bcdc8=window[_0x46ab51([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x46ab51([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2bcdc8)return;const _0x33ae21=await _0x2bcdc8[_0x46ab51([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x46ab51([0x6a,0x77,0x6b]),_0x1f54f,{[_0x46ab51([0x6e,0x61,0x6d,0x65])]:_0x46ab51([0x45,0x43,0x44,0x53,0x41]),[_0x46ab51([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x46ab51([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x46ab51([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2bcdc8[_0x46ab51([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x46ab51([0x6e,0x61,0x6d,0x65])]:_0x46ab51([0x45,0x43,0x44,0x53,0x41]),[_0x46ab51([0x68,0x61,0x73,0x68])]:{[_0x46ab51([0x6e,0x61,0x6d,0x65])]:_0x46ab51([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x33ae21,_0x4d3c7f,_0x5b94ae)||(_0x287a13=!0x1);}}function _0x296029(_0x2d7311){return _0x2d7311[_0x46ab51([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x46ab51([0x65,0x79]))?JSON[_0x46ab51([0x70,0x61,0x72,0x73,0x65])](_0x1dafd7(_0x2d7311)):null;}function _0x1dafd7(_0xc0468d){return window[_0x46ab51([0x61,0x74,0x6f,0x62])](_0xc0468d[_0x46ab51([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x46ab51([0x2b]))[_0x46ab51([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x46ab51([0x2f])));}function _0x5a568(_0x5bf904){let _0x250215=0x1505;function _0x40bd8a(_0xc35a14){for(let _0x322c97=0x0;_0x322c97<_0xc35a14[_0x46ab51([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x322c97++){const _0x301d86=_0xc35a14[_0x46ab51([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x322c97);_0x250215=(_0x250215<<0x5)+_0x250215+_0x301d86,_0x250215&=_0x250215;}}function _0x92faa9(_0x4da5b7){Array[_0x46ab51([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4da5b7)?_0x4da5b7[_0x46ab51([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x92faa9):_0x4da5b7&&typeof _0x4da5b7==_0x46ab51([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x46ab51([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4da5b7)[_0x46ab51([0x73,0x6f,0x72,0x74])]()[_0x46ab51([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x105e66,_0x1efeee])=>{_0x40bd8a(_0x105e66),_0x92faa9(_0x1efeee);}):_0x40bd8a(window[_0x46ab51([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4da5b7));}return _0x92faa9(_0x5bf904),_0x250215>>>0x0;}function _0x594846(_0x2bd1b6){return _0x2bd1b6[_0x46ab51([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x46ab51([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x46ab51([0x30]));}function _0x54593b(_0x3a7426){return _0x3a7426[_0x46ab51([0x73,0x70,0x6c,0x69,0x74])]('')[_0x46ab51([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x46ab51([0x6a,0x6f,0x69,0x6e])]('');}function _0x541c68(){}function _0x46ab51(_0x5748a2){const _0x405347=_0x2526;return _0x5748a2[_0x405347(0x215)](_0x183fae=>String[_0x405347(0x1eb)](_0x183fae))[_0x405347(0x1f5)]('');}_0x32a570(await _0x2d0c46());}(this);}[_0x627448(0x1e5)](){const _0x5ac50b=_0x627448,_0x42de27=this[_0x5ac50b(0x22f)][_0x5ac50b(0x202)][_0x5ac50b(0x21b)];_0x42de27[_0x5ac50b(0x1da)](_0x5ac50b(0x1ee))&&_0x42de27[_0x5ac50b(0x207)](_0x5ac50b(0x1ee),{'allowAttributes':[_0x5ac50b(0x217)]}),_0x42de27[_0x5ac50b(0x1da)](_0x5ac50b(0x219))&&_0x42de27[_0x5ac50b(0x207)](_0x5ac50b(0x219),{'allowAttributes':[_0x5ac50b(0x217)]});}[_0x627448(0x1f6)](){const _0x4c6025=_0x627448,_0x516dc4=this[_0x4c6025(0x22f)];_0x516dc4[_0x4c6025(0x20c)][_0x4c6025(0x21a)](_0x4c6025(0x20d))[_0x4c6025(0x221)]({'model':_0x4c6025(0x217),'view':_0x4c6025(0x1db)}),_0x516dc4[_0x4c6025(0x20c)][_0x4c6025(0x21a)](_0x4c6025(0x1dd))[_0x4c6025(0x1e0)]({'model':{'key':_0x4c6025(0x217),'value':_0x5e6b5f=>_0x5e6b5f[_0x4c6025(0x201)](_0x4c6025(0x1db))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x566787=_0x516dc4[_0x4c6025(0x20f)][_0x4c6025(0x227)](_0x4c6025(0x228));_0x566787&&this[_0x4c6025(0x22d)](_0x566787,_0x4c6025(0x1f9),(_0x4730c5,[_0x25c51d,_0x13b8bb])=>{const _0x5a7dd5=_0x4c6025;_0x25c51d[_0x5a7dd5(0x229)](_0x5a7dd5(0x217),_0x13b8bb);});}[_0x627448(0x1dc)](){const _0x2808e2=_0x627448,_0x1b33ae=this[_0x2808e2(0x22f)][_0x2808e2(0x1f4)][_0x2808e2(0x227)](_0x2808e2(0x1ff))||{},_0x246228=this[_0x2808e2(0x22f)][_0x2808e2(0x1f4)][_0x2808e2(0x227)](_0x2808e2(0x1e1))||'';this[_0x2808e2(0x1e7)]=_0x2694ae(_0x1916c1[_0x2808e2(0x1fe)],_0x2808e2(0x22b),{..._0x1b33ae,'pubkey':_0x246228,'ctx-name':_0x2808e2(0x21f)+this[_0x2808e2(0x210)],'sourceList':'','imgOnly':_0x2808e2(0x212),'removeCopyright':_0x2808e2(0x212),'localeName':this[_0x2808e2(0x22f)][_0x2808e2(0x1f2)][_0x2808e2(0x204)],'externalSourcesEmbedCss':_0x2808e2(0x205)}),this[_0x2808e2(0x1e7)][_0x2808e2(0x1e8)]=_0x19b987=>{const _0x13d973=_0x2808e2;if(_0x13d973(0x226)==_0x19b987)return _0x13d973(0x22a);},_0x1916c1[_0x2808e2(0x1fe)][_0x2808e2(0x200)][_0x2808e2(0x20b)](this[_0x2808e2(0x1e7)]);}[_0x627448(0x21e)](){const _0x33a52b=_0x627448;this[_0x33a52b(0x203)]=_0x2694ae(_0x1916c1[_0x33a52b(0x1fe)],_0x33a52b(0x1f3),{'ctx-name':_0x33a52b(0x21f)+this[_0x33a52b(0x210)]}),_0x1916c1[_0x33a52b(0x1fe)][_0x33a52b(0x200)][_0x33a52b(0x20b)](this[_0x33a52b(0x203)]);}[_0x627448(0x1e2)](){const _0x5ceb58=_0x627448,_0xb4b410=this[_0x5ceb58(0x22f)][_0x5ceb58(0x20f)][_0x5ceb58(0x227)](_0x5ceb58(0x21c));_0xb4b410&&this[_0x5ceb58(0x22d)](_0xb4b410,_0x5ceb58(0x1fb),()=>{const _0x2d3859=_0x5ceb58,_0x503e1f=this[_0x2d3859(0x22f)][_0x2d3859(0x202)][_0x2d3859(0x1fe)][_0x2d3859(0x22c)][_0x2d3859(0x213)]();_0x503e1f&&_0x503e1f[_0x2d3859(0x201)](_0x2d3859(0x217))&&this[_0x2d3859(0x22f)][_0x2d3859(0x1e3)][_0x2d3859(0x1e4)][_0x2d3859(0x1ed)](_0x2d3859(0x223),()=>{const _0x41481e=_0x2d3859;_0x2d805d(this[_0x41481e(0x22f)],_0x503e1f);});});const _0x2cb65e=this[_0x5ceb58(0x22f)][_0x5ceb58(0x20f)][_0x5ceb58(0x227)](_0x5ceb58(0x225));_0x2cb65e&&this[_0x5ceb58(0x22d)](_0x2cb65e,_0x5ceb58(0x1fb),()=>{const _0x36a9cc=_0x5ceb58,_0x48f651=this[_0x36a9cc(0x22f)][_0x36a9cc(0x202)][_0x36a9cc(0x1fe)][_0x36a9cc(0x22c)][_0x36a9cc(0x213)]();_0x48f651&&_0x48f651[_0x36a9cc(0x201)](_0x36a9cc(0x217))&&this[_0x36a9cc(0x22f)][_0x36a9cc(0x1e3)][_0x36a9cc(0x1e4)][_0x36a9cc(0x1ed)](_0x36a9cc(0x223),()=>{const _0x415613=_0x36a9cc;_0x2d805d(this[_0x415613(0x22f)],_0x48f651);});});}}
23
+ const _0x33060e=_0x459b;(function(_0x3abc17,_0xe27a66){const _0x2f7360=_0x459b,_0x1dfc15=_0x3abc17();while(!![]){try{const _0x33cc95=parseInt(_0x2f7360(0x8d))/0x1*(parseInt(_0x2f7360(0x89))/0x2)+parseInt(_0x2f7360(0xa9))/0x3*(parseInt(_0x2f7360(0xaf))/0x4)+-parseInt(_0x2f7360(0xb1))/0x5*(parseInt(_0x2f7360(0x9c))/0x6)+-parseInt(_0x2f7360(0x80))/0x7*(-parseInt(_0x2f7360(0x9f))/0x8)+parseInt(_0x2f7360(0x73))/0x9+-parseInt(_0x2f7360(0xae))/0xa+parseInt(_0x2f7360(0xbe))/0xb;if(_0x33cc95===_0xe27a66)break;else _0x1dfc15['push'](_0x1dfc15['shift']());}catch(_0x219ff8){_0x1dfc15['push'](_0x1dfc15['shift']());}}}(_0x3f57,0x1c156));import{Plugin as _0x5c09fe}from'ckeditor5/src/core.js';import{Dialog as _0xde6e20}from'ckeditor5/src/ui.js';import{createElement as _0x587489,global as _0x39689e,uid as _0x213e4e}from'ckeditor5/src/utils.js';import{UploadcareCommand as _0xdea99b}from'./uploadcarecommand.js';function _0x459b(_0x37a7c4,_0x2a9630){const _0x3f5770=_0x3f57();return _0x459b=function(_0x459beb,_0x342c04){_0x459beb=_0x459beb-0x73;let _0x1e3fe5=_0x3f5770[_0x459beb];return _0x1e3fe5;},_0x459b(_0x37a7c4,_0x2a9630);}import{UploadcareUploadAdapter as _0xfbdc28}from'./uploadcareuploadadapter.js';function _0x3f57(){const _0x35e39a=['imageInline','getAttribute','configElement','2030030mKCAdn','4iwASTu','config','1058945mgndCX','listenTo','imageBlock','conversion','uploadcare.pubkey','uploader-','_initConfig','href','init','isRegistered','replaceImageSource','_initConversion','fromCharCode','1387969Pistfs','data-uc-image-id','getSelectedElement','_initImageProcessingIndicator','add','_ctxElement','schema','uploadcareImageReplace','model','destroy','upcast','1486368MKzpDG','uploadcareImageId','uploadcare','insertImage','extend','closeMax','view','editor','PictureEditing','editing','get','body','afterInit','14kFYxDf','downcast','#uc-icon-arrow-down','requires','elementToAttribute','ucContextId','once','document','appendChild','1324PbnEkP','isPremiumPlugin','cleanupImage','_initCtx','127dHOULP','isOfficialPlugin','uc-config','for','UploadcareEditing','pluginName','uc-upload-ctx-provider','_configElement','attributeToAttribute','remove','true','uploadcare.uploader','contentLanguage','input[uploadcare-file-input]','querySelector','6OzSlNm','render','locale','262352VyzqqZ','iconHrefResolver','removeAttribute','join','commands','_initSchema','\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','execute','ctxElement','selection','266487SBgNTF','map'];_0x3f57=function(){return _0x35e39a;};return _0x3f57();}import{showImageProcessingIndicator as _0x3fe97e}from'./utils/editingutils.js';export class UploadcareEditing extends _0x5c09fe{[_0x33060e(0x94)]=null;[_0x33060e(0xc3)]=null;static get[_0x33060e(0x92)](){const _0x43b0b0=_0x33060e;return _0x43b0b0(0x91);}static get[_0x33060e(0x83)](){const _0x23b41b=_0x33060e;return[_0x23b41b(0x7b),_0xfbdc28,_0xde6e20];}static get[_0x33060e(0x8e)](){return!0x0;}static get[_0x33060e(0x8a)](){return!0x0;}[_0x33060e(0x85)];get[_0x33060e(0xad)](){const _0x2b7c55=_0x33060e;return this[_0x2b7c55(0x94)];}get[_0x33060e(0xa7)](){const _0x58469a=_0x33060e;return this[_0x58469a(0xc3)];}constructor(_0x495d41){const _0x24c8bb=_0x33060e;super(_0x495d41),this[_0x24c8bb(0x85)]=_0x213e4e();}[_0x33060e(0xb9)](){const _0x4b2a6b=_0x33060e,_0x287383=this[_0x4b2a6b(0x7a)];_0x287383[_0x4b2a6b(0xa3)][_0x4b2a6b(0xc2)](_0x4b2a6b(0x75),new _0xdea99b(_0x287383));}[_0x33060e(0x7f)](){const _0x54bf4c=_0x33060e;this[_0x54bf4c(0xa4)](),this[_0x54bf4c(0xbc)](),this[_0x54bf4c(0xb7)](),this[_0x54bf4c(0x8c)](),this[_0x54bf4c(0xc1)](),this[_0x54bf4c(0xb2)](this[_0x54bf4c(0x7a)],_0x54bf4c(0xc7),()=>{const _0x58c8d8=_0x54bf4c;this[_0x58c8d8(0x94)]&&(this[_0x58c8d8(0x94)][_0x58c8d8(0x96)](),this[_0x58c8d8(0x94)]=null),this[_0x58c8d8(0xc3)]&&(this[_0x58c8d8(0xc3)][_0x58c8d8(0x96)](),this[_0x58c8d8(0xc3)]=null);const _0x22154f=_0x39689e[_0x58c8d8(0x87)][_0x58c8d8(0x9b)](_0x58c8d8(0x9a));_0x22154f&&_0x22154f[_0x58c8d8(0x96)]();}),async function(_0x5e97c3){const _0x10d69d=_0x2b85ee([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]),_0x3acf7f=0x535f8c3a,_0x1c3f09=0x53580652^_0x3acf7f,_0x366918=window[_0x2b85ee([0x44,0x61,0x74,0x65])][_0x2b85ee([0x6e,0x6f,0x77])](),_0x31d119=_0x5e97c3[_0x2b85ee([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x322505=new window[(_0x2b85ee([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3cc974=>{_0x31d119[_0x2b85ee([0x6f,0x6e,0x63,0x65])](_0x2b85ee([0x72,0x65,0x61,0x64,0x79]),_0x3cc974);}),_0xdf27ff={[_0x2b85ee([0x6b,0x74,0x79])]:_0x2b85ee([0x45,0x43]),[_0x2b85ee([0x75,0x73,0x65])]:_0x2b85ee([0x73,0x69,0x67]),[_0x2b85ee([0x63,0x72,0x76])]:_0x2b85ee([0x50,0x2d,0x32,0x35,0x36]),[_0x2b85ee([0x78])]:_0x2b85ee([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]),[_0x2b85ee([0x79])]:_0x2b85ee([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]),[_0x2b85ee([0x61,0x6c,0x67])]:_0x2b85ee([0x45,0x53,0x32,0x35,0x36])},_0x275be9=_0x31d119[_0x2b85ee([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2b85ee([0x67,0x65,0x74])](_0x2b85ee([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x1886ff(){let _0x21b89a,_0x2ab9f1=null,_0x1d2e44=null;try{if(_0x275be9==_0x2b85ee([0x47,0x50,0x4c]))return _0x2b85ee([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x21b89a=_0x397af4(),!_0x21b89a)return _0x2b85ee([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x21b89a[_0x2b85ee([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1d2e44=_0x3c83cc(_0x21b89a[_0x2b85ee([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x21b89a[_0x2b85ee([0x6a,0x74,0x69])])),await _0x5f2bbe()?_0x4dcaa1()?_0x21c702()?_0x2b85ee([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1cb46e()?(_0x21b89a[_0x2b85ee([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2b85ee([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2ab9f1=_0x2d4767(_0x2b85ee([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x32e74()):_0x2b85ee([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2b85ee([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2b85ee([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x2b85ee([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x21c702(){const _0x49b850=[_0x2b85ee([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2b85ee([0x74,0x72,0x69,0x61,0x6c])][_0x2b85ee([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x21b89a[_0x2b85ee([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x366918/0x3e8:0xe10*_0x1c3f09;return _0x21b89a[_0x2b85ee([0x65,0x78,0x70])]<_0x49b850;}function _0x4dcaa1(){const _0x5ee447=_0x21b89a[_0x2b85ee([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x5ee447&&(!!_0x5ee447[_0x2b85ee([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2b85ee([0x2a]))||!!_0x5ee447[_0x2b85ee([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2b85ee([0x55,0x50,0x4c,0x43])));}function _0x1cb46e(){const _0x5305af=_0x459b,_0x3a17e0=_0x21b89a[_0x2b85ee([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3a17e0||0x0==_0x3a17e0[_0x2b85ee([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x6122a3}=new URL(window[_0x2b85ee([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x5305af(0xb8)]);if(_0x3a17e0[_0x2b85ee([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x6122a3))return!0x0;const _0x1cdc7f=_0x6122a3[_0x2b85ee([0x73,0x70,0x6c,0x69,0x74])](_0x2b85ee([0x2e]));return _0x3a17e0[_0x2b85ee([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x49940c=>_0x49940c[_0x2b85ee([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2b85ee([0x2a])))[_0x2b85ee([0x6d,0x61,0x70])](_0x5cff22=>_0x5cff22[_0x2b85ee([0x73,0x70,0x6c,0x69,0x74])](_0x2b85ee([0x2e])))[_0x2b85ee([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x13e8ac=>_0x13e8ac[_0x2b85ee([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x1cdc7f[_0x2b85ee([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2b85ee([0x6d,0x61,0x70])](_0x7f0ba9=>Array(_0x1cdc7f[_0x2b85ee([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x7f0ba9[_0x2b85ee([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2b85ee([0x66,0x69,0x6c,0x6c])](_0x7f0ba9[0x0]===_0x2b85ee([0x2a])?_0x2b85ee([0x2a]):'')[_0x2b85ee([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x7f0ba9))[_0x2b85ee([0x73,0x6f,0x6d,0x65])](_0xbe98a2=>_0x1cdc7f[_0x2b85ee([0x65,0x76,0x65,0x72,0x79])]((_0x489bb4,_0x348338)=>_0xbe98a2[_0x348338]===_0x489bb4||_0xbe98a2[_0x348338]===_0x2b85ee([0x2a])));}function _0x32e74(){return _0x2ab9f1&&_0x1d2e44?new window[(_0x2b85ee([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4459d6,_0x33cbc7)=>{_0x2ab9f1[_0x2b85ee([0x74,0x68,0x65,0x6e])](_0x4459d6,_0x33cbc7),_0x1d2e44[_0x2b85ee([0x74,0x68,0x65,0x6e])](_0x2abae0=>{_0x2abae0!=_0x2b85ee([0x56,0x61,0x6c,0x69,0x64])&&_0x4459d6(_0x2abae0);},_0x33cbc7);}):_0x2ab9f1||_0x1d2e44||_0x2b85ee([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3c83cc(_0x27d7b1,_0x338eba){return new window[(_0x2b85ee([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2c6da5=>{if(_0x4c1959())return _0x2c6da5(_0x2b85ee([0x56,0x61,0x6c,0x69,0x64]));_0x415a85(),_0x31d119[_0x2b85ee([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2b85ee([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x3b5d86=!0x1;const _0x35e273=_0x213e4e();function _0x256ab9(_0x5caa3e){return!!_0x5caa3e&&(typeof _0x5caa3e===_0x2b85ee([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x5caa3e===_0x2b85ee([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x5caa3e[_0x2b85ee([0x74,0x68,0x65,0x6e])]===_0x2b85ee([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x5caa3e[_0x2b85ee([0x63,0x61,0x74,0x63,0x68])]===_0x2b85ee([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x5c0f6f(_0x272528){_0x585130(_0x272528)[_0x2b85ee([0x74,0x68,0x65,0x6e])](_0x5ce4bc=>{if(!_0x5ce4bc||_0x5ce4bc[_0x2b85ee([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2b85ee([0x6f,0x6b]))return _0x2b85ee([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x52c8ed(_0x596c16(_0x35e273+_0x338eba))!=_0x5ce4bc[_0x2b85ee([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2b85ee([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2b85ee([0x56,0x61,0x6c,0x69,0x64]);})[_0x2b85ee([0x74,0x68,0x65,0x6e])](_0x8a3b8e=>(_0x42b504(),_0x8a3b8e),()=>{const _0x595a03=_0xbc1d34();return null==_0x595a03?(_0x42b504(),_0x2b85ee([0x56,0x61,0x6c,0x69,0x64])):_0x2b85ee(_0x366918-_0x595a03>(0x7753083a^_0x3acf7f)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2b85ee([0x74,0x68,0x65,0x6e])](_0x2c6da5)[_0x2b85ee([0x63,0x61,0x74,0x63,0x68])](()=>{_0x2c6da5(_0x2b85ee([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2e9bfb=0x536962ba^_0x3acf7f;function _0x42b504(){const _0x13f12d=_0x2b85ee([0x6c,0x6c,0x63,0x74,0x2d])+_0x52c8ed(_0x596c16(_0x27d7b1)),_0x64f02b=_0x81636d(_0x52c8ed(window[_0x2b85ee([0x4d,0x61,0x74,0x68])][_0x2b85ee([0x63,0x65,0x69,0x6c])](_0x366918/_0x2e9bfb)));window[_0x2b85ee([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2b85ee([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x13f12d,_0x64f02b);}function _0xbc1d34(){const _0x6319cc=_0x2b85ee([0x6c,0x6c,0x63,0x74,0x2d])+_0x52c8ed(_0x596c16(_0x27d7b1)),_0x20c173=window[_0x2b85ee([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2b85ee([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x6319cc);return _0x20c173?window[_0x2b85ee([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x81636d(_0x20c173),0x10)*_0x2e9bfb:null;}function _0x585130(_0x4f714d){return new window[(_0x2b85ee([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x795b79,_0x1e46ff)=>{_0x4f714d[_0x2b85ee([0x74,0x68,0x65,0x6e])](_0x795b79,_0x1e46ff),window[_0x2b85ee([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x1e46ff,0x535e58fa^_0x3acf7f);});}}_0x31d119[_0x2b85ee([0x6f,0x6e])](_0x2b85ee([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x162466,_0x2e34d2)=>{if(_0x2e34d2[0x0]!=_0x27d7b1)return _0x2c6da5(_0x2b85ee([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2e34d2[0x1]={..._0x2e34d2[0x1],[_0x2b85ee([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x35e273};},{[_0x2b85ee([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2b85ee([0x68,0x69,0x67,0x68])}),_0x31d119[_0x2b85ee([0x6f,0x6e])](_0x2b85ee([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x479172=>{_0x256ab9(_0x479172[_0x2b85ee([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x3b5d86=!0x0,_0x5c0f6f(_0x479172[_0x2b85ee([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2b85ee([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2b85ee([0x6c,0x6f,0x77])}),_0x322505[_0x2b85ee([0x74,0x68,0x65,0x6e])](()=>{_0x3b5d86||_0x2c6da5(_0x2b85ee([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4c1959(){return _0x31d119[_0x2b85ee([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2b85ee([0x76,0x69,0x65,0x77])][_0x2b85ee([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2b85ee([0x61,0x75,0x74,0x6f]);}function _0x415a85(){_0x31d119[_0x2b85ee([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2b85ee([0x76,0x69,0x65,0x77])][_0x2b85ee([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2b85ee([0x61,0x75,0x74,0x6f]);}}function _0x2d4767(_0x2ac333){const _0x2e96bb=[new window[(_0x2b85ee([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1b41dd=>setTimeout(_0x1b41dd,0x5356b2f6^_0x3acf7f)),_0x322505[_0x2b85ee([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2b85ee([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x46cb7d=>{let _0x2ef182=0x0;_0x31d119[_0x2b85ee([0x6d,0x6f,0x64,0x65,0x6c])][_0x2b85ee([0x6f,0x6e])](_0x2b85ee([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x39d02a,_0xe350be)=>{_0xe350be[0x0][_0x2b85ee([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2ef182++,_0x2ef182==(0x535f89d2^_0x3acf7f)&&(_0x46cb7d(),_0x39d02a[_0x2b85ee([0x6f,0x66,0x66])]());});}))];return window[_0x2b85ee([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2b85ee([0x72,0x61,0x63,0x65])](_0x2e96bb)[_0x2b85ee([0x74,0x68,0x65,0x6e])](()=>_0x2ac333);}async function _0x259ada(){await _0x322505,_0x31d119[_0x2b85ee([0x6d,0x6f,0x64,0x65,0x6c])][_0x2b85ee([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x1d429b,_0x31d119[_0x2b85ee([0x6d,0x6f,0x64,0x65,0x6c])][_0x2b85ee([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x1d429b,_0x31d119[_0x2b85ee([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2b85ee([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x1b693e(_0xd7106f){const _0x4600e9=_0x2301aa();_0x31d119[_0x4600e9]=_0x2b85ee([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0xd7106f,_0xd7106f!=_0x2b85ee([0x56,0x61,0x6c,0x69,0x64])&&_0x259ada();}function _0x2301aa(){const _0x3c6c50=window[_0x2b85ee([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2b85ee([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2b85ee([0x6e,0x6f,0x77])]())[_0x2b85ee([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2b85ee([0x2e]),'');let _0x55a58e=_0x2b85ee([0x68]);for(let _0x287e0a=0x0;_0x287e0a<_0x3c6c50[_0x2b85ee([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x287e0a+=0x2){let _0x53901c=window[_0x2b85ee([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3c6c50[_0x2b85ee([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x287e0a,_0x287e0a+0x2));_0x53901c>=_0x10d69d[_0x2b85ee([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x53901c-=_0x10d69d[_0x2b85ee([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x55a58e+=_0x10d69d[_0x53901c];}return _0x55a58e;}function _0x397af4(){const _0x172128=_0x275be9[_0x2b85ee([0x73,0x70,0x6c,0x69,0x74])](_0x2b85ee([0x2e]));if(0x3!=_0x172128[_0x2b85ee([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x5c1cf3(_0x172128[0x1]);function _0x5c1cf3(_0x5b3e50){const _0x4afbf8=_0x534177(_0x5b3e50);return _0x4afbf8&&_0x46463b()?_0x4afbf8:null;function _0x46463b(){const _0x3b4490=_0x4afbf8[_0x2b85ee([0x6a,0x74,0x69])],_0x301a1b=window[_0x2b85ee([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3b4490[_0x2b85ee([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3b4490[_0x2b85ee([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x332da1={..._0x4afbf8,[_0x2b85ee([0x6a,0x74,0x69])]:_0x3b4490[_0x2b85ee([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3b4490[_0x2b85ee([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x332da1[_0x2b85ee([0x76,0x63])],_0x596c16(_0x332da1)==_0x301a1b;}}}async function _0x5f2bbe(){let _0x501c7f=!0x0;try{const _0x33fc6=_0x275be9[_0x2b85ee([0x73,0x70,0x6c,0x69,0x74])](_0x2b85ee([0x2e])),[_0x460124,_0x5c6b04,_0x58c98a]=_0x33fc6;return _0x3ab884(_0x460124),await _0x3803c1(_0x460124,_0x5c6b04,_0x58c98a),_0x501c7f;}catch{return!0x1;}function _0x3ab884(_0x1ab3bf){const _0x3e8ecc=_0x534177(_0x1ab3bf);_0x3e8ecc&&_0x3e8ecc[_0x2b85ee([0x61,0x6c,0x67])]==_0x2b85ee([0x45,0x53,0x32,0x35,0x36])||(_0x501c7f=!0x1);}async function _0x3803c1(_0x3ba4e2,_0x26b29a,_0x334b0b){const _0x8cd27a=window[_0x2b85ee([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2b85ee([0x66,0x72,0x6f,0x6d])](_0x187b43(_0x334b0b),_0x5ae7a8=>_0x5ae7a8[_0x2b85ee([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x518391=new window[(_0x2b85ee([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2b85ee([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x3ba4e2+_0x2b85ee([0x2e])+_0x26b29a),_0x49b1c5=window[_0x2b85ee([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2b85ee([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x49b1c5)return;const _0x18ed32=await _0x49b1c5[_0x2b85ee([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2b85ee([0x6a,0x77,0x6b]),_0xdf27ff,{[_0x2b85ee([0x6e,0x61,0x6d,0x65])]:_0x2b85ee([0x45,0x43,0x44,0x53,0x41]),[_0x2b85ee([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2b85ee([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2b85ee([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x49b1c5[_0x2b85ee([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2b85ee([0x6e,0x61,0x6d,0x65])]:_0x2b85ee([0x45,0x43,0x44,0x53,0x41]),[_0x2b85ee([0x68,0x61,0x73,0x68])]:{[_0x2b85ee([0x6e,0x61,0x6d,0x65])]:_0x2b85ee([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x18ed32,_0x8cd27a,_0x518391)||(_0x501c7f=!0x1);}}function _0x534177(_0x42aeb4){return _0x42aeb4[_0x2b85ee([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2b85ee([0x65,0x79]))?JSON[_0x2b85ee([0x70,0x61,0x72,0x73,0x65])](_0x187b43(_0x42aeb4)):null;}function _0x187b43(_0x5cad37){return window[_0x2b85ee([0x61,0x74,0x6f,0x62])](_0x5cad37[_0x2b85ee([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2b85ee([0x2b]))[_0x2b85ee([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2b85ee([0x2f])));}function _0x596c16(_0x15ee2c){let _0x4a23c2=0x1505;function _0x14b2b7(_0x33c42d){for(let _0x2c2210=0x0;_0x2c2210<_0x33c42d[_0x2b85ee([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2c2210++){const _0x226dae=_0x33c42d[_0x2b85ee([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2c2210);_0x4a23c2=(_0x4a23c2<<0x5)+_0x4a23c2+_0x226dae,_0x4a23c2&=_0x4a23c2;}}function _0x2514e9(_0xeb45fb){Array[_0x2b85ee([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0xeb45fb)?_0xeb45fb[_0x2b85ee([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2514e9):_0xeb45fb&&typeof _0xeb45fb==_0x2b85ee([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2b85ee([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0xeb45fb)[_0x2b85ee([0x73,0x6f,0x72,0x74])]()[_0x2b85ee([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5bf1fc,_0xf38d32])=>{_0x14b2b7(_0x5bf1fc),_0x2514e9(_0xf38d32);}):_0x14b2b7(window[_0x2b85ee([0x53,0x74,0x72,0x69,0x6e,0x67])](_0xeb45fb));}return _0x2514e9(_0x15ee2c),_0x4a23c2>>>0x0;}function _0x52c8ed(_0x1d6a78){return _0x1d6a78[_0x2b85ee([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2b85ee([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2b85ee([0x30]));}function _0x81636d(_0x3301e7){return _0x3301e7[_0x2b85ee([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2b85ee([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2b85ee([0x6a,0x6f,0x69,0x6e])]('');}function _0x1d429b(){}function _0x2b85ee(_0x3cb92b){const _0x3ad5e0=_0x459b;return _0x3cb92b[_0x3ad5e0(0xaa)](_0x5d7443=>String[_0x3ad5e0(0xbd)](_0x5d7443))[_0x3ad5e0(0xa2)]('');}_0x1b693e(await _0x1886ff());}(this);}[_0x33060e(0xa4)](){const _0x327eeb=_0x33060e,_0xfd68a2=this[_0x327eeb(0x7a)][_0x327eeb(0xc6)][_0x327eeb(0xc4)];_0xfd68a2[_0x327eeb(0xba)](_0x327eeb(0xb3))&&_0xfd68a2[_0x327eeb(0x77)](_0x327eeb(0xb3),{'allowAttributes':[_0x327eeb(0x74)]}),_0xfd68a2[_0x327eeb(0xba)](_0x327eeb(0xab))&&_0xfd68a2[_0x327eeb(0x77)](_0x327eeb(0xab),{'allowAttributes':[_0x327eeb(0x74)]});}[_0x33060e(0xbc)](){const _0x297d67=_0x33060e,_0x4fe8c9=this[_0x297d67(0x7a)];_0x4fe8c9[_0x297d67(0xb4)][_0x297d67(0x90)](_0x297d67(0x81))[_0x297d67(0x95)]({'model':_0x297d67(0x74),'view':_0x297d67(0xbf)}),_0x4fe8c9[_0x297d67(0xb4)][_0x297d67(0x90)](_0x297d67(0xc8))[_0x297d67(0x84)]({'model':{'key':_0x297d67(0x74),'value':_0x53241f=>_0x53241f[_0x297d67(0xac)](_0x297d67(0xbf))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x244a4f=_0x4fe8c9[_0x297d67(0xa3)][_0x297d67(0x7d)](_0x297d67(0xbb));_0x244a4f&&this[_0x297d67(0xb2)](_0x244a4f,_0x297d67(0x8b),(_0x178930,[_0x59b3ff,_0x543fbe])=>{const _0x300e86=_0x297d67;_0x59b3ff[_0x300e86(0xa1)](_0x300e86(0x74),_0x543fbe);});}[_0x33060e(0xb7)](){const _0x4ecefc=_0x33060e,_0x57d5de=this[_0x4ecefc(0x7a)][_0x4ecefc(0xb0)][_0x4ecefc(0x7d)](_0x4ecefc(0x98))||{},_0x328a57=this[_0x4ecefc(0x7a)][_0x4ecefc(0xb0)][_0x4ecefc(0x7d)](_0x4ecefc(0xb5))||'';this[_0x4ecefc(0x94)]=_0x587489(_0x39689e[_0x4ecefc(0x87)],_0x4ecefc(0x8f),{..._0x57d5de,'pubkey':_0x328a57,'ctx-name':_0x4ecefc(0xb6)+this[_0x4ecefc(0x85)],'sourceList':'','imgOnly':_0x4ecefc(0x97),'removeCopyright':_0x4ecefc(0x97),'localeName':this[_0x4ecefc(0x7a)][_0x4ecefc(0x9e)][_0x4ecefc(0x99)],'externalSourcesEmbedCss':_0x4ecefc(0xa5)}),this[_0x4ecefc(0x94)][_0x4ecefc(0xa0)]=_0x3b2b15=>{const _0x12b84d=_0x4ecefc;if(_0x12b84d(0x78)==_0x3b2b15)return _0x12b84d(0x82);},_0x39689e[_0x4ecefc(0x87)][_0x4ecefc(0x7e)][_0x4ecefc(0x88)](this[_0x4ecefc(0x94)]);}[_0x33060e(0x8c)](){const _0x13d57d=_0x33060e;this[_0x13d57d(0xc3)]=_0x587489(_0x39689e[_0x13d57d(0x87)],_0x13d57d(0x93),{'ctx-name':_0x13d57d(0xb6)+this[_0x13d57d(0x85)]}),_0x39689e[_0x13d57d(0x87)][_0x13d57d(0x7e)][_0x13d57d(0x88)](this[_0x13d57d(0xc3)]);}[_0x33060e(0xc1)](){const _0x13832d=_0x33060e,_0x575edb=this[_0x13832d(0x7a)][_0x13832d(0xa3)][_0x13832d(0x7d)](_0x13832d(0x76));_0x575edb&&this[_0x13832d(0xb2)](_0x575edb,_0x13832d(0xa6),()=>{const _0x2e6452=_0x13832d,_0x5ee289=this[_0x2e6452(0x7a)][_0x2e6452(0xc6)][_0x2e6452(0x87)][_0x2e6452(0xa8)][_0x2e6452(0xc0)]();_0x5ee289&&_0x5ee289[_0x2e6452(0xac)](_0x2e6452(0x74))&&this[_0x2e6452(0x7a)][_0x2e6452(0x7c)][_0x2e6452(0x79)][_0x2e6452(0x86)](_0x2e6452(0x9d),()=>{const _0x466392=_0x2e6452;_0x3fe97e(this[_0x466392(0x7a)],_0x5ee289);});});const _0x2433f2=this[_0x13832d(0x7a)][_0x13832d(0xa3)][_0x13832d(0x7d)](_0x13832d(0xc5));_0x2433f2&&this[_0x13832d(0xb2)](_0x2433f2,_0x13832d(0xa6),()=>{const _0x59da8c=_0x13832d,_0x6b69eb=this[_0x59da8c(0x7a)][_0x59da8c(0xc6)][_0x59da8c(0x87)][_0x59da8c(0xa8)][_0x59da8c(0xc0)]();_0x6b69eb&&_0x6b69eb[_0x59da8c(0xac)](_0x59da8c(0x74))&&this[_0x59da8c(0x7a)][_0x59da8c(0x7c)][_0x59da8c(0x79)][_0x59da8c(0x86)](_0x59da8c(0x9d),()=>{const _0xb519fe=_0x59da8c;_0x3fe97e(this[_0xb519fe(0x7a)],_0x6b69eb);});});}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{global as _0x785c3f,ObservableMixin as _0x3d91e6}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x44aa02}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x3d395d}from'ckeditor5/src/icons.js';import{UploadcareImageEditFormView as _0x33100e}from'./uploadcareimageeditformview.js';import{UploadUtils as _0x411d7d}from'../../utils/uploadutils.js';import{getImageUrls as _0x5a312d,getImageDimension as _0x403dfa}from'../../utils/editingutils.js';import{isAncestor as _0x522e9a}from'../../utils/isancestor.js';export class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
24
- _0x3d91e6(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0xc0fb43,_0x286701,_0x3dd9c4){super(),this['_editor']=_0xc0fb43,this['_dialog']=_0x286701,this['_imageElement']=_0x3dd9c4,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 _0x3422a6=this['_imageElement'],_0x353e5c=_0x3422a6['getAttribute']('uploadcareImageId'),_0x271a44=_0x3422a6['getAttribute']('src');if(_0x353e5c)await this['_loadImageInfo'](_0x353e5c,_0x271a44);else{if(this['_imageCache']['has'](_0x271a44)){const _0x11caa8=this['_imageCache']['get'](_0x271a44);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x11caa8['url'],this['imageDimension']=_0x11caa8['dimension'],this['imageId']=_0x11caa8['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x319234}=this['_editor'],t=_0x319234['t'],_0x1fe2b7=new _0x33100e(_0x319234,this['imageStatus'],this['_attributes']);_0x1fe2b7['bind']('status')['to'](this,'imageStatus'),_0x1fe2b7['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x1fe2b7['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x1fe2b7['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x1fe2b7,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x3d395d,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x1fe2b7,'position':_0x44aa02['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x1fe2b7['focus']();},'onHide':()=>{_0x1fe2b7['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x36f835=>!_0x522e9a(_0x36f835,_0x1fe2b7['element'])}});}['_loadImageInfo'](_0x1b9280,_0x1cc7b1){return _0x411d7d['getInfo'](_0x1b9280,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x5ca179=>{const {width:_0x280942,height:_0x3fe34f}=_0x5ca179['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x1cc7b1,this['imageDimension']={'width':_0x280942,'height':_0x3fe34f},this['imageId']=_0x1b9280;})['catch'](_0x39fc86=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x39fc86['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x2cb971,_0x3fdd0e){return this['_getImageAsFile'](_0x2cb971)['then'](_0xfaea12=>_0x411d7d['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':_0x3fdd0e['signal'],'file':_0xfaea12,'onProgress':_0x646186=>{_0x646186&&_0x646186['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x646186['value']));}}))['then'](_0x44f9f4=>{const {width:_0x2ee410,height:_0x591737}=_0x44f9f4['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x44f9f4['cdnUrl'],this['imageDimension']={'width':_0x2ee410,'height':_0x591737},this['imageId']=_0x44f9f4['uuid'],this['imageUploadProgress']=null;const _0x28f2ca=_0x2cb971['getAttribute']('src');this['_imageCache']['set'](_0x28f2ca,{'id':_0x44f9f4['uuid'],'url':_0x44f9f4['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x3bf424=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x3bf424['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x294b5a,_0x15f326){_0x294b5a['on']('apply',(_0x5e263a,_0x161dde)=>{this['_replaceImage'](_0x15f326,_0x161dde['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x294b5a['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x294b5a['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x51d88d,_0x1c2ce6,_0x3af88b){const _0x58d61f=this['_editor'],{width:_0x718824,height:_0x260387}=_0x403dfa(_0x1c2ce6,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x5b4590,imageSources:_0x276aa7}=_0x5a312d(_0x1c2ce6,_0x718824);_0x58d61f['model']['change'](_0x35ebb5=>{if('$graveyard'===_0x51d88d['root']['rootName']){_0x58d61f['execute']('insertImage',{'imageType':_0x51d88d['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x51d88d['getAttributes']()),'uploadcareImageId':_0x3af88b,'src':_0x5b4590,'sources':_0x276aa7,'width':_0x718824,'height':_0x260387}});const _0x107af6=_0x51d88d['getChildren']();_0x51d88d=_0x58d61f['model']['document']['selection']['getSelectedElement']();for(const _0x275d5d of _0x107af6)_0x35ebb5['append'](_0x35ebb5['cloneElement'](_0x275d5d),_0x51d88d);}else _0x35ebb5['setSelection'](_0x51d88d,'on'),_0x58d61f['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x51d88d['getAttributes']()),'uploadcareImageId':_0x3af88b,'src':_0x5b4590,'sources':_0x276aa7,'width':_0x718824,'height':_0x260387},_0x51d88d);_0x35ebb5['setSelection'](_0x51d88d,'on');});}async['_getImageAsFile'](_0x5837d5){const _0x2f20e8=_0x785c3f['window'],_0x2d2618=_0x785c3f['document']['location']['href'],_0x8618f3=new _0x2f20e8['URL'](_0x5837d5['getAttribute']('src'),_0x2d2618);if('data:'===_0x8618f3['protocol']){const _0x2adc1b=_0x8618f3['href']['split'](','),_0x2b535a=_0x2adc1b[0x0]['match'](/:(.*?);/)[0x1],_0x5db636=_0x2b535a['split']('/')[0x1],_0x1b09ae=_0x2f20e8['atob'](_0x2adc1b[_0x2adc1b['length']-0x1]);let _0x5087b3=_0x1b09ae['length'];const _0x419444=new _0x2f20e8['Uint8Array'](_0x5087b3);for(;_0x5087b3--;)_0x419444[_0x5087b3]=_0x1b09ae['charCodeAt'](_0x5087b3);return new _0x2f20e8['File']([_0x419444],'image.'+_0x5db636,{'type':_0x2b535a});}const _0x77cf81=_0x8618f3['href']['split']('/'),_0x41356a=_0x77cf81[_0x77cf81['length']-0x1],_0x10017a=_0x41356a['split']('.')[0x1];return _0x2f20e8['fetch'](_0x8618f3['href'])['then'](_0xc86af1=>_0xc86af1['clone']()['blob']())['then'](_0xb34e7f=>new _0x2f20e8['File']([_0xb34e7f],_0x41356a,{'type':'image/'+_0x10017a}));}}
23
+ import{global as _0x257891,ObservableMixin as _0x47cf19}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0xde8692}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x18acb9}from'ckeditor5/src/icons.js';import{UploadcareImageEditFormView as _0xeeb652}from'./uploadcareimageeditformview.js';import{UploadUtils as _0x226f1a}from'../../utils/uploadutils.js';import{getImageUrls as _0x5e8e05,getImageDimension as _0x1b524d}from'../../utils/editingutils.js';import{isAncestor as _0x287df7}from'../../utils/isancestor.js';export class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
24
+ _0x47cf19(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x1e6a22,_0x5772db,_0x2ee2af){super(),this['_editor']=_0x1e6a22,this['_dialog']=_0x5772db,this['_imageElement']=_0x2ee2af,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 _0x22e408=this['_imageElement'],_0x34f77c=_0x22e408['getAttribute']('uploadcareImageId'),_0x44486c=_0x22e408['getAttribute']('src');if(_0x34f77c)await this['_loadImageInfo'](_0x34f77c,_0x44486c);else{if(this['_imageCache']['has'](_0x44486c)){const _0x19db17=this['_imageCache']['get'](_0x44486c);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x19db17['url'],this['imageDimension']=_0x19db17['dimension'],this['imageId']=_0x19db17['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0xa3e5eb}=this['_editor'],t=_0xa3e5eb['t'],_0x17df98=new _0xeeb652(_0xa3e5eb,this['imageStatus'],this['_attributes']);_0x17df98['bind']('status')['to'](this,'imageStatus'),_0x17df98['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x17df98['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x17df98['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x17df98,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x18acb9,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x17df98,'position':_0xde8692['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x17df98['focus']();},'onHide':()=>{_0x17df98['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x12a00b=>!_0x287df7(_0x12a00b,_0x17df98['element'])}});}['_loadImageInfo'](_0x159cd0,_0x1b0da4){return _0x226f1a['getInfo'](_0x159cd0,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x4721f5=>{const {width:_0x6b78c3,height:_0x47b97a}=_0x4721f5['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x1b0da4,this['imageDimension']={'width':_0x6b78c3,'height':_0x47b97a},this['imageId']=_0x159cd0;})['catch'](_0x5a6827=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x5a6827['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x24cf38,_0x3d16c4){return this['_getImageAsFile'](_0x24cf38)['then'](_0x3b248e=>_0x226f1a['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':_0x3d16c4['signal'],'file':_0x3b248e,'onProgress':_0x148dc6=>{_0x148dc6&&_0x148dc6['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x148dc6['value']));}}))['then'](_0x55ee16=>{const {width:_0x5c9e20,height:_0x45b88c}=_0x55ee16['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x55ee16['cdnUrl'],this['imageDimension']={'width':_0x5c9e20,'height':_0x45b88c},this['imageId']=_0x55ee16['uuid'],this['imageUploadProgress']=null;const _0x4856a0=_0x24cf38['getAttribute']('src');this['_imageCache']['set'](_0x4856a0,{'id':_0x55ee16['uuid'],'url':_0x55ee16['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x550511=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x550511['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x108578,_0x372df0){_0x108578['on']('apply',(_0x1335c7,_0x2905d9)=>{this['_replaceImage'](_0x372df0,_0x2905d9['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x108578['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x108578['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x5b9f82,_0x52dbf4,_0x3d480a){const _0x1adc64=this['_editor'],{width:_0x241d7d,height:_0x4e69d9}=_0x1b524d(_0x52dbf4,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x58604c,imageSources:_0x4e140c}=_0x5e8e05(_0x52dbf4,_0x241d7d);_0x1adc64['model']['change'](_0x536528=>{if('$graveyard'===_0x5b9f82['root']['rootName']){_0x1adc64['execute']('insertImage',{'imageType':_0x5b9f82['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x5b9f82['getAttributes']()),'uploadcareImageId':_0x3d480a,'src':_0x58604c,'sources':_0x4e140c,'width':_0x241d7d,'height':_0x4e69d9}});const _0x471492=_0x5b9f82['getChildren']();_0x5b9f82=_0x1adc64['model']['document']['selection']['getSelectedElement']();for(const _0x4102c1 of _0x471492)_0x536528['append'](_0x536528['cloneElement'](_0x4102c1),_0x5b9f82);}else _0x536528['setSelection'](_0x5b9f82,'on'),_0x1adc64['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x5b9f82['getAttributes']()),'uploadcareImageId':_0x3d480a,'src':_0x58604c,'sources':_0x4e140c,'width':_0x241d7d,'height':_0x4e69d9},_0x5b9f82);_0x536528['setSelection'](_0x5b9f82,'on');});}async['_getImageAsFile'](_0x1df8a9){const _0x530061=_0x257891['window'],_0x18b119=_0x257891['document']['location']['href'],_0x314874=new _0x530061['URL'](_0x1df8a9['getAttribute']('src'),_0x18b119);if('data:'===_0x314874['protocol']){const _0xc05d59=_0x314874['href']['split'](','),_0x302c9a=_0xc05d59[0x0]['match'](/:(.*?);/)[0x1],_0x39db63=_0x302c9a['split']('/')[0x1],_0x7e21e3=_0x530061['atob'](_0xc05d59[_0xc05d59['length']-0x1]);let _0x93cbe7=_0x7e21e3['length'];const _0x5941d7=new _0x530061['Uint8Array'](_0x93cbe7);for(;_0x93cbe7--;)_0x5941d7[_0x93cbe7]=_0x7e21e3['charCodeAt'](_0x93cbe7);return new _0x530061['File']([_0x5941d7],'image.'+_0x39db63,{'type':_0x302c9a});}const _0x290811=_0x314874['href']['split']('/'),_0x208651=_0x290811[_0x290811['length']-0x1],_0x37c32b=_0x208651['split']('.')[0x1];return _0x530061['fetch'](_0x314874['href'])['then'](_0x3148f4=>_0x3148f4['clone']()['blob']())['then'](_0x13ca0a=>new _0x530061['File']([_0x13ca0a],_0x208651,{'type':'image/'+_0x37c32b}));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x5e6e(){const _0x789f72=['16Sdvkiv','imageSrc','28785QCoQhJ','21609516aHetdL','set','42bcbYCO','ck-uploadcare-theme','bindTemplate','uc-light','81630xAJHEB','313150teDwJQ','3wHMHac','uc-cloud-image-editor','264738agyUdS','4515753LCJSFz','459vqsUoP','541058zQsavg','image-edit','64eeejrR','setTemplate'];_0x5e6e=function(){return _0x789f72;};return _0x5e6e();}function _0x1a26(_0x45f07b,_0x3505c3){const _0x5e6ecd=_0x5e6e();return _0x1a26=function(_0x1a26ea,_0xdce4ab){_0x1a26ea=_0x1a26ea-0x12a;let _0x499b6b=_0x5e6ecd[_0x1a26ea];return _0x499b6b;},_0x1a26(_0x45f07b,_0x3505c3);}(function(_0x3e4fd7,_0x6c9486){const _0x57d240=_0x1a26,_0x5bc23f=_0x3e4fd7();while(!![]){try{const _0x5d1431=-parseInt(_0x57d240(0x12d))/0x1*(parseInt(_0x57d240(0x12c))/0x2)+-parseInt(_0x57d240(0x12f))/0x3*(parseInt(_0x57d240(0x136))/0x4)+parseInt(_0x57d240(0x138))/0x5*(-parseInt(_0x57d240(0x13b))/0x6)+parseInt(_0x57d240(0x132))/0x7*(-parseInt(_0x57d240(0x134))/0x8)+parseInt(_0x57d240(0x131))/0x9*(parseInt(_0x57d240(0x12b))/0xa)+-parseInt(_0x57d240(0x130))/0xb+parseInt(_0x57d240(0x139))/0xc;if(_0x5d1431===_0x6c9486)break;else _0x5bc23f['push'](_0x5bc23f['shift']());}catch(_0xbea274){_0x5bc23f['push'](_0x5bc23f['shift']());}}}(_0x5e6e,0x4f667));import{View as _0x523efc}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormEditingView extends _0x523efc{constructor(_0x66f385,_0x2ca49d){const _0x16410a=_0x1a26;super(_0x66f385);const _0x17d73c=this[_0x16410a(0x13d)];this[_0x16410a(0x13a)](_0x16410a(0x137),''),this[_0x16410a(0x135)]({'tag':_0x16410a(0x12e),'attributes':{..._0x2ca49d,'class':[_0x16410a(0x12a),_0x16410a(0x13c)],'ctx-name':_0x16410a(0x133),'cdn-url':_0x17d73c['to'](_0x16410a(0x137))}});}}
23
+ (function(_0x3eff7d,_0x2456f2){const _0x2333ff=_0x4ba5,_0x1c8347=_0x3eff7d();while(!![]){try{const _0xbbe903=parseInt(_0x2333ff(0x139))/0x1+parseInt(_0x2333ff(0x146))/0x2+parseInt(_0x2333ff(0x138))/0x3+parseInt(_0x2333ff(0x143))/0x4*(parseInt(_0x2333ff(0x13b))/0x5)+-parseInt(_0x2333ff(0x149))/0x6*(parseInt(_0x2333ff(0x140))/0x7)+-parseInt(_0x2333ff(0x142))/0x8+parseInt(_0x2333ff(0x148))/0x9*(-parseInt(_0x2333ff(0x144))/0xa);if(_0xbbe903===_0x2456f2)break;else _0x1c8347['push'](_0x1c8347['shift']());}catch(_0x858a78){_0x1c8347['push'](_0x1c8347['shift']());}}}(_0x26df,0x2edeb));import{View as _0x38690d}from'ckeditor5/src/ui.js';function _0x4ba5(_0x1c8bf6,_0x3cb21d){const _0x26df0e=_0x26df();return _0x4ba5=function(_0x4ba515,_0xc3570){_0x4ba515=_0x4ba515-0x138;let _0x250487=_0x26df0e[_0x4ba515];return _0x250487;},_0x4ba5(_0x1c8bf6,_0x3cb21d);}export class UploadcareImageEditFormEditingView extends _0x38690d{constructor(_0x58922e,_0x1d3315){const _0x3ee969=_0x4ba5;super(_0x58922e);const _0x410449=this[_0x3ee969(0x147)];this[_0x3ee969(0x13e)](_0x3ee969(0x13f),''),this[_0x3ee969(0x145)]({'tag':_0x3ee969(0x141),'attributes':{..._0x1d3315,'class':[_0x3ee969(0x13c),_0x3ee969(0x13d)],'ctx-name':_0x3ee969(0x13a),'cdn-url':_0x410449['to'](_0x3ee969(0x13f))}});}}function _0x26df(){const _0xe23e52=['2981344iovKiu','21172MOOyvx','1850yuwPdk','setTemplate','412968PijPuv','bindTemplate','10035wriUTe','9102WKnVVC','877353bxmfrM','290373XRFfDc','image-edit','285tbMYPK','uc-light','ck-uploadcare-theme','set','imageSrc','1477AnZBUM','uc-cloud-image-editor'];_0x26df=function(){return _0xe23e52;};return _0x26df();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{IconError as _0x4e3db2}from'ckeditor5/src/icons.js';import{ButtonView as _0x47f0c3,IconView as _0x1c8269,View as _0x286fb4}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormErrorView extends _0x286fb4{constructor(_0x3bfae6){super(_0x3bfae6);const t=_0x3bfae6['t'];this['set']('errorType',null);const _0x2b9692=new _0x47f0c3(_0x3bfae6);_0x2b9692['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x2b9692['withText']=!0x0,_0x2b9692['class']='ck-button-action',_0x2b9692['on']('execute',()=>{this['fire']('retry');}),_0x2b9692['bind']('isVisible')['to'](this,'errorType',_0x3ad93a=>'NotFound'!==_0x3ad93a);const _0x4b4f5f=new _0x1c8269();_0x4b4f5f['content']=_0x4e3db2,_0x4b4f5f['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x4e6148=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':[_0x4b4f5f,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x4e6148['to']('errorType',_0x73bfde=>t('NotFound'!==_0x73bfde?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x2b9692]},{'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 _0xeb45ff}from'ckeditor5/src/icons.js';import{ButtonView as _0x30e58c,IconView as _0x20cdc7,View as _0x1cedff}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormErrorView extends _0x1cedff{constructor(_0x5395dc){super(_0x5395dc);const t=_0x5395dc['t'];this['set']('errorType',null);const _0x474255=new _0x30e58c(_0x5395dc);_0x474255['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x474255['withText']=!0x0,_0x474255['class']='ck-button-action',_0x474255['on']('execute',()=>{this['fire']('retry');}),_0x474255['bind']('isVisible')['to'](this,'errorType',_0x5561a1=>'NotFound'!==_0x5561a1);const _0x5d613d=new _0x20cdc7();_0x5d613d['content']=_0xeb45ff,_0x5d613d['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x16550b=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':[_0x5d613d,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x16550b['to']('errorType',_0x308b10=>t('NotFound'!==_0x308b10?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x474255]},{'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 _0x3f6471,View as _0x18f4be}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x18f4be{constructor(_0x33acf3){super(_0x33acf3);const t=_0x33acf3['t'],_0x434e21=this['bindTemplate'],_0x2e3314=new _0x3f6471();_0x2e3314['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':[_0x2e3314,{'text':_0x434e21['to']('imageUploadProgress',_0x21ff34=>t('Loading\x20image...')+'\x20('+(_0x21ff34||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 _0x4bb046,View as _0x20a2bf}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x20a2bf{constructor(_0x2a26cd){super(_0x2a26cd);const t=_0x2a26cd['t'],_0x2e4970=this['bindTemplate'],_0x5f0997=new _0x4bb046();_0x5f0997['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':[_0x5f0997,{'text':_0x2e4970['to']('imageUploadProgress',_0x2a3b6d=>t('Loading\x20image...')+'\x20('+(_0x2a3b6d||0x0)+'%)')}]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x7da7b3=_0x5b04;(function(_0x27b595,_0x7b8634){const _0xc25715=_0x5b04,_0xe60c67=_0x27b595();while(!![]){try{const _0x5f48e2=-parseInt(_0xc25715(0xe7))/0x1*(-parseInt(_0xc25715(0xda))/0x2)+-parseInt(_0xc25715(0xd4))/0x3+-parseInt(_0xc25715(0xfa))/0x4*(parseInt(_0xc25715(0xcd))/0x5)+parseInt(_0xc25715(0xde))/0x6+-parseInt(_0xc25715(0xf3))/0x7*(-parseInt(_0xc25715(0xd8))/0x8)+-parseInt(_0xc25715(0xca))/0x9+parseInt(_0xc25715(0xe9))/0xa*(parseInt(_0xc25715(0xfd))/0xb);if(_0x5f48e2===_0x7b8634)break;else _0xe60c67['push'](_0xe60c67['shift']());}catch(_0x577905){_0xe60c67['push'](_0xe60c67['shift']());}}}(_0x17c8,0x62a2a));import{View as _0x243fa5}from'ckeditor5/src/ui.js';function _0x17c8(){const _0x52113d=['917862etOGFx','observe','_loadingView','change:status','uploading','addedNodes','ready','addEventListener','add','380017EXddel','_addUploadcareImageEditorListeners','1007470WWrspP','nodeName','_editingView','cdnUrl','detail','_focusableView','querySelector','disconnect','createCollection','clear','181461HuKLOb','_items','set','ck-reset_all-excluded','uc-cloud-image-editor','_addErrorViewListeners','filter','8oCjATz','ck-uploadcare-form','once','99QFwfWA','render','target','apply','div','3676221iTglOs','error','_waitForImageEditorComponent','1721560aFhBUY','setTemplate','addMany','retry','_setView','_errorView','status','1137915toyusC','focus','toLowerCase','element','136TmFOrz','length','2eXmQgW','cancel','getFocusableElement','fire'];_0x17c8=function(){return _0x52113d;};return _0x17c8();}function _0x5b04(_0x2e1d28,_0xb2f84a){const _0x17c838=_0x17c8();return _0x5b04=function(_0x5b04d0,_0x32dfc3){_0x5b04d0=_0x5b04d0-0xc6;let _0x10de2e=_0x17c838[_0x5b04d0];return _0x10de2e;},_0x5b04(_0x2e1d28,_0xb2f84a);}import{UploadcareImageEditFormLoadingView as _0x241902}from'./uploadcareimageeditformloadingview.js';import{UploadcareImageEditFormErrorView as _0x2b3671}from'./uploadcareimageeditformerrorview.js';import{UploadcareImageEditFormEditingView as _0x5cfbf8}from'./uploadcareimageeditformeditingview.js';import{DialogFocusManagerView as _0x651667}from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export class UploadcareImageEditFormView extends _0x651667{[_0x7da7b3(0xf4)];[_0x7da7b3(0xe0)];[_0x7da7b3(0xd2)];[_0x7da7b3(0xeb)];[_0x7da7b3(0xee)];constructor(_0x27f82d,_0x1264a8,_0x187766){const _0x10d187=_0x7da7b3;super(_0x27f82d),this[_0x10d187(0xf4)]=this[_0x10d187(0xf1)](),this[_0x10d187(0xe0)]=new _0x241902(_0x27f82d),this[_0x10d187(0xd2)]=new _0x2b3671(_0x27f82d),this[_0x10d187(0xeb)]=new _0x5cfbf8(_0x27f82d,_0x187766),this[_0x10d187(0xee)]=new _0x243fa5(_0x27f82d),this[_0x10d187(0xee)][_0x10d187(0xce)](this[_0x10d187(0xdc)]()),this[_0x10d187(0xf5)](_0x10d187(0xd3),_0x1264a8),this[_0x10d187(0xce)]({'tag':_0x10d187(0xc9),'attributes':{'class':['ck',_0x10d187(0xf6),_0x10d187(0xfb)],'tabindex':'-1'},'children':this[_0x10d187(0xf4)]}),this[_0x10d187(0xd1)](),this[_0x10d187(0xfc)](_0x10d187(0xc6),()=>{const _0x259163=_0x10d187;this[_0x259163(0xcc)](this[_0x259163(0xd7)],_0x2b57e9=>{const _0x5974b5=_0x259163;this[_0x5974b5(0xe8)](_0x2b57e9);});}),this['on'](_0x10d187(0xe1),()=>{const _0x4e19b0=_0x10d187;this[_0x4e19b0(0xd1)]();}),this[_0x10d187(0xf8)]();}[_0x7da7b3(0xd5)](){const _0x15ce67=_0x7da7b3;this[_0x15ce67(0xd7)][_0x15ce67(0xd5)]();}[_0x7da7b3(0xd1)](){const _0x15af8e=_0x7da7b3;switch(this[_0x15af8e(0xf4)][_0x15af8e(0xf2)](),this[_0x15af8e(0xd3)]){case _0x15af8e(0xe2):this[_0x15af8e(0xf4)][_0x15af8e(0xe6)](this[_0x15af8e(0xe0)]);break;case _0x15af8e(0xcb):this[_0x15af8e(0xf4)][_0x15af8e(0xe6)](this[_0x15af8e(0xd2)]);break;case _0x15af8e(0xe4):this[_0x15af8e(0xf4)][_0x15af8e(0xcf)]([this[_0x15af8e(0xeb)],this[_0x15af8e(0xee)]]);}}[_0x7da7b3(0xcc)](_0x370e53,_0x17c5ef){const _0x37ee6e=_0x7da7b3,_0x52a1ab=_0x37ee6e(0xf7),_0x3c4bfb=_0x370e53[_0x37ee6e(0xef)](_0x52a1ab);if(_0x3c4bfb)return _0x17c5ef(_0x3c4bfb);const _0x1b73dc=new MutationObserver(_0x40f5c6=>{const _0x190fe7=_0x37ee6e,_0x1a402f=_0x40f5c6[_0x190fe7(0xf9)](_0x39966f=>_0x39966f[_0x190fe7(0xc7)]===_0x370e53&&_0x39966f[_0x190fe7(0xe3)][_0x190fe7(0xd9)]>0x0&&_0x39966f[_0x190fe7(0xe3)][0x0][_0x190fe7(0xea)][_0x190fe7(0xd6)]()===_0x52a1ab);_0x1a402f[_0x190fe7(0xd9)]&&(_0x1b73dc[_0x190fe7(0xf0)](),_0x17c5ef(_0x1a402f[0x0][_0x190fe7(0xe3)][0x0]));});_0x1b73dc[_0x37ee6e(0xdf)](_0x370e53,{'childList':!0x0,'subtree':!0x0});}[_0x7da7b3(0xe8)](_0x5bd801){const _0x50e025=_0x7da7b3;_0x5bd801[_0x50e025(0xe5)](_0x50e025(0xc8),_0x360d2a=>{const _0x35516e=_0x50e025;this[_0x35516e(0xdd)](_0x35516e(0xc8),{'imageSrc':_0x360d2a[_0x35516e(0xed)][_0x35516e(0xec)]});}),_0x5bd801[_0x50e025(0xe5)](_0x50e025(0xdb),()=>{const _0x44ec68=_0x50e025;this[_0x44ec68(0xdd)](_0x44ec68(0xdb));});}[_0x7da7b3(0xf8)](){const _0x5ed526=_0x7da7b3;this[_0x5ed526(0xd2)]['on'](_0x5ed526(0xd0),()=>{const _0x71e0f1=_0x5ed526;this[_0x71e0f1(0xdd)](_0x71e0f1(0xd0));});}}
23
+ const _0x57459f=_0xd93a;(function(_0x415653,_0x233914){const _0x44d064=_0xd93a,_0x469e73=_0x415653();while(!![]){try{const _0x25cff0=-parseInt(_0x44d064(0x10a))/0x1*(parseInt(_0x44d064(0x114))/0x2)+-parseInt(_0x44d064(0x11b))/0x3+-parseInt(_0x44d064(0x10b))/0x4*(parseInt(_0x44d064(0x126))/0x5)+parseInt(_0x44d064(0x118))/0x6+-parseInt(_0x44d064(0x110))/0x7*(-parseInt(_0x44d064(0x11a))/0x8)+-parseInt(_0x44d064(0x12c))/0x9*(-parseInt(_0x44d064(0x131))/0xa)+-parseInt(_0x44d064(0x107))/0xb;if(_0x25cff0===_0x233914)break;else _0x469e73['push'](_0x469e73['shift']());}catch(_0x27574d){_0x469e73['push'](_0x469e73['shift']());}}}(_0x3740,0xe9f6d));import{View as _0x238882}from'ckeditor5/src/ui.js';import{UploadcareImageEditFormLoadingView as _0x609c3f}from'./uploadcareimageeditformloadingview.js';import{UploadcareImageEditFormErrorView as _0x10a442}from'./uploadcareimageeditformerrorview.js';function _0x3740(){const _0x35c087=['310923nFujvK','uc-cloud-image-editor','_focusableView','_setView','disconnect','400UEpFIz','ck-reset_all-excluded','toLowerCase','_waitForImageEditorComponent','_items','apply','set','detail','change:status','observe','once','addMany','setTemplate','addEventListener','13690567zjqdnp','filter','target','54831zwFaKv','16LyOnGk','ck-uploadcare-form','add','getFocusableElement','cancel','1995PoodNX','retry','render','element','18blWFkW','_errorView','ready','addedNodes','8511486PwgzMq','uploading','41384WKUCKw','3223671ORCtmJ','error','div','querySelector','focus','_addUploadcareImageEditorListeners','cdnUrl','clear','_loadingView','_editingView','status','629770ctIeFH','createCollection','fire','_addErrorViewListeners','length','nodeName'];_0x3740=function(){return _0x35c087;};return _0x3740();}import{UploadcareImageEditFormEditingView as _0x2b790b}from'./uploadcareimageeditformeditingview.js';import{DialogFocusManagerView as _0x4c2e3f}from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';function _0xd93a(_0x429530,_0x4d4b9){const _0x374033=_0x3740();return _0xd93a=function(_0xd93a10,_0x580b2b){_0xd93a10=_0xd93a10-0xfd;let _0x59a9c7=_0x374033[_0xd93a10];return _0x59a9c7;},_0xd93a(_0x429530,_0x4d4b9);}export class UploadcareImageEditFormView extends _0x4c2e3f{[_0x57459f(0xfd)];[_0x57459f(0x123)];[_0x57459f(0x115)];[_0x57459f(0x124)];[_0x57459f(0x12e)];constructor(_0x52b6aa,_0x163b29,_0x4fc571){const _0x1206a0=_0x57459f;super(_0x52b6aa),this[_0x1206a0(0xfd)]=this[_0x1206a0(0x127)](),this[_0x1206a0(0x123)]=new _0x609c3f(_0x52b6aa),this[_0x1206a0(0x115)]=new _0x10a442(_0x52b6aa),this[_0x1206a0(0x124)]=new _0x2b790b(_0x52b6aa,_0x4fc571),this[_0x1206a0(0x12e)]=new _0x238882(_0x52b6aa),this[_0x1206a0(0x12e)][_0x1206a0(0x105)](this[_0x1206a0(0x10e)]()),this[_0x1206a0(0xff)](_0x1206a0(0x125),_0x163b29),this[_0x1206a0(0x105)]({'tag':_0x1206a0(0x11d),'attributes':{'class':['ck',_0x1206a0(0x132),_0x1206a0(0x10c)],'tabindex':'-1'},'children':this[_0x1206a0(0xfd)]}),this[_0x1206a0(0x12f)](),this[_0x1206a0(0x103)](_0x1206a0(0x112),()=>{const _0x14c224=_0x1206a0;this[_0x14c224(0x134)](this[_0x14c224(0x113)],_0x216d0b=>{const _0x285890=_0x14c224;this[_0x285890(0x120)](_0x216d0b);});}),this['on'](_0x1206a0(0x101),()=>{const _0x176b1d=_0x1206a0;this[_0x176b1d(0x12f)]();}),this[_0x1206a0(0x129)]();}[_0x57459f(0x11f)](){const _0x409745=_0x57459f;this[_0x409745(0x113)][_0x409745(0x11f)]();}[_0x57459f(0x12f)](){const _0x5969aa=_0x57459f;switch(this[_0x5969aa(0xfd)][_0x5969aa(0x122)](),this[_0x5969aa(0x125)]){case _0x5969aa(0x119):this[_0x5969aa(0xfd)][_0x5969aa(0x10d)](this[_0x5969aa(0x123)]);break;case _0x5969aa(0x11c):this[_0x5969aa(0xfd)][_0x5969aa(0x10d)](this[_0x5969aa(0x115)]);break;case _0x5969aa(0x116):this[_0x5969aa(0xfd)][_0x5969aa(0x104)]([this[_0x5969aa(0x124)],this[_0x5969aa(0x12e)]]);}}[_0x57459f(0x134)](_0x57e47c,_0xf863cf){const _0x3813bc=_0x57459f,_0x1aa4f7=_0x3813bc(0x12d),_0x34eca3=_0x57e47c[_0x3813bc(0x11e)](_0x1aa4f7);if(_0x34eca3)return _0xf863cf(_0x34eca3);const _0x5ac91a=new MutationObserver(_0x50d3db=>{const _0x429c18=_0x3813bc,_0x3a18aa=_0x50d3db[_0x429c18(0x108)](_0x14c396=>_0x14c396[_0x429c18(0x109)]===_0x57e47c&&_0x14c396[_0x429c18(0x117)][_0x429c18(0x12a)]>0x0&&_0x14c396[_0x429c18(0x117)][0x0][_0x429c18(0x12b)][_0x429c18(0x133)]()===_0x1aa4f7);_0x3a18aa[_0x429c18(0x12a)]&&(_0x5ac91a[_0x429c18(0x130)](),_0xf863cf(_0x3a18aa[0x0][_0x429c18(0x117)][0x0]));});_0x5ac91a[_0x3813bc(0x102)](_0x57e47c,{'childList':!0x0,'subtree':!0x0});}[_0x57459f(0x120)](_0x5602b5){const _0x3e6dc2=_0x57459f;_0x5602b5[_0x3e6dc2(0x106)](_0x3e6dc2(0xfe),_0x1a058e=>{const _0x47b71b=_0x3e6dc2;this[_0x47b71b(0x128)](_0x47b71b(0xfe),{'imageSrc':_0x1a058e[_0x47b71b(0x100)][_0x47b71b(0x121)]});}),_0x5602b5[_0x3e6dc2(0x106)](_0x3e6dc2(0x10f),()=>{const _0x2a3ca3=_0x3e6dc2;this[_0x2a3ca3(0x128)](_0x2a3ca3(0x10f));});}[_0x57459f(0x129)](){const _0x333ffe=_0x57459f;this[_0x333ffe(0x115)]['on'](_0x333ffe(0x111),()=>{const _0x5907e3=_0x333ffe;this[_0x5907e3(0x128)](_0x5907e3(0x111));});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x32663d=_0x2949;(function(_0x2f96b4,_0x20d3f3){const _0x47dc46=_0x2949,_0x1b2410=_0x2f96b4();while(!![]){try{const _0xe1fe05=-parseInt(_0x47dc46(0x1d8))/0x1+-parseInt(_0x47dc46(0x1de))/0x2+parseInt(_0x47dc46(0x1ef))/0x3+parseInt(_0x47dc46(0x1ea))/0x4+-parseInt(_0x47dc46(0x1f6))/0x5*(-parseInt(_0x47dc46(0x1da))/0x6)+parseInt(_0x47dc46(0x1f3))/0x7+-parseInt(_0x47dc46(0x1e7))/0x8*(-parseInt(_0x47dc46(0x1e2))/0x9);if(_0xe1fe05===_0x20d3f3)break;else _0x1b2410['push'](_0x1b2410['shift']());}catch(_0x19ac21){_0x1b2410['push'](_0x1b2410['shift']());}}}(_0x52a9,0x56bde));import{Command as _0x23ee00}from'ckeditor5/src/core.js';import{Dialog as _0x1d327f}from'ckeditor5/src/ui.js';function _0x52a9(){const _0x4d0815=['model','_isEditable','imageInline','75129bSHSXg','requires','isActive','config','1680630cPYJKP','unbind','plugins','5TdYNzt','627565GtZJnX','isEnabled','3345144IabiSi','uploadcare.allowExternalImagesEditing','getSelectedElement','get','436206yDTVJi','element','refresh','editor','16587OaPWEI','bind','imageEditController','selection','imageBlock','1544CGxudA','set','execute','90424PUwJjp','document'];_0x52a9=function(){return _0x4d0815;};return _0x52a9();}import{UploadcareImageEditController as _0x1c6a03}from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x2c066a}from'../utils/editingutils.js';function _0x2949(_0x2df6ac,_0x5c61b4){const _0x52a9d5=_0x52a9();return _0x2949=function(_0x294963,_0x5d50fc){_0x294963=_0x294963-0x1d8;let _0x5878ae=_0x52a9d5[_0x294963];return _0x5878ae;},_0x2949(_0x2df6ac,_0x5c61b4);}export class UploadcareImageEditCommand extends _0x23ee00{[_0x32663d(0x1e4)];static get[_0x32663d(0x1f0)](){return[_0x1d327f];}[_0x32663d(0x1ed)];constructor(_0x5b3d03){const _0x2928fa=_0x32663d;super(_0x5b3d03),this[_0x2928fa(0x1e4)]=void 0x0,this[_0x2928fa(0x1ed)]=_0x2c066a(_0x5b3d03[_0x2928fa(0x1f2)][_0x2928fa(0x1dd)](_0x2928fa(0x1db))||[]),this[_0x2928fa(0x1e8)]({'isActive':!0x1});}[_0x32663d(0x1e0)](){const _0x22956c=_0x32663d,_0x40c63c=this[_0x22956c(0x1e1)][_0x22956c(0x1ec)][_0x22956c(0x1eb)][_0x22956c(0x1e5)][_0x22956c(0x1dc)]();this[_0x22956c(0x1d9)]=this[_0x22956c(0x1ed)](_0x40c63c);}[_0x32663d(0x1e9)](){const _0x2f146c=_0x32663d;this[_0x2f146c(0x1e4)]&&(this[_0x2f146c(0x1f4)](_0x2f146c(0x1f1)),this[_0x2f146c(0x1e4)]=void 0x0);const _0x209b6d=this[_0x2f146c(0x1e1)][_0x2f146c(0x1ec)][_0x2f146c(0x1eb)][_0x2f146c(0x1e5)][_0x2f146c(0x1dc)]();_0x209b6d&&(_0x209b6d['is'](_0x2f146c(0x1df),_0x2f146c(0x1e6))||_0x209b6d['is'](_0x2f146c(0x1df),_0x2f146c(0x1ee)))&&(this[_0x2f146c(0x1e4)]=new _0x1c6a03(this[_0x2f146c(0x1e1)],this[_0x2f146c(0x1e1)][_0x2f146c(0x1f5)][_0x2f146c(0x1dd)](_0x1d327f),_0x209b6d),this[_0x2f146c(0x1e3)](_0x2f146c(0x1f1))['to'](this[_0x2f146c(0x1e4)],_0x2f146c(0x1f1)));}}
23
+ const _0x513fdb=_0x18a8;(function(_0x57da30,_0x3b505d){const _0x4cb52b=_0x18a8,_0xc32c5f=_0x57da30();while(!![]){try{const _0x59b803=-parseInt(_0x4cb52b(0x113))/0x1*(-parseInt(_0x4cb52b(0x11c))/0x2)+-parseInt(_0x4cb52b(0x11f))/0x3*(parseInt(_0x4cb52b(0x116))/0x4)+-parseInt(_0x4cb52b(0x10d))/0x5+-parseInt(_0x4cb52b(0x11d))/0x6+parseInt(_0x4cb52b(0x119))/0x7+-parseInt(_0x4cb52b(0x112))/0x8*(parseInt(_0x4cb52b(0x120))/0x9)+-parseInt(_0x4cb52b(0x11a))/0xa*(-parseInt(_0x4cb52b(0x118))/0xb);if(_0x59b803===_0x3b505d)break;else _0xc32c5f['push'](_0xc32c5f['shift']());}catch(_0x54dc20){_0xc32c5f['push'](_0xc32c5f['shift']());}}}(_0x2d02,0x6f6f4));function _0x2d02(){const _0x49f5cb=['element','121JJHrjX','2077138DnKJqy','847350saPOmc','config','2HbNoYN','2494956WWhKxt','model','798SZeJSy','2724723ktVDPv','isActive','unbind','requires','bind','get','set','editor','refresh','execute','document','plugins','selection','getSelectedElement','742085HyiGTZ','imageEditController','imageInline','isEnabled','imageBlock','8doUpUp','595219CncLHR','_isEditable','uploadcare.allowExternalImagesEditing','7528ThEpqb'];_0x2d02=function(){return _0x49f5cb;};return _0x2d02();}import{Command as _0x3b92da}from'ckeditor5/src/core.js';import{Dialog as _0x1cd9be}from'ckeditor5/src/ui.js';import{UploadcareImageEditController as _0x281778}from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x3f63a9}from'../utils/editingutils.js';function _0x18a8(_0x110c46,_0x203819){const _0x2d0231=_0x2d02();return _0x18a8=function(_0x18a851,_0x66f7de){_0x18a851=_0x18a851-0x10b;let _0x52dd80=_0x2d0231[_0x18a851];return _0x52dd80;},_0x18a8(_0x110c46,_0x203819);}export class UploadcareImageEditCommand extends _0x3b92da{[_0x513fdb(0x10e)];static get[_0x513fdb(0x123)](){return[_0x1cd9be];}[_0x513fdb(0x114)];constructor(_0x49ed59){const _0x16ba55=_0x513fdb;super(_0x49ed59),this[_0x16ba55(0x10e)]=void 0x0,this[_0x16ba55(0x114)]=_0x3f63a9(_0x49ed59[_0x16ba55(0x11b)][_0x16ba55(0x125)](_0x16ba55(0x115))||[]),this[_0x16ba55(0x126)]({'isActive':!0x1});}[_0x513fdb(0x128)](){const _0x1e7f7f=_0x513fdb,_0x6aa5f0=this[_0x1e7f7f(0x127)][_0x1e7f7f(0x11e)][_0x1e7f7f(0x12a)][_0x1e7f7f(0x10b)][_0x1e7f7f(0x10c)]();this[_0x1e7f7f(0x110)]=this[_0x1e7f7f(0x114)](_0x6aa5f0);}[_0x513fdb(0x129)](){const _0x217ca3=_0x513fdb;this[_0x217ca3(0x10e)]&&(this[_0x217ca3(0x122)](_0x217ca3(0x121)),this[_0x217ca3(0x10e)]=void 0x0);const _0x218933=this[_0x217ca3(0x127)][_0x217ca3(0x11e)][_0x217ca3(0x12a)][_0x217ca3(0x10b)][_0x217ca3(0x10c)]();_0x218933&&(_0x218933['is'](_0x217ca3(0x117),_0x217ca3(0x111))||_0x218933['is'](_0x217ca3(0x117),_0x217ca3(0x10f)))&&(this[_0x217ca3(0x10e)]=new _0x281778(this[_0x217ca3(0x127)],this[_0x217ca3(0x127)][_0x217ca3(0x12b)][_0x217ca3(0x125)](_0x1cd9be),_0x218933),this[_0x217ca3(0x124)](_0x217ca3(0x121))['to'](this[_0x217ca3(0x10e)],_0x217ca3(0x121)));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1e82ac=_0x4a4b;(function(_0x421781,_0x20f9ad){const _0x2051ac=_0x4a4b,_0x210ed4=_0x421781();while(!![]){try{const _0xd78323=-parseInt(_0x2051ac(0x177))/0x1+parseInt(_0x2051ac(0x175))/0x2*(-parseInt(_0x2051ac(0x173))/0x3)+parseInt(_0x2051ac(0x182))/0x4+parseInt(_0x2051ac(0x17b))/0x5+parseInt(_0x2051ac(0x186))/0x6*(parseInt(_0x2051ac(0x174))/0x7)+parseInt(_0x2051ac(0x17d))/0x8*(-parseInt(_0x2051ac(0x178))/0x9)+-parseInt(_0x2051ac(0x184))/0xa;if(_0xd78323===_0x20f9ad)break;else _0x210ed4['push'](_0x210ed4['shift']());}catch(_0x6690ac){_0x210ed4['push'](_0x210ed4['shift']());}}}(_0xe38b,0x78b8f));import{Plugin as _0x44c467}from'ckeditor5/src/core.js';import{Notification as _0x2b79cc}from'ckeditor5/src/ui.js';import{UploadcareImageEditCommand as _0x425c9d}from'./uploadcareimageeditcommand.js';import{UploadcareImageReplaceCommand as _0x4eb5b2}from'./uploadcareimagereplacecommand.js';function _0x4a4b(_0x3b8464,_0x3d26a9){const _0xe38b75=_0xe38b();return _0x4a4b=function(_0x4a4b4b,_0x13008f){_0x4a4b4b=_0x4a4b4b-0x171;let _0x2ccc6a=_0xe38b75[_0x4a4b4b];return _0x2ccc6a;},_0x4a4b(_0x3b8464,_0x3d26a9);}function _0xe38b(){const _0x4bdd1b=['882Zacafo','isOfficialPlugin','add','291CZHZav','10941qRgZhu','5836CnOlLl','init','212470YSOciE','882glWkqQ','isPremiumPlugin','requires','1717365PNihsO','UploadcareImageEditEditing','3032NrHwHn','pluginName','uploadcareImageEdit','commands','ImageEditing','2702440ORxjuV','ImageUtils','2217070gdzpuR','uploadcareImageReplace'];_0xe38b=function(){return _0x4bdd1b;};return _0xe38b();}import{UploadcareEditing as _0x40a715}from'../uploadcareediting.js';export class UploadcareImageEditEditing extends _0x44c467{static get[_0x1e82ac(0x17e)](){const _0x501683=_0x1e82ac;return _0x501683(0x17c);}static get[_0x1e82ac(0x17a)](){const _0x322ce7=_0x1e82ac;return[_0x40a715,_0x2b79cc,_0x322ce7(0x183),_0x322ce7(0x181)];}static get[_0x1e82ac(0x171)](){return!0x0;}static get[_0x1e82ac(0x179)](){return!0x0;}[_0x1e82ac(0x176)](){const _0x260349=_0x1e82ac,{editor:_0xdeb76c}=this;_0xdeb76c[_0x260349(0x180)][_0x260349(0x172)](_0x260349(0x17f),new _0x425c9d(_0xdeb76c)),_0xdeb76c[_0x260349(0x180)][_0x260349(0x172)](_0x260349(0x185),new _0x4eb5b2(_0xdeb76c));}}
23
+ const _0x58aa15=_0x56ed;(function(_0x2fab56,_0x590570){const _0x54350d=_0x56ed,_0x5228e0=_0x2fab56();while(!![]){try{const _0x23b344=-parseInt(_0x54350d(0x102))/0x1+-parseInt(_0x54350d(0x105))/0x2*(-parseInt(_0x54350d(0xfc))/0x3)+parseInt(_0x54350d(0x10b))/0x4*(-parseInt(_0x54350d(0x104))/0x5)+-parseInt(_0x54350d(0xfb))/0x6+parseInt(_0x54350d(0xfd))/0x7*(parseInt(_0x54350d(0x100))/0x8)+parseInt(_0x54350d(0x108))/0x9+parseInt(_0x54350d(0x10a))/0xa*(-parseInt(_0x54350d(0x10c))/0xb);if(_0x23b344===_0x590570)break;else _0x5228e0['push'](_0x5228e0['shift']());}catch(_0x506887){_0x5228e0['push'](_0x5228e0['shift']());}}}(_0x3df2,0xa287a));import{Plugin as _0x4a0a78}from'ckeditor5/src/core.js';import{Notification as _0x31c4f4}from'ckeditor5/src/ui.js';function _0x3df2(){const _0xf42bc9=['348506SXtTAv','isPremiumPlugin','865pyRZlC','20KqmrnU','ImageEditing','add','8401599HxFenI','init','40Womwmo','5360zOnyDv','278839MtisVo','UploadcareImageEditEditing','pluginName','commands','ImageUtils','isOfficialPlugin','7082916sXiRft','106947UnanRj','77RMbIwo','requires','uploadcareImageEdit','900312IlFCuT','uploadcareImageReplace'];_0x3df2=function(){return _0xf42bc9;};return _0x3df2();}import{UploadcareImageEditCommand as _0x5f4f01}from'./uploadcareimageeditcommand.js';import{UploadcareImageReplaceCommand as _0x17968f}from'./uploadcareimagereplacecommand.js';function _0x56ed(_0x5863f5,_0x2144bc){const _0x3df2b8=_0x3df2();return _0x56ed=function(_0x56ed6f,_0x34378a){_0x56ed6f=_0x56ed6f-0xf7;let _0x549088=_0x3df2b8[_0x56ed6f];return _0x549088;},_0x56ed(_0x5863f5,_0x2144bc);}import{UploadcareEditing as _0x5dc181}from'../uploadcareediting.js';export class UploadcareImageEditEditing extends _0x4a0a78{static get[_0x58aa15(0xf7)](){const _0x4cccc4=_0x58aa15;return _0x4cccc4(0x10d);}static get[_0x58aa15(0xfe)](){const _0x12bb5f=_0x58aa15;return[_0x5dc181,_0x31c4f4,_0x12bb5f(0xf9),_0x12bb5f(0x106)];}static get[_0x58aa15(0xfa)](){return!0x0;}static get[_0x58aa15(0x103)](){return!0x0;}[_0x58aa15(0x109)](){const _0x4e10fb=_0x58aa15,{editor:_0x1676ae}=this;_0x1676ae[_0x4e10fb(0xf8)][_0x4e10fb(0x107)](_0x4e10fb(0xff),new _0x5f4f01(_0x1676ae)),_0x1676ae[_0x4e10fb(0xf8)][_0x4e10fb(0x107)](_0x4e10fb(0x101),new _0x17968f(_0x1676ae));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x1ed12f}from'ckeditor5/src/core.js';import{ButtonView as _0x43791b}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x330c43}from'ckeditor5/src/icons.js';import{createElement as _0x1dc693}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 _0x1ed12f{['_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 _0xaa7df3=this['editor'];_0xaa7df3['ui']['componentFactory']['add']('uploadcareImageEdit',_0x5b44dc=>{const _0x171ce1=_0xaa7df3['commands']['get']('uploadcareImageEdit'),_0x3109c2=new _0x43791b(_0x5b44dc),t=_0x5b44dc['t'];return _0x3109c2['set']({'icon':_0x330c43,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x3109c2['bind']('isEnabled')['to'](_0x171ce1),_0x3109c2['bind']('isOn')['to'](_0x171ce1,'isActive'),this['listenTo'](_0x3109c2,'execute',()=>{_0xaa7df3['execute']('uploadcareImageEdit'),_0xaa7df3['editing']['view']['focus']();}),_0x3109c2;}),this['_initConfig']();}['_initConfig'](){const _0x497a2b=_0x1dc693(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x497a2b),this['listenTo'](this['editor'],'destroy',()=>{_0x497a2b['remove']();});}}
23
+ import{Plugin as _0x41e3cf}from'ckeditor5/src/core.js';import{ButtonView as _0x16fa14}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x43bed6}from'ckeditor5/src/icons.js';import{createElement as _0x2d50b3}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 _0x41e3cf{['_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 _0x5d60db=this['editor'];_0x5d60db['ui']['componentFactory']['add']('uploadcareImageEdit',_0x24c5f3=>{const _0x3dcbd2=_0x5d60db['commands']['get']('uploadcareImageEdit'),_0x2d4856=new _0x16fa14(_0x24c5f3),t=_0x24c5f3['t'];return _0x2d4856['set']({'icon':_0x43bed6,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x2d4856['bind']('isEnabled')['to'](_0x3dcbd2),_0x2d4856['bind']('isOn')['to'](_0x3dcbd2,'isActive'),this['listenTo'](_0x2d4856,'execute',()=>{_0x5d60db['execute']('uploadcareImageEdit'),_0x5d60db['editing']['view']['focus']();}),_0x2d4856;}),this['_initConfig']();}['_initConfig'](){const _0x2d98a2=_0x2d50b3(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x2d98a2),this['listenTo'](this['editor'],'destroy',()=>{_0x2d98a2['remove']();});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x43176e=_0x3a0c;(function(_0x23e7cd,_0x498958){const _0x751918=_0x3a0c,_0x56fbc0=_0x23e7cd();while(!![]){try{const _0x1f4a2d=parseInt(_0x751918(0x93))/0x1+-parseInt(_0x751918(0x8c))/0x2+-parseInt(_0x751918(0x8d))/0x3+parseInt(_0x751918(0x92))/0x4+-parseInt(_0x751918(0x82))/0x5*(-parseInt(_0x751918(0x86))/0x6)+parseInt(_0x751918(0x8e))/0x7+-parseInt(_0x751918(0x91))/0x8*(parseInt(_0x751918(0x88))/0x9);if(_0x1f4a2d===_0x498958)break;else _0x56fbc0['push'](_0x56fbc0['shift']());}catch(_0x20824a){_0x56fbc0['push'](_0x56fbc0['shift']());}}}(_0x3bc9,0x98aec));function _0x3a0c(_0x5795b4,_0x143175){const _0x3bc9c7=_0x3bc9();return _0x3a0c=function(_0x3a0cdf,_0x8c39cb){_0x3a0cdf=_0x3a0cdf-0x81;let _0x3bf0df=_0x3bc9c7[_0x3a0cdf];return _0x3bf0df;},_0x3a0c(_0x5795b4,_0x143175);}import{Command as _0x102017}from'ckeditor5/src/core.js';export class UploadcareImageReplaceCommand extends _0x102017{[_0x43176e(0x8a)](){const _0x169cfa=_0x43176e,_0x45657a=this[_0x169cfa(0x87)][_0x169cfa(0x99)][_0x169cfa(0x96)][_0x169cfa(0x83)][_0x169cfa(0x89)]();this[_0x169cfa(0x8f)]=Boolean(_0x45657a&&(_0x45657a['is'](_0x169cfa(0x97),_0x169cfa(0x8b))||_0x45657a['is'](_0x169cfa(0x97),_0x169cfa(0x90))));}[_0x43176e(0x95)](_0x4b69e1){const _0x58fe97=_0x43176e,_0x34cad7=this[_0x58fe97(0x87)][_0x58fe97(0x99)][_0x58fe97(0x96)][_0x58fe97(0x83)][_0x58fe97(0x89)]();this[_0x58fe97(0x87)][_0x58fe97(0x99)][_0x58fe97(0x94)](_0x42d55b=>{const _0x5030ae=_0x58fe97;_0x42d55b[_0x5030ae(0x84)](_0x4b69e1,_0x34cad7),_0x42d55b[_0x5030ae(0x98)](_0x5030ae(0x81),_0x34cad7),_0x42d55b[_0x5030ae(0x98)](_0x5030ae(0x85),_0x34cad7);});}}function _0x3bc9(){const _0x2b7424=['1153638yxpdxC','1437039gueLqE','5167281jJRSzp','isEnabled','imageInline','4967832BLtAVy','2377804DZmziB','902179YzmDXz','change','execute','document','element','removeAttribute','model','srcset','15315yYbese','selection','setAttributes','sizes','132rQVvgI','editor','9YuAAbe','getSelectedElement','refresh','imageBlock'];_0x3bc9=function(){return _0x2b7424;};return _0x3bc9();}
23
+ const _0x343c55=_0x1c89;(function(_0x1f956e,_0x17b88a){const _0x344b09=_0x1c89,_0xe7f6a8=_0x1f956e();while(!![]){try{const _0x180fbb=parseInt(_0x344b09(0x1d5))/0x1+parseInt(_0x344b09(0x1de))/0x2+-parseInt(_0x344b09(0x1d8))/0x3+-parseInt(_0x344b09(0x1db))/0x4*(-parseInt(_0x344b09(0x1e7))/0x5)+-parseInt(_0x344b09(0x1e8))/0x6*(-parseInt(_0x344b09(0x1e9))/0x7)+parseInt(_0x344b09(0x1dd))/0x8+-parseInt(_0x344b09(0x1d7))/0x9*(parseInt(_0x344b09(0x1e1))/0xa);if(_0x180fbb===_0x17b88a)break;else _0xe7f6a8['push'](_0xe7f6a8['shift']());}catch(_0x1a8773){_0xe7f6a8['push'](_0xe7f6a8['shift']());}}}(_0x5b55,0xdc8da));import{Command as _0x24d267}from'ckeditor5/src/core.js';function _0x1c89(_0x2c9271,_0x27f13c){const _0x5b555f=_0x5b55();return _0x1c89=function(_0x1c8943,_0x39d73e){_0x1c8943=_0x1c8943-0x1d1;let _0x244b63=_0x5b555f[_0x1c8943];return _0x244b63;},_0x1c89(_0x2c9271,_0x27f13c);}function _0x5b55(){const _0x357f50=['20489XIVGDO','imageBlock','change','document','setAttributes','refresh','1769344QyLqRV','getSelectedElement','9DssRVY','2629158GnTgsz','execute','selection','4276lRzgLc','element','9817728qnlTbK','255812mTuGxB','model','removeAttribute','25959810Jsrfbx','isEnabled','editor','imageInline','srcset','sizes','4155CpKIRO','744nYnykC'];_0x5b55=function(){return _0x357f50;};return _0x5b55();}export class UploadcareImageReplaceCommand extends _0x24d267{[_0x343c55(0x1d4)](){const _0x2be92c=_0x343c55,_0x546453=this[_0x2be92c(0x1e3)][_0x2be92c(0x1df)][_0x2be92c(0x1d2)][_0x2be92c(0x1da)][_0x2be92c(0x1d6)]();this[_0x2be92c(0x1e2)]=Boolean(_0x546453&&(_0x546453['is'](_0x2be92c(0x1dc),_0x2be92c(0x1ea))||_0x546453['is'](_0x2be92c(0x1dc),_0x2be92c(0x1e4))));}[_0x343c55(0x1d9)](_0x40d5d2){const _0x13ed38=_0x343c55,_0xb8ed5f=this[_0x13ed38(0x1e3)][_0x13ed38(0x1df)][_0x13ed38(0x1d2)][_0x13ed38(0x1da)][_0x13ed38(0x1d6)]();this[_0x13ed38(0x1e3)][_0x13ed38(0x1df)][_0x13ed38(0x1d1)](_0x1b6fff=>{const _0x13303f=_0x13ed38;_0x1b6fff[_0x13303f(0x1d3)](_0x40d5d2,_0xb8ed5f),_0x1b6fff[_0x13303f(0x1e0)](_0x13303f(0x1e5),_0xb8ed5f),_0x1b6fff[_0x13303f(0x1e0)](_0x13303f(0x1e6),_0xb8ed5f);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x3ef8c2=_0x4e13;(function(_0x4b23fb,_0xc1855d){var _0x533f0e=_0x4e13,_0x7fd781=_0x4b23fb();while(!![]){try{var _0x3071dc=parseInt(_0x533f0e(0x1e3))/0x1*(-parseInt(_0x533f0e(0x1e0))/0x2)+-parseInt(_0x533f0e(0x1e1))/0x3+-parseInt(_0x533f0e(0x1e5))/0x4*(-parseInt(_0x533f0e(0x1dc))/0x5)+-parseInt(_0x533f0e(0x1e9))/0x6*(parseInt(_0x533f0e(0x1e7))/0x7)+-parseInt(_0x533f0e(0x1e4))/0x8*(parseInt(_0x533f0e(0x1df))/0x9)+-parseInt(_0x533f0e(0x1e8))/0xa+-parseInt(_0x533f0e(0x1ea))/0xb*(-parseInt(_0x533f0e(0x1dd))/0xc);if(_0x3071dc===_0xc1855d)break;else _0x7fd781['push'](_0x7fd781['shift']());}catch(_0x38bf9c){_0x7fd781['push'](_0x7fd781['shift']());}}}(_0x4058,0x97b80));function _0x4058(){var _0x171d41=['49356Xjtpzr','UploadcareImageEdit','3710439uABmAw','1543358QafPWX','3524286wkHLfE','pluginName','1FfDHuU','16cqMqZd','212sKrtSN','isPremiumPlugin','2479827TVyMye','8349590hZcNuf','12ofgGAV','13013xGPvII','requires','isOfficialPlugin','6625QTMxVT'];_0x4058=function(){return _0x171d41;};return _0x4058();}function _0x4e13(_0x450747,_0x1759e7){var _0x40586c=_0x4058();return _0x4e13=function(_0x4e1373,_0x566684){_0x4e1373=_0x4e1373-0x1dc;var _0x436a85=_0x40586c[_0x4e1373];return _0x436a85;},_0x4e13(_0x450747,_0x1759e7);}import{Plugin as _0x1ae7f8}from'ckeditor5/src/core.js';import{UploadcareImageEditEditing as _0xa62120}from'./uploadcareimageedit/uploadcareimageeditediting.js';import{UploadcareImageEditUI as _0x3d1692}from'./uploadcareimageedit/uploadcareimageeditui.js';export class UploadcareImageEdit extends _0x1ae7f8{static get[_0x3ef8c2(0x1e2)](){var _0x362784=_0x3ef8c2;return _0x362784(0x1de);}static get[_0x3ef8c2(0x1eb)](){return[_0xa62120,_0x3d1692];}static get[_0x3ef8c2(0x1ec)](){return!0x0;}static get[_0x3ef8c2(0x1e6)](){return!0x0;}}
23
+ function _0x56eb(){var _0x147f94=['8256523AyUBes','3Kenkul','6UvNoOO','248LESjmw','2917000ozvSGT','isOfficialPlugin','101853oXzPpg','UploadcareImageEdit','3003485kQUDOZ','1056616PHfHHb','5201868bIQDPv','pluginName','requires','isPremiumPlugin','98zjKroa','8573qCVqAU'];_0x56eb=function(){return _0x147f94;};return _0x56eb();}var _0x5ac200=_0x2758;function _0x2758(_0x3a5c83,_0x1d53b5){var _0x56eba6=_0x56eb();return _0x2758=function(_0x2758ca,_0xd6f2cb){_0x2758ca=_0x2758ca-0x1de;var _0x465b14=_0x56eba6[_0x2758ca];return _0x465b14;},_0x2758(_0x3a5c83,_0x1d53b5);}(function(_0x2f1db7,_0x9d432b){var _0x49f15b=_0x2758,_0x16438f=_0x2f1db7();while(!![]){try{var _0x151a83=parseInt(_0x49f15b(0x1de))/0x1*(-parseInt(_0x49f15b(0x1ed))/0x2)+-parseInt(_0x49f15b(0x1e0))/0x3*(-parseInt(_0x49f15b(0x1e8))/0x4)+-parseInt(_0x49f15b(0x1e7))/0x5*(-parseInt(_0x49f15b(0x1e1))/0x6)+-parseInt(_0x49f15b(0x1e9))/0x7+parseInt(_0x49f15b(0x1e2))/0x8*(-parseInt(_0x49f15b(0x1e5))/0x9)+parseInt(_0x49f15b(0x1e3))/0xa+parseInt(_0x49f15b(0x1df))/0xb;if(_0x151a83===_0x9d432b)break;else _0x16438f['push'](_0x16438f['shift']());}catch(_0x22f408){_0x16438f['push'](_0x16438f['shift']());}}}(_0x56eb,0x5ff9c));import{Plugin as _0x4d05f5}from'ckeditor5/src/core.js';import{UploadcareImageEditEditing as _0x34ed76}from'./uploadcareimageedit/uploadcareimageeditediting.js';import{UploadcareImageEditUI as _0x19332c}from'./uploadcareimageedit/uploadcareimageeditui.js';export class UploadcareImageEdit extends _0x4d05f5{static get[_0x5ac200(0x1ea)](){var _0x5610c5=_0x5ac200;return _0x5610c5(0x1e6);}static get[_0x5ac200(0x1eb)](){return[_0x34ed76,_0x19332c];}static get[_0x5ac200(0x1e4)](){return!0x0;}static get[_0x5ac200(0x1ec)](){return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4d3f76=_0x4850;(function(_0x3abbe5,_0x3b1b86){const _0x4e5493=_0x4850,_0x31916a=_0x3abbe5();while(!![]){try{const _0x542a58=parseInt(_0x4e5493(0xfe))/0x1*(-parseInt(_0x4e5493(0xe1))/0x2)+-parseInt(_0x4e5493(0xfb))/0x3*(parseInt(_0x4e5493(0xe0))/0x4)+parseInt(_0x4e5493(0x115))/0x5*(-parseInt(_0x4e5493(0xf3))/0x6)+-parseInt(_0x4e5493(0x104))/0x7+parseInt(_0x4e5493(0xff))/0x8+-parseInt(_0x4e5493(0x101))/0x9+parseInt(_0x4e5493(0xeb))/0xa*(parseInt(_0x4e5493(0xcd))/0xb);if(_0x542a58===_0x3b1b86)break;else _0x31916a['push'](_0x31916a['shift']());}catch(_0x3570ea){_0x31916a['push'](_0x31916a['shift']());}}}(_0x8604,0xe0763));import{Plugin as _0x332a08}from'ckeditor5/src/core.js';function _0x8604(){const _0x1fe3e9=['icon','registerIntegration','type','4036VYfkfj','3023528uQrNPC','OneDrive','has','entries','get','pluginName','afterInit','GPhotos','text','push','20OBCSKd','_normalizeConfigSourceList','featureNotAllowed','assetManager','tooltip','usageLimit','reduce','commands','18DIRSch','_createMenuBarButtons','uploadcareLicenseKeyUsageLimit','licenseKey','uploadcare.uploader.sourceList','destroy','uploadcareLicenseKeyNotAllowed','execute','2802VQOAJF','upload','_createToolbarButton','1qXbBso','13963032CiQOJw','uploadcareLicenseKeyInvalid','15273342xuRMot','Insert','domainLimit','11009530WBTnEp','uploadcare','isEnabled','init','_createDropdownButtons','invalid','expired','plugins','_createButton','uploadcareLicenseKeyValid','Replace','forEach','withText','_licenseKeyCheckInterval','config','locale','Uploadcare','2889860tlEMKt','shortText','Facebook','uploadcareLicenseKeyExpired','UploadcareUI','evaluationLimit','Local','isOfficialPlugin','36475615qjzMUH','isImageSelected','bind','map','URL','label','uploadcareLicenseKeyDomainLimit','_getIntegrationKey','url','_showLicenseError','GDrive','Dropbox','uploadcareLicenseKeyEvaluationLimit','ImageInsertUI','isPremiumPlugin','editor'];_0x8604=function(){return _0x1fe3e9;};return _0x8604();}function _0x4850(_0x1a111c,_0x413d9d){const _0x860403=_0x8604();return _0x4850=function(_0x485054,_0x21e818){_0x485054=_0x485054-0xcd;let _0x32bad1=_0x860403[_0x485054];return _0x32bad1;},_0x4850(_0x1a111c,_0x413d9d);}import{IconDropbox as _0xe3fd77,IconFacebook as _0x4b03db,IconGoogleDrive as _0x2e2e90,IconGooglePhotos as _0x4f933e,IconUploadcareImageUpload as _0x53a9c8,IconUploadcareLink as _0x26d40f,IconOneDrive as _0x42778b}from'ckeditor5/src/icons.js';import{ButtonView as _0x4fadfe,MenuBarMenuListItemButtonView as _0x3404bd}from'ckeditor5/src/ui.js';import{UploadcareSource as _0xa0f56f}from'./uploadcareconfig.js';import{getTranslation as _0x51bb86}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 _0x332a08{[_0x4d3f76(0xf6)];[_0x4d3f76(0x111)];static get[_0x4d3f76(0xe6)](){const _0x484428=_0x4d3f76;return _0x484428(0x119);}static get[_0x4d3f76(0x11c)](){return!0x0;}static get[_0x4d3f76(0xdb)](){return!0x0;}[_0x4d3f76(0x107)](){const _0x27a8a2=_0x4d3f76;this[_0x27a8a2(0xf6)]=this[_0x27a8a2(0xdc)][_0x27a8a2(0x112)][_0x27a8a2(0xe5)](_0x27a8a2(0xf6));const _0x21f2f7=this[_0x27a8a2(0xdc)];this[_0x27a8a2(0x111)]=setInterval(()=>{const _0x54c773=_0x27a8a2;let _0x2f6ed5;for(const _0x3bb7c7 in _0x21f2f7){const _0x43f10f=_0x3bb7c7,_0x4dbc10=_0x21f2f7[_0x43f10f];if(_0x54c773(0x10d)==_0x4dbc10||_0x54c773(0x100)==_0x4dbc10||_0x54c773(0x118)==_0x4dbc10||_0x54c773(0xd3)==_0x4dbc10||_0x54c773(0xf9)==_0x4dbc10||_0x54c773(0xd9)==_0x4dbc10||_0x54c773(0xf5)==_0x4dbc10){delete _0x21f2f7[_0x43f10f],_0x2f6ed5=_0x4dbc10,clearInterval(this[_0x54c773(0x111)]),this[_0x54c773(0x111)]=void 0x0;break;}}_0x54c773(0x100)==_0x2f6ed5&&_0x21f2f7[_0x54c773(0xd6)](_0x54c773(0x109)),_0x54c773(0x118)==_0x2f6ed5&&_0x21f2f7[_0x54c773(0xd6)](_0x54c773(0x10a)),_0x54c773(0xd3)==_0x2f6ed5&&_0x21f2f7[_0x54c773(0xd6)](_0x54c773(0x103)),_0x54c773(0xf9)==_0x2f6ed5&&_0x21f2f7[_0x54c773(0xd6)](_0x54c773(0xed),_0x54c773(0x114)),_0x54c773(0xd9)==_0x2f6ed5&&_0x21f2f7[_0x54c773(0xd6)](_0x54c773(0x11a)),_0x54c773(0xf5)==_0x2f6ed5&&_0x21f2f7[_0x54c773(0xd6)](_0x54c773(0xf0));},0x3e8);}[_0x4d3f76(0xe7)](){const _0x4eca70=_0x4d3f76,{editor:_0x51d57b}=this,_0x3b701d=_0x51d57b[_0x4eca70(0xf2)][_0x4eca70(0xe5)](_0x4eca70(0x105));if(!_0x3b701d)return;const _0x3d4fc6=this[_0x4eca70(0xec)](_0x51d57b[_0x4eca70(0x112)][_0x4eca70(0xe5)](_0x4eca70(0xf7)))[_0x4eca70(0xf1)]((_0x1b6262,_0x1ce1e9)=>{const _0x494af9=_0x4eca70,_0x4e50c5=this[_0x494af9(0xd4)](_0x1ce1e9[_0x494af9(0xdf)]);return _0x1b6262[_0x4e50c5]||(_0x1b6262[_0x4e50c5]=[]),_0x1b6262[_0x4e50c5][_0x494af9(0xea)](_0x1ce1e9),_0x1b6262;},{});_0x51d57b[_0x4eca70(0x10b)][_0x4eca70(0xe3)](_0x4eca70(0xda))&&_0x51d57b[_0x4eca70(0xf2)][_0x4eca70(0xe5)](_0x4eca70(0x105))&&Object[_0x4eca70(0xe4)](_0x3d4fc6)[_0x4eca70(0x10f)](([_0xe71794,_0x5eb65c])=>{const _0x210eec=_0x4eca70;_0x51d57b[_0x210eec(0x10b)][_0x210eec(0xe5)](_0x210eec(0xda))[_0x210eec(0xde)]({'name':_0xe71794,'observable':()=>_0x3b701d,'buttonViewCreator':()=>this[_0x210eec(0xfd)](_0x5eb65c),'formViewCreator':()=>this[_0x210eec(0x108)](_0x5eb65c),'menuBarButtonViewCreator':()=>this[_0x210eec(0xf4)](_0x5eb65c),'override':_0x210eec(0xee)!==_0xe71794});});}[_0x4d3f76(0xf8)](){const _0x3fd1f0=_0x4d3f76;super[_0x3fd1f0(0xf8)](),this[_0x3fd1f0(0x111)]&&clearInterval(this[_0x3fd1f0(0x111)]);}[_0x4d3f76(0xec)](_0x254b4b){const _0x5bb63c=_0x4d3f76,{locale:_0x4889c8}=this[_0x5bb63c(0xdc)];return _0x254b4b[_0x5bb63c(0xd0)](_0x21999e=>{const _0x97c5ed=_0x5bb63c,_0x1838cd=_0x51bb86(_0x4889c8,_0x21999e,_0x97c5ed(0x102));switch(_0x21999e){case _0xa0f56f[_0x97c5ed(0x11b)]:return{'icon':_0x53a9c8,'type':_0xa0f56f[_0x97c5ed(0x11b)],..._0x1838cd};case _0xa0f56f[_0x97c5ed(0xd1)]:return{'icon':_0x26d40f,'type':_0xa0f56f[_0x97c5ed(0xd1)],..._0x1838cd};case _0xa0f56f[_0x97c5ed(0xd8)]:return{'icon':_0xe3fd77,'type':_0xa0f56f[_0x97c5ed(0xd8)],..._0x1838cd};case _0xa0f56f[_0x97c5ed(0x117)]:return{'icon':_0x4b03db,'type':_0xa0f56f[_0x97c5ed(0x117)],..._0x1838cd};case _0xa0f56f[_0x97c5ed(0xd7)]:return{'icon':_0x2e2e90,'type':_0xa0f56f[_0x97c5ed(0xd7)],..._0x1838cd};case _0xa0f56f[_0x97c5ed(0xe8)]:return{'icon':_0x4f933e,'type':_0xa0f56f[_0x97c5ed(0xe8)],..._0x1838cd};case _0xa0f56f[_0x97c5ed(0xe2)]:return{'icon':_0x42778b,'type':_0xa0f56f[_0x97c5ed(0xe2)],..._0x1838cd};}});}[_0x4d3f76(0xd4)](_0x1be8dd){const _0x2bee07=_0x4d3f76;switch(_0x1be8dd){case _0xa0f56f[_0x2bee07(0x11b)]:return _0x2bee07(0xfc);case _0xa0f56f[_0x2bee07(0xd1)]:return _0x2bee07(0xd5);default:return _0x2bee07(0xee);}}[_0x4d3f76(0x10c)](_0x1856f0,_0x555c3d){const _0x1cc3e7=_0x4d3f76,_0x428a0b=this[_0x1cc3e7(0xdc)],_0x1dd4c8=new _0x1856f0(_0x428a0b[_0x1cc3e7(0x113)]),_0x1e904d=_0x428a0b[_0x1cc3e7(0xf2)][_0x1cc3e7(0xe5)](_0x1cc3e7(0x105));return _0x1dd4c8[_0x1cc3e7(0xcf)](_0x1cc3e7(0x106))['to'](_0x1e904d),_0x1dd4c8['on'](_0x1cc3e7(0xfa),()=>{const _0x12559b=_0x1cc3e7;_0x1e904d[_0x12559b(0xfa)](_0x555c3d);}),_0x1dd4c8;}[_0x4d3f76(0xfd)](_0x57c1be){const _0x44cac7=_0x4d3f76,{locale:_0x1a5532}=this[_0x44cac7(0xdc)],_0x38fda7=this[_0x44cac7(0xdc)][_0x44cac7(0x10b)][_0x44cac7(0xe5)](_0x44cac7(0xda)),_0x4e33f5=_0x57c1be[0x0],_0x13b0d9=this[_0x44cac7(0x10c)](_0x4fadfe,_0x4e33f5[_0x44cac7(0xdf)]);return _0x13b0d9[_0x44cac7(0xdd)]=_0x4e33f5[_0x44cac7(0xdd)],_0x13b0d9[_0x44cac7(0xcf)](_0x44cac7(0xd2))['to'](_0x38fda7,_0x44cac7(0xce),_0x2dd509=>_0x51bb86(_0x1a5532,_0x4e33f5[_0x44cac7(0xdf)],_0x2dd509?_0x44cac7(0x10e):_0x44cac7(0x102))[_0x44cac7(0xe9)]),_0x13b0d9[_0x44cac7(0xef)]=!0x0,_0x13b0d9;}[_0x4d3f76(0x108)](_0x398d7a){const _0xe22998=_0x4d3f76,{locale:_0x110452}=this[_0xe22998(0xdc)],_0x5599c3=this[_0xe22998(0xdc)][_0xe22998(0x10b)][_0xe22998(0xe5)](_0xe22998(0xda));return _0x398d7a[_0xe22998(0xd0)](_0x25276d=>{const _0x348952=_0xe22998,_0x27ecc8=this[_0x348952(0x10c)](_0x4fadfe,_0x25276d[_0x348952(0xdf)]);return _0x27ecc8[_0x348952(0x110)]=!0x0,_0x27ecc8[_0x348952(0xdd)]=_0x25276d[_0x348952(0xdd)],_0x27ecc8[_0x348952(0xcf)](_0x348952(0xd2))['to'](_0x5599c3,_0x348952(0xce),_0x4cb0ff=>_0x51bb86(_0x110452,_0x25276d[_0x348952(0xdf)],_0x4cb0ff?_0x348952(0x10e):_0x348952(0x102))[_0x348952(0xe9)]),_0x27ecc8;});}[_0x4d3f76(0xf4)](_0x12aeab){const _0x182183=_0x4d3f76;return _0x12aeab[_0x182183(0xd0)](_0x5f34ab=>{const _0x27cb10=_0x182183,_0x1b46a9=this[_0x27cb10(0x10c)](_0x3404bd,_0x5f34ab[_0x27cb10(0xdf)]);return _0x1b46a9[_0x27cb10(0xdd)]=_0x5f34ab[_0x27cb10(0xdd)],_0x1b46a9[_0x27cb10(0xd2)]=_0x5f34ab[_0x27cb10(0x116)],_0x1b46a9;});}}
23
+ const _0x38ef28=_0x5953;(function(_0x1a9e80,_0x4d993f){const _0x23256b=_0x5953,_0x2cd168=_0x1a9e80();while(!![]){try{const _0x3cebde=-parseInt(_0x23256b(0x11f))/0x1+parseInt(_0x23256b(0x107))/0x2+parseInt(_0x23256b(0xfe))/0x3*(-parseInt(_0x23256b(0xef))/0x4)+-parseInt(_0x23256b(0x113))/0x5+parseInt(_0x23256b(0xf3))/0x6*(parseInt(_0x23256b(0x131))/0x7)+parseInt(_0x23256b(0xf6))/0x8*(-parseInt(_0x23256b(0x12e))/0x9)+parseInt(_0x23256b(0x126))/0xa*(parseInt(_0x23256b(0xf1))/0xb);if(_0x3cebde===_0x4d993f)break;else _0x2cd168['push'](_0x2cd168['shift']());}catch(_0x54ab38){_0x2cd168['push'](_0x2cd168['shift']());}}}(_0x58b9,0x8e4a9));import{Plugin as _0x2c6718}from'ckeditor5/src/core.js';import{IconDropbox as _0x416241,IconFacebook as _0x5486f1,IconGoogleDrive as _0x12bae1,IconGooglePhotos as _0x1dbf6e,IconUploadcareImageUpload as _0x410856,IconUploadcareLink as _0x2b99b5,IconOneDrive as _0x6fc017}from'ckeditor5/src/icons.js';import{ButtonView as _0x41ea2e,MenuBarMenuListItemButtonView as _0x40ed5e}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x9019fd}from'./uploadcareconfig.js';import{getTranslation as _0x3b6490}from'./utils/common-translations.js';function _0x58b9(){const _0x5ccef2=['init','plugins','destroy','uploadcare','uploadcareLicenseKeyNotAllowed','isEnabled','_showLicenseError','uploadcareLicenseKeyExpired','uploadcareLicenseKeyValid','_createDropdownButtons','Replace','1646180qJPkIB','uploadcare.uploader.sourceList','execute','_createMenuBarButtons','get','URL','evaluationLimit','GPhotos','isPremiumPlugin','ImageInsertUI','isImageSelected','_getIntegrationKey','243549HAOMez','reduce','locale','push','uploadcareLicenseKeyInvalid','registerIntegration','Dropbox','60qHkxmf','config','uploadcareLicenseKeyDomainLimit','invalid','afterInit','UploadcareUI','isOfficialPlugin','uploadcareLicenseKeyUsageLimit','1557fLdTYp','entries','OneDrive','25361ZkCpIU','label','featureNotAllowed','_createToolbarButton','Facebook','_normalizeConfigSourceList','_createButton','usageLimit','editor','uploadcareLicenseKeyEvaluationLimit','has','Uploadcare','licenseKey','commands','1192JNcblH','url','3883759sykiyq','type','498bgxsSk','upload','withText','29000GTRRTT','shortText','pluginName','_licenseKeyCheckInterval','text','Local','assetManager','expired','7899gvHrJB','forEach','domainLimit','icon','tooltip','Insert','GDrive','bind','map','296492iuuJJM'];_0x58b9=function(){return _0x5ccef2;};return _0x58b9();}import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';import'../theme/uploadcare-theme.css';import'../theme/uploadcareimageedit.css';function _0x5953(_0x2f27f9,_0x10017c){const _0x58b992=_0x58b9();return _0x5953=function(_0x595368,_0xc5d8e8){_0x595368=_0x595368-0xe4;let _0x19d5c=_0x58b992[_0x595368];return _0x19d5c;},_0x5953(_0x2f27f9,_0x10017c);}export class UploadcareUI extends _0x2c6718{[_0x38ef28(0xed)];[_0x38ef28(0xf9)];static get[_0x38ef28(0xf8)](){const _0x11a65c=_0x38ef28;return _0x11a65c(0x12b);}static get[_0x38ef28(0x12c)](){return!0x0;}static get[_0x38ef28(0x11b)](){return!0x0;}[_0x38ef28(0x108)](){const _0x79bd2b=_0x38ef28;this[_0x79bd2b(0xed)]=this[_0x79bd2b(0xe9)][_0x79bd2b(0x127)][_0x79bd2b(0x117)](_0x79bd2b(0xed));const _0x62a831=this[_0x79bd2b(0xe9)];this[_0x79bd2b(0xf9)]=setInterval(()=>{const _0x2f10ff=_0x79bd2b;let _0x336395;for(const _0x17a28d in _0x62a831){const _0x9d1adf=_0x17a28d,_0x392d0d=_0x62a831[_0x9d1adf];if(_0x2f10ff(0x110)==_0x392d0d||_0x2f10ff(0x123)==_0x392d0d||_0x2f10ff(0x10f)==_0x392d0d||_0x2f10ff(0x128)==_0x392d0d||_0x2f10ff(0x10c)==_0x392d0d||_0x2f10ff(0xea)==_0x392d0d||_0x2f10ff(0x12d)==_0x392d0d){delete _0x62a831[_0x9d1adf],_0x336395=_0x392d0d,clearInterval(this[_0x2f10ff(0xf9)]),this[_0x2f10ff(0xf9)]=void 0x0;break;}}_0x2f10ff(0x123)==_0x336395&&_0x62a831[_0x2f10ff(0x10e)](_0x2f10ff(0x129)),_0x2f10ff(0x10f)==_0x336395&&_0x62a831[_0x2f10ff(0x10e)](_0x2f10ff(0xfd)),_0x2f10ff(0x128)==_0x336395&&_0x62a831[_0x2f10ff(0x10e)](_0x2f10ff(0x100)),_0x2f10ff(0x10c)==_0x336395&&_0x62a831[_0x2f10ff(0x10e)](_0x2f10ff(0x133),_0x2f10ff(0xec)),_0x2f10ff(0xea)==_0x336395&&_0x62a831[_0x2f10ff(0x10e)](_0x2f10ff(0x119)),_0x2f10ff(0x12d)==_0x336395&&_0x62a831[_0x2f10ff(0x10e)](_0x2f10ff(0xe8));},0x3e8);}[_0x38ef28(0x12a)](){const _0x23b8b0=_0x38ef28,{editor:_0x6aff9a}=this,_0x31f177=_0x6aff9a[_0x23b8b0(0xee)][_0x23b8b0(0x117)](_0x23b8b0(0x10b));if(!_0x31f177)return;const _0x3af012=this[_0x23b8b0(0xe6)](_0x6aff9a[_0x23b8b0(0x127)][_0x23b8b0(0x117)](_0x23b8b0(0x114)))[_0x23b8b0(0x120)]((_0x3f6f12,_0x377249)=>{const _0xa981b4=_0x23b8b0,_0x5b5041=this[_0xa981b4(0x11e)](_0x377249[_0xa981b4(0xf2)]);return _0x3f6f12[_0x5b5041]||(_0x3f6f12[_0x5b5041]=[]),_0x3f6f12[_0x5b5041][_0xa981b4(0x122)](_0x377249),_0x3f6f12;},{});_0x6aff9a[_0x23b8b0(0x109)][_0x23b8b0(0xeb)](_0x23b8b0(0x11c))&&_0x6aff9a[_0x23b8b0(0xee)][_0x23b8b0(0x117)](_0x23b8b0(0x10b))&&Object[_0x23b8b0(0x12f)](_0x3af012)[_0x23b8b0(0xff)](([_0x838835,_0x740a93])=>{const _0x3ad78c=_0x23b8b0;_0x6aff9a[_0x3ad78c(0x109)][_0x3ad78c(0x117)](_0x3ad78c(0x11c))[_0x3ad78c(0x124)]({'name':_0x838835,'observable':()=>_0x31f177,'buttonViewCreator':()=>this[_0x3ad78c(0xe4)](_0x740a93),'formViewCreator':()=>this[_0x3ad78c(0x111)](_0x740a93),'menuBarButtonViewCreator':()=>this[_0x3ad78c(0x116)](_0x740a93),'override':_0x3ad78c(0xfc)!==_0x838835});});}[_0x38ef28(0x10a)](){const _0x2c19e1=_0x38ef28;super[_0x2c19e1(0x10a)](),this[_0x2c19e1(0xf9)]&&clearInterval(this[_0x2c19e1(0xf9)]);}[_0x38ef28(0xe6)](_0x4eb505){const _0x1b6288=_0x38ef28,{locale:_0x51f00f}=this[_0x1b6288(0xe9)];return _0x4eb505[_0x1b6288(0x106)](_0x45704e=>{const _0x33effb=_0x1b6288,_0x4ce478=_0x3b6490(_0x51f00f,_0x45704e,_0x33effb(0x103));switch(_0x45704e){case _0x9019fd[_0x33effb(0xfb)]:return{'icon':_0x410856,'type':_0x9019fd[_0x33effb(0xfb)],..._0x4ce478};case _0x9019fd[_0x33effb(0x118)]:return{'icon':_0x2b99b5,'type':_0x9019fd[_0x33effb(0x118)],..._0x4ce478};case _0x9019fd[_0x33effb(0x125)]:return{'icon':_0x416241,'type':_0x9019fd[_0x33effb(0x125)],..._0x4ce478};case _0x9019fd[_0x33effb(0xe5)]:return{'icon':_0x5486f1,'type':_0x9019fd[_0x33effb(0xe5)],..._0x4ce478};case _0x9019fd[_0x33effb(0x104)]:return{'icon':_0x12bae1,'type':_0x9019fd[_0x33effb(0x104)],..._0x4ce478};case _0x9019fd[_0x33effb(0x11a)]:return{'icon':_0x1dbf6e,'type':_0x9019fd[_0x33effb(0x11a)],..._0x4ce478};case _0x9019fd[_0x33effb(0x130)]:return{'icon':_0x6fc017,'type':_0x9019fd[_0x33effb(0x130)],..._0x4ce478};}});}[_0x38ef28(0x11e)](_0x47d290){const _0x14693c=_0x38ef28;switch(_0x47d290){case _0x9019fd[_0x14693c(0xfb)]:return _0x14693c(0xf4);case _0x9019fd[_0x14693c(0x118)]:return _0x14693c(0xf0);default:return _0x14693c(0xfc);}}[_0x38ef28(0xe7)](_0x454234,_0x49f354){const _0x14e198=_0x38ef28,_0x474a60=this[_0x14e198(0xe9)],_0x209b02=new _0x454234(_0x474a60[_0x14e198(0x121)]),_0x3543f1=_0x474a60[_0x14e198(0xee)][_0x14e198(0x117)](_0x14e198(0x10b));return _0x209b02[_0x14e198(0x105)](_0x14e198(0x10d))['to'](_0x3543f1),_0x209b02['on'](_0x14e198(0x115),()=>{const _0x259b2a=_0x14e198;_0x3543f1[_0x259b2a(0x115)](_0x49f354);}),_0x209b02;}[_0x38ef28(0xe4)](_0x460673){const _0x1f190c=_0x38ef28,{locale:_0x2954c8}=this[_0x1f190c(0xe9)],_0x3f2492=this[_0x1f190c(0xe9)][_0x1f190c(0x109)][_0x1f190c(0x117)](_0x1f190c(0x11c)),_0x4d6917=_0x460673[0x0],_0x4c6f45=this[_0x1f190c(0xe7)](_0x41ea2e,_0x4d6917[_0x1f190c(0xf2)]);return _0x4c6f45[_0x1f190c(0x101)]=_0x4d6917[_0x1f190c(0x101)],_0x4c6f45[_0x1f190c(0x105)](_0x1f190c(0x132))['to'](_0x3f2492,_0x1f190c(0x11d),_0x51c2eb=>_0x3b6490(_0x2954c8,_0x4d6917[_0x1f190c(0xf2)],_0x51c2eb?_0x1f190c(0x112):_0x1f190c(0x103))[_0x1f190c(0xfa)]),_0x4c6f45[_0x1f190c(0x102)]=!0x0,_0x4c6f45;}[_0x38ef28(0x111)](_0x30e057){const _0xee4b9d=_0x38ef28,{locale:_0x279400}=this[_0xee4b9d(0xe9)],_0x4e39c9=this[_0xee4b9d(0xe9)][_0xee4b9d(0x109)][_0xee4b9d(0x117)](_0xee4b9d(0x11c));return _0x30e057[_0xee4b9d(0x106)](_0x10109d=>{const _0x321fad=_0xee4b9d,_0xe07654=this[_0x321fad(0xe7)](_0x41ea2e,_0x10109d[_0x321fad(0xf2)]);return _0xe07654[_0x321fad(0xf5)]=!0x0,_0xe07654[_0x321fad(0x101)]=_0x10109d[_0x321fad(0x101)],_0xe07654[_0x321fad(0x105)](_0x321fad(0x132))['to'](_0x4e39c9,_0x321fad(0x11d),_0x13e526=>_0x3b6490(_0x279400,_0x10109d[_0x321fad(0xf2)],_0x13e526?_0x321fad(0x112):_0x321fad(0x103))[_0x321fad(0xfa)]),_0xe07654;});}[_0x38ef28(0x116)](_0x55c9e8){const _0x3b148e=_0x38ef28;return _0x55c9e8[_0x3b148e(0x106)](_0x4a59fe=>{const _0x15c5bb=_0x3b148e,_0x516ba3=this[_0x15c5bb(0xe7)](_0x40ed5e,_0x4a59fe[_0x15c5bb(0xf2)]);return _0x516ba3[_0x15c5bb(0x101)]=_0x4a59fe[_0x15c5bb(0x101)],_0x516ba3[_0x15c5bb(0x132)]=_0x4a59fe[_0x15c5bb(0xf7)],_0x516ba3;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x499ea1}from'ckeditor5/src/core.js';import{FileRepository as _0x37dbb5}from'ckeditor5/src/upload.js';import{UploadcareEditing as _0x56a88f}from'./uploadcareediting.js';import{UploadUtils as _0x45db67}from'./utils/uploadutils.js';import{getImageUrls as _0x2f6ff5}from'./utils/editingutils.js';export class UploadcareUploadAdapter extends _0x499ea1{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x37dbb5,_0x56a88f];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x40db88=this['editor'];if(!!!_0x40db88['config']['get']('uploadcare'))return;_0x40db88['plugins']['get'](_0x37dbb5)['createUploadAdapter']=_0x526a74=>new k(_0x526a74,_0x40db88),_0x40db88['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x1d338d,{imageElement:_0x343ac3,data:_0x13c396})=>{_0x40db88['model']['change'](_0x4e0d0e=>{_0x4e0d0e['setAttribute']('uploadcareImageId',_0x13c396['uploadcareImageId'],_0x343ac3);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x45d912,_0x1b16d1){this['loader']=_0x45d912,this['editor']=_0x1b16d1,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x5c64b0=await this['loader']['file'];return _0x45db67['upload']({'file':_0x5c64b0,'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':_0xaf7bd0=>{_0xaf7bd0&&_0xaf7bd0['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0xaf7bd0['value']);}})['then'](async _0x2a04d8=>{const {imageFallbackUrl:_0x316ce2,imageSources:_0x4991a7}=_0x2f6ff5(_0x2a04d8['cdnUrl'],_0x2a04d8['imageInfo']['width']);return{'uploadcareImageId':_0x2a04d8['uuid'],'default':_0x316ce2,'sources':_0x4991a7};})['catch'](()=>{const _0x2de0cd=t('Cannot\x20upload\x20file:')+('\x20'+_0x5c64b0['name']+'.');return Promise['reject'](_0x2de0cd);});}['abort'](){this['controller']['abort']();}}
23
+ import{Plugin as _0x1a4059}from'ckeditor5/src/core.js';import{FileRepository as _0x368648}from'ckeditor5/src/upload.js';import{UploadcareEditing as _0x7c543b}from'./uploadcareediting.js';import{UploadUtils as _0x275ab7}from'./utils/uploadutils.js';import{getImageUrls as _0x480686}from'./utils/editingutils.js';export class UploadcareUploadAdapter extends _0x1a4059{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x368648,_0x7c543b];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x2c1592=this['editor'];if(!!!_0x2c1592['config']['get']('uploadcare'))return;_0x2c1592['plugins']['get'](_0x368648)['createUploadAdapter']=_0x132865=>new Adapter(_0x132865,_0x2c1592),_0x2c1592['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x22ab1f,{imageElement:_0x57b79c,data:_0x49abbd})=>{_0x2c1592['model']['change'](_0x4f6e4a=>{_0x4f6e4a['setAttribute']('uploadcareImageId',_0x49abbd['uploadcareImageId'],_0x57b79c);});});}}class Adapter{['loader'];['editor'];['controller'];constructor(_0xd0cd0d,_0x545d07){this['loader']=_0xd0cd0d,this['editor']=_0x545d07,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x192c59=await this['loader']['file'];return _0x275ab7['upload']({'file':_0x192c59,'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':_0x5a323b=>{_0x5a323b&&_0x5a323b['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x5a323b['value']);}})['then'](async _0x41dbc2=>{const {imageFallbackUrl:_0x10fc4d,imageSources:_0x370df3}=_0x480686(_0x41dbc2['cdnUrl'],_0x41dbc2['imageInfo']['width']);return{'uploadcareImageId':_0x41dbc2['uuid'],'default':_0x10fc4d,'sources':_0x370df3};})['catch'](()=>{const _0x406f25=t('Cannot\x20upload\x20file:')+('\x20'+_0x192c59['name']+'.');return Promise['reject'](_0x406f25);});}['abort'](){this['controller']['abort']();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{UploadcareSource as _0x40689a}from'../uploadcareconfig.js';export function getTranslation(_0x474313,_0x15e9e2,_0x59a9f4){const t=_0x474313['t'],_0x2ea0eb=_0x474313['t'];switch(_0x15e9e2){case _0x40689a['Local']:return{'text':_0x2ea0eb('Insert'===_0x59a9f4?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x2ea0eb('From\x20computer')};case _0x40689a['URL']:return{'text':'Insert'===_0x59a9f4?_0x2ea0eb('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x2ea0eb('Via\x20URL')};case _0x40689a['Dropbox']:return{'text':t('Insert'===_0x59a9f4?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x40689a['Facebook']:return{'text':t('Insert'===_0x59a9f4?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x40689a['GDrive']:return{'text':t('Insert'===_0x59a9f4?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x40689a['GPhotos']:return{'text':t('Insert'===_0x59a9f4?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x40689a['OneDrive']:return{'text':t('Insert'===_0x59a9f4?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x15e9e2;}}
23
+ import{UploadcareSource as _0x5c4b6e}from'../uploadcareconfig.js';export function getTranslation(_0x3ba58f,_0x4373d6,_0x24429a){const t=_0x3ba58f['t'],_0x5bcc3c=_0x3ba58f['t'];switch(_0x4373d6){case _0x5c4b6e['Local']:return{'text':_0x5bcc3c('Insert'===_0x24429a?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x5bcc3c('From\x20computer')};case _0x5c4b6e['URL']:return{'text':'Insert'===_0x24429a?_0x5bcc3c('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x5bcc3c('Via\x20URL')};case _0x5c4b6e['Dropbox']:return{'text':t('Insert'===_0x24429a?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x5c4b6e['Facebook']:return{'text':t('Insert'===_0x24429a?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x5c4b6e['GDrive']:return{'text':t('Insert'===_0x24429a?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x5c4b6e['GPhotos']:return{'text':t('Insert'===_0x24429a?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x5c4b6e['OneDrive']:return{'text':t('Insert'===_0x24429a?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x4373d6;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x20a917=_0x564d;(function(_0x5ced23,_0xa3c637){var _0x175d52=_0x564d,_0x1f8f95=_0x5ced23();while(!![]){try{var _0x36effa=-parseInt(_0x175d52(0x199))/0x1*(parseInt(_0x175d52(0x1a4))/0x2)+-parseInt(_0x175d52(0x1aa))/0x3+-parseInt(_0x175d52(0x19e))/0x4*(parseInt(_0x175d52(0x1a3))/0x5)+parseInt(_0x175d52(0x1a6))/0x6*(parseInt(_0x175d52(0x1a5))/0x7)+parseInt(_0x175d52(0x19c))/0x8+parseInt(_0x175d52(0x1ab))/0x9*(parseInt(_0x175d52(0x19f))/0xa)+parseInt(_0x175d52(0x1a9))/0xb;if(_0x36effa===_0xa3c637)break;else _0x1f8f95['push'](_0x1f8f95['shift']());}catch(_0x20214b){_0x1f8f95['push'](_0x1f8f95['shift']());}}}(_0x2242,0x8dc1f));function _0x564d(_0x548286,_0x47db9e){var _0x224255=_0x2242();return _0x564d=function(_0x564da0,_0x585c1d){_0x564da0=_0x564da0-0x198;var _0x26d882=_0x224255[_0x564da0];return _0x26d882;},_0x564d(_0x548286,_0x47db9e);}import{FocusTracker as _0x552758}from'ckeditor5/src/utils.js';import{View as _0x1b3cc1,FocusCycler as _0x348be8}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';export class DialogFocusManagerView extends _0x1b3cc1{[_0x20a917(0x19a)];[_0x20a917(0x19b)];constructor(_0xcb96e0){var _0x301128=_0x20a917;super(_0xcb96e0),this[_0x301128(0x19a)]=new _0x552758(),this[_0x301128(0x19b)]=new _0x348be8({'focusables':this[_0x301128(0x1a2)](),'focusTracker':this[_0x301128(0x19a)]});}[_0x20a917(0x19d)](){var _0x2b0745=_0x20a917;return{'tag':_0x2b0745(0x198),'attributes':{'aria-hidden':_0x2b0745(0x1a8),'tabindex':'0'},'on':{'focus':this[_0x2b0745(0x1a1)]['to'](()=>{var _0x5068b5=_0x2b0745;this[_0x5068b5(0x19b)][_0x5068b5(0x1a7)](_0x5068b5(0x1a0));})}};}}function _0x2242(){var _0x16e37e=['div','2657uZmVxd','focusTracker','focusCycler','2487456HqSaka','getFocusableElement','103568pzJclX','418690RDtQYD','forwardCycle','bindTemplate','createCollection','155FaYYth','730VBWTYZ','14IkSpvB','3428340twFZIC','fire','true','12992672tFgBdg','2729409dCDgzz','135ulcrET'];_0x2242=function(){return _0x16e37e;};return _0x2242();}
23
+ var _0x2d0b90=_0x20d0;(function(_0x4bf940,_0x579f97){var _0xcb863b=_0x20d0,_0x2995e1=_0x4bf940();while(!![]){try{var _0x89f29c=parseInt(_0xcb863b(0x19e))/0x1+parseInt(_0xcb863b(0x1a0))/0x2*(-parseInt(_0xcb863b(0x1a3))/0x3)+parseInt(_0xcb863b(0x1a5))/0x4+parseInt(_0xcb863b(0x1a4))/0x5+parseInt(_0xcb863b(0x1a1))/0x6+parseInt(_0xcb863b(0x1a2))/0x7*(-parseInt(_0xcb863b(0x19a))/0x8)+-parseInt(_0xcb863b(0x1a9))/0x9*(-parseInt(_0xcb863b(0x1ab))/0xa);if(_0x89f29c===_0x579f97)break;else _0x2995e1['push'](_0x2995e1['shift']());}catch(_0x9102b9){_0x2995e1['push'](_0x2995e1['shift']());}}}(_0x4890,0x2b8f8));import{FocusTracker as _0x397923}from'ckeditor5/src/utils.js';function _0x20d0(_0x443b3c,_0x1dd119){var _0x4890a8=_0x4890();return _0x20d0=function(_0x20d079,_0x37f4e3){_0x20d079=_0x20d079-0x19a;var _0xb88f0b=_0x4890a8[_0x20d079];return _0xb88f0b;},_0x20d0(_0x443b3c,_0x1dd119);}function _0x4890(){var _0x4d0fc5=['1000960EPOGdk','bindTemplate','focusCycler','createCollection','216sglsmv','focusTracker','10460OCSJUJ','getFocusableElement','8FXPEnx','fire','div','forwardCycle','86570uinnKf','true','98438unMTEB','646506tvvGgP','794213Msujra','21ZXmgUH','833755PYRGBA'];_0x4890=function(){return _0x4d0fc5;};return _0x4890();}import{View as _0xba5752,FocusCycler as _0x1a8b14}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';export class DialogFocusManagerView extends _0xba5752{[_0x2d0b90(0x1aa)];[_0x2d0b90(0x1a7)];constructor(_0x477ad5){var _0x122c9d=_0x2d0b90;super(_0x477ad5),this[_0x122c9d(0x1aa)]=new _0x397923(),this[_0x122c9d(0x1a7)]=new _0x1a8b14({'focusables':this[_0x122c9d(0x1a8)](),'focusTracker':this[_0x122c9d(0x1aa)]});}[_0x2d0b90(0x1ac)](){var _0x29c367=_0x2d0b90;return{'tag':_0x29c367(0x19c),'attributes':{'aria-hidden':_0x29c367(0x19f),'tabindex':'0'},'on':{'focus':this[_0x29c367(0x1a6)]['to'](()=>{var _0x120bd7=_0x29c367;this[_0x120bd7(0x1a7)][_0x120bd7(0x19b)](_0x120bd7(0x19d));})}};}}