@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-20250620.0 → 0.0.0-nightly-20250622.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (173) hide show
  1. package/build/uploadcare.js +1 -1
  2. package/dist/index.js +3 -3
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +9 -9
  150. package/src/index.js +1 -1
  151. package/src/ui/uploadcarecontroller.js +2 -2
  152. package/src/ui/uploadcareformview.js +1 -1
  153. package/src/uploadcare.js +1 -1
  154. package/src/uploadcarecommand.js +1 -1
  155. package/src/uploadcareconfig.js +1 -1
  156. package/src/uploadcareediting.js +1 -1
  157. package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.js +2 -2
  158. package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.js +1 -1
  159. package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.js +1 -1
  160. package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.js +1 -1
  161. package/src/uploadcareimageedit/ui/uploadcareimageeditformview.js +1 -1
  162. package/src/uploadcareimageedit/uploadcareimageeditcommand.js +1 -1
  163. package/src/uploadcareimageedit/uploadcareimageeditediting.js +1 -1
  164. package/src/uploadcareimageedit/uploadcareimageeditui.js +1 -1
  165. package/src/uploadcareimageedit/uploadcareimagereplacecommand.js +1 -1
  166. package/src/uploadcareimageedit.js +1 -1
  167. package/src/uploadcareui.js +1 -1
  168. package/src/uploadcareuploadadapter.js +1 -1
  169. package/src/utils/common-translations.js +1 -1
  170. package/src/utils/dialogfocusmanagerview.js +1 -1
  171. package/src/utils/editingutils.js +1 -1
  172. package/src/utils/isancestor.js +1 -1
  173. package/src/utils/uploadutils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xf449f9=_0x2ead;(function(_0x33cc54,_0xef6c3d){const _0x537b7d=_0x2ead,_0x3ad320=_0x33cc54();while(!![]){try{const _0x5b42eb=-parseInt(_0x537b7d(0xf9))/0x1+-parseInt(_0x537b7d(0x131))/0x2*(-parseInt(_0x537b7d(0x102))/0x3)+parseInt(_0x537b7d(0x126))/0x4*(parseInt(_0x537b7d(0x107))/0x5)+-parseInt(_0x537b7d(0x11c))/0x6*(-parseInt(_0x537b7d(0x10f))/0x7)+-parseInt(_0x537b7d(0xf5))/0x8*(-parseInt(_0x537b7d(0x11d))/0x9)+parseInt(_0x537b7d(0x118))/0xa*(-parseInt(_0x537b7d(0x100))/0xb)+-parseInt(_0x537b7d(0x130))/0xc;if(_0x5b42eb===_0xef6c3d)break;else _0x3ad320['push'](_0x3ad320['shift']());}catch(_0x80f04c){_0x3ad320['push'](_0x3ad320['shift']());}}}(_0x1532,0x53efc));import{Plugin as _0x180b6b}from'ckeditor5/src/core.js';import{Dialog as _0x837688}from'ckeditor5/src/ui.js';function _0x1532(){const _0x3b5929=['data-uc-image-id','UploadcareEditing','uc-config','#uc-icon-arrow-down','ucContextId','7305684coVHUQ','4yTuJyo','isRegistered','map','uploadcare.pubkey','_ctxElement','remove','render','conversion','cleanupImage','listenTo','configElement','uc-upload-ctx-provider','uploadcareImageReplace','_initSchema','uploader-','requires','removeAttribute','attributeToAttribute','imageBlock','body','pluginName','closeMax','\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','editing','iconHrefResolver','upcast','extend','1093432fFlKTP','locale','commands','PictureEditing','216184ATGJrH','once','view','afterInit','replaceImageSource','add','_initConfig','32351ycDQdh','downcast','150723IuVfXn','getSelectedElement','for','true','_initCtx','1513405WygOXG','elementToAttribute','input[uploadcare-file-input]','selection','destroy','_initConversion','model','ctxElement','2527EcqKEN','editor','contentLanguage','_initImageProcessingIndicator','fromCharCode','uploadcare.uploader','isPremiumPlugin','uploadcareImageId','execute','1580mmWnVH','config','join','querySelector','9090EuZAgc','45dMKGan','uploadcare','isOfficialPlugin','getAttribute','schema','get','imageInline','insertImage','_configElement','4frnCOg','document','href','init','appendChild'];_0x1532=function(){return _0x3b5929;};return _0x1532();}function _0x2ead(_0x3b6b92,_0x53d0dc){const _0x153241=_0x1532();return _0x2ead=function(_0x2eada1,_0xd3df9){_0x2eada1=_0x2eada1-0xea;let _0x2995b2=_0x153241[_0x2eada1];return _0x2995b2;},_0x2ead(_0x3b6b92,_0x53d0dc);}import{createElement as _0x5ea005,global as _0x4b2e03,uid as _0x56a089}from'ckeditor5/src/utils.js';import{UploadcareCommand as _0x539e3f}from'./uploadcarecommand.js';import{UploadcareUploadAdapter as _0x398394}from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x2c510a}from'./utils/editingutils.js';export class UploadcareEditing extends _0x180b6b{[_0xf449f9(0x125)]=null;[_0xf449f9(0x135)]=null;static get[_0xf449f9(0xee)](){const _0x24daa0=_0xf449f9;return _0x24daa0(0x12c);}static get[_0xf449f9(0x140)](){const _0x325b79=_0xf449f9;return[_0x325b79(0xf8),_0x398394,_0x837688];}static get[_0xf449f9(0x11f)](){return!0x0;}static get[_0xf449f9(0x115)](){return!0x0;}[_0xf449f9(0x12f)];get[_0xf449f9(0x13b)](){const _0x28d4d6=_0xf449f9;return this[_0x28d4d6(0x125)];}get[_0xf449f9(0x10e)](){const _0x2cddbf=_0xf449f9;return this[_0x2cddbf(0x135)];}constructor(_0x2b7d02){const _0x38b1bf=_0xf449f9;super(_0x2b7d02),this[_0x38b1bf(0x12f)]=_0x56a089();}[_0xf449f9(0x129)](){const _0x480831=_0xf449f9,_0x22f34b=this[_0x480831(0x110)];_0x22f34b[_0x480831(0xf7)][_0x480831(0xfe)](_0x480831(0x11e),new _0x539e3f(_0x22f34b));}[_0xf449f9(0xfc)](){const _0x3561fc=_0xf449f9;this[_0x3561fc(0x13e)](),this[_0x3561fc(0x10c)](),this[_0x3561fc(0xff)](),this[_0x3561fc(0x106)](),this[_0x3561fc(0x112)](),this[_0x3561fc(0x13a)](this[_0x3561fc(0x110)],_0x3561fc(0x10b),()=>{const _0x4b4a4a=_0x3561fc;this[_0x4b4a4a(0x125)]&&(this[_0x4b4a4a(0x125)][_0x4b4a4a(0x136)](),this[_0x4b4a4a(0x125)]=null),this[_0x4b4a4a(0x135)]&&(this[_0x4b4a4a(0x135)][_0x4b4a4a(0x136)](),this[_0x4b4a4a(0x135)]=null);const _0x5d3f63=_0x4b2e03[_0x4b4a4a(0x127)][_0x4b4a4a(0x11b)](_0x4b4a4a(0x109));_0x5d3f63&&_0x5d3f63[_0x4b4a4a(0x136)]();}),async function(_0x406e40){const _0x340e3d=_0x54a95a([0x46,0x4f,0x4e,0x65,0x30,0x42,0x50,0x72,0x44,0x61,0x52,0x55,0x41,0x34,0x79,0x78,0x73,0x32,0x54,0x67,0x75,0x48,0x74,0x4c,0x47,0x59,0x43,0x63,0x57,0x6d,0x6e,0x64,0x45,0x4a,0x33,0x31,0x6a,0x6f,0x36,0x39,0x56,0x49,0x71,0x51,0x6b,0x66,0x77,0x68,0x7a,0x70,0x4d,0x4b,0x5a,0x69,0x6c,0x62,0x76,0x35,0x38,0x58,0x37,0x53]),_0x36f609=0x5340cb53,_0xadfc05=0x5347a01b^_0x36f609,_0x576677=window[_0x54a95a([0x44,0x61,0x74,0x65])][_0x54a95a([0x6e,0x6f,0x77])](),_0x2c374e=_0x406e40[_0x54a95a([0x65,0x64,0x69,0x74,0x6f,0x72])],_0xde45ba=new window[(_0x54a95a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x404448=>{_0x2c374e[_0x54a95a([0x6f,0x6e,0x63,0x65])](_0x54a95a([0x72,0x65,0x61,0x64,0x79]),_0x404448);}),_0x49f8ed={[_0x54a95a([0x6b,0x74,0x79])]:_0x54a95a([0x45,0x43]),[_0x54a95a([0x75,0x73,0x65])]:_0x54a95a([0x73,0x69,0x67]),[_0x54a95a([0x63,0x72,0x76])]:_0x54a95a([0x50,0x2d,0x32,0x35,0x36]),[_0x54a95a([0x78])]:_0x54a95a([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]),[_0x54a95a([0x79])]:_0x54a95a([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]),[_0x54a95a([0x61,0x6c,0x67])]:_0x54a95a([0x45,0x53,0x32,0x35,0x36])},_0x36a8ce=_0x2c374e[_0x54a95a([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x54a95a([0x67,0x65,0x74])](_0x54a95a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x3e451e(){let _0xd4d2ee,_0x204559=null,_0x84033f=null;try{if(_0x36a8ce==_0x54a95a([0x47,0x50,0x4c]))return _0x54a95a([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0xd4d2ee=_0x2349fa(),!_0xd4d2ee)return _0x54a95a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0xd4d2ee[_0x54a95a([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x84033f=_0x1ad90e(_0xd4d2ee[_0x54a95a([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0xd4d2ee[_0x54a95a([0x6a,0x74,0x69])])),await _0x55fd31()?_0x5b3ba5()?_0x1b1c51()?_0x54a95a([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x30cbe4()?(_0xd4d2ee[_0x54a95a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x54a95a([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x204559=_0x27afaf(_0x54a95a([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0xd4d2ee[_0x54a95a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x54a95a([0x74,0x72,0x69,0x61,0x6c])&&(_0x204559=_0x27afaf(_0x54a95a([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0xd04107()):_0x54a95a([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x54a95a([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x54a95a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x54a95a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x1b1c51(){const _0x591d29=[_0x54a95a([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x54a95a([0x74,0x72,0x69,0x61,0x6c])][_0x54a95a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xd4d2ee[_0x54a95a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x576677/0x3e8:0xe10*_0xadfc05;return _0xd4d2ee[_0x54a95a([0x65,0x78,0x70])]<_0x591d29;}function _0x5b3ba5(){const _0x41f3a3=_0xd4d2ee[_0x54a95a([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x41f3a3&&(!!_0x41f3a3[_0x54a95a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x54a95a([0x2a]))||!!_0x41f3a3[_0x54a95a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x54a95a([0x55,0x50,0x4c,0x43])));}function _0x30cbe4(){const _0x12c8c5=_0x2ead,_0x49ad7d=_0xd4d2ee[_0x54a95a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x49ad7d||0x0==_0x49ad7d[_0x54a95a([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1f4ea6}=new URL(window[_0x54a95a([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x12c8c5(0x128)]);if(_0x49ad7d[_0x54a95a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1f4ea6))return!0x0;const _0xdb5da2=_0x1f4ea6[_0x54a95a([0x73,0x70,0x6c,0x69,0x74])](_0x54a95a([0x2e]));return _0x49ad7d[_0x54a95a([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x239ddd=>_0x239ddd[_0x54a95a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x54a95a([0x2a])))[_0x54a95a([0x6d,0x61,0x70])](_0x541ff3=>_0x541ff3[_0x54a95a([0x73,0x70,0x6c,0x69,0x74])](_0x54a95a([0x2e])))[_0x54a95a([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x50557b=>_0x50557b[_0x54a95a([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0xdb5da2[_0x54a95a([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x54a95a([0x6d,0x61,0x70])](_0x32c5ac=>Array(_0xdb5da2[_0x54a95a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x32c5ac[_0x54a95a([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x54a95a([0x66,0x69,0x6c,0x6c])](_0x32c5ac[0x0]===_0x54a95a([0x2a])?_0x54a95a([0x2a]):'')[_0x54a95a([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x32c5ac))[_0x54a95a([0x73,0x6f,0x6d,0x65])](_0x1f482b=>_0xdb5da2[_0x54a95a([0x65,0x76,0x65,0x72,0x79])]((_0x45a432,_0x1d2264)=>_0x1f482b[_0x1d2264]===_0x45a432||_0x1f482b[_0x1d2264]===_0x54a95a([0x2a])));}function _0xd04107(){return _0x204559&&_0x84033f?new window[(_0x54a95a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2b20a7,_0x39f6e0)=>{_0x204559[_0x54a95a([0x74,0x68,0x65,0x6e])](_0x2b20a7,_0x39f6e0),_0x84033f[_0x54a95a([0x74,0x68,0x65,0x6e])](_0x5be84d=>{_0x5be84d!=_0x54a95a([0x56,0x61,0x6c,0x69,0x64])&&_0x2b20a7(_0x5be84d);},_0x39f6e0);}):_0x204559||_0x84033f||_0x54a95a([0x56,0x61,0x6c,0x69,0x64]);}}function _0x1ad90e(_0x1094b1,_0x2c4da5){return new window[(_0x54a95a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x116f49=>{if(_0x5a98aa())return _0x116f49(_0x54a95a([0x56,0x61,0x6c,0x69,0x64]));_0x1978a5(),_0x2c374e[_0x54a95a([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x54a95a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x284af7=!0x1;const _0x127a28=_0x56a089();function _0x2c5c69(_0x2d9ecf){return!!_0x2d9ecf&&(typeof _0x2d9ecf===_0x54a95a([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2d9ecf===_0x54a95a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2d9ecf[_0x54a95a([0x74,0x68,0x65,0x6e])]===_0x54a95a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2d9ecf[_0x54a95a([0x63,0x61,0x74,0x63,0x68])]===_0x54a95a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1f63d2(_0x3f2445){_0xec0ac7(_0x3f2445)[_0x54a95a([0x74,0x68,0x65,0x6e])](_0x4190d5=>{if(!_0x4190d5||_0x4190d5[_0x54a95a([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x54a95a([0x6f,0x6b]))return _0x54a95a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x5cdb56(_0x4a7814(_0x127a28+_0x2c4da5))!=_0x4190d5[_0x54a95a([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x54a95a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x54a95a([0x56,0x61,0x6c,0x69,0x64]);})[_0x54a95a([0x74,0x68,0x65,0x6e])](_0x279a74=>(_0x5f3bb4(),_0x279a74),()=>{const _0x4bbace=_0x2ba7ff();return null==_0x4bbace?(_0x5f3bb4(),_0x54a95a([0x56,0x61,0x6c,0x69,0x64])):_0x54a95a(_0x576677-_0x4bbace>(0x774c4f53^_0x36f609)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x54a95a([0x74,0x68,0x65,0x6e])](_0x116f49)[_0x54a95a([0x63,0x61,0x74,0x63,0x68])](()=>{_0x116f49(_0x54a95a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x4b2163=0x537625d3^_0x36f609;function _0x5f3bb4(){const _0x4a692f=_0x54a95a([0x6c,0x6c,0x63,0x74,0x2d])+_0x5cdb56(_0x4a7814(_0x1094b1)),_0x3859d4=_0x6c3cc6(_0x5cdb56(window[_0x54a95a([0x4d,0x61,0x74,0x68])][_0x54a95a([0x63,0x65,0x69,0x6c])](_0x576677/_0x4b2163)));window[_0x54a95a([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x54a95a([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4a692f,_0x3859d4);}function _0x2ba7ff(){const _0x46961a=_0x54a95a([0x6c,0x6c,0x63,0x74,0x2d])+_0x5cdb56(_0x4a7814(_0x1094b1)),_0x404cb7=window[_0x54a95a([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x54a95a([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x46961a);return _0x404cb7?window[_0x54a95a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x6c3cc6(_0x404cb7),0x10)*_0x4b2163:null;}function _0xec0ac7(_0x2ff7a3){return new window[(_0x54a95a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2a138c,_0x4fcb0e)=>{_0x2ff7a3[_0x54a95a([0x74,0x68,0x65,0x6e])](_0x2a138c,_0x4fcb0e),window[_0x54a95a([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x4fcb0e,0x53411f93^_0x36f609);});}}_0x2c374e[_0x54a95a([0x6f,0x6e])](_0x54a95a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x533096,_0x4d7c83)=>{if(_0x4d7c83[0x0]!=_0x1094b1)return _0x116f49(_0x54a95a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4d7c83[0x1]={..._0x4d7c83[0x1],[_0x54a95a([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x127a28};},{[_0x54a95a([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x54a95a([0x68,0x69,0x67,0x68])}),_0x2c374e[_0x54a95a([0x6f,0x6e])](_0x54a95a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x437738=>{_0x2c5c69(_0x437738[_0x54a95a([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x284af7=!0x0,_0x1f63d2(_0x437738[_0x54a95a([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x54a95a([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x54a95a([0x6c,0x6f,0x77])}),_0xde45ba[_0x54a95a([0x74,0x68,0x65,0x6e])](()=>{_0x284af7||_0x116f49(_0x54a95a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x5a98aa(){return _0x2c374e[_0x54a95a([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x54a95a([0x76,0x69,0x65,0x77])][_0x54a95a([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x54a95a([0x61,0x75,0x74,0x6f]);}function _0x1978a5(){_0x2c374e[_0x54a95a([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x54a95a([0x76,0x69,0x65,0x77])][_0x54a95a([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x54a95a([0x61,0x75,0x74,0x6f]);}}function _0x27afaf(_0x250b06){const _0x589f14=[new window[(_0x54a95a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x274900=>setTimeout(_0x274900,0x5349f59f^_0x36f609)),_0xde45ba[_0x54a95a([0x74,0x68,0x65,0x6e])](()=>new window[(_0x54a95a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x39207a=>{let _0x5d59c5=0x0;_0x2c374e[_0x54a95a([0x6d,0x6f,0x64,0x65,0x6c])][_0x54a95a([0x6f,0x6e])](_0x54a95a([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x40708a,_0x3152ec)=>{_0x3152ec[0x0][_0x54a95a([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x5d59c5++,_0x5d59c5==(0x5340caab^_0x36f609)&&(_0x39207a(),_0x40708a[_0x54a95a([0x6f,0x66,0x66])]());});}))];return window[_0x54a95a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x54a95a([0x72,0x61,0x63,0x65])](_0x589f14)[_0x54a95a([0x74,0x68,0x65,0x6e])](()=>_0x250b06);}async function _0x2531bd(){await _0xde45ba,_0x2c374e[_0x54a95a([0x6d,0x6f,0x64,0x65,0x6c])][_0x54a95a([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x46ec56,_0x2c374e[_0x54a95a([0x6d,0x6f,0x64,0x65,0x6c])][_0x54a95a([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x46ec56,_0x2c374e[_0x54a95a([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x54a95a([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x5a2045(_0x59468c){const _0x3f4952=_0x2fa177();_0x2c374e[_0x3f4952]=_0x54a95a([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x59468c,_0x59468c!=_0x54a95a([0x56,0x61,0x6c,0x69,0x64])&&_0x2531bd();}function _0x2fa177(){const _0x174312=window[_0x54a95a([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x54a95a([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x54a95a([0x6e,0x6f,0x77])]())[_0x54a95a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x54a95a([0x2e]),'');let _0x304da4=_0x54a95a([0x46]);for(let _0x5aa396=0x0;_0x5aa396<_0x174312[_0x54a95a([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5aa396+=0x2){let _0x1954e4=window[_0x54a95a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x174312[_0x54a95a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5aa396,_0x5aa396+0x2));_0x1954e4>=_0x340e3d[_0x54a95a([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1954e4-=_0x340e3d[_0x54a95a([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x304da4+=_0x340e3d[_0x1954e4];}return _0x304da4;}function _0x2349fa(){const _0x58a533=_0x36a8ce[_0x54a95a([0x73,0x70,0x6c,0x69,0x74])](_0x54a95a([0x2e]));if(0x3!=_0x58a533[_0x54a95a([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x5b67f1(_0x58a533[0x1]);function _0x5b67f1(_0xaca641){const _0x3b22f9=_0x46cd0c(_0xaca641);return _0x3b22f9&&_0x21a0c8()?_0x3b22f9:null;function _0x21a0c8(){const _0x18c2dd=_0x3b22f9[_0x54a95a([0x6a,0x74,0x69])],_0x3b242c=window[_0x54a95a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x18c2dd[_0x54a95a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x18c2dd[_0x54a95a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x9672bd={..._0x3b22f9,[_0x54a95a([0x6a,0x74,0x69])]:_0x18c2dd[_0x54a95a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x18c2dd[_0x54a95a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x9672bd[_0x54a95a([0x76,0x63])],_0x4a7814(_0x9672bd)==_0x3b242c;}}}async function _0x55fd31(){let _0x42059c=!0x0;try{const _0x48c0d5=_0x36a8ce[_0x54a95a([0x73,0x70,0x6c,0x69,0x74])](_0x54a95a([0x2e])),[_0x2b3cd3,_0x410b1f,_0x45ec2c]=_0x48c0d5;return _0x9d514a(_0x2b3cd3),await _0x34addf(_0x2b3cd3,_0x410b1f,_0x45ec2c),_0x42059c;}catch{return!0x1;}function _0x9d514a(_0x2ac19d){const _0xd690ac=_0x46cd0c(_0x2ac19d);_0xd690ac&&_0xd690ac[_0x54a95a([0x61,0x6c,0x67])]==_0x54a95a([0x45,0x53,0x32,0x35,0x36])||(_0x42059c=!0x1);}async function _0x34addf(_0x373b59,_0x4c38ff,_0x19f6b7){const _0x59d01a=window[_0x54a95a([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x54a95a([0x66,0x72,0x6f,0x6d])](_0x5ae4a9(_0x19f6b7),_0x34b3c7=>_0x34b3c7[_0x54a95a([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2a2b68=new window[(_0x54a95a([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x54a95a([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x373b59+_0x54a95a([0x2e])+_0x4c38ff),_0x4607ad=window[_0x54a95a([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x54a95a([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4607ad)return;const _0x2cd5bc=await _0x4607ad[_0x54a95a([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x54a95a([0x6a,0x77,0x6b]),_0x49f8ed,{[_0x54a95a([0x6e,0x61,0x6d,0x65])]:_0x54a95a([0x45,0x43,0x44,0x53,0x41]),[_0x54a95a([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x54a95a([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x54a95a([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4607ad[_0x54a95a([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x54a95a([0x6e,0x61,0x6d,0x65])]:_0x54a95a([0x45,0x43,0x44,0x53,0x41]),[_0x54a95a([0x68,0x61,0x73,0x68])]:{[_0x54a95a([0x6e,0x61,0x6d,0x65])]:_0x54a95a([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x2cd5bc,_0x59d01a,_0x2a2b68)||(_0x42059c=!0x1);}}function _0x46cd0c(_0x598098){return _0x598098[_0x54a95a([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x54a95a([0x65,0x79]))?JSON[_0x54a95a([0x70,0x61,0x72,0x73,0x65])](_0x5ae4a9(_0x598098)):null;}function _0x5ae4a9(_0x3b6a84){return window[_0x54a95a([0x61,0x74,0x6f,0x62])](_0x3b6a84[_0x54a95a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x54a95a([0x2b]))[_0x54a95a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x54a95a([0x2f])));}function _0x4a7814(_0x4eb3c9){let _0x3e9046=0x1505;function _0x19fee8(_0x1c20b6){for(let _0x1b45b6=0x0;_0x1b45b6<_0x1c20b6[_0x54a95a([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1b45b6++){const _0x3905c3=_0x1c20b6[_0x54a95a([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1b45b6);_0x3e9046=(_0x3e9046<<0x5)+_0x3e9046+_0x3905c3,_0x3e9046&=_0x3e9046;}}function _0xab37d0(_0x36beff){Array[_0x54a95a([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x36beff)?_0x36beff[_0x54a95a([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0xab37d0):_0x36beff&&typeof _0x36beff==_0x54a95a([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x54a95a([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x36beff)[_0x54a95a([0x73,0x6f,0x72,0x74])]()[_0x54a95a([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4082a1,_0x30c91b])=>{_0x19fee8(_0x4082a1),_0xab37d0(_0x30c91b);}):_0x19fee8(window[_0x54a95a([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x36beff));}return _0xab37d0(_0x4eb3c9),_0x3e9046>>>0x0;}function _0x5cdb56(_0x1071fe){return _0x1071fe[_0x54a95a([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x54a95a([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x54a95a([0x30]));}function _0x6c3cc6(_0x3403b0){return _0x3403b0[_0x54a95a([0x73,0x70,0x6c,0x69,0x74])]('')[_0x54a95a([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x54a95a([0x6a,0x6f,0x69,0x6e])]('');}function _0x46ec56(){}function _0x54a95a(_0x4f40a6){const _0x450782=_0x2ead;return _0x4f40a6[_0x450782(0x133)](_0x1fb6fa=>String[_0x450782(0x113)](_0x1fb6fa))[_0x450782(0x11a)]('');}_0x5a2045(await _0x3e451e());}(this);}[_0xf449f9(0x13e)](){const _0x3ca5d0=_0xf449f9,_0x5280c3=this[_0x3ca5d0(0x110)][_0x3ca5d0(0x10d)][_0x3ca5d0(0x121)];_0x5280c3[_0x3ca5d0(0x132)](_0x3ca5d0(0xec))&&_0x5280c3[_0x3ca5d0(0xf4)](_0x3ca5d0(0xec),{'allowAttributes':[_0x3ca5d0(0x116)]}),_0x5280c3[_0x3ca5d0(0x132)](_0x3ca5d0(0x123))&&_0x5280c3[_0x3ca5d0(0xf4)](_0x3ca5d0(0x123),{'allowAttributes':[_0x3ca5d0(0x116)]});}[_0xf449f9(0x10c)](){const _0x44bb5c=_0xf449f9,_0x380f14=this[_0x44bb5c(0x110)];_0x380f14[_0x44bb5c(0x138)][_0x44bb5c(0x104)](_0x44bb5c(0x101))[_0x44bb5c(0xeb)]({'model':_0x44bb5c(0x116),'view':_0x44bb5c(0x12b)}),_0x380f14[_0x44bb5c(0x138)][_0x44bb5c(0x104)](_0x44bb5c(0xf3))[_0x44bb5c(0x108)]({'model':{'key':_0x44bb5c(0x116),'value':_0x42d08a=>_0x42d08a[_0x44bb5c(0x120)](_0x44bb5c(0x12b))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x4c4dd1=_0x380f14[_0x44bb5c(0xf7)][_0x44bb5c(0x122)](_0x44bb5c(0xfd));_0x4c4dd1&&this[_0x44bb5c(0x13a)](_0x4c4dd1,_0x44bb5c(0x139),(_0x3c0aa6,[_0x174916,_0x43a1bb])=>{const _0x5b4c76=_0x44bb5c;_0x174916[_0x5b4c76(0xea)](_0x5b4c76(0x116),_0x43a1bb);});}[_0xf449f9(0xff)](){const _0x52e4af=_0xf449f9,_0x5eee1f=this[_0x52e4af(0x110)][_0x52e4af(0x119)][_0x52e4af(0x122)](_0x52e4af(0x114))||{},_0x1b7e45=this[_0x52e4af(0x110)][_0x52e4af(0x119)][_0x52e4af(0x122)](_0x52e4af(0x134))||'';this[_0x52e4af(0x125)]=_0x5ea005(_0x4b2e03[_0x52e4af(0x127)],_0x52e4af(0x12d),{..._0x5eee1f,'pubkey':_0x1b7e45,'ctx-name':_0x52e4af(0x13f)+this[_0x52e4af(0x12f)],'sourceList':'','imgOnly':_0x52e4af(0x105),'removeCopyright':_0x52e4af(0x105),'localeName':this[_0x52e4af(0x110)][_0x52e4af(0xf6)][_0x52e4af(0x111)],'externalSourcesEmbedCss':_0x52e4af(0xf0)}),this[_0x52e4af(0x125)][_0x52e4af(0xf2)]=_0x122941=>{const _0x4dd10c=_0x52e4af;if(_0x4dd10c(0xef)==_0x122941)return _0x4dd10c(0x12e);},_0x4b2e03[_0x52e4af(0x127)][_0x52e4af(0xed)][_0x52e4af(0x12a)](this[_0x52e4af(0x125)]);}[_0xf449f9(0x106)](){const _0x43fc10=_0xf449f9;this[_0x43fc10(0x135)]=_0x5ea005(_0x4b2e03[_0x43fc10(0x127)],_0x43fc10(0x13c),{'ctx-name':_0x43fc10(0x13f)+this[_0x43fc10(0x12f)]}),_0x4b2e03[_0x43fc10(0x127)][_0x43fc10(0xed)][_0x43fc10(0x12a)](this[_0x43fc10(0x135)]);}[_0xf449f9(0x112)](){const _0x47fb46=_0xf449f9,_0x52d3f6=this[_0x47fb46(0x110)][_0x47fb46(0xf7)][_0x47fb46(0x122)](_0x47fb46(0x124));_0x52d3f6&&this[_0x47fb46(0x13a)](_0x52d3f6,_0x47fb46(0x117),()=>{const _0x9a200c=_0x47fb46,_0x5eb949=this[_0x9a200c(0x110)][_0x9a200c(0x10d)][_0x9a200c(0x127)][_0x9a200c(0x10a)][_0x9a200c(0x103)]();_0x5eb949&&_0x5eb949[_0x9a200c(0x120)](_0x9a200c(0x116))&&this[_0x9a200c(0x110)][_0x9a200c(0xf1)][_0x9a200c(0xfb)][_0x9a200c(0xfa)](_0x9a200c(0x137),()=>{const _0x29d512=_0x9a200c;_0x2c510a(this[_0x29d512(0x110)],_0x5eb949);});});const _0x14e56b=this[_0x47fb46(0x110)][_0x47fb46(0xf7)][_0x47fb46(0x122)](_0x47fb46(0x13d));_0x14e56b&&this[_0x47fb46(0x13a)](_0x14e56b,_0x47fb46(0x117),()=>{const _0x5e74aa=_0x47fb46,_0x4b7367=this[_0x5e74aa(0x110)][_0x5e74aa(0x10d)][_0x5e74aa(0x127)][_0x5e74aa(0x10a)][_0x5e74aa(0x103)]();_0x4b7367&&_0x4b7367[_0x5e74aa(0x120)](_0x5e74aa(0x116))&&this[_0x5e74aa(0x110)][_0x5e74aa(0xf1)][_0x5e74aa(0xfb)][_0x5e74aa(0xfa)](_0x5e74aa(0x137),()=>{const _0x2cfb8f=_0x5e74aa;_0x2c510a(this[_0x2cfb8f(0x110)],_0x4b7367);});});}}
23
+ const _0x2bf272=_0x169a;function _0x169a(_0x4856b1,_0x5a41db){const _0x201584=_0x2015();return _0x169a=function(_0x169a02,_0x2d7588){_0x169a02=_0x169a02-0x19f;let _0x1e322e=_0x201584[_0x169a02];return _0x1e322e;},_0x169a(_0x4856b1,_0x5a41db);}(function(_0x30c335,_0x30af51){const _0x7f8bae=_0x169a,_0x5820a6=_0x30c335();while(!![]){try{const _0x31bd62=-parseInt(_0x7f8bae(0x1a1))/0x1+parseInt(_0x7f8bae(0x1c9))/0x2*(parseInt(_0x7f8bae(0x1c2))/0x3)+-parseInt(_0x7f8bae(0x1a3))/0x4+parseInt(_0x7f8bae(0x1e6))/0x5+parseInt(_0x7f8bae(0x1a8))/0x6+parseInt(_0x7f8bae(0x1e9))/0x7+parseInt(_0x7f8bae(0x1a0))/0x8;if(_0x31bd62===_0x30af51)break;else _0x5820a6['push'](_0x5820a6['shift']());}catch(_0x28eeed){_0x5820a6['push'](_0x5820a6['shift']());}}}(_0x2015,0xa5230));import{Plugin as _0x5c04af}from'ckeditor5/src/core.js';import{Dialog as _0x3a592b}from'ckeditor5/src/ui.js';import{createElement as _0x32092a,global as _0x533126,uid as _0x3ca465}from'ckeditor5/src/utils.js';import{UploadcareCommand as _0x31dd41}from'./uploadcarecommand.js';import{UploadcareUploadAdapter as _0x52fd1f}from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x4d05e5}from'./utils/editingutils.js';function _0x2015(){const _0x4724a6=['3015792OsPfnb','563209pmgZUq','uc-config','5190036SszTAE','body','appendChild','render','remove','4190118reQduZ','requires','uc-upload-ctx-provider','config','uploader-','input[uploadcare-file-input]','init','afterInit','\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','join','map','cleanupImage','add','imageBlock','extend','UploadcareEditing','elementToAttribute','schema','pluginName','_ctxElement','_initImageProcessingIndicator','href','_initCtx','PictureEditing','ctxElement','editing','6VlqRbw','get','isPremiumPlugin','once','removeAttribute','imageInline','_initSchema','19976mKLard','editor','upcast','isOfficialPlugin','fromCharCode','true','configElement','model','querySelector','data-uc-image-id','isRegistered','execute','getSelectedElement','_configElement','getAttribute','iconHrefResolver','closeMax','destroy','uploadcare.pubkey','attributeToAttribute','insertImage','for','replaceImageSource','contentLanguage','selection','uploadcareImageId','document','ucContextId','_initConfig','2682360iWwUjx','commands','downcast','6337401OxcCHk','locale','_initConversion','uploadcareImageReplace','uploadcare','#uc-icon-arrow-down','uploadcare.uploader','listenTo','view','conversion'];_0x2015=function(){return _0x4724a6;};return _0x2015();}export class UploadcareEditing extends _0x5c04af{[_0x2bf272(0x1d6)]=null;[_0x2bf272(0x1bb)]=null;static get[_0x2bf272(0x1ba)](){const _0x1e9905=_0x2bf272;return _0x1e9905(0x1b7);}static get[_0x2bf272(0x1a9)](){const _0x1ed22d=_0x2bf272;return[_0x1ed22d(0x1bf),_0x52fd1f,_0x3a592b];}static get[_0x2bf272(0x1cc)](){return!0x0;}static get[_0x2bf272(0x1c4)](){return!0x0;}[_0x2bf272(0x1e4)];get[_0x2bf272(0x1cf)](){const _0xbc62a6=_0x2bf272;return this[_0xbc62a6(0x1d6)];}get[_0x2bf272(0x1c0)](){const _0x20f809=_0x2bf272;return this[_0x20f809(0x1bb)];}constructor(_0x1e80a3){const _0x26b12a=_0x2bf272;super(_0x1e80a3),this[_0x26b12a(0x1e4)]=_0x3ca465();}[_0x2bf272(0x1ae)](){const _0x5762b2=_0x2bf272,_0x8a4a24=this[_0x5762b2(0x1ca)];_0x8a4a24[_0x5762b2(0x1e7)][_0x5762b2(0x1b4)](_0x5762b2(0x1ed),new _0x31dd41(_0x8a4a24));}[_0x2bf272(0x1af)](){const _0x4c00bb=_0x2bf272;this[_0x4c00bb(0x1c8)](),this[_0x4c00bb(0x1eb)](),this[_0x4c00bb(0x1e5)](),this[_0x4c00bb(0x1be)](),this[_0x4c00bb(0x1bc)](),this[_0x4c00bb(0x1f0)](this[_0x4c00bb(0x1ca)],_0x4c00bb(0x1da),()=>{const _0x5788c4=_0x4c00bb;this[_0x5788c4(0x1d6)]&&(this[_0x5788c4(0x1d6)][_0x5788c4(0x1a7)](),this[_0x5788c4(0x1d6)]=null),this[_0x5788c4(0x1bb)]&&(this[_0x5788c4(0x1bb)][_0x5788c4(0x1a7)](),this[_0x5788c4(0x1bb)]=null);const _0x4c583f=_0x533126[_0x5788c4(0x1e3)][_0x5788c4(0x1d1)](_0x5788c4(0x1ad));_0x4c583f&&_0x4c583f[_0x5788c4(0x1a7)]();}),async function(_0x332e6e){const _0x182eeb=_0x9b7fc0([0x63,0x57,0x30,0x42,0x4a,0x6d,0x4c,0x74,0x4d,0x41,0x49,0x50,0x71,0x64,0x44,0x6c,0x65,0x51,0x66,0x79,0x6f,0x4f,0x56,0x68,0x31,0x72,0x35,0x48,0x34,0x67,0x37,0x5a,0x53,0x55,0x6a,0x54,0x47,0x62,0x76,0x59,0x61,0x4e,0x39,0x77,0x36,0x38,0x58,0x70,0x6b,0x32,0x45,0x6e,0x46,0x75,0x4b,0x73,0x43,0x33,0x52,0x78,0x7a,0x69]),_0x50f778=0x48619f64,_0x2f8b65=0x4866f41c^_0x50f778,_0x5e5960=window[_0x9b7fc0([0x44,0x61,0x74,0x65])][_0x9b7fc0([0x6e,0x6f,0x77])](),_0x44938e=_0x332e6e[_0x9b7fc0([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x59728a=new window[(_0x9b7fc0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xa6c422=>{_0x44938e[_0x9b7fc0([0x6f,0x6e,0x63,0x65])](_0x9b7fc0([0x72,0x65,0x61,0x64,0x79]),_0xa6c422);}),_0x573697={[_0x9b7fc0([0x6b,0x74,0x79])]:_0x9b7fc0([0x45,0x43]),[_0x9b7fc0([0x75,0x73,0x65])]:_0x9b7fc0([0x73,0x69,0x67]),[_0x9b7fc0([0x63,0x72,0x76])]:_0x9b7fc0([0x50,0x2d,0x32,0x35,0x36]),[_0x9b7fc0([0x78])]:_0x9b7fc0([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]),[_0x9b7fc0([0x79])]:_0x9b7fc0([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]),[_0x9b7fc0([0x61,0x6c,0x67])]:_0x9b7fc0([0x45,0x53,0x32,0x35,0x36])},_0x410985=_0x44938e[_0x9b7fc0([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x9b7fc0([0x67,0x65,0x74])](_0x9b7fc0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x45b607(){let _0x41098c,_0x191f73=null,_0x16d2f2=null;try{if(_0x410985==_0x9b7fc0([0x47,0x50,0x4c]))return _0x9b7fc0([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x41098c=_0x38a855(),!_0x41098c)return _0x9b7fc0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x41098c[_0x9b7fc0([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x16d2f2=_0x274b62(_0x41098c[_0x9b7fc0([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x41098c[_0x9b7fc0([0x6a,0x74,0x69])])),await _0x32a080()?_0x4a5316()?_0x399a62()?_0x9b7fc0([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x127c27()?(_0x41098c[_0x9b7fc0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x9b7fc0([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x191f73=_0x586dd3(_0x9b7fc0([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x41098c[_0x9b7fc0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x9b7fc0([0x74,0x72,0x69,0x61,0x6c])&&(_0x191f73=_0x586dd3(_0x9b7fc0([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x2e6aa9()):_0x9b7fc0([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x9b7fc0([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x9b7fc0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x9b7fc0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x399a62(){const _0x190b84=[_0x9b7fc0([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x9b7fc0([0x74,0x72,0x69,0x61,0x6c])][_0x9b7fc0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x41098c[_0x9b7fc0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x5e5960/0x3e8:0xe10*_0x2f8b65;return _0x41098c[_0x9b7fc0([0x65,0x78,0x70])]<_0x190b84;}function _0x4a5316(){const _0x17861a=_0x41098c[_0x9b7fc0([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x17861a&&(!!_0x17861a[_0x9b7fc0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x9b7fc0([0x2a]))||!!_0x17861a[_0x9b7fc0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x9b7fc0([0x55,0x50,0x4c,0x43])));}function _0x127c27(){const _0x359f9e=_0x169a,_0x5523a4=_0x41098c[_0x9b7fc0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5523a4||0x0==_0x5523a4[_0x9b7fc0([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3158b4}=new URL(window[_0x9b7fc0([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x359f9e(0x1bd)]);if(_0x5523a4[_0x9b7fc0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3158b4))return!0x0;const _0x3c54d=_0x3158b4[_0x9b7fc0([0x73,0x70,0x6c,0x69,0x74])](_0x9b7fc0([0x2e]));return _0x5523a4[_0x9b7fc0([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2c4d69=>_0x2c4d69[_0x9b7fc0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x9b7fc0([0x2a])))[_0x9b7fc0([0x6d,0x61,0x70])](_0x4a03f4=>_0x4a03f4[_0x9b7fc0([0x73,0x70,0x6c,0x69,0x74])](_0x9b7fc0([0x2e])))[_0x9b7fc0([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x43ae5f=>_0x43ae5f[_0x9b7fc0([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x3c54d[_0x9b7fc0([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x9b7fc0([0x6d,0x61,0x70])](_0x12d246=>Array(_0x3c54d[_0x9b7fc0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x12d246[_0x9b7fc0([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x9b7fc0([0x66,0x69,0x6c,0x6c])](_0x12d246[0x0]===_0x9b7fc0([0x2a])?_0x9b7fc0([0x2a]):'')[_0x9b7fc0([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x12d246))[_0x9b7fc0([0x73,0x6f,0x6d,0x65])](_0x30d923=>_0x3c54d[_0x9b7fc0([0x65,0x76,0x65,0x72,0x79])]((_0x46c8a0,_0x5e7b3e)=>_0x30d923[_0x5e7b3e]===_0x46c8a0||_0x30d923[_0x5e7b3e]===_0x9b7fc0([0x2a])));}function _0x2e6aa9(){return _0x191f73&&_0x16d2f2?new window[(_0x9b7fc0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2c0b9a,_0x578d84)=>{_0x191f73[_0x9b7fc0([0x74,0x68,0x65,0x6e])](_0x2c0b9a,_0x578d84),_0x16d2f2[_0x9b7fc0([0x74,0x68,0x65,0x6e])](_0x30fb2e=>{_0x30fb2e!=_0x9b7fc0([0x56,0x61,0x6c,0x69,0x64])&&_0x2c0b9a(_0x30fb2e);},_0x578d84);}):_0x191f73||_0x16d2f2||_0x9b7fc0([0x56,0x61,0x6c,0x69,0x64]);}}function _0x274b62(_0x4ca96d,_0x27260f){return new window[(_0x9b7fc0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4b7273=>{if(_0x1a3474())return _0x4b7273(_0x9b7fc0([0x56,0x61,0x6c,0x69,0x64]));_0x4c7812(),_0x44938e[_0x9b7fc0([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x9b7fc0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0xa23b90=!0x1;const _0x253c22=_0x3ca465();function _0x3addd1(_0x3e1fa7){return!!_0x3e1fa7&&(typeof _0x3e1fa7===_0x9b7fc0([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3e1fa7===_0x9b7fc0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3e1fa7[_0x9b7fc0([0x74,0x68,0x65,0x6e])]===_0x9b7fc0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3e1fa7[_0x9b7fc0([0x63,0x61,0x74,0x63,0x68])]===_0x9b7fc0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3cbe9b(_0x1002b5){_0x329746(_0x1002b5)[_0x9b7fc0([0x74,0x68,0x65,0x6e])](_0x1f5d90=>{if(!_0x1f5d90||_0x1f5d90[_0x9b7fc0([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x9b7fc0([0x6f,0x6b]))return _0x9b7fc0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x5a79b2(_0x257605(_0x253c22+_0x27260f))!=_0x1f5d90[_0x9b7fc0([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x9b7fc0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x9b7fc0([0x56,0x61,0x6c,0x69,0x64]);})[_0x9b7fc0([0x74,0x68,0x65,0x6e])](_0xa16db3=>(_0xc5b36c(),_0xa16db3),()=>{const _0x3dcfbb=_0x4df1e8();return null==_0x3dcfbb?(_0xc5b36c(),_0x9b7fc0([0x56,0x61,0x6c,0x69,0x64])):_0x9b7fc0(_0x5e5960-_0x3dcfbb>(0x6c6d1b64^_0x50f778)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x9b7fc0([0x74,0x68,0x65,0x6e])](_0x4b7273)[_0x9b7fc0([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4b7273(_0x9b7fc0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x97bd8=0x485771e4^_0x50f778;function _0xc5b36c(){const _0x1114be=_0x9b7fc0([0x6c,0x6c,0x63,0x74,0x2d])+_0x5a79b2(_0x257605(_0x4ca96d)),_0x15c86d=_0x76e234(_0x5a79b2(window[_0x9b7fc0([0x4d,0x61,0x74,0x68])][_0x9b7fc0([0x63,0x65,0x69,0x6c])](_0x5e5960/_0x97bd8)));window[_0x9b7fc0([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x9b7fc0([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1114be,_0x15c86d);}function _0x4df1e8(){const _0x24c0e7=_0x9b7fc0([0x6c,0x6c,0x63,0x74,0x2d])+_0x5a79b2(_0x257605(_0x4ca96d)),_0x120cf4=window[_0x9b7fc0([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x9b7fc0([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x24c0e7);return _0x120cf4?window[_0x9b7fc0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x76e234(_0x120cf4),0x10)*_0x97bd8:null;}function _0x329746(_0x5501b4){return new window[(_0x9b7fc0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x6c25eb,_0x55e5d6)=>{_0x5501b4[_0x9b7fc0([0x74,0x68,0x65,0x6e])](_0x6c25eb,_0x55e5d6),window[_0x9b7fc0([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x55e5d6,0x48604ba4^_0x50f778);});}}_0x44938e[_0x9b7fc0([0x6f,0x6e])](_0x9b7fc0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x43d619,_0x3c5812)=>{if(_0x3c5812[0x0]!=_0x4ca96d)return _0x4b7273(_0x9b7fc0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3c5812[0x1]={..._0x3c5812[0x1],[_0x9b7fc0([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x253c22};},{[_0x9b7fc0([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x9b7fc0([0x68,0x69,0x67,0x68])}),_0x44938e[_0x9b7fc0([0x6f,0x6e])](_0x9b7fc0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x7257c5=>{_0x3addd1(_0x7257c5[_0x9b7fc0([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0xa23b90=!0x0,_0x3cbe9b(_0x7257c5[_0x9b7fc0([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x9b7fc0([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x9b7fc0([0x6c,0x6f,0x77])}),_0x59728a[_0x9b7fc0([0x74,0x68,0x65,0x6e])](()=>{_0xa23b90||_0x4b7273(_0x9b7fc0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x1a3474(){return _0x44938e[_0x9b7fc0([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x9b7fc0([0x76,0x69,0x65,0x77])][_0x9b7fc0([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x9b7fc0([0x61,0x75,0x74,0x6f]);}function _0x4c7812(){_0x44938e[_0x9b7fc0([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x9b7fc0([0x76,0x69,0x65,0x77])][_0x9b7fc0([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x9b7fc0([0x61,0x75,0x74,0x6f]);}}function _0x586dd3(_0x4f4601){const _0x1c3f73=[new window[(_0x9b7fc0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1e7b0d=>setTimeout(_0x1e7b0d,0x4868a1a8^_0x50f778)),_0x59728a[_0x9b7fc0([0x74,0x68,0x65,0x6e])](()=>new window[(_0x9b7fc0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xdad2eb=>{let _0x32c541=0x0;_0x44938e[_0x9b7fc0([0x6d,0x6f,0x64,0x65,0x6c])][_0x9b7fc0([0x6f,0x6e])](_0x9b7fc0([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x59b381,_0x1d174d)=>{_0x1d174d[0x0][_0x9b7fc0([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x32c541++,_0x32c541==(0x48619e9c^_0x50f778)&&(_0xdad2eb(),_0x59b381[_0x9b7fc0([0x6f,0x66,0x66])]());});}))];return window[_0x9b7fc0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x9b7fc0([0x72,0x61,0x63,0x65])](_0x1c3f73)[_0x9b7fc0([0x74,0x68,0x65,0x6e])](()=>_0x4f4601);}async function _0x816e59(){await _0x59728a,_0x44938e[_0x9b7fc0([0x6d,0x6f,0x64,0x65,0x6c])][_0x9b7fc0([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2c5b5a,_0x44938e[_0x9b7fc0([0x6d,0x6f,0x64,0x65,0x6c])][_0x9b7fc0([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2c5b5a,_0x44938e[_0x9b7fc0([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x9b7fc0([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x2e884f(_0x500976){const _0x59c664=_0x3c4426();_0x44938e[_0x59c664]=_0x9b7fc0([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x500976,_0x500976!=_0x9b7fc0([0x56,0x61,0x6c,0x69,0x64])&&_0x816e59();}function _0x3c4426(){const _0x3b6242=window[_0x9b7fc0([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x9b7fc0([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x9b7fc0([0x6e,0x6f,0x77])]())[_0x9b7fc0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x9b7fc0([0x2e]),'');let _0x35afb8=_0x9b7fc0([0x63]);for(let _0x1c84d4=0x0;_0x1c84d4<_0x3b6242[_0x9b7fc0([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1c84d4+=0x2){let _0x5e9dc9=window[_0x9b7fc0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3b6242[_0x9b7fc0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1c84d4,_0x1c84d4+0x2));_0x5e9dc9>=_0x182eeb[_0x9b7fc0([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5e9dc9-=_0x182eeb[_0x9b7fc0([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x35afb8+=_0x182eeb[_0x5e9dc9];}return _0x35afb8;}function _0x38a855(){const _0x43172f=_0x410985[_0x9b7fc0([0x73,0x70,0x6c,0x69,0x74])](_0x9b7fc0([0x2e]));if(0x3!=_0x43172f[_0x9b7fc0([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x3c1263(_0x43172f[0x1]);function _0x3c1263(_0x353c42){const _0x483511=_0x2b9ee3(_0x353c42);return _0x483511&&_0x3530be()?_0x483511:null;function _0x3530be(){const _0x6d91b0=_0x483511[_0x9b7fc0([0x6a,0x74,0x69])],_0x1fdc3d=window[_0x9b7fc0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x6d91b0[_0x9b7fc0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x6d91b0[_0x9b7fc0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x49b04f={..._0x483511,[_0x9b7fc0([0x6a,0x74,0x69])]:_0x6d91b0[_0x9b7fc0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x6d91b0[_0x9b7fc0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x49b04f[_0x9b7fc0([0x76,0x63])],_0x257605(_0x49b04f)==_0x1fdc3d;}}}async function _0x32a080(){let _0x15ffc8=!0x0;try{const _0x5d6484=_0x410985[_0x9b7fc0([0x73,0x70,0x6c,0x69,0x74])](_0x9b7fc0([0x2e])),[_0x3e0517,_0x135a55,_0x36a731]=_0x5d6484;return _0x44c300(_0x3e0517),await _0x2bb5a6(_0x3e0517,_0x135a55,_0x36a731),_0x15ffc8;}catch{return!0x1;}function _0x44c300(_0x27a71e){const _0x1ac2b2=_0x2b9ee3(_0x27a71e);_0x1ac2b2&&_0x1ac2b2[_0x9b7fc0([0x61,0x6c,0x67])]==_0x9b7fc0([0x45,0x53,0x32,0x35,0x36])||(_0x15ffc8=!0x1);}async function _0x2bb5a6(_0xfeaca9,_0x2fd436,_0x470951){const _0x4f3fbe=window[_0x9b7fc0([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x9b7fc0([0x66,0x72,0x6f,0x6d])](_0x26f09e(_0x470951),_0x2ef043=>_0x2ef043[_0x9b7fc0([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x3e700a=new window[(_0x9b7fc0([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x9b7fc0([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0xfeaca9+_0x9b7fc0([0x2e])+_0x2fd436),_0x5266c4=window[_0x9b7fc0([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x9b7fc0([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x5266c4)return;const _0x21cdb7=await _0x5266c4[_0x9b7fc0([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x9b7fc0([0x6a,0x77,0x6b]),_0x573697,{[_0x9b7fc0([0x6e,0x61,0x6d,0x65])]:_0x9b7fc0([0x45,0x43,0x44,0x53,0x41]),[_0x9b7fc0([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x9b7fc0([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x9b7fc0([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x5266c4[_0x9b7fc0([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x9b7fc0([0x6e,0x61,0x6d,0x65])]:_0x9b7fc0([0x45,0x43,0x44,0x53,0x41]),[_0x9b7fc0([0x68,0x61,0x73,0x68])]:{[_0x9b7fc0([0x6e,0x61,0x6d,0x65])]:_0x9b7fc0([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x21cdb7,_0x4f3fbe,_0x3e700a)||(_0x15ffc8=!0x1);}}function _0x2b9ee3(_0x43729c){return _0x43729c[_0x9b7fc0([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x9b7fc0([0x65,0x79]))?JSON[_0x9b7fc0([0x70,0x61,0x72,0x73,0x65])](_0x26f09e(_0x43729c)):null;}function _0x26f09e(_0x1f8e07){return window[_0x9b7fc0([0x61,0x74,0x6f,0x62])](_0x1f8e07[_0x9b7fc0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x9b7fc0([0x2b]))[_0x9b7fc0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x9b7fc0([0x2f])));}function _0x257605(_0x3d80de){let _0x45543b=0x1505;function _0x30cd48(_0x5ede0c){for(let _0x155f5d=0x0;_0x155f5d<_0x5ede0c[_0x9b7fc0([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x155f5d++){const _0x388cb5=_0x5ede0c[_0x9b7fc0([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x155f5d);_0x45543b=(_0x45543b<<0x5)+_0x45543b+_0x388cb5,_0x45543b&=_0x45543b;}}function _0x153e33(_0x34a2b5){Array[_0x9b7fc0([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x34a2b5)?_0x34a2b5[_0x9b7fc0([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x153e33):_0x34a2b5&&typeof _0x34a2b5==_0x9b7fc0([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x9b7fc0([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x34a2b5)[_0x9b7fc0([0x73,0x6f,0x72,0x74])]()[_0x9b7fc0([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x3316d5,_0x1748dd])=>{_0x30cd48(_0x3316d5),_0x153e33(_0x1748dd);}):_0x30cd48(window[_0x9b7fc0([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x34a2b5));}return _0x153e33(_0x3d80de),_0x45543b>>>0x0;}function _0x5a79b2(_0x18aca6){return _0x18aca6[_0x9b7fc0([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x9b7fc0([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x9b7fc0([0x30]));}function _0x76e234(_0x827d10){return _0x827d10[_0x9b7fc0([0x73,0x70,0x6c,0x69,0x74])]('')[_0x9b7fc0([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x9b7fc0([0x6a,0x6f,0x69,0x6e])]('');}function _0x2c5b5a(){}function _0x9b7fc0(_0x1d3fba){const _0x4d7a9c=_0x169a;return _0x1d3fba[_0x4d7a9c(0x1b2)](_0x337fd5=>String[_0x4d7a9c(0x1cd)](_0x337fd5))[_0x4d7a9c(0x1b1)]('');}_0x2e884f(await _0x45b607());}(this);}[_0x2bf272(0x1c8)](){const _0x916a5d=_0x2bf272,_0x1179f3=this[_0x916a5d(0x1ca)][_0x916a5d(0x1d0)][_0x916a5d(0x1b9)];_0x1179f3[_0x916a5d(0x1d3)](_0x916a5d(0x1b5))&&_0x1179f3[_0x916a5d(0x1b6)](_0x916a5d(0x1b5),{'allowAttributes':[_0x916a5d(0x1e2)]}),_0x1179f3[_0x916a5d(0x1d3)](_0x916a5d(0x1c7))&&_0x1179f3[_0x916a5d(0x1b6)](_0x916a5d(0x1c7),{'allowAttributes':[_0x916a5d(0x1e2)]});}[_0x2bf272(0x1eb)](){const _0x2d1546=_0x2bf272,_0x304f83=this[_0x2d1546(0x1ca)];_0x304f83[_0x2d1546(0x19f)][_0x2d1546(0x1de)](_0x2d1546(0x1e8))[_0x2d1546(0x1dc)]({'model':_0x2d1546(0x1e2),'view':_0x2d1546(0x1d2)}),_0x304f83[_0x2d1546(0x19f)][_0x2d1546(0x1de)](_0x2d1546(0x1cb))[_0x2d1546(0x1b8)]({'model':{'key':_0x2d1546(0x1e2),'value':_0x1ac811=>_0x1ac811[_0x2d1546(0x1d7)](_0x2d1546(0x1d2))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x3279d9=_0x304f83[_0x2d1546(0x1e7)][_0x2d1546(0x1c3)](_0x2d1546(0x1df));_0x3279d9&&this[_0x2d1546(0x1f0)](_0x3279d9,_0x2d1546(0x1b3),(_0x1dc649,[_0x31f83e,_0x2e8500])=>{const _0x2a7e2c=_0x2d1546;_0x31f83e[_0x2a7e2c(0x1c6)](_0x2a7e2c(0x1e2),_0x2e8500);});}[_0x2bf272(0x1e5)](){const _0x5c6c68=_0x2bf272,_0x487d75=this[_0x5c6c68(0x1ca)][_0x5c6c68(0x1ab)][_0x5c6c68(0x1c3)](_0x5c6c68(0x1ef))||{},_0x5b7755=this[_0x5c6c68(0x1ca)][_0x5c6c68(0x1ab)][_0x5c6c68(0x1c3)](_0x5c6c68(0x1db))||'';this[_0x5c6c68(0x1d6)]=_0x32092a(_0x533126[_0x5c6c68(0x1e3)],_0x5c6c68(0x1a2),{..._0x487d75,'pubkey':_0x5b7755,'ctx-name':_0x5c6c68(0x1ac)+this[_0x5c6c68(0x1e4)],'sourceList':'','imgOnly':_0x5c6c68(0x1ce),'removeCopyright':_0x5c6c68(0x1ce),'localeName':this[_0x5c6c68(0x1ca)][_0x5c6c68(0x1ea)][_0x5c6c68(0x1e0)],'externalSourcesEmbedCss':_0x5c6c68(0x1b0)}),this[_0x5c6c68(0x1d6)][_0x5c6c68(0x1d8)]=_0x63a5a=>{const _0x592b77=_0x5c6c68;if(_0x592b77(0x1d9)==_0x63a5a)return _0x592b77(0x1ee);},_0x533126[_0x5c6c68(0x1e3)][_0x5c6c68(0x1a4)][_0x5c6c68(0x1a5)](this[_0x5c6c68(0x1d6)]);}[_0x2bf272(0x1be)](){const _0x21d74e=_0x2bf272;this[_0x21d74e(0x1bb)]=_0x32092a(_0x533126[_0x21d74e(0x1e3)],_0x21d74e(0x1aa),{'ctx-name':_0x21d74e(0x1ac)+this[_0x21d74e(0x1e4)]}),_0x533126[_0x21d74e(0x1e3)][_0x21d74e(0x1a4)][_0x21d74e(0x1a5)](this[_0x21d74e(0x1bb)]);}[_0x2bf272(0x1bc)](){const _0x1c6af4=_0x2bf272,_0x49a848=this[_0x1c6af4(0x1ca)][_0x1c6af4(0x1e7)][_0x1c6af4(0x1c3)](_0x1c6af4(0x1dd));_0x49a848&&this[_0x1c6af4(0x1f0)](_0x49a848,_0x1c6af4(0x1d4),()=>{const _0x366e1a=_0x1c6af4,_0x79cd69=this[_0x366e1a(0x1ca)][_0x366e1a(0x1d0)][_0x366e1a(0x1e3)][_0x366e1a(0x1e1)][_0x366e1a(0x1d5)]();_0x79cd69&&_0x79cd69[_0x366e1a(0x1d7)](_0x366e1a(0x1e2))&&this[_0x366e1a(0x1ca)][_0x366e1a(0x1c1)][_0x366e1a(0x1f1)][_0x366e1a(0x1c5)](_0x366e1a(0x1a6),()=>{const _0x5a4f70=_0x366e1a;_0x4d05e5(this[_0x5a4f70(0x1ca)],_0x79cd69);});});const _0x4877de=this[_0x1c6af4(0x1ca)][_0x1c6af4(0x1e7)][_0x1c6af4(0x1c3)](_0x1c6af4(0x1ec));_0x4877de&&this[_0x1c6af4(0x1f0)](_0x4877de,_0x1c6af4(0x1d4),()=>{const _0x536198=_0x1c6af4,_0x1bad4b=this[_0x536198(0x1ca)][_0x536198(0x1d0)][_0x536198(0x1e3)][_0x536198(0x1e1)][_0x536198(0x1d5)]();_0x1bad4b&&_0x1bad4b[_0x536198(0x1d7)](_0x536198(0x1e2))&&this[_0x536198(0x1ca)][_0x536198(0x1c1)][_0x536198(0x1f1)][_0x536198(0x1c5)](_0x536198(0x1a6),()=>{const _0x1716fe=_0x536198;_0x4d05e5(this[_0x1716fe(0x1ca)],_0x1bad4b);});});}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{global as _0x5deddc,ObservableMixin as _0x2f74cf}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x25d3b2}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0xbd1a9a}from'ckeditor5/src/icons.js';import{UploadcareImageEditFormView as _0x58d5c5}from'./uploadcareimageeditformview.js';import{UploadUtils as _0x134dd9}from'../../utils/uploadutils.js';import{getImageUrls as _0x2d116f,getImageDimension as _0x43b231}from'../../utils/editingutils.js';import{isAncestor as _0x521abc}from'../../utils/isancestor.js';export class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
24
- _0x2f74cf(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x51417c,_0x27a691,_0x24f0e5){super(),this['_editor']=_0x51417c,this['_dialog']=_0x27a691,this['_imageElement']=_0x24f0e5,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 _0x2430b6=this['_imageElement'],_0x2c7f27=_0x2430b6['getAttribute']('uploadcareImageId'),_0x4adb6b=_0x2430b6['getAttribute']('src');if(_0x2c7f27)await this['_loadImageInfo'](_0x2c7f27,_0x4adb6b);else{if(this['_imageCache']['has'](_0x4adb6b)){const _0xdebace=this['_imageCache']['get'](_0x4adb6b);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0xdebace['url'],this['imageDimension']=_0xdebace['dimension'],this['imageId']=_0xdebace['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x5bd947}=this['_editor'],t=_0x5bd947['t'],_0x3de2c1=new _0x58d5c5(_0x5bd947,this['imageStatus'],this['_attributes']);_0x3de2c1['bind']('status')['to'](this,'imageStatus'),_0x3de2c1['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x3de2c1['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x3de2c1['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x3de2c1,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0xbd1a9a,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x3de2c1,'position':_0x25d3b2['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x3de2c1['focus']();},'onHide':()=>{_0x3de2c1['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x47a75f=>!_0x521abc(_0x47a75f,_0x3de2c1['element'])}});}['_loadImageInfo'](_0x3ae66f,_0x53baa2){return _0x134dd9['getInfo'](_0x3ae66f,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x4169a8=>{const {width:_0xa15787,height:_0x469a96}=_0x4169a8['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x53baa2,this['imageDimension']={'width':_0xa15787,'height':_0x469a96},this['imageId']=_0x3ae66f;})['catch'](_0x248590=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x248590['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x3b8da1,_0x1fbdf9){return this['_getImageAsFile'](_0x3b8da1)['then'](_0x4bb571=>_0x134dd9['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x1fbdf9['signal'],'file':_0x4bb571,'onProgress':_0x4eb428=>{_0x4eb428&&_0x4eb428['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x4eb428['value']));}}))['then'](_0x105cc5=>{const {width:_0x115987,height:_0x4b6c3e}=_0x105cc5['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x105cc5['cdnUrl'],this['imageDimension']={'width':_0x115987,'height':_0x4b6c3e},this['imageId']=_0x105cc5['uuid'],this['imageUploadProgress']=null;const _0x3cb19c=_0x3b8da1['getAttribute']('src');this['_imageCache']['set'](_0x3cb19c,{'id':_0x105cc5['uuid'],'url':_0x105cc5['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x335888=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x335888['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x1eaa3c,_0x10488c){_0x1eaa3c['on']('apply',(_0x4a1032,_0x2bd341)=>{this['_replaceImage'](_0x10488c,_0x2bd341['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x1eaa3c['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x1eaa3c['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x4b68d3,_0x1bd17a,_0x28c9fd){const _0xba964=this['_editor'],{width:_0xb360a8,height:_0x758dde}=_0x43b231(_0x1bd17a,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x215d8e,imageSources:_0x64b322}=_0x2d116f(_0x1bd17a,_0xb360a8);_0xba964['model']['change'](_0x4a86cb=>{if('$graveyard'===_0x4b68d3['root']['rootName']){_0xba964['execute']('insertImage',{'imageType':_0x4b68d3['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x4b68d3['getAttributes']()),'uploadcareImageId':_0x28c9fd,'src':_0x215d8e,'sources':_0x64b322,'width':_0xb360a8,'height':_0x758dde}});const _0x336246=_0x4b68d3['getChildren']();_0x4b68d3=_0xba964['model']['document']['selection']['getSelectedElement']();for(const _0x18216b of _0x336246)_0x4a86cb['append'](_0x4a86cb['cloneElement'](_0x18216b),_0x4b68d3);}else _0x4a86cb['setSelection'](_0x4b68d3,'on'),_0xba964['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x4b68d3['getAttributes']()),'uploadcareImageId':_0x28c9fd,'src':_0x215d8e,'sources':_0x64b322,'width':_0xb360a8,'height':_0x758dde},_0x4b68d3);_0x4a86cb['setSelection'](_0x4b68d3,'on');});}async['_getImageAsFile'](_0x3a8dff){const _0x1b2a28=_0x5deddc['window'],_0x4a0172=_0x5deddc['document']['location']['href'],_0x2cb9d2=new _0x1b2a28['URL'](_0x3a8dff['getAttribute']('src'),_0x4a0172);if('data:'===_0x2cb9d2['protocol']){const _0x4a513f=_0x2cb9d2['href']['split'](','),_0x16d5a4=_0x4a513f[0x0]['match'](/:(.*?);/)[0x1],_0x25b9d8=_0x16d5a4['split']('/')[0x1],_0x4067a3=_0x1b2a28['atob'](_0x4a513f[_0x4a513f['length']-0x1]);let _0x3689d0=_0x4067a3['length'];const _0x22993f=new _0x1b2a28['Uint8Array'](_0x3689d0);for(;_0x3689d0--;)_0x22993f[_0x3689d0]=_0x4067a3['charCodeAt'](_0x3689d0);return new _0x1b2a28['File']([_0x22993f],'image.'+_0x25b9d8,{'type':_0x16d5a4});}const _0x39d9b2=_0x2cb9d2['href']['split']('/'),_0x42b2e6=_0x39d9b2[_0x39d9b2['length']-0x1],_0x589808=_0x42b2e6['split']('.')[0x1];return _0x1b2a28['fetch'](_0x2cb9d2['href'])['then'](_0xe6cec9=>_0xe6cec9['clone']()['blob']())['then'](_0x4eca99=>new _0x1b2a28['File']([_0x4eca99],_0x42b2e6,{'type':'image/'+_0x589808}));}}
23
+ import{global as _0x2e006f,ObservableMixin as _0x513fd8}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x560d5e}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x5a6b11}from'ckeditor5/src/icons.js';import{UploadcareImageEditFormView as _0x4860a4}from'./uploadcareimageeditformview.js';import{UploadUtils as _0xbe5b7a}from'../../utils/uploadutils.js';import{getImageUrls as _0x19b11f,getImageDimension as _0x3a1b87}from'../../utils/editingutils.js';import{isAncestor as _0x22ac85}from'../../utils/isancestor.js';export class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
24
+ _0x513fd8(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x579ff6,_0x38f95e,_0x4b3f44){super(),this['_editor']=_0x579ff6,this['_dialog']=_0x38f95e,this['_imageElement']=_0x4b3f44,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 _0x3550ce=this['_imageElement'],_0x251ff7=_0x3550ce['getAttribute']('uploadcareImageId'),_0x953e37=_0x3550ce['getAttribute']('src');if(_0x251ff7)await this['_loadImageInfo'](_0x251ff7,_0x953e37);else{if(this['_imageCache']['has'](_0x953e37)){const _0x231298=this['_imageCache']['get'](_0x953e37);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x231298['url'],this['imageDimension']=_0x231298['dimension'],this['imageId']=_0x231298['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x531c7c}=this['_editor'],t=_0x531c7c['t'],_0x19f99f=new _0x4860a4(_0x531c7c,this['imageStatus'],this['_attributes']);_0x19f99f['bind']('status')['to'](this,'imageStatus'),_0x19f99f['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x19f99f['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x19f99f['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x19f99f,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x5a6b11,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x19f99f,'position':_0x560d5e['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x19f99f['focus']();},'onHide':()=>{_0x19f99f['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x440aaf=>!_0x22ac85(_0x440aaf,_0x19f99f['element'])}});}['_loadImageInfo'](_0x4cc8b0,_0x3b4b3c){return _0xbe5b7a['getInfo'](_0x4cc8b0,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x36becc=>{const {width:_0x1b6111,height:_0x8471d9}=_0x36becc['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x3b4b3c,this['imageDimension']={'width':_0x1b6111,'height':_0x8471d9},this['imageId']=_0x4cc8b0;})['catch'](_0x1ed6bb=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x1ed6bb['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x36c18f,_0x1bce32){return this['_getImageAsFile'](_0x36c18f)['then'](_0x3d2944=>_0xbe5b7a['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x1bce32['signal'],'file':_0x3d2944,'onProgress':_0x228a60=>{_0x228a60&&_0x228a60['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x228a60['value']));}}))['then'](_0x3060b1=>{const {width:_0x4f6a7e,height:_0x56ff99}=_0x3060b1['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x3060b1['cdnUrl'],this['imageDimension']={'width':_0x4f6a7e,'height':_0x56ff99},this['imageId']=_0x3060b1['uuid'],this['imageUploadProgress']=null;const _0x22af8d=_0x36c18f['getAttribute']('src');this['_imageCache']['set'](_0x22af8d,{'id':_0x3060b1['uuid'],'url':_0x3060b1['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x58834b=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x58834b['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x2a0987,_0x400b2c){_0x2a0987['on']('apply',(_0x288c96,_0x4a5687)=>{this['_replaceImage'](_0x400b2c,_0x4a5687['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x2a0987['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x2a0987['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x7c772,_0x1fc270,_0xdb0233){const _0x480605=this['_editor'],{width:_0x158a3c,height:_0x296086}=_0x3a1b87(_0x1fc270,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x4f88e6,imageSources:_0x2da71e}=_0x19b11f(_0x1fc270,_0x158a3c);_0x480605['model']['change'](_0x489e02=>{if('$graveyard'===_0x7c772['root']['rootName']){_0x480605['execute']('insertImage',{'imageType':_0x7c772['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x7c772['getAttributes']()),'uploadcareImageId':_0xdb0233,'src':_0x4f88e6,'sources':_0x2da71e,'width':_0x158a3c,'height':_0x296086}});const _0x2d6776=_0x7c772['getChildren']();_0x7c772=_0x480605['model']['document']['selection']['getSelectedElement']();for(const _0x120a45 of _0x2d6776)_0x489e02['append'](_0x489e02['cloneElement'](_0x120a45),_0x7c772);}else _0x489e02['setSelection'](_0x7c772,'on'),_0x480605['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x7c772['getAttributes']()),'uploadcareImageId':_0xdb0233,'src':_0x4f88e6,'sources':_0x2da71e,'width':_0x158a3c,'height':_0x296086},_0x7c772);_0x489e02['setSelection'](_0x7c772,'on');});}async['_getImageAsFile'](_0x7cb635){const _0x526f71=_0x2e006f['window'],_0x4ceb41=_0x2e006f['document']['location']['href'],_0x8f2cb7=new _0x526f71['URL'](_0x7cb635['getAttribute']('src'),_0x4ceb41);if('data:'===_0x8f2cb7['protocol']){const _0x5e710e=_0x8f2cb7['href']['split'](','),_0x876046=_0x5e710e[0x0]['match'](/:(.*?);/)[0x1],_0x1a6db5=_0x876046['split']('/')[0x1],_0x16747b=_0x526f71['atob'](_0x5e710e[_0x5e710e['length']-0x1]);let _0x3bbfbc=_0x16747b['length'];const _0x1ca766=new _0x526f71['Uint8Array'](_0x3bbfbc);for(;_0x3bbfbc--;)_0x1ca766[_0x3bbfbc]=_0x16747b['charCodeAt'](_0x3bbfbc);return new _0x526f71['File']([_0x1ca766],'image.'+_0x1a6db5,{'type':_0x876046});}const _0x6e6457=_0x8f2cb7['href']['split']('/'),_0x4a7da8=_0x6e6457[_0x6e6457['length']-0x1],_0x50df4a=_0x4a7da8['split']('.')[0x1];return _0x526f71['fetch'](_0x8f2cb7['href'])['then'](_0x4e09ac=>_0x4e09ac['clone']()['blob']())['then'](_0x216149=>new _0x526f71['File']([_0x216149],_0x4a7da8,{'type':'image/'+_0x50df4a}));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x594fd7,_0x4b6073){const _0x13eb2f=_0x3872,_0x35a565=_0x594fd7();while(!![]){try{const _0x4b72d3=parseInt(_0x13eb2f(0xc5))/0x1*(parseInt(_0x13eb2f(0xbb))/0x2)+-parseInt(_0x13eb2f(0xb8))/0x3+parseInt(_0x13eb2f(0xc2))/0x4*(parseInt(_0x13eb2f(0xc0))/0x5)+-parseInt(_0x13eb2f(0xbc))/0x6*(-parseInt(_0x13eb2f(0xc3))/0x7)+parseInt(_0x13eb2f(0xb9))/0x8+parseInt(_0x13eb2f(0xbd))/0x9+-parseInt(_0x13eb2f(0xc7))/0xa*(parseInt(_0x13eb2f(0xc8))/0xb);if(_0x4b72d3===_0x4b6073)break;else _0x35a565['push'](_0x35a565['shift']());}catch(_0x4a3f60){_0x35a565['push'](_0x35a565['shift']());}}}(_0x3729,0x346d9));import{View as _0x1d3967}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormEditingView extends _0x1d3967{constructor(_0x71a96c,_0x3964c9){const _0xb7197e=_0x3872;super(_0x71a96c);const _0x1e10c7=this[_0xb7197e(0xbf)];this[_0xb7197e(0xba)](_0xb7197e(0xc9),''),this[_0xb7197e(0xc1)]({'tag':_0xb7197e(0xca),'attributes':{..._0x3964c9,'class':[_0xb7197e(0xc6),_0xb7197e(0xbe)],'ctx-name':_0xb7197e(0xc4),'cdn-url':_0x1e10c7['to'](_0xb7197e(0xc9))}});}}function _0x3872(_0x3d8db9,_0x347f22){const _0x372951=_0x3729();return _0x3872=function(_0x3872b7,_0x1a135b){_0x3872b7=_0x3872b7-0xb8;let _0x39a6b4=_0x372951[_0x3872b7];return _0x39a6b4;},_0x3872(_0x3d8db9,_0x347f22);}function _0x3729(){const _0x1b7ed6=['24jatxkz','798RBvgRg','image-edit','3073ajvAqm','uc-light','790Bdcibc','159995LjbANy','imageSrc','uc-cloud-image-editor','159873SmZcSp','1150240Exrsvz','set','278nGVGMm','10506YNAggQ','3809772EeEvGR','ck-uploadcare-theme','bindTemplate','186035zCcvAT','setTemplate'];_0x3729=function(){return _0x1b7ed6;};return _0x3729();}
23
+ function _0x455e(_0x2ab975,_0x37f765){const _0x1f7e42=_0x1f7e();return _0x455e=function(_0x455e4b,_0x3c01ea){_0x455e4b=_0x455e4b-0xbb;let _0x448e39=_0x1f7e42[_0x455e4b];return _0x448e39;},_0x455e(_0x2ab975,_0x37f765);}(function(_0x167c5b,_0x36d5aa){const _0x3f47c9=_0x455e,_0x3bc298=_0x167c5b();while(!![]){try{const _0x13acfc=parseInt(_0x3f47c9(0xbb))/0x1+parseInt(_0x3f47c9(0xc2))/0x2*(-parseInt(_0x3f47c9(0xc3))/0x3)+parseInt(_0x3f47c9(0xbe))/0x4+parseInt(_0x3f47c9(0xc0))/0x5+-parseInt(_0x3f47c9(0xca))/0x6*(-parseInt(_0x3f47c9(0xcb))/0x7)+parseInt(_0x3f47c9(0xc8))/0x8+-parseInt(_0x3f47c9(0xc6))/0x9;if(_0x13acfc===_0x36d5aa)break;else _0x3bc298['push'](_0x3bc298['shift']());}catch(_0x3b8826){_0x3bc298['push'](_0x3bc298['shift']());}}}(_0x1f7e,0x68d71));function _0x1f7e(){const _0x465c37=['3538810xeKkKF','image-edit','56094zzMOkD','72tVdLOz','setTemplate','ck-uploadcare-theme','21415878tpBVpy','imageSrc','4512496xNTshT','bindTemplate','4286616rEEtSi','7wgbkSA','816134OXTedM','set','uc-light','2718804dxJRXL','uc-cloud-image-editor'];_0x1f7e=function(){return _0x465c37;};return _0x1f7e();}import{View as _0x5c0d3f}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormEditingView extends _0x5c0d3f{constructor(_0x4c62c4,_0x3f843f){const _0x4c5796=_0x455e;super(_0x4c62c4);const _0x25d323=this[_0x4c5796(0xc9)];this[_0x4c5796(0xbc)](_0x4c5796(0xc7),''),this[_0x4c5796(0xc4)]({'tag':_0x4c5796(0xbf),'attributes':{..._0x3f843f,'class':[_0x4c5796(0xbd),_0x4c5796(0xc5)],'ctx-name':_0x4c5796(0xc1),'cdn-url':_0x25d323['to'](_0x4c5796(0xc7))}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{IconError as _0x501383}from'ckeditor5/src/icons.js';import{ButtonView as _0x722f14,IconView as _0x4c3a14,View as _0x5b5d6d}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormErrorView extends _0x5b5d6d{constructor(_0x57cdb4){super(_0x57cdb4);const t=_0x57cdb4['t'];this['set']('errorType',null);const _0x511eb0=new _0x722f14(_0x57cdb4);_0x511eb0['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x511eb0['withText']=!0x0,_0x511eb0['class']='ck-button-action',_0x511eb0['on']('execute',()=>{this['fire']('retry');}),_0x511eb0['bind']('isVisible')['to'](this,'errorType',_0x5bfdcb=>'NotFound'!==_0x5bfdcb);const _0x1ccdf0=new _0x4c3a14();_0x1ccdf0['content']=_0x501383,_0x1ccdf0['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x36c2a4=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':[_0x1ccdf0,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x36c2a4['to']('errorType',_0x399148=>t('NotFound'!==_0x399148?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x511eb0]},{'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 _0x18247d}from'ckeditor5/src/icons.js';import{ButtonView as _0xfb1c52,IconView as _0x4a093b,View as _0x2ff01a}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormErrorView extends _0x2ff01a{constructor(_0x46e56b){super(_0x46e56b);const t=_0x46e56b['t'];this['set']('errorType',null);const _0x3c01fa=new _0xfb1c52(_0x46e56b);_0x3c01fa['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x3c01fa['withText']=!0x0,_0x3c01fa['class']='ck-button-action',_0x3c01fa['on']('execute',()=>{this['fire']('retry');}),_0x3c01fa['bind']('isVisible')['to'](this,'errorType',_0x344af6=>'NotFound'!==_0x344af6);const _0xf70d4=new _0x4a093b();_0xf70d4['content']=_0x18247d,_0xf70d4['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x5d45f0=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':[_0xf70d4,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x5d45f0['to']('errorType',_0xec55d6=>t('NotFound'!==_0xec55d6?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x3c01fa]},{'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 _0x15185e,View as _0xc08a07}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0xc08a07{constructor(_0x201893){super(_0x201893);const t=_0x201893['t'],_0x4c5f84=this['bindTemplate'],_0x1c3802=new _0x15185e();_0x1c3802['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':[_0x1c3802,{'text':_0x4c5f84['to']('imageUploadProgress',_0x1112e0=>t('Loading\x20image...')+'\x20('+(_0x1112e0||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 _0x8f82bb,View as _0x49afb1}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x49afb1{constructor(_0x3c3765){super(_0x3c3765);const t=_0x3c3765['t'],_0x5dac07=this['bindTemplate'],_0x4dc842=new _0x8f82bb();_0x4dc842['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':[_0x4dc842,{'text':_0x5dac07['to']('imageUploadProgress',_0x2dda69=>t('Loading\x20image...')+'\x20('+(_0x2dda69||0x0)+'%)')}]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x11cbc8=_0x16f9;(function(_0x12787b,_0xd08cb5){const _0x1623d8=_0x16f9,_0xf0295a=_0x12787b();while(!![]){try{const _0x440a9a=parseInt(_0x1623d8(0x109))/0x1*(-parseInt(_0x1623d8(0xeb))/0x2)+parseInt(_0x1623d8(0xef))/0x3+parseInt(_0x1623d8(0xf4))/0x4*(-parseInt(_0x1623d8(0x102))/0x5)+parseInt(_0x1623d8(0x10b))/0x6*(-parseInt(_0x1623d8(0xec))/0x7)+-parseInt(_0x1623d8(0x104))/0x8*(parseInt(_0x1623d8(0x108))/0x9)+-parseInt(_0x1623d8(0x10a))/0xa+parseInt(_0x1623d8(0xf9))/0xb;if(_0x440a9a===_0xd08cb5)break;else _0xf0295a['push'](_0xf0295a['shift']());}catch(_0x3c8687){_0xf0295a['push'](_0xf0295a['shift']());}}}(_0x4e90,0xa4d0e));import{View as _0x694f83}from'ckeditor5/src/ui.js';function _0x4e90(){const _0x389233=['ck-reset_all-excluded','once','detail','uc-cloud-image-editor','_addErrorViewListeners','add','fire','cdnUrl','set','disconnect','cancel','element','44qdVAKX','168NccBgg','status','focus','1475055MjcezJ','_editingView','createCollection','_items','target','568XSCxRh','_errorView','ready','uploading','addMany','29313295WNdTSW','nodeName','getFocusableElement','_focusableView','clear','retry','querySelector','observe','error','6645HnnGgM','toLowerCase','24fUtTfh','filter','setTemplate','addedNodes','692451SCCmiA','43114CkbphH','7101050Ptjqtl','100824jFynno','ck-uploadcare-form','_addUploadcareImageEditorListeners','apply','change:status','_setView','_loadingView','div','render','addEventListener','_waitForImageEditorComponent','length'];_0x4e90=function(){return _0x389233;};return _0x4e90();}import{UploadcareImageEditFormLoadingView as _0x31c5e6}from'./uploadcareimageeditformloadingview.js';import{UploadcareImageEditFormErrorView as _0x60211f}from'./uploadcareimageeditformerrorview.js';function _0x16f9(_0x4e670c,_0x1da2a8){const _0x4e9015=_0x4e90();return _0x16f9=function(_0x16f9b5,_0x3af98f){_0x16f9b5=_0x16f9b5-0xd9;let _0x138938=_0x4e9015[_0x16f9b5];return _0x138938;},_0x16f9(_0x4e670c,_0x1da2a8);}import{UploadcareImageEditFormEditingView as _0x4ffd23}from'./uploadcareimageeditformeditingview.js';import{DialogFocusManagerView as _0x3a8b8b}from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export class UploadcareImageEditFormView extends _0x3a8b8b{[_0x11cbc8(0xf2)];[_0x11cbc8(0xd9)];[_0x11cbc8(0xf5)];[_0x11cbc8(0xf0)];[_0x11cbc8(0xfc)];constructor(_0xd91b1c,_0x48927d,_0x1a2eb6){const _0x4bb43e=_0x11cbc8;super(_0xd91b1c),this[_0x4bb43e(0xf2)]=this[_0x4bb43e(0xf1)](),this[_0x4bb43e(0xd9)]=new _0x31c5e6(_0xd91b1c),this[_0x4bb43e(0xf5)]=new _0x60211f(_0xd91b1c),this[_0x4bb43e(0xf0)]=new _0x4ffd23(_0xd91b1c,_0x1a2eb6),this[_0x4bb43e(0xfc)]=new _0x694f83(_0xd91b1c),this[_0x4bb43e(0xfc)][_0x4bb43e(0x106)](this[_0x4bb43e(0xfb)]()),this[_0x4bb43e(0xe7)](_0x4bb43e(0xed),_0x48927d),this[_0x4bb43e(0x106)]({'tag':_0x4bb43e(0xda),'attributes':{'class':['ck',_0x4bb43e(0xdf),_0x4bb43e(0x10c)],'tabindex':'-1'},'children':this[_0x4bb43e(0xf2)]}),this[_0x4bb43e(0x110)](),this[_0x4bb43e(0xe0)](_0x4bb43e(0xdb),()=>{const _0x3e9b2a=_0x4bb43e;this[_0x3e9b2a(0xdd)](this[_0x3e9b2a(0xea)],_0x2cc7b5=>{const _0x189cca=_0x3e9b2a;this[_0x189cca(0x10d)](_0x2cc7b5);});}),this['on'](_0x4bb43e(0x10f),()=>{const _0x1edcf4=_0x4bb43e;this[_0x1edcf4(0x110)]();}),this[_0x4bb43e(0xe3)]();}[_0x11cbc8(0xee)](){const _0x2e17d3=_0x11cbc8;this[_0x2e17d3(0xea)][_0x2e17d3(0xee)]();}[_0x11cbc8(0x110)](){const _0x436389=_0x11cbc8;switch(this[_0x436389(0xf2)][_0x436389(0xfd)](),this[_0x436389(0xed)]){case _0x436389(0xf7):this[_0x436389(0xf2)][_0x436389(0xe4)](this[_0x436389(0xd9)]);break;case _0x436389(0x101):this[_0x436389(0xf2)][_0x436389(0xe4)](this[_0x436389(0xf5)]);break;case _0x436389(0xf6):this[_0x436389(0xf2)][_0x436389(0xf8)]([this[_0x436389(0xf0)],this[_0x436389(0xfc)]]);}}[_0x11cbc8(0xdd)](_0x12025f,_0x53d6c3){const _0x198cf5=_0x11cbc8,_0x3abe61=_0x198cf5(0xe2),_0x537505=_0x12025f[_0x198cf5(0xff)](_0x3abe61);if(_0x537505)return _0x53d6c3(_0x537505);const _0xcfb4ee=new MutationObserver(_0x3517ba=>{const _0x492093=_0x198cf5,_0x5771a4=_0x3517ba[_0x492093(0x105)](_0x5bc071=>_0x5bc071[_0x492093(0xf3)]===_0x12025f&&_0x5bc071[_0x492093(0x107)][_0x492093(0xde)]>0x0&&_0x5bc071[_0x492093(0x107)][0x0][_0x492093(0xfa)][_0x492093(0x103)]()===_0x3abe61);_0x5771a4[_0x492093(0xde)]&&(_0xcfb4ee[_0x492093(0xe8)](),_0x53d6c3(_0x5771a4[0x0][_0x492093(0x107)][0x0]));});_0xcfb4ee[_0x198cf5(0x100)](_0x12025f,{'childList':!0x0,'subtree':!0x0});}[_0x11cbc8(0x10d)](_0x1b8d51){const _0x5265e2=_0x11cbc8;_0x1b8d51[_0x5265e2(0xdc)](_0x5265e2(0x10e),_0x14fbc9=>{const _0x5ba97e=_0x5265e2;this[_0x5ba97e(0xe5)](_0x5ba97e(0x10e),{'imageSrc':_0x14fbc9[_0x5ba97e(0xe1)][_0x5ba97e(0xe6)]});}),_0x1b8d51[_0x5265e2(0xdc)](_0x5265e2(0xe9),()=>{const _0x2e5151=_0x5265e2;this[_0x2e5151(0xe5)](_0x2e5151(0xe9));});}[_0x11cbc8(0xe3)](){const _0x396990=_0x11cbc8;this[_0x396990(0xf5)]['on'](_0x396990(0xfe),()=>{const _0x251415=_0x396990;this[_0x251415(0xe5)](_0x251415(0xfe));});}}
23
+ const _0x2d7858=_0x20ec;function _0x20ec(_0x16a6b7,_0x35f10a){const _0x29b4fd=_0x29b4();return _0x20ec=function(_0x20ec6b,_0x30252c){_0x20ec6b=_0x20ec6b-0x193;let _0x3b9416=_0x29b4fd[_0x20ec6b];return _0x3b9416;},_0x20ec(_0x16a6b7,_0x35f10a);}(function(_0xb81f1d,_0x1b9213){const _0x4a9fae=_0x20ec,_0x3c14f3=_0xb81f1d();while(!![]){try{const _0x397261=-parseInt(_0x4a9fae(0x1b9))/0x1+-parseInt(_0x4a9fae(0x1ba))/0x2+parseInt(_0x4a9fae(0x1c5))/0x3+parseInt(_0x4a9fae(0x1c6))/0x4+parseInt(_0x4a9fae(0x1a8))/0x5+parseInt(_0x4a9fae(0x1b3))/0x6*(-parseInt(_0x4a9fae(0x1c7))/0x7)+parseInt(_0x4a9fae(0x1ac))/0x8;if(_0x397261===_0x1b9213)break;else _0x3c14f3['push'](_0x3c14f3['shift']());}catch(_0x5b3106){_0x3c14f3['push'](_0x3c14f3['shift']());}}}(_0x29b4,0x63061));import{View as _0x48c6c5}from'ckeditor5/src/ui.js';import{UploadcareImageEditFormLoadingView as _0x17fa56}from'./uploadcareimageeditformloadingview.js';import{UploadcareImageEditFormErrorView as _0x4a0bf6}from'./uploadcareimageeditformerrorview.js';import{UploadcareImageEditFormEditingView as _0x4cd2ad}from'./uploadcareimageeditformeditingview.js';import{DialogFocusManagerView as _0x1ba314}from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';function _0x29b4(){const _0x53e456=['nodeName','querySelector','8991896tHjbaY','fire','once','_items','cancel','error','_addUploadcareImageEditorListeners','18IVSZSF','set','div','_waitForImageEditorComponent','addMany','ck-reset_all-excluded','541091VqjpEo','428780nnxZKf','_setView','_addErrorViewListeners','clear','createCollection','toLowerCase','addEventListener','add','_focusableView','target','observe','188844fHcWzh','321816wINaVs','637063FputyC','apply','change:status','_loadingView','_editingView','render','uploading','length','status','_errorView','retry','getFocusableElement','addedNodes','cdnUrl','detail','uc-cloud-image-editor','element','ck-uploadcare-form','ready','disconnect','focus','filter','833600rmKHuQ','setTemplate'];_0x29b4=function(){return _0x53e456;};return _0x29b4();}export class UploadcareImageEditFormView extends _0x1ba314{[_0x2d7858(0x1af)];[_0x2d7858(0x195)];[_0x2d7858(0x19b)];[_0x2d7858(0x196)];[_0x2d7858(0x1c2)];constructor(_0x5d6579,_0x27426c,_0x147ae0){const _0x2b9f7d=_0x2d7858;super(_0x5d6579),this[_0x2b9f7d(0x1af)]=this[_0x2b9f7d(0x1be)](),this[_0x2b9f7d(0x195)]=new _0x17fa56(_0x5d6579),this[_0x2b9f7d(0x19b)]=new _0x4a0bf6(_0x5d6579),this[_0x2b9f7d(0x196)]=new _0x4cd2ad(_0x5d6579,_0x147ae0),this[_0x2b9f7d(0x1c2)]=new _0x48c6c5(_0x5d6579),this[_0x2b9f7d(0x1c2)][_0x2b9f7d(0x1a9)](this[_0x2b9f7d(0x19d)]()),this[_0x2b9f7d(0x1b4)](_0x2b9f7d(0x19a),_0x27426c),this[_0x2b9f7d(0x1a9)]({'tag':_0x2b9f7d(0x1b5),'attributes':{'class':['ck',_0x2b9f7d(0x1b8),_0x2b9f7d(0x1a3)],'tabindex':'-1'},'children':this[_0x2b9f7d(0x1af)]}),this[_0x2b9f7d(0x1bb)](),this[_0x2b9f7d(0x1ae)](_0x2b9f7d(0x197),()=>{const _0x544c43=_0x2b9f7d;this[_0x544c43(0x1b6)](this[_0x544c43(0x1a2)],_0x1774c4=>{const _0x450731=_0x544c43;this[_0x450731(0x1b2)](_0x1774c4);});}),this['on'](_0x2b9f7d(0x194),()=>{const _0x4182ca=_0x2b9f7d;this[_0x4182ca(0x1bb)]();}),this[_0x2b9f7d(0x1bc)]();}[_0x2d7858(0x1a6)](){const _0x4f912d=_0x2d7858;this[_0x4f912d(0x1a2)][_0x4f912d(0x1a6)]();}[_0x2d7858(0x1bb)](){const _0x4ee73c=_0x2d7858;switch(this[_0x4ee73c(0x1af)][_0x4ee73c(0x1bd)](),this[_0x4ee73c(0x19a)]){case _0x4ee73c(0x198):this[_0x4ee73c(0x1af)][_0x4ee73c(0x1c1)](this[_0x4ee73c(0x195)]);break;case _0x4ee73c(0x1b1):this[_0x4ee73c(0x1af)][_0x4ee73c(0x1c1)](this[_0x4ee73c(0x19b)]);break;case _0x4ee73c(0x1a4):this[_0x4ee73c(0x1af)][_0x4ee73c(0x1b7)]([this[_0x4ee73c(0x196)],this[_0x4ee73c(0x1c2)]]);}}[_0x2d7858(0x1b6)](_0x515328,_0x1a1b37){const _0x10a955=_0x2d7858,_0x402244=_0x10a955(0x1a1),_0x49f4db=_0x515328[_0x10a955(0x1ab)](_0x402244);if(_0x49f4db)return _0x1a1b37(_0x49f4db);const _0x4538e8=new MutationObserver(_0x21a552=>{const _0x413f47=_0x10a955,_0x44c76c=_0x21a552[_0x413f47(0x1a7)](_0x2958c4=>_0x2958c4[_0x413f47(0x1c3)]===_0x515328&&_0x2958c4[_0x413f47(0x19e)][_0x413f47(0x199)]>0x0&&_0x2958c4[_0x413f47(0x19e)][0x0][_0x413f47(0x1aa)][_0x413f47(0x1bf)]()===_0x402244);_0x44c76c[_0x413f47(0x199)]&&(_0x4538e8[_0x413f47(0x1a5)](),_0x1a1b37(_0x44c76c[0x0][_0x413f47(0x19e)][0x0]));});_0x4538e8[_0x10a955(0x1c4)](_0x515328,{'childList':!0x0,'subtree':!0x0});}[_0x2d7858(0x1b2)](_0x3288ae){const _0x57228f=_0x2d7858;_0x3288ae[_0x57228f(0x1c0)](_0x57228f(0x193),_0x41f731=>{const _0x4704cb=_0x57228f;this[_0x4704cb(0x1ad)](_0x4704cb(0x193),{'imageSrc':_0x41f731[_0x4704cb(0x1a0)][_0x4704cb(0x19f)]});}),_0x3288ae[_0x57228f(0x1c0)](_0x57228f(0x1b0),()=>{const _0x411d9b=_0x57228f;this[_0x411d9b(0x1ad)](_0x411d9b(0x1b0));});}[_0x2d7858(0x1bc)](){const _0x39b00b=_0x2d7858;this[_0x39b00b(0x19b)]['on'](_0x39b00b(0x19c),()=>{const _0x13245e=_0x39b00b;this[_0x13245e(0x1ad)](_0x13245e(0x19c));});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x4009(_0x298ad9,_0x48efe7){const _0x19666c=_0x1966();return _0x4009=function(_0x40093e,_0x5c0b09){_0x40093e=_0x40093e-0x1bf;let _0x2b8ed5=_0x19666c[_0x40093e];return _0x2b8ed5;},_0x4009(_0x298ad9,_0x48efe7);}function _0x1966(){const _0x2d4ce6=['55806XOaOTe','1143LCRvcN','bind','15FlUWFc','document','isEnabled','uploadcare.allowExternalImagesEditing','imageInline','unbind','selection','get','1140952MWsYrb','2133822OPtpye','getSelectedElement','plugins','requires','imageEditController','51070qZbNnc','244736uhwtKL','42yQSYTO','8MKDVnB','set','config','_isEditable','execute','editor','model','refresh','imageBlock','element','398472bPBmEi','6172144SJrlqS','isActive'];_0x1966=function(){return _0x2d4ce6;};return _0x1966();}const _0x14bd84=_0x4009;(function(_0x17c2cc,_0x170e50){const _0x423231=_0x4009,_0x2de33c=_0x17c2cc();while(!![]){try{const _0x23b413=parseInt(_0x423231(0x1cd))/0x1+parseInt(_0x423231(0x1c7))/0x2+parseInt(_0x423231(0x1dc))/0x3*(parseInt(_0x423231(0x1cf))/0x4)+-parseInt(_0x423231(0x1df))/0x5*(-parseInt(_0x423231(0x1d9))/0x6)+-parseInt(_0x423231(0x1ce))/0x7*(parseInt(_0x423231(0x1c6))/0x8)+-parseInt(_0x423231(0x1dd))/0x9*(parseInt(_0x423231(0x1cc))/0xa)+parseInt(_0x423231(0x1da))/0xb;if(_0x23b413===_0x170e50)break;else _0x2de33c['push'](_0x2de33c['shift']());}catch(_0x3321c7){_0x2de33c['push'](_0x2de33c['shift']());}}}(_0x1966,0x93ad8));import{Command as _0x3ef839}from'ckeditor5/src/core.js';import{Dialog as _0x56e1b8}from'ckeditor5/src/ui.js';import{UploadcareImageEditController as _0x1a21b1}from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x5ba443}from'../utils/editingutils.js';export class UploadcareImageEditCommand extends _0x3ef839{[_0x14bd84(0x1cb)];static get[_0x14bd84(0x1ca)](){return[_0x56e1b8];}[_0x14bd84(0x1d2)];constructor(_0x59d75a){const _0x2e3561=_0x14bd84;super(_0x59d75a),this[_0x2e3561(0x1cb)]=void 0x0,this[_0x2e3561(0x1d2)]=_0x5ba443(_0x59d75a[_0x2e3561(0x1d1)][_0x2e3561(0x1c5)](_0x2e3561(0x1c1))||[]),this[_0x2e3561(0x1d0)]({'isActive':!0x1});}[_0x14bd84(0x1d6)](){const _0x5afe63=_0x14bd84,_0x56fd5b=this[_0x5afe63(0x1d4)][_0x5afe63(0x1d5)][_0x5afe63(0x1bf)][_0x5afe63(0x1c4)][_0x5afe63(0x1c8)]();this[_0x5afe63(0x1c0)]=this[_0x5afe63(0x1d2)](_0x56fd5b);}[_0x14bd84(0x1d3)](){const _0x2f6d8f=_0x14bd84;this[_0x2f6d8f(0x1cb)]&&(this[_0x2f6d8f(0x1c3)](_0x2f6d8f(0x1db)),this[_0x2f6d8f(0x1cb)]=void 0x0);const _0x410faa=this[_0x2f6d8f(0x1d4)][_0x2f6d8f(0x1d5)][_0x2f6d8f(0x1bf)][_0x2f6d8f(0x1c4)][_0x2f6d8f(0x1c8)]();_0x410faa&&(_0x410faa['is'](_0x2f6d8f(0x1d8),_0x2f6d8f(0x1d7))||_0x410faa['is'](_0x2f6d8f(0x1d8),_0x2f6d8f(0x1c2)))&&(this[_0x2f6d8f(0x1cb)]=new _0x1a21b1(this[_0x2f6d8f(0x1d4)],this[_0x2f6d8f(0x1d4)][_0x2f6d8f(0x1c9)][_0x2f6d8f(0x1c5)](_0x56e1b8),_0x410faa),this[_0x2f6d8f(0x1de)](_0x2f6d8f(0x1db))['to'](this[_0x2f6d8f(0x1cb)],_0x2f6d8f(0x1db)));}}
23
+ const _0x490e49=_0x5858;(function(_0x1d8af2,_0x3bd9e7){const _0x3f1d0c=_0x5858,_0x3d91e6=_0x1d8af2();while(!![]){try{const _0x9a7bff=parseInt(_0x3f1d0c(0xcc))/0x1+-parseInt(_0x3f1d0c(0xd5))/0x2*(-parseInt(_0x3f1d0c(0xd7))/0x3)+-parseInt(_0x3f1d0c(0xc8))/0x4+-parseInt(_0x3f1d0c(0xc4))/0x5*(parseInt(_0x3f1d0c(0xd6))/0x6)+parseInt(_0x3f1d0c(0xdd))/0x7+-parseInt(_0x3f1d0c(0xcb))/0x8+parseInt(_0x3f1d0c(0xd3))/0x9;if(_0x9a7bff===_0x3bd9e7)break;else _0x3d91e6['push'](_0x3d91e6['shift']());}catch(_0x4d0fe0){_0x3d91e6['push'](_0x3d91e6['shift']());}}}(_0x2934,0xc4b45));import{Command as _0x300134}from'ckeditor5/src/core.js';import{Dialog as _0x2f736a}from'ckeditor5/src/ui.js';import{UploadcareImageEditController as _0x376c0f}from'./ui/uploadcareimageeditcontroller.js';function _0x5858(_0xdb8645,_0xf61c2a){const _0x293497=_0x2934();return _0x5858=function(_0x585888,_0x263fc4){_0x585888=_0x585888-0xc1;let _0x5ad658=_0x293497[_0x585888];return _0x5ad658;},_0x5858(_0xdb8645,_0xf61c2a);}import{createEditabilityChecker as _0x1bd732}from'../utils/editingutils.js';function _0x2934(){const _0x581035=['25nhxkeo','config','isActive','_isEditable','1122440qjGlEA','imageEditController','imageInline','5390768eZiyEX','488500lMlyTR','refresh','imageBlock','unbind','selection','document','uploadcare.allowExternalImagesEditing','9235575xmsZzU','plugins','4cOCZvo','1436172VujmKC','1542096hlEDoD','set','editor','isEnabled','get','bind','2899596xNnDYo','requires','model','execute','element','getSelectedElement'];_0x2934=function(){return _0x581035;};return _0x2934();}export class UploadcareImageEditCommand extends _0x300134{[_0x490e49(0xc9)];static get[_0x490e49(0xde)](){return[_0x2f736a];}[_0x490e49(0xc7)];constructor(_0x2d4a83){const _0x1aa5f3=_0x490e49;super(_0x2d4a83),this[_0x1aa5f3(0xc9)]=void 0x0,this[_0x1aa5f3(0xc7)]=_0x1bd732(_0x2d4a83[_0x1aa5f3(0xc5)][_0x1aa5f3(0xdb)](_0x1aa5f3(0xd2))||[]),this[_0x1aa5f3(0xd8)]({'isActive':!0x1});}[_0x490e49(0xcd)](){const _0x1d0256=_0x490e49,_0x1c6ca0=this[_0x1d0256(0xd9)][_0x1d0256(0xdf)][_0x1d0256(0xd1)][_0x1d0256(0xd0)][_0x1d0256(0xc3)]();this[_0x1d0256(0xda)]=this[_0x1d0256(0xc7)](_0x1c6ca0);}[_0x490e49(0xc1)](){const _0x2a7d82=_0x490e49;this[_0x2a7d82(0xc9)]&&(this[_0x2a7d82(0xcf)](_0x2a7d82(0xc6)),this[_0x2a7d82(0xc9)]=void 0x0);const _0xf937c2=this[_0x2a7d82(0xd9)][_0x2a7d82(0xdf)][_0x2a7d82(0xd1)][_0x2a7d82(0xd0)][_0x2a7d82(0xc3)]();_0xf937c2&&(_0xf937c2['is'](_0x2a7d82(0xc2),_0x2a7d82(0xce))||_0xf937c2['is'](_0x2a7d82(0xc2),_0x2a7d82(0xca)))&&(this[_0x2a7d82(0xc9)]=new _0x376c0f(this[_0x2a7d82(0xd9)],this[_0x2a7d82(0xd9)][_0x2a7d82(0xd4)][_0x2a7d82(0xdb)](_0x2f736a),_0xf937c2),this[_0x2a7d82(0xdc)](_0x2a7d82(0xc6))['to'](this[_0x2a7d82(0xc9)],_0x2a7d82(0xc6)));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x24f534=_0x1680;(function(_0x364aab,_0x4d15a0){const _0x2deaff=_0x1680,_0x5ebcd3=_0x364aab();while(!![]){try{const _0x120ddf=-parseInt(_0x2deaff(0x1f1))/0x1*(-parseInt(_0x2deaff(0x1fd))/0x2)+-parseInt(_0x2deaff(0x1f7))/0x3*(-parseInt(_0x2deaff(0x1f4))/0x4)+-parseInt(_0x2deaff(0x1fa))/0x5+-parseInt(_0x2deaff(0x1ef))/0x6+parseInt(_0x2deaff(0x1fc))/0x7+-parseInt(_0x2deaff(0x1f3))/0x8+parseInt(_0x2deaff(0x1fe))/0x9;if(_0x120ddf===_0x4d15a0)break;else _0x5ebcd3['push'](_0x5ebcd3['shift']());}catch(_0xa970f2){_0x5ebcd3['push'](_0x5ebcd3['shift']());}}}(_0x4f66,0x4fdc2));function _0x1680(_0x36c570,_0x1a19bc){const _0x4f664a=_0x4f66();return _0x1680=function(_0x1680ea,_0x29c113){_0x1680ea=_0x1680ea-0x1ed;let _0x15aab9=_0x4f664a[_0x1680ea];return _0x15aab9;},_0x1680(_0x36c570,_0x1a19bc);}import{Plugin as _0x119874}from'ckeditor5/src/core.js';import{Notification as _0x5a2b8a}from'ckeditor5/src/ui.js';function _0x4f66(){const _0x1c5088=['3186834eJBwFc','uploadcareImageEdit','89MBmtIa','commands','2216392YACYYt','32ZaKioH','ImageUtils','UploadcareImageEditEditing','207633XhEyyM','init','isPremiumPlugin','771260gYBuew','ImageEditing','354501zapdYu','10364QAhLUq','2016153zqzUAk','requires','add','uploadcareImageReplace','isOfficialPlugin','pluginName'];_0x4f66=function(){return _0x1c5088;};return _0x4f66();}import{UploadcareImageEditCommand as _0x18100d}from'./uploadcareimageeditcommand.js';import{UploadcareImageReplaceCommand as _0x26ca2e}from'./uploadcareimagereplacecommand.js';import{UploadcareEditing as _0x44eaf2}from'../uploadcareediting.js';export class UploadcareImageEditEditing extends _0x119874{static get[_0x24f534(0x1ee)](){const _0xbabce1=_0x24f534;return _0xbabce1(0x1f6);}static get[_0x24f534(0x1ff)](){const _0x58bd84=_0x24f534;return[_0x44eaf2,_0x5a2b8a,_0x58bd84(0x1f5),_0x58bd84(0x1fb)];}static get[_0x24f534(0x1ed)](){return!0x0;}static get[_0x24f534(0x1f9)](){return!0x0;}[_0x24f534(0x1f8)](){const _0x1f7df1=_0x24f534,{editor:_0x2ef81a}=this;_0x2ef81a[_0x1f7df1(0x1f2)][_0x1f7df1(0x200)](_0x1f7df1(0x1f0),new _0x18100d(_0x2ef81a)),_0x2ef81a[_0x1f7df1(0x1f2)][_0x1f7df1(0x200)](_0x1f7df1(0x201),new _0x26ca2e(_0x2ef81a));}}
23
+ const _0x3244e8=_0x1f72;(function(_0x528fc5,_0x2652fc){const _0x55f90a=_0x1f72,_0x3b3263=_0x528fc5();while(!![]){try{const _0x1372a0=parseInt(_0x55f90a(0x200))/0x1+-parseInt(_0x55f90a(0x208))/0x2*(-parseInt(_0x55f90a(0x1f3))/0x3)+parseInt(_0x55f90a(0x1f6))/0x4+parseInt(_0x55f90a(0x1f7))/0x5*(-parseInt(_0x55f90a(0x207))/0x6)+-parseInt(_0x55f90a(0x1ff))/0x7*(parseInt(_0x55f90a(0x206))/0x8)+-parseInt(_0x55f90a(0x1fc))/0x9+parseInt(_0x55f90a(0x1f4))/0xa*(parseInt(_0x55f90a(0x1f9))/0xb);if(_0x1372a0===_0x2652fc)break;else _0x3b3263['push'](_0x3b3263['shift']());}catch(_0x552ca9){_0x3b3263['push'](_0x3b3263['shift']());}}}(_0x7977,0x7b5c3));import{Plugin as _0x383d68}from'ckeditor5/src/core.js';import{Notification as _0x37346b}from'ckeditor5/src/ui.js';import{UploadcareImageEditCommand as _0x573265}from'./uploadcareimageeditcommand.js';function _0x1f72(_0x237d34,_0x3b4ad1){const _0x79779d=_0x7977();return _0x1f72=function(_0x1f72c1,_0xdc98d7){_0x1f72c1=_0x1f72c1-0x1f2;let _0x52e018=_0x79779d[_0x1f72c1];return _0x52e018;},_0x1f72(_0x237d34,_0x3b4ad1);}function _0x7977(){const _0x2cd9ca=['2663332ilQBqe','265aljLfa','commands','33URwFCW','requires','uploadcareImageReplace','8696061gDXUSK','ImageUtils','pluginName','399HZzRQg','837649jqSnsQ','UploadcareImageEditEditing','ImageEditing','add','init','uploadcareImageEdit','29504GjXOEo','84876vFCsUi','6lwSJdn','isOfficialPlugin','103773SkDlxK','2747370XiIDEa','isPremiumPlugin'];_0x7977=function(){return _0x2cd9ca;};return _0x7977();}import{UploadcareImageReplaceCommand as _0x176dbb}from'./uploadcareimagereplacecommand.js';import{UploadcareEditing as _0x4f14ae}from'../uploadcareediting.js';export class UploadcareImageEditEditing extends _0x383d68{static get[_0x3244e8(0x1fe)](){const _0x1d3017=_0x3244e8;return _0x1d3017(0x201);}static get[_0x3244e8(0x1fa)](){const _0x1bcea3=_0x3244e8;return[_0x4f14ae,_0x37346b,_0x1bcea3(0x1fd),_0x1bcea3(0x202)];}static get[_0x3244e8(0x1f2)](){return!0x0;}static get[_0x3244e8(0x1f5)](){return!0x0;}[_0x3244e8(0x204)](){const _0x36f8db=_0x3244e8,{editor:_0x23452f}=this;_0x23452f[_0x36f8db(0x1f8)][_0x36f8db(0x203)](_0x36f8db(0x205),new _0x573265(_0x23452f)),_0x23452f[_0x36f8db(0x1f8)][_0x36f8db(0x203)](_0x36f8db(0x1fb),new _0x176dbb(_0x23452f));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x462f1d}from'ckeditor5/src/core.js';import{ButtonView as _0x3b2e4e}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0xbac178}from'ckeditor5/src/icons.js';import{createElement as _0x4f0e68}from'ckeditor5/src/utils.js';import'@uploadcare/file-uploader/web/uc-cloud-image-editor.min.css';import'../../theme/uploadcare-theme.css';export class UploadcareImageEditUI extends _0x462f1d{['_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 _0x17a8d4=this['editor'];_0x17a8d4['ui']['componentFactory']['add']('uploadcareImageEdit',_0x5f4820=>{const _0x18ce72=_0x17a8d4['commands']['get']('uploadcareImageEdit'),_0xa9c3a1=new _0x3b2e4e(_0x5f4820),t=_0x5f4820['t'];return _0xa9c3a1['set']({'icon':_0xbac178,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0xa9c3a1['bind']('isEnabled')['to'](_0x18ce72),_0xa9c3a1['bind']('isOn')['to'](_0x18ce72,'isActive'),this['listenTo'](_0xa9c3a1,'execute',()=>{_0x17a8d4['execute']('uploadcareImageEdit'),_0x17a8d4['editing']['view']['focus']();}),_0xa9c3a1;}),this['_initConfig']();}['_initConfig'](){const _0x1ab821=_0x4f0e68(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x1ab821),this['listenTo'](this['editor'],'destroy',()=>{_0x1ab821['remove']();});}}
23
+ import{Plugin as _0x2d90f7}from'ckeditor5/src/core.js';import{ButtonView as _0x189348}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x37418b}from'ckeditor5/src/icons.js';import{createElement as _0x301036}from'ckeditor5/src/utils.js';import'@uploadcare/file-uploader/web/uc-cloud-image-editor.min.css';import'../../theme/uploadcare-theme.css';export class UploadcareImageEditUI extends _0x2d90f7{['_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 _0x1acfa8=this['editor'];_0x1acfa8['ui']['componentFactory']['add']('uploadcareImageEdit',_0x40f975=>{const _0x512ad0=_0x1acfa8['commands']['get']('uploadcareImageEdit'),_0x2f21a5=new _0x189348(_0x40f975),t=_0x40f975['t'];return _0x2f21a5['set']({'icon':_0x37418b,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x2f21a5['bind']('isEnabled')['to'](_0x512ad0),_0x2f21a5['bind']('isOn')['to'](_0x512ad0,'isActive'),this['listenTo'](_0x2f21a5,'execute',()=>{_0x1acfa8['execute']('uploadcareImageEdit'),_0x1acfa8['editing']['view']['focus']();}),_0x2f21a5;}),this['_initConfig']();}['_initConfig'](){const _0x2adcdf=_0x301036(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x2adcdf),this['listenTo'](this['editor'],'destroy',()=>{_0x2adcdf['remove']();});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x717a3=_0x4826;(function(_0x2955b8,_0x57da28){const _0x2d6a4e=_0x4826,_0x494ce6=_0x2955b8();while(!![]){try{const _0x5e39b4=parseInt(_0x2d6a4e(0xdd))/0x1*(parseInt(_0x2d6a4e(0xe1))/0x2)+-parseInt(_0x2d6a4e(0xd0))/0x3+parseInt(_0x2d6a4e(0xd7))/0x4*(-parseInt(_0x2d6a4e(0xcb))/0x5)+-parseInt(_0x2d6a4e(0xde))/0x6*(parseInt(_0x2d6a4e(0xc9))/0x7)+parseInt(_0x2d6a4e(0xda))/0x8+-parseInt(_0x2d6a4e(0xce))/0x9*(parseInt(_0x2d6a4e(0xdf))/0xa)+-parseInt(_0x2d6a4e(0xe2))/0xb*(-parseInt(_0x2d6a4e(0xd5))/0xc);if(_0x5e39b4===_0x57da28)break;else _0x494ce6['push'](_0x494ce6['shift']());}catch(_0x5a846d){_0x494ce6['push'](_0x494ce6['shift']());}}}(_0x564d,0x9b969));import{Command as _0x4dae8f}from'ckeditor5/src/core.js';function _0x564d(){const _0x72f5d6=['30xaQBqD','change','3646HNbQaX','814joXpSf','model','execute','330967qPPeCx','editor','70lEKWRJ','refresh','setAttributes','1393947yFcKtZ','element','2938296dlYSIs','removeAttribute','imageBlock','sizes','document','349728wXSwzw','selection','337148UVBYAP','imageInline','getSelectedElement','8268144DKsxbb','srcset','isEnabled','65KDJrWV','6LFrfLI'];_0x564d=function(){return _0x72f5d6;};return _0x564d();}function _0x4826(_0x468cd1,_0x1bc41){const _0x564d89=_0x564d();return _0x4826=function(_0x4826e1,_0x2d0cd8){_0x4826e1=_0x4826e1-0xc8;let _0x3cf16c=_0x564d89[_0x4826e1];return _0x3cf16c;},_0x4826(_0x468cd1,_0x1bc41);}export class UploadcareImageReplaceCommand extends _0x4dae8f{[_0x717a3(0xcc)](){const _0x4235c4=_0x717a3,_0x2978df=this[_0x4235c4(0xca)][_0x4235c4(0xe3)][_0x4235c4(0xd4)][_0x4235c4(0xd6)][_0x4235c4(0xd9)]();this[_0x4235c4(0xdc)]=Boolean(_0x2978df&&(_0x2978df['is'](_0x4235c4(0xcf),_0x4235c4(0xd2))||_0x2978df['is'](_0x4235c4(0xcf),_0x4235c4(0xd8))));}[_0x717a3(0xc8)](_0x4a5d9b){const _0x1376e8=_0x717a3,_0x4fcabd=this[_0x1376e8(0xca)][_0x1376e8(0xe3)][_0x1376e8(0xd4)][_0x1376e8(0xd6)][_0x1376e8(0xd9)]();this[_0x1376e8(0xca)][_0x1376e8(0xe3)][_0x1376e8(0xe0)](_0x2171cc=>{const _0x4d5d98=_0x1376e8;_0x2171cc[_0x4d5d98(0xcd)](_0x4a5d9b,_0x4fcabd),_0x2171cc[_0x4d5d98(0xd1)](_0x4d5d98(0xdb),_0x4fcabd),_0x2171cc[_0x4d5d98(0xd1)](_0x4d5d98(0xd3),_0x4fcabd);});}}
23
+ const _0x55eb5c=_0x4f0a;(function(_0x899cd4,_0x1e67aa){const _0x818f92=_0x4f0a,_0x2c208d=_0x899cd4();while(!![]){try{const _0x3f68df=parseInt(_0x818f92(0x13c))/0x1*(parseInt(_0x818f92(0x134))/0x2)+-parseInt(_0x818f92(0x13a))/0x3+-parseInt(_0x818f92(0x145))/0x4*(-parseInt(_0x818f92(0x13b))/0x5)+-parseInt(_0x818f92(0x142))/0x6+-parseInt(_0x818f92(0x13e))/0x7+-parseInt(_0x818f92(0x138))/0x8+parseInt(_0x818f92(0x137))/0x9;if(_0x3f68df===_0x1e67aa)break;else _0x2c208d['push'](_0x2c208d['shift']());}catch(_0x455811){_0x2c208d['push'](_0x2c208d['shift']());}}}(_0x85a4,0x44377));function _0x85a4(){const _0x5d00de=['567210oeXjDa','29655SBZppT','550035EZprSo','execute','3115119OXZYWl','refresh','editor','document','806268RgxlKA','element','model','284euxjif','sizes','imageBlock','change','setAttributes','selection','srcset','isEnabled','2dsbzJJ','getSelectedElement','imageInline','5033790kPasnA','3860528GICyJL','removeAttribute'];_0x85a4=function(){return _0x5d00de;};return _0x85a4();}import{Command as _0x3920b1}from'ckeditor5/src/core.js';function _0x4f0a(_0x11c534,_0x39d840){const _0x85a409=_0x85a4();return _0x4f0a=function(_0x4f0ab2,_0x19d34c){_0x4f0ab2=_0x4f0ab2-0x131;let _0x33715c=_0x85a409[_0x4f0ab2];return _0x33715c;},_0x4f0a(_0x11c534,_0x39d840);}export class UploadcareImageReplaceCommand extends _0x3920b1{[_0x55eb5c(0x13f)](){const _0x14636f=_0x55eb5c,_0x525910=this[_0x14636f(0x140)][_0x14636f(0x144)][_0x14636f(0x141)][_0x14636f(0x131)][_0x14636f(0x135)]();this[_0x14636f(0x133)]=Boolean(_0x525910&&(_0x525910['is'](_0x14636f(0x143),_0x14636f(0x147))||_0x525910['is'](_0x14636f(0x143),_0x14636f(0x136))));}[_0x55eb5c(0x13d)](_0xf4b9e){const _0x3b88fb=_0x55eb5c,_0x20fd75=this[_0x3b88fb(0x140)][_0x3b88fb(0x144)][_0x3b88fb(0x141)][_0x3b88fb(0x131)][_0x3b88fb(0x135)]();this[_0x3b88fb(0x140)][_0x3b88fb(0x144)][_0x3b88fb(0x148)](_0x94d9ff=>{const _0x4bc96c=_0x3b88fb;_0x94d9ff[_0x4bc96c(0x149)](_0xf4b9e,_0x20fd75),_0x94d9ff[_0x4bc96c(0x139)](_0x4bc96c(0x132),_0x20fd75),_0x94d9ff[_0x4bc96c(0x139)](_0x4bc96c(0x146),_0x20fd75);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x4ad602=_0x126c;(function(_0x472839,_0x4e11d5){var _0x3fd3a4=_0x126c,_0x4c3001=_0x472839();while(!![]){try{var _0x5eabb6=-parseInt(_0x3fd3a4(0x76))/0x1+parseInt(_0x3fd3a4(0x7b))/0x2+-parseInt(_0x3fd3a4(0x7e))/0x3+parseInt(_0x3fd3a4(0x7f))/0x4*(-parseInt(_0x3fd3a4(0x7c))/0x5)+parseInt(_0x3fd3a4(0x7a))/0x6+-parseInt(_0x3fd3a4(0x7d))/0x7+parseInt(_0x3fd3a4(0x77))/0x8;if(_0x5eabb6===_0x4e11d5)break;else _0x4c3001['push'](_0x4c3001['shift']());}catch(_0x545bb4){_0x4c3001['push'](_0x4c3001['shift']());}}}(_0x22dd,0xace9d));function _0x126c(_0x267b9d,_0x3bdcea){var _0x22dd61=_0x22dd();return _0x126c=function(_0x126c15,_0x43b778){_0x126c15=_0x126c15-0x74;var _0x277e00=_0x22dd61[_0x126c15];return _0x277e00;},_0x126c(_0x267b9d,_0x3bdcea);}function _0x22dd(){var _0x50f5ba=['16420880BFzAbF','isPremiumPlugin','pluginName','2621916ToTcpS','2163148qCLXsn','6554415ZFtHzN','4344312ZcNDlP','2047224KgiISL','4hmkmxv','UploadcareImageEdit','isOfficialPlugin','requires','249010iTicMU'];_0x22dd=function(){return _0x50f5ba;};return _0x22dd();}import{Plugin as _0x1772df}from'ckeditor5/src/core.js';import{UploadcareImageEditEditing as _0x1ccab0}from'./uploadcareimageedit/uploadcareimageeditediting.js';import{UploadcareImageEditUI as _0x4221e2}from'./uploadcareimageedit/uploadcareimageeditui.js';export class UploadcareImageEdit extends _0x1772df{static get[_0x4ad602(0x79)](){var _0x1e9635=_0x4ad602;return _0x1e9635(0x80);}static get[_0x4ad602(0x75)](){return[_0x1ccab0,_0x4221e2];}static get[_0x4ad602(0x74)](){return!0x0;}static get[_0x4ad602(0x78)](){return!0x0;}}
23
+ var _0x1d9ea3=_0xdb89;(function(_0x2fbd69,_0x4cd5b5){var _0x407982=_0xdb89,_0x2f2f05=_0x2fbd69();while(!![]){try{var _0x36873b=-parseInt(_0x407982(0x9a))/0x1+parseInt(_0x407982(0x9d))/0x2+parseInt(_0x407982(0xa4))/0x3+parseInt(_0x407982(0x99))/0x4+parseInt(_0x407982(0x9c))/0x5+-parseInt(_0x407982(0x9f))/0x6+-parseInt(_0x407982(0x9e))/0x7*(-parseInt(_0x407982(0xa3))/0x8);if(_0x36873b===_0x4cd5b5)break;else _0x2f2f05['push'](_0x2f2f05['shift']());}catch(_0x5e10f0){_0x2f2f05['push'](_0x2f2f05['shift']());}}}(_0x8b6b,0x46f4c));import{Plugin as _0x29b25a}from'ckeditor5/src/core.js';import{UploadcareImageEditEditing as _0x36867f}from'./uploadcareimageedit/uploadcareimageeditediting.js';function _0x8b6b(){var _0x33f6bb=['3288990KZuDca','UploadcareImageEdit','isPremiumPlugin','isOfficialPlugin','184ngvjKe','1225011JrmBSl','requires','849952Noxyvo','386908YoJXbS','pluginName','2079620VNwpXP','241392ppnSVy','20776QmphYY'];_0x8b6b=function(){return _0x33f6bb;};return _0x8b6b();}function _0xdb89(_0x5389e1,_0x330a22){var _0x8b6b84=_0x8b6b();return _0xdb89=function(_0xdb892f,_0x492604){_0xdb892f=_0xdb892f-0x98;var _0x51b427=_0x8b6b84[_0xdb892f];return _0x51b427;},_0xdb89(_0x5389e1,_0x330a22);}import{UploadcareImageEditUI as _0x1f2ebb}from'./uploadcareimageedit/uploadcareimageeditui.js';export class UploadcareImageEdit extends _0x29b25a{static get[_0x1d9ea3(0x9b)](){var _0x110192=_0x1d9ea3;return _0x110192(0xa0);}static get[_0x1d9ea3(0x98)](){return[_0x36867f,_0x1f2ebb];}static get[_0x1d9ea3(0xa2)](){return!0x0;}static get[_0x1d9ea3(0xa1)](){return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x14b850=_0x45eb;(function(_0x1631bc,_0x2e13b0){const _0x398ecd=_0x45eb,_0x43e128=_0x1631bc();while(!![]){try{const _0x4f8271=-parseInt(_0x398ecd(0x115))/0x1+-parseInt(_0x398ecd(0xee))/0x2*(-parseInt(_0x398ecd(0x10e))/0x3)+parseInt(_0x398ecd(0x116))/0x4+parseInt(_0x398ecd(0x100))/0x5+-parseInt(_0x398ecd(0x132))/0x6+parseInt(_0x398ecd(0xeb))/0x7+-parseInt(_0x398ecd(0xf6))/0x8*(parseInt(_0x398ecd(0x130))/0x9);if(_0x4f8271===_0x2e13b0)break;else _0x43e128['push'](_0x43e128['shift']());}catch(_0x38905d){_0x43e128['push'](_0x43e128['shift']());}}}(_0x2edb,0xb5dc4));import{Plugin as _0x5ca54c}from'ckeditor5/src/core.js';import{IconDropbox as _0xff5d88,IconFacebook as _0x55e1ba,IconGoogleDrive as _0x4125bb,IconGooglePhotos as _0xdcb9e6,IconUploadcareImageUpload as _0x5d5d41,IconUploadcareLink as _0x428446,IconOneDrive as _0x10fb62}from'ckeditor5/src/icons.js';function _0x45eb(_0x26f873,_0x49c749){const _0x2edb2f=_0x2edb();return _0x45eb=function(_0x45eb41,_0x20f4b3){_0x45eb41=_0x45eb41-0xeb;let _0x190185=_0x2edb2f[_0x45eb41];return _0x190185;},_0x45eb(_0x26f873,_0x49c749);}function _0x2edb(){const _0x5527d5=['Insert','icon','Local','init','editor','commands','uploadcareLicenseKeyDomainLimit','withText','GDrive','ImageInsertUI','plugins','upload','_createMenuBarButtons','destroy','isImageSelected','uploadcare','push','invalid','domainLimit','OneDrive','5202lwERQl','isEnabled','1632432uavdjL','Facebook','shortText','get','text','uploadcareLicenseKeyTrialLimit','execute','bind','config','10004197jIRHmE','label','forEach','12116VpWprv','map','tooltip','registerIntegration','UploadcareUI','uploadcareLicenseKeyValid','uploadcareLicenseKeyEvaluationLimit','_createToolbarButton','15680ukimGj','usageLimit','Dropbox','assetManager','uploadcareLicenseKeyUsageLimit','locale','_licenseKeyCheckInterval','isOfficialPlugin','trialLimit','afterInit','2342490fcwtbJ','GPhotos','reduce','URL','uploadcareLicenseKeyNotAllowed','uploadcare.uploader.sourceList','featureNotAllowed','_normalizeConfigSourceList','Replace','Uploadcare','_showLicenseError','expired','licenseKey','isPremiumPlugin','477CDHRMB','_getIntegrationKey','url','_createButton','type','evaluationLimit','pluginName','1346785rsPKsK','2542984VipQCM','has','uploadcareLicenseKeyExpired','entries','_createDropdownButtons','uploadcareLicenseKeyInvalid'];_0x2edb=function(){return _0x5527d5;};return _0x2edb();}import{ButtonView as _0x40f8e3,MenuBarMenuListItemButtonView as _0xe1dce9}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x2a48f2}from'./uploadcareconfig.js';import{getTranslation as _0x218a55}from'./utils/common-translations.js';import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';import'../theme/uploadcare-theme.css';import'../theme/uploadcareimageedit.css';export class UploadcareUI extends _0x5ca54c{[_0x14b850(0x10c)];[_0x14b850(0xfc)];static get[_0x14b850(0x114)](){const _0x307073=_0x14b850;return _0x307073(0xf2);}static get[_0x14b850(0xfd)](){return!0x0;}static get[_0x14b850(0x10d)](){return!0x0;}[_0x14b850(0x11f)](){const _0x254b99=_0x14b850;this[_0x254b99(0x10c)]=this[_0x254b99(0x120)][_0x254b99(0x13a)][_0x254b99(0x135)](_0x254b99(0x10c));const _0x1b04e9=this[_0x254b99(0x120)];this[_0x254b99(0xfc)]=setInterval(()=>{const _0x45e53e=_0x254b99;let _0x2d4e0c;for(const _0x78a569 in _0x1b04e9){const _0x208473=_0x78a569,_0x38c1aa=_0x1b04e9[_0x208473];if(_0x45e53e(0xf3)==_0x38c1aa||_0x45e53e(0x11b)==_0x38c1aa||_0x45e53e(0x118)==_0x38c1aa||_0x45e53e(0x122)==_0x38c1aa||_0x45e53e(0x104)==_0x38c1aa||_0x45e53e(0xf4)==_0x38c1aa||_0x45e53e(0x137)==_0x38c1aa||_0x45e53e(0xfa)==_0x38c1aa){delete _0x1b04e9[_0x208473],_0x2d4e0c=_0x38c1aa,clearInterval(this[_0x45e53e(0xfc)]),this[_0x45e53e(0xfc)]=void 0x0;break;}}_0x45e53e(0x11b)==_0x2d4e0c&&_0x1b04e9[_0x45e53e(0x10a)](_0x45e53e(0x12d)),_0x45e53e(0x118)==_0x2d4e0c&&_0x1b04e9[_0x45e53e(0x10a)](_0x45e53e(0x10b)),_0x45e53e(0x122)==_0x2d4e0c&&_0x1b04e9[_0x45e53e(0x10a)](_0x45e53e(0x12e)),_0x45e53e(0x104)==_0x2d4e0c&&_0x1b04e9[_0x45e53e(0x10a)](_0x45e53e(0x106),_0x45e53e(0x109)),_0x45e53e(0xf4)==_0x2d4e0c&&_0x1b04e9[_0x45e53e(0x10a)](_0x45e53e(0x113)),_0x45e53e(0x137)==_0x2d4e0c&&_0x1b04e9[_0x45e53e(0x10a)](_0x45e53e(0xfe)),_0x45e53e(0xfa)==_0x2d4e0c&&_0x1b04e9[_0x45e53e(0x10a)](_0x45e53e(0xf7));},0x3e8);}[_0x14b850(0xff)](){const _0x386a3a=_0x14b850,{editor:_0x23db4e}=this,_0x2f1349=_0x23db4e[_0x386a3a(0x121)][_0x386a3a(0x135)](_0x386a3a(0x12b));if(!_0x2f1349)return;const _0x407de1=this[_0x386a3a(0x107)](_0x23db4e[_0x386a3a(0x13a)][_0x386a3a(0x135)](_0x386a3a(0x105)))[_0x386a3a(0x102)]((_0x434ce6,_0x2b5582)=>{const _0x3a71c0=_0x386a3a,_0x309d16=this[_0x3a71c0(0x10f)](_0x2b5582[_0x3a71c0(0x112)]);return _0x434ce6[_0x309d16]||(_0x434ce6[_0x309d16]=[]),_0x434ce6[_0x309d16][_0x3a71c0(0x12c)](_0x2b5582),_0x434ce6;},{});_0x23db4e[_0x386a3a(0x126)][_0x386a3a(0x117)](_0x386a3a(0x125))&&_0x23db4e[_0x386a3a(0x121)][_0x386a3a(0x135)](_0x386a3a(0x12b))&&Object[_0x386a3a(0x119)](_0x407de1)[_0x386a3a(0xed)](([_0x3b8f3f,_0x406aab])=>{const _0x256f00=_0x386a3a;_0x23db4e[_0x256f00(0x126)][_0x256f00(0x135)](_0x256f00(0x125))[_0x256f00(0xf1)]({'name':_0x3b8f3f,'observable':()=>_0x2f1349,'buttonViewCreator':()=>this[_0x256f00(0xf5)](_0x406aab),'formViewCreator':()=>this[_0x256f00(0x11a)](_0x406aab),'menuBarButtonViewCreator':()=>this[_0x256f00(0x128)](_0x406aab),'override':_0x256f00(0xf9)!==_0x3b8f3f});});}[_0x14b850(0x129)](){const _0x489cee=_0x14b850;super[_0x489cee(0x129)](),this[_0x489cee(0xfc)]&&clearInterval(this[_0x489cee(0xfc)]);}[_0x14b850(0x107)](_0x15b58d){const _0x12194b=_0x14b850,{locale:_0x3b822c}=this[_0x12194b(0x120)];return _0x15b58d[_0x12194b(0xef)](_0x3825fe=>{const _0x4529fb=_0x12194b,_0x5d4027=_0x218a55(_0x3b822c,_0x3825fe,_0x4529fb(0x11c));switch(_0x3825fe){case _0x2a48f2[_0x4529fb(0x11e)]:return{'icon':_0x5d5d41,'type':_0x2a48f2[_0x4529fb(0x11e)],..._0x5d4027};case _0x2a48f2[_0x4529fb(0x103)]:return{'icon':_0x428446,'type':_0x2a48f2[_0x4529fb(0x103)],..._0x5d4027};case _0x2a48f2[_0x4529fb(0xf8)]:return{'icon':_0xff5d88,'type':_0x2a48f2[_0x4529fb(0xf8)],..._0x5d4027};case _0x2a48f2[_0x4529fb(0x133)]:return{'icon':_0x55e1ba,'type':_0x2a48f2[_0x4529fb(0x133)],..._0x5d4027};case _0x2a48f2[_0x4529fb(0x124)]:return{'icon':_0x4125bb,'type':_0x2a48f2[_0x4529fb(0x124)],..._0x5d4027};case _0x2a48f2[_0x4529fb(0x101)]:return{'icon':_0xdcb9e6,'type':_0x2a48f2[_0x4529fb(0x101)],..._0x5d4027};case _0x2a48f2[_0x4529fb(0x12f)]:return{'icon':_0x10fb62,'type':_0x2a48f2[_0x4529fb(0x12f)],..._0x5d4027};}});}[_0x14b850(0x10f)](_0x1d7acb){const _0x37dd08=_0x14b850;switch(_0x1d7acb){case _0x2a48f2[_0x37dd08(0x11e)]:return _0x37dd08(0x127);case _0x2a48f2[_0x37dd08(0x103)]:return _0x37dd08(0x110);default:return _0x37dd08(0xf9);}}[_0x14b850(0x111)](_0x4e273e,_0xe88f67){const _0x42767c=_0x14b850,_0x59b8b1=this[_0x42767c(0x120)],_0x3b294e=new _0x4e273e(_0x59b8b1[_0x42767c(0xfb)]),_0x1e79dd=_0x59b8b1[_0x42767c(0x121)][_0x42767c(0x135)](_0x42767c(0x12b));return _0x3b294e[_0x42767c(0x139)](_0x42767c(0x131))['to'](_0x1e79dd),_0x3b294e['on'](_0x42767c(0x138),()=>{const _0x5cd8a6=_0x42767c;_0x1e79dd[_0x5cd8a6(0x138)](_0xe88f67);}),_0x3b294e;}[_0x14b850(0xf5)](_0x31cf93){const _0xf4ed46=_0x14b850,{locale:_0x38719e}=this[_0xf4ed46(0x120)],_0x206200=this[_0xf4ed46(0x120)][_0xf4ed46(0x126)][_0xf4ed46(0x135)](_0xf4ed46(0x125)),_0xfe16d6=_0x31cf93[0x0],_0x3ede5c=this[_0xf4ed46(0x111)](_0x40f8e3,_0xfe16d6[_0xf4ed46(0x112)]);return _0x3ede5c[_0xf4ed46(0x11d)]=_0xfe16d6[_0xf4ed46(0x11d)],_0x3ede5c[_0xf4ed46(0x139)](_0xf4ed46(0xec))['to'](_0x206200,_0xf4ed46(0x12a),_0x3797e2=>_0x218a55(_0x38719e,_0xfe16d6[_0xf4ed46(0x112)],_0x3797e2?_0xf4ed46(0x108):_0xf4ed46(0x11c))[_0xf4ed46(0x136)]),_0x3ede5c[_0xf4ed46(0xf0)]=!0x0,_0x3ede5c;}[_0x14b850(0x11a)](_0x24acf3){const _0x3d2165=_0x14b850,{locale:_0x5938f6}=this[_0x3d2165(0x120)],_0x6705c0=this[_0x3d2165(0x120)][_0x3d2165(0x126)][_0x3d2165(0x135)](_0x3d2165(0x125));return _0x24acf3[_0x3d2165(0xef)](_0x1bba9f=>{const _0x54535e=_0x3d2165,_0x441362=this[_0x54535e(0x111)](_0x40f8e3,_0x1bba9f[_0x54535e(0x112)]);return _0x441362[_0x54535e(0x123)]=!0x0,_0x441362[_0x54535e(0x11d)]=_0x1bba9f[_0x54535e(0x11d)],_0x441362[_0x54535e(0x139)](_0x54535e(0xec))['to'](_0x6705c0,_0x54535e(0x12a),_0x17a1f3=>_0x218a55(_0x5938f6,_0x1bba9f[_0x54535e(0x112)],_0x17a1f3?_0x54535e(0x108):_0x54535e(0x11c))[_0x54535e(0x136)]),_0x441362;});}[_0x14b850(0x128)](_0x1330ab){const _0x479699=_0x14b850;return _0x1330ab[_0x479699(0xef)](_0x567aff=>{const _0x49cdb3=_0x479699,_0x312072=this[_0x49cdb3(0x111)](_0xe1dce9,_0x567aff[_0x49cdb3(0x112)]);return _0x312072[_0x49cdb3(0x11d)]=_0x567aff[_0x49cdb3(0x11d)],_0x312072[_0x49cdb3(0xec)]=_0x567aff[_0x49cdb3(0x134)],_0x312072;});}}
23
+ const _0x1d85e5=_0x4299;(function(_0x4f4518,_0x131254){const _0xcf40eb=_0x4299,_0x266526=_0x4f4518();while(!![]){try{const _0x56cc71=-parseInt(_0xcf40eb(0x1fa))/0x1+parseInt(_0xcf40eb(0x201))/0x2*(-parseInt(_0xcf40eb(0x213))/0x3)+parseInt(_0xcf40eb(0x21b))/0x4+parseInt(_0xcf40eb(0x1e8))/0x5*(parseInt(_0xcf40eb(0x1f0))/0x6)+parseInt(_0xcf40eb(0x22b))/0x7*(parseInt(_0xcf40eb(0x230))/0x8)+-parseInt(_0xcf40eb(0x1f5))/0x9*(parseInt(_0xcf40eb(0x20e))/0xa)+parseInt(_0xcf40eb(0x225))/0xb;if(_0x56cc71===_0x131254)break;else _0x266526['push'](_0x266526['shift']());}catch(_0x465efb){_0x266526['push'](_0x266526['shift']());}}}(_0x2fd0,0xf06ba));import{Plugin as _0x127dc6}from'ckeditor5/src/core.js';function _0x4299(_0x16f2e1,_0x414bb6){const _0x2fd037=_0x2fd0();return _0x4299=function(_0x4299eb,_0x10b29b){_0x4299eb=_0x4299eb-0x1df;let _0x5558ea=_0x2fd037[_0x4299eb];return _0x5558ea;},_0x4299(_0x16f2e1,_0x414bb6);}function _0x2fd0(){const _0x3d06cc=['_createDropdownButtons','domainLimit','_getIntegrationKey','uploadcareLicenseKeyInvalid','uploadcare','label','114ArBdnw','has','ImageInsertUI','Replace','shortText','Facebook','isImageSelected','assetManager','trialLimit','featureNotAllowed','upload','editor','init','10bcODKD','uploadcare.uploader.sourceList','destroy','icon','_createToolbarButton','35979RXDEIU','Insert','GPhotos','forEach','registerIntegration','text','Dropbox','uploadcareLicenseKeyValid','2021560fmxbzo','invalid','withText','isEnabled','uploadcareLicenseKeyDomainLimit','_normalizeConfigSourceList','afterInit','uploadcareLicenseKeyTrialLimit','bind','plugins','11438845rBRqgr','commands','get','config','OneDrive','pluginName','28sHCoEd','uploadcareLicenseKeyUsageLimit','isOfficialPlugin','Local','type','1530392TMhcxe','evaluationLimit','UploadcareUI','usageLimit','uploadcareLicenseKeyEvaluationLimit','execute','_createMenuBarButtons','expired','reduce','url','63970fplyKf','licenseKey','isPremiumPlugin','uploadcareLicenseKeyExpired','_createButton','Uploadcare','entries','locale','366EOcQLI','tooltip','map','_licenseKeyCheckInterval','uploadcareLicenseKeyNotAllowed','6321069yTbtIp','_showLicenseError','push','URL','GDrive','720211WpmegF'];_0x2fd0=function(){return _0x3d06cc;};return _0x2fd0();}import{IconDropbox as _0x5d7554,IconFacebook as _0x7dba8b,IconGoogleDrive as _0x380673,IconGooglePhotos as _0x5b0897,IconUploadcareImageUpload as _0xf799e8,IconUploadcareLink as _0x50ca44,IconOneDrive as _0x3e45d9}from'ckeditor5/src/icons.js';import{ButtonView as _0x5b42ae,MenuBarMenuListItemButtonView as _0x56c382}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x54df2c}from'./uploadcareconfig.js';import{getTranslation as _0x1442bc}from'./utils/common-translations.js';import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';import'../theme/uploadcare-theme.css';import'../theme/uploadcareimageedit.css';export class UploadcareUI extends _0x127dc6{[_0x1d85e5(0x1e9)];[_0x1d85e5(0x1f3)];static get[_0x1d85e5(0x22a)](){const _0x390b7f=_0x1d85e5;return _0x390b7f(0x1e0);}static get[_0x1d85e5(0x22d)](){return!0x0;}static get[_0x1d85e5(0x1ea)](){return!0x0;}[_0x1d85e5(0x20d)](){const _0x469757=_0x1d85e5;this[_0x469757(0x1e9)]=this[_0x469757(0x20c)][_0x469757(0x228)][_0x469757(0x227)](_0x469757(0x1e9));const _0x4855cf=this[_0x469757(0x20c)];this[_0x469757(0x1f3)]=setInterval(()=>{const _0x209e54=_0x469757;let _0x2df497;for(const _0x341169 in _0x4855cf){const _0xb0e002=_0x341169,_0x58bbdb=_0x4855cf[_0xb0e002];if(_0x209e54(0x21a)==_0x58bbdb||_0x209e54(0x1fe)==_0x58bbdb||_0x209e54(0x1eb)==_0x58bbdb||_0x209e54(0x21f)==_0x58bbdb||_0x209e54(0x1f4)==_0x58bbdb||_0x209e54(0x1e2)==_0x58bbdb||_0x209e54(0x222)==_0x58bbdb||_0x209e54(0x22c)==_0x58bbdb){delete _0x4855cf[_0xb0e002],_0x2df497=_0x58bbdb,clearInterval(this[_0x209e54(0x1f3)]),this[_0x209e54(0x1f3)]=void 0x0;break;}}_0x209e54(0x1fe)==_0x2df497&&_0x4855cf[_0x209e54(0x1f6)](_0x209e54(0x21c)),_0x209e54(0x1eb)==_0x2df497&&_0x4855cf[_0x209e54(0x1f6)](_0x209e54(0x1e5)),_0x209e54(0x21f)==_0x2df497&&_0x4855cf[_0x209e54(0x1f6)](_0x209e54(0x1fc)),_0x209e54(0x1f4)==_0x2df497&&_0x4855cf[_0x209e54(0x1f6)](_0x209e54(0x20a),_0x209e54(0x1ed)),_0x209e54(0x1e2)==_0x2df497&&_0x4855cf[_0x209e54(0x1f6)](_0x209e54(0x1df)),_0x209e54(0x222)==_0x2df497&&_0x4855cf[_0x209e54(0x1f6)](_0x209e54(0x209)),_0x209e54(0x22c)==_0x2df497&&_0x4855cf[_0x209e54(0x1f6)](_0x209e54(0x1e1));},0x3e8);}[_0x1d85e5(0x221)](){const _0x3ac7c2=_0x1d85e5,{editor:_0x76e3b6}=this,_0x530e0d=_0x76e3b6[_0x3ac7c2(0x226)][_0x3ac7c2(0x227)](_0x3ac7c2(0x1ff));if(!_0x530e0d)return;const _0xa7bbe9=this[_0x3ac7c2(0x220)](_0x76e3b6[_0x3ac7c2(0x228)][_0x3ac7c2(0x227)](_0x3ac7c2(0x20f)))[_0x3ac7c2(0x1e6)]((_0x554bb0,_0x1a0d27)=>{const _0x440d06=_0x3ac7c2,_0x162e19=this[_0x440d06(0x1fd)](_0x1a0d27[_0x440d06(0x22f)]);return _0x554bb0[_0x162e19]||(_0x554bb0[_0x162e19]=[]),_0x554bb0[_0x162e19][_0x440d06(0x1f7)](_0x1a0d27),_0x554bb0;},{});_0x76e3b6[_0x3ac7c2(0x224)][_0x3ac7c2(0x202)](_0x3ac7c2(0x203))&&_0x76e3b6[_0x3ac7c2(0x226)][_0x3ac7c2(0x227)](_0x3ac7c2(0x1ff))&&Object[_0x3ac7c2(0x1ee)](_0xa7bbe9)[_0x3ac7c2(0x216)](([_0x230c1e,_0x4d188a])=>{const _0x1acb1b=_0x3ac7c2;_0x76e3b6[_0x1acb1b(0x224)][_0x1acb1b(0x227)](_0x1acb1b(0x203))[_0x1acb1b(0x217)]({'name':_0x230c1e,'observable':()=>_0x530e0d,'buttonViewCreator':()=>this[_0x1acb1b(0x212)](_0x4d188a),'formViewCreator':()=>this[_0x1acb1b(0x1fb)](_0x4d188a),'menuBarButtonViewCreator':()=>this[_0x1acb1b(0x1e4)](_0x4d188a),'override':_0x1acb1b(0x208)!==_0x230c1e});});}[_0x1d85e5(0x210)](){const _0x4f04b6=_0x1d85e5;super[_0x4f04b6(0x210)](),this[_0x4f04b6(0x1f3)]&&clearInterval(this[_0x4f04b6(0x1f3)]);}[_0x1d85e5(0x220)](_0x70f2c7){const _0x2f4b8a=_0x1d85e5,{locale:_0x4637c9}=this[_0x2f4b8a(0x20c)];return _0x70f2c7[_0x2f4b8a(0x1f2)](_0x21f8da=>{const _0x55f19b=_0x2f4b8a,_0x148f33=_0x1442bc(_0x4637c9,_0x21f8da,_0x55f19b(0x214));switch(_0x21f8da){case _0x54df2c[_0x55f19b(0x22e)]:return{'icon':_0xf799e8,'type':_0x54df2c[_0x55f19b(0x22e)],..._0x148f33};case _0x54df2c[_0x55f19b(0x1f8)]:return{'icon':_0x50ca44,'type':_0x54df2c[_0x55f19b(0x1f8)],..._0x148f33};case _0x54df2c[_0x55f19b(0x219)]:return{'icon':_0x5d7554,'type':_0x54df2c[_0x55f19b(0x219)],..._0x148f33};case _0x54df2c[_0x55f19b(0x206)]:return{'icon':_0x7dba8b,'type':_0x54df2c[_0x55f19b(0x206)],..._0x148f33};case _0x54df2c[_0x55f19b(0x1f9)]:return{'icon':_0x380673,'type':_0x54df2c[_0x55f19b(0x1f9)],..._0x148f33};case _0x54df2c[_0x55f19b(0x215)]:return{'icon':_0x5b0897,'type':_0x54df2c[_0x55f19b(0x215)],..._0x148f33};case _0x54df2c[_0x55f19b(0x229)]:return{'icon':_0x3e45d9,'type':_0x54df2c[_0x55f19b(0x229)],..._0x148f33};}});}[_0x1d85e5(0x1fd)](_0x164cc5){const _0x41395c=_0x1d85e5;switch(_0x164cc5){case _0x54df2c[_0x41395c(0x22e)]:return _0x41395c(0x20b);case _0x54df2c[_0x41395c(0x1f8)]:return _0x41395c(0x1e7);default:return _0x41395c(0x208);}}[_0x1d85e5(0x1ec)](_0x59a58b,_0x2d0fa0){const _0x1d902f=_0x1d85e5,_0x9cdd=this[_0x1d902f(0x20c)],_0x255bef=new _0x59a58b(_0x9cdd[_0x1d902f(0x1ef)]),_0x2f7bd9=_0x9cdd[_0x1d902f(0x226)][_0x1d902f(0x227)](_0x1d902f(0x1ff));return _0x255bef[_0x1d902f(0x223)](_0x1d902f(0x21e))['to'](_0x2f7bd9),_0x255bef['on'](_0x1d902f(0x1e3),()=>{const _0x5ea1a1=_0x1d902f;_0x2f7bd9[_0x5ea1a1(0x1e3)](_0x2d0fa0);}),_0x255bef;}[_0x1d85e5(0x212)](_0x202791){const _0x5ea03f=_0x1d85e5,{locale:_0x4ae0b8}=this[_0x5ea03f(0x20c)],_0x26b510=this[_0x5ea03f(0x20c)][_0x5ea03f(0x224)][_0x5ea03f(0x227)](_0x5ea03f(0x203)),_0x50d216=_0x202791[0x0],_0x6421fc=this[_0x5ea03f(0x1ec)](_0x5b42ae,_0x50d216[_0x5ea03f(0x22f)]);return _0x6421fc[_0x5ea03f(0x211)]=_0x50d216[_0x5ea03f(0x211)],_0x6421fc[_0x5ea03f(0x223)](_0x5ea03f(0x200))['to'](_0x26b510,_0x5ea03f(0x207),_0x3bb894=>_0x1442bc(_0x4ae0b8,_0x50d216[_0x5ea03f(0x22f)],_0x3bb894?_0x5ea03f(0x204):_0x5ea03f(0x214))[_0x5ea03f(0x218)]),_0x6421fc[_0x5ea03f(0x1f1)]=!0x0,_0x6421fc;}[_0x1d85e5(0x1fb)](_0x4d28d2){const _0x46f0f6=_0x1d85e5,{locale:_0x3557c7}=this[_0x46f0f6(0x20c)],_0x3512e6=this[_0x46f0f6(0x20c)][_0x46f0f6(0x224)][_0x46f0f6(0x227)](_0x46f0f6(0x203));return _0x4d28d2[_0x46f0f6(0x1f2)](_0x59eaf5=>{const _0x2821c1=_0x46f0f6,_0x1d87f7=this[_0x2821c1(0x1ec)](_0x5b42ae,_0x59eaf5[_0x2821c1(0x22f)]);return _0x1d87f7[_0x2821c1(0x21d)]=!0x0,_0x1d87f7[_0x2821c1(0x211)]=_0x59eaf5[_0x2821c1(0x211)],_0x1d87f7[_0x2821c1(0x223)](_0x2821c1(0x200))['to'](_0x3512e6,_0x2821c1(0x207),_0x4e0bf3=>_0x1442bc(_0x3557c7,_0x59eaf5[_0x2821c1(0x22f)],_0x4e0bf3?_0x2821c1(0x204):_0x2821c1(0x214))[_0x2821c1(0x218)]),_0x1d87f7;});}[_0x1d85e5(0x1e4)](_0x3dfb64){const _0x552aa1=_0x1d85e5;return _0x3dfb64[_0x552aa1(0x1f2)](_0x2183ca=>{const _0x391a89=_0x552aa1,_0x39fd59=this[_0x391a89(0x1ec)](_0x56c382,_0x2183ca[_0x391a89(0x22f)]);return _0x39fd59[_0x391a89(0x211)]=_0x2183ca[_0x391a89(0x211)],_0x39fd59[_0x391a89(0x200)]=_0x2183ca[_0x391a89(0x205)],_0x39fd59;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x4b0855}from'ckeditor5/src/core.js';import{FileRepository as _0x4b75f5}from'ckeditor5/src/upload.js';import{UploadcareEditing as _0x364e6e}from'./uploadcareediting.js';import{UploadUtils as _0x3f7bad}from'./utils/uploadutils.js';import{getImageUrls as _0x2c9d9f}from'./utils/editingutils.js';export class UploadcareUploadAdapter extends _0x4b0855{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x4b75f5,_0x364e6e];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x4c16e3=this['editor'];if(!!!_0x4c16e3['config']['get']('uploadcare'))return;_0x4c16e3['plugins']['get'](_0x4b75f5)['createUploadAdapter']=_0x3be3f0=>new A(_0x3be3f0,_0x4c16e3),_0x4c16e3['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x5a487b,{imageElement:_0x4aaaa1,data:_0x397c6c})=>{_0x4c16e3['model']['change'](_0x36cd46=>{_0x36cd46['setAttribute']('uploadcareImageId',_0x397c6c['uploadcareImageId'],_0x4aaaa1);});});}}class A{['loader'];['editor'];['controller'];constructor(_0x1474d5,_0x512927){this['loader']=_0x1474d5,this['editor']=_0x512927,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x4039a2=this['editor']['config']['get']('uploadcare.pubkey'),_0xabdfd3=await this['loader']['file'];return _0x3f7bad['upload']({'file':_0xabdfd3,'publicKey':_0x4039a2,'signal':this['controller']['signal'],'onProgress':_0x1159d0=>{_0x1159d0&&_0x1159d0['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x1159d0['value']);}})['then'](async _0x858b8e=>{const {imageFallbackUrl:_0x5cef8f,imageSources:_0x2142c5}=_0x2c9d9f(_0x858b8e['cdnUrl'],_0x858b8e['imageInfo']['width']);return{'uploadcareImageId':_0x858b8e['uuid'],'default':_0x5cef8f,'sources':_0x2142c5};})['catch'](()=>{const _0x2bd053=t('Cannot\x20upload\x20file:')+('\x20'+_0xabdfd3['name']+'.');return Promise['reject'](_0x2bd053);});}['abort'](){this['controller']['abort']();}}
23
+ import{Plugin as _0x193651}from'ckeditor5/src/core.js';import{FileRepository as _0x11d055}from'ckeditor5/src/upload.js';import{UploadcareEditing as _0x552d00}from'./uploadcareediting.js';import{UploadUtils as _0x137530}from'./utils/uploadutils.js';import{getImageUrls as _0xb31d7d}from'./utils/editingutils.js';export class UploadcareUploadAdapter extends _0x193651{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x11d055,_0x552d00];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x57b95f=this['editor'];if(!!!_0x57b95f['config']['get']('uploadcare'))return;_0x57b95f['plugins']['get'](_0x11d055)['createUploadAdapter']=_0x9eb395=>new A(_0x9eb395,_0x57b95f),_0x57b95f['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x4e5d47,{imageElement:_0x5eeaaa,data:_0x3bf2cb})=>{_0x57b95f['model']['change'](_0x36056d=>{_0x36056d['setAttribute']('uploadcareImageId',_0x3bf2cb['uploadcareImageId'],_0x5eeaaa);});});}}class A{['loader'];['editor'];['controller'];constructor(_0x34f3d6,_0x59ac7a){this['loader']=_0x34f3d6,this['editor']=_0x59ac7a,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x96a54c=this['editor']['config']['get']('uploadcare.pubkey'),_0x523855=await this['loader']['file'];return _0x137530['upload']({'file':_0x523855,'publicKey':_0x96a54c,'signal':this['controller']['signal'],'onProgress':_0x427ce5=>{_0x427ce5&&_0x427ce5['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x427ce5['value']);}})['then'](async _0x102333=>{const {imageFallbackUrl:_0x26d476,imageSources:_0x7d421f}=_0xb31d7d(_0x102333['cdnUrl'],_0x102333['imageInfo']['width']);return{'uploadcareImageId':_0x102333['uuid'],'default':_0x26d476,'sources':_0x7d421f};})['catch'](()=>{const _0x5d5094=t('Cannot\x20upload\x20file:')+('\x20'+_0x523855['name']+'.');return Promise['reject'](_0x5d5094);});}['abort'](){this['controller']['abort']();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{UploadcareSource as _0x47302a}from'../uploadcareconfig.js';export function getTranslation(_0x29648b,_0xe110eb,_0x2d8b09){const t=_0x29648b['t'],_0xb5c5b4=_0x29648b['t'];switch(_0xe110eb){case _0x47302a['Local']:return{'text':_0xb5c5b4('Insert'===_0x2d8b09?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0xb5c5b4('From\x20computer')};case _0x47302a['URL']:return{'text':'Insert'===_0x2d8b09?_0xb5c5b4('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0xb5c5b4('Via\x20URL')};case _0x47302a['Dropbox']:return{'text':t('Insert'===_0x2d8b09?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x47302a['Facebook']:return{'text':t('Insert'===_0x2d8b09?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x47302a['GDrive']:return{'text':t('Insert'===_0x2d8b09?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x47302a['GPhotos']:return{'text':t('Insert'===_0x2d8b09?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x47302a['OneDrive']:return{'text':t('Insert'===_0x2d8b09?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0xe110eb;}}
23
+ import{UploadcareSource as _0x41b1cf}from'../uploadcareconfig.js';export function getTranslation(_0x417d6f,_0x4686f0,_0x367fd1){const t=_0x417d6f['t'],_0x333873=_0x417d6f['t'];switch(_0x4686f0){case _0x41b1cf['Local']:return{'text':_0x333873('Insert'===_0x367fd1?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x333873('From\x20computer')};case _0x41b1cf['URL']:return{'text':'Insert'===_0x367fd1?_0x333873('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x333873('Via\x20URL')};case _0x41b1cf['Dropbox']:return{'text':t('Insert'===_0x367fd1?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x41b1cf['Facebook']:return{'text':t('Insert'===_0x367fd1?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x41b1cf['GDrive']:return{'text':t('Insert'===_0x367fd1?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x41b1cf['GPhotos']:return{'text':t('Insert'===_0x367fd1?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x41b1cf['OneDrive']:return{'text':t('Insert'===_0x367fd1?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x4686f0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x5f3c40=_0x50f4;(function(_0x7248a9,_0x4bb183){var _0x14a5d2=_0x50f4,_0x31f4d7=_0x7248a9();while(!![]){try{var _0x45a3bd=parseInt(_0x14a5d2(0x159))/0x1+parseInt(_0x14a5d2(0x146))/0x2+-parseInt(_0x14a5d2(0x14c))/0x3*(-parseInt(_0x14a5d2(0x149))/0x4)+parseInt(_0x14a5d2(0x14f))/0x5+parseInt(_0x14a5d2(0x154))/0x6*(parseInt(_0x14a5d2(0x150))/0x7)+parseInt(_0x14a5d2(0x152))/0x8*(parseInt(_0x14a5d2(0x14a))/0x9)+parseInt(_0x14a5d2(0x14e))/0xa*(-parseInt(_0x14a5d2(0x153))/0xb);if(_0x45a3bd===_0x4bb183)break;else _0x31f4d7['push'](_0x31f4d7['shift']());}catch(_0x5b9279){_0x31f4d7['push'](_0x31f4d7['shift']());}}}(_0x4aa3,0xd1682));function _0x4aa3(){var _0x189665=['focusTracker','div','focusCycler','createCollection','100815jrZJKB','1394670WNvBoY','true','fire','3414192QfNFUK','8371764McYAZb','forwardCycle','3naROlG','bindTemplate','70rbGvGJ','1838015SvZnfj','1806161SGNLSH','getFocusableElement','8JkXOMp','5314386VRQUKG','30LwdLil'];_0x4aa3=function(){return _0x189665;};return _0x4aa3();}import{FocusTracker as _0x4acaa6}from'ckeditor5/src/utils.js';function _0x50f4(_0x4faf4e,_0x436aba){var _0x4aa3f6=_0x4aa3();return _0x50f4=function(_0x50f448,_0x5cf10f){_0x50f448=_0x50f448-0x146;var _0x51ef4d=_0x4aa3f6[_0x50f448];return _0x51ef4d;},_0x50f4(_0x4faf4e,_0x436aba);}import{View as _0x1702b6,FocusCycler as _0x5c96f8}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';export class DialogFocusManagerView extends _0x1702b6{[_0x5f3c40(0x155)];[_0x5f3c40(0x157)];constructor(_0x3ae5ec){var _0x4e16dc=_0x5f3c40;super(_0x3ae5ec),this[_0x4e16dc(0x155)]=new _0x4acaa6(),this[_0x4e16dc(0x157)]=new _0x5c96f8({'focusables':this[_0x4e16dc(0x158)](),'focusTracker':this[_0x4e16dc(0x155)]});}[_0x5f3c40(0x151)](){var _0xb38883=_0x5f3c40;return{'tag':_0xb38883(0x156),'attributes':{'aria-hidden':_0xb38883(0x147),'tabindex':'0'},'on':{'focus':this[_0xb38883(0x14d)]['to'](()=>{var _0x2d7f16=_0xb38883;this[_0x2d7f16(0x157)][_0x2d7f16(0x148)](_0x2d7f16(0x14b));})}};}}
23
+ var _0x43d9c7=_0x5c1e;function _0x5c1e(_0x207b71,_0x228837){var _0x1be614=_0x1be6();return _0x5c1e=function(_0x5c1e30,_0x44acd0){_0x5c1e30=_0x5c1e30-0x1d4;var _0x3c0fd8=_0x1be614[_0x5c1e30];return _0x3c0fd8;},_0x5c1e(_0x207b71,_0x228837);}(function(_0x28fc04,_0x17c241){var _0x2c0f3e=_0x5c1e,_0x1ec927=_0x28fc04();while(!![]){try{var _0x129fe2=parseInt(_0x2c0f3e(0x1e2))/0x1+-parseInt(_0x2c0f3e(0x1e7))/0x2+-parseInt(_0x2c0f3e(0x1d8))/0x3*(parseInt(_0x2c0f3e(0x1e3))/0x4)+-parseInt(_0x2c0f3e(0x1e1))/0x5*(parseInt(_0x2c0f3e(0x1df))/0x6)+-parseInt(_0x2c0f3e(0x1e6))/0x7*(parseInt(_0x2c0f3e(0x1db))/0x8)+-parseInt(_0x2c0f3e(0x1d7))/0x9*(-parseInt(_0x2c0f3e(0x1dd))/0xa)+parseInt(_0x2c0f3e(0x1dc))/0xb*(parseInt(_0x2c0f3e(0x1d5))/0xc);if(_0x129fe2===_0x17c241)break;else _0x1ec927['push'](_0x1ec927['shift']());}catch(_0x3ec2e0){_0x1ec927['push'](_0x1ec927['shift']());}}}(_0x1be6,0x98795));import{FocusTracker as _0x120117}from'ckeditor5/src/utils.js';import{View as _0x34b97f,FocusCycler as _0x21ef22}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';export class DialogFocusManagerView extends _0x34b97f{[_0x43d9c7(0x1da)];[_0x43d9c7(0x1e4)];constructor(_0x7b0dbc){var _0x205fc5=_0x43d9c7;super(_0x7b0dbc),this[_0x205fc5(0x1da)]=new _0x120117(),this[_0x205fc5(0x1e4)]=new _0x21ef22({'focusables':this[_0x205fc5(0x1e5)](),'focusTracker':this[_0x205fc5(0x1da)]});}[_0x43d9c7(0x1d6)](){var _0x2c9600=_0x43d9c7;return{'tag':_0x2c9600(0x1e8),'attributes':{'aria-hidden':_0x2c9600(0x1d4),'tabindex':'0'},'on':{'focus':this[_0x2c9600(0x1de)]['to'](()=>{var _0x548a59=_0x2c9600;this[_0x548a59(0x1e4)][_0x548a59(0x1e0)](_0x548a59(0x1d9));})}};}}function _0x1be6(){var _0x230448=['focusCycler','createCollection','45815IokCdd','1426634uwHsER','div','true','4596Qpbbmf','getFocusableElement','9KYgCTf','3SuYJtS','forwardCycle','focusTracker','1224WTconS','83677JmDxhA','5560770dTpnCv','bindTemplate','394122ShrXOR','fire','95PgHYer','577038YLqjND','1837232FdqEOd'];_0x1be6=function(){return _0x230448;};return _0x1be6();}