@ckeditor/ckeditor5-uploadcare 44.3.0 → 45.0.0-alpha.1

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 (189) hide show
  1. package/build/translations/be.js +1 -0
  2. package/build/uploadcare.js +1 -1
  3. package/ckeditor5-metadata.json +1 -1
  4. package/dist/index.js +3 -3
  5. package/dist/translations/af.js +1 -1
  6. package/dist/translations/af.umd.js +1 -1
  7. package/dist/translations/ar.js +1 -1
  8. package/dist/translations/ar.umd.js +1 -1
  9. package/dist/translations/ast.js +1 -1
  10. package/dist/translations/ast.umd.js +1 -1
  11. package/dist/translations/az.js +1 -1
  12. package/dist/translations/az.umd.js +1 -1
  13. package/dist/translations/be.d.ts +8 -0
  14. package/dist/translations/be.js +23 -0
  15. package/dist/translations/be.umd.js +23 -0
  16. package/dist/translations/bg.js +1 -1
  17. package/dist/translations/bg.umd.js +1 -1
  18. package/dist/translations/bn.js +1 -1
  19. package/dist/translations/bn.umd.js +1 -1
  20. package/dist/translations/bs.js +1 -1
  21. package/dist/translations/bs.umd.js +1 -1
  22. package/dist/translations/ca.js +1 -1
  23. package/dist/translations/ca.umd.js +1 -1
  24. package/dist/translations/cs.js +1 -1
  25. package/dist/translations/cs.umd.js +1 -1
  26. package/dist/translations/da.js +1 -1
  27. package/dist/translations/da.umd.js +1 -1
  28. package/dist/translations/de-ch.js +1 -1
  29. package/dist/translations/de-ch.umd.js +1 -1
  30. package/dist/translations/de.js +1 -1
  31. package/dist/translations/de.umd.js +1 -1
  32. package/dist/translations/el.js +1 -1
  33. package/dist/translations/el.umd.js +1 -1
  34. package/dist/translations/en-au.js +1 -1
  35. package/dist/translations/en-au.umd.js +1 -1
  36. package/dist/translations/en-gb.js +1 -1
  37. package/dist/translations/en-gb.umd.js +1 -1
  38. package/dist/translations/en.js +1 -1
  39. package/dist/translations/en.umd.js +1 -1
  40. package/dist/translations/eo.js +1 -1
  41. package/dist/translations/eo.umd.js +1 -1
  42. package/dist/translations/es-co.js +1 -1
  43. package/dist/translations/es-co.umd.js +1 -1
  44. package/dist/translations/es.js +1 -1
  45. package/dist/translations/es.umd.js +1 -1
  46. package/dist/translations/et.js +1 -1
  47. package/dist/translations/et.umd.js +1 -1
  48. package/dist/translations/eu.js +1 -1
  49. package/dist/translations/eu.umd.js +1 -1
  50. package/dist/translations/fa.js +1 -1
  51. package/dist/translations/fa.umd.js +1 -1
  52. package/dist/translations/fi.js +1 -1
  53. package/dist/translations/fi.umd.js +1 -1
  54. package/dist/translations/fr.js +1 -1
  55. package/dist/translations/fr.umd.js +1 -1
  56. package/dist/translations/gl.js +1 -1
  57. package/dist/translations/gl.umd.js +1 -1
  58. package/dist/translations/gu.js +1 -1
  59. package/dist/translations/gu.umd.js +1 -1
  60. package/dist/translations/he.js +1 -1
  61. package/dist/translations/he.umd.js +1 -1
  62. package/dist/translations/hi.js +1 -1
  63. package/dist/translations/hi.umd.js +1 -1
  64. package/dist/translations/hr.js +1 -1
  65. package/dist/translations/hr.umd.js +1 -1
  66. package/dist/translations/hu.js +1 -1
  67. package/dist/translations/hu.umd.js +1 -1
  68. package/dist/translations/hy.js +1 -1
  69. package/dist/translations/hy.umd.js +1 -1
  70. package/dist/translations/id.js +1 -1
  71. package/dist/translations/id.umd.js +1 -1
  72. package/dist/translations/it.js +1 -1
  73. package/dist/translations/it.umd.js +1 -1
  74. package/dist/translations/ja.js +1 -1
  75. package/dist/translations/ja.umd.js +1 -1
  76. package/dist/translations/jv.js +1 -1
  77. package/dist/translations/jv.umd.js +1 -1
  78. package/dist/translations/kk.js +1 -1
  79. package/dist/translations/kk.umd.js +1 -1
  80. package/dist/translations/km.js +1 -1
  81. package/dist/translations/km.umd.js +1 -1
  82. package/dist/translations/kn.js +1 -1
  83. package/dist/translations/kn.umd.js +1 -1
  84. package/dist/translations/ko.js +1 -1
  85. package/dist/translations/ko.umd.js +1 -1
  86. package/dist/translations/ku.js +1 -1
  87. package/dist/translations/ku.umd.js +1 -1
  88. package/dist/translations/lt.js +1 -1
  89. package/dist/translations/lt.umd.js +1 -1
  90. package/dist/translations/lv.js +1 -1
  91. package/dist/translations/lv.umd.js +1 -1
  92. package/dist/translations/ms.js +1 -1
  93. package/dist/translations/ms.umd.js +1 -1
  94. package/dist/translations/nb.js +1 -1
  95. package/dist/translations/nb.umd.js +1 -1
  96. package/dist/translations/ne.js +1 -1
  97. package/dist/translations/ne.umd.js +1 -1
  98. package/dist/translations/nl.js +1 -1
  99. package/dist/translations/nl.umd.js +1 -1
  100. package/dist/translations/no.js +1 -1
  101. package/dist/translations/no.umd.js +1 -1
  102. package/dist/translations/oc.js +1 -1
  103. package/dist/translations/oc.umd.js +1 -1
  104. package/dist/translations/pl.js +1 -1
  105. package/dist/translations/pl.umd.js +1 -1
  106. package/dist/translations/pt-br.js +1 -1
  107. package/dist/translations/pt-br.umd.js +1 -1
  108. package/dist/translations/pt.js +1 -1
  109. package/dist/translations/pt.umd.js +1 -1
  110. package/dist/translations/ro.js +1 -1
  111. package/dist/translations/ro.umd.js +1 -1
  112. package/dist/translations/ru.js +1 -1
  113. package/dist/translations/ru.umd.js +1 -1
  114. package/dist/translations/si.js +1 -1
  115. package/dist/translations/si.umd.js +1 -1
  116. package/dist/translations/sk.js +1 -1
  117. package/dist/translations/sk.umd.js +1 -1
  118. package/dist/translations/sl.js +1 -1
  119. package/dist/translations/sl.umd.js +1 -1
  120. package/dist/translations/sq.js +1 -1
  121. package/dist/translations/sq.umd.js +1 -1
  122. package/dist/translations/sr-latn.js +1 -1
  123. package/dist/translations/sr-latn.umd.js +1 -1
  124. package/dist/translations/sr.js +1 -1
  125. package/dist/translations/sr.umd.js +1 -1
  126. package/dist/translations/sv.js +1 -1
  127. package/dist/translations/sv.umd.js +1 -1
  128. package/dist/translations/th.js +1 -1
  129. package/dist/translations/th.umd.js +1 -1
  130. package/dist/translations/ti.js +1 -1
  131. package/dist/translations/ti.umd.js +1 -1
  132. package/dist/translations/tk.js +1 -1
  133. package/dist/translations/tk.umd.js +1 -1
  134. package/dist/translations/tr.js +1 -1
  135. package/dist/translations/tr.umd.js +1 -1
  136. package/dist/translations/tt.js +1 -1
  137. package/dist/translations/tt.umd.js +1 -1
  138. package/dist/translations/ug.js +1 -1
  139. package/dist/translations/ug.umd.js +1 -1
  140. package/dist/translations/uk.js +1 -1
  141. package/dist/translations/uk.umd.js +1 -1
  142. package/dist/translations/ur.js +1 -1
  143. package/dist/translations/ur.umd.js +1 -1
  144. package/dist/translations/uz.js +1 -1
  145. package/dist/translations/uz.umd.js +1 -1
  146. package/dist/translations/vi.js +1 -1
  147. package/dist/translations/vi.umd.js +1 -1
  148. package/dist/translations/zh-cn.js +1 -1
  149. package/dist/translations/zh-cn.umd.js +1 -1
  150. package/dist/translations/zh.js +1 -1
  151. package/dist/translations/zh.umd.js +1 -1
  152. package/lang/translations/be.po +100 -0
  153. package/package.json +9 -8
  154. package/src/index.js +1 -1
  155. package/src/ui/uploadcarecontroller.d.ts +2 -6
  156. package/src/ui/uploadcarecontroller.js +2 -2
  157. package/src/ui/uploadcareformview.js +1 -1
  158. package/src/uploadcare.js +1 -1
  159. package/src/uploadcarecommand.js +1 -1
  160. package/src/uploadcareconfig.js +1 -1
  161. package/src/uploadcareediting.js +1 -1
  162. package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.js +2 -2
  163. package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.js +1 -1
  164. package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.d.ts +1 -4
  165. package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.js +1 -1
  166. package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.js +1 -1
  167. package/src/uploadcareimageedit/ui/uploadcareimageeditformview.js +1 -1
  168. package/src/uploadcareimageedit/uploadcareimageeditcommand.js +1 -1
  169. package/src/uploadcareimageedit/uploadcareimageeditediting.js +1 -1
  170. package/src/uploadcareimageedit/uploadcareimageeditui.js +1 -1
  171. package/src/uploadcareimageedit/uploadcareimagereplacecommand.js +1 -1
  172. package/src/uploadcareimageedit.js +1 -1
  173. package/src/uploadcareui.js +1 -1
  174. package/src/uploadcareuploadadapter.js +1 -1
  175. package/src/utils/common-translations.js +1 -1
  176. package/src/utils/dialogfocusmanagerview.js +1 -1
  177. package/src/utils/editingutils.js +1 -1
  178. package/src/utils/isancestor.js +1 -1
  179. package/src/utils/uploadutils.js +1 -1
  180. package/theme/icons/dropbox.svg +0 -11
  181. package/theme/icons/error.svg +0 -1
  182. package/theme/icons/facebook.svg +0 -11
  183. package/theme/icons/google-drive.svg +0 -11
  184. package/theme/icons/google-photos.svg +0 -11
  185. package/theme/icons/image-upload.svg +0 -11
  186. package/theme/icons/link.svg +0 -11
  187. package/theme/icons/local.svg +0 -11
  188. package/theme/icons/onedrive.svg +0 -11
  189. package/theme/icons/uploadcare-image-edit.svg +0 -11
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x10a8e4=_0x3818;(function(_0x34e8b0,_0x3c5b9f){const _0x390226=_0x3818,_0xd24260=_0x34e8b0();while(!![]){try{const _0x37666f=-parseInt(_0x390226(0x10d))/0x1+-parseInt(_0x390226(0x10b))/0x2*(parseInt(_0x390226(0x114))/0x3)+parseInt(_0x390226(0xd3))/0x4*(parseInt(_0x390226(0xe1))/0x5)+-parseInt(_0x390226(0xf9))/0x6+-parseInt(_0x390226(0xf8))/0x7*(-parseInt(_0x390226(0x107))/0x8)+-parseInt(_0x390226(0x119))/0x9+parseInt(_0x390226(0xea))/0xa;if(_0x37666f===_0x3c5b9f)break;else _0xd24260['push'](_0xd24260['shift']());}catch(_0x226441){_0xd24260['push'](_0xd24260['shift']());}}}(_0x4666,0x707f9));function _0x4666(){const _0x1053be=['editing','idle','setSelection','setCurrentActivity','get','_dialog','8adxwbG','plugins','_api','_editor','62jkPqSg','getSelectedElement','747747UdtRuf','initFlow','focus','_insertImage','selection','element','_formView','44634GzmAFd','done-click','_editing','Replace','getOutputCollectionState','7736814eLNEOm','getLastPosition','imageInfo','Insert','820bHBzia','removeSelectionAttribute','uuid','imageBlock','_type','Local','show','attributes','EDITOR_TOP_CENTER','model','configElement','hide','execute','status','20650fyftmS','_initListeners','setAttribute','imageInline','stopListening','stopDelegating','imageUpload','insertImage','view','24955750XSBEFe','ctxElement','_initDialog','image','width','destroy','allEntries','detail','getAPI','document','change','source-list','uploadCare','length','382067MQuPqd','5204412RrYhyt','text','isOpen','linkHref','removeAllFiles','doneFlow','addEventListener','_insertAsset'];_0x4666=function(){return _0x1053be;};return _0x4666();}import{icons as _0x327a76}from'ckeditor5/src/core.js';import{ObservableMixin as _0x368a7b}from'ckeditor5/src/utils.js';import{Dialog as _0x59d59d,DialogViewPosition as _0x5e4fd4}from'ckeditor5/src/ui.js';import _0x342696 from'./uploadcareformview.js';import{UploadcareSource as _0x22bbe5}from'../uploadcareconfig.js';function _0x3818(_0x1e0fb5,_0x2d2dea){const _0x466646=_0x4666();return _0x3818=function(_0x381867,_0x356bbb){_0x381867=_0x381867-0xd2;let _0x29fc15=_0x466646[_0x381867];return _0x29fc15;},_0x3818(_0x1e0fb5,_0x2d2dea);}import{getTranslation as _0x5d3cb4}from'../utils/common-translations.js';import{getImageUrls as _0x550e15,getImageDimension as _0x3b8e64}from'../utils/editingutils.js';import{isAncestor as _0x13c424}from'../utils/isancestor.js';export default class h extends/* #__PURE__ -- @preserve */
24
- _0x368a7b(){constructor(_0x3df4f5,_0x23cd99,_0x505f04){const _0x35fcd7=_0x3818;super(),this[_0x35fcd7(0xd7)]=null,this[_0x35fcd7(0x113)]=null,this[_0x35fcd7(0x10a)]=_0x3df4f5,this[_0x35fcd7(0x116)]=_0x23cd99,this[_0x35fcd7(0x106)]=_0x3df4f5[_0x35fcd7(0x108)][_0x35fcd7(0x105)](_0x59d59d),this[_0x35fcd7(0x109)]=_0x23cd99[_0x35fcd7(0xeb)][_0x35fcd7(0xf2)](),this[_0x35fcd7(0xd7)]=_0x505f04,this[_0x35fcd7(0x116)][_0x35fcd7(0xdd)][_0x35fcd7(0xe3)](_0x35fcd7(0xf5),this[_0x35fcd7(0xd7)]),this[_0x35fcd7(0xec)](),this[_0x35fcd7(0xe2)](),this[_0x35fcd7(0x109)][_0x35fcd7(0x10e)]();}[_0x10a8e4(0xef)](){const _0x26544a=_0x10a8e4;this[_0x26544a(0x113)]&&(this[_0x26544a(0x113)][_0x26544a(0xef)](),this[_0x26544a(0x113)]=null),this[_0x26544a(0x109)]&&this[_0x26544a(0x109)][_0x26544a(0xfe)](),this[_0x26544a(0xe5)](),this[_0x26544a(0xe6)]();}[_0x10a8e4(0xec)](){const _0x1daad3=_0x10a8e4,{locale:_0x151f52,model:_0x346195}=this[_0x1daad3(0x10a)],_0x20bea4=_0x346195[_0x1daad3(0xf3)][_0x1daad3(0x111)][_0x1daad3(0x10c)](),_0x5bf239=_0x20bea4&&(_0x20bea4['is'](_0x1daad3(0x112),_0x1daad3(0xd6))||_0x20bea4['is'](_0x1daad3(0x112),_0x1daad3(0xe4)));this[_0x1daad3(0x113)]=new _0x342696(_0x151f52),this[_0x1daad3(0x106)][_0x1daad3(0xd9)]({'id':_0x1daad3(0xf6),'icon':_0x327a76[_0x1daad3(0xe7)],'title':_0x5d3cb4(_0x151f52,this[_0x1daad3(0xd7)],_0x5bf239?_0x1daad3(0x117):_0x1daad3(0xd2))[_0x1daad3(0xfa)],'content':this[_0x1daad3(0x113)],'position':_0x5e4fd4[_0x1daad3(0xdb)],'isModal':!0x0,'onShow':()=>{const _0x227915=_0x1daad3;this[_0x227915(0x113)][_0x227915(0x10f)]();},'onHide':()=>{const _0x305453=_0x1daad3;this[_0x305453(0x109)][_0x305453(0xfd)](),this[_0x305453(0x10a)][_0x305453(0x101)][_0x305453(0xe9)][_0x305453(0x10f)](),this[_0x305453(0xef)]();},'keystrokeHandlerOptions':{'filter':_0x220773=>!_0x13c424(_0x220773,this[_0x1daad3(0x113)][_0x1daad3(0x112)])}});}[_0x10a8e4(0xe2)](){const _0x229111=_0x10a8e4;this[_0x229111(0x116)][_0x229111(0xeb)][_0x229111(0xff)](_0x229111(0x115),()=>{const _0x2eb901=_0x229111,{allEntries:_0x4e8401}=this[_0x2eb901(0x109)][_0x2eb901(0x118)]();this[_0x2eb901(0x10a)][_0x2eb901(0xdc)][_0x2eb901(0xf4)](_0x480bb4=>{const _0x52907e=_0x2eb901,_0x1fc3ba=_0x4e8401[_0x52907e(0xf7)];for(const _0x598b49 of _0x4e8401){const _0x3b3366=_0x598b49===_0x4e8401[_0x1fc3ba-0x1],{cdnUrl:_0x4cb69d,fileInfo:_0x1a04b4}=_0x598b49;if(!_0x4cb69d||!_0x1a04b4)continue;const {width:_0x3db201,height:_0x1ec89e}=_0x1a04b4[_0x52907e(0x11b)],_0x6ca69a=_0x3b8e64(_0x4cb69d,_0x3db201,_0x1ec89e),_0x5de4f1=_0x550e15(_0x4cb69d,_0x6ca69a[_0x52907e(0xee)]),_0x4bb18e={'id':_0x1a04b4[_0x52907e(0xd5)],'type':_0x52907e(0xed),'attributes':{'imageDimension':_0x6ca69a,..._0x5de4f1}};this[_0x52907e(0x100)](_0x4bb18e,_0x3b3366,_0x480bb4);}}),this[_0x2eb901(0x106)][_0x2eb901(0xde)]();}),this[_0x229111(0x116)][_0x229111(0xeb)][_0x229111(0xff)](_0x229111(0xf4),_0x1ec59f=>{const _0x51923e=_0x229111;_0x51923e(0x102)===_0x1ec59f[_0x51923e(0xf1)][_0x51923e(0xe0)]&&!_0x1ec59f[_0x51923e(0xf1)][_0x51923e(0xf0)][_0x51923e(0xf7)]&&this[_0x51923e(0x106)][_0x51923e(0xfb)]&&(this[_0x51923e(0xd7)]===_0x22bbe5[_0x51923e(0xd8)]?this[_0x51923e(0x109)][_0x51923e(0x104)](_0x22bbe5[_0x51923e(0xd8)]):this[_0x51923e(0x109)][_0x51923e(0x10e)]());});}[_0x10a8e4(0x100)](_0x34fb56,_0x3e88f1,_0x28c65d){const _0x1b62b7=_0x10a8e4,_0x444677=this[_0x1b62b7(0x10a)][_0x1b62b7(0xdc)][_0x1b62b7(0xf3)][_0x1b62b7(0x111)],_0x4e7a4c=_0x444677[_0x1b62b7(0x10c)](),_0x482088=!(!_0x4e7a4c||!_0x4e7a4c['is'](_0x1b62b7(0x112),_0x1b62b7(0xe4)));_0x28c65d[_0x1b62b7(0xd4)](_0x1b62b7(0xfc)),this[_0x1b62b7(0x110)](_0x34fb56,_0x482088),_0x3e88f1||_0x28c65d[_0x1b62b7(0x103)](_0x444677[_0x1b62b7(0x11a)]());}[_0x10a8e4(0x110)](_0x3d5180,_0x2d262d){const _0x363bb1=_0x10a8e4,_0x2f99f0=this[_0x363bb1(0x10a)],{imageDimension:_0x3ed2f2,imageFallbackUrl:_0x3c93d2,imageSources:_0x25ccba}=_0x3d5180[_0x363bb1(0xda)];_0x2f99f0[_0x363bb1(0xdf)](_0x363bb1(0xe8),{'imageType':_0x2d262d?_0x363bb1(0xe4):null,'source':{'uploadcareImageId':_0x3d5180['id'],'src':_0x3c93d2,'sources':_0x25ccba,..._0x3ed2f2}});}}
23
+ const _0x31486d=_0xf211;(function(_0x37dcec,_0x2863f4){const _0x1e5436=_0xf211,_0x463eb2=_0x37dcec();while(!![]){try{const _0x5e587a=-parseInt(_0x1e5436(0x18a))/0x1*(-parseInt(_0x1e5436(0x177))/0x2)+parseInt(_0x1e5436(0x151))/0x3*(parseInt(_0x1e5436(0x175))/0x4)+-parseInt(_0x1e5436(0x195))/0x5*(-parseInt(_0x1e5436(0x159))/0x6)+-parseInt(_0x1e5436(0x17c))/0x7+-parseInt(_0x1e5436(0x190))/0x8+parseInt(_0x1e5436(0x167))/0x9*(parseInt(_0x1e5436(0x186))/0xa)+-parseInt(_0x1e5436(0x152))/0xb;if(_0x5e587a===_0x2863f4)break;else _0x463eb2['push'](_0x463eb2['shift']());}catch(_0x7f8fe8){_0x463eb2['push'](_0x463eb2['shift']());}}}(_0x120f,0x51e7c));function _0x120f(){const _0xcae46f=['10968avSoSb','destroy','_insertAsset','plugins','_initDialog','_editor','execute','EDITOR_TOP_CENTER','hide','linkHref','doneFlow','removeAllFiles','change','imageBlock','63vpeVBm','focus','idle','initFlow','stopDelegating','source-list','setSelection','getSelectedElement','show','getOutputCollectionState','imageInline','_editing','getLastPosition','removeSelectionAttribute','2588YWmLhx','image','412jAeupy','_dialog','detail','uuid','setAttribute','2720151tEywxc','uploadCare','Insert','allEntries','editing','view','getAPI','Replace','_initListeners','setCurrentActivity','800860zeeBLY','width','status','_formView','531GOYdTf','stopListening','length','configElement','done-click','_insertImage','47736ykikmD','ctxElement','addEventListener','selection','_type','115ZwtzCE','Local','insertImage','attributes','get','imageInfo','2253hPfRZH','5146735mhWEsq','text','_api','isOpen','model','element','document'];_0x120f=function(){return _0xcae46f;};return _0x120f();}import{IconUploadcareImageUpload as _0x467854}from'ckeditor5/src/icons.js';import{ObservableMixin as _0x1a9095}from'ckeditor5/src/utils.js';function _0xf211(_0x4085b2,_0x43c4de){const _0x120f5a=_0x120f();return _0xf211=function(_0xf211a3,_0xf1a0fc){_0xf211a3=_0xf211a3-0x150;let _0x3ba4a7=_0x120f5a[_0xf211a3];return _0x3ba4a7;},_0xf211(_0x4085b2,_0x43c4de);}import{Dialog as _0x192f99,DialogViewPosition as _0x1fbbad}from'ckeditor5/src/ui.js';import _0x756feb from'./uploadcareformview.js';import{UploadcareSource as _0x1d2597}from'../uploadcareconfig.js';import{getTranslation as _0x371b34}from'../utils/common-translations.js';import{getImageUrls as _0x1ddd93,getImageDimension as _0x544804}from'../utils/editingutils.js';import{isAncestor as _0x2db59b}from'../utils/isancestor.js';export default class l extends/* #__PURE__ -- @preserve */
24
+ _0x1a9095(){[_0x31486d(0x15e)];[_0x31486d(0x178)];[_0x31486d(0x172)];[_0x31486d(0x154)];[_0x31486d(0x194)]=null;[_0x31486d(0x189)]=null;constructor(_0x4e1aa3,_0x52986e,_0x3178aa){const _0xdbd337=_0x31486d;super(),this[_0xdbd337(0x15e)]=_0x4e1aa3,this[_0xdbd337(0x172)]=_0x52986e,this[_0xdbd337(0x178)]=_0x4e1aa3[_0xdbd337(0x15c)][_0xdbd337(0x199)](_0x192f99),this[_0xdbd337(0x154)]=_0x52986e[_0xdbd337(0x191)][_0xdbd337(0x182)](),this[_0xdbd337(0x194)]=_0x3178aa,this[_0xdbd337(0x172)][_0xdbd337(0x18d)][_0xdbd337(0x17b)](_0xdbd337(0x16c),this[_0xdbd337(0x194)]),this[_0xdbd337(0x15d)](),this[_0xdbd337(0x184)](),this[_0xdbd337(0x154)][_0xdbd337(0x16a)]();}[_0x31486d(0x15a)](){const _0x3e19e7=_0x31486d;this[_0x3e19e7(0x189)]&&(this[_0x3e19e7(0x189)][_0x3e19e7(0x15a)](),this[_0x3e19e7(0x189)]=null),this[_0x3e19e7(0x154)]&&this[_0x3e19e7(0x154)][_0x3e19e7(0x163)](),this[_0x3e19e7(0x18b)](),this[_0x3e19e7(0x16b)]();}[_0x31486d(0x15d)](){const _0x1d8db2=_0x31486d,{locale:_0x35f225,model:_0x26f7f8}=this[_0x1d8db2(0x15e)],_0x18fecb=_0x26f7f8[_0x1d8db2(0x158)][_0x1d8db2(0x193)][_0x1d8db2(0x16e)](),_0x126cd7=_0x18fecb&&(_0x18fecb['is'](_0x1d8db2(0x157),_0x1d8db2(0x166))||_0x18fecb['is'](_0x1d8db2(0x157),_0x1d8db2(0x171)));this[_0x1d8db2(0x189)]=new _0x756feb(_0x35f225),this[_0x1d8db2(0x178)][_0x1d8db2(0x16f)]({'id':_0x1d8db2(0x17d),'icon':_0x467854,'title':_0x371b34(_0x35f225,this[_0x1d8db2(0x194)],_0x126cd7?_0x1d8db2(0x183):_0x1d8db2(0x17e))[_0x1d8db2(0x153)],'content':this[_0x1d8db2(0x189)],'position':_0x1fbbad[_0x1d8db2(0x160)],'isModal':!0x0,'onShow':()=>{const _0x231d4a=_0x1d8db2;this[_0x231d4a(0x189)][_0x231d4a(0x168)]();},'onHide':()=>{const _0x493600=_0x1d8db2;this[_0x493600(0x154)][_0x493600(0x164)](),this[_0x493600(0x15e)][_0x493600(0x180)][_0x493600(0x181)][_0x493600(0x168)](),this[_0x493600(0x15a)]();},'keystrokeHandlerOptions':{'filter':_0x54a5e6=>!_0x2db59b(_0x54a5e6,this[_0x1d8db2(0x189)][_0x1d8db2(0x157)])}});}[_0x31486d(0x184)](){const _0x2d336e=_0x31486d;this[_0x2d336e(0x172)][_0x2d336e(0x191)][_0x2d336e(0x192)](_0x2d336e(0x18e),()=>{const _0x1a1eab=_0x2d336e,{allEntries:_0x5118b4}=this[_0x1a1eab(0x154)][_0x1a1eab(0x170)]();this[_0x1a1eab(0x15e)][_0x1a1eab(0x156)][_0x1a1eab(0x165)](_0xb1983f=>{const _0x2d9e7c=_0x1a1eab,_0x5b9e65=_0x5118b4[_0x2d9e7c(0x18c)];for(const _0x2f7df0 of _0x5118b4){const _0x36bd25=_0x2f7df0===_0x5118b4[_0x5b9e65-0x1],{cdnUrl:_0x33f19a,fileInfo:_0x24db9c}=_0x2f7df0;if(!_0x33f19a||!_0x24db9c)continue;const {width:_0x33a15a,height:_0x4b84d8}=_0x24db9c[_0x2d9e7c(0x150)],_0x36fd14=_0x544804(_0x33f19a,_0x33a15a,_0x4b84d8),_0x801fcf=_0x1ddd93(_0x33f19a,_0x36fd14[_0x2d9e7c(0x187)]),_0x410835={'id':_0x24db9c[_0x2d9e7c(0x17a)],'type':_0x2d9e7c(0x176),'attributes':{'imageDimension':_0x36fd14,..._0x801fcf}};this[_0x2d9e7c(0x15b)](_0x410835,_0x36bd25,_0xb1983f);}}),this[_0x1a1eab(0x178)][_0x1a1eab(0x161)]();}),this[_0x2d336e(0x172)][_0x2d336e(0x191)][_0x2d336e(0x192)](_0x2d336e(0x165),_0x4d962d=>{const _0x40f07a=_0x2d336e;_0x40f07a(0x169)===_0x4d962d[_0x40f07a(0x179)][_0x40f07a(0x188)]&&!_0x4d962d[_0x40f07a(0x179)][_0x40f07a(0x17f)][_0x40f07a(0x18c)]&&this[_0x40f07a(0x178)][_0x40f07a(0x155)]&&(this[_0x40f07a(0x194)]===_0x1d2597[_0x40f07a(0x196)]?this[_0x40f07a(0x154)][_0x40f07a(0x185)](_0x1d2597[_0x40f07a(0x196)]):this[_0x40f07a(0x154)][_0x40f07a(0x16a)]());});}[_0x31486d(0x15b)](_0x4ef18c,_0x4f2d70,_0x4e02ab){const _0x15dbb3=_0x31486d,_0x193372=this[_0x15dbb3(0x15e)][_0x15dbb3(0x156)][_0x15dbb3(0x158)][_0x15dbb3(0x193)],_0x3750e9=_0x193372[_0x15dbb3(0x16e)](),_0x3c15aa=!(!_0x3750e9||!_0x3750e9['is'](_0x15dbb3(0x157),_0x15dbb3(0x171)));_0x4e02ab[_0x15dbb3(0x174)](_0x15dbb3(0x162)),this[_0x15dbb3(0x18f)](_0x4ef18c,_0x3c15aa),_0x4f2d70||_0x4e02ab[_0x15dbb3(0x16d)](_0x193372[_0x15dbb3(0x173)]());}[_0x31486d(0x18f)](_0x4f5de8,_0x3f196f){const _0x58de3f=_0x31486d,_0x2a743a=this[_0x58de3f(0x15e)],{imageDimension:_0x1b2335,imageFallbackUrl:_0x1961fa,imageSources:_0x46405f}=_0x4f5de8[_0x58de3f(0x198)];_0x2a743a[_0x58de3f(0x15f)](_0x58de3f(0x197),{'imageType':_0x3f196f?_0x58de3f(0x171):null,'source':{'uploadcareImageId':_0x4f5de8['id'],'src':_0x1961fa,'sources':_0x46405f,..._0x1b2335}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x565171=_0x4dd7;(function(_0x44db60,_0x4419c8){var _0x2b5f4d=_0x4dd7,_0x55e3bf=_0x44db60();while(!![]){try{var _0x39cb0c=parseInt(_0x2b5f4d(0x190))/0x1+parseInt(_0x2b5f4d(0x197))/0x2+parseInt(_0x2b5f4d(0x19b))/0x3+parseInt(_0x2b5f4d(0x18d))/0x4*(parseInt(_0x2b5f4d(0x19f))/0x5)+parseInt(_0x2b5f4d(0x18c))/0x6*(-parseInt(_0x2b5f4d(0x191))/0x7)+parseInt(_0x2b5f4d(0x198))/0x8*(parseInt(_0x2b5f4d(0x1a1))/0x9)+parseInt(_0x2b5f4d(0x194))/0xa*(-parseInt(_0x2b5f4d(0x18e))/0xb);if(_0x39cb0c===_0x4419c8)break;else _0x55e3bf['push'](_0x55e3bf['shift']());}catch(_0x25d38b){_0x55e3bf['push'](_0x55e3bf['shift']());}}}(_0x11f4,0xbd3da));import _0x815f49 from'../utils/dialogfocusmanagerview.js';import'../../theme/uploadcare-form.css';function _0x11f4(){var _0x5ed945=['1669822NHOFVq','ck-uploadcare-form','focus','10zRtbCv','div','uc-file-uploader-inline','1558890oZzNmd','3699264rxBAdX','uploader','ck-reset_all-excluded','981015OuVMpb','getFocusableElement','element','uc-light','5216805xFQGyv','setTemplate','27osGePb','12KTOINb','4gNsNbK','40453171EHLjRK','ck-uploadcare-theme','1392748GVfElq'];_0x11f4=function(){return _0x5ed945;};return _0x11f4();}function _0x4dd7(_0x27ffe1,_0x6bad57){var _0x11f4bd=_0x11f4();return _0x4dd7=function(_0x4dd726,_0x26f2bf){_0x4dd726=_0x4dd726-0x18c;var _0x461f14=_0x11f4bd[_0x4dd726];return _0x461f14;},_0x4dd7(_0x27ffe1,_0x6bad57);}export default class S extends _0x815f49{constructor(_0x28ef6c){var _0x28a1b2=_0x4dd7;super(_0x28ef6c),this[_0x28a1b2(0x1a0)]({'tag':_0x28a1b2(0x195),'attributes':{'class':['ck',_0x28a1b2(0x19a),_0x28a1b2(0x192)],'tabindex':'-1'},'children':[{'tag':_0x28a1b2(0x196),'attributes':{'class':[_0x28a1b2(0x19e),_0x28a1b2(0x18f)],'ctx-name':_0x28a1b2(0x199)}},this[_0x28a1b2(0x19c)]()]});}[_0x565171(0x193)](){var _0x3dee44=_0x565171;this[_0x3dee44(0x19d)][_0x3dee44(0x193)]();}}
23
+ var _0x1551b9=_0x27df;(function(_0x3972d9,_0x5abf64){var _0xd2f12f=_0x27df,_0x140522=_0x3972d9();while(!![]){try{var _0x1038db=parseInt(_0xd2f12f(0x1f2))/0x1+parseInt(_0xd2f12f(0x1fa))/0x2+parseInt(_0xd2f12f(0x1ed))/0x3+parseInt(_0xd2f12f(0x1f9))/0x4*(parseInt(_0xd2f12f(0x1f5))/0x5)+-parseInt(_0xd2f12f(0x1f3))/0x6+-parseInt(_0xd2f12f(0x1ec))/0x7*(-parseInt(_0xd2f12f(0x1f0))/0x8)+parseInt(_0xd2f12f(0x1ee))/0x9*(-parseInt(_0xd2f12f(0x1f7))/0xa);if(_0x1038db===_0x5abf64)break;else _0x140522['push'](_0x140522['shift']());}catch(_0x24d075){_0x140522['push'](_0x140522['shift']());}}}(_0x1af9,0xc81b9));import _0x5a73a7 from'../utils/dialogfocusmanagerview.js';function _0x27df(_0x140cce,_0x1f2a22){var _0x1af99a=_0x1af9();return _0x27df=function(_0x27df8a,_0x561a97){_0x27df8a=_0x27df8a-0x1ec;var _0x34f41b=_0x1af99a[_0x27df8a];return _0x34f41b;},_0x27df(_0x140cce,_0x1f2a22);}import'../../theme/uploadcare-form.css';export default class S extends _0x5a73a7{constructor(_0x3ae18c){var _0x1b6b94=_0x27df;super(_0x3ae18c),this[_0x1b6b94(0x1fe)]({'tag':_0x1b6b94(0x1f6),'attributes':{'class':['ck',_0x1b6b94(0x1fd),_0x1b6b94(0x1ef)],'tabindex':'-1'},'children':[{'tag':_0x1b6b94(0x1ff),'attributes':{'class':[_0x1b6b94(0x1fc),_0x1b6b94(0x1fb)],'ctx-name':_0x1b6b94(0x1f1)}},this[_0x1b6b94(0x1f8)]()]});}[_0x1551b9(0x200)](){var _0x304caf=_0x1551b9;this[_0x304caf(0x1f4)][_0x304caf(0x200)]();}}function _0x1af9(){var _0x286578=['ck-uploadcare-form','280IUmnzf','uploader','1195295pPpfrv','374208DHDsdq','element','311845TLBxtW','div','38246580WLUJXC','getFocusableElement','12bLgixR','2016826Tenbvp','ck-uploadcare-theme','uc-light','ck-reset_all-excluded','setTemplate','uc-file-uploader-inline','focus','290423KUkVfJ','2591211BsTflt','9esYtYu'];_0x1af9=function(){return _0x286578;};return _0x1af9();}
package/src/uploadcare.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x293d(_0x195fa1,_0x11e1dd){var _0x3861a6=_0x3861();return _0x293d=function(_0x293d51,_0x331568){_0x293d51=_0x293d51-0x12e;var _0x3b7bd8=_0x3861a6[_0x293d51];return _0x3b7bd8;},_0x293d(_0x195fa1,_0x11e1dd);}var _0x4b9b72=_0x293d;function _0x3861(){var _0xbca362=['isPremiumPlugin','4363EhtWxX','6906jtObzJ','9dmtBpn','define','Local','2070936OGvrAz','defineComponents','URL','isOfficialPlugin','Uploadcare','935080aIyjrk','pluginName','4080920xMqZgP','uploadcare.uploader.sourceList','config','236rXahll','7154651hOeXgZ','requires','6471880gZEzmA','6690Wqifsr'];_0x3861=function(){return _0xbca362;};return _0x3861();}(function(_0xbc64dd,_0x2e8711){var _0x1b0a45=_0x293d,_0x38f2b2=_0xbc64dd();while(!![]){try{var _0x1630de=parseInt(_0x1b0a45(0x13c))/0x1*(parseInt(_0x1b0a45(0x136))/0x2)+-parseInt(_0x1b0a45(0x141))/0x3+-parseInt(_0x1b0a45(0x131))/0x4+parseInt(_0x1b0a45(0x13a))/0x5*(parseInt(_0x1b0a45(0x13d))/0x6)+parseInt(_0x1b0a45(0x137))/0x7+-parseInt(_0x1b0a45(0x139))/0x8+parseInt(_0x1b0a45(0x13e))/0x9*(-parseInt(_0x1b0a45(0x133))/0xa);if(_0x1630de===_0x2e8711)break;else _0x38f2b2['push'](_0x38f2b2['shift']());}catch(_0x56eb7c){_0x38f2b2['push'](_0x38f2b2['shift']());}}}(_0x3861,0xe477e));import{Plugin as _0x29210d}from'ckeditor5/src/core.js';import _0x1b1a63 from'./uploadcareui.js';import _0x3571ab from'./uploadcareediting.js';import{UploadcareSource as _0x537190}from'./uploadcareconfig.js';import*as _0x5cd731 from'@uploadcare/file-uploader';export default class u extends _0x29210d{static get[_0x4b9b72(0x138)](){return[_0x3571ab,_0x1b1a63];}static get[_0x4b9b72(0x132)](){var _0x200b65=_0x4b9b72;return _0x200b65(0x130);}static get[_0x4b9b72(0x12f)](){return!0x0;}static get[_0x4b9b72(0x13b)](){return!0x0;}constructor(_0x3ddba8){var _0x13a8bb=_0x4b9b72;super(_0x3ddba8),_0x3ddba8[_0x13a8bb(0x135)][_0x13a8bb(0x13f)](_0x13a8bb(0x134),[_0x537190[_0x13a8bb(0x140)],_0x537190[_0x13a8bb(0x12e)]]),_0x5cd731[_0x13a8bb(0x142)](_0x5cd731);}}
23
+ var _0x2bc88a=_0x567f;(function(_0x2da5c4,_0x508ced){var _0x5c3303=_0x567f,_0x2be357=_0x2da5c4();while(!![]){try{var _0x5c6266=-parseInt(_0x5c3303(0x11f))/0x1*(parseInt(_0x5c3303(0x11c))/0x2)+parseInt(_0x5c3303(0x11b))/0x3*(-parseInt(_0x5c3303(0x12a))/0x4)+-parseInt(_0x5c3303(0x120))/0x5+-parseInt(_0x5c3303(0x126))/0x6*(-parseInt(_0x5c3303(0x116))/0x7)+-parseInt(_0x5c3303(0x11d))/0x8+-parseInt(_0x5c3303(0x124))/0x9*(parseInt(_0x5c3303(0x119))/0xa)+parseInt(_0x5c3303(0x115))/0xb*(parseInt(_0x5c3303(0x123))/0xc);if(_0x5c6266===_0x508ced)break;else _0x2be357['push'](_0x2be357['shift']());}catch(_0x2b1c27){_0x2be357['push'](_0x2be357['shift']());}}}(_0xc020,0xc6522));import{Plugin as _0x3889d1}from'ckeditor5/src/core.js';import _0x268099 from'./uploadcareui.js';import _0x528e33 from'./uploadcareediting.js';function _0xc020(){var _0x260d00=['Uploadcare','Local','pluginName','19424vKYZBa','isOfficialPlugin','66990LlGOKG','273OTttio','requires','define','294330aEfHVX','uploadcare.uploader.sourceList','879QKRMiZ','2218276vlCWJC','9574824FzCaRv','URL','1JKIyaw','1746120UxZGux','isPremiumPlugin','defineComponents','8052ArsMhp','153XTRhQI','config','200664nmqGVl'];_0xc020=function(){return _0x260d00;};return _0xc020();}import{UploadcareSource as _0x1d90d6}from'./uploadcareconfig.js';import*as _0x3bfcaf from'@uploadcare/file-uploader';function _0x567f(_0x1d3aaf,_0x187507){var _0xc020d1=_0xc020();return _0x567f=function(_0x567fc8,_0x2c1202){_0x567fc8=_0x567fc8-0x114;var _0x231688=_0xc020d1[_0x567fc8];return _0x231688;},_0x567f(_0x1d3aaf,_0x187507);}export default class u extends _0x3889d1{static get[_0x2bc88a(0x117)](){return[_0x528e33,_0x268099];}static get[_0x2bc88a(0x129)](){var _0x530fb9=_0x2bc88a;return _0x530fb9(0x127);}static get[_0x2bc88a(0x114)](){return!0x0;}static get[_0x2bc88a(0x121)](){return!0x0;}constructor(_0x41c9f6){var _0x4fe972=_0x2bc88a;super(_0x41c9f6),_0x41c9f6[_0x4fe972(0x125)][_0x4fe972(0x118)](_0x4fe972(0x11a),[_0x1d90d6[_0x4fe972(0x128)],_0x1d90d6[_0x4fe972(0x11e)]]),_0x3bfcaf[_0x4fe972(0x122)](_0x3bfcaf);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x4768b2=_0x5aa0;(function(_0x81987c,_0x4bbc49){var _0x54962c=_0x5aa0,_0x5c4475=_0x81987c();while(!![]){try{var _0x358e1f=parseInt(_0x54962c(0xa0))/0x1+-parseInt(_0x54962c(0x8d))/0x2+parseInt(_0x54962c(0x98))/0x3*(-parseInt(_0x54962c(0x9b))/0x4)+-parseInt(_0x54962c(0x96))/0x5+-parseInt(_0x54962c(0x94))/0x6+-parseInt(_0x54962c(0x9c))/0x7*(parseInt(_0x54962c(0x9e))/0x8)+parseInt(_0x54962c(0x93))/0x9;if(_0x358e1f===_0x4bbc49)break;else _0x5c4475['push'](_0x5c4475['shift']());}catch(_0x3639f2){_0x5c4475['push'](_0x5c4475['shift']());}}}(_0x14be,0xae5d4));function _0x5aa0(_0xc062f7,_0x2f3a1d){var _0x14bef4=_0x14be();return _0x5aa0=function(_0x5aa0de,_0x882a94){_0x5aa0de=_0x5aa0de-0x8b;var _0x18c1c5=_0x14bef4[_0x5aa0de];return _0x18c1c5;},_0x5aa0(_0xc062f7,_0x2f3a1d);}import{Command as _0x4c3ff5}from'ckeditor5/src/core.js';function _0x14be(){var _0x24032f=['26676549mkdPIT','2319228ADeQQH','_controller','416645WDUrsE','refresh','51wuWbev','execute','plugins','41332hPqEzu','1484819ZZafCa','insertImage','40LitDlq','isEnabled','60963pYevmc','commands','_checkEnabled','1209430dvIenL','requires','destroy','get','_editing','editor'];_0x14be=function(){return _0x24032f;};return _0x14be();}import{Dialog as _0x17f57c}from'ckeditor5/src/ui.js';import _0x457b5a from'./uploadcareediting.js';import _0x1a1fc7 from'./ui/uploadcarecontroller.js';export default class l extends _0x4c3ff5{static get[_0x4768b2(0x8e)](){return[_0x17f57c,_0x457b5a];}constructor(_0x2fd263){var _0x53de7b=_0x4768b2;super(_0x2fd263),this[_0x53de7b(0x95)]=null,this[_0x53de7b(0x91)]=_0x2fd263[_0x53de7b(0x9a)][_0x53de7b(0x90)](_0x457b5a);}[_0x4768b2(0x97)](){var _0x2d3470=_0x4768b2;this[_0x2d3470(0x9f)]=this[_0x2d3470(0x8c)]();}[_0x4768b2(0x99)](_0xf3d958){var _0x277a9b=_0x4768b2;this[_0x277a9b(0x95)]&&(this[_0x277a9b(0x95)][_0x277a9b(0x8f)](),this[_0x277a9b(0x95)]=null),this[_0x277a9b(0x95)]=new _0x1a1fc7(this[_0x277a9b(0x92)],this[_0x277a9b(0x91)],_0xf3d958);}[_0x4768b2(0x8c)](){var _0xcf8f3e=_0x4768b2;return this[_0xcf8f3e(0x92)][_0xcf8f3e(0x8b)][_0xcf8f3e(0x90)](_0xcf8f3e(0x9d))[_0xcf8f3e(0x9f)];}}
23
+ function _0x5dc8(){var _0x5e0d84=['refresh','1294040IKdnxq','requires','destroy','plugins','editor','1868830ymHEoS','get','isEnabled','commands','8LiagPc','1780425tNGoJG','1397221SPXKnm','12sRowVk','3uvIujK','_checkEnabled','56150970uVbhQK','4191812byNkJC','_controller','4972499vFRPHr','insertImage','_editing','execute'];_0x5dc8=function(){return _0x5e0d84;};return _0x5dc8();}var _0x43f47e=_0x4c4d;function _0x4c4d(_0x383c1e,_0x2e6232){var _0x5dc8ba=_0x5dc8();return _0x4c4d=function(_0x4c4dd6,_0x2be51c){_0x4c4dd6=_0x4c4dd6-0x1b3;var _0x3dcc5a=_0x5dc8ba[_0x4c4dd6];return _0x3dcc5a;},_0x4c4d(_0x383c1e,_0x2e6232);}(function(_0x457274,_0xecfb6){var _0x1928d5=_0x4c4d,_0x5053c2=_0x457274();while(!![]){try{var _0x4c777d=-parseInt(_0x1928d5(0x1b9))/0x1+parseInt(_0x1928d5(0x1b3))/0x2*(-parseInt(_0x1928d5(0x1bb))/0x3)+-parseInt(_0x1928d5(0x1be))/0x4+-parseInt(_0x1928d5(0x1c5))/0x5*(parseInt(_0x1928d5(0x1ba))/0x6)+-parseInt(_0x1928d5(0x1c0))/0x7*(parseInt(_0x1928d5(0x1b7))/0x8)+-parseInt(_0x1928d5(0x1b8))/0x9+parseInt(_0x1928d5(0x1bd))/0xa;if(_0x4c777d===_0xecfb6)break;else _0x5053c2['push'](_0x5053c2['shift']());}catch(_0x18b214){_0x5053c2['push'](_0x5053c2['shift']());}}}(_0x5dc8,0xc5aee));import{Command as _0x5939b4}from'ckeditor5/src/core.js';import{Dialog as _0x23acd0}from'ckeditor5/src/ui.js';import _0x23a3f3 from'./uploadcareediting.js';import _0x3405ff from'./ui/uploadcarecontroller.js';export default class n extends _0x5939b4{[_0x43f47e(0x1c2)];[_0x43f47e(0x1bf)]=null;static get[_0x43f47e(0x1c6)](){return[_0x23acd0,_0x23a3f3];}constructor(_0x56131e){var _0xadb23c=_0x43f47e;super(_0x56131e),this[_0xadb23c(0x1c2)]=_0x56131e[_0xadb23c(0x1c8)][_0xadb23c(0x1b4)](_0x23a3f3);}[_0x43f47e(0x1c4)](){var _0x4dc63c=_0x43f47e;this[_0x4dc63c(0x1b5)]=this[_0x4dc63c(0x1bc)]();}[_0x43f47e(0x1c3)](_0x18447e){var _0x59d9a5=_0x43f47e;this[_0x59d9a5(0x1bf)]&&(this[_0x59d9a5(0x1bf)][_0x59d9a5(0x1c7)](),this[_0x59d9a5(0x1bf)]=null),this[_0x59d9a5(0x1bf)]=new _0x3405ff(this[_0x59d9a5(0x1c9)],this[_0x59d9a5(0x1c2)],_0x18447e);}[_0x43f47e(0x1bc)](){var _0x506bf=_0x43f47e;return this[_0x506bf(0x1c9)][_0x506bf(0x1b6)][_0x506bf(0x1b4)](_0x506bf(0x1c1))[_0x506bf(0x1b5)];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x3180(_0x57ea88,_0x23a114){var _0x2e577b=_0x2e57();return _0x3180=function(_0x318078,_0x2cafc8){_0x318078=_0x318078-0xf1;var _0x20c9fe=_0x2e577b[_0x318078];return _0x20c9fe;},_0x3180(_0x57ea88,_0x23a114);}(function(_0x57c55d,_0x332341){var _0x21efbd=_0x3180,_0x58cfae=_0x57c55d();while(!![]){try{var _0x4b1c59=-parseInt(_0x21efbd(0x108))/0x1*(parseInt(_0x21efbd(0x103))/0x2)+parseInt(_0x21efbd(0xf1))/0x3+parseInt(_0x21efbd(0x104))/0x4+parseInt(_0x21efbd(0xf6))/0x5*(parseInt(_0x21efbd(0xf7))/0x6)+parseInt(_0x21efbd(0x109))/0x7*(-parseInt(_0x21efbd(0xfe))/0x8)+-parseInt(_0x21efbd(0x102))/0x9*(-parseInt(_0x21efbd(0x100))/0xa)+-parseInt(_0x21efbd(0x107))/0xb;if(_0x4b1c59===_0x332341)break;else _0x58cfae['push'](_0x58cfae['shift']());}catch(_0x1c8013){_0x58cfae['push'](_0x58cfae['shift']());}}}(_0x2e57,0x38b50));function _0x2e57(){var _0x240f22=['GDrive','GPhotos','1911304MlLVNl','url','159730kUaHKG','Facebook','36qbBksc','2GJtoYn','1515820JmzRsA','Dropbox','dropbox','406670gHeLeV','221043fmIBtp','7udcOao','225066SLQKZP','facebook','Local','URL','gdrive','45SDbTCo','140886GHWvjF','onedrive','OneDrive','local','gphotos'];_0x2e57=function(){return _0x240f22;};return _0x2e57();}export var UploadcareSource;!function(_0xe8f2d7){var _0x52373d=_0x3180;_0xe8f2d7[_0x52373d(0xf3)]=_0x52373d(0xfa),_0xe8f2d7[_0x52373d(0xf4)]=_0x52373d(0xff),_0xe8f2d7[_0x52373d(0x105)]=_0x52373d(0x106),_0xe8f2d7[_0x52373d(0xfc)]=_0x52373d(0xf5),_0xe8f2d7[_0x52373d(0x101)]=_0x52373d(0xf2),_0xe8f2d7[_0x52373d(0xfd)]=_0x52373d(0xfb),_0xe8f2d7[_0x52373d(0xf9)]=_0x52373d(0xf8);}(UploadcareSource||(UploadcareSource={}));
23
+ function _0x4cee(){var _0x172ad7=['GPhotos','url','URL','74598LnvUKF','30nYtxuv','7ziWRlF','3952470LktBui','Dropbox','994182EnaQSM','2381445eSvMkl','gdrive','GDrive','local','Local','dropbox','9432270aeYOVM','Facebook','onedrive','19yofKgf','facebook','OneDrive','gphotos','395384JsvTHh','4752648zzWFBL'];_0x4cee=function(){return _0x172ad7;};return _0x4cee();}(function(_0x233b1a,_0x4fb449){var _0x17d15b=_0xb9fc,_0x214373=_0x233b1a();while(!![]){try{var _0x2a9b26=-parseInt(_0x17d15b(0x1ce))/0x1*(-parseInt(_0x17d15b(0x1bf))/0x2)+parseInt(_0x17d15b(0x1c5))/0x3+parseInt(_0x17d15b(0x1d2))/0x4+-parseInt(_0x17d15b(0x1c0))/0x5*(parseInt(_0x17d15b(0x1c4))/0x6)+-parseInt(_0x17d15b(0x1c1))/0x7*(-parseInt(_0x17d15b(0x1d3))/0x8)+-parseInt(_0x17d15b(0x1cb))/0x9+parseInt(_0x17d15b(0x1c2))/0xa;if(_0x2a9b26===_0x4fb449)break;else _0x214373['push'](_0x214373['shift']());}catch(_0x27066a){_0x214373['push'](_0x214373['shift']());}}}(_0x4cee,0x85e6a));export var UploadcareSource;function _0xb9fc(_0x5813b8,_0x5a6cad){var _0x4cee3d=_0x4cee();return _0xb9fc=function(_0xb9fc66,_0x3396d6){_0xb9fc66=_0xb9fc66-0x1bf;var _0x1319a7=_0x4cee3d[_0xb9fc66];return _0x1319a7;},_0xb9fc(_0x5813b8,_0x5a6cad);}!function(_0x5e12f7){var _0x5ea775=_0xb9fc;_0x5e12f7[_0x5ea775(0x1c9)]=_0x5ea775(0x1c8),_0x5e12f7[_0x5ea775(0x1d6)]=_0x5ea775(0x1d5),_0x5e12f7[_0x5ea775(0x1c3)]=_0x5ea775(0x1ca),_0x5e12f7[_0x5ea775(0x1c7)]=_0x5ea775(0x1c6),_0x5e12f7[_0x5ea775(0x1cc)]=_0x5ea775(0x1cf),_0x5e12f7[_0x5ea775(0x1d4)]=_0x5ea775(0x1d1),_0x5e12f7[_0x5ea775(0x1d0)]=_0x5ea775(0x1cd);}(UploadcareSource||(UploadcareSource={}));
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x384977=_0xc1d5;(function(_0x3e656b,_0xeda385){const _0x38dd0c=_0xc1d5,_0x5df37c=_0x3e656b();while(!![]){try{const _0x3323c7=parseInt(_0x38dd0c(0xdf))/0x1*(parseInt(_0x38dd0c(0xd9))/0x2)+parseInt(_0x38dd0c(0xfa))/0x3+-parseInt(_0x38dd0c(0xc5))/0x4*(parseInt(_0x38dd0c(0xf6))/0x5)+parseInt(_0x38dd0c(0xb3))/0x6*(-parseInt(_0x38dd0c(0xdc))/0x7)+parseInt(_0x38dd0c(0xae))/0x8+-parseInt(_0x38dd0c(0xad))/0x9*(-parseInt(_0x38dd0c(0xe3))/0xa)+-parseInt(_0x38dd0c(0xc2))/0xb;if(_0x3323c7===_0xeda385)break;else _0x5df37c['push'](_0x5df37c['shift']());}catch(_0x2dcbff){_0x5df37c['push'](_0x5df37c['shift']());}}}(_0x5666,0x8a0d3));import{Plugin as _0x425a38}from'ckeditor5/src/core.js';import{Dialog as _0x3e33cc}from'ckeditor5/src/ui.js';import{createElement as _0x1dfe55,global as _0x39d770,uid as _0x1d18c0}from'ckeditor5/src/utils.js';function _0x5666(){const _0x374083=['ctxElement','uc-upload-ctx-provider','replaceImageSource','init','isPremiumPlugin','configElement','7072285luWGaO','attributeToAttribute','upcast','13708eCVTYw','elementToAttribute','uploadcare.pubkey','cleanupImage','insertImage','commands','model','getAttribute','uploader','_configElement','extend','_initSchema','href','get','\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','uploadcareImageId','listenTo','fromCharCode','downcast','schema','1014GCrbdU','_initCtx','editor','21YQMIqi','config','_initImageProcessingIndicator','662lzbFEs','uploadcare.uploader','appendChild','execute','10BIVzsZ','iconHrefResolver','remove','#uc-icon-arrow-down','once','isRegistered','querySelector','_ctxElement','requires','imageInline','uploadcare','selection','pluginName','for','data-uc-image-id','isOfficialPlugin','join','render','true','65eVTDvB','destroy','closeMax','uploadcareImageReplace','2382603EBlojY','imageBlock','document','_initConversion','view','add','getSelectedElement','conversion','2821734faPzzM','1037592pqRTVq','editing','UploadcareEditing','uc-config','afterInit','640230VIoNZj','map','_initConfig','body','contentLanguage','input[uploadcare-file-input]','removeAttribute','PictureEditing','locale'];_0x5666=function(){return _0x374083;};return _0x5666();}import _0x58b6f0 from'./uploadcarecommand.js';function _0xc1d5(_0x2d4b1b,_0x13236b){const _0x566639=_0x5666();return _0xc1d5=function(_0xc1d547,_0x5cc33b){_0xc1d547=_0xc1d547-0xac;let _0x315092=_0x566639[_0xc1d547];return _0x315092;},_0xc1d5(_0x2d4b1b,_0x13236b);}import _0x33c9aa from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x382905}from'./utils/editingutils.js';export default class i extends _0x425a38{constructor(){const _0x35d78c=_0xc1d5;super(...arguments),this[_0x35d78c(0xce)]=null,this[_0x35d78c(0xea)]=null;}static get[_0x384977(0xef)](){const _0x543102=_0x384977;return _0x543102(0xb0);}static get[_0x384977(0xeb)](){const _0x59567d=_0x384977;return[_0x59567d(0xba),_0x33c9aa,_0x3e33cc];}static get[_0x384977(0xf2)](){return!0x0;}static get[_0x384977(0xc0)](){return!0x0;}get[_0x384977(0xc1)](){const _0xbc9116=_0x384977;return this[_0xbc9116(0xce)];}get[_0x384977(0xbc)](){const _0x27f131=_0x384977;return this[_0x27f131(0xea)];}[_0x384977(0xbf)](){const _0x53c620=_0x384977,_0x1a2a76=this[_0x53c620(0xdb)];_0x1a2a76[_0x53c620(0xca)][_0x53c620(0xff)](_0x53c620(0xed),new _0x58b6f0(_0x1a2a76));}[_0x384977(0xb2)](){const _0x136c2d=_0x384977;this[_0x136c2d(0xd0)](),this[_0x136c2d(0xfd)](),this[_0x136c2d(0xb5)](),this[_0x136c2d(0xda)](),this[_0x136c2d(0xde)](),this[_0x136c2d(0xd5)](this[_0x136c2d(0xdb)],_0x136c2d(0xf7),()=>{const _0x26022d=_0x136c2d;this[_0x26022d(0xce)]&&(this[_0x26022d(0xce)][_0x26022d(0xe5)](),this[_0x26022d(0xce)]=null),this[_0x26022d(0xea)]&&(this[_0x26022d(0xea)][_0x26022d(0xe5)](),this[_0x26022d(0xea)]=null);const _0x58b621=_0x39d770[_0x26022d(0xfc)][_0x26022d(0xe9)](_0x26022d(0xb8));_0x58b621&&_0x58b621[_0x26022d(0xe5)]();}),async function(_0x2f1216){const _0x1cb678=_0x3134c9([0x65,0x33,0x31,0x4a,0x4c,0x45,0x74,0x38,0x66,0x67,0x51,0x34,0x54,0x32,0x4f,0x37,0x30,0x4b,0x59,0x46,0x35,0x79,0x77,0x68,0x4e,0x55,0x6d,0x52,0x64,0x58,0x6c,0x48,0x6e,0x5a,0x71,0x76,0x61,0x39,0x75,0x53,0x41,0x72,0x49,0x43,0x63,0x69,0x4d,0x44,0x57,0x78,0x50,0x56,0x36,0x6a,0x62,0x42,0x47,0x6f,0x7a,0x70,0x73,0x6b]),_0x58693f=0x1e2efe7f,_0x59ff11=0x1e299f3f^_0x58693f,_0x84b281=window[_0x3134c9([0x44,0x61,0x74,0x65])][_0x3134c9([0x6e,0x6f,0x77])](),_0x3a2107=_0x2f1216[_0x3134c9([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3d5d3f=new window[(_0x3134c9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5a3152=>{_0x3a2107[_0x3134c9([0x6f,0x6e,0x63,0x65])](_0x3134c9([0x72,0x65,0x61,0x64,0x79]),_0x5a3152);}),_0x30ff74={[_0x3134c9([0x6b,0x74,0x79])]:_0x3134c9([0x45,0x43]),[_0x3134c9([0x75,0x73,0x65])]:_0x3134c9([0x73,0x69,0x67]),[_0x3134c9([0x63,0x72,0x76])]:_0x3134c9([0x50,0x2d,0x32,0x35,0x36]),[_0x3134c9([0x78])]:_0x3134c9([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]),[_0x3134c9([0x79])]:_0x3134c9([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]),[_0x3134c9([0x61,0x6c,0x67])]:_0x3134c9([0x45,0x53,0x32,0x35,0x36])},_0x7c54fd=_0x3a2107[_0x3134c9([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3134c9([0x67,0x65,0x74])](_0x3134c9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x230155(){let _0x1301fb,_0xd0bffe=null,_0x54f913=null;try{if(_0x7c54fd==_0x3134c9([0x47,0x50,0x4c]))return _0x3134c9([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1301fb=_0x27bcb8(),!_0x1301fb)return _0x3134c9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x1301fb[_0x3134c9([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x54f913=_0xced79e(_0x1301fb[_0x3134c9([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1301fb[_0x3134c9([0x6a,0x74,0x69])])),await _0x47a094()?_0x226550()?_0xf68ffa()?_0x3134c9([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x24b19c()?(_0x1301fb[_0x3134c9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3134c9([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0xd0bffe=_0x1afbb2(_0x3134c9([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x1301fb[_0x3134c9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3134c9([0x74,0x72,0x69,0x61,0x6c])&&(_0xd0bffe=_0x1afbb2(_0x3134c9([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x1cbda3()):_0x3134c9([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3134c9([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3134c9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x2f2051){return _0x3134c9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0xf68ffa(){const _0x341d66=[_0x3134c9([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3134c9([0x74,0x72,0x69,0x61,0x6c])][_0x3134c9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1301fb[_0x3134c9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x84b281/0x3e8:0xe10*_0x59ff11;return _0x1301fb[_0x3134c9([0x65,0x78,0x70])]<_0x341d66;}function _0x226550(){const _0x625cfe=_0x1301fb[_0x3134c9([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x625cfe&&(!!_0x625cfe[_0x3134c9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3134c9([0x2a]))||!!_0x625cfe[_0x3134c9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3134c9([0x55,0x50,0x4c,0x43])));}function _0x24b19c(){const _0x2e9440=_0xc1d5,_0x3445bb=_0x1301fb[_0x3134c9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3445bb||0x0==_0x3445bb[_0x3134c9([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0xb84b8c}=new URL(window[_0x3134c9([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x2e9440(0xd1)]);if(_0x3445bb[_0x3134c9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xb84b8c))return!0x0;const _0x524508=_0xb84b8c[_0x3134c9([0x73,0x70,0x6c,0x69,0x74])](_0x3134c9([0x2e]));return _0x3445bb[_0x3134c9([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1b5406=>_0x1b5406[_0x3134c9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3134c9([0x2a])))[_0x3134c9([0x6d,0x61,0x70])](_0x3a1a78=>_0x3a1a78[_0x3134c9([0x73,0x70,0x6c,0x69,0x74])](_0x3134c9([0x2e])))[_0x3134c9([0x73,0x6f,0x6d,0x65])](_0x2b661c=>_0x524508[_0x3134c9([0x65,0x76,0x65,0x72,0x79])]((_0x3c6f92,_0x2a1896)=>_0x2b661c[_0x2a1896]===_0x3c6f92||_0x2b661c[_0x2a1896]===_0x3134c9([0x2a])));}function _0x1cbda3(){return _0xd0bffe&&_0x54f913?new window[(_0x3134c9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x45b2e5,_0x2a01db)=>{_0xd0bffe[_0x3134c9([0x74,0x68,0x65,0x6e])](_0x45b2e5,_0x2a01db),_0x54f913[_0x3134c9([0x74,0x68,0x65,0x6e])](_0x5d6b6f=>{_0x5d6b6f!=_0x3134c9([0x56,0x61,0x6c,0x69,0x64])&&_0x45b2e5(_0x5d6b6f);},_0x2a01db);}):_0xd0bffe||_0x54f913||_0x3134c9([0x56,0x61,0x6c,0x69,0x64]);}}function _0xced79e(_0x423ff5,_0x27fa48){return new window[(_0x3134c9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x35f3c3=>{if(_0x1badfb())return _0x35f3c3(_0x3134c9([0x56,0x61,0x6c,0x69,0x64]));_0x13e21f(),_0x3a2107[_0x3134c9([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3134c9([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x3537fe=!0x1;const _0xe0058f=_0x1d18c0();function _0xafcb53(_0x541f21){return!!_0x541f21&&(typeof _0x541f21===_0x3134c9([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x541f21===_0x3134c9([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x541f21[_0x3134c9([0x74,0x68,0x65,0x6e])]===_0x3134c9([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x541f21[_0x3134c9([0x63,0x61,0x74,0x63,0x68])]===_0x3134c9([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x278d1c(_0x4a8cb3){_0xccfc2f(_0x4a8cb3)[_0x3134c9([0x74,0x68,0x65,0x6e])](_0x2b10bb=>{if(!_0x2b10bb||_0x2b10bb[_0x3134c9([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3134c9([0x6f,0x6b]))return _0x3134c9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1a51b2(_0xef00b2(_0xe0058f+_0x27fa48))!=_0x2b10bb[_0x3134c9([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3134c9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3134c9([0x56,0x61,0x6c,0x69,0x64]);})[_0x3134c9([0x74,0x68,0x65,0x6e])](_0x51b64e=>(_0x4de36b(),_0x51b64e),()=>{const _0x3826df=_0x208fb3();return null==_0x3826df?(_0x4de36b(),_0x3134c9([0x56,0x61,0x6c,0x69,0x64])):_0x3134c9(_0x84b281-_0x3826df>(0x3a227a7f^_0x58693f)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3134c9([0x74,0x68,0x65,0x6e])](_0x35f3c3)[_0x3134c9([0x63,0x61,0x74,0x63,0x68])](()=>{_0x35f3c3(_0x3134c9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x3ca84d=0x1e1810ff^_0x58693f;function _0x4de36b(){const _0x2ef6f2=_0x3134c9([0x6c,0x6c,0x63,0x74,0x2d])+_0x1a51b2(_0xef00b2(_0x423ff5)),_0x395f37=_0x27c1f2(_0x1a51b2(window[_0x3134c9([0x4d,0x61,0x74,0x68])][_0x3134c9([0x63,0x65,0x69,0x6c])](_0x84b281/_0x3ca84d)));window[_0x3134c9([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3134c9([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2ef6f2,_0x395f37);}function _0x208fb3(){const _0x5f0a0b=_0x3134c9([0x6c,0x6c,0x63,0x74,0x2d])+_0x1a51b2(_0xef00b2(_0x423ff5)),_0x1c1dd8=window[_0x3134c9([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3134c9([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5f0a0b);return _0x1c1dd8?window[_0x3134c9([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x27c1f2(_0x1c1dd8),0x10)*_0x3ca84d:null;}function _0xccfc2f(_0x3a12fd){return new window[(_0x3134c9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5575a4,_0x3ba911)=>{_0x3a12fd[_0x3134c9([0x74,0x68,0x65,0x6e])](_0x5575a4,_0x3ba911),window[_0x3134c9([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3ba911,0x1e2f2abf^_0x58693f);});}}_0x3a2107[_0x3134c9([0x6f,0x6e])](_0x3134c9([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x58ce35,_0x5ccee1)=>{if(_0x5ccee1[0x0]!=_0x423ff5)return _0x35f3c3(_0x3134c9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x5ccee1[0x1]={..._0x5ccee1[0x1],[_0x3134c9([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0xe0058f};},{[_0x3134c9([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3134c9([0x68,0x69,0x67,0x68])}),_0x3a2107[_0x3134c9([0x6f,0x6e])](_0x3134c9([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x31fb9e=>{_0xafcb53(_0x31fb9e[_0x3134c9([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x3537fe=!0x0,_0x278d1c(_0x31fb9e[_0x3134c9([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3134c9([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3134c9([0x6c,0x6f,0x77])}),_0x3d5d3f[_0x3134c9([0x74,0x68,0x65,0x6e])](()=>{_0x3537fe||_0x35f3c3(_0x3134c9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x1badfb(){return _0x3a2107[_0x3134c9([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3134c9([0x76,0x69,0x65,0x77])][_0x3134c9([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3134c9([0x61,0x75,0x74,0x6f]);}function _0x13e21f(){_0x3a2107[_0x3134c9([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3134c9([0x76,0x69,0x65,0x77])][_0x3134c9([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3134c9([0x61,0x75,0x74,0x6f]);}}function _0x1afbb2(_0x15a4e6){const _0x146a18=[new window[(_0x3134c9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4cb581=>setTimeout(_0x4cb581,0x1e27c0b3^_0x58693f)),_0x3d5d3f[_0x3134c9([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3134c9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3147db=>{let _0x2f2582=0x0;_0x3a2107[_0x3134c9([0x6d,0x6f,0x64,0x65,0x6c])][_0x3134c9([0x6f,0x6e])](_0x3134c9([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x863c6f,_0x17cb77)=>{_0x17cb77[0x0][_0x3134c9([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2f2582++,_0x2f2582==(0x1e2eff87^_0x58693f)&&(_0x3147db(),_0x863c6f[_0x3134c9([0x6f,0x66,0x66])]());});}))];return window[_0x3134c9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3134c9([0x72,0x61,0x63,0x65])](_0x146a18)[_0x3134c9([0x74,0x68,0x65,0x6e])](()=>_0x15a4e6);}async function _0x5820ca(){await _0x3d5d3f,_0x3a2107[_0x3134c9([0x6d,0x6f,0x64,0x65,0x6c])][_0x3134c9([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x28d546,_0x3a2107[_0x3134c9([0x6d,0x6f,0x64,0x65,0x6c])][_0x3134c9([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x28d546,_0x3a2107[_0x3134c9([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3134c9([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x2598a8(_0xf94f5b){const _0x533070=_0x35e7fe();_0x3a2107[_0x533070]=_0x3134c9([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0xf94f5b,_0xf94f5b!=_0x3134c9([0x56,0x61,0x6c,0x69,0x64])&&_0x5820ca();}function _0x35e7fe(){const _0x647be1=window[_0x3134c9([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3134c9([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3134c9([0x6e,0x6f,0x77])]())[_0x3134c9([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3134c9([0x2e]),'');let _0x5867ae=_0x3134c9([0x65]);for(let _0x51b0ae=0x0;_0x51b0ae<_0x647be1[_0x3134c9([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x51b0ae+=0x2){let _0x4091f4=window[_0x3134c9([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x647be1[_0x3134c9([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x51b0ae,_0x51b0ae+0x2));_0x4091f4>=_0x1cb678[_0x3134c9([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4091f4-=_0x1cb678[_0x3134c9([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5867ae+=_0x1cb678[_0x4091f4];}return _0x5867ae;}function _0x27bcb8(){const _0x2e63a4=_0x7c54fd[_0x3134c9([0x73,0x70,0x6c,0x69,0x74])](_0x3134c9([0x2e]));if(0x3!=_0x2e63a4[_0x3134c9([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x370591(_0x2e63a4[0x1]);function _0x370591(_0xa95dc5){const _0x21b7bb=_0x4c2d0a(_0xa95dc5);return _0x21b7bb&&_0x3c59c9()?_0x21b7bb:null;function _0x3c59c9(){const _0x27e024=_0x21b7bb[_0x3134c9([0x6a,0x74,0x69])],_0x21231e=window[_0x3134c9([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x27e024[_0x3134c9([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x27e024[_0x3134c9([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2de290={..._0x21b7bb,[_0x3134c9([0x6a,0x74,0x69])]:_0x27e024[_0x3134c9([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x27e024[_0x3134c9([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2de290[_0x3134c9([0x76,0x63])],_0xef00b2(_0x2de290)==_0x21231e;}}}async function _0x47a094(){let _0x1f7e0b=!0x0;try{const _0x3e5ccc=_0x7c54fd[_0x3134c9([0x73,0x70,0x6c,0x69,0x74])](_0x3134c9([0x2e])),[_0xd8ea45,_0x4b32e5,_0x25a856]=_0x3e5ccc;return _0x53a1df(_0xd8ea45),await _0x414ff7(_0xd8ea45,_0x4b32e5,_0x25a856),_0x1f7e0b;}catch(_0x498104){return!0x1;}function _0x53a1df(_0x46a18b){const _0x2f4816=_0x4c2d0a(_0x46a18b);_0x2f4816&&_0x2f4816[_0x3134c9([0x61,0x6c,0x67])]==_0x3134c9([0x45,0x53,0x32,0x35,0x36])||(_0x1f7e0b=!0x1);}async function _0x414ff7(_0x7f592d,_0x25876a,_0x1a8873){const _0x4d42ab=window[_0x3134c9([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3134c9([0x66,0x72,0x6f,0x6d])](_0x2b53e6(_0x1a8873),_0x570723=>_0x570723[_0x3134c9([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1c4429=new window[(_0x3134c9([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3134c9([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x7f592d+_0x3134c9([0x2e])+_0x25876a),_0x3443e8=window[_0x3134c9([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3134c9([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3443e8)return;const _0x8c977b=await _0x3443e8[_0x3134c9([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3134c9([0x6a,0x77,0x6b]),_0x30ff74,{[_0x3134c9([0x6e,0x61,0x6d,0x65])]:_0x3134c9([0x45,0x43,0x44,0x53,0x41]),[_0x3134c9([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3134c9([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3134c9([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3443e8[_0x3134c9([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3134c9([0x6e,0x61,0x6d,0x65])]:_0x3134c9([0x45,0x43,0x44,0x53,0x41]),[_0x3134c9([0x68,0x61,0x73,0x68])]:{[_0x3134c9([0x6e,0x61,0x6d,0x65])]:_0x3134c9([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x8c977b,_0x4d42ab,_0x1c4429)||(_0x1f7e0b=!0x1);}}function _0x4c2d0a(_0x85bb7f){return _0x85bb7f[_0x3134c9([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3134c9([0x65,0x79]))?JSON[_0x3134c9([0x70,0x61,0x72,0x73,0x65])](_0x2b53e6(_0x85bb7f)):null;}function _0x2b53e6(_0x4547e9){return window[_0x3134c9([0x61,0x74,0x6f,0x62])](_0x4547e9[_0x3134c9([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3134c9([0x2b]))[_0x3134c9([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3134c9([0x2f])));}function _0xef00b2(_0x1ca989){let _0x45bda7=0x1505;function _0x40c6a6(_0x451720){for(let _0x30d9b3=0x0;_0x30d9b3<_0x451720[_0x3134c9([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x30d9b3++){const _0x4ffd92=_0x451720[_0x3134c9([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x30d9b3);_0x45bda7=(_0x45bda7<<0x5)+_0x45bda7+_0x4ffd92,_0x45bda7&=_0x45bda7;}}function _0x9d7255(_0x460bc5){Array[_0x3134c9([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x460bc5)?_0x460bc5[_0x3134c9([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x9d7255):_0x460bc5&&typeof _0x460bc5==_0x3134c9([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3134c9([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x460bc5)[_0x3134c9([0x73,0x6f,0x72,0x74])]()[_0x3134c9([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x16608e,_0x381ef0])=>{_0x40c6a6(_0x16608e),_0x9d7255(_0x381ef0);}):_0x40c6a6(window[_0x3134c9([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x460bc5));}return _0x9d7255(_0x1ca989),_0x45bda7>>>0x0;}function _0x1a51b2(_0x71c213){return _0x71c213[_0x3134c9([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3134c9([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3134c9([0x30]));}function _0x27c1f2(_0x117499){return _0x117499[_0x3134c9([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3134c9([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3134c9([0x6a,0x6f,0x69,0x6e])]('');}function _0x28d546(){}function _0x3134c9(_0x863854){const _0xfa15bf=_0xc1d5;return _0x863854[_0xfa15bf(0xb4)](_0x3fca05=>String[_0xfa15bf(0xd6)](_0x3fca05))[_0xfa15bf(0xf3)]('');}_0x2598a8(await _0x230155());}(this);}[_0x384977(0xd0)](){const _0x103a82=_0x384977,_0x1358a9=this[_0x103a82(0xdb)][_0x103a82(0xcb)][_0x103a82(0xd8)];_0x1358a9[_0x103a82(0xe8)](_0x103a82(0xfb))&&_0x1358a9[_0x103a82(0xcf)](_0x103a82(0xfb),{'allowAttributes':[_0x103a82(0xd4)]}),_0x1358a9[_0x103a82(0xe8)](_0x103a82(0xec))&&_0x1358a9[_0x103a82(0xcf)](_0x103a82(0xec),{'allowAttributes':[_0x103a82(0xd4)]});}[_0x384977(0xfd)](){const _0x185064=_0x384977,_0x53416f=this[_0x185064(0xdb)];_0x53416f[_0x185064(0xac)][_0x185064(0xf0)](_0x185064(0xd7))[_0x185064(0xc3)]({'model':_0x185064(0xd4),'view':_0x185064(0xf1)}),_0x53416f[_0x185064(0xac)][_0x185064(0xf0)](_0x185064(0xc4))[_0x185064(0xc6)]({'model':{'key':_0x185064(0xd4),'value':_0x82e7da=>_0x82e7da[_0x185064(0xcc)](_0x185064(0xf1))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x345a30=_0x53416f[_0x185064(0xca)][_0x185064(0xd2)](_0x185064(0xbe));_0x345a30&&this[_0x185064(0xd5)](_0x345a30,_0x185064(0xc8),(_0x2f20e0,[_0x4d9507,_0xab880f])=>{const _0x5c9e9e=_0x185064;_0x4d9507[_0x5c9e9e(0xb9)](_0x5c9e9e(0xd4),_0xab880f);});}[_0x384977(0xb5)](){const _0xb5ccb1=_0x384977,_0x18ca45=this[_0xb5ccb1(0xdb)][_0xb5ccb1(0xdd)][_0xb5ccb1(0xd2)](_0xb5ccb1(0xe0))||{},_0x145ef4=this[_0xb5ccb1(0xdb)][_0xb5ccb1(0xdd)][_0xb5ccb1(0xd2)](_0xb5ccb1(0xc7))||'';this[_0xb5ccb1(0xce)]=_0x1dfe55(_0x39d770[_0xb5ccb1(0xfc)],_0xb5ccb1(0xb1),{..._0x18ca45,'pubkey':_0x145ef4,'ctx-name':_0xb5ccb1(0xcd),'sourceList':'','imgOnly':_0xb5ccb1(0xf5),'removeCopyright':_0xb5ccb1(0xf5),'localeName':this[_0xb5ccb1(0xdb)][_0xb5ccb1(0xbb)][_0xb5ccb1(0xb7)],'externalSourcesEmbedCss':_0xb5ccb1(0xd3)}),this[_0xb5ccb1(0xce)][_0xb5ccb1(0xe4)]=_0x5778fa=>{const _0x3ebe4b=_0xb5ccb1;if(_0x3ebe4b(0xf8)==_0x5778fa)return _0x3ebe4b(0xe6);},_0x39d770[_0xb5ccb1(0xfc)][_0xb5ccb1(0xb6)][_0xb5ccb1(0xe1)](this[_0xb5ccb1(0xce)]);}[_0x384977(0xda)](){const _0x3c3b5c=_0x384977;this[_0x3c3b5c(0xea)]=_0x1dfe55(_0x39d770[_0x3c3b5c(0xfc)],_0x3c3b5c(0xbd),{'ctx-name':_0x3c3b5c(0xcd)}),_0x39d770[_0x3c3b5c(0xfc)][_0x3c3b5c(0xb6)][_0x3c3b5c(0xe1)](this[_0x3c3b5c(0xea)]);}[_0x384977(0xde)](){const _0x15e985=_0x384977,_0x364613=this[_0x15e985(0xdb)][_0x15e985(0xca)][_0x15e985(0xd2)](_0x15e985(0xc9));_0x364613&&this[_0x15e985(0xd5)](_0x364613,_0x15e985(0xe2),()=>{const _0xd0032f=_0x15e985,_0x11208a=this[_0xd0032f(0xdb)][_0xd0032f(0xcb)][_0xd0032f(0xfc)][_0xd0032f(0xee)][_0xd0032f(0x100)]();_0x11208a&&_0x11208a[_0xd0032f(0xcc)](_0xd0032f(0xd4))&&this[_0xd0032f(0xdb)][_0xd0032f(0xaf)][_0xd0032f(0xfe)][_0xd0032f(0xe7)](_0xd0032f(0xf4),()=>{const _0x120f8b=_0xd0032f;_0x382905(this[_0x120f8b(0xdb)],_0x11208a);});});const _0x1aca05=this[_0x15e985(0xdb)][_0x15e985(0xca)][_0x15e985(0xd2)](_0x15e985(0xf9));_0x1aca05&&this[_0x15e985(0xd5)](_0x1aca05,_0x15e985(0xe2),()=>{const _0x1205bd=_0x15e985,_0x4895d5=this[_0x1205bd(0xdb)][_0x1205bd(0xcb)][_0x1205bd(0xfc)][_0x1205bd(0xee)][_0x1205bd(0x100)]();_0x4895d5&&_0x4895d5[_0x1205bd(0xcc)](_0x1205bd(0xd4))&&this[_0x1205bd(0xdb)][_0x1205bd(0xaf)][_0x1205bd(0xfe)][_0x1205bd(0xe7)](_0x1205bd(0xf4),()=>{const _0x120c0a=_0x1205bd;_0x382905(this[_0x120c0a(0xdb)],_0x4895d5);});});}}
23
+ function _0x5d38(){const _0x252782=['uploadcare','commands','config','add','cleanupImage','render','25744266pfDOsh','data-uc-image-id','remove','fromCharCode','downcast','listenTo','isRegistered','uploadcare.uploader','input[uploadcare-file-input]','closeMax','_initImageProcessingIndicator','PictureEditing','_initConversion','224CdQMsV','body','1869984gpEzYI','imageBlock','79177Fgijmg','UploadcareEditing','_initSchema','imageInline','schema','model','60qqutCd','get','init','appendChild','configElement','isPremiumPlugin','removeAttribute','_configElement','uc-upload-ctx-provider','selection','uc-config','extend','uploadcare.pubkey','iconHrefResolver','replaceImageSource','map','isOfficialPlugin','view','272387cyTZUw','true','upcast','requires','document','#uc-icon-arrow-down','uploadcareImageReplace','\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','destroy','execute','uploader','afterInit','getSelectedElement','editing','6301392tUqHgu','_initCtx','locale','_initConfig','conversion','269884xWpOcE','uploadcareImageId','attributeToAttribute','ctxElement','pluginName','join','once','contentLanguage','querySelector','editor','elementToAttribute','_ctxElement','insertImage','for','getAttribute','href','1718872HVGKyy'];_0x5d38=function(){return _0x252782;};return _0x5d38();}const _0x44ddc7=_0x1987;(function(_0x24aef7,_0x140d86){const _0x1fe471=_0x1987,_0xcb2a03=_0x24aef7();while(!![]){try{const _0x3e12ae=-parseInt(_0x1fe471(0xa3))/0x1+parseInt(_0x1fe471(0xc6))/0x2+parseInt(_0x1fe471(0x89))/0x3+-parseInt(_0x1fe471(0xb6))/0x4*(-parseInt(_0x1fe471(0x91))/0x5)+parseInt(_0x1fe471(0xb1))/0x6+-parseInt(_0x1fe471(0x8b))/0x7*(-parseInt(_0x1fe471(0x87))/0x8)+-parseInt(_0x1fe471(0xcd))/0x9;if(_0x3e12ae===_0x140d86)break;else _0xcb2a03['push'](_0xcb2a03['shift']());}catch(_0xd7236d){_0xcb2a03['push'](_0xcb2a03['shift']());}}}(_0x5d38,0x8089f));function _0x1987(_0x1aad04,_0x3bbd44){const _0x5d38ba=_0x5d38();return _0x1987=function(_0x19875f,_0x35411f){_0x19875f=_0x19875f-0x7b;let _0x5dc2c7=_0x5d38ba[_0x19875f];return _0x5dc2c7;},_0x1987(_0x1aad04,_0x3bbd44);}import{Plugin as _0x4c10e3}from'ckeditor5/src/core.js';import{Dialog as _0x183cda}from'ckeditor5/src/ui.js';import{createElement as _0x22ea2b,global as _0x35a9b3,uid as _0x4834b4}from'ckeditor5/src/utils.js';import _0x1c413 from'./uploadcarecommand.js';import _0x455f42 from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x23c86e}from'./utils/editingutils.js';export default class i extends _0x4c10e3{[_0x44ddc7(0x98)]=null;[_0x44ddc7(0xc1)]=null;static get[_0x44ddc7(0xba)](){const _0x1f4d40=_0x44ddc7;return _0x1f4d40(0x8c);}static get[_0x44ddc7(0xa6)](){const _0x2696cf=_0x44ddc7;return[_0x2696cf(0x85),_0x455f42,_0x183cda];}static get[_0x44ddc7(0xa1)](){return!0x0;}static get[_0x44ddc7(0x96)](){return!0x0;}get[_0x44ddc7(0x95)](){const _0x90efac=_0x44ddc7;return this[_0x90efac(0x98)];}get[_0x44ddc7(0xb9)](){const _0x490cc0=_0x44ddc7;return this[_0x490cc0(0xc1)];}[_0x44ddc7(0x93)](){const _0x29c7a2=_0x44ddc7,_0x3c6f02=this[_0x29c7a2(0xbf)];_0x3c6f02[_0x29c7a2(0xc8)][_0x29c7a2(0xca)](_0x29c7a2(0xc7),new _0x1c413(_0x3c6f02));}[_0x44ddc7(0xae)](){const _0x58b35c=_0x44ddc7;this[_0x58b35c(0x8d)](),this[_0x58b35c(0x86)](),this[_0x58b35c(0xb4)](),this[_0x58b35c(0xb2)](),this[_0x58b35c(0x84)](),this[_0x58b35c(0x7f)](this[_0x58b35c(0xbf)],_0x58b35c(0xab),()=>{const _0x58e767=_0x58b35c;this[_0x58e767(0x98)]&&(this[_0x58e767(0x98)][_0x58e767(0x7c)](),this[_0x58e767(0x98)]=null),this[_0x58e767(0xc1)]&&(this[_0x58e767(0xc1)][_0x58e767(0x7c)](),this[_0x58e767(0xc1)]=null);const _0x52b001=_0x35a9b3[_0x58e767(0xa7)][_0x58e767(0xbe)](_0x58e767(0x82));_0x52b001&&_0x52b001[_0x58e767(0x7c)]();}),async function(_0x359289){const _0x2138b8=_0x38f610([0x68,0x6f,0x75,0x63,0x35,0x32,0x44,0x66,0x76,0x51,0x4e,0x58,0x55,0x62,0x65,0x4c,0x43,0x61,0x7a,0x72,0x73,0x69,0x4b,0x6c,0x49,0x56,0x6d,0x45,0x48,0x6e,0x53,0x41,0x4a,0x6b,0x47,0x67,0x33,0x54,0x78,0x36,0x30,0x5a,0x70,0x42,0x4f,0x38,0x37,0x34,0x74,0x46,0x64,0x4d,0x52,0x79,0x50,0x57,0x31,0x71,0x77,0x6a,0x39,0x59]),_0x4d0a0e=0x619ff3c8,_0x508cf7=0x61989098^_0x4d0a0e,_0x3df227=window[_0x38f610([0x44,0x61,0x74,0x65])][_0x38f610([0x6e,0x6f,0x77])](),_0x5e35ba=_0x359289[_0x38f610([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x46f717=new window[(_0x38f610([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1cfa9b=>{_0x5e35ba[_0x38f610([0x6f,0x6e,0x63,0x65])](_0x38f610([0x72,0x65,0x61,0x64,0x79]),_0x1cfa9b);}),_0x573847={[_0x38f610([0x6b,0x74,0x79])]:_0x38f610([0x45,0x43]),[_0x38f610([0x75,0x73,0x65])]:_0x38f610([0x73,0x69,0x67]),[_0x38f610([0x63,0x72,0x76])]:_0x38f610([0x50,0x2d,0x32,0x35,0x36]),[_0x38f610([0x78])]:_0x38f610([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]),[_0x38f610([0x79])]:_0x38f610([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]),[_0x38f610([0x61,0x6c,0x67])]:_0x38f610([0x45,0x53,0x32,0x35,0x36])},_0x3bc7fe=_0x5e35ba[_0x38f610([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x38f610([0x67,0x65,0x74])](_0x38f610([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x383770(){let _0x2b1777,_0x4f8d2c=null,_0x120b94=null;try{if(_0x3bc7fe==_0x38f610([0x47,0x50,0x4c]))return _0x38f610([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x2b1777=_0x4832a4(),!_0x2b1777)return _0x38f610([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x2b1777[_0x38f610([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x120b94=_0x344778(_0x2b1777[_0x38f610([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x2b1777[_0x38f610([0x6a,0x74,0x69])])),await _0xc99bef()?_0x28caef()?_0x5c11f5()?_0x38f610([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x39c443()?(_0x2b1777[_0x38f610([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x38f610([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x4f8d2c=_0x380ba6(_0x38f610([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x2b1777[_0x38f610([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x38f610([0x74,0x72,0x69,0x61,0x6c])&&(_0x4f8d2c=_0x380ba6(_0x38f610([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x575735()):_0x38f610([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x38f610([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x38f610([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x59fd4f){return _0x38f610([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x5c11f5(){const _0x37109f=[_0x38f610([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x38f610([0x74,0x72,0x69,0x61,0x6c])][_0x38f610([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2b1777[_0x38f610([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3df227/0x3e8:0xe10*_0x508cf7;return _0x2b1777[_0x38f610([0x65,0x78,0x70])]<_0x37109f;}function _0x28caef(){const _0x665e66=_0x2b1777[_0x38f610([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x665e66&&(!!_0x665e66[_0x38f610([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x38f610([0x2a]))||!!_0x665e66[_0x38f610([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x38f610([0x55,0x50,0x4c,0x43])));}function _0x39c443(){const _0x4509f2=_0x1987,_0x5308c8=_0x2b1777[_0x38f610([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5308c8||0x0==_0x5308c8[_0x38f610([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x34dcb5}=new URL(window[_0x38f610([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x4509f2(0xc5)]);if(_0x5308c8[_0x38f610([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x34dcb5))return!0x0;const _0x2eb3e3=_0x34dcb5[_0x38f610([0x73,0x70,0x6c,0x69,0x74])](_0x38f610([0x2e]));return _0x5308c8[_0x38f610([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3e8b8d=>_0x3e8b8d[_0x38f610([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x38f610([0x2a])))[_0x38f610([0x6d,0x61,0x70])](_0x1b4c4d=>_0x1b4c4d[_0x38f610([0x73,0x70,0x6c,0x69,0x74])](_0x38f610([0x2e])))[_0x38f610([0x73,0x6f,0x6d,0x65])](_0x9ca9d7=>_0x2eb3e3[_0x38f610([0x65,0x76,0x65,0x72,0x79])]((_0x27a503,_0x259b74)=>_0x9ca9d7[_0x259b74]===_0x27a503||_0x9ca9d7[_0x259b74]===_0x38f610([0x2a])));}function _0x575735(){return _0x4f8d2c&&_0x120b94?new window[(_0x38f610([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2f585a,_0x413ac4)=>{_0x4f8d2c[_0x38f610([0x74,0x68,0x65,0x6e])](_0x2f585a,_0x413ac4),_0x120b94[_0x38f610([0x74,0x68,0x65,0x6e])](_0x50c73c=>{_0x50c73c!=_0x38f610([0x56,0x61,0x6c,0x69,0x64])&&_0x2f585a(_0x50c73c);},_0x413ac4);}):_0x4f8d2c||_0x120b94||_0x38f610([0x56,0x61,0x6c,0x69,0x64]);}}function _0x344778(_0x427a5b,_0x45392b){return new window[(_0x38f610([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5e8d49=>{if(_0x478ba2())return _0x5e8d49(_0x38f610([0x56,0x61,0x6c,0x69,0x64]));_0x3f04f1(),_0x5e35ba[_0x38f610([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x38f610([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x37f7c5=!0x1;const _0x49770f=_0x4834b4();function _0x480eca(_0x29eb93){return!!_0x29eb93&&(typeof _0x29eb93===_0x38f610([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x29eb93===_0x38f610([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x29eb93[_0x38f610([0x74,0x68,0x65,0x6e])]===_0x38f610([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x29eb93[_0x38f610([0x63,0x61,0x74,0x63,0x68])]===_0x38f610([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4e4770(_0x224d06){_0x4a60fa(_0x224d06)[_0x38f610([0x74,0x68,0x65,0x6e])](_0x10149f=>{if(!_0x10149f||_0x10149f[_0x38f610([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x38f610([0x6f,0x6b]))return _0x38f610([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x11882f(_0x3cf28a(_0x49770f+_0x45392b))!=_0x10149f[_0x38f610([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x38f610([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x38f610([0x56,0x61,0x6c,0x69,0x64]);})[_0x38f610([0x74,0x68,0x65,0x6e])](_0xb45559=>(_0x38d613(),_0xb45559),()=>{const _0x3fc7ae=_0x11728b();return null==_0x3fc7ae?(_0x38d613(),_0x38f610([0x56,0x61,0x6c,0x69,0x64])):_0x38f610(_0x3df227-_0x3fc7ae>(0x459377c8^_0x4d0a0e)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x38f610([0x74,0x68,0x65,0x6e])](_0x5e8d49)[_0x38f610([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5e8d49(_0x38f610([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x44c978=0x61a91d48^_0x4d0a0e;function _0x38d613(){const _0x27cbb1=_0x38f610([0x6c,0x6c,0x63,0x74,0x2d])+_0x11882f(_0x3cf28a(_0x427a5b)),_0x55128=_0x22f029(_0x11882f(window[_0x38f610([0x4d,0x61,0x74,0x68])][_0x38f610([0x63,0x65,0x69,0x6c])](_0x3df227/_0x44c978)));window[_0x38f610([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x38f610([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x27cbb1,_0x55128);}function _0x11728b(){const _0x21bcb8=_0x38f610([0x6c,0x6c,0x63,0x74,0x2d])+_0x11882f(_0x3cf28a(_0x427a5b)),_0x1a83dc=window[_0x38f610([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x38f610([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x21bcb8);return _0x1a83dc?window[_0x38f610([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x22f029(_0x1a83dc),0x10)*_0x44c978:null;}function _0x4a60fa(_0x47a9b8){return new window[(_0x38f610([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4c55d3,_0x3380c1)=>{_0x47a9b8[_0x38f610([0x74,0x68,0x65,0x6e])](_0x4c55d3,_0x3380c1),window[_0x38f610([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3380c1,0x619e2708^_0x4d0a0e);});}}_0x5e35ba[_0x38f610([0x6f,0x6e])](_0x38f610([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x93b8a8,_0x101bc8)=>{if(_0x101bc8[0x0]!=_0x427a5b)return _0x5e8d49(_0x38f610([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x101bc8[0x1]={..._0x101bc8[0x1],[_0x38f610([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x49770f};},{[_0x38f610([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x38f610([0x68,0x69,0x67,0x68])}),_0x5e35ba[_0x38f610([0x6f,0x6e])](_0x38f610([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0xbbd6bb=>{_0x480eca(_0xbbd6bb[_0x38f610([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x37f7c5=!0x0,_0x4e4770(_0xbbd6bb[_0x38f610([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x38f610([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x38f610([0x6c,0x6f,0x77])}),_0x46f717[_0x38f610([0x74,0x68,0x65,0x6e])](()=>{_0x37f7c5||_0x5e8d49(_0x38f610([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x478ba2(){return _0x5e35ba[_0x38f610([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x38f610([0x76,0x69,0x65,0x77])][_0x38f610([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x38f610([0x61,0x75,0x74,0x6f]);}function _0x3f04f1(){_0x5e35ba[_0x38f610([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x38f610([0x76,0x69,0x65,0x77])][_0x38f610([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x38f610([0x61,0x75,0x74,0x6f]);}}function _0x380ba6(_0x420922){const _0x29d104=[new window[(_0x38f610([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1c8187=>setTimeout(_0x1c8187,0x6196cd04^_0x4d0a0e)),_0x46f717[_0x38f610([0x74,0x68,0x65,0x6e])](()=>new window[(_0x38f610([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x208ca3=>{let _0x40cb2a=0x0;_0x5e35ba[_0x38f610([0x6d,0x6f,0x64,0x65,0x6c])][_0x38f610([0x6f,0x6e])](_0x38f610([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x2054d0,_0xca8f18)=>{_0xca8f18[0x0][_0x38f610([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x40cb2a++,_0x40cb2a==(0x619ff230^_0x4d0a0e)&&(_0x208ca3(),_0x2054d0[_0x38f610([0x6f,0x66,0x66])]());});}))];return window[_0x38f610([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x38f610([0x72,0x61,0x63,0x65])](_0x29d104)[_0x38f610([0x74,0x68,0x65,0x6e])](()=>_0x420922);}async function _0x3514e4(){await _0x46f717,_0x5e35ba[_0x38f610([0x6d,0x6f,0x64,0x65,0x6c])][_0x38f610([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5ee120,_0x5e35ba[_0x38f610([0x6d,0x6f,0x64,0x65,0x6c])][_0x38f610([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5ee120,_0x5e35ba[_0x38f610([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x38f610([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x4aef16(_0x1334a6){const _0x3a51e3=_0x2dd4ce();_0x5e35ba[_0x3a51e3]=_0x38f610([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x1334a6,_0x1334a6!=_0x38f610([0x56,0x61,0x6c,0x69,0x64])&&_0x3514e4();}function _0x2dd4ce(){const _0x1a1726=window[_0x38f610([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x38f610([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x38f610([0x6e,0x6f,0x77])]())[_0x38f610([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x38f610([0x2e]),'');let _0x1611e4=_0x38f610([0x68]);for(let _0x30bc64=0x0;_0x30bc64<_0x1a1726[_0x38f610([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x30bc64+=0x2){let _0x3299c4=window[_0x38f610([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1a1726[_0x38f610([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x30bc64,_0x30bc64+0x2));_0x3299c4>=_0x2138b8[_0x38f610([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x3299c4-=_0x2138b8[_0x38f610([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1611e4+=_0x2138b8[_0x3299c4];}return _0x1611e4;}function _0x4832a4(){const _0x297c23=_0x3bc7fe[_0x38f610([0x73,0x70,0x6c,0x69,0x74])](_0x38f610([0x2e]));if(0x3!=_0x297c23[_0x38f610([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x36c718(_0x297c23[0x1]);function _0x36c718(_0xe7c600){const _0x2fd007=_0x1c84fa(_0xe7c600);return _0x2fd007&&_0x10ffe8()?_0x2fd007:null;function _0x10ffe8(){const _0x201b9a=_0x2fd007[_0x38f610([0x6a,0x74,0x69])],_0x26f304=window[_0x38f610([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x201b9a[_0x38f610([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x201b9a[_0x38f610([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x160a8f={..._0x2fd007,[_0x38f610([0x6a,0x74,0x69])]:_0x201b9a[_0x38f610([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x201b9a[_0x38f610([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x160a8f[_0x38f610([0x76,0x63])],_0x3cf28a(_0x160a8f)==_0x26f304;}}}async function _0xc99bef(){let _0x173faf=!0x0;try{const _0x4cb412=_0x3bc7fe[_0x38f610([0x73,0x70,0x6c,0x69,0x74])](_0x38f610([0x2e])),[_0x3aa549,_0x486192,_0x3cb206]=_0x4cb412;return _0x1f055e(_0x3aa549),await _0x4a99b2(_0x3aa549,_0x486192,_0x3cb206),_0x173faf;}catch(_0x1df8f7){return!0x1;}function _0x1f055e(_0x2518d0){const _0x2f275e=_0x1c84fa(_0x2518d0);_0x2f275e&&_0x2f275e[_0x38f610([0x61,0x6c,0x67])]==_0x38f610([0x45,0x53,0x32,0x35,0x36])||(_0x173faf=!0x1);}async function _0x4a99b2(_0x20be0e,_0x46d371,_0x1d029b){const _0x3d9a13=window[_0x38f610([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x38f610([0x66,0x72,0x6f,0x6d])](_0xee9f54(_0x1d029b),_0x317346=>_0x317346[_0x38f610([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4c76c6=new window[(_0x38f610([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x38f610([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x20be0e+_0x38f610([0x2e])+_0x46d371),_0x5bf7da=window[_0x38f610([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x38f610([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x5bf7da)return;const _0x2e12e9=await _0x5bf7da[_0x38f610([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x38f610([0x6a,0x77,0x6b]),_0x573847,{[_0x38f610([0x6e,0x61,0x6d,0x65])]:_0x38f610([0x45,0x43,0x44,0x53,0x41]),[_0x38f610([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x38f610([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x38f610([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x5bf7da[_0x38f610([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x38f610([0x6e,0x61,0x6d,0x65])]:_0x38f610([0x45,0x43,0x44,0x53,0x41]),[_0x38f610([0x68,0x61,0x73,0x68])]:{[_0x38f610([0x6e,0x61,0x6d,0x65])]:_0x38f610([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x2e12e9,_0x3d9a13,_0x4c76c6)||(_0x173faf=!0x1);}}function _0x1c84fa(_0x2dba30){return _0x2dba30[_0x38f610([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x38f610([0x65,0x79]))?JSON[_0x38f610([0x70,0x61,0x72,0x73,0x65])](_0xee9f54(_0x2dba30)):null;}function _0xee9f54(_0xe30dad){return window[_0x38f610([0x61,0x74,0x6f,0x62])](_0xe30dad[_0x38f610([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x38f610([0x2b]))[_0x38f610([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x38f610([0x2f])));}function _0x3cf28a(_0x531609){let _0xfabfd9=0x1505;function _0x52853a(_0x236cf8){for(let _0xd20603=0x0;_0xd20603<_0x236cf8[_0x38f610([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xd20603++){const _0x4a2c78=_0x236cf8[_0x38f610([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0xd20603);_0xfabfd9=(_0xfabfd9<<0x5)+_0xfabfd9+_0x4a2c78,_0xfabfd9&=_0xfabfd9;}}function _0x719342(_0x48c08e){Array[_0x38f610([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x48c08e)?_0x48c08e[_0x38f610([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x719342):_0x48c08e&&typeof _0x48c08e==_0x38f610([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x38f610([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x48c08e)[_0x38f610([0x73,0x6f,0x72,0x74])]()[_0x38f610([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2d697a,_0x42c560])=>{_0x52853a(_0x2d697a),_0x719342(_0x42c560);}):_0x52853a(window[_0x38f610([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x48c08e));}return _0x719342(_0x531609),_0xfabfd9>>>0x0;}function _0x11882f(_0x1008f0){return _0x1008f0[_0x38f610([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x38f610([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x38f610([0x30]));}function _0x22f029(_0x10f2fa){return _0x10f2fa[_0x38f610([0x73,0x70,0x6c,0x69,0x74])]('')[_0x38f610([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x38f610([0x6a,0x6f,0x69,0x6e])]('');}function _0x5ee120(){}function _0x38f610(_0x1ebd6b){const _0xdce773=_0x1987;return _0x1ebd6b[_0xdce773(0xa0)](_0x473eaf=>String[_0xdce773(0x7d)](_0x473eaf))[_0xdce773(0xbb)]('');}_0x4aef16(await _0x383770());}(this);}[_0x44ddc7(0x8d)](){const _0x439e19=_0x44ddc7,_0x4ec2b7=this[_0x439e19(0xbf)][_0x439e19(0x90)][_0x439e19(0x8f)];_0x4ec2b7[_0x439e19(0x80)](_0x439e19(0x8a))&&_0x4ec2b7[_0x439e19(0x9c)](_0x439e19(0x8a),{'allowAttributes':[_0x439e19(0xb7)]}),_0x4ec2b7[_0x439e19(0x80)](_0x439e19(0x8e))&&_0x4ec2b7[_0x439e19(0x9c)](_0x439e19(0x8e),{'allowAttributes':[_0x439e19(0xb7)]});}[_0x44ddc7(0x86)](){const _0x314073=_0x44ddc7,_0x5b3572=this[_0x314073(0xbf)];_0x5b3572[_0x314073(0xb5)][_0x314073(0xc3)](_0x314073(0x7e))[_0x314073(0xb8)]({'model':_0x314073(0xb7),'view':_0x314073(0x7b)}),_0x5b3572[_0x314073(0xb5)][_0x314073(0xc3)](_0x314073(0xa5))[_0x314073(0xc0)]({'model':{'key':_0x314073(0xb7),'value':_0x2165f1=>_0x2165f1[_0x314073(0xc4)](_0x314073(0x7b))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x72663b=_0x5b3572[_0x314073(0xc8)][_0x314073(0x92)](_0x314073(0x9f));_0x72663b&&this[_0x314073(0x7f)](_0x72663b,_0x314073(0xcb),(_0x824f83,[_0x59044c,_0x37c2af])=>{const _0x756ce5=_0x314073;_0x59044c[_0x756ce5(0x97)](_0x756ce5(0xb7),_0x37c2af);});}[_0x44ddc7(0xb4)](){const _0x17e8ad=_0x44ddc7,_0x4d0d8f=this[_0x17e8ad(0xbf)][_0x17e8ad(0xc9)][_0x17e8ad(0x92)](_0x17e8ad(0x81))||{},_0x6da933=this[_0x17e8ad(0xbf)][_0x17e8ad(0xc9)][_0x17e8ad(0x92)](_0x17e8ad(0x9d))||'';this[_0x17e8ad(0x98)]=_0x22ea2b(_0x35a9b3[_0x17e8ad(0xa7)],_0x17e8ad(0x9b),{..._0x4d0d8f,'pubkey':_0x6da933,'ctx-name':_0x17e8ad(0xad),'sourceList':'','imgOnly':_0x17e8ad(0xa4),'removeCopyright':_0x17e8ad(0xa4),'localeName':this[_0x17e8ad(0xbf)][_0x17e8ad(0xb3)][_0x17e8ad(0xbd)],'externalSourcesEmbedCss':_0x17e8ad(0xaa)}),this[_0x17e8ad(0x98)][_0x17e8ad(0x9e)]=_0x5ec1e3=>{const _0x36f110=_0x17e8ad;if(_0x36f110(0x83)==_0x5ec1e3)return _0x36f110(0xa8);},_0x35a9b3[_0x17e8ad(0xa7)][_0x17e8ad(0x88)][_0x17e8ad(0x94)](this[_0x17e8ad(0x98)]);}[_0x44ddc7(0xb2)](){const _0x532dd0=_0x44ddc7;this[_0x532dd0(0xc1)]=_0x22ea2b(_0x35a9b3[_0x532dd0(0xa7)],_0x532dd0(0x99),{'ctx-name':_0x532dd0(0xad)}),_0x35a9b3[_0x532dd0(0xa7)][_0x532dd0(0x88)][_0x532dd0(0x94)](this[_0x532dd0(0xc1)]);}[_0x44ddc7(0x84)](){const _0x5665e9=_0x44ddc7,_0x22a764=this[_0x5665e9(0xbf)][_0x5665e9(0xc8)][_0x5665e9(0x92)](_0x5665e9(0xc2));_0x22a764&&this[_0x5665e9(0x7f)](_0x22a764,_0x5665e9(0xac),()=>{const _0x2b8b19=_0x5665e9,_0x512902=this[_0x2b8b19(0xbf)][_0x2b8b19(0x90)][_0x2b8b19(0xa7)][_0x2b8b19(0x9a)][_0x2b8b19(0xaf)]();_0x512902&&_0x512902[_0x2b8b19(0xc4)](_0x2b8b19(0xb7))&&this[_0x2b8b19(0xbf)][_0x2b8b19(0xb0)][_0x2b8b19(0xa2)][_0x2b8b19(0xbc)](_0x2b8b19(0xcc),()=>{const _0x2b5904=_0x2b8b19;_0x23c86e(this[_0x2b5904(0xbf)],_0x512902);});});const _0x561fa9=this[_0x5665e9(0xbf)][_0x5665e9(0xc8)][_0x5665e9(0x92)](_0x5665e9(0xa9));_0x561fa9&&this[_0x5665e9(0x7f)](_0x561fa9,_0x5665e9(0xac),()=>{const _0x3a2fe9=_0x5665e9,_0x1157f8=this[_0x3a2fe9(0xbf)][_0x3a2fe9(0x90)][_0x3a2fe9(0xa7)][_0x3a2fe9(0x9a)][_0x3a2fe9(0xaf)]();_0x1157f8&&_0x1157f8[_0x3a2fe9(0xc4)](_0x3a2fe9(0xb7))&&this[_0x3a2fe9(0xbf)][_0x3a2fe9(0xb0)][_0x3a2fe9(0xa2)][_0x3a2fe9(0xbc)](_0x3a2fe9(0xcc),()=>{const _0xfe23b3=_0x3a2fe9;_0x23c86e(this[_0xfe23b3(0xbf)],_0x1157f8);});});}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{global as _0xef1e1c,ObservableMixin as _0x1aa84c}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x4a9cce}from'ckeditor5/src/ui.js';import _0x3e8001 from'./uploadcareimageeditformview.js';import _0x4a6146 from'../../utils/uploadutils.js';import _0x40ada9 from'../../../theme/icons/uploadcare-image-edit.svg';import{getImageUrls as _0x53aeaf,getImageDimension as _0x47b296}from'../../utils/editingutils.js';import{isAncestor as _0x4adf46}from'../../utils/isancestor.js';export default class z extends/* #__PURE__ -- @preserve */
24
- _0x1aa84c(){constructor(_0x2b4198,_0x309642,_0x5cd15f){super(),this['_editor']=_0x2b4198,this['_dialog']=_0x309642,this['_imageElement']=_0x5cd15f,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 _0x3196b4=this['_imageElement'],_0x30c505=_0x3196b4['getAttribute']('uploadcareImageId'),_0x23f180=_0x3196b4['getAttribute']('src');if(_0x30c505)await this['_loadImageInfo'](_0x30c505,_0x23f180);else{if(this['_imageCache']['has'](_0x23f180)){const _0xa56b6b=this['_imageCache']['get'](_0x23f180);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0xa56b6b['url'],this['imageDimension']=_0xa56b6b['dimension'],this['imageId']=_0xa56b6b['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x289168}=this['_editor'],t=_0x289168['t'],_0x5ed934=new _0x3e8001(_0x289168,this['imageStatus'],this['_attributes']);_0x5ed934['bind']('status')['to'](this,'imageStatus'),_0x5ed934['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x5ed934['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x5ed934['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x5ed934,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x40ada9,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x5ed934,'position':_0x4a9cce['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x5ed934['focus']();},'onHide':()=>{_0x5ed934['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x1d66bb=>!_0x4adf46(_0x1d66bb,_0x5ed934['element'])}});}['_loadImageInfo'](_0x40dfe5,_0x2a734a){return _0x4a6146['getInfo'](_0x40dfe5,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x5a1892=>{const {width:_0x166e56,height:_0x14b9fb}=_0x5a1892['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x2a734a,this['imageDimension']={'width':_0x166e56,'height':_0x14b9fb},this['imageId']=_0x40dfe5;})['catch'](_0x29d9e9=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x29d9e9['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x32a994,_0x2c8944){return this['_getImageAsFile'](_0x32a994)['then'](_0x182ef1=>_0x4a6146['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x2c8944['signal'],'file':_0x182ef1,'onProgress':_0x574923=>{_0x574923&&_0x574923['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x574923['value']));}}))['then'](_0x4130b4=>{const {width:_0x1e6398,height:_0x637620}=_0x4130b4['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x4130b4['cdnUrl'],this['imageDimension']={'width':_0x1e6398,'height':_0x637620},this['imageId']=_0x4130b4['uuid'],this['imageUploadProgress']=null;const _0x54b32f=_0x32a994['getAttribute']('src');this['_imageCache']['set'](_0x54b32f,{'id':_0x4130b4['uuid'],'url':_0x4130b4['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x579ed9=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x579ed9['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x1070ce,_0x22dffc){_0x1070ce['on']('apply',(_0x27691d,_0x4a54b3)=>{this['_replaceImage'](_0x22dffc,_0x4a54b3['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x1070ce['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x1070ce['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x26bf88,_0x36e6fb,_0x4fac48){const _0x7db2d5=this['_editor'],{width:_0x8073e4,height:_0x48f8ab}=_0x47b296(_0x36e6fb,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x4bce26,imageSources:_0xd1d6dc}=_0x53aeaf(_0x36e6fb,_0x8073e4);_0x7db2d5['model']['change'](_0x5de042=>{if('$graveyard'===_0x26bf88['root']['rootName']){_0x7db2d5['execute']('insertImage',{'imageType':_0x26bf88['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x26bf88['getAttributes']()),'uploadcareImageId':_0x4fac48,'src':_0x4bce26,'sources':_0xd1d6dc,'width':_0x8073e4,'height':_0x48f8ab}});const _0xa791cc=_0x26bf88['getChildren']();_0x26bf88=_0x7db2d5['model']['document']['selection']['getSelectedElement']();for(const _0x339bdb of _0xa791cc)_0x5de042['append'](_0x5de042['cloneElement'](_0x339bdb),_0x26bf88);}else _0x5de042['setSelection'](_0x26bf88,'on'),_0x7db2d5['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x26bf88['getAttributes']()),'uploadcareImageId':_0x4fac48,'src':_0x4bce26,'sources':_0xd1d6dc,'width':_0x8073e4,'height':_0x48f8ab},_0x26bf88);_0x5de042['setSelection'](_0x26bf88,'on');});}async['_getImageAsFile'](_0x29e620){const _0x261f7f=_0xef1e1c['window'],_0x5aedf3=_0xef1e1c['document']['location']['href'],_0x57ee9b=new _0x261f7f['URL'](_0x29e620['getAttribute']('src'),_0x5aedf3);if('data:'===_0x57ee9b['protocol']){const _0x23124d=_0x57ee9b['href']['split'](','),_0x1d87e9=_0x23124d[0x0]['match'](/:(.*?);/)[0x1],_0x1190be=_0x1d87e9['split']('/')[0x1],_0x5ebef1=_0x261f7f['atob'](_0x23124d[_0x23124d['length']-0x1]);let _0x2c6d9e=_0x5ebef1['length'];const _0x4abb3a=new _0x261f7f['Uint8Array'](_0x2c6d9e);for(;_0x2c6d9e--;)_0x4abb3a[_0x2c6d9e]=_0x5ebef1['charCodeAt'](_0x2c6d9e);return new _0x261f7f['File']([_0x4abb3a],'image.'+_0x1190be,{'type':_0x1d87e9});}const _0x19dc2e=_0x57ee9b['href']['split']('/'),_0x52c168=_0x19dc2e[_0x19dc2e['length']-0x1],_0x3fd2c2=_0x52c168['split']('.')[0x1];return _0x261f7f['fetch'](_0x57ee9b['href'])['then'](_0x7ce5c3=>_0x7ce5c3['clone']()['blob']())['then'](_0x29893e=>new _0x261f7f['File']([_0x29893e],_0x52c168,{'type':'image/'+_0x3fd2c2}));}}
23
+ import{global as _0x50c91e,ObservableMixin as _0xa33039}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x33e117}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x4c690f}from'ckeditor5/src/icons.js';import _0x4dcbac from'./uploadcareimageeditformview.js';import _0x1a474b from'../../utils/uploadutils.js';import{getImageUrls as _0x183c12,getImageDimension as _0x16d06f}from'../../utils/editingutils.js';import{isAncestor as _0x3711c9}from'../../utils/isancestor.js';export default class z extends/* #__PURE__ -- @preserve */
24
+ _0xa33039(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0xf70647,_0x3e0e6b,_0x4e881d){super(),this['_editor']=_0xf70647,this['_dialog']=_0x3e0e6b,this['_imageElement']=_0x4e881d,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 _0x22f0c8=this['_imageElement'],_0x26a4bb=_0x22f0c8['getAttribute']('uploadcareImageId'),_0x322d09=_0x22f0c8['getAttribute']('src');if(_0x26a4bb)await this['_loadImageInfo'](_0x26a4bb,_0x322d09);else{if(this['_imageCache']['has'](_0x322d09)){const _0x8fa84d=this['_imageCache']['get'](_0x322d09);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x8fa84d['url'],this['imageDimension']=_0x8fa84d['dimension'],this['imageId']=_0x8fa84d['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x2f174a}=this['_editor'],t=_0x2f174a['t'],_0x34ee22=new _0x4dcbac(_0x2f174a,this['imageStatus'],this['_attributes']);_0x34ee22['bind']('status')['to'](this,'imageStatus'),_0x34ee22['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x34ee22['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x34ee22['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x34ee22,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x4c690f,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x34ee22,'position':_0x33e117['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x34ee22['focus']();},'onHide':()=>{_0x34ee22['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x587cb9=>!_0x3711c9(_0x587cb9,_0x34ee22['element'])}});}['_loadImageInfo'](_0x2292ff,_0x17ad96){return _0x1a474b['getInfo'](_0x2292ff,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x58354b=>{const {width:_0x2aae91,height:_0x2d7ff2}=_0x58354b['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x17ad96,this['imageDimension']={'width':_0x2aae91,'height':_0x2d7ff2},this['imageId']=_0x2292ff;})['catch'](_0x51b1b7=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x51b1b7['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x3e9542,_0x4efe56){return this['_getImageAsFile'](_0x3e9542)['then'](_0x214f6d=>_0x1a474b['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x4efe56['signal'],'file':_0x214f6d,'onProgress':_0x5bb86e=>{_0x5bb86e&&_0x5bb86e['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x5bb86e['value']));}}))['then'](_0x5a3c9a=>{const {width:_0x522229,height:_0x584711}=_0x5a3c9a['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x5a3c9a['cdnUrl'],this['imageDimension']={'width':_0x522229,'height':_0x584711},this['imageId']=_0x5a3c9a['uuid'],this['imageUploadProgress']=null;const _0x50c697=_0x3e9542['getAttribute']('src');this['_imageCache']['set'](_0x50c697,{'id':_0x5a3c9a['uuid'],'url':_0x5a3c9a['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x2fb787=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x2fb787['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x484fa1,_0x23c6b8){_0x484fa1['on']('apply',(_0x3d417e,_0x35b1c9)=>{this['_replaceImage'](_0x23c6b8,_0x35b1c9['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x484fa1['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x484fa1['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x199818,_0x5152b6,_0x239f09){const _0x240bbe=this['_editor'],{width:_0x901275,height:_0x1d5181}=_0x16d06f(_0x5152b6,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x434c16,imageSources:_0x368f51}=_0x183c12(_0x5152b6,_0x901275);_0x240bbe['model']['change'](_0x2b9b06=>{if('$graveyard'===_0x199818['root']['rootName']){_0x240bbe['execute']('insertImage',{'imageType':_0x199818['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x199818['getAttributes']()),'uploadcareImageId':_0x239f09,'src':_0x434c16,'sources':_0x368f51,'width':_0x901275,'height':_0x1d5181}});const _0x5087aa=_0x199818['getChildren']();_0x199818=_0x240bbe['model']['document']['selection']['getSelectedElement']();for(const _0x20aa7b of _0x5087aa)_0x2b9b06['append'](_0x2b9b06['cloneElement'](_0x20aa7b),_0x199818);}else _0x2b9b06['setSelection'](_0x199818,'on'),_0x240bbe['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x199818['getAttributes']()),'uploadcareImageId':_0x239f09,'src':_0x434c16,'sources':_0x368f51,'width':_0x901275,'height':_0x1d5181},_0x199818);_0x2b9b06['setSelection'](_0x199818,'on');});}async['_getImageAsFile'](_0x2a6f5e){const _0x20000a=_0x50c91e['window'],_0x1c8945=_0x50c91e['document']['location']['href'],_0x56bb8f=new _0x20000a['URL'](_0x2a6f5e['getAttribute']('src'),_0x1c8945);if('data:'===_0x56bb8f['protocol']){const _0x443be2=_0x56bb8f['href']['split'](','),_0x191d61=_0x443be2[0x0]['match'](/:(.*?);/)[0x1],_0x139592=_0x191d61['split']('/')[0x1],_0x5c0501=_0x20000a['atob'](_0x443be2[_0x443be2['length']-0x1]);let _0x3b5ab0=_0x5c0501['length'];const _0x14665e=new _0x20000a['Uint8Array'](_0x3b5ab0);for(;_0x3b5ab0--;)_0x14665e[_0x3b5ab0]=_0x5c0501['charCodeAt'](_0x3b5ab0);return new _0x20000a['File']([_0x14665e],'image.'+_0x139592,{'type':_0x191d61});}const _0x5721f9=_0x56bb8f['href']['split']('/'),_0xc82911=_0x5721f9[_0x5721f9['length']-0x1],_0x4d7268=_0xc82911['split']('.')[0x1];return _0x20000a['fetch'](_0x56bb8f['href'])['then'](_0x4d2b99=>_0x4d2b99['clone']()['blob']())['then'](_0x3561da=>new _0x20000a['File']([_0x3561da],_0xc82911,{'type':'image/'+_0x4d7268}));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x43627e,_0x5a4167){const _0x5ddaf0=_0x541d,_0x5097a8=_0x43627e();while(!![]){try{const _0x2a9201=-parseInt(_0x5ddaf0(0x1a1))/0x1+-parseInt(_0x5ddaf0(0x1a0))/0x2*(parseInt(_0x5ddaf0(0x1a2))/0x3)+-parseInt(_0x5ddaf0(0x19c))/0x4*(-parseInt(_0x5ddaf0(0x19a))/0x5)+-parseInt(_0x5ddaf0(0x1ab))/0x6*(-parseInt(_0x5ddaf0(0x1a4))/0x7)+-parseInt(_0x5ddaf0(0x198))/0x8*(parseInt(_0x5ddaf0(0x1aa))/0x9)+parseInt(_0x5ddaf0(0x1a5))/0xa*(-parseInt(_0x5ddaf0(0x1a6))/0xb)+parseInt(_0x5ddaf0(0x19f))/0xc;if(_0x2a9201===_0x5a4167)break;else _0x5097a8['push'](_0x5097a8['shift']());}catch(_0xd6fac6){_0x5097a8['push'](_0x5097a8['shift']());}}}(_0x3ef4,0xc4bc4));import{View as _0x3d1862}from'ckeditor5/src/ui.js';function _0x541d(_0x13efe2,_0x2ec3c5){const _0x3ef42a=_0x3ef4();return _0x541d=function(_0x541d6c,_0x514ba8){_0x541d6c=_0x541d6c-0x198;let _0xbc59b1=_0x3ef42a[_0x541d6c];return _0xbc59b1;},_0x541d(_0x13efe2,_0x2ec3c5);}export default class tt extends _0x3d1862{constructor(_0xbae98a,_0x45cd33){const _0x371529=_0x541d;super(_0xbae98a);const _0x42659b=this[_0x371529(0x1a9)];this[_0x371529(0x19e)](_0x371529(0x1a8),''),this[_0x371529(0x1a7)]({'tag':_0x371529(0x19b),'attributes':{..._0x45cd33,'class':[_0x371529(0x19d),_0x371529(0x199)],'ctx-name':_0x371529(0x1a3),'cdn-url':_0x42659b['to'](_0x371529(0x1a8))}});}}function _0x3ef4(){const _0x31c6f5=['8542416qQDBDC','55946omXtmx','1116053zLIAqI','3dtWdFj','image-edit','7202503JTsRcI','69150JYNwQl','583nbnixa','setTemplate','imageSrc','bindTemplate','2853UsuOMF','6kKbIaY','3832WdjkZq','ck-uploadcare-theme','15GzRbsW','uc-cloud-image-editor','969860GEHeSq','uc-light','set'];_0x3ef4=function(){return _0x31c6f5;};return _0x3ef4();}
23
+ function _0x309f(){const _0x5d440e=['ck-uploadcare-theme','set','26416AzNncC','158ANkkrV','3920OwZDlc','7602pqDUri','setTemplate','uc-light','174JMObNK','imageSrc','image-edit','87315HeUfJe','uc-cloud-image-editor','24827dwDQqB','1862451wownvp','4057304TpbnbT','bindTemplate','57RkJDOF','1899450aazKkQ'];_0x309f=function(){return _0x5d440e;};return _0x309f();}function _0x5571(_0x2d8471,_0x5a80de){const _0x309fa7=_0x309f();return _0x5571=function(_0x5571cc,_0x41f911){_0x5571cc=_0x5571cc-0x166;let _0x4a26dd=_0x309fa7[_0x5571cc];return _0x4a26dd;},_0x5571(_0x2d8471,_0x5a80de);}(function(_0x1c6739,_0x4b4897){const _0xdaef0b=_0x5571,_0x18db98=_0x1c6739();while(!![]){try{const _0x368b70=-parseInt(_0xdaef0b(0x16a))/0x1*(-parseInt(_0xdaef0b(0x168))/0x2)+-parseInt(_0xdaef0b(0x176))/0x3*(-parseInt(_0xdaef0b(0x167))/0x4)+-parseInt(_0xdaef0b(0x170))/0x5*(-parseInt(_0xdaef0b(0x16d))/0x6)+parseInt(_0xdaef0b(0x177))/0x7+-parseInt(_0xdaef0b(0x174))/0x8+parseInt(_0xdaef0b(0x173))/0x9+parseInt(_0xdaef0b(0x169))/0xa*(-parseInt(_0xdaef0b(0x172))/0xb);if(_0x368b70===_0x4b4897)break;else _0x18db98['push'](_0x18db98['shift']());}catch(_0x4ee0b7){_0x18db98['push'](_0x18db98['shift']());}}}(_0x309f,0x4dd7b));import{View as _0x173e2c}from'ckeditor5/src/ui.js';export default class tt extends _0x173e2c{constructor(_0x35c639,_0x43c3df){const _0x15463b=_0x5571;super(_0x35c639);const _0x1324f1=this[_0x15463b(0x175)];this[_0x15463b(0x166)](_0x15463b(0x16e),''),this[_0x15463b(0x16b)]({'tag':_0x15463b(0x171),'attributes':{..._0x43c3df,'class':[_0x15463b(0x16c),_0x15463b(0x178)],'ctx-name':_0x15463b(0x16f),'cdn-url':_0x1324f1['to'](_0x15463b(0x16e))}});}}
@@ -2,11 +2,8 @@
2
2
  * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
- /**
6
- * @module uploadcare/uploadcareimageedit/ui/uploadcareimageeditformerrorview
7
- */
8
- import { type Locale } from 'ckeditor5/src/utils.js';
9
5
  import { View } from 'ckeditor5/src/ui.js';
6
+ import type { Locale } from 'ckeditor5/src/utils.js';
10
7
  import type UploadcareImageEditController from './uploadcareimageeditcontroller.js';
11
8
  /**
12
9
  * A class representing the form error view of the Uploadcare image edit feature.
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{ButtonView as _0x4e2fb8,IconView as et,View as _0x5dbcae}from'ckeditor5/src/ui.js';import at from'../../../theme/icons/error.svg';export default class rt extends _0x5dbcae{constructor(_0x505dad){super(_0x505dad);const t=_0x505dad['t'];this['set']('errorType',null);const _0x3e3d17=new _0x4e2fb8(_0x505dad);_0x3e3d17['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x3e3d17['withText']=!0x0,_0x3e3d17['class']='ck-button-action',_0x3e3d17['on']('execute',()=>{this['fire']('retry');}),_0x3e3d17['bind']('isVisible')['to'](this,'errorType',_0x204de2=>'NotFound'!==_0x204de2);const _0x502f4f=new et();_0x502f4f['content']=at,_0x502f4f['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x3a3553=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':[_0x502f4f,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x3a3553['to']('errorType',_0xcd8be9=>t('NotFound'!==_0xcd8be9?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x3e3d17]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}
23
+ import{IconError as et}from'ckeditor5/src/icons.js';import{ButtonView as _0x4f69aa,IconView as at,View as _0x109cdf}from'ckeditor5/src/ui.js';export default class rt extends _0x109cdf{constructor(_0xad5715){super(_0xad5715);const t=_0xad5715['t'];this['set']('errorType',null);const _0x146d47=new _0x4f69aa(_0xad5715);_0x146d47['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x146d47['withText']=!0x0,_0x146d47['class']='ck-button-action',_0x146d47['on']('execute',()=>{this['fire']('retry');}),_0x146d47['bind']('isVisible')['to'](this,'errorType',_0x55aff6=>'NotFound'!==_0x55aff6);const _0x285c4b=new at();_0x285c4b['content']=et,_0x285c4b['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x1e86ed=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':[_0x285c4b,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x1e86ed['to']('errorType',_0x36e09c=>t('NotFound'!==_0x36e09c?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x146d47]},{'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 _0x58fffa,View as _0x201c66}from'ckeditor5/src/ui.js';export default class ta extends _0x201c66{constructor(_0x47485e){super(_0x47485e);const t=_0x47485e['t'],_0x460acb=this['bindTemplate'],_0x185a6c=new _0x58fffa();_0x185a6c['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':[_0x185a6c,{'text':_0x460acb['to']('imageUploadProgress',_0x41c72b=>t('Loading\x20image...')+'\x20('+(_0x41c72b||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 _0x100f62,View as _0x3612a7}from'ckeditor5/src/ui.js';export default class ta extends _0x3612a7{constructor(_0x3c57bb){super(_0x3c57bb);const t=_0x3c57bb['t'],_0x22e6c9=this['bindTemplate'],_0x2ae5e3=new _0x100f62();_0x2ae5e3['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':[_0x2ae5e3,{'text':_0x22e6c9['to']('imageUploadProgress',_0x13d712=>t('Loading\x20image...')+'\x20('+(_0x13d712||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 _0x26fc1b=_0x5936;(function(_0x2f2b35,_0x4e9bd1){const _0xdeab0b=_0x5936,_0x73889e=_0x2f2b35();while(!![]){try{const _0x163cba=parseInt(_0xdeab0b(0xdb))/0x1+-parseInt(_0xdeab0b(0xd1))/0x2+parseInt(_0xdeab0b(0xe1))/0x3+parseInt(_0xdeab0b(0xe0))/0x4*(parseInt(_0xdeab0b(0xd3))/0x5)+-parseInt(_0xdeab0b(0xec))/0x6+parseInt(_0xdeab0b(0xf8))/0x7*(parseInt(_0xdeab0b(0xfb))/0x8)+-parseInt(_0xdeab0b(0xe3))/0x9*(parseInt(_0xdeab0b(0xf1))/0xa);if(_0x163cba===_0x4e9bd1)break;else _0x73889e['push'](_0x73889e['shift']());}catch(_0x2bb16a){_0x73889e['push'](_0x73889e['shift']());}}}(_0x2439,0xf2d1d));import{View as _0x56f482}from'ckeditor5/src/ui.js';import _0x27a5ea from'./uploadcareimageeditformloadingview.js';function _0x5936(_0x1d0d11,_0x3c8fbe){const _0x243997=_0x2439();return _0x5936=function(_0x59362f,_0x3b4c94){_0x59362f=_0x59362f-0xc9;let _0x265826=_0x243997[_0x59362f];return _0x265826;},_0x5936(_0x1d0d11,_0x3c8fbe);}function _0x2439(){const _0x1ba4b3=['_errorView','add','_editingView','status','4579196UyRrCI','4967199bHaBmr','target','637011NESMrm','length','disconnect','render','addedNodes','ck-reset_all-excluded','retry','nodeName','createCollection','5835654AXakNx','error','observe','toLowerCase','addEventListener','140DlkyRW','detail','_waitForImageEditorComponent','_items','cancel','uc-cloud-image-editor','_setView','7IiDFQx','ck-uploadcare-form','set','5180072THEGRB','fire','_loadingView','querySelector','apply','element','_focusableView','addMany','setTemplate','ready','_addErrorViewListeners','getFocusableElement','cdnUrl','2501080kSmcAe','once','5mjbmor','uploading','filter','_addUploadcareImageEditorListeners','div','clear','focus','change:status','760603jWIdcO'];_0x2439=function(){return _0x1ba4b3;};return _0x2439();}import _0x16d203 from'./uploadcareimageeditformerrorview.js';import _0x1b7dad from'./uploadcareimageeditformeditingview.js';import _0x156a4b from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export default class Z extends _0x156a4b{constructor(_0x29b7a3,_0x38053a,_0x115cf4){const _0x5733b2=_0x5936;super(_0x29b7a3),this[_0x5733b2(0xf4)]=this[_0x5733b2(0xeb)](),this[_0x5733b2(0xfd)]=new _0x27a5ea(_0x29b7a3),this[_0x5733b2(0xdc)]=new _0x16d203(_0x29b7a3),this[_0x5733b2(0xde)]=new _0x1b7dad(_0x29b7a3,_0x115cf4),this[_0x5733b2(0xca)]=new _0x56f482(_0x29b7a3),this[_0x5733b2(0xca)][_0x5733b2(0xcc)](this[_0x5733b2(0xcf)]()),this[_0x5733b2(0xfa)](_0x5733b2(0xdf),_0x38053a),this[_0x5733b2(0xcc)]({'tag':_0x5733b2(0xd7),'attributes':{'class':['ck',_0x5733b2(0xe8),_0x5733b2(0xf9)],'tabindex':'-1'},'children':this[_0x5733b2(0xf4)]}),this[_0x5733b2(0xf7)](),this[_0x5733b2(0xd2)](_0x5733b2(0xe6),()=>{const _0x2d0aa6=_0x5733b2;this[_0x2d0aa6(0xf3)](this[_0x2d0aa6(0xc9)],_0x5c9905=>{const _0x46756d=_0x2d0aa6;this[_0x46756d(0xd6)](_0x5c9905);});}),this['on'](_0x5733b2(0xda),()=>{const _0x398e5f=_0x5733b2;this[_0x398e5f(0xf7)]();}),this[_0x5733b2(0xce)]();}[_0x26fc1b(0xd9)](){const _0x21e945=_0x26fc1b;this[_0x21e945(0xc9)][_0x21e945(0xd9)]();}[_0x26fc1b(0xf7)](){const _0x31d4a5=_0x26fc1b;switch(this[_0x31d4a5(0xf4)][_0x31d4a5(0xd8)](),this[_0x31d4a5(0xdf)]){case _0x31d4a5(0xd4):this[_0x31d4a5(0xf4)][_0x31d4a5(0xdd)](this[_0x31d4a5(0xfd)]);break;case _0x31d4a5(0xed):this[_0x31d4a5(0xf4)][_0x31d4a5(0xdd)](this[_0x31d4a5(0xdc)]);break;case _0x31d4a5(0xcd):this[_0x31d4a5(0xf4)][_0x31d4a5(0xcb)]([this[_0x31d4a5(0xde)],this[_0x31d4a5(0xca)]]);}}[_0x26fc1b(0xf3)](_0x52bdca,_0x21dc27){const _0x4bf33c=_0x26fc1b,_0x501208=_0x4bf33c(0xf6),_0x35431d=_0x52bdca[_0x4bf33c(0xfe)](_0x501208);if(_0x35431d)return _0x21dc27(_0x35431d);const _0x4f8740=new MutationObserver(_0x53f535=>{const _0x33ae81=_0x4bf33c,_0x5463d1=_0x53f535[_0x33ae81(0xd5)](_0x2d556a=>_0x2d556a[_0x33ae81(0xe2)]===_0x52bdca&&_0x2d556a[_0x33ae81(0xe7)][_0x33ae81(0xe4)]>0x0&&_0x2d556a[_0x33ae81(0xe7)][0x0][_0x33ae81(0xea)][_0x33ae81(0xef)]()===_0x501208);_0x5463d1[_0x33ae81(0xe4)]&&(_0x4f8740[_0x33ae81(0xe5)](),_0x21dc27(_0x5463d1[0x0][_0x33ae81(0xe7)][0x0]));});_0x4f8740[_0x4bf33c(0xee)](_0x52bdca,{'childList':!0x0,'subtree':!0x0});}[_0x26fc1b(0xd6)](_0xcf92bd){const _0x404edd=_0x26fc1b;_0xcf92bd[_0x404edd(0xf0)](_0x404edd(0xff),_0x2e81ce=>{const _0x458746=_0x404edd;this[_0x458746(0xfc)](_0x458746(0xff),{'imageSrc':_0x2e81ce[_0x458746(0xf2)][_0x458746(0xd0)]});}),_0xcf92bd[_0x404edd(0xf0)](_0x404edd(0xf5),()=>{const _0x3c3563=_0x404edd;this[_0x3c3563(0xfc)](_0x3c3563(0xf5));});}[_0x26fc1b(0xce)](){const _0x1ac761=_0x26fc1b;this[_0x1ac761(0xdc)]['on'](_0x1ac761(0xe9),()=>{const _0x9627f0=_0x1ac761;this[_0x9627f0(0xfc)](_0x9627f0(0xe9));});}}
23
+ function _0x1995(){const _0x2a8ec8=['apply','_setView','_focusableView','error','_addUploadcareImageEditorListeners','detail','toLowerCase','603TeJxlc','ready','render','14193CzxNcj','_items','22sztBuB','cancel','66cAoKZU','length','_waitForImageEditorComponent','fire','ck-uploadcare-form','addEventListener','observe','_addErrorViewListeners','retry','181706kFTxrN','4920800NqQsCu','change:status','107336rCeyYi','_editingView','status','31107DdgIkz','filter','1258495pMqzaS','once','_errorView','40344SAqaQp','focus','uc-cloud-image-editor','createCollection','querySelector','uploading','element','setTemplate','target','disconnect','addMany','724WkzaVp','38FcukZT','addedNodes','div','_loadingView','clear','set','add','getFocusableElement','ck-reset_all-excluded','8723btYxEq','nodeName','cdnUrl'];_0x1995=function(){return _0x2a8ec8;};return _0x1995();}const _0xb05a26=_0x2a0d;(function(_0x231d2c,_0x55c1a2){const _0x53661e=_0x2a0d,_0x4980d6=_0x231d2c();while(!![]){try{const _0x521100=parseInt(_0x53661e(0x1e8))/0x1*(parseInt(_0x53661e(0x1bf))/0x2)+parseInt(_0x53661e(0x1d5))/0x3*(parseInt(_0x53661e(0x1be))/0x4)+-parseInt(_0x53661e(0x1b0))/0x5+-parseInt(_0x53661e(0x1d9))/0x6*(parseInt(_0x53661e(0x1e2))/0x7)+parseInt(_0x53661e(0x1e5))/0x8*(parseInt(_0x53661e(0x1d2))/0x9)+parseInt(_0x53661e(0x1e3))/0xa*(parseInt(_0x53661e(0x1d7))/0xb)+parseInt(_0x53661e(0x1b3))/0xc*(-parseInt(_0x53661e(0x1c8))/0xd);if(_0x521100===_0x55c1a2)break;else _0x4980d6['push'](_0x4980d6['shift']());}catch(_0x5bb597){_0x4980d6['push'](_0x4980d6['shift']());}}}(_0x1995,0x832d8));import{View as _0x2d7b4e}from'ckeditor5/src/ui.js';import _0x4c74ec from'./uploadcareimageeditformloadingview.js';import _0x42411f from'./uploadcareimageeditformerrorview.js';import _0x10b9a7 from'./uploadcareimageeditformeditingview.js';import _0x5b779c from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';function _0x2a0d(_0x1f3840,_0x2b852f){const _0x1995b5=_0x1995();return _0x2a0d=function(_0x2a0ddc,_0x167d6e){_0x2a0ddc=_0x2a0ddc-0x1b0;let _0x1d547d=_0x1995b5[_0x2a0ddc];return _0x1d547d;},_0x2a0d(_0x1f3840,_0x2b852f);}export default class Z extends _0x5b779c{[_0xb05a26(0x1d6)];[_0xb05a26(0x1c2)];[_0xb05a26(0x1b2)];[_0xb05a26(0x1e6)];[_0xb05a26(0x1cd)];constructor(_0x173b4b,_0x2faa87,_0x114afc){const _0x1dc4e7=_0xb05a26;super(_0x173b4b),this[_0x1dc4e7(0x1d6)]=this[_0x1dc4e7(0x1b6)](),this[_0x1dc4e7(0x1c2)]=new _0x4c74ec(_0x173b4b),this[_0x1dc4e7(0x1b2)]=new _0x42411f(_0x173b4b),this[_0x1dc4e7(0x1e6)]=new _0x10b9a7(_0x173b4b,_0x114afc),this[_0x1dc4e7(0x1cd)]=new _0x2d7b4e(_0x173b4b),this[_0x1dc4e7(0x1cd)][_0x1dc4e7(0x1ba)](this[_0x1dc4e7(0x1c6)]()),this[_0x1dc4e7(0x1c4)](_0x1dc4e7(0x1e7),_0x2faa87),this[_0x1dc4e7(0x1ba)]({'tag':_0x1dc4e7(0x1c1),'attributes':{'class':['ck',_0x1dc4e7(0x1c7),_0x1dc4e7(0x1dd)],'tabindex':'-1'},'children':this[_0x1dc4e7(0x1d6)]}),this[_0x1dc4e7(0x1cc)](),this[_0x1dc4e7(0x1b1)](_0x1dc4e7(0x1d4),()=>{const _0x54afab=_0x1dc4e7;this[_0x54afab(0x1db)](this[_0x54afab(0x1b9)],_0x28aae3=>{const _0x58a7fd=_0x54afab;this[_0x58a7fd(0x1cf)](_0x28aae3);});}),this['on'](_0x1dc4e7(0x1e4),()=>{const _0x437c54=_0x1dc4e7;this[_0x437c54(0x1cc)]();}),this[_0x1dc4e7(0x1e0)]();}[_0xb05a26(0x1b4)](){const _0x1115d5=_0xb05a26;this[_0x1115d5(0x1b9)][_0x1115d5(0x1b4)]();}[_0xb05a26(0x1cc)](){const _0x2f116c=_0xb05a26;switch(this[_0x2f116c(0x1d6)][_0x2f116c(0x1c3)](),this[_0x2f116c(0x1e7)]){case _0x2f116c(0x1b8):this[_0x2f116c(0x1d6)][_0x2f116c(0x1c5)](this[_0x2f116c(0x1c2)]);break;case _0x2f116c(0x1ce):this[_0x2f116c(0x1d6)][_0x2f116c(0x1c5)](this[_0x2f116c(0x1b2)]);break;case _0x2f116c(0x1d3):this[_0x2f116c(0x1d6)][_0x2f116c(0x1bd)]([this[_0x2f116c(0x1e6)],this[_0x2f116c(0x1cd)]]);}}[_0xb05a26(0x1db)](_0x571814,_0x43727c){const _0x184690=_0xb05a26,_0x5ddaee=_0x184690(0x1b5),_0x3bfc9c=_0x571814[_0x184690(0x1b7)](_0x5ddaee);if(_0x3bfc9c)return _0x43727c(_0x3bfc9c);const _0x43f3e6=new MutationObserver(_0xeae853=>{const _0x381be5=_0x184690,_0x181efc=_0xeae853[_0x381be5(0x1e9)](_0x3fb798=>_0x3fb798[_0x381be5(0x1bb)]===_0x571814&&_0x3fb798[_0x381be5(0x1c0)][_0x381be5(0x1da)]>0x0&&_0x3fb798[_0x381be5(0x1c0)][0x0][_0x381be5(0x1c9)][_0x381be5(0x1d1)]()===_0x5ddaee);_0x181efc[_0x381be5(0x1da)]&&(_0x43f3e6[_0x381be5(0x1bc)](),_0x43727c(_0x181efc[0x0][_0x381be5(0x1c0)][0x0]));});_0x43f3e6[_0x184690(0x1df)](_0x571814,{'childList':!0x0,'subtree':!0x0});}[_0xb05a26(0x1cf)](_0x3491b6){const _0x2824b9=_0xb05a26;_0x3491b6[_0x2824b9(0x1de)](_0x2824b9(0x1cb),_0xe4405b=>{const _0x4bc27e=_0x2824b9;this[_0x4bc27e(0x1dc)](_0x4bc27e(0x1cb),{'imageSrc':_0xe4405b[_0x4bc27e(0x1d0)][_0x4bc27e(0x1ca)]});}),_0x3491b6[_0x2824b9(0x1de)](_0x2824b9(0x1d8),()=>{const _0x4c2016=_0x2824b9;this[_0x4c2016(0x1dc)](_0x4c2016(0x1d8));});}[_0xb05a26(0x1e0)](){const _0x33e02a=_0xb05a26;this[_0x33e02a(0x1b2)]['on'](_0x33e02a(0x1e1),()=>{const _0x5535f3=_0x33e02a;this[_0x5535f3(0x1dc)](_0x5535f3(0x1e1));});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x510372=_0x4f8d;(function(_0x330478,_0x18510c){const _0x2bff92=_0x4f8d,_0x8431c9=_0x330478();while(!![]){try{const _0x18f1eb=parseInt(_0x2bff92(0x1c7))/0x1*(-parseInt(_0x2bff92(0x1d4))/0x2)+-parseInt(_0x2bff92(0x1c2))/0x3+parseInt(_0x2bff92(0x1d2))/0x4*(-parseInt(_0x2bff92(0x1c3))/0x5)+-parseInt(_0x2bff92(0x1c9))/0x6+-parseInt(_0x2bff92(0x1c0))/0x7+parseInt(_0x2bff92(0x1c1))/0x8+parseInt(_0x2bff92(0x1cd))/0x9*(parseInt(_0x2bff92(0x1d0))/0xa);if(_0x18f1eb===_0x18510c)break;else _0x8431c9['push'](_0x8431c9['shift']());}catch(_0x4d58eb){_0x8431c9['push'](_0x8431c9['shift']());}}}(_0x59ed,0x90a9a));function _0x59ed(){const _0x313a13=['execute','6824076uCQFnn','64480VCiJZZ','3324237hQvPDN','915495FZMDts','uploadcare.allowExternalImagesEditing','model','get','281zGzwVV','requires','3233370KPMglo','selection','element','imageEditController','1557nbQwmz','plugins','imageBlock','212530WGcciq','config','8YwiKPp','isActive','742XlLQpL','set','imageInline','document','isEnabled','bind','unbind','refresh','_isEditable','editor','getSelectedElement'];_0x59ed=function(){return _0x313a13;};return _0x59ed();}import{Command as _0x40dc16}from'ckeditor5/src/core.js';import{Dialog as _0x1e1a2b}from'ckeditor5/src/ui.js';import _0x555af6 from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x5723e9}from'../utils/editingutils.js';function _0x4f8d(_0x3be4b7,_0x5124ee){const _0x59eda9=_0x59ed();return _0x4f8d=function(_0x4f8d5d,_0x7619db){_0x4f8d5d=_0x4f8d5d-0x1bc;let _0x33b80d=_0x59eda9[_0x4f8d5d];return _0x33b80d;},_0x4f8d(_0x3be4b7,_0x5124ee);}export default class J extends _0x40dc16{static get[_0x510372(0x1c8)](){return[_0x1e1a2b];}constructor(_0x59a420){const _0x1dbced=_0x510372;super(_0x59a420),this[_0x1dbced(0x1cc)]=void 0x0,this[_0x1dbced(0x1bc)]=_0x5723e9(_0x59a420[_0x1dbced(0x1d1)][_0x1dbced(0x1c6)](_0x1dbced(0x1c4))||[]),this[_0x1dbced(0x1d5)]({'isActive':!0x1});}[_0x510372(0x1db)](){const _0xe6a0b5=_0x510372,_0xb196b1=this[_0xe6a0b5(0x1bd)][_0xe6a0b5(0x1c5)][_0xe6a0b5(0x1d7)][_0xe6a0b5(0x1ca)][_0xe6a0b5(0x1be)]();this[_0xe6a0b5(0x1d8)]=this[_0xe6a0b5(0x1bc)](_0xb196b1);}[_0x510372(0x1bf)](){const _0x2adc86=_0x510372;this[_0x2adc86(0x1cc)]&&(this[_0x2adc86(0x1da)](_0x2adc86(0x1d3)),this[_0x2adc86(0x1cc)]=void 0x0);const _0x2bc591=this[_0x2adc86(0x1bd)][_0x2adc86(0x1c5)][_0x2adc86(0x1d7)][_0x2adc86(0x1ca)][_0x2adc86(0x1be)]();_0x2bc591&&(_0x2bc591['is'](_0x2adc86(0x1cb),_0x2adc86(0x1cf))||_0x2bc591['is'](_0x2adc86(0x1cb),_0x2adc86(0x1d6)))&&(this[_0x2adc86(0x1cc)]=new _0x555af6(this[_0x2adc86(0x1bd)],this[_0x2adc86(0x1bd)][_0x2adc86(0x1ce)][_0x2adc86(0x1c6)](_0x1e1a2b),_0x2bc591),this[_0x2adc86(0x1d9)](_0x2adc86(0x1d3))['to'](this[_0x2adc86(0x1cc)],_0x2adc86(0x1d3)));}}
23
+ const _0x419657=_0x5a60;(function(_0x50a7ae,_0x518e5a){const _0x37d536=_0x5a60,_0x5d6adf=_0x50a7ae();while(!![]){try{const _0x207581=parseInt(_0x37d536(0x124))/0x1+-parseInt(_0x37d536(0x142))/0x2+-parseInt(_0x37d536(0x137))/0x3*(-parseInt(_0x37d536(0x12e))/0x4)+parseInt(_0x37d536(0x132))/0x5+-parseInt(_0x37d536(0x138))/0x6*(parseInt(_0x37d536(0x129))/0x7)+-parseInt(_0x37d536(0x143))/0x8*(-parseInt(_0x37d536(0x128))/0x9)+-parseInt(_0x37d536(0x136))/0xa*(parseInt(_0x37d536(0x12d))/0xb);if(_0x207581===_0x518e5a)break;else _0x5d6adf['push'](_0x5d6adf['shift']());}catch(_0x32d1a9){_0x5d6adf['push'](_0x5d6adf['shift']());}}}(_0x3d47,0x9009a));import{Command as _0x5b181d}from'ckeditor5/src/core.js';import{Dialog as _0x25bfbc}from'ckeditor5/src/ui.js';import _0x5331a0 from'./ui/uploadcareimageeditcontroller.js';function _0x3d47(){const _0x370067=['get','refresh','isEnabled','selection','document','execute','_isEditable','imageBlock','set','1068352BWcfVi','1301648BdGDKW','imageInline','190731UtzUaQ','unbind','config','plugins','9HnLfes','920318ADlBBa','getSelectedElement','imageEditController','requires','22TtKgXa','28spyfoJ','editor','element','bind','5046930aDamOK','model','uploadcare.allowExternalImagesEditing','isActive','2402210YwNDky','385347HNqqyq','30cBftDE'];_0x3d47=function(){return _0x370067;};return _0x3d47();}function _0x5a60(_0x527d29,_0x84a698){const _0x3d47a5=_0x3d47();return _0x5a60=function(_0x5a6076,_0x2f5344){_0x5a6076=_0x5a6076-0x124;let _0x3b1ac8=_0x3d47a5[_0x5a6076];return _0x3b1ac8;},_0x5a60(_0x527d29,_0x84a698);}import{createEditabilityChecker as _0xfb4e8a}from'../utils/editingutils.js';export default class J extends _0x5b181d{[_0x419657(0x12b)];static get[_0x419657(0x12c)](){return[_0x25bfbc];}[_0x419657(0x13f)];constructor(_0x503191){const _0x517378=_0x419657;super(_0x503191),this[_0x517378(0x12b)]=void 0x0,this[_0x517378(0x13f)]=_0xfb4e8a(_0x503191[_0x517378(0x126)][_0x517378(0x139)](_0x517378(0x134))||[]),this[_0x517378(0x141)]({'isActive':!0x1});}[_0x419657(0x13a)](){const _0x392340=_0x419657,_0x32441b=this[_0x392340(0x12f)][_0x392340(0x133)][_0x392340(0x13d)][_0x392340(0x13c)][_0x392340(0x12a)]();this[_0x392340(0x13b)]=this[_0x392340(0x13f)](_0x32441b);}[_0x419657(0x13e)](){const _0x17446b=_0x419657;this[_0x17446b(0x12b)]&&(this[_0x17446b(0x125)](_0x17446b(0x135)),this[_0x17446b(0x12b)]=void 0x0);const _0x4747ca=this[_0x17446b(0x12f)][_0x17446b(0x133)][_0x17446b(0x13d)][_0x17446b(0x13c)][_0x17446b(0x12a)]();_0x4747ca&&(_0x4747ca['is'](_0x17446b(0x130),_0x17446b(0x140))||_0x4747ca['is'](_0x17446b(0x130),_0x17446b(0x144)))&&(this[_0x17446b(0x12b)]=new _0x5331a0(this[_0x17446b(0x12f)],this[_0x17446b(0x12f)][_0x17446b(0x127)][_0x17446b(0x139)](_0x25bfbc),_0x4747ca),this[_0x17446b(0x131)](_0x17446b(0x135))['to'](this[_0x17446b(0x12b)],_0x17446b(0x135)));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x171572=_0x4ef9;(function(_0xa70d5a,_0x480c3e){const _0x31d204=_0x4ef9,_0x108f07=_0xa70d5a();while(!![]){try{const _0x41d210=-parseInt(_0x31d204(0x18e))/0x1*(parseInt(_0x31d204(0x18b))/0x2)+-parseInt(_0x31d204(0x18f))/0x3*(parseInt(_0x31d204(0x186))/0x4)+-parseInt(_0x31d204(0x184))/0x5*(-parseInt(_0x31d204(0x181))/0x6)+-parseInt(_0x31d204(0x185))/0x7+parseInt(_0x31d204(0x17e))/0x8*(-parseInt(_0x31d204(0x183))/0x9)+parseInt(_0x31d204(0x191))/0xa*(-parseInt(_0x31d204(0x193))/0xb)+parseInt(_0x31d204(0x182))/0xc;if(_0x41d210===_0x480c3e)break;else _0x108f07['push'](_0x108f07['shift']());}catch(_0x283724){_0x108f07['push'](_0x108f07['shift']());}}}(_0x2fe5,0x5cebf));import{Plugin as _0x5ac77e}from'ckeditor5/src/core.js';import{Notification as _0x348b1b}from'ckeditor5/src/ui.js';import _0x448c82 from'./uploadcareimageeditcommand.js';function _0x2fe5(){const _0x3cde35=['9CaAVRT','isPremiumPlugin','10JGyRsz','pluginName','4169770DXctMI','uploadcareImageEdit','ImageUtils','8nxpJIM','add','UploadcareImageEditEditing','402468BWunnv','26543316lPfNcm','2270817ZDzrXn','35SJFPxG','5036444GxULma','470380mcQUWC','ImageEditing','commands','init','isOfficialPlugin','1194444YYtGwp','requires','uploadcareImageReplace','1ydXWSu'];_0x2fe5=function(){return _0x3cde35;};return _0x2fe5();}import _0x504387 from'./uploadcareimagereplacecommand.js';import _0x2d8345 from'../uploadcareediting.js';function _0x4ef9(_0x1e8e13,_0x438c6b){const _0x2fe5b1=_0x2fe5();return _0x4ef9=function(_0x4ef9ce,_0x4b5358){_0x4ef9ce=_0x4ef9ce-0x17c;let _0x5c746f=_0x2fe5b1[_0x4ef9ce];return _0x5c746f;},_0x4ef9(_0x1e8e13,_0x438c6b);}export default class m extends _0x5ac77e{static get[_0x171572(0x192)](){const _0x1c795b=_0x171572;return _0x1c795b(0x180);}static get[_0x171572(0x18c)](){const _0x58736e=_0x171572;return[_0x2d8345,_0x348b1b,_0x58736e(0x17d),_0x58736e(0x187)];}static get[_0x171572(0x18a)](){return!0x0;}static get[_0x171572(0x190)](){return!0x0;}[_0x171572(0x189)](){const _0x5382f3=_0x171572,{editor:_0x326ec1}=this;_0x326ec1[_0x5382f3(0x188)][_0x5382f3(0x17f)](_0x5382f3(0x17c),new _0x448c82(_0x326ec1)),_0x326ec1[_0x5382f3(0x188)][_0x5382f3(0x17f)](_0x5382f3(0x18d),new _0x504387(_0x326ec1));}}
23
+ const _0x24f440=_0x4b10;(function(_0x19fb15,_0x38c039){const _0x36892f=_0x4b10,_0x132cdd=_0x19fb15();while(!![]){try{const _0x43d8bb=-parseInt(_0x36892f(0x189))/0x1+-parseInt(_0x36892f(0x186))/0x2+-parseInt(_0x36892f(0x182))/0x3+parseInt(_0x36892f(0x188))/0x4*(parseInt(_0x36892f(0x183))/0x5)+parseInt(_0x36892f(0x17f))/0x6+parseInt(_0x36892f(0x184))/0x7+parseInt(_0x36892f(0x193))/0x8*(parseInt(_0x36892f(0x181))/0x9);if(_0x43d8bb===_0x38c039)break;else _0x132cdd['push'](_0x132cdd['shift']());}catch(_0xc8d733){_0x132cdd['push'](_0x132cdd['shift']());}}}(_0x3893,0x73605));import{Plugin as _0x147489}from'ckeditor5/src/core.js';import{Notification as _0x249682}from'ckeditor5/src/ui.js';import _0x3a39fd from'./uploadcareimageeditcommand.js';import _0x1854ca from'./uploadcareimagereplacecommand.js';import _0x2f4251 from'../uploadcareediting.js';export default class g extends _0x147489{static get[_0x24f440(0x180)](){const _0x5e3883=_0x24f440;return _0x5e3883(0x185);}static get[_0x24f440(0x18d)](){const _0x5e0022=_0x24f440;return[_0x2f4251,_0x249682,_0x5e0022(0x190),_0x5e0022(0x18a)];}static get[_0x24f440(0x187)](){return!0x0;}static get[_0x24f440(0x18f)](){return!0x0;}[_0x24f440(0x18e)](){const _0x6278e3=_0x24f440,{editor:_0x22f42a}=this;_0x22f42a[_0x6278e3(0x191)][_0x6278e3(0x18c)](_0x6278e3(0x192),new _0x3a39fd(_0x22f42a)),_0x22f42a[_0x6278e3(0x191)][_0x6278e3(0x18c)](_0x6278e3(0x18b),new _0x1854ca(_0x22f42a));}}function _0x4b10(_0x5c7bf5,_0x3bcaa9){const _0x389322=_0x3893();return _0x4b10=function(_0x4b10b7,_0x28d60){_0x4b10b7=_0x4b10b7-0x17f;let _0x292cd8=_0x389322[_0x4b10b7];return _0x292cd8;},_0x4b10(_0x5c7bf5,_0x3bcaa9);}function _0x3893(){const _0x23636f=['isOfficialPlugin','4cpuIWJ','681446xjZupW','ImageEditing','uploadcareImageReplace','add','requires','init','isPremiumPlugin','ImageUtils','commands','uploadcareImageEdit','136fKTdsU','4491690zaXvju','pluginName','522279HjRkio','30555PNaPjZ','23315cUsHil','24808qpfCTS','UploadcareImageEditEditing','1158274PbsVml'];_0x3893=function(){return _0x23636f;};return _0x3893();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x493f98}from'ckeditor5/src/core.js';import{ButtonView as _0x33ec24}from'ckeditor5/src/ui.js';import{createElement as _0x16b5dd}from'ckeditor5/src/utils.js';import _0x137029 from'../../theme/icons/uploadcare-image-edit.svg';import'@uploadcare/file-uploader/web/uc-cloud-image-editor.min.css';import'../../theme/uploadcare-theme.css';export default class g extends _0x493f98{constructor(){super(...arguments),this['_imageCache']=new Map();}static get['pluginName'](){return'UploadcareImageEditUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}get['imageCache'](){return this['_imageCache'];}['init'](){const _0x51569d=this['editor'];_0x51569d['ui']['componentFactory']['add']('uploadcareImageEdit',_0x57ab6d=>{const _0x531771=_0x51569d['commands']['get']('uploadcareImageEdit'),_0x544c18=new _0x33ec24(_0x57ab6d),t=_0x57ab6d['t'];return _0x544c18['set']({'icon':_0x137029,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x544c18['bind']('isEnabled')['to'](_0x531771),_0x544c18['bind']('isOn')['to'](_0x531771,'isActive'),this['listenTo'](_0x544c18,'execute',()=>{_0x51569d['execute']('uploadcareImageEdit'),_0x51569d['editing']['view']['focus']();}),_0x544c18;}),this['_initConfig']();}['_initConfig'](){const _0x651c00=_0x16b5dd(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x651c00),this['listenTo'](this['editor'],'destroy',()=>{_0x651c00['remove']();});}}
23
+ import{Plugin as _0x383d99}from'ckeditor5/src/core.js';import{ButtonView as _0x274c9b}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x38d81b}from'ckeditor5/src/icons.js';import{createElement as _0xe8b0e8}from'ckeditor5/src/utils.js';import'@uploadcare/file-uploader/web/uc-cloud-image-editor.min.css';import'../../theme/uploadcare-theme.css';export default class j extends _0x383d99{['_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 _0x3dded4=this['editor'];_0x3dded4['ui']['componentFactory']['add']('uploadcareImageEdit',_0x3ec688=>{const _0x19174d=_0x3dded4['commands']['get']('uploadcareImageEdit'),_0x2621e1=new _0x274c9b(_0x3ec688),t=_0x3ec688['t'];return _0x2621e1['set']({'icon':_0x38d81b,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x2621e1['bind']('isEnabled')['to'](_0x19174d),_0x2621e1['bind']('isOn')['to'](_0x19174d,'isActive'),this['listenTo'](_0x2621e1,'execute',()=>{_0x3dded4['execute']('uploadcareImageEdit'),_0x3dded4['editing']['view']['focus']();}),_0x2621e1;}),this['_initConfig']();}['_initConfig'](){const _0xffdffd=_0xe8b0e8(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0xffdffd),this['listenTo'](this['editor'],'destroy',()=>{_0xffdffd['remove']();});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x1f6a(){const _0x29891e=['selection','document','4088140xqKBdJ','127147knZYSQ','33910596gVcHIw','10KOTsgL','isEnabled','5178855jecCvb','319jJBkmF','29055qeidvo','2068296ZUCdFj','srcset','sizes','model','setAttributes','execute','getSelectedElement','element','removeAttribute','9fpIcIs','52PjNCZd','372980ghPifV','12JjkEaF','imageBlock','change','refresh','imageInline','editor'];_0x1f6a=function(){return _0x29891e;};return _0x1f6a();}const _0x2a8a2c=_0x2f8b;function _0x2f8b(_0xd55d4f,_0x55c6c5){const _0x1f6a35=_0x1f6a();return _0x2f8b=function(_0x2f8b40,_0x7c0e8e){_0x2f8b40=_0x2f8b40-0xf3;let _0x4e6e8d=_0x1f6a35[_0x2f8b40];return _0x4e6e8d;},_0x2f8b(_0xd55d4f,_0x55c6c5);}(function(_0x27b233,_0x4e15e2){const _0x201f5d=_0x2f8b,_0x48ecbf=_0x27b233();while(!![]){try{const _0x59f812=parseInt(_0x201f5d(0x10a))/0x1*(-parseInt(_0x201f5d(0x10c))/0x2)+parseInt(_0x201f5d(0xf4))/0x3*(-parseInt(_0x201f5d(0xff))/0x4)+parseInt(_0x201f5d(0x10e))/0x5+parseInt(_0x201f5d(0x101))/0x6*(-parseInt(_0x201f5d(0x109))/0x7)+-parseInt(_0x201f5d(0xf5))/0x8*(parseInt(_0x201f5d(0xfe))/0x9)+-parseInt(_0x201f5d(0x100))/0xa*(parseInt(_0x201f5d(0xf3))/0xb)+parseInt(_0x201f5d(0x10b))/0xc;if(_0x59f812===_0x4e15e2)break;else _0x48ecbf['push'](_0x48ecbf['shift']());}catch(_0x3d4aaa){_0x48ecbf['push'](_0x48ecbf['shift']());}}}(_0x1f6a,0x907b3));import{Command as _0xc20ff1}from'ckeditor5/src/core.js';export default class O extends _0xc20ff1{[_0x2a8a2c(0x104)](){const _0x4e8038=_0x2a8a2c,_0x5d3d37=this[_0x4e8038(0x106)][_0x4e8038(0xf8)][_0x4e8038(0x108)][_0x4e8038(0x107)][_0x4e8038(0xfb)]();this[_0x4e8038(0x10d)]=Boolean(_0x5d3d37&&(_0x5d3d37['is'](_0x4e8038(0xfc),_0x4e8038(0x102))||_0x5d3d37['is'](_0x4e8038(0xfc),_0x4e8038(0x105))));}[_0x2a8a2c(0xfa)](_0x8756b8){const _0x29094d=_0x2a8a2c,_0x34401f=this[_0x29094d(0x106)][_0x29094d(0xf8)][_0x29094d(0x108)][_0x29094d(0x107)][_0x29094d(0xfb)]();this[_0x29094d(0x106)][_0x29094d(0xf8)][_0x29094d(0x103)](_0x1b58ce=>{const _0x42259d=_0x29094d;_0x1b58ce[_0x42259d(0xf9)](_0x8756b8,_0x34401f),_0x1b58ce[_0x42259d(0xfd)](_0x42259d(0xf6),_0x34401f),_0x1b58ce[_0x42259d(0xfd)](_0x42259d(0xf7),_0x34401f);});}}
23
+ function _0x3159(_0x138ea9,_0x30b3eb){const _0x48ee74=_0x48ee();return _0x3159=function(_0x31592e,_0x62882a){_0x31592e=_0x31592e-0x1ce;let _0x4471c7=_0x48ee74[_0x31592e];return _0x4471c7;},_0x3159(_0x138ea9,_0x30b3eb);}const _0x40042c=_0x3159;(function(_0x14eab0,_0x194ac7){const _0x44ed77=_0x3159,_0xf625d2=_0x14eab0();while(!![]){try{const _0x2b14ed=parseInt(_0x44ed77(0x1e9))/0x1*(-parseInt(_0x44ed77(0x1e5))/0x2)+-parseInt(_0x44ed77(0x1e6))/0x3+parseInt(_0x44ed77(0x1dd))/0x4+-parseInt(_0x44ed77(0x1e4))/0x5*(parseInt(_0x44ed77(0x1e0))/0x6)+-parseInt(_0x44ed77(0x1d2))/0x7*(parseInt(_0x44ed77(0x1d5))/0x8)+parseInt(_0x44ed77(0x1e1))/0x9*(-parseInt(_0x44ed77(0x1d3))/0xa)+parseInt(_0x44ed77(0x1cf))/0xb*(parseInt(_0x44ed77(0x1e7))/0xc);if(_0x2b14ed===_0x194ac7)break;else _0xf625d2['push'](_0xf625d2['shift']());}catch(_0x1d8f50){_0xf625d2['push'](_0xf625d2['shift']());}}}(_0x48ee,0x95706));import{Command as _0x42b0aa}from'ckeditor5/src/core.js';function _0x48ee(){const _0x46147a=['model','selection','imageInline','editor','3586732fBdtUa','change','document','36462UowVep','911331vWsZHs','removeAttribute','execute','325mlsCji','2DcwXMW','251751WdKBmS','900cZTzca','element','994547degNJk','sizes','274516lchcdX','refresh','srcset','63wCCWjP','10OBdpZF','imageBlock','516936eiOtRw','getSelectedElement','isEnabled','setAttributes'];_0x48ee=function(){return _0x46147a;};return _0x48ee();}export default class O extends _0x42b0aa{[_0x40042c(0x1d0)](){const _0x1adab8=_0x40042c,_0x483376=this[_0x1adab8(0x1dc)][_0x1adab8(0x1d9)][_0x1adab8(0x1df)][_0x1adab8(0x1da)][_0x1adab8(0x1d6)]();this[_0x1adab8(0x1d7)]=Boolean(_0x483376&&(_0x483376['is'](_0x1adab8(0x1e8),_0x1adab8(0x1d4))||_0x483376['is'](_0x1adab8(0x1e8),_0x1adab8(0x1db))));}[_0x40042c(0x1e3)](_0x7d445d){const _0x47ac06=_0x40042c,_0x354580=this[_0x47ac06(0x1dc)][_0x47ac06(0x1d9)][_0x47ac06(0x1df)][_0x47ac06(0x1da)][_0x47ac06(0x1d6)]();this[_0x47ac06(0x1dc)][_0x47ac06(0x1d9)][_0x47ac06(0x1de)](_0x2a9797=>{const _0x94ba48=_0x47ac06;_0x2a9797[_0x94ba48(0x1d8)](_0x7d445d,_0x354580),_0x2a9797[_0x94ba48(0x1e2)](_0x94ba48(0x1d1),_0x354580),_0x2a9797[_0x94ba48(0x1e2)](_0x94ba48(0x1ce),_0x354580);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x40b16e=_0x13ed;(function(_0xbe0651,_0x4731e2){var _0x3e6764=_0x13ed,_0x16d58e=_0xbe0651();while(!![]){try{var _0x36daa9=-parseInt(_0x3e6764(0x1c1))/0x1*(-parseInt(_0x3e6764(0x1be))/0x2)+parseInt(_0x3e6764(0x1b6))/0x3+parseInt(_0x3e6764(0x1b4))/0x4*(-parseInt(_0x3e6764(0x1bd))/0x5)+-parseInt(_0x3e6764(0x1b2))/0x6+-parseInt(_0x3e6764(0x1b5))/0x7+-parseInt(_0x3e6764(0x1ba))/0x8*(-parseInt(_0x3e6764(0x1bc))/0x9)+parseInt(_0x3e6764(0x1b9))/0xa*(parseInt(_0x3e6764(0x1b8))/0xb);if(_0x36daa9===_0x4731e2)break;else _0x16d58e['push'](_0x16d58e['shift']());}catch(_0x562e03){_0x16d58e['push'](_0x16d58e['shift']());}}}(_0x2ab1,0x1ec18));function _0x2ab1(){var _0x218625=['11MIhiZV','1740610QcXKXV','102064iiuSFd','UploadcareImageEdit','36IdUapz','5OAbqSZ','1952TDNYGl','pluginName','requires','199CsOniM','936336EisSsB','isOfficialPlugin','979908HRiYZQ','102893vySUOO','367173zEiOXg','isPremiumPlugin'];_0x2ab1=function(){return _0x218625;};return _0x2ab1();}function _0x13ed(_0x7d6d4a,_0x1568f2){var _0x2ab1c7=_0x2ab1();return _0x13ed=function(_0x13ed6c,_0x5f1ddd){_0x13ed6c=_0x13ed6c-0x1b2;var _0x151cfd=_0x2ab1c7[_0x13ed6c];return _0x151cfd;},_0x13ed(_0x7d6d4a,_0x1568f2);}import{Plugin as _0x3083e4}from'ckeditor5/src/core.js';import _0x3371c8 from'./uploadcareimageedit/uploadcareimageeditediting.js';import _0xf86835 from'./uploadcareimageedit/uploadcareimageeditui.js';export default class j extends _0x3083e4{static get[_0x40b16e(0x1bf)](){var _0x3587f1=_0x40b16e;return _0x3587f1(0x1bb);}static get[_0x40b16e(0x1c0)](){return[_0x3371c8,_0xf86835];}static get[_0x40b16e(0x1b3)](){return!0x0;}static get[_0x40b16e(0x1b7)](){return!0x0;}}
23
+ var _0x274427=_0xf4fe;(function(_0x54b313,_0x31bc6b){var _0x3fd5e3=_0xf4fe,_0x5a44e1=_0x54b313();while(!![]){try{var _0x362b55=parseInt(_0x3fd5e3(0x8f))/0x1*(parseInt(_0x3fd5e3(0x96))/0x2)+parseInt(_0x3fd5e3(0x91))/0x3*(parseInt(_0x3fd5e3(0x9a))/0x4)+-parseInt(_0x3fd5e3(0x93))/0x5+-parseInt(_0x3fd5e3(0x97))/0x6+parseInt(_0x3fd5e3(0x99))/0x7*(parseInt(_0x3fd5e3(0x8c))/0x8)+parseInt(_0x3fd5e3(0x90))/0x9*(parseInt(_0x3fd5e3(0x8b))/0xa)+parseInt(_0x3fd5e3(0x8d))/0xb*(-parseInt(_0x3fd5e3(0x95))/0xc);if(_0x362b55===_0x31bc6b)break;else _0x5a44e1['push'](_0x5a44e1['shift']());}catch(_0x4ce54e){_0x5a44e1['push'](_0x5a44e1['shift']());}}}(_0x55db,0x78f36));import{Plugin as _0x202fd1}from'ckeditor5/src/core.js';function _0xf4fe(_0x8e5411,_0x4b733a){var _0x55db13=_0x55db();return _0xf4fe=function(_0xf4fe54,_0x48a730){_0xf4fe54=_0xf4fe54-0x8b;var _0xd89d42=_0x55db13[_0xf4fe54];return _0xd89d42;},_0xf4fe(_0x8e5411,_0x4b733a);}import _0x56fecc from'./uploadcareimageedit/uploadcareimageeditediting.js';import _0x26a2e7 from'./uploadcareimageedit/uploadcareimageeditui.js';function _0x55db(){var _0x17666e=['1007644RFhBnb','requires','20aGknuy','4964248IbdcAz','11AHGGMm','UploadcareImageEdit','1383oMeYZP','889533NuKbHo','3BZIzEE','isOfficialPlugin','927620vWMmEk','pluginName','3683652BAzEFK','302xvLDQh','1746240rJCGOT','isPremiumPlugin','7BOUfAS'];_0x55db=function(){return _0x17666e;};return _0x55db();}export default class P extends _0x202fd1{static get[_0x274427(0x94)](){var _0x4b2e2c=_0x274427;return _0x4b2e2c(0x8e);}static get[_0x274427(0x9b)](){return[_0x56fecc,_0x26a2e7];}static get[_0x274427(0x92)](){return!0x0;}static get[_0x274427(0x98)](){return!0x0;}}