@ckeditor/ckeditor5-uploadcare 46.1.1-alpha.3 → 47.0.0-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (173) hide show
  1. package/build/uploadcare.js +1 -1
  2. package/dist/index.js +3 -3
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +9 -9
  150. package/src/index.js +1 -1
  151. package/src/ui/uploadcarecontroller.js +2 -2
  152. package/src/ui/uploadcareformview.js +1 -1
  153. package/src/uploadcare.js +1 -1
  154. package/src/uploadcarecommand.js +1 -1
  155. package/src/uploadcareconfig.js +1 -1
  156. package/src/uploadcareediting.js +1 -1
  157. package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.js +2 -2
  158. package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.js +1 -1
  159. package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.js +1 -1
  160. package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.js +1 -1
  161. package/src/uploadcareimageedit/ui/uploadcareimageeditformview.js +1 -1
  162. package/src/uploadcareimageedit/uploadcareimageeditcommand.js +1 -1
  163. package/src/uploadcareimageedit/uploadcareimageeditediting.js +1 -1
  164. package/src/uploadcareimageedit/uploadcareimageeditui.js +1 -1
  165. package/src/uploadcareimageedit/uploadcareimagereplacecommand.js +1 -1
  166. package/src/uploadcareimageedit.js +1 -1
  167. package/src/uploadcareui.js +1 -1
  168. package/src/uploadcareuploadadapter.js +1 -1
  169. package/src/utils/common-translations.js +1 -1
  170. package/src/utils/dialogfocusmanagerview.js +1 -1
  171. package/src/utils/editingutils.js +1 -1
  172. package/src/utils/isancestor.js +1 -1
  173. package/src/utils/uploadutils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5afa72=_0x2e3a;(function(_0xe2dea7,_0x22bbb5){const _0x362cbb=_0x2e3a,_0x4ebe7c=_0xe2dea7();while(!![]){try{const _0x586b59=parseInt(_0x362cbb(0x1cc))/0x1+parseInt(_0x362cbb(0x200))/0x2+parseInt(_0x362cbb(0x21d))/0x3*(-parseInt(_0x362cbb(0x1f3))/0x4)+-parseInt(_0x362cbb(0x1e9))/0x5*(parseInt(_0x362cbb(0x212))/0x6)+-parseInt(_0x362cbb(0x21a))/0x7*(-parseInt(_0x362cbb(0x20d))/0x8)+parseInt(_0x362cbb(0x203))/0x9*(parseInt(_0x362cbb(0x1f5))/0xa)+parseInt(_0x362cbb(0x1fb))/0xb*(-parseInt(_0x362cbb(0x211))/0xc);if(_0x586b59===_0x22bbb5)break;else _0x4ebe7c['push'](_0x4ebe7c['shift']());}catch(_0x14461e){_0x4ebe7c['push'](_0x4ebe7c['shift']());}}}(_0x3c45,0x2b956));import{Plugin as _0x5720f9}from'ckeditor5/src/core.js';import{Dialog as _0x25cd1d}from'ckeditor5/src/ui.js';function _0x2e3a(_0x785aec,_0x4fceb7){const _0x3c45e2=_0x3c45();return _0x2e3a=function(_0x2e3a84,_0x27a014){_0x2e3a84=_0x2e3a84-0x1c7;let _0x1b601c=_0x3c45e2[_0x2e3a84];return _0x1b601c;},_0x2e3a(_0x785aec,_0x4fceb7);}import{createElement as _0x557634,global as _0x5a6d4e,uid as _0xbda6e4}from'ckeditor5/src/utils.js';import{UploadcareCommand as _0x1924ae}from'./uploadcarecommand.js';function _0x3c45(){const _0x6b81c4=['isOfficialPlugin','pluginName','selection','uc-config','854584JSmQqj','href','isPremiumPlugin','join','578112PAFrsZ','860514aIMseT','_ctxElement','view','_initCtx','listenTo','uploadcare.uploader','elementToAttribute','configElement','21axGXIq','editor','uc-upload-ctx-provider','3zebAuR','for','ucContextId','editing','_initConversion','document','58331APHMKm','\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','config','locale','extend','querySelector','get','PictureEditing','once','getAttribute','UploadcareEditing','contentLanguage','model','imageBlock','_configElement','add','iconHrefResolver','ctxElement','map','_initConfig','imageInline','execute','closeMax','downcast','getSelectedElement','destroy','afterInit','cleanupImage','uploadcare.pubkey','5pLWjDa','commands','#uc-icon-arrow-down','_initImageProcessingIndicator','body','uploader-','uploadcareImageId','data-uc-image-id','upcast','fromCharCode','1232492jCmLas','uploadcareImageReplace','20dHZMXg','init','uploadcare','removeAttribute','appendChild','_initSchema','55dkkZuK','attributeToAttribute','schema','insertImage','requires','384236Deafdc','conversion','render','1350099vKhedt','input[uploadcare-file-input]','true','isRegistered','replaceImageSource','remove'];_0x3c45=function(){return _0x6b81c4;};return _0x3c45();}import{UploadcareUploadAdapter as _0x3d316e}from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x391cf0}from'./utils/editingutils.js';export class UploadcareEditing extends _0x5720f9{[_0x5afa72(0x1da)]=null;[_0x5afa72(0x213)]=null;static get[_0x5afa72(0x20a)](){const _0x3818b7=_0x5afa72;return _0x3818b7(0x1d6);}static get[_0x5afa72(0x1ff)](){const _0x3e9ec6=_0x5afa72;return[_0x3e9ec6(0x1d3),_0x3d316e,_0x25cd1d];}static get[_0x5afa72(0x209)](){return!0x0;}static get[_0x5afa72(0x20f)](){return!0x0;}[_0x5afa72(0x1c8)];get[_0x5afa72(0x219)](){const _0x1d87f3=_0x5afa72;return this[_0x1d87f3(0x1da)];}get[_0x5afa72(0x1dd)](){const _0x645f32=_0x5afa72;return this[_0x645f32(0x213)];}constructor(_0x5cc74d){const _0x47b442=_0x5afa72;super(_0x5cc74d),this[_0x47b442(0x1c8)]=_0xbda6e4();}[_0x5afa72(0x1f6)](){const _0x20573e=_0x5afa72,_0x13aa07=this[_0x20573e(0x21b)];_0x13aa07[_0x20573e(0x1ea)][_0x20573e(0x1db)](_0x20573e(0x1f7),new _0x1924ae(_0x13aa07));}[_0x5afa72(0x1e6)](){const _0x253cc1=_0x5afa72;this[_0x253cc1(0x1fa)](),this[_0x253cc1(0x1ca)](),this[_0x253cc1(0x1df)](),this[_0x253cc1(0x215)](),this[_0x253cc1(0x1ec)](),this[_0x253cc1(0x216)](this[_0x253cc1(0x21b)],_0x253cc1(0x1e5),()=>{const _0x5c01ad=_0x253cc1;this[_0x5c01ad(0x1da)]&&(this[_0x5c01ad(0x1da)][_0x5c01ad(0x208)](),this[_0x5c01ad(0x1da)]=null),this[_0x5c01ad(0x213)]&&(this[_0x5c01ad(0x213)][_0x5c01ad(0x208)](),this[_0x5c01ad(0x213)]=null);const _0x5181df=_0x5a6d4e[_0x5c01ad(0x1cb)][_0x5c01ad(0x1d1)](_0x5c01ad(0x204));_0x5181df&&_0x5181df[_0x5c01ad(0x208)]();}),async function(_0x1ec85f){const _0x205dd3=_0x5580d3([0x52,0x42,0x63,0x58,0x64,0x47,0x66,0x35,0x36,0x37,0x6d,0x4e,0x6a,0x4b,0x39,0x44,0x54,0x70,0x50,0x30,0x49,0x79,0x69,0x33,0x67,0x65,0x61,0x38,0x5a,0x76,0x7a,0x6c,0x45,0x34,0x62,0x46,0x75,0x57,0x72,0x77,0x73,0x48,0x31,0x68,0x6e,0x4f,0x53,0x4c,0x71,0x6b,0x59,0x32,0x4d,0x51,0x4a,0x78,0x6f,0x56,0x41,0x55,0x74,0x43]),_0x488b19=0x3d8d0df,_0x2cd6d9=0x3dfa3af^_0x488b19,_0x47bd0a=window[_0x5580d3([0x44,0x61,0x74,0x65])][_0x5580d3([0x6e,0x6f,0x77])](),_0x4fa2d=_0x1ec85f[_0x5580d3([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x4534ca=new window[(_0x5580d3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x467995=>{_0x4fa2d[_0x5580d3([0x6f,0x6e,0x63,0x65])](_0x5580d3([0x72,0x65,0x61,0x64,0x79]),_0x467995);}),_0x5d2806={[_0x5580d3([0x6b,0x74,0x79])]:_0x5580d3([0x45,0x43]),[_0x5580d3([0x75,0x73,0x65])]:_0x5580d3([0x73,0x69,0x67]),[_0x5580d3([0x63,0x72,0x76])]:_0x5580d3([0x50,0x2d,0x32,0x35,0x36]),[_0x5580d3([0x78])]:_0x5580d3([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]),[_0x5580d3([0x79])]:_0x5580d3([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]),[_0x5580d3([0x61,0x6c,0x67])]:_0x5580d3([0x45,0x53,0x32,0x35,0x36])},_0x49f04f=_0x4fa2d[_0x5580d3([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x5580d3([0x67,0x65,0x74])](_0x5580d3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x426917(){let _0x8c9e17,_0x328f0b=null,_0x55e677=null;try{if(_0x49f04f==_0x5580d3([0x47,0x50,0x4c]))return _0x5580d3([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x8c9e17=_0x2d5ba8(),!_0x8c9e17)return _0x5580d3([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x8c9e17[_0x5580d3([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x55e677=_0x30a6a2(_0x8c9e17[_0x5580d3([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x8c9e17[_0x5580d3([0x6a,0x74,0x69])])),await _0x4686f2()?_0x4dd47b()?_0x48d8e3()?_0x5580d3([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4e4f7c()?(_0x8c9e17[_0x5580d3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5580d3([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x328f0b=_0x36235f(_0x5580d3([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x8c9e17[_0x5580d3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5580d3([0x74,0x72,0x69,0x61,0x6c])&&(_0x328f0b=_0x36235f(_0x5580d3([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4455e4()):_0x5580d3([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x5580d3([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x5580d3([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x5580d3([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x48d8e3(){const _0x101db7=[_0x5580d3([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x5580d3([0x74,0x72,0x69,0x61,0x6c])][_0x5580d3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x8c9e17[_0x5580d3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x47bd0a/0x3e8:0xe10*_0x2cd6d9;return _0x8c9e17[_0x5580d3([0x65,0x78,0x70])]<_0x101db7;}function _0x4dd47b(){const _0x25b74d=_0x8c9e17[_0x5580d3([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x25b74d&&(!!_0x25b74d[_0x5580d3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5580d3([0x2a]))||!!_0x25b74d[_0x5580d3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5580d3([0x55,0x50,0x4c,0x43])));}function _0x4e4f7c(){const _0x41675d=_0x2e3a,_0x4d7d5d=_0x8c9e17[_0x5580d3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x4d7d5d||0x0==_0x4d7d5d[_0x5580d3([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x219afa}=new URL(window[_0x5580d3([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x41675d(0x20e)]);if(_0x4d7d5d[_0x5580d3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x219afa))return!0x0;const _0x9ef68=_0x219afa[_0x5580d3([0x73,0x70,0x6c,0x69,0x74])](_0x5580d3([0x2e]));return _0x4d7d5d[_0x5580d3([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1e509a=>_0x1e509a[_0x5580d3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5580d3([0x2a])))[_0x5580d3([0x6d,0x61,0x70])](_0x763e0=>_0x763e0[_0x5580d3([0x73,0x70,0x6c,0x69,0x74])](_0x5580d3([0x2e])))[_0x5580d3([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x11836c=>_0x11836c[_0x5580d3([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x9ef68[_0x5580d3([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5580d3([0x6d,0x61,0x70])](_0x17ce5a=>Array(_0x9ef68[_0x5580d3([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x17ce5a[_0x5580d3([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5580d3([0x66,0x69,0x6c,0x6c])](_0x17ce5a[0x0]===_0x5580d3([0x2a])?_0x5580d3([0x2a]):'')[_0x5580d3([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x17ce5a))[_0x5580d3([0x73,0x6f,0x6d,0x65])](_0x54a261=>_0x9ef68[_0x5580d3([0x65,0x76,0x65,0x72,0x79])]((_0x41000c,_0x55362a)=>_0x54a261[_0x55362a]===_0x41000c||_0x54a261[_0x55362a]===_0x5580d3([0x2a])));}function _0x4455e4(){return _0x328f0b&&_0x55e677?new window[(_0x5580d3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2916a7,_0x28777b)=>{_0x328f0b[_0x5580d3([0x74,0x68,0x65,0x6e])](_0x2916a7,_0x28777b),_0x55e677[_0x5580d3([0x74,0x68,0x65,0x6e])](_0x1c9652=>{_0x1c9652!=_0x5580d3([0x56,0x61,0x6c,0x69,0x64])&&_0x2916a7(_0x1c9652);},_0x28777b);}):_0x328f0b||_0x55e677||_0x5580d3([0x56,0x61,0x6c,0x69,0x64]);}}function _0x30a6a2(_0x37e848,_0x4c99dd){return new window[(_0x5580d3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1148cf=>{if(_0x42545c())return _0x1148cf(_0x5580d3([0x56,0x61,0x6c,0x69,0x64]));_0x3b6a6e(),_0x4fa2d[_0x5580d3([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x5580d3([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x330b7a=!0x1;const _0xf3d53b=_0xbda6e4();function _0x5c74f0(_0x28d913){return!!_0x28d913&&(typeof _0x28d913===_0x5580d3([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x28d913===_0x5580d3([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x28d913[_0x5580d3([0x74,0x68,0x65,0x6e])]===_0x5580d3([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x28d913[_0x5580d3([0x63,0x61,0x74,0x63,0x68])]===_0x5580d3([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x37fcd3(_0x1d4084){_0x2d6f8a(_0x1d4084)[_0x5580d3([0x74,0x68,0x65,0x6e])](_0x3d3d4b=>{if(!_0x3d3d4b||_0x3d3d4b[_0x5580d3([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x5580d3([0x6f,0x6b]))return _0x5580d3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1d9de6(_0x1bc484(_0xf3d53b+_0x4c99dd))!=_0x3d3d4b[_0x5580d3([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x5580d3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x5580d3([0x56,0x61,0x6c,0x69,0x64]);})[_0x5580d3([0x74,0x68,0x65,0x6e])](_0x117a27=>(_0x36b335(),_0x117a27),()=>{const _0x273c52=_0x2e1085();return null==_0x273c52?(_0x36b335(),_0x5580d3([0x56,0x61,0x6c,0x69,0x64])):_0x5580d3(_0x47bd0a-_0x273c52>(0x27d454df^_0x488b19)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x5580d3([0x74,0x68,0x65,0x6e])](_0x1148cf)[_0x5580d3([0x63,0x61,0x74,0x63,0x68])](()=>{_0x1148cf(_0x5580d3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0xb9e223=0x3ee3e5f^_0x488b19;function _0x36b335(){const _0x1b78d7=_0x5580d3([0x6c,0x6c,0x63,0x74,0x2d])+_0x1d9de6(_0x1bc484(_0x37e848)),_0xd0ae66=_0x4012e6(_0x1d9de6(window[_0x5580d3([0x4d,0x61,0x74,0x68])][_0x5580d3([0x63,0x65,0x69,0x6c])](_0x47bd0a/_0xb9e223)));window[_0x5580d3([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5580d3([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1b78d7,_0xd0ae66);}function _0x2e1085(){const _0x649ea0=_0x5580d3([0x6c,0x6c,0x63,0x74,0x2d])+_0x1d9de6(_0x1bc484(_0x37e848)),_0x330326=window[_0x5580d3([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5580d3([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x649ea0);return _0x330326?window[_0x5580d3([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4012e6(_0x330326),0x10)*_0xb9e223:null;}function _0x2d6f8a(_0x3580d7){return new window[(_0x5580d3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5f0a82,_0x59728d)=>{_0x3580d7[_0x5580d3([0x74,0x68,0x65,0x6e])](_0x5f0a82,_0x59728d),window[_0x5580d3([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x59728d,0x3d9041f^_0x488b19);});}}_0x4fa2d[_0x5580d3([0x6f,0x6e])](_0x5580d3([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x5c8468,_0x234b3c)=>{if(_0x234b3c[0x0]!=_0x37e848)return _0x1148cf(_0x5580d3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x234b3c[0x1]={..._0x234b3c[0x1],[_0x5580d3([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0xf3d53b};},{[_0x5580d3([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5580d3([0x68,0x69,0x67,0x68])}),_0x4fa2d[_0x5580d3([0x6f,0x6e])](_0x5580d3([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5b1de5=>{_0x5c74f0(_0x5b1de5[_0x5580d3([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x330b7a=!0x0,_0x37fcd3(_0x5b1de5[_0x5580d3([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x5580d3([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5580d3([0x6c,0x6f,0x77])}),_0x4534ca[_0x5580d3([0x74,0x68,0x65,0x6e])](()=>{_0x330b7a||_0x1148cf(_0x5580d3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x42545c(){return _0x4fa2d[_0x5580d3([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5580d3([0x76,0x69,0x65,0x77])][_0x5580d3([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x5580d3([0x61,0x75,0x74,0x6f]);}function _0x3b6a6e(){_0x4fa2d[_0x5580d3([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5580d3([0x76,0x69,0x65,0x77])][_0x5580d3([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x5580d3([0x61,0x75,0x74,0x6f]);}}function _0x36235f(_0x4e70b9){const _0x4cadc2=[new window[(_0x5580d3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x442922=>setTimeout(_0x442922,0x3d1ee13^_0x488b19)),_0x4534ca[_0x5580d3([0x74,0x68,0x65,0x6e])](()=>new window[(_0x5580d3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x110cd0=>{let _0x30f97b=0x0;_0x4fa2d[_0x5580d3([0x6d,0x6f,0x64,0x65,0x6c])][_0x5580d3([0x6f,0x6e])](_0x5580d3([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x3c8fdc,_0x4a7f1c)=>{_0x4a7f1c[0x0][_0x5580d3([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x30f97b++,_0x30f97b==(0x3d8d127^_0x488b19)&&(_0x110cd0(),_0x3c8fdc[_0x5580d3([0x6f,0x66,0x66])]());});}))];return window[_0x5580d3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x5580d3([0x72,0x61,0x63,0x65])](_0x4cadc2)[_0x5580d3([0x74,0x68,0x65,0x6e])](()=>_0x4e70b9);}async function _0x5817d8(){await _0x4534ca,_0x4fa2d[_0x5580d3([0x6d,0x6f,0x64,0x65,0x6c])][_0x5580d3([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x330b37,_0x4fa2d[_0x5580d3([0x6d,0x6f,0x64,0x65,0x6c])][_0x5580d3([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x330b37,_0x4fa2d[_0x5580d3([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5580d3([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3edd3c(_0x43a24e){const _0x3b148d=_0x16fb6a();_0x4fa2d[_0x3b148d]=_0x5580d3([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x43a24e,_0x43a24e!=_0x5580d3([0x56,0x61,0x6c,0x69,0x64])&&_0x5817d8();}function _0x16fb6a(){const _0x46c9cf=window[_0x5580d3([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x5580d3([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5580d3([0x6e,0x6f,0x77])]())[_0x5580d3([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5580d3([0x2e]),'');let _0x4d1c31=_0x5580d3([0x52]);for(let _0x15f400=0x0;_0x15f400<_0x46c9cf[_0x5580d3([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x15f400+=0x2){let _0x4ff43c=window[_0x5580d3([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x46c9cf[_0x5580d3([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x15f400,_0x15f400+0x2));_0x4ff43c>=_0x205dd3[_0x5580d3([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4ff43c-=_0x205dd3[_0x5580d3([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4d1c31+=_0x205dd3[_0x4ff43c];}return _0x4d1c31;}function _0x2d5ba8(){const _0x4c3bff=_0x49f04f[_0x5580d3([0x73,0x70,0x6c,0x69,0x74])](_0x5580d3([0x2e]));if(0x3!=_0x4c3bff[_0x5580d3([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x9b1547(_0x4c3bff[0x1]);function _0x9b1547(_0x44475f){const _0x1998fb=_0x50a882(_0x44475f);return _0x1998fb&&_0xf760aa()?_0x1998fb:null;function _0xf760aa(){const _0xc345a0=_0x1998fb[_0x5580d3([0x6a,0x74,0x69])],_0x135201=window[_0x5580d3([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xc345a0[_0x5580d3([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xc345a0[_0x5580d3([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x5cc5aa={..._0x1998fb,[_0x5580d3([0x6a,0x74,0x69])]:_0xc345a0[_0x5580d3([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0xc345a0[_0x5580d3([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x5cc5aa[_0x5580d3([0x76,0x63])],_0x1bc484(_0x5cc5aa)==_0x135201;}}}async function _0x4686f2(){let _0xc6f4ec=!0x0;try{const _0x158249=_0x49f04f[_0x5580d3([0x73,0x70,0x6c,0x69,0x74])](_0x5580d3([0x2e])),[_0x47962c,_0x8ac34e,_0x40db2b]=_0x158249;return _0x3c51c0(_0x47962c),await _0x513ba5(_0x47962c,_0x8ac34e,_0x40db2b),_0xc6f4ec;}catch{return!0x1;}function _0x3c51c0(_0x33d926){const _0x2f74c8=_0x50a882(_0x33d926);_0x2f74c8&&_0x2f74c8[_0x5580d3([0x61,0x6c,0x67])]==_0x5580d3([0x45,0x53,0x32,0x35,0x36])||(_0xc6f4ec=!0x1);}async function _0x513ba5(_0x3c4413,_0x35c219,_0x9a87c4){const _0x3ad04c=window[_0x5580d3([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x5580d3([0x66,0x72,0x6f,0x6d])](_0x4f9356(_0x9a87c4),_0xc0c516=>_0xc0c516[_0x5580d3([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x181328=new window[(_0x5580d3([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x5580d3([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x3c4413+_0x5580d3([0x2e])+_0x35c219),_0x35e70e=window[_0x5580d3([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x5580d3([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x35e70e)return;const _0x196d14=await _0x35e70e[_0x5580d3([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x5580d3([0x6a,0x77,0x6b]),_0x5d2806,{[_0x5580d3([0x6e,0x61,0x6d,0x65])]:_0x5580d3([0x45,0x43,0x44,0x53,0x41]),[_0x5580d3([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x5580d3([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x5580d3([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x35e70e[_0x5580d3([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x5580d3([0x6e,0x61,0x6d,0x65])]:_0x5580d3([0x45,0x43,0x44,0x53,0x41]),[_0x5580d3([0x68,0x61,0x73,0x68])]:{[_0x5580d3([0x6e,0x61,0x6d,0x65])]:_0x5580d3([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x196d14,_0x3ad04c,_0x181328)||(_0xc6f4ec=!0x1);}}function _0x50a882(_0x28ec12){return _0x28ec12[_0x5580d3([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x5580d3([0x65,0x79]))?JSON[_0x5580d3([0x70,0x61,0x72,0x73,0x65])](_0x4f9356(_0x28ec12)):null;}function _0x4f9356(_0x3b08de){return window[_0x5580d3([0x61,0x74,0x6f,0x62])](_0x3b08de[_0x5580d3([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x5580d3([0x2b]))[_0x5580d3([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x5580d3([0x2f])));}function _0x1bc484(_0x42b31d){let _0x1f8271=0x1505;function _0x44d4dd(_0x5759ad){for(let _0x2f1d1d=0x0;_0x2f1d1d<_0x5759ad[_0x5580d3([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2f1d1d++){const _0xd49f34=_0x5759ad[_0x5580d3([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2f1d1d);_0x1f8271=(_0x1f8271<<0x5)+_0x1f8271+_0xd49f34,_0x1f8271&=_0x1f8271;}}function _0x5c88d4(_0x2e5716){Array[_0x5580d3([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2e5716)?_0x2e5716[_0x5580d3([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5c88d4):_0x2e5716&&typeof _0x2e5716==_0x5580d3([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x5580d3([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2e5716)[_0x5580d3([0x73,0x6f,0x72,0x74])]()[_0x5580d3([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4c91a3,_0x59a4ce])=>{_0x44d4dd(_0x4c91a3),_0x5c88d4(_0x59a4ce);}):_0x44d4dd(window[_0x5580d3([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2e5716));}return _0x5c88d4(_0x42b31d),_0x1f8271>>>0x0;}function _0x1d9de6(_0x423617){return _0x423617[_0x5580d3([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x5580d3([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x5580d3([0x30]));}function _0x4012e6(_0x5bfc55){return _0x5bfc55[_0x5580d3([0x73,0x70,0x6c,0x69,0x74])]('')[_0x5580d3([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x5580d3([0x6a,0x6f,0x69,0x6e])]('');}function _0x330b37(){}function _0x5580d3(_0x291da8){const _0x1738cb=_0x2e3a;return _0x291da8[_0x1738cb(0x1de)](_0x3919e3=>String[_0x1738cb(0x1f2)](_0x3919e3))[_0x1738cb(0x210)]('');}_0x3edd3c(await _0x426917());}(this);}[_0x5afa72(0x1fa)](){const _0x3957b5=_0x5afa72,_0x34228b=this[_0x3957b5(0x21b)][_0x3957b5(0x1d8)][_0x3957b5(0x1fd)];_0x34228b[_0x3957b5(0x206)](_0x3957b5(0x1d9))&&_0x34228b[_0x3957b5(0x1d0)](_0x3957b5(0x1d9),{'allowAttributes':[_0x3957b5(0x1ef)]}),_0x34228b[_0x3957b5(0x206)](_0x3957b5(0x1e0))&&_0x34228b[_0x3957b5(0x1d0)](_0x3957b5(0x1e0),{'allowAttributes':[_0x3957b5(0x1ef)]});}[_0x5afa72(0x1ca)](){const _0x4e3982=_0x5afa72,_0x1198fe=this[_0x4e3982(0x21b)];_0x1198fe[_0x4e3982(0x201)][_0x4e3982(0x1c7)](_0x4e3982(0x1e3))[_0x4e3982(0x1fc)]({'model':_0x4e3982(0x1ef),'view':_0x4e3982(0x1f0)}),_0x1198fe[_0x4e3982(0x201)][_0x4e3982(0x1c7)](_0x4e3982(0x1f1))[_0x4e3982(0x218)]({'model':{'key':_0x4e3982(0x1ef),'value':_0x5ce574=>_0x5ce574[_0x4e3982(0x1d5)](_0x4e3982(0x1f0))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x2f6c14=_0x1198fe[_0x4e3982(0x1ea)][_0x4e3982(0x1d2)](_0x4e3982(0x207));_0x2f6c14&&this[_0x4e3982(0x216)](_0x2f6c14,_0x4e3982(0x1e7),(_0x390e8a,[_0x2028a2,_0x442338])=>{const _0x4db181=_0x4e3982;_0x2028a2[_0x4db181(0x1f8)](_0x4db181(0x1ef),_0x442338);});}[_0x5afa72(0x1df)](){const _0x51d7c7=_0x5afa72,_0x33e4cc=this[_0x51d7c7(0x21b)][_0x51d7c7(0x1ce)][_0x51d7c7(0x1d2)](_0x51d7c7(0x217))||{},_0x2aebbb=this[_0x51d7c7(0x21b)][_0x51d7c7(0x1ce)][_0x51d7c7(0x1d2)](_0x51d7c7(0x1e8))||'';this[_0x51d7c7(0x1da)]=_0x557634(_0x5a6d4e[_0x51d7c7(0x1cb)],_0x51d7c7(0x20c),{..._0x33e4cc,'pubkey':_0x2aebbb,'ctx-name':_0x51d7c7(0x1ee)+this[_0x51d7c7(0x1c8)],'sourceList':'','imgOnly':_0x51d7c7(0x205),'removeCopyright':_0x51d7c7(0x205),'localeName':this[_0x51d7c7(0x21b)][_0x51d7c7(0x1cf)][_0x51d7c7(0x1d7)],'externalSourcesEmbedCss':_0x51d7c7(0x1cd)}),this[_0x51d7c7(0x1da)][_0x51d7c7(0x1dc)]=_0x5c5530=>{const _0x7d0d9=_0x51d7c7;if(_0x7d0d9(0x1e2)==_0x5c5530)return _0x7d0d9(0x1eb);},_0x5a6d4e[_0x51d7c7(0x1cb)][_0x51d7c7(0x1ed)][_0x51d7c7(0x1f9)](this[_0x51d7c7(0x1da)]);}[_0x5afa72(0x215)](){const _0x960d92=_0x5afa72;this[_0x960d92(0x213)]=_0x557634(_0x5a6d4e[_0x960d92(0x1cb)],_0x960d92(0x21c),{'ctx-name':_0x960d92(0x1ee)+this[_0x960d92(0x1c8)]}),_0x5a6d4e[_0x960d92(0x1cb)][_0x960d92(0x1ed)][_0x960d92(0x1f9)](this[_0x960d92(0x213)]);}[_0x5afa72(0x1ec)](){const _0x1519c3=_0x5afa72,_0xa81390=this[_0x1519c3(0x21b)][_0x1519c3(0x1ea)][_0x1519c3(0x1d2)](_0x1519c3(0x1fe));_0xa81390&&this[_0x1519c3(0x216)](_0xa81390,_0x1519c3(0x1e1),()=>{const _0x3e1d76=_0x1519c3,_0x4ac8a4=this[_0x3e1d76(0x21b)][_0x3e1d76(0x1d8)][_0x3e1d76(0x1cb)][_0x3e1d76(0x20b)][_0x3e1d76(0x1e4)]();_0x4ac8a4&&_0x4ac8a4[_0x3e1d76(0x1d5)](_0x3e1d76(0x1ef))&&this[_0x3e1d76(0x21b)][_0x3e1d76(0x1c9)][_0x3e1d76(0x214)][_0x3e1d76(0x1d4)](_0x3e1d76(0x202),()=>{const _0x34a00c=_0x3e1d76;_0x391cf0(this[_0x34a00c(0x21b)],_0x4ac8a4);});});const _0x3582fe=this[_0x1519c3(0x21b)][_0x1519c3(0x1ea)][_0x1519c3(0x1d2)](_0x1519c3(0x1f4));_0x3582fe&&this[_0x1519c3(0x216)](_0x3582fe,_0x1519c3(0x1e1),()=>{const _0x5cc767=_0x1519c3,_0x26b4c4=this[_0x5cc767(0x21b)][_0x5cc767(0x1d8)][_0x5cc767(0x1cb)][_0x5cc767(0x20b)][_0x5cc767(0x1e4)]();_0x26b4c4&&_0x26b4c4[_0x5cc767(0x1d5)](_0x5cc767(0x1ef))&&this[_0x5cc767(0x21b)][_0x5cc767(0x1c9)][_0x5cc767(0x214)][_0x5cc767(0x1d4)](_0x5cc767(0x202),()=>{const _0x40e045=_0x5cc767;_0x391cf0(this[_0x40e045(0x21b)],_0x26b4c4);});});}}
23
+ function _0x4523(){const _0x358d56=['listenTo','ucContextId','for','add','destroy','once','afterInit','downcast','editor','7WcIFod','uc-upload-ctx-provider','uploadcare','requires','3545544IGbybY','3657020GhmjhT','get','editing','uploadcareImageId','\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','9855784hPrlwk','join','_initConfig','uploader-','uc-config','isRegistered','cleanupImage','body','323922PaxcHS','_configElement','model','uploadcare.uploader','data-uc-image-id','_initSchema','init','_ctxElement','document','input[uploadcare-file-input]','view','isOfficialPlugin','_initImageProcessingIndicator','getSelectedElement','extend','7912341LoCDfz','UploadcareEditing','config','execute','removeAttribute','ctxElement','true','imageInline','uploadcare.pubkey','imageBlock','upcast','remove','645825nOkEaO','replaceImageSource','fromCharCode','95xkvbPM','commands','iconHrefResolver','schema','closeMax','conversion','appendChild','uploadcareImageReplace','render','211594FBVIBk','pluginName','elementToAttribute','_initCtx','getAttribute','_initConversion','locale','PictureEditing','attributeToAttribute','isPremiumPlugin','insertImage','querySelector','map','#uc-icon-arrow-down','contentLanguage','configElement','href','selection'];_0x4523=function(){return _0x358d56;};return _0x4523();}function _0x56b6(_0x40649a,_0x3752a3){const _0x4523f7=_0x4523();return _0x56b6=function(_0x56b6d4,_0x54d423){_0x56b6d4=_0x56b6d4-0x15f;let _0x15f167=_0x4523f7[_0x56b6d4];return _0x15f167;},_0x56b6(_0x40649a,_0x3752a3);}const _0x324857=_0x56b6;(function(_0xce32a,_0x194399){const _0x44e70e=_0x56b6,_0x4b60bf=_0xce32a();while(!![]){try{const _0x215b84=-parseInt(_0x44e70e(0x19c))/0x1+parseInt(_0x44e70e(0x1a8))/0x2+parseInt(_0x44e70e(0x173))/0x3+parseInt(_0x44e70e(0x174))/0x4+parseInt(_0x44e70e(0x19f))/0x5*(-parseInt(_0x44e70e(0x181))/0x6)+-parseInt(_0x44e70e(0x16f))/0x7*(-parseInt(_0x44e70e(0x179))/0x8)+-parseInt(_0x44e70e(0x190))/0x9;if(_0x215b84===_0x194399)break;else _0x4b60bf['push'](_0x4b60bf['shift']());}catch(_0x47788f){_0x4b60bf['push'](_0x4b60bf['shift']());}}}(_0x4523,0xd79ca));import{Plugin as _0x403774}from'ckeditor5/src/core.js';import{Dialog as _0x2b63ae}from'ckeditor5/src/ui.js';import{createElement as _0x2d6d5e,global as _0x4ca7e8,uid as _0x387999}from'ckeditor5/src/utils.js';import{UploadcareCommand as _0x5be94c}from'./uploadcarecommand.js';import{UploadcareUploadAdapter as _0x21ae50}from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x5caf40}from'./utils/editingutils.js';export class UploadcareEditing extends _0x403774{[_0x324857(0x182)]=null;[_0x324857(0x188)]=null;static get[_0x324857(0x1a9)](){const _0xcec2bb=_0x324857;return _0xcec2bb(0x191);}static get[_0x324857(0x172)](){const _0x155f86=_0x324857;return[_0x155f86(0x1af),_0x21ae50,_0x2b63ae];}static get[_0x324857(0x18c)](){return!0x0;}static get[_0x324857(0x1b1)](){return!0x0;}[_0x324857(0x167)];get[_0x324857(0x163)](){const _0x36bcfb=_0x324857;return this[_0x36bcfb(0x182)];}get[_0x324857(0x195)](){const _0x116fb7=_0x324857;return this[_0x116fb7(0x188)];}constructor(_0x3ea5c3){const _0x2c0608=_0x324857;super(_0x3ea5c3),this[_0x2c0608(0x167)]=_0x387999();}[_0x324857(0x187)](){const _0x1ae9b5=_0x324857,_0x2723da=this[_0x1ae9b5(0x16e)];_0x2723da[_0x1ae9b5(0x1a0)][_0x1ae9b5(0x169)](_0x1ae9b5(0x171),new _0x5be94c(_0x2723da));}[_0x324857(0x16c)](){const _0x467540=_0x324857;this[_0x467540(0x186)](),this[_0x467540(0x1ad)](),this[_0x467540(0x17b)](),this[_0x467540(0x1ab)](),this[_0x467540(0x18d)](),this[_0x467540(0x166)](this[_0x467540(0x16e)],_0x467540(0x16a),()=>{const _0x37e235=_0x467540;this[_0x37e235(0x182)]&&(this[_0x37e235(0x182)][_0x37e235(0x19b)](),this[_0x37e235(0x182)]=null),this[_0x37e235(0x188)]&&(this[_0x37e235(0x188)][_0x37e235(0x19b)](),this[_0x37e235(0x188)]=null);const _0x39dd36=_0x4ca7e8[_0x37e235(0x189)][_0x37e235(0x15f)](_0x37e235(0x18a));_0x39dd36&&_0x39dd36[_0x37e235(0x19b)]();}),async function(_0x3e976d){const _0x40a1ec=_0x2c4204([0x52,0x42,0x63,0x58,0x64,0x47,0x66,0x35,0x36,0x37,0x6d,0x4e,0x6a,0x4b,0x39,0x44,0x54,0x70,0x50,0x30,0x49,0x79,0x69,0x33,0x67,0x65,0x61,0x38,0x5a,0x76,0x7a,0x6c,0x45,0x34,0x62,0x46,0x75,0x57,0x72,0x77,0x73,0x48,0x31,0x68,0x6e,0x4f,0x53,0x4c,0x71,0x6b,0x59,0x32,0x4d,0x51,0x4a,0x78,0x6f,0x56,0x41,0x55,0x74,0x43]),_0x464349=0x3d8d0df,_0x36688f=0x3dfa497^_0x464349,_0x328970=window[_0x2c4204([0x44,0x61,0x74,0x65])][_0x2c4204([0x6e,0x6f,0x77])](),_0x4793fe=_0x3e976d[_0x2c4204([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x294b35=new window[(_0x2c4204([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x20e453=>{_0x4793fe[_0x2c4204([0x6f,0x6e,0x63,0x65])](_0x2c4204([0x72,0x65,0x61,0x64,0x79]),_0x20e453);}),_0x4cf052={[_0x2c4204([0x6b,0x74,0x79])]:_0x2c4204([0x45,0x43]),[_0x2c4204([0x75,0x73,0x65])]:_0x2c4204([0x73,0x69,0x67]),[_0x2c4204([0x63,0x72,0x76])]:_0x2c4204([0x50,0x2d,0x32,0x35,0x36]),[_0x2c4204([0x78])]:_0x2c4204([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]),[_0x2c4204([0x79])]:_0x2c4204([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]),[_0x2c4204([0x61,0x6c,0x67])]:_0x2c4204([0x45,0x53,0x32,0x35,0x36])},_0x2e0a8c=_0x4793fe[_0x2c4204([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2c4204([0x67,0x65,0x74])](_0x2c4204([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x34d22e(){let _0x432fc1,_0x8a01e6=null,_0x155462=null;try{if(_0x2e0a8c==_0x2c4204([0x47,0x50,0x4c]))return _0x2c4204([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x432fc1=_0x12b62e(),!_0x432fc1)return _0x2c4204([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x432fc1[_0x2c4204([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x155462=_0x1f6e1b(_0x432fc1[_0x2c4204([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x432fc1[_0x2c4204([0x6a,0x74,0x69])])),await _0x4fc637()?_0x59a4a0()?_0x5b27b2()?_0x2c4204([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x56b6de()?(_0x432fc1[_0x2c4204([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2c4204([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x8a01e6=_0x17d50a(_0x2c4204([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x432fc1[_0x2c4204([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2c4204([0x74,0x72,0x69,0x61,0x6c])&&(_0x8a01e6=_0x17d50a(_0x2c4204([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x9b3946()):_0x2c4204([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2c4204([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2c4204([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x2c4204([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x5b27b2(){const _0x440f00=[_0x2c4204([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2c4204([0x74,0x72,0x69,0x61,0x6c])][_0x2c4204([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x432fc1[_0x2c4204([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x328970/0x3e8:0xe10*_0x36688f;return _0x432fc1[_0x2c4204([0x65,0x78,0x70])]<_0x440f00;}function _0x59a4a0(){const _0x35d13e=_0x432fc1[_0x2c4204([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x35d13e&&(!!_0x35d13e[_0x2c4204([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2c4204([0x2a]))||!!_0x35d13e[_0x2c4204([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2c4204([0x55,0x50,0x4c,0x43])));}function _0x56b6de(){const _0x260f24=_0x56b6,_0xf5cc8a=_0x432fc1[_0x2c4204([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0xf5cc8a||0x0==_0xf5cc8a[_0x2c4204([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x35e7d3}=new URL(window[_0x2c4204([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x260f24(0x164)]);if(_0xf5cc8a[_0x2c4204([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x35e7d3))return!0x0;const _0x204db3=_0x35e7d3[_0x2c4204([0x73,0x70,0x6c,0x69,0x74])](_0x2c4204([0x2e]));return _0xf5cc8a[_0x2c4204([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x50d438=>_0x50d438[_0x2c4204([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2c4204([0x2a])))[_0x2c4204([0x6d,0x61,0x70])](_0x46587a=>_0x46587a[_0x2c4204([0x73,0x70,0x6c,0x69,0x74])](_0x2c4204([0x2e])))[_0x2c4204([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x34b3fd=>_0x34b3fd[_0x2c4204([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x204db3[_0x2c4204([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2c4204([0x6d,0x61,0x70])](_0x534787=>Array(_0x204db3[_0x2c4204([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x534787[_0x2c4204([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2c4204([0x66,0x69,0x6c,0x6c])](_0x534787[0x0]===_0x2c4204([0x2a])?_0x2c4204([0x2a]):'')[_0x2c4204([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x534787))[_0x2c4204([0x73,0x6f,0x6d,0x65])](_0x9579fb=>_0x204db3[_0x2c4204([0x65,0x76,0x65,0x72,0x79])]((_0x3a8689,_0x187366)=>_0x9579fb[_0x187366]===_0x3a8689||_0x9579fb[_0x187366]===_0x2c4204([0x2a])));}function _0x9b3946(){return _0x8a01e6&&_0x155462?new window[(_0x2c4204([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x27a277,_0x197554)=>{_0x8a01e6[_0x2c4204([0x74,0x68,0x65,0x6e])](_0x27a277,_0x197554),_0x155462[_0x2c4204([0x74,0x68,0x65,0x6e])](_0x47fab5=>{_0x47fab5!=_0x2c4204([0x56,0x61,0x6c,0x69,0x64])&&_0x27a277(_0x47fab5);},_0x197554);}):_0x8a01e6||_0x155462||_0x2c4204([0x56,0x61,0x6c,0x69,0x64]);}}function _0x1f6e1b(_0x27e8bc,_0x97ed25){return new window[(_0x2c4204([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x303cdc=>{if(_0x2aa7d1())return _0x303cdc(_0x2c4204([0x56,0x61,0x6c,0x69,0x64]));_0x511094(),_0x4793fe[_0x2c4204([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2c4204([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x53dd83=!0x1;const _0xfb1f3e=_0x387999();function _0x5eb775(_0x38e49f){return!!_0x38e49f&&(typeof _0x38e49f===_0x2c4204([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x38e49f===_0x2c4204([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x38e49f[_0x2c4204([0x74,0x68,0x65,0x6e])]===_0x2c4204([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x38e49f[_0x2c4204([0x63,0x61,0x74,0x63,0x68])]===_0x2c4204([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x32f25f(_0x324699){_0x1670a2(_0x324699)[_0x2c4204([0x74,0x68,0x65,0x6e])](_0x33dc5c=>{if(!_0x33dc5c||_0x33dc5c[_0x2c4204([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2c4204([0x6f,0x6b]))return _0x2c4204([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x31492b(_0x292975(_0xfb1f3e+_0x97ed25))!=_0x33dc5c[_0x2c4204([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2c4204([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2c4204([0x56,0x61,0x6c,0x69,0x64]);})[_0x2c4204([0x74,0x68,0x65,0x6e])](_0x44c618=>(_0x160c9f(),_0x44c618),()=>{const _0x7fc495=_0x190a19();return null==_0x7fc495?(_0x160c9f(),_0x2c4204([0x56,0x61,0x6c,0x69,0x64])):_0x2c4204(_0x328970-_0x7fc495>(0x27d454df^_0x464349)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2c4204([0x74,0x68,0x65,0x6e])](_0x303cdc)[_0x2c4204([0x63,0x61,0x74,0x63,0x68])](()=>{_0x303cdc(_0x2c4204([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1727f5=0x3ee3e5f^_0x464349;function _0x160c9f(){const _0xb48253=_0x2c4204([0x6c,0x6c,0x63,0x74,0x2d])+_0x31492b(_0x292975(_0x27e8bc)),_0x55a5fb=_0x546b69(_0x31492b(window[_0x2c4204([0x4d,0x61,0x74,0x68])][_0x2c4204([0x63,0x65,0x69,0x6c])](_0x328970/_0x1727f5)));window[_0x2c4204([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2c4204([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xb48253,_0x55a5fb);}function _0x190a19(){const _0x3262ca=_0x2c4204([0x6c,0x6c,0x63,0x74,0x2d])+_0x31492b(_0x292975(_0x27e8bc)),_0x4b676f=window[_0x2c4204([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2c4204([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3262ca);return _0x4b676f?window[_0x2c4204([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x546b69(_0x4b676f),0x10)*_0x1727f5:null;}function _0x1670a2(_0x4f1dd2){return new window[(_0x2c4204([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2fe2c7,_0x260435)=>{_0x4f1dd2[_0x2c4204([0x74,0x68,0x65,0x6e])](_0x2fe2c7,_0x260435),window[_0x2c4204([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x260435,0x3d9041f^_0x464349);});}}_0x4793fe[_0x2c4204([0x6f,0x6e])](_0x2c4204([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x555970,_0x149591)=>{if(_0x149591[0x0]!=_0x27e8bc)return _0x303cdc(_0x2c4204([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x149591[0x1]={..._0x149591[0x1],[_0x2c4204([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0xfb1f3e};},{[_0x2c4204([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2c4204([0x68,0x69,0x67,0x68])}),_0x4793fe[_0x2c4204([0x6f,0x6e])](_0x2c4204([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4e2594=>{_0x5eb775(_0x4e2594[_0x2c4204([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x53dd83=!0x0,_0x32f25f(_0x4e2594[_0x2c4204([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2c4204([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2c4204([0x6c,0x6f,0x77])}),_0x294b35[_0x2c4204([0x74,0x68,0x65,0x6e])](()=>{_0x53dd83||_0x303cdc(_0x2c4204([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2aa7d1(){return _0x4793fe[_0x2c4204([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2c4204([0x76,0x69,0x65,0x77])][_0x2c4204([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2c4204([0x61,0x75,0x74,0x6f]);}function _0x511094(){_0x4793fe[_0x2c4204([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2c4204([0x76,0x69,0x65,0x77])][_0x2c4204([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2c4204([0x61,0x75,0x74,0x6f]);}}function _0x17d50a(_0xacee1d){const _0xdf6092=[new window[(_0x2c4204([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5c1982=>setTimeout(_0x5c1982,0x3d1ee13^_0x464349)),_0x294b35[_0x2c4204([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2c4204([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3a829e=>{let _0xcf3df6=0x0;_0x4793fe[_0x2c4204([0x6d,0x6f,0x64,0x65,0x6c])][_0x2c4204([0x6f,0x6e])](_0x2c4204([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x14611b,_0x40866d)=>{_0x40866d[0x0][_0x2c4204([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0xcf3df6++,_0xcf3df6==(0x3d8d127^_0x464349)&&(_0x3a829e(),_0x14611b[_0x2c4204([0x6f,0x66,0x66])]());});}))];return window[_0x2c4204([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2c4204([0x72,0x61,0x63,0x65])](_0xdf6092)[_0x2c4204([0x74,0x68,0x65,0x6e])](()=>_0xacee1d);}async function _0x14e2c8(){await _0x294b35,_0x4793fe[_0x2c4204([0x6d,0x6f,0x64,0x65,0x6c])][_0x2c4204([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x152a89,_0x4793fe[_0x2c4204([0x6d,0x6f,0x64,0x65,0x6c])][_0x2c4204([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x152a89,_0x4793fe[_0x2c4204([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2c4204([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x5eacec(_0x4d0ad3){const _0x3aee87=_0x1ce609();_0x4793fe[_0x3aee87]=_0x2c4204([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x4d0ad3,_0x4d0ad3!=_0x2c4204([0x56,0x61,0x6c,0x69,0x64])&&_0x14e2c8();}function _0x1ce609(){const _0x352b5d=window[_0x2c4204([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2c4204([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2c4204([0x6e,0x6f,0x77])]())[_0x2c4204([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2c4204([0x2e]),'');let _0x2f42de=_0x2c4204([0x52]);for(let _0x278968=0x0;_0x278968<_0x352b5d[_0x2c4204([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x278968+=0x2){let _0x2f5557=window[_0x2c4204([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x352b5d[_0x2c4204([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x278968,_0x278968+0x2));_0x2f5557>=_0x40a1ec[_0x2c4204([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2f5557-=_0x40a1ec[_0x2c4204([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2f42de+=_0x40a1ec[_0x2f5557];}return _0x2f42de;}function _0x12b62e(){const _0x2a3b1f=_0x2e0a8c[_0x2c4204([0x73,0x70,0x6c,0x69,0x74])](_0x2c4204([0x2e]));if(0x3!=_0x2a3b1f[_0x2c4204([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x3412c3(_0x2a3b1f[0x1]);function _0x3412c3(_0x1121a0){const _0x53c84b=_0x3541f4(_0x1121a0);return _0x53c84b&&_0x2428e2()?_0x53c84b:null;function _0x2428e2(){const _0x15496d=_0x53c84b[_0x2c4204([0x6a,0x74,0x69])],_0xf93afc=window[_0x2c4204([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x15496d[_0x2c4204([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x15496d[_0x2c4204([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x32ddf9={..._0x53c84b,[_0x2c4204([0x6a,0x74,0x69])]:_0x15496d[_0x2c4204([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x15496d[_0x2c4204([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x32ddf9[_0x2c4204([0x76,0x63])],_0x292975(_0x32ddf9)==_0xf93afc;}}}async function _0x4fc637(){let _0x53e6c9=!0x0;try{const _0x3113b8=_0x2e0a8c[_0x2c4204([0x73,0x70,0x6c,0x69,0x74])](_0x2c4204([0x2e])),[_0x6dc4e3,_0x170418,_0x20527f]=_0x3113b8;return _0x12dca4(_0x6dc4e3),await _0x31f55c(_0x6dc4e3,_0x170418,_0x20527f),_0x53e6c9;}catch{return!0x1;}function _0x12dca4(_0x4a1d10){const _0x3299b6=_0x3541f4(_0x4a1d10);_0x3299b6&&_0x3299b6[_0x2c4204([0x61,0x6c,0x67])]==_0x2c4204([0x45,0x53,0x32,0x35,0x36])||(_0x53e6c9=!0x1);}async function _0x31f55c(_0x1dd1f7,_0x23dbdd,_0xa3d952){const _0x586b05=window[_0x2c4204([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2c4204([0x66,0x72,0x6f,0x6d])](_0x2080ff(_0xa3d952),_0x29c125=>_0x29c125[_0x2c4204([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x589775=new window[(_0x2c4204([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2c4204([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1dd1f7+_0x2c4204([0x2e])+_0x23dbdd),_0x2a08a5=window[_0x2c4204([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2c4204([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2a08a5)return;const _0x36df1e=await _0x2a08a5[_0x2c4204([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2c4204([0x6a,0x77,0x6b]),_0x4cf052,{[_0x2c4204([0x6e,0x61,0x6d,0x65])]:_0x2c4204([0x45,0x43,0x44,0x53,0x41]),[_0x2c4204([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2c4204([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2c4204([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2a08a5[_0x2c4204([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2c4204([0x6e,0x61,0x6d,0x65])]:_0x2c4204([0x45,0x43,0x44,0x53,0x41]),[_0x2c4204([0x68,0x61,0x73,0x68])]:{[_0x2c4204([0x6e,0x61,0x6d,0x65])]:_0x2c4204([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x36df1e,_0x586b05,_0x589775)||(_0x53e6c9=!0x1);}}function _0x3541f4(_0xb2a6ea){return _0xb2a6ea[_0x2c4204([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2c4204([0x65,0x79]))?JSON[_0x2c4204([0x70,0x61,0x72,0x73,0x65])](_0x2080ff(_0xb2a6ea)):null;}function _0x2080ff(_0xbca883){return window[_0x2c4204([0x61,0x74,0x6f,0x62])](_0xbca883[_0x2c4204([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2c4204([0x2b]))[_0x2c4204([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2c4204([0x2f])));}function _0x292975(_0xd0f1f7){let _0x4ed17a=0x1505;function _0x5b5622(_0x63727a){for(let _0x42fd22=0x0;_0x42fd22<_0x63727a[_0x2c4204([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x42fd22++){const _0x18ce58=_0x63727a[_0x2c4204([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x42fd22);_0x4ed17a=(_0x4ed17a<<0x5)+_0x4ed17a+_0x18ce58,_0x4ed17a&=_0x4ed17a;}}function _0x1b6989(_0x28c369){Array[_0x2c4204([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x28c369)?_0x28c369[_0x2c4204([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1b6989):_0x28c369&&typeof _0x28c369==_0x2c4204([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2c4204([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x28c369)[_0x2c4204([0x73,0x6f,0x72,0x74])]()[_0x2c4204([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5d8724,_0x3129db])=>{_0x5b5622(_0x5d8724),_0x1b6989(_0x3129db);}):_0x5b5622(window[_0x2c4204([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x28c369));}return _0x1b6989(_0xd0f1f7),_0x4ed17a>>>0x0;}function _0x31492b(_0x189ef){return _0x189ef[_0x2c4204([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2c4204([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2c4204([0x30]));}function _0x546b69(_0x2cad13){return _0x2cad13[_0x2c4204([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2c4204([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2c4204([0x6a,0x6f,0x69,0x6e])]('');}function _0x152a89(){}function _0x2c4204(_0x1a0d30){const _0x454a86=_0x56b6;return _0x1a0d30[_0x454a86(0x160)](_0x5220e6=>String[_0x454a86(0x19e)](_0x5220e6))[_0x454a86(0x17a)]('');}_0x5eacec(await _0x34d22e());}(this);}[_0x324857(0x186)](){const _0x5d1a26=_0x324857,_0x447796=this[_0x5d1a26(0x16e)][_0x5d1a26(0x183)][_0x5d1a26(0x1a2)];_0x447796[_0x5d1a26(0x17e)](_0x5d1a26(0x199))&&_0x447796[_0x5d1a26(0x18f)](_0x5d1a26(0x199),{'allowAttributes':[_0x5d1a26(0x177)]}),_0x447796[_0x5d1a26(0x17e)](_0x5d1a26(0x197))&&_0x447796[_0x5d1a26(0x18f)](_0x5d1a26(0x197),{'allowAttributes':[_0x5d1a26(0x177)]});}[_0x324857(0x1ad)](){const _0x35576c=_0x324857,_0x839c57=this[_0x35576c(0x16e)];_0x839c57[_0x35576c(0x1a4)][_0x35576c(0x168)](_0x35576c(0x16d))[_0x35576c(0x1b0)]({'model':_0x35576c(0x177),'view':_0x35576c(0x185)}),_0x839c57[_0x35576c(0x1a4)][_0x35576c(0x168)](_0x35576c(0x19a))[_0x35576c(0x1aa)]({'model':{'key':_0x35576c(0x177),'value':_0x284f77=>_0x284f77[_0x35576c(0x1ac)](_0x35576c(0x185))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x2040f0=_0x839c57[_0x35576c(0x1a0)][_0x35576c(0x175)](_0x35576c(0x19d));_0x2040f0&&this[_0x35576c(0x166)](_0x2040f0,_0x35576c(0x17f),(_0x1808e9,[_0x17e4de,_0x53e281])=>{const _0x2f85f4=_0x35576c;_0x17e4de[_0x2f85f4(0x194)](_0x2f85f4(0x177),_0x53e281);});}[_0x324857(0x17b)](){const _0x413ab8=_0x324857,_0x5a094e=this[_0x413ab8(0x16e)][_0x413ab8(0x192)][_0x413ab8(0x175)](_0x413ab8(0x184))||{},_0x46508d=this[_0x413ab8(0x16e)][_0x413ab8(0x192)][_0x413ab8(0x175)](_0x413ab8(0x198))||'';this[_0x413ab8(0x182)]=_0x2d6d5e(_0x4ca7e8[_0x413ab8(0x189)],_0x413ab8(0x17d),{..._0x5a094e,'pubkey':_0x46508d,'ctx-name':_0x413ab8(0x17c)+this[_0x413ab8(0x167)],'sourceList':'','imgOnly':_0x413ab8(0x196),'removeCopyright':_0x413ab8(0x196),'localeName':this[_0x413ab8(0x16e)][_0x413ab8(0x1ae)][_0x413ab8(0x162)],'externalSourcesEmbedCss':_0x413ab8(0x178)}),this[_0x413ab8(0x182)][_0x413ab8(0x1a1)]=_0x459f05=>{const _0x204e96=_0x413ab8;if(_0x204e96(0x1a3)==_0x459f05)return _0x204e96(0x161);},_0x4ca7e8[_0x413ab8(0x189)][_0x413ab8(0x180)][_0x413ab8(0x1a5)](this[_0x413ab8(0x182)]);}[_0x324857(0x1ab)](){const _0x58d935=_0x324857;this[_0x58d935(0x188)]=_0x2d6d5e(_0x4ca7e8[_0x58d935(0x189)],_0x58d935(0x170),{'ctx-name':_0x58d935(0x17c)+this[_0x58d935(0x167)]}),_0x4ca7e8[_0x58d935(0x189)][_0x58d935(0x180)][_0x58d935(0x1a5)](this[_0x58d935(0x188)]);}[_0x324857(0x18d)](){const _0x9f97f8=_0x324857,_0x4c5ef6=this[_0x9f97f8(0x16e)][_0x9f97f8(0x1a0)][_0x9f97f8(0x175)](_0x9f97f8(0x1b2));_0x4c5ef6&&this[_0x9f97f8(0x166)](_0x4c5ef6,_0x9f97f8(0x193),()=>{const _0x3a73ee=_0x9f97f8,_0x9e1baa=this[_0x3a73ee(0x16e)][_0x3a73ee(0x183)][_0x3a73ee(0x189)][_0x3a73ee(0x165)][_0x3a73ee(0x18e)]();_0x9e1baa&&_0x9e1baa[_0x3a73ee(0x1ac)](_0x3a73ee(0x177))&&this[_0x3a73ee(0x16e)][_0x3a73ee(0x176)][_0x3a73ee(0x18b)][_0x3a73ee(0x16b)](_0x3a73ee(0x1a7),()=>{const _0x4ea64a=_0x3a73ee;_0x5caf40(this[_0x4ea64a(0x16e)],_0x9e1baa);});});const _0x2ad1c0=this[_0x9f97f8(0x16e)][_0x9f97f8(0x1a0)][_0x9f97f8(0x175)](_0x9f97f8(0x1a6));_0x2ad1c0&&this[_0x9f97f8(0x166)](_0x2ad1c0,_0x9f97f8(0x193),()=>{const _0x435bed=_0x9f97f8,_0xc31f71=this[_0x435bed(0x16e)][_0x435bed(0x183)][_0x435bed(0x189)][_0x435bed(0x165)][_0x435bed(0x18e)]();_0xc31f71&&_0xc31f71[_0x435bed(0x1ac)](_0x435bed(0x177))&&this[_0x435bed(0x16e)][_0x435bed(0x176)][_0x435bed(0x18b)][_0x435bed(0x16b)](_0x435bed(0x1a7),()=>{const _0x1b32ab=_0x435bed;_0x5caf40(this[_0x1b32ab(0x16e)],_0xc31f71);});});}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{global as _0x4b7548,ObservableMixin as _0x397d57}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x449390}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x3f358e}from'ckeditor5/src/icons.js';import{UploadcareImageEditFormView as _0x49a226}from'./uploadcareimageeditformview.js';import{UploadUtils as _0x3adfe9}from'../../utils/uploadutils.js';import{getImageUrls as _0x807d8c,getImageDimension as _0x1665bf}from'../../utils/editingutils.js';import{isAncestor as _0xe213ee}from'../../utils/isancestor.js';export class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
24
- _0x397d57(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x1ee991,_0x19e1bf,_0x185bdd){super(),this['_editor']=_0x1ee991,this['_dialog']=_0x19e1bf,this['_imageElement']=_0x185bdd,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 _0x176e26=this['_imageElement'],_0x14a72b=_0x176e26['getAttribute']('uploadcareImageId'),_0x2a909c=_0x176e26['getAttribute']('src');if(_0x14a72b)await this['_loadImageInfo'](_0x14a72b,_0x2a909c);else{if(this['_imageCache']['has'](_0x2a909c)){const _0x2bd330=this['_imageCache']['get'](_0x2a909c);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x2bd330['url'],this['imageDimension']=_0x2bd330['dimension'],this['imageId']=_0x2bd330['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x95fe71}=this['_editor'],t=_0x95fe71['t'],_0x1c08bf=new _0x49a226(_0x95fe71,this['imageStatus'],this['_attributes']);_0x1c08bf['bind']('status')['to'](this,'imageStatus'),_0x1c08bf['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x1c08bf['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x1c08bf['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x1c08bf,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x3f358e,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x1c08bf,'position':_0x449390['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x1c08bf['focus']();},'onHide':()=>{_0x1c08bf['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x5341a7=>!_0xe213ee(_0x5341a7,_0x1c08bf['element'])}});}['_loadImageInfo'](_0x7ec6a1,_0x20c0c3){return _0x3adfe9['getInfo'](_0x7ec6a1,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x2819e8=>{const {width:_0x52a419,height:_0x228703}=_0x2819e8['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x20c0c3,this['imageDimension']={'width':_0x52a419,'height':_0x228703},this['imageId']=_0x7ec6a1;})['catch'](_0x2b2bb1=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x2b2bb1['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x1d178a,_0x26032c){return this['_getImageAsFile'](_0x1d178a)['then'](_0x24cd45=>_0x3adfe9['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':_0x26032c['signal'],'file':_0x24cd45,'onProgress':_0x540956=>{_0x540956&&_0x540956['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x540956['value']));}}))['then'](_0x3f3bb4=>{const {width:_0x175cf3,height:_0x41bfda}=_0x3f3bb4['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x3f3bb4['cdnUrl'],this['imageDimension']={'width':_0x175cf3,'height':_0x41bfda},this['imageId']=_0x3f3bb4['uuid'],this['imageUploadProgress']=null;const _0x4810f1=_0x1d178a['getAttribute']('src');this['_imageCache']['set'](_0x4810f1,{'id':_0x3f3bb4['uuid'],'url':_0x3f3bb4['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0xcca6e0=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0xcca6e0['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0xb2d87e,_0x281122){_0xb2d87e['on']('apply',(_0x547ac3,_0x1ada1e)=>{this['_replaceImage'](_0x281122,_0x1ada1e['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0xb2d87e['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0xb2d87e['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x26a919,_0xe6d3b3,_0xb59b62){const _0x422548=this['_editor'],{width:_0x58c9f6,height:_0x4b69e9}=_0x1665bf(_0xe6d3b3,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x27b7a9,imageSources:_0x3c7f08}=_0x807d8c(_0xe6d3b3,_0x58c9f6);_0x422548['model']['change'](_0x533249=>{if('$graveyard'===_0x26a919['root']['rootName']){_0x422548['execute']('insertImage',{'imageType':_0x26a919['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x26a919['getAttributes']()),'uploadcareImageId':_0xb59b62,'src':_0x27b7a9,'sources':_0x3c7f08,'width':_0x58c9f6,'height':_0x4b69e9}});const _0x2d8992=_0x26a919['getChildren']();_0x26a919=_0x422548['model']['document']['selection']['getSelectedElement']();for(const _0xbf2ef5 of _0x2d8992)_0x533249['append'](_0x533249['cloneElement'](_0xbf2ef5),_0x26a919);}else _0x533249['setSelection'](_0x26a919,'on'),_0x422548['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x26a919['getAttributes']()),'uploadcareImageId':_0xb59b62,'src':_0x27b7a9,'sources':_0x3c7f08,'width':_0x58c9f6,'height':_0x4b69e9},_0x26a919);_0x533249['setSelection'](_0x26a919,'on');});}async['_getImageAsFile'](_0x219fc5){const _0x3507f6=_0x4b7548['window'],_0x214c6a=_0x4b7548['document']['location']['href'],_0x565a7a=new _0x3507f6['URL'](_0x219fc5['getAttribute']('src'),_0x214c6a);if('data:'===_0x565a7a['protocol']){const _0x131dfa=_0x565a7a['href']['split'](','),_0x322f97=_0x131dfa[0x0]['match'](/:(.*?);/)[0x1],_0x5cba4d=_0x322f97['split']('/')[0x1],_0xd50a27=_0x3507f6['atob'](_0x131dfa[_0x131dfa['length']-0x1]);let _0x15ec85=_0xd50a27['length'];const _0x33d51c=new _0x3507f6['Uint8Array'](_0x15ec85);for(;_0x15ec85--;)_0x33d51c[_0x15ec85]=_0xd50a27['charCodeAt'](_0x15ec85);return new _0x3507f6['File']([_0x33d51c],'image.'+_0x5cba4d,{'type':_0x322f97});}const _0x1f378b=_0x565a7a['href']['split']('/'),_0x2ca72a=_0x1f378b[_0x1f378b['length']-0x1],_0x4c1157=_0x2ca72a['split']('.')[0x1];return _0x3507f6['fetch'](_0x565a7a['href'])['then'](_0x18dd94=>_0x18dd94['clone']()['blob']())['then'](_0x40bbd2=>new _0x3507f6['File']([_0x40bbd2],_0x2ca72a,{'type':'image/'+_0x4c1157}));}}
23
+ import{global as _0x362720,ObservableMixin as _0x2c49a}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x3292bd}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x270d3b}from'ckeditor5/src/icons.js';import{UploadcareImageEditFormView as _0x50aa11}from'./uploadcareimageeditformview.js';import{UploadUtils as _0x3f664a}from'../../utils/uploadutils.js';import{getImageUrls as _0x2515a2,getImageDimension as _0x4a2f45}from'../../utils/editingutils.js';import{isAncestor as _0xb29654}from'../../utils/isancestor.js';export class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
24
+ _0x2c49a(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x3faf63,_0x21e474,_0x4252b9){super(),this['_editor']=_0x3faf63,this['_dialog']=_0x21e474,this['_imageElement']=_0x4252b9,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 _0x472cb4=this['_imageElement'],_0xad275e=_0x472cb4['getAttribute']('uploadcareImageId'),_0x5e231e=_0x472cb4['getAttribute']('src');if(_0xad275e)await this['_loadImageInfo'](_0xad275e,_0x5e231e);else{if(this['_imageCache']['has'](_0x5e231e)){const _0x1957b=this['_imageCache']['get'](_0x5e231e);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x1957b['url'],this['imageDimension']=_0x1957b['dimension'],this['imageId']=_0x1957b['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x5d85f6}=this['_editor'],t=_0x5d85f6['t'],_0x21da8a=new _0x50aa11(_0x5d85f6,this['imageStatus'],this['_attributes']);_0x21da8a['bind']('status')['to'](this,'imageStatus'),_0x21da8a['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x21da8a['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x21da8a['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x21da8a,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x270d3b,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x21da8a,'position':_0x3292bd['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x21da8a['focus']();},'onHide':()=>{_0x21da8a['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x596915=>!_0xb29654(_0x596915,_0x21da8a['element'])}});}['_loadImageInfo'](_0x24ac3b,_0x26778f){return _0x3f664a['getInfo'](_0x24ac3b,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x225ea2=>{const {width:_0x3cf773,height:_0x2b6c60}=_0x225ea2['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x26778f,this['imageDimension']={'width':_0x3cf773,'height':_0x2b6c60},this['imageId']=_0x24ac3b;})['catch'](_0x3ce662=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x3ce662['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x29ff32,_0x4aad90){return this['_getImageAsFile'](_0x29ff32)['then'](_0x221192=>_0x3f664a['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':_0x4aad90['signal'],'file':_0x221192,'onProgress':_0x39b673=>{_0x39b673&&_0x39b673['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x39b673['value']));}}))['then'](_0x4cbbbc=>{const {width:_0x526bc8,height:_0xb61b13}=_0x4cbbbc['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x4cbbbc['cdnUrl'],this['imageDimension']={'width':_0x526bc8,'height':_0xb61b13},this['imageId']=_0x4cbbbc['uuid'],this['imageUploadProgress']=null;const _0x2e69ae=_0x29ff32['getAttribute']('src');this['_imageCache']['set'](_0x2e69ae,{'id':_0x4cbbbc['uuid'],'url':_0x4cbbbc['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x3c63ab=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x3c63ab['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x401e7a,_0x22ee0f){_0x401e7a['on']('apply',(_0x22bff5,_0x50b9e7)=>{this['_replaceImage'](_0x22ee0f,_0x50b9e7['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x401e7a['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x401e7a['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x4857b8,_0x5672ea,_0x3c2085){const _0x36b7f7=this['_editor'],{width:_0x151f9c,height:_0x24a16e}=_0x4a2f45(_0x5672ea,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x1e112b,imageSources:_0x29dec9}=_0x2515a2(_0x5672ea,_0x151f9c);_0x36b7f7['model']['change'](_0x317743=>{if('$graveyard'===_0x4857b8['root']['rootName']){_0x36b7f7['execute']('insertImage',{'imageType':_0x4857b8['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x4857b8['getAttributes']()),'uploadcareImageId':_0x3c2085,'src':_0x1e112b,'sources':_0x29dec9,'width':_0x151f9c,'height':_0x24a16e}});const _0x2592ed=_0x4857b8['getChildren']();_0x4857b8=_0x36b7f7['model']['document']['selection']['getSelectedElement']();for(const _0x226ba5 of _0x2592ed)_0x317743['append'](_0x317743['cloneElement'](_0x226ba5),_0x4857b8);}else _0x317743['setSelection'](_0x4857b8,'on'),_0x36b7f7['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x4857b8['getAttributes']()),'uploadcareImageId':_0x3c2085,'src':_0x1e112b,'sources':_0x29dec9,'width':_0x151f9c,'height':_0x24a16e},_0x4857b8);_0x317743['setSelection'](_0x4857b8,'on');});}async['_getImageAsFile'](_0x276030){const _0x2010be=_0x362720['window'],_0x463b16=_0x362720['document']['location']['href'],_0x52f471=new _0x2010be['URL'](_0x276030['getAttribute']('src'),_0x463b16);if('data:'===_0x52f471['protocol']){const _0x2bebb3=_0x52f471['href']['split'](','),_0x36f070=_0x2bebb3[0x0]['match'](/:(.*?);/)[0x1],_0x127da6=_0x36f070['split']('/')[0x1],_0x20d461=_0x2010be['atob'](_0x2bebb3[_0x2bebb3['length']-0x1]);let _0x2e8100=_0x20d461['length'];const _0x5ab03f=new _0x2010be['Uint8Array'](_0x2e8100);for(;_0x2e8100--;)_0x5ab03f[_0x2e8100]=_0x20d461['charCodeAt'](_0x2e8100);return new _0x2010be['File']([_0x5ab03f],'image.'+_0x127da6,{'type':_0x36f070});}const _0x51bc4d=_0x52f471['href']['split']('/'),_0x2a032f=_0x51bc4d[_0x51bc4d['length']-0x1],_0x56ef5b=_0x2a032f['split']('.')[0x1];return _0x2010be['fetch'](_0x52f471['href'])['then'](_0x1c7027=>_0x1c7027['clone']()['blob']())['then'](_0x48b66d=>new _0x2010be['File']([_0x48b66d],_0x2a032f,{'type':'image/'+_0x56ef5b}));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x3375(_0x4d54fa,_0x865dd8){const _0x13f637=_0x13f6();return _0x3375=function(_0x337526,_0x1d0e5d){_0x337526=_0x337526-0x1dd;let _0x54b72a=_0x13f637[_0x337526];return _0x54b72a;},_0x3375(_0x4d54fa,_0x865dd8);}(function(_0xfbb19c,_0x36fdd7){const _0x3fe132=_0x3375,_0x2d9394=_0xfbb19c();while(!![]){try{const _0x343602=-parseInt(_0x3fe132(0x1e6))/0x1+parseInt(_0x3fe132(0x1ee))/0x2*(parseInt(_0x3fe132(0x1e3))/0x3)+parseInt(_0x3fe132(0x1eb))/0x4*(parseInt(_0x3fe132(0x1ea))/0x5)+-parseInt(_0x3fe132(0x1e9))/0x6*(parseInt(_0x3fe132(0x1ef))/0x7)+-parseInt(_0x3fe132(0x1e7))/0x8*(parseInt(_0x3fe132(0x1e2))/0x9)+parseInt(_0x3fe132(0x1e4))/0xa*(parseInt(_0x3fe132(0x1e5))/0xb)+-parseInt(_0x3fe132(0x1f0))/0xc;if(_0x343602===_0x36fdd7)break;else _0x2d9394['push'](_0x2d9394['shift']());}catch(_0x6f7a82){_0x2d9394['push'](_0x2d9394['shift']());}}}(_0x13f6,0x5beee));function _0x13f6(){const _0x356ac4=['705228DMvrIu','2963465mAGtmi','4LRLthT','imageSrc','uc-cloud-image-editor','8608xvmutD','14HgAJNm','5720508LeknnB','image-edit','ck-uploadcare-theme','set','bindTemplate','uc-light','7164lVATWD','339aKgrrd','500djENLp','45760DCWQGg','61790KCsFLN','1376jzWMsN','setTemplate'];_0x13f6=function(){return _0x356ac4;};return _0x13f6();}import{View as _0x4ca0c3}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormEditingView extends _0x4ca0c3{constructor(_0x23bad0,_0x126657){const _0x5e57fe=_0x3375;super(_0x23bad0);const _0x13932c=this[_0x5e57fe(0x1e0)];this[_0x5e57fe(0x1df)](_0x5e57fe(0x1ec),''),this[_0x5e57fe(0x1e8)]({'tag':_0x5e57fe(0x1ed),'attributes':{..._0x126657,'class':[_0x5e57fe(0x1e1),_0x5e57fe(0x1de)],'ctx-name':_0x5e57fe(0x1dd),'cdn-url':_0x13932c['to'](_0x5e57fe(0x1ec))}});}}
23
+ (function(_0x448413,_0x28e36e){const _0x28117f=_0x5611,_0xdf7f81=_0x448413();while(!![]){try{const _0x2b5886=-parseInt(_0x28117f(0x1b5))/0x1*(parseInt(_0x28117f(0x1b7))/0x2)+-parseInt(_0x28117f(0x1ab))/0x3*(-parseInt(_0x28117f(0x1aa))/0x4)+parseInt(_0x28117f(0x1b4))/0x5*(-parseInt(_0x28117f(0x1bb))/0x6)+parseInt(_0x28117f(0x1ae))/0x7+parseInt(_0x28117f(0x1ac))/0x8*(parseInt(_0x28117f(0x1ad))/0x9)+-parseInt(_0x28117f(0x1b9))/0xa*(-parseInt(_0x28117f(0x1bc))/0xb)+-parseInt(_0x28117f(0x1a9))/0xc*(parseInt(_0x28117f(0x1b8))/0xd);if(_0x2b5886===_0x28e36e)break;else _0xdf7f81['push'](_0xdf7f81['shift']());}catch(_0x5635db){_0xdf7f81['push'](_0xdf7f81['shift']());}}}(_0x5d6e,0xc1f3c));function _0x5d6e(){const _0x230968=['imageSrc','5213814qthVQw','66913ilLgBO','image-edit','772188RZPPPJ','1108PFOpTz','12333FPyRJQ','104EvsFzV','890766iZVNWg','1578710XoWvRC','uc-light','set','setTemplate','bindTemplate','ck-uploadcare-theme','5eoiHWz','14bdSJgQ','uc-cloud-image-editor','19066cVJxMr','481BxDTcC','2510ieNxsh'];_0x5d6e=function(){return _0x230968;};return _0x5d6e();}import{View as _0x45596e}from'ckeditor5/src/ui.js';function _0x5611(_0x19c33e,_0x1d7d42){const _0x5d6ee2=_0x5d6e();return _0x5611=function(_0x5611dd,_0x5ce1a6){_0x5611dd=_0x5611dd-0x1a8;let _0x4d3f0c=_0x5d6ee2[_0x5611dd];return _0x4d3f0c;},_0x5611(_0x19c33e,_0x1d7d42);}export class UploadcareImageEditFormEditingView extends _0x45596e{constructor(_0x38bebb,_0x1e5d62){const _0x4994c4=_0x5611;super(_0x38bebb);const _0x2391c8=this[_0x4994c4(0x1b2)];this[_0x4994c4(0x1b0)](_0x4994c4(0x1ba),''),this[_0x4994c4(0x1b1)]({'tag':_0x4994c4(0x1b6),'attributes':{..._0x1e5d62,'class':[_0x4994c4(0x1af),_0x4994c4(0x1b3)],'ctx-name':_0x4994c4(0x1a8),'cdn-url':_0x2391c8['to'](_0x4994c4(0x1ba))}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{IconError as _0x97fc0e}from'ckeditor5/src/icons.js';import{ButtonView as _0x3cb057,IconView as _0x275152,View as _0x409daf}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormErrorView extends _0x409daf{constructor(_0x4b0ba5){super(_0x4b0ba5);const t=_0x4b0ba5['t'];this['set']('errorType',null);const _0x36c2b5=new _0x3cb057(_0x4b0ba5);_0x36c2b5['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x36c2b5['withText']=!0x0,_0x36c2b5['class']='ck-button-action',_0x36c2b5['on']('execute',()=>{this['fire']('retry');}),_0x36c2b5['bind']('isVisible')['to'](this,'errorType',_0x546c3b=>'NotFound'!==_0x546c3b);const _0x59382c=new _0x275152();_0x59382c['content']=_0x97fc0e,_0x59382c['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x1afc45=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':[_0x59382c,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x1afc45['to']('errorType',_0x170c5a=>t('NotFound'!==_0x170c5a?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x36c2b5]},{'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 _0x12ce90}from'ckeditor5/src/icons.js';import{ButtonView as _0x23fe36,IconView as _0x38b111,View as _0x24455a}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormErrorView extends _0x24455a{constructor(_0xa23951){super(_0xa23951);const t=_0xa23951['t'];this['set']('errorType',null);const _0x489458=new _0x23fe36(_0xa23951);_0x489458['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x489458['withText']=!0x0,_0x489458['class']='ck-button-action',_0x489458['on']('execute',()=>{this['fire']('retry');}),_0x489458['bind']('isVisible')['to'](this,'errorType',_0x458c44=>'NotFound'!==_0x458c44);const _0x50887c=new _0x38b111();_0x50887c['content']=_0x12ce90,_0x50887c['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x3adf9d=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':[_0x50887c,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x3adf9d['to']('errorType',_0x3b8392=>t('NotFound'!==_0x3b8392?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x489458]},{'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 _0x4a1263,View as _0x5d1e74}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x5d1e74{constructor(_0x1f6e8d){super(_0x1f6e8d);const t=_0x1f6e8d['t'],_0x4180a4=this['bindTemplate'],_0x30d3ac=new _0x4a1263();_0x30d3ac['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':[_0x30d3ac,{'text':_0x4180a4['to']('imageUploadProgress',_0xb2e3ac=>t('Loading\x20image...')+'\x20('+(_0xb2e3ac||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 _0x2de7c5,View as _0x4481b7}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x4481b7{constructor(_0xbd99c3){super(_0xbd99c3);const t=_0xbd99c3['t'],_0x519658=this['bindTemplate'],_0x4b3c8e=new _0x2de7c5();_0x4b3c8e['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':[_0x4b3c8e,{'text':_0x519658['to']('imageUploadProgress',_0x5c27a3=>t('Loading\x20image...')+'\x20('+(_0x5c27a3||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 _0x1c459b=_0x2c67;function _0x58f5(){const _0x5b5bc0=['filter','set','addMany','clear','disconnect','apply','252rVpxKI','20APvFYw','toLowerCase','27114nYIVIV','render','5FROZDV','15476512cbDHjH','_setView','target','observe','119tCaObh','detail','ready','_waitForImageEditorComponent','_addErrorViewListeners','addedNodes','nodeName','div','_focusableView','uploading','createCollection','6557348SZyQun','ck-reset_all-excluded','error','fire','cancel','_editingView','once','6980ecgREh','542529HYfHoR','_items','element','_loadingView','add','addEventListener','_errorView','change:status','10757982ohZlQo','length','status','focus','ck-uploadcare-form','_addUploadcareImageEditorListeners','22189233JvYQkT','uc-cloud-image-editor','setTemplate','getFocusableElement','querySelector','retry','cdnUrl'];_0x58f5=function(){return _0x5b5bc0;};return _0x58f5();}(function(_0x4e304c,_0x590281){const _0x135a9c=_0x2c67,_0x59f4be=_0x4e304c();while(!![]){try{const _0x2cedd8=parseInt(_0x135a9c(0x15e))/0x1*(-parseInt(_0x135a9c(0x138))/0x2)+-parseInt(_0x135a9c(0x157))/0x3*(-parseInt(_0x135a9c(0x154))/0x4)+-parseInt(_0x135a9c(0x159))/0x5*(-parseInt(_0x135a9c(0x141))/0x6)+-parseInt(_0x135a9c(0x131))/0x7+-parseInt(_0x135a9c(0x15a))/0x8+parseInt(_0x135a9c(0x139))/0x9*(-parseInt(_0x135a9c(0x155))/0xa)+parseInt(_0x135a9c(0x147))/0xb;if(_0x2cedd8===_0x590281)break;else _0x59f4be['push'](_0x59f4be['shift']());}catch(_0x373ba){_0x59f4be['push'](_0x59f4be['shift']());}}}(_0x58f5,0xed66a));import{View as _0x228bd6}from'ckeditor5/src/ui.js';import{UploadcareImageEditFormLoadingView as _0x3bd8bb}from'./uploadcareimageeditformloadingview.js';import{UploadcareImageEditFormErrorView as _0x5a86d2}from'./uploadcareimageeditformerrorview.js';import{UploadcareImageEditFormEditingView as _0x187356}from'./uploadcareimageeditformeditingview.js';import{DialogFocusManagerView as _0x449b7c}from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';function _0x2c67(_0x5d2bc2,_0x1b3eb6){const _0x58f5be=_0x58f5();return _0x2c67=function(_0x2c67da,_0x91ceab){_0x2c67da=_0x2c67da-0x12e;let _0x58128d=_0x58f5be[_0x2c67da];return _0x58128d;},_0x2c67(_0x5d2bc2,_0x1b3eb6);}export class UploadcareImageEditFormView extends _0x449b7c{[_0x1c459b(0x13a)];[_0x1c459b(0x13c)];[_0x1c459b(0x13f)];[_0x1c459b(0x136)];[_0x1c459b(0x12e)];constructor(_0x30b8b9,_0x5e9c2c,_0x550992){const _0x520473=_0x1c459b;super(_0x30b8b9),this[_0x520473(0x13a)]=this[_0x520473(0x130)](),this[_0x520473(0x13c)]=new _0x3bd8bb(_0x30b8b9),this[_0x520473(0x13f)]=new _0x5a86d2(_0x30b8b9),this[_0x520473(0x136)]=new _0x187356(_0x30b8b9,_0x550992),this[_0x520473(0x12e)]=new _0x228bd6(_0x30b8b9),this[_0x520473(0x12e)][_0x520473(0x149)](this[_0x520473(0x14a)]()),this[_0x520473(0x14f)](_0x520473(0x143),_0x5e9c2c),this[_0x520473(0x149)]({'tag':_0x520473(0x165),'attributes':{'class':['ck',_0x520473(0x132),_0x520473(0x145)],'tabindex':'-1'},'children':this[_0x520473(0x13a)]}),this[_0x520473(0x15b)](),this[_0x520473(0x137)](_0x520473(0x158),()=>{const _0x41587c=_0x520473;this[_0x41587c(0x161)](this[_0x41587c(0x13b)],_0x44b67c=>{const _0x1bf057=_0x41587c;this[_0x1bf057(0x146)](_0x44b67c);});}),this['on'](_0x520473(0x140),()=>{const _0x9fa83a=_0x520473;this[_0x9fa83a(0x15b)]();}),this[_0x520473(0x162)]();}[_0x1c459b(0x144)](){const _0x2f423f=_0x1c459b;this[_0x2f423f(0x13b)][_0x2f423f(0x144)]();}[_0x1c459b(0x15b)](){const _0x162a83=_0x1c459b;switch(this[_0x162a83(0x13a)][_0x162a83(0x151)](),this[_0x162a83(0x143)]){case _0x162a83(0x12f):this[_0x162a83(0x13a)][_0x162a83(0x13d)](this[_0x162a83(0x13c)]);break;case _0x162a83(0x133):this[_0x162a83(0x13a)][_0x162a83(0x13d)](this[_0x162a83(0x13f)]);break;case _0x162a83(0x160):this[_0x162a83(0x13a)][_0x162a83(0x150)]([this[_0x162a83(0x136)],this[_0x162a83(0x12e)]]);}}[_0x1c459b(0x161)](_0x1a298d,_0x59521f){const _0x523576=_0x1c459b,_0x444903=_0x523576(0x148),_0x5abe7e=_0x1a298d[_0x523576(0x14b)](_0x444903);if(_0x5abe7e)return _0x59521f(_0x5abe7e);const _0x46eaee=new MutationObserver(_0x159a0d=>{const _0x2a1bac=_0x523576,_0x153828=_0x159a0d[_0x2a1bac(0x14e)](_0x3c197e=>_0x3c197e[_0x2a1bac(0x15c)]===_0x1a298d&&_0x3c197e[_0x2a1bac(0x163)][_0x2a1bac(0x142)]>0x0&&_0x3c197e[_0x2a1bac(0x163)][0x0][_0x2a1bac(0x164)][_0x2a1bac(0x156)]()===_0x444903);_0x153828[_0x2a1bac(0x142)]&&(_0x46eaee[_0x2a1bac(0x152)](),_0x59521f(_0x153828[0x0][_0x2a1bac(0x163)][0x0]));});_0x46eaee[_0x523576(0x15d)](_0x1a298d,{'childList':!0x0,'subtree':!0x0});}[_0x1c459b(0x146)](_0x14cd7f){const _0x4e13a5=_0x1c459b;_0x14cd7f[_0x4e13a5(0x13e)](_0x4e13a5(0x153),_0x31dba8=>{const _0x3e76e0=_0x4e13a5;this[_0x3e76e0(0x134)](_0x3e76e0(0x153),{'imageSrc':_0x31dba8[_0x3e76e0(0x15f)][_0x3e76e0(0x14d)]});}),_0x14cd7f[_0x4e13a5(0x13e)](_0x4e13a5(0x135),()=>{const _0x53a754=_0x4e13a5;this[_0x53a754(0x134)](_0x53a754(0x135));});}[_0x1c459b(0x162)](){const _0x332f95=_0x1c459b;this[_0x332f95(0x13f)]['on'](_0x332f95(0x14c),()=>{const _0x23210d=_0x332f95;this[_0x23210d(0x134)](_0x23210d(0x14c));});}}
23
+ const _0x1e76b2=_0x5a52;function _0x5a52(_0x2fe96c,_0x5f29ae){const _0x2fdd9d=_0x2fdd();return _0x5a52=function(_0x5a52ba,_0x5a78ff){_0x5a52ba=_0x5a52ba-0x1ab;let _0x2aba72=_0x2fdd9d[_0x5a52ba];return _0x2aba72;},_0x5a52(_0x2fe96c,_0x5f29ae);}function _0x2fdd(){const _0x3e7d0f=['3121062joxsTZ','uploading','uc-cloud-image-editor','631540AHVjSM','createCollection','getFocusableElement','ck-reset_all-excluded','nodeName','once','apply','_addErrorViewListeners','93486qRQDqc','27dOLymr','clear','3378048PHZTuK','add','_errorView','retry','element','342632lRbqns','1171100oLbjWH','2721110wowUVH','_setView','filter','_editingView','detail','focus','ready','querySelector','_focusableView','addMany','render','fire','error','ck-uploadcare-form','observe','status','target','toLowerCase','change:status','length','setTemplate','set','cancel','div','addEventListener','_waitForImageEditorComponent','_addUploadcareImageEditorListeners','_items','addedNodes','disconnect','_loadingView','cdnUrl'];_0x2fdd=function(){return _0x3e7d0f;};return _0x2fdd();}(function(_0x1a11da,_0x4f0c8a){const _0x557b53=_0x5a52,_0x1e4472=_0x1a11da();while(!![]){try{const _0x1c81c1=parseInt(_0x557b53(0x1b9))/0x1+parseInt(_0x557b53(0x1c1))/0x2*(parseInt(_0x557b53(0x1c2))/0x3)+-parseInt(_0x557b53(0x1c4))/0x4+parseInt(_0x557b53(0x1cb))/0x5+-parseInt(_0x557b53(0x1b6))/0x6+parseInt(_0x557b53(0x1ca))/0x7+parseInt(_0x557b53(0x1c9))/0x8;if(_0x1c81c1===_0x4f0c8a)break;else _0x1e4472['push'](_0x1e4472['shift']());}catch(_0x301b1e){_0x1e4472['push'](_0x1e4472['shift']());}}}(_0x2fdd,0x6be21));import{View as _0x38f11d}from'ckeditor5/src/ui.js';import{UploadcareImageEditFormLoadingView as _0x505091}from'./uploadcareimageeditformloadingview.js';import{UploadcareImageEditFormErrorView as _0x3f398e}from'./uploadcareimageeditformerrorview.js';import{UploadcareImageEditFormEditingView as _0x24fbb2}from'./uploadcareimageeditformeditingview.js';import{DialogFocusManagerView as _0x326590}from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export class UploadcareImageEditFormView extends _0x326590{[_0x1e76b2(0x1b1)];[_0x1e76b2(0x1b4)];[_0x1e76b2(0x1c6)];[_0x1e76b2(0x1ce)];[_0x1e76b2(0x1d3)];constructor(_0x104dab,_0x189b9b,_0x420394){const _0x5b7471=_0x1e76b2;super(_0x104dab),this[_0x5b7471(0x1b1)]=this[_0x5b7471(0x1ba)](),this[_0x5b7471(0x1b4)]=new _0x505091(_0x104dab),this[_0x5b7471(0x1c6)]=new _0x3f398e(_0x104dab),this[_0x5b7471(0x1ce)]=new _0x24fbb2(_0x104dab,_0x420394),this[_0x5b7471(0x1d3)]=new _0x38f11d(_0x104dab),this[_0x5b7471(0x1d3)][_0x5b7471(0x1df)](this[_0x5b7471(0x1bb)]()),this[_0x5b7471(0x1ab)](_0x5b7471(0x1da),_0x189b9b),this[_0x5b7471(0x1df)]({'tag':_0x5b7471(0x1ad),'attributes':{'class':['ck',_0x5b7471(0x1bc),_0x5b7471(0x1d8)],'tabindex':'-1'},'children':this[_0x5b7471(0x1b1)]}),this[_0x5b7471(0x1cc)](),this[_0x5b7471(0x1be)](_0x5b7471(0x1d5),()=>{const _0x3bb27c=_0x5b7471;this[_0x3bb27c(0x1af)](this[_0x3bb27c(0x1c8)],_0x5c727b=>{const _0x34b31a=_0x3bb27c;this[_0x34b31a(0x1b0)](_0x5c727b);});}),this['on'](_0x5b7471(0x1dd),()=>{const _0x155c1f=_0x5b7471;this[_0x155c1f(0x1cc)]();}),this[_0x5b7471(0x1c0)]();}[_0x1e76b2(0x1d0)](){const _0x48919f=_0x1e76b2;this[_0x48919f(0x1c8)][_0x48919f(0x1d0)]();}[_0x1e76b2(0x1cc)](){const _0xd4fd91=_0x1e76b2;switch(this[_0xd4fd91(0x1b1)][_0xd4fd91(0x1c3)](),this[_0xd4fd91(0x1da)]){case _0xd4fd91(0x1b7):this[_0xd4fd91(0x1b1)][_0xd4fd91(0x1c5)](this[_0xd4fd91(0x1b4)]);break;case _0xd4fd91(0x1d7):this[_0xd4fd91(0x1b1)][_0xd4fd91(0x1c5)](this[_0xd4fd91(0x1c6)]);break;case _0xd4fd91(0x1d1):this[_0xd4fd91(0x1b1)][_0xd4fd91(0x1d4)]([this[_0xd4fd91(0x1ce)],this[_0xd4fd91(0x1d3)]]);}}[_0x1e76b2(0x1af)](_0x3bf359,_0xb8aa16){const _0x4923b2=_0x1e76b2,_0x5bd676=_0x4923b2(0x1b8),_0xfd08f3=_0x3bf359[_0x4923b2(0x1d2)](_0x5bd676);if(_0xfd08f3)return _0xb8aa16(_0xfd08f3);const _0x331b61=new MutationObserver(_0x4dcb78=>{const _0x439b9c=_0x4923b2,_0x4f1a9b=_0x4dcb78[_0x439b9c(0x1cd)](_0x265423=>_0x265423[_0x439b9c(0x1db)]===_0x3bf359&&_0x265423[_0x439b9c(0x1b2)][_0x439b9c(0x1de)]>0x0&&_0x265423[_0x439b9c(0x1b2)][0x0][_0x439b9c(0x1bd)][_0x439b9c(0x1dc)]()===_0x5bd676);_0x4f1a9b[_0x439b9c(0x1de)]&&(_0x331b61[_0x439b9c(0x1b3)](),_0xb8aa16(_0x4f1a9b[0x0][_0x439b9c(0x1b2)][0x0]));});_0x331b61[_0x4923b2(0x1d9)](_0x3bf359,{'childList':!0x0,'subtree':!0x0});}[_0x1e76b2(0x1b0)](_0x18b211){const _0x3c1021=_0x1e76b2;_0x18b211[_0x3c1021(0x1ae)](_0x3c1021(0x1bf),_0x5dd23f=>{const _0x4af05d=_0x3c1021;this[_0x4af05d(0x1d6)](_0x4af05d(0x1bf),{'imageSrc':_0x5dd23f[_0x4af05d(0x1cf)][_0x4af05d(0x1b5)]});}),_0x18b211[_0x3c1021(0x1ae)](_0x3c1021(0x1ac),()=>{const _0x46bf46=_0x3c1021;this[_0x46bf46(0x1d6)](_0x46bf46(0x1ac));});}[_0x1e76b2(0x1c0)](){const _0x20c1b3=_0x1e76b2;this[_0x20c1b3(0x1c6)]['on'](_0x20c1b3(0x1c7),()=>{const _0x25b8a9=_0x20c1b3;this[_0x25b8a9(0x1d6)](_0x25b8a9(0x1c7));});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x2acd(){const _0x139594=['selection','4372236ceUQnW','2086528gtCCkc','682CjUixE','model','5338886gsFoXz','uploadcare.allowExternalImagesEditing','element','2174008SObjQa','editor','requires','imageInline','getSelectedElement','imageEditController','247134gPWPuy','isActive','1558125rlZQFB','imageBlock','isEnabled','refresh','document','unbind','get','1515GKaewI','config','execute','plugins','bind','set','_isEditable'];_0x2acd=function(){return _0x139594;};return _0x2acd();}const _0xe50f41=_0x47f4;function _0x47f4(_0x52192a,_0x6e087e){const _0x2acd26=_0x2acd();return _0x47f4=function(_0x47f40b,_0x4165df){_0x47f40b=_0x47f40b-0x7c;let _0x51dc5d=_0x2acd26[_0x47f40b];return _0x51dc5d;},_0x47f4(_0x52192a,_0x6e087e);}(function(_0x5bce5b,_0x28b990){const _0x44ae31=_0x47f4,_0x1a1e13=_0x5bce5b();while(!![]){try{const _0x2f1cf8=-parseInt(_0x44ae31(0x7d))/0x1+parseInt(_0x44ae31(0x90))/0x2*(parseInt(_0x44ae31(0x86))/0x3)+parseInt(_0x44ae31(0x8f))/0x4+parseInt(_0x44ae31(0x7f))/0x5+-parseInt(_0x44ae31(0x8e))/0x6+parseInt(_0x44ae31(0x92))/0x7+-parseInt(_0x44ae31(0x95))/0x8;if(_0x2f1cf8===_0x28b990)break;else _0x1a1e13['push'](_0x1a1e13['shift']());}catch(_0xc2e71f){_0x1a1e13['push'](_0x1a1e13['shift']());}}}(_0x2acd,0x7f179));import{Command as _0x563ca2}from'ckeditor5/src/core.js';import{Dialog as _0x2c0ec5}from'ckeditor5/src/ui.js';import{UploadcareImageEditController as _0x36a8ad}from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x4337a}from'../utils/editingutils.js';export class UploadcareImageEditCommand extends _0x563ca2{[_0xe50f41(0x7c)];static get[_0xe50f41(0x97)](){return[_0x2c0ec5];}[_0xe50f41(0x8c)];constructor(_0x403dca){const _0x2aefa8=_0xe50f41;super(_0x403dca),this[_0x2aefa8(0x7c)]=void 0x0,this[_0x2aefa8(0x8c)]=_0x4337a(_0x403dca[_0x2aefa8(0x87)][_0x2aefa8(0x85)](_0x2aefa8(0x93))||[]),this[_0x2aefa8(0x8b)]({'isActive':!0x1});}[_0xe50f41(0x82)](){const _0x197358=_0xe50f41,_0x5e6bc8=this[_0x197358(0x96)][_0x197358(0x91)][_0x197358(0x83)][_0x197358(0x8d)][_0x197358(0x99)]();this[_0x197358(0x81)]=this[_0x197358(0x8c)](_0x5e6bc8);}[_0xe50f41(0x88)](){const _0x110396=_0xe50f41;this[_0x110396(0x7c)]&&(this[_0x110396(0x84)](_0x110396(0x7e)),this[_0x110396(0x7c)]=void 0x0);const _0x515745=this[_0x110396(0x96)][_0x110396(0x91)][_0x110396(0x83)][_0x110396(0x8d)][_0x110396(0x99)]();_0x515745&&(_0x515745['is'](_0x110396(0x94),_0x110396(0x80))||_0x515745['is'](_0x110396(0x94),_0x110396(0x98)))&&(this[_0x110396(0x7c)]=new _0x36a8ad(this[_0x110396(0x96)],this[_0x110396(0x96)][_0x110396(0x89)][_0x110396(0x85)](_0x2c0ec5),_0x515745),this[_0x110396(0x8a)](_0x110396(0x7e))['to'](this[_0x110396(0x7c)],_0x110396(0x7e)));}}
23
+ const _0x5eed46=_0xaa3d;(function(_0x2c784b,_0x3ca9e7){const _0xeb1c59=_0xaa3d,_0x1d9caa=_0x2c784b();while(!![]){try{const _0x122ead=-parseInt(_0xeb1c59(0x1d4))/0x1*(-parseInt(_0xeb1c59(0x1d8))/0x2)+parseInt(_0xeb1c59(0x1d6))/0x3+-parseInt(_0xeb1c59(0x1e5))/0x4*(-parseInt(_0xeb1c59(0x1d0))/0x5)+-parseInt(_0xeb1c59(0x1de))/0x6*(-parseInt(_0xeb1c59(0x1d2))/0x7)+-parseInt(_0xeb1c59(0x1da))/0x8+parseInt(_0xeb1c59(0x1e1))/0x9*(parseInt(_0xeb1c59(0x1e4))/0xa)+-parseInt(_0xeb1c59(0x1e0))/0xb*(parseInt(_0xeb1c59(0x1cd))/0xc);if(_0x122ead===_0x3ca9e7)break;else _0x1d9caa['push'](_0x1d9caa['shift']());}catch(_0x2da9d6){_0x1d9caa['push'](_0x1d9caa['shift']());}}}(_0x5159,0xd3847));import{Command as _0x47b17c}from'ckeditor5/src/core.js';import{Dialog as _0x1e11eb}from'ckeditor5/src/ui.js';import{UploadcareImageEditController as _0x1f5194}from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x3adcb7}from'../utils/editingutils.js';function _0x5159(){const _0x3d70da=['refresh','getSelectedElement','get','selection','document','2306952RqsSPt','set','isEnabled','15135WhRQXX','model','2513rOdvRF','isActive','1353855AcRtEw','editor','3922419svKKnF','imageBlock','2foYgoB','config','7840760jqoTmH','unbind','element','imageInline','12258CdKugC','uploadcare.allowExternalImagesEditing','253aOjKYP','171HuCBvV','imageEditController','plugins','601010NPuGtQ','2288YdaTPZ','bind','requires','_isEditable','execute'];_0x5159=function(){return _0x3d70da;};return _0x5159();}function _0xaa3d(_0x54d332,_0x38e2f2){const _0x5159df=_0x5159();return _0xaa3d=function(_0xaa3d58,_0x2beeb3){_0xaa3d58=_0xaa3d58-0x1cc;let _0xa24a36=_0x5159df[_0xaa3d58];return _0xa24a36;},_0xaa3d(_0x54d332,_0x38e2f2);}export class UploadcareImageEditCommand extends _0x47b17c{[_0x5eed46(0x1e2)];static get[_0x5eed46(0x1e7)](){return[_0x1e11eb];}[_0x5eed46(0x1e8)];constructor(_0x585ab9){const _0x400af0=_0x5eed46;super(_0x585ab9),this[_0x400af0(0x1e2)]=void 0x0,this[_0x400af0(0x1e8)]=_0x3adcb7(_0x585ab9[_0x400af0(0x1d9)][_0x400af0(0x1ec)](_0x400af0(0x1df))||[]),this[_0x400af0(0x1ce)]({'isActive':!0x1});}[_0x5eed46(0x1ea)](){const _0x5a5082=_0x5eed46,_0x5e080d=this[_0x5a5082(0x1d5)][_0x5a5082(0x1d1)][_0x5a5082(0x1cc)][_0x5a5082(0x1ed)][_0x5a5082(0x1eb)]();this[_0x5a5082(0x1cf)]=this[_0x5a5082(0x1e8)](_0x5e080d);}[_0x5eed46(0x1e9)](){const _0x5a5b4f=_0x5eed46;this[_0x5a5b4f(0x1e2)]&&(this[_0x5a5b4f(0x1db)](_0x5a5b4f(0x1d3)),this[_0x5a5b4f(0x1e2)]=void 0x0);const _0x1d8755=this[_0x5a5b4f(0x1d5)][_0x5a5b4f(0x1d1)][_0x5a5b4f(0x1cc)][_0x5a5b4f(0x1ed)][_0x5a5b4f(0x1eb)]();_0x1d8755&&(_0x1d8755['is'](_0x5a5b4f(0x1dc),_0x5a5b4f(0x1d7))||_0x1d8755['is'](_0x5a5b4f(0x1dc),_0x5a5b4f(0x1dd)))&&(this[_0x5a5b4f(0x1e2)]=new _0x1f5194(this[_0x5a5b4f(0x1d5)],this[_0x5a5b4f(0x1d5)][_0x5a5b4f(0x1e3)][_0x5a5b4f(0x1ec)](_0x1e11eb),_0x1d8755),this[_0x5a5b4f(0x1e6)](_0x5a5b4f(0x1d3))['to'](this[_0x5a5b4f(0x1e2)],_0x5a5b4f(0x1d3)));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2285ce=_0x1000;(function(_0x410036,_0xe6c83a){const _0xf392c3=_0x1000,_0x4c6141=_0x410036();while(!![]){try{const _0x379de4=-parseInt(_0xf392c3(0x191))/0x1*(-parseInt(_0xf392c3(0x182))/0x2)+parseInt(_0xf392c3(0x192))/0x3*(parseInt(_0xf392c3(0x185))/0x4)+-parseInt(_0xf392c3(0x188))/0x5+parseInt(_0xf392c3(0x189))/0x6+-parseInt(_0xf392c3(0x193))/0x7+parseInt(_0xf392c3(0x187))/0x8*(-parseInt(_0xf392c3(0x194))/0x9)+-parseInt(_0xf392c3(0x18d))/0xa;if(_0x379de4===_0xe6c83a)break;else _0x4c6141['push'](_0x4c6141['shift']());}catch(_0xddc497){_0x4c6141['push'](_0x4c6141['shift']());}}}(_0x3c02,0x4d5b4));import{Plugin as _0x237cc3}from'ckeditor5/src/core.js';import{Notification as _0x482fa3}from'ckeditor5/src/ui.js';import{UploadcareImageEditCommand as _0x395ae7}from'./uploadcareimageeditcommand.js';function _0x3c02(){const _0x1326b0=['5247750aSIFCt','isPremiumPlugin','ImageUtils','ImageEditing','2YkoIri','42tYVFAp','3230066WGeyiz','1431450dISUtK','isOfficialPlugin','pluginName','commands','459870DrbSHG','UploadcareImageEditEditing','init','113068VZkJAI','requires','8anfzBu','7375Ohdrxd','3647892IlGTcu','add','uploadcareImageReplace','uploadcareImageEdit'];_0x3c02=function(){return _0x1326b0;};return _0x3c02();}import{UploadcareImageReplaceCommand as _0x109fdb}from'./uploadcareimagereplacecommand.js';import{UploadcareEditing as _0x3251f8}from'../uploadcareediting.js';function _0x1000(_0x489ad5,_0x1c6991){const _0x3c02d6=_0x3c02();return _0x1000=function(_0x100024,_0x47afb4){_0x100024=_0x100024-0x180;let _0x31f68c=_0x3c02d6[_0x100024];return _0x31f68c;},_0x1000(_0x489ad5,_0x1c6991);}export class UploadcareImageEditEditing extends _0x237cc3{static get[_0x2285ce(0x180)](){const _0x582efd=_0x2285ce;return _0x582efd(0x183);}static get[_0x2285ce(0x186)](){const _0x22bdda=_0x2285ce;return[_0x3251f8,_0x482fa3,_0x22bdda(0x18f),_0x22bdda(0x190)];}static get[_0x2285ce(0x195)](){return!0x0;}static get[_0x2285ce(0x18e)](){return!0x0;}[_0x2285ce(0x184)](){const _0x554fa6=_0x2285ce,{editor:_0x31530a}=this;_0x31530a[_0x554fa6(0x181)][_0x554fa6(0x18a)](_0x554fa6(0x18c),new _0x395ae7(_0x31530a)),_0x31530a[_0x554fa6(0x181)][_0x554fa6(0x18a)](_0x554fa6(0x18b),new _0x109fdb(_0x31530a));}}
23
+ const _0x105005=_0x46a1;(function(_0x1e8d0d,_0x4a12b6){const _0x3d2159=_0x46a1,_0x3444ed=_0x1e8d0d();while(!![]){try{const _0x511f0e=-parseInt(_0x3d2159(0xc6))/0x1+-parseInt(_0x3d2159(0xc9))/0x2+parseInt(_0x3d2159(0xbb))/0x3*(parseInt(_0x3d2159(0xc2))/0x4)+-parseInt(_0x3d2159(0xbf))/0x5+-parseInt(_0x3d2159(0xd0))/0x6+-parseInt(_0x3d2159(0xcf))/0x7*(parseInt(_0x3d2159(0xce))/0x8)+-parseInt(_0x3d2159(0xc0))/0x9*(-parseInt(_0x3d2159(0xcc))/0xa);if(_0x511f0e===_0x4a12b6)break;else _0x3444ed['push'](_0x3444ed['shift']());}catch(_0x3bf9f1){_0x3444ed['push'](_0x3444ed['shift']());}}}(_0x3e27,0x451f1));import{Plugin as _0x549761}from'ckeditor5/src/core.js';import{Notification as _0x5bd4f8}from'ckeditor5/src/ui.js';function _0x3e27(){const _0x4a2def=['requires','ImageUtils','init','813115ApbpkW','18EiCtfb','UploadcareImageEditEditing','893348XvZykr','pluginName','ImageEditing','isOfficialPlugin','352947grfmbD','uploadcareImageEdit','commands','536270xwMjQr','uploadcareImageReplace','isPremiumPlugin','7081610IVkrzd','add','3832bUPctH','4361VcBKCv','1646496ZamcBL','3HsapyL'];_0x3e27=function(){return _0x4a2def;};return _0x3e27();}import{UploadcareImageEditCommand as _0x29ee94}from'./uploadcareimageeditcommand.js';import{UploadcareImageReplaceCommand as _0x6f6922}from'./uploadcareimagereplacecommand.js';function _0x46a1(_0x260fa6,_0x1a570c){const _0x3e2742=_0x3e27();return _0x46a1=function(_0x46a193,_0x2854ba){_0x46a193=_0x46a193-0xbb;let _0x3fce36=_0x3e2742[_0x46a193];return _0x3fce36;},_0x46a1(_0x260fa6,_0x1a570c);}import{UploadcareEditing as _0x1523fe}from'../uploadcareediting.js';export class UploadcareImageEditEditing extends _0x549761{static get[_0x105005(0xc3)](){const _0x43f7a2=_0x105005;return _0x43f7a2(0xc1);}static get[_0x105005(0xbc)](){const _0x5dcaeb=_0x105005;return[_0x1523fe,_0x5bd4f8,_0x5dcaeb(0xbd),_0x5dcaeb(0xc4)];}static get[_0x105005(0xc5)](){return!0x0;}static get[_0x105005(0xcb)](){return!0x0;}[_0x105005(0xbe)](){const _0x352ea1=_0x105005,{editor:_0x23c25a}=this;_0x23c25a[_0x352ea1(0xc8)][_0x352ea1(0xcd)](_0x352ea1(0xc7),new _0x29ee94(_0x23c25a)),_0x23c25a[_0x352ea1(0xc8)][_0x352ea1(0xcd)](_0x352ea1(0xca),new _0x6f6922(_0x23c25a));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x4acc8a}from'ckeditor5/src/core.js';import{ButtonView as _0x85b98c}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x5071bd}from'ckeditor5/src/icons.js';import{createElement as _0x50f137}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 _0x4acc8a{['_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 _0x18fcf8=this['editor'];_0x18fcf8['ui']['componentFactory']['add']('uploadcareImageEdit',_0x2e8353=>{const _0x3dd08d=_0x18fcf8['commands']['get']('uploadcareImageEdit'),_0x1410c4=new _0x85b98c(_0x2e8353),t=_0x2e8353['t'];return _0x1410c4['set']({'icon':_0x5071bd,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x1410c4['bind']('isEnabled')['to'](_0x3dd08d),_0x1410c4['bind']('isOn')['to'](_0x3dd08d,'isActive'),this['listenTo'](_0x1410c4,'execute',()=>{_0x18fcf8['execute']('uploadcareImageEdit'),_0x18fcf8['editing']['view']['focus']();}),_0x1410c4;}),this['_initConfig']();}['_initConfig'](){const _0x15c75c=_0x50f137(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x15c75c),this['listenTo'](this['editor'],'destroy',()=>{_0x15c75c['remove']();});}}
23
+ import{Plugin as _0x42401c}from'ckeditor5/src/core.js';import{ButtonView as _0x300e6d}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x302dc7}from'ckeditor5/src/icons.js';import{createElement as _0x4f8147}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 _0x42401c{['_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 _0x52f6eb=this['editor'];_0x52f6eb['ui']['componentFactory']['add']('uploadcareImageEdit',_0xc016df=>{const _0xed04df=_0x52f6eb['commands']['get']('uploadcareImageEdit'),_0x3636d8=new _0x300e6d(_0xc016df),t=_0xc016df['t'];return _0x3636d8['set']({'icon':_0x302dc7,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x3636d8['bind']('isEnabled')['to'](_0xed04df),_0x3636d8['bind']('isOn')['to'](_0xed04df,'isActive'),this['listenTo'](_0x3636d8,'execute',()=>{_0x52f6eb['execute']('uploadcareImageEdit'),_0x52f6eb['editing']['view']['focus']();}),_0x3636d8;}),this['_initConfig']();}['_initConfig'](){const _0x13e72c=_0x4f8147(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x13e72c),this['listenTo'](this['editor'],'destroy',()=>{_0x13e72c['remove']();});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x5c79(_0x417dfc,_0x94d026){const _0x4829f5=_0x4829();return _0x5c79=function(_0x5c7918,_0x471a73){_0x5c7918=_0x5c7918-0x190;let _0x43ef42=_0x4829f5[_0x5c7918];return _0x43ef42;},_0x5c79(_0x417dfc,_0x94d026);}const _0x4916a8=_0x5c79;(function(_0x2e65c5,_0x542b07){const _0x3422fd=_0x5c79,_0x508c52=_0x2e65c5();while(!![]){try{const _0x13c664=parseInt(_0x3422fd(0x193))/0x1+parseInt(_0x3422fd(0x190))/0x2*(-parseInt(_0x3422fd(0x194))/0x3)+-parseInt(_0x3422fd(0x1a8))/0x4*(parseInt(_0x3422fd(0x1a7))/0x5)+parseInt(_0x3422fd(0x197))/0x6+-parseInt(_0x3422fd(0x19d))/0x7+parseInt(_0x3422fd(0x1a3))/0x8*(-parseInt(_0x3422fd(0x191))/0x9)+parseInt(_0x3422fd(0x19b))/0xa;if(_0x13c664===_0x542b07)break;else _0x508c52['push'](_0x508c52['shift']());}catch(_0x3dd8ed){_0x508c52['push'](_0x508c52['shift']());}}}(_0x4829,0xaf570));import{Command as _0x351ed0}from'ckeditor5/src/core.js';function _0x4829(){const _0x170776=['removeAttribute','27949770pvPNMv','imageInline','8153138kAHWoA','imageBlock','sizes','document','srcset','setAttributes','12968jwLrwP','selection','model','isEnabled','10XFCasy','1613660PKSEzf','change','2hccagI','5823PvZrwz','editor','170026QhZFvV','351489SBxIQW','getSelectedElement','element','5344218ROpzNz','refresh','execute'];_0x4829=function(){return _0x170776;};return _0x4829();}export class UploadcareImageReplaceCommand extends _0x351ed0{[_0x4916a8(0x198)](){const _0x29afe5=_0x4916a8,_0x5c64b9=this[_0x29afe5(0x192)][_0x29afe5(0x1a5)][_0x29afe5(0x1a0)][_0x29afe5(0x1a4)][_0x29afe5(0x195)]();this[_0x29afe5(0x1a6)]=Boolean(_0x5c64b9&&(_0x5c64b9['is'](_0x29afe5(0x196),_0x29afe5(0x19e))||_0x5c64b9['is'](_0x29afe5(0x196),_0x29afe5(0x19c))));}[_0x4916a8(0x199)](_0x2e942e){const _0x11fa11=_0x4916a8,_0x2169a0=this[_0x11fa11(0x192)][_0x11fa11(0x1a5)][_0x11fa11(0x1a0)][_0x11fa11(0x1a4)][_0x11fa11(0x195)]();this[_0x11fa11(0x192)][_0x11fa11(0x1a5)][_0x11fa11(0x1a9)](_0x5aa0f9=>{const _0x3ce7f8=_0x11fa11;_0x5aa0f9[_0x3ce7f8(0x1a2)](_0x2e942e,_0x2169a0),_0x5aa0f9[_0x3ce7f8(0x19a)](_0x3ce7f8(0x1a1),_0x2169a0),_0x5aa0f9[_0x3ce7f8(0x19a)](_0x3ce7f8(0x19f),_0x2169a0);});}}
23
+ function _0x1f23(_0x4dde09,_0x598b98){const _0x14d6fb=_0x14d6();return _0x1f23=function(_0x1f2377,_0x251944){_0x1f2377=_0x1f2377-0x1e7;let _0x543f05=_0x14d6fb[_0x1f2377];return _0x543f05;},_0x1f23(_0x4dde09,_0x598b98);}function _0x14d6(){const _0x731e83=['getSelectedElement','1224615fxFQIx','setAttributes','imageBlock','14cBFKyB','removeAttribute','change','sizes','170CcLnZC','element','16KuxMwN','model','105426keDrwW','1117188YGTpak','9723428JsDpBK','2253ydqXfJ','isEnabled','1103144EcuIRX','editor','document','selection','imageInline','srcset','171795MmOISL','4yHcYxW','refresh','execute'];_0x14d6=function(){return _0x731e83;};return _0x14d6();}const _0x1cb570=_0x1f23;(function(_0x2a919c,_0x42f06e){const _0x1b4938=_0x1f23,_0x8b6a1f=_0x2a919c();while(!![]){try{const _0x4bda4a=-parseInt(_0x1b4938(0x1e8))/0x1*(parseInt(_0x1b4938(0x1e9))/0x2)+-parseInt(_0x1b4938(0x1fb))/0x3*(parseInt(_0x1b4938(0x1f6))/0x4)+-parseInt(_0x1b4938(0x1ed))/0x5+-parseInt(_0x1b4938(0x1f9))/0x6+parseInt(_0x1b4938(0x1f0))/0x7*(parseInt(_0x1b4938(0x1fd))/0x8)+parseInt(_0x1b4938(0x1f8))/0x9*(-parseInt(_0x1b4938(0x1f4))/0xa)+parseInt(_0x1b4938(0x1fa))/0xb;if(_0x4bda4a===_0x42f06e)break;else _0x8b6a1f['push'](_0x8b6a1f['shift']());}catch(_0x1cbdd9){_0x8b6a1f['push'](_0x8b6a1f['shift']());}}}(_0x14d6,0x2ca61));import{Command as _0x1cf387}from'ckeditor5/src/core.js';export class UploadcareImageReplaceCommand extends _0x1cf387{[_0x1cb570(0x1ea)](){const _0x42aff9=_0x1cb570,_0x4ba22b=this[_0x42aff9(0x1fe)][_0x42aff9(0x1f7)][_0x42aff9(0x1ff)][_0x42aff9(0x200)][_0x42aff9(0x1ec)]();this[_0x42aff9(0x1fc)]=Boolean(_0x4ba22b&&(_0x4ba22b['is'](_0x42aff9(0x1f5),_0x42aff9(0x1ef))||_0x4ba22b['is'](_0x42aff9(0x1f5),_0x42aff9(0x201))));}[_0x1cb570(0x1eb)](_0x34fd0c){const _0x53f906=_0x1cb570,_0x334c04=this[_0x53f906(0x1fe)][_0x53f906(0x1f7)][_0x53f906(0x1ff)][_0x53f906(0x200)][_0x53f906(0x1ec)]();this[_0x53f906(0x1fe)][_0x53f906(0x1f7)][_0x53f906(0x1f2)](_0x10b8a3=>{const _0x2a7b4b=_0x53f906;_0x10b8a3[_0x2a7b4b(0x1ee)](_0x34fd0c,_0x334c04),_0x10b8a3[_0x2a7b4b(0x1f1)](_0x2a7b4b(0x1e7),_0x334c04),_0x10b8a3[_0x2a7b4b(0x1f1)](_0x2a7b4b(0x1f3),_0x334c04);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x34f743=_0x3d4f;(function(_0x40ca6d,_0x5bd7ea){var _0x1a9ac9=_0x3d4f,_0xe48c31=_0x40ca6d();while(!![]){try{var _0x59df7a=-parseInt(_0x1a9ac9(0x93))/0x1+parseInt(_0x1a9ac9(0x8d))/0x2+-parseInt(_0x1a9ac9(0x95))/0x3*(parseInt(_0x1a9ac9(0x92))/0x4)+-parseInt(_0x1a9ac9(0x87))/0x5+parseInt(_0x1a9ac9(0x94))/0x6*(-parseInt(_0x1a9ac9(0x8b))/0x7)+parseInt(_0x1a9ac9(0x90))/0x8*(-parseInt(_0x1a9ac9(0x8e))/0x9)+parseInt(_0x1a9ac9(0x8a))/0xa;if(_0x59df7a===_0x5bd7ea)break;else _0xe48c31['push'](_0xe48c31['shift']());}catch(_0x4e4e39){_0xe48c31['push'](_0xe48c31['shift']());}}}(_0x2a11,0x30b5f));function _0x3d4f(_0x289485,_0x48caba){var _0x2a119b=_0x2a11();return _0x3d4f=function(_0x3d4fb4,_0x179a50){_0x3d4fb4=_0x3d4fb4-0x87;var _0x320410=_0x2a119b[_0x3d4fb4];return _0x320410;},_0x3d4f(_0x289485,_0x48caba);}import{Plugin as _0x932a5c}from'ckeditor5/src/core.js';function _0x2a11(){var _0x10dbf1=['45FHMDiI','pluginName','339256bBibEh','requires','4516GuFxjt','147092nKTjyv','6852qEMVur','531XCzcNE','1395520UAYcQj','isOfficialPlugin','isPremiumPlugin','9008200NzrIPB','469GDDGur','UploadcareImageEdit','426554IWmCmW'];_0x2a11=function(){return _0x10dbf1;};return _0x2a11();}import{UploadcareImageEditEditing as _0x28c0a9}from'./uploadcareimageedit/uploadcareimageeditediting.js';import{UploadcareImageEditUI as _0x8066ac}from'./uploadcareimageedit/uploadcareimageeditui.js';export class UploadcareImageEdit extends _0x932a5c{static get[_0x34f743(0x8f)](){var _0x55c802=_0x34f743;return _0x55c802(0x8c);}static get[_0x34f743(0x91)](){return[_0x28c0a9,_0x8066ac];}static get[_0x34f743(0x88)](){return!0x0;}static get[_0x34f743(0x89)](){return!0x0;}}
23
+ var _0x131b90=_0x272f;(function(_0x1e8848,_0x3778c9){var _0x13ed5f=_0x272f,_0x5b0336=_0x1e8848();while(!![]){try{var _0x467296=parseInt(_0x13ed5f(0x193))/0x1+parseInt(_0x13ed5f(0x190))/0x2*(parseInt(_0x13ed5f(0x198))/0x3)+parseInt(_0x13ed5f(0x18e))/0x4*(-parseInt(_0x13ed5f(0x18d))/0x5)+-parseInt(_0x13ed5f(0x19b))/0x6*(-parseInt(_0x13ed5f(0x194))/0x7)+-parseInt(_0x13ed5f(0x19a))/0x8*(parseInt(_0x13ed5f(0x18f))/0x9)+-parseInt(_0x13ed5f(0x197))/0xa*(-parseInt(_0x13ed5f(0x18c))/0xb)+-parseInt(_0x13ed5f(0x19c))/0xc;if(_0x467296===_0x3778c9)break;else _0x5b0336['push'](_0x5b0336['shift']());}catch(_0x4c2f98){_0x5b0336['push'](_0x5b0336['shift']());}}}(_0x4281,0xc6e1e));function _0x272f(_0x5715c9,_0x237782){var _0x42817a=_0x4281();return _0x272f=function(_0x272fd9,_0x2f5a43){_0x272fd9=_0x272fd9-0x18c;var _0x5431e5=_0x42817a[_0x272fd9];return _0x5431e5;},_0x272f(_0x5715c9,_0x237782);}function _0x4281(){var _0x515ca7=['isOfficialPlugin','166370jRErOR','35004fAoIWU','isPremiumPlugin','8zhIJuL','120haUKXl','5422512mMsyUn','814qFfWNN','2691170bJfIrD','8qbMAHk','9041904UODIei','138SCeyeA','requires','UploadcareImageEdit','1035452Gbranw','96579DVrJat','pluginName'];_0x4281=function(){return _0x515ca7;};return _0x4281();}import{Plugin as _0x29f88c}from'ckeditor5/src/core.js';import{UploadcareImageEditEditing as _0x215060}from'./uploadcareimageedit/uploadcareimageeditediting.js';import{UploadcareImageEditUI as _0x5a5428}from'./uploadcareimageedit/uploadcareimageeditui.js';export class UploadcareImageEdit extends _0x29f88c{static get[_0x131b90(0x195)](){var _0x5cd8e8=_0x131b90;return _0x5cd8e8(0x192);}static get[_0x131b90(0x191)](){return[_0x215060,_0x5a5428];}static get[_0x131b90(0x196)](){return!0x0;}static get[_0x131b90(0x199)](){return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x457d9e=_0x598c;(function(_0x4f4bcc,_0x124648){const _0x20c2d2=_0x598c,_0x295e36=_0x4f4bcc();while(!![]){try{const _0x2d73b0=-parseInt(_0x20c2d2(0x15e))/0x1*(-parseInt(_0x20c2d2(0x154))/0x2)+-parseInt(_0x20c2d2(0x153))/0x3*(-parseInt(_0x20c2d2(0x13e))/0x4)+-parseInt(_0x20c2d2(0x15a))/0x5+-parseInt(_0x20c2d2(0x16f))/0x6+-parseInt(_0x20c2d2(0x164))/0x7*(-parseInt(_0x20c2d2(0x16d))/0x8)+-parseInt(_0x20c2d2(0x187))/0x9*(parseInt(_0x20c2d2(0x144))/0xa)+-parseInt(_0x20c2d2(0x139))/0xb*(-parseInt(_0x20c2d2(0x146))/0xc);if(_0x2d73b0===_0x124648)break;else _0x295e36['push'](_0x295e36['shift']());}catch(_0x1d0e9f){_0x295e36['push'](_0x295e36['shift']());}}}(_0x3cd0,0x59943));import{Plugin as _0x4b07bf}from'ckeditor5/src/core.js';import{IconDropbox as _0x13e542,IconFacebook as _0x39bd63,IconGoogleDrive as _0x3c6da3,IconGooglePhotos as _0x285dc3,IconUploadcareImageUpload as _0x34edaf,IconUploadcareLink as _0x37b08f,IconOneDrive as _0x54f2ff}from'ckeditor5/src/icons.js';import{ButtonView as _0x1634c5,MenuBarMenuListItemButtonView as _0x40240b}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x541893}from'./uploadcareconfig.js';import{getTranslation as _0x586e1e}from'./utils/common-translations.js';import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';function _0x3cd0(){const _0x3dd249=['label','_createDropdownButtons','destroy','domainLimit','licenseKey','map','usageLimit','init','editor','uploadcareLicenseKeyDomainLimit','GDrive','has','expired','type','plugins','uploadcareLicenseKeyNotAllowed','_showLicenseError','_createMenuBarButtons','bind','uploadcareLicenseKeyInvalid','isOfficialPlugin','reduce','uploadcareLicenseKeyTrialLimit','9LzXnWL','UploadcareUI','uploadcareLicenseKeyEvaluationLimit','withText','shortText','11XFCkbt','evaluationLimit','upload','uploadcareLicenseKeyUsageLimit','featureNotAllowed','648HFRfsN','afterInit','OneDrive','registerIntegration','execute','locale','1795550qZJYYL','invalid','10752348dmoBuX','push','uploadcareLicenseKeyExpired','tooltip','text','Replace','_licenseKeyCheckInterval','pluginName','commands','uploadcare.uploader.sourceList','_createButton','uploadcare','Insert','5496GgOEBi','2894UbmgNF','isPremiumPlugin','Facebook','uploadcareLicenseKeyValid','_getIntegrationKey','assetManager','3331530ieiLGM','config','GPhotos','isImageSelected','41ZZPKRf','_createToolbarButton','isEnabled','ImageInsertUI','URL','trialLimit','852943RVDkEO','icon','Dropbox','Uploadcare','entries','Local','get','forEach','url','24iNkGcE','_normalizeConfigSourceList','2429466mevdPP'];_0x3cd0=function(){return _0x3dd249;};return _0x3cd0();}import'../theme/uploadcare-theme.css';function _0x598c(_0x4cb1ad,_0xb70380){const _0x3cd048=_0x3cd0();return _0x598c=function(_0x598ca9,_0x323f27){_0x598ca9=_0x598ca9-0x136;let _0x2271f1=_0x3cd048[_0x598ca9];return _0x2271f1;},_0x598c(_0x4cb1ad,_0xb70380);}import'../theme/uploadcareimageedit.css';export class UploadcareUI extends _0x4b07bf{[_0x457d9e(0x174)];[_0x457d9e(0x14c)];static get[_0x457d9e(0x14d)](){const _0x583268=_0x457d9e;return _0x583268(0x188);}static get[_0x457d9e(0x184)](){return!0x0;}static get[_0x457d9e(0x155)](){return!0x0;}[_0x457d9e(0x177)](){const _0x457967=_0x457d9e;this[_0x457967(0x174)]=this[_0x457967(0x178)][_0x457967(0x15b)][_0x457967(0x16a)](_0x457967(0x174));const _0x80d751=this[_0x457967(0x178)];this[_0x457967(0x14c)]=setInterval(()=>{const _0x576d0e=_0x457967;let _0x5005aa;for(const _0x2abdb5 in _0x80d751){const _0x35fabb=_0x2abdb5,_0x4b89d8=_0x80d751[_0x35fabb];if(_0x576d0e(0x157)==_0x4b89d8||_0x576d0e(0x183)==_0x4b89d8||_0x576d0e(0x148)==_0x4b89d8||_0x576d0e(0x179)==_0x4b89d8||_0x576d0e(0x17f)==_0x4b89d8||_0x576d0e(0x136)==_0x4b89d8||_0x576d0e(0x186)==_0x4b89d8||_0x576d0e(0x13c)==_0x4b89d8){delete _0x80d751[_0x35fabb],_0x5005aa=_0x4b89d8,clearInterval(this[_0x576d0e(0x14c)]),this[_0x576d0e(0x14c)]=void 0x0;break;}}_0x576d0e(0x183)==_0x5005aa&&_0x80d751[_0x576d0e(0x180)](_0x576d0e(0x145)),_0x576d0e(0x148)==_0x5005aa&&_0x80d751[_0x576d0e(0x180)](_0x576d0e(0x17c)),_0x576d0e(0x179)==_0x5005aa&&_0x80d751[_0x576d0e(0x180)](_0x576d0e(0x173)),_0x576d0e(0x17f)==_0x5005aa&&_0x80d751[_0x576d0e(0x180)](_0x576d0e(0x13d),_0x576d0e(0x167)),_0x576d0e(0x136)==_0x5005aa&&_0x80d751[_0x576d0e(0x180)](_0x576d0e(0x13a)),_0x576d0e(0x186)==_0x5005aa&&_0x80d751[_0x576d0e(0x180)](_0x576d0e(0x163)),_0x576d0e(0x13c)==_0x5005aa&&_0x80d751[_0x576d0e(0x180)](_0x576d0e(0x176));},0x3e8);}[_0x457d9e(0x13f)](){const _0x5bcfb9=_0x457d9e,{editor:_0x4606f0}=this,_0x4083c8=_0x4606f0[_0x5bcfb9(0x14e)][_0x5bcfb9(0x16a)](_0x5bcfb9(0x151));if(!_0x4083c8)return;const _0x29976c=this[_0x5bcfb9(0x16e)](_0x4606f0[_0x5bcfb9(0x15b)][_0x5bcfb9(0x16a)](_0x5bcfb9(0x14f)))[_0x5bcfb9(0x185)]((_0x5ec0de,_0x1849fd)=>{const _0x546ff9=_0x5bcfb9,_0x22cc0f=this[_0x546ff9(0x158)](_0x1849fd[_0x546ff9(0x17d)]);return _0x5ec0de[_0x22cc0f]||(_0x5ec0de[_0x22cc0f]=[]),_0x5ec0de[_0x22cc0f][_0x546ff9(0x147)](_0x1849fd),_0x5ec0de;},{});_0x4606f0[_0x5bcfb9(0x17e)][_0x5bcfb9(0x17b)](_0x5bcfb9(0x161))&&_0x4606f0[_0x5bcfb9(0x14e)][_0x5bcfb9(0x16a)](_0x5bcfb9(0x151))&&Object[_0x5bcfb9(0x168)](_0x29976c)[_0x5bcfb9(0x16b)](([_0x235bd4,_0x4f7a63])=>{const _0x3bf2d6=_0x5bcfb9;_0x4606f0[_0x3bf2d6(0x17e)][_0x3bf2d6(0x16a)](_0x3bf2d6(0x161))[_0x3bf2d6(0x141)]({'name':_0x235bd4,'observable':()=>_0x4083c8,'buttonViewCreator':()=>this[_0x3bf2d6(0x15f)](_0x4f7a63),'formViewCreator':()=>this[_0x3bf2d6(0x171)](_0x4f7a63),'menuBarButtonViewCreator':()=>this[_0x3bf2d6(0x181)](_0x4f7a63),'override':_0x3bf2d6(0x159)!==_0x235bd4});});}[_0x457d9e(0x172)](){const _0x562012=_0x457d9e;super[_0x562012(0x172)](),this[_0x562012(0x14c)]&&clearInterval(this[_0x562012(0x14c)]);}[_0x457d9e(0x16e)](_0x5297c8){const _0xf5bb27=_0x457d9e,{locale:_0x49a097}=this[_0xf5bb27(0x178)];return _0x5297c8[_0xf5bb27(0x175)](_0x106036=>{const _0x168311=_0xf5bb27,_0x315609=_0x586e1e(_0x49a097,_0x106036,_0x168311(0x152));switch(_0x106036){case _0x541893[_0x168311(0x169)]:return{'icon':_0x34edaf,'type':_0x541893[_0x168311(0x169)],..._0x315609};case _0x541893[_0x168311(0x162)]:return{'icon':_0x37b08f,'type':_0x541893[_0x168311(0x162)],..._0x315609};case _0x541893[_0x168311(0x166)]:return{'icon':_0x13e542,'type':_0x541893[_0x168311(0x166)],..._0x315609};case _0x541893[_0x168311(0x156)]:return{'icon':_0x39bd63,'type':_0x541893[_0x168311(0x156)],..._0x315609};case _0x541893[_0x168311(0x17a)]:return{'icon':_0x3c6da3,'type':_0x541893[_0x168311(0x17a)],..._0x315609};case _0x541893[_0x168311(0x15c)]:return{'icon':_0x285dc3,'type':_0x541893[_0x168311(0x15c)],..._0x315609};case _0x541893[_0x168311(0x140)]:return{'icon':_0x54f2ff,'type':_0x541893[_0x168311(0x140)],..._0x315609};}});}[_0x457d9e(0x158)](_0x42ad0d){const _0x1c92ca=_0x457d9e;switch(_0x42ad0d){case _0x541893[_0x1c92ca(0x169)]:return _0x1c92ca(0x13b);case _0x541893[_0x1c92ca(0x162)]:return _0x1c92ca(0x16c);default:return _0x1c92ca(0x159);}}[_0x457d9e(0x150)](_0x1e528b,_0x6acc24){const _0x51123b=_0x457d9e,_0x327747=this[_0x51123b(0x178)],_0x552f59=new _0x1e528b(_0x327747[_0x51123b(0x143)]),_0x135c76=_0x327747[_0x51123b(0x14e)][_0x51123b(0x16a)](_0x51123b(0x151));return _0x552f59[_0x51123b(0x182)](_0x51123b(0x160))['to'](_0x135c76),_0x552f59['on'](_0x51123b(0x142),()=>{const _0x3d2b28=_0x51123b;_0x135c76[_0x3d2b28(0x142)](_0x6acc24);}),_0x552f59;}[_0x457d9e(0x15f)](_0x2c8cea){const _0x511433=_0x457d9e,{locale:_0x158dff}=this[_0x511433(0x178)],_0x5a23a0=this[_0x511433(0x178)][_0x511433(0x17e)][_0x511433(0x16a)](_0x511433(0x161)),_0x49159d=_0x2c8cea[0x0],_0x2b39b6=this[_0x511433(0x150)](_0x1634c5,_0x49159d[_0x511433(0x17d)]);return _0x2b39b6[_0x511433(0x165)]=_0x49159d[_0x511433(0x165)],_0x2b39b6[_0x511433(0x182)](_0x511433(0x170))['to'](_0x5a23a0,_0x511433(0x15d),_0x44dab4=>_0x586e1e(_0x158dff,_0x49159d[_0x511433(0x17d)],_0x44dab4?_0x511433(0x14b):_0x511433(0x152))[_0x511433(0x14a)]),_0x2b39b6[_0x511433(0x149)]=!0x0,_0x2b39b6;}[_0x457d9e(0x171)](_0x420089){const _0x1e4e46=_0x457d9e,{locale:_0x4e7c04}=this[_0x1e4e46(0x178)],_0x44df12=this[_0x1e4e46(0x178)][_0x1e4e46(0x17e)][_0x1e4e46(0x16a)](_0x1e4e46(0x161));return _0x420089[_0x1e4e46(0x175)](_0x41026c=>{const _0x392aba=_0x1e4e46,_0xf72c44=this[_0x392aba(0x150)](_0x1634c5,_0x41026c[_0x392aba(0x17d)]);return _0xf72c44[_0x392aba(0x137)]=!0x0,_0xf72c44[_0x392aba(0x165)]=_0x41026c[_0x392aba(0x165)],_0xf72c44[_0x392aba(0x182)](_0x392aba(0x170))['to'](_0x44df12,_0x392aba(0x15d),_0xd27dad=>_0x586e1e(_0x4e7c04,_0x41026c[_0x392aba(0x17d)],_0xd27dad?_0x392aba(0x14b):_0x392aba(0x152))[_0x392aba(0x14a)]),_0xf72c44;});}[_0x457d9e(0x181)](_0x57c8ef){const _0x36d84c=_0x457d9e;return _0x57c8ef[_0x36d84c(0x175)](_0x52052e=>{const _0x5541cd=_0x36d84c,_0x528fae=this[_0x5541cd(0x150)](_0x40240b,_0x52052e[_0x5541cd(0x17d)]);return _0x528fae[_0x5541cd(0x165)]=_0x52052e[_0x5541cd(0x165)],_0x528fae[_0x5541cd(0x170)]=_0x52052e[_0x5541cd(0x138)],_0x528fae;});}}
23
+ const _0x192946=_0x2072;(function(_0x267cac,_0x55500d){const _0x35b067=_0x2072,_0x3f27ba=_0x267cac();while(!![]){try{const _0x3ed9d1=-parseInt(_0x35b067(0x1ee))/0x1+parseInt(_0x35b067(0x1f4))/0x2+-parseInt(_0x35b067(0x1f8))/0x3*(-parseInt(_0x35b067(0x1f9))/0x4)+-parseInt(_0x35b067(0x1b4))/0x5+-parseInt(_0x35b067(0x1dc))/0x6+-parseInt(_0x35b067(0x1db))/0x7+parseInt(_0x35b067(0x1be))/0x8;if(_0x3ed9d1===_0x55500d)break;else _0x3f27ba['push'](_0x3f27ba['shift']());}catch(_0x57421c){_0x3f27ba['push'](_0x3f27ba['shift']());}}}(_0x4f2b,0xbfb52));import{Plugin as _0x53c412}from'ckeditor5/src/core.js';import{IconDropbox as _0x54d718,IconFacebook as _0x524219,IconGoogleDrive as _0x1a0d13,IconGooglePhotos as _0x528a83,IconUploadcareImageUpload as _0x21c2d9,IconUploadcareLink as _0x4085e0,IconOneDrive as _0x41b5ce}from'ckeditor5/src/icons.js';import{ButtonView as _0x338ca6,MenuBarMenuListItemButtonView as _0x52e696}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x1a23b1}from'./uploadcareconfig.js';import{getTranslation as _0x639fdb}from'./utils/common-translations.js';function _0x2072(_0x3f8de3,_0x4954ac){const _0x4f2b5a=_0x4f2b();return _0x2072=function(_0x20720e,_0x20f436){_0x20720e=_0x20720e-0x1ab;let _0x1e45b2=_0x4f2b5a[_0x20720e];return _0x1e45b2;},_0x2072(_0x3f8de3,_0x4954ac);}import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';import'../theme/uploadcare-theme.css';function _0x4f2b(){const _0x41b2cc=['uploadcare.uploader.sourceList','isOfficialPlugin','_normalizeConfigSourceList','GPhotos','OneDrive','isEnabled','tooltip','forEach','UploadcareUI','uploadcareLicenseKeyUsageLimit','invalid','evaluationLimit','_getIntegrationKey','Replace','plugins','entries','Dropbox','2029062lcVhkm','1535292NxOZPl','expired','withText','assetManager','text','isPremiumPlugin','URL','get','featureNotAllowed','ImageInsertUI','bind','shortText','pluginName','uploadcareLicenseKeyInvalid','destroy','trialLimit','uploadcareLicenseKeyDomainLimit','_licenseKeyCheckInterval','588050oLftmF','upload','registerIntegration','icon','uploadcareLicenseKeyExpired','licenseKey','1892754nTVLKr','url','usageLimit','reduce','3747vyBLqc','2280rHiWQY','init','isImageSelected','afterInit','_showLicenseError','uploadcare','Uploadcare','Local','uploadcareLicenseKeyValid','config','7071030CfIXsF','Facebook','push','_createToolbarButton','editor','_createDropdownButtons','execute','Insert','has','uploadcareLicenseKeyTrialLimit','13399448lVWaKt','_createMenuBarButtons','type','locale','domainLimit','uploadcareLicenseKeyNotAllowed','label','GDrive','_createButton','commands','uploadcareLicenseKeyEvaluationLimit','map'];_0x4f2b=function(){return _0x41b2cc;};return _0x4f2b();}import'../theme/uploadcareimageedit.css';export class UploadcareUI extends _0x53c412{[_0x192946(0x1f3)];[_0x192946(0x1ed)];static get[_0x192946(0x1e8)](){const _0x460075=_0x192946;return _0x460075(0x1d2);}static get[_0x192946(0x1cb)](){return!0x0;}static get[_0x192946(0x1e1)](){return!0x0;}[_0x192946(0x1ab)](){const _0x4cbbae=_0x192946;this[_0x4cbbae(0x1f3)]=this[_0x4cbbae(0x1b8)][_0x4cbbae(0x1b3)][_0x4cbbae(0x1e3)](_0x4cbbae(0x1f3));const _0x17c099=this[_0x4cbbae(0x1b8)];this[_0x4cbbae(0x1ed)]=setInterval(()=>{const _0x26f1af=_0x4cbbae;let _0x5c50c0;for(const _0x3e56d6 in _0x17c099){const _0x5a1584=_0x3e56d6,_0x438280=_0x17c099[_0x5a1584];if(_0x26f1af(0x1b2)==_0x438280||_0x26f1af(0x1e9)==_0x438280||_0x26f1af(0x1f2)==_0x438280||_0x26f1af(0x1ec)==_0x438280||_0x26f1af(0x1c3)==_0x438280||_0x26f1af(0x1c8)==_0x438280||_0x26f1af(0x1bd)==_0x438280||_0x26f1af(0x1d3)==_0x438280){delete _0x17c099[_0x5a1584],_0x5c50c0=_0x438280,clearInterval(this[_0x26f1af(0x1ed)]),this[_0x26f1af(0x1ed)]=void 0x0;break;}}_0x26f1af(0x1e9)==_0x5c50c0&&_0x17c099[_0x26f1af(0x1ae)](_0x26f1af(0x1d4)),_0x26f1af(0x1f2)==_0x5c50c0&&_0x17c099[_0x26f1af(0x1ae)](_0x26f1af(0x1dd)),_0x26f1af(0x1ec)==_0x5c50c0&&_0x17c099[_0x26f1af(0x1ae)](_0x26f1af(0x1c2)),_0x26f1af(0x1c3)==_0x5c50c0&&_0x17c099[_0x26f1af(0x1ae)](_0x26f1af(0x1e4),_0x26f1af(0x1b0)),_0x26f1af(0x1c8)==_0x5c50c0&&_0x17c099[_0x26f1af(0x1ae)](_0x26f1af(0x1d5)),_0x26f1af(0x1bd)==_0x5c50c0&&_0x17c099[_0x26f1af(0x1ae)](_0x26f1af(0x1eb)),_0x26f1af(0x1d3)==_0x5c50c0&&_0x17c099[_0x26f1af(0x1ae)](_0x26f1af(0x1f6));},0x3e8);}[_0x192946(0x1ad)](){const _0x354ee3=_0x192946,{editor:_0x4d0b1e}=this,_0x40c25f=_0x4d0b1e[_0x354ee3(0x1c7)][_0x354ee3(0x1e3)](_0x354ee3(0x1af));if(!_0x40c25f)return;const _0x2bd206=this[_0x354ee3(0x1cc)](_0x4d0b1e[_0x354ee3(0x1b3)][_0x354ee3(0x1e3)](_0x354ee3(0x1ca)))[_0x354ee3(0x1f7)]((_0x38abdb,_0x3db38a)=>{const _0x5280e7=_0x354ee3,_0x5b20b9=this[_0x5280e7(0x1d6)](_0x3db38a[_0x5280e7(0x1c0)]);return _0x38abdb[_0x5b20b9]||(_0x38abdb[_0x5b20b9]=[]),_0x38abdb[_0x5b20b9][_0x5280e7(0x1b6)](_0x3db38a),_0x38abdb;},{});_0x4d0b1e[_0x354ee3(0x1d8)][_0x354ee3(0x1bc)](_0x354ee3(0x1e5))&&_0x4d0b1e[_0x354ee3(0x1c7)][_0x354ee3(0x1e3)](_0x354ee3(0x1af))&&Object[_0x354ee3(0x1d9)](_0x2bd206)[_0x354ee3(0x1d1)](([_0x5e38fb,_0x95afd8])=>{const _0x1efd22=_0x354ee3;_0x4d0b1e[_0x1efd22(0x1d8)][_0x1efd22(0x1e3)](_0x1efd22(0x1e5))[_0x1efd22(0x1f0)]({'name':_0x5e38fb,'observable':()=>_0x40c25f,'buttonViewCreator':()=>this[_0x1efd22(0x1b7)](_0x95afd8),'formViewCreator':()=>this[_0x1efd22(0x1b9)](_0x95afd8),'menuBarButtonViewCreator':()=>this[_0x1efd22(0x1bf)](_0x95afd8),'override':_0x1efd22(0x1df)!==_0x5e38fb});});}[_0x192946(0x1ea)](){const _0x1e91ce=_0x192946;super[_0x1e91ce(0x1ea)](),this[_0x1e91ce(0x1ed)]&&clearInterval(this[_0x1e91ce(0x1ed)]);}[_0x192946(0x1cc)](_0x113ab6){const _0x26d073=_0x192946,{locale:_0x46537b}=this[_0x26d073(0x1b8)];return _0x113ab6[_0x26d073(0x1c9)](_0x458533=>{const _0x3db6b1=_0x26d073,_0x1ee27e=_0x639fdb(_0x46537b,_0x458533,_0x3db6b1(0x1bb));switch(_0x458533){case _0x1a23b1[_0x3db6b1(0x1b1)]:return{'icon':_0x21c2d9,'type':_0x1a23b1[_0x3db6b1(0x1b1)],..._0x1ee27e};case _0x1a23b1[_0x3db6b1(0x1e2)]:return{'icon':_0x4085e0,'type':_0x1a23b1[_0x3db6b1(0x1e2)],..._0x1ee27e};case _0x1a23b1[_0x3db6b1(0x1da)]:return{'icon':_0x54d718,'type':_0x1a23b1[_0x3db6b1(0x1da)],..._0x1ee27e};case _0x1a23b1[_0x3db6b1(0x1b5)]:return{'icon':_0x524219,'type':_0x1a23b1[_0x3db6b1(0x1b5)],..._0x1ee27e};case _0x1a23b1[_0x3db6b1(0x1c5)]:return{'icon':_0x1a0d13,'type':_0x1a23b1[_0x3db6b1(0x1c5)],..._0x1ee27e};case _0x1a23b1[_0x3db6b1(0x1cd)]:return{'icon':_0x528a83,'type':_0x1a23b1[_0x3db6b1(0x1cd)],..._0x1ee27e};case _0x1a23b1[_0x3db6b1(0x1ce)]:return{'icon':_0x41b5ce,'type':_0x1a23b1[_0x3db6b1(0x1ce)],..._0x1ee27e};}});}[_0x192946(0x1d6)](_0x483e13){const _0x5268f5=_0x192946;switch(_0x483e13){case _0x1a23b1[_0x5268f5(0x1b1)]:return _0x5268f5(0x1ef);case _0x1a23b1[_0x5268f5(0x1e2)]:return _0x5268f5(0x1f5);default:return _0x5268f5(0x1df);}}[_0x192946(0x1c6)](_0x3896bf,_0x51decd){const _0x3a9a2c=_0x192946,_0x1d7607=this[_0x3a9a2c(0x1b8)],_0x4287eb=new _0x3896bf(_0x1d7607[_0x3a9a2c(0x1c1)]),_0xa84f31=_0x1d7607[_0x3a9a2c(0x1c7)][_0x3a9a2c(0x1e3)](_0x3a9a2c(0x1af));return _0x4287eb[_0x3a9a2c(0x1e6)](_0x3a9a2c(0x1cf))['to'](_0xa84f31),_0x4287eb['on'](_0x3a9a2c(0x1ba),()=>{const _0x2e92a9=_0x3a9a2c;_0xa84f31[_0x2e92a9(0x1ba)](_0x51decd);}),_0x4287eb;}[_0x192946(0x1b7)](_0x47a3a6){const _0xc81f95=_0x192946,{locale:_0x4ae4c1}=this[_0xc81f95(0x1b8)],_0x2e5192=this[_0xc81f95(0x1b8)][_0xc81f95(0x1d8)][_0xc81f95(0x1e3)](_0xc81f95(0x1e5)),_0xf23d2e=_0x47a3a6[0x0],_0xd8e1e6=this[_0xc81f95(0x1c6)](_0x338ca6,_0xf23d2e[_0xc81f95(0x1c0)]);return _0xd8e1e6[_0xc81f95(0x1f1)]=_0xf23d2e[_0xc81f95(0x1f1)],_0xd8e1e6[_0xc81f95(0x1e6)](_0xc81f95(0x1c4))['to'](_0x2e5192,_0xc81f95(0x1ac),_0x30983b=>_0x639fdb(_0x4ae4c1,_0xf23d2e[_0xc81f95(0x1c0)],_0x30983b?_0xc81f95(0x1d7):_0xc81f95(0x1bb))[_0xc81f95(0x1e0)]),_0xd8e1e6[_0xc81f95(0x1d0)]=!0x0,_0xd8e1e6;}[_0x192946(0x1b9)](_0x41ce36){const _0x5ee65a=_0x192946,{locale:_0xae2383}=this[_0x5ee65a(0x1b8)],_0x16ed1c=this[_0x5ee65a(0x1b8)][_0x5ee65a(0x1d8)][_0x5ee65a(0x1e3)](_0x5ee65a(0x1e5));return _0x41ce36[_0x5ee65a(0x1c9)](_0x5018b6=>{const _0x147a64=_0x5ee65a,_0x521585=this[_0x147a64(0x1c6)](_0x338ca6,_0x5018b6[_0x147a64(0x1c0)]);return _0x521585[_0x147a64(0x1de)]=!0x0,_0x521585[_0x147a64(0x1f1)]=_0x5018b6[_0x147a64(0x1f1)],_0x521585[_0x147a64(0x1e6)](_0x147a64(0x1c4))['to'](_0x16ed1c,_0x147a64(0x1ac),_0x1bc0e1=>_0x639fdb(_0xae2383,_0x5018b6[_0x147a64(0x1c0)],_0x1bc0e1?_0x147a64(0x1d7):_0x147a64(0x1bb))[_0x147a64(0x1e0)]),_0x521585;});}[_0x192946(0x1bf)](_0x5e2ad6){const _0x18dccd=_0x192946;return _0x5e2ad6[_0x18dccd(0x1c9)](_0x602e97=>{const _0x405212=_0x18dccd,_0x1d3804=this[_0x405212(0x1c6)](_0x52e696,_0x602e97[_0x405212(0x1c0)]);return _0x1d3804[_0x405212(0x1f1)]=_0x602e97[_0x405212(0x1f1)],_0x1d3804[_0x405212(0x1c4)]=_0x602e97[_0x405212(0x1e7)],_0x1d3804;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x34302a}from'ckeditor5/src/core.js';import{FileRepository as _0x550ebd}from'ckeditor5/src/upload.js';import{UploadcareEditing as _0x1e013a}from'./uploadcareediting.js';import{UploadUtils as _0x2a7a55}from'./utils/uploadutils.js';import{getImageUrls as _0x23fdac}from'./utils/editingutils.js';export class UploadcareUploadAdapter extends _0x34302a{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x550ebd,_0x1e013a];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x3165df=this['editor'];if(!!!_0x3165df['config']['get']('uploadcare'))return;_0x3165df['plugins']['get'](_0x550ebd)['createUploadAdapter']=_0x2e7cfd=>new k(_0x2e7cfd,_0x3165df),_0x3165df['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x9e7a9b,{imageElement:_0x44bc8c,data:_0x3dde9e})=>{_0x3165df['model']['change'](_0x16595c=>{_0x16595c['setAttribute']('uploadcareImageId',_0x3dde9e['uploadcareImageId'],_0x44bc8c);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x531848,_0x4152a6){this['loader']=_0x531848,this['editor']=_0x4152a6,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x28dc48=await this['loader']['file'];return _0x2a7a55['upload']({'file':_0x28dc48,'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':_0x4a251f=>{_0x4a251f&&_0x4a251f['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x4a251f['value']);}})['then'](async _0x312ba7=>{const {imageFallbackUrl:_0x4578f4,imageSources:_0x13be48}=_0x23fdac(_0x312ba7['cdnUrl'],_0x312ba7['imageInfo']['width']);return{'uploadcareImageId':_0x312ba7['uuid'],'default':_0x4578f4,'sources':_0x13be48};})['catch'](()=>{const _0x3be83d=t('Cannot\x20upload\x20file:')+('\x20'+_0x28dc48['name']+'.');return Promise['reject'](_0x3be83d);});}['abort'](){this['controller']['abort']();}}
23
+ import{Plugin as _0x93bbeb}from'ckeditor5/src/core.js';import{FileRepository as _0x20c802}from'ckeditor5/src/upload.js';import{UploadcareEditing as _0xfd1b43}from'./uploadcareediting.js';import{UploadUtils as _0x549197}from'./utils/uploadutils.js';import{getImageUrls as _0x463e9b}from'./utils/editingutils.js';export class UploadcareUploadAdapter extends _0x93bbeb{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x20c802,_0xfd1b43];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x3bd241=this['editor'];if(!!!_0x3bd241['config']['get']('uploadcare'))return;_0x3bd241['plugins']['get'](_0x20c802)['createUploadAdapter']=_0x5449de=>new k(_0x5449de,_0x3bd241),_0x3bd241['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x5b8592,{imageElement:_0x2a32cc,data:_0x316250})=>{_0x3bd241['model']['change'](_0x29bf24=>{_0x29bf24['setAttribute']('uploadcareImageId',_0x316250['uploadcareImageId'],_0x2a32cc);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x2dca1b,_0x154408){this['loader']=_0x2dca1b,this['editor']=_0x154408,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x51ec3e=await this['loader']['file'];return _0x549197['upload']({'file':_0x51ec3e,'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':_0x45b15c=>{_0x45b15c&&_0x45b15c['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x45b15c['value']);}})['then'](async _0x3fb39e=>{const {imageFallbackUrl:_0x5ce057,imageSources:_0x458471}=_0x463e9b(_0x3fb39e['cdnUrl'],_0x3fb39e['imageInfo']['width']);return{'uploadcareImageId':_0x3fb39e['uuid'],'default':_0x5ce057,'sources':_0x458471};})['catch'](()=>{const _0x2f6b08=t('Cannot\x20upload\x20file:')+('\x20'+_0x51ec3e['name']+'.');return Promise['reject'](_0x2f6b08);});}['abort'](){this['controller']['abort']();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{UploadcareSource as _0x665995}from'../uploadcareconfig.js';export function getTranslation(_0x3f1e51,_0xfcfe97,_0x4f0096){const t=_0x3f1e51['t'],_0x4f9494=_0x3f1e51['t'];switch(_0xfcfe97){case _0x665995['Local']:return{'text':_0x4f9494('Insert'===_0x4f0096?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x4f9494('From\x20computer')};case _0x665995['URL']:return{'text':'Insert'===_0x4f0096?_0x4f9494('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x4f9494('Via\x20URL')};case _0x665995['Dropbox']:return{'text':t('Insert'===_0x4f0096?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x665995['Facebook']:return{'text':t('Insert'===_0x4f0096?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x665995['GDrive']:return{'text':t('Insert'===_0x4f0096?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x665995['GPhotos']:return{'text':t('Insert'===_0x4f0096?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x665995['OneDrive']:return{'text':t('Insert'===_0x4f0096?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0xfcfe97;}}
23
+ import{UploadcareSource as _0x52745d}from'../uploadcareconfig.js';export function getTranslation(_0x124975,_0x51ec26,_0x55de15){const t=_0x124975['t'],_0x212f26=_0x124975['t'];switch(_0x51ec26){case _0x52745d['Local']:return{'text':_0x212f26('Insert'===_0x55de15?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x212f26('From\x20computer')};case _0x52745d['URL']:return{'text':'Insert'===_0x55de15?_0x212f26('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x212f26('Via\x20URL')};case _0x52745d['Dropbox']:return{'text':t('Insert'===_0x55de15?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x52745d['Facebook']:return{'text':t('Insert'===_0x55de15?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x52745d['GDrive']:return{'text':t('Insert'===_0x55de15?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x52745d['GPhotos']:return{'text':t('Insert'===_0x55de15?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x52745d['OneDrive']:return{'text':t('Insert'===_0x55de15?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x51ec26;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x36aba5=_0x5129;function _0x4a74(){var _0x46b5e1=['832475HQRoER','323600ixusaC','div','4041ErCTdG','8400lXrCjx','forwardCycle','2434848nhUFZb','createCollection','fire','6309sAqQfe','true','bindTemplate','getFocusableElement','focusCycler','213277WWimxb','15670TEXGNu','672ibslQA','focusTracker','696dFWDjp'];_0x4a74=function(){return _0x46b5e1;};return _0x4a74();}function _0x5129(_0x41588a,_0x3c1b85){var _0x4a742c=_0x4a74();return _0x5129=function(_0x5129a3,_0xb7784a){_0x5129a3=_0x5129a3-0x1d0;var _0x648674=_0x4a742c[_0x5129a3];return _0x648674;},_0x5129(_0x41588a,_0x3c1b85);}(function(_0x80122e,_0x4c3623){var _0x5da719=_0x5129,_0x36ac2f=_0x80122e();while(!![]){try{var _0x33c98a=parseInt(_0x5da719(0x1d9))/0x1+-parseInt(_0x5da719(0x1df))/0x2+-parseInt(_0x5da719(0x1e1))/0x3*(parseInt(_0x5da719(0x1dd))/0x4)+-parseInt(_0x5da719(0x1de))/0x5+-parseInt(_0x5da719(0x1d1))/0x6+parseInt(_0x5da719(0x1db))/0x7*(-parseInt(_0x5da719(0x1e2))/0x8)+-parseInt(_0x5da719(0x1d4))/0x9*(-parseInt(_0x5da719(0x1da))/0xa);if(_0x33c98a===_0x4c3623)break;else _0x36ac2f['push'](_0x36ac2f['shift']());}catch(_0x49158f){_0x36ac2f['push'](_0x36ac2f['shift']());}}}(_0x4a74,0x3b31f));import{FocusTracker as _0x43f8f9}from'ckeditor5/src/utils.js';import{View as _0xfc9dc8,FocusCycler as _0x2ccbfd}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';export class DialogFocusManagerView extends _0xfc9dc8{[_0x36aba5(0x1dc)];[_0x36aba5(0x1d8)];constructor(_0xcfcfde){var _0x1b56e4=_0x36aba5;super(_0xcfcfde),this[_0x1b56e4(0x1dc)]=new _0x43f8f9(),this[_0x1b56e4(0x1d8)]=new _0x2ccbfd({'focusables':this[_0x1b56e4(0x1d2)](),'focusTracker':this[_0x1b56e4(0x1dc)]});}[_0x36aba5(0x1d7)](){var _0x4917f1=_0x36aba5;return{'tag':_0x4917f1(0x1e0),'attributes':{'aria-hidden':_0x4917f1(0x1d5),'tabindex':'0'},'on':{'focus':this[_0x4917f1(0x1d6)]['to'](()=>{var _0x5cce22=_0x4917f1;this[_0x5cce22(0x1d8)][_0x5cce22(0x1d3)](_0x5cce22(0x1d0));})}};}}
23
+ var _0x489229=_0x35cf;(function(_0x60142a,_0x3501ac){var _0x25ca77=_0x35cf,_0x4f7464=_0x60142a();while(!![]){try{var _0x12e12c=parseInt(_0x25ca77(0xa5))/0x1*(-parseInt(_0x25ca77(0xa8))/0x2)+parseInt(_0x25ca77(0xb7))/0x3*(parseInt(_0x25ca77(0xac))/0x4)+-parseInt(_0x25ca77(0xa7))/0x5*(-parseInt(_0x25ca77(0xad))/0x6)+-parseInt(_0x25ca77(0xab))/0x7*(-parseInt(_0x25ca77(0xa9))/0x8)+parseInt(_0x25ca77(0xb1))/0x9+-parseInt(_0x25ca77(0xb0))/0xa*(parseInt(_0x25ca77(0xb9))/0xb)+-parseInt(_0x25ca77(0xb5))/0xc;if(_0x12e12c===_0x3501ac)break;else _0x4f7464['push'](_0x4f7464['shift']());}catch(_0x5ac6b0){_0x4f7464['push'](_0x4f7464['shift']());}}}(_0x1016,0x3feb9));import{FocusTracker as _0x27c645}from'ckeditor5/src/utils.js';function _0x35cf(_0x5d234b,_0x5bdcd7){var _0x1016d5=_0x1016();return _0x35cf=function(_0x35cf55,_0x425992){_0x35cf55=_0x35cf55-0xa5;var _0x3cf3fe=_0x1016d5[_0x35cf55];return _0x3cf3fe;},_0x35cf(_0x5d234b,_0x5bdcd7);}import{View as _0x44c4c6,FocusCycler as _0x25e230}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';export class DialogFocusManagerView extends _0x44c4c6{[_0x489229(0xaa)];[_0x489229(0xae)];constructor(_0x51e7ca){var _0x5cbc44=_0x489229;super(_0x51e7ca),this[_0x5cbc44(0xaa)]=new _0x27c645(),this[_0x5cbc44(0xae)]=new _0x25e230({'focusables':this[_0x5cbc44(0xb3)](),'focusTracker':this[_0x5cbc44(0xaa)]});}[_0x489229(0xa6)](){var _0x59b629=_0x489229;return{'tag':_0x59b629(0xb6),'attributes':{'aria-hidden':_0x59b629(0xaf),'tabindex':'0'},'on':{'focus':this[_0x59b629(0xb8)]['to'](()=>{var _0x5c6361=_0x59b629;this[_0x5c6361(0xae)][_0x5c6361(0xb4)](_0x5c6361(0xb2));})}};}}function _0x1016(){var _0x370e15=['1NzcJUw','getFocusableElement','3550RpSjZo','49630HscaEm','416LUkNrS','focusTracker','55391RMyzqI','9356yNBZud','4206MGkfuW','focusCycler','true','20sHdQSC','4618017TNAFSF','forwardCycle','createCollection','fire','16327848ftxkht','div','339ffKGeg','bindTemplate','216260UtoZdk'];_0x1016=function(){return _0x370e15;};return _0x1016();}