@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-20250427.0 → 0.0.0-nightly-20250429.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 _0x377737=_0x3c3a;(function(_0x4e0b3d,_0x4caeb1){const _0x562c1d=_0x3c3a,_0x40c2db=_0x4e0b3d();while(!![]){try{const _0x488520=-parseInt(_0x562c1d(0x88))/0x1*(parseInt(_0x562c1d(0x97))/0x2)+parseInt(_0x562c1d(0xd6))/0x3*(parseInt(_0x562c1d(0x89))/0x4)+-parseInt(_0x562c1d(0xa9))/0x5*(-parseInt(_0x562c1d(0xc9))/0x6)+-parseInt(_0x562c1d(0xad))/0x7*(-parseInt(_0x562c1d(0x99))/0x8)+-parseInt(_0x562c1d(0x82))/0x9+parseInt(_0x562c1d(0xa8))/0xa*(-parseInt(_0x562c1d(0x90))/0xb)+-parseInt(_0x562c1d(0xd5))/0xc*(-parseInt(_0x562c1d(0xb1))/0xd);if(_0x488520===_0x4caeb1)break;else _0x40c2db['push'](_0x40c2db['shift']());}catch(_0x14ac60){_0x40c2db['push'](_0x40c2db['shift']());}}}(_0x3c09,0x857b4));import{Plugin as _0x29a8bb}from'ckeditor5/src/core.js';function _0x3c09(){const _0x29e0ce=['configElement','377bceXRE','removeAttribute','selection','config','locale','pluginName','attributeToAttribute','_initConversion','uploadcare','editor','requires','getAttribute','downcast','querySelector','isOfficialPlugin','uc-upload-ctx-provider','true','UploadcareEditing','listenTo','map','add','uploadcareImageId','remove','editing','4644546fpBjnu','insertImage','extend','appendChild','conversion','imageInline','uploadcare.pubkey','_initCtx','iconHrefResolver','_ctxElement','document','PictureEditing','870708NrhdOJ','614877DmKxYu','\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','for','8778213ChnqvK','init','uploadcareImageReplace','join','_configElement','once','35744kbWZHc','4EcqaTj','closeMax','_initImageProcessingIndicator','uc-config','data-uc-image-id','view','cleanupImage','11MZTfny','execute','body','afterInit','imageBlock','schema','href','54Kwevrh','fromCharCode','376RKRlrB','destroy','get','getSelectedElement','uploadcare.uploader','model','#uc-icon-arrow-down','uploader','_initConfig','render','commands','_initSchema','isPremiumPlugin','isRegistered','contentLanguage','7089230LHfWgT','5iDoyIX','input[uploadcare-file-input]','elementToAttribute','ctxElement','16807VBwehS','replaceImageSource','upcast'];_0x3c09=function(){return _0x29e0ce;};return _0x3c09();}import{Dialog as _0x39662e}from'ckeditor5/src/ui.js';import{createElement as _0x347204,global as _0x20eaf8,uid as _0x17b948}from'ckeditor5/src/utils.js';import _0x2056fc from'./uploadcarecommand.js';import _0xd2082e from'./uploadcareuploadadapter.js';function _0x3c3a(_0x29638b,_0x12948e){const _0x3c096e=_0x3c09();return _0x3c3a=function(_0x3c3a4f,_0x415a2b){_0x3c3a4f=_0x3c3a4f-0x81;let _0x144f37=_0x3c096e[_0x3c3a4f];return _0x144f37;},_0x3c3a(_0x29638b,_0x12948e);}import{showImageProcessingIndicator as _0x4dc92a}from'./utils/editingutils.js';export default class i extends _0x29a8bb{[_0x377737(0x86)]=null;[_0x377737(0xd2)]=null;static get[_0x377737(0xb6)](){const _0x5123eb=_0x377737;return _0x5123eb(0xc2);}static get[_0x377737(0xbb)](){const _0x439a1c=_0x377737;return[_0x439a1c(0xd4),_0xd2082e,_0x39662e];}static get[_0x377737(0xbf)](){return!0x0;}static get[_0x377737(0xa5)](){return!0x0;}get[_0x377737(0xb0)](){const _0x4354a1=_0x377737;return this[_0x4354a1(0x86)];}get[_0x377737(0xac)](){const _0x2a1028=_0x377737;return this[_0x2a1028(0xd2)];}[_0x377737(0x83)](){const _0x5b6067=_0x377737,_0xb63964=this[_0x5b6067(0xba)];_0xb63964[_0x5b6067(0xa3)][_0x5b6067(0xc5)](_0x5b6067(0xb9),new _0x2056fc(_0xb63964));}[_0x377737(0x93)](){const _0x138ef8=_0x377737;this[_0x138ef8(0xa4)](),this[_0x138ef8(0xb8)](),this[_0x138ef8(0xa1)](),this[_0x138ef8(0xd0)](),this[_0x138ef8(0x8b)](),this[_0x138ef8(0xc3)](this[_0x138ef8(0xba)],_0x138ef8(0x9a),()=>{const _0x406965=_0x138ef8;this[_0x406965(0x86)]&&(this[_0x406965(0x86)][_0x406965(0xc7)](),this[_0x406965(0x86)]=null),this[_0x406965(0xd2)]&&(this[_0x406965(0xd2)][_0x406965(0xc7)](),this[_0x406965(0xd2)]=null);const _0x4c7584=_0x20eaf8[_0x406965(0xd3)][_0x406965(0xbe)](_0x406965(0xaa));_0x4c7584&&_0x4c7584[_0x406965(0xc7)]();}),async function(_0x32cf23){const _0x23d21d=_0x5885e8([0x42,0x75,0x4d,0x4c,0x52,0x73,0x49,0x36,0x6e,0x64,0x63,0x33,0x47,0x54,0x57,0x67,0x6d,0x6f,0x31,0x6c,0x61,0x7a,0x70,0x53,0x45,0x44,0x34,0x30,0x72,0x74,0x6b,0x6a,0x66,0x50,0x48,0x79,0x77,0x38,0x55,0x59,0x35,0x41,0x46,0x43,0x76,0x5a,0x4b,0x4e,0x39,0x58,0x51,0x78,0x56,0x62,0x32,0x68,0x4a,0x65,0x4f,0x37,0x71,0x69]),_0x5a15ca=0x21da0d71,_0x204e37=0x21dd6b49^_0x5a15ca,_0x522c9f=window[_0x5885e8([0x44,0x61,0x74,0x65])][_0x5885e8([0x6e,0x6f,0x77])](),_0x6d7ad2=_0x32cf23[_0x5885e8([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1573f4=new window[(_0x5885e8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3d81e8=>{_0x6d7ad2[_0x5885e8([0x6f,0x6e,0x63,0x65])](_0x5885e8([0x72,0x65,0x61,0x64,0x79]),_0x3d81e8);}),_0x25528f={[_0x5885e8([0x6b,0x74,0x79])]:_0x5885e8([0x45,0x43]),[_0x5885e8([0x75,0x73,0x65])]:_0x5885e8([0x73,0x69,0x67]),[_0x5885e8([0x63,0x72,0x76])]:_0x5885e8([0x50,0x2d,0x32,0x35,0x36]),[_0x5885e8([0x78])]:_0x5885e8([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]),[_0x5885e8([0x79])]:_0x5885e8([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]),[_0x5885e8([0x61,0x6c,0x67])]:_0x5885e8([0x45,0x53,0x32,0x35,0x36])},_0x5792d8=_0x6d7ad2[_0x5885e8([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x5885e8([0x67,0x65,0x74])](_0x5885e8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x433670(){let _0x3500bf,_0xebd080=null,_0x44e278=null;try{if(_0x5792d8==_0x5885e8([0x47,0x50,0x4c]))return _0x5885e8([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3500bf=_0x3f6a45(),!_0x3500bf)return _0x5885e8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x3500bf[_0x5885e8([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x44e278=_0x61d4b2(_0x3500bf[_0x5885e8([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3500bf[_0x5885e8([0x6a,0x74,0x69])])),await _0x262e9b()?_0x1fe6cd()?_0x2f9a85()?_0x5885e8([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x16332d()?(_0x3500bf[_0x5885e8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5885e8([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0xebd080=_0xf68683(_0x5885e8([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x3500bf[_0x5885e8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5885e8([0x74,0x72,0x69,0x61,0x6c])&&(_0xebd080=_0xf68683(_0x5885e8([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x3fdbcc()):_0x5885e8([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x5885e8([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x5885e8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x233941){return _0x5885e8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2f9a85(){const _0xdea72a=[_0x5885e8([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x5885e8([0x74,0x72,0x69,0x61,0x6c])][_0x5885e8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3500bf[_0x5885e8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x522c9f/0x3e8:0xe10*_0x204e37;return _0x3500bf[_0x5885e8([0x65,0x78,0x70])]<_0xdea72a;}function _0x1fe6cd(){const _0xe4a9b1=_0x3500bf[_0x5885e8([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0xe4a9b1&&(!!_0xe4a9b1[_0x5885e8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5885e8([0x2a]))||!!_0xe4a9b1[_0x5885e8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5885e8([0x55,0x50,0x4c,0x43])));}function _0x16332d(){const _0x2ecdc7=_0x3c3a,_0x2d3924=_0x3500bf[_0x5885e8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x2d3924||0x0==_0x2d3924[_0x5885e8([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x5440c7}=new URL(window[_0x5885e8([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x2ecdc7(0x96)]);if(_0x2d3924[_0x5885e8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5440c7))return!0x0;const _0x3d3fe7=_0x5440c7[_0x5885e8([0x73,0x70,0x6c,0x69,0x74])](_0x5885e8([0x2e]));return _0x2d3924[_0x5885e8([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3de7b9=>_0x3de7b9[_0x5885e8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5885e8([0x2a])))[_0x5885e8([0x6d,0x61,0x70])](_0x464e11=>_0x464e11[_0x5885e8([0x73,0x70,0x6c,0x69,0x74])](_0x5885e8([0x2e])))[_0x5885e8([0x73,0x6f,0x6d,0x65])](_0x2d9850=>_0x3d3fe7[_0x5885e8([0x65,0x76,0x65,0x72,0x79])]((_0x2aeb9a,_0x3fe339)=>_0x2d9850[_0x3fe339]===_0x2aeb9a||_0x2d9850[_0x3fe339]===_0x5885e8([0x2a])));}function _0x3fdbcc(){return _0xebd080&&_0x44e278?new window[(_0x5885e8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2b779d,_0x583727)=>{_0xebd080[_0x5885e8([0x74,0x68,0x65,0x6e])](_0x2b779d,_0x583727),_0x44e278[_0x5885e8([0x74,0x68,0x65,0x6e])](_0x396dd2=>{_0x396dd2!=_0x5885e8([0x56,0x61,0x6c,0x69,0x64])&&_0x2b779d(_0x396dd2);},_0x583727);}):_0xebd080||_0x44e278||_0x5885e8([0x56,0x61,0x6c,0x69,0x64]);}}function _0x61d4b2(_0x471b46,_0x32d56e){return new window[(_0x5885e8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5543bf=>{if(_0x5c0393())return _0x5543bf(_0x5885e8([0x56,0x61,0x6c,0x69,0x64]));_0x1330a1(),_0x6d7ad2[_0x5885e8([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x5885e8([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x1e019d=!0x1;const _0xc79b5d=_0x17b948();function _0x5b05d3(_0x33fe5e){return!!_0x33fe5e&&(typeof _0x33fe5e===_0x5885e8([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x33fe5e===_0x5885e8([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x33fe5e[_0x5885e8([0x74,0x68,0x65,0x6e])]===_0x5885e8([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x33fe5e[_0x5885e8([0x63,0x61,0x74,0x63,0x68])]===_0x5885e8([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0xf9aa9e(_0x1b3a3a){_0x4198ba(_0x1b3a3a)[_0x5885e8([0x74,0x68,0x65,0x6e])](_0x84352=>{if(!_0x84352||_0x84352[_0x5885e8([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x5885e8([0x6f,0x6b]))return _0x5885e8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x5b2d85(_0x3f1cf1(_0xc79b5d+_0x32d56e))!=_0x84352[_0x5885e8([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x5885e8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x5885e8([0x56,0x61,0x6c,0x69,0x64]);})[_0x5885e8([0x74,0x68,0x65,0x6e])](_0x1b1d6f=>(_0x1beed1(),_0x1b1d6f),()=>{const _0x4331ee=_0x4d4abf();return null==_0x4331ee?(_0x1beed1(),_0x5885e8([0x56,0x61,0x6c,0x69,0x64])):_0x5885e8(_0x522c9f-_0x4331ee>(0x5d68971^_0x5a15ca)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x5885e8([0x74,0x68,0x65,0x6e])](_0x5543bf)[_0x5885e8([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5543bf(_0x5885e8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x41c697=0x21ece3f1^_0x5a15ca;function _0x1beed1(){const _0x1644ab=_0x5885e8([0x6c,0x6c,0x63,0x74,0x2d])+_0x5b2d85(_0x3f1cf1(_0x471b46)),_0x57f184=_0x307500(_0x5b2d85(window[_0x5885e8([0x4d,0x61,0x74,0x68])][_0x5885e8([0x63,0x65,0x69,0x6c])](_0x522c9f/_0x41c697)));window[_0x5885e8([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5885e8([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1644ab,_0x57f184);}function _0x4d4abf(){const _0x1570e8=_0x5885e8([0x6c,0x6c,0x63,0x74,0x2d])+_0x5b2d85(_0x3f1cf1(_0x471b46)),_0x4a1a52=window[_0x5885e8([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5885e8([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1570e8);return _0x4a1a52?window[_0x5885e8([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x307500(_0x4a1a52),0x10)*_0x41c697:null;}function _0x4198ba(_0x326711){return new window[(_0x5885e8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x140b6f,_0x413543)=>{_0x326711[_0x5885e8([0x74,0x68,0x65,0x6e])](_0x140b6f,_0x413543),window[_0x5885e8([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x413543,0x21dbd9b1^_0x5a15ca);});}}_0x6d7ad2[_0x5885e8([0x6f,0x6e])](_0x5885e8([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1cf9ad,_0x173e41)=>{if(_0x173e41[0x0]!=_0x471b46)return _0x5543bf(_0x5885e8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x173e41[0x1]={..._0x173e41[0x1],[_0x5885e8([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0xc79b5d};},{[_0x5885e8([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5885e8([0x68,0x69,0x67,0x68])}),_0x6d7ad2[_0x5885e8([0x6f,0x6e])](_0x5885e8([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x1abcc9=>{_0x5b05d3(_0x1abcc9[_0x5885e8([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x1e019d=!0x0,_0xf9aa9e(_0x1abcc9[_0x5885e8([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x5885e8([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5885e8([0x6c,0x6f,0x77])}),_0x1573f4[_0x5885e8([0x74,0x68,0x65,0x6e])](()=>{_0x1e019d||_0x5543bf(_0x5885e8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x5c0393(){return _0x6d7ad2[_0x5885e8([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5885e8([0x76,0x69,0x65,0x77])][_0x5885e8([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x5885e8([0x61,0x75,0x74,0x6f]);}function _0x1330a1(){_0x6d7ad2[_0x5885e8([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5885e8([0x76,0x69,0x65,0x77])][_0x5885e8([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x5885e8([0x61,0x75,0x74,0x6f]);}}function _0xf68683(_0x3ed85a){const _0x56120f=[new window[(_0x5885e8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x199535=>setTimeout(_0x199535,0x21d333bd^_0x5a15ca)),_0x1573f4[_0x5885e8([0x74,0x68,0x65,0x6e])](()=>new window[(_0x5885e8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x783027=>{let _0x573e1b=0x0;_0x6d7ad2[_0x5885e8([0x6d,0x6f,0x64,0x65,0x6c])][_0x5885e8([0x6f,0x6e])](_0x5885e8([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4467b8,_0x58f19d)=>{_0x58f19d[0x0][_0x5885e8([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x573e1b++,_0x573e1b==(0x21da0c89^_0x5a15ca)&&(_0x783027(),_0x4467b8[_0x5885e8([0x6f,0x66,0x66])]());});}))];return window[_0x5885e8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x5885e8([0x72,0x61,0x63,0x65])](_0x56120f)[_0x5885e8([0x74,0x68,0x65,0x6e])](()=>_0x3ed85a);}async function _0x347651(){await _0x1573f4,_0x6d7ad2[_0x5885e8([0x6d,0x6f,0x64,0x65,0x6c])][_0x5885e8([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x1ea8bd,_0x6d7ad2[_0x5885e8([0x6d,0x6f,0x64,0x65,0x6c])][_0x5885e8([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x1ea8bd,_0x6d7ad2[_0x5885e8([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5885e8([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x235198(_0x5254fe){const _0x1c3c69=_0x4cf288();_0x6d7ad2[_0x1c3c69]=_0x5885e8([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x5254fe,_0x5254fe!=_0x5885e8([0x56,0x61,0x6c,0x69,0x64])&&_0x347651();}function _0x4cf288(){const _0x4ad30e=window[_0x5885e8([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x5885e8([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5885e8([0x6e,0x6f,0x77])]())[_0x5885e8([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5885e8([0x2e]),'');let _0x1bf3fa=_0x5885e8([0x42]);for(let _0x1e9895=0x0;_0x1e9895<_0x4ad30e[_0x5885e8([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1e9895+=0x2){let _0x36a474=window[_0x5885e8([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4ad30e[_0x5885e8([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1e9895,_0x1e9895+0x2));_0x36a474>=_0x23d21d[_0x5885e8([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x36a474-=_0x23d21d[_0x5885e8([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1bf3fa+=_0x23d21d[_0x36a474];}return _0x1bf3fa;}function _0x3f6a45(){const _0x5ece4b=_0x5792d8[_0x5885e8([0x73,0x70,0x6c,0x69,0x74])](_0x5885e8([0x2e]));if(0x3!=_0x5ece4b[_0x5885e8([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x55329b(_0x5ece4b[0x1]);function _0x55329b(_0xfb5860){const _0x3f00b2=_0x28dff5(_0xfb5860);return _0x3f00b2&&_0x2cb2e7()?_0x3f00b2:null;function _0x2cb2e7(){const _0x2ba6c5=_0x3f00b2[_0x5885e8([0x6a,0x74,0x69])],_0x47853b=window[_0x5885e8([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2ba6c5[_0x5885e8([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2ba6c5[_0x5885e8([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x9793f5={..._0x3f00b2,[_0x5885e8([0x6a,0x74,0x69])]:_0x2ba6c5[_0x5885e8([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x2ba6c5[_0x5885e8([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x9793f5[_0x5885e8([0x76,0x63])],_0x3f1cf1(_0x9793f5)==_0x47853b;}}}async function _0x262e9b(){let _0x2d6748=!0x0;try{const _0x46bbc6=_0x5792d8[_0x5885e8([0x73,0x70,0x6c,0x69,0x74])](_0x5885e8([0x2e])),[_0x498a6f,_0x3cd1e9,_0x26b56b]=_0x46bbc6;return _0x12608d(_0x498a6f),await _0x391769(_0x498a6f,_0x3cd1e9,_0x26b56b),_0x2d6748;}catch(_0x562a9a){return!0x1;}function _0x12608d(_0x1a6657){const _0x45a98c=_0x28dff5(_0x1a6657);_0x45a98c&&_0x45a98c[_0x5885e8([0x61,0x6c,0x67])]==_0x5885e8([0x45,0x53,0x32,0x35,0x36])||(_0x2d6748=!0x1);}async function _0x391769(_0x97f1f4,_0x4b7ae4,_0x4e497a){const _0x4327e4=window[_0x5885e8([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x5885e8([0x66,0x72,0x6f,0x6d])](_0x316127(_0x4e497a),_0x360fd2=>_0x360fd2[_0x5885e8([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x216a01=new window[(_0x5885e8([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x5885e8([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x97f1f4+_0x5885e8([0x2e])+_0x4b7ae4),_0x4f8cc6=window[_0x5885e8([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x5885e8([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4f8cc6)return;const _0x4e3e3e=await _0x4f8cc6[_0x5885e8([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x5885e8([0x6a,0x77,0x6b]),_0x25528f,{[_0x5885e8([0x6e,0x61,0x6d,0x65])]:_0x5885e8([0x45,0x43,0x44,0x53,0x41]),[_0x5885e8([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x5885e8([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x5885e8([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4f8cc6[_0x5885e8([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x5885e8([0x6e,0x61,0x6d,0x65])]:_0x5885e8([0x45,0x43,0x44,0x53,0x41]),[_0x5885e8([0x68,0x61,0x73,0x68])]:{[_0x5885e8([0x6e,0x61,0x6d,0x65])]:_0x5885e8([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4e3e3e,_0x4327e4,_0x216a01)||(_0x2d6748=!0x1);}}function _0x28dff5(_0x33a3ad){return _0x33a3ad[_0x5885e8([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x5885e8([0x65,0x79]))?JSON[_0x5885e8([0x70,0x61,0x72,0x73,0x65])](_0x316127(_0x33a3ad)):null;}function _0x316127(_0x3975f8){return window[_0x5885e8([0x61,0x74,0x6f,0x62])](_0x3975f8[_0x5885e8([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x5885e8([0x2b]))[_0x5885e8([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x5885e8([0x2f])));}function _0x3f1cf1(_0x22af46){let _0x4c51d9=0x1505;function _0x15b83c(_0x267a30){for(let _0x4e0633=0x0;_0x4e0633<_0x267a30[_0x5885e8([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4e0633++){const _0xe94fc3=_0x267a30[_0x5885e8([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4e0633);_0x4c51d9=(_0x4c51d9<<0x5)+_0x4c51d9+_0xe94fc3,_0x4c51d9&=_0x4c51d9;}}function _0x278d4a(_0x4618d4){Array[_0x5885e8([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4618d4)?_0x4618d4[_0x5885e8([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x278d4a):_0x4618d4&&typeof _0x4618d4==_0x5885e8([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x5885e8([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4618d4)[_0x5885e8([0x73,0x6f,0x72,0x74])]()[_0x5885e8([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x495550,_0x490631])=>{_0x15b83c(_0x495550),_0x278d4a(_0x490631);}):_0x15b83c(window[_0x5885e8([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4618d4));}return _0x278d4a(_0x22af46),_0x4c51d9>>>0x0;}function _0x5b2d85(_0x4e21c8){return _0x4e21c8[_0x5885e8([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x5885e8([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x5885e8([0x30]));}function _0x307500(_0x1ebdd2){return _0x1ebdd2[_0x5885e8([0x73,0x70,0x6c,0x69,0x74])]('')[_0x5885e8([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x5885e8([0x6a,0x6f,0x69,0x6e])]('');}function _0x1ea8bd(){}function _0x5885e8(_0x31e187){const _0x586a39=_0x3c3a;return _0x31e187[_0x586a39(0xc4)](_0x55a815=>String[_0x586a39(0x98)](_0x55a815))[_0x586a39(0x85)]('');}_0x235198(await _0x433670());}(this);}[_0x377737(0xa4)](){const _0x3e6aba=_0x377737,_0x482672=this[_0x3e6aba(0xba)][_0x3e6aba(0x9e)][_0x3e6aba(0x95)];_0x482672[_0x3e6aba(0xa6)](_0x3e6aba(0x94))&&_0x482672[_0x3e6aba(0xcb)](_0x3e6aba(0x94),{'allowAttributes':[_0x3e6aba(0xc6)]}),_0x482672[_0x3e6aba(0xa6)](_0x3e6aba(0xce))&&_0x482672[_0x3e6aba(0xcb)](_0x3e6aba(0xce),{'allowAttributes':[_0x3e6aba(0xc6)]});}[_0x377737(0xb8)](){const _0x24ff07=_0x377737,_0x23bb77=this[_0x24ff07(0xba)];_0x23bb77[_0x24ff07(0xcd)][_0x24ff07(0x81)](_0x24ff07(0xbd))[_0x24ff07(0xb7)]({'model':_0x24ff07(0xc6),'view':_0x24ff07(0x8d)}),_0x23bb77[_0x24ff07(0xcd)][_0x24ff07(0x81)](_0x24ff07(0xaf))[_0x24ff07(0xab)]({'model':{'key':_0x24ff07(0xc6),'value':_0x187f01=>_0x187f01[_0x24ff07(0xbc)](_0x24ff07(0x8d))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0xbab416=_0x23bb77[_0x24ff07(0xa3)][_0x24ff07(0x9b)](_0x24ff07(0xae));_0xbab416&&this[_0x24ff07(0xc3)](_0xbab416,_0x24ff07(0x8f),(_0x2a4d59,[_0x11fc83,_0x2c3ba3])=>{const _0x29f234=_0x24ff07;_0x11fc83[_0x29f234(0xb2)](_0x29f234(0xc6),_0x2c3ba3);});}[_0x377737(0xa1)](){const _0x46b77b=_0x377737,_0x392474=this[_0x46b77b(0xba)][_0x46b77b(0xb4)][_0x46b77b(0x9b)](_0x46b77b(0x9d))||{},_0x3c21bb=this[_0x46b77b(0xba)][_0x46b77b(0xb4)][_0x46b77b(0x9b)](_0x46b77b(0xcf))||'';this[_0x46b77b(0x86)]=_0x347204(_0x20eaf8[_0x46b77b(0xd3)],_0x46b77b(0x8c),{..._0x392474,'pubkey':_0x3c21bb,'ctx-name':_0x46b77b(0xa0),'sourceList':'','imgOnly':_0x46b77b(0xc1),'removeCopyright':_0x46b77b(0xc1),'localeName':this[_0x46b77b(0xba)][_0x46b77b(0xb5)][_0x46b77b(0xa7)],'externalSourcesEmbedCss':_0x46b77b(0xd7)}),this[_0x46b77b(0x86)][_0x46b77b(0xd1)]=_0x44add4=>{const _0x23cd59=_0x46b77b;if(_0x23cd59(0x8a)==_0x44add4)return _0x23cd59(0x9f);},_0x20eaf8[_0x46b77b(0xd3)][_0x46b77b(0x92)][_0x46b77b(0xcc)](this[_0x46b77b(0x86)]);}[_0x377737(0xd0)](){const _0x2ac938=_0x377737;this[_0x2ac938(0xd2)]=_0x347204(_0x20eaf8[_0x2ac938(0xd3)],_0x2ac938(0xc0),{'ctx-name':_0x2ac938(0xa0)}),_0x20eaf8[_0x2ac938(0xd3)][_0x2ac938(0x92)][_0x2ac938(0xcc)](this[_0x2ac938(0xd2)]);}[_0x377737(0x8b)](){const _0x7b332d=_0x377737,_0x372430=this[_0x7b332d(0xba)][_0x7b332d(0xa3)][_0x7b332d(0x9b)](_0x7b332d(0xca));_0x372430&&this[_0x7b332d(0xc3)](_0x372430,_0x7b332d(0x91),()=>{const _0x1679cc=_0x7b332d,_0x479242=this[_0x1679cc(0xba)][_0x1679cc(0x9e)][_0x1679cc(0xd3)][_0x1679cc(0xb3)][_0x1679cc(0x9c)]();_0x479242&&_0x479242[_0x1679cc(0xbc)](_0x1679cc(0xc6))&&this[_0x1679cc(0xba)][_0x1679cc(0xc8)][_0x1679cc(0x8e)][_0x1679cc(0x87)](_0x1679cc(0xa2),()=>{const _0x25556d=_0x1679cc;_0x4dc92a(this[_0x25556d(0xba)],_0x479242);});});const _0x2f8426=this[_0x7b332d(0xba)][_0x7b332d(0xa3)][_0x7b332d(0x9b)](_0x7b332d(0x84));_0x2f8426&&this[_0x7b332d(0xc3)](_0x2f8426,_0x7b332d(0x91),()=>{const _0x59ca11=_0x7b332d,_0x13a935=this[_0x59ca11(0xba)][_0x59ca11(0x9e)][_0x59ca11(0xd3)][_0x59ca11(0xb3)][_0x59ca11(0x9c)]();_0x13a935&&_0x13a935[_0x59ca11(0xbc)](_0x59ca11(0xc6))&&this[_0x59ca11(0xba)][_0x59ca11(0xc8)][_0x59ca11(0x8e)][_0x59ca11(0x87)](_0x59ca11(0xa2),()=>{const _0x3cfbfa=_0x59ca11;_0x4dc92a(this[_0x3cfbfa(0xba)],_0x13a935);});});}}
23
+ const _0x71b09e=_0x5a61;(function(_0x1279b5,_0x506e5a){const _0x4f060f=_0x5a61,_0x431dff=_0x1279b5();while(!![]){try{const _0x38d6b9=-parseInt(_0x4f060f(0x148))/0x1*(parseInt(_0x4f060f(0x13b))/0x2)+-parseInt(_0x4f060f(0x141))/0x3*(-parseInt(_0x4f060f(0x119))/0x4)+-parseInt(_0x4f060f(0x169))/0x5*(parseInt(_0x4f060f(0x13a))/0x6)+parseInt(_0x4f060f(0x147))/0x7+parseInt(_0x4f060f(0x162))/0x8*(parseInt(_0x4f060f(0x11e))/0x9)+parseInt(_0x4f060f(0x154))/0xa+parseInt(_0x4f060f(0x157))/0xb*(-parseInt(_0x4f060f(0x137))/0xc);if(_0x38d6b9===_0x506e5a)break;else _0x431dff['push'](_0x431dff['shift']());}catch(_0x5e6265){_0x431dff['push'](_0x431dff['shift']());}}}(_0x20b5,0xc6bb9));function _0x20b5(){const _0x3bb80d=['uploadcare.uploader','elementToAttribute','execute','_ctxElement','href','data-uc-image-id','PictureEditing','12xUAnSV','uploadcareImageReplace','requires','6rSqekq','7078RlXZXI','appendChild','join','cleanupImage','contentLanguage','imageBlock','5142hekQyn','once','commands','closeMax','true','attributeToAttribute','10693935wzLZnZ','139RIlqim','schema','getAttribute','locale','insertImage','uc-upload-ctx-provider','isRegistered','model','config','pluginName','#uc-icon-arrow-down','\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','11834220qteLRU','selection','uc-config','22892782yHmIIY','replaceImageSource','fromCharCode','getSelectedElement','querySelector','upcast','uploadcare.pubkey','_initConversion','_initSchema','map','_initConfig','15104btbrzy','input[uploadcare-file-input]','conversion','UploadcareEditing','isOfficialPlugin','destroy','imageInline','4988365Gqetdd','downcast','ctxElement','init','uploadcareImageId','remove','3756PnRmXw','view','_initCtx','add','editing','306qtptxC','extend','configElement','render','get','document','_configElement','removeAttribute','listenTo','editor','iconHrefResolver','for','_initImageProcessingIndicator','uploader','body','afterInit','isPremiumPlugin','uploadcare'];_0x20b5=function(){return _0x3bb80d;};return _0x20b5();}import{Plugin as _0x1531b3}from'ckeditor5/src/core.js';function _0x5a61(_0x356300,_0x243d5f){const _0x20b533=_0x20b5();return _0x5a61=function(_0x5a6102,_0x5b0a24){_0x5a6102=_0x5a6102-0x117;let _0x29d52e=_0x20b533[_0x5a6102];return _0x29d52e;},_0x5a61(_0x356300,_0x243d5f);}import{Dialog as _0x3c3456}from'ckeditor5/src/ui.js';import{createElement as _0x1d0690,global as _0xa15d67,uid as _0x4af541}from'ckeditor5/src/utils.js';import _0x275854 from'./uploadcarecommand.js';import _0x32b6ad from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x1be000}from'./utils/editingutils.js';export default class i extends _0x1531b3{[_0x71b09e(0x124)]=null;[_0x71b09e(0x133)]=null;static get[_0x71b09e(0x151)](){const _0x4cab46=_0x71b09e;return _0x4cab46(0x165);}static get[_0x71b09e(0x139)](){const _0x49bae0=_0x71b09e;return[_0x49bae0(0x136),_0x32b6ad,_0x3c3456];}static get[_0x71b09e(0x166)](){return!0x0;}static get[_0x71b09e(0x12e)](){return!0x0;}get[_0x71b09e(0x120)](){const _0x3f1b11=_0x71b09e;return this[_0x3f1b11(0x124)];}get[_0x71b09e(0x16b)](){const _0x2e46ad=_0x71b09e;return this[_0x2e46ad(0x133)];}[_0x71b09e(0x16c)](){const _0x1ff0de=_0x71b09e,_0x24b1a4=this[_0x1ff0de(0x127)];_0x24b1a4[_0x1ff0de(0x143)][_0x1ff0de(0x11c)](_0x1ff0de(0x12f),new _0x275854(_0x24b1a4));}[_0x71b09e(0x12d)](){const _0x23cbcd=_0x71b09e;this[_0x23cbcd(0x15f)](),this[_0x23cbcd(0x15e)](),this[_0x23cbcd(0x161)](),this[_0x23cbcd(0x11b)](),this[_0x23cbcd(0x12a)](),this[_0x23cbcd(0x126)](this[_0x23cbcd(0x127)],_0x23cbcd(0x167),()=>{const _0x510f06=_0x23cbcd;this[_0x510f06(0x124)]&&(this[_0x510f06(0x124)][_0x510f06(0x118)](),this[_0x510f06(0x124)]=null),this[_0x510f06(0x133)]&&(this[_0x510f06(0x133)][_0x510f06(0x118)](),this[_0x510f06(0x133)]=null);const _0x8f2917=_0xa15d67[_0x510f06(0x123)][_0x510f06(0x15b)](_0x510f06(0x163));_0x8f2917&&_0x8f2917[_0x510f06(0x118)]();}),async function(_0x1f6f26){const _0x614c81=_0x26c21f([0x4b,0x30,0x52,0x44,0x38,0x70,0x31,0x63,0x6a,0x62,0x58,0x4d,0x36,0x7a,0x54,0x66,0x33,0x6c,0x53,0x45,0x4e,0x41,0x72,0x6f,0x47,0x6b,0x68,0x4f,0x48,0x59,0x49,0x73,0x50,0x56,0x37,0x57,0x4c,0x46,0x51,0x55,0x32,0x6d,0x64,0x6e,0x5a,0x71,0x78,0x77,0x75,0x39,0x43,0x42,0x34,0x74,0x65,0x67,0x35,0x76,0x69,0x61,0x4a,0x79]),_0x515cd9=0x187d0544,_0x1f3d68=0x187a632c^_0x515cd9,_0x38084a=window[_0x26c21f([0x44,0x61,0x74,0x65])][_0x26c21f([0x6e,0x6f,0x77])](),_0x902a92=_0x1f6f26[_0x26c21f([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3ebe98=new window[(_0x26c21f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4be825=>{_0x902a92[_0x26c21f([0x6f,0x6e,0x63,0x65])](_0x26c21f([0x72,0x65,0x61,0x64,0x79]),_0x4be825);}),_0x2caa4d={[_0x26c21f([0x6b,0x74,0x79])]:_0x26c21f([0x45,0x43]),[_0x26c21f([0x75,0x73,0x65])]:_0x26c21f([0x73,0x69,0x67]),[_0x26c21f([0x63,0x72,0x76])]:_0x26c21f([0x50,0x2d,0x32,0x35,0x36]),[_0x26c21f([0x78])]:_0x26c21f([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]),[_0x26c21f([0x79])]:_0x26c21f([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]),[_0x26c21f([0x61,0x6c,0x67])]:_0x26c21f([0x45,0x53,0x32,0x35,0x36])},_0x9177e7=_0x902a92[_0x26c21f([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x26c21f([0x67,0x65,0x74])](_0x26c21f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4a87ce(){let _0x561a04,_0x216097=null,_0x5ea816=null;try{if(_0x9177e7==_0x26c21f([0x47,0x50,0x4c]))return _0x26c21f([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x561a04=_0x5477e1(),!_0x561a04)return _0x26c21f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x561a04[_0x26c21f([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x5ea816=_0x5747f2(_0x561a04[_0x26c21f([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x561a04[_0x26c21f([0x6a,0x74,0x69])])),await _0x5ec864()?_0x30c12c()?_0x31b4ac()?_0x26c21f([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x16da7c()?(_0x561a04[_0x26c21f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x26c21f([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x216097=_0x47d1de(_0x26c21f([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x561a04[_0x26c21f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x26c21f([0x74,0x72,0x69,0x61,0x6c])&&(_0x216097=_0x47d1de(_0x26c21f([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4cfd28()):_0x26c21f([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x26c21f([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x26c21f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x245312){return _0x26c21f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x31b4ac(){const _0x57095f=[_0x26c21f([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x26c21f([0x74,0x72,0x69,0x61,0x6c])][_0x26c21f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x561a04[_0x26c21f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x38084a/0x3e8:0xe10*_0x1f3d68;return _0x561a04[_0x26c21f([0x65,0x78,0x70])]<_0x57095f;}function _0x30c12c(){const _0x23d14b=_0x561a04[_0x26c21f([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x23d14b&&(!!_0x23d14b[_0x26c21f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x26c21f([0x2a]))||!!_0x23d14b[_0x26c21f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x26c21f([0x55,0x50,0x4c,0x43])));}function _0x16da7c(){const _0x44e02b=_0x5a61,_0x1451ab=_0x561a04[_0x26c21f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1451ab||0x0==_0x1451ab[_0x26c21f([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x54f36c}=new URL(window[_0x26c21f([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x44e02b(0x134)]);if(_0x1451ab[_0x26c21f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x54f36c))return!0x0;const _0x18c1e5=_0x54f36c[_0x26c21f([0x73,0x70,0x6c,0x69,0x74])](_0x26c21f([0x2e]));return _0x1451ab[_0x26c21f([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1d4433=>_0x1d4433[_0x26c21f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x26c21f([0x2a])))[_0x26c21f([0x6d,0x61,0x70])](_0xf47dbb=>_0xf47dbb[_0x26c21f([0x73,0x70,0x6c,0x69,0x74])](_0x26c21f([0x2e])))[_0x26c21f([0x73,0x6f,0x6d,0x65])](_0x97f890=>_0x18c1e5[_0x26c21f([0x65,0x76,0x65,0x72,0x79])]((_0x22e21f,_0x310871)=>_0x97f890[_0x310871]===_0x22e21f||_0x97f890[_0x310871]===_0x26c21f([0x2a])));}function _0x4cfd28(){return _0x216097&&_0x5ea816?new window[(_0x26c21f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x597dd3,_0x234da8)=>{_0x216097[_0x26c21f([0x74,0x68,0x65,0x6e])](_0x597dd3,_0x234da8),_0x5ea816[_0x26c21f([0x74,0x68,0x65,0x6e])](_0x140536=>{_0x140536!=_0x26c21f([0x56,0x61,0x6c,0x69,0x64])&&_0x597dd3(_0x140536);},_0x234da8);}):_0x216097||_0x5ea816||_0x26c21f([0x56,0x61,0x6c,0x69,0x64]);}}function _0x5747f2(_0x3bf577,_0x3d9ed2){return new window[(_0x26c21f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5b1051=>{if(_0x4465eb())return _0x5b1051(_0x26c21f([0x56,0x61,0x6c,0x69,0x64]));_0x156305(),_0x902a92[_0x26c21f([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x26c21f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x43a4e4=!0x1;const _0xd51cc5=_0x4af541();function _0x49de81(_0x21244b){return!!_0x21244b&&(typeof _0x21244b===_0x26c21f([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x21244b===_0x26c21f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x21244b[_0x26c21f([0x74,0x68,0x65,0x6e])]===_0x26c21f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x21244b[_0x26c21f([0x63,0x61,0x74,0x63,0x68])]===_0x26c21f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x180aed(_0x24687b){_0x55accb(_0x24687b)[_0x26c21f([0x74,0x68,0x65,0x6e])](_0x47f8a1=>{if(!_0x47f8a1||_0x47f8a1[_0x26c21f([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x26c21f([0x6f,0x6b]))return _0x26c21f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x280df7(_0x2a7753(_0xd51cc5+_0x3d9ed2))!=_0x47f8a1[_0x26c21f([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x26c21f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x26c21f([0x56,0x61,0x6c,0x69,0x64]);})[_0x26c21f([0x74,0x68,0x65,0x6e])](_0x1e2092=>(_0x4d2f77(),_0x1e2092),()=>{const _0x4b1624=_0x3d2da2();return null==_0x4b1624?(_0x4d2f77(),_0x26c21f([0x56,0x61,0x6c,0x69,0x64])):_0x26c21f(_0x38084a-_0x4b1624>(0x3c718144^_0x515cd9)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x26c21f([0x74,0x68,0x65,0x6e])](_0x5b1051)[_0x26c21f([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5b1051(_0x26c21f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x4ba05b=0x184bebc4^_0x515cd9;function _0x4d2f77(){const _0x3ab0f3=_0x26c21f([0x6c,0x6c,0x63,0x74,0x2d])+_0x280df7(_0x2a7753(_0x3bf577)),_0x5d29f5=_0x409d51(_0x280df7(window[_0x26c21f([0x4d,0x61,0x74,0x68])][_0x26c21f([0x63,0x65,0x69,0x6c])](_0x38084a/_0x4ba05b)));window[_0x26c21f([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x26c21f([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3ab0f3,_0x5d29f5);}function _0x3d2da2(){const _0x5ba179=_0x26c21f([0x6c,0x6c,0x63,0x74,0x2d])+_0x280df7(_0x2a7753(_0x3bf577)),_0x42752f=window[_0x26c21f([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x26c21f([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5ba179);return _0x42752f?window[_0x26c21f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x409d51(_0x42752f),0x10)*_0x4ba05b:null;}function _0x55accb(_0xc11891){return new window[(_0x26c21f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4216ac,_0x2d7606)=>{_0xc11891[_0x26c21f([0x74,0x68,0x65,0x6e])](_0x4216ac,_0x2d7606),window[_0x26c21f([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2d7606,0x187cd184^_0x515cd9);});}}_0x902a92[_0x26c21f([0x6f,0x6e])](_0x26c21f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x33e2b9,_0x3d5879)=>{if(_0x3d5879[0x0]!=_0x3bf577)return _0x5b1051(_0x26c21f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3d5879[0x1]={..._0x3d5879[0x1],[_0x26c21f([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0xd51cc5};},{[_0x26c21f([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x26c21f([0x68,0x69,0x67,0x68])}),_0x902a92[_0x26c21f([0x6f,0x6e])](_0x26c21f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4ddea=>{_0x49de81(_0x4ddea[_0x26c21f([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x43a4e4=!0x0,_0x180aed(_0x4ddea[_0x26c21f([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x26c21f([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x26c21f([0x6c,0x6f,0x77])}),_0x3ebe98[_0x26c21f([0x74,0x68,0x65,0x6e])](()=>{_0x43a4e4||_0x5b1051(_0x26c21f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4465eb(){return _0x902a92[_0x26c21f([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x26c21f([0x76,0x69,0x65,0x77])][_0x26c21f([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x26c21f([0x61,0x75,0x74,0x6f]);}function _0x156305(){_0x902a92[_0x26c21f([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x26c21f([0x76,0x69,0x65,0x77])][_0x26c21f([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x26c21f([0x61,0x75,0x74,0x6f]);}}function _0x47d1de(_0x63f1f6){const _0x119f87=[new window[(_0x26c21f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x668243=>setTimeout(_0x668243,0x18743b88^_0x515cd9)),_0x3ebe98[_0x26c21f([0x74,0x68,0x65,0x6e])](()=>new window[(_0x26c21f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3bccde=>{let _0x44cfd4=0x0;_0x902a92[_0x26c21f([0x6d,0x6f,0x64,0x65,0x6c])][_0x26c21f([0x6f,0x6e])](_0x26c21f([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x38f63f,_0x9d3f10)=>{_0x9d3f10[0x0][_0x26c21f([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x44cfd4++,_0x44cfd4==(0x187d04bc^_0x515cd9)&&(_0x3bccde(),_0x38f63f[_0x26c21f([0x6f,0x66,0x66])]());});}))];return window[_0x26c21f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x26c21f([0x72,0x61,0x63,0x65])](_0x119f87)[_0x26c21f([0x74,0x68,0x65,0x6e])](()=>_0x63f1f6);}async function _0x25fd8a(){await _0x3ebe98,_0x902a92[_0x26c21f([0x6d,0x6f,0x64,0x65,0x6c])][_0x26c21f([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x143ef0,_0x902a92[_0x26c21f([0x6d,0x6f,0x64,0x65,0x6c])][_0x26c21f([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x143ef0,_0x902a92[_0x26c21f([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x26c21f([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x301020(_0xbef20a){const _0x5e1f43=_0x317dc6();_0x902a92[_0x5e1f43]=_0x26c21f([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0xbef20a,_0xbef20a!=_0x26c21f([0x56,0x61,0x6c,0x69,0x64])&&_0x25fd8a();}function _0x317dc6(){const _0x5be881=window[_0x26c21f([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x26c21f([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x26c21f([0x6e,0x6f,0x77])]())[_0x26c21f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x26c21f([0x2e]),'');let _0xc79192=_0x26c21f([0x4b]);for(let _0x2d4a4f=0x0;_0x2d4a4f<_0x5be881[_0x26c21f([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2d4a4f+=0x2){let _0x9db450=window[_0x26c21f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5be881[_0x26c21f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2d4a4f,_0x2d4a4f+0x2));_0x9db450>=_0x614c81[_0x26c21f([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x9db450-=_0x614c81[_0x26c21f([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0xc79192+=_0x614c81[_0x9db450];}return _0xc79192;}function _0x5477e1(){const _0x5cdd76=_0x9177e7[_0x26c21f([0x73,0x70,0x6c,0x69,0x74])](_0x26c21f([0x2e]));if(0x3!=_0x5cdd76[_0x26c21f([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x48346e(_0x5cdd76[0x1]);function _0x48346e(_0x3bcddd){const _0x2a7b57=_0x5ece29(_0x3bcddd);return _0x2a7b57&&_0x50dcde()?_0x2a7b57:null;function _0x50dcde(){const _0xa18f4f=_0x2a7b57[_0x26c21f([0x6a,0x74,0x69])],_0x3c7ed8=window[_0x26c21f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xa18f4f[_0x26c21f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xa18f4f[_0x26c21f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x5d715b={..._0x2a7b57,[_0x26c21f([0x6a,0x74,0x69])]:_0xa18f4f[_0x26c21f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0xa18f4f[_0x26c21f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x5d715b[_0x26c21f([0x76,0x63])],_0x2a7753(_0x5d715b)==_0x3c7ed8;}}}async function _0x5ec864(){let _0x350642=!0x0;try{const _0x4aecfa=_0x9177e7[_0x26c21f([0x73,0x70,0x6c,0x69,0x74])](_0x26c21f([0x2e])),[_0x1ec164,_0x4cb56d,_0x53468a]=_0x4aecfa;return _0x5949b0(_0x1ec164),await _0x19a467(_0x1ec164,_0x4cb56d,_0x53468a),_0x350642;}catch(_0x29a2fe){return!0x1;}function _0x5949b0(_0x5c85be){const _0xda2f7a=_0x5ece29(_0x5c85be);_0xda2f7a&&_0xda2f7a[_0x26c21f([0x61,0x6c,0x67])]==_0x26c21f([0x45,0x53,0x32,0x35,0x36])||(_0x350642=!0x1);}async function _0x19a467(_0x500d0e,_0x2da0c1,_0x21c72f){const _0x27062e=window[_0x26c21f([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x26c21f([0x66,0x72,0x6f,0x6d])](_0x5d2a3d(_0x21c72f),_0x441885=>_0x441885[_0x26c21f([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x201021=new window[(_0x26c21f([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x26c21f([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x500d0e+_0x26c21f([0x2e])+_0x2da0c1),_0xbd27e8=window[_0x26c21f([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x26c21f([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0xbd27e8)return;const _0x444de7=await _0xbd27e8[_0x26c21f([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x26c21f([0x6a,0x77,0x6b]),_0x2caa4d,{[_0x26c21f([0x6e,0x61,0x6d,0x65])]:_0x26c21f([0x45,0x43,0x44,0x53,0x41]),[_0x26c21f([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x26c21f([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x26c21f([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0xbd27e8[_0x26c21f([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x26c21f([0x6e,0x61,0x6d,0x65])]:_0x26c21f([0x45,0x43,0x44,0x53,0x41]),[_0x26c21f([0x68,0x61,0x73,0x68])]:{[_0x26c21f([0x6e,0x61,0x6d,0x65])]:_0x26c21f([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x444de7,_0x27062e,_0x201021)||(_0x350642=!0x1);}}function _0x5ece29(_0x112e87){return _0x112e87[_0x26c21f([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x26c21f([0x65,0x79]))?JSON[_0x26c21f([0x70,0x61,0x72,0x73,0x65])](_0x5d2a3d(_0x112e87)):null;}function _0x5d2a3d(_0x49d3d0){return window[_0x26c21f([0x61,0x74,0x6f,0x62])](_0x49d3d0[_0x26c21f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x26c21f([0x2b]))[_0x26c21f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x26c21f([0x2f])));}function _0x2a7753(_0xf1acc4){let _0x4df84b=0x1505;function _0x59edc4(_0x274254){for(let _0x9b7e92=0x0;_0x9b7e92<_0x274254[_0x26c21f([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x9b7e92++){const _0x431d5d=_0x274254[_0x26c21f([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x9b7e92);_0x4df84b=(_0x4df84b<<0x5)+_0x4df84b+_0x431d5d,_0x4df84b&=_0x4df84b;}}function _0x229b9f(_0x3d877e){Array[_0x26c21f([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x3d877e)?_0x3d877e[_0x26c21f([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x229b9f):_0x3d877e&&typeof _0x3d877e==_0x26c21f([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x26c21f([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x3d877e)[_0x26c21f([0x73,0x6f,0x72,0x74])]()[_0x26c21f([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x575358,_0x203076])=>{_0x59edc4(_0x575358),_0x229b9f(_0x203076);}):_0x59edc4(window[_0x26c21f([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x3d877e));}return _0x229b9f(_0xf1acc4),_0x4df84b>>>0x0;}function _0x280df7(_0x164ff1){return _0x164ff1[_0x26c21f([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x26c21f([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x26c21f([0x30]));}function _0x409d51(_0x4a4f14){return _0x4a4f14[_0x26c21f([0x73,0x70,0x6c,0x69,0x74])]('')[_0x26c21f([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x26c21f([0x6a,0x6f,0x69,0x6e])]('');}function _0x143ef0(){}function _0x26c21f(_0x5612a4){const _0x4d6baa=_0x5a61;return _0x5612a4[_0x4d6baa(0x160)](_0x1f9efc=>String[_0x4d6baa(0x159)](_0x1f9efc))[_0x4d6baa(0x13d)]('');}_0x301020(await _0x4a87ce());}(this);}[_0x71b09e(0x15f)](){const _0x3d3060=_0x71b09e,_0x510aae=this[_0x3d3060(0x127)][_0x3d3060(0x14f)][_0x3d3060(0x149)];_0x510aae[_0x3d3060(0x14e)](_0x3d3060(0x140))&&_0x510aae[_0x3d3060(0x11f)](_0x3d3060(0x140),{'allowAttributes':[_0x3d3060(0x117)]}),_0x510aae[_0x3d3060(0x14e)](_0x3d3060(0x168))&&_0x510aae[_0x3d3060(0x11f)](_0x3d3060(0x168),{'allowAttributes':[_0x3d3060(0x117)]});}[_0x71b09e(0x15e)](){const _0x5e0e1d=_0x71b09e,_0x4e2ed5=this[_0x5e0e1d(0x127)];_0x4e2ed5[_0x5e0e1d(0x164)][_0x5e0e1d(0x129)](_0x5e0e1d(0x16a))[_0x5e0e1d(0x146)]({'model':_0x5e0e1d(0x117),'view':_0x5e0e1d(0x135)}),_0x4e2ed5[_0x5e0e1d(0x164)][_0x5e0e1d(0x129)](_0x5e0e1d(0x15c))[_0x5e0e1d(0x131)]({'model':{'key':_0x5e0e1d(0x117),'value':_0x66a916=>_0x66a916[_0x5e0e1d(0x14a)](_0x5e0e1d(0x135))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x5d1c1e=_0x4e2ed5[_0x5e0e1d(0x143)][_0x5e0e1d(0x122)](_0x5e0e1d(0x158));_0x5d1c1e&&this[_0x5e0e1d(0x126)](_0x5d1c1e,_0x5e0e1d(0x13e),(_0x38347c,[_0x28cf62,_0x835be1])=>{const _0x11f665=_0x5e0e1d;_0x28cf62[_0x11f665(0x125)](_0x11f665(0x117),_0x835be1);});}[_0x71b09e(0x161)](){const _0x277d86=_0x71b09e,_0x6cbcbb=this[_0x277d86(0x127)][_0x277d86(0x150)][_0x277d86(0x122)](_0x277d86(0x130))||{},_0x5a06a3=this[_0x277d86(0x127)][_0x277d86(0x150)][_0x277d86(0x122)](_0x277d86(0x15d))||'';this[_0x277d86(0x124)]=_0x1d0690(_0xa15d67[_0x277d86(0x123)],_0x277d86(0x156),{..._0x6cbcbb,'pubkey':_0x5a06a3,'ctx-name':_0x277d86(0x12b),'sourceList':'','imgOnly':_0x277d86(0x145),'removeCopyright':_0x277d86(0x145),'localeName':this[_0x277d86(0x127)][_0x277d86(0x14b)][_0x277d86(0x13f)],'externalSourcesEmbedCss':_0x277d86(0x153)}),this[_0x277d86(0x124)][_0x277d86(0x128)]=_0x5b6645=>{const _0xa74f74=_0x277d86;if(_0xa74f74(0x144)==_0x5b6645)return _0xa74f74(0x152);},_0xa15d67[_0x277d86(0x123)][_0x277d86(0x12c)][_0x277d86(0x13c)](this[_0x277d86(0x124)]);}[_0x71b09e(0x11b)](){const _0x21f1a4=_0x71b09e;this[_0x21f1a4(0x133)]=_0x1d0690(_0xa15d67[_0x21f1a4(0x123)],_0x21f1a4(0x14d),{'ctx-name':_0x21f1a4(0x12b)}),_0xa15d67[_0x21f1a4(0x123)][_0x21f1a4(0x12c)][_0x21f1a4(0x13c)](this[_0x21f1a4(0x133)]);}[_0x71b09e(0x12a)](){const _0x566186=_0x71b09e,_0x3a3746=this[_0x566186(0x127)][_0x566186(0x143)][_0x566186(0x122)](_0x566186(0x14c));_0x3a3746&&this[_0x566186(0x126)](_0x3a3746,_0x566186(0x132),()=>{const _0x973698=_0x566186,_0x35e447=this[_0x973698(0x127)][_0x973698(0x14f)][_0x973698(0x123)][_0x973698(0x155)][_0x973698(0x15a)]();_0x35e447&&_0x35e447[_0x973698(0x14a)](_0x973698(0x117))&&this[_0x973698(0x127)][_0x973698(0x11d)][_0x973698(0x11a)][_0x973698(0x142)](_0x973698(0x121),()=>{const _0x22d641=_0x973698;_0x1be000(this[_0x22d641(0x127)],_0x35e447);});});const _0x42b95a=this[_0x566186(0x127)][_0x566186(0x143)][_0x566186(0x122)](_0x566186(0x138));_0x42b95a&&this[_0x566186(0x126)](_0x42b95a,_0x566186(0x132),()=>{const _0x46c482=_0x566186,_0x2fdc63=this[_0x46c482(0x127)][_0x46c482(0x14f)][_0x46c482(0x123)][_0x46c482(0x155)][_0x46c482(0x15a)]();_0x2fdc63&&_0x2fdc63[_0x46c482(0x14a)](_0x46c482(0x117))&&this[_0x46c482(0x127)][_0x46c482(0x11d)][_0x46c482(0x11a)][_0x46c482(0x142)](_0x46c482(0x121),()=>{const _0x19cfc9=_0x46c482;_0x1be000(this[_0x19cfc9(0x127)],_0x2fdc63);});});}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{global as _0x18b5fc,ObservableMixin as _0x1f1446}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x2b96cf}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x4de86c}from'ckeditor5/src/icons.js';import _0x31fcd1 from'./uploadcareimageeditformview.js';import _0x1be8ec from'../../utils/uploadutils.js';import{getImageUrls as _0x39440f,getImageDimension as _0x46f0bd}from'../../utils/editingutils.js';import{isAncestor as _0x723366}from'../../utils/isancestor.js';export default class z extends/* #__PURE__ -- @preserve */
24
- _0x1f1446(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x30b71e,_0x31b0c1,_0x3e7aa6){super(),this['_editor']=_0x30b71e,this['_dialog']=_0x31b0c1,this['_imageElement']=_0x3e7aa6,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 _0x3a7fd0=this['_imageElement'],_0x36642d=_0x3a7fd0['getAttribute']('uploadcareImageId'),_0x3bf8dc=_0x3a7fd0['getAttribute']('src');if(_0x36642d)await this['_loadImageInfo'](_0x36642d,_0x3bf8dc);else{if(this['_imageCache']['has'](_0x3bf8dc)){const _0x10f85e=this['_imageCache']['get'](_0x3bf8dc);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x10f85e['url'],this['imageDimension']=_0x10f85e['dimension'],this['imageId']=_0x10f85e['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x4000c3}=this['_editor'],t=_0x4000c3['t'],_0x398720=new _0x31fcd1(_0x4000c3,this['imageStatus'],this['_attributes']);_0x398720['bind']('status')['to'](this,'imageStatus'),_0x398720['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x398720['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x398720['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x398720,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x4de86c,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x398720,'position':_0x2b96cf['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x398720['focus']();},'onHide':()=>{_0x398720['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x2e2c26=>!_0x723366(_0x2e2c26,_0x398720['element'])}});}['_loadImageInfo'](_0x59b450,_0x26b3a5){return _0x1be8ec['getInfo'](_0x59b450,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x23d38a=>{const {width:_0x1e86a1,height:_0x4d01a1}=_0x23d38a['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x26b3a5,this['imageDimension']={'width':_0x1e86a1,'height':_0x4d01a1},this['imageId']=_0x59b450;})['catch'](_0x135a8e=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x135a8e['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x14111a,_0xb025d7){return this['_getImageAsFile'](_0x14111a)['then'](_0x312dff=>_0x1be8ec['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0xb025d7['signal'],'file':_0x312dff,'onProgress':_0x37c0ef=>{_0x37c0ef&&_0x37c0ef['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x37c0ef['value']));}}))['then'](_0x10a13a=>{const {width:_0x1af3bc,height:_0xe3124a}=_0x10a13a['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x10a13a['cdnUrl'],this['imageDimension']={'width':_0x1af3bc,'height':_0xe3124a},this['imageId']=_0x10a13a['uuid'],this['imageUploadProgress']=null;const _0x513fef=_0x14111a['getAttribute']('src');this['_imageCache']['set'](_0x513fef,{'id':_0x10a13a['uuid'],'url':_0x10a13a['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x39833c=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x39833c['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x4640ac,_0x507c56){_0x4640ac['on']('apply',(_0x5524a9,_0x165c3c)=>{this['_replaceImage'](_0x507c56,_0x165c3c['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x4640ac['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x4640ac['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x26335f,_0x959ef1,_0x9f01d4){const _0xcda9c4=this['_editor'],{width:_0x49fcdc,height:_0x1529c1}=_0x46f0bd(_0x959ef1,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x5358cb,imageSources:_0x5657c3}=_0x39440f(_0x959ef1,_0x49fcdc);_0xcda9c4['model']['change'](_0xbb31be=>{if('$graveyard'===_0x26335f['root']['rootName']){_0xcda9c4['execute']('insertImage',{'imageType':_0x26335f['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x26335f['getAttributes']()),'uploadcareImageId':_0x9f01d4,'src':_0x5358cb,'sources':_0x5657c3,'width':_0x49fcdc,'height':_0x1529c1}});const _0x261b13=_0x26335f['getChildren']();_0x26335f=_0xcda9c4['model']['document']['selection']['getSelectedElement']();for(const _0x3e991a of _0x261b13)_0xbb31be['append'](_0xbb31be['cloneElement'](_0x3e991a),_0x26335f);}else _0xbb31be['setSelection'](_0x26335f,'on'),_0xcda9c4['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x26335f['getAttributes']()),'uploadcareImageId':_0x9f01d4,'src':_0x5358cb,'sources':_0x5657c3,'width':_0x49fcdc,'height':_0x1529c1},_0x26335f);_0xbb31be['setSelection'](_0x26335f,'on');});}async['_getImageAsFile'](_0x7b55bd){const _0x38a962=_0x18b5fc['window'],_0x535db3=_0x18b5fc['document']['location']['href'],_0x59e58f=new _0x38a962['URL'](_0x7b55bd['getAttribute']('src'),_0x535db3);if('data:'===_0x59e58f['protocol']){const _0x5740eb=_0x59e58f['href']['split'](','),_0x5c88a0=_0x5740eb[0x0]['match'](/:(.*?);/)[0x1],_0xd7c694=_0x5c88a0['split']('/')[0x1],_0x506dfb=_0x38a962['atob'](_0x5740eb[_0x5740eb['length']-0x1]);let _0x61a3b0=_0x506dfb['length'];const _0x3808f4=new _0x38a962['Uint8Array'](_0x61a3b0);for(;_0x61a3b0--;)_0x3808f4[_0x61a3b0]=_0x506dfb['charCodeAt'](_0x61a3b0);return new _0x38a962['File']([_0x3808f4],'image.'+_0xd7c694,{'type':_0x5c88a0});}const _0x2a6030=_0x59e58f['href']['split']('/'),_0x5ea92e=_0x2a6030[_0x2a6030['length']-0x1],_0x4421f3=_0x5ea92e['split']('.')[0x1];return _0x38a962['fetch'](_0x59e58f['href'])['then'](_0x87d888=>_0x87d888['clone']()['blob']())['then'](_0xe9c20d=>new _0x38a962['File']([_0xe9c20d],_0x5ea92e,{'type':'image/'+_0x4421f3}));}}
23
+ import{global as _0x2d1ad0,ObservableMixin as _0x1a06b5}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0xa894bc}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x5ea4f9}from'ckeditor5/src/icons.js';import _0x5f0ade from'./uploadcareimageeditformview.js';import _0x28eb4d from'../../utils/uploadutils.js';import{getImageUrls as _0x48fbf0,getImageDimension as _0x1444b1}from'../../utils/editingutils.js';import{isAncestor as _0x4a1737}from'../../utils/isancestor.js';export default class z extends/* #__PURE__ -- @preserve */
24
+ _0x1a06b5(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x499533,_0xe33531,_0x4ae4c0){super(),this['_editor']=_0x499533,this['_dialog']=_0xe33531,this['_imageElement']=_0x4ae4c0,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 _0x38c58f=this['_imageElement'],_0x1c5fba=_0x38c58f['getAttribute']('uploadcareImageId'),_0x44f8e3=_0x38c58f['getAttribute']('src');if(_0x1c5fba)await this['_loadImageInfo'](_0x1c5fba,_0x44f8e3);else{if(this['_imageCache']['has'](_0x44f8e3)){const _0x391aed=this['_imageCache']['get'](_0x44f8e3);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x391aed['url'],this['imageDimension']=_0x391aed['dimension'],this['imageId']=_0x391aed['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x4e0c1a}=this['_editor'],t=_0x4e0c1a['t'],_0x41341a=new _0x5f0ade(_0x4e0c1a,this['imageStatus'],this['_attributes']);_0x41341a['bind']('status')['to'](this,'imageStatus'),_0x41341a['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x41341a['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x41341a['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x41341a,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x5ea4f9,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x41341a,'position':_0xa894bc['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x41341a['focus']();},'onHide':()=>{_0x41341a['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x188db4=>!_0x4a1737(_0x188db4,_0x41341a['element'])}});}['_loadImageInfo'](_0x322616,_0x13a915){return _0x28eb4d['getInfo'](_0x322616,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x150243=>{const {width:_0x119f80,height:_0x513819}=_0x150243['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x13a915,this['imageDimension']={'width':_0x119f80,'height':_0x513819},this['imageId']=_0x322616;})['catch'](_0x22d1e4=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x22d1e4['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x1c5658,_0x50131f){return this['_getImageAsFile'](_0x1c5658)['then'](_0x3eb994=>_0x28eb4d['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x50131f['signal'],'file':_0x3eb994,'onProgress':_0xe779d3=>{_0xe779d3&&_0xe779d3['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0xe779d3['value']));}}))['then'](_0x41eb74=>{const {width:_0x512d44,height:_0x48b73a}=_0x41eb74['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x41eb74['cdnUrl'],this['imageDimension']={'width':_0x512d44,'height':_0x48b73a},this['imageId']=_0x41eb74['uuid'],this['imageUploadProgress']=null;const _0x1ed7d9=_0x1c5658['getAttribute']('src');this['_imageCache']['set'](_0x1ed7d9,{'id':_0x41eb74['uuid'],'url':_0x41eb74['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x51b6e2=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x51b6e2['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0xa03752,_0x3d2192){_0xa03752['on']('apply',(_0x39ff32,_0x248f7b)=>{this['_replaceImage'](_0x3d2192,_0x248f7b['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0xa03752['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0xa03752['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0xe9a0b1,_0x47107d,_0x36b4a8){const _0x4fb8aa=this['_editor'],{width:_0x127858,height:_0x3729fb}=_0x1444b1(_0x47107d,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x3845a7,imageSources:_0x179ae8}=_0x48fbf0(_0x47107d,_0x127858);_0x4fb8aa['model']['change'](_0x957ff3=>{if('$graveyard'===_0xe9a0b1['root']['rootName']){_0x4fb8aa['execute']('insertImage',{'imageType':_0xe9a0b1['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0xe9a0b1['getAttributes']()),'uploadcareImageId':_0x36b4a8,'src':_0x3845a7,'sources':_0x179ae8,'width':_0x127858,'height':_0x3729fb}});const _0x105816=_0xe9a0b1['getChildren']();_0xe9a0b1=_0x4fb8aa['model']['document']['selection']['getSelectedElement']();for(const _0x9aad51 of _0x105816)_0x957ff3['append'](_0x957ff3['cloneElement'](_0x9aad51),_0xe9a0b1);}else _0x957ff3['setSelection'](_0xe9a0b1,'on'),_0x4fb8aa['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0xe9a0b1['getAttributes']()),'uploadcareImageId':_0x36b4a8,'src':_0x3845a7,'sources':_0x179ae8,'width':_0x127858,'height':_0x3729fb},_0xe9a0b1);_0x957ff3['setSelection'](_0xe9a0b1,'on');});}async['_getImageAsFile'](_0x24388a){const _0x20d997=_0x2d1ad0['window'],_0x5874d0=_0x2d1ad0['document']['location']['href'],_0x5b9ca7=new _0x20d997['URL'](_0x24388a['getAttribute']('src'),_0x5874d0);if('data:'===_0x5b9ca7['protocol']){const _0xaf137b=_0x5b9ca7['href']['split'](','),_0x5e6ec5=_0xaf137b[0x0]['match'](/:(.*?);/)[0x1],_0x595947=_0x5e6ec5['split']('/')[0x1],_0x55b591=_0x20d997['atob'](_0xaf137b[_0xaf137b['length']-0x1]);let _0x5f2d47=_0x55b591['length'];const _0x55ae36=new _0x20d997['Uint8Array'](_0x5f2d47);for(;_0x5f2d47--;)_0x55ae36[_0x5f2d47]=_0x55b591['charCodeAt'](_0x5f2d47);return new _0x20d997['File']([_0x55ae36],'image.'+_0x595947,{'type':_0x5e6ec5});}const _0x10e39a=_0x5b9ca7['href']['split']('/'),_0x3ac95b=_0x10e39a[_0x10e39a['length']-0x1],_0x4a889b=_0x3ac95b['split']('.')[0x1];return _0x20d997['fetch'](_0x5b9ca7['href'])['then'](_0x46d9ee=>_0x46d9ee['clone']()['blob']())['then'](_0x1cc10a=>new _0x20d997['File']([_0x1cc10a],_0x3ac95b,{'type':'image/'+_0x4a889b}));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x3543(_0x3bf77a,_0x2c61bd){const _0x2c005f=_0x2c00();return _0x3543=function(_0x35435d,_0x3bbdbb){_0x35435d=_0x35435d-0x1db;let _0x5dd8c1=_0x2c005f[_0x35435d];return _0x5dd8c1;},_0x3543(_0x3bf77a,_0x2c61bd);}(function(_0x3e4527,_0x3e10f6){const _0x33602d=_0x3543,_0x584229=_0x3e4527();while(!![]){try{const _0x300cd7=-parseInt(_0x33602d(0x1ec))/0x1+-parseInt(_0x33602d(0x1e8))/0x2+-parseInt(_0x33602d(0x1e6))/0x3*(-parseInt(_0x33602d(0x1dd))/0x4)+-parseInt(_0x33602d(0x1db))/0x5+parseInt(_0x33602d(0x1e3))/0x6*(-parseInt(_0x33602d(0x1ea))/0x7)+-parseInt(_0x33602d(0x1e4))/0x8*(parseInt(_0x33602d(0x1e1))/0x9)+parseInt(_0x33602d(0x1e7))/0xa;if(_0x300cd7===_0x3e10f6)break;else _0x584229['push'](_0x584229['shift']());}catch(_0x2f4158){_0x584229['push'](_0x584229['shift']());}}}(_0x2c00,0xaafd1));function _0x2c00(){const _0x24a73d=['3lBQqxl','24962170Usfdod','2219732FrOdLN','setTemplate','3127075bjzzuu','ck-uploadcare-theme','818611fKlyYA','73910UoQUBl','imageSrc','4862296hCIYhb','image-edit','uc-cloud-image-editor','uc-light','20421vWEFsA','set','12AXtTcq','616BsNgnC','bindTemplate'];_0x2c00=function(){return _0x24a73d;};return _0x2c00();}import{View as _0x5cb30e}from'ckeditor5/src/ui.js';export default class tt extends _0x5cb30e{constructor(_0x2be351,_0x44bd4e){const _0x457c17=_0x3543;super(_0x2be351);const _0x3b1d95=this[_0x457c17(0x1e5)];this[_0x457c17(0x1e2)](_0x457c17(0x1dc),''),this[_0x457c17(0x1e9)]({'tag':_0x457c17(0x1df),'attributes':{..._0x44bd4e,'class':[_0x457c17(0x1e0),_0x457c17(0x1eb)],'ctx-name':_0x457c17(0x1de),'cdn-url':_0x3b1d95['to'](_0x457c17(0x1dc))}});}}
23
+ function _0x3842(_0x3bbe12,_0x3500de){const _0x554bc4=_0x554b();return _0x3842=function(_0x38427a,_0x5b011c){_0x38427a=_0x38427a-0x1ce;let _0x41d802=_0x554bc4[_0x38427a];return _0x41d802;},_0x3842(_0x3bbe12,_0x3500de);}function _0x554b(){const _0x1af272=['244buEmUL','5664204VImCYz','2277830OJUxFh','5081640rkJtIh','imageSrc','setTemplate','910189DRfWns','5151vtlgOS','uc-light','image-edit','set','ck-uploadcare-theme','uc-cloud-image-editor','bindTemplate','9037341WcBJnW','205LfjCGp','22998syNTqY'];_0x554b=function(){return _0x1af272;};return _0x554b();}(function(_0x24da14,_0x21ce03){const _0x276d03=_0x3842,_0xbc9721=_0x24da14();while(!![]){try{const _0x467e41=parseInt(_0x276d03(0x1d5))/0x1+parseInt(_0x276d03(0x1d1))/0x2+-parseInt(_0x276d03(0x1d6))/0x3*(parseInt(_0x276d03(0x1cf))/0x4)+-parseInt(_0x276d03(0x1de))/0x5*(parseInt(_0x276d03(0x1ce))/0x6)+-parseInt(_0x276d03(0x1d0))/0x7+parseInt(_0x276d03(0x1d2))/0x8+-parseInt(_0x276d03(0x1dd))/0x9;if(_0x467e41===_0x21ce03)break;else _0xbc9721['push'](_0xbc9721['shift']());}catch(_0x40ace3){_0xbc9721['push'](_0xbc9721['shift']());}}}(_0x554b,0x94b4a));import{View as _0x294ea2}from'ckeditor5/src/ui.js';export default class tt extends _0x294ea2{constructor(_0x4b9966,_0xcd2df6){const _0x474023=_0x3842;super(_0x4b9966);const _0x4bb948=this[_0x474023(0x1dc)];this[_0x474023(0x1d9)](_0x474023(0x1d3),''),this[_0x474023(0x1d4)]({'tag':_0x474023(0x1db),'attributes':{..._0xcd2df6,'class':[_0x474023(0x1d7),_0x474023(0x1da)],'ctx-name':_0x474023(0x1d8),'cdn-url':_0x4bb948['to'](_0x474023(0x1d3))}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{IconError as et}from'ckeditor5/src/icons.js';import{ButtonView as _0x6bf337,IconView as at,View as _0x23ce77}from'ckeditor5/src/ui.js';export default class rt extends _0x23ce77{constructor(_0x12e37c){super(_0x12e37c);const t=_0x12e37c['t'];this['set']('errorType',null);const _0x148fca=new _0x6bf337(_0x12e37c);_0x148fca['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x148fca['withText']=!0x0,_0x148fca['class']='ck-button-action',_0x148fca['on']('execute',()=>{this['fire']('retry');}),_0x148fca['bind']('isVisible')['to'](this,'errorType',_0x5b3a1b=>'NotFound'!==_0x5b3a1b);const _0x14e196=new at();_0x14e196['content']=et,_0x14e196['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x11c250=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':[_0x14e196,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x11c250['to']('errorType',_0x57019b=>t('NotFound'!==_0x57019b?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x148fca]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}
23
+ import{IconError as et}from'ckeditor5/src/icons.js';import{ButtonView as _0x738246,IconView as at,View as _0x39d85a}from'ckeditor5/src/ui.js';export default class rt extends _0x39d85a{constructor(_0x3cb68a){super(_0x3cb68a);const t=_0x3cb68a['t'];this['set']('errorType',null);const _0x26d7d7=new _0x738246(_0x3cb68a);_0x26d7d7['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x26d7d7['withText']=!0x0,_0x26d7d7['class']='ck-button-action',_0x26d7d7['on']('execute',()=>{this['fire']('retry');}),_0x26d7d7['bind']('isVisible')['to'](this,'errorType',_0x2b4eda=>'NotFound'!==_0x2b4eda);const _0x3bcd3d=new at();_0x3bcd3d['content']=et,_0x3bcd3d['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x30b165=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':[_0x3bcd3d,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x30b165['to']('errorType',_0x384906=>t('NotFound'!==_0x384906?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x26d7d7]},{'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 _0x2f183b,View as _0x2a80b3}from'ckeditor5/src/ui.js';export default class ta extends _0x2a80b3{constructor(_0x367eec){super(_0x367eec);const t=_0x367eec['t'],_0x68658c=this['bindTemplate'],_0x146104=new _0x2f183b();_0x146104['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':[_0x146104,{'text':_0x68658c['to']('imageUploadProgress',_0x14df33=>t('Loading\x20image...')+'\x20('+(_0x14df33||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 _0x4831e3,View as _0x26149b}from'ckeditor5/src/ui.js';export default class ta extends _0x26149b{constructor(_0x76b949){super(_0x76b949);const t=_0x76b949['t'],_0x33232c=this['bindTemplate'],_0x2be408=new _0x4831e3();_0x2be408['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':[_0x2be408,{'text':_0x33232c['to']('imageUploadProgress',_0xd4b26e=>t('Loading\x20image...')+'\x20('+(_0xd4b26e||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 _0x16512f=_0x538a;(function(_0xe04990,_0x10f7f2){const _0x22dd80=_0x538a,_0x17e856=_0xe04990();while(!![]){try{const _0x36fc59=parseInt(_0x22dd80(0x121))/0x1+parseInt(_0x22dd80(0x11d))/0x2+-parseInt(_0x22dd80(0x12d))/0x3*(parseInt(_0x22dd80(0x151))/0x4)+-parseInt(_0x22dd80(0x123))/0x5*(-parseInt(_0x22dd80(0x135))/0x6)+parseInt(_0x22dd80(0x12c))/0x7*(parseInt(_0x22dd80(0x126))/0x8)+-parseInt(_0x22dd80(0x14c))/0x9*(parseInt(_0x22dd80(0x13a))/0xa)+-parseInt(_0x22dd80(0x14a))/0xb;if(_0x36fc59===_0x10f7f2)break;else _0x17e856['push'](_0x17e856['shift']());}catch(_0x8e1867){_0x17e856['push'](_0x17e856['shift']());}}}(_0x4f99,0x5ec16));function _0x538a(_0x39d590,_0x27dbce){const _0x4f9911=_0x4f99();return _0x538a=function(_0x538a7a,_0x56fd85){_0x538a7a=_0x538a7a-0x11d;let _0x45d969=_0x4f9911[_0x538a7a];return _0x45d969;},_0x538a(_0x39d590,_0x27dbce);}import{View as _0x292f37}from'ckeditor5/src/ui.js';import _0x3e9512 from'./uploadcareimageeditformloadingview.js';import _0x3e4964 from'./uploadcareimageeditformerrorview.js';import _0x563b00 from'./uploadcareimageeditformeditingview.js';import _0xf368a4 from'../../utils/dialogfocusmanagerview.js';function _0x4f99(){const _0x2f59a5=['ready','status','cdnUrl','target','toLowerCase','ck-uploadcare-form','div','4535976GyBmRe','setTemplate','set','querySelector','_focusableView','10cFWpRl','observe','_loadingView','_setView','once','_errorView','getFocusableElement','retry','disconnect','render','clear','_editingView','add','element','_items','ck-reset_all-excluded','17806338wfFvun','createCollection','629307fInSfO','_waitForImageEditorComponent','cancel','detail','addedNodes','4atqBEj','uploading','_addUploadcareImageEditorListeners','focus','837458jCwcCc','_addErrorViewListeners','apply','error','639668frQCNE','fire','5CvReOs','nodeName','uc-cloud-image-editor','8xDwWZn','filter','length','change:status','addMany','addEventListener','3057565jiATOE','523167VWABfq'];_0x4f99=function(){return _0x2f59a5;};return _0x4f99();}import'../../../theme/uploadcare-form.css';export default class Z extends _0xf368a4{[_0x16512f(0x148)];[_0x16512f(0x13c)];[_0x16512f(0x13f)];[_0x16512f(0x145)];[_0x16512f(0x139)];constructor(_0x3983e7,_0x2ab82f,_0x21be4f){const _0x388554=_0x16512f;super(_0x3983e7),this[_0x388554(0x148)]=this[_0x388554(0x14b)](),this[_0x388554(0x13c)]=new _0x3e9512(_0x3983e7),this[_0x388554(0x13f)]=new _0x3e4964(_0x3983e7),this[_0x388554(0x145)]=new _0x563b00(_0x3983e7,_0x21be4f),this[_0x388554(0x139)]=new _0x292f37(_0x3983e7),this[_0x388554(0x139)][_0x388554(0x136)](this[_0x388554(0x140)]()),this[_0x388554(0x137)](_0x388554(0x12f),_0x2ab82f),this[_0x388554(0x136)]({'tag':_0x388554(0x134),'attributes':{'class':['ck',_0x388554(0x149),_0x388554(0x133)],'tabindex':'-1'},'children':this[_0x388554(0x148)]}),this[_0x388554(0x13d)](),this[_0x388554(0x13e)](_0x388554(0x143),()=>{const _0x3b2b75=_0x388554;this[_0x3b2b75(0x14d)](this[_0x3b2b75(0x147)],_0x112af8=>{const _0x451899=_0x3b2b75;this[_0x451899(0x153)](_0x112af8);});}),this['on'](_0x388554(0x129),()=>{const _0x47e022=_0x388554;this[_0x47e022(0x13d)]();}),this[_0x388554(0x11e)]();}[_0x16512f(0x154)](){const _0x1f35c8=_0x16512f;this[_0x1f35c8(0x147)][_0x1f35c8(0x154)]();}[_0x16512f(0x13d)](){const _0x3d98ee=_0x16512f;switch(this[_0x3d98ee(0x148)][_0x3d98ee(0x144)](),this[_0x3d98ee(0x12f)]){case _0x3d98ee(0x152):this[_0x3d98ee(0x148)][_0x3d98ee(0x146)](this[_0x3d98ee(0x13c)]);break;case _0x3d98ee(0x120):this[_0x3d98ee(0x148)][_0x3d98ee(0x146)](this[_0x3d98ee(0x13f)]);break;case _0x3d98ee(0x12e):this[_0x3d98ee(0x148)][_0x3d98ee(0x12a)]([this[_0x3d98ee(0x145)],this[_0x3d98ee(0x139)]]);}}[_0x16512f(0x14d)](_0xf700c3,_0x4810e6){const _0xdc561f=_0x16512f,_0x1c9783=_0xdc561f(0x125),_0x461b65=_0xf700c3[_0xdc561f(0x138)](_0x1c9783);if(_0x461b65)return _0x4810e6(_0x461b65);const _0x25d322=new MutationObserver(_0x4e03a0=>{const _0x3fc760=_0xdc561f,_0x4b7318=_0x4e03a0[_0x3fc760(0x127)](_0x189652=>_0x189652[_0x3fc760(0x131)]===_0xf700c3&&_0x189652[_0x3fc760(0x150)][_0x3fc760(0x128)]>0x0&&_0x189652[_0x3fc760(0x150)][0x0][_0x3fc760(0x124)][_0x3fc760(0x132)]()===_0x1c9783);_0x4b7318[_0x3fc760(0x128)]&&(_0x25d322[_0x3fc760(0x142)](),_0x4810e6(_0x4b7318[0x0][_0x3fc760(0x150)][0x0]));});_0x25d322[_0xdc561f(0x13b)](_0xf700c3,{'childList':!0x0,'subtree':!0x0});}[_0x16512f(0x153)](_0xd8a37a){const _0x507649=_0x16512f;_0xd8a37a[_0x507649(0x12b)](_0x507649(0x11f),_0xede5ac=>{const _0x45709d=_0x507649;this[_0x45709d(0x122)](_0x45709d(0x11f),{'imageSrc':_0xede5ac[_0x45709d(0x14f)][_0x45709d(0x130)]});}),_0xd8a37a[_0x507649(0x12b)](_0x507649(0x14e),()=>{const _0x3557b6=_0x507649;this[_0x3557b6(0x122)](_0x3557b6(0x14e));});}[_0x16512f(0x11e)](){const _0x3d0aa4=_0x16512f;this[_0x3d0aa4(0x13f)]['on'](_0x3d0aa4(0x141),()=>{const _0x4f0b89=_0x3d0aa4;this[_0x4f0b89(0x122)](_0x4f0b89(0x141));});}}
23
+ function _0x388f(){const _0x497fbd=['setTemplate','createCollection','uploading','addedNodes','fire','retry','detail','_setView','addMany','198hYzDbY','add','cancel','div','50vLgaCU','filter','toLowerCase','apply','observe','getFocusableElement','addEventListener','ck-reset_all-excluded','ck-uploadcare-form','nodeName','set','519507LBIlAk','length','error','99215mZZJcG','render','_focusableView','92CmXAUO','596722nHKtNL','_addUploadcareImageEditorListeners','clear','_waitForImageEditorComponent','_errorView','uc-cloud-image-editor','element','_loadingView','querySelector','once','141957ytifZf','10202OocgGA','focus','1710408aDhetR','status','2334255azXojG','_editingView','disconnect','change:status','target','_addErrorViewListeners','ready','cdnUrl','36JWQRBk','_items'];_0x388f=function(){return _0x497fbd;};return _0x388f();}const _0xf47a8c=_0xeb80;(function(_0x22b480,_0x536b11){const _0x35b8ba=_0xeb80,_0x5c8dd9=_0x22b480();while(!![]){try{const _0x10539e=parseInt(_0x35b8ba(0x177))/0x1*(parseInt(_0x35b8ba(0x16b))/0x2)+parseInt(_0x35b8ba(0x16a))/0x3*(parseInt(_0x35b8ba(0x197))/0x4)+-parseInt(_0x35b8ba(0x194))/0x5*(parseInt(_0x35b8ba(0x182))/0x6)+parseInt(_0x35b8ba(0x198))/0x7+-parseInt(_0x35b8ba(0x16d))/0x8+-parseInt(_0x35b8ba(0x191))/0x9*(-parseInt(_0x35b8ba(0x186))/0xa)+-parseInt(_0x35b8ba(0x16f))/0xb;if(_0x10539e===_0x536b11)break;else _0x5c8dd9['push'](_0x5c8dd9['shift']());}catch(_0x11d991){_0x5c8dd9['push'](_0x5c8dd9['shift']());}}}(_0x388f,0x89f11));import{View as _0x97ca1f}from'ckeditor5/src/ui.js';import _0x248601 from'./uploadcareimageeditformloadingview.js';import _0x46cbfa from'./uploadcareimageeditformerrorview.js';function _0xeb80(_0x434b28,_0x562af5){const _0x388fd1=_0x388f();return _0xeb80=function(_0xeb8047,_0xe2ced9){_0xeb8047=_0xeb8047-0x169;let _0x55fcf1=_0x388fd1[_0xeb8047];return _0x55fcf1;},_0xeb80(_0x434b28,_0x562af5);}import _0x1445f4 from'./uploadcareimageeditformeditingview.js';import _0x27a215 from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export default class Z extends _0x27a215{[_0xf47a8c(0x178)];[_0xf47a8c(0x19f)];[_0xf47a8c(0x19c)];[_0xf47a8c(0x170)];[_0xf47a8c(0x196)];constructor(_0x3771bf,_0x9c212,_0x1f6175){const _0x432ded=_0xf47a8c;super(_0x3771bf),this[_0x432ded(0x178)]=this[_0x432ded(0x17a)](),this[_0x432ded(0x19f)]=new _0x248601(_0x3771bf),this[_0x432ded(0x19c)]=new _0x46cbfa(_0x3771bf),this[_0x432ded(0x170)]=new _0x1445f4(_0x3771bf,_0x1f6175),this[_0x432ded(0x196)]=new _0x97ca1f(_0x3771bf),this[_0x432ded(0x196)][_0x432ded(0x179)](this[_0x432ded(0x18b)]()),this[_0x432ded(0x190)](_0x432ded(0x16e),_0x9c212),this[_0x432ded(0x179)]({'tag':_0x432ded(0x185),'attributes':{'class':['ck',_0x432ded(0x18d),_0x432ded(0x18e)],'tabindex':'-1'},'children':this[_0x432ded(0x178)]}),this[_0x432ded(0x180)](),this[_0x432ded(0x169)](_0x432ded(0x195),()=>{const _0x1d613e=_0x432ded;this[_0x1d613e(0x19b)](this[_0x1d613e(0x19e)],_0x296a2f=>{const _0x231cf5=_0x1d613e;this[_0x231cf5(0x199)](_0x296a2f);});}),this['on'](_0x432ded(0x172),()=>{const _0x24fead=_0x432ded;this[_0x24fead(0x180)]();}),this[_0x432ded(0x174)]();}[_0xf47a8c(0x16c)](){const _0x134669=_0xf47a8c;this[_0x134669(0x19e)][_0x134669(0x16c)]();}[_0xf47a8c(0x180)](){const _0x323f13=_0xf47a8c;switch(this[_0x323f13(0x178)][_0x323f13(0x19a)](),this[_0x323f13(0x16e)]){case _0x323f13(0x17b):this[_0x323f13(0x178)][_0x323f13(0x183)](this[_0x323f13(0x19f)]);break;case _0x323f13(0x193):this[_0x323f13(0x178)][_0x323f13(0x183)](this[_0x323f13(0x19c)]);break;case _0x323f13(0x175):this[_0x323f13(0x178)][_0x323f13(0x181)]([this[_0x323f13(0x170)],this[_0x323f13(0x196)]]);}}[_0xf47a8c(0x19b)](_0x32af92,_0x2bce80){const _0x4ced28=_0xf47a8c,_0x1f1926=_0x4ced28(0x19d),_0x3b353f=_0x32af92[_0x4ced28(0x1a0)](_0x1f1926);if(_0x3b353f)return _0x2bce80(_0x3b353f);const _0x229ea8=new MutationObserver(_0x4649d8=>{const _0x52f93d=_0x4ced28,_0x4ced4e=_0x4649d8[_0x52f93d(0x187)](_0x34e2b7=>_0x34e2b7[_0x52f93d(0x173)]===_0x32af92&&_0x34e2b7[_0x52f93d(0x17c)][_0x52f93d(0x192)]>0x0&&_0x34e2b7[_0x52f93d(0x17c)][0x0][_0x52f93d(0x18f)][_0x52f93d(0x188)]()===_0x1f1926);_0x4ced4e[_0x52f93d(0x192)]&&(_0x229ea8[_0x52f93d(0x171)](),_0x2bce80(_0x4ced4e[0x0][_0x52f93d(0x17c)][0x0]));});_0x229ea8[_0x4ced28(0x18a)](_0x32af92,{'childList':!0x0,'subtree':!0x0});}[_0xf47a8c(0x199)](_0x374a4d){const _0x47b77a=_0xf47a8c;_0x374a4d[_0x47b77a(0x18c)](_0x47b77a(0x189),_0x30fcd8=>{const _0x42446b=_0x47b77a;this[_0x42446b(0x17d)](_0x42446b(0x189),{'imageSrc':_0x30fcd8[_0x42446b(0x17f)][_0x42446b(0x176)]});}),_0x374a4d[_0x47b77a(0x18c)](_0x47b77a(0x184),()=>{const _0x2ffc41=_0x47b77a;this[_0x2ffc41(0x17d)](_0x2ffc41(0x184));});}[_0xf47a8c(0x174)](){const _0x18dbf3=_0xf47a8c;this[_0x18dbf3(0x19c)]['on'](_0x18dbf3(0x17e),()=>{const _0x159db1=_0x18dbf3;this[_0x159db1(0x17d)](_0x159db1(0x17e));});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x365e53=_0xad4f;(function(_0x286146,_0x1aa76b){const _0xb70200=_0xad4f,_0x1ee23b=_0x286146();while(!![]){try{const _0x507951=parseInt(_0xb70200(0xc3))/0x1*(-parseInt(_0xb70200(0xde))/0x2)+parseInt(_0xb70200(0xdb))/0x3+-parseInt(_0xb70200(0xdd))/0x4+parseInt(_0xb70200(0xdf))/0x5*(-parseInt(_0xb70200(0xc4))/0x6)+parseInt(_0xb70200(0xd4))/0x7+-parseInt(_0xb70200(0xd8))/0x8*(parseInt(_0xb70200(0xd0))/0x9)+parseInt(_0xb70200(0xdc))/0xa;if(_0x507951===_0x1aa76b)break;else _0x1ee23b['push'](_0x1ee23b['shift']());}catch(_0x3f9766){_0x1ee23b['push'](_0x1ee23b['shift']());}}}(_0x24b7,0x9f326));function _0xad4f(_0x54cd07,_0xbd15cb){const _0x24b7a0=_0x24b7();return _0xad4f=function(_0xad4f2,_0x53a018){_0xad4f2=_0xad4f2-0xc0;let _0x15b04d=_0x24b7a0[_0xad4f2];return _0x15b04d;},_0xad4f(_0x54cd07,_0xbd15cb);}import{Command as _0x2efdb5}from'ckeditor5/src/core.js';import{Dialog as _0x493500}from'ckeditor5/src/ui.js';import _0x1b07d6 from'./ui/uploadcareimageeditcontroller.js';function _0x24b7(){const _0x30fa97=['58436UKSyWP','getSelectedElement','element','document','8vYJnyq','execute','_isEditable','3323211VxFfbP','13415240YfQjVa','2587816ZppEYX','94ofcejg','243305nCvSTP','imageInline','imageEditController','model','16562XwwdNx','24ZBEdqn','selection','config','get','unbind','refresh','uploadcare.allowExternalImagesEditing','imageBlock','bind','requires','isActive','plugins','1669743wjRUoY','set','editor','isEnabled'];_0x24b7=function(){return _0x30fa97;};return _0x24b7();}import{createEditabilityChecker as _0x1532a8}from'../utils/editingutils.js';export default class J extends _0x2efdb5{[_0x365e53(0xc1)];static get[_0x365e53(0xcd)](){return[_0x493500];}[_0x365e53(0xda)];constructor(_0x111d2f){const _0x332361=_0x365e53;super(_0x111d2f),this[_0x332361(0xc1)]=void 0x0,this[_0x332361(0xda)]=_0x1532a8(_0x111d2f[_0x332361(0xc6)][_0x332361(0xc7)](_0x332361(0xca))||[]),this[_0x332361(0xd1)]({'isActive':!0x1});}[_0x365e53(0xc9)](){const _0x5582c4=_0x365e53,_0x464f9e=this[_0x5582c4(0xd2)][_0x5582c4(0xc2)][_0x5582c4(0xd7)][_0x5582c4(0xc5)][_0x5582c4(0xd5)]();this[_0x5582c4(0xd3)]=this[_0x5582c4(0xda)](_0x464f9e);}[_0x365e53(0xd9)](){const _0x5e5248=_0x365e53;this[_0x5e5248(0xc1)]&&(this[_0x5e5248(0xc8)](_0x5e5248(0xce)),this[_0x5e5248(0xc1)]=void 0x0);const _0x78b399=this[_0x5e5248(0xd2)][_0x5e5248(0xc2)][_0x5e5248(0xd7)][_0x5e5248(0xc5)][_0x5e5248(0xd5)]();_0x78b399&&(_0x78b399['is'](_0x5e5248(0xd6),_0x5e5248(0xcb))||_0x78b399['is'](_0x5e5248(0xd6),_0x5e5248(0xc0)))&&(this[_0x5e5248(0xc1)]=new _0x1b07d6(this[_0x5e5248(0xd2)],this[_0x5e5248(0xd2)][_0x5e5248(0xcf)][_0x5e5248(0xc7)](_0x493500),_0x78b399),this[_0x5e5248(0xcc)](_0x5e5248(0xce))['to'](this[_0x5e5248(0xc1)],_0x5e5248(0xce)));}}
23
+ const _0x1d7bd8=_0x1050;function _0x3f08(){const _0x1ef43b=['2zTrXxD','model','unbind','14SXRvsq','imageInline','5642340bLayZF','4uowaXp','4915704TLowdf','requires','isActive','1184987LJWHkb','get','imageBlock','imageEditController','element','config','769980QpBpaj','set','_isEditable','bind','plugins','12616824DHNuDW','execute','5LmJGyQ','isEnabled','editor','document','uploadcare.allowExternalImagesEditing','getSelectedElement','7141770eVTung','selection','refresh','443144RMYpvN'];_0x3f08=function(){return _0x1ef43b;};return _0x3f08();}(function(_0x36d9b4,_0x43908b){const _0x4dea5c=_0x1050,_0x5a164a=_0x36d9b4();while(!![]){try{const _0x195697=-parseInt(_0x4dea5c(0x1aa))/0x1*(parseInt(_0x4dea5c(0x1a0))/0x2)+parseInt(_0x4dea5c(0x1b0))/0x3*(-parseInt(_0x4dea5c(0x1a6))/0x4)+parseInt(_0x4dea5c(0x1b7))/0x5*(parseInt(_0x4dea5c(0x1a7))/0x6)+-parseInt(_0x4dea5c(0x1a3))/0x7*(parseInt(_0x4dea5c(0x19f))/0x8)+parseInt(_0x4dea5c(0x1bd))/0x9+-parseInt(_0x4dea5c(0x1a5))/0xa+parseInt(_0x4dea5c(0x1b5))/0xb;if(_0x195697===_0x43908b)break;else _0x5a164a['push'](_0x5a164a['shift']());}catch(_0x449849){_0x5a164a['push'](_0x5a164a['shift']());}}}(_0x3f08,0x9d03b));import{Command as _0xbc486a}from'ckeditor5/src/core.js';import{Dialog as _0x289ada}from'ckeditor5/src/ui.js';import _0x56f699 from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x31fc84}from'../utils/editingutils.js';function _0x1050(_0x35dff3,_0x2c8c79){const _0x3f0869=_0x3f08();return _0x1050=function(_0x10508a,_0x1c6a05){_0x10508a=_0x10508a-0x19f;let _0x443cd5=_0x3f0869[_0x10508a];return _0x443cd5;},_0x1050(_0x35dff3,_0x2c8c79);}export default class J extends _0xbc486a{[_0x1d7bd8(0x1ad)];static get[_0x1d7bd8(0x1a8)](){return[_0x289ada];}[_0x1d7bd8(0x1b2)];constructor(_0x21bbc7){const _0x13ba07=_0x1d7bd8;super(_0x21bbc7),this[_0x13ba07(0x1ad)]=void 0x0,this[_0x13ba07(0x1b2)]=_0x31fc84(_0x21bbc7[_0x13ba07(0x1af)][_0x13ba07(0x1ab)](_0x13ba07(0x1bb))||[]),this[_0x13ba07(0x1b1)]({'isActive':!0x1});}[_0x1d7bd8(0x1bf)](){const _0x3028d8=_0x1d7bd8,_0x38d47b=this[_0x3028d8(0x1b9)][_0x3028d8(0x1a1)][_0x3028d8(0x1ba)][_0x3028d8(0x1be)][_0x3028d8(0x1bc)]();this[_0x3028d8(0x1b8)]=this[_0x3028d8(0x1b2)](_0x38d47b);}[_0x1d7bd8(0x1b6)](){const _0x2c2cde=_0x1d7bd8;this[_0x2c2cde(0x1ad)]&&(this[_0x2c2cde(0x1a2)](_0x2c2cde(0x1a9)),this[_0x2c2cde(0x1ad)]=void 0x0);const _0x384d74=this[_0x2c2cde(0x1b9)][_0x2c2cde(0x1a1)][_0x2c2cde(0x1ba)][_0x2c2cde(0x1be)][_0x2c2cde(0x1bc)]();_0x384d74&&(_0x384d74['is'](_0x2c2cde(0x1ae),_0x2c2cde(0x1ac))||_0x384d74['is'](_0x2c2cde(0x1ae),_0x2c2cde(0x1a4)))&&(this[_0x2c2cde(0x1ad)]=new _0x56f699(this[_0x2c2cde(0x1b9)],this[_0x2c2cde(0x1b9)][_0x2c2cde(0x1b4)][_0x2c2cde(0x1ab)](_0x289ada),_0x384d74),this[_0x2c2cde(0x1b3)](_0x2c2cde(0x1a9))['to'](this[_0x2c2cde(0x1ad)],_0x2c2cde(0x1a9)));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3e5c40=_0x2457;(function(_0x2bef34,_0x7edd47){const _0x5b5577=_0x2457,_0x57ce53=_0x2bef34();while(!![]){try{const _0x38a8b8=parseInt(_0x5b5577(0x19f))/0x1*(-parseInt(_0x5b5577(0x1a2))/0x2)+-parseInt(_0x5b5577(0x1ab))/0x3+-parseInt(_0x5b5577(0x1ad))/0x4+-parseInt(_0x5b5577(0x1a4))/0x5+parseInt(_0x5b5577(0x1a1))/0x6+parseInt(_0x5b5577(0x1a3))/0x7+parseInt(_0x5b5577(0x1a6))/0x8;if(_0x38a8b8===_0x7edd47)break;else _0x57ce53['push'](_0x57ce53['shift']());}catch(_0x5d6fba){_0x57ce53['push'](_0x57ce53['shift']());}}}(_0x321e,0x7aa85));import{Plugin as _0x31c4d1}from'ckeditor5/src/core.js';import{Notification as _0x5ee3de}from'ckeditor5/src/ui.js';import _0x5d0883 from'./uploadcareimageeditcommand.js';import _0x3d25 from'./uploadcareimagereplacecommand.js';function _0x321e(){const _0x390c18=['3704152EXMVJu','pluginName','isPremiumPlugin','commands','ImageEditing','ImageUtils','1018XppqaO','isOfficialPlugin','1847322TiecEY','1348inuWxf','6636350rLbVVf','220785Wyzlgy','add','7699816DTKqZp','uploadcareImageReplace','init','uploadcareImageEdit','UploadcareImageEditEditing','179046nWIapP','requires'];_0x321e=function(){return _0x390c18;};return _0x321e();}import _0x5b1cb3 from'../uploadcareediting.js';function _0x2457(_0x588145,_0x7b9c92){const _0x321edf=_0x321e();return _0x2457=function(_0x245750,_0x28b5fa){_0x245750=_0x245750-0x19d;let _0x409868=_0x321edf[_0x245750];return _0x409868;},_0x2457(_0x588145,_0x7b9c92);}export default class g extends _0x31c4d1{static get[_0x3e5c40(0x1ae)](){const _0x18bf3d=_0x3e5c40;return _0x18bf3d(0x1aa);}static get[_0x3e5c40(0x1ac)](){const _0x4bca32=_0x3e5c40;return[_0x5b1cb3,_0x5ee3de,_0x4bca32(0x19e),_0x4bca32(0x19d)];}static get[_0x3e5c40(0x1a0)](){return!0x0;}static get[_0x3e5c40(0x1af)](){return!0x0;}[_0x3e5c40(0x1a8)](){const _0x5c404a=_0x3e5c40,{editor:_0x3cafca}=this;_0x3cafca[_0x5c404a(0x1b0)][_0x5c404a(0x1a5)](_0x5c404a(0x1a9),new _0x5d0883(_0x3cafca)),_0x3cafca[_0x5c404a(0x1b0)][_0x5c404a(0x1a5)](_0x5c404a(0x1a7),new _0x3d25(_0x3cafca));}}
23
+ const _0x55e25a=_0x204c;(function(_0x569704,_0x4f796e){const _0x2f49a4=_0x204c,_0x45696a=_0x569704();while(!![]){try{const _0x1e60f7=parseInt(_0x2f49a4(0x164))/0x1+-parseInt(_0x2f49a4(0x15a))/0x2+-parseInt(_0x2f49a4(0x153))/0x3+parseInt(_0x2f49a4(0x160))/0x4*(-parseInt(_0x2f49a4(0x162))/0x5)+-parseInt(_0x2f49a4(0x168))/0x6*(parseInt(_0x2f49a4(0x157))/0x7)+parseInt(_0x2f49a4(0x155))/0x8+-parseInt(_0x2f49a4(0x154))/0x9*(-parseInt(_0x2f49a4(0x15b))/0xa);if(_0x1e60f7===_0x4f796e)break;else _0x45696a['push'](_0x45696a['shift']());}catch(_0x355371){_0x45696a['push'](_0x45696a['shift']());}}}(_0x5813,0xd4dd8));import{Plugin as _0xbe18da}from'ckeditor5/src/core.js';function _0x204c(_0x12c3d7,_0x2ec2dd){const _0x58134c=_0x5813();return _0x204c=function(_0x204c2c,_0x356558){_0x204c2c=_0x204c2c-0x153;let _0x274f9a=_0x58134c[_0x204c2c];return _0x274f9a;},_0x204c(_0x12c3d7,_0x2ec2dd);}import{Notification as _0x306ab3}from'ckeditor5/src/ui.js';import _0x10899f from'./uploadcareimageeditcommand.js';import _0x461bf4 from'./uploadcareimagereplacecommand.js';function _0x5813(){const _0x31ed4e=['4010RVpRzM','uploadcareImageEdit','1730546ErvxKq','isOfficialPlugin','commands','UploadcareImageEditEditing','8560902Pykrct','4940937hzYpKB','16279416BjxJUQ','13170840tXAoNC','isPremiumPlugin','7kYzZxq','requires','init','2035758ZiMiOX','10jfwJpH','add','pluginName','ImageUtils','ImageEditing','1108OLpNsL','uploadcareImageReplace'];_0x5813=function(){return _0x31ed4e;};return _0x5813();}import _0x12d691 from'../uploadcareediting.js';export default class g extends _0xbe18da{static get[_0x55e25a(0x15d)](){const _0x4bf2ca=_0x55e25a;return _0x4bf2ca(0x167);}static get[_0x55e25a(0x158)](){const _0x2b5bf2=_0x55e25a;return[_0x12d691,_0x306ab3,_0x2b5bf2(0x15e),_0x2b5bf2(0x15f)];}static get[_0x55e25a(0x165)](){return!0x0;}static get[_0x55e25a(0x156)](){return!0x0;}[_0x55e25a(0x159)](){const _0x3f384c=_0x55e25a,{editor:_0x4ac5e5}=this;_0x4ac5e5[_0x3f384c(0x166)][_0x3f384c(0x15c)](_0x3f384c(0x163),new _0x10899f(_0x4ac5e5)),_0x4ac5e5[_0x3f384c(0x166)][_0x3f384c(0x15c)](_0x3f384c(0x161),new _0x461bf4(_0x4ac5e5));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x538139}from'ckeditor5/src/core.js';import{ButtonView as _0x56a89c}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x15b9c8}from'ckeditor5/src/icons.js';import{createElement as _0x489739}from'ckeditor5/src/utils.js';import'@uploadcare/file-uploader/web/uc-cloud-image-editor.min.css';import'../../theme/uploadcare-theme.css';export default class j extends _0x538139{['_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 _0x3df390=this['editor'];_0x3df390['ui']['componentFactory']['add']('uploadcareImageEdit',_0x4d85da=>{const _0x131d8f=_0x3df390['commands']['get']('uploadcareImageEdit'),_0x5ee7a8=new _0x56a89c(_0x4d85da),t=_0x4d85da['t'];return _0x5ee7a8['set']({'icon':_0x15b9c8,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x5ee7a8['bind']('isEnabled')['to'](_0x131d8f),_0x5ee7a8['bind']('isOn')['to'](_0x131d8f,'isActive'),this['listenTo'](_0x5ee7a8,'execute',()=>{_0x3df390['execute']('uploadcareImageEdit'),_0x3df390['editing']['view']['focus']();}),_0x5ee7a8;}),this['_initConfig']();}['_initConfig'](){const _0x4829a3=_0x489739(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x4829a3),this['listenTo'](this['editor'],'destroy',()=>{_0x4829a3['remove']();});}}
23
+ import{Plugin as _0x6ab975}from'ckeditor5/src/core.js';import{ButtonView as _0x2ab5b4}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x16005b}from'ckeditor5/src/icons.js';import{createElement as _0x482d82}from'ckeditor5/src/utils.js';import'@uploadcare/file-uploader/web/uc-cloud-image-editor.min.css';import'../../theme/uploadcare-theme.css';export default class j extends _0x6ab975{['_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 _0x4fb764=this['editor'];_0x4fb764['ui']['componentFactory']['add']('uploadcareImageEdit',_0x2bd3fa=>{const _0x1cf4d1=_0x4fb764['commands']['get']('uploadcareImageEdit'),_0xa318e=new _0x2ab5b4(_0x2bd3fa),t=_0x2bd3fa['t'];return _0xa318e['set']({'icon':_0x16005b,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0xa318e['bind']('isEnabled')['to'](_0x1cf4d1),_0xa318e['bind']('isOn')['to'](_0x1cf4d1,'isActive'),this['listenTo'](_0xa318e,'execute',()=>{_0x4fb764['execute']('uploadcareImageEdit'),_0x4fb764['editing']['view']['focus']();}),_0xa318e;}),this['_initConfig']();}['_initConfig'](){const _0x544e1c=_0x482d82(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x544e1c),this['listenTo'](this['editor'],'destroy',()=>{_0x544e1c['remove']();});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x3c08(){const _0x2b70c8=['202218fsmydR','srcset','imageInline','7612404UgmouA','4RmYasl','imageBlock','element','document','99pgAAdj','80LSxpPn','editor','998772PsNiDO','removeAttribute','execute','663396hQJosk','change','15111790AKXxrw','selection','refresh','9NKjvCz','2152582QEJHCt','setAttributes','getSelectedElement','3704XOQVdb','model','26663NLkkRO','sizes','isEnabled'];_0x3c08=function(){return _0x2b70c8;};return _0x3c08();}const _0x2a16db=_0x4985;function _0x4985(_0x3f21e0,_0x4a9dcd){const _0x3c08e8=_0x3c08();return _0x4985=function(_0x498584,_0xb5018b){_0x498584=_0x498584-0xba;let _0x1608b2=_0x3c08e8[_0x498584];return _0x1608b2;},_0x4985(_0x3f21e0,_0x4a9dcd);}(function(_0x3df2c2,_0x529460){const _0x20636e=_0x4985,_0x5e6a19=_0x3df2c2();while(!![]){try{const _0x343976=-parseInt(_0x20636e(0xd5))/0x1+-parseInt(_0x20636e(0xbf))/0x2+-parseInt(_0x20636e(0xd2))/0x3*(parseInt(_0x20636e(0xcb))/0x4)+-parseInt(_0x20636e(0xd0))/0x5*(-parseInt(_0x20636e(0xc7))/0x6)+parseInt(_0x20636e(0xc4))/0x7*(-parseInt(_0x20636e(0xc2))/0x8)+-parseInt(_0x20636e(0xbe))/0x9*(parseInt(_0x20636e(0xbb))/0xa)+-parseInt(_0x20636e(0xcf))/0xb*(-parseInt(_0x20636e(0xca))/0xc);if(_0x343976===_0x529460)break;else _0x5e6a19['push'](_0x5e6a19['shift']());}catch(_0x5497ce){_0x5e6a19['push'](_0x5e6a19['shift']());}}}(_0x3c08,0xdc04a));import{Command as _0x5c716b}from'ckeditor5/src/core.js';export default class O extends _0x5c716b{[_0x2a16db(0xbd)](){const _0x558e0f=_0x2a16db,_0x3c5f9b=this[_0x558e0f(0xd1)][_0x558e0f(0xc3)][_0x558e0f(0xce)][_0x558e0f(0xbc)][_0x558e0f(0xc1)]();this[_0x558e0f(0xc6)]=Boolean(_0x3c5f9b&&(_0x3c5f9b['is'](_0x558e0f(0xcd),_0x558e0f(0xcc))||_0x3c5f9b['is'](_0x558e0f(0xcd),_0x558e0f(0xc9))));}[_0x2a16db(0xd4)](_0x23e4d9){const _0x465024=_0x2a16db,_0x36281b=this[_0x465024(0xd1)][_0x465024(0xc3)][_0x465024(0xce)][_0x465024(0xbc)][_0x465024(0xc1)]();this[_0x465024(0xd1)][_0x465024(0xc3)][_0x465024(0xba)](_0x326277=>{const _0x50e5e5=_0x465024;_0x326277[_0x50e5e5(0xc0)](_0x23e4d9,_0x36281b),_0x326277[_0x50e5e5(0xd3)](_0x50e5e5(0xc8),_0x36281b),_0x326277[_0x50e5e5(0xd3)](_0x50e5e5(0xc5),_0x36281b);});}}
23
+ const _0x26be07=_0x4443;function _0x4443(_0x52a19c,_0x100ef6){const _0x19ac8b=_0x19ac();return _0x4443=function(_0x4443b2,_0x3cb418){_0x4443b2=_0x4443b2-0x1df;let _0x53c12f=_0x19ac8b[_0x4443b2];return _0x53c12f;},_0x4443(_0x52a19c,_0x100ef6);}(function(_0x51852a,_0x32139a){const _0x1ba45e=_0x4443,_0x131c1e=_0x51852a();while(!![]){try{const _0x487234=parseInt(_0x1ba45e(0x1f7))/0x1+-parseInt(_0x1ba45e(0x1e0))/0x2+parseInt(_0x1ba45e(0x1f0))/0x3+-parseInt(_0x1ba45e(0x1e3))/0x4*(-parseInt(_0x1ba45e(0x1e2))/0x5)+-parseInt(_0x1ba45e(0x1e1))/0x6*(parseInt(_0x1ba45e(0x1df))/0x7)+parseInt(_0x1ba45e(0x1e9))/0x8*(parseInt(_0x1ba45e(0x1e4))/0x9)+parseInt(_0x1ba45e(0x1f3))/0xa;if(_0x487234===_0x32139a)break;else _0x131c1e['push'](_0x131c1e['shift']());}catch(_0x23bcb0){_0x131c1e['push'](_0x131c1e['shift']());}}}(_0x19ac,0x8f2f5));function _0x19ac(){const _0x336274=['9bqKDjG','removeAttribute','execute','change','selection','3050448MNlEKj','imageInline','editor','model','imageBlock','srcset','refresh','845649RvauyX','isEnabled','element','6056980GEbSvg','setAttributes','document','getSelectedElement','487570ktuNnQ','sizes','14LEtumn','1316588wKHDNt','2914986WQoARc','1110ZJjoHa','8288ApGyxa'];_0x19ac=function(){return _0x336274;};return _0x19ac();}import{Command as _0x4d03cc}from'ckeditor5/src/core.js';export default class O extends _0x4d03cc{[_0x26be07(0x1ef)](){const _0x3113c8=_0x26be07,_0x3d6c16=this[_0x3113c8(0x1eb)][_0x3113c8(0x1ec)][_0x3113c8(0x1f5)][_0x3113c8(0x1e8)][_0x3113c8(0x1f6)]();this[_0x3113c8(0x1f1)]=Boolean(_0x3d6c16&&(_0x3d6c16['is'](_0x3113c8(0x1f2),_0x3113c8(0x1ed))||_0x3d6c16['is'](_0x3113c8(0x1f2),_0x3113c8(0x1ea))));}[_0x26be07(0x1e6)](_0x8a4af5){const _0x433430=_0x26be07,_0x12b48b=this[_0x433430(0x1eb)][_0x433430(0x1ec)][_0x433430(0x1f5)][_0x433430(0x1e8)][_0x433430(0x1f6)]();this[_0x433430(0x1eb)][_0x433430(0x1ec)][_0x433430(0x1e7)](_0x3621d3=>{const _0x1e8a50=_0x433430;_0x3621d3[_0x1e8a50(0x1f4)](_0x8a4af5,_0x12b48b),_0x3621d3[_0x1e8a50(0x1e5)](_0x1e8a50(0x1ee),_0x12b48b),_0x3621d3[_0x1e8a50(0x1e5)](_0x1e8a50(0x1f8),_0x12b48b);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x149daf=_0x3805;(function(_0x5ee56b,_0x247771){var _0x2790c4=_0x3805,_0x2ca5d3=_0x5ee56b();while(!![]){try{var _0x47ef28=parseInt(_0x2790c4(0x125))/0x1+-parseInt(_0x2790c4(0x126))/0x2*(-parseInt(_0x2790c4(0x118))/0x3)+-parseInt(_0x2790c4(0x119))/0x4+-parseInt(_0x2790c4(0x122))/0x5+-parseInt(_0x2790c4(0x121))/0x6*(-parseInt(_0x2790c4(0x117))/0x7)+-parseInt(_0x2790c4(0x11b))/0x8*(parseInt(_0x2790c4(0x120))/0x9)+parseInt(_0x2790c4(0x124))/0xa*(parseInt(_0x2790c4(0x11d))/0xb);if(_0x47ef28===_0x247771)break;else _0x2ca5d3['push'](_0x2ca5d3['shift']());}catch(_0x515111){_0x2ca5d3['push'](_0x2ca5d3['shift']());}}}(_0x4aaf,0x5cf4b));function _0x4aaf(){var _0xe08464=['24QNhssg','UploadcareImageEdit','12190453NwCOlO','isPremiumPlugin','requires','1280736egutWy','6396luYsaY','3112730FgVDGh','isOfficialPlugin','10eEecfs','655807LyhDlB','510mWIrIo','637NwAaES','2637eZDYFh','2619904mPTKzZ','pluginName'];_0x4aaf=function(){return _0xe08464;};return _0x4aaf();}import{Plugin as _0xf943c}from'ckeditor5/src/core.js';function _0x3805(_0x165ba6,_0x5682e2){var _0x4aaf3b=_0x4aaf();return _0x3805=function(_0x38053a,_0x52484d){_0x38053a=_0x38053a-0x117;var _0x4e96f8=_0x4aaf3b[_0x38053a];return _0x4e96f8;},_0x3805(_0x165ba6,_0x5682e2);}import _0x11950d from'./uploadcareimageedit/uploadcareimageeditediting.js';import _0x4ccb8c from'./uploadcareimageedit/uploadcareimageeditui.js';export default class P extends _0xf943c{static get[_0x149daf(0x11a)](){var _0x4a34f5=_0x149daf;return _0x4a34f5(0x11c);}static get[_0x149daf(0x11f)](){return[_0x11950d,_0x4ccb8c];}static get[_0x149daf(0x123)](){return!0x0;}static get[_0x149daf(0x11e)](){return!0x0;}}
23
+ var _0x13b1f0=_0x1e07;(function(_0x2da272,_0x4af9dc){var _0x1b18bc=_0x1e07,_0xd09f82=_0x2da272();while(!![]){try{var _0x441425=parseInt(_0x1b18bc(0x147))/0x1+-parseInt(_0x1b18bc(0x14c))/0x2*(parseInt(_0x1b18bc(0x156))/0x3)+parseInt(_0x1b18bc(0x148))/0x4*(parseInt(_0x1b18bc(0x14e))/0x5)+-parseInt(_0x1b18bc(0x155))/0x6+-parseInt(_0x1b18bc(0x151))/0x7*(-parseInt(_0x1b18bc(0x149))/0x8)+-parseInt(_0x1b18bc(0x14a))/0x9+-parseInt(_0x1b18bc(0x14d))/0xa*(-parseInt(_0x1b18bc(0x153))/0xb);if(_0x441425===_0x4af9dc)break;else _0xd09f82['push'](_0xd09f82['shift']());}catch(_0x31f6eb){_0xd09f82['push'](_0xd09f82['shift']());}}}(_0x33cb,0x1d950));function _0x1e07(_0x1977dc,_0x412d96){var _0x33cbae=_0x33cb();return _0x1e07=function(_0x1e0767,_0xf614c4){_0x1e0767=_0x1e0767-0x147;var _0x512289=_0x33cbae[_0x1e0767];return _0x512289;},_0x1e07(_0x1977dc,_0x412d96);}import{Plugin as _0x58471b}from'ckeditor5/src/core.js';import _0x31472e from'./uploadcareimageedit/uploadcareimageeditediting.js';function _0x33cb(){var _0x178312=['1408evgmIx','1088210VGglCF','5gTaEUc','isOfficialPlugin','requires','137459Dakgqs','isPremiumPlugin','33PUqqjN','UploadcareImageEdit','821544lZgmUW','777DmCYKt','13219ScGxpW','497384ATEVrf','72pfaXUJ','1802997vhxtVb','pluginName'];_0x33cb=function(){return _0x178312;};return _0x33cb();}import _0x49b6fb from'./uploadcareimageedit/uploadcareimageeditui.js';export default class P extends _0x58471b{static get[_0x13b1f0(0x14b)](){var _0x2be6d2=_0x13b1f0;return _0x2be6d2(0x154);}static get[_0x13b1f0(0x150)](){return[_0x31472e,_0x49b6fb];}static get[_0x13b1f0(0x14f)](){return!0x0;}static get[_0x13b1f0(0x152)](){return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2de96a=_0x4871;(function(_0x59506e,_0x1a508c){const _0x1c0fd7=_0x4871,_0x14de28=_0x59506e();while(!![]){try{const _0x5052de=-parseInt(_0x1c0fd7(0x1bd))/0x1*(parseInt(_0x1c0fd7(0x186))/0x2)+parseInt(_0x1c0fd7(0x1b1))/0x3*(parseInt(_0x1c0fd7(0x185))/0x4)+-parseInt(_0x1c0fd7(0x18b))/0x5*(-parseInt(_0x1c0fd7(0x1a0))/0x6)+-parseInt(_0x1c0fd7(0x19f))/0x7*(parseInt(_0x1c0fd7(0x1b4))/0x8)+-parseInt(_0x1c0fd7(0x189))/0x9+parseInt(_0x1c0fd7(0x19b))/0xa*(-parseInt(_0x1c0fd7(0x196))/0xb)+parseInt(_0x1c0fd7(0x187))/0xc;if(_0x5052de===_0x1a508c)break;else _0x14de28['push'](_0x14de28['shift']());}catch(_0x3ce198){_0x14de28['push'](_0x14de28['shift']());}}}(_0x3899,0x7b5b3));function _0x3899(){const _0x3d144c=['GDrive','withText','uploadcare','_createMenuBarButtons','4055OmvdrE','push','uploadcareLicenseKeyNotAllowed','plugins','uploadcareLicenseKeyValid','entries','init','URL','destroy','evaluationLimit','Replace','expired','isPremiumPlugin','get','isImageSelected','uploadcareLicenseKeyExpired','Dropbox','registerIntegration','locale','_createToolbarButton','forEach','afterInit','_createButton','usageLimit','_getIntegrationKey','upload','uploadcareLicenseKeyEvaluationLimit','580wPregZ','394NoUeUD','28066200eAWbfd','OneDrive','6300279XHisMG','shortText','10mjRFRg','Insert','uploadcareLicenseKeyUsageLimit','bind','isOfficialPlugin','config','uploadcareLicenseKeyDomainLimit','reduce','map','assetManager','icon','22PBpzuR','text','execute','type','trialLimit','2431400FhAMVh','invalid','Local','_licenseKeyCheckInterval','10241vIQnwn','94302BqfLex','uploadcareLicenseKeyInvalid','commands','has','_normalizeConfigSourceList','_showLicenseError','featureNotAllowed','Facebook','url','ImageInsertUI','domainLimit','UploadcareUI','GPhotos','uploadcare.uploader.sourceList','licenseKey','editor','pluginName','7389EutSou','_createDropdownButtons','Uploadcare','1296XCPeIe','isEnabled','label','uploadcareLicenseKeyTrialLimit','tooltip'];_0x3899=function(){return _0x3d144c;};return _0x3899();}import{Plugin as _0x5c7986}from'ckeditor5/src/core.js';import{IconDropbox as _0x368670,IconFacebook as _0x2c6da4,IconGoogleDrive as _0x43a60c,IconGooglePhotos as _0x51209c,IconUploadcareImageUpload as _0x111fbb,IconUploadcareLink as _0x35f575,IconOneDrive as _0x2b889a}from'ckeditor5/src/icons.js';import{ButtonView as _0xee46f2,MenuBarMenuListItemButtonView as _0x1aa52f}from'ckeditor5/src/ui.js';import{UploadcareSource as _0xd77947}from'./uploadcareconfig.js';function _0x4871(_0x563f38,_0xe41e3){const _0x389972=_0x3899();return _0x4871=function(_0x4871c9,_0x19bcda){_0x4871c9=_0x4871c9-0x17b;let _0x24bacd=_0x389972[_0x4871c9];return _0x24bacd;},_0x4871(_0x563f38,_0xe41e3);}import{getTranslation as _0x27bdd9}from'./utils/common-translations.js';import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';import'../theme/uploadcare-theme.css';import'../theme/uploadcareimageedit.css';export default class e extends _0x5c7986{[_0x2de96a(0x1ae)];[_0x2de96a(0x19e)];static get[_0x2de96a(0x1b0)](){const _0x4035aa=_0x2de96a;return _0x4035aa(0x1ab);}static get[_0x2de96a(0x18f)](){return!0x0;}static get[_0x2de96a(0x1c9)](){return!0x0;}[_0x2de96a(0x1c3)](){const _0x7fe462=_0x2de96a;this[_0x7fe462(0x1ae)]=this[_0x7fe462(0x1af)][_0x7fe462(0x190)][_0x7fe462(0x1ca)](_0x7fe462(0x1ae));const _0x367c1a=this[_0x7fe462(0x1af)];this[_0x7fe462(0x19e)]=setInterval(()=>{const _0x333dd0=_0x7fe462;let _0x38f58f;for(const _0x5c1a34 in _0x367c1a){const _0x406683=_0x5c1a34,_0xfd6221=_0x367c1a[_0x406683];if(_0x333dd0(0x1c1)==_0xfd6221||_0x333dd0(0x1a1)==_0xfd6221||_0x333dd0(0x1cc)==_0xfd6221||_0x333dd0(0x191)==_0xfd6221||_0x333dd0(0x1bf)==_0xfd6221||_0x333dd0(0x184)==_0xfd6221||_0x333dd0(0x1b7)==_0xfd6221||_0x333dd0(0x18d)==_0xfd6221){delete _0x367c1a[_0x406683],_0x38f58f=_0xfd6221,clearInterval(this[_0x333dd0(0x19e)]),this[_0x333dd0(0x19e)]=void 0x0;break;}}_0x333dd0(0x1a1)==_0x38f58f&&_0x367c1a[_0x333dd0(0x1a5)](_0x333dd0(0x19c)),_0x333dd0(0x1cc)==_0x38f58f&&_0x367c1a[_0x333dd0(0x1a5)](_0x333dd0(0x1c8)),_0x333dd0(0x191)==_0x38f58f&&_0x367c1a[_0x333dd0(0x1a5)](_0x333dd0(0x1aa)),_0x333dd0(0x1bf)==_0x38f58f&&_0x367c1a[_0x333dd0(0x1a5)](_0x333dd0(0x1a6),_0x333dd0(0x1b3)),_0x333dd0(0x184)==_0x38f58f&&_0x367c1a[_0x333dd0(0x1a5)](_0x333dd0(0x1c6)),_0x333dd0(0x1b7)==_0x38f58f&&_0x367c1a[_0x333dd0(0x1a5)](_0x333dd0(0x19a)),_0x333dd0(0x18d)==_0x38f58f&&_0x367c1a[_0x333dd0(0x1a5)](_0x333dd0(0x181));},0x3e8);}[_0x2de96a(0x17f)](){const _0x97d7ff=_0x2de96a,{editor:_0x270e31}=this,_0x5b9679=_0x270e31[_0x97d7ff(0x1a2)][_0x97d7ff(0x1ca)](_0x97d7ff(0x1bb));if(!_0x5b9679)return;const _0x3d9dda=this[_0x97d7ff(0x1a4)](_0x270e31[_0x97d7ff(0x190)][_0x97d7ff(0x1ca)](_0x97d7ff(0x1ad)))[_0x97d7ff(0x192)]((_0x4812c0,_0x57c105)=>{const _0x1ee136=_0x97d7ff,_0x5d9775=this[_0x1ee136(0x182)](_0x57c105[_0x1ee136(0x199)]);return _0x4812c0[_0x5d9775]||(_0x4812c0[_0x5d9775]=[]),_0x4812c0[_0x5d9775][_0x1ee136(0x1be)](_0x57c105),_0x4812c0;},{});_0x270e31[_0x97d7ff(0x1c0)][_0x97d7ff(0x1a3)](_0x97d7ff(0x1a9))&&_0x270e31[_0x97d7ff(0x1a2)][_0x97d7ff(0x1ca)](_0x97d7ff(0x1bb))&&Object[_0x97d7ff(0x1c2)](_0x3d9dda)[_0x97d7ff(0x17e)](([_0x1c7e3b,_0x48784b])=>{const _0x2f4c45=_0x97d7ff;_0x270e31[_0x2f4c45(0x1c0)][_0x2f4c45(0x1ca)](_0x2f4c45(0x1a9))[_0x2f4c45(0x17b)]({'name':_0x1c7e3b,'observable':()=>_0x5b9679,'buttonViewCreator':()=>this[_0x2f4c45(0x17d)](_0x48784b),'formViewCreator':()=>this[_0x2f4c45(0x1b2)](_0x48784b),'menuBarButtonViewCreator':()=>this[_0x2f4c45(0x1bc)](_0x48784b),'override':_0x2f4c45(0x194)!==_0x1c7e3b});});}[_0x2de96a(0x1c5)](){const _0x1ad355=_0x2de96a;super[_0x1ad355(0x1c5)](),this[_0x1ad355(0x19e)]&&clearInterval(this[_0x1ad355(0x19e)]);}[_0x2de96a(0x1a4)](_0x3849a3){const _0x402b46=_0x2de96a,{locale:_0x187d99}=this[_0x402b46(0x1af)];return _0x3849a3[_0x402b46(0x193)](_0x40578b=>{const _0x1e4401=_0x402b46,_0x29e126=_0x27bdd9(_0x187d99,_0x40578b,_0x1e4401(0x18c));switch(_0x40578b){case _0xd77947[_0x1e4401(0x19d)]:return{'icon':_0x111fbb,'type':_0xd77947[_0x1e4401(0x19d)],..._0x29e126};case _0xd77947[_0x1e4401(0x1c4)]:return{'icon':_0x35f575,'type':_0xd77947[_0x1e4401(0x1c4)],..._0x29e126};case _0xd77947[_0x1e4401(0x1cd)]:return{'icon':_0x368670,'type':_0xd77947[_0x1e4401(0x1cd)],..._0x29e126};case _0xd77947[_0x1e4401(0x1a7)]:return{'icon':_0x2c6da4,'type':_0xd77947[_0x1e4401(0x1a7)],..._0x29e126};case _0xd77947[_0x1e4401(0x1b9)]:return{'icon':_0x43a60c,'type':_0xd77947[_0x1e4401(0x1b9)],..._0x29e126};case _0xd77947[_0x1e4401(0x1ac)]:return{'icon':_0x51209c,'type':_0xd77947[_0x1e4401(0x1ac)],..._0x29e126};case _0xd77947[_0x1e4401(0x188)]:return{'icon':_0x2b889a,'type':_0xd77947[_0x1e4401(0x188)],..._0x29e126};}});}[_0x2de96a(0x182)](_0x1d8644){const _0x1583e5=_0x2de96a;switch(_0x1d8644){case _0xd77947[_0x1583e5(0x19d)]:return _0x1583e5(0x183);case _0xd77947[_0x1583e5(0x1c4)]:return _0x1583e5(0x1a8);default:return _0x1583e5(0x194);}}[_0x2de96a(0x180)](_0x4de52a,_0xb8a650){const _0x5d691a=_0x2de96a,_0x49adaf=this[_0x5d691a(0x1af)],_0x50bcda=new _0x4de52a(_0x49adaf[_0x5d691a(0x17c)]),_0xebafd4=_0x49adaf[_0x5d691a(0x1a2)][_0x5d691a(0x1ca)](_0x5d691a(0x1bb));return _0x50bcda[_0x5d691a(0x18e)](_0x5d691a(0x1b5))['to'](_0xebafd4),_0x50bcda['on'](_0x5d691a(0x198),()=>{const _0x43374f=_0x5d691a;_0xebafd4[_0x43374f(0x198)](_0xb8a650);}),_0x50bcda;}[_0x2de96a(0x17d)](_0x512907){const _0x4fb7b1=_0x2de96a,{locale:_0xb337c}=this[_0x4fb7b1(0x1af)],_0x20717b=this[_0x4fb7b1(0x1af)][_0x4fb7b1(0x1c0)][_0x4fb7b1(0x1ca)](_0x4fb7b1(0x1a9)),_0x435d8c=_0x512907[0x0],_0x7266e=this[_0x4fb7b1(0x180)](_0xee46f2,_0x435d8c[_0x4fb7b1(0x199)]);return _0x7266e[_0x4fb7b1(0x195)]=_0x435d8c[_0x4fb7b1(0x195)],_0x7266e[_0x4fb7b1(0x18e)](_0x4fb7b1(0x1b6))['to'](_0x20717b,_0x4fb7b1(0x1cb),_0x13976f=>_0x27bdd9(_0xb337c,_0x435d8c[_0x4fb7b1(0x199)],_0x13976f?_0x4fb7b1(0x1c7):_0x4fb7b1(0x18c))[_0x4fb7b1(0x197)]),_0x7266e[_0x4fb7b1(0x1b8)]=!0x0,_0x7266e;}[_0x2de96a(0x1b2)](_0x26ff65){const _0x408475=_0x2de96a,{locale:_0x55f5ec}=this[_0x408475(0x1af)],_0x319351=this[_0x408475(0x1af)][_0x408475(0x1c0)][_0x408475(0x1ca)](_0x408475(0x1a9));return _0x26ff65[_0x408475(0x193)](_0x3b6e6a=>{const _0x353006=_0x408475,_0x1c57f3=this[_0x353006(0x180)](_0xee46f2,_0x3b6e6a[_0x353006(0x199)]);return _0x1c57f3[_0x353006(0x1ba)]=!0x0,_0x1c57f3[_0x353006(0x195)]=_0x3b6e6a[_0x353006(0x195)],_0x1c57f3[_0x353006(0x18e)](_0x353006(0x1b6))['to'](_0x319351,_0x353006(0x1cb),_0x28eee0=>_0x27bdd9(_0x55f5ec,_0x3b6e6a[_0x353006(0x199)],_0x28eee0?_0x353006(0x1c7):_0x353006(0x18c))[_0x353006(0x197)]),_0x1c57f3;});}[_0x2de96a(0x1bc)](_0x5593bb){const _0x5dc027=_0x2de96a;return _0x5593bb[_0x5dc027(0x193)](_0x7e3a44=>{const _0x4b0fc2=_0x5dc027,_0xc20333=this[_0x4b0fc2(0x180)](_0x1aa52f,_0x7e3a44[_0x4b0fc2(0x199)]);return _0xc20333[_0x4b0fc2(0x195)]=_0x7e3a44[_0x4b0fc2(0x195)],_0xc20333[_0x4b0fc2(0x1b6)]=_0x7e3a44[_0x4b0fc2(0x18a)],_0xc20333;});}}
23
+ const _0x55d402=_0x163a;(function(_0x35b31b,_0x41b047){const _0x496e9a=_0x163a,_0x55c68a=_0x35b31b();while(!![]){try{const _0x65fbeb=-parseInt(_0x496e9a(0x11b))/0x1+-parseInt(_0x496e9a(0x108))/0x2*(-parseInt(_0x496e9a(0x13e))/0x3)+-parseInt(_0x496e9a(0xff))/0x4*(-parseInt(_0x496e9a(0x10d))/0x5)+-parseInt(_0x496e9a(0x111))/0x6+parseInt(_0x496e9a(0x131))/0x7*(parseInt(_0x496e9a(0xf4))/0x8)+parseInt(_0x496e9a(0x106))/0x9*(parseInt(_0x496e9a(0x114))/0xa)+-parseInt(_0x496e9a(0x109))/0xb;if(_0x65fbeb===_0x41b047)break;else _0x55c68a['push'](_0x55c68a['shift']());}catch(_0x28035b){_0x55c68a['push'](_0x55c68a['shift']());}}}(_0x4799,0x37125));import{Plugin as _0x5e532f}from'ckeditor5/src/core.js';import{IconDropbox as _0x140ec7,IconFacebook as _0x4a599b,IconGoogleDrive as _0x56d0fc,IconGooglePhotos as _0x3d2339,IconUploadcareImageUpload as _0x2df6b5,IconUploadcareLink as _0x525976,IconOneDrive as _0x13e82d}from'ckeditor5/src/icons.js';import{ButtonView as _0x243997,MenuBarMenuListItemButtonView as _0x297d93}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x123501}from'./uploadcareconfig.js';import{getTranslation as _0x567348}from'./utils/common-translations.js';function _0x163a(_0x5a7e9a,_0xf5b105){const _0x479944=_0x4799();return _0x163a=function(_0x163a20,_0x2c5479){_0x163a20=_0x163a20-0xf2;let _0x236a2d=_0x479944[_0x163a20];return _0x236a2d;},_0x163a(_0x5a7e9a,_0xf5b105);}function _0x4799(){const _0x27e020=['8407ksdAUK','uploadcare','uploadcareLicenseKeyValid','tooltip','UploadcareUI','isImageSelected','type','upload','icon','push','isEnabled','commands','assetManager','4206mnQlUj','pluginName','text','_normalizeConfigSourceList','uploadcareLicenseKeyEvaluationLimit','_getIntegrationKey','uploadcareLicenseKeyExpired','domainLimit','2104xRJOYA','GDrive','forEach','Dropbox','URL','ImageInsertUI','Uploadcare','destroy','label','locale','withText','368ABvBmo','_createMenuBarButtons','has','isOfficialPlugin','GPhotos','licenseKey','trialLimit','117927hjaHbT','Facebook','466NHdoUd','1382238ysnyaE','invalid','uploadcareLicenseKeyInvalid','reduce','3220BLgRGT','_createButton','afterInit','registerIntegration','1488630NPsDzo','Replace','uploadcareLicenseKeyNotAllowed','250HWoDNf','init','plugins','isPremiumPlugin','entries','_showLicenseError','uploadcareLicenseKeyDomainLimit','430016EHwGjP','execute','map','featureNotAllowed','uploadcare.uploader.sourceList','uploadcareLicenseKeyUsageLimit','uploadcareLicenseKeyTrialLimit','_createDropdownButtons','usageLimit','Local','expired','_createToolbarButton','shortText','OneDrive','url','bind','editor','Insert','evaluationLimit','config','_licenseKeyCheckInterval','get'];_0x4799=function(){return _0x27e020;};return _0x4799();}import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';import'../theme/uploadcare-theme.css';import'../theme/uploadcareimageedit.css';export default class e extends _0x5e532f{[_0x55d402(0x104)];[_0x55d402(0x12f)];static get[_0x55d402(0x13f)](){const _0x3596af=_0x55d402;return _0x3596af(0x135);}static get[_0x55d402(0x102)](){return!0x0;}static get[_0x55d402(0x117)](){return!0x0;}[_0x55d402(0x115)](){const _0x3feab3=_0x55d402;this[_0x3feab3(0x104)]=this[_0x3feab3(0x12b)][_0x3feab3(0x12e)][_0x3feab3(0x130)](_0x3feab3(0x104));const _0xfb571b=this[_0x3feab3(0x12b)];this[_0x3feab3(0x12f)]=setInterval(()=>{const _0x59f8fd=_0x3feab3;let _0x20a591;for(const _0x18c8b8 in _0xfb571b){const _0x3d31c1=_0x18c8b8,_0x26e3ba=_0xfb571b[_0x3d31c1];if(_0x59f8fd(0x133)==_0x26e3ba||_0x59f8fd(0x10b)==_0x26e3ba||_0x59f8fd(0xf2)==_0x26e3ba||_0x59f8fd(0x11a)==_0x26e3ba||_0x59f8fd(0x113)==_0x26e3ba||_0x59f8fd(0x142)==_0x26e3ba||_0x59f8fd(0x121)==_0x26e3ba||_0x59f8fd(0x120)==_0x26e3ba){delete _0xfb571b[_0x3d31c1],_0x20a591=_0x26e3ba,clearInterval(this[_0x59f8fd(0x12f)]),this[_0x59f8fd(0x12f)]=void 0x0;break;}}_0x59f8fd(0x10b)==_0x20a591&&_0xfb571b[_0x59f8fd(0x119)](_0x59f8fd(0x10a)),_0x59f8fd(0xf2)==_0x20a591&&_0xfb571b[_0x59f8fd(0x119)](_0x59f8fd(0x125)),_0x59f8fd(0x11a)==_0x20a591&&_0xfb571b[_0x59f8fd(0x119)](_0x59f8fd(0xf3)),_0x59f8fd(0x113)==_0x20a591&&_0xfb571b[_0x59f8fd(0x119)](_0x59f8fd(0x11e),_0x59f8fd(0xfa)),_0x59f8fd(0x142)==_0x20a591&&_0xfb571b[_0x59f8fd(0x119)](_0x59f8fd(0x12d)),_0x59f8fd(0x121)==_0x20a591&&_0xfb571b[_0x59f8fd(0x119)](_0x59f8fd(0x105)),_0x59f8fd(0x120)==_0x20a591&&_0xfb571b[_0x59f8fd(0x119)](_0x59f8fd(0x123));},0x3e8);}[_0x55d402(0x10f)](){const _0x3a2e61=_0x55d402,{editor:_0x452131}=this,_0x21fb25=_0x452131[_0x3a2e61(0x13c)][_0x3a2e61(0x130)](_0x3a2e61(0x132));if(!_0x21fb25)return;const _0xd720f2=this[_0x3a2e61(0x141)](_0x452131[_0x3a2e61(0x12e)][_0x3a2e61(0x130)](_0x3a2e61(0x11f)))[_0x3a2e61(0x10c)]((_0x38b72e,_0x3e775c)=>{const _0x1f812f=_0x3a2e61,_0x5bc73d=this[_0x1f812f(0x143)](_0x3e775c[_0x1f812f(0x137)]);return _0x38b72e[_0x5bc73d]||(_0x38b72e[_0x5bc73d]=[]),_0x38b72e[_0x5bc73d][_0x1f812f(0x13a)](_0x3e775c),_0x38b72e;},{});_0x452131[_0x3a2e61(0x116)][_0x3a2e61(0x101)](_0x3a2e61(0xf9))&&_0x452131[_0x3a2e61(0x13c)][_0x3a2e61(0x130)](_0x3a2e61(0x132))&&Object[_0x3a2e61(0x118)](_0xd720f2)[_0x3a2e61(0xf6)](([_0x4fd004,_0x51c72a])=>{const _0x1cba3d=_0x3a2e61;_0x452131[_0x1cba3d(0x116)][_0x1cba3d(0x130)](_0x1cba3d(0xf9))[_0x1cba3d(0x110)]({'name':_0x4fd004,'observable':()=>_0x21fb25,'buttonViewCreator':()=>this[_0x1cba3d(0x126)](_0x51c72a),'formViewCreator':()=>this[_0x1cba3d(0x122)](_0x51c72a),'menuBarButtonViewCreator':()=>this[_0x1cba3d(0x100)](_0x51c72a),'override':_0x1cba3d(0x13d)!==_0x4fd004});});}[_0x55d402(0xfb)](){const _0x11586e=_0x55d402;super[_0x11586e(0xfb)](),this[_0x11586e(0x12f)]&&clearInterval(this[_0x11586e(0x12f)]);}[_0x55d402(0x141)](_0x3dfad5){const _0x207c2e=_0x55d402,{locale:_0x57f3c6}=this[_0x207c2e(0x12b)];return _0x3dfad5[_0x207c2e(0x11d)](_0x820655=>{const _0x2a8273=_0x207c2e,_0x502d9d=_0x567348(_0x57f3c6,_0x820655,_0x2a8273(0x12c));switch(_0x820655){case _0x123501[_0x2a8273(0x124)]:return{'icon':_0x2df6b5,'type':_0x123501[_0x2a8273(0x124)],..._0x502d9d};case _0x123501[_0x2a8273(0xf8)]:return{'icon':_0x525976,'type':_0x123501[_0x2a8273(0xf8)],..._0x502d9d};case _0x123501[_0x2a8273(0xf7)]:return{'icon':_0x140ec7,'type':_0x123501[_0x2a8273(0xf7)],..._0x502d9d};case _0x123501[_0x2a8273(0x107)]:return{'icon':_0x4a599b,'type':_0x123501[_0x2a8273(0x107)],..._0x502d9d};case _0x123501[_0x2a8273(0xf5)]:return{'icon':_0x56d0fc,'type':_0x123501[_0x2a8273(0xf5)],..._0x502d9d};case _0x123501[_0x2a8273(0x103)]:return{'icon':_0x3d2339,'type':_0x123501[_0x2a8273(0x103)],..._0x502d9d};case _0x123501[_0x2a8273(0x128)]:return{'icon':_0x13e82d,'type':_0x123501[_0x2a8273(0x128)],..._0x502d9d};}});}[_0x55d402(0x143)](_0x2005a2){const _0x3a9ffd=_0x55d402;switch(_0x2005a2){case _0x123501[_0x3a9ffd(0x124)]:return _0x3a9ffd(0x138);case _0x123501[_0x3a9ffd(0xf8)]:return _0x3a9ffd(0x129);default:return _0x3a9ffd(0x13d);}}[_0x55d402(0x10e)](_0x4e6429,_0x617885){const _0x4815fc=_0x55d402,_0xdd5c47=this[_0x4815fc(0x12b)],_0x563b37=new _0x4e6429(_0xdd5c47[_0x4815fc(0xfd)]),_0x19ab99=_0xdd5c47[_0x4815fc(0x13c)][_0x4815fc(0x130)](_0x4815fc(0x132));return _0x563b37[_0x4815fc(0x12a)](_0x4815fc(0x13b))['to'](_0x19ab99),_0x563b37['on'](_0x4815fc(0x11c),()=>{const _0x894e1f=_0x4815fc;_0x19ab99[_0x894e1f(0x11c)](_0x617885);}),_0x563b37;}[_0x55d402(0x126)](_0xe216da){const _0x133138=_0x55d402,{locale:_0x41af27}=this[_0x133138(0x12b)],_0x18f935=this[_0x133138(0x12b)][_0x133138(0x116)][_0x133138(0x130)](_0x133138(0xf9)),_0x22b0b4=_0xe216da[0x0],_0x393434=this[_0x133138(0x10e)](_0x243997,_0x22b0b4[_0x133138(0x137)]);return _0x393434[_0x133138(0x139)]=_0x22b0b4[_0x133138(0x139)],_0x393434[_0x133138(0x12a)](_0x133138(0xfc))['to'](_0x18f935,_0x133138(0x136),_0x1e2e56=>_0x567348(_0x41af27,_0x22b0b4[_0x133138(0x137)],_0x1e2e56?_0x133138(0x112):_0x133138(0x12c))[_0x133138(0x140)]),_0x393434[_0x133138(0x134)]=!0x0,_0x393434;}[_0x55d402(0x122)](_0x234fe7){const _0xb0a0da=_0x55d402,{locale:_0x303d4b}=this[_0xb0a0da(0x12b)],_0x2f3b27=this[_0xb0a0da(0x12b)][_0xb0a0da(0x116)][_0xb0a0da(0x130)](_0xb0a0da(0xf9));return _0x234fe7[_0xb0a0da(0x11d)](_0x2d5722=>{const _0xe80cb8=_0xb0a0da,_0xfea507=this[_0xe80cb8(0x10e)](_0x243997,_0x2d5722[_0xe80cb8(0x137)]);return _0xfea507[_0xe80cb8(0xfe)]=!0x0,_0xfea507[_0xe80cb8(0x139)]=_0x2d5722[_0xe80cb8(0x139)],_0xfea507[_0xe80cb8(0x12a)](_0xe80cb8(0xfc))['to'](_0x2f3b27,_0xe80cb8(0x136),_0x58b945=>_0x567348(_0x303d4b,_0x2d5722[_0xe80cb8(0x137)],_0x58b945?_0xe80cb8(0x112):_0xe80cb8(0x12c))[_0xe80cb8(0x140)]),_0xfea507;});}[_0x55d402(0x100)](_0x55731e){const _0x15527a=_0x55d402;return _0x55731e[_0x15527a(0x11d)](_0x5b5ca2=>{const _0x1423e3=_0x15527a,_0x22b284=this[_0x1423e3(0x10e)](_0x297d93,_0x5b5ca2[_0x1423e3(0x137)]);return _0x22b284[_0x1423e3(0x139)]=_0x5b5ca2[_0x1423e3(0x139)],_0x22b284[_0x1423e3(0xfc)]=_0x5b5ca2[_0x1423e3(0x127)],_0x22b284;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x167f87}from'ckeditor5/src/core.js';import{FileRepository as _0xe4d2e0}from'ckeditor5/src/upload.js';import _0x5d0a11 from'./uploadcareediting.js';import _0x4a5c3a from'./utils/uploadutils.js';import{getImageUrls as _0x143896}from'./utils/editingutils.js';export default class p extends _0x167f87{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0xe4d2e0,_0x5d0a11];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x3e90fb=this['editor'];if(!!!_0x3e90fb['config']['get']('uploadcare'))return;_0x3e90fb['plugins']['get'](_0xe4d2e0)['createUploadAdapter']=_0x5aad28=>new x(_0x5aad28,_0x3e90fb),_0x3e90fb['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x1b7328,{imageElement:_0x2de262,data:_0x5285df})=>{_0x3e90fb['model']['change'](_0x42804f=>{_0x42804f['setAttribute']('uploadcareImageId',_0x5285df['uploadcareImageId'],_0x2de262);});});}}class x{['loader'];['editor'];['controller'];constructor(_0x4b4fce,_0x5cd460){this['loader']=_0x4b4fce,this['editor']=_0x5cd460,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x829cc5=this['editor']['config']['get']('uploadcare.pubkey'),_0x54be46=await this['loader']['file'];return _0x4a5c3a['upload']({'file':_0x54be46,'publicKey':_0x829cc5,'signal':this['controller']['signal'],'onProgress':_0x13d1a1=>{_0x13d1a1&&_0x13d1a1['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x13d1a1['value']);}})['then'](async _0x5a3aca=>{const {imageFallbackUrl:_0x26a47e,imageSources:_0x3db913}=_0x143896(_0x5a3aca['cdnUrl'],_0x5a3aca['imageInfo']['width']);return{'uploadcareImageId':_0x5a3aca['uuid'],'default':_0x26a47e,'sources':_0x3db913};})['catch'](()=>{const _0x160a40=t('Cannot\x20upload\x20file:')+('\x20'+_0x54be46['name']+'.');return Promise['reject'](_0x160a40);});}['abort'](){this['controller']['abort']();}}
23
+ import{Plugin as _0x254222}from'ckeditor5/src/core.js';import{FileRepository as _0x47ceac}from'ckeditor5/src/upload.js';import _0x3fcc49 from'./uploadcareediting.js';import _0x3adbe1 from'./utils/uploadutils.js';import{getImageUrls as _0x40d964}from'./utils/editingutils.js';export default class p extends _0x254222{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x47ceac,_0x3fcc49];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x555f0e=this['editor'];if(!!!_0x555f0e['config']['get']('uploadcare'))return;_0x555f0e['plugins']['get'](_0x47ceac)['createUploadAdapter']=_0x2d6317=>new x(_0x2d6317,_0x555f0e),_0x555f0e['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x5b8553,{imageElement:_0x3f5b8e,data:_0x3dcae4})=>{_0x555f0e['model']['change'](_0xdf31e2=>{_0xdf31e2['setAttribute']('uploadcareImageId',_0x3dcae4['uploadcareImageId'],_0x3f5b8e);});});}}class x{['loader'];['editor'];['controller'];constructor(_0x2de7d3,_0x356559){this['loader']=_0x2de7d3,this['editor']=_0x356559,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0xb0ba20=this['editor']['config']['get']('uploadcare.pubkey'),_0x373aba=await this['loader']['file'];return _0x3adbe1['upload']({'file':_0x373aba,'publicKey':_0xb0ba20,'signal':this['controller']['signal'],'onProgress':_0x2dccc9=>{_0x2dccc9&&_0x2dccc9['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x2dccc9['value']);}})['then'](async _0x420d0c=>{const {imageFallbackUrl:_0x3a97ca,imageSources:_0x1d49e9}=_0x40d964(_0x420d0c['cdnUrl'],_0x420d0c['imageInfo']['width']);return{'uploadcareImageId':_0x420d0c['uuid'],'default':_0x3a97ca,'sources':_0x1d49e9};})['catch'](()=>{const _0x8ded3a=t('Cannot\x20upload\x20file:')+('\x20'+_0x373aba['name']+'.');return Promise['reject'](_0x8ded3a);});}['abort'](){this['controller']['abort']();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{UploadcareSource as _0x3a925a}from'../uploadcareconfig.js';export function getTranslation(_0x6175db,_0x31387f,_0x2a72a7){const t=_0x6175db['t'],_0x133a90=_0x6175db['t'];switch(_0x31387f){case _0x3a925a['Local']:return{'text':_0x133a90('Insert'===_0x2a72a7?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x133a90('From\x20computer')};case _0x3a925a['URL']:return{'text':'Insert'===_0x2a72a7?_0x133a90('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x133a90('Via\x20URL')};case _0x3a925a['Dropbox']:return{'text':t('Insert'===_0x2a72a7?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x3a925a['Facebook']:return{'text':t('Insert'===_0x2a72a7?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x3a925a['GDrive']:return{'text':t('Insert'===_0x2a72a7?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x3a925a['GPhotos']:return{'text':t('Insert'===_0x2a72a7?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x3a925a['OneDrive']:return{'text':t('Insert'===_0x2a72a7?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x31387f;}}
23
+ import{UploadcareSource as _0x540ff1}from'../uploadcareconfig.js';export function getTranslation(_0x459fee,_0x1b62c8,_0x2f2854){const t=_0x459fee['t'],_0x29967f=_0x459fee['t'];switch(_0x1b62c8){case _0x540ff1['Local']:return{'text':_0x29967f('Insert'===_0x2f2854?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x29967f('From\x20computer')};case _0x540ff1['URL']:return{'text':'Insert'===_0x2f2854?_0x29967f('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x29967f('Via\x20URL')};case _0x540ff1['Dropbox']:return{'text':t('Insert'===_0x2f2854?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x540ff1['Facebook']:return{'text':t('Insert'===_0x2f2854?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x540ff1['GDrive']:return{'text':t('Insert'===_0x2f2854?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x540ff1['GPhotos']:return{'text':t('Insert'===_0x2f2854?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x540ff1['OneDrive']:return{'text':t('Insert'===_0x2f2854?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x1b62c8;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x3b565c=_0x52d2;(function(_0x3cac99,_0x1845bd){var _0x57d81f=_0x52d2,_0x4b1dec=_0x3cac99();while(!![]){try{var _0x56c947=-parseInt(_0x57d81f(0xe0))/0x1*(-parseInt(_0x57d81f(0xdc))/0x2)+-parseInt(_0x57d81f(0xd8))/0x3+parseInt(_0x57d81f(0xdf))/0x4*(-parseInt(_0x57d81f(0xda))/0x5)+-parseInt(_0x57d81f(0xd9))/0x6+-parseInt(_0x57d81f(0xd1))/0x7*(parseInt(_0x57d81f(0xde))/0x8)+parseInt(_0x57d81f(0xdb))/0x9+parseInt(_0x57d81f(0xd7))/0xa;if(_0x56c947===_0x1845bd)break;else _0x4b1dec['push'](_0x4b1dec['shift']());}catch(_0x1152da){_0x4b1dec['push'](_0x4b1dec['shift']());}}}(_0x10a4,0x43f2b));import{FocusTracker as _0x22a91d}from'ckeditor5/src/utils.js';import{View as _0x5d378f,FocusCycler as _0x33973b}from'ckeditor5/src/ui.js';function _0x52d2(_0x57aeb3,_0x1c61d9){var _0x10a4dd=_0x10a4();return _0x52d2=function(_0x52d2bf,_0x58c929){_0x52d2bf=_0x52d2bf-0xce;var _0xf41dce=_0x10a4dd[_0x52d2bf];return _0xf41dce;},_0x52d2(_0x57aeb3,_0x1c61d9);}import'../../theme/uploadcare-form.css';export default class q extends _0x5d378f{[_0x3b565c(0xd6)];[_0x3b565c(0xce)];constructor(_0x1aa1e9){var _0x5bc904=_0x3b565c;super(_0x1aa1e9),this[_0x5bc904(0xd6)]=new _0x22a91d(),this[_0x5bc904(0xce)]=new _0x33973b({'focusables':this[_0x5bc904(0xd0)](),'focusTracker':this[_0x5bc904(0xd6)]});}[_0x3b565c(0xd4)](){var _0x397523=_0x3b565c;return{'tag':_0x397523(0xd3),'attributes':{'aria-hidden':_0x397523(0xcf),'tabindex':'0'},'on':{'focus':this[_0x397523(0xd5)]['to'](()=>{var _0x15b1f3=_0x397523;this[_0x15b1f3(0xce)][_0x15b1f3(0xdd)](_0x15b1f3(0xd2));})}};}}function _0x10a4(){var _0x3ce604=['190200ebCbUT','284KsOzrw','1hQmEQV','focusCycler','true','createCollection','140WTDyUB','forwardCycle','div','getFocusableElement','bindTemplate','focusTracker','11590590gQrHsI','365976zHwaWj','3066534CfuUdA','27655jVsfmD','2901510nThTaw','596296GHqliT','fire'];_0x10a4=function(){return _0x3ce604;};return _0x10a4();}
23
+ var _0x4be874=_0x393a;function _0x393a(_0x198b56,_0x3e80ba){var _0x24a30d=_0x24a3();return _0x393a=function(_0x393a93,_0xb9a0ec){_0x393a93=_0x393a93-0x1b6;var _0x3c26ea=_0x24a30d[_0x393a93];return _0x3c26ea;},_0x393a(_0x198b56,_0x3e80ba);}(function(_0x4faafd,_0x14d378){var _0x300a09=_0x393a,_0x30d86a=_0x4faafd();while(!![]){try{var _0x462435=-parseInt(_0x300a09(0x1c5))/0x1+parseInt(_0x300a09(0x1c2))/0x2+-parseInt(_0x300a09(0x1c0))/0x3*(parseInt(_0x300a09(0x1c3))/0x4)+parseInt(_0x300a09(0x1bd))/0x5+parseInt(_0x300a09(0x1c6))/0x6*(parseInt(_0x300a09(0x1c8))/0x7)+-parseInt(_0x300a09(0x1be))/0x8*(parseInt(_0x300a09(0x1bf))/0x9)+parseInt(_0x300a09(0x1c4))/0xa;if(_0x462435===_0x14d378)break;else _0x30d86a['push'](_0x30d86a['shift']());}catch(_0x23bc9e){_0x30d86a['push'](_0x30d86a['shift']());}}}(_0x24a3,0xafa7d));import{FocusTracker as _0x910312}from'ckeditor5/src/utils.js';function _0x24a3(){var _0x5e990a=['1168398qfqaPH','4273464TGyUcH','12635860PLyGOD','362289wMXbIH','6ZJOXQh','getFocusableElement','2725863sVpcBD','createCollection','true','fire','forwardCycle','focusCycler','focusTracker','bindTemplate','6013645RGjVER','938024tzByDt','99TSdQVk','3PmfFsM','div'];_0x24a3=function(){return _0x5e990a;};return _0x24a3();}import{View as _0xcc7824,FocusCycler as _0x41f6c4}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';export default class q extends _0xcc7824{[_0x4be874(0x1bb)];[_0x4be874(0x1ba)];constructor(_0x2db399){var _0x38be8b=_0x4be874;super(_0x2db399),this[_0x38be8b(0x1bb)]=new _0x910312(),this[_0x38be8b(0x1ba)]=new _0x41f6c4({'focusables':this[_0x38be8b(0x1b6)](),'focusTracker':this[_0x38be8b(0x1bb)]});}[_0x4be874(0x1c7)](){var _0x32646c=_0x4be874;return{'tag':_0x32646c(0x1c1),'attributes':{'aria-hidden':_0x32646c(0x1b7),'tabindex':'0'},'on':{'focus':this[_0x32646c(0x1bc)]['to'](()=>{var _0x48734d=_0x32646c;this[_0x48734d(0x1ba)][_0x48734d(0x1b8)](_0x48734d(0x1b9));})}};}}