@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-20250527.0 → 0.0.0-nightly-20250529.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.
- package/build/uploadcare.js +1 -1
- package/dist/index.js +3 -3
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +9 -9
- package/src/index.js +1 -1
- package/src/ui/uploadcarecontroller.js +2 -2
- package/src/ui/uploadcareformview.js +1 -1
- package/src/uploadcare.js +1 -1
- package/src/uploadcarecommand.js +1 -1
- package/src/uploadcareconfig.js +1 -1
- package/src/uploadcareediting.js +1 -1
- package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.js +2 -2
- package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.js +1 -1
- package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.js +1 -1
- package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.js +1 -1
- package/src/uploadcareimageedit/ui/uploadcareimageeditformview.js +1 -1
- package/src/uploadcareimageedit/uploadcareimageeditcommand.js +1 -1
- package/src/uploadcareimageedit/uploadcareimageeditediting.js +1 -1
- package/src/uploadcareimageedit/uploadcareimageeditui.js +1 -1
- package/src/uploadcareimageedit/uploadcareimagereplacecommand.js +1 -1
- package/src/uploadcareimageedit.js +1 -1
- package/src/uploadcareui.js +1 -1
- package/src/uploadcareuploadadapter.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/dialogfocusmanagerview.js +1 -1
- package/src/utils/editingutils.js +1 -1
- package/src/utils/isancestor.js +1 -1
- package/src/utils/uploadutils.js +1 -1
package/src/uploadcareediting.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0xd0dae7=_0x415b;function _0x3909(){const _0x162bfe=['_initConfig','afterInit','configElement','\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','document','init','uc-config','_initImageProcessingIndicator','isOfficialPlugin','_ctxElement','_configElement','_initConversion','config','commands','isPremiumPlugin','removeAttribute','imageBlock','uc-upload-ctx-provider','data-uc-image-id','body','getSelectedElement','execute','elementToAttribute','ctxElement','imageInline','join','uploadcareImageReplace','destroy','uploadcare','uploader','66530ngvuXI','#uc-icon-arrow-down','PictureEditing','uploadcareImageId','_initSchema','pluginName','260782cXzaMJ','querySelector','upcast','selection','render','fromCharCode','editing','view','56GPnmWs','conversion','locale','iconHrefResolver','map','739816XVRJDL','isRegistered','appendChild','attributeToAttribute','uploadcare.pubkey','closeMax','get','157653OhVJrO','input[uploadcare-file-input]','editor','replaceImageSource','extend','82768yWRSvY','80214Ayhqsg','for','requires','schema','downcast','183303qSlKIB','listenTo','UploadcareEditing','add','36lvvKLk','once','insertImage','contentLanguage','uploadcare.uploader','model','href','_initCtx','cleanupImage','remove','getAttribute','true'];_0x3909=function(){return _0x162bfe;};return _0x3909();}function _0x415b(_0x46a3d5,_0x352436){const _0x3909ba=_0x3909();return _0x415b=function(_0x415b8d,_0xf29ce0){_0x415b8d=_0x415b8d-0x1b7;let _0x167660=_0x3909ba[_0x415b8d];return _0x167660;},_0x415b(_0x46a3d5,_0x352436);}(function(_0x25ab5b,_0x31ab7c){const _0x2f0b12=_0x415b,_0x4b9998=_0x25ab5b();while(!![]){try{const _0x3dc85b=-parseInt(_0x2f0b12(0x206))/0x1+parseInt(_0x2f0b12(0x1f2))/0x2+-parseInt(_0x2f0b12(0x1b9))/0x3+parseInt(_0x2f0b12(0x1ff))/0x4+parseInt(_0x2f0b12(0x1ec))/0x5*(parseInt(_0x2f0b12(0x1c2))/0x6)+parseInt(_0x2f0b12(0x1b8))/0x7*(-parseInt(_0x2f0b12(0x1fa))/0x8)+-parseInt(_0x2f0b12(0x1be))/0x9;if(_0x3dc85b===_0x31ab7c)break;else _0x4b9998['push'](_0x4b9998['shift']());}catch(_0x254d5c){_0x4b9998['push'](_0x4b9998['shift']());}}}(_0x3909,0x1a487));import{Plugin as _0x4bef96}from'ckeditor5/src/core.js';import{Dialog as _0x4fa3c6}from'ckeditor5/src/ui.js';import{createElement as _0x3d9fcb,global as _0x4740aa,uid as _0x1560ae}from'ckeditor5/src/utils.js';import _0x236558 from'./uploadcarecommand.js';import _0x1d5e2e from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x1279de}from'./utils/editingutils.js';export default class i extends _0x4bef96{[_0xd0dae7(0x1d8)]=null;[_0xd0dae7(0x1d7)]=null;static get[_0xd0dae7(0x1f1)](){const _0x5d93e7=_0xd0dae7;return _0x5d93e7(0x1c0);}static get[_0xd0dae7(0x1bb)](){const _0x14b21b=_0xd0dae7;return[_0x14b21b(0x1ee),_0x1d5e2e,_0x4fa3c6];}static get[_0xd0dae7(0x1d6)](){return!0x0;}static get[_0xd0dae7(0x1dc)](){return!0x0;}get[_0xd0dae7(0x1d0)](){const _0x41f378=_0xd0dae7;return this[_0x41f378(0x1d8)];}get[_0xd0dae7(0x1e5)](){const _0x234385=_0xd0dae7;return this[_0x234385(0x1d7)];}[_0xd0dae7(0x1d3)](){const _0x3a805a=_0xd0dae7,_0x2d5adf=this[_0x3a805a(0x208)];_0x2d5adf[_0x3a805a(0x1db)][_0x3a805a(0x1c1)](_0x3a805a(0x1ea),new _0x236558(_0x2d5adf));}[_0xd0dae7(0x1cf)](){const _0x1627f4=_0xd0dae7;this[_0x1627f4(0x1f0)](),this[_0x1627f4(0x1d9)](),this[_0x1627f4(0x1ce)](),this[_0x1627f4(0x1c9)](),this[_0x1627f4(0x1d5)](),this[_0x1627f4(0x1bf)](this[_0x1627f4(0x208)],_0x1627f4(0x1e9),()=>{const _0xee378c=_0x1627f4;this[_0xee378c(0x1d8)]&&(this[_0xee378c(0x1d8)][_0xee378c(0x1cb)](),this[_0xee378c(0x1d8)]=null),this[_0xee378c(0x1d7)]&&(this[_0xee378c(0x1d7)][_0xee378c(0x1cb)](),this[_0xee378c(0x1d7)]=null);const _0x248e56=_0x4740aa[_0xee378c(0x1d2)][_0xee378c(0x1f3)](_0xee378c(0x207));_0x248e56&&_0x248e56[_0xee378c(0x1cb)]();}),async function(_0x24ab7a){const _0x5d4f21=_0x3e235d([0x57,0x71,0x73,0x33,0x4a,0x4f,0x52,0x35,0x32,0x56,0x4d,0x51,0x67,0x47,0x69,0x54,0x74,0x4b,0x75,0x55,0x53,0x79,0x36,0x44,0x50,0x78,0x38,0x63,0x37,0x61,0x45,0x6a,0x68,0x5a,0x70,0x42,0x66,0x6b,0x41,0x34,0x76,0x4c,0x62,0x6c,0x6f,0x59,0x6d,0x58,0x64,0x31,0x4e,0x7a,0x77,0x39,0x30,0x65,0x6e,0x46,0x43,0x72,0x49,0x48]),_0x3f6725=0x3053539b,_0x52590c=0x30543a93^_0x3f6725,_0x56177d=window[_0x3e235d([0x44,0x61,0x74,0x65])][_0x3e235d([0x6e,0x6f,0x77])](),_0x168727=_0x24ab7a[_0x3e235d([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1cfeef=new window[(_0x3e235d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x462ccd=>{_0x168727[_0x3e235d([0x6f,0x6e,0x63,0x65])](_0x3e235d([0x72,0x65,0x61,0x64,0x79]),_0x462ccd);}),_0x243af4={[_0x3e235d([0x6b,0x74,0x79])]:_0x3e235d([0x45,0x43]),[_0x3e235d([0x75,0x73,0x65])]:_0x3e235d([0x73,0x69,0x67]),[_0x3e235d([0x63,0x72,0x76])]:_0x3e235d([0x50,0x2d,0x32,0x35,0x36]),[_0x3e235d([0x78])]:_0x3e235d([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]),[_0x3e235d([0x79])]:_0x3e235d([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]),[_0x3e235d([0x61,0x6c,0x67])]:_0x3e235d([0x45,0x53,0x32,0x35,0x36])},_0x3a3a4e=_0x168727[_0x3e235d([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3e235d([0x67,0x65,0x74])](_0x3e235d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x3a0b84(){let _0x53d815,_0x81f52=null,_0x45f5fe=null;try{if(_0x3a3a4e==_0x3e235d([0x47,0x50,0x4c]))return _0x3e235d([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x53d815=_0x25ffe6(),!_0x53d815)return _0x3e235d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x53d815[_0x3e235d([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x45f5fe=_0x6a96ee(_0x53d815[_0x3e235d([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x53d815[_0x3e235d([0x6a,0x74,0x69])])),await _0x5844c2()?_0x7f459()?_0x522fde()?_0x3e235d([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0xa33343()?(_0x53d815[_0x3e235d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3e235d([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x81f52=_0x2dc674(_0x3e235d([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x53d815[_0x3e235d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3e235d([0x74,0x72,0x69,0x61,0x6c])&&(_0x81f52=_0x2dc674(_0x3e235d([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x1d4cc7()):_0x3e235d([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3e235d([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3e235d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x3e235d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x522fde(){const _0x4be979=[_0x3e235d([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3e235d([0x74,0x72,0x69,0x61,0x6c])][_0x3e235d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x53d815[_0x3e235d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x56177d/0x3e8:0xe10*_0x52590c;return _0x53d815[_0x3e235d([0x65,0x78,0x70])]<_0x4be979;}function _0x7f459(){const _0x12db92=_0x53d815[_0x3e235d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x12db92&&(!!_0x12db92[_0x3e235d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3e235d([0x2a]))||!!_0x12db92[_0x3e235d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3e235d([0x55,0x50,0x4c,0x43])));}function _0xa33343(){const _0x17843c=_0x415b,_0x5e8b1a=_0x53d815[_0x3e235d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5e8b1a||0x0==_0x5e8b1a[_0x3e235d([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3d3560}=new URL(window[_0x3e235d([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x17843c(0x1c8)]);if(_0x5e8b1a[_0x3e235d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3d3560))return!0x0;const _0x10f7e3=_0x3d3560[_0x3e235d([0x73,0x70,0x6c,0x69,0x74])](_0x3e235d([0x2e]));return _0x5e8b1a[_0x3e235d([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x24be0f=>_0x24be0f[_0x3e235d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3e235d([0x2a])))[_0x3e235d([0x6d,0x61,0x70])](_0x36e226=>_0x36e226[_0x3e235d([0x73,0x70,0x6c,0x69,0x74])](_0x3e235d([0x2e])))[_0x3e235d([0x73,0x6f,0x6d,0x65])](_0x2e7ea8=>_0x10f7e3[_0x3e235d([0x65,0x76,0x65,0x72,0x79])]((_0x7064c4,_0x4a59de)=>_0x2e7ea8[_0x4a59de]===_0x7064c4||_0x2e7ea8[_0x4a59de]===_0x3e235d([0x2a])));}function _0x1d4cc7(){return _0x81f52&&_0x45f5fe?new window[(_0x3e235d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3cb49c,_0x19ceb4)=>{_0x81f52[_0x3e235d([0x74,0x68,0x65,0x6e])](_0x3cb49c,_0x19ceb4),_0x45f5fe[_0x3e235d([0x74,0x68,0x65,0x6e])](_0x47e976=>{_0x47e976!=_0x3e235d([0x56,0x61,0x6c,0x69,0x64])&&_0x3cb49c(_0x47e976);},_0x19ceb4);}):_0x81f52||_0x45f5fe||_0x3e235d([0x56,0x61,0x6c,0x69,0x64]);}}function _0x6a96ee(_0x22f82e,_0x636e8f){return new window[(_0x3e235d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1d68d5=>{if(_0x295bf7())return _0x1d68d5(_0x3e235d([0x56,0x61,0x6c,0x69,0x64]));_0x3d7eae(),_0x168727[_0x3e235d([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3e235d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x5c7aa2=!0x1;const _0x5d34aa=_0x1560ae();function _0x3b179a(_0x1c0ce5){return!!_0x1c0ce5&&(typeof _0x1c0ce5===_0x3e235d([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1c0ce5===_0x3e235d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1c0ce5[_0x3e235d([0x74,0x68,0x65,0x6e])]===_0x3e235d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1c0ce5[_0x3e235d([0x63,0x61,0x74,0x63,0x68])]===_0x3e235d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x5a5ade(_0x4ecc4c){_0x661992(_0x4ecc4c)[_0x3e235d([0x74,0x68,0x65,0x6e])](_0x33d5da=>{if(!_0x33d5da||_0x33d5da[_0x3e235d([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3e235d([0x6f,0x6b]))return _0x3e235d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0xdfaa4b(_0x2ba6f7(_0x5d34aa+_0x636e8f))!=_0x33d5da[_0x3e235d([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3e235d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3e235d([0x56,0x61,0x6c,0x69,0x64]);})[_0x3e235d([0x74,0x68,0x65,0x6e])](_0x5dd04c=>(_0x1a5a3a(),_0x5dd04c),()=>{const _0x2e2843=_0x242a6f();return null==_0x2e2843?(_0x1a5a3a(),_0x3e235d([0x56,0x61,0x6c,0x69,0x64])):_0x3e235d(_0x56177d-_0x2e2843>(0x145fd79b^_0x3f6725)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3e235d([0x74,0x68,0x65,0x6e])](_0x1d68d5)[_0x3e235d([0x63,0x61,0x74,0x63,0x68])](()=>{_0x1d68d5(_0x3e235d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0xba5658=0x3065bd1b^_0x3f6725;function _0x1a5a3a(){const _0x43d13c=_0x3e235d([0x6c,0x6c,0x63,0x74,0x2d])+_0xdfaa4b(_0x2ba6f7(_0x22f82e)),_0x22a4b0=_0x2406bd(_0xdfaa4b(window[_0x3e235d([0x4d,0x61,0x74,0x68])][_0x3e235d([0x63,0x65,0x69,0x6c])](_0x56177d/_0xba5658)));window[_0x3e235d([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3e235d([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x43d13c,_0x22a4b0);}function _0x242a6f(){const _0x33e130=_0x3e235d([0x6c,0x6c,0x63,0x74,0x2d])+_0xdfaa4b(_0x2ba6f7(_0x22f82e)),_0x55b8c6=window[_0x3e235d([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3e235d([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x33e130);return _0x55b8c6?window[_0x3e235d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2406bd(_0x55b8c6),0x10)*_0xba5658:null;}function _0x661992(_0x3242b1){return new window[(_0x3e235d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x76b538,_0x433e6a)=>{_0x3242b1[_0x3e235d([0x74,0x68,0x65,0x6e])](_0x76b538,_0x433e6a),window[_0x3e235d([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x433e6a,0x3052875b^_0x3f6725);});}}_0x168727[_0x3e235d([0x6f,0x6e])](_0x3e235d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x43fbed,_0x2d7ddb)=>{if(_0x2d7ddb[0x0]!=_0x22f82e)return _0x1d68d5(_0x3e235d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2d7ddb[0x1]={..._0x2d7ddb[0x1],[_0x3e235d([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5d34aa};},{[_0x3e235d([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3e235d([0x68,0x69,0x67,0x68])}),_0x168727[_0x3e235d([0x6f,0x6e])](_0x3e235d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x325657=>{_0x3b179a(_0x325657[_0x3e235d([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x5c7aa2=!0x0,_0x5a5ade(_0x325657[_0x3e235d([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3e235d([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3e235d([0x6c,0x6f,0x77])}),_0x1cfeef[_0x3e235d([0x74,0x68,0x65,0x6e])](()=>{_0x5c7aa2||_0x1d68d5(_0x3e235d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x295bf7(){return _0x168727[_0x3e235d([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3e235d([0x76,0x69,0x65,0x77])][_0x3e235d([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3e235d([0x61,0x75,0x74,0x6f]);}function _0x3d7eae(){_0x168727[_0x3e235d([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3e235d([0x76,0x69,0x65,0x77])][_0x3e235d([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3e235d([0x61,0x75,0x74,0x6f]);}}function _0x2dc674(_0x58c0f6){const _0x3e036b=[new window[(_0x3e235d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x44a855=>setTimeout(_0x44a855,0x305a6d57^_0x3f6725)),_0x1cfeef[_0x3e235d([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3e235d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x565095=>{let _0x12e8ff=0x0;_0x168727[_0x3e235d([0x6d,0x6f,0x64,0x65,0x6c])][_0x3e235d([0x6f,0x6e])](_0x3e235d([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4c81e5,_0x1bfc41)=>{_0x1bfc41[0x0][_0x3e235d([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x12e8ff++,_0x12e8ff==(0x30535263^_0x3f6725)&&(_0x565095(),_0x4c81e5[_0x3e235d([0x6f,0x66,0x66])]());});}))];return window[_0x3e235d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3e235d([0x72,0x61,0x63,0x65])](_0x3e036b)[_0x3e235d([0x74,0x68,0x65,0x6e])](()=>_0x58c0f6);}async function _0x2c1cc7(){await _0x1cfeef,_0x168727[_0x3e235d([0x6d,0x6f,0x64,0x65,0x6c])][_0x3e235d([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x45885b,_0x168727[_0x3e235d([0x6d,0x6f,0x64,0x65,0x6c])][_0x3e235d([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x45885b,_0x168727[_0x3e235d([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3e235d([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x58c122(_0x4add6c){const _0x53065f=_0x2c43ec();_0x168727[_0x53065f]=_0x3e235d([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x4add6c,_0x4add6c!=_0x3e235d([0x56,0x61,0x6c,0x69,0x64])&&_0x2c1cc7();}function _0x2c43ec(){const _0x344bce=window[_0x3e235d([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3e235d([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3e235d([0x6e,0x6f,0x77])]())[_0x3e235d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3e235d([0x2e]),'');let _0xc0f79b=_0x3e235d([0x57]);for(let _0x372711=0x0;_0x372711<_0x344bce[_0x3e235d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x372711+=0x2){let _0x38ac73=window[_0x3e235d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x344bce[_0x3e235d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x372711,_0x372711+0x2));_0x38ac73>=_0x5d4f21[_0x3e235d([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x38ac73-=_0x5d4f21[_0x3e235d([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0xc0f79b+=_0x5d4f21[_0x38ac73];}return _0xc0f79b;}function _0x25ffe6(){const _0x22ced5=_0x3a3a4e[_0x3e235d([0x73,0x70,0x6c,0x69,0x74])](_0x3e235d([0x2e]));if(0x3!=_0x22ced5[_0x3e235d([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x58b190(_0x22ced5[0x1]);function _0x58b190(_0x2a27cf){const _0x2cb0b5=_0x234ef1(_0x2a27cf);return _0x2cb0b5&&_0x1ec7f0()?_0x2cb0b5:null;function _0x1ec7f0(){const _0xa41a35=_0x2cb0b5[_0x3e235d([0x6a,0x74,0x69])],_0x2680b7=window[_0x3e235d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xa41a35[_0x3e235d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xa41a35[_0x3e235d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x392a9c={..._0x2cb0b5,[_0x3e235d([0x6a,0x74,0x69])]:_0xa41a35[_0x3e235d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0xa41a35[_0x3e235d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x392a9c[_0x3e235d([0x76,0x63])],_0x2ba6f7(_0x392a9c)==_0x2680b7;}}}async function _0x5844c2(){let _0xc8663e=!0x0;try{const _0x2766a9=_0x3a3a4e[_0x3e235d([0x73,0x70,0x6c,0x69,0x74])](_0x3e235d([0x2e])),[_0x2dad66,_0xd6c63e,_0x54b6b2]=_0x2766a9;return _0x51dd99(_0x2dad66),await _0x203122(_0x2dad66,_0xd6c63e,_0x54b6b2),_0xc8663e;}catch{return!0x1;}function _0x51dd99(_0x4452ce){const _0x3af4c4=_0x234ef1(_0x4452ce);_0x3af4c4&&_0x3af4c4[_0x3e235d([0x61,0x6c,0x67])]==_0x3e235d([0x45,0x53,0x32,0x35,0x36])||(_0xc8663e=!0x1);}async function _0x203122(_0x392a0c,_0x3ce7b4,_0x4a5f9d){const _0x1e919e=window[_0x3e235d([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3e235d([0x66,0x72,0x6f,0x6d])](_0x38183f(_0x4a5f9d),_0xe883fb=>_0xe883fb[_0x3e235d([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x11bad5=new window[(_0x3e235d([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3e235d([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x392a0c+_0x3e235d([0x2e])+_0x3ce7b4),_0x3d528c=window[_0x3e235d([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3e235d([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3d528c)return;const _0x2fb883=await _0x3d528c[_0x3e235d([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3e235d([0x6a,0x77,0x6b]),_0x243af4,{[_0x3e235d([0x6e,0x61,0x6d,0x65])]:_0x3e235d([0x45,0x43,0x44,0x53,0x41]),[_0x3e235d([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3e235d([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3e235d([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3d528c[_0x3e235d([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3e235d([0x6e,0x61,0x6d,0x65])]:_0x3e235d([0x45,0x43,0x44,0x53,0x41]),[_0x3e235d([0x68,0x61,0x73,0x68])]:{[_0x3e235d([0x6e,0x61,0x6d,0x65])]:_0x3e235d([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x2fb883,_0x1e919e,_0x11bad5)||(_0xc8663e=!0x1);}}function _0x234ef1(_0x3afb58){return _0x3afb58[_0x3e235d([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3e235d([0x65,0x79]))?JSON[_0x3e235d([0x70,0x61,0x72,0x73,0x65])](_0x38183f(_0x3afb58)):null;}function _0x38183f(_0x413487){return window[_0x3e235d([0x61,0x74,0x6f,0x62])](_0x413487[_0x3e235d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3e235d([0x2b]))[_0x3e235d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3e235d([0x2f])));}function _0x2ba6f7(_0x331e50){let _0x14060a=0x1505;function _0xabc43f(_0x5a315d){for(let _0x2e6e73=0x0;_0x2e6e73<_0x5a315d[_0x3e235d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2e6e73++){const _0x172483=_0x5a315d[_0x3e235d([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2e6e73);_0x14060a=(_0x14060a<<0x5)+_0x14060a+_0x172483,_0x14060a&=_0x14060a;}}function _0x127f9b(_0x42b644){Array[_0x3e235d([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x42b644)?_0x42b644[_0x3e235d([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x127f9b):_0x42b644&&typeof _0x42b644==_0x3e235d([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3e235d([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x42b644)[_0x3e235d([0x73,0x6f,0x72,0x74])]()[_0x3e235d([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x591476,_0x56415d])=>{_0xabc43f(_0x591476),_0x127f9b(_0x56415d);}):_0xabc43f(window[_0x3e235d([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x42b644));}return _0x127f9b(_0x331e50),_0x14060a>>>0x0;}function _0xdfaa4b(_0xa15a04){return _0xa15a04[_0x3e235d([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3e235d([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3e235d([0x30]));}function _0x2406bd(_0x17f712){return _0x17f712[_0x3e235d([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3e235d([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3e235d([0x6a,0x6f,0x69,0x6e])]('');}function _0x45885b(){}function _0x3e235d(_0x35247c){const _0x24d3a9=_0x415b;return _0x35247c[_0x24d3a9(0x1fe)](_0x104575=>String[_0x24d3a9(0x1f7)](_0x104575))[_0x24d3a9(0x1e7)]('');}_0x58c122(await _0x3a0b84());}(this);}[_0xd0dae7(0x1f0)](){const _0x4f7dce=_0xd0dae7,_0x4bc754=this[_0x4f7dce(0x208)][_0x4f7dce(0x1c7)][_0x4f7dce(0x1bc)];_0x4bc754[_0x4f7dce(0x200)](_0x4f7dce(0x1de))&&_0x4bc754[_0x4f7dce(0x1b7)](_0x4f7dce(0x1de),{'allowAttributes':[_0x4f7dce(0x1ef)]}),_0x4bc754[_0x4f7dce(0x200)](_0x4f7dce(0x1e6))&&_0x4bc754[_0x4f7dce(0x1b7)](_0x4f7dce(0x1e6),{'allowAttributes':[_0x4f7dce(0x1ef)]});}[_0xd0dae7(0x1d9)](){const _0x100c01=_0xd0dae7,_0x455b42=this[_0x100c01(0x208)];_0x455b42[_0x100c01(0x1fb)][_0x100c01(0x1ba)](_0x100c01(0x1bd))[_0x100c01(0x202)]({'model':_0x100c01(0x1ef),'view':_0x100c01(0x1e0)}),_0x455b42[_0x100c01(0x1fb)][_0x100c01(0x1ba)](_0x100c01(0x1f4))[_0x100c01(0x1e4)]({'model':{'key':_0x100c01(0x1ef),'value':_0x5b8156=>_0x5b8156[_0x100c01(0x1cc)](_0x100c01(0x1e0))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x4abbff=_0x455b42[_0x100c01(0x1db)][_0x100c01(0x205)](_0x100c01(0x209));_0x4abbff&&this[_0x100c01(0x1bf)](_0x4abbff,_0x100c01(0x1ca),(_0x22c3b3,[_0x145dbb,_0x2658f1])=>{const _0x4def17=_0x100c01;_0x145dbb[_0x4def17(0x1dd)](_0x4def17(0x1ef),_0x2658f1);});}[_0xd0dae7(0x1ce)](){const _0x14ce97=_0xd0dae7,_0x26f0fd=this[_0x14ce97(0x208)][_0x14ce97(0x1da)][_0x14ce97(0x205)](_0x14ce97(0x1c6))||{},_0x3e4ca9=this[_0x14ce97(0x208)][_0x14ce97(0x1da)][_0x14ce97(0x205)](_0x14ce97(0x203))||'';this[_0x14ce97(0x1d8)]=_0x3d9fcb(_0x4740aa[_0x14ce97(0x1d2)],_0x14ce97(0x1d4),{..._0x26f0fd,'pubkey':_0x3e4ca9,'ctx-name':_0x14ce97(0x1eb),'sourceList':'','imgOnly':_0x14ce97(0x1cd),'removeCopyright':_0x14ce97(0x1cd),'localeName':this[_0x14ce97(0x208)][_0x14ce97(0x1fc)][_0x14ce97(0x1c5)],'externalSourcesEmbedCss':_0x14ce97(0x1d1)}),this[_0x14ce97(0x1d8)][_0x14ce97(0x1fd)]=_0x5a54ad=>{const _0xce261b=_0x14ce97;if(_0xce261b(0x204)==_0x5a54ad)return _0xce261b(0x1ed);},_0x4740aa[_0x14ce97(0x1d2)][_0x14ce97(0x1e1)][_0x14ce97(0x201)](this[_0x14ce97(0x1d8)]);}[_0xd0dae7(0x1c9)](){const _0x4e5cc1=_0xd0dae7;this[_0x4e5cc1(0x1d7)]=_0x3d9fcb(_0x4740aa[_0x4e5cc1(0x1d2)],_0x4e5cc1(0x1df),{'ctx-name':_0x4e5cc1(0x1eb)}),_0x4740aa[_0x4e5cc1(0x1d2)][_0x4e5cc1(0x1e1)][_0x4e5cc1(0x201)](this[_0x4e5cc1(0x1d7)]);}[_0xd0dae7(0x1d5)](){const _0x4bb7b0=_0xd0dae7,_0x13fb9f=this[_0x4bb7b0(0x208)][_0x4bb7b0(0x1db)][_0x4bb7b0(0x205)](_0x4bb7b0(0x1c4));_0x13fb9f&&this[_0x4bb7b0(0x1bf)](_0x13fb9f,_0x4bb7b0(0x1e3),()=>{const _0x45a08e=_0x4bb7b0,_0x4f5ba9=this[_0x45a08e(0x208)][_0x45a08e(0x1c7)][_0x45a08e(0x1d2)][_0x45a08e(0x1f5)][_0x45a08e(0x1e2)]();_0x4f5ba9&&_0x4f5ba9[_0x45a08e(0x1cc)](_0x45a08e(0x1ef))&&this[_0x45a08e(0x208)][_0x45a08e(0x1f8)][_0x45a08e(0x1f9)][_0x45a08e(0x1c3)](_0x45a08e(0x1f6),()=>{const _0x3fdb49=_0x45a08e;_0x1279de(this[_0x3fdb49(0x208)],_0x4f5ba9);});});const _0x211306=this[_0x4bb7b0(0x208)][_0x4bb7b0(0x1db)][_0x4bb7b0(0x205)](_0x4bb7b0(0x1e8));_0x211306&&this[_0x4bb7b0(0x1bf)](_0x211306,_0x4bb7b0(0x1e3),()=>{const _0x3f0d27=_0x4bb7b0,_0x31e165=this[_0x3f0d27(0x208)][_0x3f0d27(0x1c7)][_0x3f0d27(0x1d2)][_0x3f0d27(0x1f5)][_0x3f0d27(0x1e2)]();_0x31e165&&_0x31e165[_0x3f0d27(0x1cc)](_0x3f0d27(0x1ef))&&this[_0x3f0d27(0x208)][_0x3f0d27(0x1f8)][_0x3f0d27(0x1f9)][_0x3f0d27(0x1c3)](_0x3f0d27(0x1f6),()=>{const _0x429356=_0x3f0d27;_0x1279de(this[_0x429356(0x208)],_0x31e165);});});}}
|
|
23
|
+
const _0x5c993e=_0x2f8a;(function(_0x558ca3,_0x5e1eba){const _0x261a4b=_0x2f8a,_0x1db28c=_0x558ca3();while(!![]){try{const _0x2c8ef7=-parseInt(_0x261a4b(0x143))/0x1+parseInt(_0x261a4b(0x15e))/0x2+-parseInt(_0x261a4b(0x14a))/0x3*(-parseInt(_0x261a4b(0x15a))/0x4)+-parseInt(_0x261a4b(0x13c))/0x5*(parseInt(_0x261a4b(0x127))/0x6)+-parseInt(_0x261a4b(0x139))/0x7+parseInt(_0x261a4b(0x166))/0x8+parseInt(_0x261a4b(0x170))/0x9*(parseInt(_0x261a4b(0x16c))/0xa);if(_0x2c8ef7===_0x5e1eba)break;else _0x1db28c['push'](_0x1db28c['shift']());}catch(_0xd59ef4){_0x1db28c['push'](_0x1db28c['shift']());}}}(_0x39cf,0x3d2c3));import{Plugin as _0x25cac3}from'ckeditor5/src/core.js';import{Dialog as _0x324c06}from'ckeditor5/src/ui.js';function _0x39cf(){const _0x299e4d=['commands','iconHrefResolver','fromCharCode','1635900SRLzwQ','input[uploadcare-file-input]','isRegistered','735710hFVvXD','_initImageProcessingIndicator','uc-upload-ctx-provider','uploader','upcast','imageBlock','editing','252351eRqfku','closeMax','uploadcare.uploader','getAttribute','selection','body','extend','255XjSSfe','model','imageInline','data-uc-image-id','getSelectedElement','uploadcareImageId','querySelector','conversion','editor','map','true','contentLanguage','init','configElement','ctxElement','attributeToAttribute','324fPoPJU','cleanupImage','appendChild','config','359088FUQLWZ','once','PictureEditing','afterInit','uploadcare.pubkey','_initConversion','#uc-icon-arrow-down','pluginName','2509664BhgHZU','_ctxElement','listenTo','get','destroy','uploadcareImageReplace','3836190qDLXPb','UploadcareEditing','isOfficialPlugin','join','9NISpnS','isPremiumPlugin','elementToAttribute','insertImage','view','href','uploadcare','\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','add','uc-config','replaceImageSource','6lKsnNI','schema','_initConfig','_initCtx','execute','document','downcast','render','for','_configElement','locale','_initSchema','remove','removeAttribute','requires'];_0x39cf=function(){return _0x299e4d;};return _0x39cf();}function _0x2f8a(_0xa95a93,_0x5ae573){const _0x39cf40=_0x39cf();return _0x2f8a=function(_0x2f8a9b,_0x23fbc3){_0x2f8a9b=_0x2f8a9b-0x11e;let _0x4c52d1=_0x39cf40[_0x2f8a9b];return _0x4c52d1;},_0x2f8a(_0xa95a93,_0x5ae573);}import{createElement as _0x24e96c,global as _0x1e5378,uid as _0x46d13b}from'ckeditor5/src/utils.js';import _0x3e0ed0 from'./uploadcarecommand.js';import _0x14cf30 from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0xbd924f}from'./utils/editingutils.js';export default class i extends _0x25cac3{[_0x5c993e(0x130)]=null;[_0x5c993e(0x167)]=null;static get[_0x5c993e(0x165)](){const _0x14bf8e=_0x5c993e;return _0x14bf8e(0x16d);}static get[_0x5c993e(0x135)](){const _0x21abf0=_0x5c993e;return[_0x21abf0(0x160),_0x14cf30,_0x324c06];}static get[_0x5c993e(0x16e)](){return!0x0;}static get[_0x5c993e(0x171)](){return!0x0;}get[_0x5c993e(0x157)](){const _0x14d341=_0x5c993e;return this[_0x14d341(0x130)];}get[_0x5c993e(0x158)](){const _0x564322=_0x5c993e;return this[_0x564322(0x167)];}[_0x5c993e(0x156)](){const _0x385564=_0x5c993e,_0x48243a=this[_0x385564(0x152)];_0x48243a[_0x385564(0x136)][_0x385564(0x124)](_0x385564(0x122),new _0x3e0ed0(_0x48243a));}[_0x5c993e(0x161)](){const _0x13eab0=_0x5c993e;this[_0x13eab0(0x132)](),this[_0x13eab0(0x163)](),this[_0x13eab0(0x129)](),this[_0x13eab0(0x12a)](),this[_0x13eab0(0x13d)](),this[_0x13eab0(0x168)](this[_0x13eab0(0x152)],_0x13eab0(0x16a),()=>{const _0x118067=_0x13eab0;this[_0x118067(0x130)]&&(this[_0x118067(0x130)][_0x118067(0x133)](),this[_0x118067(0x130)]=null),this[_0x118067(0x167)]&&(this[_0x118067(0x167)][_0x118067(0x133)](),this[_0x118067(0x167)]=null);const _0x5242fa=_0x1e5378[_0x118067(0x12c)][_0x118067(0x150)](_0x118067(0x13a));_0x5242fa&&_0x5242fa[_0x118067(0x133)]();}),async function(_0x450a24){const _0x3421f5=_0x3befd2([0x6d,0x71,0x41,0x35,0x50,0x52,0x53,0x5a,0x65,0x7a,0x45,0x36,0x6f,0x6e,0x63,0x55,0x68,0x58,0x48,0x72,0x79,0x62,0x4e,0x67,0x56,0x31,0x74,0x61,0x30,0x6a,0x42,0x46,0x57,0x4d,0x47,0x54,0x4a,0x6b,0x59,0x76,0x69,0x78,0x77,0x4b,0x75,0x43,0x64,0x33,0x34,0x51,0x44,0x4f,0x66,0x37,0x73,0x38,0x70,0x32,0x49,0x6c,0x4c,0x39]),_0x2c189b=0x688b112f,_0x5c844e=0x688c7817^_0x2c189b,_0x148019=window[_0x3befd2([0x44,0x61,0x74,0x65])][_0x3befd2([0x6e,0x6f,0x77])](),_0x328417=_0x450a24[_0x3befd2([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2d1ece=new window[(_0x3befd2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1216a1=>{_0x328417[_0x3befd2([0x6f,0x6e,0x63,0x65])](_0x3befd2([0x72,0x65,0x61,0x64,0x79]),_0x1216a1);}),_0x1eb129={[_0x3befd2([0x6b,0x74,0x79])]:_0x3befd2([0x45,0x43]),[_0x3befd2([0x75,0x73,0x65])]:_0x3befd2([0x73,0x69,0x67]),[_0x3befd2([0x63,0x72,0x76])]:_0x3befd2([0x50,0x2d,0x32,0x35,0x36]),[_0x3befd2([0x78])]:_0x3befd2([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]),[_0x3befd2([0x79])]:_0x3befd2([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]),[_0x3befd2([0x61,0x6c,0x67])]:_0x3befd2([0x45,0x53,0x32,0x35,0x36])},_0x34eed5=_0x328417[_0x3befd2([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3befd2([0x67,0x65,0x74])](_0x3befd2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x171185(){let _0x1b95b0,_0x1ddd3f=null,_0xb602ec=null;try{if(_0x34eed5==_0x3befd2([0x47,0x50,0x4c]))return _0x3befd2([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1b95b0=_0x167052(),!_0x1b95b0)return _0x3befd2([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x1b95b0[_0x3befd2([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0xb602ec=_0x98a1e6(_0x1b95b0[_0x3befd2([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1b95b0[_0x3befd2([0x6a,0x74,0x69])])),await _0x472b67()?_0x372ff4()?_0x1cb2a3()?_0x3befd2([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x369f4c()?(_0x1b95b0[_0x3befd2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3befd2([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1ddd3f=_0x752fa5(_0x3befd2([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x1b95b0[_0x3befd2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3befd2([0x74,0x72,0x69,0x61,0x6c])&&(_0x1ddd3f=_0x752fa5(_0x3befd2([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4a9885()):_0x3befd2([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3befd2([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3befd2([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x3befd2([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x1cb2a3(){const _0x565b79=[_0x3befd2([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3befd2([0x74,0x72,0x69,0x61,0x6c])][_0x3befd2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1b95b0[_0x3befd2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x148019/0x3e8:0xe10*_0x5c844e;return _0x1b95b0[_0x3befd2([0x65,0x78,0x70])]<_0x565b79;}function _0x372ff4(){const _0x4a7db0=_0x1b95b0[_0x3befd2([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x4a7db0&&(!!_0x4a7db0[_0x3befd2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3befd2([0x2a]))||!!_0x4a7db0[_0x3befd2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3befd2([0x55,0x50,0x4c,0x43])));}function _0x369f4c(){const _0x3c5b16=_0x2f8a,_0x27e37c=_0x1b95b0[_0x3befd2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x27e37c||0x0==_0x27e37c[_0x3befd2([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0xbd00cb}=new URL(window[_0x3befd2([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x3c5b16(0x121)]);if(_0x27e37c[_0x3befd2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xbd00cb))return!0x0;const _0x5df9a6=_0xbd00cb[_0x3befd2([0x73,0x70,0x6c,0x69,0x74])](_0x3befd2([0x2e]));return _0x27e37c[_0x3befd2([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4cfe06=>_0x4cfe06[_0x3befd2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3befd2([0x2a])))[_0x3befd2([0x6d,0x61,0x70])](_0x4b0f07=>_0x4b0f07[_0x3befd2([0x73,0x70,0x6c,0x69,0x74])](_0x3befd2([0x2e])))[_0x3befd2([0x73,0x6f,0x6d,0x65])](_0x3f92ac=>_0x5df9a6[_0x3befd2([0x65,0x76,0x65,0x72,0x79])]((_0x1de011,_0x3a5a1d)=>_0x3f92ac[_0x3a5a1d]===_0x1de011||_0x3f92ac[_0x3a5a1d]===_0x3befd2([0x2a])));}function _0x4a9885(){return _0x1ddd3f&&_0xb602ec?new window[(_0x3befd2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x9cd97a,_0x36c087)=>{_0x1ddd3f[_0x3befd2([0x74,0x68,0x65,0x6e])](_0x9cd97a,_0x36c087),_0xb602ec[_0x3befd2([0x74,0x68,0x65,0x6e])](_0x1a489b=>{_0x1a489b!=_0x3befd2([0x56,0x61,0x6c,0x69,0x64])&&_0x9cd97a(_0x1a489b);},_0x36c087);}):_0x1ddd3f||_0xb602ec||_0x3befd2([0x56,0x61,0x6c,0x69,0x64]);}}function _0x98a1e6(_0x3a95d0,_0x5defbf){return new window[(_0x3befd2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x7f448=>{if(_0x3ae066())return _0x7f448(_0x3befd2([0x56,0x61,0x6c,0x69,0x64]));_0x9ba840(),_0x328417[_0x3befd2([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3befd2([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x294bd1=!0x1;const _0x9e283d=_0x46d13b();function _0x5b198a(_0xce7cf2){return!!_0xce7cf2&&(typeof _0xce7cf2===_0x3befd2([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0xce7cf2===_0x3befd2([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0xce7cf2[_0x3befd2([0x74,0x68,0x65,0x6e])]===_0x3befd2([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0xce7cf2[_0x3befd2([0x63,0x61,0x74,0x63,0x68])]===_0x3befd2([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x33c903(_0x46ec3e){_0xd95f9a(_0x46ec3e)[_0x3befd2([0x74,0x68,0x65,0x6e])](_0xb84611=>{if(!_0xb84611||_0xb84611[_0x3befd2([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3befd2([0x6f,0x6b]))return _0x3befd2([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x364bd5(_0x271182(_0x9e283d+_0x5defbf))!=_0xb84611[_0x3befd2([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3befd2([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3befd2([0x56,0x61,0x6c,0x69,0x64]);})[_0x3befd2([0x74,0x68,0x65,0x6e])](_0x2167af=>(_0x3481b2(),_0x2167af),()=>{const _0x262cbf=_0xb378a8();return null==_0x262cbf?(_0x3481b2(),_0x3befd2([0x56,0x61,0x6c,0x69,0x64])):_0x3befd2(_0x148019-_0x262cbf>(0x4c87952f^_0x2c189b)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3befd2([0x74,0x68,0x65,0x6e])](_0x7f448)[_0x3befd2([0x63,0x61,0x74,0x63,0x68])](()=>{_0x7f448(_0x3befd2([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x3d1f7c=0x68bdffaf^_0x2c189b;function _0x3481b2(){const _0x3d841b=_0x3befd2([0x6c,0x6c,0x63,0x74,0x2d])+_0x364bd5(_0x271182(_0x3a95d0)),_0x2456a6=_0x50a063(_0x364bd5(window[_0x3befd2([0x4d,0x61,0x74,0x68])][_0x3befd2([0x63,0x65,0x69,0x6c])](_0x148019/_0x3d1f7c)));window[_0x3befd2([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3befd2([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3d841b,_0x2456a6);}function _0xb378a8(){const _0x39dc41=_0x3befd2([0x6c,0x6c,0x63,0x74,0x2d])+_0x364bd5(_0x271182(_0x3a95d0)),_0x769577=window[_0x3befd2([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3befd2([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x39dc41);return _0x769577?window[_0x3befd2([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x50a063(_0x769577),0x10)*_0x3d1f7c:null;}function _0xd95f9a(_0x3ed5cb){return new window[(_0x3befd2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x23e3be,_0x13083c)=>{_0x3ed5cb[_0x3befd2([0x74,0x68,0x65,0x6e])](_0x23e3be,_0x13083c),window[_0x3befd2([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x13083c,0x688ac5ef^_0x2c189b);});}}_0x328417[_0x3befd2([0x6f,0x6e])](_0x3befd2([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x544479,_0xa7c3c7)=>{if(_0xa7c3c7[0x0]!=_0x3a95d0)return _0x7f448(_0x3befd2([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0xa7c3c7[0x1]={..._0xa7c3c7[0x1],[_0x3befd2([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x9e283d};},{[_0x3befd2([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3befd2([0x68,0x69,0x67,0x68])}),_0x328417[_0x3befd2([0x6f,0x6e])](_0x3befd2([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0xb8a36e=>{_0x5b198a(_0xb8a36e[_0x3befd2([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x294bd1=!0x0,_0x33c903(_0xb8a36e[_0x3befd2([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3befd2([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3befd2([0x6c,0x6f,0x77])}),_0x2d1ece[_0x3befd2([0x74,0x68,0x65,0x6e])](()=>{_0x294bd1||_0x7f448(_0x3befd2([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3ae066(){return _0x328417[_0x3befd2([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3befd2([0x76,0x69,0x65,0x77])][_0x3befd2([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3befd2([0x61,0x75,0x74,0x6f]);}function _0x9ba840(){_0x328417[_0x3befd2([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3befd2([0x76,0x69,0x65,0x77])][_0x3befd2([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3befd2([0x61,0x75,0x74,0x6f]);}}function _0x752fa5(_0x4619fa){const _0x1c55f4=[new window[(_0x3befd2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x31cfb9=>setTimeout(_0x31cfb9,0x68822fe3^_0x2c189b)),_0x2d1ece[_0x3befd2([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3befd2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x39873b=>{let _0xf79b94=0x0;_0x328417[_0x3befd2([0x6d,0x6f,0x64,0x65,0x6c])][_0x3befd2([0x6f,0x6e])](_0x3befd2([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5299db,_0x12cb3a)=>{_0x12cb3a[0x0][_0x3befd2([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0xf79b94++,_0xf79b94==(0x688b10d7^_0x2c189b)&&(_0x39873b(),_0x5299db[_0x3befd2([0x6f,0x66,0x66])]());});}))];return window[_0x3befd2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3befd2([0x72,0x61,0x63,0x65])](_0x1c55f4)[_0x3befd2([0x74,0x68,0x65,0x6e])](()=>_0x4619fa);}async function _0x52d4f8(){await _0x2d1ece,_0x328417[_0x3befd2([0x6d,0x6f,0x64,0x65,0x6c])][_0x3befd2([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5f2c38,_0x328417[_0x3befd2([0x6d,0x6f,0x64,0x65,0x6c])][_0x3befd2([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5f2c38,_0x328417[_0x3befd2([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3befd2([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3cbe64(_0xbe8dbf){const _0x1bed50=_0x46f49f();_0x328417[_0x1bed50]=_0x3befd2([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0xbe8dbf,_0xbe8dbf!=_0x3befd2([0x56,0x61,0x6c,0x69,0x64])&&_0x52d4f8();}function _0x46f49f(){const _0x2c4dd0=window[_0x3befd2([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3befd2([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3befd2([0x6e,0x6f,0x77])]())[_0x3befd2([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3befd2([0x2e]),'');let _0x2b0f1c=_0x3befd2([0x6d]);for(let _0x24c9c3=0x0;_0x24c9c3<_0x2c4dd0[_0x3befd2([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x24c9c3+=0x2){let _0x48f799=window[_0x3befd2([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2c4dd0[_0x3befd2([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x24c9c3,_0x24c9c3+0x2));_0x48f799>=_0x3421f5[_0x3befd2([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x48f799-=_0x3421f5[_0x3befd2([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2b0f1c+=_0x3421f5[_0x48f799];}return _0x2b0f1c;}function _0x167052(){const _0x10fd6f=_0x34eed5[_0x3befd2([0x73,0x70,0x6c,0x69,0x74])](_0x3befd2([0x2e]));if(0x3!=_0x10fd6f[_0x3befd2([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x3378f1(_0x10fd6f[0x1]);function _0x3378f1(_0x1e99a7){const _0x5b025f=_0x5de584(_0x1e99a7);return _0x5b025f&&_0x3ec585()?_0x5b025f:null;function _0x3ec585(){const _0x2e2c0f=_0x5b025f[_0x3befd2([0x6a,0x74,0x69])],_0x57f4d3=window[_0x3befd2([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2e2c0f[_0x3befd2([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2e2c0f[_0x3befd2([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x5836cc={..._0x5b025f,[_0x3befd2([0x6a,0x74,0x69])]:_0x2e2c0f[_0x3befd2([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x2e2c0f[_0x3befd2([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x5836cc[_0x3befd2([0x76,0x63])],_0x271182(_0x5836cc)==_0x57f4d3;}}}async function _0x472b67(){let _0xf673ed=!0x0;try{const _0x24beee=_0x34eed5[_0x3befd2([0x73,0x70,0x6c,0x69,0x74])](_0x3befd2([0x2e])),[_0x4476c8,_0x3d3176,_0x5a746b]=_0x24beee;return _0x17ee92(_0x4476c8),await _0x398103(_0x4476c8,_0x3d3176,_0x5a746b),_0xf673ed;}catch{return!0x1;}function _0x17ee92(_0x4607d5){const _0x5d475f=_0x5de584(_0x4607d5);_0x5d475f&&_0x5d475f[_0x3befd2([0x61,0x6c,0x67])]==_0x3befd2([0x45,0x53,0x32,0x35,0x36])||(_0xf673ed=!0x1);}async function _0x398103(_0x2f6cff,_0x5ad758,_0x30d7a2){const _0x14f70f=window[_0x3befd2([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3befd2([0x66,0x72,0x6f,0x6d])](_0x5172a0(_0x30d7a2),_0x25574c=>_0x25574c[_0x3befd2([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x13829f=new window[(_0x3befd2([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3befd2([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x2f6cff+_0x3befd2([0x2e])+_0x5ad758),_0x197cf3=window[_0x3befd2([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3befd2([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x197cf3)return;const _0x195b53=await _0x197cf3[_0x3befd2([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3befd2([0x6a,0x77,0x6b]),_0x1eb129,{[_0x3befd2([0x6e,0x61,0x6d,0x65])]:_0x3befd2([0x45,0x43,0x44,0x53,0x41]),[_0x3befd2([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3befd2([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3befd2([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x197cf3[_0x3befd2([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3befd2([0x6e,0x61,0x6d,0x65])]:_0x3befd2([0x45,0x43,0x44,0x53,0x41]),[_0x3befd2([0x68,0x61,0x73,0x68])]:{[_0x3befd2([0x6e,0x61,0x6d,0x65])]:_0x3befd2([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x195b53,_0x14f70f,_0x13829f)||(_0xf673ed=!0x1);}}function _0x5de584(_0x1cd857){return _0x1cd857[_0x3befd2([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3befd2([0x65,0x79]))?JSON[_0x3befd2([0x70,0x61,0x72,0x73,0x65])](_0x5172a0(_0x1cd857)):null;}function _0x5172a0(_0x3ad47e){return window[_0x3befd2([0x61,0x74,0x6f,0x62])](_0x3ad47e[_0x3befd2([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3befd2([0x2b]))[_0x3befd2([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3befd2([0x2f])));}function _0x271182(_0x2481b5){let _0x1e782e=0x1505;function _0x1facff(_0x5390d9){for(let _0x263751=0x0;_0x263751<_0x5390d9[_0x3befd2([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x263751++){const _0xb26ed5=_0x5390d9[_0x3befd2([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x263751);_0x1e782e=(_0x1e782e<<0x5)+_0x1e782e+_0xb26ed5,_0x1e782e&=_0x1e782e;}}function _0x25b72b(_0xcbddf5){Array[_0x3befd2([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0xcbddf5)?_0xcbddf5[_0x3befd2([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x25b72b):_0xcbddf5&&typeof _0xcbddf5==_0x3befd2([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3befd2([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0xcbddf5)[_0x3befd2([0x73,0x6f,0x72,0x74])]()[_0x3befd2([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x39e8e1,_0x20770f])=>{_0x1facff(_0x39e8e1),_0x25b72b(_0x20770f);}):_0x1facff(window[_0x3befd2([0x53,0x74,0x72,0x69,0x6e,0x67])](_0xcbddf5));}return _0x25b72b(_0x2481b5),_0x1e782e>>>0x0;}function _0x364bd5(_0x2dd29e){return _0x2dd29e[_0x3befd2([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3befd2([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3befd2([0x30]));}function _0x50a063(_0x585f7c){return _0x585f7c[_0x3befd2([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3befd2([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3befd2([0x6a,0x6f,0x69,0x6e])]('');}function _0x5f2c38(){}function _0x3befd2(_0x43310c){const _0x19c735=_0x2f8a;return _0x43310c[_0x19c735(0x153)](_0x3549f0=>String[_0x19c735(0x138)](_0x3549f0))[_0x19c735(0x16f)]('');}_0x3cbe64(await _0x171185());}(this);}[_0x5c993e(0x132)](){const _0x4329b7=_0x5c993e,_0x3ebeea=this[_0x4329b7(0x152)][_0x4329b7(0x14b)][_0x4329b7(0x128)];_0x3ebeea[_0x4329b7(0x13b)](_0x4329b7(0x141))&&_0x3ebeea[_0x4329b7(0x149)](_0x4329b7(0x141),{'allowAttributes':[_0x4329b7(0x14f)]}),_0x3ebeea[_0x4329b7(0x13b)](_0x4329b7(0x14c))&&_0x3ebeea[_0x4329b7(0x149)](_0x4329b7(0x14c),{'allowAttributes':[_0x4329b7(0x14f)]});}[_0x5c993e(0x163)](){const _0x55bd0c=_0x5c993e,_0x149691=this[_0x55bd0c(0x152)];_0x149691[_0x55bd0c(0x151)][_0x55bd0c(0x12f)](_0x55bd0c(0x12d))[_0x55bd0c(0x159)]({'model':_0x55bd0c(0x14f),'view':_0x55bd0c(0x14d)}),_0x149691[_0x55bd0c(0x151)][_0x55bd0c(0x12f)](_0x55bd0c(0x140))[_0x55bd0c(0x11e)]({'model':{'key':_0x55bd0c(0x14f),'value':_0x5bb13d=>_0x5bb13d[_0x55bd0c(0x146)](_0x55bd0c(0x14d))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x5c663b=_0x149691[_0x55bd0c(0x136)][_0x55bd0c(0x169)](_0x55bd0c(0x126));_0x5c663b&&this[_0x55bd0c(0x168)](_0x5c663b,_0x55bd0c(0x15b),(_0x18d008,[_0x4785d7,_0x5ade1b])=>{const _0xad2c0a=_0x55bd0c;_0x4785d7[_0xad2c0a(0x134)](_0xad2c0a(0x14f),_0x5ade1b);});}[_0x5c993e(0x129)](){const _0x45ecea=_0x5c993e,_0x5d25a0=this[_0x45ecea(0x152)][_0x45ecea(0x15d)][_0x45ecea(0x169)](_0x45ecea(0x145))||{},_0x1c2218=this[_0x45ecea(0x152)][_0x45ecea(0x15d)][_0x45ecea(0x169)](_0x45ecea(0x162))||'';this[_0x45ecea(0x130)]=_0x24e96c(_0x1e5378[_0x45ecea(0x12c)],_0x45ecea(0x125),{..._0x5d25a0,'pubkey':_0x1c2218,'ctx-name':_0x45ecea(0x13f),'sourceList':'','imgOnly':_0x45ecea(0x154),'removeCopyright':_0x45ecea(0x154),'localeName':this[_0x45ecea(0x152)][_0x45ecea(0x131)][_0x45ecea(0x155)],'externalSourcesEmbedCss':_0x45ecea(0x123)}),this[_0x45ecea(0x130)][_0x45ecea(0x137)]=_0x29dcfa=>{const _0x5a4109=_0x45ecea;if(_0x5a4109(0x144)==_0x29dcfa)return _0x5a4109(0x164);},_0x1e5378[_0x45ecea(0x12c)][_0x45ecea(0x148)][_0x45ecea(0x15c)](this[_0x45ecea(0x130)]);}[_0x5c993e(0x12a)](){const _0xace01b=_0x5c993e;this[_0xace01b(0x167)]=_0x24e96c(_0x1e5378[_0xace01b(0x12c)],_0xace01b(0x13e),{'ctx-name':_0xace01b(0x13f)}),_0x1e5378[_0xace01b(0x12c)][_0xace01b(0x148)][_0xace01b(0x15c)](this[_0xace01b(0x167)]);}[_0x5c993e(0x13d)](){const _0x3abc08=_0x5c993e,_0x2195f6=this[_0x3abc08(0x152)][_0x3abc08(0x136)][_0x3abc08(0x169)](_0x3abc08(0x11f));_0x2195f6&&this[_0x3abc08(0x168)](_0x2195f6,_0x3abc08(0x12b),()=>{const _0x37905c=_0x3abc08,_0x36d9a9=this[_0x37905c(0x152)][_0x37905c(0x14b)][_0x37905c(0x12c)][_0x37905c(0x147)][_0x37905c(0x14e)]();_0x36d9a9&&_0x36d9a9[_0x37905c(0x146)](_0x37905c(0x14f))&&this[_0x37905c(0x152)][_0x37905c(0x142)][_0x37905c(0x120)][_0x37905c(0x15f)](_0x37905c(0x12e),()=>{const _0x35d753=_0x37905c;_0xbd924f(this[_0x35d753(0x152)],_0x36d9a9);});});const _0x5e000f=this[_0x3abc08(0x152)][_0x3abc08(0x136)][_0x3abc08(0x169)](_0x3abc08(0x16b));_0x5e000f&&this[_0x3abc08(0x168)](_0x5e000f,_0x3abc08(0x12b),()=>{const _0x4a8c8c=_0x3abc08,_0x41de0e=this[_0x4a8c8c(0x152)][_0x4a8c8c(0x14b)][_0x4a8c8c(0x12c)][_0x4a8c8c(0x147)][_0x4a8c8c(0x14e)]();_0x41de0e&&_0x41de0e[_0x4a8c8c(0x146)](_0x4a8c8c(0x14f))&&this[_0x4a8c8c(0x152)][_0x4a8c8c(0x142)][_0x4a8c8c(0x120)][_0x4a8c8c(0x15f)](_0x4a8c8c(0x12e),()=>{const _0x14175a=_0x4a8c8c;_0xbd924f(this[_0x14175a(0x152)],_0x41de0e);});});}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{global as
|
|
24
|
-
|
|
23
|
+
import{global as _0x534867,ObservableMixin as _0x2b2ab9}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x3ad8fb}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x218433}from'ckeditor5/src/icons.js';import _0x52f853 from'./uploadcareimageeditformview.js';import _0x277f41 from'../../utils/uploadutils.js';import{getImageUrls as _0x389278,getImageDimension as _0x492a81}from'../../utils/editingutils.js';import{isAncestor as _0x55e4c4}from'../../utils/isancestor.js';export default class O extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x2b2ab9(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x209803,_0x9cdf32,_0x273653){super(),this['_editor']=_0x209803,this['_dialog']=_0x9cdf32,this['_imageElement']=_0x273653,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 _0x30fbdd=this['_imageElement'],_0x47a269=_0x30fbdd['getAttribute']('uploadcareImageId'),_0x10d8b0=_0x30fbdd['getAttribute']('src');if(_0x47a269)await this['_loadImageInfo'](_0x47a269,_0x10d8b0);else{if(this['_imageCache']['has'](_0x10d8b0)){const _0x40425c=this['_imageCache']['get'](_0x10d8b0);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x40425c['url'],this['imageDimension']=_0x40425c['dimension'],this['imageId']=_0x40425c['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x5150a8}=this['_editor'],t=_0x5150a8['t'],_0x558317=new _0x52f853(_0x5150a8,this['imageStatus'],this['_attributes']);_0x558317['bind']('status')['to'](this,'imageStatus'),_0x558317['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x558317['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x558317['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x558317,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x218433,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x558317,'position':_0x3ad8fb['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x558317['focus']();},'onHide':()=>{_0x558317['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x283edd=>!_0x55e4c4(_0x283edd,_0x558317['element'])}});}['_loadImageInfo'](_0x32dc6c,_0x3ce06a){return _0x277f41['getInfo'](_0x32dc6c,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x466a90=>{const {width:_0x25f2cb,height:_0x3c93ff}=_0x466a90['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x3ce06a,this['imageDimension']={'width':_0x25f2cb,'height':_0x3c93ff},this['imageId']=_0x32dc6c;})['catch'](_0x1bd68c=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x1bd68c['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x168768,_0x40d353){return this['_getImageAsFile'](_0x168768)['then'](_0x2cea74=>_0x277f41['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x40d353['signal'],'file':_0x2cea74,'onProgress':_0x554595=>{_0x554595&&_0x554595['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x554595['value']));}}))['then'](_0x5b1df3=>{const {width:_0x5bc57c,height:_0x22dc54}=_0x5b1df3['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x5b1df3['cdnUrl'],this['imageDimension']={'width':_0x5bc57c,'height':_0x22dc54},this['imageId']=_0x5b1df3['uuid'],this['imageUploadProgress']=null;const _0x49e0ae=_0x168768['getAttribute']('src');this['_imageCache']['set'](_0x49e0ae,{'id':_0x5b1df3['uuid'],'url':_0x5b1df3['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x281227=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x281227['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x3a5697,_0xdfd2a7){_0x3a5697['on']('apply',(_0x4fe7c7,_0x380fd6)=>{this['_replaceImage'](_0xdfd2a7,_0x380fd6['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x3a5697['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x3a5697['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x332951,_0x5afeab,_0x5b3521){const _0x4e6822=this['_editor'],{width:_0x37b924,height:_0x4f2cd7}=_0x492a81(_0x5afeab,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x425e80,imageSources:_0x3217d6}=_0x389278(_0x5afeab,_0x37b924);_0x4e6822['model']['change'](_0x50a37b=>{if('$graveyard'===_0x332951['root']['rootName']){_0x4e6822['execute']('insertImage',{'imageType':_0x332951['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x332951['getAttributes']()),'uploadcareImageId':_0x5b3521,'src':_0x425e80,'sources':_0x3217d6,'width':_0x37b924,'height':_0x4f2cd7}});const _0x58f2ff=_0x332951['getChildren']();_0x332951=_0x4e6822['model']['document']['selection']['getSelectedElement']();for(const _0x574ec6 of _0x58f2ff)_0x50a37b['append'](_0x50a37b['cloneElement'](_0x574ec6),_0x332951);}else _0x50a37b['setSelection'](_0x332951,'on'),_0x4e6822['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x332951['getAttributes']()),'uploadcareImageId':_0x5b3521,'src':_0x425e80,'sources':_0x3217d6,'width':_0x37b924,'height':_0x4f2cd7},_0x332951);_0x50a37b['setSelection'](_0x332951,'on');});}async['_getImageAsFile'](_0x1fea37){const _0x1bd3e7=_0x534867['window'],_0x4a7bea=_0x534867['document']['location']['href'],_0x4bbd00=new _0x1bd3e7['URL'](_0x1fea37['getAttribute']('src'),_0x4a7bea);if('data:'===_0x4bbd00['protocol']){const _0x144128=_0x4bbd00['href']['split'](','),_0x744c4f=_0x144128[0x0]['match'](/:(.*?);/)[0x1],_0x5cf521=_0x744c4f['split']('/')[0x1],_0x2ed8d2=_0x1bd3e7['atob'](_0x144128[_0x144128['length']-0x1]);let _0x4c3e1e=_0x2ed8d2['length'];const _0x4b1070=new _0x1bd3e7['Uint8Array'](_0x4c3e1e);for(;_0x4c3e1e--;)_0x4b1070[_0x4c3e1e]=_0x2ed8d2['charCodeAt'](_0x4c3e1e);return new _0x1bd3e7['File']([_0x4b1070],'image.'+_0x5cf521,{'type':_0x744c4f});}const _0x104d15=_0x4bbd00['href']['split']('/'),_0x23c49e=_0x104d15[_0x104d15['length']-0x1],_0x2435c8=_0x23c49e['split']('.')[0x1];return _0x1bd3e7['fetch'](_0x4bbd00['href'])['then'](_0x5eb23f=>_0x5eb23f['clone']()['blob']())['then'](_0x1357a2=>new _0x1bd3e7['File']([_0x1357a2],_0x23c49e,{'type':'image/'+_0x2435c8}));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x10b755,_0xbe7162){const _0x5a0fb9=_0x52f1,_0x342d05=_0x10b755();while(!![]){try{const _0x5bffcc=parseInt(_0x5a0fb9(0x153))/0x1*(-parseInt(_0x5a0fb9(0x155))/0x2)+parseInt(_0x5a0fb9(0x15c))/0x3+parseInt(_0x5a0fb9(0x154))/0x4+-parseInt(_0x5a0fb9(0x14f))/0x5+-parseInt(_0x5a0fb9(0x159))/0x6+parseInt(_0x5a0fb9(0x150))/0x7*(-parseInt(_0x5a0fb9(0x15f))/0x8)+parseInt(_0x5a0fb9(0x15e))/0x9;if(_0x5bffcc===_0xbe7162)break;else _0x342d05['push'](_0x342d05['shift']());}catch(_0x1b1c54){_0x342d05['push'](_0x342d05['shift']());}}}(_0x2829,0x8035b));function _0x52f1(_0xb81f95,_0x2e7548){const _0x282941=_0x2829();return _0x52f1=function(_0x52f191,_0x16bce6){_0x52f191=_0x52f191-0x14f;let _0x1ff333=_0x282941[_0x52f191];return _0x1ff333;},_0x52f1(_0xb81f95,_0x2e7548);}import{View as _0x44b113}from'ckeditor5/src/ui.js';export default class tt extends _0x44b113{constructor(_0x3e9c34,_0x3dffb1){const _0xf533e8=_0x52f1;super(_0x3e9c34);const _0xb305f4=this[_0xf533e8(0x15d)];this[_0xf533e8(0x15a)](_0xf533e8(0x152),''),this[_0xf533e8(0x156)]({'tag':_0xf533e8(0x15b),'attributes':{..._0x3dffb1,'class':[_0xf533e8(0x151),_0xf533e8(0x157)],'ctx-name':_0xf533e8(0x158),'cdn-url':_0xb305f4['to'](_0xf533e8(0x152))}});}}function _0x2829(){const _0x21b1c2=['setTemplate','ck-uploadcare-theme','image-edit','2553894DVDEYe','set','uc-cloud-image-editor','2587050TUnJQC','bindTemplate','8633628HBOPya','5149400cWIcKr','532440lenqBF','7ODVziq','uc-light','imageSrc','3056APJjPE','2732180npYYZz','526llRJsX'];_0x2829=function(){return _0x21b1c2;};return _0x2829();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{IconError as et}from'ckeditor5/src/icons.js';import{ButtonView as
|
|
23
|
+
import{IconError as et}from'ckeditor5/src/icons.js';import{ButtonView as _0x497fed,IconView as at,View as _0x144bb2}from'ckeditor5/src/ui.js';export default class rt extends _0x144bb2{constructor(_0x3672f6){super(_0x3672f6);const t=_0x3672f6['t'];this['set']('errorType',null);const _0x49f5bd=new _0x497fed(_0x3672f6);_0x49f5bd['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x49f5bd['withText']=!0x0,_0x49f5bd['class']='ck-button-action',_0x49f5bd['on']('execute',()=>{this['fire']('retry');}),_0x49f5bd['bind']('isVisible')['to'](this,'errorType',_0x4e1dd6=>'NotFound'!==_0x4e1dd6);const _0x1baa32=new at();_0x1baa32['content']=et,_0x1baa32['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x32d634=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':[_0x1baa32,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x32d634['to']('errorType',_0x25a339=>t('NotFound'!==_0x25a339?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x49f5bd]},{'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
|
|
23
|
+
import{SpinnerView as _0xa2398b,View as _0x481216}from'ckeditor5/src/ui.js';export default class ta extends _0x481216{constructor(_0x59e131){super(_0x59e131);const t=_0x59e131['t'],_0x57520a=this['bindTemplate'],_0x2d7345=new _0xa2398b();_0x2d7345['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':[_0x2d7345,{'text':_0x57520a['to']('imageUploadProgress',_0x3da524=>t('Loading\x20image...')+'\x20('+(_0x3da524||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
|
|
23
|
+
const _0x23abb0=_0xeea0;(function(_0x35e9a8,_0x43e32f){const _0x1b7910=_0xeea0,_0x511f65=_0x35e9a8();while(!![]){try{const _0xd9673a=-parseInt(_0x1b7910(0x1c0))/0x1*(-parseInt(_0x1b7910(0x1a2))/0x2)+-parseInt(_0x1b7910(0x1a7))/0x3*(-parseInt(_0x1b7910(0x1bb))/0x4)+-parseInt(_0x1b7910(0x1ca))/0x5*(parseInt(_0x1b7910(0x1bf))/0x6)+-parseInt(_0x1b7910(0x1ba))/0x7+parseInt(_0x1b7910(0x1d0))/0x8*(parseInt(_0x1b7910(0x1ae))/0x9)+-parseInt(_0x1b7910(0x1c5))/0xa*(parseInt(_0x1b7910(0x1c3))/0xb)+-parseInt(_0x1b7910(0x1a1))/0xc*(-parseInt(_0x1b7910(0x1c9))/0xd);if(_0xd9673a===_0x43e32f)break;else _0x511f65['push'](_0x511f65['shift']());}catch(_0x4d2463){_0x511f65['push'](_0x511f65['shift']());}}}(_0x44a3,0xa91ad));import{View as _0x116713}from'ckeditor5/src/ui.js';function _0xeea0(_0x3fcc4b,_0x4e3113){const _0x44a325=_0x44a3();return _0xeea0=function(_0xeea00e,_0x30d58e){_0xeea00e=_0xeea00e-0x1a1;let _0x2adffd=_0x44a325[_0xeea00e];return _0x2adffd;},_0xeea0(_0x3fcc4b,_0x4e3113);}import _0x4b7f4a from'./uploadcareimageeditformloadingview.js';import _0x5263a5 from'./uploadcareimageeditformerrorview.js';import _0x22b8ec from'./uploadcareimageeditformeditingview.js';import _0x2747bd from'../../utils/dialogfocusmanagerview.js';function _0x44a3(){const _0x31eb42=['ck-uploadcare-form','addEventListener','querySelector','257881ZrzgQx','2501165Flcqzw','status','element','once','set','nodeName','304BNLCbk','addMany','uc-cloud-image-editor','ready','cancel','clear','fire','filter','toLowerCase','apply','_items','912BWEhKr','255226PXoAMq','_addErrorViewListeners','detail','add','_setView','33niOaWc','_focusableView','observe','focus','uploading','change:status','_addUploadcareImageEditorListeners','140409hrWSQC','error','ck-reset_all-excluded','div','getFocusableElement','cdnUrl','addedNodes','render','_errorView','target','retry','_loadingView','6815606gJCNxh','304180PPiiEe','disconnect','length','_waitForImageEditorComponent','6QhzhNS','1Pwoqmu','createCollection','_editingView','9878154cdDpdk','setTemplate','10TJrEsE'];_0x44a3=function(){return _0x31eb42;};return _0x44a3();}import'../../../theme/uploadcare-form.css';export default class Z extends _0x2747bd{[_0x23abb0(0x1da)];[_0x23abb0(0x1b9)];[_0x23abb0(0x1b6)];[_0x23abb0(0x1c2)];[_0x23abb0(0x1a8)];constructor(_0x15bb37,_0x1baf70,_0x4361f4){const _0x44ba16=_0x23abb0;super(_0x15bb37),this[_0x44ba16(0x1da)]=this[_0x44ba16(0x1c1)](),this[_0x44ba16(0x1b9)]=new _0x4b7f4a(_0x15bb37),this[_0x44ba16(0x1b6)]=new _0x5263a5(_0x15bb37),this[_0x44ba16(0x1c2)]=new _0x22b8ec(_0x15bb37,_0x4361f4),this[_0x44ba16(0x1a8)]=new _0x116713(_0x15bb37),this[_0x44ba16(0x1a8)][_0x44ba16(0x1c4)](this[_0x44ba16(0x1b2)]()),this[_0x44ba16(0x1ce)](_0x44ba16(0x1cb),_0x1baf70),this[_0x44ba16(0x1c4)]({'tag':_0x44ba16(0x1b1),'attributes':{'class':['ck',_0x44ba16(0x1b0),_0x44ba16(0x1c6)],'tabindex':'-1'},'children':this[_0x44ba16(0x1da)]}),this[_0x44ba16(0x1a6)](),this[_0x44ba16(0x1cd)](_0x44ba16(0x1b5),()=>{const _0x53402a=_0x44ba16;this[_0x53402a(0x1be)](this[_0x53402a(0x1cc)],_0x381ee8=>{const _0x58be33=_0x53402a;this[_0x58be33(0x1ad)](_0x381ee8);});}),this['on'](_0x44ba16(0x1ac),()=>{const _0x1e16d9=_0x44ba16;this[_0x1e16d9(0x1a6)]();}),this[_0x44ba16(0x1a3)]();}[_0x23abb0(0x1aa)](){const _0x4e747c=_0x23abb0;this[_0x4e747c(0x1cc)][_0x4e747c(0x1aa)]();}[_0x23abb0(0x1a6)](){const _0x294fef=_0x23abb0;switch(this[_0x294fef(0x1da)][_0x294fef(0x1d5)](),this[_0x294fef(0x1cb)]){case _0x294fef(0x1ab):this[_0x294fef(0x1da)][_0x294fef(0x1a5)](this[_0x294fef(0x1b9)]);break;case _0x294fef(0x1af):this[_0x294fef(0x1da)][_0x294fef(0x1a5)](this[_0x294fef(0x1b6)]);break;case _0x294fef(0x1d3):this[_0x294fef(0x1da)][_0x294fef(0x1d1)]([this[_0x294fef(0x1c2)],this[_0x294fef(0x1a8)]]);}}[_0x23abb0(0x1be)](_0x2f325f,_0x37880c){const _0x38f2e8=_0x23abb0,_0x3e848f=_0x38f2e8(0x1d2),_0x5e3e55=_0x2f325f[_0x38f2e8(0x1c8)](_0x3e848f);if(_0x5e3e55)return _0x37880c(_0x5e3e55);const _0x2cd813=new MutationObserver(_0x3cca3c=>{const _0x34fbfe=_0x38f2e8,_0x19f5d9=_0x3cca3c[_0x34fbfe(0x1d7)](_0x3c786f=>_0x3c786f[_0x34fbfe(0x1b7)]===_0x2f325f&&_0x3c786f[_0x34fbfe(0x1b4)][_0x34fbfe(0x1bd)]>0x0&&_0x3c786f[_0x34fbfe(0x1b4)][0x0][_0x34fbfe(0x1cf)][_0x34fbfe(0x1d8)]()===_0x3e848f);_0x19f5d9[_0x34fbfe(0x1bd)]&&(_0x2cd813[_0x34fbfe(0x1bc)](),_0x37880c(_0x19f5d9[0x0][_0x34fbfe(0x1b4)][0x0]));});_0x2cd813[_0x38f2e8(0x1a9)](_0x2f325f,{'childList':!0x0,'subtree':!0x0});}[_0x23abb0(0x1ad)](_0x546d31){const _0x5a3d08=_0x23abb0;_0x546d31[_0x5a3d08(0x1c7)](_0x5a3d08(0x1d9),_0x2ef5e7=>{const _0x4106a7=_0x5a3d08;this[_0x4106a7(0x1d6)](_0x4106a7(0x1d9),{'imageSrc':_0x2ef5e7[_0x4106a7(0x1a4)][_0x4106a7(0x1b3)]});}),_0x546d31[_0x5a3d08(0x1c7)](_0x5a3d08(0x1d4),()=>{const _0x34c0e6=_0x5a3d08;this[_0x34c0e6(0x1d6)](_0x34c0e6(0x1d4));});}[_0x23abb0(0x1a3)](){const _0x40ba13=_0x23abb0;this[_0x40ba13(0x1b6)]['on'](_0x40ba13(0x1b8),()=>{const _0xe6f2ef=_0x40ba13;this[_0xe6f2ef(0x1d6)](_0xe6f2ef(0x1b8));});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xbd2c2=_0x4deb;(function(_0x56e0f8,_0x151a76){const _0x1e3339=_0x4deb,_0x102e4c=_0x56e0f8();while(!![]){try{const _0x1849ea=parseInt(_0x1e3339(0x139))/0x1+parseInt(_0x1e3339(0x127))/0x2*(parseInt(_0x1e3339(0x13d))/0x3)+-parseInt(_0x1e3339(0x140))/0x4*(parseInt(_0x1e3339(0x125))/0x5)+-parseInt(_0x1e3339(0x128))/0x6+parseInt(_0x1e3339(0x13e))/0x7+parseInt(_0x1e3339(0x126))/0x8*(parseInt(_0x1e3339(0x13c))/0x9)+parseInt(_0x1e3339(0x121))/0xa*(-parseInt(_0x1e3339(0x135))/0xb);if(_0x1849ea===_0x151a76)break;else _0x102e4c['push'](_0x102e4c['shift']());}catch(_0x589ffd){_0x102e4c['push'](_0x102e4c['shift']());}}}(_0x3396,0xd4b55));import{Command as _0x264b0b}from'ckeditor5/src/core.js';import{Dialog as _0x1132cc}from'ckeditor5/src/ui.js';import _0x334839 from'./ui/uploadcareimageeditcontroller.js';function _0x4deb(_0x36c344,_0x45208a){const _0x33967b=_0x3396();return _0x4deb=function(_0x4debf2,_0x97212c){_0x4debf2=_0x4debf2-0x120;let _0x32752f=_0x33967b[_0x4debf2];return _0x32752f;},_0x4deb(_0x36c344,_0x45208a);}import{createEditabilityChecker as _0x51ef23}from'../utils/editingutils.js';function _0x3396(){const _0x5504ea=['160nGWEXQ','6lRGnAL','9961152ACuPMm','isActive','refresh','element','getSelectedElement','plugins','bind','isEnabled','get','config','execute','model','selection','16786jtzBgD','document','set','imageBlock','1693158gWmIXp','imageEditController','uploadcare.allowExternalImagesEditing','626643LpXUYy','1624833PLsLde','3285464SfCguf','imageInline','6368kwBxdD','editor','14330XRFNpz','unbind','_isEditable','requires','1450DYJdgn'];_0x3396=function(){return _0x5504ea;};return _0x3396();}export default class V extends _0x264b0b{[_0xbd2c2(0x13a)];static get[_0xbd2c2(0x124)](){return[_0x1132cc];}[_0xbd2c2(0x123)];constructor(_0x1f0c17){const _0x2f7f3b=_0xbd2c2;super(_0x1f0c17),this[_0x2f7f3b(0x13a)]=void 0x0,this[_0x2f7f3b(0x123)]=_0x51ef23(_0x1f0c17[_0x2f7f3b(0x131)][_0x2f7f3b(0x130)](_0x2f7f3b(0x13b))||[]),this[_0x2f7f3b(0x137)]({'isActive':!0x1});}[_0xbd2c2(0x12a)](){const _0x17c5a1=_0xbd2c2,_0x41d09a=this[_0x17c5a1(0x120)][_0x17c5a1(0x133)][_0x17c5a1(0x136)][_0x17c5a1(0x134)][_0x17c5a1(0x12c)]();this[_0x17c5a1(0x12f)]=this[_0x17c5a1(0x123)](_0x41d09a);}[_0xbd2c2(0x132)](){const _0x28cc61=_0xbd2c2;this[_0x28cc61(0x13a)]&&(this[_0x28cc61(0x122)](_0x28cc61(0x129)),this[_0x28cc61(0x13a)]=void 0x0);const _0x1326a8=this[_0x28cc61(0x120)][_0x28cc61(0x133)][_0x28cc61(0x136)][_0x28cc61(0x134)][_0x28cc61(0x12c)]();_0x1326a8&&(_0x1326a8['is'](_0x28cc61(0x12b),_0x28cc61(0x138))||_0x1326a8['is'](_0x28cc61(0x12b),_0x28cc61(0x13f)))&&(this[_0x28cc61(0x13a)]=new _0x334839(this[_0x28cc61(0x120)],this[_0x28cc61(0x120)][_0x28cc61(0x12d)][_0x28cc61(0x130)](_0x1132cc),_0x1326a8),this[_0x28cc61(0x12e)](_0x28cc61(0x129))['to'](this[_0x28cc61(0x13a)],_0x28cc61(0x129)));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3e0858=_0x41f7;(function(_0x4430d7,_0x5c885a){const _0x5cf676=_0x41f7,_0x3730c7=_0x4430d7();while(!![]){try{const _0x5b22f6=-parseInt(_0x5cf676(0xee))/0x1*(parseInt(_0x5cf676(0xe9))/0x2)+-parseInt(_0x5cf676(0xdc))/0x3+parseInt(_0x5cf676(0xec))/0x4*(parseInt(_0x5cf676(0xe6))/0x5)+parseInt(_0x5cf676(0xea))/0x6+-parseInt(_0x5cf676(0xed))/0x7*(-parseInt(_0x5cf676(0xe8))/0x8)+parseInt(_0x5cf676(0xde))/0x9+-parseInt(_0x5cf676(0xe5))/0xa;if(_0x5b22f6===_0x5c885a)break;else _0x3730c7['push'](_0x3730c7['shift']());}catch(_0x1c5ed0){_0x3730c7['push'](_0x3730c7['shift']());}}}(_0xd061,0x21c03));import{Plugin as _0x2cc4b3}from'ckeditor5/src/core.js';import{Notification as _0x4867ce}from'ckeditor5/src/ui.js';function _0x41f7(_0x3f836b,_0x3c1011){const _0xd061b3=_0xd061();return _0x41f7=function(_0x41f706,_0x5b0ad2){_0x41f706=_0x41f706-0xda;let _0x1a48ef=_0xd061b3[_0x41f706];return _0x1a48ef;},_0x41f7(_0x3f836b,_0x3c1011);}import _0x49abf7 from'./uploadcareimageeditcommand.js';import _0x393fcd from'./uploadcareimagereplacecommand.js';import _0x37e36e from'../uploadcareediting.js';export default class g extends _0x2cc4b3{static get[_0x3e0858(0xeb)](){const _0x31eaf7=_0x3e0858;return _0x31eaf7(0xef);}static get[_0x3e0858(0xe3)](){const _0x42f971=_0x3e0858;return[_0x37e36e,_0x4867ce,_0x42f971(0xdd),_0x42f971(0xdf)];}static get[_0x3e0858(0xe1)](){return!0x0;}static get[_0x3e0858(0xe4)](){return!0x0;}[_0x3e0858(0xe0)](){const _0x5e0500=_0x3e0858,{editor:_0xc5bf34}=this;_0xc5bf34[_0x5e0500(0xe2)][_0x5e0500(0xdb)](_0x5e0500(0xda),new _0x49abf7(_0xc5bf34)),_0xc5bf34[_0x5e0500(0xe2)][_0x5e0500(0xdb)](_0x5e0500(0xe7),new _0x393fcd(_0xc5bf34));}}function _0xd061(){const _0x2191fc=['64DArKeD','221362JPzwQe','528876iDgVCr','pluginName','20romMZT','216356zMXbSR','1UZCyhD','UploadcareImageEditEditing','uploadcareImageEdit','add','389982chpJnN','ImageUtils','1838682qAcgLA','ImageEditing','init','isOfficialPlugin','commands','requires','isPremiumPlugin','2053750TfNWsj','44585mVyubu','uploadcareImageReplace'];_0xd061=function(){return _0x2191fc;};return _0xd061();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as
|
|
23
|
+
import{Plugin as _0x11d332}from'ckeditor5/src/core.js';import{ButtonView as _0x1a4a55}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x190596}from'ckeditor5/src/icons.js';import{createElement as _0x4c8cdc}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 _0x11d332{['_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 _0x3377f9=this['editor'];_0x3377f9['ui']['componentFactory']['add']('uploadcareImageEdit',_0x55b490=>{const _0x377925=_0x3377f9['commands']['get']('uploadcareImageEdit'),_0x652d22=new _0x1a4a55(_0x55b490),t=_0x55b490['t'];return _0x652d22['set']({'icon':_0x190596,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x652d22['bind']('isEnabled')['to'](_0x377925),_0x652d22['bind']('isOn')['to'](_0x377925,'isActive'),this['listenTo'](_0x652d22,'execute',()=>{_0x3377f9['execute']('uploadcareImageEdit'),_0x3377f9['editing']['view']['focus']();}),_0x652d22;}),this['_initConfig']();}['_initConfig'](){const _0xc344c=_0x4c8cdc(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0xc344c),this['listenTo'](this['editor'],'destroy',()=>{_0xc344c['remove']();});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x59b0d7=_0x15d8;(function(_0x14399a,_0x4d60a7){const _0x109141=_0x15d8,_0x3ed088=_0x14399a();while(!![]){try{const _0x3d6a56=parseInt(_0x109141(0x10c))/0x1+-parseInt(_0x109141(0x121))/0x2+parseInt(_0x109141(0x10a))/0x3*(parseInt(_0x109141(0x112))/0x4)+-parseInt(_0x109141(0x124))/0x5*(-parseInt(_0x109141(0x10e))/0x6)+parseInt(_0x109141(0x11b))/0x7+-parseInt(_0x109141(0x120))/0x8*(-parseInt(_0x109141(0x11c))/0x9)+-parseInt(_0x109141(0x123))/0xa*(parseInt(_0x109141(0x10b))/0xb);if(_0x3d6a56===_0x4d60a7)break;else _0x3ed088['push'](_0x3ed088['shift']());}catch(_0x5db683){_0x3ed088['push'](_0x3ed088['shift']());}}}(_0x52bb,0xe9d33));function _0x15d8(_0x53cfee,_0x454aeb){const _0x52bba6=_0x52bb();return _0x15d8=function(_0x15d87e,_0x5145e8){_0x15d87e=_0x15d87e-0x10a;let _0x5643eb=_0x52bba6[_0x15d87e];return _0x5643eb;},_0x15d8(_0x53cfee,_0x454aeb);}import{Command as _0x529e6c}from'ckeditor5/src/core.js';export default class X extends _0x529e6c{[_0x59b0d7(0x10d)](){const _0x2bc20d=_0x59b0d7,_0x42eef8=this[_0x2bc20d(0x11d)][_0x2bc20d(0x117)][_0x2bc20d(0x116)][_0x2bc20d(0x119)][_0x2bc20d(0x113)]();this[_0x2bc20d(0x122)]=Boolean(_0x42eef8&&(_0x42eef8['is'](_0x2bc20d(0x111),_0x2bc20d(0x118))||_0x42eef8['is'](_0x2bc20d(0x111),_0x2bc20d(0x115))));}[_0x59b0d7(0x110)](_0x53f45b){const _0x492719=_0x59b0d7,_0x3d7d55=this[_0x492719(0x11d)][_0x492719(0x117)][_0x492719(0x116)][_0x492719(0x119)][_0x492719(0x113)]();this[_0x492719(0x11d)][_0x492719(0x117)][_0x492719(0x11a)](_0x40ce27=>{const _0x3190a8=_0x492719;_0x40ce27[_0x3190a8(0x11f)](_0x53f45b,_0x3d7d55),_0x40ce27[_0x3190a8(0x11e)](_0x3190a8(0x114),_0x3d7d55),_0x40ce27[_0x3190a8(0x11e)](_0x3190a8(0x10f),_0x3d7d55);});}}function _0x52bb(){const _0xe012e9=['removeAttribute','setAttributes','1030384qGvzqY','2075710MZPHTr','isEnabled','740VdHfGt','310pisvWM','5169201xTFTcv','573001HjIBGU','1617357hbHCoZ','refresh','107196pmuvod','sizes','execute','element','4MJmgnt','getSelectedElement','srcset','imageInline','document','model','imageBlock','selection','change','8012368mvFrbG','18rKkTgE','editor'];_0x52bb=function(){return _0xe012e9;};return _0x52bb();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
function _0x2c8b(){var _0x479202=['2fzPchM','1416715UWwZUH','20890sLDLfv','32jTIgDN','2323692yVGtMm','4965618cctIFb','68334wYRSvz','3821425eWoqvz','128iYdRFR','12815ceyWHs','pluginName','isPremiumPlugin','UploadcareImageEdit','requires','3455604eVfCRb','isOfficialPlugin'];_0x2c8b=function(){return _0x479202;};return _0x2c8b();}var _0x15ae82=_0x2fff;(function(_0x5bdc97,_0x255c1c){var _0x53e284=_0x2fff,_0x425673=_0x5bdc97();while(!![]){try{var _0x200968=-parseInt(_0x53e284(0xd6))/0x1*(-parseInt(_0x53e284(0xd5))/0x2)+parseInt(_0x53e284(0xdb))/0x3*(-parseInt(_0x53e284(0xdd))/0x4)+parseInt(_0x53e284(0xdc))/0x5+-parseInt(_0x53e284(0xd9))/0x6+parseInt(_0x53e284(0xda))/0x7+-parseInt(_0x53e284(0xd8))/0x8*(-parseInt(_0x53e284(0xd3))/0x9)+-parseInt(_0x53e284(0xd7))/0xa*(parseInt(_0x53e284(0xde))/0xb);if(_0x200968===_0x255c1c)break;else _0x425673['push'](_0x425673['shift']());}catch(_0x4d796a){_0x425673['push'](_0x425673['shift']());}}}(_0x2c8b,0xd5f2f));function _0x2fff(_0x1fe7b7,_0x159909){var _0x2c8b4f=_0x2c8b();return _0x2fff=function(_0x2fffff,_0x3eef9e){_0x2fffff=_0x2fffff-0xd1;var _0x3f4408=_0x2c8b4f[_0x2fffff];return _0x3f4408;},_0x2fff(_0x1fe7b7,_0x159909);}import{Plugin as _0x23c20e}from'ckeditor5/src/core.js';import _0xa1ff63 from'./uploadcareimageedit/uploadcareimageeditediting.js';import _0x3a2d69 from'./uploadcareimageedit/uploadcareimageeditui.js';export default class P extends _0x23c20e{static get[_0x15ae82(0xdf)](){var _0x48f599=_0x15ae82;return _0x48f599(0xd1);}static get[_0x15ae82(0xd2)](){return[_0xa1ff63,_0x3a2d69];}static get[_0x15ae82(0xd4)](){return!0x0;}static get[_0x15ae82(0xe0)](){return!0x0;}}
|
package/src/uploadcareui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x55878c=_0x1a95;(function(_0x1774ba,_0x465e46){const _0x392e84=_0x1a95,_0x693ec6=_0x1774ba();while(!![]){try{const _0x4a8bd6=parseInt(_0x392e84(0xd9))/0x1+-parseInt(_0x392e84(0xcb))/0x2*(-parseInt(_0x392e84(0x108))/0x3)+parseInt(_0x392e84(0xee))/0x4*(parseInt(_0x392e84(0xf7))/0x5)+parseInt(_0x392e84(0xfb))/0x6+-parseInt(_0x392e84(0xbb))/0x7+parseInt(_0x392e84(0xce))/0x8*(parseInt(_0x392e84(0xe3))/0x9)+-parseInt(_0x392e84(0xcc))/0xa;if(_0x4a8bd6===_0x465e46)break;else _0x693ec6['push'](_0x693ec6['shift']());}catch(_0x2ae686){_0x693ec6['push'](_0x693ec6['shift']());}}}(_0x3964,0x9f5e6));import{Plugin as _0x1449af}from'ckeditor5/src/core.js';import{IconDropbox as _0x2fd9e2,IconFacebook as _0x9b29c3,IconGoogleDrive as _0x237371,IconGooglePhotos as _0x8d6fd8,IconUploadcareImageUpload as _0x2b53d7,IconUploadcareLink as _0x174297,IconOneDrive as _0x149a9c}from'ckeditor5/src/icons.js';import{ButtonView as _0x4d43e4,MenuBarMenuListItemButtonView as _0x22bcf7}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x42d319}from'./uploadcareconfig.js';import{getTranslation as _0x4bc2cd}from'./utils/common-translations.js';function _0x3964(){const _0x10a167=['bind','withText','afterInit','_showLicenseError','uploadcareLicenseKeyDomainLimit','uploadcareLicenseKeyTrialLimit','locale','13953ONlhLT','OneDrive','uploadcareLicenseKeyInvalid','entries','2810654yaaodz','editor','shortText','registerIntegration','upload','UploadcareUI','has','invalid','label','tooltip','isPremiumPlugin','url','get','trialLimit','type','expired','484mGbLgx','42259140sdiirK','ImageInsertUI','136QaqSZg','uploadcareLicenseKeyExpired','commands','reduce','evaluationLimit','execute','_createToolbarButton','URL','push','Dropbox','_normalizeConfigSourceList','1283376PLBwGh','uploadcareLicenseKeyValid','_createMenuBarButtons','Insert','uploadcareLicenseKeyEvaluationLimit','init','GPhotos','featureNotAllowed','uploadcare.uploader.sourceList','text','252729uIwZWB','Replace','Uploadcare','plugins','uploadcare','_getIntegrationKey','icon','Local','pluginName','isOfficialPlugin','isImageSelected','16372ynaFCO','uploadcareLicenseKeyNotAllowed','assetManager','forEach','Facebook','_licenseKeyCheckInterval','destroy','config','isEnabled','1445GZZqPl','uploadcareLicenseKeyUsageLimit','_createDropdownButtons','usageLimit','7266228csiIcr','map','licenseKey','GDrive','_createButton','domainLimit'];_0x3964=function(){return _0x10a167;};return _0x3964();}function _0x1a95(_0x2e467d,_0x22a10c){const _0x396407=_0x3964();return _0x1a95=function(_0x1a956e,_0x2422fd){_0x1a956e=_0x1a956e-0xb8;let _0x4fb9ca=_0x396407[_0x1a956e];return _0x4fb9ca;},_0x1a95(_0x2e467d,_0x22a10c);}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 _0x1449af{[_0x55878c(0xfd)];[_0x55878c(0xf3)];static get[_0x55878c(0xeb)](){const _0x43ebe1=_0x55878c;return _0x43ebe1(0xc0);}static get[_0x55878c(0xec)](){return!0x0;}static get[_0x55878c(0xc5)](){return!0x0;}[_0x55878c(0xde)](){const _0x1a7111=_0x55878c;this[_0x1a7111(0xfd)]=this[_0x1a7111(0xbc)][_0x1a7111(0xf5)][_0x1a7111(0xc7)](_0x1a7111(0xfd));const _0x318725=this[_0x1a7111(0xbc)];this[_0x1a7111(0xf3)]=setInterval(()=>{const _0x386694=_0x1a7111;let _0x49e176;for(const _0x49082c in _0x318725){const _0x5799ac=_0x49082c,_0x49d99c=_0x318725[_0x5799ac];if(_0x386694(0xda)==_0x49d99c||_0x386694(0xb9)==_0x49d99c||_0x386694(0xcf)==_0x49d99c||_0x386694(0x105)==_0x49d99c||_0x386694(0xef)==_0x49d99c||_0x386694(0xdd)==_0x49d99c||_0x386694(0x106)==_0x49d99c||_0x386694(0xf8)==_0x49d99c){delete _0x318725[_0x5799ac],_0x49e176=_0x49d99c,clearInterval(this[_0x386694(0xf3)]),this[_0x386694(0xf3)]=void 0x0;break;}}_0x386694(0xb9)==_0x49e176&&_0x318725[_0x386694(0x104)](_0x386694(0xc2)),_0x386694(0xcf)==_0x49e176&&_0x318725[_0x386694(0x104)](_0x386694(0xca)),_0x386694(0x105)==_0x49e176&&_0x318725[_0x386694(0x104)](_0x386694(0x100)),_0x386694(0xef)==_0x49e176&&_0x318725[_0x386694(0x104)](_0x386694(0xe0),_0x386694(0xe5)),_0x386694(0xdd)==_0x49e176&&_0x318725[_0x386694(0x104)](_0x386694(0xd2)),_0x386694(0x106)==_0x49e176&&_0x318725[_0x386694(0x104)](_0x386694(0xc8)),_0x386694(0xf8)==_0x49e176&&_0x318725[_0x386694(0x104)](_0x386694(0xfa));},0x3e8);}[_0x55878c(0x103)](){const _0x1a779e=_0x55878c,{editor:_0xe6f862}=this,_0x22a138=_0xe6f862[_0x1a779e(0xd0)][_0x1a779e(0xc7)](_0x1a779e(0xe7));if(!_0x22a138)return;const _0x2decec=this[_0x1a779e(0xd8)](_0xe6f862[_0x1a779e(0xf5)][_0x1a779e(0xc7)](_0x1a779e(0xe1)))[_0x1a779e(0xd1)]((_0x51aa26,_0x54eb30)=>{const _0x705807=_0x1a779e,_0x2356d0=this[_0x705807(0xe8)](_0x54eb30[_0x705807(0xc9)]);return _0x51aa26[_0x2356d0]||(_0x51aa26[_0x2356d0]=[]),_0x51aa26[_0x2356d0][_0x705807(0xd6)](_0x54eb30),_0x51aa26;},{});_0xe6f862[_0x1a779e(0xe6)][_0x1a779e(0xc1)](_0x1a779e(0xcd))&&_0xe6f862[_0x1a779e(0xd0)][_0x1a779e(0xc7)](_0x1a779e(0xe7))&&Object[_0x1a779e(0xba)](_0x2decec)[_0x1a779e(0xf1)](([_0x5a5843,_0x1d6ede])=>{const _0x5c5d8a=_0x1a779e;_0xe6f862[_0x5c5d8a(0xe6)][_0x5c5d8a(0xc7)](_0x5c5d8a(0xcd))[_0x5c5d8a(0xbe)]({'name':_0x5a5843,'observable':()=>_0x22a138,'buttonViewCreator':()=>this[_0x5c5d8a(0xd4)](_0x1d6ede),'formViewCreator':()=>this[_0x5c5d8a(0xf9)](_0x1d6ede),'menuBarButtonViewCreator':()=>this[_0x5c5d8a(0xdb)](_0x1d6ede),'override':_0x5c5d8a(0xf0)!==_0x5a5843});});}[_0x55878c(0xf4)](){const _0x431921=_0x55878c;super[_0x431921(0xf4)](),this[_0x431921(0xf3)]&&clearInterval(this[_0x431921(0xf3)]);}[_0x55878c(0xd8)](_0x301d32){const _0x4f8fab=_0x55878c,{locale:_0x4111c0}=this[_0x4f8fab(0xbc)];return _0x301d32[_0x4f8fab(0xfc)](_0x26a380=>{const _0x4ab8b8=_0x4f8fab,_0x38cce4=_0x4bc2cd(_0x4111c0,_0x26a380,_0x4ab8b8(0xdc));switch(_0x26a380){case _0x42d319[_0x4ab8b8(0xea)]:return{'icon':_0x2b53d7,'type':_0x42d319[_0x4ab8b8(0xea)],..._0x38cce4};case _0x42d319[_0x4ab8b8(0xd5)]:return{'icon':_0x174297,'type':_0x42d319[_0x4ab8b8(0xd5)],..._0x38cce4};case _0x42d319[_0x4ab8b8(0xd7)]:return{'icon':_0x2fd9e2,'type':_0x42d319[_0x4ab8b8(0xd7)],..._0x38cce4};case _0x42d319[_0x4ab8b8(0xf2)]:return{'icon':_0x9b29c3,'type':_0x42d319[_0x4ab8b8(0xf2)],..._0x38cce4};case _0x42d319[_0x4ab8b8(0xfe)]:return{'icon':_0x237371,'type':_0x42d319[_0x4ab8b8(0xfe)],..._0x38cce4};case _0x42d319[_0x4ab8b8(0xdf)]:return{'icon':_0x8d6fd8,'type':_0x42d319[_0x4ab8b8(0xdf)],..._0x38cce4};case _0x42d319[_0x4ab8b8(0xb8)]:return{'icon':_0x149a9c,'type':_0x42d319[_0x4ab8b8(0xb8)],..._0x38cce4};}});}[_0x55878c(0xe8)](_0x33d8a9){const _0x42a5e5=_0x55878c;switch(_0x33d8a9){case _0x42d319[_0x42a5e5(0xea)]:return _0x42a5e5(0xbf);case _0x42d319[_0x42a5e5(0xd5)]:return _0x42a5e5(0xc6);default:return _0x42a5e5(0xf0);}}[_0x55878c(0xff)](_0x4305b6,_0x1bd53c){const _0x17c58a=_0x55878c,_0x202470=this[_0x17c58a(0xbc)],_0x46ca01=new _0x4305b6(_0x202470[_0x17c58a(0x107)]),_0x62bb09=_0x202470[_0x17c58a(0xd0)][_0x17c58a(0xc7)](_0x17c58a(0xe7));return _0x46ca01[_0x17c58a(0x101)](_0x17c58a(0xf6))['to'](_0x62bb09),_0x46ca01['on'](_0x17c58a(0xd3),()=>{const _0x2f1886=_0x17c58a;_0x62bb09[_0x2f1886(0xd3)](_0x1bd53c);}),_0x46ca01;}[_0x55878c(0xd4)](_0x4123bd){const _0x19286f=_0x55878c,{locale:_0x4c17ba}=this[_0x19286f(0xbc)],_0x4e229c=this[_0x19286f(0xbc)][_0x19286f(0xe6)][_0x19286f(0xc7)](_0x19286f(0xcd)),_0x31584c=_0x4123bd[0x0],_0x43476c=this[_0x19286f(0xff)](_0x4d43e4,_0x31584c[_0x19286f(0xc9)]);return _0x43476c[_0x19286f(0xe9)]=_0x31584c[_0x19286f(0xe9)],_0x43476c[_0x19286f(0x101)](_0x19286f(0xc3))['to'](_0x4e229c,_0x19286f(0xed),_0x4b9b37=>_0x4bc2cd(_0x4c17ba,_0x31584c[_0x19286f(0xc9)],_0x4b9b37?_0x19286f(0xe4):_0x19286f(0xdc))[_0x19286f(0xe2)]),_0x43476c[_0x19286f(0xc4)]=!0x0,_0x43476c;}[_0x55878c(0xf9)](_0x40f735){const _0x45fde0=_0x55878c,{locale:_0x52b2ec}=this[_0x45fde0(0xbc)],_0x44f243=this[_0x45fde0(0xbc)][_0x45fde0(0xe6)][_0x45fde0(0xc7)](_0x45fde0(0xcd));return _0x40f735[_0x45fde0(0xfc)](_0x1cf541=>{const _0x1fc742=_0x45fde0,_0x101ec7=this[_0x1fc742(0xff)](_0x4d43e4,_0x1cf541[_0x1fc742(0xc9)]);return _0x101ec7[_0x1fc742(0x102)]=!0x0,_0x101ec7[_0x1fc742(0xe9)]=_0x1cf541[_0x1fc742(0xe9)],_0x101ec7[_0x1fc742(0x101)](_0x1fc742(0xc3))['to'](_0x44f243,_0x1fc742(0xed),_0x2cfe62=>_0x4bc2cd(_0x52b2ec,_0x1cf541[_0x1fc742(0xc9)],_0x2cfe62?_0x1fc742(0xe4):_0x1fc742(0xdc))[_0x1fc742(0xe2)]),_0x101ec7;});}[_0x55878c(0xdb)](_0x253771){const _0x4bf036=_0x55878c;return _0x253771[_0x4bf036(0xfc)](_0x9c5010=>{const _0x597d12=_0x4bf036,_0x3370de=this[_0x597d12(0xff)](_0x22bcf7,_0x9c5010[_0x597d12(0xc9)]);return _0x3370de[_0x597d12(0xe9)]=_0x9c5010[_0x597d12(0xe9)],_0x3370de[_0x597d12(0xc3)]=_0x9c5010[_0x597d12(0xbd)],_0x3370de;});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as
|
|
23
|
+
import{Plugin as _0x4cfad9}from'ckeditor5/src/core.js';import{FileRepository as _0x33eb65}from'ckeditor5/src/upload.js';import _0x226cb3 from'./uploadcareediting.js';import _0x24dabc from'./utils/uploadutils.js';import{getImageUrls as _0x4ee270}from'./utils/editingutils.js';export default class p extends _0x4cfad9{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x33eb65,_0x226cb3];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x4a17ce=this['editor'];if(!!!_0x4a17ce['config']['get']('uploadcare'))return;_0x4a17ce['plugins']['get'](_0x33eb65)['createUploadAdapter']=_0x537435=>new x(_0x537435,_0x4a17ce),_0x4a17ce['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x2f2947,{imageElement:_0x4987f7,data:_0x30821d})=>{_0x4a17ce['model']['change'](_0x56d3f0=>{_0x56d3f0['setAttribute']('uploadcareImageId',_0x30821d['uploadcareImageId'],_0x4987f7);});});}}class x{['loader'];['editor'];['controller'];constructor(_0x4f8052,_0x10bf63){this['loader']=_0x4f8052,this['editor']=_0x10bf63,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x523f92=this['editor']['config']['get']('uploadcare.pubkey'),_0x496c56=await this['loader']['file'];return _0x24dabc['upload']({'file':_0x496c56,'publicKey':_0x523f92,'signal':this['controller']['signal'],'onProgress':_0x59113a=>{_0x59113a&&_0x59113a['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x59113a['value']);}})['then'](async _0x754414=>{const {imageFallbackUrl:_0x4fd4cb,imageSources:_0x276927}=_0x4ee270(_0x754414['cdnUrl'],_0x754414['imageInfo']['width']);return{'uploadcareImageId':_0x754414['uuid'],'default':_0x4fd4cb,'sources':_0x276927};})['catch'](()=>{const _0x899b91=t('Cannot\x20upload\x20file:')+('\x20'+_0x496c56['name']+'.');return Promise['reject'](_0x899b91);});}['abort'](){this['controller']['abort']();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{UploadcareSource as
|
|
23
|
+
import{UploadcareSource as _0x49f4df}from'../uploadcareconfig.js';export function getTranslation(_0x49ba34,_0x37c6b4,_0x531254){const t=_0x49ba34['t'],_0x1fb6c1=_0x49ba34['t'];switch(_0x37c6b4){case _0x49f4df['Local']:return{'text':_0x1fb6c1('Insert'===_0x531254?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x1fb6c1('From\x20computer')};case _0x49f4df['URL']:return{'text':'Insert'===_0x531254?_0x1fb6c1('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x1fb6c1('Via\x20URL')};case _0x49f4df['Dropbox']:return{'text':t('Insert'===_0x531254?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x49f4df['Facebook']:return{'text':t('Insert'===_0x531254?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x49f4df['GDrive']:return{'text':t('Insert'===_0x531254?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x49f4df['GPhotos']:return{'text':t('Insert'===_0x531254?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x49f4df['OneDrive']:return{'text':t('Insert'===_0x531254?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x37c6b4;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x466055=_0x597d;(function(_0x53e9ac,_0x2c6afb){var _0x48a46c=_0x597d,_0x17ca1f=_0x53e9ac();while(!![]){try{var _0xf40df=-parseInt(_0x48a46c(0xd2))/0x1*(-parseInt(_0x48a46c(0xcd))/0x2)+-parseInt(_0x48a46c(0xc2))/0x3+-parseInt(_0x48a46c(0xcc))/0x4*(-parseInt(_0x48a46c(0xca))/0x5)+parseInt(_0x48a46c(0xcf))/0x6+-parseInt(_0x48a46c(0xc6))/0x7+parseInt(_0x48a46c(0xd1))/0x8*(-parseInt(_0x48a46c(0xc0))/0x9)+parseInt(_0x48a46c(0xd0))/0xa;if(_0xf40df===_0x2c6afb)break;else _0x17ca1f['push'](_0x17ca1f['shift']());}catch(_0x16b00b){_0x17ca1f['push'](_0x17ca1f['shift']());}}}(_0x4030,0x1a5ea));import{FocusTracker as _0x235326}from'ckeditor5/src/utils.js';function _0x597d(_0x482dbb,_0xd53920){var _0x4030c7=_0x4030();return _0x597d=function(_0x597dca,_0x5a2422){_0x597dca=_0x597dca-0xc0;var _0x11fcc6=_0x4030c7[_0x597dca];return _0x11fcc6;},_0x597d(_0x482dbb,_0xd53920);}function _0x4030(){var _0x8d3db5=['getFocusableElement','35TOjjjS','forwardCycle','11672XRSQcS','101732UDGWqa','bindTemplate','968136nnYsqd','2253270iViIcX','199280PmJLaN','1psVsuD','54bptnaw','createCollection','31836lgtLtN','focusCycler','div','fire','1329251KlkQvG','focusTracker','true'];_0x4030=function(){return _0x8d3db5;};return _0x4030();}import{View as _0x4f4f76,FocusCycler as _0x1dd00c}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';export default class q extends _0x4f4f76{[_0x466055(0xc7)];[_0x466055(0xc3)];constructor(_0xebcf4e){var _0x2715b9=_0x466055;super(_0xebcf4e),this[_0x2715b9(0xc7)]=new _0x235326(),this[_0x2715b9(0xc3)]=new _0x1dd00c({'focusables':this[_0x2715b9(0xc1)](),'focusTracker':this[_0x2715b9(0xc7)]});}[_0x466055(0xc9)](){var _0x2aab92=_0x466055;return{'tag':_0x2aab92(0xc4),'attributes':{'aria-hidden':_0x2aab92(0xc8),'tabindex':'0'},'on':{'focus':this[_0x2aab92(0xce)]['to'](()=>{var _0x30bb6d=_0x2aab92;this[_0x30bb6d(0xc3)][_0x30bb6d(0xc5)](_0x30bb6d(0xcb));})}};}}
|