@ckeditor/ckeditor5-uploadcare 0.0.0-internal-20251211.0 → 0.0.0-internal-20251218.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 _0x7246a1=_0xc614;function _0xc614(_0xe88b86,_0x442c67){const _0x58b022=_0x58b0();return _0xc614=function(_0xc614c4,_0x5d3966){_0xc614c4=_0xc614c4-0xaf;let _0x5dd73e=_0x58b022[_0xc614c4];return _0x5dd73e;},_0xc614(_0xe88b86,_0x442c67);}(function(_0x3d5082,_0x46db6e){const _0x435193=_0xc614,_0x68cff4=_0x3d5082();while(!![]){try{const _0x185732=-parseInt(_0x435193(0xdf))/0x1+-parseInt(_0x435193(0xb8))/0x2*(parseInt(_0x435193(0xf6))/0x3)+-parseInt(_0x435193(0xb2))/0x4*(parseInt(_0x435193(0xde))/0x5)+-parseInt(_0x435193(0xdb))/0x6+parseInt(_0x435193(0xd2))/0x7+parseInt(_0x435193(0xf0))/0x8+parseInt(_0x435193(0xb1))/0x9;if(_0x185732===_0x46db6e)break;else _0x68cff4['push'](_0x68cff4['shift']());}catch(_0x31bdb1){_0x68cff4['push'](_0x68cff4['shift']());}}}(_0x58b0,0xdf3ed));import{Plugin as _0x25df8b}from'ckeditor5/src/core.js';import{Dialog as _0x1c31b6}from'ckeditor5/src/ui.js';import{createElement as _0x1c201b,global as _0x490fe3,uid as _0xd153b6}from'ckeditor5/src/utils.js';import{UploadcareCommand as _0x275ced}from'./uploadcarecommand.js';function _0x58b0(){const _0x376dce=['14605xPSFkh','517003cfbjTV','editing','conversion','body','contentLanguage','href','iconHrefResolver','editor','render','imageInline','fromCharCode','PictureEditing','init','uc-config','once','document','cleanupImage','543800SQsOjn','_configElement','destroy','upcast','_initConfig','querySelector','6249fdWiSJ','for','pluginName','uploadcare.pubkey','add','isOfficialPlugin','\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','data-uc-image-id','extend','execute','afterInit','schema','uploadcareImageId','_initCtx','ctxElement','18359010HTkHWs','1252exmXjQ','true','selection','elementToAttribute','_initSchema','requires','192JUAAQo','replaceImageSource','isPremiumPlugin','uploadcare.uploader','imageBlock','uploadcareImageReplace','view','commands','getAttribute','join','getSelectedElement','isRegistered','downcast','model','closeMax','map','locale','insertImage','attributeToAttribute','get','_initImageProcessingIndicator','_ctxElement','UploadcareEditing','ucContextId','uploadcare','uc-upload-ctx-provider','10509443hiciyM','configElement','removeAttribute','#uc-icon-arrow-down','_initConversion','appendChild','config','uploader-','remove','6381342jiWjFZ','input[uploadcare-file-input]','listenTo'];_0x58b0=function(){return _0x376dce;};return _0x58b0();}import{UploadcareUploadAdapter as _0x3fb762}from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x545154}from'./utils/editingutils.js';export class UploadcareEditing extends _0x25df8b{[_0x7246a1(0xf1)]=null;[_0x7246a1(0xcd)]=null;static get[_0x7246a1(0xf8)](){const _0x2bc404=_0x7246a1;return _0x2bc404(0xce);}static get[_0x7246a1(0xb7)](){const _0x386c73=_0x7246a1;return[_0x386c73(0xea),_0x3fb762,_0x1c31b6];}static get[_0x7246a1(0xfb)](){return!0x0;}static get[_0x7246a1(0xba)](){return!0x0;}[_0x7246a1(0xcf)];get[_0x7246a1(0xd3)](){const _0x37166c=_0x7246a1;return this[_0x37166c(0xf1)];}get[_0x7246a1(0xb0)](){const _0x5754fa=_0x7246a1;return this[_0x5754fa(0xcd)];}constructor(_0x2089a9){const _0x36ab3d=_0x7246a1;super(_0x2089a9),this[_0x36ab3d(0xcf)]=_0xd153b6();}[_0x7246a1(0xeb)](){const _0x3dde5d=_0x7246a1,_0x2b7826=this[_0x3dde5d(0xe6)];_0x2b7826[_0x3dde5d(0xbf)][_0x3dde5d(0xfa)](_0x3dde5d(0xd0),new _0x275ced(_0x2b7826));}[_0x7246a1(0x100)](){const _0x5d22e0=_0x7246a1;this[_0x5d22e0(0xb6)](),this[_0x5d22e0(0xd6)](),this[_0x5d22e0(0xf4)](),this[_0x5d22e0(0xaf)](),this[_0x5d22e0(0xcc)](),this[_0x5d22e0(0xdd)](this[_0x5d22e0(0xe6)],_0x5d22e0(0xf2),()=>{const _0x41b459=_0x5d22e0;this[_0x41b459(0xf1)]&&(this[_0x41b459(0xf1)][_0x41b459(0xda)](),this[_0x41b459(0xf1)]=null),this[_0x41b459(0xcd)]&&(this[_0x41b459(0xcd)][_0x41b459(0xda)](),this[_0x41b459(0xcd)]=null);const _0x5a88e6=_0x490fe3[_0x41b459(0xee)][_0x41b459(0xf5)](_0x41b459(0xdc));_0x5a88e6&&_0x5a88e6[_0x41b459(0xda)]();}),async function(_0x1c1aef){const _0x52e55a=_0x3351b9([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]),_0x5ef953=0x535f8c3a,_0x5d6038=0x5358f7a2^_0x5ef953,_0x3a4b4e=window[_0x3351b9([0x44,0x61,0x74,0x65])][_0x3351b9([0x6e,0x6f,0x77])](),_0x550437=_0x1c1aef[_0x3351b9([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x592695=new window[(_0x3351b9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x240af1=>{_0x550437[_0x3351b9([0x6f,0x6e,0x63,0x65])](_0x3351b9([0x72,0x65,0x61,0x64,0x79]),_0x240af1);}),_0x3252d1={[_0x3351b9([0x6b,0x74,0x79])]:_0x3351b9([0x45,0x43]),[_0x3351b9([0x75,0x73,0x65])]:_0x3351b9([0x73,0x69,0x67]),[_0x3351b9([0x63,0x72,0x76])]:_0x3351b9([0x50,0x2d,0x32,0x35,0x36]),[_0x3351b9([0x78])]:_0x3351b9([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]),[_0x3351b9([0x79])]:_0x3351b9([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]),[_0x3351b9([0x61,0x6c,0x67])]:_0x3351b9([0x45,0x53,0x32,0x35,0x36])},_0x58c2a5=_0x550437[_0x3351b9([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3351b9([0x67,0x65,0x74])](_0x3351b9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4bc78f(){let _0x34254a,_0x2a49b7=null,_0x12f02e=null;try{if(_0x58c2a5==_0x3351b9([0x47,0x50,0x4c]))return _0x3351b9([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x34254a=_0x1878be(),!_0x34254a)return _0x3351b9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x34254a[_0x3351b9([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x12f02e=_0x1b0988(_0x34254a[_0x3351b9([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x34254a[_0x3351b9([0x6a,0x74,0x69])])),await _0x3f8cad()?_0x385964()?_0x13bc82()?_0x3351b9([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x293373()?(_0x34254a[_0x3351b9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3351b9([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2a49b7=_0x19ea79(_0x3351b9([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x34254a[_0x3351b9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3351b9([0x74,0x72,0x69,0x61,0x6c])&&(_0x2a49b7=_0x19ea79(_0x3351b9([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x3e58a8()):_0x3351b9([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3351b9([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3351b9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x3351b9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x13bc82(){const _0xc1b905=[_0x3351b9([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3351b9([0x74,0x72,0x69,0x61,0x6c])][_0x3351b9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x34254a[_0x3351b9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3a4b4e/0x3e8:0xe10*_0x5d6038;return _0x34254a[_0x3351b9([0x65,0x78,0x70])]<_0xc1b905;}function _0x385964(){const _0x28f61e=_0x34254a[_0x3351b9([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x28f61e&&(!!_0x28f61e[_0x3351b9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3351b9([0x2a]))||!!_0x28f61e[_0x3351b9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3351b9([0x55,0x50,0x4c,0x43])));}function _0x293373(){const _0x30a5df=_0xc614,_0x5e67f5=_0x34254a[_0x3351b9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5e67f5||0x0==_0x5e67f5[_0x3351b9([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x119360}=new URL(window[_0x3351b9([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x30a5df(0xe4)]);if(_0x5e67f5[_0x3351b9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x119360))return!0x0;const _0x5e9f00=_0x119360[_0x3351b9([0x73,0x70,0x6c,0x69,0x74])](_0x3351b9([0x2e]));return _0x5e67f5[_0x3351b9([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5236f8=>_0x5236f8[_0x3351b9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3351b9([0x2a])))[_0x3351b9([0x6d,0x61,0x70])](_0x4500a7=>_0x4500a7[_0x3351b9([0x73,0x70,0x6c,0x69,0x74])](_0x3351b9([0x2e])))[_0x3351b9([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x104ced=>_0x104ced[_0x3351b9([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x5e9f00[_0x3351b9([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3351b9([0x6d,0x61,0x70])](_0x4959fa=>Array(_0x5e9f00[_0x3351b9([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x4959fa[_0x3351b9([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3351b9([0x66,0x69,0x6c,0x6c])](_0x4959fa[0x0]===_0x3351b9([0x2a])?_0x3351b9([0x2a]):'')[_0x3351b9([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x4959fa))[_0x3351b9([0x73,0x6f,0x6d,0x65])](_0x2123a3=>_0x5e9f00[_0x3351b9([0x65,0x76,0x65,0x72,0x79])]((_0x4f80fc,_0x43e67e)=>_0x2123a3[_0x43e67e]===_0x4f80fc||_0x2123a3[_0x43e67e]===_0x3351b9([0x2a])));}function _0x3e58a8(){return _0x2a49b7&&_0x12f02e?new window[(_0x3351b9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x9e29b1,_0x4d8a22)=>{_0x2a49b7[_0x3351b9([0x74,0x68,0x65,0x6e])](_0x9e29b1,_0x4d8a22),_0x12f02e[_0x3351b9([0x74,0x68,0x65,0x6e])](_0x164399=>{_0x164399!=_0x3351b9([0x56,0x61,0x6c,0x69,0x64])&&_0x9e29b1(_0x164399);},_0x4d8a22);}):_0x2a49b7||_0x12f02e||_0x3351b9([0x56,0x61,0x6c,0x69,0x64]);}}function _0x1b0988(_0x5ef2e3,_0x14b8b4){return new window[(_0x3351b9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x33b334=>{if(_0x39c36f())return _0x33b334(_0x3351b9([0x56,0x61,0x6c,0x69,0x64]));_0x1c8589(),_0x550437[_0x3351b9([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3351b9([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x6d6dd6=!0x1;const _0x49abae=_0xd153b6();function _0x2177e8(_0x2ad1ab){return!!_0x2ad1ab&&(typeof _0x2ad1ab===_0x3351b9([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2ad1ab===_0x3351b9([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2ad1ab[_0x3351b9([0x74,0x68,0x65,0x6e])]===_0x3351b9([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2ad1ab[_0x3351b9([0x63,0x61,0x74,0x63,0x68])]===_0x3351b9([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4bdb40(_0x3cf719){_0x2dd1f0(_0x3cf719)[_0x3351b9([0x74,0x68,0x65,0x6e])](_0x504144=>{if(!_0x504144||_0x504144[_0x3351b9([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3351b9([0x6f,0x6b]))return _0x3351b9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x309061(_0x2e9e6f(_0x49abae+_0x14b8b4))!=_0x504144[_0x3351b9([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3351b9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3351b9([0x56,0x61,0x6c,0x69,0x64]);})[_0x3351b9([0x74,0x68,0x65,0x6e])](_0x404ced=>(_0x4f9b55(),_0x404ced),()=>{const _0x473395=_0x52d41f();return null==_0x473395?(_0x4f9b55(),_0x3351b9([0x56,0x61,0x6c,0x69,0x64])):_0x3351b9(_0x3a4b4e-_0x473395>(0x7753083a^_0x5ef953)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3351b9([0x74,0x68,0x65,0x6e])](_0x33b334)[_0x3351b9([0x63,0x61,0x74,0x63,0x68])](()=>{_0x33b334(_0x3351b9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0xf63ceb=0x536962ba^_0x5ef953;function _0x4f9b55(){const _0x33c063=_0x3351b9([0x6c,0x6c,0x63,0x74,0x2d])+_0x309061(_0x2e9e6f(_0x5ef2e3)),_0x59c981=_0x428f14(_0x309061(window[_0x3351b9([0x4d,0x61,0x74,0x68])][_0x3351b9([0x63,0x65,0x69,0x6c])](_0x3a4b4e/_0xf63ceb)));window[_0x3351b9([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3351b9([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x33c063,_0x59c981);}function _0x52d41f(){const _0x8d5beb=_0x3351b9([0x6c,0x6c,0x63,0x74,0x2d])+_0x309061(_0x2e9e6f(_0x5ef2e3)),_0x35e3d1=window[_0x3351b9([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3351b9([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x8d5beb);return _0x35e3d1?window[_0x3351b9([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x428f14(_0x35e3d1),0x10)*_0xf63ceb:null;}function _0x2dd1f0(_0x37c67b){return new window[(_0x3351b9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x22708a,_0x354825)=>{_0x37c67b[_0x3351b9([0x74,0x68,0x65,0x6e])](_0x22708a,_0x354825),window[_0x3351b9([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x354825,0x535e58fa^_0x5ef953);});}}_0x550437[_0x3351b9([0x6f,0x6e])](_0x3351b9([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x601ddf,_0x52138b)=>{if(_0x52138b[0x0]!=_0x5ef2e3)return _0x33b334(_0x3351b9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x52138b[0x1]={..._0x52138b[0x1],[_0x3351b9([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x49abae};},{[_0x3351b9([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3351b9([0x68,0x69,0x67,0x68])}),_0x550437[_0x3351b9([0x6f,0x6e])](_0x3351b9([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4ff2ae=>{_0x2177e8(_0x4ff2ae[_0x3351b9([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x6d6dd6=!0x0,_0x4bdb40(_0x4ff2ae[_0x3351b9([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3351b9([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3351b9([0x6c,0x6f,0x77])}),_0x592695[_0x3351b9([0x74,0x68,0x65,0x6e])](()=>{_0x6d6dd6||_0x33b334(_0x3351b9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x39c36f(){return _0x550437[_0x3351b9([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3351b9([0x76,0x69,0x65,0x77])][_0x3351b9([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3351b9([0x61,0x75,0x74,0x6f]);}function _0x1c8589(){_0x550437[_0x3351b9([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3351b9([0x76,0x69,0x65,0x77])][_0x3351b9([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3351b9([0x61,0x75,0x74,0x6f]);}}function _0x19ea79(_0x52d8c7){const _0x5fbd40=[new window[(_0x3351b9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3b54f6=>setTimeout(_0x3b54f6,0x5356b2f6^_0x5ef953)),_0x592695[_0x3351b9([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3351b9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x562406=>{let _0x28ccc0=0x0;_0x550437[_0x3351b9([0x6d,0x6f,0x64,0x65,0x6c])][_0x3351b9([0x6f,0x6e])](_0x3351b9([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x2c67fd,_0x177110)=>{_0x177110[0x0][_0x3351b9([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x28ccc0++,_0x28ccc0==(0x535f8dc2^_0x5ef953)&&(_0x562406(),_0x2c67fd[_0x3351b9([0x6f,0x66,0x66])]());});}))];return window[_0x3351b9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3351b9([0x72,0x61,0x63,0x65])](_0x5fbd40)[_0x3351b9([0x74,0x68,0x65,0x6e])](()=>_0x52d8c7);}async function _0x45770d(){await _0x592695,_0x550437[_0x3351b9([0x6d,0x6f,0x64,0x65,0x6c])][_0x3351b9([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3a7734,_0x550437[_0x3351b9([0x6d,0x6f,0x64,0x65,0x6c])][_0x3351b9([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3a7734,_0x550437[_0x3351b9([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3351b9([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3c28bb(_0xa0e0df){const _0x8987f4=_0x331346();_0x550437[_0x8987f4]=_0x3351b9([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0xa0e0df,_0xa0e0df!=_0x3351b9([0x56,0x61,0x6c,0x69,0x64])&&_0x45770d();}function _0x331346(){const _0x1a1a1d=window[_0x3351b9([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3351b9([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3351b9([0x6e,0x6f,0x77])]())[_0x3351b9([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3351b9([0x2e]),'');let _0x864acf=_0x3351b9([0x68]);for(let _0x51948a=0x0;_0x51948a<_0x1a1a1d[_0x3351b9([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x51948a+=0x2){let _0x2abdd9=window[_0x3351b9([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1a1a1d[_0x3351b9([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x51948a,_0x51948a+0x2));_0x2abdd9>=_0x52e55a[_0x3351b9([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2abdd9-=_0x52e55a[_0x3351b9([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x864acf+=_0x52e55a[_0x2abdd9];}return _0x864acf;}function _0x1878be(){const _0x4259c5=_0x58c2a5[_0x3351b9([0x73,0x70,0x6c,0x69,0x74])](_0x3351b9([0x2e]));if(0x3!=_0x4259c5[_0x3351b9([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x2b22bd(_0x4259c5[0x1]);function _0x2b22bd(_0x54cb06){const _0x5414f4=_0xd3471e(_0x54cb06);return _0x5414f4&&_0x484618()?_0x5414f4:null;function _0x484618(){const _0x27184f=_0x5414f4[_0x3351b9([0x6a,0x74,0x69])],_0x2c83e9=window[_0x3351b9([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x27184f[_0x3351b9([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x27184f[_0x3351b9([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2e7ae7={..._0x5414f4,[_0x3351b9([0x6a,0x74,0x69])]:_0x27184f[_0x3351b9([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x27184f[_0x3351b9([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2e7ae7[_0x3351b9([0x76,0x63])],_0x2e9e6f(_0x2e7ae7)==_0x2c83e9;}}}async function _0x3f8cad(){let _0x2d1c84=!0x0;try{const _0x2152ea=_0x58c2a5[_0x3351b9([0x73,0x70,0x6c,0x69,0x74])](_0x3351b9([0x2e])),[_0x10c918,_0x13d4fe,_0x2f2f2d]=_0x2152ea;return _0x2e2a05(_0x10c918),await _0x44d5ae(_0x10c918,_0x13d4fe,_0x2f2f2d),_0x2d1c84;}catch{return!0x1;}function _0x2e2a05(_0x439394){const _0x5ed1ee=_0xd3471e(_0x439394);_0x5ed1ee&&_0x5ed1ee[_0x3351b9([0x61,0x6c,0x67])]==_0x3351b9([0x45,0x53,0x32,0x35,0x36])||(_0x2d1c84=!0x1);}async function _0x44d5ae(_0x3d5525,_0xcd2d2d,_0x4375f5){const _0x24c70a=window[_0x3351b9([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3351b9([0x66,0x72,0x6f,0x6d])](_0xb4cbe0(_0x4375f5),_0x30b516=>_0x30b516[_0x3351b9([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x571584=new window[(_0x3351b9([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3351b9([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x3d5525+_0x3351b9([0x2e])+_0xcd2d2d),_0x2e369c=window[_0x3351b9([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3351b9([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2e369c)return;const _0x37548c=await _0x2e369c[_0x3351b9([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3351b9([0x6a,0x77,0x6b]),_0x3252d1,{[_0x3351b9([0x6e,0x61,0x6d,0x65])]:_0x3351b9([0x45,0x43,0x44,0x53,0x41]),[_0x3351b9([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3351b9([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3351b9([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2e369c[_0x3351b9([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3351b9([0x6e,0x61,0x6d,0x65])]:_0x3351b9([0x45,0x43,0x44,0x53,0x41]),[_0x3351b9([0x68,0x61,0x73,0x68])]:{[_0x3351b9([0x6e,0x61,0x6d,0x65])]:_0x3351b9([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x37548c,_0x24c70a,_0x571584)||(_0x2d1c84=!0x1);}}function _0xd3471e(_0x1db985){return _0x1db985[_0x3351b9([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3351b9([0x65,0x79]))?JSON[_0x3351b9([0x70,0x61,0x72,0x73,0x65])](_0xb4cbe0(_0x1db985)):null;}function _0xb4cbe0(_0x127819){return window[_0x3351b9([0x61,0x74,0x6f,0x62])](_0x127819[_0x3351b9([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3351b9([0x2b]))[_0x3351b9([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3351b9([0x2f])));}function _0x2e9e6f(_0x38058d){let _0x2e8d49=0x1505;function _0x5ef8ea(_0x5ca497){for(let _0x4f46d2=0x0;_0x4f46d2<_0x5ca497[_0x3351b9([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4f46d2++){const _0x57bb53=_0x5ca497[_0x3351b9([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4f46d2);_0x2e8d49=(_0x2e8d49<<0x5)+_0x2e8d49+_0x57bb53,_0x2e8d49&=_0x2e8d49;}}function _0x2ee8d4(_0x5a9cb8){Array[_0x3351b9([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5a9cb8)?_0x5a9cb8[_0x3351b9([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2ee8d4):_0x5a9cb8&&typeof _0x5a9cb8==_0x3351b9([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3351b9([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5a9cb8)[_0x3351b9([0x73,0x6f,0x72,0x74])]()[_0x3351b9([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x1a7f8e,_0x29a42e])=>{_0x5ef8ea(_0x1a7f8e),_0x2ee8d4(_0x29a42e);}):_0x5ef8ea(window[_0x3351b9([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5a9cb8));}return _0x2ee8d4(_0x38058d),_0x2e8d49>>>0x0;}function _0x309061(_0xac8f23){return _0xac8f23[_0x3351b9([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3351b9([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3351b9([0x30]));}function _0x428f14(_0x5cdf93){return _0x5cdf93[_0x3351b9([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3351b9([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3351b9([0x6a,0x6f,0x69,0x6e])]('');}function _0x3a7734(){}function _0x3351b9(_0x3e2ac0){const _0x5cd761=_0xc614;return _0x3e2ac0[_0x5cd761(0xc7)](_0x22947d=>String[_0x5cd761(0xe9)](_0x22947d))[_0x5cd761(0xc1)]('');}_0x3c28bb(await _0x4bc78f());}(this);}[_0x7246a1(0xb6)](){const _0xafd830=_0x7246a1,_0x2ea210=this[_0xafd830(0xe6)][_0xafd830(0xc5)][_0xafd830(0x101)];_0x2ea210[_0xafd830(0xc3)](_0xafd830(0xbc))&&_0x2ea210[_0xafd830(0xfe)](_0xafd830(0xbc),{'allowAttributes':[_0xafd830(0x102)]}),_0x2ea210[_0xafd830(0xc3)](_0xafd830(0xe8))&&_0x2ea210[_0xafd830(0xfe)](_0xafd830(0xe8),{'allowAttributes':[_0xafd830(0x102)]});}[_0x7246a1(0xd6)](){const _0x33256e=_0x7246a1,_0x43c8b3=this[_0x33256e(0xe6)];_0x43c8b3[_0x33256e(0xe1)][_0x33256e(0xf7)](_0x33256e(0xc4))[_0x33256e(0xca)]({'model':_0x33256e(0x102),'view':_0x33256e(0xfd)}),_0x43c8b3[_0x33256e(0xe1)][_0x33256e(0xf7)](_0x33256e(0xf3))[_0x33256e(0xb5)]({'model':{'key':_0x33256e(0x102),'value':_0x40489a=>_0x40489a[_0x33256e(0xc0)](_0x33256e(0xfd))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x2078f9=_0x43c8b3[_0x33256e(0xbf)][_0x33256e(0xcb)](_0x33256e(0xb9));_0x2078f9&&this[_0x33256e(0xdd)](_0x2078f9,_0x33256e(0xef),(_0x3b50ab,[_0x3caed7,_0xcca929])=>{const _0xfab00f=_0x33256e;_0x3caed7[_0xfab00f(0xd4)](_0xfab00f(0x102),_0xcca929);});}[_0x7246a1(0xf4)](){const _0x55d69f=_0x7246a1,_0x59c158=this[_0x55d69f(0xe6)][_0x55d69f(0xd8)][_0x55d69f(0xcb)](_0x55d69f(0xbb))||{},_0x5ed570=this[_0x55d69f(0xe6)][_0x55d69f(0xd8)][_0x55d69f(0xcb)](_0x55d69f(0xf9))||'';this[_0x55d69f(0xf1)]=_0x1c201b(_0x490fe3[_0x55d69f(0xee)],_0x55d69f(0xec),{..._0x59c158,'pubkey':_0x5ed570,'ctx-name':_0x55d69f(0xd9)+this[_0x55d69f(0xcf)],'sourceList':'','imgOnly':_0x55d69f(0xb3),'removeCopyright':_0x55d69f(0xb3),'localeName':this[_0x55d69f(0xe6)][_0x55d69f(0xc8)][_0x55d69f(0xe3)],'externalSourcesEmbedCss':_0x55d69f(0xfc)}),this[_0x55d69f(0xf1)][_0x55d69f(0xe5)]=_0x2309b7=>{const _0x32a380=_0x55d69f;if(_0x32a380(0xc6)==_0x2309b7)return _0x32a380(0xd5);},_0x490fe3[_0x55d69f(0xee)][_0x55d69f(0xe2)][_0x55d69f(0xd7)](this[_0x55d69f(0xf1)]);}[_0x7246a1(0xaf)](){const _0x17df0e=_0x7246a1;this[_0x17df0e(0xcd)]=_0x1c201b(_0x490fe3[_0x17df0e(0xee)],_0x17df0e(0xd1),{'ctx-name':_0x17df0e(0xd9)+this[_0x17df0e(0xcf)]}),_0x490fe3[_0x17df0e(0xee)][_0x17df0e(0xe2)][_0x17df0e(0xd7)](this[_0x17df0e(0xcd)]);}[_0x7246a1(0xcc)](){const _0x33ce41=_0x7246a1,_0x1b8183=this[_0x33ce41(0xe6)][_0x33ce41(0xbf)][_0x33ce41(0xcb)](_0x33ce41(0xc9));_0x1b8183&&this[_0x33ce41(0xdd)](_0x1b8183,_0x33ce41(0xff),()=>{const _0x507f11=_0x33ce41,_0x21284d=this[_0x507f11(0xe6)][_0x507f11(0xc5)][_0x507f11(0xee)][_0x507f11(0xb4)][_0x507f11(0xc2)]();_0x21284d&&_0x21284d[_0x507f11(0xc0)](_0x507f11(0x102))&&this[_0x507f11(0xe6)][_0x507f11(0xe0)][_0x507f11(0xbe)][_0x507f11(0xed)](_0x507f11(0xe7),()=>{const _0x39b9d8=_0x507f11;_0x545154(this[_0x39b9d8(0xe6)],_0x21284d);});});const _0x30e649=this[_0x33ce41(0xe6)][_0x33ce41(0xbf)][_0x33ce41(0xcb)](_0x33ce41(0xbd));_0x30e649&&this[_0x33ce41(0xdd)](_0x30e649,_0x33ce41(0xff),()=>{const _0xf82648=_0x33ce41,_0x88f6e4=this[_0xf82648(0xe6)][_0xf82648(0xc5)][_0xf82648(0xee)][_0xf82648(0xb4)][_0xf82648(0xc2)]();_0x88f6e4&&_0x88f6e4[_0xf82648(0xc0)](_0xf82648(0x102))&&this[_0xf82648(0xe6)][_0xf82648(0xe0)][_0xf82648(0xbe)][_0xf82648(0xed)](_0xf82648(0xe7),()=>{const _0x15a716=_0xf82648;_0x545154(this[_0x15a716(0xe6)],_0x88f6e4);});});}}
23
+ const _0x2facc1=_0xef37;function _0xef37(_0xab9f2,_0x3718cf){const _0x26f9a5=_0x26f9();return _0xef37=function(_0xef37be,_0x427662){_0xef37be=_0xef37be-0xca;let _0x552b81=_0x26f9a5[_0xef37be];return _0x552b81;},_0xef37(_0xab9f2,_0x3718cf);}(function(_0x3b27b0,_0xa12c39){const _0x51b0f1=_0xef37,_0x30c66b=_0x3b27b0();while(!![]){try{const _0x1e16a8=parseInt(_0x51b0f1(0xcb))/0x1+parseInt(_0x51b0f1(0xfa))/0x2*(parseInt(_0x51b0f1(0x11a))/0x3)+parseInt(_0x51b0f1(0x117))/0x4+-parseInt(_0x51b0f1(0xd7))/0x5*(-parseInt(_0x51b0f1(0xff))/0x6)+-parseInt(_0x51b0f1(0x11c))/0x7*(-parseInt(_0x51b0f1(0xcf))/0x8)+parseInt(_0x51b0f1(0xdc))/0x9*(parseInt(_0x51b0f1(0x103))/0xa)+-parseInt(_0x51b0f1(0xd6))/0xb*(parseInt(_0x51b0f1(0x111))/0xc);if(_0x1e16a8===_0xa12c39)break;else _0x30c66b['push'](_0x30c66b['shift']());}catch(_0x177d26){_0x30c66b['push'](_0x30c66b['shift']());}}}(_0x26f9,0xb7747));import{Plugin as _0x133b75}from'ckeditor5/src/core.js';import{Dialog as _0x7ec3fb}from'ckeditor5/src/ui.js';import{createElement as _0x28a8e3,global as _0x11608a,uid as _0x241b4a}from'ckeditor5/src/utils.js';import{UploadcareCommand as _0x4f68c2}from'./uploadcarecommand.js';import{UploadcareUploadAdapter as _0x4c7a84}from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x2b9eca}from'./utils/editingutils.js';export class UploadcareEditing extends _0x133b75{[_0x2facc1(0xf9)]=null;[_0x2facc1(0x118)]=null;static get[_0x2facc1(0x11d)](){const _0x21c87d=_0x2facc1;return _0x21c87d(0x110);}static get[_0x2facc1(0x100)](){const _0x19e841=_0x2facc1;return[_0x19e841(0xda),_0x4c7a84,_0x7ec3fb];}static get[_0x2facc1(0xe2)](){return!0x0;}static get[_0x2facc1(0x106)](){return!0x0;}[_0x2facc1(0x10f)];get[_0x2facc1(0xf4)](){const _0x409c6f=_0x2facc1;return this[_0x409c6f(0xf9)];}get[_0x2facc1(0x11f)](){const _0x177f72=_0x2facc1;return this[_0x177f72(0x118)];}constructor(_0xdd6f7a){const _0x25c64e=_0x2facc1;super(_0xdd6f7a),this[_0x25c64e(0x10f)]=_0x241b4a();}[_0x2facc1(0xf6)](){const _0x4d28fa=_0x2facc1,_0x3c6c89=this[_0x4d28fa(0xd3)];_0x3c6c89[_0x4d28fa(0xec)][_0x4d28fa(0xe4)](_0x4d28fa(0xe8),new _0x4f68c2(_0x3c6c89));}[_0x2facc1(0xf3)](){const _0x23c9f0=_0x2facc1;this[_0x23c9f0(0xd4)](),this[_0x23c9f0(0xdd)](),this[_0x23c9f0(0xef)](),this[_0x23c9f0(0x11e)](),this[_0x23c9f0(0x112)](),this[_0x23c9f0(0xf7)](this[_0x23c9f0(0xd3)],_0x23c9f0(0xcd),()=>{const _0x56d9f0=_0x23c9f0;this[_0x56d9f0(0xf9)]&&(this[_0x56d9f0(0xf9)][_0x56d9f0(0xde)](),this[_0x56d9f0(0xf9)]=null),this[_0x56d9f0(0x118)]&&(this[_0x56d9f0(0x118)][_0x56d9f0(0xde)](),this[_0x56d9f0(0x118)]=null);const _0x250673=_0x11608a[_0x56d9f0(0xf2)][_0x56d9f0(0xe3)](_0x56d9f0(0xca));_0x250673&&_0x250673[_0x56d9f0(0xde)]();}),async function(_0x58554c){const _0x3249c5=_0x22ba93([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]),_0x4a8d81=0x535f8c3a,_0x7e6ce4=0x5358f07a^_0x4a8d81,_0x28f9da=window[_0x22ba93([0x44,0x61,0x74,0x65])][_0x22ba93([0x6e,0x6f,0x77])](),_0x5068eb=_0x58554c[_0x22ba93([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1f40a5=new window[(_0x22ba93([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x7b10d3=>{_0x5068eb[_0x22ba93([0x6f,0x6e,0x63,0x65])](_0x22ba93([0x72,0x65,0x61,0x64,0x79]),_0x7b10d3);}),_0x4045b8={[_0x22ba93([0x6b,0x74,0x79])]:_0x22ba93([0x45,0x43]),[_0x22ba93([0x75,0x73,0x65])]:_0x22ba93([0x73,0x69,0x67]),[_0x22ba93([0x63,0x72,0x76])]:_0x22ba93([0x50,0x2d,0x32,0x35,0x36]),[_0x22ba93([0x78])]:_0x22ba93([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]),[_0x22ba93([0x79])]:_0x22ba93([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]),[_0x22ba93([0x61,0x6c,0x67])]:_0x22ba93([0x45,0x53,0x32,0x35,0x36])},_0x304f00=_0x5068eb[_0x22ba93([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x22ba93([0x67,0x65,0x74])](_0x22ba93([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x474a24(){let _0x2293ac,_0x4cf09a=null,_0x1b4419=null;try{if(_0x304f00==_0x22ba93([0x47,0x50,0x4c]))return _0x22ba93([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x2293ac=_0x229477(),!_0x2293ac)return _0x22ba93([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x2293ac[_0x22ba93([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1b4419=_0x263433(_0x2293ac[_0x22ba93([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x2293ac[_0x22ba93([0x6a,0x74,0x69])])),await _0x5f4f53()?_0x3668cf()?_0x1639ec()?_0x22ba93([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4567b2()?(_0x2293ac[_0x22ba93([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x22ba93([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x4cf09a=_0x139c18(_0x22ba93([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x2293ac[_0x22ba93([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x22ba93([0x74,0x72,0x69,0x61,0x6c])&&(_0x4cf09a=_0x139c18(_0x22ba93([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x2190d7()):_0x22ba93([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x22ba93([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x22ba93([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x22ba93([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x1639ec(){const _0x149cd4=[_0x22ba93([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x22ba93([0x74,0x72,0x69,0x61,0x6c])][_0x22ba93([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2293ac[_0x22ba93([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x28f9da/0x3e8:0xe10*_0x7e6ce4;return _0x2293ac[_0x22ba93([0x65,0x78,0x70])]<_0x149cd4;}function _0x3668cf(){const _0xa4e59e=_0x2293ac[_0x22ba93([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0xa4e59e&&(!!_0xa4e59e[_0x22ba93([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x22ba93([0x2a]))||!!_0xa4e59e[_0x22ba93([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x22ba93([0x55,0x50,0x4c,0x43])));}function _0x4567b2(){const _0x4ae88e=_0xef37,_0x3ff934=_0x2293ac[_0x22ba93([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3ff934||0x0==_0x3ff934[_0x22ba93([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x33dad5}=new URL(window[_0x22ba93([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x4ae88e(0x107)]);if(_0x3ff934[_0x22ba93([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x33dad5))return!0x0;const _0x2b12c0=_0x33dad5[_0x22ba93([0x73,0x70,0x6c,0x69,0x74])](_0x22ba93([0x2e]));return _0x3ff934[_0x22ba93([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x588caa=>_0x588caa[_0x22ba93([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x22ba93([0x2a])))[_0x22ba93([0x6d,0x61,0x70])](_0x19eb25=>_0x19eb25[_0x22ba93([0x73,0x70,0x6c,0x69,0x74])](_0x22ba93([0x2e])))[_0x22ba93([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x27bd9e=>_0x27bd9e[_0x22ba93([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x2b12c0[_0x22ba93([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x22ba93([0x6d,0x61,0x70])](_0x306dbb=>Array(_0x2b12c0[_0x22ba93([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x306dbb[_0x22ba93([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x22ba93([0x66,0x69,0x6c,0x6c])](_0x306dbb[0x0]===_0x22ba93([0x2a])?_0x22ba93([0x2a]):'')[_0x22ba93([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x306dbb))[_0x22ba93([0x73,0x6f,0x6d,0x65])](_0x15c674=>_0x2b12c0[_0x22ba93([0x65,0x76,0x65,0x72,0x79])]((_0x59ef78,_0x4c5df2)=>_0x15c674[_0x4c5df2]===_0x59ef78||_0x15c674[_0x4c5df2]===_0x22ba93([0x2a])));}function _0x2190d7(){return _0x4cf09a&&_0x1b4419?new window[(_0x22ba93([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x20a6b0,_0x4da3c9)=>{_0x4cf09a[_0x22ba93([0x74,0x68,0x65,0x6e])](_0x20a6b0,_0x4da3c9),_0x1b4419[_0x22ba93([0x74,0x68,0x65,0x6e])](_0xedba8d=>{_0xedba8d!=_0x22ba93([0x56,0x61,0x6c,0x69,0x64])&&_0x20a6b0(_0xedba8d);},_0x4da3c9);}):_0x4cf09a||_0x1b4419||_0x22ba93([0x56,0x61,0x6c,0x69,0x64]);}}function _0x263433(_0x48a1da,_0x293426){return new window[(_0x22ba93([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x523fdf=>{if(_0x286a7e())return _0x523fdf(_0x22ba93([0x56,0x61,0x6c,0x69,0x64]));_0x8dea14(),_0x5068eb[_0x22ba93([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x22ba93([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x5bbc85=!0x1;const _0x3cdd0c=_0x241b4a();function _0x6be000(_0x30a85b){return!!_0x30a85b&&(typeof _0x30a85b===_0x22ba93([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x30a85b===_0x22ba93([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x30a85b[_0x22ba93([0x74,0x68,0x65,0x6e])]===_0x22ba93([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x30a85b[_0x22ba93([0x63,0x61,0x74,0x63,0x68])]===_0x22ba93([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x2aaab4(_0xdcf3df){_0x36507e(_0xdcf3df)[_0x22ba93([0x74,0x68,0x65,0x6e])](_0x36c16c=>{if(!_0x36c16c||_0x36c16c[_0x22ba93([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x22ba93([0x6f,0x6b]))return _0x22ba93([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x596184(_0xd17ac3(_0x3cdd0c+_0x293426))!=_0x36c16c[_0x22ba93([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x22ba93([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x22ba93([0x56,0x61,0x6c,0x69,0x64]);})[_0x22ba93([0x74,0x68,0x65,0x6e])](_0x2042b0=>(_0x1ca91d(),_0x2042b0),()=>{const _0x36e4fa=_0x512cf2();return null==_0x36e4fa?(_0x1ca91d(),_0x22ba93([0x56,0x61,0x6c,0x69,0x64])):_0x22ba93(_0x28f9da-_0x36e4fa>(0x7753083a^_0x4a8d81)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x22ba93([0x74,0x68,0x65,0x6e])](_0x523fdf)[_0x22ba93([0x63,0x61,0x74,0x63,0x68])](()=>{_0x523fdf(_0x22ba93([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x533e35=0x536962ba^_0x4a8d81;function _0x1ca91d(){const _0x20d9dd=_0x22ba93([0x6c,0x6c,0x63,0x74,0x2d])+_0x596184(_0xd17ac3(_0x48a1da)),_0x47ab86=_0x24275e(_0x596184(window[_0x22ba93([0x4d,0x61,0x74,0x68])][_0x22ba93([0x63,0x65,0x69,0x6c])](_0x28f9da/_0x533e35)));window[_0x22ba93([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x22ba93([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x20d9dd,_0x47ab86);}function _0x512cf2(){const _0x305209=_0x22ba93([0x6c,0x6c,0x63,0x74,0x2d])+_0x596184(_0xd17ac3(_0x48a1da)),_0x3357e9=window[_0x22ba93([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x22ba93([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x305209);return _0x3357e9?window[_0x22ba93([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x24275e(_0x3357e9),0x10)*_0x533e35:null;}function _0x36507e(_0xb82c51){return new window[(_0x22ba93([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x343e90,_0x466e16)=>{_0xb82c51[_0x22ba93([0x74,0x68,0x65,0x6e])](_0x343e90,_0x466e16),window[_0x22ba93([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x466e16,0x535e58fa^_0x4a8d81);});}}_0x5068eb[_0x22ba93([0x6f,0x6e])](_0x22ba93([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x63e6c4,_0x17c0ac)=>{if(_0x17c0ac[0x0]!=_0x48a1da)return _0x523fdf(_0x22ba93([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x17c0ac[0x1]={..._0x17c0ac[0x1],[_0x22ba93([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x3cdd0c};},{[_0x22ba93([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x22ba93([0x68,0x69,0x67,0x68])}),_0x5068eb[_0x22ba93([0x6f,0x6e])](_0x22ba93([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3da989=>{_0x6be000(_0x3da989[_0x22ba93([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x5bbc85=!0x0,_0x2aaab4(_0x3da989[_0x22ba93([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x22ba93([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x22ba93([0x6c,0x6f,0x77])}),_0x1f40a5[_0x22ba93([0x74,0x68,0x65,0x6e])](()=>{_0x5bbc85||_0x523fdf(_0x22ba93([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x286a7e(){return _0x5068eb[_0x22ba93([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x22ba93([0x76,0x69,0x65,0x77])][_0x22ba93([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x22ba93([0x61,0x75,0x74,0x6f]);}function _0x8dea14(){_0x5068eb[_0x22ba93([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x22ba93([0x76,0x69,0x65,0x77])][_0x22ba93([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x22ba93([0x61,0x75,0x74,0x6f]);}}function _0x139c18(_0x1b6096){const _0x4ef508=[new window[(_0x22ba93([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2f804f=>setTimeout(_0x2f804f,0x5356b2f6^_0x4a8d81)),_0x1f40a5[_0x22ba93([0x74,0x68,0x65,0x6e])](()=>new window[(_0x22ba93([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2193ca=>{let _0x55a967=0x0;_0x5068eb[_0x22ba93([0x6d,0x6f,0x64,0x65,0x6c])][_0x22ba93([0x6f,0x6e])](_0x22ba93([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0xd2fa8d,_0x4f74f1)=>{_0x4f74f1[0x0][_0x22ba93([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x55a967++,_0x55a967==(0x535f8dc2^_0x4a8d81)&&(_0x2193ca(),_0xd2fa8d[_0x22ba93([0x6f,0x66,0x66])]());});}))];return window[_0x22ba93([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x22ba93([0x72,0x61,0x63,0x65])](_0x4ef508)[_0x22ba93([0x74,0x68,0x65,0x6e])](()=>_0x1b6096);}async function _0x4c0e48(){await _0x1f40a5,_0x5068eb[_0x22ba93([0x6d,0x6f,0x64,0x65,0x6c])][_0x22ba93([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4750b1,_0x5068eb[_0x22ba93([0x6d,0x6f,0x64,0x65,0x6c])][_0x22ba93([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4750b1,_0x5068eb[_0x22ba93([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x22ba93([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x2e81de(_0x58b0ce){const _0x1a62a8=_0x12e190();_0x5068eb[_0x1a62a8]=_0x22ba93([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x58b0ce,_0x58b0ce!=_0x22ba93([0x56,0x61,0x6c,0x69,0x64])&&_0x4c0e48();}function _0x12e190(){const _0x4ce364=window[_0x22ba93([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x22ba93([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x22ba93([0x6e,0x6f,0x77])]())[_0x22ba93([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x22ba93([0x2e]),'');let _0xef9f48=_0x22ba93([0x68]);for(let _0x578409=0x0;_0x578409<_0x4ce364[_0x22ba93([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x578409+=0x2){let _0x56e14d=window[_0x22ba93([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4ce364[_0x22ba93([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x578409,_0x578409+0x2));_0x56e14d>=_0x3249c5[_0x22ba93([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x56e14d-=_0x3249c5[_0x22ba93([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0xef9f48+=_0x3249c5[_0x56e14d];}return _0xef9f48;}function _0x229477(){const _0x356ff1=_0x304f00[_0x22ba93([0x73,0x70,0x6c,0x69,0x74])](_0x22ba93([0x2e]));if(0x3!=_0x356ff1[_0x22ba93([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x329fb9(_0x356ff1[0x1]);function _0x329fb9(_0x2d57ba){const _0x4451a3=_0x3c232f(_0x2d57ba);return _0x4451a3&&_0x1981ec()?_0x4451a3:null;function _0x1981ec(){const _0x3f16f0=_0x4451a3[_0x22ba93([0x6a,0x74,0x69])],_0x294018=window[_0x22ba93([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3f16f0[_0x22ba93([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3f16f0[_0x22ba93([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x160fc0={..._0x4451a3,[_0x22ba93([0x6a,0x74,0x69])]:_0x3f16f0[_0x22ba93([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3f16f0[_0x22ba93([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x160fc0[_0x22ba93([0x76,0x63])],_0xd17ac3(_0x160fc0)==_0x294018;}}}async function _0x5f4f53(){let _0x21500e=!0x0;try{const _0x5174d8=_0x304f00[_0x22ba93([0x73,0x70,0x6c,0x69,0x74])](_0x22ba93([0x2e])),[_0x55ece6,_0x14a9b9,_0x4c1d25]=_0x5174d8;return _0x217957(_0x55ece6),await _0x18f235(_0x55ece6,_0x14a9b9,_0x4c1d25),_0x21500e;}catch{return!0x1;}function _0x217957(_0x1b15b5){const _0x3b5fe4=_0x3c232f(_0x1b15b5);_0x3b5fe4&&_0x3b5fe4[_0x22ba93([0x61,0x6c,0x67])]==_0x22ba93([0x45,0x53,0x32,0x35,0x36])||(_0x21500e=!0x1);}async function _0x18f235(_0x5da952,_0x1eb6f2,_0x5f45e6){const _0x28eabc=window[_0x22ba93([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x22ba93([0x66,0x72,0x6f,0x6d])](_0x1156cd(_0x5f45e6),_0x2797bc=>_0x2797bc[_0x22ba93([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x24803e=new window[(_0x22ba93([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x22ba93([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x5da952+_0x22ba93([0x2e])+_0x1eb6f2),_0x482495=window[_0x22ba93([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x22ba93([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x482495)return;const _0x1aa941=await _0x482495[_0x22ba93([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x22ba93([0x6a,0x77,0x6b]),_0x4045b8,{[_0x22ba93([0x6e,0x61,0x6d,0x65])]:_0x22ba93([0x45,0x43,0x44,0x53,0x41]),[_0x22ba93([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x22ba93([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x22ba93([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x482495[_0x22ba93([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x22ba93([0x6e,0x61,0x6d,0x65])]:_0x22ba93([0x45,0x43,0x44,0x53,0x41]),[_0x22ba93([0x68,0x61,0x73,0x68])]:{[_0x22ba93([0x6e,0x61,0x6d,0x65])]:_0x22ba93([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1aa941,_0x28eabc,_0x24803e)||(_0x21500e=!0x1);}}function _0x3c232f(_0x40fc5d){return _0x40fc5d[_0x22ba93([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x22ba93([0x65,0x79]))?JSON[_0x22ba93([0x70,0x61,0x72,0x73,0x65])](_0x1156cd(_0x40fc5d)):null;}function _0x1156cd(_0x41b388){return window[_0x22ba93([0x61,0x74,0x6f,0x62])](_0x41b388[_0x22ba93([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x22ba93([0x2b]))[_0x22ba93([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x22ba93([0x2f])));}function _0xd17ac3(_0x30ccb6){let _0x634515=0x1505;function _0x3b015d(_0x15bc7a){for(let _0x12c0d9=0x0;_0x12c0d9<_0x15bc7a[_0x22ba93([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x12c0d9++){const _0x421586=_0x15bc7a[_0x22ba93([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x12c0d9);_0x634515=(_0x634515<<0x5)+_0x634515+_0x421586,_0x634515&=_0x634515;}}function _0x204500(_0x4f27bc){Array[_0x22ba93([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4f27bc)?_0x4f27bc[_0x22ba93([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x204500):_0x4f27bc&&typeof _0x4f27bc==_0x22ba93([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x22ba93([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4f27bc)[_0x22ba93([0x73,0x6f,0x72,0x74])]()[_0x22ba93([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2d8b42,_0x164f54])=>{_0x3b015d(_0x2d8b42),_0x204500(_0x164f54);}):_0x3b015d(window[_0x22ba93([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4f27bc));}return _0x204500(_0x30ccb6),_0x634515>>>0x0;}function _0x596184(_0x321907){return _0x321907[_0x22ba93([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x22ba93([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x22ba93([0x30]));}function _0x24275e(_0x192b19){return _0x192b19[_0x22ba93([0x73,0x70,0x6c,0x69,0x74])]('')[_0x22ba93([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x22ba93([0x6a,0x6f,0x69,0x6e])]('');}function _0x4750b1(){}function _0x22ba93(_0x577ff3){const _0x39ec6=_0xef37;return _0x577ff3[_0x39ec6(0xd8)](_0x3de6ef=>String[_0x39ec6(0xd9)](_0x3de6ef))[_0x39ec6(0x119)]('');}_0x2e81de(await _0x474a24());}(this);}[_0x2facc1(0xd4)](){const _0x35573f=_0x2facc1,_0x3a7f33=this[_0x35573f(0xd3)][_0x35573f(0x101)][_0x35573f(0xdb)];_0x3a7f33[_0x35573f(0x116)](_0x35573f(0xcc))&&_0x3a7f33[_0x35573f(0x115)](_0x35573f(0xcc),{'allowAttributes':[_0x35573f(0x113)]}),_0x3a7f33[_0x35573f(0x116)](_0x35573f(0x109))&&_0x3a7f33[_0x35573f(0x115)](_0x35573f(0x109),{'allowAttributes':[_0x35573f(0x113)]});}[_0x2facc1(0xdd)](){const _0x5b00a2=_0x2facc1,_0x543e9d=this[_0x5b00a2(0xd3)];_0x543e9d[_0x5b00a2(0xf8)][_0x5b00a2(0xd0)](_0x5b00a2(0xea))[_0x5b00a2(0xd5)]({'model':_0x5b00a2(0x113),'view':_0x5b00a2(0xd1)}),_0x543e9d[_0x5b00a2(0xf8)][_0x5b00a2(0xd0)](_0x5b00a2(0xfd))[_0x5b00a2(0xeb)]({'model':{'key':_0x5b00a2(0x113),'value':_0x158f27=>_0x158f27[_0x5b00a2(0xfe)](_0x5b00a2(0xd1))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x215d25=_0x543e9d[_0x5b00a2(0xec)][_0x5b00a2(0xed)](_0x5b00a2(0x10c));_0x215d25&&this[_0x5b00a2(0xf7)](_0x215d25,_0x5b00a2(0x105),(_0x52324d,[_0x33421c,_0x1f276f])=>{const _0x1b6f19=_0x5b00a2;_0x33421c[_0x1b6f19(0xf5)](_0x1b6f19(0x113),_0x1f276f);});}[_0x2facc1(0xef)](){const _0x735b97=_0x2facc1,_0x5c27e8=this[_0x735b97(0xd3)][_0x735b97(0xee)][_0x735b97(0xed)](_0x735b97(0xdf))||{},_0x391a70=this[_0x735b97(0xd3)][_0x735b97(0xee)][_0x735b97(0xed)](_0x735b97(0xe0))||'';this[_0x735b97(0xf9)]=_0x28a8e3(_0x11608a[_0x735b97(0xf2)],_0x735b97(0xe1),{..._0x5c27e8,'pubkey':_0x391a70,'ctx-name':_0x735b97(0xf0)+this[_0x735b97(0x10f)],'sourceList':'','imgOnly':_0x735b97(0x104),'removeCopyright':_0x735b97(0x104),'localeName':this[_0x735b97(0xd3)][_0x735b97(0xd2)][_0x735b97(0x10a)],'externalSourcesEmbedCss':_0x735b97(0xfb)}),this[_0x735b97(0xf9)][_0x735b97(0xe7)]=_0x3b7728=>{const _0x3206ac=_0x735b97;if(_0x3206ac(0xfc)==_0x3b7728)return _0x3206ac(0x10e);},_0x11608a[_0x735b97(0xf2)][_0x735b97(0x120)][_0x735b97(0xe6)](this[_0x735b97(0xf9)]);}[_0x2facc1(0x11e)](){const _0x293d36=_0x2facc1;this[_0x293d36(0x118)]=_0x28a8e3(_0x11608a[_0x293d36(0xf2)],_0x293d36(0x10b),{'ctx-name':_0x293d36(0xf0)+this[_0x293d36(0x10f)]}),_0x11608a[_0x293d36(0xf2)][_0x293d36(0x120)][_0x293d36(0xe6)](this[_0x293d36(0x118)]);}[_0x2facc1(0x112)](){const _0x4cf8b4=_0x2facc1,_0x214a96=this[_0x4cf8b4(0xd3)][_0x4cf8b4(0xec)][_0x4cf8b4(0xed)](_0x4cf8b4(0x10d));_0x214a96&&this[_0x4cf8b4(0xf7)](_0x214a96,_0x4cf8b4(0xf1),()=>{const _0x1928f4=_0x4cf8b4,_0x43ecb6=this[_0x1928f4(0xd3)][_0x1928f4(0x101)][_0x1928f4(0xf2)][_0x1928f4(0x114)][_0x1928f4(0xce)]();_0x43ecb6&&_0x43ecb6[_0x1928f4(0xfe)](_0x1928f4(0x113))&&this[_0x1928f4(0xd3)][_0x1928f4(0xe5)][_0x1928f4(0xe9)][_0x1928f4(0x11b)](_0x1928f4(0x108),()=>{const _0x201de8=_0x1928f4;_0x2b9eca(this[_0x201de8(0xd3)],_0x43ecb6);});});const _0x2cb690=this[_0x4cf8b4(0xd3)][_0x4cf8b4(0xec)][_0x4cf8b4(0xed)](_0x4cf8b4(0x102));_0x2cb690&&this[_0x4cf8b4(0xf7)](_0x2cb690,_0x4cf8b4(0xf1),()=>{const _0x141ec0=_0x4cf8b4,_0x334151=this[_0x141ec0(0xd3)][_0x141ec0(0x101)][_0x141ec0(0xf2)][_0x141ec0(0x114)][_0x141ec0(0xce)]();_0x334151&&_0x334151[_0x141ec0(0xfe)](_0x141ec0(0x113))&&this[_0x141ec0(0xd3)][_0x141ec0(0xe5)][_0x141ec0(0xe9)][_0x141ec0(0x11b)](_0x141ec0(0x108),()=>{const _0x39595a=_0x141ec0;_0x2b9eca(this[_0x39595a(0xd3)],_0x334151);});});}}function _0x26f9(){const _0x5700c8=['\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','closeMax','upcast','getAttribute','3232842UeTNyO','requires','model','uploadcareImageReplace','29450MbPMkH','true','cleanupImage','isPremiumPlugin','href','render','imageInline','contentLanguage','uc-upload-ctx-provider','replaceImageSource','insertImage','#uc-icon-arrow-down','ucContextId','UploadcareEditing','12HijhUw','_initImageProcessingIndicator','uploadcareImageId','selection','extend','isRegistered','3261896VyOCVe','_ctxElement','join','1027641YnhUjF','once','65233SmmJmN','pluginName','_initCtx','ctxElement','body','input[uploadcare-file-input]','466594iYHuZo','imageBlock','destroy','getSelectedElement','344rUwFBZ','for','data-uc-image-id','locale','editor','_initSchema','attributeToAttribute','21721513NkbhHV','5UmlrIy','map','fromCharCode','PictureEditing','schema','495Zajrew','_initConversion','remove','uploadcare.uploader','uploadcare.pubkey','uc-config','isOfficialPlugin','querySelector','add','editing','appendChild','iconHrefResolver','uploadcare','view','downcast','elementToAttribute','commands','get','config','_initConfig','uploader-','execute','document','afterInit','configElement','removeAttribute','init','listenTo','conversion','_configElement','2eOlNWH'];_0x26f9=function(){return _0x5700c8;};return _0x26f9();}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{global as _0x3c3a33,ObservableMixin as _0x484bca}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x52bd2a}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0xf678a0}from'ckeditor5/src/icons.js';import{UploadcareImageEditFormView as _0xbb7ad3}from'./uploadcareimageeditformview.js';import{UploadUtils as _0x43fed5}from'../../utils/uploadutils.js';import{getImageUrls as _0x336392,getImageDimension as _0x346887}from'../../utils/editingutils.js';import{isAncestor as _0x10188f}from'../../utils/isancestor.js';export class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
24
- _0x484bca(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x161b21,_0x116e07,_0x251537){super(),this['_editor']=_0x161b21,this['_dialog']=_0x116e07,this['_imageElement']=_0x251537,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 _0x3f7a1a=this['_imageElement'],_0x89d2d0=_0x3f7a1a['getAttribute']('uploadcareImageId'),_0x5967c8=_0x3f7a1a['getAttribute']('src');if(_0x89d2d0)await this['_loadImageInfo'](_0x89d2d0,_0x5967c8);else{if(this['_imageCache']['has'](_0x5967c8)){const _0x4a760c=this['_imageCache']['get'](_0x5967c8);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x4a760c['url'],this['imageDimension']=_0x4a760c['dimension'],this['imageId']=_0x4a760c['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x51041e}=this['_editor'],t=_0x51041e['t'],_0x4ff086=new _0xbb7ad3(_0x51041e,this['imageStatus'],this['_attributes']);_0x4ff086['bind']('status')['to'](this,'imageStatus'),_0x4ff086['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x4ff086['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x4ff086['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x4ff086,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0xf678a0,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x4ff086,'position':_0x52bd2a['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x4ff086['focus']();},'onHide':()=>{_0x4ff086['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x328c50=>!_0x10188f(_0x328c50,_0x4ff086['element'])}});}['_loadImageInfo'](_0xc4c396,_0xd9f479){return _0x43fed5['getInfo'](_0xc4c396,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x44e642=>{const {width:_0x3fbd4f,height:_0x5bdb6d}=_0x44e642['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0xd9f479,this['imageDimension']={'width':_0x3fbd4f,'height':_0x5bdb6d},this['imageId']=_0xc4c396;})['catch'](_0x2b1814=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x2b1814['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x358b47,_0x2ec367){return this['_getImageAsFile'](_0x358b47)['then'](_0x17f2ef=>_0x43fed5['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':_0x2ec367['signal'],'file':_0x17f2ef,'onProgress':_0x50d810=>{_0x50d810&&_0x50d810['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x50d810['value']));}}))['then'](_0x285637=>{const {width:_0x1364ac,height:_0x1a0514}=_0x285637['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x285637['cdnUrl'],this['imageDimension']={'width':_0x1364ac,'height':_0x1a0514},this['imageId']=_0x285637['uuid'],this['imageUploadProgress']=null;const _0x55bac8=_0x358b47['getAttribute']('src');this['_imageCache']['set'](_0x55bac8,{'id':_0x285637['uuid'],'url':_0x285637['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x4ef364=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x4ef364['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x16c4e1,_0x176453){_0x16c4e1['on']('apply',(_0x3c0338,_0x449185)=>{this['_replaceImage'](_0x176453,_0x449185['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x16c4e1['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x16c4e1['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x53d004,_0x2649dc,_0x57ce87){const _0x137f10=this['_editor'],{width:_0x3f4360,height:_0x115fd2}=_0x346887(_0x2649dc,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0xf02222,imageSources:_0x5021ff}=_0x336392(_0x2649dc,_0x3f4360);_0x137f10['model']['change'](_0x32091f=>{if('$graveyard'===_0x53d004['root']['rootName']){_0x137f10['execute']('insertImage',{'imageType':_0x53d004['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x53d004['getAttributes']()),'uploadcareImageId':_0x57ce87,'src':_0xf02222,'sources':_0x5021ff,'width':_0x3f4360,'height':_0x115fd2}});const _0x5751e5=_0x53d004['getChildren']();_0x53d004=_0x137f10['model']['document']['selection']['getSelectedElement']();for(const _0x2483d9 of _0x5751e5)_0x32091f['append'](_0x32091f['cloneElement'](_0x2483d9),_0x53d004);}else _0x32091f['setSelection'](_0x53d004,'on'),_0x137f10['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x53d004['getAttributes']()),'uploadcareImageId':_0x57ce87,'src':_0xf02222,'sources':_0x5021ff,'width':_0x3f4360,'height':_0x115fd2},_0x53d004);_0x32091f['setSelection'](_0x53d004,'on');});}async['_getImageAsFile'](_0x3040a2){const _0x19a3b7=_0x3c3a33['window'],_0xf1d3d5=_0x3c3a33['document']['location']['href'],_0x44947e=new _0x19a3b7['URL'](_0x3040a2['getAttribute']('src'),_0xf1d3d5);if('data:'===_0x44947e['protocol']){const _0x50c236=_0x44947e['href']['split'](','),_0x4039b5=_0x50c236[0x0]['match'](/:(.*?);/)[0x1],_0xc44889=_0x4039b5['split']('/')[0x1],_0x170db9=_0x19a3b7['atob'](_0x50c236[_0x50c236['length']-0x1]);let _0x515a4e=_0x170db9['length'];const _0x2ed7e8=new _0x19a3b7['Uint8Array'](_0x515a4e);for(;_0x515a4e--;)_0x2ed7e8[_0x515a4e]=_0x170db9['charCodeAt'](_0x515a4e);return new _0x19a3b7['File']([_0x2ed7e8],'image.'+_0xc44889,{'type':_0x4039b5});}const _0x48afaa=_0x44947e['href']['split']('/'),_0x670f60=_0x48afaa[_0x48afaa['length']-0x1],_0x3a2a78=_0x670f60['split']('.')[0x1];return _0x19a3b7['fetch'](_0x44947e['href'])['then'](_0x12c36f=>_0x12c36f['clone']()['blob']())['then'](_0x136df1=>new _0x19a3b7['File']([_0x136df1],_0x670f60,{'type':'image/'+_0x3a2a78}));}}
23
+ import{global as _0x2aceda,ObservableMixin as _0x29c71f}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x2accc2}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x2020c3}from'ckeditor5/src/icons.js';import{UploadcareImageEditFormView as _0x480a5c}from'./uploadcareimageeditformview.js';import{UploadUtils as _0x23778e}from'../../utils/uploadutils.js';import{getImageUrls as _0x3ae8,getImageDimension as _0x546a37}from'../../utils/editingutils.js';import{isAncestor as _0x3d98dd}from'../../utils/isancestor.js';export class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
24
+ _0x29c71f(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x10c157,_0x4cf1fc,_0x28395b){super(),this['_editor']=_0x10c157,this['_dialog']=_0x4cf1fc,this['_imageElement']=_0x28395b,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 _0x17d200=this['_imageElement'],_0x1d17ff=_0x17d200['getAttribute']('uploadcareImageId'),_0x1ca5f5=_0x17d200['getAttribute']('src');if(_0x1d17ff)await this['_loadImageInfo'](_0x1d17ff,_0x1ca5f5);else{if(this['_imageCache']['has'](_0x1ca5f5)){const _0x23b865=this['_imageCache']['get'](_0x1ca5f5);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x23b865['url'],this['imageDimension']=_0x23b865['dimension'],this['imageId']=_0x23b865['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x58abea}=this['_editor'],t=_0x58abea['t'],_0x82388=new _0x480a5c(_0x58abea,this['imageStatus'],this['_attributes']);_0x82388['bind']('status')['to'](this,'imageStatus'),_0x82388['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x82388['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x82388['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x82388,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x2020c3,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x82388,'position':_0x2accc2['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x82388['focus']();},'onHide':()=>{_0x82388['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x4b2c92=>!_0x3d98dd(_0x4b2c92,_0x82388['element'])}});}['_loadImageInfo'](_0x1a643e,_0x34cfc8){return _0x23778e['getInfo'](_0x1a643e,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0xca599a=>{const {width:_0x486764,height:_0x400406}=_0xca599a['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x34cfc8,this['imageDimension']={'width':_0x486764,'height':_0x400406},this['imageId']=_0x1a643e;})['catch'](_0x30d8a9=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x30d8a9['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x499c14,_0x2f11b0){return this['_getImageAsFile'](_0x499c14)['then'](_0xe69b10=>_0x23778e['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':_0x2f11b0['signal'],'file':_0xe69b10,'onProgress':_0x13438f=>{_0x13438f&&_0x13438f['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x13438f['value']));}}))['then'](_0x3c694f=>{const {width:_0x324344,height:_0xa3dbbf}=_0x3c694f['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x3c694f['cdnUrl'],this['imageDimension']={'width':_0x324344,'height':_0xa3dbbf},this['imageId']=_0x3c694f['uuid'],this['imageUploadProgress']=null;const _0xca8803=_0x499c14['getAttribute']('src');this['_imageCache']['set'](_0xca8803,{'id':_0x3c694f['uuid'],'url':_0x3c694f['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x4f1552=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x4f1552['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x508fea,_0x30097c){_0x508fea['on']('apply',(_0xace622,_0x256dae)=>{this['_replaceImage'](_0x30097c,_0x256dae['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x508fea['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x508fea['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x5d9413,_0x10f233,_0x5c29ed){const _0x3b092f=this['_editor'],{width:_0x44d5f2,height:_0x5f224b}=_0x546a37(_0x10f233,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x1b78d7,imageSources:_0x2a281a}=_0x3ae8(_0x10f233,_0x44d5f2);_0x3b092f['model']['change'](_0x1ebd60=>{if('$graveyard'===_0x5d9413['root']['rootName']){_0x3b092f['execute']('insertImage',{'imageType':_0x5d9413['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x5d9413['getAttributes']()),'uploadcareImageId':_0x5c29ed,'src':_0x1b78d7,'sources':_0x2a281a,'width':_0x44d5f2,'height':_0x5f224b}});const _0xcc44ef=_0x5d9413['getChildren']();_0x5d9413=_0x3b092f['model']['document']['selection']['getSelectedElement']();for(const _0x295bec of _0xcc44ef)_0x1ebd60['append'](_0x1ebd60['cloneElement'](_0x295bec),_0x5d9413);}else _0x1ebd60['setSelection'](_0x5d9413,'on'),_0x3b092f['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x5d9413['getAttributes']()),'uploadcareImageId':_0x5c29ed,'src':_0x1b78d7,'sources':_0x2a281a,'width':_0x44d5f2,'height':_0x5f224b},_0x5d9413);_0x1ebd60['setSelection'](_0x5d9413,'on');});}async['_getImageAsFile'](_0x861fe0){const _0x8484a8=_0x2aceda['window'],_0x411a29=_0x2aceda['document']['location']['href'],_0x3f027e=new _0x8484a8['URL'](_0x861fe0['getAttribute']('src'),_0x411a29);if('data:'===_0x3f027e['protocol']){const _0x4a2f41=_0x3f027e['href']['split'](','),_0x4ad2b2=_0x4a2f41[0x0]['match'](/:(.*?);/)[0x1],_0x4e4c90=_0x4ad2b2['split']('/')[0x1],_0x240d5a=_0x8484a8['atob'](_0x4a2f41[_0x4a2f41['length']-0x1]);let _0xa7b90d=_0x240d5a['length'];const _0xe907fe=new _0x8484a8['Uint8Array'](_0xa7b90d);for(;_0xa7b90d--;)_0xe907fe[_0xa7b90d]=_0x240d5a['charCodeAt'](_0xa7b90d);return new _0x8484a8['File']([_0xe907fe],'image.'+_0x4e4c90,{'type':_0x4ad2b2});}const _0x21bf82=_0x3f027e['href']['split']('/'),_0x1f79e9=_0x21bf82[_0x21bf82['length']-0x1],_0x3de85f=_0x1f79e9['split']('.')[0x1];return _0x8484a8['fetch'](_0x3f027e['href'])['then'](_0x4bdf95=>_0x4bdf95['clone']()['blob']())['then'](_0x5095da=>new _0x8484a8['File']([_0x5095da],_0x1f79e9,{'type':'image/'+_0x3de85f}));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x2a3ade,_0x4525da){const _0x486c2d=_0xf674,_0x1d53bd=_0x2a3ade();while(!![]){try{const _0x1f2a63=parseInt(_0x486c2d(0x1ce))/0x1*(parseInt(_0x486c2d(0x1d0))/0x2)+-parseInt(_0x486c2d(0x1d8))/0x3*(parseInt(_0x486c2d(0x1d7))/0x4)+parseInt(_0x486c2d(0x1cf))/0x5+-parseInt(_0x486c2d(0x1d6))/0x6*(-parseInt(_0x486c2d(0x1db))/0x7)+parseInt(_0x486c2d(0x1d2))/0x8*(-parseInt(_0x486c2d(0x1d5))/0x9)+parseInt(_0x486c2d(0x1dc))/0xa+-parseInt(_0x486c2d(0x1cb))/0xb*(parseInt(_0x486c2d(0x1cd))/0xc);if(_0x1f2a63===_0x4525da)break;else _0x1d53bd['push'](_0x1d53bd['shift']());}catch(_0x125189){_0x1d53bd['push'](_0x1d53bd['shift']());}}}(_0x15bd,0x460f9));function _0xf674(_0x23767f,_0x27315e){const _0x15bd47=_0x15bd();return _0xf674=function(_0xf67440,_0x4b9f47){_0xf67440=_0xf67440-0x1ca;let _0x50456f=_0x15bd47[_0xf67440];return _0x50456f;},_0xf674(_0x23767f,_0x27315e);}import{View as _0x414ef9}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormEditingView extends _0x414ef9{constructor(_0x71a9f1,_0x56266a){const _0x346489=_0xf674;super(_0x71a9f1);const _0x4308b1=this[_0x346489(0x1d1)];this[_0x346489(0x1dd)](_0x346489(0x1ca),''),this[_0x346489(0x1d9)]({'tag':_0x346489(0x1d3),'attributes':{..._0x56266a,'class':[_0x346489(0x1cc),_0x346489(0x1da)],'ctx-name':_0x346489(0x1d4),'cdn-url':_0x4308b1['to'](_0x346489(0x1ca))}});}}function _0x15bd(){const _0x1b6eb7=['11862GBELxr','bindTemplate','40456RINfaQ','uc-cloud-image-editor','image-edit','333TpVyxk','384186wAhGPb','135776sChBGB','39Pfmhuq','setTemplate','ck-uploadcare-theme','56CVRYWN','1581540VDTcGX','set','imageSrc','720962cDOGyJ','uc-light','48TkeBGR','67jwvDmf','548695jeIIEd'];_0x15bd=function(){return _0x1b6eb7;};return _0x15bd();}
23
+ (function(_0x6b2e60,_0xc6fb5d){const _0x3c3bc1=_0x22f2,_0xac1e53=_0x6b2e60();while(!![]){try{const _0x4d5116=-parseInt(_0x3c3bc1(0x1d9))/0x1+parseInt(_0x3c3bc1(0x1e9))/0x2+-parseInt(_0x3c3bc1(0x1d8))/0x3*(parseInt(_0x3c3bc1(0x1de))/0x4)+parseInt(_0x3c3bc1(0x1db))/0x5*(-parseInt(_0x3c3bc1(0x1e2))/0x6)+parseInt(_0x3c3bc1(0x1dd))/0x7+-parseInt(_0x3c3bc1(0x1df))/0x8*(-parseInt(_0x3c3bc1(0x1e4))/0x9)+parseInt(_0x3c3bc1(0x1d7))/0xa*(parseInt(_0x3c3bc1(0x1e3))/0xb);if(_0x4d5116===_0xc6fb5d)break;else _0xac1e53['push'](_0xac1e53['shift']());}catch(_0x399aa1){_0xac1e53['push'](_0xac1e53['shift']());}}}(_0x2958,0x9a3b7));import{View as _0x50bafe}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormEditingView extends _0x50bafe{constructor(_0x23e690,_0x423ffd){const _0x3a1262=_0x22f2;super(_0x23e690);const _0x32a273=this[_0x3a1262(0x1e7)];this[_0x3a1262(0x1da)](_0x3a1262(0x1e6),''),this[_0x3a1262(0x1e8)]({'tag':_0x3a1262(0x1dc),'attributes':{..._0x423ffd,'class':[_0x3a1262(0x1e1),_0x3a1262(0x1e0)],'ctx-name':_0x3a1262(0x1e5),'cdn-url':_0x32a273['to'](_0x3a1262(0x1e6))}});}}function _0x22f2(_0x319ea4,_0x57bd68){const _0x29581c=_0x2958();return _0x22f2=function(_0x22f2bb,_0x54438e){_0x22f2bb=_0x22f2bb-0x1d7;let _0xf7a2e2=_0x29581c[_0x22f2bb];return _0xf7a2e2;},_0x22f2(_0x319ea4,_0x57bd68);}function _0x2958(){const _0x5c236f=['8766KBJaed','image-edit','imageSrc','bindTemplate','setTemplate','1117120ZtdTTn','10ZzaeSZ','120cBQDKQ','489987YOqFdQ','set','18015rcodYT','uc-cloud-image-editor','3831100sMaWUh','92408YkJAaT','2104ihvxUA','ck-uploadcare-theme','uc-light','390Eufqij','10097725LFsfbQ'];_0x2958=function(){return _0x5c236f;};return _0x2958();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{IconError as _0x1cb5d6}from'ckeditor5/src/icons.js';import{ButtonView as _0x27a99e,IconView as _0x3dbf3e,View as _0x3ecba1}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormErrorView extends _0x3ecba1{constructor(_0x5a7735){super(_0x5a7735);const t=_0x5a7735['t'];this['set']('errorType',null);const _0xbf551e=new _0x27a99e(_0x5a7735);_0xbf551e['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0xbf551e['withText']=!0x0,_0xbf551e['class']='ck-button-action',_0xbf551e['on']('execute',()=>{this['fire']('retry');}),_0xbf551e['bind']('isVisible')['to'](this,'errorType',_0x363159=>'NotFound'!==_0x363159);const _0x4fd324=new _0x3dbf3e();_0x4fd324['content']=_0x1cb5d6,_0x4fd324['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x240709=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':[_0x4fd324,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x240709['to']('errorType',_0x42b90d=>t('NotFound'!==_0x42b90d?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0xbf551e]},{'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 _0x1cdb53}from'ckeditor5/src/icons.js';import{ButtonView as _0x329153,IconView as _0x471ba6,View as _0x506661}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormErrorView extends _0x506661{constructor(_0x4570d8){super(_0x4570d8);const t=_0x4570d8['t'];this['set']('errorType',null);const _0x3a2feb=new _0x329153(_0x4570d8);_0x3a2feb['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x3a2feb['withText']=!0x0,_0x3a2feb['class']='ck-button-action',_0x3a2feb['on']('execute',()=>{this['fire']('retry');}),_0x3a2feb['bind']('isVisible')['to'](this,'errorType',_0x1cd1d0=>'NotFound'!==_0x1cd1d0);const _0xc63331=new _0x471ba6();_0xc63331['content']=_0x1cdb53,_0xc63331['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x4d602e=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':[_0xc63331,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x4d602e['to']('errorType',_0x1f2587=>t('NotFound'!==_0x1f2587?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x3a2feb]},{'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 _0x2aef7a,View as _0x1d5fbe}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x1d5fbe{constructor(_0x1ad67d){super(_0x1ad67d);const t=_0x1ad67d['t'],_0x2f2bf3=this['bindTemplate'],_0x5de93c=new _0x2aef7a();_0x5de93c['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':[_0x5de93c,{'text':_0x2f2bf3['to']('imageUploadProgress',_0x520c00=>t('Loading\x20image...')+'\x20('+(_0x520c00||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 _0x761494,View as _0x3f4727}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x3f4727{constructor(_0xcd5ce8){super(_0xcd5ce8);const t=_0xcd5ce8['t'],_0x162ede=this['bindTemplate'],_0x14562d=new _0x761494();_0x14562d['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':[_0x14562d,{'text':_0x162ede['to']('imageUploadProgress',_0x11483a=>t('Loading\x20image...')+'\x20('+(_0x11483a||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 _0x527893=_0x2c3f;function _0xeec5(){const _0x563ca2=['getFocusableElement','54rDDpQE','change:status','_focusableView','_setView','ready','set','setTemplate','add','focus','addMany','retry','609380dcilXo','apply','render','clear','_editingView','toLowerCase','_addUploadcareImageEditorListeners','disconnect','once','length','uploading','error','10zFXyDL','_items','div','_loadingView','uc-cloud-image-editor','ck-uploadcare-form','status','cancel','309306XqcNoz','addEventListener','10248326XDvgYk','ck-reset_all-excluded','observe','688136qvOzAq','_errorView','detail','addedNodes','214109HwjcHO','_waitForImageEditorComponent','cdnUrl','fire','filter','468600BbCCMh','target','28QYHgFn','createCollection','9054phYdIH','querySelector','1570seUpKw','nodeName','element','_addErrorViewListeners'];_0xeec5=function(){return _0x563ca2;};return _0xeec5();}(function(_0x321628,_0x585d50){const _0x312dee=_0x2c3f,_0x28ab89=_0x321628();while(!![]){try{const _0x512bba=parseInt(_0x312dee(0x139))/0x1+parseInt(_0x312dee(0x160))/0x2*(-parseInt(_0x312dee(0x130))/0x3)+parseInt(_0x312dee(0x13e))/0x4+-parseInt(_0x312dee(0x144))/0x5*(parseInt(_0x312dee(0x142))/0x6)+parseInt(_0x312dee(0x140))/0x7*(-parseInt(_0x312dee(0x135))/0x8)+-parseInt(_0x312dee(0x149))/0x9*(-parseInt(_0x312dee(0x154))/0xa)+parseInt(_0x312dee(0x132))/0xb;if(_0x512bba===_0x585d50)break;else _0x28ab89['push'](_0x28ab89['shift']());}catch(_0xd4981){_0x28ab89['push'](_0x28ab89['shift']());}}}(_0xeec5,0x480ed));import{View as _0x5fa42}from'ckeditor5/src/ui.js';function _0x2c3f(_0x3481b6,_0x14e1f){const _0xeec585=_0xeec5();return _0x2c3f=function(_0x2c3f52,_0x2c81c5){_0x2c3f52=_0x2c3f52-0x12c;let _0x3de008=_0xeec585[_0x2c3f52];return _0x3de008;},_0x2c3f(_0x3481b6,_0x14e1f);}import{UploadcareImageEditFormLoadingView as _0x2bb2e8}from'./uploadcareimageeditformloadingview.js';import{UploadcareImageEditFormErrorView as _0x566ff9}from'./uploadcareimageeditformerrorview.js';import{UploadcareImageEditFormEditingView as _0x5a2f9a}from'./uploadcareimageeditformeditingview.js';import{DialogFocusManagerView as _0x295a73}from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export class UploadcareImageEditFormView extends _0x295a73{[_0x527893(0x161)];[_0x527893(0x163)];[_0x527893(0x136)];[_0x527893(0x158)];[_0x527893(0x14b)];constructor(_0x365f65,_0x1bacfd,_0x25ea59){const _0x3b41e8=_0x527893;super(_0x365f65),this[_0x3b41e8(0x161)]=this[_0x3b41e8(0x141)](),this[_0x3b41e8(0x163)]=new _0x2bb2e8(_0x365f65),this[_0x3b41e8(0x136)]=new _0x566ff9(_0x365f65),this[_0x3b41e8(0x158)]=new _0x5a2f9a(_0x365f65,_0x25ea59),this[_0x3b41e8(0x14b)]=new _0x5fa42(_0x365f65),this[_0x3b41e8(0x14b)][_0x3b41e8(0x14f)](this[_0x3b41e8(0x148)]()),this[_0x3b41e8(0x14e)](_0x3b41e8(0x12e),_0x1bacfd),this[_0x3b41e8(0x14f)]({'tag':_0x3b41e8(0x162),'attributes':{'class':['ck',_0x3b41e8(0x133),_0x3b41e8(0x12d)],'tabindex':'-1'},'children':this[_0x3b41e8(0x161)]}),this[_0x3b41e8(0x14c)](),this[_0x3b41e8(0x15c)](_0x3b41e8(0x156),()=>{const _0x3ed125=_0x3b41e8;this[_0x3ed125(0x13a)](this[_0x3ed125(0x146)],_0x5b7e31=>{const _0x3b4199=_0x3ed125;this[_0x3b4199(0x15a)](_0x5b7e31);});}),this['on'](_0x3b41e8(0x14a),()=>{const _0x490724=_0x3b41e8;this[_0x490724(0x14c)]();}),this[_0x3b41e8(0x147)]();}[_0x527893(0x151)](){const _0x3de8c3=_0x527893;this[_0x3de8c3(0x146)][_0x3de8c3(0x151)]();}[_0x527893(0x14c)](){const _0x1c2044=_0x527893;switch(this[_0x1c2044(0x161)][_0x1c2044(0x157)](),this[_0x1c2044(0x12e)]){case _0x1c2044(0x15e):this[_0x1c2044(0x161)][_0x1c2044(0x150)](this[_0x1c2044(0x163)]);break;case _0x1c2044(0x15f):this[_0x1c2044(0x161)][_0x1c2044(0x150)](this[_0x1c2044(0x136)]);break;case _0x1c2044(0x14d):this[_0x1c2044(0x161)][_0x1c2044(0x152)]([this[_0x1c2044(0x158)],this[_0x1c2044(0x14b)]]);}}[_0x527893(0x13a)](_0x222712,_0x694e96){const _0x30b442=_0x527893,_0x2c0516=_0x30b442(0x12c),_0x36df58=_0x222712[_0x30b442(0x143)](_0x2c0516);if(_0x36df58)return _0x694e96(_0x36df58);const _0x4ae4d7=new MutationObserver(_0x597f5a=>{const _0x14cb43=_0x30b442,_0x2f3e01=_0x597f5a[_0x14cb43(0x13d)](_0xed4bb3=>_0xed4bb3[_0x14cb43(0x13f)]===_0x222712&&_0xed4bb3[_0x14cb43(0x138)][_0x14cb43(0x15d)]>0x0&&_0xed4bb3[_0x14cb43(0x138)][0x0][_0x14cb43(0x145)][_0x14cb43(0x159)]()===_0x2c0516);_0x2f3e01[_0x14cb43(0x15d)]&&(_0x4ae4d7[_0x14cb43(0x15b)](),_0x694e96(_0x2f3e01[0x0][_0x14cb43(0x138)][0x0]));});_0x4ae4d7[_0x30b442(0x134)](_0x222712,{'childList':!0x0,'subtree':!0x0});}[_0x527893(0x15a)](_0x572c3d){const _0x52068c=_0x527893;_0x572c3d[_0x52068c(0x131)](_0x52068c(0x155),_0x1593a8=>{const _0x48d60a=_0x52068c;this[_0x48d60a(0x13c)](_0x48d60a(0x155),{'imageSrc':_0x1593a8[_0x48d60a(0x137)][_0x48d60a(0x13b)]});}),_0x572c3d[_0x52068c(0x131)](_0x52068c(0x12f),()=>{const _0xd0a421=_0x52068c;this[_0xd0a421(0x13c)](_0xd0a421(0x12f));});}[_0x527893(0x147)](){const _0x319085=_0x527893;this[_0x319085(0x136)]['on'](_0x319085(0x153),()=>{const _0x33679b=_0x319085;this[_0x33679b(0x13c)](_0x33679b(0x153));});}}
23
+ const _0x16f370=_0x478f;(function(_0x1e64f3,_0x582097){const _0x51062c=_0x478f,_0x27b988=_0x1e64f3();while(!![]){try{const _0x4b7436=parseInt(_0x51062c(0xbe))/0x1+parseInt(_0x51062c(0xef))/0x2*(parseInt(_0x51062c(0xe6))/0x3)+-parseInt(_0x51062c(0xeb))/0x4+-parseInt(_0x51062c(0xee))/0x5*(parseInt(_0x51062c(0xc8))/0x6)+parseInt(_0x51062c(0xbf))/0x7*(parseInt(_0x51062c(0xe7))/0x8)+parseInt(_0x51062c(0xc0))/0x9*(-parseInt(_0x51062c(0xdb))/0xa)+-parseInt(_0x51062c(0xd2))/0xb*(parseInt(_0x51062c(0xd1))/0xc);if(_0x4b7436===_0x582097)break;else _0x27b988['push'](_0x27b988['shift']());}catch(_0x490f25){_0x27b988['push'](_0x27b988['shift']());}}}(_0x5e1c,0x3fad3));import{View as _0x13dd73}from'ckeditor5/src/ui.js';import{UploadcareImageEditFormLoadingView as _0x1056a8}from'./uploadcareimageeditformloadingview.js';function _0x5e1c(){const _0x573a2d=['error','_errorView','setTemplate','_editingView','48DdxXpj','781561lstIwl','ready','change:status','toLowerCase','once','div','_addErrorViewListeners','_addUploadcareImageEditorListeners','element','540PJqiZw','disconnect','uploading','observe','_waitForImageEditorComponent','_setView','set','addEventListener','cancel','uc-cloud-image-editor','status','18219VbeiGR','1935256TuSnAc','_focusableView','filter','addMany','170988KciCKi','_loadingView','_items','20795qlEmIr','114XXTuak','querySelector','cdnUrl','apply','retry','length','render','fire','510829xIASnv','14COexhU','47871weDfqA','ck-reset_all-excluded','createCollection','detail','target','ck-uploadcare-form','nodeName','add','672hlvJGR','getFocusableElement','clear','focus','addedNodes'];_0x5e1c=function(){return _0x573a2d;};return _0x5e1c();}import{UploadcareImageEditFormErrorView as _0x4b6605}from'./uploadcareimageeditformerrorview.js';import{UploadcareImageEditFormEditingView as _0x13f5ee}from'./uploadcareimageeditformeditingview.js';function _0x478f(_0x3ee427,_0x1bc7be){const _0x5e1cfe=_0x5e1c();return _0x478f=function(_0x478f3b,_0x2c7c8c){_0x478f3b=_0x478f3b-0xbd;let _0x4be883=_0x5e1cfe[_0x478f3b];return _0x4be883;},_0x478f(_0x3ee427,_0x1bc7be);}import{DialogFocusManagerView as _0x23c7aa}from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export class UploadcareImageEditFormView extends _0x23c7aa{[_0x16f370(0xed)];[_0x16f370(0xec)];[_0x16f370(0xce)];[_0x16f370(0xd0)];[_0x16f370(0xe8)];constructor(_0x13d1e0,_0x502e70,_0x496bc4){const _0x1e60f8=_0x16f370;super(_0x13d1e0),this[_0x1e60f8(0xed)]=this[_0x1e60f8(0xc2)](),this[_0x1e60f8(0xec)]=new _0x1056a8(_0x13d1e0),this[_0x1e60f8(0xce)]=new _0x4b6605(_0x13d1e0),this[_0x1e60f8(0xd0)]=new _0x13f5ee(_0x13d1e0,_0x496bc4),this[_0x1e60f8(0xe8)]=new _0x13dd73(_0x13d1e0),this[_0x1e60f8(0xe8)][_0x1e60f8(0xcf)](this[_0x1e60f8(0xc9)]()),this[_0x1e60f8(0xe1)](_0x1e60f8(0xe5),_0x502e70),this[_0x1e60f8(0xcf)]({'tag':_0x1e60f8(0xd7),'attributes':{'class':['ck',_0x1e60f8(0xc1),_0x1e60f8(0xc5)],'tabindex':'-1'},'children':this[_0x1e60f8(0xed)]}),this[_0x1e60f8(0xe0)](),this[_0x1e60f8(0xd6)](_0x1e60f8(0xf5),()=>{const _0x3dd0d3=_0x1e60f8;this[_0x3dd0d3(0xdf)](this[_0x3dd0d3(0xda)],_0xa8ec6f=>{const _0x39ab43=_0x3dd0d3;this[_0x39ab43(0xd9)](_0xa8ec6f);});}),this['on'](_0x1e60f8(0xd4),()=>{const _0x206229=_0x1e60f8;this[_0x206229(0xe0)]();}),this[_0x1e60f8(0xd8)]();}[_0x16f370(0xcb)](){const _0x418482=_0x16f370;this[_0x418482(0xda)][_0x418482(0xcb)]();}[_0x16f370(0xe0)](){const _0x400f77=_0x16f370;switch(this[_0x400f77(0xed)][_0x400f77(0xca)](),this[_0x400f77(0xe5)]){case _0x400f77(0xdd):this[_0x400f77(0xed)][_0x400f77(0xc7)](this[_0x400f77(0xec)]);break;case _0x400f77(0xcd):this[_0x400f77(0xed)][_0x400f77(0xc7)](this[_0x400f77(0xce)]);break;case _0x400f77(0xd3):this[_0x400f77(0xed)][_0x400f77(0xea)]([this[_0x400f77(0xd0)],this[_0x400f77(0xe8)]]);}}[_0x16f370(0xdf)](_0x2a2cfe,_0x56f232){const _0x6d7534=_0x16f370,_0x3a3a68=_0x6d7534(0xe4),_0x4f76c6=_0x2a2cfe[_0x6d7534(0xf0)](_0x3a3a68);if(_0x4f76c6)return _0x56f232(_0x4f76c6);const _0x5c4acb=new MutationObserver(_0x33a1fb=>{const _0x4ae7a4=_0x6d7534,_0xa17f51=_0x33a1fb[_0x4ae7a4(0xe9)](_0x33fffd=>_0x33fffd[_0x4ae7a4(0xc4)]===_0x2a2cfe&&_0x33fffd[_0x4ae7a4(0xcc)][_0x4ae7a4(0xf4)]>0x0&&_0x33fffd[_0x4ae7a4(0xcc)][0x0][_0x4ae7a4(0xc6)][_0x4ae7a4(0xd5)]()===_0x3a3a68);_0xa17f51[_0x4ae7a4(0xf4)]&&(_0x5c4acb[_0x4ae7a4(0xdc)](),_0x56f232(_0xa17f51[0x0][_0x4ae7a4(0xcc)][0x0]));});_0x5c4acb[_0x6d7534(0xde)](_0x2a2cfe,{'childList':!0x0,'subtree':!0x0});}[_0x16f370(0xd9)](_0x22d5f9){const _0x13aa8a=_0x16f370;_0x22d5f9[_0x13aa8a(0xe2)](_0x13aa8a(0xf2),_0x32658d=>{const _0x27ccac=_0x13aa8a;this[_0x27ccac(0xbd)](_0x27ccac(0xf2),{'imageSrc':_0x32658d[_0x27ccac(0xc3)][_0x27ccac(0xf1)]});}),_0x22d5f9[_0x13aa8a(0xe2)](_0x13aa8a(0xe3),()=>{const _0x14401f=_0x13aa8a;this[_0x14401f(0xbd)](_0x14401f(0xe3));});}[_0x16f370(0xd8)](){const _0x20bc37=_0x16f370;this[_0x20bc37(0xce)]['on'](_0x20bc37(0xf3),()=>{const _0x3fc493=_0x20bc37;this[_0x3fc493(0xbd)](_0x3fc493(0xf3));});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2bd9df=_0x5ba6;(function(_0xae86ef,_0x66e547){const _0xc69bc6=_0x5ba6,_0x126cb9=_0xae86ef();while(!![]){try{const _0x2ed4a0=-parseInt(_0xc69bc6(0xfd))/0x1+-parseInt(_0xc69bc6(0xe4))/0x2*(parseInt(_0xc69bc6(0xf8))/0x3)+-parseInt(_0xc69bc6(0x102))/0x4*(parseInt(_0xc69bc6(0xe1))/0x5)+-parseInt(_0xc69bc6(0xe8))/0x6*(parseInt(_0xc69bc6(0xff))/0x7)+parseInt(_0xc69bc6(0xe3))/0x8*(parseInt(_0xc69bc6(0xf0))/0x9)+parseInt(_0xc69bc6(0xea))/0xa*(parseInt(_0xc69bc6(0xf1))/0xb)+-parseInt(_0xc69bc6(0xf4))/0xc*(-parseInt(_0xc69bc6(0xeb))/0xd);if(_0x2ed4a0===_0x66e547)break;else _0x126cb9['push'](_0x126cb9['shift']());}catch(_0x50b261){_0x126cb9['push'](_0x126cb9['shift']());}}}(_0x5aef,0x97d3f));import{Command as _0x35834f}from'ckeditor5/src/core.js';import{Dialog as _0x457372}from'ckeditor5/src/ui.js';import{UploadcareImageEditController as _0x1f4431}from'./ui/uploadcareimageeditcontroller.js';function _0x5aef(){const _0x148de6=['4308tYMFqd','set','model','unbind','9gRlAVP','bind','getSelectedElement','get','requires','1051624jATfkd','document','133ikeXKf','refresh','plugins','92McrvGQ','uploadcare.allowExternalImagesEditing','145570wDeBrI','config','5024heNZQp','330886qgqhtt','isEnabled','element','isActive','130044YRyLrQ','execute','10QZAOIq','56251zPsYJs','imageInline','editor','selection','imageEditController','15948TPbSUv','6435649mYoBIt','_isEditable','imageBlock'];_0x5aef=function(){return _0x148de6;};return _0x5aef();}function _0x5ba6(_0x1420ff,_0x5a9573){const _0x5aef55=_0x5aef();return _0x5ba6=function(_0x5ba64d,_0x507347){_0x5ba64d=_0x5ba64d-0xe0;let _0x4bad81=_0x5aef55[_0x5ba64d];return _0x4bad81;},_0x5ba6(_0x1420ff,_0x5a9573);}import{createEditabilityChecker as _0xb519e}from'../utils/editingutils.js';export class UploadcareImageEditCommand extends _0x35834f{[_0x2bd9df(0xef)];static get[_0x2bd9df(0xfc)](){return[_0x457372];}[_0x2bd9df(0xf2)];constructor(_0x32163f){const _0x635b0e=_0x2bd9df;super(_0x32163f),this[_0x635b0e(0xef)]=void 0x0,this[_0x635b0e(0xf2)]=_0xb519e(_0x32163f[_0x635b0e(0xe2)][_0x635b0e(0xfb)](_0x635b0e(0xe0))||[]),this[_0x635b0e(0xf5)]({'isActive':!0x1});}[_0x2bd9df(0x100)](){const _0x17c20c=_0x2bd9df,_0x340064=this[_0x17c20c(0xed)][_0x17c20c(0xf6)][_0x17c20c(0xfe)][_0x17c20c(0xee)][_0x17c20c(0xfa)]();this[_0x17c20c(0xe5)]=this[_0x17c20c(0xf2)](_0x340064);}[_0x2bd9df(0xe9)](){const _0x541308=_0x2bd9df;this[_0x541308(0xef)]&&(this[_0x541308(0xf7)](_0x541308(0xe7)),this[_0x541308(0xef)]=void 0x0);const _0xa27306=this[_0x541308(0xed)][_0x541308(0xf6)][_0x541308(0xfe)][_0x541308(0xee)][_0x541308(0xfa)]();_0xa27306&&(_0xa27306['is'](_0x541308(0xe6),_0x541308(0xf3))||_0xa27306['is'](_0x541308(0xe6),_0x541308(0xec)))&&(this[_0x541308(0xef)]=new _0x1f4431(this[_0x541308(0xed)],this[_0x541308(0xed)][_0x541308(0x101)][_0x541308(0xfb)](_0x457372),_0xa27306),this[_0x541308(0xf9)](_0x541308(0xe7))['to'](this[_0x541308(0xef)],_0x541308(0xe7)));}}
23
+ const _0x20f0e4=_0x1f04;(function(_0xc07b96,_0x4397e2){const _0x296f7a=_0x1f04,_0x80193c=_0xc07b96();while(!![]){try{const _0x5639fc=-parseInt(_0x296f7a(0x1c5))/0x1+parseInt(_0x296f7a(0x1b5))/0x2*(-parseInt(_0x296f7a(0x1b4))/0x3)+parseInt(_0x296f7a(0x1af))/0x4*(parseInt(_0x296f7a(0x1c0))/0x5)+-parseInt(_0x296f7a(0x1bd))/0x6+-parseInt(_0x296f7a(0x1b2))/0x7*(-parseInt(_0x296f7a(0x1a5))/0x8)+-parseInt(_0x296f7a(0x1b3))/0x9*(parseInt(_0x296f7a(0x1ad))/0xa)+-parseInt(_0x296f7a(0x1a4))/0xb*(-parseInt(_0x296f7a(0x1c2))/0xc);if(_0x5639fc===_0x4397e2)break;else _0x80193c['push'](_0x80193c['shift']());}catch(_0x24c05a){_0x80193c['push'](_0x80193c['shift']());}}}(_0x482e,0x25ab4));import{Command as _0x1b5ed9}from'ckeditor5/src/core.js';function _0x482e(){const _0x36c717=['get','element','bind','execute','imageEditController','786816KDUElT','getSelectedElement','isEnabled','105XriGpI','set','302364DbPPqA','refresh','editor','10560qxqUeU','198TfaQmu','7248yFLxzX','document','config','selection','_isEditable','uploadcare.allowExternalImagesEditing','model','unbind','1640qdMQkO','imageBlock','33316busAhO','imageInline','requires','973QsDDCM','15165ljJPDX','297ZqYDzz','3678XXmcxg','plugins','isActive'];_0x482e=function(){return _0x36c717;};return _0x482e();}function _0x1f04(_0x10e014,_0x8cb329){const _0x482e73=_0x482e();return _0x1f04=function(_0x1f0438,_0x15495b){_0x1f0438=_0x1f0438-0x1a4;let _0xa93cb6=_0x482e73[_0x1f0438];return _0xa93cb6;},_0x1f04(_0x10e014,_0x8cb329);}import{Dialog as _0x49beea}from'ckeditor5/src/ui.js';import{UploadcareImageEditController as _0x1e8a18}from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x4250f2}from'../utils/editingutils.js';export class UploadcareImageEditCommand extends _0x1b5ed9{[_0x20f0e4(0x1bc)];static get[_0x20f0e4(0x1b1)](){return[_0x49beea];}[_0x20f0e4(0x1a9)];constructor(_0x5d0176){const _0x32540a=_0x20f0e4;super(_0x5d0176),this[_0x32540a(0x1bc)]=void 0x0,this[_0x32540a(0x1a9)]=_0x4250f2(_0x5d0176[_0x32540a(0x1a7)][_0x32540a(0x1b8)](_0x32540a(0x1aa))||[]),this[_0x32540a(0x1c1)]({'isActive':!0x1});}[_0x20f0e4(0x1c3)](){const _0x3de548=_0x20f0e4,_0x304660=this[_0x3de548(0x1c4)][_0x3de548(0x1ab)][_0x3de548(0x1a6)][_0x3de548(0x1a8)][_0x3de548(0x1be)]();this[_0x3de548(0x1bf)]=this[_0x3de548(0x1a9)](_0x304660);}[_0x20f0e4(0x1bb)](){const _0x31922a=_0x20f0e4;this[_0x31922a(0x1bc)]&&(this[_0x31922a(0x1ac)](_0x31922a(0x1b7)),this[_0x31922a(0x1bc)]=void 0x0);const _0x443bfa=this[_0x31922a(0x1c4)][_0x31922a(0x1ab)][_0x31922a(0x1a6)][_0x31922a(0x1a8)][_0x31922a(0x1be)]();_0x443bfa&&(_0x443bfa['is'](_0x31922a(0x1b9),_0x31922a(0x1ae))||_0x443bfa['is'](_0x31922a(0x1b9),_0x31922a(0x1b0)))&&(this[_0x31922a(0x1bc)]=new _0x1e8a18(this[_0x31922a(0x1c4)],this[_0x31922a(0x1c4)][_0x31922a(0x1b6)][_0x31922a(0x1b8)](_0x49beea),_0x443bfa),this[_0x31922a(0x1ba)](_0x31922a(0x1b7))['to'](this[_0x31922a(0x1bc)],_0x31922a(0x1b7)));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x8d9cd=_0x14a6;(function(_0x428291,_0x5e01ee){const _0x1741b1=_0x14a6,_0x5de85e=_0x428291();while(!![]){try{const _0x24f3b9=-parseInt(_0x1741b1(0x7e))/0x1+parseInt(_0x1741b1(0x8d))/0x2+parseInt(_0x1741b1(0x79))/0x3*(parseInt(_0x1741b1(0x86))/0x4)+-parseInt(_0x1741b1(0x82))/0x5+parseInt(_0x1741b1(0x8e))/0x6*(-parseInt(_0x1741b1(0x7c))/0x7)+-parseInt(_0x1741b1(0x88))/0x8+parseInt(_0x1741b1(0x7a))/0x9*(parseInt(_0x1741b1(0x7b))/0xa);if(_0x24f3b9===_0x5e01ee)break;else _0x5de85e['push'](_0x5de85e['shift']());}catch(_0x4c9073){_0x5de85e['push'](_0x5de85e['shift']());}}}(_0x5072,0x774a9));import{Plugin as _0x42ba05}from'ckeditor5/src/core.js';import{Notification as _0x1ace12}from'ckeditor5/src/ui.js';import{UploadcareImageEditCommand as _0x972bf}from'./uploadcareimageeditcommand.js';import{UploadcareImageReplaceCommand as _0x43e9fa}from'./uploadcareimagereplacecommand.js';function _0x5072(){const _0x9ec8ee=['2723166hwfWrX','42CkxxXe','28647UXXeMQ','5490DUDBlg','7TZsWeK','pluginName','598921digLJL','init','requires','isOfficialPlugin','991645GpYnPk','add','uploadcareImageEdit','ImageUtils','38536CCShZL','uploadcareImageReplace','1686832IapvgC','UploadcareImageEditEditing','isPremiumPlugin','ImageEditing','commands','136478JDhfoh'];_0x5072=function(){return _0x9ec8ee;};return _0x5072();}import{UploadcareEditing as _0x1836b1}from'../uploadcareediting.js';function _0x14a6(_0x10eb1a,_0x1c8673){const _0x5072c1=_0x5072();return _0x14a6=function(_0x14a6a6,_0x3aa4){_0x14a6a6=_0x14a6a6-0x79;let _0x192196=_0x5072c1[_0x14a6a6];return _0x192196;},_0x14a6(_0x10eb1a,_0x1c8673);}export class UploadcareImageEditEditing extends _0x42ba05{static get[_0x8d9cd(0x7d)](){const _0x269443=_0x8d9cd;return _0x269443(0x89);}static get[_0x8d9cd(0x80)](){const _0x305174=_0x8d9cd;return[_0x1836b1,_0x1ace12,_0x305174(0x85),_0x305174(0x8b)];}static get[_0x8d9cd(0x81)](){return!0x0;}static get[_0x8d9cd(0x8a)](){return!0x0;}[_0x8d9cd(0x7f)](){const _0x1046aa=_0x8d9cd,{editor:_0x5b6907}=this;_0x5b6907[_0x1046aa(0x8c)][_0x1046aa(0x83)](_0x1046aa(0x84),new _0x972bf(_0x5b6907)),_0x5b6907[_0x1046aa(0x8c)][_0x1046aa(0x83)](_0x1046aa(0x87),new _0x43e9fa(_0x5b6907));}}
23
+ const _0x4e00d0=_0x1a91;(function(_0x22613f,_0x111447){const _0x5a7c98=_0x1a91,_0x3a3335=_0x22613f();while(!![]){try{const _0x44dca6=-parseInt(_0x5a7c98(0x86))/0x1+parseInt(_0x5a7c98(0x79))/0x2*(-parseInt(_0x5a7c98(0x7b))/0x3)+-parseInt(_0x5a7c98(0x7c))/0x4+parseInt(_0x5a7c98(0x87))/0x5*(-parseInt(_0x5a7c98(0x7a))/0x6)+-parseInt(_0x5a7c98(0x82))/0x7+-parseInt(_0x5a7c98(0x8d))/0x8*(-parseInt(_0x5a7c98(0x80))/0x9)+parseInt(_0x5a7c98(0x7e))/0xa;if(_0x44dca6===_0x111447)break;else _0x3a3335['push'](_0x3a3335['shift']());}catch(_0x2ae5b4){_0x3a3335['push'](_0x3a3335['shift']());}}}(_0x38b6,0x9c782));function _0x38b6(){const _0x48ab27=['isPremiumPlugin','add','215504ijqhkL','uploadcareImageReplace','4yGaPVs','2778822EighBY','203886AZvydm','525672NjUTXZ','UploadcareImageEditEditing','25183060CFAbeL','uploadcareImageEdit','63KRXMEy','ImageEditing','2988846luAGzK','requires','isOfficialPlugin','init','908517VOmwuk','5TSgMJP','commands','pluginName','ImageUtils'];_0x38b6=function(){return _0x48ab27;};return _0x38b6();}import{Plugin as _0xc6b7ae}from'ckeditor5/src/core.js';function _0x1a91(_0x1a7649,_0x155dca){const _0x38b6db=_0x38b6();return _0x1a91=function(_0x1a91ed,_0x503938){_0x1a91ed=_0x1a91ed-0x78;let _0x2e7ef6=_0x38b6db[_0x1a91ed];return _0x2e7ef6;},_0x1a91(_0x1a7649,_0x155dca);}import{Notification as _0x38a190}from'ckeditor5/src/ui.js';import{UploadcareImageEditCommand as _0x51a72a}from'./uploadcareimageeditcommand.js';import{UploadcareImageReplaceCommand as _0x2fc096}from'./uploadcareimagereplacecommand.js';import{UploadcareEditing as _0x45b918}from'../uploadcareediting.js';export class UploadcareImageEditEditing extends _0xc6b7ae{static get[_0x4e00d0(0x89)](){const _0x28b4be=_0x4e00d0;return _0x28b4be(0x7d);}static get[_0x4e00d0(0x83)](){const _0x38862d=_0x4e00d0;return[_0x45b918,_0x38a190,_0x38862d(0x8a),_0x38862d(0x81)];}static get[_0x4e00d0(0x84)](){return!0x0;}static get[_0x4e00d0(0x8b)](){return!0x0;}[_0x4e00d0(0x85)](){const _0x855de=_0x4e00d0,{editor:_0x17026a}=this;_0x17026a[_0x855de(0x88)][_0x855de(0x8c)](_0x855de(0x7f),new _0x51a72a(_0x17026a)),_0x17026a[_0x855de(0x88)][_0x855de(0x8c)](_0x855de(0x78),new _0x2fc096(_0x17026a));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x2cadf3}from'ckeditor5/src/core.js';import{ButtonView as _0x5b85e7}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x111eab}from'ckeditor5/src/icons.js';import{createElement as _0x4c5d6f}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 _0x2cadf3{['_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 _0x2fa903=this['editor'];_0x2fa903['ui']['componentFactory']['add']('uploadcareImageEdit',_0x47a307=>{const _0x1e0e8d=_0x2fa903['commands']['get']('uploadcareImageEdit'),_0x1b5535=new _0x5b85e7(_0x47a307),t=_0x47a307['t'];return _0x1b5535['set']({'icon':_0x111eab,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x1b5535['bind']('isEnabled')['to'](_0x1e0e8d),_0x1b5535['bind']('isOn')['to'](_0x1e0e8d,'isActive'),this['listenTo'](_0x1b5535,'execute',()=>{_0x2fa903['execute']('uploadcareImageEdit'),_0x2fa903['editing']['view']['focus']();}),_0x1b5535;}),this['_initConfig']();}['_initConfig'](){const _0x478008=_0x4c5d6f(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x478008),this['listenTo'](this['editor'],'destroy',()=>{_0x478008['remove']();});}}
23
+ import{Plugin as _0x449192}from'ckeditor5/src/core.js';import{ButtonView as _0x3e48f1}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x23ada6}from'ckeditor5/src/icons.js';import{createElement as _0x40fd14}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 _0x449192{['_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 _0x5279c1=this['editor'];_0x5279c1['ui']['componentFactory']['add']('uploadcareImageEdit',_0x40ebde=>{const _0x299647=_0x5279c1['commands']['get']('uploadcareImageEdit'),_0x323a04=new _0x3e48f1(_0x40ebde),t=_0x40ebde['t'];return _0x323a04['set']({'icon':_0x23ada6,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x323a04['bind']('isEnabled')['to'](_0x299647),_0x323a04['bind']('isOn')['to'](_0x299647,'isActive'),this['listenTo'](_0x323a04,'execute',()=>{_0x5279c1['execute']('uploadcareImageEdit'),_0x5279c1['editing']['view']['focus']();}),_0x323a04;}),this['_initConfig']();}['_initConfig'](){const _0x4e7a42=_0x40fd14(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x4e7a42),this['listenTo'](this['editor'],'destroy',()=>{_0x4e7a42['remove']();});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x215b(_0x3258e9,_0x31214d){const _0x484ff8=_0x484f();return _0x215b=function(_0x215bc7,_0x1a7ccd){_0x215bc7=_0x215bc7-0x1bd;let _0x3967f5=_0x484ff8[_0x215bc7];return _0x3967f5;},_0x215b(_0x3258e9,_0x31214d);}const _0x59b861=_0x215b;(function(_0x39c409,_0xf82442){const _0x595365=_0x215b,_0x14721f=_0x39c409();while(!![]){try{const _0x42863d=parseInt(_0x595365(0x1d0))/0x1*(-parseInt(_0x595365(0x1cf))/0x2)+parseInt(_0x595365(0x1c9))/0x3*(-parseInt(_0x595365(0x1d5))/0x4)+parseInt(_0x595365(0x1d7))/0x5*(parseInt(_0x595365(0x1d2))/0x6)+-parseInt(_0x595365(0x1c0))/0x7*(-parseInt(_0x595365(0x1d4))/0x8)+-parseInt(_0x595365(0x1c5))/0x9*(parseInt(_0x595365(0x1cb))/0xa)+-parseInt(_0x595365(0x1bd))/0xb+-parseInt(_0x595365(0x1c4))/0xc*(-parseInt(_0x595365(0x1d8))/0xd);if(_0x42863d===_0xf82442)break;else _0x14721f['push'](_0x14721f['shift']());}catch(_0x142844){_0x14721f['push'](_0x14721f['shift']());}}}(_0x484f,0x1e20d));function _0x484f(){const _0x252642=['sizes','537220lKnzKA','1157tkNdPN','getSelectedElement','129745SBJoda','change','execute','7oGCNJk','selection','document','removeAttribute','49848oDkLse','64899sRGxfE','imageInline','model','editor','3iluhhC','setAttributes','260mcDgVb','element','isEnabled','refresh','99054QhFdsk','4OxWHFb','imageBlock','6TLsdRn','srcset','460744UCnpoG','55796BDoAcM'];_0x484f=function(){return _0x252642;};return _0x484f();}import{Command as _0x2c6ca2}from'ckeditor5/src/core.js';export class UploadcareImageReplaceCommand extends _0x2c6ca2{[_0x59b861(0x1ce)](){const _0x5a7c56=_0x59b861,_0x41073c=this[_0x5a7c56(0x1c8)][_0x5a7c56(0x1c7)][_0x5a7c56(0x1c2)][_0x5a7c56(0x1c1)][_0x5a7c56(0x1d9)]();this[_0x5a7c56(0x1cd)]=Boolean(_0x41073c&&(_0x41073c['is'](_0x5a7c56(0x1cc),_0x5a7c56(0x1d1))||_0x41073c['is'](_0x5a7c56(0x1cc),_0x5a7c56(0x1c6))));}[_0x59b861(0x1bf)](_0x58efd6){const _0x581186=_0x59b861,_0x121423=this[_0x581186(0x1c8)][_0x581186(0x1c7)][_0x581186(0x1c2)][_0x581186(0x1c1)][_0x581186(0x1d9)]();this[_0x581186(0x1c8)][_0x581186(0x1c7)][_0x581186(0x1be)](_0x1e400b=>{const _0x518798=_0x581186;_0x1e400b[_0x518798(0x1ca)](_0x58efd6,_0x121423),_0x1e400b[_0x518798(0x1c3)](_0x518798(0x1d3),_0x121423),_0x1e400b[_0x518798(0x1c3)](_0x518798(0x1d6),_0x121423);});}}
23
+ const _0x5d6ecb=_0x3ecb;(function(_0x1a9aa0,_0x9cc976){const _0x1cb950=_0x3ecb,_0x274840=_0x1a9aa0();while(!![]){try{const _0x13a068=parseInt(_0x1cb950(0xfd))/0x1+parseInt(_0x1cb950(0x111))/0x2*(-parseInt(_0x1cb950(0x10b))/0x3)+parseInt(_0x1cb950(0x10f))/0x4+-parseInt(_0x1cb950(0x10c))/0x5*(-parseInt(_0x1cb950(0x103))/0x6)+-parseInt(_0x1cb950(0x116))/0x7*(parseInt(_0x1cb950(0xfe))/0x8)+-parseInt(_0x1cb950(0x114))/0x9*(-parseInt(_0x1cb950(0x102))/0xa)+-parseInt(_0x1cb950(0x104))/0xb;if(_0x13a068===_0x9cc976)break;else _0x274840['push'](_0x274840['shift']());}catch(_0x2daa4f){_0x274840['push'](_0x274840['shift']());}}}(_0x3801,0x5cce3));import{Command as _0x5e257e}from'ckeditor5/src/core.js';function _0x3ecb(_0x30540d,_0x478b94){const _0x380105=_0x3801();return _0x3ecb=function(_0x3ecbea,_0xdee7c){_0x3ecbea=_0x3ecbea-0xfd;let _0xc1f2b=_0x380105[_0x3ecbea];return _0xc1f2b;},_0x3ecb(_0x30540d,_0x478b94);}export class UploadcareImageReplaceCommand extends _0x5e257e{[_0x5d6ecb(0x105)](){const _0x35d52d=_0x5d6ecb,_0x57bde2=this[_0x35d52d(0x101)][_0x35d52d(0x109)][_0x35d52d(0x112)][_0x35d52d(0x108)][_0x35d52d(0x10a)]();this[_0x35d52d(0xff)]=Boolean(_0x57bde2&&(_0x57bde2['is'](_0x35d52d(0x10d),_0x35d52d(0x100))||_0x57bde2['is'](_0x35d52d(0x10d),_0x35d52d(0x117))));}[_0x5d6ecb(0x113)](_0x585532){const _0x23df2b=_0x5d6ecb,_0x2f3bf8=this[_0x23df2b(0x101)][_0x23df2b(0x109)][_0x23df2b(0x112)][_0x23df2b(0x108)][_0x23df2b(0x10a)]();this[_0x23df2b(0x101)][_0x23df2b(0x109)][_0x23df2b(0x107)](_0x6df430=>{const _0x2a7fcf=_0x23df2b;_0x6df430[_0x2a7fcf(0x115)](_0x585532,_0x2f3bf8),_0x6df430[_0x2a7fcf(0x110)](_0x2a7fcf(0x106),_0x2f3bf8),_0x6df430[_0x2a7fcf(0x110)](_0x2a7fcf(0x10e),_0x2f3bf8);});}}function _0x3801(){const _0x1f2048=['14lHUObU','document','execute','252WqEEvg','setAttributes','7IYwCWf','imageInline','534233gdYfMb','4792296TFRCgZ','isEnabled','imageBlock','editor','256970AUXYqH','5454qoDZLU','12427822zRWEpN','refresh','srcset','change','selection','model','getSelectedElement','125199iNBqRy','3310qaTxhn','element','sizes','2182376EproHU','removeAttribute'];_0x3801=function(){return _0x1f2048;};return _0x3801();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x12f4(){var _0x5bc3fe=['1526628nCgzwU','2748136ItaOCb','4bMdbhl','9956844VjHqiD','UploadcareImageEdit','7PHQyAT','10ssnetS','requires','26176854yVKBZL','isOfficialPlugin','5gvOGGH','2214136BnaoKM','1958511xNhKqS','isPremiumPlugin','pluginName','1317396ouOxgo'];_0x12f4=function(){return _0x5bc3fe;};return _0x12f4();}function _0x40e9(_0x254b70,_0x3ea761){var _0x12f402=_0x12f4();return _0x40e9=function(_0x40e97b,_0x2b5fdb){_0x40e97b=_0x40e97b-0x1c0;var _0x261e12=_0x12f402[_0x40e97b];return _0x261e12;},_0x40e9(_0x254b70,_0x3ea761);}var _0x358779=_0x40e9;(function(_0x3924ca,_0x4cd972){var _0x4b796c=_0x40e9,_0x58edd7=_0x3924ca();while(!![]){try{var _0x34b2c0=-parseInt(_0x4b796c(0x1ce))/0x1+-parseInt(_0x4b796c(0x1c9))/0x2+-parseInt(_0x4b796c(0x1ca))/0x3*(-parseInt(_0x4b796c(0x1c0))/0x4)+parseInt(_0x4b796c(0x1c8))/0x5*(-parseInt(_0x4b796c(0x1cd))/0x6)+parseInt(_0x4b796c(0x1c3))/0x7*(-parseInt(_0x4b796c(0x1cf))/0x8)+parseInt(_0x4b796c(0x1c1))/0x9+parseInt(_0x4b796c(0x1c4))/0xa*(parseInt(_0x4b796c(0x1c6))/0xb);if(_0x34b2c0===_0x4cd972)break;else _0x58edd7['push'](_0x58edd7['shift']());}catch(_0xd1d9d5){_0x58edd7['push'](_0x58edd7['shift']());}}}(_0x12f4,0xe6008));import{Plugin as _0x2a4737}from'ckeditor5/src/core.js';import{UploadcareImageEditEditing as _0x54c74b}from'./uploadcareimageedit/uploadcareimageeditediting.js';import{UploadcareImageEditUI as _0x11bb72}from'./uploadcareimageedit/uploadcareimageeditui.js';export class UploadcareImageEdit extends _0x2a4737{static get[_0x358779(0x1cc)](){var _0x40c163=_0x358779;return _0x40c163(0x1c2);}static get[_0x358779(0x1c5)](){return[_0x54c74b,_0x11bb72];}static get[_0x358779(0x1c7)](){return!0x0;}static get[_0x358779(0x1cb)](){return!0x0;}}
23
+ function _0x11c6(_0x2d6032,_0x38c705){var _0x14d1f1=_0x14d1();return _0x11c6=function(_0x11c60a,_0x3b9b15){_0x11c60a=_0x11c60a-0x182;var _0x424375=_0x14d1f1[_0x11c60a];return _0x424375;},_0x11c6(_0x2d6032,_0x38c705);}var _0x28ab32=_0x11c6;(function(_0x5acd6a,_0x2c36e6){var _0x133186=_0x11c6,_0x4fbfae=_0x5acd6a();while(!![]){try{var _0x16d8fb=parseInt(_0x133186(0x184))/0x1*(-parseInt(_0x133186(0x190))/0x2)+parseInt(_0x133186(0x18a))/0x3*(-parseInt(_0x133186(0x188))/0x4)+parseInt(_0x133186(0x182))/0x5+-parseInt(_0x133186(0x186))/0x6*(-parseInt(_0x133186(0x185))/0x7)+parseInt(_0x133186(0x183))/0x8+parseInt(_0x133186(0x18d))/0x9+-parseInt(_0x133186(0x18b))/0xa;if(_0x16d8fb===_0x2c36e6)break;else _0x4fbfae['push'](_0x4fbfae['shift']());}catch(_0x38ac98){_0x4fbfae['push'](_0x4fbfae['shift']());}}}(_0x14d1,0xe8d76));import{Plugin as _0xc4862}from'ckeditor5/src/core.js';import{UploadcareImageEditEditing as _0x543091}from'./uploadcareimageedit/uploadcareimageeditediting.js';function _0x14d1(){var _0x26bd4b=['2388jzyXnB','isPremiumPlugin','68XfYRyZ','requires','78498vJjdsl','17589360hDAEsq','pluginName','4311549IlTruL','UploadcareImageEdit','isOfficialPlugin','202hnKTHv','9027850eTOiFv','5641440QuHvEA','9149xvyEIT','19201PeZdzF'];_0x14d1=function(){return _0x26bd4b;};return _0x14d1();}import{UploadcareImageEditUI as _0x7ccbc3}from'./uploadcareimageedit/uploadcareimageeditui.js';export class UploadcareImageEdit extends _0xc4862{static get[_0x28ab32(0x18c)](){var _0x50720a=_0x28ab32;return _0x50720a(0x18e);}static get[_0x28ab32(0x189)](){return[_0x543091,_0x7ccbc3];}static get[_0x28ab32(0x18f)](){return!0x0;}static get[_0x28ab32(0x187)](){return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x15f0f7=_0x33d6;(function(_0x581604,_0x54b3c3){const _0x3cf3f7=_0x33d6,_0x58aea0=_0x581604();while(!![]){try{const _0x1534fc=parseInt(_0x3cf3f7(0xf7))/0x1+-parseInt(_0x3cf3f7(0x11c))/0x2*(-parseInt(_0x3cf3f7(0xf5))/0x3)+parseInt(_0x3cf3f7(0xfb))/0x4*(-parseInt(_0x3cf3f7(0xfc))/0x5)+parseInt(_0x3cf3f7(0x102))/0x6+parseInt(_0x3cf3f7(0x132))/0x7+-parseInt(_0x3cf3f7(0x10b))/0x8+parseInt(_0x3cf3f7(0x118))/0x9*(-parseInt(_0x3cf3f7(0x100))/0xa);if(_0x1534fc===_0x54b3c3)break;else _0x58aea0['push'](_0x58aea0['shift']());}catch(_0x592786){_0x58aea0['push'](_0x58aea0['shift']());}}}(_0x24e1,0x6585a));import{Plugin as _0x35c097}from'ckeditor5/src/core.js';function _0x33d6(_0x2c03ac,_0x47e2d8){const _0x24e1b4=_0x24e1();return _0x33d6=function(_0x33d6c8,_0x4fb807){_0x33d6c8=_0x33d6c8-0xf2;let _0x39afcc=_0x24e1b4[_0x33d6c8];return _0x39afcc;},_0x33d6(_0x2c03ac,_0x47e2d8);}import{IconDropbox as _0x338f44,IconFacebook as _0x6b610a,IconGoogleDrive as _0x650c13,IconGooglePhotos as _0x4b414d,IconUploadcareImageUpload as _0x58f314,IconUploadcareLink as _0x232ebe,IconOneDrive as _0x4ad03}from'ckeditor5/src/icons.js';import{ButtonView as _0x20d70d,MenuBarMenuListItemButtonView as _0x50e607}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x59dc91}from'./uploadcareconfig.js';import{getTranslation as _0x275015}from'./utils/common-translations.js';import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';function _0x24e1(){const _0x16f286=['Local','assetManager','expired','licenseKey','uploadcareLicenseKeyInvalid','GPhotos','uploadcare','forEach','init','text','_createButton','editor','216570mfdNpd','pluginName','496002zsTIVJ','_showLicenseError','push','commands','2926480qHMmsb','5VWDztB','uploadcareLicenseKeyValid','invalid','ImageInsertUI','100efiTdX','map','806478FBpdoM','_createToolbarButton','evaluationLimit','Uploadcare','uploadcare.uploader.sourceList','label','has','plugins','_createDropdownButtons','1631736ZiMrHp','get','Facebook','uploadcareLicenseKeyTrialLimit','bind','domainLimit','config','Insert','reduce','OneDrive','uploadcareLicenseKeyUsageLimit','GDrive','registerIntegration','572211pUvpfD','execute','isImageSelected','tooltip','16MrsEnZ','uploadcareLicenseKeyDomainLimit','_createMenuBarButtons','Replace','_licenseKeyCheckInterval','upload','isEnabled','featureNotAllowed','isPremiumPlugin','destroy','URL','url','uploadcareLicenseKeyExpired','_getIntegrationKey','UploadcareUI','afterInit','isOfficialPlugin','locale','uploadcareLicenseKeyEvaluationLimit','Dropbox','icon','shortText','5454932ZmnkPa','uploadcareLicenseKeyNotAllowed','type','usageLimit','entries','withText','_normalizeConfigSourceList','trialLimit'];_0x24e1=function(){return _0x16f286;};return _0x24e1();}import'../theme/uploadcare-theme.css';import'../theme/uploadcareimageedit.css';export class UploadcareUI extends _0x35c097{[_0x15f0f7(0x13d)];[_0x15f0f7(0x120)];static get[_0x15f0f7(0xf6)](){const _0x3210b0=_0x15f0f7;return _0x3210b0(0x12a);}static get[_0x15f0f7(0x12c)](){return!0x0;}static get[_0x15f0f7(0x124)](){return!0x0;}[_0x15f0f7(0x142)](){const _0x4a42b0=_0x15f0f7;this[_0x4a42b0(0x13d)]=this[_0x4a42b0(0xf4)][_0x4a42b0(0x111)][_0x4a42b0(0x10c)](_0x4a42b0(0x13d));const _0x101c7e=this[_0x4a42b0(0xf4)];this[_0x4a42b0(0x120)]=setInterval(()=>{const _0x136433=_0x4a42b0;let _0x5d799c;for(const _0x2c81b7 in _0x101c7e){const _0x364ac4=_0x2c81b7,_0x32ce60=_0x101c7e[_0x364ac4];if(_0x136433(0xfd)==_0x32ce60||_0x136433(0x13e)==_0x32ce60||_0x136433(0x128)==_0x32ce60||_0x136433(0x11d)==_0x32ce60||_0x136433(0x133)==_0x32ce60||_0x136433(0x12e)==_0x32ce60||_0x136433(0x10e)==_0x32ce60||_0x136433(0x115)==_0x32ce60){delete _0x101c7e[_0x364ac4],_0x5d799c=_0x32ce60,clearInterval(this[_0x136433(0x120)]),this[_0x136433(0x120)]=void 0x0;break;}}_0x136433(0x13e)==_0x5d799c&&_0x101c7e[_0x136433(0xf8)](_0x136433(0xfe)),_0x136433(0x128)==_0x5d799c&&_0x101c7e[_0x136433(0xf8)](_0x136433(0x13c)),_0x136433(0x11d)==_0x5d799c&&_0x101c7e[_0x136433(0xf8)](_0x136433(0x110)),_0x136433(0x133)==_0x5d799c&&_0x101c7e[_0x136433(0xf8)](_0x136433(0x123),_0x136433(0x105)),_0x136433(0x12e)==_0x5d799c&&_0x101c7e[_0x136433(0xf8)](_0x136433(0x104)),_0x136433(0x10e)==_0x5d799c&&_0x101c7e[_0x136433(0xf8)](_0x136433(0x139)),_0x136433(0x115)==_0x5d799c&&_0x101c7e[_0x136433(0xf8)](_0x136433(0x135));},0x3e8);}[_0x15f0f7(0x12b)](){const _0x120bdd=_0x15f0f7,{editor:_0x4efc3c}=this,_0x44b99e=_0x4efc3c[_0x120bdd(0xfa)][_0x120bdd(0x10c)](_0x120bdd(0x140));if(!_0x44b99e)return;const _0x48fe3b=this[_0x120bdd(0x138)](_0x4efc3c[_0x120bdd(0x111)][_0x120bdd(0x10c)](_0x120bdd(0x106)))[_0x120bdd(0x113)]((_0x2da01a,_0x1520f)=>{const _0x36bdf2=_0x120bdd,_0x3d6c1f=this[_0x36bdf2(0x129)](_0x1520f[_0x36bdf2(0x134)]);return _0x2da01a[_0x3d6c1f]||(_0x2da01a[_0x3d6c1f]=[]),_0x2da01a[_0x3d6c1f][_0x36bdf2(0xf9)](_0x1520f),_0x2da01a;},{});_0x4efc3c[_0x120bdd(0x109)][_0x120bdd(0x108)](_0x120bdd(0xff))&&_0x4efc3c[_0x120bdd(0xfa)][_0x120bdd(0x10c)](_0x120bdd(0x140))&&Object[_0x120bdd(0x136)](_0x48fe3b)[_0x120bdd(0x141)](([_0x2f40e5,_0x3b8a3f])=>{const _0x56bfda=_0x120bdd;_0x4efc3c[_0x56bfda(0x109)][_0x56bfda(0x10c)](_0x56bfda(0xff))[_0x56bfda(0x117)]({'name':_0x2f40e5,'observable':()=>_0x44b99e,'buttonViewCreator':()=>this[_0x56bfda(0x103)](_0x3b8a3f),'formViewCreator':()=>this[_0x56bfda(0x10a)](_0x3b8a3f),'menuBarButtonViewCreator':()=>this[_0x56bfda(0x11e)](_0x3b8a3f),'override':_0x56bfda(0x13b)!==_0x2f40e5});});}[_0x15f0f7(0x125)](){const _0xd902d3=_0x15f0f7;super[_0xd902d3(0x125)](),this[_0xd902d3(0x120)]&&clearInterval(this[_0xd902d3(0x120)]);}[_0x15f0f7(0x138)](_0x37c44e){const _0x1a54ef=_0x15f0f7,{locale:_0x59ec0b}=this[_0x1a54ef(0xf4)];return _0x37c44e[_0x1a54ef(0x101)](_0x197990=>{const _0x357bdb=_0x1a54ef,_0xe476fd=_0x275015(_0x59ec0b,_0x197990,_0x357bdb(0x112));switch(_0x197990){case _0x59dc91[_0x357bdb(0x13a)]:return{'icon':_0x58f314,'type':_0x59dc91[_0x357bdb(0x13a)],..._0xe476fd};case _0x59dc91[_0x357bdb(0x126)]:return{'icon':_0x232ebe,'type':_0x59dc91[_0x357bdb(0x126)],..._0xe476fd};case _0x59dc91[_0x357bdb(0x12f)]:return{'icon':_0x338f44,'type':_0x59dc91[_0x357bdb(0x12f)],..._0xe476fd};case _0x59dc91[_0x357bdb(0x10d)]:return{'icon':_0x6b610a,'type':_0x59dc91[_0x357bdb(0x10d)],..._0xe476fd};case _0x59dc91[_0x357bdb(0x116)]:return{'icon':_0x650c13,'type':_0x59dc91[_0x357bdb(0x116)],..._0xe476fd};case _0x59dc91[_0x357bdb(0x13f)]:return{'icon':_0x4b414d,'type':_0x59dc91[_0x357bdb(0x13f)],..._0xe476fd};case _0x59dc91[_0x357bdb(0x114)]:return{'icon':_0x4ad03,'type':_0x59dc91[_0x357bdb(0x114)],..._0xe476fd};}});}[_0x15f0f7(0x129)](_0x124091){const _0x5aee7c=_0x15f0f7;switch(_0x124091){case _0x59dc91[_0x5aee7c(0x13a)]:return _0x5aee7c(0x121);case _0x59dc91[_0x5aee7c(0x126)]:return _0x5aee7c(0x127);default:return _0x5aee7c(0x13b);}}[_0x15f0f7(0xf3)](_0x2ebce2,_0x26092b){const _0x4a6a7b=_0x15f0f7,_0x339922=this[_0x4a6a7b(0xf4)],_0x648970=new _0x2ebce2(_0x339922[_0x4a6a7b(0x12d)]),_0x4722cc=_0x339922[_0x4a6a7b(0xfa)][_0x4a6a7b(0x10c)](_0x4a6a7b(0x140));return _0x648970[_0x4a6a7b(0x10f)](_0x4a6a7b(0x122))['to'](_0x4722cc),_0x648970['on'](_0x4a6a7b(0x119),()=>{const _0x4ed03d=_0x4a6a7b;_0x4722cc[_0x4ed03d(0x119)](_0x26092b);}),_0x648970;}[_0x15f0f7(0x103)](_0x372505){const _0x32ea47=_0x15f0f7,{locale:_0x32d661}=this[_0x32ea47(0xf4)],_0x16d129=this[_0x32ea47(0xf4)][_0x32ea47(0x109)][_0x32ea47(0x10c)](_0x32ea47(0xff)),_0xaf279a=_0x372505[0x0],_0xb28c1d=this[_0x32ea47(0xf3)](_0x20d70d,_0xaf279a[_0x32ea47(0x134)]);return _0xb28c1d[_0x32ea47(0x130)]=_0xaf279a[_0x32ea47(0x130)],_0xb28c1d[_0x32ea47(0x10f)](_0x32ea47(0x107))['to'](_0x16d129,_0x32ea47(0x11a),_0x55ba5d=>_0x275015(_0x32d661,_0xaf279a[_0x32ea47(0x134)],_0x55ba5d?_0x32ea47(0x11f):_0x32ea47(0x112))[_0x32ea47(0xf2)]),_0xb28c1d[_0x32ea47(0x11b)]=!0x0,_0xb28c1d;}[_0x15f0f7(0x10a)](_0x68c2af){const _0x258458=_0x15f0f7,{locale:_0x24aca2}=this[_0x258458(0xf4)],_0x3e4451=this[_0x258458(0xf4)][_0x258458(0x109)][_0x258458(0x10c)](_0x258458(0xff));return _0x68c2af[_0x258458(0x101)](_0x17b5ec=>{const _0x593eba=_0x258458,_0x5513e3=this[_0x593eba(0xf3)](_0x20d70d,_0x17b5ec[_0x593eba(0x134)]);return _0x5513e3[_0x593eba(0x137)]=!0x0,_0x5513e3[_0x593eba(0x130)]=_0x17b5ec[_0x593eba(0x130)],_0x5513e3[_0x593eba(0x10f)](_0x593eba(0x107))['to'](_0x3e4451,_0x593eba(0x11a),_0x565691=>_0x275015(_0x24aca2,_0x17b5ec[_0x593eba(0x134)],_0x565691?_0x593eba(0x11f):_0x593eba(0x112))[_0x593eba(0xf2)]),_0x5513e3;});}[_0x15f0f7(0x11e)](_0x1d835a){const _0x2b6542=_0x15f0f7;return _0x1d835a[_0x2b6542(0x101)](_0x13640c=>{const _0x33ddad=_0x2b6542,_0x5baf53=this[_0x33ddad(0xf3)](_0x50e607,_0x13640c[_0x33ddad(0x134)]);return _0x5baf53[_0x33ddad(0x130)]=_0x13640c[_0x33ddad(0x130)],_0x5baf53[_0x33ddad(0x107)]=_0x13640c[_0x33ddad(0x131)],_0x5baf53;});}}
23
+ const _0x536e59=_0x3a03;(function(_0x23b141,_0x335c19){const _0x4f3a07=_0x3a03,_0x253ac6=_0x23b141();while(!![]){try{const _0xea053b=parseInt(_0x4f3a07(0x168))/0x1*(-parseInt(_0x4f3a07(0x152))/0x2)+-parseInt(_0x4f3a07(0x17d))/0x3*(-parseInt(_0x4f3a07(0x179))/0x4)+parseInt(_0x4f3a07(0x14a))/0x5+parseInt(_0x4f3a07(0x16f))/0x6*(-parseInt(_0x4f3a07(0x151))/0x7)+-parseInt(_0x4f3a07(0x144))/0x8+-parseInt(_0x4f3a07(0x159))/0x9*(parseInt(_0x4f3a07(0x15b))/0xa)+parseInt(_0x4f3a07(0x158))/0xb;if(_0xea053b===_0x335c19)break;else _0x253ac6['push'](_0x253ac6['shift']());}catch(_0x29f842){_0x253ac6['push'](_0x253ac6['shift']());}}}(_0x1cc5,0x6fbd7));import{Plugin as _0x37a29e}from'ckeditor5/src/core.js';function _0x3a03(_0x5462c1,_0x3fe212){const _0x1cc57d=_0x1cc5();return _0x3a03=function(_0x3a034f,_0x4be51c){_0x3a034f=_0x3a034f-0x131;let _0x3dbecf=_0x1cc57d[_0x3a034f];return _0x3dbecf;},_0x3a03(_0x5462c1,_0x3fe212);}import{IconDropbox as _0x342c35,IconFacebook as _0x4251a5,IconGoogleDrive as _0x521194,IconGooglePhotos as _0x12ceaf,IconUploadcareImageUpload as _0x25f38b,IconUploadcareLink as _0x3c682d,IconOneDrive as _0x2bbe83}from'ckeditor5/src/icons.js';import{ButtonView as _0x1ab57e,MenuBarMenuListItemButtonView as _0x1d957d}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x4b60a8}from'./uploadcareconfig.js';import{getTranslation as _0x50648c}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 _0x1cc5(){const _0x50945a=['1191738PZjNCc','ImageInsertUI','entries','url','registerIntegration','upload','_getIntegrationKey','uploadcareLicenseKeyValid','Replace','destroy','assetManager','_createButton','isEnabled','uploadcareLicenseKeyDomainLimit','GPhotos','uploadcareLicenseKeyInvalid','text','execute','UploadcareUI','licenseKey','uploadcareLicenseKeyUsageLimit','featureNotAllowed','isOfficialPlugin','withText','forEach','2040152cQuipd','uploadcareLicenseKeyTrialLimit','_createToolbarButton','_createMenuBarButtons','commands','GDrive','3055605HkPTNI','trialLimit','URL','Dropbox','has','_licenseKeyCheckInterval','_createDropdownButtons','7cbmPBh','2AbUFsk','label','Local','invalid','isImageSelected','usageLimit','12297923bHIwqW','18IpUFAi','type','4301300owziKF','uploadcare.uploader.sourceList','uploadcareLicenseKeyEvaluationLimit','plugins','push','config','Insert','_showLicenseError','domainLimit','locale','expired','icon','init','47759Dhvmvb','get','OneDrive','reduce','evaluationLimit','afterInit','pluginName','5417286TWzlhI','map','uploadcareLicenseKeyExpired','shortText','Uploadcare','uploadcare','_normalizeConfigSourceList','Facebook','editor','isPremiumPlugin','8bchrSB','bind','uploadcareLicenseKeyNotAllowed','tooltip'];_0x1cc5=function(){return _0x50945a;};return _0x1cc5();}export class UploadcareUI extends _0x37a29e{[_0x536e59(0x13e)];[_0x536e59(0x14f)];static get[_0x536e59(0x16e)](){const _0x543b75=_0x536e59;return _0x543b75(0x13d);}static get[_0x536e59(0x141)](){return!0x0;}static get[_0x536e59(0x178)](){return!0x0;}[_0x536e59(0x167)](){const _0xd6e89f=_0x536e59;this[_0xd6e89f(0x13e)]=this[_0xd6e89f(0x177)][_0xd6e89f(0x160)][_0xd6e89f(0x169)](_0xd6e89f(0x13e));const _0x1bbdf2=this[_0xd6e89f(0x177)];this[_0xd6e89f(0x14f)]=setInterval(()=>{const _0x4f88ad=_0xd6e89f;let _0x49be95;for(const _0xec3c28 in _0x1bbdf2){const _0x3bf38b=_0xec3c28,_0x4eb76d=_0x1bbdf2[_0x3bf38b];if(_0x4f88ad(0x132)==_0x4eb76d||_0x4f88ad(0x13a)==_0x4eb76d||_0x4f88ad(0x171)==_0x4eb76d||_0x4f88ad(0x138)==_0x4eb76d||_0x4f88ad(0x17b)==_0x4eb76d||_0x4f88ad(0x15d)==_0x4eb76d||_0x4f88ad(0x145)==_0x4eb76d||_0x4f88ad(0x13f)==_0x4eb76d){delete _0x1bbdf2[_0x3bf38b],_0x49be95=_0x4eb76d,clearInterval(this[_0x4f88ad(0x14f)]),this[_0x4f88ad(0x14f)]=void 0x0;break;}}_0x4f88ad(0x13a)==_0x49be95&&_0x1bbdf2[_0x4f88ad(0x162)](_0x4f88ad(0x155)),_0x4f88ad(0x171)==_0x49be95&&_0x1bbdf2[_0x4f88ad(0x162)](_0x4f88ad(0x165)),_0x4f88ad(0x138)==_0x49be95&&_0x1bbdf2[_0x4f88ad(0x162)](_0x4f88ad(0x163)),_0x4f88ad(0x17b)==_0x49be95&&_0x1bbdf2[_0x4f88ad(0x162)](_0x4f88ad(0x140),_0x4f88ad(0x173)),_0x4f88ad(0x15d)==_0x49be95&&_0x1bbdf2[_0x4f88ad(0x162)](_0x4f88ad(0x16c)),_0x4f88ad(0x145)==_0x49be95&&_0x1bbdf2[_0x4f88ad(0x162)](_0x4f88ad(0x14b)),_0x4f88ad(0x13f)==_0x49be95&&_0x1bbdf2[_0x4f88ad(0x162)](_0x4f88ad(0x157));},0x3e8);}[_0x536e59(0x16d)](){const _0x9bfd00=_0x536e59,{editor:_0x2c3214}=this,_0x1b15b6=_0x2c3214[_0x9bfd00(0x148)][_0x9bfd00(0x169)](_0x9bfd00(0x174));if(!_0x1b15b6)return;const _0x98fe36=this[_0x9bfd00(0x175)](_0x2c3214[_0x9bfd00(0x160)][_0x9bfd00(0x169)](_0x9bfd00(0x15c)))[_0x9bfd00(0x16b)]((_0xab5eef,_0x2baae3)=>{const _0x1ee8c1=_0x9bfd00,_0x1014e3=this[_0x1ee8c1(0x131)](_0x2baae3[_0x1ee8c1(0x15a)]);return _0xab5eef[_0x1014e3]||(_0xab5eef[_0x1014e3]=[]),_0xab5eef[_0x1014e3][_0x1ee8c1(0x15f)](_0x2baae3),_0xab5eef;},{});_0x2c3214[_0x9bfd00(0x15e)][_0x9bfd00(0x14e)](_0x9bfd00(0x17e))&&_0x2c3214[_0x9bfd00(0x148)][_0x9bfd00(0x169)](_0x9bfd00(0x174))&&Object[_0x9bfd00(0x17f)](_0x98fe36)[_0x9bfd00(0x143)](([_0x33fa04,_0x2ec776])=>{const _0x5ad551=_0x9bfd00;_0x2c3214[_0x5ad551(0x15e)][_0x5ad551(0x169)](_0x5ad551(0x17e))[_0x5ad551(0x181)]({'name':_0x33fa04,'observable':()=>_0x1b15b6,'buttonViewCreator':()=>this[_0x5ad551(0x146)](_0x2ec776),'formViewCreator':()=>this[_0x5ad551(0x150)](_0x2ec776),'menuBarButtonViewCreator':()=>this[_0x5ad551(0x147)](_0x2ec776),'override':_0x5ad551(0x135)!==_0x33fa04});});}[_0x536e59(0x134)](){const _0x3aaf23=_0x536e59;super[_0x3aaf23(0x134)](),this[_0x3aaf23(0x14f)]&&clearInterval(this[_0x3aaf23(0x14f)]);}[_0x536e59(0x175)](_0x8b721d){const _0x46cab7=_0x536e59,{locale:_0x37cb85}=this[_0x46cab7(0x177)];return _0x8b721d[_0x46cab7(0x170)](_0x183081=>{const _0x5873c8=_0x46cab7,_0x46a063=_0x50648c(_0x37cb85,_0x183081,_0x5873c8(0x161));switch(_0x183081){case _0x4b60a8[_0x5873c8(0x154)]:return{'icon':_0x25f38b,'type':_0x4b60a8[_0x5873c8(0x154)],..._0x46a063};case _0x4b60a8[_0x5873c8(0x14c)]:return{'icon':_0x3c682d,'type':_0x4b60a8[_0x5873c8(0x14c)],..._0x46a063};case _0x4b60a8[_0x5873c8(0x14d)]:return{'icon':_0x342c35,'type':_0x4b60a8[_0x5873c8(0x14d)],..._0x46a063};case _0x4b60a8[_0x5873c8(0x176)]:return{'icon':_0x4251a5,'type':_0x4b60a8[_0x5873c8(0x176)],..._0x46a063};case _0x4b60a8[_0x5873c8(0x149)]:return{'icon':_0x521194,'type':_0x4b60a8[_0x5873c8(0x149)],..._0x46a063};case _0x4b60a8[_0x5873c8(0x139)]:return{'icon':_0x12ceaf,'type':_0x4b60a8[_0x5873c8(0x139)],..._0x46a063};case _0x4b60a8[_0x5873c8(0x16a)]:return{'icon':_0x2bbe83,'type':_0x4b60a8[_0x5873c8(0x16a)],..._0x46a063};}});}[_0x536e59(0x131)](_0x2a9633){const _0x5cb25a=_0x536e59;switch(_0x2a9633){case _0x4b60a8[_0x5cb25a(0x154)]:return _0x5cb25a(0x182);case _0x4b60a8[_0x5cb25a(0x14c)]:return _0x5cb25a(0x180);default:return _0x5cb25a(0x135);}}[_0x536e59(0x136)](_0x540cd4,_0x519245){const _0x445628=_0x536e59,_0x369b8f=this[_0x445628(0x177)],_0x415216=new _0x540cd4(_0x369b8f[_0x445628(0x164)]),_0x125114=_0x369b8f[_0x445628(0x148)][_0x445628(0x169)](_0x445628(0x174));return _0x415216[_0x445628(0x17a)](_0x445628(0x137))['to'](_0x125114),_0x415216['on'](_0x445628(0x13c),()=>{const _0x5b824b=_0x445628;_0x125114[_0x5b824b(0x13c)](_0x519245);}),_0x415216;}[_0x536e59(0x146)](_0x7e3268){const _0x599e9b=_0x536e59,{locale:_0xab8ece}=this[_0x599e9b(0x177)],_0x350e96=this[_0x599e9b(0x177)][_0x599e9b(0x15e)][_0x599e9b(0x169)](_0x599e9b(0x17e)),_0x170d8b=_0x7e3268[0x0],_0xb317b1=this[_0x599e9b(0x136)](_0x1ab57e,_0x170d8b[_0x599e9b(0x15a)]);return _0xb317b1[_0x599e9b(0x166)]=_0x170d8b[_0x599e9b(0x166)],_0xb317b1[_0x599e9b(0x17a)](_0x599e9b(0x153))['to'](_0x350e96,_0x599e9b(0x156),_0x2fcbf5=>_0x50648c(_0xab8ece,_0x170d8b[_0x599e9b(0x15a)],_0x2fcbf5?_0x599e9b(0x133):_0x599e9b(0x161))[_0x599e9b(0x13b)]),_0xb317b1[_0x599e9b(0x17c)]=!0x0,_0xb317b1;}[_0x536e59(0x150)](_0x307dad){const _0x38a071=_0x536e59,{locale:_0x1e28b4}=this[_0x38a071(0x177)],_0x26b660=this[_0x38a071(0x177)][_0x38a071(0x15e)][_0x38a071(0x169)](_0x38a071(0x17e));return _0x307dad[_0x38a071(0x170)](_0x29f270=>{const _0x269708=_0x38a071,_0x576d07=this[_0x269708(0x136)](_0x1ab57e,_0x29f270[_0x269708(0x15a)]);return _0x576d07[_0x269708(0x142)]=!0x0,_0x576d07[_0x269708(0x166)]=_0x29f270[_0x269708(0x166)],_0x576d07[_0x269708(0x17a)](_0x269708(0x153))['to'](_0x26b660,_0x269708(0x156),_0x14ba61=>_0x50648c(_0x1e28b4,_0x29f270[_0x269708(0x15a)],_0x14ba61?_0x269708(0x133):_0x269708(0x161))[_0x269708(0x13b)]),_0x576d07;});}[_0x536e59(0x147)](_0x24cb73){const _0x22bd82=_0x536e59;return _0x24cb73[_0x22bd82(0x170)](_0x2f3abf=>{const _0x50aa10=_0x22bd82,_0x405039=this[_0x50aa10(0x136)](_0x1d957d,_0x2f3abf[_0x50aa10(0x15a)]);return _0x405039[_0x50aa10(0x166)]=_0x2f3abf[_0x50aa10(0x166)],_0x405039[_0x50aa10(0x153)]=_0x2f3abf[_0x50aa10(0x172)],_0x405039;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0xcbc18c}from'ckeditor5/src/core.js';import{FileRepository as _0x16f005}from'ckeditor5/src/upload.js';import{UploadcareEditing as _0x2c5da8}from'./uploadcareediting.js';import{UploadUtils as _0x1ae357}from'./utils/uploadutils.js';import{getImageUrls as _0x72167d}from'./utils/editingutils.js';export class UploadcareUploadAdapter extends _0xcbc18c{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x16f005,_0x2c5da8];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x109515=this['editor'];if(!!!_0x109515['config']['get']('uploadcare'))return;_0x109515['plugins']['get'](_0x16f005)['createUploadAdapter']=_0x433950=>new k(_0x433950,_0x109515),_0x109515['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x31bd3a,{imageElement:_0x9ceb4a,data:_0xd112dd})=>{_0x109515['model']['change'](_0x56871c=>{_0x56871c['setAttribute']('uploadcareImageId',_0xd112dd['uploadcareImageId'],_0x9ceb4a);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x343a30,_0x15950a){this['loader']=_0x343a30,this['editor']=_0x15950a,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x3a2967=await this['loader']['file'];return _0x1ae357['upload']({'file':_0x3a2967,'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':_0x498571=>{_0x498571&&_0x498571['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x498571['value']);}})['then'](async _0x58c6a7=>{const {imageFallbackUrl:_0x3306c4,imageSources:_0x1beee0}=_0x72167d(_0x58c6a7['cdnUrl'],_0x58c6a7['imageInfo']['width']);return{'uploadcareImageId':_0x58c6a7['uuid'],'default':_0x3306c4,'sources':_0x1beee0};})['catch'](()=>{const _0x4f3e15=t('Cannot\x20upload\x20file:')+('\x20'+_0x3a2967['name']+'.');return Promise['reject'](_0x4f3e15);});}['abort'](){this['controller']['abort']();}}
23
+ import{Plugin as _0xab9dff}from'ckeditor5/src/core.js';import{FileRepository as _0x1a3d5b}from'ckeditor5/src/upload.js';import{UploadcareEditing as _0xf26181}from'./uploadcareediting.js';import{UploadUtils as _0x231e36}from'./utils/uploadutils.js';import{getImageUrls as _0x20806a}from'./utils/editingutils.js';export class UploadcareUploadAdapter extends _0xab9dff{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x1a3d5b,_0xf26181];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x1bfbd5=this['editor'];if(!!!_0x1bfbd5['config']['get']('uploadcare'))return;_0x1bfbd5['plugins']['get'](_0x1a3d5b)['createUploadAdapter']=_0xbef4c3=>new k(_0xbef4c3,_0x1bfbd5),_0x1bfbd5['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x3fb6d7,{imageElement:_0x99d481,data:_0x4dccdc})=>{_0x1bfbd5['model']['change'](_0x33e3a8=>{_0x33e3a8['setAttribute']('uploadcareImageId',_0x4dccdc['uploadcareImageId'],_0x99d481);});});}}class k{['loader'];['editor'];['controller'];constructor(_0xbab936,_0x33b282){this['loader']=_0xbab936,this['editor']=_0x33b282,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x2774dd=await this['loader']['file'];return _0x231e36['upload']({'file':_0x2774dd,'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':_0x212e1d=>{_0x212e1d&&_0x212e1d['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x212e1d['value']);}})['then'](async _0x4419a8=>{const {imageFallbackUrl:_0x49b4f8,imageSources:_0xf7240}=_0x20806a(_0x4419a8['cdnUrl'],_0x4419a8['imageInfo']['width']);return{'uploadcareImageId':_0x4419a8['uuid'],'default':_0x49b4f8,'sources':_0xf7240};})['catch'](()=>{const _0x5dacd1=t('Cannot\x20upload\x20file:')+('\x20'+_0x2774dd['name']+'.');return Promise['reject'](_0x5dacd1);});}['abort'](){this['controller']['abort']();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{UploadcareSource as _0x143696}from'../uploadcareconfig.js';export function getTranslation(_0x3e39c6,_0x4785dc,_0x14fdcd){const t=_0x3e39c6['t'],_0x4089c1=_0x3e39c6['t'];switch(_0x4785dc){case _0x143696['Local']:return{'text':_0x4089c1('Insert'===_0x14fdcd?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x4089c1('From\x20computer')};case _0x143696['URL']:return{'text':'Insert'===_0x14fdcd?_0x4089c1('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x4089c1('Via\x20URL')};case _0x143696['Dropbox']:return{'text':t('Insert'===_0x14fdcd?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x143696['Facebook']:return{'text':t('Insert'===_0x14fdcd?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x143696['GDrive']:return{'text':t('Insert'===_0x14fdcd?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x143696['GPhotos']:return{'text':t('Insert'===_0x14fdcd?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x143696['OneDrive']:return{'text':t('Insert'===_0x14fdcd?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x4785dc;}}
23
+ import{UploadcareSource as _0x5d4c92}from'../uploadcareconfig.js';export function getTranslation(_0x5c520a,_0x3f671e,_0x1abdf5){const t=_0x5c520a['t'],_0x1181b6=_0x5c520a['t'];switch(_0x3f671e){case _0x5d4c92['Local']:return{'text':_0x1181b6('Insert'===_0x1abdf5?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x1181b6('From\x20computer')};case _0x5d4c92['URL']:return{'text':'Insert'===_0x1abdf5?_0x1181b6('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x1181b6('Via\x20URL')};case _0x5d4c92['Dropbox']:return{'text':t('Insert'===_0x1abdf5?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x5d4c92['Facebook']:return{'text':t('Insert'===_0x1abdf5?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x5d4c92['GDrive']:return{'text':t('Insert'===_0x1abdf5?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x5d4c92['GPhotos']:return{'text':t('Insert'===_0x1abdf5?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x5d4c92['OneDrive']:return{'text':t('Insert'===_0x1abdf5?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x3f671e;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x27a9(_0x3a4e4f,_0x1fad7e){var _0x5bbbdb=_0x5bbb();return _0x27a9=function(_0x27a972,_0x4f07c2){_0x27a972=_0x27a972-0x16a;var _0xdde421=_0x5bbbdb[_0x27a972];return _0xdde421;},_0x27a9(_0x3a4e4f,_0x1fad7e);}var _0x4aef8e=_0x27a9;function _0x5bbb(){var _0x577cdf=['1981420yYySRp','forwardCycle','focusCycler','14732SWWHJA','true','createCollection','4529815HoZWBr','21mfLpuM','2176232NtEyIg','bindTemplate','div','116gICELl','393132nwkhMu','14665662UXCYHo','797481onPrDJ','fire','getFocusableElement','focusTracker'];_0x5bbb=function(){return _0x577cdf;};return _0x5bbb();}(function(_0x5e86f1,_0x352284){var _0x48d4b2=_0x27a9,_0x531fbd=_0x5e86f1();while(!![]){try{var _0x3d72b8=parseInt(_0x48d4b2(0x170))/0x1*(parseInt(_0x48d4b2(0x178))/0x2)+parseInt(_0x48d4b2(0x17b))/0x3+-parseInt(_0x48d4b2(0x16d))/0x4+-parseInt(_0x48d4b2(0x173))/0x5+-parseInt(_0x48d4b2(0x179))/0x6+-parseInt(_0x48d4b2(0x174))/0x7*(parseInt(_0x48d4b2(0x175))/0x8)+parseInt(_0x48d4b2(0x17a))/0x9;if(_0x3d72b8===_0x352284)break;else _0x531fbd['push'](_0x531fbd['shift']());}catch(_0x63277){_0x531fbd['push'](_0x531fbd['shift']());}}}(_0x5bbb,0x71fba));import{FocusTracker as _0x47fda3}from'ckeditor5/src/utils.js';import{View as _0x4dba4b,FocusCycler as _0xf20ecb}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';export class DialogFocusManagerView extends _0x4dba4b{[_0x4aef8e(0x16c)];[_0x4aef8e(0x16f)];constructor(_0x4108b0){var _0x3b091f=_0x4aef8e;super(_0x4108b0),this[_0x3b091f(0x16c)]=new _0x47fda3(),this[_0x3b091f(0x16f)]=new _0xf20ecb({'focusables':this[_0x3b091f(0x172)](),'focusTracker':this[_0x3b091f(0x16c)]});}[_0x4aef8e(0x16b)](){var _0x2a7555=_0x4aef8e;return{'tag':_0x2a7555(0x177),'attributes':{'aria-hidden':_0x2a7555(0x171),'tabindex':'0'},'on':{'focus':this[_0x2a7555(0x176)]['to'](()=>{var _0xf252ff=_0x2a7555;this[_0xf252ff(0x16f)][_0xf252ff(0x16a)](_0xf252ff(0x16e));})}};}}
23
+ var _0x48b916=_0xedf3;(function(_0x382ba4,_0x1ded55){var _0x580b48=_0xedf3,_0x536c4b=_0x382ba4();while(!![]){try{var _0x481915=parseInt(_0x580b48(0xbc))/0x1+parseInt(_0x580b48(0xc2))/0x2+parseInt(_0x580b48(0xb4))/0x3+parseInt(_0x580b48(0xb9))/0x4*(parseInt(_0x580b48(0xb5))/0x5)+parseInt(_0x580b48(0xbe))/0x6+parseInt(_0x580b48(0xb7))/0x7*(-parseInt(_0x580b48(0xbb))/0x8)+-parseInt(_0x580b48(0xb6))/0x9*(parseInt(_0x580b48(0xc3))/0xa);if(_0x481915===_0x1ded55)break;else _0x536c4b['push'](_0x536c4b['shift']());}catch(_0x1842d3){_0x536c4b['push'](_0x536c4b['shift']());}}}(_0x168c,0xa0e5b));function _0x168c(){var _0xaa7811=['1276983egxGQO','491165zFKsHT','206883ptpAeD','6011971QaWRBt','true','36rpxLPE','createCollection','8ukUkQu','536245PTtuCY','forwardCycle','1169718IAvvGa','getFocusableElement','bindTemplate','div','2218018uiYzQd','710LUqYWd','fire','focusTracker','focusCycler'];_0x168c=function(){return _0xaa7811;};return _0x168c();}function _0xedf3(_0x5b9cec,_0x71da62){var _0x168c1f=_0x168c();return _0xedf3=function(_0xedf371,_0x25d236){_0xedf371=_0xedf371-0xb2;var _0x366c08=_0x168c1f[_0xedf371];return _0x366c08;},_0xedf3(_0x5b9cec,_0x71da62);}import{FocusTracker as _0x225b0c}from'ckeditor5/src/utils.js';import{View as _0x1f4236,FocusCycler as _0x17706d}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';export class DialogFocusManagerView extends _0x1f4236{[_0x48b916(0xb2)];[_0x48b916(0xb3)];constructor(_0x1efb36){var _0x1b3717=_0x48b916;super(_0x1efb36),this[_0x1b3717(0xb2)]=new _0x225b0c(),this[_0x1b3717(0xb3)]=new _0x17706d({'focusables':this[_0x1b3717(0xba)](),'focusTracker':this[_0x1b3717(0xb2)]});}[_0x48b916(0xbf)](){var _0x2892b1=_0x48b916;return{'tag':_0x2892b1(0xc1),'attributes':{'aria-hidden':_0x2892b1(0xb8),'tabindex':'0'},'on':{'focus':this[_0x2892b1(0xc0)]['to'](()=>{var _0x420499=_0x2892b1;this[_0x420499(0xb3)][_0x420499(0xc4)](_0x420499(0xbd));})}};}}