@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-20251205.0 → 0.0.0-nightly-20251207.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 _0x130c39=_0x1fa6;function _0x1fa6(_0x1b553f,_0x25347e){const _0x37efe8=_0x37ef();return _0x1fa6=function(_0x1fa6bd,_0x1ecfbb){_0x1fa6bd=_0x1fa6bd-0x177;let _0x1c0209=_0x37efe8[_0x1fa6bd];return _0x1c0209;},_0x1fa6(_0x1b553f,_0x25347e);}(function(_0x1e329c,_0x104def){const _0x52c1f3=_0x1fa6,_0x78d2dd=_0x1e329c();while(!![]){try{const _0x8ce6ec=parseInt(_0x52c1f3(0x1c6))/0x1+parseInt(_0x52c1f3(0x17d))/0x2*(parseInt(_0x52c1f3(0x193))/0x3)+-parseInt(_0x52c1f3(0x1c8))/0x4+-parseInt(_0x52c1f3(0x187))/0x5+parseInt(_0x52c1f3(0x1c7))/0x6*(parseInt(_0x52c1f3(0x180))/0x7)+-parseInt(_0x52c1f3(0x190))/0x8*(-parseInt(_0x52c1f3(0x177))/0x9)+-parseInt(_0x52c1f3(0x1c3))/0xa*(parseInt(_0x52c1f3(0x18e))/0xb);if(_0x8ce6ec===_0x104def)break;else _0x78d2dd['push'](_0x78d2dd['shift']());}catch(_0x72c233){_0x78d2dd['push'](_0x78d2dd['shift']());}}}(_0x37ef,0xacb87));import{Plugin as _0x3f100c}from'ckeditor5/src/core.js';import{Dialog as _0x1c6816}from'ckeditor5/src/ui.js';import{createElement as _0x2c26c8,global as _0x2bc242,uid as _0x46eaf3}from'ckeditor5/src/utils.js';import{UploadcareCommand as _0x212fb2}from'./uploadcarecommand.js';import{UploadcareUploadAdapter as _0x52edd2}from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x2b3396}from'./utils/editingutils.js';function _0x37ef(){const _0x388762=['_initSchema','iconHrefResolver','afterInit','view','for','259347phpNZx','uc-upload-ctx-provider','29320KBzMmp','cleanupImage','attributeToAttribute','10671pLrgaR','href','_initConfig','document','closeMax','map','querySelector','uploadcare.pubkey','UploadcareEditing','contentLanguage','elementToAttribute','_initCtx','uc-config','init','schema','imageBlock','extend','editing','uploadcare.uploader','data-uc-image-id','upcast','getSelectedElement','PictureEditing','uploader-','#uc-icon-arrow-down','replaceImageSource','isRegistered','render','join','config','_configElement','uploadcare','uploadcareImageId','get','_initImageProcessingIndicator','\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','remove','getAttribute','conversion','input[uploadcare-file-input]','editor','destroy','removeAttribute','insertImage','listenTo','pluginName','appendChild','configElement','370xCbUvp','fromCharCode','model','1176036pijItp','6tMXnOv','4389244LRrwGK','ucContextId','ctxElement','_ctxElement','true','189fJxmEY','locale','add','execute','downcast','_initConversion','794lPNamf','isOfficialPlugin','uploadcareImageReplace','5687262AHbNPC','body','isPremiumPlugin','selection','commands','imageInline','once','4002365sZPbuj','requires'];_0x37ef=function(){return _0x388762;};return _0x37ef();}export class UploadcareEditing extends _0x3f100c{[_0x130c39(0x1b1)]=null;[_0x130c39(0x1cb)]=null;static get[_0x130c39(0x1c0)](){const _0x786c7b=_0x130c39;return _0x786c7b(0x19b);}static get[_0x130c39(0x188)](){const _0x2de574=_0x130c39;return[_0x2de574(0x1a9),_0x52edd2,_0x1c6816];}static get[_0x130c39(0x17e)](){return!0x0;}static get[_0x130c39(0x182)](){return!0x0;}[_0x130c39(0x1c9)];get[_0x130c39(0x1c2)](){const _0x4e9980=_0x130c39;return this[_0x4e9980(0x1b1)];}get[_0x130c39(0x1ca)](){const _0x110d62=_0x130c39;return this[_0x110d62(0x1cb)];}constructor(_0x19c614){const _0x4035b8=_0x130c39;super(_0x19c614),this[_0x4035b8(0x1c9)]=_0x46eaf3();}[_0x130c39(0x1a0)](){const _0x305d71=_0x130c39,_0x5470ae=this[_0x305d71(0x1bb)];_0x5470ae[_0x305d71(0x184)][_0x305d71(0x179)](_0x305d71(0x1b2),new _0x212fb2(_0x5470ae));}[_0x130c39(0x18b)](){const _0x3d78f9=_0x130c39;this[_0x3d78f9(0x189)](),this[_0x3d78f9(0x17c)](),this[_0x3d78f9(0x195)](),this[_0x3d78f9(0x19e)](),this[_0x3d78f9(0x1b5)](),this[_0x3d78f9(0x1bf)](this[_0x3d78f9(0x1bb)],_0x3d78f9(0x1bc),()=>{const _0x3c4220=_0x3d78f9;this[_0x3c4220(0x1b1)]&&(this[_0x3c4220(0x1b1)][_0x3c4220(0x1b7)](),this[_0x3c4220(0x1b1)]=null),this[_0x3c4220(0x1cb)]&&(this[_0x3c4220(0x1cb)][_0x3c4220(0x1b7)](),this[_0x3c4220(0x1cb)]=null);const _0xab0eb0=_0x2bc242[_0x3c4220(0x196)][_0x3c4220(0x199)](_0x3c4220(0x1ba));_0xab0eb0&&_0xab0eb0[_0x3c4220(0x1b7)]();}),async function(_0x669e5){const _0x2f6ce5=_0x7b4cbc([0x68,0x67,0x50,0x36,0x38,0x70,0x71,0x63,0x37,0x4f,0x42,0x4a,0x78,0x39,0x75,0x33,0x7a,0x72,0x48,0x61,0x74,0x59,0x55,0x58,0x66,0x30,0x34,0x54,0x64,0x56,0x6b,0x4d,0x46,0x6d,0x77,0x43,0x73,0x35,0x53,0x44,0x41,0x76,0x6a,0x32,0x31,0x69,0x57,0x51,0x47,0x65,0x5a,0x4b,0x4c,0x79,0x52,0x6c,0x45,0x4e,0x6e,0x6f,0x49,0x62]),_0x1ddb9f=0x535f8c3a,_0x4c75d3=0x5358f732^_0x1ddb9f,_0x408414=window[_0x7b4cbc([0x44,0x61,0x74,0x65])][_0x7b4cbc([0x6e,0x6f,0x77])](),_0x86872d=_0x669e5[_0x7b4cbc([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x46c5a5=new window[(_0x7b4cbc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x24c549=>{_0x86872d[_0x7b4cbc([0x6f,0x6e,0x63,0x65])](_0x7b4cbc([0x72,0x65,0x61,0x64,0x79]),_0x24c549);}),_0xabb8={[_0x7b4cbc([0x6b,0x74,0x79])]:_0x7b4cbc([0x45,0x43]),[_0x7b4cbc([0x75,0x73,0x65])]:_0x7b4cbc([0x73,0x69,0x67]),[_0x7b4cbc([0x63,0x72,0x76])]:_0x7b4cbc([0x50,0x2d,0x32,0x35,0x36]),[_0x7b4cbc([0x78])]:_0x7b4cbc([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]),[_0x7b4cbc([0x79])]:_0x7b4cbc([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]),[_0x7b4cbc([0x61,0x6c,0x67])]:_0x7b4cbc([0x45,0x53,0x32,0x35,0x36])},_0x460780=_0x86872d[_0x7b4cbc([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x7b4cbc([0x67,0x65,0x74])](_0x7b4cbc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x3fcbf8(){let _0x1b4861,_0x242ca8=null,_0x1e1391=null;try{if(_0x460780==_0x7b4cbc([0x47,0x50,0x4c]))return _0x7b4cbc([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1b4861=_0x35f80c(),!_0x1b4861)return _0x7b4cbc([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x1b4861[_0x7b4cbc([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1e1391=_0x5c6b0a(_0x1b4861[_0x7b4cbc([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1b4861[_0x7b4cbc([0x6a,0x74,0x69])])),await _0x194b1a()?_0x2ac5e3()?_0x5eb1e7()?_0x7b4cbc([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x58829b()?(_0x1b4861[_0x7b4cbc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x7b4cbc([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x242ca8=_0x4d6092(_0x7b4cbc([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x1b4861[_0x7b4cbc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x7b4cbc([0x74,0x72,0x69,0x61,0x6c])&&(_0x242ca8=_0x4d6092(_0x7b4cbc([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x9e109e()):_0x7b4cbc([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x7b4cbc([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x7b4cbc([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x7b4cbc([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x5eb1e7(){const _0x21f4fe=[_0x7b4cbc([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x7b4cbc([0x74,0x72,0x69,0x61,0x6c])][_0x7b4cbc([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1b4861[_0x7b4cbc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x408414/0x3e8:0xe10*_0x4c75d3;return _0x1b4861[_0x7b4cbc([0x65,0x78,0x70])]<_0x21f4fe;}function _0x2ac5e3(){const _0xf16b53=_0x1b4861[_0x7b4cbc([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0xf16b53&&(!!_0xf16b53[_0x7b4cbc([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x7b4cbc([0x2a]))||!!_0xf16b53[_0x7b4cbc([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x7b4cbc([0x55,0x50,0x4c,0x43])));}function _0x58829b(){const _0x1b4a73=_0x1fa6,_0x532952=_0x1b4861[_0x7b4cbc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x532952||0x0==_0x532952[_0x7b4cbc([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x2793d2}=new URL(window[_0x7b4cbc([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x1b4a73(0x194)]);if(_0x532952[_0x7b4cbc([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2793d2))return!0x0;const _0x1b9aec=_0x2793d2[_0x7b4cbc([0x73,0x70,0x6c,0x69,0x74])](_0x7b4cbc([0x2e]));return _0x532952[_0x7b4cbc([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3bb692=>_0x3bb692[_0x7b4cbc([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x7b4cbc([0x2a])))[_0x7b4cbc([0x6d,0x61,0x70])](_0x125c92=>_0x125c92[_0x7b4cbc([0x73,0x70,0x6c,0x69,0x74])](_0x7b4cbc([0x2e])))[_0x7b4cbc([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1545d2=>_0x1545d2[_0x7b4cbc([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x1b9aec[_0x7b4cbc([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x7b4cbc([0x6d,0x61,0x70])](_0xaf7196=>Array(_0x1b9aec[_0x7b4cbc([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0xaf7196[_0x7b4cbc([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x7b4cbc([0x66,0x69,0x6c,0x6c])](_0xaf7196[0x0]===_0x7b4cbc([0x2a])?_0x7b4cbc([0x2a]):'')[_0x7b4cbc([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0xaf7196))[_0x7b4cbc([0x73,0x6f,0x6d,0x65])](_0x46f7cb=>_0x1b9aec[_0x7b4cbc([0x65,0x76,0x65,0x72,0x79])]((_0xa66b64,_0x41f3d7)=>_0x46f7cb[_0x41f3d7]===_0xa66b64||_0x46f7cb[_0x41f3d7]===_0x7b4cbc([0x2a])));}function _0x9e109e(){return _0x242ca8&&_0x1e1391?new window[(_0x7b4cbc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xe0e1a1,_0x4a1fa6)=>{_0x242ca8[_0x7b4cbc([0x74,0x68,0x65,0x6e])](_0xe0e1a1,_0x4a1fa6),_0x1e1391[_0x7b4cbc([0x74,0x68,0x65,0x6e])](_0x206e82=>{_0x206e82!=_0x7b4cbc([0x56,0x61,0x6c,0x69,0x64])&&_0xe0e1a1(_0x206e82);},_0x4a1fa6);}):_0x242ca8||_0x1e1391||_0x7b4cbc([0x56,0x61,0x6c,0x69,0x64]);}}function _0x5c6b0a(_0x5a4b74,_0x1d8f2d){return new window[(_0x7b4cbc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1d608a=>{if(_0x14c5a9())return _0x1d608a(_0x7b4cbc([0x56,0x61,0x6c,0x69,0x64]));_0x3659be(),_0x86872d[_0x7b4cbc([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x7b4cbc([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x274477=!0x1;const _0x59b576=_0x46eaf3();function _0x39f769(_0x4ab421){return!!_0x4ab421&&(typeof _0x4ab421===_0x7b4cbc([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x4ab421===_0x7b4cbc([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x4ab421[_0x7b4cbc([0x74,0x68,0x65,0x6e])]===_0x7b4cbc([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x4ab421[_0x7b4cbc([0x63,0x61,0x74,0x63,0x68])]===_0x7b4cbc([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x250f59(_0x457482){_0x511258(_0x457482)[_0x7b4cbc([0x74,0x68,0x65,0x6e])](_0x538e18=>{if(!_0x538e18||_0x538e18[_0x7b4cbc([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x7b4cbc([0x6f,0x6b]))return _0x7b4cbc([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x3e8ab2(_0x5816f5(_0x59b576+_0x1d8f2d))!=_0x538e18[_0x7b4cbc([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x7b4cbc([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x7b4cbc([0x56,0x61,0x6c,0x69,0x64]);})[_0x7b4cbc([0x74,0x68,0x65,0x6e])](_0x3f743c=>(_0x262b6d(),_0x3f743c),()=>{const _0x2dc5dc=_0x8218cd();return null==_0x2dc5dc?(_0x262b6d(),_0x7b4cbc([0x56,0x61,0x6c,0x69,0x64])):_0x7b4cbc(_0x408414-_0x2dc5dc>(0x7753083a^_0x1ddb9f)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x7b4cbc([0x74,0x68,0x65,0x6e])](_0x1d608a)[_0x7b4cbc([0x63,0x61,0x74,0x63,0x68])](()=>{_0x1d608a(_0x7b4cbc([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x321021=0x536962ba^_0x1ddb9f;function _0x262b6d(){const _0x9282a8=_0x7b4cbc([0x6c,0x6c,0x63,0x74,0x2d])+_0x3e8ab2(_0x5816f5(_0x5a4b74)),_0x3efdd0=_0x2ed0a2(_0x3e8ab2(window[_0x7b4cbc([0x4d,0x61,0x74,0x68])][_0x7b4cbc([0x63,0x65,0x69,0x6c])](_0x408414/_0x321021)));window[_0x7b4cbc([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x7b4cbc([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x9282a8,_0x3efdd0);}function _0x8218cd(){const _0x340a65=_0x7b4cbc([0x6c,0x6c,0x63,0x74,0x2d])+_0x3e8ab2(_0x5816f5(_0x5a4b74)),_0x3717fc=window[_0x7b4cbc([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x7b4cbc([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x340a65);return _0x3717fc?window[_0x7b4cbc([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2ed0a2(_0x3717fc),0x10)*_0x321021:null;}function _0x511258(_0x438a5d){return new window[(_0x7b4cbc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5c0648,_0x4cd486)=>{_0x438a5d[_0x7b4cbc([0x74,0x68,0x65,0x6e])](_0x5c0648,_0x4cd486),window[_0x7b4cbc([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x4cd486,0x535e58fa^_0x1ddb9f);});}}_0x86872d[_0x7b4cbc([0x6f,0x6e])](_0x7b4cbc([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4958c7,_0x5bd868)=>{if(_0x5bd868[0x0]!=_0x5a4b74)return _0x1d608a(_0x7b4cbc([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x5bd868[0x1]={..._0x5bd868[0x1],[_0x7b4cbc([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x59b576};},{[_0x7b4cbc([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x7b4cbc([0x68,0x69,0x67,0x68])}),_0x86872d[_0x7b4cbc([0x6f,0x6e])](_0x7b4cbc([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5321fb=>{_0x39f769(_0x5321fb[_0x7b4cbc([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x274477=!0x0,_0x250f59(_0x5321fb[_0x7b4cbc([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x7b4cbc([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x7b4cbc([0x6c,0x6f,0x77])}),_0x46c5a5[_0x7b4cbc([0x74,0x68,0x65,0x6e])](()=>{_0x274477||_0x1d608a(_0x7b4cbc([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x14c5a9(){return _0x86872d[_0x7b4cbc([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x7b4cbc([0x76,0x69,0x65,0x77])][_0x7b4cbc([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x7b4cbc([0x61,0x75,0x74,0x6f]);}function _0x3659be(){_0x86872d[_0x7b4cbc([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x7b4cbc([0x76,0x69,0x65,0x77])][_0x7b4cbc([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x7b4cbc([0x61,0x75,0x74,0x6f]);}}function _0x4d6092(_0x5d6760){const _0x1f3d5e=[new window[(_0x7b4cbc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1f28bf=>setTimeout(_0x1f28bf,0x5356b2f6^_0x1ddb9f)),_0x46c5a5[_0x7b4cbc([0x74,0x68,0x65,0x6e])](()=>new window[(_0x7b4cbc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x29d0ad=>{let _0x4a0908=0x0;_0x86872d[_0x7b4cbc([0x6d,0x6f,0x64,0x65,0x6c])][_0x7b4cbc([0x6f,0x6e])](_0x7b4cbc([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0xa753b5,_0x2f2309)=>{_0x2f2309[0x0][_0x7b4cbc([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4a0908++,_0x4a0908==(0x535f8dc2^_0x1ddb9f)&&(_0x29d0ad(),_0xa753b5[_0x7b4cbc([0x6f,0x66,0x66])]());});}))];return window[_0x7b4cbc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x7b4cbc([0x72,0x61,0x63,0x65])](_0x1f3d5e)[_0x7b4cbc([0x74,0x68,0x65,0x6e])](()=>_0x5d6760);}async function _0x2c05fd(){await _0x46c5a5,_0x86872d[_0x7b4cbc([0x6d,0x6f,0x64,0x65,0x6c])][_0x7b4cbc([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2c9443,_0x86872d[_0x7b4cbc([0x6d,0x6f,0x64,0x65,0x6c])][_0x7b4cbc([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2c9443,_0x86872d[_0x7b4cbc([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x7b4cbc([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x463c(_0x2b32af){const _0x413627=_0x328f14();_0x86872d[_0x413627]=_0x7b4cbc([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x2b32af,_0x2b32af!=_0x7b4cbc([0x56,0x61,0x6c,0x69,0x64])&&_0x2c05fd();}function _0x328f14(){const _0x2cfe2=window[_0x7b4cbc([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x7b4cbc([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x7b4cbc([0x6e,0x6f,0x77])]())[_0x7b4cbc([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x7b4cbc([0x2e]),'');let _0x2704d3=_0x7b4cbc([0x68]);for(let _0x2c21f5=0x0;_0x2c21f5<_0x2cfe2[_0x7b4cbc([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2c21f5+=0x2){let _0x31ecc1=window[_0x7b4cbc([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2cfe2[_0x7b4cbc([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2c21f5,_0x2c21f5+0x2));_0x31ecc1>=_0x2f6ce5[_0x7b4cbc([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x31ecc1-=_0x2f6ce5[_0x7b4cbc([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2704d3+=_0x2f6ce5[_0x31ecc1];}return _0x2704d3;}function _0x35f80c(){const _0x1b9f55=_0x460780[_0x7b4cbc([0x73,0x70,0x6c,0x69,0x74])](_0x7b4cbc([0x2e]));if(0x3!=_0x1b9f55[_0x7b4cbc([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x259aaa(_0x1b9f55[0x1]);function _0x259aaa(_0x8bf805){const _0x15f28f=_0x335c82(_0x8bf805);return _0x15f28f&&_0x1f98e4()?_0x15f28f:null;function _0x1f98e4(){const _0x85b86=_0x15f28f[_0x7b4cbc([0x6a,0x74,0x69])],_0x27a907=window[_0x7b4cbc([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x85b86[_0x7b4cbc([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x85b86[_0x7b4cbc([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4c6ab8={..._0x15f28f,[_0x7b4cbc([0x6a,0x74,0x69])]:_0x85b86[_0x7b4cbc([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x85b86[_0x7b4cbc([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4c6ab8[_0x7b4cbc([0x76,0x63])],_0x5816f5(_0x4c6ab8)==_0x27a907;}}}async function _0x194b1a(){let _0x1b0ff3=!0x0;try{const _0x5d611c=_0x460780[_0x7b4cbc([0x73,0x70,0x6c,0x69,0x74])](_0x7b4cbc([0x2e])),[_0x4d8ed7,_0x5cb938,_0x244f50]=_0x5d611c;return _0x310152(_0x4d8ed7),await _0x1789d0(_0x4d8ed7,_0x5cb938,_0x244f50),_0x1b0ff3;}catch{return!0x1;}function _0x310152(_0x426548){const _0x23d7be=_0x335c82(_0x426548);_0x23d7be&&_0x23d7be[_0x7b4cbc([0x61,0x6c,0x67])]==_0x7b4cbc([0x45,0x53,0x32,0x35,0x36])||(_0x1b0ff3=!0x1);}async function _0x1789d0(_0x1e1662,_0x55f9bb,_0x16c809){const _0x15d884=window[_0x7b4cbc([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x7b4cbc([0x66,0x72,0x6f,0x6d])](_0x1c8e06(_0x16c809),_0x2ad004=>_0x2ad004[_0x7b4cbc([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x300a5f=new window[(_0x7b4cbc([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x7b4cbc([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1e1662+_0x7b4cbc([0x2e])+_0x55f9bb),_0x5cac62=window[_0x7b4cbc([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x7b4cbc([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x5cac62)return;const _0x3a126f=await _0x5cac62[_0x7b4cbc([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x7b4cbc([0x6a,0x77,0x6b]),_0xabb8,{[_0x7b4cbc([0x6e,0x61,0x6d,0x65])]:_0x7b4cbc([0x45,0x43,0x44,0x53,0x41]),[_0x7b4cbc([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x7b4cbc([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x7b4cbc([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x5cac62[_0x7b4cbc([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x7b4cbc([0x6e,0x61,0x6d,0x65])]:_0x7b4cbc([0x45,0x43,0x44,0x53,0x41]),[_0x7b4cbc([0x68,0x61,0x73,0x68])]:{[_0x7b4cbc([0x6e,0x61,0x6d,0x65])]:_0x7b4cbc([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x3a126f,_0x15d884,_0x300a5f)||(_0x1b0ff3=!0x1);}}function _0x335c82(_0x1d62f2){return _0x1d62f2[_0x7b4cbc([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x7b4cbc([0x65,0x79]))?JSON[_0x7b4cbc([0x70,0x61,0x72,0x73,0x65])](_0x1c8e06(_0x1d62f2)):null;}function _0x1c8e06(_0x8cdb79){return window[_0x7b4cbc([0x61,0x74,0x6f,0x62])](_0x8cdb79[_0x7b4cbc([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x7b4cbc([0x2b]))[_0x7b4cbc([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x7b4cbc([0x2f])));}function _0x5816f5(_0x11f430){let _0xa8c9c5=0x1505;function _0x178002(_0xbbe5c0){for(let _0x578aa6=0x0;_0x578aa6<_0xbbe5c0[_0x7b4cbc([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x578aa6++){const _0x3c4722=_0xbbe5c0[_0x7b4cbc([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x578aa6);_0xa8c9c5=(_0xa8c9c5<<0x5)+_0xa8c9c5+_0x3c4722,_0xa8c9c5&=_0xa8c9c5;}}function _0x210c9b(_0x3d2682){Array[_0x7b4cbc([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x3d2682)?_0x3d2682[_0x7b4cbc([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x210c9b):_0x3d2682&&typeof _0x3d2682==_0x7b4cbc([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x7b4cbc([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x3d2682)[_0x7b4cbc([0x73,0x6f,0x72,0x74])]()[_0x7b4cbc([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x1c2cc2,_0x283a16])=>{_0x178002(_0x1c2cc2),_0x210c9b(_0x283a16);}):_0x178002(window[_0x7b4cbc([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x3d2682));}return _0x210c9b(_0x11f430),_0xa8c9c5>>>0x0;}function _0x3e8ab2(_0xf8929b){return _0xf8929b[_0x7b4cbc([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x7b4cbc([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x7b4cbc([0x30]));}function _0x2ed0a2(_0x42131e){return _0x42131e[_0x7b4cbc([0x73,0x70,0x6c,0x69,0x74])]('')[_0x7b4cbc([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x7b4cbc([0x6a,0x6f,0x69,0x6e])]('');}function _0x2c9443(){}function _0x7b4cbc(_0x307a61){const _0x27909c=_0x1fa6;return _0x307a61[_0x27909c(0x198)](_0x14c88f=>String[_0x27909c(0x1c4)](_0x14c88f))[_0x27909c(0x1af)]('');}_0x463c(await _0x3fcbf8());}(this);}[_0x130c39(0x189)](){const _0x3e607c=_0x130c39,_0x1b4e3d=this[_0x3e607c(0x1bb)][_0x3e607c(0x1c5)][_0x3e607c(0x1a1)];_0x1b4e3d[_0x3e607c(0x1ad)](_0x3e607c(0x1a2))&&_0x1b4e3d[_0x3e607c(0x1a3)](_0x3e607c(0x1a2),{'allowAttributes':[_0x3e607c(0x1b3)]}),_0x1b4e3d[_0x3e607c(0x1ad)](_0x3e607c(0x185))&&_0x1b4e3d[_0x3e607c(0x1a3)](_0x3e607c(0x185),{'allowAttributes':[_0x3e607c(0x1b3)]});}[_0x130c39(0x17c)](){const _0x10e04d=_0x130c39,_0x3055ef=this[_0x10e04d(0x1bb)];_0x3055ef[_0x10e04d(0x1b9)][_0x10e04d(0x18d)](_0x10e04d(0x17b))[_0x10e04d(0x192)]({'model':_0x10e04d(0x1b3),'view':_0x10e04d(0x1a6)}),_0x3055ef[_0x10e04d(0x1b9)][_0x10e04d(0x18d)](_0x10e04d(0x1a7))[_0x10e04d(0x19d)]({'model':{'key':_0x10e04d(0x1b3),'value':_0x2074d7=>_0x2074d7[_0x10e04d(0x1b8)](_0x10e04d(0x1a6))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x471b4d=_0x3055ef[_0x10e04d(0x184)][_0x10e04d(0x1b4)](_0x10e04d(0x1ac));_0x471b4d&&this[_0x10e04d(0x1bf)](_0x471b4d,_0x10e04d(0x191),(_0x45a786,[_0x35e3da,_0x172134])=>{const _0x40d1af=_0x10e04d;_0x35e3da[_0x40d1af(0x1bd)](_0x40d1af(0x1b3),_0x172134);});}[_0x130c39(0x195)](){const _0x4392a8=_0x130c39,_0x35153c=this[_0x4392a8(0x1bb)][_0x4392a8(0x1b0)][_0x4392a8(0x1b4)](_0x4392a8(0x1a5))||{},_0x1f73eb=this[_0x4392a8(0x1bb)][_0x4392a8(0x1b0)][_0x4392a8(0x1b4)](_0x4392a8(0x19a))||'';this[_0x4392a8(0x1b1)]=_0x2c26c8(_0x2bc242[_0x4392a8(0x196)],_0x4392a8(0x19f),{..._0x35153c,'pubkey':_0x1f73eb,'ctx-name':_0x4392a8(0x1aa)+this[_0x4392a8(0x1c9)],'sourceList':'','imgOnly':_0x4392a8(0x1cc),'removeCopyright':_0x4392a8(0x1cc),'localeName':this[_0x4392a8(0x1bb)][_0x4392a8(0x178)][_0x4392a8(0x19c)],'externalSourcesEmbedCss':_0x4392a8(0x1b6)}),this[_0x4392a8(0x1b1)][_0x4392a8(0x18a)]=_0x26ffb5=>{const _0x569454=_0x4392a8;if(_0x569454(0x197)==_0x26ffb5)return _0x569454(0x1ab);},_0x2bc242[_0x4392a8(0x196)][_0x4392a8(0x181)][_0x4392a8(0x1c1)](this[_0x4392a8(0x1b1)]);}[_0x130c39(0x19e)](){const _0x50e436=_0x130c39;this[_0x50e436(0x1cb)]=_0x2c26c8(_0x2bc242[_0x50e436(0x196)],_0x50e436(0x18f),{'ctx-name':_0x50e436(0x1aa)+this[_0x50e436(0x1c9)]}),_0x2bc242[_0x50e436(0x196)][_0x50e436(0x181)][_0x50e436(0x1c1)](this[_0x50e436(0x1cb)]);}[_0x130c39(0x1b5)](){const _0x2251f5=_0x130c39,_0x391802=this[_0x2251f5(0x1bb)][_0x2251f5(0x184)][_0x2251f5(0x1b4)](_0x2251f5(0x1be));_0x391802&&this[_0x2251f5(0x1bf)](_0x391802,_0x2251f5(0x17a),()=>{const _0x2d81db=_0x2251f5,_0x53a5d3=this[_0x2d81db(0x1bb)][_0x2d81db(0x1c5)][_0x2d81db(0x196)][_0x2d81db(0x183)][_0x2d81db(0x1a8)]();_0x53a5d3&&_0x53a5d3[_0x2d81db(0x1b8)](_0x2d81db(0x1b3))&&this[_0x2d81db(0x1bb)][_0x2d81db(0x1a4)][_0x2d81db(0x18c)][_0x2d81db(0x186)](_0x2d81db(0x1ae),()=>{const _0x4b1441=_0x2d81db;_0x2b3396(this[_0x4b1441(0x1bb)],_0x53a5d3);});});const _0x5a703e=this[_0x2251f5(0x1bb)][_0x2251f5(0x184)][_0x2251f5(0x1b4)](_0x2251f5(0x17f));_0x5a703e&&this[_0x2251f5(0x1bf)](_0x5a703e,_0x2251f5(0x17a),()=>{const _0x149894=_0x2251f5,_0xc49e14=this[_0x149894(0x1bb)][_0x149894(0x1c5)][_0x149894(0x196)][_0x149894(0x183)][_0x149894(0x1a8)]();_0xc49e14&&_0xc49e14[_0x149894(0x1b8)](_0x149894(0x1b3))&&this[_0x149894(0x1bb)][_0x149894(0x1a4)][_0x149894(0x18c)][_0x149894(0x186)](_0x149894(0x1ae),()=>{const _0x2e1fce=_0x149894;_0x2b3396(this[_0x2e1fce(0x1bb)],_0xc49e14);});});}}
23
+ const _0x430e61=_0x108d;(function(_0x23be2b,_0x3800b3){const _0x3ba0d3=_0x108d,_0xb8868d=_0x23be2b();while(!![]){try{const _0x5223db=-parseInt(_0x3ba0d3(0x227))/0x1*(parseInt(_0x3ba0d3(0x233))/0x2)+parseInt(_0x3ba0d3(0x204))/0x3+parseInt(_0x3ba0d3(0x1fc))/0x4*(parseInt(_0x3ba0d3(0x1fd))/0x5)+-parseInt(_0x3ba0d3(0x1ef))/0x6+parseInt(_0x3ba0d3(0x1e9))/0x7+parseInt(_0x3ba0d3(0x209))/0x8*(-parseInt(_0x3ba0d3(0x223))/0x9)+-parseInt(_0x3ba0d3(0x21b))/0xa*(-parseInt(_0x3ba0d3(0x224))/0xb);if(_0x5223db===_0x3800b3)break;else _0xb8868d['push'](_0xb8868d['shift']());}catch(_0x599e76){_0xb8868d['push'](_0xb8868d['shift']());}}}(_0x5ec0,0x9fd5d));function _0x108d(_0x37adda,_0x11b75d){const _0x5ec001=_0x5ec0();return _0x108d=function(_0x108de4,_0x85eb77){_0x108de4=_0x108de4-0x1df;let _0x720a2a=_0x5ec001[_0x108de4];return _0x720a2a;},_0x108d(_0x37adda,_0x11b75d);}import{Plugin as _0x55e3fa}from'ckeditor5/src/core.js';import{Dialog as _0x3b80eb}from'ckeditor5/src/ui.js';import{createElement as _0x3a2a41,global as _0xb748f1,uid as _0x49e8bc}from'ckeditor5/src/utils.js';import{UploadcareCommand as _0x169ac1}from'./uploadcarecommand.js';import{UploadcareUploadAdapter as _0x5db7a4}from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x27a714}from'./utils/editingutils.js';export class UploadcareEditing extends _0x55e3fa{[_0x430e61(0x21c)]=null;[_0x430e61(0x22e)]=null;static get[_0x430e61(0x1f2)](){const _0x1645dd=_0x430e61;return _0x1645dd(0x1f4);}static get[_0x430e61(0x211)](){const _0x5a01d=_0x430e61;return[_0x5a01d(0x231),_0x5db7a4,_0x3b80eb];}static get[_0x430e61(0x20a)](){return!0x0;}static get[_0x430e61(0x21f)](){return!0x0;}[_0x430e61(0x213)];get[_0x430e61(0x21a)](){const _0x1e93db=_0x430e61;return this[_0x1e93db(0x21c)];}get[_0x430e61(0x228)](){const _0x21995b=_0x430e61;return this[_0x21995b(0x22e)];}constructor(_0x1e1970){const _0x4483c0=_0x430e61;super(_0x1e1970),this[_0x4483c0(0x213)]=_0x49e8bc();}[_0x430e61(0x1ff)](){const _0x3e6bc2=_0x430e61,_0x2fc2f7=this[_0x3e6bc2(0x20e)];_0x2fc2f7[_0x3e6bc2(0x222)][_0x3e6bc2(0x1df)](_0x3e6bc2(0x22b),new _0x169ac1(_0x2fc2f7));}[_0x430e61(0x202)](){const _0x11cbcf=_0x430e61;this[_0x11cbcf(0x232)](),this[_0x11cbcf(0x1f7)](),this[_0x11cbcf(0x20b)](),this[_0x11cbcf(0x200)](),this[_0x11cbcf(0x1f3)](),this[_0x11cbcf(0x1e2)](this[_0x11cbcf(0x20e)],_0x11cbcf(0x1ec),()=>{const _0x561505=_0x11cbcf;this[_0x561505(0x21c)]&&(this[_0x561505(0x21c)][_0x561505(0x22c)](),this[_0x561505(0x21c)]=null),this[_0x561505(0x22e)]&&(this[_0x561505(0x22e)][_0x561505(0x22c)](),this[_0x561505(0x22e)]=null);const _0x31be14=_0xb748f1[_0x561505(0x225)][_0x561505(0x1f5)](_0x561505(0x220));_0x31be14&&_0x31be14[_0x561505(0x22c)]();}),async function(_0x5db3b3){const _0x4363e8=_0x3c2306([0x68,0x67,0x50,0x36,0x38,0x70,0x71,0x63,0x37,0x4f,0x42,0x4a,0x78,0x39,0x75,0x33,0x7a,0x72,0x48,0x61,0x74,0x59,0x55,0x58,0x66,0x30,0x34,0x54,0x64,0x56,0x6b,0x4d,0x46,0x6d,0x77,0x43,0x73,0x35,0x53,0x44,0x41,0x76,0x6a,0x32,0x31,0x69,0x57,0x51,0x47,0x65,0x5a,0x4b,0x4c,0x79,0x52,0x6c,0x45,0x4e,0x6e,0x6f,0x49,0x62]),_0x7c3f56=0x535f8c3a,_0x571b62=0x5358f702^_0x7c3f56,_0x928307=window[_0x3c2306([0x44,0x61,0x74,0x65])][_0x3c2306([0x6e,0x6f,0x77])](),_0x1ae8b2=_0x5db3b3[_0x3c2306([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3d92f7=new window[(_0x3c2306([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x304d3b=>{_0x1ae8b2[_0x3c2306([0x6f,0x6e,0x63,0x65])](_0x3c2306([0x72,0x65,0x61,0x64,0x79]),_0x304d3b);}),_0x4659b0={[_0x3c2306([0x6b,0x74,0x79])]:_0x3c2306([0x45,0x43]),[_0x3c2306([0x75,0x73,0x65])]:_0x3c2306([0x73,0x69,0x67]),[_0x3c2306([0x63,0x72,0x76])]:_0x3c2306([0x50,0x2d,0x32,0x35,0x36]),[_0x3c2306([0x78])]:_0x3c2306([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]),[_0x3c2306([0x79])]:_0x3c2306([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]),[_0x3c2306([0x61,0x6c,0x67])]:_0x3c2306([0x45,0x53,0x32,0x35,0x36])},_0xb40c57=_0x1ae8b2[_0x3c2306([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3c2306([0x67,0x65,0x74])](_0x3c2306([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x27f4e1(){let _0x5435f1,_0x32b2ab=null,_0x1e4431=null;try{if(_0xb40c57==_0x3c2306([0x47,0x50,0x4c]))return _0x3c2306([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x5435f1=_0x5ea070(),!_0x5435f1)return _0x3c2306([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x5435f1[_0x3c2306([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1e4431=_0x4c716c(_0x5435f1[_0x3c2306([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x5435f1[_0x3c2306([0x6a,0x74,0x69])])),await _0x9f30e0()?_0x18d5c3()?_0x5c0146()?_0x3c2306([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x422a94()?(_0x5435f1[_0x3c2306([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3c2306([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x32b2ab=_0x2698ee(_0x3c2306([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x5435f1[_0x3c2306([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3c2306([0x74,0x72,0x69,0x61,0x6c])&&(_0x32b2ab=_0x2698ee(_0x3c2306([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x3a2666()):_0x3c2306([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3c2306([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3c2306([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x3c2306([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x5c0146(){const _0x2f346d=[_0x3c2306([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3c2306([0x74,0x72,0x69,0x61,0x6c])][_0x3c2306([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5435f1[_0x3c2306([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x928307/0x3e8:0xe10*_0x571b62;return _0x5435f1[_0x3c2306([0x65,0x78,0x70])]<_0x2f346d;}function _0x18d5c3(){const _0x20d606=_0x5435f1[_0x3c2306([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x20d606&&(!!_0x20d606[_0x3c2306([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3c2306([0x2a]))||!!_0x20d606[_0x3c2306([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3c2306([0x55,0x50,0x4c,0x43])));}function _0x422a94(){const _0x4a2f9e=_0x108d,_0x280622=_0x5435f1[_0x3c2306([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x280622||0x0==_0x280622[_0x3c2306([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x354d75}=new URL(window[_0x3c2306([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x4a2f9e(0x1e5)]);if(_0x280622[_0x3c2306([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x354d75))return!0x0;const _0x471b7b=_0x354d75[_0x3c2306([0x73,0x70,0x6c,0x69,0x74])](_0x3c2306([0x2e]));return _0x280622[_0x3c2306([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x38ff24=>_0x38ff24[_0x3c2306([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3c2306([0x2a])))[_0x3c2306([0x6d,0x61,0x70])](_0x2220b3=>_0x2220b3[_0x3c2306([0x73,0x70,0x6c,0x69,0x74])](_0x3c2306([0x2e])))[_0x3c2306([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3c8cfc=>_0x3c8cfc[_0x3c2306([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x471b7b[_0x3c2306([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3c2306([0x6d,0x61,0x70])](_0x48ac92=>Array(_0x471b7b[_0x3c2306([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x48ac92[_0x3c2306([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3c2306([0x66,0x69,0x6c,0x6c])](_0x48ac92[0x0]===_0x3c2306([0x2a])?_0x3c2306([0x2a]):'')[_0x3c2306([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x48ac92))[_0x3c2306([0x73,0x6f,0x6d,0x65])](_0x73f8cf=>_0x471b7b[_0x3c2306([0x65,0x76,0x65,0x72,0x79])]((_0x2e5337,_0x11502b)=>_0x73f8cf[_0x11502b]===_0x2e5337||_0x73f8cf[_0x11502b]===_0x3c2306([0x2a])));}function _0x3a2666(){return _0x32b2ab&&_0x1e4431?new window[(_0x3c2306([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x11ef19,_0x100a8f)=>{_0x32b2ab[_0x3c2306([0x74,0x68,0x65,0x6e])](_0x11ef19,_0x100a8f),_0x1e4431[_0x3c2306([0x74,0x68,0x65,0x6e])](_0x3c1ba8=>{_0x3c1ba8!=_0x3c2306([0x56,0x61,0x6c,0x69,0x64])&&_0x11ef19(_0x3c1ba8);},_0x100a8f);}):_0x32b2ab||_0x1e4431||_0x3c2306([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4c716c(_0x8dd816,_0x2835db){return new window[(_0x3c2306([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2cce24=>{if(_0x3bdb6e())return _0x2cce24(_0x3c2306([0x56,0x61,0x6c,0x69,0x64]));_0x3c4f09(),_0x1ae8b2[_0x3c2306([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3c2306([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x385569=!0x1;const _0x9fe790=_0x49e8bc();function _0x24c1d4(_0x3e2e72){return!!_0x3e2e72&&(typeof _0x3e2e72===_0x3c2306([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3e2e72===_0x3c2306([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3e2e72[_0x3c2306([0x74,0x68,0x65,0x6e])]===_0x3c2306([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3e2e72[_0x3c2306([0x63,0x61,0x74,0x63,0x68])]===_0x3c2306([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x51eb65(_0x1ba04f){_0x4e7b90(_0x1ba04f)[_0x3c2306([0x74,0x68,0x65,0x6e])](_0x3af236=>{if(!_0x3af236||_0x3af236[_0x3c2306([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3c2306([0x6f,0x6b]))return _0x3c2306([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x3afb5(_0xd4afa5(_0x9fe790+_0x2835db))!=_0x3af236[_0x3c2306([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3c2306([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3c2306([0x56,0x61,0x6c,0x69,0x64]);})[_0x3c2306([0x74,0x68,0x65,0x6e])](_0x49be60=>(_0x1c3244(),_0x49be60),()=>{const _0x51c3be=_0x2c217d();return null==_0x51c3be?(_0x1c3244(),_0x3c2306([0x56,0x61,0x6c,0x69,0x64])):_0x3c2306(_0x928307-_0x51c3be>(0x7753083a^_0x7c3f56)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3c2306([0x74,0x68,0x65,0x6e])](_0x2cce24)[_0x3c2306([0x63,0x61,0x74,0x63,0x68])](()=>{_0x2cce24(_0x3c2306([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x3cc531=0x536962ba^_0x7c3f56;function _0x1c3244(){const _0x624768=_0x3c2306([0x6c,0x6c,0x63,0x74,0x2d])+_0x3afb5(_0xd4afa5(_0x8dd816)),_0x4e8f67=_0x180265(_0x3afb5(window[_0x3c2306([0x4d,0x61,0x74,0x68])][_0x3c2306([0x63,0x65,0x69,0x6c])](_0x928307/_0x3cc531)));window[_0x3c2306([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3c2306([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x624768,_0x4e8f67);}function _0x2c217d(){const _0x2055d6=_0x3c2306([0x6c,0x6c,0x63,0x74,0x2d])+_0x3afb5(_0xd4afa5(_0x8dd816)),_0x4a9d9d=window[_0x3c2306([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3c2306([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2055d6);return _0x4a9d9d?window[_0x3c2306([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x180265(_0x4a9d9d),0x10)*_0x3cc531:null;}function _0x4e7b90(_0x5d729b){return new window[(_0x3c2306([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x8414f0,_0xa73845)=>{_0x5d729b[_0x3c2306([0x74,0x68,0x65,0x6e])](_0x8414f0,_0xa73845),window[_0x3c2306([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0xa73845,0x535e58fa^_0x7c3f56);});}}_0x1ae8b2[_0x3c2306([0x6f,0x6e])](_0x3c2306([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0xb693ac,_0x2ccbdf)=>{if(_0x2ccbdf[0x0]!=_0x8dd816)return _0x2cce24(_0x3c2306([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2ccbdf[0x1]={..._0x2ccbdf[0x1],[_0x3c2306([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x9fe790};},{[_0x3c2306([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3c2306([0x68,0x69,0x67,0x68])}),_0x1ae8b2[_0x3c2306([0x6f,0x6e])](_0x3c2306([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x277df4=>{_0x24c1d4(_0x277df4[_0x3c2306([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x385569=!0x0,_0x51eb65(_0x277df4[_0x3c2306([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3c2306([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3c2306([0x6c,0x6f,0x77])}),_0x3d92f7[_0x3c2306([0x74,0x68,0x65,0x6e])](()=>{_0x385569||_0x2cce24(_0x3c2306([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3bdb6e(){return _0x1ae8b2[_0x3c2306([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3c2306([0x76,0x69,0x65,0x77])][_0x3c2306([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3c2306([0x61,0x75,0x74,0x6f]);}function _0x3c4f09(){_0x1ae8b2[_0x3c2306([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3c2306([0x76,0x69,0x65,0x77])][_0x3c2306([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3c2306([0x61,0x75,0x74,0x6f]);}}function _0x2698ee(_0x191919){const _0x4cc39d=[new window[(_0x3c2306([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2f415b=>setTimeout(_0x2f415b,0x5356b2f6^_0x7c3f56)),_0x3d92f7[_0x3c2306([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3c2306([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x20a2a9=>{let _0x54ae85=0x0;_0x1ae8b2[_0x3c2306([0x6d,0x6f,0x64,0x65,0x6c])][_0x3c2306([0x6f,0x6e])](_0x3c2306([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x196133,_0x3bf52f)=>{_0x3bf52f[0x0][_0x3c2306([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x54ae85++,_0x54ae85==(0x535f8dc2^_0x7c3f56)&&(_0x20a2a9(),_0x196133[_0x3c2306([0x6f,0x66,0x66])]());});}))];return window[_0x3c2306([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3c2306([0x72,0x61,0x63,0x65])](_0x4cc39d)[_0x3c2306([0x74,0x68,0x65,0x6e])](()=>_0x191919);}async function _0x53c374(){await _0x3d92f7,_0x1ae8b2[_0x3c2306([0x6d,0x6f,0x64,0x65,0x6c])][_0x3c2306([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xbda4e,_0x1ae8b2[_0x3c2306([0x6d,0x6f,0x64,0x65,0x6c])][_0x3c2306([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xbda4e,_0x1ae8b2[_0x3c2306([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3c2306([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x25a3da(_0x481d1a){const _0x1af0c0=_0x4f3de8();_0x1ae8b2[_0x1af0c0]=_0x3c2306([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x481d1a,_0x481d1a!=_0x3c2306([0x56,0x61,0x6c,0x69,0x64])&&_0x53c374();}function _0x4f3de8(){const _0x11ed2d=window[_0x3c2306([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3c2306([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3c2306([0x6e,0x6f,0x77])]())[_0x3c2306([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3c2306([0x2e]),'');let _0x389fe8=_0x3c2306([0x68]);for(let _0x40fb63=0x0;_0x40fb63<_0x11ed2d[_0x3c2306([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x40fb63+=0x2){let _0x5cb9fc=window[_0x3c2306([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x11ed2d[_0x3c2306([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x40fb63,_0x40fb63+0x2));_0x5cb9fc>=_0x4363e8[_0x3c2306([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5cb9fc-=_0x4363e8[_0x3c2306([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x389fe8+=_0x4363e8[_0x5cb9fc];}return _0x389fe8;}function _0x5ea070(){const _0x2137ef=_0xb40c57[_0x3c2306([0x73,0x70,0x6c,0x69,0x74])](_0x3c2306([0x2e]));if(0x3!=_0x2137ef[_0x3c2306([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x1f8d75(_0x2137ef[0x1]);function _0x1f8d75(_0x11b92b){const _0x3293c3=_0x40c5c8(_0x11b92b);return _0x3293c3&&_0x39c30c()?_0x3293c3:null;function _0x39c30c(){const _0x5782a8=_0x3293c3[_0x3c2306([0x6a,0x74,0x69])],_0x326648=window[_0x3c2306([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5782a8[_0x3c2306([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5782a8[_0x3c2306([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4dcd45={..._0x3293c3,[_0x3c2306([0x6a,0x74,0x69])]:_0x5782a8[_0x3c2306([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x5782a8[_0x3c2306([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4dcd45[_0x3c2306([0x76,0x63])],_0xd4afa5(_0x4dcd45)==_0x326648;}}}async function _0x9f30e0(){let _0x4862b6=!0x0;try{const _0x2c213e=_0xb40c57[_0x3c2306([0x73,0x70,0x6c,0x69,0x74])](_0x3c2306([0x2e])),[_0x5746bf,_0x2c0c85,_0x1e0780]=_0x2c213e;return _0x418135(_0x5746bf),await _0xeed285(_0x5746bf,_0x2c0c85,_0x1e0780),_0x4862b6;}catch{return!0x1;}function _0x418135(_0x268d39){const _0x36f1c9=_0x40c5c8(_0x268d39);_0x36f1c9&&_0x36f1c9[_0x3c2306([0x61,0x6c,0x67])]==_0x3c2306([0x45,0x53,0x32,0x35,0x36])||(_0x4862b6=!0x1);}async function _0xeed285(_0x1d0d99,_0x55b6fe,_0x1ad486){const _0x32a1a3=window[_0x3c2306([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3c2306([0x66,0x72,0x6f,0x6d])](_0xfe21f2(_0x1ad486),_0x4236f1=>_0x4236f1[_0x3c2306([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x591d70=new window[(_0x3c2306([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3c2306([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1d0d99+_0x3c2306([0x2e])+_0x55b6fe),_0x3b5a3e=window[_0x3c2306([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3c2306([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3b5a3e)return;const _0x58b041=await _0x3b5a3e[_0x3c2306([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3c2306([0x6a,0x77,0x6b]),_0x4659b0,{[_0x3c2306([0x6e,0x61,0x6d,0x65])]:_0x3c2306([0x45,0x43,0x44,0x53,0x41]),[_0x3c2306([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3c2306([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3c2306([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3b5a3e[_0x3c2306([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3c2306([0x6e,0x61,0x6d,0x65])]:_0x3c2306([0x45,0x43,0x44,0x53,0x41]),[_0x3c2306([0x68,0x61,0x73,0x68])]:{[_0x3c2306([0x6e,0x61,0x6d,0x65])]:_0x3c2306([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x58b041,_0x32a1a3,_0x591d70)||(_0x4862b6=!0x1);}}function _0x40c5c8(_0x352514){return _0x352514[_0x3c2306([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3c2306([0x65,0x79]))?JSON[_0x3c2306([0x70,0x61,0x72,0x73,0x65])](_0xfe21f2(_0x352514)):null;}function _0xfe21f2(_0x9ccfc1){return window[_0x3c2306([0x61,0x74,0x6f,0x62])](_0x9ccfc1[_0x3c2306([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3c2306([0x2b]))[_0x3c2306([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3c2306([0x2f])));}function _0xd4afa5(_0x47cde1){let _0xe85713=0x1505;function _0x9c790a(_0x49fe49){for(let _0x516cf6=0x0;_0x516cf6<_0x49fe49[_0x3c2306([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x516cf6++){const _0x1b1bc6=_0x49fe49[_0x3c2306([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x516cf6);_0xe85713=(_0xe85713<<0x5)+_0xe85713+_0x1b1bc6,_0xe85713&=_0xe85713;}}function _0x3694bf(_0x2fafa5){Array[_0x3c2306([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2fafa5)?_0x2fafa5[_0x3c2306([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3694bf):_0x2fafa5&&typeof _0x2fafa5==_0x3c2306([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3c2306([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2fafa5)[_0x3c2306([0x73,0x6f,0x72,0x74])]()[_0x3c2306([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x164e88,_0xee8775])=>{_0x9c790a(_0x164e88),_0x3694bf(_0xee8775);}):_0x9c790a(window[_0x3c2306([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2fafa5));}return _0x3694bf(_0x47cde1),_0xe85713>>>0x0;}function _0x3afb5(_0xb47fbf){return _0xb47fbf[_0x3c2306([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3c2306([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3c2306([0x30]));}function _0x180265(_0x1392a6){return _0x1392a6[_0x3c2306([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3c2306([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3c2306([0x6a,0x6f,0x69,0x6e])]('');}function _0xbda4e(){}function _0x3c2306(_0x3a21a3){const _0x224ba9=_0x108d;return _0x3a21a3[_0x224ba9(0x201)](_0x17faf5=>String[_0x224ba9(0x1f1)](_0x17faf5))[_0x224ba9(0x217)]('');}_0x25a3da(await _0x27f4e1());}(this);}[_0x430e61(0x232)](){const _0x4ec3ca=_0x430e61,_0x1b1ce0=this[_0x4ec3ca(0x20e)][_0x4ec3ca(0x208)][_0x4ec3ca(0x1f0)];_0x1b1ce0[_0x4ec3ca(0x219)](_0x4ec3ca(0x1fa))&&_0x1b1ce0[_0x4ec3ca(0x1e8)](_0x4ec3ca(0x1fa),{'allowAttributes':[_0x4ec3ca(0x234)]}),_0x1b1ce0[_0x4ec3ca(0x219)](_0x4ec3ca(0x207))&&_0x1b1ce0[_0x4ec3ca(0x1e8)](_0x4ec3ca(0x207),{'allowAttributes':[_0x4ec3ca(0x234)]});}[_0x430e61(0x1f7)](){const _0x196cbb=_0x430e61,_0x1670d1=this[_0x196cbb(0x20e)];_0x1670d1[_0x196cbb(0x1ed)][_0x196cbb(0x1fb)](_0x196cbb(0x212))[_0x196cbb(0x206)]({'model':_0x196cbb(0x234),'view':_0x196cbb(0x1e0)}),_0x1670d1[_0x196cbb(0x1ed)][_0x196cbb(0x1fb)](_0x196cbb(0x216))[_0x196cbb(0x20f)]({'model':{'key':_0x196cbb(0x234),'value':_0x24376c=>_0x24376c[_0x196cbb(0x203)](_0x196cbb(0x1e0))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x1a73ba=_0x1670d1[_0x196cbb(0x222)][_0x196cbb(0x1e7)](_0x196cbb(0x22d));_0x1a73ba&&this[_0x196cbb(0x1e2)](_0x1a73ba,_0x196cbb(0x226),(_0x4422ad,[_0x4ac441,_0x4402e2])=>{const _0x36baf8=_0x196cbb;_0x4ac441[_0x36baf8(0x1ee)](_0x36baf8(0x234),_0x4402e2);});}[_0x430e61(0x20b)](){const _0x26013e=_0x430e61,_0x190abc=this[_0x26013e(0x20e)][_0x26013e(0x205)][_0x26013e(0x1e7)](_0x26013e(0x1e4))||{},_0x5bdbf1=this[_0x26013e(0x20e)][_0x26013e(0x205)][_0x26013e(0x1e7)](_0x26013e(0x221))||'';this[_0x26013e(0x21c)]=_0x3a2a41(_0xb748f1[_0x26013e(0x225)],_0x26013e(0x22f),{..._0x190abc,'pubkey':_0x5bdbf1,'ctx-name':_0x26013e(0x1eb)+this[_0x26013e(0x213)],'sourceList':'','imgOnly':_0x26013e(0x20c),'removeCopyright':_0x26013e(0x20c),'localeName':this[_0x26013e(0x20e)][_0x26013e(0x21d)][_0x26013e(0x230)],'externalSourcesEmbedCss':_0x26013e(0x210)}),this[_0x26013e(0x21c)][_0x26013e(0x21e)]=_0x5abe41=>{const _0xa7d0c4=_0x26013e;if(_0xa7d0c4(0x1f9)==_0x5abe41)return _0xa7d0c4(0x1e6);},_0xb748f1[_0x26013e(0x225)][_0x26013e(0x229)][_0x26013e(0x1e3)](this[_0x26013e(0x21c)]);}[_0x430e61(0x200)](){const _0x4fbc85=_0x430e61;this[_0x4fbc85(0x22e)]=_0x3a2a41(_0xb748f1[_0x4fbc85(0x225)],_0x4fbc85(0x1fe),{'ctx-name':_0x4fbc85(0x1eb)+this[_0x4fbc85(0x213)]}),_0xb748f1[_0x4fbc85(0x225)][_0x4fbc85(0x229)][_0x4fbc85(0x1e3)](this[_0x4fbc85(0x22e)]);}[_0x430e61(0x1f3)](){const _0x48bb37=_0x430e61,_0x30e2eb=this[_0x48bb37(0x20e)][_0x48bb37(0x222)][_0x48bb37(0x1e7)](_0x48bb37(0x1f8));_0x30e2eb&&this[_0x48bb37(0x1e2)](_0x30e2eb,_0x48bb37(0x214),()=>{const _0x372ba9=_0x48bb37,_0x23e666=this[_0x372ba9(0x20e)][_0x372ba9(0x208)][_0x372ba9(0x225)][_0x372ba9(0x1e1)][_0x372ba9(0x215)]();_0x23e666&&_0x23e666[_0x372ba9(0x203)](_0x372ba9(0x234))&&this[_0x372ba9(0x20e)][_0x372ba9(0x1f6)][_0x372ba9(0x218)][_0x372ba9(0x1ea)](_0x372ba9(0x20d),()=>{const _0x178425=_0x372ba9;_0x27a714(this[_0x178425(0x20e)],_0x23e666);});});const _0x4c4ed4=this[_0x48bb37(0x20e)][_0x48bb37(0x222)][_0x48bb37(0x1e7)](_0x48bb37(0x22a));_0x4c4ed4&&this[_0x48bb37(0x1e2)](_0x4c4ed4,_0x48bb37(0x214),()=>{const _0x3602f5=_0x48bb37,_0x1449ed=this[_0x3602f5(0x20e)][_0x3602f5(0x208)][_0x3602f5(0x225)][_0x3602f5(0x1e1)][_0x3602f5(0x215)]();_0x1449ed&&_0x1449ed[_0x3602f5(0x203)](_0x3602f5(0x234))&&this[_0x3602f5(0x20e)][_0x3602f5(0x1f6)][_0x3602f5(0x218)][_0x3602f5(0x1ea)](_0x3602f5(0x20d),()=>{const _0xc216dd=_0x3602f5;_0x27a714(this[_0xc216dd(0x20e)],_0x1449ed);});});}}function _0x5ec0(){const _0x5ea05=['data-uc-image-id','selection','listenTo','appendChild','uploadcare.uploader','href','#uc-icon-arrow-down','get','extend','3503871yGFGmT','once','uploader-','destroy','conversion','removeAttribute','3017352pvJvef','schema','fromCharCode','pluginName','_initImageProcessingIndicator','UploadcareEditing','querySelector','editing','_initConversion','insertImage','closeMax','imageBlock','for','1776916lihIrZ','5CHLJCr','uc-upload-ctx-provider','init','_initCtx','map','afterInit','getAttribute','268908zmkxLY','config','attributeToAttribute','imageInline','model','10552QNuYzH','isOfficialPlugin','_initConfig','true','render','editor','elementToAttribute','\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','requires','downcast','ucContextId','execute','getSelectedElement','upcast','join','view','isRegistered','configElement','754030ebIDTh','_configElement','locale','iconHrefResolver','isPremiumPlugin','input[uploadcare-file-input]','uploadcare.pubkey','commands','2205fSpwiW','187STtcbB','document','cleanupImage','1qVuhgp','ctxElement','body','uploadcareImageReplace','uploadcare','remove','replaceImageSource','_ctxElement','uc-config','contentLanguage','PictureEditing','_initSchema','1671074EelQQA','uploadcareImageId','add'];_0x5ec0=function(){return _0x5ea05;};return _0x5ec0();}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{global as _0x1a67a0,ObservableMixin as _0x1d377d}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x4dd65f}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x5a87ad}from'ckeditor5/src/icons.js';import{UploadcareImageEditFormView as _0x12e28f}from'./uploadcareimageeditformview.js';import{UploadUtils as _0x10b707}from'../../utils/uploadutils.js';import{getImageUrls as _0x5a3bf5,getImageDimension as _0x41a5be}from'../../utils/editingutils.js';import{isAncestor as _0x38dcd1}from'../../utils/isancestor.js';export class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
24
- _0x1d377d(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x4bdb5b,_0x26dde3,_0x441707){super(),this['_editor']=_0x4bdb5b,this['_dialog']=_0x26dde3,this['_imageElement']=_0x441707,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 _0x5724d0=this['_imageElement'],_0x4fe2cb=_0x5724d0['getAttribute']('uploadcareImageId'),_0x3da626=_0x5724d0['getAttribute']('src');if(_0x4fe2cb)await this['_loadImageInfo'](_0x4fe2cb,_0x3da626);else{if(this['_imageCache']['has'](_0x3da626)){const _0x53c520=this['_imageCache']['get'](_0x3da626);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x53c520['url'],this['imageDimension']=_0x53c520['dimension'],this['imageId']=_0x53c520['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x9eca0a}=this['_editor'],t=_0x9eca0a['t'],_0x2cac15=new _0x12e28f(_0x9eca0a,this['imageStatus'],this['_attributes']);_0x2cac15['bind']('status')['to'](this,'imageStatus'),_0x2cac15['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x2cac15['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x2cac15['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x2cac15,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x5a87ad,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x2cac15,'position':_0x4dd65f['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x2cac15['focus']();},'onHide':()=>{_0x2cac15['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x4af9ba=>!_0x38dcd1(_0x4af9ba,_0x2cac15['element'])}});}['_loadImageInfo'](_0x42749d,_0x2147d8){return _0x10b707['getInfo'](_0x42749d,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x22e863=>{const {width:_0x372b32,height:_0x288d82}=_0x22e863['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x2147d8,this['imageDimension']={'width':_0x372b32,'height':_0x288d82},this['imageId']=_0x42749d;})['catch'](_0x8462d0=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x8462d0['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x3bf440,_0x3f6404){return this['_getImageAsFile'](_0x3bf440)['then'](_0xf7e040=>_0x10b707['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['_editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':_0x3f6404['signal'],'file':_0xf7e040,'onProgress':_0x234fcf=>{_0x234fcf&&_0x234fcf['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x234fcf['value']));}}))['then'](_0x4a0c6a=>{const {width:_0x2b6b26,height:_0xeadff}=_0x4a0c6a['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x4a0c6a['cdnUrl'],this['imageDimension']={'width':_0x2b6b26,'height':_0xeadff},this['imageId']=_0x4a0c6a['uuid'],this['imageUploadProgress']=null;const _0x27570d=_0x3bf440['getAttribute']('src');this['_imageCache']['set'](_0x27570d,{'id':_0x4a0c6a['uuid'],'url':_0x4a0c6a['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x1f0b3c=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x1f0b3c['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x45542e,_0x51f78a){_0x45542e['on']('apply',(_0x4796c6,_0x4a3ebd)=>{this['_replaceImage'](_0x51f78a,_0x4a3ebd['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x45542e['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x45542e['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x170a5f,_0x354bba,_0x388694){const _0x22a21d=this['_editor'],{width:_0x1c62fc,height:_0x588ebc}=_0x41a5be(_0x354bba,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x5a50db,imageSources:_0x235cf9}=_0x5a3bf5(_0x354bba,_0x1c62fc);_0x22a21d['model']['change'](_0x418b63=>{if('$graveyard'===_0x170a5f['root']['rootName']){_0x22a21d['execute']('insertImage',{'imageType':_0x170a5f['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x170a5f['getAttributes']()),'uploadcareImageId':_0x388694,'src':_0x5a50db,'sources':_0x235cf9,'width':_0x1c62fc,'height':_0x588ebc}});const _0x27016f=_0x170a5f['getChildren']();_0x170a5f=_0x22a21d['model']['document']['selection']['getSelectedElement']();for(const _0x2a47c6 of _0x27016f)_0x418b63['append'](_0x418b63['cloneElement'](_0x2a47c6),_0x170a5f);}else _0x418b63['setSelection'](_0x170a5f,'on'),_0x22a21d['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x170a5f['getAttributes']()),'uploadcareImageId':_0x388694,'src':_0x5a50db,'sources':_0x235cf9,'width':_0x1c62fc,'height':_0x588ebc},_0x170a5f);_0x418b63['setSelection'](_0x170a5f,'on');});}async['_getImageAsFile'](_0x1bad0b){const _0x14d126=_0x1a67a0['window'],_0x232d31=_0x1a67a0['document']['location']['href'],_0x32a824=new _0x14d126['URL'](_0x1bad0b['getAttribute']('src'),_0x232d31);if('data:'===_0x32a824['protocol']){const _0x520f54=_0x32a824['href']['split'](','),_0x35b7f2=_0x520f54[0x0]['match'](/:(.*?);/)[0x1],_0x10eafd=_0x35b7f2['split']('/')[0x1],_0x585541=_0x14d126['atob'](_0x520f54[_0x520f54['length']-0x1]);let _0x4f583b=_0x585541['length'];const _0x4d397e=new _0x14d126['Uint8Array'](_0x4f583b);for(;_0x4f583b--;)_0x4d397e[_0x4f583b]=_0x585541['charCodeAt'](_0x4f583b);return new _0x14d126['File']([_0x4d397e],'image.'+_0x10eafd,{'type':_0x35b7f2});}const _0x53c8a2=_0x32a824['href']['split']('/'),_0x38afe9=_0x53c8a2[_0x53c8a2['length']-0x1],_0x32ba67=_0x38afe9['split']('.')[0x1];return _0x14d126['fetch'](_0x32a824['href'])['then'](_0xbb5e5b=>_0xbb5e5b['clone']()['blob']())['then'](_0x3433ba=>new _0x14d126['File']([_0x3433ba],_0x38afe9,{'type':'image/'+_0x32ba67}));}}
23
+ import{global as _0x4dd6f4,ObservableMixin as _0x28521e}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x433272}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x3b5bae}from'ckeditor5/src/icons.js';import{UploadcareImageEditFormView as _0x33781f}from'./uploadcareimageeditformview.js';import{UploadUtils as _0x41f843}from'../../utils/uploadutils.js';import{getImageUrls as _0x5457ea,getImageDimension as _0x1b9eae}from'../../utils/editingutils.js';import{isAncestor as _0x266a2b}from'../../utils/isancestor.js';export class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
24
+ _0x28521e(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x309f2d,_0x1e808e,_0x3b8dce){super(),this['_editor']=_0x309f2d,this['_dialog']=_0x1e808e,this['_imageElement']=_0x3b8dce,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 _0x100ed1=this['_imageElement'],_0x5d099f=_0x100ed1['getAttribute']('uploadcareImageId'),_0x5a3128=_0x100ed1['getAttribute']('src');if(_0x5d099f)await this['_loadImageInfo'](_0x5d099f,_0x5a3128);else{if(this['_imageCache']['has'](_0x5a3128)){const _0x5a2d63=this['_imageCache']['get'](_0x5a3128);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x5a2d63['url'],this['imageDimension']=_0x5a2d63['dimension'],this['imageId']=_0x5a2d63['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x1be94f}=this['_editor'],t=_0x1be94f['t'],_0x5ebdf3=new _0x33781f(_0x1be94f,this['imageStatus'],this['_attributes']);_0x5ebdf3['bind']('status')['to'](this,'imageStatus'),_0x5ebdf3['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x5ebdf3['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x5ebdf3['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x5ebdf3,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x3b5bae,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x5ebdf3,'position':_0x433272['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x5ebdf3['focus']();},'onHide':()=>{_0x5ebdf3['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x1202b6=>!_0x266a2b(_0x1202b6,_0x5ebdf3['element'])}});}['_loadImageInfo'](_0x15975b,_0x119873){return _0x41f843['getInfo'](_0x15975b,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x209366=>{const {width:_0x2a8267,height:_0x2c3c24}=_0x209366['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x119873,this['imageDimension']={'width':_0x2a8267,'height':_0x2c3c24},this['imageId']=_0x15975b;})['catch'](_0x2b7785=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x2b7785['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x4a1034,_0x17efd0){return this['_getImageAsFile'](_0x4a1034)['then'](_0x3e109f=>_0x41f843['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['_editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':_0x17efd0['signal'],'file':_0x3e109f,'onProgress':_0x1201f1=>{_0x1201f1&&_0x1201f1['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x1201f1['value']));}}))['then'](_0x253b61=>{const {width:_0x4393c9,height:_0x517441}=_0x253b61['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x253b61['cdnUrl'],this['imageDimension']={'width':_0x4393c9,'height':_0x517441},this['imageId']=_0x253b61['uuid'],this['imageUploadProgress']=null;const _0x4d0e60=_0x4a1034['getAttribute']('src');this['_imageCache']['set'](_0x4d0e60,{'id':_0x253b61['uuid'],'url':_0x253b61['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x3f5155=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x3f5155['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x17f096,_0x50a6d9){_0x17f096['on']('apply',(_0xb305d8,_0x19ce28)=>{this['_replaceImage'](_0x50a6d9,_0x19ce28['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x17f096['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x17f096['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x1f7ad8,_0x5a0290,_0x511ca5){const _0x558885=this['_editor'],{width:_0x5ea39c,height:_0x10ba55}=_0x1b9eae(_0x5a0290,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x48e15b,imageSources:_0x4991d3}=_0x5457ea(_0x5a0290,_0x5ea39c);_0x558885['model']['change'](_0x8cba4=>{if('$graveyard'===_0x1f7ad8['root']['rootName']){_0x558885['execute']('insertImage',{'imageType':_0x1f7ad8['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x1f7ad8['getAttributes']()),'uploadcareImageId':_0x511ca5,'src':_0x48e15b,'sources':_0x4991d3,'width':_0x5ea39c,'height':_0x10ba55}});const _0x3995e5=_0x1f7ad8['getChildren']();_0x1f7ad8=_0x558885['model']['document']['selection']['getSelectedElement']();for(const _0x20a26e of _0x3995e5)_0x8cba4['append'](_0x8cba4['cloneElement'](_0x20a26e),_0x1f7ad8);}else _0x8cba4['setSelection'](_0x1f7ad8,'on'),_0x558885['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x1f7ad8['getAttributes']()),'uploadcareImageId':_0x511ca5,'src':_0x48e15b,'sources':_0x4991d3,'width':_0x5ea39c,'height':_0x10ba55},_0x1f7ad8);_0x8cba4['setSelection'](_0x1f7ad8,'on');});}async['_getImageAsFile'](_0xf6dccc){const _0x4ca199=_0x4dd6f4['window'],_0x3ac756=_0x4dd6f4['document']['location']['href'],_0x1050d2=new _0x4ca199['URL'](_0xf6dccc['getAttribute']('src'),_0x3ac756);if('data:'===_0x1050d2['protocol']){const _0x164873=_0x1050d2['href']['split'](','),_0x50c9d0=_0x164873[0x0]['match'](/:(.*?);/)[0x1],_0x5ad024=_0x50c9d0['split']('/')[0x1],_0x3e9d38=_0x4ca199['atob'](_0x164873[_0x164873['length']-0x1]);let _0x5ecc0b=_0x3e9d38['length'];const _0x237997=new _0x4ca199['Uint8Array'](_0x5ecc0b);for(;_0x5ecc0b--;)_0x237997[_0x5ecc0b]=_0x3e9d38['charCodeAt'](_0x5ecc0b);return new _0x4ca199['File']([_0x237997],'image.'+_0x5ad024,{'type':_0x50c9d0});}const _0x4d268d=_0x1050d2['href']['split']('/'),_0x11ccfb=_0x4d268d[_0x4d268d['length']-0x1],_0x5286fe=_0x11ccfb['split']('.')[0x1];return _0x4ca199['fetch'](_0x1050d2['href'])['then'](_0x4b0c2c=>_0x4b0c2c['clone']()['blob']())['then'](_0x4a6b99=>new _0x4ca199['File']([_0x4a6b99],_0x11ccfb,{'type':'image/'+_0x5286fe}));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x486b(){const _0x58cc40=['image-edit','uc-light','set','4792010zKpiql','360894yEiOcP','9mjZOEh','186BoCCqQ','ck-uploadcare-theme','45FVOnMU','494747rrbyKD','10524KFhqmQ','789544ELzmTz','1618116WdDClr','uc-cloud-image-editor','imageSrc','115367hHozzW','bindTemplate','setTemplate'];_0x486b=function(){return _0x58cc40;};return _0x486b();}(function(_0x4da6b7,_0x2ab4fb){const _0x4289e2=_0x5a44,_0x10060b=_0x4da6b7();while(!![]){try{const _0x56a984=parseInt(_0x4289e2(0x91))/0x1+parseInt(_0x4289e2(0x9e))/0x2+-parseInt(_0x4289e2(0x94))/0x3+parseInt(_0x4289e2(0x92))/0x4*(parseInt(_0x4289e2(0x90))/0x5)+parseInt(_0x4289e2(0x8e))/0x6*(parseInt(_0x4289e2(0x97))/0x7)+parseInt(_0x4289e2(0x93))/0x8*(parseInt(_0x4289e2(0x8d))/0x9)+-parseInt(_0x4289e2(0x9d))/0xa;if(_0x56a984===_0x2ab4fb)break;else _0x10060b['push'](_0x10060b['shift']());}catch(_0xb92874){_0x10060b['push'](_0x10060b['shift']());}}}(_0x486b,0x46c70));import{View as _0x374615}from'ckeditor5/src/ui.js';function _0x5a44(_0x372a40,_0x1b5a65){const _0x486b3f=_0x486b();return _0x5a44=function(_0x5a44e8,_0x375e19){_0x5a44e8=_0x5a44e8-0x8d;let _0x1658a9=_0x486b3f[_0x5a44e8];return _0x1658a9;},_0x5a44(_0x372a40,_0x1b5a65);}export class UploadcareImageEditFormEditingView extends _0x374615{constructor(_0x39b473,_0x2acb2a){const _0x555828=_0x5a44;super(_0x39b473);const _0x587202=this[_0x555828(0x98)];this[_0x555828(0x9c)](_0x555828(0x96),''),this[_0x555828(0x99)]({'tag':_0x555828(0x95),'attributes':{..._0x2acb2a,'class':[_0x555828(0x9b),_0x555828(0x8f)],'ctx-name':_0x555828(0x9a),'cdn-url':_0x587202['to'](_0x555828(0x96))}});}}
23
+ function _0x2153(_0x485730,_0x10148c){const _0x37f508=_0x37f5();return _0x2153=function(_0x215304,_0x33d474){_0x215304=_0x215304-0x17d;let _0x1e1a17=_0x37f508[_0x215304];return _0x1e1a17;},_0x2153(_0x485730,_0x10148c);}(function(_0x112a13,_0x978092){const _0x44dd0a=_0x2153,_0x40c8da=_0x112a13();while(!![]){try{const _0x5a29b3=-parseInt(_0x44dd0a(0x18b))/0x1+-parseInt(_0x44dd0a(0x17d))/0x2+parseInt(_0x44dd0a(0x18e))/0x3+parseInt(_0x44dd0a(0x182))/0x4*(-parseInt(_0x44dd0a(0x181))/0x5)+-parseInt(_0x44dd0a(0x183))/0x6+-parseInt(_0x44dd0a(0x184))/0x7*(parseInt(_0x44dd0a(0x185))/0x8)+parseInt(_0x44dd0a(0x180))/0x9*(parseInt(_0x44dd0a(0x188))/0xa);if(_0x5a29b3===_0x978092)break;else _0x40c8da['push'](_0x40c8da['shift']());}catch(_0x9982ff){_0x40c8da['push'](_0x40c8da['shift']());}}}(_0x37f5,0x75db1));function _0x37f5(){const _0x15369c=['16Zkgiwq','3313626jkchrO','5310046fJKyGX','8VcHMBl','bindTemplate','imageSrc','110POKtQK','uc-light','set','26426QciHPF','setTemplate','image-edit','111606qCGAEy','1653344qsQfhF','ck-uploadcare-theme','uc-cloud-image-editor','2490858jXpHSQ','543625VNJNLc'];_0x37f5=function(){return _0x15369c;};return _0x37f5();}import{View as _0x5a7b50}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormEditingView extends _0x5a7b50{constructor(_0x16ab55,_0x44a0ec){const _0x444331=_0x2153;super(_0x16ab55);const _0x516bcd=this[_0x444331(0x186)];this[_0x444331(0x18a)](_0x444331(0x187),''),this[_0x444331(0x18c)]({'tag':_0x444331(0x17f),'attributes':{..._0x44a0ec,'class':[_0x444331(0x189),_0x444331(0x17e)],'ctx-name':_0x444331(0x18d),'cdn-url':_0x516bcd['to'](_0x444331(0x187))}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{IconError as _0x3a198f}from'ckeditor5/src/icons.js';import{ButtonView as _0x4bc149,IconView as _0x4ed862,View as _0x4e5e8d}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormErrorView extends _0x4e5e8d{constructor(_0x92967c){super(_0x92967c);const t=_0x92967c['t'];this['set']('errorType',null);const _0x3c2b20=new _0x4bc149(_0x92967c);_0x3c2b20['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x3c2b20['withText']=!0x0,_0x3c2b20['class']='ck-button-action',_0x3c2b20['on']('execute',()=>{this['fire']('retry');}),_0x3c2b20['bind']('isVisible')['to'](this,'errorType',_0xd7160=>'NotFound'!==_0xd7160);const _0x47c3a3=new _0x4ed862();_0x47c3a3['content']=_0x3a198f,_0x47c3a3['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x151757=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':[_0x47c3a3,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x151757['to']('errorType',_0x3bcf1e=>t('NotFound'!==_0x3bcf1e?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x3c2b20]},{'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 _0x15e99d}from'ckeditor5/src/icons.js';import{ButtonView as _0x3f654c,IconView as _0x2ccfd2,View as _0x49fdad}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormErrorView extends _0x49fdad{constructor(_0x3c1463){super(_0x3c1463);const t=_0x3c1463['t'];this['set']('errorType',null);const _0x3bc746=new _0x3f654c(_0x3c1463);_0x3bc746['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x3bc746['withText']=!0x0,_0x3bc746['class']='ck-button-action',_0x3bc746['on']('execute',()=>{this['fire']('retry');}),_0x3bc746['bind']('isVisible')['to'](this,'errorType',_0x4ef373=>'NotFound'!==_0x4ef373);const _0x4abc0f=new _0x2ccfd2();_0x4abc0f['content']=_0x15e99d,_0x4abc0f['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x397df1=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':[_0x4abc0f,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x397df1['to']('errorType',_0x36c537=>t('NotFound'!==_0x36c537?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x3bc746]},{'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 _0xb391c7,View as _0x434e7f}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x434e7f{constructor(_0x1fe045){super(_0x1fe045);const t=_0x1fe045['t'],_0x514137=this['bindTemplate'],_0x5b853b=new _0xb391c7();_0x5b853b['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':[_0x5b853b,{'text':_0x514137['to']('imageUploadProgress',_0x4d442a=>t('Loading\x20image...')+'\x20('+(_0x4d442a||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 _0x253a3b,View as _0x3f88db}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x3f88db{constructor(_0x4c3d49){super(_0x4c3d49);const t=_0x4c3d49['t'],_0x27123e=this['bindTemplate'],_0x33dcf7=new _0x253a3b();_0x33dcf7['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':[_0x33dcf7,{'text':_0x27123e['to']('imageUploadProgress',_0x29de8d=>t('Loading\x20image...')+'\x20('+(_0x29de8d||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 _0x48daa0=_0x5740;(function(_0x41a85f,_0x222092){const _0x436c31=_0x5740,_0x356eb0=_0x41a85f();while(!![]){try{const _0x15613e=parseInt(_0x436c31(0x1f1))/0x1*(-parseInt(_0x436c31(0x1f8))/0x2)+parseInt(_0x436c31(0x1f7))/0x3*(parseInt(_0x436c31(0x203))/0x4)+parseInt(_0x436c31(0x217))/0x5*(-parseInt(_0x436c31(0x213))/0x6)+parseInt(_0x436c31(0x21b))/0x7+parseInt(_0x436c31(0x204))/0x8+parseInt(_0x436c31(0x1f9))/0x9*(-parseInt(_0x436c31(0x1eb))/0xa)+parseInt(_0x436c31(0x205))/0xb*(-parseInt(_0x436c31(0x220))/0xc);if(_0x15613e===_0x222092)break;else _0x356eb0['push'](_0x356eb0['shift']());}catch(_0x37d00c){_0x356eb0['push'](_0x356eb0['shift']());}}}(_0x12d6,0x4c4b9));function _0x5740(_0x41c9d2,_0x30e638){const _0x12d659=_0x12d6();return _0x5740=function(_0x5740c4,_0x32174e){_0x5740c4=_0x5740c4-0x1ea;let _0x4d2e90=_0x12d659[_0x5740c4];return _0x4d2e90;},_0x5740(_0x41c9d2,_0x30e638);}import{View as _0x1b0705}from'ckeditor5/src/ui.js';import{UploadcareImageEditFormLoadingView as _0x5e4907}from'./uploadcareimageeditformloadingview.js';import{UploadcareImageEditFormErrorView as _0x3c31cd}from'./uploadcareimageeditformerrorview.js';import{UploadcareImageEditFormEditingView as _0x262301}from'./uploadcareimageeditformeditingview.js';function _0x12d6(){const _0x3eba97=['once','6findPp','81038ztgBQe','1251AHnETV','div','_editingView','fire','uploading','render','disconnect','target','cancel','createCollection','1128004HknBUo','4565376BtqZdi','13387QPLJiF','filter','apply','toLowerCase','ready','focus','error','setTemplate','_focusableView','retry','getFocusableElement','querySelector','nodeName','ck-reset_all-excluded','42QprPxK','status','cdnUrl','element','241895JQBUmf','uc-cloud-image-editor','addMany','add','3501183VKhyJW','_waitForImageEditorComponent','clear','_addUploadcareImageEditorListeners','_items','5772DPxXgb','set','observe','_errorView','8250EuPsDB','addEventListener','addedNodes','_addErrorViewListeners','length','detail','7bJDgEH','ck-uploadcare-form','_setView','_loadingView','change:status'];_0x12d6=function(){return _0x3eba97;};return _0x12d6();}import{DialogFocusManagerView as _0x1c49df}from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export class UploadcareImageEditFormView extends _0x1c49df{[_0x48daa0(0x21f)];[_0x48daa0(0x1f4)];[_0x48daa0(0x1ea)];[_0x48daa0(0x1fb)];[_0x48daa0(0x20d)];constructor(_0x2cdce1,_0x365753,_0x1ea497){const _0x3f3def=_0x48daa0;super(_0x2cdce1),this[_0x3f3def(0x21f)]=this[_0x3f3def(0x202)](),this[_0x3f3def(0x1f4)]=new _0x5e4907(_0x2cdce1),this[_0x3f3def(0x1ea)]=new _0x3c31cd(_0x2cdce1),this[_0x3f3def(0x1fb)]=new _0x262301(_0x2cdce1,_0x1ea497),this[_0x3f3def(0x20d)]=new _0x1b0705(_0x2cdce1),this[_0x3f3def(0x20d)][_0x3f3def(0x20c)](this[_0x3f3def(0x20f)]()),this[_0x3f3def(0x221)](_0x3f3def(0x214),_0x365753),this[_0x3f3def(0x20c)]({'tag':_0x3f3def(0x1fa),'attributes':{'class':['ck',_0x3f3def(0x212),_0x3f3def(0x1f2)],'tabindex':'-1'},'children':this[_0x3f3def(0x21f)]}),this[_0x3f3def(0x1f3)](),this[_0x3f3def(0x1f6)](_0x3f3def(0x1fe),()=>{const _0x1eabff=_0x3f3def;this[_0x1eabff(0x21c)](this[_0x1eabff(0x216)],_0x1a6e61=>{const _0x49d080=_0x1eabff;this[_0x49d080(0x21e)](_0x1a6e61);});}),this['on'](_0x3f3def(0x1f5),()=>{const _0xa63684=_0x3f3def;this[_0xa63684(0x1f3)]();}),this[_0x3f3def(0x1ee)]();}[_0x48daa0(0x20a)](){const _0x52b67d=_0x48daa0;this[_0x52b67d(0x216)][_0x52b67d(0x20a)]();}[_0x48daa0(0x1f3)](){const _0x3a9553=_0x48daa0;switch(this[_0x3a9553(0x21f)][_0x3a9553(0x21d)](),this[_0x3a9553(0x214)]){case _0x3a9553(0x1fd):this[_0x3a9553(0x21f)][_0x3a9553(0x21a)](this[_0x3a9553(0x1f4)]);break;case _0x3a9553(0x20b):this[_0x3a9553(0x21f)][_0x3a9553(0x21a)](this[_0x3a9553(0x1ea)]);break;case _0x3a9553(0x209):this[_0x3a9553(0x21f)][_0x3a9553(0x219)]([this[_0x3a9553(0x1fb)],this[_0x3a9553(0x20d)]]);}}[_0x48daa0(0x21c)](_0x4da846,_0xb4584b){const _0x5d356d=_0x48daa0,_0x385972=_0x5d356d(0x218),_0x5186b5=_0x4da846[_0x5d356d(0x210)](_0x385972);if(_0x5186b5)return _0xb4584b(_0x5186b5);const _0x506215=new MutationObserver(_0x19cb34=>{const _0x2cd42a=_0x5d356d,_0x121034=_0x19cb34[_0x2cd42a(0x206)](_0x4fd72a=>_0x4fd72a[_0x2cd42a(0x200)]===_0x4da846&&_0x4fd72a[_0x2cd42a(0x1ed)][_0x2cd42a(0x1ef)]>0x0&&_0x4fd72a[_0x2cd42a(0x1ed)][0x0][_0x2cd42a(0x211)][_0x2cd42a(0x208)]()===_0x385972);_0x121034[_0x2cd42a(0x1ef)]&&(_0x506215[_0x2cd42a(0x1ff)](),_0xb4584b(_0x121034[0x0][_0x2cd42a(0x1ed)][0x0]));});_0x506215[_0x5d356d(0x222)](_0x4da846,{'childList':!0x0,'subtree':!0x0});}[_0x48daa0(0x21e)](_0x24e8b5){const _0x59d406=_0x48daa0;_0x24e8b5[_0x59d406(0x1ec)](_0x59d406(0x207),_0x31c4ac=>{const _0x26db37=_0x59d406;this[_0x26db37(0x1fc)](_0x26db37(0x207),{'imageSrc':_0x31c4ac[_0x26db37(0x1f0)][_0x26db37(0x215)]});}),_0x24e8b5[_0x59d406(0x1ec)](_0x59d406(0x201),()=>{const _0x50efe9=_0x59d406;this[_0x50efe9(0x1fc)](_0x50efe9(0x201));});}[_0x48daa0(0x1ee)](){const _0x541935=_0x48daa0;this[_0x541935(0x1ea)]['on'](_0x541935(0x20e),()=>{const _0x4143d6=_0x541935;this[_0x4143d6(0x1fc)](_0x4143d6(0x20e));});}}
23
+ const _0x8cf5c=_0x2aca;(function(_0x10a6a6,_0x5f0f85){const _0x5a820e=_0x2aca,_0x1550dd=_0x10a6a6();while(!![]){try{const _0x4b677c=parseInt(_0x5a820e(0xc8))/0x1+-parseInt(_0x5a820e(0xe7))/0x2*(-parseInt(_0x5a820e(0xe0))/0x3)+parseInt(_0x5a820e(0xdf))/0x4*(parseInt(_0x5a820e(0xcd))/0x5)+-parseInt(_0x5a820e(0xd0))/0x6+parseInt(_0x5a820e(0xbc))/0x7*(-parseInt(_0x5a820e(0xe1))/0x8)+parseInt(_0x5a820e(0xc4))/0x9+-parseInt(_0x5a820e(0xdb))/0xa*(-parseInt(_0x5a820e(0xe9))/0xb);if(_0x4b677c===_0x5f0f85)break;else _0x1550dd['push'](_0x1550dd['shift']());}catch(_0x3d4a92){_0x1550dd['push'](_0x1550dd['shift']());}}}(_0x105a,0x5d3a6));import{View as _0x5f1ccd}from'ckeditor5/src/ui.js';import{UploadcareImageEditFormLoadingView as _0x4fa364}from'./uploadcareimageeditformloadingview.js';function _0x105a(){const _0x29b17c=['ready','focus','_loadingView','div','fire','_focusableView','7210WnirLQ','observe','target','ck-uploadcare-form','toLowerCase','addEventListener','querySelector','ck-reset_all-excluded','2950506CZsICH','add','getFocusableElement','_items','138537mfqAxx','createCollection','uploading','addMany','_addErrorViewListeners','5hINXrT','addedNodes','_setView','4237002XgMmnC','_editingView','change:status','error','filter','nodeName','once','render','element','status','uc-cloud-image-editor','40AshUIA','_addUploadcareImageEditorListeners','length','detail','978412xKNpfF','8799TPXHmH','3488SQQyFW','retry','cancel','_errorView','apply','clear','302HmLhBp','setTemplate','1053943UUZGUQ','cdnUrl','_waitForImageEditorComponent','set','disconnect'];_0x105a=function(){return _0x29b17c;};return _0x105a();}import{UploadcareImageEditFormErrorView as _0x3d30e1}from'./uploadcareimageeditformerrorview.js';import{UploadcareImageEditFormEditingView as _0x19cde7}from'./uploadcareimageeditformeditingview.js';import{DialogFocusManagerView as _0xac7a02}from'../../utils/dialogfocusmanagerview.js';function _0x2aca(_0x209257,_0x26f978){const _0x105a65=_0x105a();return _0x2aca=function(_0x2aca98,_0x1c3b52){_0x2aca98=_0x2aca98-0xb5;let _0x503583=_0x105a65[_0x2aca98];return _0x503583;},_0x2aca(_0x209257,_0x26f978);}import'../../../theme/uploadcare-form.css';export class UploadcareImageEditFormView extends _0xac7a02{[_0x8cf5c(0xc7)];[_0x8cf5c(0xb8)];[_0x8cf5c(0xe4)];[_0x8cf5c(0xd1)];[_0x8cf5c(0xbb)];constructor(_0x335485,_0x456946,_0x4bdbc2){const _0x234426=_0x8cf5c;super(_0x335485),this[_0x234426(0xc7)]=this[_0x234426(0xc9)](),this[_0x234426(0xb8)]=new _0x4fa364(_0x335485),this[_0x234426(0xe4)]=new _0x3d30e1(_0x335485),this[_0x234426(0xd1)]=new _0x19cde7(_0x335485,_0x4bdbc2),this[_0x234426(0xbb)]=new _0x5f1ccd(_0x335485),this[_0x234426(0xbb)][_0x234426(0xe8)](this[_0x234426(0xc6)]()),this[_0x234426(0xec)](_0x234426(0xd9),_0x456946),this[_0x234426(0xe8)]({'tag':_0x234426(0xb9),'attributes':{'class':['ck',_0x234426(0xc3),_0x234426(0xbf)],'tabindex':'-1'},'children':this[_0x234426(0xc7)]}),this[_0x234426(0xcf)](),this[_0x234426(0xd6)](_0x234426(0xd7),()=>{const _0x1615d3=_0x234426;this[_0x1615d3(0xeb)](this[_0x1615d3(0xd8)],_0x501c27=>{const _0xa75660=_0x1615d3;this[_0xa75660(0xdc)](_0x501c27);});}),this['on'](_0x234426(0xd2),()=>{const _0x116ada=_0x234426;this[_0x116ada(0xcf)]();}),this[_0x234426(0xcc)]();}[_0x8cf5c(0xb7)](){const _0x2c66c6=_0x8cf5c;this[_0x2c66c6(0xd8)][_0x2c66c6(0xb7)]();}[_0x8cf5c(0xcf)](){const _0x29a8f5=_0x8cf5c;switch(this[_0x29a8f5(0xc7)][_0x29a8f5(0xe6)](),this[_0x29a8f5(0xd9)]){case _0x29a8f5(0xca):this[_0x29a8f5(0xc7)][_0x29a8f5(0xc5)](this[_0x29a8f5(0xb8)]);break;case _0x29a8f5(0xd3):this[_0x29a8f5(0xc7)][_0x29a8f5(0xc5)](this[_0x29a8f5(0xe4)]);break;case _0x29a8f5(0xb6):this[_0x29a8f5(0xc7)][_0x29a8f5(0xcb)]([this[_0x29a8f5(0xd1)],this[_0x29a8f5(0xbb)]]);}}[_0x8cf5c(0xeb)](_0x204a92,_0x44c1bb){const _0x58a698=_0x8cf5c,_0x447176=_0x58a698(0xda),_0x89a76f=_0x204a92[_0x58a698(0xc2)](_0x447176);if(_0x89a76f)return _0x44c1bb(_0x89a76f);const _0xc9451d=new MutationObserver(_0x194683=>{const _0x3c51bd=_0x58a698,_0x474589=_0x194683[_0x3c51bd(0xd4)](_0x531a91=>_0x531a91[_0x3c51bd(0xbe)]===_0x204a92&&_0x531a91[_0x3c51bd(0xce)][_0x3c51bd(0xdd)]>0x0&&_0x531a91[_0x3c51bd(0xce)][0x0][_0x3c51bd(0xd5)][_0x3c51bd(0xc0)]()===_0x447176);_0x474589[_0x3c51bd(0xdd)]&&(_0xc9451d[_0x3c51bd(0xb5)](),_0x44c1bb(_0x474589[0x0][_0x3c51bd(0xce)][0x0]));});_0xc9451d[_0x58a698(0xbd)](_0x204a92,{'childList':!0x0,'subtree':!0x0});}[_0x8cf5c(0xdc)](_0x227f4e){const _0x1eb4af=_0x8cf5c;_0x227f4e[_0x1eb4af(0xc1)](_0x1eb4af(0xe5),_0x4daca8=>{const _0x26ef4b=_0x1eb4af;this[_0x26ef4b(0xba)](_0x26ef4b(0xe5),{'imageSrc':_0x4daca8[_0x26ef4b(0xde)][_0x26ef4b(0xea)]});}),_0x227f4e[_0x1eb4af(0xc1)](_0x1eb4af(0xe3),()=>{const _0x71bc0d=_0x1eb4af;this[_0x71bc0d(0xba)](_0x71bc0d(0xe3));});}[_0x8cf5c(0xcc)](){const _0x5b1cbf=_0x8cf5c;this[_0x5b1cbf(0xe4)]['on'](_0x5b1cbf(0xe2),()=>{const _0x336962=_0x5b1cbf;this[_0x336962(0xba)](_0x336962(0xe2));});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x30d5ff=_0x3d66;(function(_0x2a9b3b,_0x2988e5){const _0x2b79c5=_0x3d66,_0x47125a=_0x2a9b3b();while(!![]){try{const _0x236ffa=parseInt(_0x2b79c5(0x19d))/0x1*(parseInt(_0x2b79c5(0x189))/0x2)+-parseInt(_0x2b79c5(0x193))/0x3*(parseInt(_0x2b79c5(0x186))/0x4)+parseInt(_0x2b79c5(0x181))/0x5*(-parseInt(_0x2b79c5(0x195))/0x6)+parseInt(_0x2b79c5(0x1a0))/0x7+-parseInt(_0x2b79c5(0x185))/0x8*(-parseInt(_0x2b79c5(0x18a))/0x9)+-parseInt(_0x2b79c5(0x187))/0xa+-parseInt(_0x2b79c5(0x192))/0xb*(-parseInt(_0x2b79c5(0x1a2))/0xc);if(_0x236ffa===_0x2988e5)break;else _0x47125a['push'](_0x47125a['shift']());}catch(_0x1cc415){_0x47125a['push'](_0x47125a['shift']());}}}(_0x12a6,0xa5666));import{Command as _0x3fe31e}from'ckeditor5/src/core.js';import{Dialog as _0x378a62}from'ckeditor5/src/ui.js';function _0x3d66(_0x2d310e,_0x5b4e36){const _0x12a60c=_0x12a6();return _0x3d66=function(_0x3d66b5,_0x43e729){_0x3d66b5=_0x3d66b5-0x181;let _0xea6eff=_0x12a60c[_0x3d66b5];return _0xea6eff;},_0x3d66(_0x2d310e,_0x5b4e36);}import{UploadcareImageEditController as _0x521a4f}from'./ui/uploadcareimageeditcontroller.js';function _0x12a6(){const _0x5815e9=['refresh','requires','40fuYwtJ','132744cpCYlN','2660250SmvDCX','execute','2qQkslZ','809055jHMnHV','get','uploadcare.allowExternalImagesEditing','imageInline','plugins','model','isEnabled','imageBlock','4728977wTULqx','45qWLMkL','unbind','6NJHDhu','imageEditController','bind','document','config','editor','_isEditable','element','1116229FNEgXn','isActive','getSelectedElement','1643859MTpnsD','selection','12vEIobG','3945775jmVVmz','set'];_0x12a6=function(){return _0x5815e9;};return _0x12a6();}import{createEditabilityChecker as _0x402642}from'../utils/editingutils.js';export class UploadcareImageEditCommand extends _0x3fe31e{[_0x30d5ff(0x196)];static get[_0x30d5ff(0x184)](){return[_0x378a62];}[_0x30d5ff(0x19b)];constructor(_0x54d2ed){const _0xfb155b=_0x30d5ff;super(_0x54d2ed),this[_0xfb155b(0x196)]=void 0x0,this[_0xfb155b(0x19b)]=_0x402642(_0x54d2ed[_0xfb155b(0x199)][_0xfb155b(0x18b)](_0xfb155b(0x18c))||[]),this[_0xfb155b(0x182)]({'isActive':!0x1});}[_0x30d5ff(0x183)](){const _0x4ba1f7=_0x30d5ff,_0x9c5a38=this[_0x4ba1f7(0x19a)][_0x4ba1f7(0x18f)][_0x4ba1f7(0x198)][_0x4ba1f7(0x1a1)][_0x4ba1f7(0x19f)]();this[_0x4ba1f7(0x190)]=this[_0x4ba1f7(0x19b)](_0x9c5a38);}[_0x30d5ff(0x188)](){const _0x21b3f6=_0x30d5ff;this[_0x21b3f6(0x196)]&&(this[_0x21b3f6(0x194)](_0x21b3f6(0x19e)),this[_0x21b3f6(0x196)]=void 0x0);const _0x1145e2=this[_0x21b3f6(0x19a)][_0x21b3f6(0x18f)][_0x21b3f6(0x198)][_0x21b3f6(0x1a1)][_0x21b3f6(0x19f)]();_0x1145e2&&(_0x1145e2['is'](_0x21b3f6(0x19c),_0x21b3f6(0x191))||_0x1145e2['is'](_0x21b3f6(0x19c),_0x21b3f6(0x18d)))&&(this[_0x21b3f6(0x196)]=new _0x521a4f(this[_0x21b3f6(0x19a)],this[_0x21b3f6(0x19a)][_0x21b3f6(0x18e)][_0x21b3f6(0x18b)](_0x378a62),_0x1145e2),this[_0x21b3f6(0x197)](_0x21b3f6(0x19e))['to'](this[_0x21b3f6(0x196)],_0x21b3f6(0x19e)));}}
23
+ const _0x5c543f=_0x47ba;function _0x47ba(_0x4b2557,_0x23bf5c){const _0x2ea06c=_0x2ea0();return _0x47ba=function(_0x47ba4d,_0x54f384){_0x47ba4d=_0x47ba4d-0x115;let _0x19b9ce=_0x2ea06c[_0x47ba4d];return _0x19b9ce;},_0x47ba(_0x4b2557,_0x23bf5c);}(function(_0x3970aa,_0x589045){const _0x1b269d=_0x47ba,_0x229477=_0x3970aa();while(!![]){try{const _0x370ac5=-parseInt(_0x1b269d(0x134))/0x1*(-parseInt(_0x1b269d(0x121))/0x2)+-parseInt(_0x1b269d(0x11d))/0x3+parseInt(_0x1b269d(0x116))/0x4+parseInt(_0x1b269d(0x127))/0x5*(parseInt(_0x1b269d(0x123))/0x6)+-parseInt(_0x1b269d(0x118))/0x7*(parseInt(_0x1b269d(0x11e))/0x8)+parseInt(_0x1b269d(0x12a))/0x9+-parseInt(_0x1b269d(0x130))/0xa*(-parseInt(_0x1b269d(0x12c))/0xb);if(_0x370ac5===_0x589045)break;else _0x229477['push'](_0x229477['shift']());}catch(_0x30cb6e){_0x229477['push'](_0x229477['shift']());}}}(_0x2ea0,0xcbdb9));import{Command as _0xf339f5}from'ckeditor5/src/core.js';import{Dialog as _0x59cbe5}from'ckeditor5/src/ui.js';import{UploadcareImageEditController as _0x41846a}from'./ui/uploadcareimageeditcontroller.js';function _0x2ea0(){const _0x375414=['685165JXmyOA','isActive','config','5391153YyDXgL','plugins','196724zGpQrM','selection','imageEditController','element','460ZhADvy','model','get','uploadcare.allowExternalImagesEditing','3DzCgxp','isEnabled','refresh','2279132FOrzPh','_isEditable','1199891AhqzQR','getSelectedElement','bind','execute','imageInline','4355202YAOgZu','32MlLTWD','requires','document','197172qIfeXL','set','30zBiDCo','unbind','editor','imageBlock'];_0x2ea0=function(){return _0x375414;};return _0x2ea0();}import{createEditabilityChecker as _0x540877}from'../utils/editingutils.js';export class UploadcareImageEditCommand extends _0xf339f5{[_0x5c543f(0x12e)];static get[_0x5c543f(0x11f)](){return[_0x59cbe5];}[_0x5c543f(0x117)];constructor(_0x1cd19e){const _0x165b8a=_0x5c543f;super(_0x1cd19e),this[_0x165b8a(0x12e)]=void 0x0,this[_0x165b8a(0x117)]=_0x540877(_0x1cd19e[_0x165b8a(0x129)][_0x165b8a(0x132)](_0x165b8a(0x133))||[]),this[_0x165b8a(0x122)]({'isActive':!0x1});}[_0x5c543f(0x115)](){const _0x4859fb=_0x5c543f,_0x27b2be=this[_0x4859fb(0x125)][_0x4859fb(0x131)][_0x4859fb(0x120)][_0x4859fb(0x12d)][_0x4859fb(0x119)]();this[_0x4859fb(0x135)]=this[_0x4859fb(0x117)](_0x27b2be);}[_0x5c543f(0x11b)](){const _0x14e456=_0x5c543f;this[_0x14e456(0x12e)]&&(this[_0x14e456(0x124)](_0x14e456(0x128)),this[_0x14e456(0x12e)]=void 0x0);const _0x3ccde8=this[_0x14e456(0x125)][_0x14e456(0x131)][_0x14e456(0x120)][_0x14e456(0x12d)][_0x14e456(0x119)]();_0x3ccde8&&(_0x3ccde8['is'](_0x14e456(0x12f),_0x14e456(0x126))||_0x3ccde8['is'](_0x14e456(0x12f),_0x14e456(0x11c)))&&(this[_0x14e456(0x12e)]=new _0x41846a(this[_0x14e456(0x125)],this[_0x14e456(0x125)][_0x14e456(0x12b)][_0x14e456(0x132)](_0x59cbe5),_0x3ccde8),this[_0x14e456(0x11a)](_0x14e456(0x128))['to'](this[_0x14e456(0x12e)],_0x14e456(0x128)));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x25ff(_0x248644,_0x48ca85){const _0x41ffc8=_0x41ff();return _0x25ff=function(_0x25ffa4,_0x117699){_0x25ffa4=_0x25ffa4-0x90;let _0x286575=_0x41ffc8[_0x25ffa4];return _0x286575;},_0x25ff(_0x248644,_0x48ca85);}function _0x41ff(){const _0x55e4c5=['ImageEditing','39670JVebBL','3953279evAgPH','1422hNolhP','5008152myZqip','uploadcareImageReplace','5lmSgvf','170355iVBhAq','pluginName','2520hSrucf','isOfficialPlugin','UploadcareImageEditEditing','uploadcareImageEdit','requires','add','init','ImageUtils','554032vmvbqp','41713TyUvSC','4FDpUON','commands','isPremiumPlugin','258238GHmocV'];_0x41ff=function(){return _0x55e4c5;};return _0x41ff();}const _0x1e4082=_0x25ff;(function(_0x16d356,_0x42fed0){const _0x533fbc=_0x25ff,_0x706019=_0x16d356();while(!![]){try{const _0x4e04e7=-parseInt(_0x533fbc(0xa3))/0x1*(parseInt(_0x533fbc(0xa6))/0x2)+parseInt(_0x533fbc(0x97))/0x3+-parseInt(_0x533fbc(0x94))/0x4*(-parseInt(_0x533fbc(0x96))/0x5)+parseInt(_0x533fbc(0x93))/0x6*(-parseInt(_0x533fbc(0xa2))/0x7)+parseInt(_0x533fbc(0xa1))/0x8+parseInt(_0x533fbc(0x99))/0x9*(parseInt(_0x533fbc(0x91))/0xa)+parseInt(_0x533fbc(0x92))/0xb;if(_0x4e04e7===_0x42fed0)break;else _0x706019['push'](_0x706019['shift']());}catch(_0x591f70){_0x706019['push'](_0x706019['shift']());}}}(_0x41ff,0xe07ab));import{Plugin as _0xeaf5ea}from'ckeditor5/src/core.js';import{Notification as _0x4aa20d}from'ckeditor5/src/ui.js';import{UploadcareImageEditCommand as _0x1955e5}from'./uploadcareimageeditcommand.js';import{UploadcareImageReplaceCommand as _0x3c99b1}from'./uploadcareimagereplacecommand.js';import{UploadcareEditing as _0x10d5cd}from'../uploadcareediting.js';export class UploadcareImageEditEditing extends _0xeaf5ea{static get[_0x1e4082(0x98)](){const _0x2f5d75=_0x1e4082;return _0x2f5d75(0x9b);}static get[_0x1e4082(0x9d)](){const _0x45e3c0=_0x1e4082;return[_0x10d5cd,_0x4aa20d,_0x45e3c0(0xa0),_0x45e3c0(0x90)];}static get[_0x1e4082(0x9a)](){return!0x0;}static get[_0x1e4082(0xa5)](){return!0x0;}[_0x1e4082(0x9f)](){const _0x5d52aa=_0x1e4082,{editor:_0x2b6710}=this;_0x2b6710[_0x5d52aa(0xa4)][_0x5d52aa(0x9e)](_0x5d52aa(0x9c),new _0x1955e5(_0x2b6710)),_0x2b6710[_0x5d52aa(0xa4)][_0x5d52aa(0x9e)](_0x5d52aa(0x95),new _0x3c99b1(_0x2b6710));}}
23
+ function _0x1ba6(_0x27e83c,_0x5ef488){const _0x351fb5=_0x351f();return _0x1ba6=function(_0x1ba65e,_0x3207c7){_0x1ba65e=_0x1ba65e-0x1a8;let _0xf1a4f0=_0x351fb5[_0x1ba65e];return _0xf1a4f0;},_0x1ba6(_0x27e83c,_0x5ef488);}function _0x351f(){const _0x3766f7=['ImageUtils','requires','ImageEditing','add','init','commands','isPremiumPlugin','pluginName','9223911DlIoUL','5489640IGBXwv','326277OMTacE','726192MTMdpc','uploadcareImageEdit','927204RhUgud','isOfficialPlugin','5506ZwQlAT','21WSqvHC','240RhaOrA','UploadcareImageEditEditing','579515AJvGvn','uploadcareImageReplace'];_0x351f=function(){return _0x3766f7;};return _0x351f();}const _0x4e81c8=_0x1ba6;(function(_0x3ec565,_0x418439){const _0x2e974d=_0x1ba6,_0x3d5be6=_0x3ec565();while(!![]){try{const _0x1bf850=parseInt(_0x2e974d(0x1b3))/0x1*(parseInt(_0x2e974d(0x1b5))/0x2)+parseInt(_0x2e974d(0x1ae))/0x3+-parseInt(_0x2e974d(0x1af))/0x4+-parseInt(_0x2e974d(0x1b7))/0x5+-parseInt(_0x2e974d(0x1b1))/0x6*(parseInt(_0x2e974d(0x1b4))/0x7)+-parseInt(_0x2e974d(0x1ad))/0x8+parseInt(_0x2e974d(0x1ac))/0x9;if(_0x1bf850===_0x418439)break;else _0x3d5be6['push'](_0x3d5be6['shift']());}catch(_0x2cd9ff){_0x3d5be6['push'](_0x3d5be6['shift']());}}}(_0x351f,0x54bdc));import{Plugin as _0x1a33b5}from'ckeditor5/src/core.js';import{Notification as _0x5669ad}from'ckeditor5/src/ui.js';import{UploadcareImageEditCommand as _0x24e918}from'./uploadcareimageeditcommand.js';import{UploadcareImageReplaceCommand as _0x51f2fc}from'./uploadcareimagereplacecommand.js';import{UploadcareEditing as _0x21f0e7}from'../uploadcareediting.js';export class UploadcareImageEditEditing extends _0x1a33b5{static get[_0x4e81c8(0x1ab)](){const _0x38d0f3=_0x4e81c8;return _0x38d0f3(0x1b6);}static get[_0x4e81c8(0x1ba)](){const _0x27f440=_0x4e81c8;return[_0x21f0e7,_0x5669ad,_0x27f440(0x1b9),_0x27f440(0x1bb)];}static get[_0x4e81c8(0x1b2)](){return!0x0;}static get[_0x4e81c8(0x1aa)](){return!0x0;}[_0x4e81c8(0x1a8)](){const _0x4ba7a0=_0x4e81c8,{editor:_0x2a95ef}=this;_0x2a95ef[_0x4ba7a0(0x1a9)][_0x4ba7a0(0x1bc)](_0x4ba7a0(0x1b0),new _0x24e918(_0x2a95ef)),_0x2a95ef[_0x4ba7a0(0x1a9)][_0x4ba7a0(0x1bc)](_0x4ba7a0(0x1b8),new _0x51f2fc(_0x2a95ef));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x2f5c3e}from'ckeditor5/src/core.js';import{ButtonView as _0x4c8eb3}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0xd62c27}from'ckeditor5/src/icons.js';import{createElement as _0x4d0065}from'ckeditor5/src/utils.js';import'@uploadcare/file-uploader/web/uc-cloud-image-editor.min.css';import'../../theme/uploadcare-theme.css';export class UploadcareImageEditUI extends _0x2f5c3e{['_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 _0x31cdc3=this['editor'];_0x31cdc3['ui']['componentFactory']['add']('uploadcareImageEdit',_0x3965ff=>{const _0x1212ec=_0x31cdc3['commands']['get']('uploadcareImageEdit'),_0x5328f1=new _0x4c8eb3(_0x3965ff),t=_0x3965ff['t'];return _0x5328f1['set']({'icon':_0xd62c27,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x5328f1['bind']('isEnabled')['to'](_0x1212ec),_0x5328f1['bind']('isOn')['to'](_0x1212ec,'isActive'),this['listenTo'](_0x5328f1,'execute',()=>{_0x31cdc3['execute']('uploadcareImageEdit'),_0x31cdc3['editing']['view']['focus']();}),_0x5328f1;}),this['_initConfig']();}['_initConfig'](){const _0x34d7a6=_0x4d0065(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x34d7a6),this['listenTo'](this['editor'],'destroy',()=>{_0x34d7a6['remove']();});}}
23
+ import{Plugin as _0x537c37}from'ckeditor5/src/core.js';import{ButtonView as _0x4e22b5}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x31b7ca}from'ckeditor5/src/icons.js';import{createElement as _0x5beac4}from'ckeditor5/src/utils.js';import'@uploadcare/file-uploader/web/uc-cloud-image-editor.min.css';import'../../theme/uploadcare-theme.css';export class UploadcareImageEditUI extends _0x537c37{['_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 _0x5a3eae=this['editor'];_0x5a3eae['ui']['componentFactory']['add']('uploadcareImageEdit',_0x258ce9=>{const _0x335f5e=_0x5a3eae['commands']['get']('uploadcareImageEdit'),_0x2a2fe5=new _0x4e22b5(_0x258ce9),t=_0x258ce9['t'];return _0x2a2fe5['set']({'icon':_0x31b7ca,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x2a2fe5['bind']('isEnabled')['to'](_0x335f5e),_0x2a2fe5['bind']('isOn')['to'](_0x335f5e,'isActive'),this['listenTo'](_0x2a2fe5,'execute',()=>{_0x5a3eae['execute']('uploadcareImageEdit'),_0x5a3eae['editing']['view']['focus']();}),_0x2a2fe5;}),this['_initConfig']();}['_initConfig'](){const _0x36bbe7=_0x5beac4(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x36bbe7),this['listenTo'](this['editor'],'destroy',()=>{_0x36bbe7['remove']();});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x55f1(){const _0x23341f=['model','128931qkTgaY','imageBlock','element','2659134DTwcyj','selection','sizes','4864PwCjUU','document','32315qgeduw','144HZwxtZ','4488393sqDKuW','imageInline','1010FqRRXM','execute','594wuMUvU','srcset','552999hklirO','isEnabled','setAttributes','63285LigXZh','getSelectedElement','change','removeAttribute','26NWKqjQ','refresh','editor'];_0x55f1=function(){return _0x23341f;};return _0x55f1();}const _0x298dd1=_0x4be4;function _0x4be4(_0x191a94,_0x43c6b9){const _0x55f1ac=_0x55f1();return _0x4be4=function(_0x4be4e9,_0x135bf3){_0x4be4e9=_0x4be4e9-0xaf;let _0x1f58a0=_0x55f1ac[_0x4be4e9];return _0x1f58a0;},_0x4be4(_0x191a94,_0x43c6b9);}(function(_0x379b65,_0x3c077e){const _0x3b8e26=_0x4be4,_0x5b0f11=_0x379b65();while(!![]){try{const _0x4e6fb3=-parseInt(_0x3b8e26(0xb4))/0x1*(parseInt(_0x3b8e26(0xc3))/0x2)+parseInt(_0x3b8e26(0xbc))/0x3+parseInt(_0x3b8e26(0xb5))/0x4*(-parseInt(_0x3b8e26(0xbf))/0x5)+parseInt(_0x3b8e26(0xaf))/0x6+-parseInt(_0x3b8e26(0xb6))/0x7+parseInt(_0x3b8e26(0xb2))/0x8*(parseInt(_0x3b8e26(0xba))/0x9)+parseInt(_0x3b8e26(0xb8))/0xa*(parseInt(_0x3b8e26(0xc7))/0xb);if(_0x4e6fb3===_0x3c077e)break;else _0x5b0f11['push'](_0x5b0f11['shift']());}catch(_0x49cd42){_0x5b0f11['push'](_0x5b0f11['shift']());}}}(_0x55f1,0x51abd));import{Command as _0x19930e}from'ckeditor5/src/core.js';export class UploadcareImageReplaceCommand extends _0x19930e{[_0x298dd1(0xc4)](){const _0x470e0f=_0x298dd1,_0x18fac9=this[_0x470e0f(0xc5)][_0x470e0f(0xc6)][_0x470e0f(0xb3)][_0x470e0f(0xb0)][_0x470e0f(0xc0)]();this[_0x470e0f(0xbd)]=Boolean(_0x18fac9&&(_0x18fac9['is'](_0x470e0f(0xc9),_0x470e0f(0xc8))||_0x18fac9['is'](_0x470e0f(0xc9),_0x470e0f(0xb7))));}[_0x298dd1(0xb9)](_0x3b2d8d){const _0x78ac56=_0x298dd1,_0x3a8e86=this[_0x78ac56(0xc5)][_0x78ac56(0xc6)][_0x78ac56(0xb3)][_0x78ac56(0xb0)][_0x78ac56(0xc0)]();this[_0x78ac56(0xc5)][_0x78ac56(0xc6)][_0x78ac56(0xc1)](_0x4eda76=>{const _0x29f757=_0x78ac56;_0x4eda76[_0x29f757(0xbe)](_0x3b2d8d,_0x3a8e86),_0x4eda76[_0x29f757(0xc2)](_0x29f757(0xbb),_0x3a8e86),_0x4eda76[_0x29f757(0xc2)](_0x29f757(0xb1),_0x3a8e86);});}}
23
+ const _0x14b3d6=_0x580e;function _0x2b7f(){const _0x2f9f6d=['refresh','isEnabled','setAttributes','208172vvxGQT','imageInline','editor','18gCmKYa','execute','change','8zsOqKO','selection','27fVSNiL','document','2232378AHooKR','getSelectedElement','srcset','model','sizes','724577jcopmW','4600850tgaGJu','imageBlock','1303925KbydHn','element','238924oxEZJD','570406XXImtn','removeAttribute'];_0x2b7f=function(){return _0x2f9f6d;};return _0x2b7f();}(function(_0x48bd40,_0x268fbd){const _0x4fa623=_0x580e,_0x5e90a9=_0x48bd40();while(!![]){try{const _0x27005b=parseInt(_0x4fa623(0x109))/0x1+-parseInt(_0x4fa623(0x10a))/0x2+-parseInt(_0x4fa623(0x117))/0x3*(-parseInt(_0x4fa623(0x10f))/0x4)+parseInt(_0x4fa623(0x107))/0x5+parseInt(_0x4fa623(0x119))/0x6+-parseInt(_0x4fa623(0x11e))/0x7*(-parseInt(_0x4fa623(0x115))/0x8)+parseInt(_0x4fa623(0x112))/0x9*(-parseInt(_0x4fa623(0x11f))/0xa);if(_0x27005b===_0x268fbd)break;else _0x5e90a9['push'](_0x5e90a9['shift']());}catch(_0x1b450d){_0x5e90a9['push'](_0x5e90a9['shift']());}}}(_0x2b7f,0x3a2d9));function _0x580e(_0x53a43c,_0x3050a8){const _0x2b7f16=_0x2b7f();return _0x580e=function(_0x580e69,_0xf523e9){_0x580e69=_0x580e69-0x106;let _0x2c26ff=_0x2b7f16[_0x580e69];return _0x2c26ff;},_0x580e(_0x53a43c,_0x3050a8);}import{Command as _0x438ce0}from'ckeditor5/src/core.js';export class UploadcareImageReplaceCommand extends _0x438ce0{[_0x14b3d6(0x10c)](){const _0xc0bb5a=_0x14b3d6,_0x1cb92f=this[_0xc0bb5a(0x111)][_0xc0bb5a(0x11c)][_0xc0bb5a(0x118)][_0xc0bb5a(0x116)][_0xc0bb5a(0x11a)]();this[_0xc0bb5a(0x10d)]=Boolean(_0x1cb92f&&(_0x1cb92f['is'](_0xc0bb5a(0x108),_0xc0bb5a(0x106))||_0x1cb92f['is'](_0xc0bb5a(0x108),_0xc0bb5a(0x110))));}[_0x14b3d6(0x113)](_0x147912){const _0x5916f2=_0x14b3d6,_0x5e029b=this[_0x5916f2(0x111)][_0x5916f2(0x11c)][_0x5916f2(0x118)][_0x5916f2(0x116)][_0x5916f2(0x11a)]();this[_0x5916f2(0x111)][_0x5916f2(0x11c)][_0x5916f2(0x114)](_0x20084f=>{const _0x32a16d=_0x5916f2;_0x20084f[_0x32a16d(0x10e)](_0x147912,_0x5e029b),_0x20084f[_0x32a16d(0x10b)](_0x32a16d(0x11b),_0x5e029b),_0x20084f[_0x32a16d(0x10b)](_0x32a16d(0x11d),_0x5e029b);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x1318be=_0x3dbb;(function(_0xfaf5dc,_0xe2becb){var _0xa826bc=_0x3dbb,_0x24d413=_0xfaf5dc();while(!![]){try{var _0x3d2de4=parseInt(_0xa826bc(0x17a))/0x1*(parseInt(_0xa826bc(0x17b))/0x2)+-parseInt(_0xa826bc(0x172))/0x3*(parseInt(_0xa826bc(0x180))/0x4)+-parseInt(_0xa826bc(0x178))/0x5+-parseInt(_0xa826bc(0x17f))/0x6+-parseInt(_0xa826bc(0x174))/0x7*(-parseInt(_0xa826bc(0x173))/0x8)+parseInt(_0xa826bc(0x171))/0x9*(-parseInt(_0xa826bc(0x176))/0xa)+-parseInt(_0xa826bc(0x17d))/0xb*(-parseInt(_0xa826bc(0x181))/0xc);if(_0x3d2de4===_0xe2becb)break;else _0x24d413['push'](_0x24d413['shift']());}catch(_0x293c6c){_0x24d413['push'](_0x24d413['shift']());}}}(_0x5f10,0x340b1));import{Plugin as _0x3e7c31}from'ckeditor5/src/core.js';import{UploadcareImageEditEditing as _0x805f7b}from'./uploadcareimageedit/uploadcareimageeditediting.js';import{UploadcareImageEditUI as _0x585156}from'./uploadcareimageedit/uploadcareimageeditui.js';function _0x3dbb(_0x415701,_0x4722df){var _0x5f1045=_0x5f10();return _0x3dbb=function(_0x3dbb16,_0x1201d2){_0x3dbb16=_0x3dbb16-0x171;var _0x9707f0=_0x5f1045[_0x3dbb16];return _0x9707f0;},_0x3dbb(_0x415701,_0x4722df);}function _0x5f10(){var _0x53659f=['114549FohZYd','3656muhXOC','4823HQsQyZ','isOfficialPlugin','28020YLesKI','pluginName','596765SblNyf','requires','19049ZxXyjr','14tzbPDr','isPremiumPlugin','96294MUMDKY','UploadcareImageEdit','2269050wlfZBu','20riiekH','948rxEFDb','765xxTgag'];_0x5f10=function(){return _0x53659f;};return _0x5f10();}export class UploadcareImageEdit extends _0x3e7c31{static get[_0x1318be(0x177)](){var _0x19899f=_0x1318be;return _0x19899f(0x17e);}static get[_0x1318be(0x179)](){return[_0x805f7b,_0x585156];}static get[_0x1318be(0x175)](){return!0x0;}static get[_0x1318be(0x17c)](){return!0x0;}}
23
+ function _0x3737(){var _0x5ed7de=['110920qPTUyd','1262072mWPsxD','UploadcareImageEdit','7gVqCBV','123686DMIgKx','1946870xFDsyE','63wRENfo','2096742LVxhoD','pluginName','requires','429201QKRAQn','isOfficialPlugin','isPremiumPlugin','368348BVACTb'];_0x3737=function(){return _0x5ed7de;};return _0x3737();}function _0x5701(_0x2cf585,_0x40e83f){var _0x37377a=_0x3737();return _0x5701=function(_0x570196,_0x3f3bbd){_0x570196=_0x570196-0xf2;var _0x23c19b=_0x37377a[_0x570196];return _0x23c19b;},_0x5701(_0x2cf585,_0x40e83f);}var _0x2c7064=_0x5701;(function(_0x507bb2,_0x88e2b5){var _0x568264=_0x5701,_0x5e5563=_0x507bb2();while(!![]){try{var _0xc0e950=-parseInt(_0x568264(0xff))/0x1+parseInt(_0x568264(0xfa))/0x2+-parseInt(_0x568264(0xf7))/0x3+-parseInt(_0x568264(0xfb))/0x4+-parseInt(_0x568264(0xf2))/0x5+parseInt(_0x568264(0xf4))/0x6*(-parseInt(_0x568264(0xfe))/0x7)+parseInt(_0x568264(0xfc))/0x8*(parseInt(_0x568264(0xf3))/0x9);if(_0xc0e950===_0x88e2b5)break;else _0x5e5563['push'](_0x5e5563['shift']());}catch(_0x2eb334){_0x5e5563['push'](_0x5e5563['shift']());}}}(_0x3737,0x3e4c5));import{Plugin as _0x66b221}from'ckeditor5/src/core.js';import{UploadcareImageEditEditing as _0xd7ae66}from'./uploadcareimageedit/uploadcareimageeditediting.js';import{UploadcareImageEditUI as _0x54cf90}from'./uploadcareimageedit/uploadcareimageeditui.js';export class UploadcareImageEdit extends _0x66b221{static get[_0x2c7064(0xf5)](){var _0x4c7d1a=_0x2c7064;return _0x4c7d1a(0xfd);}static get[_0x2c7064(0xf6)](){return[_0xd7ae66,_0x54cf90];}static get[_0x2c7064(0xf8)](){return!0x0;}static get[_0x2c7064(0xf9)](){return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x171f79=_0x3e04;function _0x1ee5(){const _0x2ed8c2=['isEnabled','get','evaluationLimit','UploadcareUI','forEach','reduce','566560yefhap','trialLimit','withText','entries','824440TTDrkr','type','config','_createButton','ImageInsertUI','invalid','Replace','_createDropdownButtons','assetManager','URL','_createMenuBarButtons','Uploadcare','bind','afterInit','_showLicenseError','uploadcareLicenseKeyInvalid','isPremiumPlugin','isImageSelected','OneDrive','uploadcare','uploadcareLicenseKeyEvaluationLimit','map','uploadcareLicenseKeyDomainLimit','plugins','upload','editor','icon','featureNotAllowed','uploadcareLicenseKeyNotAllowed','locale','uploadcareLicenseKeyTrialLimit','Local','16PDAutH','14709tKwFxe','licenseKey','39599eDYdwW','expired','uploadcareLicenseKeyExpired','tooltip','commands','70yoWptZ','_normalizeConfigSourceList','uploadcare.uploader.sourceList','uploadcareLicenseKeyValid','Insert','init','_getIntegrationKey','Dropbox','domainLimit','11130zBUraI','GPhotos','url','372546KJBCzW','_licenseKeyCheckInterval','usageLimit','execute','text','uploadcareLicenseKeyUsageLimit','destroy','Facebook','_createToolbarButton','shortText','228684NEHMCk','isOfficialPlugin','has','label','pluginName','66ndHNWz','push','registerIntegration','GDrive'];_0x1ee5=function(){return _0x2ed8c2;};return _0x1ee5();}(function(_0xe3cd64,_0x3cd495){const _0x193d52=_0x3e04,_0x5a58f6=_0xe3cd64();while(!![]){try{const _0x42ecd9=-parseInt(_0x193d52(0xda))/0x1+parseInt(_0x193d52(0xe1))/0x2*(-parseInt(_0x193d52(0x99))/0x3)+parseInt(_0x193d52(0xa6))/0x4+parseInt(_0x193d52(0xb5))/0x5+-parseInt(_0x193d52(0xab))/0x6*(parseInt(_0x193d52(0xdc))/0x7)+parseInt(_0x193d52(0xd9))/0x8*(parseInt(_0x193d52(0x9c))/0x9)+parseInt(_0x193d52(0xb9))/0xa;if(_0x42ecd9===_0x3cd495)break;else _0x5a58f6['push'](_0x5a58f6['shift']());}catch(_0x4ff3ab){_0x5a58f6['push'](_0x5a58f6['shift']());}}}(_0x1ee5,0x1f7a1));import{Plugin as _0x29f21c}from'ckeditor5/src/core.js';import{IconDropbox as _0x2abdee,IconFacebook as _0x8654af,IconGoogleDrive as _0x38a77f,IconGooglePhotos as _0x5a9bd8,IconUploadcareImageUpload as _0x4c7f38,IconUploadcareLink as _0x2b6da0,IconOneDrive as _0x1967b6}from'ckeditor5/src/icons.js';import{ButtonView as _0x3d106a,MenuBarMenuListItemButtonView as _0x560b4b}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x2582a4}from'./uploadcareconfig.js';import{getTranslation as _0x2ae1e7}from'./utils/common-translations.js';function _0x3e04(_0x4395c0,_0x27d08c){const _0x1ee591=_0x1ee5();return _0x3e04=function(_0x3e048e,_0x1abec6){_0x3e048e=_0x3e048e-0x93;let _0x3fbda2=_0x1ee591[_0x3e048e];return _0x3fbda2;},_0x3e04(_0x4395c0,_0x27d08c);}import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';import'../theme/uploadcare-theme.css';import'../theme/uploadcareimageedit.css';export class UploadcareUI extends _0x29f21c{[_0x171f79(0xdb)];[_0x171f79(0x9d)];static get[_0x171f79(0xaa)](){const _0x593a1e=_0x171f79;return _0x593a1e(0xb2);}static get[_0x171f79(0xa7)](){return!0x0;}static get[_0x171f79(0xc9)](){return!0x0;}[_0x171f79(0x95)](){const _0x4f8063=_0x171f79;this[_0x4f8063(0xdb)]=this[_0x4f8063(0xd2)][_0x4f8063(0xbb)][_0x4f8063(0xb0)](_0x4f8063(0xdb));const _0x176fae=this[_0x4f8063(0xd2)];this[_0x4f8063(0x9d)]=setInterval(()=>{const _0x4dc574=_0x4f8063;let _0x54fc0c;for(const _0x5d2272 in _0x176fae){const _0x5103e4=_0x5d2272,_0xceb081=_0x176fae[_0x5103e4];if(_0x4dc574(0x93)==_0xceb081||_0x4dc574(0xc8)==_0xceb081||_0x4dc574(0xde)==_0xceb081||_0x4dc574(0xcf)==_0xceb081||_0x4dc574(0xd5)==_0xceb081||_0x4dc574(0xcd)==_0xceb081||_0x4dc574(0xd7)==_0xceb081||_0x4dc574(0xa1)==_0xceb081){delete _0x176fae[_0x5103e4],_0x54fc0c=_0xceb081,clearInterval(this[_0x4dc574(0x9d)]),this[_0x4dc574(0x9d)]=void 0x0;break;}}_0x4dc574(0xc8)==_0x54fc0c&&_0x176fae[_0x4dc574(0xc7)](_0x4dc574(0xbe)),_0x4dc574(0xde)==_0x54fc0c&&_0x176fae[_0x4dc574(0xc7)](_0x4dc574(0xdd)),_0x4dc574(0xcf)==_0x54fc0c&&_0x176fae[_0x4dc574(0xc7)](_0x4dc574(0x98)),_0x4dc574(0xd5)==_0x54fc0c&&_0x176fae[_0x4dc574(0xc7)](_0x4dc574(0xd4),_0x4dc574(0xc4)),_0x4dc574(0xcd)==_0x54fc0c&&_0x176fae[_0x4dc574(0xc7)](_0x4dc574(0xb1)),_0x4dc574(0xd7)==_0x54fc0c&&_0x176fae[_0x4dc574(0xc7)](_0x4dc574(0xb6)),_0x4dc574(0xa1)==_0x54fc0c&&_0x176fae[_0x4dc574(0xc7)](_0x4dc574(0x9e));},0x3e8);}[_0x171f79(0xc6)](){const _0xf2201f=_0x171f79,{editor:_0x49c57f}=this,_0x431de2=_0x49c57f[_0xf2201f(0xe0)][_0xf2201f(0xb0)](_0xf2201f(0xcc));if(!_0x431de2)return;const _0x178281=this[_0xf2201f(0xe2)](_0x49c57f[_0xf2201f(0xbb)][_0xf2201f(0xb0)](_0xf2201f(0xe3)))[_0xf2201f(0xb4)]((_0x33dcbf,_0x4cbfb4)=>{const _0x3ede14=_0xf2201f,_0x200a41=this[_0x3ede14(0x96)](_0x4cbfb4[_0x3ede14(0xba)]);return _0x33dcbf[_0x200a41]||(_0x33dcbf[_0x200a41]=[]),_0x33dcbf[_0x200a41][_0x3ede14(0xac)](_0x4cbfb4),_0x33dcbf;},{});_0x49c57f[_0xf2201f(0xd0)][_0xf2201f(0xa8)](_0xf2201f(0xbd))&&_0x49c57f[_0xf2201f(0xe0)][_0xf2201f(0xb0)](_0xf2201f(0xcc))&&Object[_0xf2201f(0xb8)](_0x178281)[_0xf2201f(0xb3)](([_0x316f1a,_0x3686c6])=>{const _0x5639c2=_0xf2201f;_0x49c57f[_0x5639c2(0xd0)][_0x5639c2(0xb0)](_0x5639c2(0xbd))[_0x5639c2(0xad)]({'name':_0x316f1a,'observable':()=>_0x431de2,'buttonViewCreator':()=>this[_0x5639c2(0xa4)](_0x3686c6),'formViewCreator':()=>this[_0x5639c2(0xc0)](_0x3686c6),'menuBarButtonViewCreator':()=>this[_0x5639c2(0xc3)](_0x3686c6),'override':_0x5639c2(0xc1)!==_0x316f1a});});}[_0x171f79(0xa2)](){const _0x6dc8a8=_0x171f79;super[_0x6dc8a8(0xa2)](),this[_0x6dc8a8(0x9d)]&&clearInterval(this[_0x6dc8a8(0x9d)]);}[_0x171f79(0xe2)](_0x5e2811){const _0x662ed6=_0x171f79,{locale:_0x5185a2}=this[_0x662ed6(0xd2)];return _0x5e2811[_0x662ed6(0xce)](_0x500873=>{const _0x59c8ec=_0x662ed6,_0x35ec36=_0x2ae1e7(_0x5185a2,_0x500873,_0x59c8ec(0x94));switch(_0x500873){case _0x2582a4[_0x59c8ec(0xd8)]:return{'icon':_0x4c7f38,'type':_0x2582a4[_0x59c8ec(0xd8)],..._0x35ec36};case _0x2582a4[_0x59c8ec(0xc2)]:return{'icon':_0x2b6da0,'type':_0x2582a4[_0x59c8ec(0xc2)],..._0x35ec36};case _0x2582a4[_0x59c8ec(0x97)]:return{'icon':_0x2abdee,'type':_0x2582a4[_0x59c8ec(0x97)],..._0x35ec36};case _0x2582a4[_0x59c8ec(0xa3)]:return{'icon':_0x8654af,'type':_0x2582a4[_0x59c8ec(0xa3)],..._0x35ec36};case _0x2582a4[_0x59c8ec(0xae)]:return{'icon':_0x38a77f,'type':_0x2582a4[_0x59c8ec(0xae)],..._0x35ec36};case _0x2582a4[_0x59c8ec(0x9a)]:return{'icon':_0x5a9bd8,'type':_0x2582a4[_0x59c8ec(0x9a)],..._0x35ec36};case _0x2582a4[_0x59c8ec(0xcb)]:return{'icon':_0x1967b6,'type':_0x2582a4[_0x59c8ec(0xcb)],..._0x35ec36};}});}[_0x171f79(0x96)](_0x2c07a3){const _0x4adc75=_0x171f79;switch(_0x2c07a3){case _0x2582a4[_0x4adc75(0xd8)]:return _0x4adc75(0xd1);case _0x2582a4[_0x4adc75(0xc2)]:return _0x4adc75(0x9b);default:return _0x4adc75(0xc1);}}[_0x171f79(0xbc)](_0x4a2bcb,_0x5a633f){const _0x33434e=_0x171f79,_0x1d8ca7=this[_0x33434e(0xd2)],_0x2d9672=new _0x4a2bcb(_0x1d8ca7[_0x33434e(0xd6)]),_0x2cb77d=_0x1d8ca7[_0x33434e(0xe0)][_0x33434e(0xb0)](_0x33434e(0xcc));return _0x2d9672[_0x33434e(0xc5)](_0x33434e(0xaf))['to'](_0x2cb77d),_0x2d9672['on'](_0x33434e(0x9f),()=>{const _0x4f895a=_0x33434e;_0x2cb77d[_0x4f895a(0x9f)](_0x5a633f);}),_0x2d9672;}[_0x171f79(0xa4)](_0x2b5523){const _0x24f466=_0x171f79,{locale:_0x576a6e}=this[_0x24f466(0xd2)],_0x5e805a=this[_0x24f466(0xd2)][_0x24f466(0xd0)][_0x24f466(0xb0)](_0x24f466(0xbd)),_0x3871fa=_0x2b5523[0x0],_0x39a207=this[_0x24f466(0xbc)](_0x3d106a,_0x3871fa[_0x24f466(0xba)]);return _0x39a207[_0x24f466(0xd3)]=_0x3871fa[_0x24f466(0xd3)],_0x39a207[_0x24f466(0xc5)](_0x24f466(0xa9))['to'](_0x5e805a,_0x24f466(0xca),_0x17e738=>_0x2ae1e7(_0x576a6e,_0x3871fa[_0x24f466(0xba)],_0x17e738?_0x24f466(0xbf):_0x24f466(0x94))[_0x24f466(0xa0)]),_0x39a207[_0x24f466(0xdf)]=!0x0,_0x39a207;}[_0x171f79(0xc0)](_0x59f016){const _0x5cae34=_0x171f79,{locale:_0x55f2cc}=this[_0x5cae34(0xd2)],_0x2a337c=this[_0x5cae34(0xd2)][_0x5cae34(0xd0)][_0x5cae34(0xb0)](_0x5cae34(0xbd));return _0x59f016[_0x5cae34(0xce)](_0x43b394=>{const _0x6741f1=_0x5cae34,_0x41fd47=this[_0x6741f1(0xbc)](_0x3d106a,_0x43b394[_0x6741f1(0xba)]);return _0x41fd47[_0x6741f1(0xb7)]=!0x0,_0x41fd47[_0x6741f1(0xd3)]=_0x43b394[_0x6741f1(0xd3)],_0x41fd47[_0x6741f1(0xc5)](_0x6741f1(0xa9))['to'](_0x2a337c,_0x6741f1(0xca),_0x50f141=>_0x2ae1e7(_0x55f2cc,_0x43b394[_0x6741f1(0xba)],_0x50f141?_0x6741f1(0xbf):_0x6741f1(0x94))[_0x6741f1(0xa0)]),_0x41fd47;});}[_0x171f79(0xc3)](_0x134f7a){const _0x292420=_0x171f79;return _0x134f7a[_0x292420(0xce)](_0x3977a5=>{const _0x520e98=_0x292420,_0x123340=this[_0x520e98(0xbc)](_0x560b4b,_0x3977a5[_0x520e98(0xba)]);return _0x123340[_0x520e98(0xd3)]=_0x3977a5[_0x520e98(0xd3)],_0x123340[_0x520e98(0xa9)]=_0x3977a5[_0x520e98(0xa5)],_0x123340;});}}
23
+ const _0x13c601=_0x17a4;(function(_0x35b888,_0x5985cf){const _0x3665de=_0x17a4,_0x663673=_0x35b888();while(!![]){try{const _0x52bc30=parseInt(_0x3665de(0xb9))/0x1*(parseInt(_0x3665de(0xc4))/0x2)+-parseInt(_0x3665de(0xa8))/0x3+-parseInt(_0x3665de(0xef))/0x4+parseInt(_0x3665de(0xe3))/0x5*(-parseInt(_0x3665de(0xcb))/0x6)+-parseInt(_0x3665de(0xf1))/0x7+parseInt(_0x3665de(0xac))/0x8+parseInt(_0x3665de(0xeb))/0x9*(parseInt(_0x3665de(0xf5))/0xa);if(_0x52bc30===_0x5985cf)break;else _0x663673['push'](_0x663673['shift']());}catch(_0x371d31){_0x663673['push'](_0x663673['shift']());}}}(_0x3d02,0x51cff));import{Plugin as _0x23109d}from'ckeditor5/src/core.js';import{IconDropbox as _0x229b47,IconFacebook as _0x49a184,IconGoogleDrive as _0x26a09c,IconGooglePhotos as _0x4f0374,IconUploadcareImageUpload as _0x3e0e0d,IconUploadcareLink as _0x30eb19,IconOneDrive as _0x313d2e}from'ckeditor5/src/icons.js';function _0x17a4(_0x18dcec,_0x5b9c9b){const _0x3d02f9=_0x3d02();return _0x17a4=function(_0x17a454,_0x39707a){_0x17a454=_0x17a454-0xa7;let _0x32f261=_0x3d02f9[_0x17a454];return _0x32f261;},_0x17a4(_0x18dcec,_0x5b9c9b);}import{ButtonView as _0x2a1eb1,MenuBarMenuListItemButtonView as _0x117e29}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x50d7f1}from'./uploadcareconfig.js';import{getTranslation as _0x9534fa}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';function _0x3d02(){const _0x335197=['destroy','evaluationLimit','has','GDrive','isPremiumPlugin','uploadcareLicenseKeyExpired','upload','3auGnsd','isEnabled','GPhotos','shortText','_showLicenseError','_createMenuBarButtons','Dropbox','uploadcareLicenseKeyInvalid','locale','execute','type','157308CTganp','invalid','_normalizeConfigSourceList','bind','expired','_createButton','afterInit','4626tRLawr','Uploadcare','editor','pluginName','assetManager','isImageSelected','_getIntegrationKey','Facebook','text','_createDropdownButtons','get','plugins','forEach','Local','_licenseKeyCheckInterval','uploadcareLicenseKeyValid','map','icon','registerIntegration','commands','entries','push','UploadcareUI','uploadcareLicenseKeyNotAllowed','545uPrAwg','uploadcareLicenseKeyTrialLimit','OneDrive','usageLimit','uploadcareLicenseKeyDomainLimit','init','config','uploadcareLicenseKeyEvaluationLimit','9jvPsHh','ImageInsertUI','url','Replace','1743952ckoFAd','URL','3647252mVPpdD','_createToolbarButton','withText','Insert','11511130lfTYxX','licenseKey','uploadcareLicenseKeyUsageLimit','featureNotAllowed','716097iUsaCG','trialLimit','isOfficialPlugin','uploadcare','1822320aOwgCL','tooltip','uploadcare.uploader.sourceList','domainLimit','reduce','label'];_0x3d02=function(){return _0x335197;};return _0x3d02();}export class UploadcareUI extends _0x23109d{[_0x13c601(0xf6)];[_0x13c601(0xd9)];static get[_0x13c601(0xce)](){const _0x3f2c4c=_0x13c601;return _0x3f2c4c(0xe1);}static get[_0x13c601(0xaa)](){return!0x0;}static get[_0x13c601(0xb6)](){return!0x0;}[_0x13c601(0xe8)](){const _0x48e29c=_0x13c601;this[_0x48e29c(0xf6)]=this[_0x48e29c(0xcd)][_0x48e29c(0xe9)][_0x48e29c(0xd5)](_0x48e29c(0xf6));const _0x226511=this[_0x48e29c(0xcd)];this[_0x48e29c(0xd9)]=setInterval(()=>{const _0x5d90b3=_0x48e29c;let _0x3b1657;for(const _0x49d4c9 in _0x226511){const _0x2ba5e2=_0x49d4c9,_0x2a7c16=_0x226511[_0x2ba5e2];if(_0x5d90b3(0xda)==_0x2a7c16||_0x5d90b3(0xc0)==_0x2a7c16||_0x5d90b3(0xb7)==_0x2a7c16||_0x5d90b3(0xe7)==_0x2a7c16||_0x5d90b3(0xe2)==_0x2a7c16||_0x5d90b3(0xea)==_0x2a7c16||_0x5d90b3(0xe4)==_0x2a7c16||_0x5d90b3(0xf7)==_0x2a7c16){delete _0x226511[_0x2ba5e2],_0x3b1657=_0x2a7c16,clearInterval(this[_0x5d90b3(0xd9)]),this[_0x5d90b3(0xd9)]=void 0x0;break;}}_0x5d90b3(0xc0)==_0x3b1657&&_0x226511[_0x5d90b3(0xbd)](_0x5d90b3(0xc5)),_0x5d90b3(0xb7)==_0x3b1657&&_0x226511[_0x5d90b3(0xbd)](_0x5d90b3(0xc8)),_0x5d90b3(0xe7)==_0x3b1657&&_0x226511[_0x5d90b3(0xbd)](_0x5d90b3(0xaf)),_0x5d90b3(0xe2)==_0x3b1657&&_0x226511[_0x5d90b3(0xbd)](_0x5d90b3(0xa7),_0x5d90b3(0xcc)),_0x5d90b3(0xea)==_0x3b1657&&_0x226511[_0x5d90b3(0xbd)](_0x5d90b3(0xb3)),_0x5d90b3(0xe4)==_0x3b1657&&_0x226511[_0x5d90b3(0xbd)](_0x5d90b3(0xa9)),_0x5d90b3(0xf7)==_0x3b1657&&_0x226511[_0x5d90b3(0xbd)](_0x5d90b3(0xe6));},0x3e8);}[_0x13c601(0xca)](){const _0x432106=_0x13c601,{editor:_0x13a066}=this,_0x2ddbdf=_0x13a066[_0x432106(0xde)][_0x432106(0xd5)](_0x432106(0xab));if(!_0x2ddbdf)return;const _0x4cd3b6=this[_0x432106(0xc6)](_0x13a066[_0x432106(0xe9)][_0x432106(0xd5)](_0x432106(0xae)))[_0x432106(0xb0)]((_0x4e7f7c,_0x276d3e)=>{const _0x1a9ab5=_0x432106,_0x27ac94=this[_0x1a9ab5(0xd1)](_0x276d3e[_0x1a9ab5(0xc3)]);return _0x4e7f7c[_0x27ac94]||(_0x4e7f7c[_0x27ac94]=[]),_0x4e7f7c[_0x27ac94][_0x1a9ab5(0xe0)](_0x276d3e),_0x4e7f7c;},{});_0x13a066[_0x432106(0xd6)][_0x432106(0xb4)](_0x432106(0xec))&&_0x13a066[_0x432106(0xde)][_0x432106(0xd5)](_0x432106(0xab))&&Object[_0x432106(0xdf)](_0x4cd3b6)[_0x432106(0xd7)](([_0x476720,_0x341ece])=>{const _0x5606f2=_0x432106;_0x13a066[_0x5606f2(0xd6)][_0x5606f2(0xd5)](_0x5606f2(0xec))[_0x5606f2(0xdd)]({'name':_0x476720,'observable':()=>_0x2ddbdf,'buttonViewCreator':()=>this[_0x5606f2(0xf2)](_0x341ece),'formViewCreator':()=>this[_0x5606f2(0xd4)](_0x341ece),'menuBarButtonViewCreator':()=>this[_0x5606f2(0xbe)](_0x341ece),'override':_0x5606f2(0xcf)!==_0x476720});});}[_0x13c601(0xb2)](){const _0x271f95=_0x13c601;super[_0x271f95(0xb2)](),this[_0x271f95(0xd9)]&&clearInterval(this[_0x271f95(0xd9)]);}[_0x13c601(0xc6)](_0x3862ed){const _0x1a21ed=_0x13c601,{locale:_0x2bb790}=this[_0x1a21ed(0xcd)];return _0x3862ed[_0x1a21ed(0xdb)](_0x170c6f=>{const _0x4db7f0=_0x1a21ed,_0x58b129=_0x9534fa(_0x2bb790,_0x170c6f,_0x4db7f0(0xf4));switch(_0x170c6f){case _0x50d7f1[_0x4db7f0(0xd8)]:return{'icon':_0x3e0e0d,'type':_0x50d7f1[_0x4db7f0(0xd8)],..._0x58b129};case _0x50d7f1[_0x4db7f0(0xf0)]:return{'icon':_0x30eb19,'type':_0x50d7f1[_0x4db7f0(0xf0)],..._0x58b129};case _0x50d7f1[_0x4db7f0(0xbf)]:return{'icon':_0x229b47,'type':_0x50d7f1[_0x4db7f0(0xbf)],..._0x58b129};case _0x50d7f1[_0x4db7f0(0xd2)]:return{'icon':_0x49a184,'type':_0x50d7f1[_0x4db7f0(0xd2)],..._0x58b129};case _0x50d7f1[_0x4db7f0(0xb5)]:return{'icon':_0x26a09c,'type':_0x50d7f1[_0x4db7f0(0xb5)],..._0x58b129};case _0x50d7f1[_0x4db7f0(0xbb)]:return{'icon':_0x4f0374,'type':_0x50d7f1[_0x4db7f0(0xbb)],..._0x58b129};case _0x50d7f1[_0x4db7f0(0xe5)]:return{'icon':_0x313d2e,'type':_0x50d7f1[_0x4db7f0(0xe5)],..._0x58b129};}});}[_0x13c601(0xd1)](_0x5625ec){const _0x50a460=_0x13c601;switch(_0x5625ec){case _0x50d7f1[_0x50a460(0xd8)]:return _0x50a460(0xb8);case _0x50d7f1[_0x50a460(0xf0)]:return _0x50a460(0xed);default:return _0x50a460(0xcf);}}[_0x13c601(0xc9)](_0x53d44a,_0x1f32d6){const _0xfd9979=_0x13c601,_0x42b647=this[_0xfd9979(0xcd)],_0x14c331=new _0x53d44a(_0x42b647[_0xfd9979(0xc1)]),_0x478e6d=_0x42b647[_0xfd9979(0xde)][_0xfd9979(0xd5)](_0xfd9979(0xab));return _0x14c331[_0xfd9979(0xc7)](_0xfd9979(0xba))['to'](_0x478e6d),_0x14c331['on'](_0xfd9979(0xc2),()=>{const _0x461005=_0xfd9979;_0x478e6d[_0x461005(0xc2)](_0x1f32d6);}),_0x14c331;}[_0x13c601(0xf2)](_0x124c8a){const _0x2dc283=_0x13c601,{locale:_0x4b48cb}=this[_0x2dc283(0xcd)],_0x17877f=this[_0x2dc283(0xcd)][_0x2dc283(0xd6)][_0x2dc283(0xd5)](_0x2dc283(0xec)),_0x33668e=_0x124c8a[0x0],_0x5a1bcc=this[_0x2dc283(0xc9)](_0x2a1eb1,_0x33668e[_0x2dc283(0xc3)]);return _0x5a1bcc[_0x2dc283(0xdc)]=_0x33668e[_0x2dc283(0xdc)],_0x5a1bcc[_0x2dc283(0xc7)](_0x2dc283(0xb1))['to'](_0x17877f,_0x2dc283(0xd0),_0xba8019=>_0x9534fa(_0x4b48cb,_0x33668e[_0x2dc283(0xc3)],_0xba8019?_0x2dc283(0xee):_0x2dc283(0xf4))[_0x2dc283(0xd3)]),_0x5a1bcc[_0x2dc283(0xad)]=!0x0,_0x5a1bcc;}[_0x13c601(0xd4)](_0x54e0a3){const _0x5c5571=_0x13c601,{locale:_0x35dd20}=this[_0x5c5571(0xcd)],_0x4cd2cb=this[_0x5c5571(0xcd)][_0x5c5571(0xd6)][_0x5c5571(0xd5)](_0x5c5571(0xec));return _0x54e0a3[_0x5c5571(0xdb)](_0x40d431=>{const _0x504068=_0x5c5571,_0x196aad=this[_0x504068(0xc9)](_0x2a1eb1,_0x40d431[_0x504068(0xc3)]);return _0x196aad[_0x504068(0xf3)]=!0x0,_0x196aad[_0x504068(0xdc)]=_0x40d431[_0x504068(0xdc)],_0x196aad[_0x504068(0xc7)](_0x504068(0xb1))['to'](_0x4cd2cb,_0x504068(0xd0),_0x34fba8=>_0x9534fa(_0x35dd20,_0x40d431[_0x504068(0xc3)],_0x34fba8?_0x504068(0xee):_0x504068(0xf4))[_0x504068(0xd3)]),_0x196aad;});}[_0x13c601(0xbe)](_0x1958ad){const _0x2f23ae=_0x13c601;return _0x1958ad[_0x2f23ae(0xdb)](_0x5e7f0f=>{const _0x554fad=_0x2f23ae,_0xec1b38=this[_0x554fad(0xc9)](_0x117e29,_0x5e7f0f[_0x554fad(0xc3)]);return _0xec1b38[_0x554fad(0xdc)]=_0x5e7f0f[_0x554fad(0xdc)],_0xec1b38[_0x554fad(0xb1)]=_0x5e7f0f[_0x554fad(0xbc)],_0xec1b38;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x305131}from'ckeditor5/src/core.js';import{FileRepository as _0x5a1af4}from'ckeditor5/src/upload.js';import{UploadcareEditing as _0x261244}from'./uploadcareediting.js';import{UploadUtils as _0xc490}from'./utils/uploadutils.js';import{getImageUrls as _0x3f4bc4}from'./utils/editingutils.js';export class UploadcareUploadAdapter extends _0x305131{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x5a1af4,_0x261244];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x644c58=this['editor'];if(!!!_0x644c58['config']['get']('uploadcare'))return;_0x644c58['plugins']['get'](_0x5a1af4)['createUploadAdapter']=_0x30d9c9=>new k(_0x30d9c9,_0x644c58),_0x644c58['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x323201,{imageElement:_0x48b514,data:_0x959613})=>{_0x644c58['model']['change'](_0x1f3158=>{_0x1f3158['setAttribute']('uploadcareImageId',_0x959613['uploadcareImageId'],_0x48b514);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x2ac4e9,_0x48a2db){this['loader']=_0x2ac4e9,this['editor']=_0x48a2db,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x10685d=await this['loader']['file'];return _0xc490['upload']({'file':_0x10685d,'publicKey':this['editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':this['controller']['signal'],'onProgress':_0x17aebe=>{_0x17aebe&&_0x17aebe['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x17aebe['value']);}})['then'](async _0x6c539c=>{const {imageFallbackUrl:_0x886c38,imageSources:_0x138006}=_0x3f4bc4(_0x6c539c['cdnUrl'],_0x6c539c['imageInfo']['width']);return{'uploadcareImageId':_0x6c539c['uuid'],'default':_0x886c38,'sources':_0x138006};})['catch'](()=>{const _0x369841=t('Cannot\x20upload\x20file:')+('\x20'+_0x10685d['name']+'.');return Promise['reject'](_0x369841);});}['abort'](){this['controller']['abort']();}}
23
+ import{Plugin as _0x1abf0d}from'ckeditor5/src/core.js';import{FileRepository as _0x5c7b45}from'ckeditor5/src/upload.js';import{UploadcareEditing as _0x4d7c1f}from'./uploadcareediting.js';import{UploadUtils as _0x1fdf86}from'./utils/uploadutils.js';import{getImageUrls as _0x158375}from'./utils/editingutils.js';export class UploadcareUploadAdapter extends _0x1abf0d{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x5c7b45,_0x4d7c1f];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x45fad3=this['editor'];if(!!!_0x45fad3['config']['get']('uploadcare'))return;_0x45fad3['plugins']['get'](_0x5c7b45)['createUploadAdapter']=_0x4409d0=>new k(_0x4409d0,_0x45fad3),_0x45fad3['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0xea4179,{imageElement:_0x4996ee,data:_0xca2fbd})=>{_0x45fad3['model']['change'](_0x15659e=>{_0x15659e['setAttribute']('uploadcareImageId',_0xca2fbd['uploadcareImageId'],_0x4996ee);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x330e29,_0x408da6){this['loader']=_0x330e29,this['editor']=_0x408da6,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x19b201=await this['loader']['file'];return _0x1fdf86['upload']({'file':_0x19b201,'publicKey':this['editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':this['controller']['signal'],'onProgress':_0x5e6061=>{_0x5e6061&&_0x5e6061['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x5e6061['value']);}})['then'](async _0x28ce6a=>{const {imageFallbackUrl:_0x22f368,imageSources:_0x5380aa}=_0x158375(_0x28ce6a['cdnUrl'],_0x28ce6a['imageInfo']['width']);return{'uploadcareImageId':_0x28ce6a['uuid'],'default':_0x22f368,'sources':_0x5380aa};})['catch'](()=>{const _0x35f65c=t('Cannot\x20upload\x20file:')+('\x20'+_0x19b201['name']+'.');return Promise['reject'](_0x35f65c);});}['abort'](){this['controller']['abort']();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{UploadcareSource as _0x356c60}from'../uploadcareconfig.js';export function getTranslation(_0x1ef1a0,_0x2ebfaa,_0x427b83){const t=_0x1ef1a0['t'],_0x3354a6=_0x1ef1a0['t'];switch(_0x2ebfaa){case _0x356c60['Local']:return{'text':_0x3354a6('Insert'===_0x427b83?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x3354a6('From\x20computer')};case _0x356c60['URL']:return{'text':'Insert'===_0x427b83?_0x3354a6('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x3354a6('Via\x20URL')};case _0x356c60['Dropbox']:return{'text':t('Insert'===_0x427b83?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x356c60['Facebook']:return{'text':t('Insert'===_0x427b83?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x356c60['GDrive']:return{'text':t('Insert'===_0x427b83?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x356c60['GPhotos']:return{'text':t('Insert'===_0x427b83?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x356c60['OneDrive']:return{'text':t('Insert'===_0x427b83?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x2ebfaa;}}
23
+ import{UploadcareSource as _0x3d0473}from'../uploadcareconfig.js';export function getTranslation(_0x33aa28,_0x55914f,_0x16ef4d){const t=_0x33aa28['t'],_0x129c7a=_0x33aa28['t'];switch(_0x55914f){case _0x3d0473['Local']:return{'text':_0x129c7a('Insert'===_0x16ef4d?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x129c7a('From\x20computer')};case _0x3d0473['URL']:return{'text':'Insert'===_0x16ef4d?_0x129c7a('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x129c7a('Via\x20URL')};case _0x3d0473['Dropbox']:return{'text':t('Insert'===_0x16ef4d?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x3d0473['Facebook']:return{'text':t('Insert'===_0x16ef4d?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x3d0473['GDrive']:return{'text':t('Insert'===_0x16ef4d?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x3d0473['GPhotos']:return{'text':t('Insert'===_0x16ef4d?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x3d0473['OneDrive']:return{'text':t('Insert'===_0x16ef4d?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x55914f;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0xbe6918=_0x6116;function _0x19f2(){var _0x1d7d2b=['1517224PEMddf','focusTracker','getFocusableElement','624Almqdi','createCollection','div','925455NPvXWB','11258ztOoMO','7945281VeXlUS','192005DWtalm','53466agXQBm','279kLcckf','bindTemplate','true','4100694WshVPF','forwardCycle','focusCycler','fire'];_0x19f2=function(){return _0x1d7d2b;};return _0x19f2();}function _0x6116(_0x53c61c,_0x5f3cf0){var _0x19f298=_0x19f2();return _0x6116=function(_0x6116b9,_0x21ba59){_0x6116b9=_0x6116b9-0x157;var _0x5f39e1=_0x19f298[_0x6116b9];return _0x5f39e1;},_0x6116(_0x53c61c,_0x5f3cf0);}(function(_0x47d5d5,_0x3d6a9c){var _0x1888da=_0x6116,_0x408746=_0x47d5d5();while(!![]){try{var _0x4ea14c=parseInt(_0x1888da(0x163))/0x1+-parseInt(_0x1888da(0x161))/0x2*(parseInt(_0x1888da(0x165))/0x3)+-parseInt(_0x1888da(0x15a))/0x4+parseInt(_0x1888da(0x160))/0x5+parseInt(_0x1888da(0x168))/0x6+-parseInt(_0x1888da(0x164))/0x7*(parseInt(_0x1888da(0x15d))/0x8)+parseInt(_0x1888da(0x162))/0x9;if(_0x4ea14c===_0x3d6a9c)break;else _0x408746['push'](_0x408746['shift']());}catch(_0x4cdddb){_0x408746['push'](_0x408746['shift']());}}}(_0x19f2,0x6c973));import{FocusTracker as _0x249208}from'ckeditor5/src/utils.js';import{View as _0x440c93,FocusCycler as _0x94d332}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';export class DialogFocusManagerView extends _0x440c93{[_0xbe6918(0x15b)];[_0xbe6918(0x158)];constructor(_0x190c17){var _0x465b85=_0xbe6918;super(_0x190c17),this[_0x465b85(0x15b)]=new _0x249208(),this[_0x465b85(0x158)]=new _0x94d332({'focusables':this[_0x465b85(0x15e)](),'focusTracker':this[_0x465b85(0x15b)]});}[_0xbe6918(0x15c)](){var _0x20ad51=_0xbe6918;return{'tag':_0x20ad51(0x15f),'attributes':{'aria-hidden':_0x20ad51(0x167),'tabindex':'0'},'on':{'focus':this[_0x20ad51(0x166)]['to'](()=>{var _0x538d7f=_0x20ad51;this[_0x538d7f(0x158)][_0x538d7f(0x159)](_0x538d7f(0x157));})}};}}
23
+ function _0x3706(_0x4b4d14,_0x148f36){var _0x3951d8=_0x3951();return _0x3706=function(_0x37062d,_0x192985){_0x37062d=_0x37062d-0x16f;var _0x7696f4=_0x3951d8[_0x37062d];return _0x7696f4;},_0x3706(_0x4b4d14,_0x148f36);}var _0x27a09e=_0x3706;(function(_0x31d14c,_0x34487c){var _0x3e91da=_0x3706,_0x2f2eed=_0x31d14c();while(!![]){try{var _0x12f45b=-parseInt(_0x3e91da(0x17c))/0x1*(parseInt(_0x3e91da(0x172))/0x2)+-parseInt(_0x3e91da(0x16f))/0x3+parseInt(_0x3e91da(0x171))/0x4+-parseInt(_0x3e91da(0x175))/0x5*(parseInt(_0x3e91da(0x17d))/0x6)+parseInt(_0x3e91da(0x17e))/0x7+parseInt(_0x3e91da(0x17f))/0x8+parseInt(_0x3e91da(0x178))/0x9;if(_0x12f45b===_0x34487c)break;else _0x2f2eed['push'](_0x2f2eed['shift']());}catch(_0x2831ce){_0x2f2eed['push'](_0x2f2eed['shift']());}}}(_0x3951,0x7ba18));import{FocusTracker as _0x2eea2f}from'ckeditor5/src/utils.js';import{View as _0x469884,FocusCycler as _0x3fb544}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';export class DialogFocusManagerView extends _0x469884{[_0x27a09e(0x177)];[_0x27a09e(0x17a)];constructor(_0xa4904d){var _0x11c3c6=_0x27a09e;super(_0xa4904d),this[_0x11c3c6(0x177)]=new _0x2eea2f(),this[_0x11c3c6(0x17a)]=new _0x3fb544({'focusables':this[_0x11c3c6(0x173)](),'focusTracker':this[_0x11c3c6(0x177)]});}[_0x27a09e(0x170)](){var _0x3eb236=_0x27a09e;return{'tag':_0x3eb236(0x180),'attributes':{'aria-hidden':_0x3eb236(0x179),'tabindex':'0'},'on':{'focus':this[_0x3eb236(0x176)]['to'](()=>{var _0x5d6c38=_0x3eb236;this[_0x5d6c38(0x17a)][_0x5d6c38(0x17b)](_0x5d6c38(0x174));})}};}}function _0x3951(){var _0x26b9c9=['div','985518dbQKXK','getFocusableElement','3531308VwSzpo','1893026EbHOTN','createCollection','forwardCycle','5yvmOTh','bindTemplate','focusTracker','4980906uEZBFL','true','focusCycler','fire','1XurECg','77316fPJVKA','1548988rJRjlj','1094016vqdwWo'];_0x3951=function(){return _0x26b9c9;};return _0x3951();}