@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-20250226.0 → 0.0.0-nightly-next-20250226.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 (184) hide show
  1. package/build/uploadcare.js +1 -1
  2. package/ckeditor5-metadata.json +1 -1
  3. package/dist/index.js +3 -3
  4. package/dist/translations/af.js +1 -1
  5. package/dist/translations/af.umd.js +1 -1
  6. package/dist/translations/ar.js +1 -1
  7. package/dist/translations/ar.umd.js +1 -1
  8. package/dist/translations/ast.js +1 -1
  9. package/dist/translations/ast.umd.js +1 -1
  10. package/dist/translations/az.js +1 -1
  11. package/dist/translations/az.umd.js +1 -1
  12. package/dist/translations/bg.js +1 -1
  13. package/dist/translations/bg.umd.js +1 -1
  14. package/dist/translations/bn.js +1 -1
  15. package/dist/translations/bn.umd.js +1 -1
  16. package/dist/translations/bs.js +1 -1
  17. package/dist/translations/bs.umd.js +1 -1
  18. package/dist/translations/ca.js +1 -1
  19. package/dist/translations/ca.umd.js +1 -1
  20. package/dist/translations/cs.js +1 -1
  21. package/dist/translations/cs.umd.js +1 -1
  22. package/dist/translations/da.js +1 -1
  23. package/dist/translations/da.umd.js +1 -1
  24. package/dist/translations/de-ch.js +1 -1
  25. package/dist/translations/de-ch.umd.js +1 -1
  26. package/dist/translations/de.js +1 -1
  27. package/dist/translations/de.umd.js +1 -1
  28. package/dist/translations/el.js +1 -1
  29. package/dist/translations/el.umd.js +1 -1
  30. package/dist/translations/en-au.js +1 -1
  31. package/dist/translations/en-au.umd.js +1 -1
  32. package/dist/translations/en-gb.js +1 -1
  33. package/dist/translations/en-gb.umd.js +1 -1
  34. package/dist/translations/en.js +1 -1
  35. package/dist/translations/en.umd.js +1 -1
  36. package/dist/translations/eo.js +1 -1
  37. package/dist/translations/eo.umd.js +1 -1
  38. package/dist/translations/es-co.js +1 -1
  39. package/dist/translations/es-co.umd.js +1 -1
  40. package/dist/translations/es.js +1 -1
  41. package/dist/translations/es.umd.js +1 -1
  42. package/dist/translations/et.js +1 -1
  43. package/dist/translations/et.umd.js +1 -1
  44. package/dist/translations/eu.js +1 -1
  45. package/dist/translations/eu.umd.js +1 -1
  46. package/dist/translations/fa.js +1 -1
  47. package/dist/translations/fa.umd.js +1 -1
  48. package/dist/translations/fi.js +1 -1
  49. package/dist/translations/fi.umd.js +1 -1
  50. package/dist/translations/fr.js +1 -1
  51. package/dist/translations/fr.umd.js +1 -1
  52. package/dist/translations/gl.js +1 -1
  53. package/dist/translations/gl.umd.js +1 -1
  54. package/dist/translations/gu.js +1 -1
  55. package/dist/translations/gu.umd.js +1 -1
  56. package/dist/translations/he.js +1 -1
  57. package/dist/translations/he.umd.js +1 -1
  58. package/dist/translations/hi.js +1 -1
  59. package/dist/translations/hi.umd.js +1 -1
  60. package/dist/translations/hr.js +1 -1
  61. package/dist/translations/hr.umd.js +1 -1
  62. package/dist/translations/hu.js +1 -1
  63. package/dist/translations/hu.umd.js +1 -1
  64. package/dist/translations/hy.js +1 -1
  65. package/dist/translations/hy.umd.js +1 -1
  66. package/dist/translations/id.js +1 -1
  67. package/dist/translations/id.umd.js +1 -1
  68. package/dist/translations/it.js +1 -1
  69. package/dist/translations/it.umd.js +1 -1
  70. package/dist/translations/ja.js +1 -1
  71. package/dist/translations/ja.umd.js +1 -1
  72. package/dist/translations/jv.js +1 -1
  73. package/dist/translations/jv.umd.js +1 -1
  74. package/dist/translations/kk.js +1 -1
  75. package/dist/translations/kk.umd.js +1 -1
  76. package/dist/translations/km.js +1 -1
  77. package/dist/translations/km.umd.js +1 -1
  78. package/dist/translations/kn.js +1 -1
  79. package/dist/translations/kn.umd.js +1 -1
  80. package/dist/translations/ko.js +1 -1
  81. package/dist/translations/ko.umd.js +1 -1
  82. package/dist/translations/ku.js +1 -1
  83. package/dist/translations/ku.umd.js +1 -1
  84. package/dist/translations/lt.js +1 -1
  85. package/dist/translations/lt.umd.js +1 -1
  86. package/dist/translations/lv.js +1 -1
  87. package/dist/translations/lv.umd.js +1 -1
  88. package/dist/translations/ms.js +1 -1
  89. package/dist/translations/ms.umd.js +1 -1
  90. package/dist/translations/nb.js +1 -1
  91. package/dist/translations/nb.umd.js +1 -1
  92. package/dist/translations/ne.js +1 -1
  93. package/dist/translations/ne.umd.js +1 -1
  94. package/dist/translations/nl.js +1 -1
  95. package/dist/translations/nl.umd.js +1 -1
  96. package/dist/translations/no.js +1 -1
  97. package/dist/translations/no.umd.js +1 -1
  98. package/dist/translations/oc.js +1 -1
  99. package/dist/translations/oc.umd.js +1 -1
  100. package/dist/translations/pl.js +1 -1
  101. package/dist/translations/pl.umd.js +1 -1
  102. package/dist/translations/pt-br.js +1 -1
  103. package/dist/translations/pt-br.umd.js +1 -1
  104. package/dist/translations/pt.js +1 -1
  105. package/dist/translations/pt.umd.js +1 -1
  106. package/dist/translations/ro.js +1 -1
  107. package/dist/translations/ro.umd.js +1 -1
  108. package/dist/translations/ru.js +1 -1
  109. package/dist/translations/ru.umd.js +1 -1
  110. package/dist/translations/si.js +1 -1
  111. package/dist/translations/si.umd.js +1 -1
  112. package/dist/translations/sk.js +1 -1
  113. package/dist/translations/sk.umd.js +1 -1
  114. package/dist/translations/sl.js +1 -1
  115. package/dist/translations/sl.umd.js +1 -1
  116. package/dist/translations/sq.js +1 -1
  117. package/dist/translations/sq.umd.js +1 -1
  118. package/dist/translations/sr-latn.js +1 -1
  119. package/dist/translations/sr-latn.umd.js +1 -1
  120. package/dist/translations/sr.js +1 -1
  121. package/dist/translations/sr.umd.js +1 -1
  122. package/dist/translations/sv.js +1 -1
  123. package/dist/translations/sv.umd.js +1 -1
  124. package/dist/translations/th.js +1 -1
  125. package/dist/translations/th.umd.js +1 -1
  126. package/dist/translations/ti.js +1 -1
  127. package/dist/translations/ti.umd.js +1 -1
  128. package/dist/translations/tk.js +1 -1
  129. package/dist/translations/tk.umd.js +1 -1
  130. package/dist/translations/tr.js +1 -1
  131. package/dist/translations/tr.umd.js +1 -1
  132. package/dist/translations/tt.js +1 -1
  133. package/dist/translations/tt.umd.js +1 -1
  134. package/dist/translations/ug.js +1 -1
  135. package/dist/translations/ug.umd.js +1 -1
  136. package/dist/translations/uk.js +1 -1
  137. package/dist/translations/uk.umd.js +1 -1
  138. package/dist/translations/ur.js +1 -1
  139. package/dist/translations/ur.umd.js +1 -1
  140. package/dist/translations/uz.js +1 -1
  141. package/dist/translations/uz.umd.js +1 -1
  142. package/dist/translations/vi.js +1 -1
  143. package/dist/translations/vi.umd.js +1 -1
  144. package/dist/translations/zh-cn.js +1 -1
  145. package/dist/translations/zh-cn.umd.js +1 -1
  146. package/dist/translations/zh.js +1 -1
  147. package/dist/translations/zh.umd.js +1 -1
  148. package/package.json +9 -8
  149. package/src/index.js +1 -1
  150. package/src/ui/uploadcarecontroller.d.ts +2 -6
  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.d.ts +1 -4
  160. package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.js +1 -1
  161. package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.js +1 -1
  162. package/src/uploadcareimageedit/ui/uploadcareimageeditformview.js +1 -1
  163. package/src/uploadcareimageedit/uploadcareimageeditcommand.js +1 -1
  164. package/src/uploadcareimageedit/uploadcareimageeditediting.js +1 -1
  165. package/src/uploadcareimageedit/uploadcareimageeditui.js +1 -1
  166. package/src/uploadcareimageedit/uploadcareimagereplacecommand.js +1 -1
  167. package/src/uploadcareimageedit.js +1 -1
  168. package/src/uploadcareui.js +1 -1
  169. package/src/uploadcareuploadadapter.js +1 -1
  170. package/src/utils/common-translations.js +1 -1
  171. package/src/utils/dialogfocusmanagerview.js +1 -1
  172. package/src/utils/editingutils.js +1 -1
  173. package/src/utils/isancestor.js +1 -1
  174. package/src/utils/uploadutils.js +1 -1
  175. package/theme/icons/dropbox.svg +0 -11
  176. package/theme/icons/error.svg +0 -1
  177. package/theme/icons/facebook.svg +0 -11
  178. package/theme/icons/google-drive.svg +0 -11
  179. package/theme/icons/google-photos.svg +0 -11
  180. package/theme/icons/image-upload.svg +0 -11
  181. package/theme/icons/link.svg +0 -11
  182. package/theme/icons/local.svg +0 -11
  183. package/theme/icons/onedrive.svg +0 -11
  184. package/theme/icons/uploadcare-image-edit.svg +0 -11
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x505e07=_0x3e11;(function(_0x13f92c,_0x34201d){const _0xb17450=_0x3e11,_0x42c8e5=_0x13f92c();while(!![]){try{const _0x10896f=parseInt(_0xb17450(0xc5))/0x1+-parseInt(_0xb17450(0x9b))/0x2*(parseInt(_0xb17450(0x86))/0x3)+parseInt(_0xb17450(0xaf))/0x4+-parseInt(_0xb17450(0xbf))/0x5+-parseInt(_0xb17450(0xa2))/0x6*(parseInt(_0xb17450(0x93))/0x7)+-parseInt(_0xb17450(0xba))/0x8+parseInt(_0xb17450(0x85))/0x9;if(_0x10896f===_0x34201d)break;else _0x42c8e5['push'](_0x42c8e5['shift']());}catch(_0x11f365){_0x42c8e5['push'](_0x42c8e5['shift']());}}}(_0x2614,0x5c4f2));import{Plugin as _0x2d7681}from'ckeditor5/src/core.js';import{Dialog as _0x1b773a}from'ckeditor5/src/ui.js';import{createElement as _0x254900,global as _0x3139ac,uid as _0x324af6}from'ckeditor5/src/utils.js';import _0x4f3ece from'./uploadcarecommand.js';function _0x2614(){const _0x58c41f=['get','conversion','isPremiumPlugin','map','add','editing','uploadcare','_ctxElement','editor','7AaANGp','for','remove','uploadcare.uploader','querySelector','_configElement','imageInline','cleanupImage','46078FMfkaA','replaceImageSource','ctxElement','href','closeMax','body','uploadcareImageReplace','3280638yuWbzZ','attributeToAttribute','fromCharCode','_initSchema','_initImageProcessingIndicator','commands','removeAttribute','document','execute','iconHrefResolver','pluginName','_initConfig','config','1283264xOFpGz','_initConversion','uc-upload-ctx-provider','PictureEditing','model','join','destroy','render','upcast','uc-config','requires','1618904SXOYmZ','getSelectedElement','insertImage','once','\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','3332565VTlcgD','uploadcareImageId','#uc-icon-arrow-down','view','isOfficialPlugin','appendChild','74453KiCOIe','imageBlock','extend','data-uc-image-id','elementToAttribute','uploadcare.pubkey','listenTo','downcast','true','schema','selection','locale','configElement','isRegistered','contentLanguage','UploadcareEditing','input[uploadcare-file-input]','getAttribute','uploader','17148024lyhzvh','66AhMUjU','_initCtx','init','afterInit'];_0x2614=function(){return _0x58c41f;};return _0x2614();}function _0x3e11(_0x44a8be,_0x3955d4){const _0x2614e5=_0x2614();return _0x3e11=function(_0x3e11b3,_0x3799b5){_0x3e11b3=_0x3e11b3-0x7d;let _0x40dfef=_0x2614e5[_0x3e11b3];return _0x40dfef;},_0x3e11(_0x44a8be,_0x3955d4);}import _0x3243cc from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x16acd1}from'./utils/editingutils.js';export default class i extends _0x2d7681{constructor(){const _0xa7f187=_0x3e11;super(...arguments),this[_0xa7f187(0x98)]=null,this[_0xa7f187(0x91)]=null;}static get[_0x505e07(0xac)](){const _0x38972b=_0x505e07;return _0x38972b(0x81);}static get[_0x505e07(0xb9)](){const _0x40d4f0=_0x505e07;return[_0x40d4f0(0xb2),_0x3243cc,_0x1b773a];}static get[_0x505e07(0xc3)](){return!0x0;}static get[_0x505e07(0x8c)](){return!0x0;}get[_0x505e07(0x7e)](){const _0x217fdd=_0x505e07;return this[_0x217fdd(0x98)];}get[_0x505e07(0x9d)](){const _0x3f4538=_0x505e07;return this[_0x3f4538(0x91)];}[_0x505e07(0x88)](){const _0x525c24=_0x505e07,_0x245db5=this[_0x525c24(0x92)];_0x245db5[_0x525c24(0xa7)][_0x525c24(0x8e)](_0x525c24(0x90),new _0x4f3ece(_0x245db5));}[_0x505e07(0x89)](){const _0x335ba8=_0x505e07;this[_0x335ba8(0xa5)](),this[_0x335ba8(0xb0)](),this[_0x335ba8(0xad)](),this[_0x335ba8(0x87)](),this[_0x335ba8(0xa6)](),this[_0x335ba8(0xcb)](this[_0x335ba8(0x92)],_0x335ba8(0xb5),()=>{const _0x3867e8=_0x335ba8;this[_0x3867e8(0x98)]&&(this[_0x3867e8(0x98)][_0x3867e8(0x95)](),this[_0x3867e8(0x98)]=null),this[_0x3867e8(0x91)]&&(this[_0x3867e8(0x91)][_0x3867e8(0x95)](),this[_0x3867e8(0x91)]=null);const _0xedad1b=_0x3139ac[_0x3867e8(0xa9)][_0x3867e8(0x97)](_0x3867e8(0x82));_0xedad1b&&_0xedad1b[_0x3867e8(0x95)]();}),async function(_0x32e032){const _0x4c958e=_0xbbe3f1([0x78,0x69,0x33,0x42,0x72,0x4f,0x59,0x6b,0x71,0x62,0x4e,0x51,0x5a,0x6e,0x43,0x39,0x68,0x56,0x74,0x30,0x67,0x4d,0x63,0x73,0x57,0x7a,0x44,0x79,0x4a,0x77,0x4c,0x75,0x66,0x64,0x35,0x36,0x34,0x54,0x6c,0x61,0x53,0x58,0x76,0x65,0x46,0x48,0x70,0x50,0x41,0x52,0x6f,0x45,0x49,0x6d,0x31,0x32,0x4b,0x38,0x47,0x55,0x6a,0x37]),_0xe6fe66=0x3707866b,_0x10ef6d=0x3700e6f3^_0xe6fe66,_0x275d92=window[_0xbbe3f1([0x44,0x61,0x74,0x65])][_0xbbe3f1([0x6e,0x6f,0x77])](),_0xf093bb=_0x32e032[_0xbbe3f1([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x4b2641=new window[(_0xbbe3f1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x211f83=>{_0xf093bb[_0xbbe3f1([0x6f,0x6e,0x63,0x65])](_0xbbe3f1([0x72,0x65,0x61,0x64,0x79]),_0x211f83);}),_0xd61918={[_0xbbe3f1([0x6b,0x74,0x79])]:_0xbbe3f1([0x45,0x43]),[_0xbbe3f1([0x75,0x73,0x65])]:_0xbbe3f1([0x73,0x69,0x67]),[_0xbbe3f1([0x63,0x72,0x76])]:_0xbbe3f1([0x50,0x2d,0x32,0x35,0x36]),[_0xbbe3f1([0x78])]:_0xbbe3f1([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]),[_0xbbe3f1([0x79])]:_0xbbe3f1([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]),[_0xbbe3f1([0x61,0x6c,0x67])]:_0xbbe3f1([0x45,0x53,0x32,0x35,0x36])},_0x5a9a59=_0xf093bb[_0xbbe3f1([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0xbbe3f1([0x67,0x65,0x74])](_0xbbe3f1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0xcb71e8(){let _0x364358,_0x39ea86=null,_0x5c3d23=null;try{if(_0x5a9a59==_0xbbe3f1([0x47,0x50,0x4c]))return _0xbbe3f1([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x364358=_0x4b10be(),!_0x364358)return _0xbbe3f1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x364358[_0xbbe3f1([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x5c3d23=_0x4a2534(_0x364358[_0xbbe3f1([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x364358[_0xbbe3f1([0x6a,0x74,0x69])])),await _0x93d3e9()?_0x4b7c7d()?_0x4dac53()?_0xbbe3f1([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x2f52b1()?(_0x364358[_0xbbe3f1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xbbe3f1([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x39ea86=_0x210a51(_0xbbe3f1([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x364358[_0xbbe3f1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xbbe3f1([0x74,0x72,0x69,0x61,0x6c])&&(_0x39ea86=_0x210a51(_0xbbe3f1([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x973cb7()):_0xbbe3f1([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0xbbe3f1([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0xbbe3f1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x395280){return _0xbbe3f1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x4dac53(){const _0xc655da=[_0xbbe3f1([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0xbbe3f1([0x74,0x72,0x69,0x61,0x6c])][_0xbbe3f1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x364358[_0xbbe3f1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x275d92/0x3e8:0xe10*_0x10ef6d;return _0x364358[_0xbbe3f1([0x65,0x78,0x70])]<_0xc655da;}function _0x4b7c7d(){const _0x3604fa=_0x364358[_0xbbe3f1([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x3604fa&&(!!_0x3604fa[_0xbbe3f1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xbbe3f1([0x2a]))||!!_0x3604fa[_0xbbe3f1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xbbe3f1([0x55,0x50,0x4c,0x43])));}function _0x2f52b1(){const _0x34ccf0=_0x3e11,_0x26e664=_0x364358[_0xbbe3f1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x26e664||0x0==_0x26e664[_0xbbe3f1([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3aaae2}=new URL(window[_0xbbe3f1([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x34ccf0(0x9e)]);if(_0x26e664[_0xbbe3f1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3aaae2))return!0x0;const _0x456059=_0x3aaae2[_0xbbe3f1([0x73,0x70,0x6c,0x69,0x74])](_0xbbe3f1([0x2e]));return _0x26e664[_0xbbe3f1([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x18a09f=>_0x18a09f[_0xbbe3f1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xbbe3f1([0x2a])))[_0xbbe3f1([0x6d,0x61,0x70])](_0x1516e6=>_0x1516e6[_0xbbe3f1([0x73,0x70,0x6c,0x69,0x74])](_0xbbe3f1([0x2e])))[_0xbbe3f1([0x73,0x6f,0x6d,0x65])](_0x201fe9=>_0x456059[_0xbbe3f1([0x65,0x76,0x65,0x72,0x79])]((_0x353e54,_0x4f9294)=>_0x201fe9[_0x4f9294]===_0x353e54||_0x201fe9[_0x4f9294]===_0xbbe3f1([0x2a])));}function _0x973cb7(){return _0x39ea86&&_0x5c3d23?new window[(_0xbbe3f1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5e79d6,_0x3a0f50)=>{_0x39ea86[_0xbbe3f1([0x74,0x68,0x65,0x6e])](_0x5e79d6,_0x3a0f50),_0x5c3d23[_0xbbe3f1([0x74,0x68,0x65,0x6e])](_0xcda5e4=>{_0xcda5e4!=_0xbbe3f1([0x56,0x61,0x6c,0x69,0x64])&&_0x5e79d6(_0xcda5e4);},_0x3a0f50);}):_0x39ea86||_0x5c3d23||_0xbbe3f1([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4a2534(_0x407b83,_0x5f0595){return new window[(_0xbbe3f1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x48c8df=>{if(_0x48ec74())return _0x48c8df(_0xbbe3f1([0x56,0x61,0x6c,0x69,0x64]));_0x526a72(),_0xf093bb[_0xbbe3f1([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0xbbe3f1([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x566298=!0x1;const _0x5da3a=_0x324af6();function _0x1a34e2(_0x1f51e){return!!_0x1f51e&&(typeof _0x1f51e===_0xbbe3f1([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1f51e===_0xbbe3f1([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1f51e[_0xbbe3f1([0x74,0x68,0x65,0x6e])]===_0xbbe3f1([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1f51e[_0xbbe3f1([0x63,0x61,0x74,0x63,0x68])]===_0xbbe3f1([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1bde7b(_0x2ec083){_0x210b05(_0x2ec083)[_0xbbe3f1([0x74,0x68,0x65,0x6e])](_0x52f803=>{if(!_0x52f803||_0x52f803[_0xbbe3f1([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0xbbe3f1([0x6f,0x6b]))return _0xbbe3f1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2aa556(_0x4e2e8b(_0x5da3a+_0x5f0595))!=_0x52f803[_0xbbe3f1([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0xbbe3f1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0xbbe3f1([0x56,0x61,0x6c,0x69,0x64]);})[_0xbbe3f1([0x74,0x68,0x65,0x6e])](_0x2fda52=>(_0x8fd0e7(),_0x2fda52),()=>{const _0xf41a92=_0x1c23c7();return null==_0xf41a92?(_0x8fd0e7(),_0xbbe3f1([0x56,0x61,0x6c,0x69,0x64])):_0xbbe3f1(_0x275d92-_0xf41a92>(0x130b026b^_0xe6fe66)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0xbbe3f1([0x74,0x68,0x65,0x6e])](_0x48c8df)[_0xbbe3f1([0x63,0x61,0x74,0x63,0x68])](()=>{_0x48c8df(_0xbbe3f1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x3ad551=0x373168eb^_0xe6fe66;function _0x8fd0e7(){const _0x3eb19a=_0xbbe3f1([0x6c,0x6c,0x63,0x74,0x2d])+_0x2aa556(_0x4e2e8b(_0x407b83)),_0x464f64=_0xb79e8a(_0x2aa556(window[_0xbbe3f1([0x4d,0x61,0x74,0x68])][_0xbbe3f1([0x63,0x65,0x69,0x6c])](_0x275d92/_0x3ad551)));window[_0xbbe3f1([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xbbe3f1([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3eb19a,_0x464f64);}function _0x1c23c7(){const _0x37fd3a=_0xbbe3f1([0x6c,0x6c,0x63,0x74,0x2d])+_0x2aa556(_0x4e2e8b(_0x407b83)),_0x4fd928=window[_0xbbe3f1([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xbbe3f1([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x37fd3a);return _0x4fd928?window[_0xbbe3f1([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xb79e8a(_0x4fd928),0x10)*_0x3ad551:null;}function _0x210b05(_0x37b049){return new window[(_0xbbe3f1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4ad279,_0x40c75a)=>{_0x37b049[_0xbbe3f1([0x74,0x68,0x65,0x6e])](_0x4ad279,_0x40c75a),window[_0xbbe3f1([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x40c75a,0x370652ab^_0xe6fe66);});}}_0xf093bb[_0xbbe3f1([0x6f,0x6e])](_0xbbe3f1([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x25396c,_0x5c42a7)=>{if(_0x5c42a7[0x0]!=_0x407b83)return _0x48c8df(_0xbbe3f1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x5c42a7[0x1]={..._0x5c42a7[0x1],[_0xbbe3f1([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5da3a};},{[_0xbbe3f1([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xbbe3f1([0x68,0x69,0x67,0x68])}),_0xf093bb[_0xbbe3f1([0x6f,0x6e])](_0xbbe3f1([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x15df88=>{_0x1a34e2(_0x15df88[_0xbbe3f1([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x566298=!0x0,_0x1bde7b(_0x15df88[_0xbbe3f1([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0xbbe3f1([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xbbe3f1([0x6c,0x6f,0x77])}),_0x4b2641[_0xbbe3f1([0x74,0x68,0x65,0x6e])](()=>{_0x566298||_0x48c8df(_0xbbe3f1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x48ec74(){return _0xf093bb[_0xbbe3f1([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xbbe3f1([0x76,0x69,0x65,0x77])][_0xbbe3f1([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0xbbe3f1([0x61,0x75,0x74,0x6f]);}function _0x526a72(){_0xf093bb[_0xbbe3f1([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xbbe3f1([0x76,0x69,0x65,0x77])][_0xbbe3f1([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0xbbe3f1([0x61,0x75,0x74,0x6f]);}}function _0x210a51(_0x11e049){const _0x5b7d2e=[new window[(_0xbbe3f1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xff3015=>setTimeout(_0xff3015,0x370eb8a7^_0xe6fe66)),_0x4b2641[_0xbbe3f1([0x74,0x68,0x65,0x6e])](()=>new window[(_0xbbe3f1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xdd4c0=>{let _0x235a97=0x0;_0xf093bb[_0xbbe3f1([0x6d,0x6f,0x64,0x65,0x6c])][_0xbbe3f1([0x6f,0x6e])](_0xbbe3f1([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x2dcc97,_0x35f826)=>{_0x35f826[0x0][_0xbbe3f1([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x235a97++,_0x235a97==(0x37078793^_0xe6fe66)&&(_0xdd4c0(),_0x2dcc97[_0xbbe3f1([0x6f,0x66,0x66])]());});}))];return window[_0xbbe3f1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0xbbe3f1([0x72,0x61,0x63,0x65])](_0x5b7d2e)[_0xbbe3f1([0x74,0x68,0x65,0x6e])](()=>_0x11e049);}async function _0x3f73a6(){await _0x4b2641,_0xf093bb[_0xbbe3f1([0x6d,0x6f,0x64,0x65,0x6c])][_0xbbe3f1([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x35448b,_0xf093bb[_0xbbe3f1([0x6d,0x6f,0x64,0x65,0x6c])][_0xbbe3f1([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x35448b,_0xf093bb[_0xbbe3f1([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0xbbe3f1([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x2a4001(_0x9d5eef){const _0x1d5f89=_0x3c8100();_0xf093bb[_0x1d5f89]=_0xbbe3f1([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x9d5eef,_0x9d5eef!=_0xbbe3f1([0x56,0x61,0x6c,0x69,0x64])&&_0x3f73a6();}function _0x3c8100(){const _0x40d727=window[_0xbbe3f1([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0xbbe3f1([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0xbbe3f1([0x6e,0x6f,0x77])]())[_0xbbe3f1([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0xbbe3f1([0x2e]),'');let _0x1c3af7=_0xbbe3f1([0x78]);for(let _0x1b1e1c=0x0;_0x1b1e1c<_0x40d727[_0xbbe3f1([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1b1e1c+=0x2){let _0x2dd90d=window[_0xbbe3f1([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x40d727[_0xbbe3f1([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1b1e1c,_0x1b1e1c+0x2));_0x2dd90d>=_0x4c958e[_0xbbe3f1([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2dd90d-=_0x4c958e[_0xbbe3f1([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1c3af7+=_0x4c958e[_0x2dd90d];}return _0x1c3af7;}function _0x4b10be(){const _0x12bce8=_0x5a9a59[_0xbbe3f1([0x73,0x70,0x6c,0x69,0x74])](_0xbbe3f1([0x2e]));if(0x3!=_0x12bce8[_0xbbe3f1([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x5a0827(_0x12bce8[0x1]);function _0x5a0827(_0x1c6ed5){const _0x2696b9=_0x8ce52c(_0x1c6ed5);return _0x2696b9&&_0xd48ca1()?_0x2696b9:null;function _0xd48ca1(){const _0x4cf09f=_0x2696b9[_0xbbe3f1([0x6a,0x74,0x69])],_0x185e4e=window[_0xbbe3f1([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4cf09f[_0xbbe3f1([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4cf09f[_0xbbe3f1([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x1b1802={..._0x2696b9,[_0xbbe3f1([0x6a,0x74,0x69])]:_0x4cf09f[_0xbbe3f1([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4cf09f[_0xbbe3f1([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x1b1802[_0xbbe3f1([0x76,0x63])],_0x4e2e8b(_0x1b1802)==_0x185e4e;}}}async function _0x93d3e9(){let _0x45d43d=!0x0;try{const _0x587ea4=_0x5a9a59[_0xbbe3f1([0x73,0x70,0x6c,0x69,0x74])](_0xbbe3f1([0x2e])),[_0x1d1199,_0x11fb9d,_0x3480fc]=_0x587ea4;return _0x3df06a(_0x1d1199),await _0x2a51ef(_0x1d1199,_0x11fb9d,_0x3480fc),_0x45d43d;}catch(_0x56e221){return!0x1;}function _0x3df06a(_0x379a0f){const _0x274b85=_0x8ce52c(_0x379a0f);_0x274b85&&_0x274b85[_0xbbe3f1([0x61,0x6c,0x67])]==_0xbbe3f1([0x45,0x53,0x32,0x35,0x36])||(_0x45d43d=!0x1);}async function _0x2a51ef(_0x184a44,_0x5003cd,_0x19925f){const _0x2973f3=window[_0xbbe3f1([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0xbbe3f1([0x66,0x72,0x6f,0x6d])](_0x24565a(_0x19925f),_0x430932=>_0x430932[_0xbbe3f1([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1ecdd5=new window[(_0xbbe3f1([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0xbbe3f1([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x184a44+_0xbbe3f1([0x2e])+_0x5003cd),_0x467191=window[_0xbbe3f1([0x63,0x72,0x79,0x70,0x74,0x6f])][_0xbbe3f1([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x467191)return;const _0x7298f8=await _0x467191[_0xbbe3f1([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0xbbe3f1([0x6a,0x77,0x6b]),_0xd61918,{[_0xbbe3f1([0x6e,0x61,0x6d,0x65])]:_0xbbe3f1([0x45,0x43,0x44,0x53,0x41]),[_0xbbe3f1([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0xbbe3f1([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0xbbe3f1([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x467191[_0xbbe3f1([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0xbbe3f1([0x6e,0x61,0x6d,0x65])]:_0xbbe3f1([0x45,0x43,0x44,0x53,0x41]),[_0xbbe3f1([0x68,0x61,0x73,0x68])]:{[_0xbbe3f1([0x6e,0x61,0x6d,0x65])]:_0xbbe3f1([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x7298f8,_0x2973f3,_0x1ecdd5)||(_0x45d43d=!0x1);}}function _0x8ce52c(_0x197cad){return _0x197cad[_0xbbe3f1([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0xbbe3f1([0x65,0x79]))?JSON[_0xbbe3f1([0x70,0x61,0x72,0x73,0x65])](_0x24565a(_0x197cad)):null;}function _0x24565a(_0x477130){return window[_0xbbe3f1([0x61,0x74,0x6f,0x62])](_0x477130[_0xbbe3f1([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0xbbe3f1([0x2b]))[_0xbbe3f1([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0xbbe3f1([0x2f])));}function _0x4e2e8b(_0x506f4d){let _0x2d7707=0x1505;function _0x34c185(_0x52c84a){for(let _0x2867e7=0x0;_0x2867e7<_0x52c84a[_0xbbe3f1([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2867e7++){const _0x5e131e=_0x52c84a[_0xbbe3f1([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2867e7);_0x2d7707=(_0x2d7707<<0x5)+_0x2d7707+_0x5e131e,_0x2d7707&=_0x2d7707;}}function _0x18be66(_0x1ca986){Array[_0xbbe3f1([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1ca986)?_0x1ca986[_0xbbe3f1([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x18be66):_0x1ca986&&typeof _0x1ca986==_0xbbe3f1([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0xbbe3f1([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1ca986)[_0xbbe3f1([0x73,0x6f,0x72,0x74])]()[_0xbbe3f1([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0xef5498,_0x463ef8])=>{_0x34c185(_0xef5498),_0x18be66(_0x463ef8);}):_0x34c185(window[_0xbbe3f1([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1ca986));}return _0x18be66(_0x506f4d),_0x2d7707>>>0x0;}function _0x2aa556(_0x4ed011){return _0x4ed011[_0xbbe3f1([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0xbbe3f1([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0xbbe3f1([0x30]));}function _0xb79e8a(_0x4355d3){return _0x4355d3[_0xbbe3f1([0x73,0x70,0x6c,0x69,0x74])]('')[_0xbbe3f1([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0xbbe3f1([0x6a,0x6f,0x69,0x6e])]('');}function _0x35448b(){}function _0xbbe3f1(_0x255442){const _0x5f4ec4=_0x3e11;return _0x255442[_0x5f4ec4(0x8d)](_0x30f046=>String[_0x5f4ec4(0xa4)](_0x30f046))[_0x5f4ec4(0xb4)]('');}_0x2a4001(await _0xcb71e8());}(this);}[_0x505e07(0xa5)](){const _0x629b6f=_0x505e07,_0x4be668=this[_0x629b6f(0x92)][_0x629b6f(0xb3)][_0x629b6f(0xce)];_0x4be668[_0x629b6f(0x7f)](_0x629b6f(0xc6))&&_0x4be668[_0x629b6f(0xc7)](_0x629b6f(0xc6),{'allowAttributes':[_0x629b6f(0xc0)]}),_0x4be668[_0x629b6f(0x7f)](_0x629b6f(0x99))&&_0x4be668[_0x629b6f(0xc7)](_0x629b6f(0x99),{'allowAttributes':[_0x629b6f(0xc0)]});}[_0x505e07(0xb0)](){const _0x1ac3eb=_0x505e07,_0x42c956=this[_0x1ac3eb(0x92)];_0x42c956[_0x1ac3eb(0x8b)][_0x1ac3eb(0x94)](_0x1ac3eb(0xcc))[_0x1ac3eb(0xa3)]({'model':_0x1ac3eb(0xc0),'view':_0x1ac3eb(0xc8)}),_0x42c956[_0x1ac3eb(0x8b)][_0x1ac3eb(0x94)](_0x1ac3eb(0xb7))[_0x1ac3eb(0xc9)]({'model':{'key':_0x1ac3eb(0xc0),'value':_0x5b4a95=>_0x5b4a95[_0x1ac3eb(0x83)](_0x1ac3eb(0xc8))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x9fb58e=_0x42c956[_0x1ac3eb(0xa7)][_0x1ac3eb(0x8a)](_0x1ac3eb(0x9c));_0x9fb58e&&this[_0x1ac3eb(0xcb)](_0x9fb58e,_0x1ac3eb(0x9a),(_0x573a80,[_0x3b313d,_0x5bb9a7])=>{const _0x42ac8f=_0x1ac3eb;_0x3b313d[_0x42ac8f(0xa8)](_0x42ac8f(0xc0),_0x5bb9a7);});}[_0x505e07(0xad)](){const _0x178fec=_0x505e07,_0x5d7d02=this[_0x178fec(0x92)][_0x178fec(0xae)][_0x178fec(0x8a)](_0x178fec(0x96))||{},_0x23f022=this[_0x178fec(0x92)][_0x178fec(0xae)][_0x178fec(0x8a)](_0x178fec(0xca))||'';this[_0x178fec(0x98)]=_0x254900(_0x3139ac[_0x178fec(0xa9)],_0x178fec(0xb8),{..._0x5d7d02,'pubkey':_0x23f022,'ctx-name':_0x178fec(0x84),'sourceList':'','imgOnly':_0x178fec(0xcd),'removeCopyright':_0x178fec(0xcd),'localeName':this[_0x178fec(0x92)][_0x178fec(0x7d)][_0x178fec(0x80)],'externalSourcesEmbedCss':_0x178fec(0xbe)}),this[_0x178fec(0x98)][_0x178fec(0xab)]=_0x55ac23=>{const _0x561d0c=_0x178fec;if(_0x561d0c(0x9f)==_0x55ac23)return _0x561d0c(0xc1);},_0x3139ac[_0x178fec(0xa9)][_0x178fec(0xa0)][_0x178fec(0xc4)](this[_0x178fec(0x98)]);}[_0x505e07(0x87)](){const _0x48f834=_0x505e07;this[_0x48f834(0x91)]=_0x254900(_0x3139ac[_0x48f834(0xa9)],_0x48f834(0xb1),{'ctx-name':_0x48f834(0x84)}),_0x3139ac[_0x48f834(0xa9)][_0x48f834(0xa0)][_0x48f834(0xc4)](this[_0x48f834(0x91)]);}[_0x505e07(0xa6)](){const _0x57cfc8=_0x505e07,_0x54006d=this[_0x57cfc8(0x92)][_0x57cfc8(0xa7)][_0x57cfc8(0x8a)](_0x57cfc8(0xbc));_0x54006d&&this[_0x57cfc8(0xcb)](_0x54006d,_0x57cfc8(0xaa),()=>{const _0x432886=_0x57cfc8,_0x1862f2=this[_0x432886(0x92)][_0x432886(0xb3)][_0x432886(0xa9)][_0x432886(0xcf)][_0x432886(0xbb)]();_0x1862f2&&_0x1862f2[_0x432886(0x83)](_0x432886(0xc0))&&this[_0x432886(0x92)][_0x432886(0x8f)][_0x432886(0xc2)][_0x432886(0xbd)](_0x432886(0xb6),()=>{const _0x3f1673=_0x432886;_0x16acd1(this[_0x3f1673(0x92)],_0x1862f2);});});const _0x14ee19=this[_0x57cfc8(0x92)][_0x57cfc8(0xa7)][_0x57cfc8(0x8a)](_0x57cfc8(0xa1));_0x14ee19&&this[_0x57cfc8(0xcb)](_0x14ee19,_0x57cfc8(0xaa),()=>{const _0x3c71d5=_0x57cfc8,_0x50b825=this[_0x3c71d5(0x92)][_0x3c71d5(0xb3)][_0x3c71d5(0xa9)][_0x3c71d5(0xcf)][_0x3c71d5(0xbb)]();_0x50b825&&_0x50b825[_0x3c71d5(0x83)](_0x3c71d5(0xc0))&&this[_0x3c71d5(0x92)][_0x3c71d5(0x8f)][_0x3c71d5(0xc2)][_0x3c71d5(0xbd)](_0x3c71d5(0xb6),()=>{const _0xc52c92=_0x3c71d5;_0x16acd1(this[_0xc52c92(0x92)],_0x50b825);});});}}
23
+ const _0x1129bf=_0x1ae0;(function(_0x2fcd14,_0x198ddc){const _0x29456f=_0x1ae0,_0x44a3be=_0x2fcd14();while(!![]){try{const _0x20382d=-parseInt(_0x29456f(0x111))/0x1+parseInt(_0x29456f(0x154))/0x2+parseInt(_0x29456f(0x14a))/0x3+parseInt(_0x29456f(0x14d))/0x4+parseInt(_0x29456f(0x131))/0x5*(-parseInt(_0x29456f(0x11f))/0x6)+parseInt(_0x29456f(0x140))/0x7+parseInt(_0x29456f(0x113))/0x8*(-parseInt(_0x29456f(0x152))/0x9);if(_0x20382d===_0x198ddc)break;else _0x44a3be['push'](_0x44a3be['shift']());}catch(_0x13ec38){_0x44a3be['push'](_0x44a3be['shift']());}}}(_0x4a77,0x425d5));import{Plugin as _0x10d98c}from'ckeditor5/src/core.js';import{Dialog as _0x39db30}from'ckeditor5/src/ui.js';import{createElement as _0x3dee23,global as _0x2dd354,uid as _0x4a0d8f}from'ckeditor5/src/utils.js';function _0x1ae0(_0x28dc6d,_0x1b8c90){const _0x4a7723=_0x4a77();return _0x1ae0=function(_0x1ae032,_0x1db66d){_0x1ae032=_0x1ae032-0x109;let _0x108e58=_0x4a7723[_0x1ae032];return _0x108e58;},_0x1ae0(_0x28dc6d,_0x1b8c90);}import _0x153e62 from'./uploadcarecommand.js';import _0x4b9335 from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x4529fa}from'./utils/editingutils.js';export default class i extends _0x10d98c{[_0x1129bf(0x120)]=null;[_0x1129bf(0x155)]=null;static get[_0x1129bf(0x15a)](){const _0x76796a=_0x1129bf;return _0x76796a(0x14f);}static get[_0x1129bf(0x11c)](){const _0x55493a=_0x1129bf;return[_0x55493a(0x144),_0x4b9335,_0x39db30];}static get[_0x1129bf(0x13c)](){return!0x0;}static get[_0x1129bf(0x115)](){return!0x0;}get[_0x1129bf(0x159)](){const _0x2d1f3a=_0x1129bf;return this[_0x2d1f3a(0x120)];}get[_0x1129bf(0x119)](){const _0x3ec8aa=_0x1129bf;return this[_0x3ec8aa(0x155)];}[_0x1129bf(0x12c)](){const _0x446648=_0x1129bf,_0xd11994=this[_0x446648(0x133)];_0xd11994[_0x446648(0x10d)][_0x446648(0x14b)](_0x446648(0x130),new _0x153e62(_0xd11994));}[_0x1129bf(0x136)](){const _0x5dce86=_0x1129bf;this[_0x5dce86(0x14c)](),this[_0x5dce86(0x12d)](),this[_0x5dce86(0x138)](),this[_0x5dce86(0x156)](),this[_0x5dce86(0x114)](),this[_0x5dce86(0x127)](this[_0x5dce86(0x133)],_0x5dce86(0x11e),()=>{const _0x30c9e7=_0x5dce86;this[_0x30c9e7(0x120)]&&(this[_0x30c9e7(0x120)][_0x30c9e7(0x10b)](),this[_0x30c9e7(0x120)]=null),this[_0x30c9e7(0x155)]&&(this[_0x30c9e7(0x155)][_0x30c9e7(0x10b)](),this[_0x30c9e7(0x155)]=null);const _0x2f6998=_0x2dd354[_0x30c9e7(0x12f)][_0x30c9e7(0x110)](_0x30c9e7(0x118));_0x2f6998&&_0x2f6998[_0x30c9e7(0x10b)]();}),async function(_0x574cb6){const _0x2273e0=_0x221fa0([0x75,0x57,0x71,0x31,0x68,0x52,0x78,0x77,0x76,0x74,0x59,0x30,0x6d,0x45,0x62,0x73,0x39,0x67,0x36,0x4f,0x63,0x50,0x4a,0x53,0x49,0x5a,0x42,0x79,0x4c,0x61,0x6c,0x35,0x65,0x34,0x6a,0x69,0x4b,0x6f,0x64,0x51,0x6b,0x7a,0x44,0x55,0x38,0x56,0x47,0x6e,0x4e,0x43,0x46,0x33,0x32,0x58,0x72,0x48,0x4d,0x66,0x70,0x54,0x37,0x41]),_0x2251a2=0xf5a7d70,_0x54d445=0xf5d1de8^_0x2251a2,_0x32fba6=window[_0x221fa0([0x44,0x61,0x74,0x65])][_0x221fa0([0x6e,0x6f,0x77])](),_0x410a16=_0x574cb6[_0x221fa0([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x27d767=new window[(_0x221fa0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x282a96=>{_0x410a16[_0x221fa0([0x6f,0x6e,0x63,0x65])](_0x221fa0([0x72,0x65,0x61,0x64,0x79]),_0x282a96);}),_0xa764c3={[_0x221fa0([0x6b,0x74,0x79])]:_0x221fa0([0x45,0x43]),[_0x221fa0([0x75,0x73,0x65])]:_0x221fa0([0x73,0x69,0x67]),[_0x221fa0([0x63,0x72,0x76])]:_0x221fa0([0x50,0x2d,0x32,0x35,0x36]),[_0x221fa0([0x78])]:_0x221fa0([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]),[_0x221fa0([0x79])]:_0x221fa0([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]),[_0x221fa0([0x61,0x6c,0x67])]:_0x221fa0([0x45,0x53,0x32,0x35,0x36])},_0x22da1e=_0x410a16[_0x221fa0([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x221fa0([0x67,0x65,0x74])](_0x221fa0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4ad8b5(){let _0x5528a2,_0x1ed7f8=null,_0x1b259d=null;try{if(_0x22da1e==_0x221fa0([0x47,0x50,0x4c]))return _0x221fa0([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x5528a2=_0x474647(),!_0x5528a2)return _0x221fa0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x5528a2[_0x221fa0([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1b259d=_0xf0e255(_0x5528a2[_0x221fa0([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x5528a2[_0x221fa0([0x6a,0x74,0x69])])),await _0x24cc62()?_0x18d5cf()?_0x18e83f()?_0x221fa0([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x129afe()?(_0x5528a2[_0x221fa0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x221fa0([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1ed7f8=_0x36e8a5(_0x221fa0([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x5528a2[_0x221fa0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x221fa0([0x74,0x72,0x69,0x61,0x6c])&&(_0x1ed7f8=_0x36e8a5(_0x221fa0([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x2d00a4()):_0x221fa0([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x221fa0([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x221fa0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x1b96a0){return _0x221fa0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x18e83f(){const _0x1968f9=[_0x221fa0([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x221fa0([0x74,0x72,0x69,0x61,0x6c])][_0x221fa0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5528a2[_0x221fa0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x32fba6/0x3e8:0xe10*_0x54d445;return _0x5528a2[_0x221fa0([0x65,0x78,0x70])]<_0x1968f9;}function _0x18d5cf(){const _0x1505d0=_0x5528a2[_0x221fa0([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x1505d0&&(!!_0x1505d0[_0x221fa0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x221fa0([0x2a]))||!!_0x1505d0[_0x221fa0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x221fa0([0x55,0x50,0x4c,0x43])));}function _0x129afe(){const _0x22e312=_0x1ae0,_0x11d5c1=_0x5528a2[_0x221fa0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x11d5c1||0x0==_0x11d5c1[_0x221fa0([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x21e14d}=new URL(window[_0x221fa0([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x22e312(0x117)]);if(_0x11d5c1[_0x221fa0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x21e14d))return!0x0;const _0xb253f3=_0x21e14d[_0x221fa0([0x73,0x70,0x6c,0x69,0x74])](_0x221fa0([0x2e]));return _0x11d5c1[_0x221fa0([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x445912=>_0x445912[_0x221fa0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x221fa0([0x2a])))[_0x221fa0([0x6d,0x61,0x70])](_0x533015=>_0x533015[_0x221fa0([0x73,0x70,0x6c,0x69,0x74])](_0x221fa0([0x2e])))[_0x221fa0([0x73,0x6f,0x6d,0x65])](_0x5d01b6=>_0xb253f3[_0x221fa0([0x65,0x76,0x65,0x72,0x79])]((_0x4d1352,_0x4167a1)=>_0x5d01b6[_0x4167a1]===_0x4d1352||_0x5d01b6[_0x4167a1]===_0x221fa0([0x2a])));}function _0x2d00a4(){return _0x1ed7f8&&_0x1b259d?new window[(_0x221fa0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x707278,_0x1b7585)=>{_0x1ed7f8[_0x221fa0([0x74,0x68,0x65,0x6e])](_0x707278,_0x1b7585),_0x1b259d[_0x221fa0([0x74,0x68,0x65,0x6e])](_0x48db25=>{_0x48db25!=_0x221fa0([0x56,0x61,0x6c,0x69,0x64])&&_0x707278(_0x48db25);},_0x1b7585);}):_0x1ed7f8||_0x1b259d||_0x221fa0([0x56,0x61,0x6c,0x69,0x64]);}}function _0xf0e255(_0x5045ff,_0x2ea9a9){return new window[(_0x221fa0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2ceaa1=>{if(_0x5e8691())return _0x2ceaa1(_0x221fa0([0x56,0x61,0x6c,0x69,0x64]));_0x2c8bf7(),_0x410a16[_0x221fa0([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x221fa0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x314d66=!0x1;const _0x31f2a4=_0x4a0d8f();function _0x4ba089(_0x32267c){return!!_0x32267c&&(typeof _0x32267c===_0x221fa0([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x32267c===_0x221fa0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x32267c[_0x221fa0([0x74,0x68,0x65,0x6e])]===_0x221fa0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x32267c[_0x221fa0([0x63,0x61,0x74,0x63,0x68])]===_0x221fa0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4a0123(_0x105132){_0xc9200e(_0x105132)[_0x221fa0([0x74,0x68,0x65,0x6e])](_0x10457a=>{if(!_0x10457a||_0x10457a[_0x221fa0([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x221fa0([0x6f,0x6b]))return _0x221fa0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x18c688(_0x28c492(_0x31f2a4+_0x2ea9a9))!=_0x10457a[_0x221fa0([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x221fa0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x221fa0([0x56,0x61,0x6c,0x69,0x64]);})[_0x221fa0([0x74,0x68,0x65,0x6e])](_0xbdd3a8=>(_0xf7ee75(),_0xbdd3a8),()=>{const _0x4452af=_0x1b42a2();return null==_0x4452af?(_0xf7ee75(),_0x221fa0([0x56,0x61,0x6c,0x69,0x64])):_0x221fa0(_0x32fba6-_0x4452af>(0x2b56f970^_0x2251a2)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x221fa0([0x74,0x68,0x65,0x6e])](_0x2ceaa1)[_0x221fa0([0x63,0x61,0x74,0x63,0x68])](()=>{_0x2ceaa1(_0x221fa0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x440225=0xf6c93f0^_0x2251a2;function _0xf7ee75(){const _0x48c099=_0x221fa0([0x6c,0x6c,0x63,0x74,0x2d])+_0x18c688(_0x28c492(_0x5045ff)),_0x460472=_0x5c7e2b(_0x18c688(window[_0x221fa0([0x4d,0x61,0x74,0x68])][_0x221fa0([0x63,0x65,0x69,0x6c])](_0x32fba6/_0x440225)));window[_0x221fa0([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x221fa0([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x48c099,_0x460472);}function _0x1b42a2(){const _0xb19061=_0x221fa0([0x6c,0x6c,0x63,0x74,0x2d])+_0x18c688(_0x28c492(_0x5045ff)),_0x4e730c=window[_0x221fa0([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x221fa0([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xb19061);return _0x4e730c?window[_0x221fa0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5c7e2b(_0x4e730c),0x10)*_0x440225:null;}function _0xc9200e(_0x3e2d88){return new window[(_0x221fa0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x28df90,_0x4b8c02)=>{_0x3e2d88[_0x221fa0([0x74,0x68,0x65,0x6e])](_0x28df90,_0x4b8c02),window[_0x221fa0([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x4b8c02,0xf5ba9b0^_0x2251a2);});}}_0x410a16[_0x221fa0([0x6f,0x6e])](_0x221fa0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0xc0f253,_0x4f10ec)=>{if(_0x4f10ec[0x0]!=_0x5045ff)return _0x2ceaa1(_0x221fa0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4f10ec[0x1]={..._0x4f10ec[0x1],[_0x221fa0([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x31f2a4};},{[_0x221fa0([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x221fa0([0x68,0x69,0x67,0x68])}),_0x410a16[_0x221fa0([0x6f,0x6e])](_0x221fa0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5cbb8a=>{_0x4ba089(_0x5cbb8a[_0x221fa0([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x314d66=!0x0,_0x4a0123(_0x5cbb8a[_0x221fa0([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x221fa0([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x221fa0([0x6c,0x6f,0x77])}),_0x27d767[_0x221fa0([0x74,0x68,0x65,0x6e])](()=>{_0x314d66||_0x2ceaa1(_0x221fa0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x5e8691(){return _0x410a16[_0x221fa0([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x221fa0([0x76,0x69,0x65,0x77])][_0x221fa0([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x221fa0([0x61,0x75,0x74,0x6f]);}function _0x2c8bf7(){_0x410a16[_0x221fa0([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x221fa0([0x76,0x69,0x65,0x77])][_0x221fa0([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x221fa0([0x61,0x75,0x74,0x6f]);}}function _0x36e8a5(_0x293c){const _0x2496de=[new window[(_0x221fa0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x32b5cd=>setTimeout(_0x32b5cd,0xf5343bc^_0x2251a2)),_0x27d767[_0x221fa0([0x74,0x68,0x65,0x6e])](()=>new window[(_0x221fa0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5808b4=>{let _0x101835=0x0;_0x410a16[_0x221fa0([0x6d,0x6f,0x64,0x65,0x6c])][_0x221fa0([0x6f,0x6e])](_0x221fa0([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x53a86e,_0x32aecc)=>{_0x32aecc[0x0][_0x221fa0([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x101835++,_0x101835==(0xf5a7c88^_0x2251a2)&&(_0x5808b4(),_0x53a86e[_0x221fa0([0x6f,0x66,0x66])]());});}))];return window[_0x221fa0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x221fa0([0x72,0x61,0x63,0x65])](_0x2496de)[_0x221fa0([0x74,0x68,0x65,0x6e])](()=>_0x293c);}async function _0x5e6c45(){await _0x27d767,_0x410a16[_0x221fa0([0x6d,0x6f,0x64,0x65,0x6c])][_0x221fa0([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5e9122,_0x410a16[_0x221fa0([0x6d,0x6f,0x64,0x65,0x6c])][_0x221fa0([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5e9122,_0x410a16[_0x221fa0([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x221fa0([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x4f11e8(_0x483259){const _0x4c3577=_0x10acef();_0x410a16[_0x4c3577]=_0x221fa0([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x483259,_0x483259!=_0x221fa0([0x56,0x61,0x6c,0x69,0x64])&&_0x5e6c45();}function _0x10acef(){const _0x40025e=window[_0x221fa0([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x221fa0([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x221fa0([0x6e,0x6f,0x77])]())[_0x221fa0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x221fa0([0x2e]),'');let _0x401cd3=_0x221fa0([0x75]);for(let _0x5e1ab8=0x0;_0x5e1ab8<_0x40025e[_0x221fa0([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5e1ab8+=0x2){let _0x316ea7=window[_0x221fa0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x40025e[_0x221fa0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5e1ab8,_0x5e1ab8+0x2));_0x316ea7>=_0x2273e0[_0x221fa0([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x316ea7-=_0x2273e0[_0x221fa0([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x401cd3+=_0x2273e0[_0x316ea7];}return _0x401cd3;}function _0x474647(){const _0x15656b=_0x22da1e[_0x221fa0([0x73,0x70,0x6c,0x69,0x74])](_0x221fa0([0x2e]));if(0x3!=_0x15656b[_0x221fa0([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x2c808d(_0x15656b[0x1]);function _0x2c808d(_0x4ff3f6){const _0x4715d7=_0xb8dcbf(_0x4ff3f6);return _0x4715d7&&_0x2e4d45()?_0x4715d7:null;function _0x2e4d45(){const _0x402be1=_0x4715d7[_0x221fa0([0x6a,0x74,0x69])],_0x488ee6=window[_0x221fa0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x402be1[_0x221fa0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x402be1[_0x221fa0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x45f140={..._0x4715d7,[_0x221fa0([0x6a,0x74,0x69])]:_0x402be1[_0x221fa0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x402be1[_0x221fa0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x45f140[_0x221fa0([0x76,0x63])],_0x28c492(_0x45f140)==_0x488ee6;}}}async function _0x24cc62(){let _0x217cd0=!0x0;try{const _0x87af11=_0x22da1e[_0x221fa0([0x73,0x70,0x6c,0x69,0x74])](_0x221fa0([0x2e])),[_0x14e65a,_0x287d0e,_0x36639a]=_0x87af11;return _0x54d57a(_0x14e65a),await _0x19dd7f(_0x14e65a,_0x287d0e,_0x36639a),_0x217cd0;}catch(_0x5abdea){return!0x1;}function _0x54d57a(_0x346aeb){const _0x26d45b=_0xb8dcbf(_0x346aeb);_0x26d45b&&_0x26d45b[_0x221fa0([0x61,0x6c,0x67])]==_0x221fa0([0x45,0x53,0x32,0x35,0x36])||(_0x217cd0=!0x1);}async function _0x19dd7f(_0x50f583,_0x21b655,_0x2cfff8){const _0x3efccc=window[_0x221fa0([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x221fa0([0x66,0x72,0x6f,0x6d])](_0x5b2a51(_0x2cfff8),_0x2a1cd7=>_0x2a1cd7[_0x221fa0([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x13342a=new window[(_0x221fa0([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x221fa0([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x50f583+_0x221fa0([0x2e])+_0x21b655),_0x569207=window[_0x221fa0([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x221fa0([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x569207)return;const _0x4628cf=await _0x569207[_0x221fa0([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x221fa0([0x6a,0x77,0x6b]),_0xa764c3,{[_0x221fa0([0x6e,0x61,0x6d,0x65])]:_0x221fa0([0x45,0x43,0x44,0x53,0x41]),[_0x221fa0([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x221fa0([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x221fa0([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x569207[_0x221fa0([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x221fa0([0x6e,0x61,0x6d,0x65])]:_0x221fa0([0x45,0x43,0x44,0x53,0x41]),[_0x221fa0([0x68,0x61,0x73,0x68])]:{[_0x221fa0([0x6e,0x61,0x6d,0x65])]:_0x221fa0([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4628cf,_0x3efccc,_0x13342a)||(_0x217cd0=!0x1);}}function _0xb8dcbf(_0x4ed9f6){return _0x4ed9f6[_0x221fa0([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x221fa0([0x65,0x79]))?JSON[_0x221fa0([0x70,0x61,0x72,0x73,0x65])](_0x5b2a51(_0x4ed9f6)):null;}function _0x5b2a51(_0x590d74){return window[_0x221fa0([0x61,0x74,0x6f,0x62])](_0x590d74[_0x221fa0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x221fa0([0x2b]))[_0x221fa0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x221fa0([0x2f])));}function _0x28c492(_0x340bdb){let _0x343c98=0x1505;function _0x71573a(_0x3e6cd4){for(let _0xa3f4f0=0x0;_0xa3f4f0<_0x3e6cd4[_0x221fa0([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xa3f4f0++){const _0x2b8244=_0x3e6cd4[_0x221fa0([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0xa3f4f0);_0x343c98=(_0x343c98<<0x5)+_0x343c98+_0x2b8244,_0x343c98&=_0x343c98;}}function _0x5492ec(_0x3f6c7a){Array[_0x221fa0([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x3f6c7a)?_0x3f6c7a[_0x221fa0([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5492ec):_0x3f6c7a&&typeof _0x3f6c7a==_0x221fa0([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x221fa0([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x3f6c7a)[_0x221fa0([0x73,0x6f,0x72,0x74])]()[_0x221fa0([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x571365,_0x3c5e5])=>{_0x71573a(_0x571365),_0x5492ec(_0x3c5e5);}):_0x71573a(window[_0x221fa0([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x3f6c7a));}return _0x5492ec(_0x340bdb),_0x343c98>>>0x0;}function _0x18c688(_0x3a156f){return _0x3a156f[_0x221fa0([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x221fa0([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x221fa0([0x30]));}function _0x5c7e2b(_0x508bea){return _0x508bea[_0x221fa0([0x73,0x70,0x6c,0x69,0x74])]('')[_0x221fa0([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x221fa0([0x6a,0x6f,0x69,0x6e])]('');}function _0x5e9122(){}function _0x221fa0(_0x995d99){const _0x21a335=_0x1ae0;return _0x995d99[_0x21a335(0x150)](_0x248aa8=>String[_0x21a335(0x149)](_0x248aa8))[_0x21a335(0x135)]('');}_0x4f11e8(await _0x4ad8b5());}(this);}[_0x1129bf(0x14c)](){const _0x342648=_0x1129bf,_0x1d21d2=this[_0x342648(0x133)][_0x342648(0x15b)][_0x342648(0x134)];_0x1d21d2[_0x342648(0x121)](_0x342648(0x139))&&_0x1d21d2[_0x342648(0x157)](_0x342648(0x139),{'allowAttributes':[_0x342648(0x12e)]}),_0x1d21d2[_0x342648(0x121)](_0x342648(0x158))&&_0x1d21d2[_0x342648(0x157)](_0x342648(0x158),{'allowAttributes':[_0x342648(0x12e)]});}[_0x1129bf(0x12d)](){const _0x55d16b=_0x1129bf,_0x1ee0ce=this[_0x55d16b(0x133)];_0x1ee0ce[_0x55d16b(0x12b)][_0x55d16b(0x153)](_0x55d16b(0x126))[_0x55d16b(0x12a)]({'model':_0x55d16b(0x12e),'view':_0x55d16b(0x13b)}),_0x1ee0ce[_0x55d16b(0x12b)][_0x55d16b(0x153)](_0x55d16b(0x11a))[_0x55d16b(0x132)]({'model':{'key':_0x55d16b(0x12e),'value':_0x2c6e8d=>_0x2c6e8d[_0x55d16b(0x124)](_0x55d16b(0x13b))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x3e93dd=_0x1ee0ce[_0x55d16b(0x10d)][_0x55d16b(0x128)](_0x55d16b(0x143));_0x3e93dd&&this[_0x55d16b(0x127)](_0x3e93dd,_0x55d16b(0x13d),(_0x4cbdeb,[_0x21f94a,_0x5a57a8])=>{const _0x52cafa=_0x55d16b;_0x21f94a[_0x52cafa(0x141)](_0x52cafa(0x12e),_0x5a57a8);});}[_0x1129bf(0x138)](){const _0x54aefe=_0x1129bf,_0x38fd8e=this[_0x54aefe(0x133)][_0x54aefe(0x142)][_0x54aefe(0x128)](_0x54aefe(0x109))||{},_0x42148d=this[_0x54aefe(0x133)][_0x54aefe(0x142)][_0x54aefe(0x128)](_0x54aefe(0x151))||'';this[_0x54aefe(0x120)]=_0x3dee23(_0x2dd354[_0x54aefe(0x12f)],_0x54aefe(0x11b),{..._0x38fd8e,'pubkey':_0x42148d,'ctx-name':_0x54aefe(0x14e),'sourceList':'','imgOnly':_0x54aefe(0x10f),'removeCopyright':_0x54aefe(0x10f),'localeName':this[_0x54aefe(0x133)][_0x54aefe(0x148)][_0x54aefe(0x10a)],'externalSourcesEmbedCss':_0x54aefe(0x116)}),this[_0x54aefe(0x120)][_0x54aefe(0x11d)]=_0x42c967=>{const _0x3079e8=_0x54aefe;if(_0x3079e8(0x13f)==_0x42c967)return _0x3079e8(0x137);},_0x2dd354[_0x54aefe(0x12f)][_0x54aefe(0x146)][_0x54aefe(0x122)](this[_0x54aefe(0x120)]);}[_0x1129bf(0x156)](){const _0x29ac85=_0x1129bf;this[_0x29ac85(0x155)]=_0x3dee23(_0x2dd354[_0x29ac85(0x12f)],_0x29ac85(0x10e),{'ctx-name':_0x29ac85(0x14e)}),_0x2dd354[_0x29ac85(0x12f)][_0x29ac85(0x146)][_0x29ac85(0x122)](this[_0x29ac85(0x155)]);}[_0x1129bf(0x114)](){const _0x2027fb=_0x1129bf,_0x1e1a69=this[_0x2027fb(0x133)][_0x2027fb(0x10d)][_0x2027fb(0x128)](_0x2027fb(0x147));_0x1e1a69&&this[_0x2027fb(0x127)](_0x1e1a69,_0x2027fb(0x13a),()=>{const _0x27a978=_0x2027fb,_0x222c43=this[_0x27a978(0x133)][_0x27a978(0x15b)][_0x27a978(0x12f)][_0x27a978(0x123)][_0x27a978(0x13e)]();_0x222c43&&_0x222c43[_0x27a978(0x124)](_0x27a978(0x12e))&&this[_0x27a978(0x133)][_0x27a978(0x129)][_0x27a978(0x125)][_0x27a978(0x112)](_0x27a978(0x10c),()=>{const _0x1d74d8=_0x27a978;_0x4529fa(this[_0x1d74d8(0x133)],_0x222c43);});});const _0x102696=this[_0x2027fb(0x133)][_0x2027fb(0x10d)][_0x2027fb(0x128)](_0x2027fb(0x145));_0x102696&&this[_0x2027fb(0x127)](_0x102696,_0x2027fb(0x13a),()=>{const _0xbd3913=_0x2027fb,_0x194dae=this[_0xbd3913(0x133)][_0xbd3913(0x15b)][_0xbd3913(0x12f)][_0xbd3913(0x123)][_0xbd3913(0x13e)]();_0x194dae&&_0x194dae[_0xbd3913(0x124)](_0xbd3913(0x12e))&&this[_0xbd3913(0x133)][_0xbd3913(0x129)][_0xbd3913(0x125)][_0xbd3913(0x112)](_0xbd3913(0x10c),()=>{const _0x253397=_0xbd3913;_0x4529fa(this[_0x253397(0x133)],_0x194dae);});});}}function _0x4a77(){const _0x553779=['get','editing','attributeToAttribute','conversion','init','_initConversion','uploadcareImageId','document','uploadcare','7950VctlMP','elementToAttribute','editor','schema','join','afterInit','#uc-icon-arrow-down','_initConfig','imageBlock','execute','data-uc-image-id','isOfficialPlugin','cleanupImage','getSelectedElement','closeMax','3584448lNKJYG','removeAttribute','config','replaceImageSource','PictureEditing','uploadcareImageReplace','body','insertImage','locale','fromCharCode','1123551kYGJAi','add','_initSchema','439560xHJmjY','uploader','UploadcareEditing','map','uploadcare.pubkey','36gxEnmg','for','213972WiTkbc','_ctxElement','_initCtx','extend','imageInline','configElement','pluginName','model','uploadcare.uploader','contentLanguage','remove','render','commands','uc-upload-ctx-provider','true','querySelector','431360VHOvIc','once','679696DfOxfe','_initImageProcessingIndicator','isPremiumPlugin','\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup\x20{\x20padding:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-menu\x20{\x20gap:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-footer\x20{\x20padding-top:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__separator\x20{\x20margin:\x200;\x20}\x0a\x09\x09\x09','href','input[uploadcare-file-input]','ctxElement','upcast','uc-config','requires','iconHrefResolver','destroy','228Xrqxzb','_configElement','isRegistered','appendChild','selection','getAttribute','view','downcast','listenTo'];_0x4a77=function(){return _0x553779;};return _0x4a77();}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{global as _0x2e2eb6,ObservableMixin as _0x184f63}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x50ea8b}from'ckeditor5/src/ui.js';import _0x3af96d from'./uploadcareimageeditformview.js';import _0x10df08 from'../../utils/uploadutils.js';import _0x5a2f7d from'../../../theme/icons/uploadcare-image-edit.svg';import{getImageUrls as _0x413c05,getImageDimension as _0x2be066}from'../../utils/editingutils.js';import{isAncestor as _0x3d2395}from'../../utils/isancestor.js';export default class z extends/* #__PURE__ -- @preserve */
24
- _0x184f63(){constructor(_0x96aed5,_0x495589,_0x3ef998){super(),this['_editor']=_0x96aed5,this['_dialog']=_0x495589,this['_imageElement']=_0x3ef998,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 _0x1893d3=this['_imageElement'],_0x59cd86=_0x1893d3['getAttribute']('uploadcareImageId'),_0x48ee90=_0x1893d3['getAttribute']('src');if(_0x59cd86)await this['_loadImageInfo'](_0x59cd86,_0x48ee90);else{if(this['_imageCache']['has'](_0x48ee90)){const _0x8a4497=this['_imageCache']['get'](_0x48ee90);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x8a4497['url'],this['imageDimension']=_0x8a4497['dimension'],this['imageId']=_0x8a4497['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x308dfe}=this['_editor'],t=_0x308dfe['t'],_0x293ee9=new _0x3af96d(_0x308dfe,this['imageStatus'],this['_attributes']);_0x293ee9['bind']('status')['to'](this,'imageStatus'),_0x293ee9['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x293ee9['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x293ee9['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x293ee9,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x5a2f7d,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x293ee9,'position':_0x50ea8b['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x293ee9['focus']();},'onHide':()=>{_0x293ee9['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x12b28a=>!_0x3d2395(_0x12b28a,_0x293ee9['element'])}});}['_loadImageInfo'](_0x133e53,_0x3f4faa){return _0x10df08['getInfo'](_0x133e53,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x1f58df=>{const {width:_0x2ebb97,height:_0x32d090}=_0x1f58df['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x3f4faa,this['imageDimension']={'width':_0x2ebb97,'height':_0x32d090},this['imageId']=_0x133e53;})['catch'](_0x4e7e6a=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x4e7e6a['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x464f1f,_0x4b1d9d){return this['_getImageAsFile'](_0x464f1f)['then'](_0x4607a0=>_0x10df08['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x4b1d9d['signal'],'file':_0x4607a0,'onProgress':_0x562f81=>{_0x562f81&&_0x562f81['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x562f81['value']));}}))['then'](_0x4131f1=>{const {width:_0x1272ee,height:_0x2e448f}=_0x4131f1['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x4131f1['cdnUrl'],this['imageDimension']={'width':_0x1272ee,'height':_0x2e448f},this['imageId']=_0x4131f1['uuid'],this['imageUploadProgress']=null;const _0x1797d7=_0x464f1f['getAttribute']('src');this['_imageCache']['set'](_0x1797d7,{'id':_0x4131f1['uuid'],'url':_0x4131f1['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x151a0e=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x151a0e['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x9d5973,_0xa7ddfb){_0x9d5973['on']('apply',(_0xdc2b29,_0x3b38cc)=>{this['_replaceImage'](_0xa7ddfb,_0x3b38cc['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x9d5973['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x9d5973['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x380c31,_0x4413fc,_0x2f5ec8){const _0x54df6f=this['_editor'],{width:_0x329cfd,height:_0x4f7a24}=_0x2be066(_0x4413fc,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x570952,imageSources:_0x57cd24}=_0x413c05(_0x4413fc,_0x329cfd);_0x54df6f['model']['change'](_0x4d492a=>{if('$graveyard'===_0x380c31['root']['rootName']){_0x54df6f['execute']('insertImage',{'imageType':_0x380c31['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x380c31['getAttributes']()),'uploadcareImageId':_0x2f5ec8,'src':_0x570952,'sources':_0x57cd24,'width':_0x329cfd,'height':_0x4f7a24}});const _0x2ceb47=_0x380c31['getChildren']();_0x380c31=_0x54df6f['model']['document']['selection']['getSelectedElement']();for(const _0x1b7205 of _0x2ceb47)_0x4d492a['append'](_0x4d492a['cloneElement'](_0x1b7205),_0x380c31);}else _0x4d492a['setSelection'](_0x380c31,'on'),_0x54df6f['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x380c31['getAttributes']()),'uploadcareImageId':_0x2f5ec8,'src':_0x570952,'sources':_0x57cd24,'width':_0x329cfd,'height':_0x4f7a24},_0x380c31);_0x4d492a['setSelection'](_0x380c31,'on');});}async['_getImageAsFile'](_0x2d405a){const _0x537bdb=_0x2e2eb6['window'],_0x492d5a=_0x2e2eb6['document']['location']['href'],_0x494b23=new _0x537bdb['URL'](_0x2d405a['getAttribute']('src'),_0x492d5a);if('data:'===_0x494b23['protocol']){const _0x36daf6=_0x494b23['href']['split'](','),_0x5e2069=_0x36daf6[0x0]['match'](/:(.*?);/)[0x1],_0x34a0a4=_0x5e2069['split']('/')[0x1],_0x37edaa=_0x537bdb['atob'](_0x36daf6[_0x36daf6['length']-0x1]);let _0x25bd75=_0x37edaa['length'];const _0x138ab6=new _0x537bdb['Uint8Array'](_0x25bd75);for(;_0x25bd75--;)_0x138ab6[_0x25bd75]=_0x37edaa['charCodeAt'](_0x25bd75);return new _0x537bdb['File']([_0x138ab6],'image.'+_0x34a0a4,{'type':_0x5e2069});}const _0x4e913c=_0x494b23['href']['split']('/'),_0x163af8=_0x4e913c[_0x4e913c['length']-0x1],_0x56043a=_0x163af8['split']('.')[0x1];return _0x537bdb['fetch'](_0x494b23['href'])['then'](_0x330805=>_0x330805['clone']()['blob']())['then'](_0x35004f=>new _0x537bdb['File']([_0x35004f],_0x163af8,{'type':'image/'+_0x56043a}));}}
23
+ import{global as _0x31a757,ObservableMixin as _0x21bc0f}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x872142}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0xe99910}from'ckeditor5/src/icons.js';import _0x35a1e2 from'./uploadcareimageeditformview.js';import _0x3ea3be from'../../utils/uploadutils.js';import{getImageUrls as _0x52efa7,getImageDimension as _0x2f3576}from'../../utils/editingutils.js';import{isAncestor as _0x382a38}from'../../utils/isancestor.js';export default class O extends/* #__PURE__ -- @preserve */
24
+ _0x21bc0f(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x3d9996,_0x3a5ac6,_0xf2ed11){super(),this['_editor']=_0x3d9996,this['_dialog']=_0x3a5ac6,this['_imageElement']=_0xf2ed11,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 _0x56ff2b=this['_imageElement'],_0x5c7f58=_0x56ff2b['getAttribute']('uploadcareImageId'),_0x128ca7=_0x56ff2b['getAttribute']('src');if(_0x5c7f58)await this['_loadImageInfo'](_0x5c7f58,_0x128ca7);else{if(this['_imageCache']['has'](_0x128ca7)){const _0x445faa=this['_imageCache']['get'](_0x128ca7);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x445faa['url'],this['imageDimension']=_0x445faa['dimension'],this['imageId']=_0x445faa['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x25aac4}=this['_editor'],t=_0x25aac4['t'],_0x3d9068=new _0x35a1e2(_0x25aac4,this['imageStatus'],this['_attributes']);_0x3d9068['bind']('status')['to'](this,'imageStatus'),_0x3d9068['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x3d9068['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x3d9068['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x3d9068,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0xe99910,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x3d9068,'position':_0x872142['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x3d9068['focus']();},'onHide':()=>{_0x3d9068['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x5154f6=>!_0x382a38(_0x5154f6,_0x3d9068['element'])}});}['_loadImageInfo'](_0x330bec,_0x432fe1){return _0x3ea3be['getInfo'](_0x330bec,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x735756=>{const {width:_0x1ad0f8,height:_0x19f63a}=_0x735756['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x432fe1,this['imageDimension']={'width':_0x1ad0f8,'height':_0x19f63a},this['imageId']=_0x330bec;})['catch'](_0x25eaaa=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x25eaaa['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x21775a,_0x279e90){return this['_getImageAsFile'](_0x21775a)['then'](_0x28b695=>_0x3ea3be['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x279e90['signal'],'file':_0x28b695,'onProgress':_0x21198a=>{_0x21198a&&_0x21198a['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x21198a['value']));}}))['then'](_0x489fe9=>{const {width:_0x365b44,height:_0x5e1d46}=_0x489fe9['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x489fe9['cdnUrl'],this['imageDimension']={'width':_0x365b44,'height':_0x5e1d46},this['imageId']=_0x489fe9['uuid'],this['imageUploadProgress']=null;const _0x15887d=_0x21775a['getAttribute']('src');this['_imageCache']['set'](_0x15887d,{'id':_0x489fe9['uuid'],'url':_0x489fe9['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x563faa=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x563faa['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x29c1d0,_0x4c83c1){_0x29c1d0['on']('apply',(_0x2ad6b6,_0x357a31)=>{this['_replaceImage'](_0x4c83c1,_0x357a31['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x29c1d0['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x29c1d0['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x55083f,_0x370ff2,_0x3c90f8){const _0x3765c3=this['_editor'],{width:_0x290836,height:_0x1ac326}=_0x2f3576(_0x370ff2,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x1d6be6,imageSources:_0x4b103d}=_0x52efa7(_0x370ff2,_0x290836);_0x3765c3['model']['change'](_0x17ba7b=>{if('$graveyard'===_0x55083f['root']['rootName']){_0x3765c3['execute']('insertImage',{'imageType':_0x55083f['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x55083f['getAttributes']()),'uploadcareImageId':_0x3c90f8,'src':_0x1d6be6,'sources':_0x4b103d,'width':_0x290836,'height':_0x1ac326}});const _0x4ff74b=_0x55083f['getChildren']();_0x55083f=_0x3765c3['model']['document']['selection']['getSelectedElement']();for(const _0x1e7c76 of _0x4ff74b)_0x17ba7b['append'](_0x17ba7b['cloneElement'](_0x1e7c76),_0x55083f);}else _0x17ba7b['setSelection'](_0x55083f,'on'),_0x3765c3['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x55083f['getAttributes']()),'uploadcareImageId':_0x3c90f8,'src':_0x1d6be6,'sources':_0x4b103d,'width':_0x290836,'height':_0x1ac326},_0x55083f);_0x17ba7b['setSelection'](_0x55083f,'on');});}async['_getImageAsFile'](_0x2d8279){const _0x4b69e9=_0x31a757['window'],_0x8ec6b4=_0x31a757['document']['location']['href'],_0x51ef22=new _0x4b69e9['URL'](_0x2d8279['getAttribute']('src'),_0x8ec6b4);if('data:'===_0x51ef22['protocol']){const _0x141e9c=_0x51ef22['href']['split'](','),_0x33e143=_0x141e9c[0x0]['match'](/:(.*?);/)[0x1],_0x247595=_0x33e143['split']('/')[0x1],_0x4010c3=_0x4b69e9['atob'](_0x141e9c[_0x141e9c['length']-0x1]);let _0x39f044=_0x4010c3['length'];const _0x37a681=new _0x4b69e9['Uint8Array'](_0x39f044);for(;_0x39f044--;)_0x37a681[_0x39f044]=_0x4010c3['charCodeAt'](_0x39f044);return new _0x4b69e9['File']([_0x37a681],'image.'+_0x247595,{'type':_0x33e143});}const _0x18d2f7=_0x51ef22['href']['split']('/'),_0x419b01=_0x18d2f7[_0x18d2f7['length']-0x1],_0x37d244=_0x419b01['split']('.')[0x1];return _0x4b69e9['fetch'](_0x51ef22['href'])['then'](_0x4776d2=>_0x4776d2['clone']()['blob']())['then'](_0x198edb=>new _0x4b69e9['File']([_0x198edb],_0x419b01,{'type':'image/'+_0x37d244}));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x14a22f,_0x78271b){const _0x4f4427=_0x5ed3,_0x1113a4=_0x14a22f();while(!![]){try{const _0x592e59=parseInt(_0x4f4427(0x73))/0x1*(parseInt(_0x4f4427(0x6d))/0x2)+parseInt(_0x4f4427(0x78))/0x3+-parseInt(_0x4f4427(0x6f))/0x4+parseInt(_0x4f4427(0x6e))/0x5*(-parseInt(_0x4f4427(0x74))/0x6)+-parseInt(_0x4f4427(0x7f))/0x7*(parseInt(_0x4f4427(0x7b))/0x8)+parseInt(_0x4f4427(0x7a))/0x9*(-parseInt(_0x4f4427(0x76))/0xa)+parseInt(_0x4f4427(0x72))/0xb;if(_0x592e59===_0x78271b)break;else _0x1113a4['push'](_0x1113a4['shift']());}catch(_0x2703a6){_0x1113a4['push'](_0x1113a4['shift']());}}}(_0x1a84,0xc23b1));import{View as _0xad179e}from'ckeditor5/src/ui.js';function _0x5ed3(_0x49e1d0,_0x4b2440){const _0x1a84f5=_0x1a84();return _0x5ed3=function(_0x5ed326,_0x21369d){_0x5ed326=_0x5ed326-0x6d;let _0x37a32e=_0x1a84f5[_0x5ed326];return _0x37a32e;},_0x5ed3(_0x49e1d0,_0x4b2440);}function _0x1a84(){const _0x1c8db3=['image-edit','190vErimB','bindTemplate','2636268zxRKAf','uc-light','252729tbjNQF','8024zxTYit','set','imageSrc','ck-uploadcare-theme','3269ZPIsuZ','1331234bcTDBs','10uwIdlu','4306816CbNMyL','setTemplate','uc-cloud-image-editor','18709108NcsMUm','1FOlvmM','1112964HEsuYy'];_0x1a84=function(){return _0x1c8db3;};return _0x1a84();}export default class tt extends _0xad179e{constructor(_0x50ddda,_0x2ad7bf){const _0xdbd77=_0x5ed3;super(_0x50ddda);const _0x474b16=this[_0xdbd77(0x77)];this[_0xdbd77(0x7c)](_0xdbd77(0x7d),''),this[_0xdbd77(0x70)]({'tag':_0xdbd77(0x71),'attributes':{..._0x2ad7bf,'class':[_0xdbd77(0x79),_0xdbd77(0x7e)],'ctx-name':_0xdbd77(0x75),'cdn-url':_0x474b16['to'](_0xdbd77(0x7d))}});}}
23
+ function _0x2101(){const _0x5845f5=['10Uyinvt','imageSrc','setTemplate','ck-uploadcare-theme','6fMqspF','bindTemplate','75151mlDuqE','uc-cloud-image-editor','586360LNDOuh','set','image-edit','447452WWrWCN','1711116eVmAYB','491288djrFXv','uc-light','1006520CfVldq','167472hJQhRo'];_0x2101=function(){return _0x5845f5;};return _0x2101();}(function(_0x2f9745,_0x5a822e){const _0x24781b=_0x1b31,_0x337cdf=_0x2f9745();while(!![]){try{const _0x93c0=-parseInt(_0x24781b(0x8b))/0x1*(-parseInt(_0x24781b(0x96))/0x2)+-parseInt(_0x24781b(0x95))/0x3+-parseInt(_0x24781b(0x90))/0x4+-parseInt(_0x24781b(0x94))/0x5*(parseInt(_0x24781b(0x89))/0x6)+-parseInt(_0x24781b(0x92))/0x7+parseInt(_0x24781b(0x8d))/0x8+parseInt(_0x24781b(0x91))/0x9;if(_0x93c0===_0x5a822e)break;else _0x337cdf['push'](_0x337cdf['shift']());}catch(_0x28f90d){_0x337cdf['push'](_0x337cdf['shift']());}}}(_0x2101,0x30d3f));function _0x1b31(_0x35fa5a,_0x2247e6){const _0x21013a=_0x2101();return _0x1b31=function(_0x1b319d,_0xca173d){_0x1b319d=_0x1b319d-0x87;let _0x182042=_0x21013a[_0x1b319d];return _0x182042;},_0x1b31(_0x35fa5a,_0x2247e6);}import{View as _0x266588}from'ckeditor5/src/ui.js';export default class tt extends _0x266588{constructor(_0x29de99,_0x15fa58){const _0x39fa41=_0x1b31;super(_0x29de99);const _0x1b4e47=this[_0x39fa41(0x8a)];this[_0x39fa41(0x8e)](_0x39fa41(0x97),''),this[_0x39fa41(0x87)]({'tag':_0x39fa41(0x8c),'attributes':{..._0x15fa58,'class':[_0x39fa41(0x93),_0x39fa41(0x88)],'ctx-name':_0x39fa41(0x8f),'cdn-url':_0x1b4e47['to'](_0x39fa41(0x97))}});}}
@@ -2,11 +2,8 @@
2
2
  * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
- /**
6
- * @module uploadcare/uploadcareimageedit/ui/uploadcareimageeditformerrorview
7
- */
8
- import { type Locale } from 'ckeditor5/src/utils.js';
9
5
  import { View } from 'ckeditor5/src/ui.js';
6
+ import type { Locale } from 'ckeditor5/src/utils.js';
10
7
  import type UploadcareImageEditController from './uploadcareimageeditcontroller.js';
11
8
  /**
12
9
  * A class representing the form error view of the Uploadcare image edit feature.
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{ButtonView as _0x5e6a86,IconView as et,View as _0x8e8ffe}from'ckeditor5/src/ui.js';import at from'../../../theme/icons/error.svg';export default class rt extends _0x8e8ffe{constructor(_0x406b3f){super(_0x406b3f);const t=_0x406b3f['t'];this['set']('errorType',null);const _0x462642=new _0x5e6a86(_0x406b3f);_0x462642['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x462642['withText']=!0x0,_0x462642['class']='ck-button-action',_0x462642['on']('execute',()=>{this['fire']('retry');}),_0x462642['bind']('isVisible')['to'](this,'errorType',_0x40ae83=>'NotFound'!==_0x40ae83);const _0x32f1f7=new et();_0x32f1f7['content']=at,_0x32f1f7['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x4438a2=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':[_0x32f1f7,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x4438a2['to']('errorType',_0x3f10f5=>t('NotFound'!==_0x3f10f5?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x462642]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}
23
+ import{IconError as et}from'ckeditor5/src/icons.js';import{ButtonView as _0x8bcff0,IconView as at,View as _0x5b7547}from'ckeditor5/src/ui.js';export default class rt extends _0x5b7547{constructor(_0x2cf2c3){super(_0x2cf2c3);const t=_0x2cf2c3['t'];this['set']('errorType',null);const _0x56ca69=new _0x8bcff0(_0x2cf2c3);_0x56ca69['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x56ca69['withText']=!0x0,_0x56ca69['class']='ck-button-action',_0x56ca69['on']('execute',()=>{this['fire']('retry');}),_0x56ca69['bind']('isVisible')['to'](this,'errorType',_0x1597c0=>'NotFound'!==_0x1597c0);const _0x45bdb9=new at();_0x45bdb9['content']=et,_0x45bdb9['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x324570=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':[_0x45bdb9,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x324570['to']('errorType',_0xfa2d28=>t('NotFound'!==_0xfa2d28?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x56ca69]},{'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 _0xe6c9b2,View as _0x1b41c4}from'ckeditor5/src/ui.js';export default class ta extends _0x1b41c4{constructor(_0xf3fce8){super(_0xf3fce8);const t=_0xf3fce8['t'],_0x489b17=this['bindTemplate'],_0x2bdc33=new _0xe6c9b2();_0x2bdc33['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':[_0x2bdc33,{'text':_0x489b17['to']('imageUploadProgress',_0x28cdfc=>t('Loading\x20image...')+'\x20('+(_0x28cdfc||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 _0x3bfbe3,View as _0x1176cd}from'ckeditor5/src/ui.js';export default class ta extends _0x1176cd{constructor(_0x339950){super(_0x339950);const t=_0x339950['t'],_0x29ea55=this['bindTemplate'],_0x1ecc02=new _0x3bfbe3();_0x1ecc02['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':[_0x1ecc02,{'text':_0x29ea55['to']('imageUploadProgress',_0x4faaab=>t('Loading\x20image...')+'\x20('+(_0x4faaab||0x0)+'%)')}]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x4a73(){const _0x248845=['length','490788wCWZxJ','addEventListener','once','error','createCollection','_waitForImageEditorComponent','clear','ck-uploadcare-form','_errorView','fire','setTemplate','9FTwszk','addMany','div','8pActYJ','target','uploading','change:status','disconnect','cancel','4022722bDVfPK','_addErrorViewListeners','uc-cloud-image-editor','_items','2467990AsSKYs','_addUploadcareImageEditorListeners','ready','retry','7026ZlLUdl','element','nodeName','25004rdwNww','add','focus','_focusableView','getFocusableElement','65159uHizlV','_setView','render','_editingView','245linoCu','ck-reset_all-excluded','observe','set','addedNodes','status','toLowerCase','_loadingView','cdnUrl','apply','querySelector','detail','4UcAqXL','517930ZrxhRI','filter'];_0x4a73=function(){return _0x248845;};return _0x4a73();}const _0x5d9542=_0xa3d8;(function(_0x3ab758,_0x182dd1){const _0x48ba37=_0xa3d8,_0xefebdf=_0x3ab758();while(!![]){try{const _0x58e03e=parseInt(_0x48ba37(0x118))/0x1+-parseInt(_0x48ba37(0x129))/0x2+-parseInt(_0x48ba37(0xf4))/0x3*(-parseInt(_0x48ba37(0x128))/0x4)+-parseInt(_0x48ba37(0x11c))/0x5*(-parseInt(_0x48ba37(0x110))/0x6)+parseInt(_0x48ba37(0x113))/0x7*(-parseInt(_0x48ba37(0x102))/0x8)+-parseInt(_0x48ba37(0xff))/0x9*(parseInt(_0x48ba37(0x10c))/0xa)+parseInt(_0x48ba37(0x108))/0xb;if(_0x58e03e===_0x182dd1)break;else _0xefebdf['push'](_0xefebdf['shift']());}catch(_0x1479ca){_0xefebdf['push'](_0xefebdf['shift']());}}}(_0x4a73,0x22ca4));function _0xa3d8(_0x322d60,_0x148bf4){const _0x4a73ea=_0x4a73();return _0xa3d8=function(_0xa3d8f9,_0x407b19){_0xa3d8f9=_0xa3d8f9-0xf4;let _0x2023b9=_0x4a73ea[_0xa3d8f9];return _0x2023b9;},_0xa3d8(_0x322d60,_0x148bf4);}import{View as _0x1a1f82}from'ckeditor5/src/ui.js';import _0x141f7f from'./uploadcareimageeditformloadingview.js';import _0x2e2346 from'./uploadcareimageeditformerrorview.js';import _0x225ae0 from'./uploadcareimageeditformeditingview.js';import _0x500fa3 from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export default class Z extends _0x500fa3{constructor(_0xa39948,_0xbb4bb5,_0x10eae5){const _0xbbe6e6=_0xa3d8;super(_0xa39948),this[_0xbbe6e6(0x10b)]=this[_0xbbe6e6(0xf8)](),this[_0xbbe6e6(0x123)]=new _0x141f7f(_0xa39948),this[_0xbbe6e6(0xfc)]=new _0x2e2346(_0xa39948),this[_0xbbe6e6(0x11b)]=new _0x225ae0(_0xa39948,_0x10eae5),this[_0xbbe6e6(0x116)]=new _0x1a1f82(_0xa39948),this[_0xbbe6e6(0x116)][_0xbbe6e6(0xfe)](this[_0xbbe6e6(0x117)]()),this[_0xbbe6e6(0x11f)](_0xbbe6e6(0x121),_0xbb4bb5),this[_0xbbe6e6(0xfe)]({'tag':_0xbbe6e6(0x101),'attributes':{'class':['ck',_0xbbe6e6(0x11d),_0xbbe6e6(0xfb)],'tabindex':'-1'},'children':this[_0xbbe6e6(0x10b)]}),this[_0xbbe6e6(0x119)](),this[_0xbbe6e6(0xf6)](_0xbbe6e6(0x11a),()=>{const _0x298ef9=_0xbbe6e6;this[_0x298ef9(0xf9)](this[_0x298ef9(0x111)],_0x1d6ac4=>{const _0xa5b980=_0x298ef9;this[_0xa5b980(0x10d)](_0x1d6ac4);});}),this['on'](_0xbbe6e6(0x105),()=>{const _0x133541=_0xbbe6e6;this[_0x133541(0x119)]();}),this[_0xbbe6e6(0x109)]();}[_0x5d9542(0x115)](){const _0x462449=_0x5d9542;this[_0x462449(0x111)][_0x462449(0x115)]();}[_0x5d9542(0x119)](){const _0x56695a=_0x5d9542;switch(this[_0x56695a(0x10b)][_0x56695a(0xfa)](),this[_0x56695a(0x121)]){case _0x56695a(0x104):this[_0x56695a(0x10b)][_0x56695a(0x114)](this[_0x56695a(0x123)]);break;case _0x56695a(0xf7):this[_0x56695a(0x10b)][_0x56695a(0x114)](this[_0x56695a(0xfc)]);break;case _0x56695a(0x10e):this[_0x56695a(0x10b)][_0x56695a(0x100)]([this[_0x56695a(0x11b)],this[_0x56695a(0x116)]]);}}[_0x5d9542(0xf9)](_0x55d677,_0x34922a){const _0x43923c=_0x5d9542,_0x2d7395=_0x43923c(0x10a),_0x37a653=_0x55d677[_0x43923c(0x126)](_0x2d7395);if(_0x37a653)return _0x34922a(_0x37a653);const _0x4225c1=new MutationObserver(_0xde70c6=>{const _0x2adfb1=_0x43923c,_0x5310a8=_0xde70c6[_0x2adfb1(0x12a)](_0x46deac=>_0x46deac[_0x2adfb1(0x103)]===_0x55d677&&_0x46deac[_0x2adfb1(0x120)][_0x2adfb1(0x12b)]>0x0&&_0x46deac[_0x2adfb1(0x120)][0x0][_0x2adfb1(0x112)][_0x2adfb1(0x122)]()===_0x2d7395);_0x5310a8[_0x2adfb1(0x12b)]&&(_0x4225c1[_0x2adfb1(0x106)](),_0x34922a(_0x5310a8[0x0][_0x2adfb1(0x120)][0x0]));});_0x4225c1[_0x43923c(0x11e)](_0x55d677,{'childList':!0x0,'subtree':!0x0});}[_0x5d9542(0x10d)](_0x27c04a){const _0x11de68=_0x5d9542;_0x27c04a[_0x11de68(0xf5)](_0x11de68(0x125),_0x32a29f=>{const _0x41b1c1=_0x11de68;this[_0x41b1c1(0xfd)](_0x41b1c1(0x125),{'imageSrc':_0x32a29f[_0x41b1c1(0x127)][_0x41b1c1(0x124)]});}),_0x27c04a[_0x11de68(0xf5)](_0x11de68(0x107),()=>{const _0x198ebd=_0x11de68;this[_0x198ebd(0xfd)](_0x198ebd(0x107));});}[_0x5d9542(0x109)](){const _0x42c6a6=_0x5d9542;this[_0x42c6a6(0xfc)]['on'](_0x42c6a6(0x10f),()=>{const _0x1cead6=_0x42c6a6;this[_0x1cead6(0xfd)](_0x1cead6(0x10f));});}}
23
+ const _0x62da4c=_0x4184;(function(_0x40b756,_0x372a24){const _0x165542=_0x4184,_0x2bd3d1=_0x40b756();while(!![]){try{const _0x40421c=-parseInt(_0x165542(0x1fa))/0x1+parseInt(_0x165542(0x1eb))/0x2*(parseInt(_0x165542(0x1e9))/0x3)+parseInt(_0x165542(0x1da))/0x4*(-parseInt(_0x165542(0x1d7))/0x5)+parseInt(_0x165542(0x1e6))/0x6*(-parseInt(_0x165542(0x1cc))/0x7)+-parseInt(_0x165542(0x1ea))/0x8*(parseInt(_0x165542(0x1ff))/0x9)+-parseInt(_0x165542(0x1d5))/0xa+parseInt(_0x165542(0x1df))/0xb;if(_0x40421c===_0x372a24)break;else _0x2bd3d1['push'](_0x2bd3d1['shift']());}catch(_0x2c8a69){_0x2bd3d1['push'](_0x2bd3d1['shift']());}}}(_0x779d,0xcaa82));function _0x779d(){const _0x235ab8=['1459060gRUHTI','once','retry','_items','addMany','1746EUIKlw','element','_waitForImageEditorComponent','_setView','clear','3794erJSVW','addEventListener','fire','length','nodeName','disconnect','target','error','set','14882380DFWqfK','cancel','11395ikRhLy','ck-reset_all-excluded','status','4xooztu','apply','add','uc-cloud-image-editor','querySelector','59017585uhdPEn','detail','focus','cdnUrl','_loadingView','addedNodes','_errorView','3018oUERmJ','uploading','_addErrorViewListeners','59382HWfpYn','59856yhmJxt','14cLHHBg','_addUploadcareImageEditorListeners','_editingView','ck-uploadcare-form','setTemplate','_focusableView','toLowerCase','ready','observe','render','change:status','filter','createCollection','getFocusableElement','div'];_0x779d=function(){return _0x235ab8;};return _0x779d();}import{View as _0x69111c}from'ckeditor5/src/ui.js';import _0x2630ae from'./uploadcareimageeditformloadingview.js';import _0x4c2d3b from'./uploadcareimageeditformerrorview.js';import _0x3d3abd from'./uploadcareimageeditformeditingview.js';import _0x5d9bd8 from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';function _0x4184(_0x158bc9,_0x5d66e4){const _0x779d5d=_0x779d();return _0x4184=function(_0x4184e4,_0x44eb7f){_0x4184e4=_0x4184e4-0x1c8;let _0x1f5b78=_0x779d5d[_0x4184e4];return _0x1f5b78;},_0x4184(_0x158bc9,_0x5d66e4);}export default class Z extends _0x5d9bd8{[_0x62da4c(0x1fd)];[_0x62da4c(0x1e3)];[_0x62da4c(0x1e5)];[_0x62da4c(0x1ed)];[_0x62da4c(0x1f0)];constructor(_0x1fe61a,_0x4fda29,_0x3412ee){const _0x5c1e01=_0x62da4c;super(_0x1fe61a),this[_0x5c1e01(0x1fd)]=this[_0x5c1e01(0x1f7)](),this[_0x5c1e01(0x1e3)]=new _0x2630ae(_0x1fe61a),this[_0x5c1e01(0x1e5)]=new _0x4c2d3b(_0x1fe61a),this[_0x5c1e01(0x1ed)]=new _0x3d3abd(_0x1fe61a,_0x3412ee),this[_0x5c1e01(0x1f0)]=new _0x69111c(_0x1fe61a),this[_0x5c1e01(0x1f0)][_0x5c1e01(0x1ef)](this[_0x5c1e01(0x1f8)]()),this[_0x5c1e01(0x1d4)](_0x5c1e01(0x1d9),_0x4fda29),this[_0x5c1e01(0x1ef)]({'tag':_0x5c1e01(0x1f9),'attributes':{'class':['ck',_0x5c1e01(0x1d8),_0x5c1e01(0x1ee)],'tabindex':'-1'},'children':this[_0x5c1e01(0x1fd)]}),this[_0x5c1e01(0x1ca)](),this[_0x5c1e01(0x1fb)](_0x5c1e01(0x1f4),()=>{const _0x3322d6=_0x5c1e01;this[_0x3322d6(0x1c9)](this[_0x3322d6(0x1c8)],_0x473129=>{const _0x119777=_0x3322d6;this[_0x119777(0x1ec)](_0x473129);});}),this['on'](_0x5c1e01(0x1f5),()=>{const _0x389ed2=_0x5c1e01;this[_0x389ed2(0x1ca)]();}),this[_0x5c1e01(0x1e8)]();}[_0x62da4c(0x1e1)](){const _0x5ec0f0=_0x62da4c;this[_0x5ec0f0(0x1c8)][_0x5ec0f0(0x1e1)]();}[_0x62da4c(0x1ca)](){const _0x190c27=_0x62da4c;switch(this[_0x190c27(0x1fd)][_0x190c27(0x1cb)](),this[_0x190c27(0x1d9)]){case _0x190c27(0x1e7):this[_0x190c27(0x1fd)][_0x190c27(0x1dc)](this[_0x190c27(0x1e3)]);break;case _0x190c27(0x1d3):this[_0x190c27(0x1fd)][_0x190c27(0x1dc)](this[_0x190c27(0x1e5)]);break;case _0x190c27(0x1f2):this[_0x190c27(0x1fd)][_0x190c27(0x1fe)]([this[_0x190c27(0x1ed)],this[_0x190c27(0x1f0)]]);}}[_0x62da4c(0x1c9)](_0x1baf86,_0x506d43){const _0x148b3b=_0x62da4c,_0x3f0476=_0x148b3b(0x1dd),_0x2420e0=_0x1baf86[_0x148b3b(0x1de)](_0x3f0476);if(_0x2420e0)return _0x506d43(_0x2420e0);const _0x24cd81=new MutationObserver(_0x260271=>{const _0x3a264e=_0x148b3b,_0x2fea5c=_0x260271[_0x3a264e(0x1f6)](_0x3010ce=>_0x3010ce[_0x3a264e(0x1d2)]===_0x1baf86&&_0x3010ce[_0x3a264e(0x1e4)][_0x3a264e(0x1cf)]>0x0&&_0x3010ce[_0x3a264e(0x1e4)][0x0][_0x3a264e(0x1d0)][_0x3a264e(0x1f1)]()===_0x3f0476);_0x2fea5c[_0x3a264e(0x1cf)]&&(_0x24cd81[_0x3a264e(0x1d1)](),_0x506d43(_0x2fea5c[0x0][_0x3a264e(0x1e4)][0x0]));});_0x24cd81[_0x148b3b(0x1f3)](_0x1baf86,{'childList':!0x0,'subtree':!0x0});}[_0x62da4c(0x1ec)](_0x13acef){const _0x4aca2c=_0x62da4c;_0x13acef[_0x4aca2c(0x1cd)](_0x4aca2c(0x1db),_0x4105cb=>{const _0x12e3a6=_0x4aca2c;this[_0x12e3a6(0x1ce)](_0x12e3a6(0x1db),{'imageSrc':_0x4105cb[_0x12e3a6(0x1e0)][_0x12e3a6(0x1e2)]});}),_0x13acef[_0x4aca2c(0x1cd)](_0x4aca2c(0x1d6),()=>{const _0x309465=_0x4aca2c;this[_0x309465(0x1ce)](_0x309465(0x1d6));});}[_0x62da4c(0x1e8)](){const _0x151ec4=_0x62da4c;this[_0x151ec4(0x1e5)]['on'](_0x151ec4(0x1fc),()=>{const _0x498529=_0x151ec4;this[_0x498529(0x1ce)](_0x498529(0x1fc));});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x97f5(_0x4d2a58,_0x52c6b2){const _0x4d200d=_0x4d20();return _0x97f5=function(_0x97f500,_0x201f56){_0x97f500=_0x97f500-0x150;let _0x1b5d99=_0x4d200d[_0x97f500];return _0x1b5d99;},_0x97f5(_0x4d2a58,_0x52c6b2);}const _0x2393f1=_0x97f5;(function(_0x1ee6e0,_0x2edb6b){const _0x497a4b=_0x97f5,_0x290dca=_0x1ee6e0();while(!![]){try{const _0x3d0379=parseInt(_0x497a4b(0x15b))/0x1*(-parseInt(_0x497a4b(0x157))/0x2)+-parseInt(_0x497a4b(0x158))/0x3*(-parseInt(_0x497a4b(0x166))/0x4)+parseInt(_0x497a4b(0x150))/0x5+parseInt(_0x497a4b(0x167))/0x6*(parseInt(_0x497a4b(0x164))/0x7)+-parseInt(_0x497a4b(0x169))/0x8+parseInt(_0x497a4b(0x151))/0x9*(parseInt(_0x497a4b(0x16f))/0xa)+parseInt(_0x497a4b(0x156))/0xb;if(_0x3d0379===_0x2edb6b)break;else _0x290dca['push'](_0x290dca['shift']());}catch(_0x5f12ac){_0x290dca['push'](_0x290dca['shift']());}}}(_0x4d20,0x8c910));import{Command as _0x5bf593}from'ckeditor5/src/core.js';import{Dialog as _0x5be8e7}from'ckeditor5/src/ui.js';import _0x5299b2 from'./ui/uploadcareimageeditcontroller.js';function _0x4d20(){const _0x37a712=['154QwQpBt','48llhEPu','isEnabled','editor','7789sfwsWM','selection','set','model','imageEditController','execute','imageBlock','isActive','unbind','1806ejxfuv','document','228392WKWkvs','3774OkadYK','getSelectedElement','4800392vKygPy','imageInline','requires','config','plugins','element','640xtyIJQ','uploadcare.allowExternalImagesEditing','2090890sOmxDb','37872olmWWX','get','refresh','bind','_isEditable','134442EKnTqM'];_0x4d20=function(){return _0x37a712;};return _0x4d20();}import{createEditabilityChecker as _0x420153}from'../utils/editingutils.js';export default class J extends _0x5bf593{static get[_0x2393f1(0x16b)](){return[_0x5be8e7];}constructor(_0x3b9730){const _0x55db76=_0x2393f1;super(_0x3b9730),this[_0x55db76(0x15f)]=void 0x0,this[_0x55db76(0x155)]=_0x420153(_0x3b9730[_0x55db76(0x16c)][_0x55db76(0x152)](_0x55db76(0x170))||[]),this[_0x55db76(0x15d)]({'isActive':!0x1});}[_0x2393f1(0x153)](){const _0x5f2d33=_0x2393f1,_0x3ee2b6=this[_0x5f2d33(0x15a)][_0x5f2d33(0x15e)][_0x5f2d33(0x165)][_0x5f2d33(0x15c)][_0x5f2d33(0x168)]();this[_0x5f2d33(0x159)]=this[_0x5f2d33(0x155)](_0x3ee2b6);}[_0x2393f1(0x160)](){const _0x1ffd24=_0x2393f1;this[_0x1ffd24(0x15f)]&&(this[_0x1ffd24(0x163)](_0x1ffd24(0x162)),this[_0x1ffd24(0x15f)]=void 0x0);const _0x869157=this[_0x1ffd24(0x15a)][_0x1ffd24(0x15e)][_0x1ffd24(0x165)][_0x1ffd24(0x15c)][_0x1ffd24(0x168)]();_0x869157&&(_0x869157['is'](_0x1ffd24(0x16e),_0x1ffd24(0x161))||_0x869157['is'](_0x1ffd24(0x16e),_0x1ffd24(0x16a)))&&(this[_0x1ffd24(0x15f)]=new _0x5299b2(this[_0x1ffd24(0x15a)],this[_0x1ffd24(0x15a)][_0x1ffd24(0x16d)][_0x1ffd24(0x152)](_0x5be8e7),_0x869157),this[_0x1ffd24(0x154)](_0x1ffd24(0x162))['to'](this[_0x1ffd24(0x15f)],_0x1ffd24(0x162)));}}
23
+ const _0x521b2e=_0x4f6b;(function(_0x1a65a1,_0x2333eb){const _0x3c5482=_0x4f6b,_0x5ba57b=_0x1a65a1();while(!![]){try{const _0x41abbb=-parseInt(_0x3c5482(0x1ab))/0x1*(-parseInt(_0x3c5482(0x19f))/0x2)+-parseInt(_0x3c5482(0x19a))/0x3+parseInt(_0x3c5482(0x193))/0x4*(-parseInt(_0x3c5482(0x1b1))/0x5)+-parseInt(_0x3c5482(0x1a2))/0x6+parseInt(_0x3c5482(0x19e))/0x7+-parseInt(_0x3c5482(0x1a7))/0x8*(parseInt(_0x3c5482(0x196))/0x9)+parseInt(_0x3c5482(0x1a3))/0xa*(parseInt(_0x3c5482(0x191))/0xb);if(_0x41abbb===_0x2333eb)break;else _0x5ba57b['push'](_0x5ba57b['shift']());}catch(_0x3ac740){_0x5ba57b['push'](_0x5ba57b['shift']());}}}(_0x140f,0x4e219));import{Command as _0x391cb3}from'ckeditor5/src/core.js';function _0x4f6b(_0x4c1864,_0x881f21){const _0x140fb8=_0x140f();return _0x4f6b=function(_0x4f6b0e,_0x576e4e){_0x4f6b0e=_0x4f6b0e-0x191;let _0x41cee3=_0x140fb8[_0x4f6b0e];return _0x41cee3;},_0x4f6b(_0x4c1864,_0x881f21);}import{Dialog as _0x5d3821}from'ckeditor5/src/ui.js';import _0x290476 from'./ui/uploadcareimageeditcontroller.js';function _0x140f(){const _0x11d281=['get','imageBlock','refresh','234834yLoKmk','editor','uploadcare.allowExternalImagesEditing','set','1671138gSTBZm','1614tmrwmo','imageEditController','document','993792PTNmEk','6370990iuzjBW','getSelectedElement','isActive','selection','48ftmqcR','model','execute','_isEditable','473bUHaJX','imageInline','plugins','isEnabled','element','unbind','363505irWOEY','11Yuzrfp','bind','12PCzckJ','requires','config','713259cnjmFm'];_0x140f=function(){return _0x11d281;};return _0x140f();}import{createEditabilityChecker as _0x40c4d0}from'../utils/editingutils.js';export default class V extends _0x391cb3{[_0x521b2e(0x1a0)];static get[_0x521b2e(0x194)](){return[_0x5d3821];}[_0x521b2e(0x1aa)];constructor(_0x330c0c){const _0xf3c435=_0x521b2e;super(_0x330c0c),this[_0xf3c435(0x1a0)]=void 0x0,this[_0xf3c435(0x1aa)]=_0x40c4d0(_0x330c0c[_0xf3c435(0x195)][_0xf3c435(0x197)](_0xf3c435(0x19c))||[]),this[_0xf3c435(0x19d)]({'isActive':!0x1});}[_0x521b2e(0x199)](){const _0x2a9b9a=_0x521b2e,_0x303935=this[_0x2a9b9a(0x19b)][_0x2a9b9a(0x1a8)][_0x2a9b9a(0x1a1)][_0x2a9b9a(0x1a6)][_0x2a9b9a(0x1a4)]();this[_0x2a9b9a(0x1ae)]=this[_0x2a9b9a(0x1aa)](_0x303935);}[_0x521b2e(0x1a9)](){const _0x569147=_0x521b2e;this[_0x569147(0x1a0)]&&(this[_0x569147(0x1b0)](_0x569147(0x1a5)),this[_0x569147(0x1a0)]=void 0x0);const _0x4cbb41=this[_0x569147(0x19b)][_0x569147(0x1a8)][_0x569147(0x1a1)][_0x569147(0x1a6)][_0x569147(0x1a4)]();_0x4cbb41&&(_0x4cbb41['is'](_0x569147(0x1af),_0x569147(0x198))||_0x4cbb41['is'](_0x569147(0x1af),_0x569147(0x1ac)))&&(this[_0x569147(0x1a0)]=new _0x290476(this[_0x569147(0x19b)],this[_0x569147(0x19b)][_0x569147(0x1ad)][_0x569147(0x197)](_0x5d3821),_0x4cbb41),this[_0x569147(0x192)](_0x569147(0x1a5))['to'](this[_0x569147(0x1a0)],_0x569147(0x1a5)));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x48339e=_0x4a73;(function(_0x18602c,_0x429806){const _0x2e89bd=_0x4a73,_0x262209=_0x18602c();while(!![]){try{const _0xe64460=parseInt(_0x2e89bd(0x106))/0x1*(-parseInt(_0x2e89bd(0xf6))/0x2)+-parseInt(_0x2e89bd(0xf8))/0x3*(-parseInt(_0x2e89bd(0x109))/0x4)+parseInt(_0x2e89bd(0x108))/0x5+parseInt(_0x2e89bd(0xfe))/0x6*(-parseInt(_0x2e89bd(0x10a))/0x7)+parseInt(_0x2e89bd(0xfb))/0x8*(parseInt(_0x2e89bd(0xfd))/0x9)+-parseInt(_0x2e89bd(0x105))/0xa+parseInt(_0x2e89bd(0x104))/0xb*(-parseInt(_0x2e89bd(0xff))/0xc);if(_0xe64460===_0x429806)break;else _0x262209['push'](_0x262209['shift']());}catch(_0x53fbf3){_0x262209['push'](_0x262209['shift']());}}}(_0x23db,0x2d3d5));import{Plugin as _0x491f89}from'ckeditor5/src/core.js';import{Notification as _0x4e9c2d}from'ckeditor5/src/ui.js';import _0x90beed from'./uploadcareimageeditcommand.js';function _0x4a73(_0x59926f,_0xd5e6cf){const _0x23db77=_0x23db();return _0x4a73=function(_0x4a738d,_0x15a240){_0x4a738d=_0x4a738d-0xf4;let _0x429e1c=_0x23db77[_0x4a738d];return _0x429e1c;},_0x4a73(_0x59926f,_0xd5e6cf);}import _0x2f58c4 from'./uploadcareimagereplacecommand.js';import _0x5020f5 from'../uploadcareediting.js';function _0x23db(){const _0x3b73e6=['26CmcvJH','isPremiumPlugin','3HPSjOJ','UploadcareImageEditEditing','uploadcareImageReplace','237584UiQaxx','ImageEditing','99FudyhG','238362TjmySD','7296dBGOhY','requires','isOfficialPlugin','pluginName','ImageUtils','4642NErDrj','2620590iHZRny','9841dahgFX','init','1586685kBMXSq','910324BLdyjy','7toViDO','uploadcareImageEdit','add','commands'];_0x23db=function(){return _0x3b73e6;};return _0x23db();}export default class m extends _0x491f89{static get[_0x48339e(0x102)](){const _0x1a2c7a=_0x48339e;return _0x1a2c7a(0xf9);}static get[_0x48339e(0x100)](){const _0x40719e=_0x48339e;return[_0x5020f5,_0x4e9c2d,_0x40719e(0x103),_0x40719e(0xfc)];}static get[_0x48339e(0x101)](){return!0x0;}static get[_0x48339e(0xf7)](){return!0x0;}[_0x48339e(0x107)](){const _0x4e20d8=_0x48339e,{editor:_0x5ba97e}=this;_0x5ba97e[_0x4e20d8(0xf5)][_0x4e20d8(0xf4)](_0x4e20d8(0x10b),new _0x90beed(_0x5ba97e)),_0x5ba97e[_0x4e20d8(0xf5)][_0x4e20d8(0xf4)](_0x4e20d8(0xfa),new _0x2f58c4(_0x5ba97e));}}
23
+ const _0x2f9531=_0x3349;(function(_0x50144c,_0x26fb6d){const _0x248830=_0x3349,_0x5a13d5=_0x50144c();while(!![]){try{const _0x320f85=-parseInt(_0x248830(0x17a))/0x1+-parseInt(_0x248830(0x17b))/0x2*(-parseInt(_0x248830(0x18a))/0x3)+parseInt(_0x248830(0x190))/0x4*(parseInt(_0x248830(0x17f))/0x5)+parseInt(_0x248830(0x18d))/0x6+-parseInt(_0x248830(0x180))/0x7+-parseInt(_0x248830(0x187))/0x8*(parseInt(_0x248830(0x17e))/0x9)+parseInt(_0x248830(0x17d))/0xa*(-parseInt(_0x248830(0x189))/0xb);if(_0x320f85===_0x26fb6d)break;else _0x5a13d5['push'](_0x5a13d5['shift']());}catch(_0x1a5674){_0x5a13d5['push'](_0x5a13d5['shift']());}}}(_0x1924,0x831e6));import{Plugin as _0x57e350}from'ckeditor5/src/core.js';import{Notification as _0x4a7345}from'ckeditor5/src/ui.js';function _0x3349(_0x1fec24,_0x1464b7){const _0x1924b4=_0x1924();return _0x3349=function(_0x334901,_0x556db2){_0x334901=_0x334901-0x17a;let _0x165be2=_0x1924b4[_0x334901];return _0x165be2;},_0x3349(_0x1fec24,_0x1464b7);}import _0x56400e from'./uploadcareimageeditcommand.js';function _0x1924(){const _0x3953b1=['uploadcareImageReplace','add','8vSZAOy','ImageEditing','11xnxawA','20976rxWwDm','init','ImageUtils','5011446HvcJLT','isPremiumPlugin','isOfficialPlugin','127240LtNjLK','88360rTjhrW','302cGkoMy','requires','8141390Dnbfkk','1279899yvuqMk','65yfsVPg','5059537GIcrXp','UploadcareImageEditEditing','commands','uploadcareImageEdit','pluginName'];_0x1924=function(){return _0x3953b1;};return _0x1924();}import _0x3fa896 from'./uploadcareimagereplacecommand.js';import _0x38d24a from'../uploadcareediting.js';export default class g extends _0x57e350{static get[_0x2f9531(0x184)](){const _0x4832cf=_0x2f9531;return _0x4832cf(0x181);}static get[_0x2f9531(0x17c)](){const _0x36feed=_0x2f9531;return[_0x38d24a,_0x4a7345,_0x36feed(0x18c),_0x36feed(0x188)];}static get[_0x2f9531(0x18f)](){return!0x0;}static get[_0x2f9531(0x18e)](){return!0x0;}[_0x2f9531(0x18b)](){const _0x3eda48=_0x2f9531,{editor:_0x4d02dc}=this;_0x4d02dc[_0x3eda48(0x182)][_0x3eda48(0x186)](_0x3eda48(0x183),new _0x56400e(_0x4d02dc)),_0x4d02dc[_0x3eda48(0x182)][_0x3eda48(0x186)](_0x3eda48(0x185),new _0x3fa896(_0x4d02dc));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x15bc00}from'ckeditor5/src/core.js';import{ButtonView as _0x30194d}from'ckeditor5/src/ui.js';import{createElement as _0x17d946}from'ckeditor5/src/utils.js';import _0x5764a6 from'../../theme/icons/uploadcare-image-edit.svg';import'@uploadcare/file-uploader/web/uc-cloud-image-editor.min.css';import'../../theme/uploadcare-theme.css';export default class g extends _0x15bc00{constructor(){super(...arguments),this['_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 _0xfcb3a=this['editor'];_0xfcb3a['ui']['componentFactory']['add']('uploadcareImageEdit',_0x326d2a=>{const _0x200fc1=_0xfcb3a['commands']['get']('uploadcareImageEdit'),_0x25f273=new _0x30194d(_0x326d2a),t=_0x326d2a['t'];return _0x25f273['set']({'icon':_0x5764a6,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x25f273['bind']('isEnabled')['to'](_0x200fc1),_0x25f273['bind']('isOn')['to'](_0x200fc1,'isActive'),this['listenTo'](_0x25f273,'execute',()=>{_0xfcb3a['execute']('uploadcareImageEdit'),_0xfcb3a['editing']['view']['focus']();}),_0x25f273;}),this['_initConfig']();}['_initConfig'](){const _0x42a9cf=_0x17d946(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x42a9cf),this['listenTo'](this['editor'],'destroy',()=>{_0x42a9cf['remove']();});}}
23
+ import{Plugin as _0x4b7e03}from'ckeditor5/src/core.js';import{ButtonView as _0x25f324}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x35681c}from'ckeditor5/src/icons.js';import{createElement as _0x1fde5c}from'ckeditor5/src/utils.js';import'@uploadcare/file-uploader/web/uc-cloud-image-editor.min.css';import'../../theme/uploadcare-theme.css';export default class j extends _0x4b7e03{['_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 _0x2bfd51=this['editor'];_0x2bfd51['ui']['componentFactory']['add']('uploadcareImageEdit',_0x28ddc8=>{const _0x492d3e=_0x2bfd51['commands']['get']('uploadcareImageEdit'),_0x2f008a=new _0x25f324(_0x28ddc8),t=_0x28ddc8['t'];return _0x2f008a['set']({'icon':_0x35681c,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x2f008a['bind']('isEnabled')['to'](_0x492d3e),_0x2f008a['bind']('isOn')['to'](_0x492d3e,'isActive'),this['listenTo'](_0x2f008a,'execute',()=>{_0x2bfd51['execute']('uploadcareImageEdit'),_0x2bfd51['editing']['view']['focus']();}),_0x2f008a;}),this['_initConfig']();}['_initConfig'](){const _0x52f2f9=_0x1fde5c(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x52f2f9),this['listenTo'](this['editor'],'destroy',()=>{_0x52f2f9['remove']();});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x426ea5=_0x3b27;(function(_0x33fce1,_0x1bbb33){const _0x301fd3=_0x3b27,_0x34cec1=_0x33fce1();while(!![]){try{const _0x211bee=parseInt(_0x301fd3(0x1d2))/0x1*(parseInt(_0x301fd3(0x1d6))/0x2)+parseInt(_0x301fd3(0x1c7))/0x3*(-parseInt(_0x301fd3(0x1d4))/0x4)+parseInt(_0x301fd3(0x1ca))/0x5*(parseInt(_0x301fd3(0x1be))/0x6)+-parseInt(_0x301fd3(0x1bf))/0x7+-parseInt(_0x301fd3(0x1bd))/0x8+parseInt(_0x301fd3(0x1c8))/0x9*(-parseInt(_0x301fd3(0x1d5))/0xa)+parseInt(_0x301fd3(0x1cc))/0xb;if(_0x211bee===_0x1bbb33)break;else _0x34cec1['push'](_0x34cec1['shift']());}catch(_0x3522ce){_0x34cec1['push'](_0x34cec1['shift']());}}}(_0x9e40,0x7759d));function _0x3b27(_0x308114,_0x3025a3){const _0x9e4009=_0x9e40();return _0x3b27=function(_0x3b2754,_0x30516b){_0x3b2754=_0x3b2754-0x1bc;let _0x55765c=_0x9e4009[_0x3b2754];return _0x55765c;},_0x3b27(_0x308114,_0x3025a3);}function _0x9e40(){const _0x400e68=['113467GYHPso','refresh','4kHSSBn','27430HXJiZA','8KSzHYC','isEnabled','109072mdCNzt','18AqDuWJ','3589166Kxboge','setAttributes','editor','getSelectedElement','srcset','execute','sizes','change','1290651gGShcl','2007vXZiLb','imageBlock','292355LVJKhD','element','15706438VtkNyM','imageInline','model','document','removeAttribute','selection'];_0x9e40=function(){return _0x400e68;};return _0x9e40();}import{Command as _0x41d5e2}from'ckeditor5/src/core.js';export default class O extends _0x41d5e2{[_0x426ea5(0x1d3)](){const _0x54f4dc=_0x426ea5,_0x4e23a5=this[_0x54f4dc(0x1c1)][_0x54f4dc(0x1ce)][_0x54f4dc(0x1cf)][_0x54f4dc(0x1d1)][_0x54f4dc(0x1c2)]();this[_0x54f4dc(0x1bc)]=Boolean(_0x4e23a5&&(_0x4e23a5['is'](_0x54f4dc(0x1cb),_0x54f4dc(0x1c9))||_0x4e23a5['is'](_0x54f4dc(0x1cb),_0x54f4dc(0x1cd))));}[_0x426ea5(0x1c4)](_0xec9a2a){const _0x4ea966=_0x426ea5,_0x5dc7a7=this[_0x4ea966(0x1c1)][_0x4ea966(0x1ce)][_0x4ea966(0x1cf)][_0x4ea966(0x1d1)][_0x4ea966(0x1c2)]();this[_0x4ea966(0x1c1)][_0x4ea966(0x1ce)][_0x4ea966(0x1c6)](_0x4c568a=>{const _0xccedb4=_0x4ea966;_0x4c568a[_0xccedb4(0x1c0)](_0xec9a2a,_0x5dc7a7),_0x4c568a[_0xccedb4(0x1d0)](_0xccedb4(0x1c3),_0x5dc7a7),_0x4c568a[_0xccedb4(0x1d0)](_0xccedb4(0x1c5),_0x5dc7a7);});}}
23
+ function _0x5e48(){const _0x3ac3ef=['imageBlock','215652amDcez','editor','sizes','11dBOhpP','8GBjlBC','selection','document','refresh','imageInline','removeAttribute','55sKyqqk','change','12916390hiVdcx','6516824IjWqhc','getSelectedElement','2088615xzTpuk','6605858rNiFap','316548FBOlNU','model','setAttributes','8TvgvRy','isEnabled','execute','25442868eVdZvE','srcset','9zQkjwM','element'];_0x5e48=function(){return _0x3ac3ef;};return _0x5e48();}const _0x3d6b12=_0x3fd6;function _0x3fd6(_0x223e48,_0x37fc6b){const _0x5e48e4=_0x5e48();return _0x3fd6=function(_0x3fd60f,_0x6fba01){_0x3fd60f=_0x3fd60f-0x14a;let _0x452e80=_0x5e48e4[_0x3fd60f];return _0x452e80;},_0x3fd6(_0x223e48,_0x37fc6b);}(function(_0x2a32f2,_0x3c8949){const _0x49e93f=_0x3fd6,_0x339805=_0x2a32f2();while(!![]){try{const _0x426fb3=parseInt(_0x49e93f(0x14b))/0x1*(parseInt(_0x49e93f(0x15f))/0x2)+parseInt(_0x49e93f(0x15a))/0x3*(parseInt(_0x49e93f(0x14f))/0x4)+parseInt(_0x49e93f(0x155))/0x5*(-parseInt(_0x49e93f(0x15c))/0x6)+-parseInt(_0x49e93f(0x15b))/0x7+parseInt(_0x49e93f(0x158))/0x8*(-parseInt(_0x49e93f(0x164))/0x9)+-parseInt(_0x49e93f(0x157))/0xa+parseInt(_0x49e93f(0x14e))/0xb*(parseInt(_0x49e93f(0x162))/0xc);if(_0x426fb3===_0x3c8949)break;else _0x339805['push'](_0x339805['shift']());}catch(_0xa02fff){_0x339805['push'](_0x339805['shift']());}}}(_0x5e48,0xb5e17));import{Command as _0x4f5990}from'ckeditor5/src/core.js';export default class X extends _0x4f5990{[_0x3d6b12(0x152)](){const _0x4a2fc6=_0x3d6b12,_0x158e09=this[_0x4a2fc6(0x14c)][_0x4a2fc6(0x15d)][_0x4a2fc6(0x151)][_0x4a2fc6(0x150)][_0x4a2fc6(0x159)]();this[_0x4a2fc6(0x160)]=Boolean(_0x158e09&&(_0x158e09['is'](_0x4a2fc6(0x165),_0x4a2fc6(0x14a))||_0x158e09['is'](_0x4a2fc6(0x165),_0x4a2fc6(0x153))));}[_0x3d6b12(0x161)](_0x32de32){const _0x13f70d=_0x3d6b12,_0x5e571e=this[_0x13f70d(0x14c)][_0x13f70d(0x15d)][_0x13f70d(0x151)][_0x13f70d(0x150)][_0x13f70d(0x159)]();this[_0x13f70d(0x14c)][_0x13f70d(0x15d)][_0x13f70d(0x156)](_0x1319c0=>{const _0x196b9f=_0x13f70d;_0x1319c0[_0x196b9f(0x15e)](_0x32de32,_0x5e571e),_0x1319c0[_0x196b9f(0x154)](_0x196b9f(0x163),_0x5e571e),_0x1319c0[_0x196b9f(0x154)](_0x196b9f(0x14d),_0x5e571e);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x11dbcf=_0x2270;(function(_0x3da842,_0x1587eb){var _0x52159b=_0x2270,_0xef036b=_0x3da842();while(!![]){try{var _0x2428e8=-parseInt(_0x52159b(0x125))/0x1*(parseInt(_0x52159b(0x12c))/0x2)+-parseInt(_0x52159b(0x12f))/0x3*(parseInt(_0x52159b(0x130))/0x4)+-parseInt(_0x52159b(0x124))/0x5+-parseInt(_0x52159b(0x132))/0x6*(parseInt(_0x52159b(0x12b))/0x7)+parseInt(_0x52159b(0x12d))/0x8+-parseInt(_0x52159b(0x12e))/0x9*(parseInt(_0x52159b(0x131))/0xa)+parseInt(_0x52159b(0x129))/0xb;if(_0x2428e8===_0x1587eb)break;else _0xef036b['push'](_0xef036b['shift']());}catch(_0x29b873){_0xef036b['push'](_0xef036b['shift']());}}}(_0x3152,0x1bc9c));function _0x2270(_0x450453,_0xd81604){var _0x3152b0=_0x3152();return _0x2270=function(_0x227091,_0x15ba15){_0x227091=_0x227091-0x124;var _0x4dbd57=_0x3152b0[_0x227091];return _0x4dbd57;},_0x2270(_0x450453,_0xd81604);}import{Plugin as _0x305547}from'ckeditor5/src/core.js';function _0x3152(){var _0x22149f=['4QKiTzw','1510fRBPDW','586614nFLVsX','UploadcareImageEdit','676580NMJoFc','5578zwdLHB','pluginName','isOfficialPlugin','requires','6495599NZuDVK','isPremiumPlugin','7htFEwt','8BzVmxQ','194864NLlMlE','6237fArzvn','423021BbhEOO'];_0x3152=function(){return _0x22149f;};return _0x3152();}import _0x5d5430 from'./uploadcareimageedit/uploadcareimageeditediting.js';import _0x1a2dce from'./uploadcareimageedit/uploadcareimageeditui.js';export default class j extends _0x305547{static get[_0x11dbcf(0x126)](){var _0x3bdf38=_0x11dbcf;return _0x3bdf38(0x133);}static get[_0x11dbcf(0x128)](){return[_0x5d5430,_0x1a2dce];}static get[_0x11dbcf(0x127)](){return!0x0;}static get[_0x11dbcf(0x12a)](){return!0x0;}}
23
+ var _0x29c78d=_0x56c3;function _0x56c3(_0x3ead33,_0x3c1956){var _0x24cfa5=_0x24cf();return _0x56c3=function(_0x56c3cc,_0x122e88){_0x56c3cc=_0x56c3cc-0x18c;var _0x197b20=_0x24cfa5[_0x56c3cc];return _0x197b20;},_0x56c3(_0x3ead33,_0x3c1956);}(function(_0x14b899,_0x19a195){var _0x37cebb=_0x56c3,_0x40b091=_0x14b899();while(!![]){try{var _0x51fd36=-parseInt(_0x37cebb(0x18e))/0x1*(parseInt(_0x37cebb(0x195))/0x2)+parseInt(_0x37cebb(0x19b))/0x3*(-parseInt(_0x37cebb(0x19c))/0x4)+parseInt(_0x37cebb(0x19a))/0x5+parseInt(_0x37cebb(0x18c))/0x6*(parseInt(_0x37cebb(0x194))/0x7)+parseInt(_0x37cebb(0x199))/0x8*(-parseInt(_0x37cebb(0x196))/0x9)+parseInt(_0x37cebb(0x190))/0xa*(-parseInt(_0x37cebb(0x193))/0xb)+parseInt(_0x37cebb(0x18d))/0xc;if(_0x51fd36===_0x19a195)break;else _0x40b091['push'](_0x40b091['shift']());}catch(_0x40b5de){_0x40b091['push'](_0x40b091['shift']());}}}(_0x24cf,0xe6d36));import{Plugin as _0x5b77d3}from'ckeditor5/src/core.js';import _0x52be04 from'./uploadcareimageedit/uploadcareimageeditediting.js';import _0x433d99 from'./uploadcareimageedit/uploadcareimageeditui.js';function _0x24cf(){var _0x5dccd3=['738448OoKrYF','7825230Sjsdzb','1208793CjhQPt','12OdYwsD','24JymRwI','35620944uDQMRs','40RmSBFS','UploadcareImageEdit','9821830LsrTQz','isOfficialPlugin','isPremiumPlugin','11rjsPeX','1932413jdixyu','51218doYXIL','144ClgGMr','pluginName','requires'];_0x24cf=function(){return _0x5dccd3;};return _0x24cf();}export default class P extends _0x5b77d3{static get[_0x29c78d(0x197)](){var _0x2b624c=_0x29c78d;return _0x2b624c(0x18f);}static get[_0x29c78d(0x198)](){return[_0x52be04,_0x433d99];}static get[_0x29c78d(0x191)](){return!0x0;}static get[_0x29c78d(0x192)](){return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x22ce0f=_0x46d8;(function(_0x5c73e6,_0x4b928c){const _0x9798ae=_0x46d8,_0x39ddf4=_0x5c73e6();while(!![]){try{const _0xb40c29=-parseInt(_0x9798ae(0xe2))/0x1+-parseInt(_0x9798ae(0xfb))/0x2*(-parseInt(_0x9798ae(0xe9))/0x3)+-parseInt(_0x9798ae(0xfe))/0x4*(parseInt(_0x9798ae(0xb0))/0x5)+parseInt(_0x9798ae(0xfd))/0x6*(parseInt(_0x9798ae(0xed))/0x7)+parseInt(_0x9798ae(0xf8))/0x8+-parseInt(_0x9798ae(0xbb))/0x9*(-parseInt(_0x9798ae(0xc0))/0xa)+parseInt(_0x9798ae(0xd2))/0xb*(parseInt(_0x9798ae(0xd3))/0xc);if(_0xb40c29===_0x4b928c)break;else _0x39ddf4['push'](_0x39ddf4['shift']());}catch(_0x1a6dc2){_0x39ddf4['push'](_0x39ddf4['shift']());}}}(_0x4fc8,0x56bba));function _0x4fc8(){const _0x305f6e=['uploadcareLicenseKeyNotAllowed','121194WNthqG','12xqjiMm','entries','plugins','licenseKey','isOfficialPlugin','assetManager','807685PqyrBs','Local','uploadcareLicenseKeyExpired','_licenseKeyCheckInterval','GPhotos','imageUpload','commands','uploadcareLicenseKeyDomainLimit','trialLimit','_createButton','init','45DEYzdR','uploadcare.uploader.sourceList','map','usageLimit','uploadcareLicenseKeyValid','802000DjiQhl','isEnabled','featureNotAllowed','get','Insert','execute','editor','url','_createMenuBarButtons','OneDrive','shortText','isImageSelected','config','Replace','_getIntegrationKey','bind','destroy','forEach','15224mnPhVP','1596ahlhYH','afterInit','Facebook','expired','uploadcareLicenseKeyTrialLimit','evaluationLimit','text','uploadcareLicenseKeyUsageLimit','Dropbox','type','tooltip','locale','pluginName','icon','isPremiumPlugin','292719IfUsrh','_showLicenseError','uploadcareLicenseKeyEvaluationLimit','domainLimit','URL','uploadcare','uploadcareLicenseKeyInvalid','32007hfqQxg','upload','Uploadcare','push','49YNBTcv','registerIntegration','UploadcareUI','withText','reduce','_createToolbarButton','_createDropdownButtons','_normalizeConfigSourceList','has','label','ImageInsertUI','432368uJOSAt','GDrive','invalid','66tKKbbt'];_0x4fc8=function(){return _0x305f6e;};return _0x4fc8();}import{Plugin as _0x30e2bd,icons as _0xe9dd75}from'ckeditor5/src/core.js';function _0x46d8(_0x3f10f2,_0x5412e5){const _0x4fc8a7=_0x4fc8();return _0x46d8=function(_0x46d834,_0x1dc8ff){_0x46d834=_0x46d834-0xaf;let _0x5de060=_0x4fc8a7[_0x46d834];return _0x5de060;},_0x46d8(_0x3f10f2,_0x5412e5);}import{ButtonView as _0x491a0c,MenuBarMenuListItemButtonView as _0x438cca}from'ckeditor5/src/ui.js';import _0x49efb0 from'../theme/icons/dropbox.svg';import _0x1309a3 from'../theme/icons/facebook.svg';import _0x5aae18 from'../theme/icons/google-drive.svg';import _0x1d1870 from'../theme/icons/google-photos.svg';import _0x2c910b from'../theme/icons/link.svg';import _0x407ff5 from'../theme/icons/onedrive.svg';import{UploadcareSource as _0x114512}from'./uploadcareconfig.js';import{getTranslation as _0x48c71e}from'./utils/common-translations.js';import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';import'../theme/uploadcare-theme.css';import'../theme/uploadcareimageedit.css';export default class e extends _0x30e2bd{static get[_0x22ce0f(0xdf)](){const _0x2d9a6e=_0x22ce0f;return _0x2d9a6e(0xef);}static get[_0x22ce0f(0x102)](){return!0x0;}static get[_0x22ce0f(0xe1)](){return!0x0;}[_0x22ce0f(0xba)](){const _0x349966=_0x22ce0f;this[_0x349966(0x101)]=this[_0x349966(0xc6)][_0x349966(0xcc)][_0x349966(0xc3)](_0x349966(0x101));const _0x594c4f=this[_0x349966(0xc6)];this[_0x349966(0xb3)]=setInterval(()=>{const _0x5e06bb=_0x349966;let _0x372730;for(const _0x43d0cf in _0x594c4f){const _0x3e494c=_0x43d0cf,_0xadffac=_0x594c4f[_0x3e494c];if(_0x5e06bb(0xbf)==_0xadffac||_0x5e06bb(0xe8)==_0xadffac||_0x5e06bb(0xb2)==_0xadffac||_0x5e06bb(0xb7)==_0xadffac||_0x5e06bb(0xfc)==_0xadffac||_0x5e06bb(0xe4)==_0xadffac||_0x5e06bb(0xd7)==_0xadffac||_0x5e06bb(0xda)==_0xadffac){delete _0x594c4f[_0x3e494c],_0x372730=_0xadffac,clearInterval(this[_0x5e06bb(0xb3)]),this[_0x5e06bb(0xb3)]=void 0x0;break;}}_0x5e06bb(0xe8)==_0x372730&&_0x594c4f[_0x5e06bb(0xe3)](_0x5e06bb(0xfa)),_0x5e06bb(0xb2)==_0x372730&&_0x594c4f[_0x5e06bb(0xe3)](_0x5e06bb(0xd6)),_0x5e06bb(0xb7)==_0x372730&&_0x594c4f[_0x5e06bb(0xe3)](_0x5e06bb(0xe5)),_0x5e06bb(0xfc)==_0x372730&&_0x594c4f[_0x5e06bb(0xe3)](_0x5e06bb(0xc2),_0x5e06bb(0xeb)),_0x5e06bb(0xe4)==_0x372730&&_0x594c4f[_0x5e06bb(0xe3)](_0x5e06bb(0xd8)),_0x5e06bb(0xd7)==_0x372730&&_0x594c4f[_0x5e06bb(0xe3)](_0x5e06bb(0xb8)),_0x5e06bb(0xda)==_0x372730&&_0x594c4f[_0x5e06bb(0xe3)](_0x5e06bb(0xbe));},0x3e8);}[_0x22ce0f(0xd4)](){const _0x3848a3=_0x22ce0f,{editor:_0xa3427c}=this,_0x441eb4=_0xa3427c[_0x3848a3(0xb6)][_0x3848a3(0xc3)](_0x3848a3(0xe7));if(!_0x441eb4)return;const _0x31d686=this[_0x3848a3(0xf4)](_0xa3427c[_0x3848a3(0xcc)][_0x3848a3(0xc3)](_0x3848a3(0xbc)))[_0x3848a3(0xf1)]((_0x297a00,_0x5c14ac)=>{const _0x3058a9=_0x3848a3,_0x7df493=this[_0x3058a9(0xce)](_0x5c14ac[_0x3058a9(0xdc)]);return _0x297a00[_0x7df493]||(_0x297a00[_0x7df493]=[]),_0x297a00[_0x7df493][_0x3058a9(0xec)](_0x5c14ac),_0x297a00;},{});_0xa3427c[_0x3848a3(0x100)][_0x3848a3(0xf5)](_0x3848a3(0xf7))&&_0xa3427c[_0x3848a3(0xb6)][_0x3848a3(0xc3)](_0x3848a3(0xe7))&&Object[_0x3848a3(0xff)](_0x31d686)[_0x3848a3(0xd1)](([_0x1b6f17,_0xc2cfd])=>{const _0x168fde=_0x3848a3;_0xa3427c[_0x168fde(0x100)][_0x168fde(0xc3)](_0x168fde(0xf7))[_0x168fde(0xee)]({'name':_0x1b6f17,'observable':()=>_0x441eb4,'buttonViewCreator':()=>this[_0x168fde(0xf2)](_0xc2cfd),'formViewCreator':()=>this[_0x168fde(0xf3)](_0xc2cfd),'menuBarButtonViewCreator':()=>this[_0x168fde(0xc8)](_0xc2cfd),'override':_0x168fde(0xaf)!==_0x1b6f17});});}[_0x22ce0f(0xd0)](){const _0x3d3666=_0x22ce0f;super[_0x3d3666(0xd0)](),this[_0x3d3666(0xb3)]&&clearInterval(this[_0x3d3666(0xb3)]);}[_0x22ce0f(0xf4)](_0x4e2b91){const _0x355b09=_0x22ce0f,{locale:_0x420e31}=this[_0x355b09(0xc6)];return _0x4e2b91[_0x355b09(0xbd)](_0x44cb8b=>{const _0xeeb03b=_0x355b09,_0x2d9b9b=_0x48c71e(_0x420e31,_0x44cb8b,_0xeeb03b(0xc4));switch(_0x44cb8b){case _0x114512[_0xeeb03b(0xb1)]:return{'icon':_0xe9dd75[_0xeeb03b(0xb5)],'type':_0x114512[_0xeeb03b(0xb1)],..._0x2d9b9b};case _0x114512[_0xeeb03b(0xe6)]:return{'icon':_0x2c910b,'type':_0x114512[_0xeeb03b(0xe6)],..._0x2d9b9b};case _0x114512[_0xeeb03b(0xdb)]:return{'icon':_0x49efb0,'type':_0x114512[_0xeeb03b(0xdb)],..._0x2d9b9b};case _0x114512[_0xeeb03b(0xd5)]:return{'icon':_0x1309a3,'type':_0x114512[_0xeeb03b(0xd5)],..._0x2d9b9b};case _0x114512[_0xeeb03b(0xf9)]:return{'icon':_0x5aae18,'type':_0x114512[_0xeeb03b(0xf9)],..._0x2d9b9b};case _0x114512[_0xeeb03b(0xb4)]:return{'icon':_0x1d1870,'type':_0x114512[_0xeeb03b(0xb4)],..._0x2d9b9b};case _0x114512[_0xeeb03b(0xc9)]:return{'icon':_0x407ff5,'type':_0x114512[_0xeeb03b(0xc9)],..._0x2d9b9b};}});}[_0x22ce0f(0xce)](_0x2bc204){const _0x2a9d98=_0x22ce0f;switch(_0x2bc204){case _0x114512[_0x2a9d98(0xb1)]:return _0x2a9d98(0xea);case _0x114512[_0x2a9d98(0xe6)]:return _0x2a9d98(0xc7);default:return _0x2a9d98(0xaf);}}[_0x22ce0f(0xb9)](_0x6b4f20,_0x4d37cf){const _0x36b8ad=_0x22ce0f,_0x50d223=this[_0x36b8ad(0xc6)],_0x57897c=new _0x6b4f20(_0x50d223[_0x36b8ad(0xde)]),_0x43c1c7=_0x50d223[_0x36b8ad(0xb6)][_0x36b8ad(0xc3)](_0x36b8ad(0xe7));return _0x57897c[_0x36b8ad(0xcf)](_0x36b8ad(0xc1))['to'](_0x43c1c7),_0x57897c['on'](_0x36b8ad(0xc5),()=>{const _0x6e05c2=_0x36b8ad;_0x43c1c7[_0x6e05c2(0xc5)](_0x4d37cf);}),_0x57897c;}[_0x22ce0f(0xf2)](_0x335849){const _0x51f1d5=_0x22ce0f,{locale:_0x44ec25}=this[_0x51f1d5(0xc6)],_0x4d3f3d=this[_0x51f1d5(0xc6)][_0x51f1d5(0x100)][_0x51f1d5(0xc3)](_0x51f1d5(0xf7)),_0x2e7f39=_0x335849[0x0],_0xc55b2a=this[_0x51f1d5(0xb9)](_0x491a0c,_0x2e7f39[_0x51f1d5(0xdc)]);return _0xc55b2a[_0x51f1d5(0xe0)]=_0x2e7f39[_0x51f1d5(0xe0)],_0xc55b2a[_0x51f1d5(0xcf)](_0x51f1d5(0xf6))['to'](_0x4d3f3d,_0x51f1d5(0xcb),_0x7d0cb1=>_0x48c71e(_0x44ec25,_0x2e7f39[_0x51f1d5(0xdc)],_0x7d0cb1?_0x51f1d5(0xcd):_0x51f1d5(0xc4))[_0x51f1d5(0xd9)]),_0xc55b2a[_0x51f1d5(0xdd)]=!0x0,_0xc55b2a;}[_0x22ce0f(0xf3)](_0x5dabab){const _0x5ea069=_0x22ce0f,{locale:_0x2157f9}=this[_0x5ea069(0xc6)],_0x3516f4=this[_0x5ea069(0xc6)][_0x5ea069(0x100)][_0x5ea069(0xc3)](_0x5ea069(0xf7));return _0x5dabab[_0x5ea069(0xbd)](_0x25fbee=>{const _0x571860=_0x5ea069,_0x5d44c4=this[_0x571860(0xb9)](_0x491a0c,_0x25fbee[_0x571860(0xdc)]);return _0x5d44c4[_0x571860(0xf0)]=!0x0,_0x5d44c4[_0x571860(0xe0)]=_0x25fbee[_0x571860(0xe0)],_0x5d44c4[_0x571860(0xcf)](_0x571860(0xf6))['to'](_0x3516f4,_0x571860(0xcb),_0x66ccd8=>_0x48c71e(_0x2157f9,_0x25fbee[_0x571860(0xdc)],_0x66ccd8?_0x571860(0xcd):_0x571860(0xc4))[_0x571860(0xd9)]),_0x5d44c4;});}[_0x22ce0f(0xc8)](_0x2b5db0){const _0x40d6be=_0x22ce0f;return _0x2b5db0[_0x40d6be(0xbd)](_0x755070=>{const _0x29e95c=_0x40d6be,_0x587aa8=this[_0x29e95c(0xb9)](_0x438cca,_0x755070[_0x29e95c(0xdc)]);return _0x587aa8[_0x29e95c(0xe0)]=_0x755070[_0x29e95c(0xe0)],_0x587aa8[_0x29e95c(0xf6)]=_0x755070[_0x29e95c(0xca)],_0x587aa8;});}}
23
+ const _0x4f7cfa=_0x2bde;(function(_0x47361d,_0x2c48b6){const _0x547b10=_0x2bde,_0x43aaf1=_0x47361d();while(!![]){try{const _0x6e06e0=-parseInt(_0x547b10(0x187))/0x1*(-parseInt(_0x547b10(0x173))/0x2)+parseInt(_0x547b10(0x197))/0x3+-parseInt(_0x547b10(0x171))/0x4+-parseInt(_0x547b10(0x181))/0x5+-parseInt(_0x547b10(0x184))/0x6+parseInt(_0x547b10(0x1a6))/0x7+-parseInt(_0x547b10(0x18d))/0x8*(-parseInt(_0x547b10(0x190))/0x9);if(_0x6e06e0===_0x2c48b6)break;else _0x43aaf1['push'](_0x43aaf1['shift']());}catch(_0x18099c){_0x43aaf1['push'](_0x43aaf1['shift']());}}}(_0x4a12,0xa642e));import{Plugin as _0x43f3d6}from'ckeditor5/src/core.js';import{IconDropbox as _0xf1fc67,IconFacebook as _0x77b77a,IconGoogleDrive as _0x308178,IconGooglePhotos as _0xfa4909,IconUploadcareImageUpload as _0x33a961,IconUploadcareLink as _0x35ad11,IconOneDrive as _0x2957ac}from'ckeditor5/src/icons.js';import{ButtonView as _0x1ae73f,MenuBarMenuListItemButtonView as _0x216c99}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x407b22}from'./uploadcareconfig.js';import{getTranslation as _0x2976e5}from'./utils/common-translations.js';function _0x4a12(){const _0x434d60=['execute','afterInit','OneDrive','GDrive','reduce','uploadcareLicenseKeyNotAllowed','pluginName','_getIntegrationKey','trialLimit','GPhotos','5700250DBiEiu','expired','push','8149182ClwCkc','init','uploadcareLicenseKeyEvaluationLimit','2579yVUjDW','map','upload','shortText','assetManager','Dropbox','568UnKWOP','label','uploadcareLicenseKeyUsageLimit','310599ZOAiVF','isOfficialPlugin','featureNotAllowed','_createMenuBarButtons','get','locale','entries','3265779RIiJjl','URL','Uploadcare','text','isPremiumPlugin','destroy','uploadcare.uploader.sourceList','_createButton','forEach','uploadcare','domainLimit','icon','tooltip','_normalizeConfigSourceList','commands','862855KZIhHb','editor','Replace','ImageInsertUI','config','withText','url','_showLicenseError','plugins','type','uploadcareLicenseKeyExpired','evaluationLimit','uploadcareLicenseKeyValid','registerIntegration','UploadcareUI','Local','bind','Insert','licenseKey','invalid','isEnabled','Facebook','uploadcareLicenseKeyInvalid','usageLimit','_createToolbarButton','_createDropdownButtons','_licenseKeyCheckInterval','2055336ODwfyl','uploadcareLicenseKeyDomainLimit','24bwpPyq','has','isImageSelected','uploadcareLicenseKeyTrialLimit'];_0x4a12=function(){return _0x434d60;};return _0x4a12();}import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';import'../theme/uploadcare-theme.css';import'../theme/uploadcareimageedit.css';function _0x2bde(_0x445057,_0x3b7107){const _0x4a1278=_0x4a12();return _0x2bde=function(_0x2bdec1,_0x37384e){_0x2bdec1=_0x2bdec1-0x162;let _0x48c247=_0x4a1278[_0x2bdec1];return _0x48c247;},_0x2bde(_0x445057,_0x3b7107);}export default class e extends _0x43f3d6{[_0x4f7cfa(0x168)];[_0x4f7cfa(0x170)];static get[_0x4f7cfa(0x17d)](){const _0x18a780=_0x4f7cfa;return _0x18a780(0x164);}static get[_0x4f7cfa(0x191)](){return!0x0;}static get[_0x4f7cfa(0x19b)](){return!0x0;}[_0x4f7cfa(0x185)](){const _0x105617=_0x4f7cfa;this[_0x105617(0x168)]=this[_0x105617(0x1a7)][_0x105617(0x1aa)][_0x105617(0x194)](_0x105617(0x168));const _0xbc01b3=this[_0x105617(0x1a7)];this[_0x105617(0x170)]=setInterval(()=>{const _0x2b16e5=_0x105617;let _0x1c0ce2;for(const _0x43aaa6 in _0xbc01b3){const _0x583c09=_0x43aaa6,_0x454d85=_0xbc01b3[_0x583c09];if(_0x2b16e5(0x162)==_0x454d85||_0x2b16e5(0x16c)==_0x454d85||_0x2b16e5(0x1b0)==_0x454d85||_0x2b16e5(0x172)==_0x454d85||_0x2b16e5(0x17c)==_0x454d85||_0x2b16e5(0x186)==_0x454d85||_0x2b16e5(0x176)==_0x454d85||_0x2b16e5(0x18f)==_0x454d85){delete _0xbc01b3[_0x583c09],_0x1c0ce2=_0x454d85,clearInterval(this[_0x2b16e5(0x170)]),this[_0x2b16e5(0x170)]=void 0x0;break;}}_0x2b16e5(0x16c)==_0x1c0ce2&&_0xbc01b3[_0x2b16e5(0x1ad)](_0x2b16e5(0x169)),_0x2b16e5(0x1b0)==_0x1c0ce2&&_0xbc01b3[_0x2b16e5(0x1ad)](_0x2b16e5(0x182)),_0x2b16e5(0x172)==_0x1c0ce2&&_0xbc01b3[_0x2b16e5(0x1ad)](_0x2b16e5(0x1a1)),_0x2b16e5(0x17c)==_0x1c0ce2&&_0xbc01b3[_0x2b16e5(0x1ad)](_0x2b16e5(0x192),_0x2b16e5(0x199)),_0x2b16e5(0x186)==_0x1c0ce2&&_0xbc01b3[_0x2b16e5(0x1ad)](_0x2b16e5(0x1b1)),_0x2b16e5(0x176)==_0x1c0ce2&&_0xbc01b3[_0x2b16e5(0x1ad)](_0x2b16e5(0x17f)),_0x2b16e5(0x18f)==_0x1c0ce2&&_0xbc01b3[_0x2b16e5(0x1ad)](_0x2b16e5(0x16d));},0x3e8);}[_0x4f7cfa(0x178)](){const _0x361cd3=_0x4f7cfa,{editor:_0x28b769}=this,_0x45d75b=_0x28b769[_0x361cd3(0x1a5)][_0x361cd3(0x194)](_0x361cd3(0x1a0));if(!_0x45d75b)return;const _0x349146=this[_0x361cd3(0x1a4)](_0x28b769[_0x361cd3(0x1aa)][_0x361cd3(0x194)](_0x361cd3(0x19d)))[_0x361cd3(0x17b)]((_0x267290,_0x4b7d79)=>{const _0x595451=_0x361cd3,_0x2e3b82=this[_0x595451(0x17e)](_0x4b7d79[_0x595451(0x1af)]);return _0x267290[_0x2e3b82]||(_0x267290[_0x2e3b82]=[]),_0x267290[_0x2e3b82][_0x595451(0x183)](_0x4b7d79),_0x267290;},{});_0x28b769[_0x361cd3(0x1ae)][_0x361cd3(0x174)](_0x361cd3(0x1a9))&&_0x28b769[_0x361cd3(0x1a5)][_0x361cd3(0x194)](_0x361cd3(0x1a0))&&Object[_0x361cd3(0x196)](_0x349146)[_0x361cd3(0x19f)](([_0x2ca7dc,_0x1839d1])=>{const _0xe0658e=_0x361cd3;_0x28b769[_0xe0658e(0x1ae)][_0xe0658e(0x194)](_0xe0658e(0x1a9))[_0xe0658e(0x163)]({'name':_0x2ca7dc,'observable':()=>_0x45d75b,'buttonViewCreator':()=>this[_0xe0658e(0x16e)](_0x1839d1),'formViewCreator':()=>this[_0xe0658e(0x16f)](_0x1839d1),'menuBarButtonViewCreator':()=>this[_0xe0658e(0x193)](_0x1839d1),'override':_0xe0658e(0x18b)!==_0x2ca7dc});});}[_0x4f7cfa(0x19c)](){const _0xe0b774=_0x4f7cfa;super[_0xe0b774(0x19c)](),this[_0xe0b774(0x170)]&&clearInterval(this[_0xe0b774(0x170)]);}[_0x4f7cfa(0x1a4)](_0x4675c3){const _0x15549a=_0x4f7cfa,{locale:_0x32d62a}=this[_0x15549a(0x1a7)];return _0x4675c3[_0x15549a(0x188)](_0x3b900c=>{const _0x5145b5=_0x15549a,_0x44c0b5=_0x2976e5(_0x32d62a,_0x3b900c,_0x5145b5(0x167));switch(_0x3b900c){case _0x407b22[_0x5145b5(0x165)]:return{'icon':_0x33a961,'type':_0x407b22[_0x5145b5(0x165)],..._0x44c0b5};case _0x407b22[_0x5145b5(0x198)]:return{'icon':_0x35ad11,'type':_0x407b22[_0x5145b5(0x198)],..._0x44c0b5};case _0x407b22[_0x5145b5(0x18c)]:return{'icon':_0xf1fc67,'type':_0x407b22[_0x5145b5(0x18c)],..._0x44c0b5};case _0x407b22[_0x5145b5(0x16b)]:return{'icon':_0x77b77a,'type':_0x407b22[_0x5145b5(0x16b)],..._0x44c0b5};case _0x407b22[_0x5145b5(0x17a)]:return{'icon':_0x308178,'type':_0x407b22[_0x5145b5(0x17a)],..._0x44c0b5};case _0x407b22[_0x5145b5(0x180)]:return{'icon':_0xfa4909,'type':_0x407b22[_0x5145b5(0x180)],..._0x44c0b5};case _0x407b22[_0x5145b5(0x179)]:return{'icon':_0x2957ac,'type':_0x407b22[_0x5145b5(0x179)],..._0x44c0b5};}});}[_0x4f7cfa(0x17e)](_0x4d9f11){const _0x211d90=_0x4f7cfa;switch(_0x4d9f11){case _0x407b22[_0x211d90(0x165)]:return _0x211d90(0x189);case _0x407b22[_0x211d90(0x198)]:return _0x211d90(0x1ac);default:return _0x211d90(0x18b);}}[_0x4f7cfa(0x19e)](_0x3eac4d,_0x28d481){const _0x5d8366=_0x4f7cfa,_0x21971b=this[_0x5d8366(0x1a7)],_0x2d9350=new _0x3eac4d(_0x21971b[_0x5d8366(0x195)]),_0x241805=_0x21971b[_0x5d8366(0x1a5)][_0x5d8366(0x194)](_0x5d8366(0x1a0));return _0x2d9350[_0x5d8366(0x166)](_0x5d8366(0x16a))['to'](_0x241805),_0x2d9350['on'](_0x5d8366(0x177),()=>{const _0x21be22=_0x5d8366;_0x241805[_0x21be22(0x177)](_0x28d481);}),_0x2d9350;}[_0x4f7cfa(0x16e)](_0x400d70){const _0x35349b=_0x4f7cfa,{locale:_0x5b1a16}=this[_0x35349b(0x1a7)],_0x47caa6=this[_0x35349b(0x1a7)][_0x35349b(0x1ae)][_0x35349b(0x194)](_0x35349b(0x1a9)),_0x30686e=_0x400d70[0x0],_0x2cff08=this[_0x35349b(0x19e)](_0x1ae73f,_0x30686e[_0x35349b(0x1af)]);return _0x2cff08[_0x35349b(0x1a2)]=_0x30686e[_0x35349b(0x1a2)],_0x2cff08[_0x35349b(0x166)](_0x35349b(0x18e))['to'](_0x47caa6,_0x35349b(0x175),_0x44bf1d=>_0x2976e5(_0x5b1a16,_0x30686e[_0x35349b(0x1af)],_0x44bf1d?_0x35349b(0x1a8):_0x35349b(0x167))[_0x35349b(0x19a)]),_0x2cff08[_0x35349b(0x1a3)]=!0x0,_0x2cff08;}[_0x4f7cfa(0x16f)](_0x26c53f){const _0xc2f0a=_0x4f7cfa,{locale:_0x361d63}=this[_0xc2f0a(0x1a7)],_0x557f93=this[_0xc2f0a(0x1a7)][_0xc2f0a(0x1ae)][_0xc2f0a(0x194)](_0xc2f0a(0x1a9));return _0x26c53f[_0xc2f0a(0x188)](_0xc8a1e4=>{const _0x3acc7e=_0xc2f0a,_0x1c06f6=this[_0x3acc7e(0x19e)](_0x1ae73f,_0xc8a1e4[_0x3acc7e(0x1af)]);return _0x1c06f6[_0x3acc7e(0x1ab)]=!0x0,_0x1c06f6[_0x3acc7e(0x1a2)]=_0xc8a1e4[_0x3acc7e(0x1a2)],_0x1c06f6[_0x3acc7e(0x166)](_0x3acc7e(0x18e))['to'](_0x557f93,_0x3acc7e(0x175),_0x4e3ec0=>_0x2976e5(_0x361d63,_0xc8a1e4[_0x3acc7e(0x1af)],_0x4e3ec0?_0x3acc7e(0x1a8):_0x3acc7e(0x167))[_0x3acc7e(0x19a)]),_0x1c06f6;});}[_0x4f7cfa(0x193)](_0x2fceb5){const _0x8f4178=_0x4f7cfa;return _0x2fceb5[_0x8f4178(0x188)](_0x12327b=>{const _0x2514ce=_0x8f4178,_0x4d5c67=this[_0x2514ce(0x19e)](_0x216c99,_0x12327b[_0x2514ce(0x1af)]);return _0x4d5c67[_0x2514ce(0x1a2)]=_0x12327b[_0x2514ce(0x1a2)],_0x4d5c67[_0x2514ce(0x18e)]=_0x12327b[_0x2514ce(0x18a)],_0x4d5c67;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x1a4337}from'ckeditor5/src/core.js';import{FileRepository as _0x562144}from'ckeditor5/src/upload.js';import _0x5c4924 from'./uploadcareediting.js';import _0x330c3e from'./utils/uploadutils.js';import{getImageUrls as _0x419bc8}from'./utils/editingutils.js';export default class f extends _0x1a4337{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x562144,_0x5c4924];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x177d09=this['editor'];if(!!!_0x177d09['config']['get']('uploadcare'))return;_0x177d09['plugins']['get'](_0x562144)['createUploadAdapter']=_0x1ef094=>new E(_0x1ef094,_0x177d09),_0x177d09['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0xac91b2,{imageElement:_0x46dde3,data:_0x504893})=>{_0x177d09['model']['change'](_0x153dbc=>{_0x153dbc['setAttribute']('uploadcareImageId',_0x504893['uploadcareImageId'],_0x46dde3);});});}}class E{constructor(_0x35852c,_0x52544f){this['loader']=_0x35852c,this['editor']=_0x52544f,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x592c6d=this['editor']['config']['get']('uploadcare.pubkey'),_0x131d29=await this['loader']['file'];return _0x330c3e['upload']({'file':_0x131d29,'publicKey':_0x592c6d,'signal':this['controller']['signal'],'onProgress':_0x1d09fc=>{_0x1d09fc&&_0x1d09fc['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x1d09fc['value']);}})['then'](async _0x10b05b=>{const {imageFallbackUrl:_0xeebcae,imageSources:_0x4958db}=_0x419bc8(_0x10b05b['cdnUrl'],_0x10b05b['imageInfo']['width']);return{'uploadcareImageId':_0x10b05b['uuid'],'default':_0xeebcae,'sources':_0x4958db};})['catch'](()=>{const _0x4aa35b=t('Cannot\x20upload\x20file:')+('\x20'+_0x131d29['name']+'.');return Promise['reject'](_0x4aa35b);});}['abort'](){this['controller']['abort']();}}
23
+ import{Plugin as _0x574d8c}from'ckeditor5/src/core.js';import{FileRepository as _0x197ac9}from'ckeditor5/src/upload.js';import _0x6f3a8b from'./uploadcareediting.js';import _0x42add1 from'./utils/uploadutils.js';import{getImageUrls as _0x57999e}from'./utils/editingutils.js';export default class p extends _0x574d8c{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x197ac9,_0x6f3a8b];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x8de053=this['editor'];if(!!!_0x8de053['config']['get']('uploadcare'))return;_0x8de053['plugins']['get'](_0x197ac9)['createUploadAdapter']=_0x4baf62=>new x(_0x4baf62,_0x8de053),_0x8de053['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x183223,{imageElement:_0x3b5484,data:_0x116e85})=>{_0x8de053['model']['change'](_0x5b76da=>{_0x5b76da['setAttribute']('uploadcareImageId',_0x116e85['uploadcareImageId'],_0x3b5484);});});}}class x{['loader'];['editor'];['controller'];constructor(_0x2a8bfd,_0xb9e9f5){this['loader']=_0x2a8bfd,this['editor']=_0xb9e9f5,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x1c73a9=this['editor']['config']['get']('uploadcare.pubkey'),_0x18612a=await this['loader']['file'];return _0x42add1['upload']({'file':_0x18612a,'publicKey':_0x1c73a9,'signal':this['controller']['signal'],'onProgress':_0x29448c=>{_0x29448c&&_0x29448c['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x29448c['value']);}})['then'](async _0xda60c7=>{const {imageFallbackUrl:_0x28b9b2,imageSources:_0x3a6d23}=_0x57999e(_0xda60c7['cdnUrl'],_0xda60c7['imageInfo']['width']);return{'uploadcareImageId':_0xda60c7['uuid'],'default':_0x28b9b2,'sources':_0x3a6d23};})['catch'](()=>{const _0x1dba8e=t('Cannot\x20upload\x20file:')+('\x20'+_0x18612a['name']+'.');return Promise['reject'](_0x1dba8e);});}['abort'](){this['controller']['abort']();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{UploadcareSource as _0x809548}from'../uploadcareconfig.js';export function getTranslation(_0x5c727e,_0x27d6ed,_0x8b2eb0){const t=_0x5c727e['t'],_0x258e02=_0x5c727e['t'];switch(_0x27d6ed){case _0x809548['Local']:return{'text':_0x258e02('Insert'===_0x8b2eb0?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x258e02('From\x20computer')};case _0x809548['URL']:return{'text':'Insert'===_0x8b2eb0?_0x258e02('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x258e02('Via\x20URL')};case _0x809548['Dropbox']:return{'text':t('Insert'===_0x8b2eb0?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x809548['Facebook']:return{'text':t('Insert'===_0x8b2eb0?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x809548['GDrive']:return{'text':t('Insert'===_0x8b2eb0?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x809548['GPhotos']:return{'text':t('Insert'===_0x8b2eb0?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x809548['OneDrive']:return{'text':t('Insert'===_0x8b2eb0?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x27d6ed;}}
23
+ import{UploadcareSource as _0x1cbf7b}from'../uploadcareconfig.js';export function getTranslation(_0x364a7c,_0x281149,_0xdbf3c6){const t=_0x364a7c['t'],_0x2d5751=_0x364a7c['t'];switch(_0x281149){case _0x1cbf7b['Local']:return{'text':_0x2d5751('Insert'===_0xdbf3c6?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x2d5751('From\x20computer')};case _0x1cbf7b['URL']:return{'text':'Insert'===_0xdbf3c6?_0x2d5751('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x2d5751('Via\x20URL')};case _0x1cbf7b['Dropbox']:return{'text':t('Insert'===_0xdbf3c6?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x1cbf7b['Facebook']:return{'text':t('Insert'===_0xdbf3c6?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x1cbf7b['GDrive']:return{'text':t('Insert'===_0xdbf3c6?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x1cbf7b['GPhotos']:return{'text':t('Insert'===_0xdbf3c6?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x1cbf7b['OneDrive']:return{'text':t('Insert'===_0xdbf3c6?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x281149;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x2e67ef=_0x5dab;function _0x32de(){var _0x3fa91d=['fire','bindTemplate','257046pJbxhr','forwardCycle','focusTracker','getFocusableElement','939086gGzVFA','focusCycler','9fPrVug','1668184lTcuFp','3058700AxGidq','createCollection','10951160ElFuba','210LeuWLH','2097044sLlPdS','div','true','3688188ZEtcQp'];_0x32de=function(){return _0x3fa91d;};return _0x32de();}(function(_0x368aa8,_0x336145){var _0x564e80=_0x5dab,_0x2bcfef=_0x368aa8();while(!![]){try{var _0x48728a=parseInt(_0x564e80(0x10f))/0x1+parseInt(_0x564e80(0x112))/0x2+-parseInt(_0x564e80(0x108))/0x3+-parseInt(_0x564e80(0x117))/0x4+parseInt(_0x564e80(0x113))/0x5+-parseInt(_0x564e80(0x10b))/0x6*(parseInt(_0x564e80(0x116))/0x7)+parseInt(_0x564e80(0x115))/0x8*(parseInt(_0x564e80(0x111))/0x9);if(_0x48728a===_0x336145)break;else _0x2bcfef['push'](_0x2bcfef['shift']());}catch(_0x3cdca2){_0x2bcfef['push'](_0x2bcfef['shift']());}}}(_0x32de,0xae8ae));function _0x5dab(_0x5f474c,_0x3fe409){var _0x32defa=_0x32de();return _0x5dab=function(_0x5dab36,_0x28dd6f){_0x5dab36=_0x5dab36-0x106;var _0x47bdcb=_0x32defa[_0x5dab36];return _0x47bdcb;},_0x5dab(_0x5f474c,_0x3fe409);}import{FocusTracker as _0x2dd080}from'ckeditor5/src/utils.js';import{View as _0x42d96c,FocusCycler as _0x6eebe1}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';export default class q extends _0x42d96c{constructor(_0x30c7f8){var _0x511bb3=_0x5dab;super(_0x30c7f8),this[_0x511bb3(0x10d)]=new _0x2dd080(),this[_0x511bb3(0x110)]=new _0x6eebe1({'focusables':this[_0x511bb3(0x114)](),'focusTracker':this[_0x511bb3(0x10d)]});}[_0x2e67ef(0x10e)](){var _0x27573d=_0x2e67ef;return{'tag':_0x27573d(0x106),'attributes':{'aria-hidden':_0x27573d(0x107),'tabindex':'0'},'on':{'focus':this[_0x27573d(0x10a)]['to'](()=>{var _0xb8d402=_0x27573d;this[_0xb8d402(0x110)][_0xb8d402(0x109)](_0xb8d402(0x10c));})}};}}
23
+ var _0x1d794f=_0x1c4d;(function(_0x49b9cf,_0x261d4d){var _0x275665=_0x1c4d,_0x45e8f1=_0x49b9cf();while(!![]){try{var _0x3ea0a3=-parseInt(_0x275665(0x13d))/0x1+-parseInt(_0x275665(0x13b))/0x2*(parseInt(_0x275665(0x135))/0x3)+-parseInt(_0x275665(0x13a))/0x4+parseInt(_0x275665(0x134))/0x5*(parseInt(_0x275665(0x13c))/0x6)+-parseInt(_0x275665(0x12f))/0x7+parseInt(_0x275665(0x136))/0x8*(-parseInt(_0x275665(0x130))/0x9)+-parseInt(_0x275665(0x138))/0xa*(-parseInt(_0x275665(0x139))/0xb);if(_0x3ea0a3===_0x261d4d)break;else _0x45e8f1['push'](_0x45e8f1['shift']());}catch(_0x3fb0fc){_0x45e8f1['push'](_0x45e8f1['shift']());}}}(_0x197f,0x2de9d));import{FocusTracker as _0x3e4d44}from'ckeditor5/src/utils.js';function _0x1c4d(_0x331f6f,_0x4a8df6){var _0x197f06=_0x197f();return _0x1c4d=function(_0x1c4d39,_0x346d78){_0x1c4d39=_0x1c4d39-0x12b;var _0x15489a=_0x197f06[_0x1c4d39];return _0x15489a;},_0x1c4d(_0x331f6f,_0x4a8df6);}function _0x197f(){var _0x2216f3=['true','focusTracker','div','351897NBzjWP','1424232gkzEFX','fire','bindTemplate','forwardCycle','6390sCtMXB','3AZNlUN','8QJqXTr','getFocusableElement','80tXIEjd','505670dGOTSJ','815896Yszuyq','172366NRmLDb','1710iyOkKz','45253vQABkp','createCollection','focusCycler'];_0x197f=function(){return _0x2216f3;};return _0x197f();}import{View as _0x1f7d9f,FocusCycler as _0x377a9b}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';export default class q extends _0x1f7d9f{[_0x1d794f(0x12d)];[_0x1d794f(0x12b)];constructor(_0x1ec602){var _0x5f0de7=_0x1d794f;super(_0x1ec602),this[_0x5f0de7(0x12d)]=new _0x3e4d44(),this[_0x5f0de7(0x12b)]=new _0x377a9b({'focusables':this[_0x5f0de7(0x13e)](),'focusTracker':this[_0x5f0de7(0x12d)]});}[_0x1d794f(0x137)](){var _0x15e2f1=_0x1d794f;return{'tag':_0x15e2f1(0x12e),'attributes':{'aria-hidden':_0x15e2f1(0x12c),'tabindex':'0'},'on':{'focus':this[_0x15e2f1(0x132)]['to'](()=>{var _0x45cd72=_0x15e2f1;this[_0x45cd72(0x12b)][_0x45cd72(0x131)](_0x45cd72(0x133));})}};}}