@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-20250210.0 → 0.0.0-nightly-next-20250211.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (41) hide show
  1. package/build/uploadcare.js +1 -1
  2. package/ckeditor5-metadata.json +1 -1
  3. package/dist/index.js +3 -3
  4. package/package.json +9 -8
  5. package/src/index.js +1 -1
  6. package/src/ui/uploadcarecontroller.d.ts +2 -6
  7. package/src/ui/uploadcarecontroller.js +2 -2
  8. package/src/ui/uploadcareformview.js +1 -1
  9. package/src/uploadcare.js +1 -1
  10. package/src/uploadcarecommand.js +1 -1
  11. package/src/uploadcareconfig.js +1 -1
  12. package/src/uploadcareediting.js +1 -1
  13. package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.js +2 -2
  14. package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.js +1 -1
  15. package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.d.ts +1 -4
  16. package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.js +1 -1
  17. package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.js +1 -1
  18. package/src/uploadcareimageedit/ui/uploadcareimageeditformview.js +1 -1
  19. package/src/uploadcareimageedit/uploadcareimageeditcommand.js +1 -1
  20. package/src/uploadcareimageedit/uploadcareimageeditediting.js +1 -1
  21. package/src/uploadcareimageedit/uploadcareimageeditui.js +1 -1
  22. package/src/uploadcareimageedit/uploadcareimagereplacecommand.js +1 -1
  23. package/src/uploadcareimageedit.js +1 -1
  24. package/src/uploadcareui.js +1 -1
  25. package/src/uploadcareuploadadapter.js +1 -1
  26. package/src/utils/common-translations.js +1 -1
  27. package/src/utils/dialogfocusmanagerview.js +1 -1
  28. package/src/utils/editingutils.js +1 -1
  29. package/src/utils/isancestor.js +1 -1
  30. package/src/utils/uploadutils.js +1 -1
  31. package/theme/icons/dropbox.svg +0 -11
  32. package/theme/icons/error.svg +0 -1
  33. package/theme/icons/facebook.svg +0 -11
  34. package/theme/icons/google-drive.svg +0 -11
  35. package/theme/icons/google-photos.svg +0 -11
  36. package/theme/icons/image-upload.svg +0 -11
  37. package/theme/icons/instagram.svg +0 -11
  38. package/theme/icons/link.svg +0 -11
  39. package/theme/icons/local.svg +0 -11
  40. package/theme/icons/onedrive.svg +0 -11
  41. package/theme/icons/uploadcare-image-edit.svg +0 -11
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x3851(){const _0x19a176=['listenTo','once','removeAttribute','imageInline','editor','_ctxElement','uploadcare','href','cleanupImage','selection','execute','conversion','pluginName','afterInit','29148174rDmcCY','isOfficialPlugin','view','UploadcareEditing','schema','config','document','uploadcare.pubkey','PictureEditing','insertImage','configElement','uploadcareImageReplace','appendChild','editing','isRegistered','add','20428twouWD','body','_configElement','locale','downcast','16434790RhaVAp','#uc-icon-arrow-down','imageBlock','querySelector','39744hXdngN','upcast','fromCharCode','_initConversion','uc-upload-ctx-provider','_initConfig','getSelectedElement','extend','closeMax','uc-config','isPremiumPlugin','remove','map','3139233XwdmCX','for','true','join','get','ctxElement','model','452ZJWNhd','commands','contentLanguage','render','_initSchema','init','iconHrefResolver','_initImageProcessingIndicator','requires','uploadcare.uploader','elementToAttribute','input[uploadcare-file-input]','replaceImageSource','\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup\x20{\x20padding:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-menu\x20{\x20gap:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-footer\x20{\x20padding-top:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__separator\x20{\x20margin:\x200;\x20}\x0a\x09\x09\x09','data-uc-image-id','getAttribute','40gZbsiS','928RfxnRT','47313uiSfxx','uploader','attributeToAttribute','3035WliQYr','654vMBJYo','uploadcareImageId','_initCtx','destroy'];_0x3851=function(){return _0x19a176;};return _0x3851();}const _0x37f78f=_0x5b36;(function(_0x5b888c,_0x24f1f4){const _0x3d08bc=_0x5b36,_0xb3f41b=_0x5b888c();while(!![]){try{const _0x40b6aa=-parseInt(_0x3d08bc(0xaf))/0x1*(-parseInt(_0x3d08bc(0x9a))/0x2)+-parseInt(_0x3d08bc(0x93))/0x3+parseInt(_0x3d08bc(0x7d))/0x4*(parseInt(_0x3d08bc(0xaa))/0x5)+-parseInt(_0x3d08bc(0xb0))/0x6*(-parseInt(_0x3d08bc(0xac))/0x7)+-parseInt(_0x3d08bc(0xab))/0x8*(parseInt(_0x3d08bc(0x86))/0x9)+-parseInt(_0x3d08bc(0x82))/0xa+parseInt(_0x3d08bc(0x6d))/0xb;if(_0x40b6aa===_0x24f1f4)break;else _0xb3f41b['push'](_0xb3f41b['shift']());}catch(_0x379cf8){_0xb3f41b['push'](_0xb3f41b['shift']());}}}(_0x3851,0xde751));import{Plugin as _0x50b7b8}from'ckeditor5/src/core.js';import{Dialog as _0x24dfa7}from'ckeditor5/src/ui.js';import{createElement as _0x313eff,global as _0x4a9e06,uid as _0x2f2d3a}from'ckeditor5/src/utils.js';import _0x395d88 from'./uploadcarecommand.js';import _0x589c6b from'./uploadcareuploadadapter.js';function _0x5b36(_0x446b51,_0x4ca318){const _0x385126=_0x3851();return _0x5b36=function(_0x5b367b,_0x19d2e4){_0x5b367b=_0x5b367b-0x68;let _0x1a92d9=_0x385126[_0x5b367b];return _0x1a92d9;},_0x5b36(_0x446b51,_0x4ca318);}import{showImageProcessingIndicator as _0x5e8d06}from'./utils/editingutils.js';export default class i extends _0x50b7b8{constructor(){const _0x17b27b=_0x5b36;super(...arguments),this[_0x17b27b(0x7f)]=null,this[_0x17b27b(0xb9)]=null;}static get[_0x37f78f(0x6b)](){const _0x366d66=_0x37f78f;return _0x366d66(0x70);}static get[_0x37f78f(0xa2)](){const _0x53f8a5=_0x37f78f;return[_0x53f8a5(0x75),_0x589c6b,_0x24dfa7];}static get[_0x37f78f(0x6e)](){return!0x0;}static get[_0x37f78f(0x90)](){return!0x0;}get[_0x37f78f(0x77)](){const _0x5925f2=_0x37f78f;return this[_0x5925f2(0x7f)];}get[_0x37f78f(0x98)](){const _0x40b370=_0x37f78f;return this[_0x40b370(0xb9)];}[_0x37f78f(0x9f)](){const _0x39fdf4=_0x37f78f,_0x30f08e=this[_0x39fdf4(0xb8)];_0x30f08e[_0x39fdf4(0x9b)][_0x39fdf4(0x7c)](_0x39fdf4(0xba),new _0x395d88(_0x30f08e));}[_0x37f78f(0x6c)](){const _0x599d03=_0x37f78f;this[_0x599d03(0x9e)](),this[_0x599d03(0x89)](),this[_0x599d03(0x8b)](),this[_0x599d03(0xb2)](),this[_0x599d03(0xa1)](),this[_0x599d03(0xb4)](this[_0x599d03(0xb8)],_0x599d03(0xb3),()=>{const _0x15aa3e=_0x599d03;this[_0x15aa3e(0x7f)]&&(this[_0x15aa3e(0x7f)][_0x15aa3e(0x91)](),this[_0x15aa3e(0x7f)]=null),this[_0x15aa3e(0xb9)]&&(this[_0x15aa3e(0xb9)][_0x15aa3e(0x91)](),this[_0x15aa3e(0xb9)]=null);const _0x1a41f5=_0x4a9e06[_0x15aa3e(0x73)][_0x15aa3e(0x85)](_0x15aa3e(0xa5));_0x1a41f5&&_0x1a41f5[_0x15aa3e(0x91)]();}),async function(_0x2eccfe){const _0x384583=_0x59f527([0x64,0x58,0x4e,0x6b,0x38,0x75,0x43,0x49,0x6f,0x67,0x53,0x66,0x48,0x4c,0x51,0x4a,0x35,0x6c,0x76,0x6e,0x41,0x74,0x69,0x73,0x54,0x56,0x4d,0x6a,0x70,0x65,0x79,0x47,0x68,0x62,0x72,0x45,0x37,0x50,0x33,0x55,0x30,0x6d,0x31,0x4b,0x32,0x34,0x71,0x44,0x4f,0x39,0x78,0x5a,0x57,0x46,0x7a,0x77,0x36,0x59,0x63,0x61,0x42,0x52]),_0x85016f=0x5af76878,_0x25cd56=0x5af03760^_0x85016f,_0x138cc9=window[_0x59f527([0x44,0x61,0x74,0x65])][_0x59f527([0x6e,0x6f,0x77])](),_0x2c6b28=_0x2eccfe[_0x59f527([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1dab2d=new window[(_0x59f527([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x48f0a3=>{_0x2c6b28[_0x59f527([0x6f,0x6e,0x63,0x65])](_0x59f527([0x72,0x65,0x61,0x64,0x79]),_0x48f0a3);}),_0x4d416f={[_0x59f527([0x6b,0x74,0x79])]:_0x59f527([0x45,0x43]),[_0x59f527([0x75,0x73,0x65])]:_0x59f527([0x73,0x69,0x67]),[_0x59f527([0x63,0x72,0x76])]:_0x59f527([0x50,0x2d,0x32,0x35,0x36]),[_0x59f527([0x78])]:_0x59f527([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]),[_0x59f527([0x79])]:_0x59f527([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]),[_0x59f527([0x61,0x6c,0x67])]:_0x59f527([0x45,0x53,0x32,0x35,0x36])},_0x1479a4=_0x2c6b28[_0x59f527([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x59f527([0x67,0x65,0x74])](_0x59f527([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x335787(){let _0x3f47d6,_0x32fef1=null,_0x14fe28=null;try{if(_0x1479a4==_0x59f527([0x47,0x50,0x4c]))return _0x59f527([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3f47d6=_0x1bcdbb(),!_0x3f47d6)return _0x59f527([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x3f47d6[_0x59f527([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x14fe28=_0x383420(_0x3f47d6[_0x59f527([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3f47d6[_0x59f527([0x6a,0x74,0x69])])),await _0x1bdda0()?_0x1d5b7e()?_0x1f9e0b()?_0x59f527([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x50a2d7()?(_0x3f47d6[_0x59f527([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x59f527([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x32fef1=_0x36c8b(_0x59f527([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x3f47d6[_0x59f527([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x59f527([0x74,0x72,0x69,0x61,0x6c])&&(_0x32fef1=_0x36c8b(_0x59f527([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x226305()):_0x59f527([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x59f527([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x59f527([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x142423){return _0x59f527([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x1f9e0b(){const _0x3d0a52=[_0x59f527([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x59f527([0x74,0x72,0x69,0x61,0x6c])][_0x59f527([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3f47d6[_0x59f527([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x138cc9/0x3e8:0xe10*_0x25cd56;return _0x3f47d6[_0x59f527([0x65,0x78,0x70])]<_0x3d0a52;}function _0x1d5b7e(){const _0x4f366f=_0x3f47d6[_0x59f527([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x4f366f&&(!!_0x4f366f[_0x59f527([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x59f527([0x2a]))||!!_0x4f366f[_0x59f527([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x59f527([0x55,0x50,0x4c,0x43])));}function _0x50a2d7(){const _0xaf879b=_0x5b36,_0x7dc1f4=_0x3f47d6[_0x59f527([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x7dc1f4||0x0==_0x7dc1f4[_0x59f527([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x49e232}=new URL(window[_0x59f527([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0xaf879b(0xbb)]);if(_0x7dc1f4[_0x59f527([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x49e232))return!0x0;const _0x2e4ad3=_0x49e232[_0x59f527([0x73,0x70,0x6c,0x69,0x74])](_0x59f527([0x2e]));return _0x7dc1f4[_0x59f527([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3a94f5=>_0x3a94f5[_0x59f527([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x59f527([0x2a])))[_0x59f527([0x6d,0x61,0x70])](_0x1fc2f9=>_0x1fc2f9[_0x59f527([0x73,0x70,0x6c,0x69,0x74])](_0x59f527([0x2e])))[_0x59f527([0x73,0x6f,0x6d,0x65])](_0x3fcaf9=>_0x2e4ad3[_0x59f527([0x65,0x76,0x65,0x72,0x79])]((_0x5895af,_0x244caa)=>_0x3fcaf9[_0x244caa]===_0x5895af||_0x3fcaf9[_0x244caa]===_0x59f527([0x2a])));}function _0x226305(){return _0x32fef1&&_0x14fe28?new window[(_0x59f527([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x48bbce,_0x83feef)=>{_0x32fef1[_0x59f527([0x74,0x68,0x65,0x6e])](_0x48bbce,_0x83feef),_0x14fe28[_0x59f527([0x74,0x68,0x65,0x6e])](_0x352f49=>{_0x352f49!=_0x59f527([0x56,0x61,0x6c,0x69,0x64])&&_0x48bbce(_0x352f49);},_0x83feef);}):_0x32fef1||_0x14fe28||_0x59f527([0x56,0x61,0x6c,0x69,0x64]);}}function _0x383420(_0x5b1428,_0x1b02bd){return new window[(_0x59f527([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x22fe16=>{if(_0x59d859())return _0x22fe16(_0x59f527([0x56,0x61,0x6c,0x69,0x64]));_0x3332e8(),_0x2c6b28[_0x59f527([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x59f527([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x5c862c=!0x1;const _0x5d4906=_0x2f2d3a();function _0x536c03(_0x2c2fd5){return!!_0x2c2fd5&&(typeof _0x2c2fd5===_0x59f527([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2c2fd5===_0x59f527([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2c2fd5[_0x59f527([0x74,0x68,0x65,0x6e])]===_0x59f527([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2c2fd5[_0x59f527([0x63,0x61,0x74,0x63,0x68])]===_0x59f527([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x5b4b00(_0x2473aa){_0x5ed00d(_0x2473aa)[_0x59f527([0x74,0x68,0x65,0x6e])](_0x12fb79=>{if(!_0x12fb79||_0x12fb79[_0x59f527([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x59f527([0x6f,0x6b]))return _0x59f527([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x27a444(_0x8df24d(_0x5d4906+_0x1b02bd))!=_0x12fb79[_0x59f527([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x59f527([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x59f527([0x56,0x61,0x6c,0x69,0x64]);})[_0x59f527([0x74,0x68,0x65,0x6e])](_0x2a4e66=>(_0xf5b9ef(),_0x2a4e66),()=>{const _0x44397c=_0x5267fa();return null==_0x44397c?(_0xf5b9ef(),_0x59f527([0x56,0x61,0x6c,0x69,0x64])):_0x59f527(_0x138cc9-_0x44397c>(0x7efbec78^_0x85016f)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x59f527([0x74,0x68,0x65,0x6e])](_0x22fe16)[_0x59f527([0x63,0x61,0x74,0x63,0x68])](()=>{_0x22fe16(_0x59f527([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5191fa=0x5ac186f8^_0x85016f;function _0xf5b9ef(){const _0x20c522=_0x59f527([0x6c,0x6c,0x63,0x74,0x2d])+_0x27a444(_0x8df24d(_0x5b1428)),_0x5dae2a=_0x4264a9(_0x27a444(window[_0x59f527([0x4d,0x61,0x74,0x68])][_0x59f527([0x63,0x65,0x69,0x6c])](_0x138cc9/_0x5191fa)));window[_0x59f527([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x59f527([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x20c522,_0x5dae2a);}function _0x5267fa(){const _0x53ad02=_0x59f527([0x6c,0x6c,0x63,0x74,0x2d])+_0x27a444(_0x8df24d(_0x5b1428)),_0x877459=window[_0x59f527([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x59f527([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x53ad02);return _0x877459?window[_0x59f527([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4264a9(_0x877459),0x10)*_0x5191fa:null;}function _0x5ed00d(_0x3f49af){return new window[(_0x59f527([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x362ef0,_0x20977d)=>{_0x3f49af[_0x59f527([0x74,0x68,0x65,0x6e])](_0x362ef0,_0x20977d),window[_0x59f527([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x20977d,0x5af6bcb8^_0x85016f);});}}_0x2c6b28[_0x59f527([0x6f,0x6e])](_0x59f527([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x29f0ec,_0x47642d)=>{if(_0x47642d[0x0]!=_0x5b1428)return _0x22fe16(_0x59f527([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x47642d[0x1]={..._0x47642d[0x1],[_0x59f527([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5d4906};},{[_0x59f527([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x59f527([0x68,0x69,0x67,0x68])}),_0x2c6b28[_0x59f527([0x6f,0x6e])](_0x59f527([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0xc270bd=>{_0x536c03(_0xc270bd[_0x59f527([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x5c862c=!0x0,_0x5b4b00(_0xc270bd[_0x59f527([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x59f527([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x59f527([0x6c,0x6f,0x77])}),_0x1dab2d[_0x59f527([0x74,0x68,0x65,0x6e])](()=>{_0x5c862c||_0x22fe16(_0x59f527([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x59d859(){return _0x2c6b28[_0x59f527([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x59f527([0x76,0x69,0x65,0x77])][_0x59f527([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x59f527([0x61,0x75,0x74,0x6f]);}function _0x3332e8(){_0x2c6b28[_0x59f527([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x59f527([0x76,0x69,0x65,0x77])][_0x59f527([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x59f527([0x61,0x75,0x74,0x6f]);}}function _0x36c8b(_0x2a5e06){const _0x12ae89=[new window[(_0x59f527([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x11cb5d=>setTimeout(_0x11cb5d,0x5afe56b4^_0x85016f)),_0x1dab2d[_0x59f527([0x74,0x68,0x65,0x6e])](()=>new window[(_0x59f527([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x544a06=>{let _0xaed0d4=0x0;_0x2c6b28[_0x59f527([0x6d,0x6f,0x64,0x65,0x6c])][_0x59f527([0x6f,0x6e])](_0x59f527([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x303b45,_0x4b462c)=>{_0x4b462c[0x0][_0x59f527([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0xaed0d4++,_0xaed0d4==(0x5af76980^_0x85016f)&&(_0x544a06(),_0x303b45[_0x59f527([0x6f,0x66,0x66])]());});}))];return window[_0x59f527([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x59f527([0x72,0x61,0x63,0x65])](_0x12ae89)[_0x59f527([0x74,0x68,0x65,0x6e])](()=>_0x2a5e06);}async function _0x1559e0(){await _0x1dab2d,_0x2c6b28[_0x59f527([0x6d,0x6f,0x64,0x65,0x6c])][_0x59f527([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x604006,_0x2c6b28[_0x59f527([0x6d,0x6f,0x64,0x65,0x6c])][_0x59f527([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x604006,_0x2c6b28[_0x59f527([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x59f527([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x53dc38(_0x523893){const _0x2a17ac=_0x3338b0();_0x2c6b28[_0x2a17ac]=_0x59f527([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x523893,_0x523893!=_0x59f527([0x56,0x61,0x6c,0x69,0x64])&&_0x1559e0();}function _0x3338b0(){const _0x1cd854=window[_0x59f527([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x59f527([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x59f527([0x6e,0x6f,0x77])]())[_0x59f527([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x59f527([0x2e]),'');let _0x545ee9=_0x59f527([0x64]);for(let _0x593ead=0x0;_0x593ead<_0x1cd854[_0x59f527([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x593ead+=0x2){let _0x54b4b0=window[_0x59f527([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1cd854[_0x59f527([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x593ead,_0x593ead+0x2));_0x54b4b0>=_0x384583[_0x59f527([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x54b4b0-=_0x384583[_0x59f527([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x545ee9+=_0x384583[_0x54b4b0];}return _0x545ee9;}function _0x1bcdbb(){const _0x4cab1c=_0x1479a4[_0x59f527([0x73,0x70,0x6c,0x69,0x74])](_0x59f527([0x2e]));if(0x3!=_0x4cab1c[_0x59f527([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0xfd3bc2(_0x4cab1c[0x1]);function _0xfd3bc2(_0x22141e){const _0x6506fa=_0x6b4fe6(_0x22141e);return _0x6506fa&&_0x20c5f3()?_0x6506fa:null;function _0x20c5f3(){const _0x506d40=_0x6506fa[_0x59f527([0x6a,0x74,0x69])],_0x6d4d5f=window[_0x59f527([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x506d40[_0x59f527([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x506d40[_0x59f527([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x27f507={..._0x6506fa,[_0x59f527([0x6a,0x74,0x69])]:_0x506d40[_0x59f527([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x506d40[_0x59f527([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x27f507[_0x59f527([0x76,0x63])],_0x8df24d(_0x27f507)==_0x6d4d5f;}}}async function _0x1bdda0(){let _0x566211=!0x0;try{const _0x42d4a3=_0x1479a4[_0x59f527([0x73,0x70,0x6c,0x69,0x74])](_0x59f527([0x2e])),[_0x34317,_0x5a01d4,_0x2e7f9b]=_0x42d4a3;return _0x35030e(_0x34317),await _0x51e6d8(_0x34317,_0x5a01d4,_0x2e7f9b),_0x566211;}catch(_0x425517){return!0x1;}function _0x35030e(_0x2ee8c1){const _0x588717=_0x6b4fe6(_0x2ee8c1);_0x588717&&_0x588717[_0x59f527([0x61,0x6c,0x67])]==_0x59f527([0x45,0x53,0x32,0x35,0x36])||(_0x566211=!0x1);}async function _0x51e6d8(_0x2dbf41,_0x5da1c4,_0x499886){const _0x3ead85=window[_0x59f527([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x59f527([0x66,0x72,0x6f,0x6d])](_0x34c47a(_0x499886),_0x1dc01d=>_0x1dc01d[_0x59f527([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1552a3=new window[(_0x59f527([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x59f527([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x2dbf41+_0x59f527([0x2e])+_0x5da1c4),_0xd6a428=window[_0x59f527([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x59f527([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0xd6a428)return;const _0x593b49=await _0xd6a428[_0x59f527([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x59f527([0x6a,0x77,0x6b]),_0x4d416f,{[_0x59f527([0x6e,0x61,0x6d,0x65])]:_0x59f527([0x45,0x43,0x44,0x53,0x41]),[_0x59f527([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x59f527([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x59f527([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0xd6a428[_0x59f527([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x59f527([0x6e,0x61,0x6d,0x65])]:_0x59f527([0x45,0x43,0x44,0x53,0x41]),[_0x59f527([0x68,0x61,0x73,0x68])]:{[_0x59f527([0x6e,0x61,0x6d,0x65])]:_0x59f527([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x593b49,_0x3ead85,_0x1552a3)||(_0x566211=!0x1);}}function _0x6b4fe6(_0x5c4652){return _0x5c4652[_0x59f527([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x59f527([0x65,0x79]))?JSON[_0x59f527([0x70,0x61,0x72,0x73,0x65])](_0x34c47a(_0x5c4652)):null;}function _0x34c47a(_0xe2f822){return window[_0x59f527([0x61,0x74,0x6f,0x62])](_0xe2f822[_0x59f527([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x59f527([0x2b]))[_0x59f527([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x59f527([0x2f])));}function _0x8df24d(_0x4f94c3){let _0x1d4295=0x1505;function _0x1a3902(_0x429716){for(let _0x416f3e=0x0;_0x416f3e<_0x429716[_0x59f527([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x416f3e++){const _0x3de50f=_0x429716[_0x59f527([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x416f3e);_0x1d4295=(_0x1d4295<<0x5)+_0x1d4295+_0x3de50f,_0x1d4295&=_0x1d4295;}}function _0x4779ca(_0xbd23e0){Array[_0x59f527([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0xbd23e0)?_0xbd23e0[_0x59f527([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4779ca):_0xbd23e0&&typeof _0xbd23e0==_0x59f527([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x59f527([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0xbd23e0)[_0x59f527([0x73,0x6f,0x72,0x74])]()[_0x59f527([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x453f49,_0xa28ee6])=>{_0x1a3902(_0x453f49),_0x4779ca(_0xa28ee6);}):_0x1a3902(window[_0x59f527([0x53,0x74,0x72,0x69,0x6e,0x67])](_0xbd23e0));}return _0x4779ca(_0x4f94c3),_0x1d4295>>>0x0;}function _0x27a444(_0x2d24e8){return _0x2d24e8[_0x59f527([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x59f527([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x59f527([0x30]));}function _0x4264a9(_0x4cf73b){return _0x4cf73b[_0x59f527([0x73,0x70,0x6c,0x69,0x74])]('')[_0x59f527([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x59f527([0x6a,0x6f,0x69,0x6e])]('');}function _0x604006(){}function _0x59f527(_0x1b570e){const _0x378a5b=_0x5b36;return _0x1b570e[_0x378a5b(0x92)](_0x51ee2b=>String[_0x378a5b(0x88)](_0x51ee2b))[_0x378a5b(0x96)]('');}_0x53dc38(await _0x335787());}(this);}[_0x37f78f(0x9e)](){const _0x26213a=_0x37f78f,_0x3346f1=this[_0x26213a(0xb8)][_0x26213a(0x99)][_0x26213a(0x71)];_0x3346f1[_0x26213a(0x7b)](_0x26213a(0x84))&&_0x3346f1[_0x26213a(0x8d)](_0x26213a(0x84),{'allowAttributes':[_0x26213a(0xb1)]}),_0x3346f1[_0x26213a(0x7b)](_0x26213a(0xb7))&&_0x3346f1[_0x26213a(0x8d)](_0x26213a(0xb7),{'allowAttributes':[_0x26213a(0xb1)]});}[_0x37f78f(0x89)](){const _0x176693=_0x37f78f,_0x61bf36=this[_0x176693(0xb8)];_0x61bf36[_0x176693(0x6a)][_0x176693(0x94)](_0x176693(0x81))[_0x176693(0xae)]({'model':_0x176693(0xb1),'view':_0x176693(0xa8)}),_0x61bf36[_0x176693(0x6a)][_0x176693(0x94)](_0x176693(0x87))[_0x176693(0xa4)]({'model':{'key':_0x176693(0xb1),'value':_0x4d7d93=>_0x4d7d93[_0x176693(0xa9)](_0x176693(0xa8))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x5179d3=_0x61bf36[_0x176693(0x9b)][_0x176693(0x97)](_0x176693(0xa6));_0x5179d3&&this[_0x176693(0xb4)](_0x5179d3,_0x176693(0xbc),(_0x33c649,[_0x2d1b88,_0x4ea707])=>{const _0x7eee95=_0x176693;_0x2d1b88[_0x7eee95(0xb6)](_0x7eee95(0xb1),_0x4ea707);});}[_0x37f78f(0x8b)](){const _0x53bd8a=_0x37f78f,_0x304c7c=this[_0x53bd8a(0xb8)][_0x53bd8a(0x72)][_0x53bd8a(0x97)](_0x53bd8a(0xa3))||{},_0xaf662e=this[_0x53bd8a(0xb8)][_0x53bd8a(0x72)][_0x53bd8a(0x97)](_0x53bd8a(0x74))||'';this[_0x53bd8a(0x7f)]=_0x313eff(_0x4a9e06[_0x53bd8a(0x73)],_0x53bd8a(0x8f),{..._0x304c7c,'pubkey':_0xaf662e,'ctx-name':_0x53bd8a(0xad),'sourceList':'','imgOnly':_0x53bd8a(0x95),'removeCopyright':_0x53bd8a(0x95),'localeName':this[_0x53bd8a(0xb8)][_0x53bd8a(0x80)][_0x53bd8a(0x9c)],'externalSourcesEmbedCss':_0x53bd8a(0xa7)}),this[_0x53bd8a(0x7f)][_0x53bd8a(0xa0)]=_0x2ef0c5=>{const _0x365845=_0x53bd8a;if(_0x365845(0x8e)==_0x2ef0c5)return _0x365845(0x83);},_0x4a9e06[_0x53bd8a(0x73)][_0x53bd8a(0x7e)][_0x53bd8a(0x79)](this[_0x53bd8a(0x7f)]);}[_0x37f78f(0xb2)](){const _0x17f9ff=_0x37f78f;this[_0x17f9ff(0xb9)]=_0x313eff(_0x4a9e06[_0x17f9ff(0x73)],_0x17f9ff(0x8a),{'ctx-name':_0x17f9ff(0xad)}),_0x4a9e06[_0x17f9ff(0x73)][_0x17f9ff(0x7e)][_0x17f9ff(0x79)](this[_0x17f9ff(0xb9)]);}[_0x37f78f(0xa1)](){const _0x4ee460=_0x37f78f,_0x457115=this[_0x4ee460(0xb8)][_0x4ee460(0x9b)][_0x4ee460(0x97)](_0x4ee460(0x76));_0x457115&&this[_0x4ee460(0xb4)](_0x457115,_0x4ee460(0x69),()=>{const _0x4a0086=_0x4ee460,_0x2a815f=this[_0x4a0086(0xb8)][_0x4a0086(0x99)][_0x4a0086(0x73)][_0x4a0086(0x68)][_0x4a0086(0x8c)]();_0x2a815f&&_0x2a815f[_0x4a0086(0xa9)](_0x4a0086(0xb1))&&this[_0x4a0086(0xb8)][_0x4a0086(0x7a)][_0x4a0086(0x6f)][_0x4a0086(0xb5)](_0x4a0086(0x9d),()=>{const _0x39e22b=_0x4a0086;_0x5e8d06(this[_0x39e22b(0xb8)],_0x2a815f);});});const _0xb2b234=this[_0x4ee460(0xb8)][_0x4ee460(0x9b)][_0x4ee460(0x97)](_0x4ee460(0x78));_0xb2b234&&this[_0x4ee460(0xb4)](_0xb2b234,_0x4ee460(0x69),()=>{const _0x5e7ae7=_0x4ee460,_0x3bdae6=this[_0x5e7ae7(0xb8)][_0x5e7ae7(0x99)][_0x5e7ae7(0x73)][_0x5e7ae7(0x68)][_0x5e7ae7(0x8c)]();_0x3bdae6&&_0x3bdae6[_0x5e7ae7(0xa9)](_0x5e7ae7(0xb1))&&this[_0x5e7ae7(0xb8)][_0x5e7ae7(0x7a)][_0x5e7ae7(0x6f)][_0x5e7ae7(0xb5)](_0x5e7ae7(0x9d),()=>{const _0x399e9b=_0x5e7ae7;_0x5e8d06(this[_0x399e9b(0xb8)],_0x3bdae6);});});}}
23
+ function _0x45fb(){const _0x1a0829=['destroy','upcast','uploadcare','insertImage','contentLanguage','config','closeMax','ctxElement','view','input[uploadcare-file-input]','iconHrefResolver','downcast','getSelectedElement','editor','schema','init','uploadcareImageReplace','locale','querySelector','getAttribute','_configElement','cleanupImage','get','uploader','true','uc-config','uc-upload-ctx-provider','body','imageInline','fromCharCode','once','1083600AdtLEu','map','requires','163912VqWHwH','PictureEditing','data-uc-image-id','attributeToAttribute','imageBlock','#uc-icon-arrow-down','_initConversion','uploadcare.uploader','854488ZkHnXk','12036WwniuE','\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','isRegistered','remove','224260swjQeN','_initConfig','uploadcareImageId','394359EhwzFF','render','selection','_initImageProcessingIndicator','replaceImageSource','model','elementToAttribute','_ctxElement','execute','136cSeRaz','isPremiumPlugin','conversion','545232OwlItb','appendChild','editing','listenTo','configElement','_initSchema','pluginName','UploadcareEditing','for','commands','href','add','afterInit','380lJfspb','document','removeAttribute','isOfficialPlugin','_initCtx','uploadcare.pubkey','extend','join'];_0x45fb=function(){return _0x1a0829;};return _0x45fb();}function _0x3b70(_0x6dffee,_0x395df7){const _0x45fbbc=_0x45fb();return _0x3b70=function(_0x3b70af,_0x27400b){_0x3b70af=_0x3b70af-0x107;let _0x270ce7=_0x45fbbc[_0x3b70af];return _0x270ce7;},_0x3b70(_0x6dffee,_0x395df7);}const _0xfedd90=_0x3b70;(function(_0x55cd70,_0x4a1759){const _0x1f71cc=_0x3b70,_0x13666d=_0x55cd70();while(!![]){try{const _0x578600=parseInt(_0x1f71cc(0x12f))/0x1+-parseInt(_0x1f71cc(0x12a))/0x2+parseInt(_0x1f71cc(0x132))/0x3+-parseInt(_0x1f71cc(0x12b))/0x4*(-parseInt(_0x1f71cc(0x14b))/0x5)+-parseInt(_0x1f71cc(0x13e))/0x6+parseInt(_0x1f71cc(0x122))/0x7*(parseInt(_0x1f71cc(0x13b))/0x8)+-parseInt(_0x1f71cc(0x11f))/0x9;if(_0x578600===_0x4a1759)break;else _0x13666d['push'](_0x13666d['shift']());}catch(_0x4805b8){_0x13666d['push'](_0x13666d['shift']());}}}(_0x45fb,0x53f91));import{Plugin as _0x5190ca}from'ckeditor5/src/core.js';import{Dialog as _0x29e4ae}from'ckeditor5/src/ui.js';import{createElement as _0x3de23b,global as _0x30a242,uid as _0x4086f0}from'ckeditor5/src/utils.js';import _0x3563f from'./uploadcarecommand.js';import _0x3093ce from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x735816}from'./utils/editingutils.js';export default class i extends _0x5190ca{[_0xfedd90(0x114)]=null;[_0xfedd90(0x139)]=null;static get[_0xfedd90(0x144)](){const _0xf12185=_0xfedd90;return _0xf12185(0x145);}static get[_0xfedd90(0x121)](){const _0x5deb75=_0xfedd90;return[_0x5deb75(0x123),_0x3093ce,_0x29e4ae];}static get[_0xfedd90(0x14e)](){return!0x0;}static get[_0xfedd90(0x13c)](){return!0x0;}get[_0xfedd90(0x142)](){const _0x51c415=_0xfedd90;return this[_0x51c415(0x114)];}get[_0xfedd90(0x107)](){const _0x43afce=_0xfedd90;return this[_0x43afce(0x139)];}[_0xfedd90(0x10f)](){const _0x28a19f=_0xfedd90,_0x491489=this[_0x28a19f(0x10d)];_0x491489[_0x28a19f(0x147)][_0x28a19f(0x149)](_0x28a19f(0x155),new _0x3563f(_0x491489));}[_0xfedd90(0x14a)](){const _0x4626d0=_0xfedd90;this[_0x4626d0(0x143)](),this[_0x4626d0(0x128)](),this[_0x4626d0(0x130)](),this[_0x4626d0(0x14f)](),this[_0x4626d0(0x135)](),this[_0x4626d0(0x141)](this[_0x4626d0(0x10d)],_0x4626d0(0x153),()=>{const _0x4200cd=_0x4626d0;this[_0x4200cd(0x114)]&&(this[_0x4200cd(0x114)][_0x4200cd(0x12e)](),this[_0x4200cd(0x114)]=null),this[_0x4200cd(0x139)]&&(this[_0x4200cd(0x139)][_0x4200cd(0x12e)](),this[_0x4200cd(0x139)]=null);const _0x27d65f=_0x30a242[_0x4200cd(0x14c)][_0x4200cd(0x112)](_0x4200cd(0x109));_0x27d65f&&_0x27d65f[_0x4200cd(0x12e)]();}),async function(_0x5a085a){const _0x494c6a=_0x4632d1([0x31,0x69,0x70,0x6a,0x61,0x47,0x78,0x50,0x48,0x66,0x6c,0x35,0x71,0x36,0x68,0x6d,0x58,0x43,0x32,0x74,0x75,0x33,0x30,0x67,0x76,0x6f,0x39,0x46,0x51,0x6b,0x5a,0x4a,0x63,0x54,0x4e,0x4d,0x41,0x73,0x57,0x65,0x4f,0x59,0x34,0x6e,0x4b,0x38,0x4c,0x55,0x37,0x62,0x53,0x64,0x45,0x44,0x52,0x72,0x56,0x79,0x42,0x7a,0x77,0x49]),_0x3a7353=0x39b5577e,_0x1ebf79=0x39b2084e^_0x3a7353,_0x38bd9f=window[_0x4632d1([0x44,0x61,0x74,0x65])][_0x4632d1([0x6e,0x6f,0x77])](),_0x6baac6=_0x5a085a[_0x4632d1([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1cd010=new window[(_0x4632d1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2e6b46=>{_0x6baac6[_0x4632d1([0x6f,0x6e,0x63,0x65])](_0x4632d1([0x72,0x65,0x61,0x64,0x79]),_0x2e6b46);}),_0x3e2f90={[_0x4632d1([0x6b,0x74,0x79])]:_0x4632d1([0x45,0x43]),[_0x4632d1([0x75,0x73,0x65])]:_0x4632d1([0x73,0x69,0x67]),[_0x4632d1([0x63,0x72,0x76])]:_0x4632d1([0x50,0x2d,0x32,0x35,0x36]),[_0x4632d1([0x78])]:_0x4632d1([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]),[_0x4632d1([0x79])]:_0x4632d1([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]),[_0x4632d1([0x61,0x6c,0x67])]:_0x4632d1([0x45,0x53,0x32,0x35,0x36])},_0x920501=_0x6baac6[_0x4632d1([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4632d1([0x67,0x65,0x74])](_0x4632d1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x2c3897(){let _0x58f90e,_0x21e494=null,_0x19d43f=null;try{if(_0x920501==_0x4632d1([0x47,0x50,0x4c]))return _0x4632d1([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x58f90e=_0x4c2378(),!_0x58f90e)return _0x4632d1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x58f90e[_0x4632d1([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x19d43f=_0x3fa246(_0x58f90e[_0x4632d1([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x58f90e[_0x4632d1([0x6a,0x74,0x69])])),await _0x275a40()?_0x1366a4()?_0x3cdab9()?_0x4632d1([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x308ae2()?(_0x58f90e[_0x4632d1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4632d1([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x21e494=_0x54a18a(_0x4632d1([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x58f90e[_0x4632d1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4632d1([0x74,0x72,0x69,0x61,0x6c])&&(_0x21e494=_0x54a18a(_0x4632d1([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x142d16()):_0x4632d1([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4632d1([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4632d1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x3c88b6){return _0x4632d1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x3cdab9(){const _0x31c10a=[_0x4632d1([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4632d1([0x74,0x72,0x69,0x61,0x6c])][_0x4632d1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x58f90e[_0x4632d1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x38bd9f/0x3e8:0xe10*_0x1ebf79;return _0x58f90e[_0x4632d1([0x65,0x78,0x70])]<_0x31c10a;}function _0x1366a4(){const _0x434c08=_0x58f90e[_0x4632d1([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x434c08&&(!!_0x434c08[_0x4632d1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4632d1([0x2a]))||!!_0x434c08[_0x4632d1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4632d1([0x55,0x50,0x4c,0x43])));}function _0x308ae2(){const _0x5163c4=_0x3b70,_0x45bf80=_0x58f90e[_0x4632d1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x45bf80||0x0==_0x45bf80[_0x4632d1([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x4232be}=new URL(window[_0x4632d1([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x5163c4(0x148)]);if(_0x45bf80[_0x4632d1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4232be))return!0x0;const _0x134da6=_0x4232be[_0x4632d1([0x73,0x70,0x6c,0x69,0x74])](_0x4632d1([0x2e]));return _0x45bf80[_0x4632d1([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x272837=>_0x272837[_0x4632d1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4632d1([0x2a])))[_0x4632d1([0x6d,0x61,0x70])](_0x3ea4e6=>_0x3ea4e6[_0x4632d1([0x73,0x70,0x6c,0x69,0x74])](_0x4632d1([0x2e])))[_0x4632d1([0x73,0x6f,0x6d,0x65])](_0x4f4941=>_0x134da6[_0x4632d1([0x65,0x76,0x65,0x72,0x79])]((_0x42e1aa,_0x10778b)=>_0x4f4941[_0x10778b]===_0x42e1aa||_0x4f4941[_0x10778b]===_0x4632d1([0x2a])));}function _0x142d16(){return _0x21e494&&_0x19d43f?new window[(_0x4632d1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x43a17b,_0x52555f)=>{_0x21e494[_0x4632d1([0x74,0x68,0x65,0x6e])](_0x43a17b,_0x52555f),_0x19d43f[_0x4632d1([0x74,0x68,0x65,0x6e])](_0x38ea00=>{_0x38ea00!=_0x4632d1([0x56,0x61,0x6c,0x69,0x64])&&_0x43a17b(_0x38ea00);},_0x52555f);}):_0x21e494||_0x19d43f||_0x4632d1([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3fa246(_0x5744ef,_0x1b7df8){return new window[(_0x4632d1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x420499=>{if(_0x59a7c1())return _0x420499(_0x4632d1([0x56,0x61,0x6c,0x69,0x64]));_0xc280d0(),_0x6baac6[_0x4632d1([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4632d1([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4c4b9e=!0x1;const _0x1ab2b2=_0x4086f0();function _0x3ea4ac(_0x198ed2){return!!_0x198ed2&&(typeof _0x198ed2===_0x4632d1([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x198ed2===_0x4632d1([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x198ed2[_0x4632d1([0x74,0x68,0x65,0x6e])]===_0x4632d1([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x198ed2[_0x4632d1([0x63,0x61,0x74,0x63,0x68])]===_0x4632d1([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x39fe97(_0x6423f2){_0x5f126c(_0x6423f2)[_0x4632d1([0x74,0x68,0x65,0x6e])](_0x35c07a=>{if(!_0x35c07a||_0x35c07a[_0x4632d1([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4632d1([0x6f,0x6b]))return _0x4632d1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x816152(_0x4a6c16(_0x1ab2b2+_0x1b7df8))!=_0x35c07a[_0x4632d1([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4632d1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4632d1([0x56,0x61,0x6c,0x69,0x64]);})[_0x4632d1([0x74,0x68,0x65,0x6e])](_0x4f6972=>(_0x345003(),_0x4f6972),()=>{const _0xd7824a=_0x11e111();return null==_0xd7824a?(_0x345003(),_0x4632d1([0x56,0x61,0x6c,0x69,0x64])):_0x4632d1(_0x38bd9f-_0xd7824a>(0x1db9d37e^_0x3a7353)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4632d1([0x74,0x68,0x65,0x6e])](_0x420499)[_0x4632d1([0x63,0x61,0x74,0x63,0x68])](()=>{_0x420499(_0x4632d1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5a9bec=0x3983b9fe^_0x3a7353;function _0x345003(){const _0x4e54c8=_0x4632d1([0x6c,0x6c,0x63,0x74,0x2d])+_0x816152(_0x4a6c16(_0x5744ef)),_0x28879a=_0x2d592d(_0x816152(window[_0x4632d1([0x4d,0x61,0x74,0x68])][_0x4632d1([0x63,0x65,0x69,0x6c])](_0x38bd9f/_0x5a9bec)));window[_0x4632d1([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4632d1([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4e54c8,_0x28879a);}function _0x11e111(){const _0xc5b042=_0x4632d1([0x6c,0x6c,0x63,0x74,0x2d])+_0x816152(_0x4a6c16(_0x5744ef)),_0x273691=window[_0x4632d1([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4632d1([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xc5b042);return _0x273691?window[_0x4632d1([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2d592d(_0x273691),0x10)*_0x5a9bec:null;}function _0x5f126c(_0x2b451d){return new window[(_0x4632d1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x22866a,_0x553ceb)=>{_0x2b451d[_0x4632d1([0x74,0x68,0x65,0x6e])](_0x22866a,_0x553ceb),window[_0x4632d1([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x553ceb,0x39b483be^_0x3a7353);});}}_0x6baac6[_0x4632d1([0x6f,0x6e])](_0x4632d1([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x62ab10,_0x2bbbda)=>{if(_0x2bbbda[0x0]!=_0x5744ef)return _0x420499(_0x4632d1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2bbbda[0x1]={..._0x2bbbda[0x1],[_0x4632d1([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1ab2b2};},{[_0x4632d1([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4632d1([0x68,0x69,0x67,0x68])}),_0x6baac6[_0x4632d1([0x6f,0x6e])](_0x4632d1([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x17fdbb=>{_0x3ea4ac(_0x17fdbb[_0x4632d1([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4c4b9e=!0x0,_0x39fe97(_0x17fdbb[_0x4632d1([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4632d1([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4632d1([0x6c,0x6f,0x77])}),_0x1cd010[_0x4632d1([0x74,0x68,0x65,0x6e])](()=>{_0x4c4b9e||_0x420499(_0x4632d1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x59a7c1(){return _0x6baac6[_0x4632d1([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4632d1([0x76,0x69,0x65,0x77])][_0x4632d1([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4632d1([0x61,0x75,0x74,0x6f]);}function _0xc280d0(){_0x6baac6[_0x4632d1([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4632d1([0x76,0x69,0x65,0x77])][_0x4632d1([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4632d1([0x61,0x75,0x74,0x6f]);}}function _0x54a18a(_0x2eabf8){const _0x1c572b=[new window[(_0x4632d1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2173f9=>setTimeout(_0x2173f9,0x39bc69b2^_0x3a7353)),_0x1cd010[_0x4632d1([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4632d1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x33623a=>{let _0x3af20e=0x0;_0x6baac6[_0x4632d1([0x6d,0x6f,0x64,0x65,0x6c])][_0x4632d1([0x6f,0x6e])](_0x4632d1([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x20743d,_0x1436d5)=>{_0x1436d5[0x0][_0x4632d1([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3af20e++,_0x3af20e==(0x39b55686^_0x3a7353)&&(_0x33623a(),_0x20743d[_0x4632d1([0x6f,0x66,0x66])]());});}))];return window[_0x4632d1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4632d1([0x72,0x61,0x63,0x65])](_0x1c572b)[_0x4632d1([0x74,0x68,0x65,0x6e])](()=>_0x2eabf8);}async function _0x2b0ff9(){await _0x1cd010,_0x6baac6[_0x4632d1([0x6d,0x6f,0x64,0x65,0x6c])][_0x4632d1([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2db492,_0x6baac6[_0x4632d1([0x6d,0x6f,0x64,0x65,0x6c])][_0x4632d1([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2db492,_0x6baac6[_0x4632d1([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4632d1([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x1f23c7(_0x56bb88){const _0x19c1e7=_0x50f816();_0x6baac6[_0x19c1e7]=_0x4632d1([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x56bb88,_0x56bb88!=_0x4632d1([0x56,0x61,0x6c,0x69,0x64])&&_0x2b0ff9();}function _0x50f816(){const _0x155077=window[_0x4632d1([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4632d1([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4632d1([0x6e,0x6f,0x77])]())[_0x4632d1([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4632d1([0x2e]),'');let _0x1cedd3=_0x4632d1([0x69]);for(let _0x533aee=0x0;_0x533aee<_0x155077[_0x4632d1([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x533aee+=0x2){let _0xa9ff66=window[_0x4632d1([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x155077[_0x4632d1([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x533aee,_0x533aee+0x2));_0xa9ff66>=_0x494c6a[_0x4632d1([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0xa9ff66-=_0x494c6a[_0x4632d1([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1cedd3+=_0x494c6a[_0xa9ff66];}return _0x1cedd3;}function _0x4c2378(){const _0xbd9fc1=_0x920501[_0x4632d1([0x73,0x70,0x6c,0x69,0x74])](_0x4632d1([0x2e]));if(0x3!=_0xbd9fc1[_0x4632d1([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x180433(_0xbd9fc1[0x1]);function _0x180433(_0x252bed){const _0x1397f3=_0x167a88(_0x252bed);return _0x1397f3&&_0xdd1b2()?_0x1397f3:null;function _0xdd1b2(){const _0x2c5771=_0x1397f3[_0x4632d1([0x6a,0x74,0x69])],_0x5b55f5=window[_0x4632d1([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2c5771[_0x4632d1([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2c5771[_0x4632d1([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x1c6448={..._0x1397f3,[_0x4632d1([0x6a,0x74,0x69])]:_0x2c5771[_0x4632d1([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x2c5771[_0x4632d1([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x1c6448[_0x4632d1([0x76,0x63])],_0x4a6c16(_0x1c6448)==_0x5b55f5;}}}async function _0x275a40(){let _0x52cc02=!0x0;try{const _0x237fd0=_0x920501[_0x4632d1([0x73,0x70,0x6c,0x69,0x74])](_0x4632d1([0x2e])),[_0x2ddb80,_0x10dd83,_0x486d9d]=_0x237fd0;return _0x3aa331(_0x2ddb80),await _0x3f0025(_0x2ddb80,_0x10dd83,_0x486d9d),_0x52cc02;}catch(_0x274610){return!0x1;}function _0x3aa331(_0x520b77){const _0x591a21=_0x167a88(_0x520b77);_0x591a21&&_0x591a21[_0x4632d1([0x61,0x6c,0x67])]==_0x4632d1([0x45,0x53,0x32,0x35,0x36])||(_0x52cc02=!0x1);}async function _0x3f0025(_0x43f763,_0x30edd8,_0x34c00a){const _0xfe4f02=window[_0x4632d1([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4632d1([0x66,0x72,0x6f,0x6d])](_0x5d2332(_0x34c00a),_0x20d8fb=>_0x20d8fb[_0x4632d1([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x875afc=new window[(_0x4632d1([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4632d1([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x43f763+_0x4632d1([0x2e])+_0x30edd8),_0x489c4b=window[_0x4632d1([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4632d1([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x489c4b)return;const _0x4c6bdd=await _0x489c4b[_0x4632d1([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4632d1([0x6a,0x77,0x6b]),_0x3e2f90,{[_0x4632d1([0x6e,0x61,0x6d,0x65])]:_0x4632d1([0x45,0x43,0x44,0x53,0x41]),[_0x4632d1([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4632d1([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4632d1([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x489c4b[_0x4632d1([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4632d1([0x6e,0x61,0x6d,0x65])]:_0x4632d1([0x45,0x43,0x44,0x53,0x41]),[_0x4632d1([0x68,0x61,0x73,0x68])]:{[_0x4632d1([0x6e,0x61,0x6d,0x65])]:_0x4632d1([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4c6bdd,_0xfe4f02,_0x875afc)||(_0x52cc02=!0x1);}}function _0x167a88(_0x21e8a0){return _0x21e8a0[_0x4632d1([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4632d1([0x65,0x79]))?JSON[_0x4632d1([0x70,0x61,0x72,0x73,0x65])](_0x5d2332(_0x21e8a0)):null;}function _0x5d2332(_0x17ae20){return window[_0x4632d1([0x61,0x74,0x6f,0x62])](_0x17ae20[_0x4632d1([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4632d1([0x2b]))[_0x4632d1([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4632d1([0x2f])));}function _0x4a6c16(_0x1c4933){let _0x12ff39=0x1505;function _0xccb3dd(_0x20ee6c){for(let _0x20ca70=0x0;_0x20ca70<_0x20ee6c[_0x4632d1([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x20ca70++){const _0x1d6630=_0x20ee6c[_0x4632d1([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x20ca70);_0x12ff39=(_0x12ff39<<0x5)+_0x12ff39+_0x1d6630,_0x12ff39&=_0x12ff39;}}function _0x5855b1(_0x2462e7){Array[_0x4632d1([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2462e7)?_0x2462e7[_0x4632d1([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5855b1):_0x2462e7&&typeof _0x2462e7==_0x4632d1([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4632d1([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2462e7)[_0x4632d1([0x73,0x6f,0x72,0x74])]()[_0x4632d1([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x27a7e6,_0x1a76cf])=>{_0xccb3dd(_0x27a7e6),_0x5855b1(_0x1a76cf);}):_0xccb3dd(window[_0x4632d1([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2462e7));}return _0x5855b1(_0x1c4933),_0x12ff39>>>0x0;}function _0x816152(_0x48c6ef){return _0x48c6ef[_0x4632d1([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4632d1([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4632d1([0x30]));}function _0x2d592d(_0x58a85a){return _0x58a85a[_0x4632d1([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4632d1([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4632d1([0x6a,0x6f,0x69,0x6e])]('');}function _0x2db492(){}function _0x4632d1(_0x19d559){const _0x168d8d=_0x3b70;return _0x19d559[_0x168d8d(0x120)](_0x116d00=>String[_0x168d8d(0x11d)](_0x116d00))[_0x168d8d(0x152)]('');}_0x1f23c7(await _0x2c3897());}(this);}[_0xfedd90(0x143)](){const _0x465a74=_0xfedd90,_0x2e664c=this[_0x465a74(0x10d)][_0x465a74(0x137)][_0x465a74(0x10e)];_0x2e664c[_0x465a74(0x12d)](_0x465a74(0x126))&&_0x2e664c[_0x465a74(0x151)](_0x465a74(0x126),{'allowAttributes':[_0x465a74(0x131)]}),_0x2e664c[_0x465a74(0x12d)](_0x465a74(0x11c))&&_0x2e664c[_0x465a74(0x151)](_0x465a74(0x11c),{'allowAttributes':[_0x465a74(0x131)]});}[_0xfedd90(0x128)](){const _0xe3e871=_0xfedd90,_0x2cc634=this[_0xe3e871(0x10d)];_0x2cc634[_0xe3e871(0x13d)][_0xe3e871(0x146)](_0xe3e871(0x10b))[_0xe3e871(0x125)]({'model':_0xe3e871(0x131),'view':_0xe3e871(0x124)}),_0x2cc634[_0xe3e871(0x13d)][_0xe3e871(0x146)](_0xe3e871(0x154))[_0xe3e871(0x138)]({'model':{'key':_0xe3e871(0x131),'value':_0x5827f1=>_0x5827f1[_0xe3e871(0x113)](_0xe3e871(0x124))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x1695e3=_0x2cc634[_0xe3e871(0x147)][_0xe3e871(0x116)](_0xe3e871(0x136));_0x1695e3&&this[_0xe3e871(0x141)](_0x1695e3,_0xe3e871(0x115),(_0x2dbcae,[_0x37060f,_0x21cb10])=>{const _0x3d4af0=_0xe3e871;_0x37060f[_0x3d4af0(0x14d)](_0x3d4af0(0x131),_0x21cb10);});}[_0xfedd90(0x130)](){const _0x337a7c=_0xfedd90,_0x42f768=this[_0x337a7c(0x10d)][_0x337a7c(0x158)][_0x337a7c(0x116)](_0x337a7c(0x129))||{},_0x2bef3a=this[_0x337a7c(0x10d)][_0x337a7c(0x158)][_0x337a7c(0x116)](_0x337a7c(0x150))||'';this[_0x337a7c(0x114)]=_0x3de23b(_0x30a242[_0x337a7c(0x14c)],_0x337a7c(0x119),{..._0x42f768,'pubkey':_0x2bef3a,'ctx-name':_0x337a7c(0x117),'sourceList':'','imgOnly':_0x337a7c(0x118),'removeCopyright':_0x337a7c(0x118),'localeName':this[_0x337a7c(0x10d)][_0x337a7c(0x111)][_0x337a7c(0x157)],'externalSourcesEmbedCss':_0x337a7c(0x12c)}),this[_0x337a7c(0x114)][_0x337a7c(0x10a)]=_0x4739c2=>{const _0x15f97f=_0x337a7c;if(_0x15f97f(0x159)==_0x4739c2)return _0x15f97f(0x127);},_0x30a242[_0x337a7c(0x14c)][_0x337a7c(0x11b)][_0x337a7c(0x13f)](this[_0x337a7c(0x114)]);}[_0xfedd90(0x14f)](){const _0x2cb88f=_0xfedd90;this[_0x2cb88f(0x139)]=_0x3de23b(_0x30a242[_0x2cb88f(0x14c)],_0x2cb88f(0x11a),{'ctx-name':_0x2cb88f(0x117)}),_0x30a242[_0x2cb88f(0x14c)][_0x2cb88f(0x11b)][_0x2cb88f(0x13f)](this[_0x2cb88f(0x139)]);}[_0xfedd90(0x135)](){const _0x2fa4f5=_0xfedd90,_0x5cc74e=this[_0x2fa4f5(0x10d)][_0x2fa4f5(0x147)][_0x2fa4f5(0x116)](_0x2fa4f5(0x156));_0x5cc74e&&this[_0x2fa4f5(0x141)](_0x5cc74e,_0x2fa4f5(0x13a),()=>{const _0x33eae5=_0x2fa4f5,_0x1ea358=this[_0x33eae5(0x10d)][_0x33eae5(0x137)][_0x33eae5(0x14c)][_0x33eae5(0x134)][_0x33eae5(0x10c)]();_0x1ea358&&_0x1ea358[_0x33eae5(0x113)](_0x33eae5(0x131))&&this[_0x33eae5(0x10d)][_0x33eae5(0x140)][_0x33eae5(0x108)][_0x33eae5(0x11e)](_0x33eae5(0x133),()=>{const _0x1b5657=_0x33eae5;_0x735816(this[_0x1b5657(0x10d)],_0x1ea358);});});const _0x1b0132=this[_0x2fa4f5(0x10d)][_0x2fa4f5(0x147)][_0x2fa4f5(0x116)](_0x2fa4f5(0x110));_0x1b0132&&this[_0x2fa4f5(0x141)](_0x1b0132,_0x2fa4f5(0x13a),()=>{const _0x2ce261=_0x2fa4f5,_0x2543e2=this[_0x2ce261(0x10d)][_0x2ce261(0x137)][_0x2ce261(0x14c)][_0x2ce261(0x134)][_0x2ce261(0x10c)]();_0x2543e2&&_0x2543e2[_0x2ce261(0x113)](_0x2ce261(0x131))&&this[_0x2ce261(0x10d)][_0x2ce261(0x140)][_0x2ce261(0x108)][_0x2ce261(0x11e)](_0x2ce261(0x133),()=>{const _0x54278f=_0x2ce261;_0x735816(this[_0x54278f(0x10d)],_0x2543e2);});});}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{global as _0x490785,ObservableMixin as _0x178dbd}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x38b473}from'ckeditor5/src/ui.js';import _0x3c9ab5 from'./uploadcareimageeditformview.js';import _0x47990c from'../../utils/uploadutils.js';import _0x24bf97 from'../../../theme/icons/uploadcare-image-edit.svg';import{getImageUrls as _0x2e11cc,getImageDimension as _0x1905f0}from'../../utils/editingutils.js';import{isAncestor as _0x3b55af}from'../../utils/isancestor.js';export default class z extends/* #__PURE__ -- @preserve */
24
- _0x178dbd(){constructor(_0x48549d,_0x283bda,_0x20814e){super(),this['_editor']=_0x48549d,this['_dialog']=_0x283bda,this['_imageElement']=_0x20814e,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 _0x26872c=this['_imageElement'],_0x3c07a8=_0x26872c['getAttribute']('uploadcareImageId'),_0x2faa3e=_0x26872c['getAttribute']('src');if(_0x3c07a8)await this['_loadImageInfo'](_0x3c07a8,_0x2faa3e);else{if(this['_imageCache']['has'](_0x2faa3e)){const _0x4cdb77=this['_imageCache']['get'](_0x2faa3e);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x4cdb77['url'],this['imageDimension']=_0x4cdb77['dimension'],this['imageId']=_0x4cdb77['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x4dcb4f}=this['_editor'],t=_0x4dcb4f['t'],_0xb5aaa3=new _0x3c9ab5(_0x4dcb4f,this['imageStatus'],this['_attributes']);_0xb5aaa3['bind']('status')['to'](this,'imageStatus'),_0xb5aaa3['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0xb5aaa3['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0xb5aaa3['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0xb5aaa3,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x24bf97,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0xb5aaa3,'position':_0x38b473['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0xb5aaa3['focus']();},'onHide':()=>{_0xb5aaa3['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x414c5b=>!_0x3b55af(_0x414c5b,_0xb5aaa3['element'])}});}['_loadImageInfo'](_0x576cdf,_0x496779){return _0x47990c['getInfo'](_0x576cdf,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x4ccf73=>{const {width:_0x59dced,height:_0x5d642b}=_0x4ccf73['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x496779,this['imageDimension']={'width':_0x59dced,'height':_0x5d642b},this['imageId']=_0x576cdf;})['catch'](_0x3a8e5a=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x3a8e5a['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x7a8fd7,_0x1a2060){return this['_getImageAsFile'](_0x7a8fd7)['then'](_0x56d672=>_0x47990c['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x1a2060['signal'],'file':_0x56d672,'onProgress':_0xaea9b2=>{_0xaea9b2&&_0xaea9b2['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0xaea9b2['value']));}}))['then'](_0x5d267b=>{const {width:_0x3f4df4,height:_0xd76af8}=_0x5d267b['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x5d267b['cdnUrl'],this['imageDimension']={'width':_0x3f4df4,'height':_0xd76af8},this['imageId']=_0x5d267b['uuid'],this['imageUploadProgress']=null;const _0x3bc743=_0x7a8fd7['getAttribute']('src');this['_imageCache']['set'](_0x3bc743,{'id':_0x5d267b['uuid'],'url':_0x5d267b['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x4f1f7e=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x4f1f7e['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x35fb86,_0x26927c){_0x35fb86['on']('apply',(_0x347c38,_0x5d561d)=>{this['_replaceImage'](_0x26927c,_0x5d561d['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x35fb86['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x35fb86['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x103730,_0x49140d,_0x475738){const _0x54a272=this['_editor'],{width:_0x4fe826,height:_0x3220e7}=_0x1905f0(_0x49140d,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x36af80,imageSources:_0x2ab954}=_0x2e11cc(_0x49140d,_0x4fe826);_0x54a272['model']['change'](_0x28283c=>{if('$graveyard'===_0x103730['root']['rootName']){_0x54a272['execute']('insertImage',{'imageType':_0x103730['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x103730['getAttributes']()),'uploadcareImageId':_0x475738,'src':_0x36af80,'sources':_0x2ab954,'width':_0x4fe826,'height':_0x3220e7}});const _0x398e48=_0x103730['getChildren']();_0x103730=_0x54a272['model']['document']['selection']['getSelectedElement']();for(const _0x160cbf of _0x398e48)_0x28283c['append'](_0x28283c['cloneElement'](_0x160cbf),_0x103730);}else _0x28283c['setSelection'](_0x103730,'on'),_0x54a272['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x103730['getAttributes']()),'uploadcareImageId':_0x475738,'src':_0x36af80,'sources':_0x2ab954,'width':_0x4fe826,'height':_0x3220e7},_0x103730);_0x28283c['setSelection'](_0x103730,'on');});}async['_getImageAsFile'](_0x516cbe){const _0x28113d=_0x490785['window'],_0x256770=_0x490785['document']['location']['href'],_0x1e3c48=new _0x28113d['URL'](_0x516cbe['getAttribute']('src'),_0x256770);if('data:'===_0x1e3c48['protocol']){const _0x599edf=_0x1e3c48['href']['split'](','),_0x47bde5=_0x599edf[0x0]['match'](/:(.*?);/)[0x1],_0x3c9f6e=_0x47bde5['split']('/')[0x1],_0x370b65=_0x28113d['atob'](_0x599edf[_0x599edf['length']-0x1]);let _0x443118=_0x370b65['length'];const _0x20bf23=new _0x28113d['Uint8Array'](_0x443118);for(;_0x443118--;)_0x20bf23[_0x443118]=_0x370b65['charCodeAt'](_0x443118);return new _0x28113d['File']([_0x20bf23],'image.'+_0x3c9f6e,{'type':_0x47bde5});}const _0xc53da7=_0x1e3c48['href']['split']('/'),_0xf98672=_0xc53da7[_0xc53da7['length']-0x1],_0x4e169c=_0xf98672['split']('.')[0x1];return _0x28113d['fetch'](_0x1e3c48['href'])['then'](_0x3c5bc5=>_0x3c5bc5['clone']()['blob']())['then'](_0x33e9de=>new _0x28113d['File']([_0x33e9de],_0xf98672,{'type':'image/'+_0x4e169c}));}}
23
+ import{global as _0x5cac48,ObservableMixin as _0x3004dc}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x466538}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x33c1a7}from'ckeditor5/src/icons.js';import _0x26fa5a from'./uploadcareimageeditformview.js';import _0x34da8d from'../../utils/uploadutils.js';import{getImageUrls as _0x95508b,getImageDimension as _0x172776}from'../../utils/editingutils.js';import{isAncestor as _0xf55c5e}from'../../utils/isancestor.js';export default class Q extends/* #__PURE__ -- @preserve */
24
+ _0x3004dc(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x244e38,_0x5776cf,_0x30c945){super(),this['_editor']=_0x244e38,this['_dialog']=_0x5776cf,this['_imageElement']=_0x30c945,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 _0x4714c9=this['_imageElement'],_0x5a5a53=_0x4714c9['getAttribute']('uploadcareImageId'),_0x1ce6c3=_0x4714c9['getAttribute']('src');if(_0x5a5a53)await this['_loadImageInfo'](_0x5a5a53,_0x1ce6c3);else{if(this['_imageCache']['has'](_0x1ce6c3)){const _0x527d4b=this['_imageCache']['get'](_0x1ce6c3);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x527d4b['url'],this['imageDimension']=_0x527d4b['dimension'],this['imageId']=_0x527d4b['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x371965}=this['_editor'],t=_0x371965['t'],_0x331e3e=new _0x26fa5a(_0x371965,this['imageStatus'],this['_attributes']);_0x331e3e['bind']('status')['to'](this,'imageStatus'),_0x331e3e['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x331e3e['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x331e3e['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x331e3e,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x33c1a7,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x331e3e,'position':_0x466538['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x331e3e['focus']();},'onHide':()=>{_0x331e3e['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x4137ed=>!_0xf55c5e(_0x4137ed,_0x331e3e['element'])}});}['_loadImageInfo'](_0x2611ca,_0x319c72){return _0x34da8d['getInfo'](_0x2611ca,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x2d4e71=>{const {width:_0xbf9537,height:_0xb52406}=_0x2d4e71['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x319c72,this['imageDimension']={'width':_0xbf9537,'height':_0xb52406},this['imageId']=_0x2611ca;})['catch'](_0x5561c0=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x5561c0['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x25db52,_0x2b4b04){return this['_getImageAsFile'](_0x25db52)['then'](_0x3293e7=>_0x34da8d['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x2b4b04['signal'],'file':_0x3293e7,'onProgress':_0x391687=>{_0x391687&&_0x391687['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x391687['value']));}}))['then'](_0x35098f=>{const {width:_0x31b41d,height:_0x5c5982}=_0x35098f['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x35098f['cdnUrl'],this['imageDimension']={'width':_0x31b41d,'height':_0x5c5982},this['imageId']=_0x35098f['uuid'],this['imageUploadProgress']=null;const _0x596547=_0x25db52['getAttribute']('src');this['_imageCache']['set'](_0x596547,{'id':_0x35098f['uuid'],'url':_0x35098f['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x1d84af=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x1d84af['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x1786eb,_0x16fdf0){_0x1786eb['on']('apply',(_0x495e5c,_0x1da194)=>{this['_replaceImage'](_0x16fdf0,_0x1da194['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x1786eb['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x1786eb['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x55d8a7,_0x123c7a,_0x3ea164){const _0x27a245=this['_editor'],{width:_0x37c669,height:_0x4a5082}=_0x172776(_0x123c7a,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x27c9ce,imageSources:_0x489e22}=_0x95508b(_0x123c7a,_0x37c669);_0x27a245['model']['change'](_0x581cef=>{if('$graveyard'===_0x55d8a7['root']['rootName']){_0x27a245['execute']('insertImage',{'imageType':_0x55d8a7['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x55d8a7['getAttributes']()),'uploadcareImageId':_0x3ea164,'src':_0x27c9ce,'sources':_0x489e22,'width':_0x37c669,'height':_0x4a5082}});const _0x2de560=_0x55d8a7['getChildren']();_0x55d8a7=_0x27a245['model']['document']['selection']['getSelectedElement']();for(const _0x3d86eb of _0x2de560)_0x581cef['append'](_0x581cef['cloneElement'](_0x3d86eb),_0x55d8a7);}else _0x581cef['setSelection'](_0x55d8a7,'on'),_0x27a245['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x55d8a7['getAttributes']()),'uploadcareImageId':_0x3ea164,'src':_0x27c9ce,'sources':_0x489e22,'width':_0x37c669,'height':_0x4a5082},_0x55d8a7);_0x581cef['setSelection'](_0x55d8a7,'on');});}async['_getImageAsFile'](_0x34a2ef){const _0x2b1c93=_0x5cac48['window'],_0x35d533=_0x5cac48['document']['location']['href'],_0x51a755=new _0x2b1c93['URL'](_0x34a2ef['getAttribute']('src'),_0x35d533);if('data:'===_0x51a755['protocol']){const _0x5dcb97=_0x51a755['href']['split'](','),_0x11b7d4=_0x5dcb97[0x0]['match'](/:(.*?);/)[0x1],_0x55da99=_0x11b7d4['split']('/')[0x1],_0x1cdb8d=_0x2b1c93['atob'](_0x5dcb97[_0x5dcb97['length']-0x1]);let _0x3ccea0=_0x1cdb8d['length'];const _0x34ba1e=new _0x2b1c93['Uint8Array'](_0x3ccea0);for(;_0x3ccea0--;)_0x34ba1e[_0x3ccea0]=_0x1cdb8d['charCodeAt'](_0x3ccea0);return new _0x2b1c93['File']([_0x34ba1e],'image.'+_0x55da99,{'type':_0x11b7d4});}const _0x1589ca=_0x51a755['href']['split']('/'),_0x5efe40=_0x1589ca[_0x1589ca['length']-0x1],_0x65be61=_0x5efe40['split']('.')[0x1];return _0x2b1c93['fetch'](_0x51a755['href'])['then'](_0x25953a=>_0x25953a['clone']()['blob']())['then'](_0x1bf451=>new _0x2b1c93['File']([_0x1bf451],_0x5efe40,{'type':'image/'+_0x65be61}));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x3bed(_0xdb2450,_0x211f99){const _0x27e5a5=_0x27e5();return _0x3bed=function(_0x3bedfc,_0x32d2fd){_0x3bedfc=_0x3bedfc-0x18c;let _0x2ca47f=_0x27e5a5[_0x3bedfc];return _0x2ca47f;},_0x3bed(_0xdb2450,_0x211f99);}(function(_0x306267,_0x28d022){const _0x5228af=_0x3bed,_0x30d822=_0x306267();while(!![]){try{const _0x1c43cc=-parseInt(_0x5228af(0x196))/0x1*(parseInt(_0x5228af(0x199))/0x2)+parseInt(_0x5228af(0x195))/0x3+-parseInt(_0x5228af(0x198))/0x4*(parseInt(_0x5228af(0x197))/0x5)+parseInt(_0x5228af(0x18d))/0x6*(parseInt(_0x5228af(0x18c))/0x7)+parseInt(_0x5228af(0x190))/0x8+-parseInt(_0x5228af(0x18f))/0x9+-parseInt(_0x5228af(0x19a))/0xa;if(_0x1c43cc===_0x28d022)break;else _0x30d822['push'](_0x30d822['shift']());}catch(_0x1d3048){_0x30d822['push'](_0x30d822['shift']());}}}(_0x27e5,0x67797));import{View as _0x242310}from'ckeditor5/src/ui.js';function _0x27e5(){const _0x20a623=['5162832osDzkX','ck-uploadcare-theme','uc-cloud-image-editor','imageSrc','bindTemplate','1264209aMRFZU','1AwuYlY','8485ZBPZYU','600NCYUQE','1620006MMYkuQ','2584710rBcWZP','image-edit','uc-light','set','7aAxYMV','5034006IKUOha','setTemplate','1430127yujOfo'];_0x27e5=function(){return _0x20a623;};return _0x27e5();}export default class tt extends _0x242310{constructor(_0x137fad,_0x2dd416){const _0x1d5fa9=_0x3bed;super(_0x137fad);const _0x415a78=this[_0x1d5fa9(0x194)];this[_0x1d5fa9(0x19d)](_0x1d5fa9(0x193),''),this[_0x1d5fa9(0x18e)]({'tag':_0x1d5fa9(0x192),'attributes':{..._0x2dd416,'class':[_0x1d5fa9(0x19c),_0x1d5fa9(0x191)],'ctx-name':_0x1d5fa9(0x19b),'cdn-url':_0x415a78['to'](_0x1d5fa9(0x193))}});}}
23
+ (function(_0x370882,_0x1f0db5){const _0x31012b=_0x51cd,_0x24783e=_0x370882();while(!![]){try{const _0x1521b4=parseInt(_0x31012b(0xbf))/0x1*(-parseInt(_0x31012b(0xcd))/0x2)+-parseInt(_0x31012b(0xc6))/0x3*(parseInt(_0x31012b(0xca))/0x4)+parseInt(_0x31012b(0xcb))/0x5+parseInt(_0x31012b(0xc8))/0x6*(parseInt(_0x31012b(0xba))/0x7)+parseInt(_0x31012b(0xc7))/0x8+-parseInt(_0x31012b(0xc4))/0x9*(parseInt(_0x31012b(0xc2))/0xa)+-parseInt(_0x31012b(0xc1))/0xb*(-parseInt(_0x31012b(0xbc))/0xc);if(_0x1521b4===_0x1f0db5)break;else _0x24783e['push'](_0x24783e['shift']());}catch(_0x252a92){_0x24783e['push'](_0x24783e['shift']());}}}(_0x4e6e,0x9e013));import{View as _0x7997cd}from'ckeditor5/src/ui.js';function _0x4e6e(){const _0x1bc151=['8446wYemke','7SwuYBe','uc-light','9574632PaCoUW','bindTemplate','ck-uploadcare-theme','117oaOIVc','uc-cloud-image-editor','11NFYimp','2197670nuKsTY','imageSrc','9onWkht','set','19629sEEjUq','6909616ZilnHZ','3409122MyzvcC','setTemplate','572zTtHgj','334595jDfIhY','image-edit'];_0x4e6e=function(){return _0x1bc151;};return _0x4e6e();}function _0x51cd(_0x63dae6,_0x5e5b02){const _0x4e6efc=_0x4e6e();return _0x51cd=function(_0x51cd9c,_0x472036){_0x51cd9c=_0x51cd9c-0xba;let _0x2f5a56=_0x4e6efc[_0x51cd9c];return _0x2f5a56;},_0x51cd(_0x63dae6,_0x5e5b02);}export default class tt extends _0x7997cd{constructor(_0x1cc814,_0x30af6e){const _0x86342f=_0x51cd;super(_0x1cc814);const _0x4d5969=this[_0x86342f(0xbd)];this[_0x86342f(0xc5)](_0x86342f(0xc3),''),this[_0x86342f(0xc9)]({'tag':_0x86342f(0xc0),'attributes':{..._0x30af6e,'class':[_0x86342f(0xbb),_0x86342f(0xbe)],'ctx-name':_0x86342f(0xcc),'cdn-url':_0x4d5969['to'](_0x86342f(0xc3))}});}}
@@ -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 _0x200d3c,IconView as et,View as _0x5ae5c0}from'ckeditor5/src/ui.js';import at from'../../../theme/icons/error.svg';export default class rt extends _0x5ae5c0{constructor(_0x42b6be){super(_0x42b6be);const t=_0x42b6be['t'];this['set']('errorType',null);const _0x174af7=new _0x200d3c(_0x42b6be);_0x174af7['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x174af7['withText']=!0x0,_0x174af7['class']='ck-button-action',_0x174af7['on']('execute',()=>{this['fire']('retry');}),_0x174af7['bind']('isVisible')['to'](this,'errorType',_0x1fe47f=>'NotFound'!==_0x1fe47f);const _0x265aea=new et();_0x265aea['content']=at,_0x265aea['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x59905d=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':[_0x265aea,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x59905d['to']('errorType',_0x257f4f=>t('NotFound'!==_0x257f4f?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x174af7]},{'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 _0x2292b0,IconView as at,View as _0x1e40ef}from'ckeditor5/src/ui.js';export default class rt extends _0x1e40ef{constructor(_0x51ff99){super(_0x51ff99);const t=_0x51ff99['t'];this['set']('errorType',null);const _0x459e67=new _0x2292b0(_0x51ff99);_0x459e67['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x459e67['withText']=!0x0,_0x459e67['class']='ck-button-action',_0x459e67['on']('execute',()=>{this['fire']('retry');}),_0x459e67['bind']('isVisible')['to'](this,'errorType',_0x4fee43=>'NotFound'!==_0x4fee43);const _0x3fa182=new at();_0x3fa182['content']=et,_0x3fa182['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x35080f=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':[_0x3fa182,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x35080f['to']('errorType',_0x510a63=>t('NotFound'!==_0x510a63?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x459e67]},{'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 _0x1fb90a,View as _0xc91530}from'ckeditor5/src/ui.js';export default class ta extends _0xc91530{constructor(_0x4689ac){super(_0x4689ac);const t=_0x4689ac['t'],_0x518bd9=this['bindTemplate'],_0x1893c5=new _0x1fb90a();_0x1893c5['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':[_0x1893c5,{'text':_0x518bd9['to']('imageUploadProgress',_0x1944e3=>t('Loading\x20image...')+'\x20('+(_0x1944e3||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 _0x4e4915,View as _0x28236c}from'ckeditor5/src/ui.js';export default class ta extends _0x28236c{constructor(_0x2c46bc){super(_0x2c46bc);const t=_0x2c46bc['t'],_0x306b57=this['bindTemplate'],_0x1e3b42=new _0x4e4915();_0x1e3b42['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':[_0x1e3b42,{'text':_0x306b57['to']('imageUploadProgress',_0x69e347=>t('Loading\x20image...')+'\x20('+(_0x69e347||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 _0x1ac238=_0x3001;(function(_0x4de030,_0x41a13d){const _0x209cd2=_0x3001,_0x34b38f=_0x4de030();while(!![]){try{const _0x14599b=-parseInt(_0x209cd2(0x19d))/0x1*(-parseInt(_0x209cd2(0x1a0))/0x2)+parseInt(_0x209cd2(0x173))/0x3*(-parseInt(_0x209cd2(0x17f))/0x4)+-parseInt(_0x209cd2(0x17b))/0x5+-parseInt(_0x209cd2(0x193))/0x6*(parseInt(_0x209cd2(0x18a))/0x7)+-parseInt(_0x209cd2(0x184))/0x8*(parseInt(_0x209cd2(0x18e))/0x9)+-parseInt(_0x209cd2(0x171))/0xa*(parseInt(_0x209cd2(0x195))/0xb)+-parseInt(_0x209cd2(0x188))/0xc*(-parseInt(_0x209cd2(0x18c))/0xd);if(_0x14599b===_0x41a13d)break;else _0x34b38f['push'](_0x34b38f['shift']());}catch(_0x454f5c){_0x34b38f['push'](_0x34b38f['shift']());}}}(_0x156a,0x4a277));function _0x3001(_0x27aa98,_0x2c6f76){const _0x156adf=_0x156a();return _0x3001=function(_0x3001ef,_0x25efa7){_0x3001ef=_0x3001ef-0x170;let _0x505cf6=_0x156adf[_0x3001ef];return _0x505cf6;},_0x3001(_0x27aa98,_0x2c6f76);}import{View as _0x420472}from'ckeditor5/src/ui.js';import _0x2e4d9e from'./uploadcareimageeditformloadingview.js';import _0x2e13db from'./uploadcareimageeditformerrorview.js';import _0x206b11 from'./uploadcareimageeditformeditingview.js';function _0x156a(){const _0x45e85d=['addMany','ck-uploadcare-form','disconnect','_items','filter','ck-reset_all-excluded','div','ready','40360xeGdUz','focus','529953EopcMi','nodeName','cancel','addEventListener','_waitForImageEditorComponent','error','fire','addedNodes','2611280gZhHnH','length','status','add','12ZhgGIE','retry','_addUploadcareImageEditorListeners','uploading','_errorView','789592VqUonu','render','clear','once','27479076KoVgHF','createCollection','7MvWcBM','target','13CAyMSE','_editingView','45eMQZzp','change:status','apply','element','observe','2228988RCUZfK','cdnUrl','242lDBYkw','_setView','setTemplate','set','getFocusableElement','_addErrorViewListeners','querySelector','toLowerCase','9903XLiuyb','_focusableView','detail','4MedLGT','uc-cloud-image-editor','_loadingView'];_0x156a=function(){return _0x45e85d;};return _0x156a();}import _0x40a5a3 from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export default class ii extends _0x40a5a3{constructor(_0x24bd1c,_0x858f31,_0x380029){const _0x5462b5=_0x3001;super(_0x24bd1c),this[_0x5462b5(0x1a6)]=this[_0x5462b5(0x189)](),this[_0x5462b5(0x1a2)]=new _0x2e4d9e(_0x24bd1c),this[_0x5462b5(0x183)]=new _0x2e13db(_0x24bd1c),this[_0x5462b5(0x18d)]=new _0x206b11(_0x24bd1c,_0x380029),this[_0x5462b5(0x19e)]=new _0x420472(_0x24bd1c),this[_0x5462b5(0x19e)][_0x5462b5(0x197)](this[_0x5462b5(0x199)]()),this[_0x5462b5(0x198)](_0x5462b5(0x17d),_0x858f31),this[_0x5462b5(0x197)]({'tag':_0x5462b5(0x1a9),'attributes':{'class':['ck',_0x5462b5(0x1a8),_0x5462b5(0x1a4)],'tabindex':'-1'},'children':this[_0x5462b5(0x1a6)]}),this[_0x5462b5(0x196)](),this[_0x5462b5(0x187)](_0x5462b5(0x185),()=>{const _0xa623e4=_0x5462b5;this[_0xa623e4(0x177)](this[_0xa623e4(0x191)],_0x5af7ad=>{const _0x38eed6=_0xa623e4;this[_0x38eed6(0x181)](_0x5af7ad);});}),this['on'](_0x5462b5(0x18f),()=>{const _0x9a4b6c=_0x5462b5;this[_0x9a4b6c(0x196)]();}),this[_0x5462b5(0x19a)]();}[_0x1ac238(0x172)](){const _0x21a21b=_0x1ac238;this[_0x21a21b(0x191)][_0x21a21b(0x172)]();}[_0x1ac238(0x196)](){const _0x5bb101=_0x1ac238;switch(this[_0x5bb101(0x1a6)][_0x5bb101(0x186)](),this[_0x5bb101(0x17d)]){case _0x5bb101(0x182):this[_0x5bb101(0x1a6)][_0x5bb101(0x17e)](this[_0x5bb101(0x1a2)]);break;case _0x5bb101(0x178):this[_0x5bb101(0x1a6)][_0x5bb101(0x17e)](this[_0x5bb101(0x183)]);break;case _0x5bb101(0x170):this[_0x5bb101(0x1a6)][_0x5bb101(0x1a3)]([this[_0x5bb101(0x18d)],this[_0x5bb101(0x19e)]]);}}[_0x1ac238(0x177)](_0x1dcc69,_0x2f88b9){const _0x439547=_0x1ac238,_0x26b987=_0x439547(0x1a1),_0x43b933=_0x1dcc69[_0x439547(0x19b)](_0x26b987);if(_0x43b933)return _0x2f88b9(_0x43b933);const _0xd2c467=new MutationObserver(_0x3cced2=>{const _0x207d8e=_0x439547,_0x5daad7=_0x3cced2[_0x207d8e(0x1a7)](_0x322736=>_0x322736[_0x207d8e(0x18b)]===_0x1dcc69&&_0x322736[_0x207d8e(0x17a)][_0x207d8e(0x17c)]>0x0&&_0x322736[_0x207d8e(0x17a)][0x0][_0x207d8e(0x174)][_0x207d8e(0x19c)]()===_0x26b987);_0x5daad7[_0x207d8e(0x17c)]&&(_0xd2c467[_0x207d8e(0x1a5)](),_0x2f88b9(_0x5daad7[0x0][_0x207d8e(0x17a)][0x0]));});_0xd2c467[_0x439547(0x192)](_0x1dcc69,{'childList':!0x0,'subtree':!0x0});}[_0x1ac238(0x181)](_0xb9166f){const _0x228adb=_0x1ac238;_0xb9166f[_0x228adb(0x176)](_0x228adb(0x190),_0x3ec386=>{const _0x1a9ba5=_0x228adb;this[_0x1a9ba5(0x179)](_0x1a9ba5(0x190),{'imageSrc':_0x3ec386[_0x1a9ba5(0x19f)][_0x1a9ba5(0x194)]});}),_0xb9166f[_0x228adb(0x176)](_0x228adb(0x175),()=>{const _0x5424f4=_0x228adb;this[_0x5424f4(0x179)](_0x5424f4(0x175));});}[_0x1ac238(0x19a)](){const _0x65ecf2=_0x1ac238;this[_0x65ecf2(0x183)]['on'](_0x65ecf2(0x180),()=>{const _0x1a016f=_0x65ecf2;this[_0x1a016f(0x179)](_0x1a016f(0x180));});}}
23
+ const _0x268558=_0xceaa;(function(_0x4445f4,_0xe242c1){const _0x2d2ca4=_0xceaa,_0x379697=_0x4445f4();while(!![]){try{const _0x4a1600=parseInt(_0x2d2ca4(0x13a))/0x1*(parseInt(_0x2d2ca4(0x134))/0x2)+parseInt(_0x2d2ca4(0x12d))/0x3*(parseInt(_0x2d2ca4(0x14a))/0x4)+parseInt(_0x2d2ca4(0x15a))/0x5+-parseInt(_0x2d2ca4(0x139))/0x6*(-parseInt(_0x2d2ca4(0x13e))/0x7)+parseInt(_0x2d2ca4(0x144))/0x8+-parseInt(_0x2d2ca4(0x143))/0x9+-parseInt(_0x2d2ca4(0x13d))/0xa;if(_0x4a1600===_0xe242c1)break;else _0x379697['push'](_0x379697['shift']());}catch(_0x809d93){_0x379697['push'](_0x379697['shift']());}}}(_0x338c,0x5d3a0));import{View as _0x19fd35}from'ckeditor5/src/ui.js';import _0x168fa3 from'./uploadcareimageeditformloadingview.js';function _0x338c(){const _0x35be25=['nodeName','set','clear','cdnUrl','addMany','div','apply','506586ZYXHrw','filter','length','_focusableView','querySelector','_errorView','toLowerCase','2yDleoi','target','fire','add','change:status','36930YbRWdP','298409HpOvJZ','setTemplate','retry','8865630JxFcdK','35iZQwOY','error','_waitForImageEditorComponent','_items','uploading','425781VHoVom','2306528CEmJNL','_addUploadcareImageEditorListeners','_addErrorViewListeners','observe','addedNodes','once','8SaaXsJ','ck-uploadcare-form','element','detail','_loadingView','render','_setView','ck-reset_all-excluded','createCollection','getFocusableElement','ready','status','uc-cloud-image-editor','cancel','disconnect','focus','1802520TSMUdO','_editingView','addEventListener'];_0x338c=function(){return _0x35be25;};return _0x338c();}import _0xfdd3e2 from'./uploadcareimageeditformerrorview.js';import _0x1392ab from'./uploadcareimageeditformeditingview.js';import _0x5913ac from'../../utils/dialogfocusmanagerview.js';function _0xceaa(_0x478aad,_0x4301c0){const _0x338cc8=_0x338c();return _0xceaa=function(_0xceaa24,_0x55f419){_0xceaa24=_0xceaa24-0x125;let _0x449fa3=_0x338cc8[_0xceaa24];return _0x449fa3;},_0xceaa(_0x478aad,_0x4301c0);}import'../../../theme/uploadcare-form.css';export default class ii extends _0x5913ac{[_0x268558(0x141)];[_0x268558(0x14e)];[_0x268558(0x132)];[_0x268558(0x15b)];[_0x268558(0x130)];constructor(_0x2f0de3,_0x56b6bf,_0x4ceea7){const _0x316705=_0x268558;super(_0x2f0de3),this[_0x316705(0x141)]=this[_0x316705(0x152)](),this[_0x316705(0x14e)]=new _0x168fa3(_0x2f0de3),this[_0x316705(0x132)]=new _0xfdd3e2(_0x2f0de3),this[_0x316705(0x15b)]=new _0x1392ab(_0x2f0de3,_0x4ceea7),this[_0x316705(0x130)]=new _0x19fd35(_0x2f0de3),this[_0x316705(0x130)][_0x316705(0x13b)](this[_0x316705(0x153)]()),this[_0x316705(0x127)](_0x316705(0x155),_0x56b6bf),this[_0x316705(0x13b)]({'tag':_0x316705(0x12b),'attributes':{'class':['ck',_0x316705(0x151),_0x316705(0x14b)],'tabindex':'-1'},'children':this[_0x316705(0x141)]}),this[_0x316705(0x150)](),this[_0x316705(0x149)](_0x316705(0x14f),()=>{const _0x5e5a85=_0x316705;this[_0x5e5a85(0x140)](this[_0x5e5a85(0x14c)],_0x163052=>{const _0xedae3=_0x5e5a85;this[_0xedae3(0x145)](_0x163052);});}),this['on'](_0x316705(0x138),()=>{const _0x29b92d=_0x316705;this[_0x29b92d(0x150)]();}),this[_0x316705(0x146)]();}[_0x268558(0x159)](){const _0x536c4c=_0x268558;this[_0x536c4c(0x14c)][_0x536c4c(0x159)]();}[_0x268558(0x150)](){const _0x4a39b4=_0x268558;switch(this[_0x4a39b4(0x141)][_0x4a39b4(0x128)](),this[_0x4a39b4(0x155)]){case _0x4a39b4(0x142):this[_0x4a39b4(0x141)][_0x4a39b4(0x137)](this[_0x4a39b4(0x14e)]);break;case _0x4a39b4(0x13f):this[_0x4a39b4(0x141)][_0x4a39b4(0x137)](this[_0x4a39b4(0x132)]);break;case _0x4a39b4(0x154):this[_0x4a39b4(0x141)][_0x4a39b4(0x12a)]([this[_0x4a39b4(0x15b)],this[_0x4a39b4(0x130)]]);}}[_0x268558(0x140)](_0x92141f,_0x57201d){const _0x1df848=_0x268558,_0x5f07dd=_0x1df848(0x156),_0x2bd037=_0x92141f[_0x1df848(0x131)](_0x5f07dd);if(_0x2bd037)return _0x57201d(_0x2bd037);const _0x4866f7=new MutationObserver(_0xfd48d9=>{const _0xc624ba=_0x1df848,_0x864c6e=_0xfd48d9[_0xc624ba(0x12e)](_0x28c2de=>_0x28c2de[_0xc624ba(0x135)]===_0x92141f&&_0x28c2de[_0xc624ba(0x148)][_0xc624ba(0x12f)]>0x0&&_0x28c2de[_0xc624ba(0x148)][0x0][_0xc624ba(0x126)][_0xc624ba(0x133)]()===_0x5f07dd);_0x864c6e[_0xc624ba(0x12f)]&&(_0x4866f7[_0xc624ba(0x158)](),_0x57201d(_0x864c6e[0x0][_0xc624ba(0x148)][0x0]));});_0x4866f7[_0x1df848(0x147)](_0x92141f,{'childList':!0x0,'subtree':!0x0});}[_0x268558(0x145)](_0x310051){const _0x1551f4=_0x268558;_0x310051[_0x1551f4(0x125)](_0x1551f4(0x12c),_0x3a6b54=>{const _0x3d1ac5=_0x1551f4;this[_0x3d1ac5(0x136)](_0x3d1ac5(0x12c),{'imageSrc':_0x3a6b54[_0x3d1ac5(0x14d)][_0x3d1ac5(0x129)]});}),_0x310051[_0x1551f4(0x125)](_0x1551f4(0x157),()=>{const _0x3fcf5e=_0x1551f4;this[_0x3fcf5e(0x136)](_0x3fcf5e(0x157));});}[_0x268558(0x146)](){const _0x1dfe34=_0x268558;this[_0x1dfe34(0x132)]['on'](_0x1dfe34(0x13c),()=>{const _0x3af740=_0x1dfe34;this[_0x3af740(0x136)](_0x3af740(0x13c));});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x2c7c(){const _0x54eaa8=['document','isActive','48YJpjPl','217698UNgelS','get','583767jdRRQF','3312036jUcQEs','uploadcare.allowExternalImagesEditing','500762xjKbfT','plugins','1149ElfaTK','4BUBWWZ','execute','editor','2878PijJbR','isEnabled','imageEditController','requires','refresh','bind','2426260sUnlDn','7008760ZyFiGj','getSelectedElement','imageBlock','imageInline','config','model','_isEditable','unbind','set','element','selection'];_0x2c7c=function(){return _0x54eaa8;};return _0x2c7c();}const _0x1ca993=_0xba8d;function _0xba8d(_0x357a34,_0x54fa1b){const _0x2c7c36=_0x2c7c();return _0xba8d=function(_0xba8db1,_0x98554e){_0xba8db1=_0xba8db1-0x6c;let _0x566ef9=_0x2c7c36[_0xba8db1];return _0x566ef9;},_0xba8d(_0x357a34,_0x54fa1b);}(function(_0x38496b,_0x3a3859){const _0xe79aea=_0xba8d,_0x1caab1=_0x38496b();while(!![]){try{const _0x543a93=-parseInt(_0xe79aea(0x78))/0x1+parseInt(_0xe79aea(0x7e))/0x2*(parseInt(_0xe79aea(0x7a))/0x3)+parseInt(_0xe79aea(0x7b))/0x4*(-parseInt(_0xe79aea(0x84))/0x5)+-parseInt(_0xe79aea(0x73))/0x6+parseInt(_0xe79aea(0x76))/0x7+-parseInt(_0xe79aea(0x72))/0x8*(parseInt(_0xe79aea(0x75))/0x9)+parseInt(_0xe79aea(0x85))/0xa;if(_0x543a93===_0x3a3859)break;else _0x1caab1['push'](_0x1caab1['shift']());}catch(_0x5f1271){_0x1caab1['push'](_0x1caab1['shift']());}}}(_0x2c7c,0x4c956));import{Command as _0x534adf}from'ckeditor5/src/core.js';import{Dialog as _0x47050a}from'ckeditor5/src/ui.js';import _0x195f9c from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x4668f3}from'../utils/editingutils.js';export default class J extends _0x534adf{static get[_0x1ca993(0x81)](){return[_0x47050a];}constructor(_0x127502){const _0x1da3b5=_0x1ca993;super(_0x127502),this[_0x1da3b5(0x80)]=void 0x0,this[_0x1da3b5(0x8b)]=_0x4668f3(_0x127502[_0x1da3b5(0x89)][_0x1da3b5(0x74)](_0x1da3b5(0x77))||[]),this[_0x1da3b5(0x6d)]({'isActive':!0x1});}[_0x1ca993(0x82)](){const _0x58557a=_0x1ca993,_0x5bdfa5=this[_0x58557a(0x7d)][_0x58557a(0x8a)][_0x58557a(0x70)][_0x58557a(0x6f)][_0x58557a(0x86)]();this[_0x58557a(0x7f)]=this[_0x58557a(0x8b)](_0x5bdfa5);}[_0x1ca993(0x7c)](){const _0x3647e5=_0x1ca993;this[_0x3647e5(0x80)]&&(this[_0x3647e5(0x6c)](_0x3647e5(0x71)),this[_0x3647e5(0x80)]=void 0x0);const _0x2608e3=this[_0x3647e5(0x7d)][_0x3647e5(0x8a)][_0x3647e5(0x70)][_0x3647e5(0x6f)][_0x3647e5(0x86)]();_0x2608e3&&(_0x2608e3['is'](_0x3647e5(0x6e),_0x3647e5(0x87))||_0x2608e3['is'](_0x3647e5(0x6e),_0x3647e5(0x88)))&&(this[_0x3647e5(0x80)]=new _0x195f9c(this[_0x3647e5(0x7d)],this[_0x3647e5(0x7d)][_0x3647e5(0x79)][_0x3647e5(0x74)](_0x47050a),_0x2608e3),this[_0x3647e5(0x83)](_0x3647e5(0x71))['to'](this[_0x3647e5(0x80)],_0x3647e5(0x71)));}}
23
+ function _0x33bf(_0x59bb15,_0xa2ed1f){const _0x1aea99=_0x1aea();return _0x33bf=function(_0x33bff7,_0x430ddd){_0x33bff7=_0x33bff7-0xf7;let _0x42e8d2=_0x1aea99[_0x33bff7];return _0x42e8d2;},_0x33bf(_0x59bb15,_0xa2ed1f);}function _0x1aea(){const _0x4a3e65=['model','plugins','execute','imageBlock','6EWuQHP','20hiYdHi','requires','unbind','getSelectedElement','set','config','39652xHsHjV','imageEditController','13163953RXyRqd','imageInline','document','uploadcare.allowExternalImagesEditing','isActive','440485RdCWTc','editor','bind','3670713TFzcsN','_isEditable','element','6492997ElqEZU','35lpbhpZ','2382008BmiJxM','6SrKoId','48759tOpqAq','get','selection','refresh','isEnabled'];_0x1aea=function(){return _0x4a3e65;};return _0x1aea();}const _0xa04b03=_0x33bf;(function(_0x5111ff,_0x2c2749){const _0x254264=_0x33bf,_0x46f7e7=_0x5111ff();while(!![]){try{const _0x4d9d57=-parseInt(_0x254264(0x10e))/0x1+-parseInt(_0x254264(0x117))/0x2*(-parseInt(_0x254264(0xf7))/0x3)+-parseInt(_0x254264(0x107))/0x4*(parseInt(_0x254264(0x115))/0x5)+-parseInt(_0x254264(0x100))/0x6*(-parseInt(_0x254264(0x114))/0x7)+-parseInt(_0x254264(0x116))/0x8+-parseInt(_0x254264(0x111))/0x9*(parseInt(_0x254264(0x101))/0xa)+parseInt(_0x254264(0x109))/0xb;if(_0x4d9d57===_0x2c2749)break;else _0x46f7e7['push'](_0x46f7e7['shift']());}catch(_0x59172d){_0x46f7e7['push'](_0x46f7e7['shift']());}}}(_0x1aea,0x86350));import{Command as _0x1bc0bb}from'ckeditor5/src/core.js';import{Dialog as _0x27e98a}from'ckeditor5/src/ui.js';import _0x257c3d from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x304604}from'../utils/editingutils.js';export default class W extends _0x1bc0bb{[_0xa04b03(0x108)];static get[_0xa04b03(0x102)](){return[_0x27e98a];}[_0xa04b03(0x112)];constructor(_0xaa56af){const _0x486fc7=_0xa04b03;super(_0xaa56af),this[_0x486fc7(0x108)]=void 0x0,this[_0x486fc7(0x112)]=_0x304604(_0xaa56af[_0x486fc7(0x106)][_0x486fc7(0xf8)](_0x486fc7(0x10c))||[]),this[_0x486fc7(0x105)]({'isActive':!0x1});}[_0xa04b03(0xfa)](){const _0x133371=_0xa04b03,_0x3329d6=this[_0x133371(0x10f)][_0x133371(0xfc)][_0x133371(0x10b)][_0x133371(0xf9)][_0x133371(0x104)]();this[_0x133371(0xfb)]=this[_0x133371(0x112)](_0x3329d6);}[_0xa04b03(0xfe)](){const _0x493d70=_0xa04b03;this[_0x493d70(0x108)]&&(this[_0x493d70(0x103)](_0x493d70(0x10d)),this[_0x493d70(0x108)]=void 0x0);const _0x559cac=this[_0x493d70(0x10f)][_0x493d70(0xfc)][_0x493d70(0x10b)][_0x493d70(0xf9)][_0x493d70(0x104)]();_0x559cac&&(_0x559cac['is'](_0x493d70(0x113),_0x493d70(0xff))||_0x559cac['is'](_0x493d70(0x113),_0x493d70(0x10a)))&&(this[_0x493d70(0x108)]=new _0x257c3d(this[_0x493d70(0x10f)],this[_0x493d70(0x10f)][_0x493d70(0xfd)][_0x493d70(0xf8)](_0x27e98a),_0x559cac),this[_0x493d70(0x110)](_0x493d70(0x10d))['to'](this[_0x493d70(0x108)],_0x493d70(0x10d)));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x199d(_0x537d41,_0x10202b){const _0xbb7271=_0xbb72();return _0x199d=function(_0x199dfc,_0xc13bfa){_0x199dfc=_0x199dfc-0x106;let _0x5ee000=_0xbb7271[_0x199dfc];return _0x5ee000;},_0x199d(_0x537d41,_0x10202b);}const _0x3fdc08=_0x199d;(function(_0x24d2c7,_0x2b7f9a){const _0x2f394f=_0x199d,_0x5b5702=_0x24d2c7();while(!![]){try{const _0x49de0f=-parseInt(_0x2f394f(0x106))/0x1+-parseInt(_0x2f394f(0x109))/0x2*(parseInt(_0x2f394f(0x117))/0x3)+parseInt(_0x2f394f(0x110))/0x4+-parseInt(_0x2f394f(0x119))/0x5*(-parseInt(_0x2f394f(0x113))/0x6)+parseInt(_0x2f394f(0x107))/0x7+-parseInt(_0x2f394f(0x11b))/0x8*(parseInt(_0x2f394f(0x10f))/0x9)+parseInt(_0x2f394f(0x116))/0xa;if(_0x49de0f===_0x2b7f9a)break;else _0x5b5702['push'](_0x5b5702['shift']());}catch(_0x2fa5a4){_0x5b5702['push'](_0x5b5702['shift']());}}}(_0xbb72,0x95c9c));import{Plugin as _0x5d7098}from'ckeditor5/src/core.js';import{Notification as _0x568e2f}from'ckeditor5/src/ui.js';import _0x54a0cd from'./uploadcareimageeditcommand.js';import _0xa4f58f from'./uploadcareimagereplacecommand.js';import _0x40d7ab from'../uploadcareediting.js';function _0xbb72(){const _0x3abfe5=['21ZQbzNY','UploadcareImageEditEditing','35IMebSH','pluginName','207184ajAvSc','510414DdYUaa','5605488IBfNqR','ImageEditing','246034vajBUF','ImageUtils','isOfficialPlugin','requires','uploadcareImageReplace','init','198RHuuVv','531860BPjsAN','add','commands','751002EHSaOP','isPremiumPlugin','uploadcareImageEdit','7449030LpSQhW'];_0xbb72=function(){return _0x3abfe5;};return _0xbb72();}export default class m extends _0x5d7098{static get[_0x3fdc08(0x11a)](){const _0x34022d=_0x3fdc08;return _0x34022d(0x118);}static get[_0x3fdc08(0x10c)](){const _0x297870=_0x3fdc08;return[_0x40d7ab,_0x568e2f,_0x297870(0x10a),_0x297870(0x108)];}static get[_0x3fdc08(0x10b)](){return!0x0;}static get[_0x3fdc08(0x114)](){return!0x0;}[_0x3fdc08(0x10e)](){const _0x20ce86=_0x3fdc08,{editor:_0x273bab}=this;_0x273bab[_0x20ce86(0x112)][_0x20ce86(0x111)](_0x20ce86(0x115),new _0x54a0cd(_0x273bab)),_0x273bab[_0x20ce86(0x112)][_0x20ce86(0x111)](_0x20ce86(0x10d),new _0xa4f58f(_0x273bab));}}
23
+ const _0x1bdc43=_0x1f66;(function(_0x450d6d,_0x3128ab){const _0x1c4b3b=_0x1f66,_0x28bbed=_0x450d6d();while(!![]){try{const _0x1053a2=-parseInt(_0x1c4b3b(0xd1))/0x1+-parseInt(_0x1c4b3b(0xd6))/0x2+parseInt(_0x1c4b3b(0xdc))/0x3*(-parseInt(_0x1c4b3b(0xd2))/0x4)+parseInt(_0x1c4b3b(0xd7))/0x5+parseInt(_0x1c4b3b(0xcd))/0x6+-parseInt(_0x1c4b3b(0xd8))/0x7+parseInt(_0x1c4b3b(0xd9))/0x8;if(_0x1053a2===_0x3128ab)break;else _0x28bbed['push'](_0x28bbed['shift']());}catch(_0xd5d4f2){_0x28bbed['push'](_0x28bbed['shift']());}}}(_0x2a3f,0x55ddc));import{Plugin as _0x454c6f}from'ckeditor5/src/core.js';import{Notification as _0x297885}from'ckeditor5/src/ui.js';import _0x461400 from'./uploadcareimageeditcommand.js';import _0x597102 from'./uploadcareimagereplacecommand.js';function _0x1f66(_0x1306f6,_0x4287a4){const _0x2a3f45=_0x2a3f();return _0x1f66=function(_0x1f66fb,_0x4394ff){_0x1f66fb=_0x1f66fb-0xc9;let _0xfb89d3=_0x2a3f45[_0x1f66fb];return _0xfb89d3;},_0x1f66(_0x1306f6,_0x4287a4);}import _0x189525 from'../uploadcareediting.js';function _0x2a3f(){const _0x3d12bd=['545413fROCwo','20BePbtF','pluginName','isPremiumPlugin','isOfficialPlugin','469222cXfrcp','2729385VQdBLc','4837882bywMEc','9267336lKaOHY','ImageUtils','ImageEditing','255426bYTVuz','uploadcareImageReplace','init','UploadcareImageEditEditing','requires','3265644CjbkLn','add','commands','uploadcareImageEdit'];_0x2a3f=function(){return _0x3d12bd;};return _0x2a3f();}export default class g extends _0x454c6f{static get[_0x1bdc43(0xd3)](){const _0x14e75d=_0x1bdc43;return _0x14e75d(0xcb);}static get[_0x1bdc43(0xcc)](){const _0x36a0a0=_0x1bdc43;return[_0x189525,_0x297885,_0x36a0a0(0xda),_0x36a0a0(0xdb)];}static get[_0x1bdc43(0xd5)](){return!0x0;}static get[_0x1bdc43(0xd4)](){return!0x0;}[_0x1bdc43(0xca)](){const _0x25ff79=_0x1bdc43,{editor:_0x3138d2}=this;_0x3138d2[_0x25ff79(0xcf)][_0x25ff79(0xce)](_0x25ff79(0xd0),new _0x461400(_0x3138d2)),_0x3138d2[_0x25ff79(0xcf)][_0x25ff79(0xce)](_0x25ff79(0xc9),new _0x597102(_0x3138d2));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x5b1860}from'ckeditor5/src/core.js';import{ButtonView as _0x197419}from'ckeditor5/src/ui.js';import{createElement as _0x3f9523}from'ckeditor5/src/utils.js';import _0x296cae 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 _0x5b1860{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 _0x271655=this['editor'];_0x271655['ui']['componentFactory']['add']('uploadcareImageEdit',_0x34bd=>{const _0x442a11=_0x271655['commands']['get']('uploadcareImageEdit'),_0x6986b1=new _0x197419(_0x34bd),t=_0x34bd['t'];return _0x6986b1['set']({'icon':_0x296cae,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x6986b1['bind']('isEnabled')['to'](_0x442a11),_0x6986b1['bind']('isOn')['to'](_0x442a11,'isActive'),this['listenTo'](_0x6986b1,'execute',()=>{_0x271655['execute']('uploadcareImageEdit'),_0x271655['editing']['view']['focus']();}),_0x6986b1;}),this['_initConfig']();}['_initConfig'](){const _0x2078a3=_0x3f9523(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x2078a3),this['listenTo'](this['editor'],'destroy',()=>{_0x2078a3['remove']();});}}
23
+ import{Plugin as _0xb06131}from'ckeditor5/src/core.js';import{ButtonView as _0x57c9f5}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x114466}from'ckeditor5/src/icons.js';import{createElement as _0x43a7ac}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 _0xb06131{['_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 _0x39b857=this['editor'];_0x39b857['ui']['componentFactory']['add']('uploadcareImageEdit',_0x575ad7=>{const _0xa723f2=_0x39b857['commands']['get']('uploadcareImageEdit'),_0x3400b0=new _0x57c9f5(_0x575ad7),t=_0x575ad7['t'];return _0x3400b0['set']({'icon':_0x114466,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x3400b0['bind']('isEnabled')['to'](_0xa723f2),_0x3400b0['bind']('isOn')['to'](_0xa723f2,'isActive'),this['listenTo'](_0x3400b0,'execute',()=>{_0x39b857['execute']('uploadcareImageEdit'),_0x39b857['editing']['view']['focus']();}),_0x3400b0;}),this['_initConfig']();}['_initConfig'](){const _0x330011=_0x43a7ac(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x330011),this['listenTo'](this['editor'],'destroy',()=>{_0x330011['remove']();});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x5c92(_0x10cdd1,_0x5e5188){const _0x396044=_0x3960();return _0x5c92=function(_0x5c920f,_0x21c5bd){_0x5c920f=_0x5c920f-0xe8;let _0x585203=_0x396044[_0x5c920f];return _0x585203;},_0x5c92(_0x10cdd1,_0x5e5188);}function _0x3960(){const _0x414dcf=['isEnabled','getSelectedElement','264KLSDjd','2898200yOPWrP','3562866TYrTfc','sizes','change','27395UIMmiY','4126032EEjLEc','2341QWaDVk','document','editor','srcset','imageBlock','removeAttribute','refresh','334NPfdEH','114611gdyesj','296dZKsRW','270459SuQGzu','imageInline','execute','selection','model','element','setAttributes'];_0x3960=function(){return _0x414dcf;};return _0x3960();}const _0x3669be=_0x5c92;(function(_0x1c4394,_0x5b9cf4){const _0x47b483=_0x5c92,_0x538182=_0x1c4394();while(!![]){try{const _0x5c1a08=-parseInt(_0x47b483(0xe8))/0x1*(-parseInt(_0x47b483(0xef))/0x2)+-parseInt(_0x47b483(0xf2))/0x3+-parseInt(_0x47b483(0xf1))/0x4*(-parseInt(_0x47b483(0x100))/0x5)+-parseInt(_0x47b483(0x101))/0x6+-parseInt(_0x47b483(0xf0))/0x7*(-parseInt(_0x47b483(0xfb))/0x8)+-parseInt(_0x47b483(0xfd))/0x9+parseInt(_0x47b483(0xfc))/0xa;if(_0x5c1a08===_0x5b9cf4)break;else _0x538182['push'](_0x538182['shift']());}catch(_0x19795d){_0x538182['push'](_0x538182['shift']());}}}(_0x3960,0x6e8d7));import{Command as _0x2f930a}from'ckeditor5/src/core.js';export default class O extends _0x2f930a{[_0x3669be(0xee)](){const _0x41fc4c=_0x3669be,_0x181217=this[_0x41fc4c(0xea)][_0x41fc4c(0xf6)][_0x41fc4c(0xe9)][_0x41fc4c(0xf5)][_0x41fc4c(0xfa)]();this[_0x41fc4c(0xf9)]=Boolean(_0x181217&&(_0x181217['is'](_0x41fc4c(0xf7),_0x41fc4c(0xec))||_0x181217['is'](_0x41fc4c(0xf7),_0x41fc4c(0xf3))));}[_0x3669be(0xf4)](_0x27dd59){const _0xf96007=_0x3669be,_0x35ffef=this[_0xf96007(0xea)][_0xf96007(0xf6)][_0xf96007(0xe9)][_0xf96007(0xf5)][_0xf96007(0xfa)]();this[_0xf96007(0xea)][_0xf96007(0xf6)][_0xf96007(0xff)](_0x1744db=>{const _0x33b810=_0xf96007;_0x1744db[_0x33b810(0xf8)](_0x27dd59,_0x35ffef),_0x1744db[_0x33b810(0xed)](_0x33b810(0xeb),_0x35ffef),_0x1744db[_0x33b810(0xed)](_0x33b810(0xfe),_0x35ffef);});}}
23
+ const _0x261bf7=_0x5e88;(function(_0x1c3a4,_0x508943){const _0x1ccc6a=_0x5e88,_0x158e0d=_0x1c3a4();while(!![]){try{const _0x5a4346=-parseInt(_0x1ccc6a(0x1a0))/0x1*(-parseInt(_0x1ccc6a(0x194))/0x2)+parseInt(_0x1ccc6a(0x198))/0x3*(parseInt(_0x1ccc6a(0x192))/0x4)+parseInt(_0x1ccc6a(0x191))/0x5*(parseInt(_0x1ccc6a(0x196))/0x6)+-parseInt(_0x1ccc6a(0x195))/0x7+parseInt(_0x1ccc6a(0x193))/0x8+-parseInt(_0x1ccc6a(0x19b))/0x9+-parseInt(_0x1ccc6a(0x19e))/0xa;if(_0x5a4346===_0x508943)break;else _0x158e0d['push'](_0x158e0d['shift']());}catch(_0x48f506){_0x158e0d['push'](_0x158e0d['shift']());}}}(_0xe6a5,0xd771b));function _0xe6a5(){const _0x2ae547=['10072090bLMseA','4953678OTKJeq','model','331287uEWQfM','setAttributes','change','7989822djvUdH','editor','sizes','10088200ULyeTD','srcset','1jWeERo','document','imageBlock','execute','element','getSelectedElement','removeAttribute','imageInline','refresh','isEnabled','selection','5iZDgNL','56oKkQXi','1369576peyBFo','3350182Ltymto'];_0xe6a5=function(){return _0x2ae547;};return _0xe6a5();}import{Command as _0x3d487c}from'ckeditor5/src/core.js';function _0x5e88(_0x513038,_0x30040b){const _0xe6a58c=_0xe6a5();return _0x5e88=function(_0x5e88ca,_0x441923){_0x5e88ca=_0x5e88ca-0x18e;let _0x150fb1=_0xe6a58c[_0x5e88ca];return _0x150fb1;},_0x5e88(_0x513038,_0x30040b);}export default class Y extends _0x3d487c{[_0x261bf7(0x18e)](){const _0x229f27=_0x261bf7,_0x54a5b3=this[_0x229f27(0x19c)][_0x229f27(0x197)][_0x229f27(0x1a1)][_0x229f27(0x190)][_0x229f27(0x1a5)]();this[_0x229f27(0x18f)]=Boolean(_0x54a5b3&&(_0x54a5b3['is'](_0x229f27(0x1a4),_0x229f27(0x1a2))||_0x54a5b3['is'](_0x229f27(0x1a4),_0x229f27(0x1a7))));}[_0x261bf7(0x1a3)](_0x5a4d1e){const _0x3ef23d=_0x261bf7,_0xab5625=this[_0x3ef23d(0x19c)][_0x3ef23d(0x197)][_0x3ef23d(0x1a1)][_0x3ef23d(0x190)][_0x3ef23d(0x1a5)]();this[_0x3ef23d(0x19c)][_0x3ef23d(0x197)][_0x3ef23d(0x19a)](_0x5cc550=>{const _0x2b7f14=_0x3ef23d;_0x5cc550[_0x2b7f14(0x199)](_0x5a4d1e,_0xab5625),_0x5cc550[_0x2b7f14(0x1a6)](_0x2b7f14(0x19f),_0xab5625),_0x5cc550[_0x2b7f14(0x1a6)](_0x2b7f14(0x19d),_0xab5625);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x531d(){var _0x16f1f4=['768864xxMtXW','419001VnClcP','5PqvpLi','22wDTgPE','pluginName','isOfficialPlugin','UploadcareImageEdit','180736UleBDn','9WZHdGj','requires','1335929yJblEb','7904356WeNEnd','7993656WgAbEx','39374770TTyKII','isPremiumPlugin'];_0x531d=function(){return _0x16f1f4;};return _0x531d();}function _0x1cd6(_0x36a1f4,_0x954752){var _0x531d0a=_0x531d();return _0x1cd6=function(_0x1cd6e5,_0x438be3){_0x1cd6e5=_0x1cd6e5-0xd7;var _0x2d17ee=_0x531d0a[_0x1cd6e5];return _0x2d17ee;},_0x1cd6(_0x36a1f4,_0x954752);}var _0x12de14=_0x1cd6;(function(_0x499080,_0x2ca9a8){var _0x27fd48=_0x1cd6,_0x1ceff0=_0x499080();while(!![]){try{var _0xa5f368=parseInt(_0x27fd48(0xde))/0x1+parseInt(_0x27fd48(0xda))/0x2*(parseInt(_0x27fd48(0xd8))/0x3)+parseInt(_0x27fd48(0xe2))/0x4+-parseInt(_0x27fd48(0xd9))/0x5*(-parseInt(_0x27fd48(0xe3))/0x6)+-parseInt(_0x27fd48(0xe1))/0x7+-parseInt(_0x27fd48(0xd7))/0x8*(-parseInt(_0x27fd48(0xdf))/0x9)+-parseInt(_0x27fd48(0xe4))/0xa;if(_0xa5f368===_0x2ca9a8)break;else _0x1ceff0['push'](_0x1ceff0['shift']());}catch(_0x4fab9f){_0x1ceff0['push'](_0x1ceff0['shift']());}}}(_0x531d,0xf27c6));import{Plugin as _0x268373}from'ckeditor5/src/core.js';import _0x34066d from'./uploadcareimageedit/uploadcareimageeditediting.js';import _0x1d7b8b from'./uploadcareimageedit/uploadcareimageeditui.js';export default class j extends _0x268373{static get[_0x12de14(0xdb)](){var _0x1c163e=_0x12de14;return _0x1c163e(0xdd);}static get[_0x12de14(0xe0)](){return[_0x34066d,_0x1d7b8b];}static get[_0x12de14(0xdc)](){return!0x0;}static get[_0x12de14(0xe5)](){return!0x0;}}
23
+ function _0x2933(_0x54f836,_0x270571){var _0x1a3153=_0x1a31();return _0x2933=function(_0x2933e4,_0x1b5dda){_0x2933e4=_0x2933e4-0x182;var _0x127d64=_0x1a3153[_0x2933e4];return _0x127d64;},_0x2933(_0x54f836,_0x270571);}var _0x4c956c=_0x2933;(function(_0x45f057,_0x3374df){var _0x1f442e=_0x2933,_0x3becf5=_0x45f057();while(!![]){try{var _0x66bca=-parseInt(_0x1f442e(0x18f))/0x1*(-parseInt(_0x1f442e(0x18e))/0x2)+-parseInt(_0x1f442e(0x184))/0x3*(-parseInt(_0x1f442e(0x18a))/0x4)+parseInt(_0x1f442e(0x18d))/0x5+parseInt(_0x1f442e(0x18c))/0x6+-parseInt(_0x1f442e(0x191))/0x7*(parseInt(_0x1f442e(0x18b))/0x8)+parseInt(_0x1f442e(0x185))/0x9*(-parseInt(_0x1f442e(0x190))/0xa)+parseInt(_0x1f442e(0x189))/0xb;if(_0x66bca===_0x3374df)break;else _0x3becf5['push'](_0x3becf5['shift']());}catch(_0x48da4a){_0x3becf5['push'](_0x3becf5['shift']());}}}(_0x1a31,0x8f64d));import{Plugin as _0x14184b}from'ckeditor5/src/core.js';import _0x3f8b69 from'./uploadcareimageedit/uploadcareimageeditediting.js';import _0x4d2762 from'./uploadcareimageedit/uploadcareimageeditui.js';export default class P extends _0x14184b{static get[_0x4c956c(0x188)](){var _0x4196f6=_0x4c956c;return _0x4196f6(0x183);}static get[_0x4c956c(0x186)](){return[_0x3f8b69,_0x4d2762];}static get[_0x4c956c(0x187)](){return!0x0;}static get[_0x4c956c(0x182)](){return!0x0;}}function _0x1a31(){var _0x1ae532=['requires','isOfficialPlugin','pluginName','5213208dgTgWo','158936kpkDxR','801208epnIyd','558978fbIiUp','993285xwLqVg','58NmeOHp','24181YGRLhx','10DrrMxW','21JYOHJA','isPremiumPlugin','UploadcareImageEdit','39dNBnFF','9861705mncCuz'];_0x1a31=function(){return _0x1ae532;};return _0x1a31();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5656ef=_0x4d4e;function _0x4d4e(_0x5797b3,_0x4e54d4){const _0x492c15=_0x492c();return _0x4d4e=function(_0x4d4e30,_0x4ee208){_0x4d4e30=_0x4d4e30-0x1db;let _0xd50bbb=_0x492c15[_0x4d4e30];return _0xd50bbb;},_0x4d4e(_0x5797b3,_0x4e54d4);}(function(_0x4e2815,_0x3f04a5){const _0x57a69f=_0x4d4e,_0x482fcc=_0x4e2815();while(!![]){try{const _0x340520=parseInt(_0x57a69f(0x1fd))/0x1+-parseInt(_0x57a69f(0x21a))/0x2*(parseInt(_0x57a69f(0x214))/0x3)+parseInt(_0x57a69f(0x1f3))/0x4+-parseInt(_0x57a69f(0x1f6))/0x5+-parseInt(_0x57a69f(0x204))/0x6+parseInt(_0x57a69f(0x20e))/0x7+parseInt(_0x57a69f(0x206))/0x8;if(_0x340520===_0x3f04a5)break;else _0x482fcc['push'](_0x482fcc['shift']());}catch(_0xed645f){_0x482fcc['push'](_0x482fcc['shift']());}}}(_0x492c,0x77fe6));function _0x492c(){const _0x304664=['uploadcareLicenseKeyTrialLimit','domainLimit','bind','GDrive','upload','Insert','locale','OneDrive','isPremiumPlugin','label','uploadcareLicenseKeyEvaluationLimit','URL','Dropbox','url','commands','uploadcareLicenseKeyExpired','isImageSelected','trialLimit','init','map','isOfficialPlugin','icon','_licenseKeyCheckInterval','evaluationLimit','reduce','uploadcareLicenseKeyDomainLimit','Instagram','assetManager','uploadcare','ImageInsertUI','usageLimit','3567944dMClhC','destroy','featureNotAllowed','661040zpAkBq','_createToolbarButton','withText','execute','pluginName','uploadcareLicenseKeyValid','_createButton','339104LanUuB','uploadcareLicenseKeyUsageLimit','type','editor','push','_showLicenseError','text','5091030ogHdQk','forEach','817152SOCzoW','config','_createDropdownButtons','tooltip','has','plugins','expired','registerIntegration','3389981ojjNSQ','uploadcareLicenseKeyNotAllowed','_getIntegrationKey','isEnabled','_createMenuBarButtons','uploadcare.uploader.sourceList','15VIwEcq','licenseKey','get','_normalizeConfigSourceList','afterInit','UploadcareUI','138124ckUIId','uploadcareLicenseKeyInvalid','shortText','entries','GPhotos','imageUpload','invalid','Local','Facebook','Replace','Uploadcare'];_0x492c=function(){return _0x304664;};return _0x492c();}import{Plugin as _0x460530,icons as _0x6e8290}from'ckeditor5/src/core.js';import{ButtonView as _0x44565a,MenuBarMenuListItemButtonView as _0x4e4f52}from'ckeditor5/src/ui.js';import _0x45b6a0 from'../theme/icons/dropbox.svg';import _0x4ead5b from'../theme/icons/facebook.svg';import _0x23c44e from'../theme/icons/google-drive.svg';import _0x4e6776 from'../theme/icons/google-photos.svg';import _0x152695 from'../theme/icons/instagram.svg';import _0x32bdbe from'../theme/icons/link.svg';import _0x4f70b3 from'../theme/icons/onedrive.svg';import{UploadcareSource as _0x63d424}from'./uploadcareconfig.js';import{getTranslation as _0x5883a4}from'./utils/common-translations.js';import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';import'../theme/uploadcare-theme.css';import'../theme/uploadcareimageedit.css';export default class e extends _0x460530{static get[_0x5656ef(0x1fa)](){const _0x523a01=_0x5656ef;return _0x523a01(0x219);}static get[_0x5656ef(0x1e8)](){return!0x0;}static get[_0x5656ef(0x1dc)](){return!0x0;}[_0x5656ef(0x1e6)](){const _0x5a9df0=_0x5656ef;this[_0x5a9df0(0x215)]=this[_0x5a9df0(0x200)][_0x5a9df0(0x207)][_0x5a9df0(0x216)](_0x5a9df0(0x215));const _0x552545=this[_0x5a9df0(0x200)];this[_0x5a9df0(0x1ea)]=setInterval(()=>{const _0x35c040=_0x5a9df0;let _0x3f3951;for(const _0x8915cf in _0x552545){const _0x762b09=_0x8915cf,_0x90ecf7=_0x552545[_0x762b09];if(_0x35c040(0x1fb)==_0x90ecf7||_0x35c040(0x21b)==_0x90ecf7||_0x35c040(0x1e3)==_0x90ecf7||_0x35c040(0x1ed)==_0x90ecf7||_0x35c040(0x20f)==_0x90ecf7||_0x35c040(0x1de)==_0x90ecf7||_0x35c040(0x225)==_0x90ecf7||_0x35c040(0x1fe)==_0x90ecf7){delete _0x552545[_0x762b09],_0x3f3951=_0x90ecf7,clearInterval(this[_0x35c040(0x1ea)]),this[_0x35c040(0x1ea)]=void 0x0;break;}}_0x35c040(0x21b)==_0x3f3951&&_0x552545[_0x35c040(0x202)](_0x35c040(0x220)),_0x35c040(0x1e3)==_0x3f3951&&_0x552545[_0x35c040(0x202)](_0x35c040(0x20c)),_0x35c040(0x1ed)==_0x3f3951&&_0x552545[_0x35c040(0x202)](_0x35c040(0x226)),_0x35c040(0x20f)==_0x3f3951&&_0x552545[_0x35c040(0x202)](_0x35c040(0x1f5),_0x35c040(0x224)),_0x35c040(0x1de)==_0x3f3951&&_0x552545[_0x35c040(0x202)](_0x35c040(0x1eb)),_0x35c040(0x225)==_0x3f3951&&_0x552545[_0x35c040(0x202)](_0x35c040(0x1e5)),_0x35c040(0x1fe)==_0x3f3951&&_0x552545[_0x35c040(0x202)](_0x35c040(0x1f2));},0x3e8);}[_0x5656ef(0x218)](){const _0x10ad8b=_0x5656ef,{editor:_0x467c9a}=this,_0x5be45a=_0x467c9a[_0x10ad8b(0x1e2)][_0x10ad8b(0x216)](_0x10ad8b(0x1f0));if(!_0x5be45a)return;const _0x4a1762=this[_0x10ad8b(0x217)](_0x467c9a[_0x10ad8b(0x207)][_0x10ad8b(0x216)](_0x10ad8b(0x213)))[_0x10ad8b(0x1ec)]((_0x202994,_0x158039)=>{const _0x43d4bd=_0x10ad8b,_0xe2b0c=this[_0x43d4bd(0x210)](_0x158039[_0x43d4bd(0x1ff)]);return _0x202994[_0xe2b0c]||(_0x202994[_0xe2b0c]=[]),_0x202994[_0xe2b0c][_0x43d4bd(0x201)](_0x158039),_0x202994;},{});_0x467c9a[_0x10ad8b(0x20b)][_0x10ad8b(0x20a)](_0x10ad8b(0x1f1))&&_0x467c9a[_0x10ad8b(0x1e2)][_0x10ad8b(0x216)](_0x10ad8b(0x1f0))&&Object[_0x10ad8b(0x21d)](_0x4a1762)[_0x10ad8b(0x205)](([_0x593b00,_0x3ba2ac])=>{const _0x58a082=_0x10ad8b;_0x467c9a[_0x58a082(0x20b)][_0x58a082(0x216)](_0x58a082(0x1f1))[_0x58a082(0x20d)]({'name':_0x593b00,'observable':()=>_0x5be45a,'buttonViewCreator':()=>this[_0x58a082(0x1f7)](_0x3ba2ac),'formViewCreator':()=>this[_0x58a082(0x208)](_0x3ba2ac),'menuBarButtonViewCreator':()=>this[_0x58a082(0x212)](_0x3ba2ac),'override':_0x58a082(0x1ef)!==_0x593b00});});}[_0x5656ef(0x1f4)](){const _0x513ba6=_0x5656ef;super[_0x513ba6(0x1f4)](),this[_0x513ba6(0x1ea)]&&clearInterval(this[_0x513ba6(0x1ea)]);}[_0x5656ef(0x217)](_0x150965){const _0x46345a=_0x5656ef,{locale:_0x1f8389}=this[_0x46345a(0x200)];return _0x150965[_0x46345a(0x1e7)](_0x1b96d7=>{const _0x53c94a=_0x46345a,_0x2a725e=_0x5883a4(_0x1f8389,_0x1b96d7,_0x53c94a(0x22a));switch(_0x1b96d7){case _0x63d424[_0x53c94a(0x221)]:return{'icon':_0x6e8290[_0x53c94a(0x21f)],'type':_0x63d424[_0x53c94a(0x221)],..._0x2a725e};case _0x63d424[_0x53c94a(0x1df)]:return{'icon':_0x32bdbe,'type':_0x63d424[_0x53c94a(0x1df)],..._0x2a725e};case _0x63d424[_0x53c94a(0x1e0)]:return{'icon':_0x45b6a0,'type':_0x63d424[_0x53c94a(0x1e0)],..._0x2a725e};case _0x63d424[_0x53c94a(0x222)]:return{'icon':_0x4ead5b,'type':_0x63d424[_0x53c94a(0x222)],..._0x2a725e};case _0x63d424[_0x53c94a(0x228)]:return{'icon':_0x23c44e,'type':_0x63d424[_0x53c94a(0x228)],..._0x2a725e};case _0x63d424[_0x53c94a(0x21e)]:return{'icon':_0x4e6776,'type':_0x63d424[_0x53c94a(0x21e)],..._0x2a725e};case _0x63d424[_0x53c94a(0x1ee)]:return{'icon':_0x152695,'type':_0x63d424[_0x53c94a(0x1ee)],..._0x2a725e};case _0x63d424[_0x53c94a(0x1db)]:return{'icon':_0x4f70b3,'type':_0x63d424[_0x53c94a(0x1db)],..._0x2a725e};}});}[_0x5656ef(0x210)](_0x12904d){const _0x258805=_0x5656ef;switch(_0x12904d){case _0x63d424[_0x258805(0x221)]:return _0x258805(0x229);case _0x63d424[_0x258805(0x1df)]:return _0x258805(0x1e1);default:return _0x258805(0x1ef);}}[_0x5656ef(0x1fc)](_0x10a056,_0xbeef6f){const _0x1e1b8f=_0x5656ef,_0x1dfec5=this[_0x1e1b8f(0x200)],_0x4d3d19=new _0x10a056(_0x1dfec5[_0x1e1b8f(0x22b)]),_0x39c50c=_0x1dfec5[_0x1e1b8f(0x1e2)][_0x1e1b8f(0x216)](_0x1e1b8f(0x1f0));return _0x4d3d19[_0x1e1b8f(0x227)](_0x1e1b8f(0x211))['to'](_0x39c50c),_0x4d3d19['on'](_0x1e1b8f(0x1f9),()=>{const _0x5a0d36=_0x1e1b8f;_0x39c50c[_0x5a0d36(0x1f9)](_0xbeef6f);}),_0x4d3d19;}[_0x5656ef(0x1f7)](_0x2ad65d){const _0x182993=_0x5656ef,{locale:_0x2eaabb}=this[_0x182993(0x200)],_0xc67c16=this[_0x182993(0x200)][_0x182993(0x20b)][_0x182993(0x216)](_0x182993(0x1f1)),_0x19666e=_0x2ad65d[0x0],_0x101656=this[_0x182993(0x1fc)](_0x44565a,_0x19666e[_0x182993(0x1ff)]);return _0x101656[_0x182993(0x1e9)]=_0x19666e[_0x182993(0x1e9)],_0x101656[_0x182993(0x227)](_0x182993(0x1dd))['to'](_0xc67c16,_0x182993(0x1e4),_0x5b2c96=>_0x5883a4(_0x2eaabb,_0x19666e[_0x182993(0x1ff)],_0x5b2c96?_0x182993(0x223):_0x182993(0x22a))[_0x182993(0x203)]),_0x101656[_0x182993(0x209)]=!0x0,_0x101656;}[_0x5656ef(0x208)](_0x29a2c1){const _0xe7b9a1=_0x5656ef,{locale:_0x491f17}=this[_0xe7b9a1(0x200)],_0x5f4a11=this[_0xe7b9a1(0x200)][_0xe7b9a1(0x20b)][_0xe7b9a1(0x216)](_0xe7b9a1(0x1f1));return _0x29a2c1[_0xe7b9a1(0x1e7)](_0x22d01d=>{const _0x475087=_0xe7b9a1,_0x39a2e8=this[_0x475087(0x1fc)](_0x44565a,_0x22d01d[_0x475087(0x1ff)]);return _0x39a2e8[_0x475087(0x1f8)]=!0x0,_0x39a2e8[_0x475087(0x1e9)]=_0x22d01d[_0x475087(0x1e9)],_0x39a2e8[_0x475087(0x227)](_0x475087(0x1dd))['to'](_0x5f4a11,_0x475087(0x1e4),_0x54233e=>_0x5883a4(_0x491f17,_0x22d01d[_0x475087(0x1ff)],_0x54233e?_0x475087(0x223):_0x475087(0x22a))[_0x475087(0x203)]),_0x39a2e8;});}[_0x5656ef(0x212)](_0x582a26){const _0x15aa81=_0x5656ef;return _0x582a26[_0x15aa81(0x1e7)](_0x499bc1=>{const _0x1690de=_0x15aa81,_0x57739f=this[_0x1690de(0x1fc)](_0x4e4f52,_0x499bc1[_0x1690de(0x1ff)]);return _0x57739f[_0x1690de(0x1e9)]=_0x499bc1[_0x1690de(0x1e9)],_0x57739f[_0x1690de(0x1dd)]=_0x499bc1[_0x1690de(0x21c)],_0x57739f;});}}
23
+ function _0x2846(){const _0xe6d209=['_createButton','assetManager','invalid','_createMenuBarButtons','uploadcareLicenseKeyInvalid','31279GobiVj','isOfficialPlugin','has','execute','domainLimit','url','OneDrive','uploadcareLicenseKeyDomainLimit','GPhotos','URL','destroy','expired','entries','isImageSelected','forEach','254023MlPCED','text','type','_licenseKeyCheckInterval','UploadcareUI','73167zdTrRF','_getIntegrationKey','commands','710504zzMoqE','Facebook','uploadcareLicenseKeyNotAllowed','28EsWnJq','map','3899277XWfEGE','push','Replace','isEnabled','tooltip','evaluationLimit','reduce','licenseKey','usageLimit','Insert','uploadcareLicenseKeyValid','get','featureNotAllowed','bind','Uploadcare','locale','withText','1636192NpBzbe','icon','uploadcareLicenseKeyUsageLimit','Local','_showLicenseError','GDrive','uploadcare.uploader.sourceList','_normalizeConfigSourceList','pluginName','isPremiumPlugin','init','46218VYQBjh','afterInit','_createToolbarButton','uploadcareLicenseKeyEvaluationLimit','uploadcare','upload','registerIntegration','shortText','trialLimit','uploadcareLicenseKeyExpired','plugins','ImageInsertUI','uploadcareLicenseKeyTrialLimit','label','155RmpzFq','_createDropdownButtons','editor','Instagram','Dropbox','config'];_0x2846=function(){return _0xe6d209;};return _0x2846();}const _0x13389d=_0x352b;(function(_0x38bb27,_0xdf2a14){const _0x5288a5=_0x352b,_0x279919=_0x38bb27();while(!![]){try{const _0xdc9045=parseInt(_0x5288a5(0x130))/0x1+parseInt(_0x5288a5(0x147))/0x2+parseInt(_0x5288a5(0x144))/0x3*(parseInt(_0x5288a5(0x14a))/0x4)+parseInt(_0x5288a5(0x125))/0x5*(parseInt(_0x5288a5(0x117))/0x6)+parseInt(_0x5288a5(0x13f))/0x7+-parseInt(_0x5288a5(0x15d))/0x8+-parseInt(_0x5288a5(0x14c))/0x9;if(_0xdc9045===_0xdf2a14)break;else _0x279919['push'](_0x279919['shift']());}catch(_0x5cf3d8){_0x279919['push'](_0x279919['shift']());}}}(_0x2846,0x2f7ff));import{Plugin as _0x4ede1d}from'ckeditor5/src/core.js';function _0x352b(_0x1ef956,_0x41043e){const _0x2846ef=_0x2846();return _0x352b=function(_0x352b2f,_0xef855){_0x352b2f=_0x352b2f-0x10e;let _0x4f9270=_0x2846ef[_0x352b2f];return _0x4f9270;},_0x352b(_0x1ef956,_0x41043e);}import{IconDropbox as _0xc3a8f3,IconFacebook as _0x50e8b3,IconGoogleDrive as _0x1d7e58,IconGooglePhotos as _0x307fff,IconUploadcareImageUpload as _0x261fc7,IconInstagram as _0x488996,IconUploadcareLink as _0x1be3c9,IconOneDrive as _0x174b5c}from'ckeditor5/src/icons.js';import{ButtonView as _0x349a8c,MenuBarMenuListItemButtonView as _0x18aafc}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x4ad1d1}from'./uploadcareconfig.js';import{getTranslation as _0x280eff}from'./utils/common-translations.js';import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';import'../theme/uploadcare-theme.css';import'../theme/uploadcareimageedit.css';export default class e extends _0x4ede1d{[_0x13389d(0x153)];[_0x13389d(0x142)];static get[_0x13389d(0x114)](){const _0x118662=_0x13389d;return _0x118662(0x143);}static get[_0x13389d(0x131)](){return!0x0;}static get[_0x13389d(0x115)](){return!0x0;}[_0x13389d(0x116)](){const _0x2d789b=_0x13389d;this[_0x2d789b(0x153)]=this[_0x2d789b(0x127)][_0x2d789b(0x12a)][_0x2d789b(0x157)](_0x2d789b(0x153));const _0x299783=this[_0x2d789b(0x127)];this[_0x2d789b(0x142)]=setInterval(()=>{const _0x3fc074=_0x2d789b;let _0x3a4a61;for(const _0x20b358 in _0x299783){const _0x5d7ce8=_0x20b358,_0x225914=_0x299783[_0x5d7ce8];if(_0x3fc074(0x156)==_0x225914||_0x3fc074(0x12f)==_0x225914||_0x3fc074(0x120)==_0x225914||_0x3fc074(0x137)==_0x225914||_0x3fc074(0x149)==_0x225914||_0x3fc074(0x11a)==_0x225914||_0x3fc074(0x123)==_0x225914||_0x3fc074(0x10e)==_0x225914){delete _0x299783[_0x5d7ce8],_0x3a4a61=_0x225914,clearInterval(this[_0x3fc074(0x142)]),this[_0x3fc074(0x142)]=void 0x0;break;}}_0x3fc074(0x12f)==_0x3a4a61&&_0x299783[_0x3fc074(0x110)](_0x3fc074(0x12d)),_0x3fc074(0x120)==_0x3a4a61&&_0x299783[_0x3fc074(0x110)](_0x3fc074(0x13b)),_0x3fc074(0x137)==_0x3a4a61&&_0x299783[_0x3fc074(0x110)](_0x3fc074(0x134)),_0x3fc074(0x149)==_0x3a4a61&&_0x299783[_0x3fc074(0x110)](_0x3fc074(0x158),_0x3fc074(0x15a)),_0x3fc074(0x11a)==_0x3a4a61&&_0x299783[_0x3fc074(0x110)](_0x3fc074(0x151)),_0x3fc074(0x123)==_0x3a4a61&&_0x299783[_0x3fc074(0x110)](_0x3fc074(0x11f)),_0x3fc074(0x10e)==_0x3a4a61&&_0x299783[_0x3fc074(0x110)](_0x3fc074(0x154));},0x3e8);}[_0x13389d(0x118)](){const _0x2dc082=_0x13389d,{editor:_0x4b7685}=this,_0x59baa1=_0x4b7685[_0x2dc082(0x146)][_0x2dc082(0x157)](_0x2dc082(0x11b));if(!_0x59baa1)return;const _0x1028e6=this[_0x2dc082(0x113)](_0x4b7685[_0x2dc082(0x12a)][_0x2dc082(0x157)](_0x2dc082(0x112)))[_0x2dc082(0x152)]((_0x30f972,_0xdb95f1)=>{const _0x217ca4=_0x2dc082,_0x1b0ad6=this[_0x217ca4(0x145)](_0xdb95f1[_0x217ca4(0x141)]);return _0x30f972[_0x1b0ad6]||(_0x30f972[_0x1b0ad6]=[]),_0x30f972[_0x1b0ad6][_0x217ca4(0x14d)](_0xdb95f1),_0x30f972;},{});_0x4b7685[_0x2dc082(0x121)][_0x2dc082(0x132)](_0x2dc082(0x122))&&_0x4b7685[_0x2dc082(0x146)][_0x2dc082(0x157)](_0x2dc082(0x11b))&&Object[_0x2dc082(0x13c)](_0x1028e6)[_0x2dc082(0x13e)](([_0x8163f1,_0x428617])=>{const _0x3c7ef2=_0x2dc082;_0x4b7685[_0x3c7ef2(0x121)][_0x3c7ef2(0x157)](_0x3c7ef2(0x122))[_0x3c7ef2(0x11d)]({'name':_0x8163f1,'observable':()=>_0x59baa1,'buttonViewCreator':()=>this[_0x3c7ef2(0x119)](_0x428617),'formViewCreator':()=>this[_0x3c7ef2(0x126)](_0x428617),'menuBarButtonViewCreator':()=>this[_0x3c7ef2(0x12e)](_0x428617),'override':_0x3c7ef2(0x12c)!==_0x8163f1});});}[_0x13389d(0x13a)](){const _0x3209a7=_0x13389d;super[_0x3209a7(0x13a)](),this[_0x3209a7(0x142)]&&clearInterval(this[_0x3209a7(0x142)]);}[_0x13389d(0x113)](_0xa14d44){const _0x41e019=_0x13389d,{locale:_0x132357}=this[_0x41e019(0x127)];return _0xa14d44[_0x41e019(0x14b)](_0x1e0ac5=>{const _0x849dbf=_0x41e019,_0x252210=_0x280eff(_0x132357,_0x1e0ac5,_0x849dbf(0x155));switch(_0x1e0ac5){case _0x4ad1d1[_0x849dbf(0x10f)]:return{'icon':_0x261fc7,'type':_0x4ad1d1[_0x849dbf(0x10f)],..._0x252210};case _0x4ad1d1[_0x849dbf(0x139)]:return{'icon':_0x1be3c9,'type':_0x4ad1d1[_0x849dbf(0x139)],..._0x252210};case _0x4ad1d1[_0x849dbf(0x129)]:return{'icon':_0xc3a8f3,'type':_0x4ad1d1[_0x849dbf(0x129)],..._0x252210};case _0x4ad1d1[_0x849dbf(0x148)]:return{'icon':_0x50e8b3,'type':_0x4ad1d1[_0x849dbf(0x148)],..._0x252210};case _0x4ad1d1[_0x849dbf(0x111)]:return{'icon':_0x1d7e58,'type':_0x4ad1d1[_0x849dbf(0x111)],..._0x252210};case _0x4ad1d1[_0x849dbf(0x138)]:return{'icon':_0x307fff,'type':_0x4ad1d1[_0x849dbf(0x138)],..._0x252210};case _0x4ad1d1[_0x849dbf(0x128)]:return{'icon':_0x488996,'type':_0x4ad1d1[_0x849dbf(0x128)],..._0x252210};case _0x4ad1d1[_0x849dbf(0x136)]:return{'icon':_0x174b5c,'type':_0x4ad1d1[_0x849dbf(0x136)],..._0x252210};}});}[_0x13389d(0x145)](_0xa46b27){const _0x3a2781=_0x13389d;switch(_0xa46b27){case _0x4ad1d1[_0x3a2781(0x10f)]:return _0x3a2781(0x11c);case _0x4ad1d1[_0x3a2781(0x139)]:return _0x3a2781(0x135);default:return _0x3a2781(0x12c);}}[_0x13389d(0x12b)](_0x1bfc8e,_0x158e58){const _0x31cd68=_0x13389d,_0x4bd155=this[_0x31cd68(0x127)],_0x1b1f77=new _0x1bfc8e(_0x4bd155[_0x31cd68(0x15b)]),_0x2d9a0e=_0x4bd155[_0x31cd68(0x146)][_0x31cd68(0x157)](_0x31cd68(0x11b));return _0x1b1f77[_0x31cd68(0x159)](_0x31cd68(0x14f))['to'](_0x2d9a0e),_0x1b1f77['on'](_0x31cd68(0x133),()=>{const _0xc3dc24=_0x31cd68;_0x2d9a0e[_0xc3dc24(0x133)](_0x158e58);}),_0x1b1f77;}[_0x13389d(0x119)](_0x37d001){const _0x3d5d82=_0x13389d,{locale:_0xb7d2d8}=this[_0x3d5d82(0x127)],_0x37e3f9=this[_0x3d5d82(0x127)][_0x3d5d82(0x121)][_0x3d5d82(0x157)](_0x3d5d82(0x122)),_0x2f2760=_0x37d001[0x0],_0x780ac7=this[_0x3d5d82(0x12b)](_0x349a8c,_0x2f2760[_0x3d5d82(0x141)]);return _0x780ac7[_0x3d5d82(0x15e)]=_0x2f2760[_0x3d5d82(0x15e)],_0x780ac7[_0x3d5d82(0x159)](_0x3d5d82(0x124))['to'](_0x37e3f9,_0x3d5d82(0x13d),_0x2e7799=>_0x280eff(_0xb7d2d8,_0x2f2760[_0x3d5d82(0x141)],_0x2e7799?_0x3d5d82(0x14e):_0x3d5d82(0x155))[_0x3d5d82(0x140)]),_0x780ac7[_0x3d5d82(0x150)]=!0x0,_0x780ac7;}[_0x13389d(0x126)](_0x5d0272){const _0x323c03=_0x13389d,{locale:_0x1d1bdc}=this[_0x323c03(0x127)],_0x11ceee=this[_0x323c03(0x127)][_0x323c03(0x121)][_0x323c03(0x157)](_0x323c03(0x122));return _0x5d0272[_0x323c03(0x14b)](_0x49d7d1=>{const _0x1b20f5=_0x323c03,_0x46ee18=this[_0x1b20f5(0x12b)](_0x349a8c,_0x49d7d1[_0x1b20f5(0x141)]);return _0x46ee18[_0x1b20f5(0x15c)]=!0x0,_0x46ee18[_0x1b20f5(0x15e)]=_0x49d7d1[_0x1b20f5(0x15e)],_0x46ee18[_0x1b20f5(0x159)](_0x1b20f5(0x124))['to'](_0x11ceee,_0x1b20f5(0x13d),_0x7c34b1=>_0x280eff(_0x1d1bdc,_0x49d7d1[_0x1b20f5(0x141)],_0x7c34b1?_0x1b20f5(0x14e):_0x1b20f5(0x155))[_0x1b20f5(0x140)]),_0x46ee18;});}[_0x13389d(0x12e)](_0x15957f){const _0x268a7d=_0x13389d;return _0x15957f[_0x268a7d(0x14b)](_0x2831e2=>{const _0x31ab7e=_0x268a7d,_0x33491a=this[_0x31ab7e(0x12b)](_0x18aafc,_0x2831e2[_0x31ab7e(0x141)]);return _0x33491a[_0x31ab7e(0x15e)]=_0x2831e2[_0x31ab7e(0x15e)],_0x33491a[_0x31ab7e(0x124)]=_0x2831e2[_0x31ab7e(0x11e)],_0x33491a;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x184e68}from'ckeditor5/src/core.js';import{FileRepository as _0x4927c3}from'ckeditor5/src/upload.js';import _0x254226 from'./uploadcareediting.js';import _0x37dd15 from'./utils/uploadutils.js';import{getImageUrls as _0x569b95}from'./utils/editingutils.js';export default class f extends _0x184e68{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x4927c3,_0x254226];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x22d964=this['editor'];if(!!!_0x22d964['config']['get']('uploadcare'))return;_0x22d964['plugins']['get'](_0x4927c3)['createUploadAdapter']=_0x130d64=>new A(_0x130d64,_0x22d964),_0x22d964['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0xb1f0cd,{imageElement:_0x46bd17,data:_0x5835f8})=>{_0x22d964['model']['change'](_0x195ccc=>{_0x195ccc['setAttribute']('uploadcareImageId',_0x5835f8['uploadcareImageId'],_0x46bd17);});});}}class A{constructor(_0x34575b,_0x4d5079){this['loader']=_0x34575b,this['editor']=_0x4d5079,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x67a58a=this['editor']['config']['get']('uploadcare.pubkey'),_0x5db1ca=await this['loader']['file'];return _0x37dd15['upload']({'file':_0x5db1ca,'publicKey':_0x67a58a,'signal':this['controller']['signal'],'onProgress':_0x1978c3=>{_0x1978c3&&_0x1978c3['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x1978c3['value']);}})['then'](async _0x20427d=>{const {imageFallbackUrl:_0x241a1e,imageSources:_0x4d1078}=_0x569b95(_0x20427d['cdnUrl'],_0x20427d['imageInfo']['width']);return{'uploadcareImageId':_0x20427d['uuid'],'default':_0x241a1e,'sources':_0x4d1078};})['catch'](()=>{const _0x31c802=t('Cannot\x20upload\x20file:')+('\x20'+_0x5db1ca['name']+'.');return Promise['reject'](_0x31c802);});}['abort'](){this['controller']['abort']();}}
23
+ import{Plugin as _0x375864}from'ckeditor5/src/core.js';import{FileRepository as _0x113a9b}from'ckeditor5/src/upload.js';import _0x2f80da from'./uploadcareediting.js';import _0x1ecba6 from'./utils/uploadutils.js';import{getImageUrls as _0x1ef5a3}from'./utils/editingutils.js';export default class p extends _0x375864{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x113a9b,_0x2f80da];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0xb96aa6=this['editor'];if(!!!_0xb96aa6['config']['get']('uploadcare'))return;_0xb96aa6['plugins']['get'](_0x113a9b)['createUploadAdapter']=_0xb1eca0=>new A(_0xb1eca0,_0xb96aa6),_0xb96aa6['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x507b54,{imageElement:_0x5604ee,data:_0x3a0cc5})=>{_0xb96aa6['model']['change'](_0x5e570a=>{_0x5e570a['setAttribute']('uploadcareImageId',_0x3a0cc5['uploadcareImageId'],_0x5604ee);});});}}class A{['loader'];['editor'];['controller'];constructor(_0x6d07b0,_0x1afa21){this['loader']=_0x6d07b0,this['editor']=_0x1afa21,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x211444=this['editor']['config']['get']('uploadcare.pubkey'),_0x3255a6=await this['loader']['file'];return _0x1ecba6['upload']({'file':_0x3255a6,'publicKey':_0x211444,'signal':this['controller']['signal'],'onProgress':_0x50cd40=>{_0x50cd40&&_0x50cd40['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x50cd40['value']);}})['then'](async _0x5ae67f=>{const {imageFallbackUrl:_0x555526,imageSources:_0x38c9e4}=_0x1ef5a3(_0x5ae67f['cdnUrl'],_0x5ae67f['imageInfo']['width']);return{'uploadcareImageId':_0x5ae67f['uuid'],'default':_0x555526,'sources':_0x38c9e4};})['catch'](()=>{const _0xf1e09d=t('Cannot\x20upload\x20file:')+('\x20'+_0x3255a6['name']+'.');return Promise['reject'](_0xf1e09d);});}['abort'](){this['controller']['abort']();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{UploadcareSource as _0x3b921c}from'../uploadcareconfig.js';export function getTranslation(_0x3d940e,_0x1edcdf,_0x5dc171){const t=_0x3d940e['t'],_0x10fced=_0x3d940e['t'];switch(_0x1edcdf){case _0x3b921c['Local']:return{'text':_0x10fced('Insert'===_0x5dc171?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x10fced('From\x20computer')};case _0x3b921c['URL']:return{'text':'Insert'===_0x5dc171?_0x10fced('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x10fced('Via\x20URL')};case _0x3b921c['Dropbox']:return{'text':t('Insert'===_0x5dc171?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x3b921c['Facebook']:return{'text':t('Insert'===_0x5dc171?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x3b921c['GDrive']:return{'text':t('Insert'===_0x5dc171?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x3b921c['GPhotos']:return{'text':t('Insert'===_0x5dc171?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x3b921c['Instagram']:return{'text':t('Insert'===_0x5dc171?'Insert\x20with\x20Instagram':'Replace\x20with\x20Instagram'),'shortText':t('With\x20Instagram')};case _0x3b921c['OneDrive']:return{'text':t('Insert'===_0x5dc171?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x1edcdf;}}
23
+ import{UploadcareSource as _0x403bb8}from'../uploadcareconfig.js';export function getTranslation(_0x240a84,_0x220989,_0x133fd0){const t=_0x240a84['t'],_0x30dabb=_0x240a84['t'];switch(_0x220989){case _0x403bb8['Local']:return{'text':_0x30dabb('Insert'===_0x133fd0?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x30dabb('From\x20computer')};case _0x403bb8['URL']:return{'text':'Insert'===_0x133fd0?_0x30dabb('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x30dabb('Via\x20URL')};case _0x403bb8['Dropbox']:return{'text':t('Insert'===_0x133fd0?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x403bb8['Facebook']:return{'text':t('Insert'===_0x133fd0?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x403bb8['GDrive']:return{'text':t('Insert'===_0x133fd0?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x403bb8['GPhotos']:return{'text':t('Insert'===_0x133fd0?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x403bb8['Instagram']:return{'text':t('Insert'===_0x133fd0?'Insert\x20with\x20Instagram':'Replace\x20with\x20Instagram'),'shortText':t('With\x20Instagram')};case _0x403bb8['OneDrive']:return{'text':t('Insert'===_0x133fd0?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x220989;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x2cc9f2=_0x279e;(function(_0x35d7f2,_0x36653f){var _0xb8f0b9=_0x279e,_0x5020e1=_0x35d7f2();while(!![]){try{var _0x4528e8=parseInt(_0xb8f0b9(0x111))/0x1+parseInt(_0xb8f0b9(0x10f))/0x2+-parseInt(_0xb8f0b9(0x112))/0x3*(parseInt(_0xb8f0b9(0x118))/0x4)+parseInt(_0xb8f0b9(0x115))/0x5+parseInt(_0xb8f0b9(0x110))/0x6+parseInt(_0xb8f0b9(0x117))/0x7+parseInt(_0xb8f0b9(0x10d))/0x8*(-parseInt(_0xb8f0b9(0x119))/0x9);if(_0x4528e8===_0x36653f)break;else _0x5020e1['push'](_0x5020e1['shift']());}catch(_0x1b902b){_0x5020e1['push'](_0x5020e1['shift']());}}}(_0x7497,0xb0d5d));function _0x7497(){var _0x7a5404=['24ofZsnY','getFocusableElement','912510MySTGe','3252174MNQaiC','41893oNdDhp','28131tEQieA','true','createCollection','1423265kPwRje','focusCycler','6116747VZdlTF','496xfTNll','934758OmjIzs','fire','forwardCycle','div','focusTracker','bindTemplate'];_0x7497=function(){return _0x7a5404;};return _0x7497();}function _0x279e(_0x1877c9,_0x3b7d81){var _0x749752=_0x7497();return _0x279e=function(_0x279ee5,_0x5bc9fa){_0x279ee5=_0x279ee5-0x10b;var _0x284993=_0x749752[_0x279ee5];return _0x284993;},_0x279e(_0x1877c9,_0x3b7d81);}import{FocusTracker as _0x4ce974}from'ckeditor5/src/utils.js';import{View as _0x256591,FocusCycler as _0x53079b}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';export default class q extends _0x256591{constructor(_0x4135c8){var _0x15a039=_0x279e;super(_0x4135c8),this[_0x15a039(0x10b)]=new _0x4ce974(),this[_0x15a039(0x116)]=new _0x53079b({'focusables':this[_0x15a039(0x114)](),'focusTracker':this[_0x15a039(0x10b)]});}[_0x2cc9f2(0x10e)](){var _0x4e2668=_0x2cc9f2;return{'tag':_0x4e2668(0x11c),'attributes':{'aria-hidden':_0x4e2668(0x113),'tabindex':'0'},'on':{'focus':this[_0x4e2668(0x10c)]['to'](()=>{var _0x36eb1a=_0x4e2668;this[_0x36eb1a(0x116)][_0x36eb1a(0x11a)](_0x36eb1a(0x11b));})}};}}
23
+ var _0x578d9b=_0x57be;(function(_0x182098,_0x3d490a){var _0x2a0ffc=_0x57be,_0x4beb52=_0x182098();while(!![]){try{var _0x59041a=-parseInt(_0x2a0ffc(0x73))/0x1*(parseInt(_0x2a0ffc(0x6f))/0x2)+-parseInt(_0x2a0ffc(0x6c))/0x3*(-parseInt(_0x2a0ffc(0x71))/0x4)+parseInt(_0x2a0ffc(0x7a))/0x5+parseInt(_0x2a0ffc(0x79))/0x6*(parseInt(_0x2a0ffc(0x6d))/0x7)+parseInt(_0x2a0ffc(0x76))/0x8+-parseInt(_0x2a0ffc(0x70))/0x9+-parseInt(_0x2a0ffc(0x6e))/0xa*(parseInt(_0x2a0ffc(0x7d))/0xb);if(_0x59041a===_0x3d490a)break;else _0x4beb52['push'](_0x4beb52['shift']());}catch(_0x4d887a){_0x4beb52['push'](_0x4beb52['shift']());}}}(_0x1c67,0xdcc7e));import{FocusTracker as _0x313cf9}from'ckeditor5/src/utils.js';import{View as _0x4fda4b,FocusCycler as _0x19009f}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';function _0x1c67(){var _0x31b7a2=['12370603QArqOW','17690JajcCz','32340PQGyiZ','1215810prUofk','135884oXnzbo','bindTemplate','85jsDLRG','div','getFocusableElement','11123104AyaRea','fire','focusTracker','6jKrDWc','4270755sPdNBf','createCollection','focusCycler','16907aYTCRF','forwardCycle','true','99zymsTY'];_0x1c67=function(){return _0x31b7a2;};return _0x1c67();}function _0x57be(_0x16bd41,_0x4088cc){var _0x1c67f3=_0x1c67();return _0x57be=function(_0x57be99,_0xf5af21){_0x57be99=_0x57be99-0x6a;var _0x45e360=_0x1c67f3[_0x57be99];return _0x45e360;},_0x57be(_0x16bd41,_0x4088cc);}export default class q extends _0x4fda4b{[_0x578d9b(0x78)];[_0x578d9b(0x7c)];constructor(_0x3ad558){var _0xce044d=_0x578d9b;super(_0x3ad558),this[_0xce044d(0x78)]=new _0x313cf9(),this[_0xce044d(0x7c)]=new _0x19009f({'focusables':this[_0xce044d(0x7b)](),'focusTracker':this[_0xce044d(0x78)]});}[_0x578d9b(0x75)](){var _0x3e2376=_0x578d9b;return{'tag':_0x3e2376(0x74),'attributes':{'aria-hidden':_0x3e2376(0x6b),'tabindex':'0'},'on':{'focus':this[_0x3e2376(0x72)]['to'](()=>{var _0x431aca=_0x3e2376;this[_0x431aca(0x7c)][_0x431aca(0x77)](_0x431aca(0x6a));})}};}}