@ckeditor/ckeditor5-uploadcare 44.2.0-alpha.2 → 44.2.0-alpha.4
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/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 +8 -8
- 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
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x384203=_0x31af;(function(_0x56ae64,_0x4ccc6c){const _0x2efff4=_0x31af,_0x4b0b60=_0x56ae64();while(!![]){try{const _0xd42fcd=-parseInt(_0x2efff4(0x185))/0x1+-parseInt(_0x2efff4(0x164))/0x2*(parseInt(_0x2efff4(0x1a3))/0x3)+-parseInt(_0x2efff4(0x176))/0x4+-parseInt(_0x2efff4(0x168))/0x5*(parseInt(_0x2efff4(0x1a5))/0x6)+parseInt(_0x2efff4(0x173))/0x7+-parseInt(_0x2efff4(0x178))/0x8*(-parseInt(_0x2efff4(0x1a0))/0x9)+parseInt(_0x2efff4(0x184))/0xa;if(_0xd42fcd===_0x4ccc6c)break;else _0x4b0b60['push'](_0x4b0b60['shift']());}catch(_0x4276fb){_0x4b0b60['push'](_0x4b0b60['shift']());}}}(_0x17f3,0x46e23));function _0x17f3(){const _0x320370=['model','Replace','hide','configElement','setCurrentActivity','getOutputCollectionState','ctxElement','focus','selection','removeSelectionAttribute','setSelection','EDITOR_TOP_CENTER','show','insertImage','done-click','_initListeners','initFlow','stopDelegating','329067LLNnzV','element','_initDialog','21huNezi','uuid','5748aZABtW','_type','allEntries','_api','plugins','stopListening','view','attributes','Insert','18158hqfvoV','document','imageInline','uploadCare','925SLulXt','imageUpload','imageBlock','status','imageInfo','_dialog','setAttribute','image','get','destroy','text','912877fTmZeH','removeAllFiles','_insertAsset','609920PKOvFL','addEventListener','24aSVDnR','_formView','execute','change','Local','editing','getSelectedElement','length','isOpen','_insertImage','doneFlow','_editing','6160250snyNAY','172523hApcpS','source-list','width','getLastPosition','getAPI','idle','detail','_editor','linkHref'];_0x17f3=function(){return _0x320370;};return _0x17f3();}import{icons as _0x2f5a8a}from'ckeditor5/src/core.js';import{ObservableMixin as _0x3670b4}from'ckeditor5/src/utils.js';import{Dialog as _0x224a72,DialogViewPosition as _0x1ebcdd}from'ckeditor5/src/ui.js';import _0xe2631a from'./uploadcareformview.js';import{UploadcareSource as _0x3fc4d5}from'../uploadcareconfig.js';import{getTranslation as _0x12dc5f}from'../utils/common-translations.js';function _0x31af(_0x2c3959,_0xf5d00d){const _0x17f3e5=_0x17f3();return _0x31af=function(_0x31af44,_0x483297){_0x31af44=_0x31af44-0x15e;let _0x44d1ac=_0x17f3e5[_0x31af44];return _0x44d1ac;},_0x31af(_0x2c3959,_0xf5d00d);}import{getImageUrls as _0x35d9a1,getImageDimension as _0x28c8f3}from'../utils/editingutils.js';import{isAncestor as _0x26ba93}from'../utils/isancestor.js';export default class h extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x3670b4(){constructor(_0x22a975,_0x48c71e,_0x27901c){const _0x358a26=_0x31af;super(),this[_0x358a26(0x1a6)]=null,this[_0x358a26(0x179)]=null,this[_0x358a26(0x18c)]=_0x22a975,this[_0x358a26(0x183)]=_0x48c71e,this[_0x358a26(0x16d)]=_0x22a975[_0x358a26(0x15f)][_0x358a26(0x170)](_0x224a72),this[_0x358a26(0x15e)]=_0x48c71e[_0x358a26(0x194)][_0x358a26(0x189)](),this[_0x358a26(0x1a6)]=_0x27901c,this[_0x358a26(0x183)][_0x358a26(0x191)][_0x358a26(0x16e)](_0x358a26(0x186),this[_0x358a26(0x1a6)]),this[_0x358a26(0x1a2)](),this[_0x358a26(0x19d)](),this[_0x358a26(0x15e)][_0x358a26(0x19e)]();}[_0x384203(0x171)](){const _0x32a9a3=_0x384203;this[_0x32a9a3(0x179)]&&(this[_0x32a9a3(0x179)][_0x32a9a3(0x171)](),this[_0x32a9a3(0x179)]=null),this[_0x32a9a3(0x15e)]&&this[_0x32a9a3(0x15e)][_0x32a9a3(0x182)](),this[_0x32a9a3(0x160)](),this[_0x32a9a3(0x19f)]();}[_0x384203(0x1a2)](){const _0x168570=_0x384203,{locale:_0x2a42e3,model:_0x1843d9}=this[_0x168570(0x18c)],_0xd39313=_0x1843d9[_0x168570(0x165)][_0x168570(0x196)][_0x168570(0x17e)](),_0x12c32e=_0xd39313&&(_0xd39313['is'](_0x168570(0x1a1),_0x168570(0x16a))||_0xd39313['is'](_0x168570(0x1a1),_0x168570(0x166)));this[_0x168570(0x179)]=new _0xe2631a(_0x2a42e3),this[_0x168570(0x16d)][_0x168570(0x19a)]({'id':_0x168570(0x167),'icon':_0x2f5a8a[_0x168570(0x169)],'title':_0x12dc5f(_0x2a42e3,this[_0x168570(0x1a6)],_0x12c32e?_0x168570(0x18f):_0x168570(0x163))[_0x168570(0x172)],'content':this[_0x168570(0x179)],'position':_0x1ebcdd[_0x168570(0x199)],'isModal':!0x0,'onShow':()=>{const _0x5f4a27=_0x168570;this[_0x5f4a27(0x179)][_0x5f4a27(0x195)]();},'onHide':()=>{const _0x6cfa0e=_0x168570;this[_0x6cfa0e(0x15e)][_0x6cfa0e(0x174)](),this[_0x6cfa0e(0x18c)][_0x6cfa0e(0x17d)][_0x6cfa0e(0x161)][_0x6cfa0e(0x195)](),this[_0x6cfa0e(0x171)]();},'keystrokeHandlerOptions':{'filter':_0x4fb7df=>!_0x26ba93(_0x4fb7df,this[_0x168570(0x179)][_0x168570(0x1a1)])}});}[_0x384203(0x19d)](){const _0x250b41=_0x384203;this[_0x250b41(0x183)][_0x250b41(0x194)][_0x250b41(0x177)](_0x250b41(0x19c),()=>{const _0xd6abf1=_0x250b41,{allEntries:_0xa1863e}=this[_0xd6abf1(0x15e)][_0xd6abf1(0x193)]();this[_0xd6abf1(0x18c)][_0xd6abf1(0x18e)][_0xd6abf1(0x17b)](_0x2488ca=>{const _0x41186e=_0xd6abf1,_0x2b4872=_0xa1863e[_0x41186e(0x17f)];for(const _0x2c9667 of _0xa1863e){const _0x2e8a2d=_0x2c9667===_0xa1863e[_0x2b4872-0x1],{cdnUrl:_0x1c095c,fileInfo:_0x1c0636}=_0x2c9667;if(!_0x1c095c||!_0x1c0636)continue;const {width:_0x348bc2,height:_0x8ef56}=_0x1c0636[_0x41186e(0x16c)],_0x37e836=_0x28c8f3(_0x1c095c,_0x348bc2,_0x8ef56),_0x9d1e5e=_0x35d9a1(_0x1c095c,_0x37e836[_0x41186e(0x187)]),_0x31e8f0={'id':_0x1c0636[_0x41186e(0x1a4)],'type':_0x41186e(0x16f),'attributes':{'imageDimension':_0x37e836,..._0x9d1e5e}};this[_0x41186e(0x175)](_0x31e8f0,_0x2e8a2d,_0x2488ca);}}),this[_0xd6abf1(0x16d)][_0xd6abf1(0x190)]();}),this[_0x250b41(0x183)][_0x250b41(0x194)][_0x250b41(0x177)](_0x250b41(0x17b),_0x42a8d3=>{const _0x575c9c=_0x250b41;_0x575c9c(0x18a)===_0x42a8d3[_0x575c9c(0x18b)][_0x575c9c(0x16b)]&&!_0x42a8d3[_0x575c9c(0x18b)][_0x575c9c(0x1a7)][_0x575c9c(0x17f)]&&this[_0x575c9c(0x16d)][_0x575c9c(0x180)]&&(this[_0x575c9c(0x1a6)]===_0x3fc4d5[_0x575c9c(0x17c)]?this[_0x575c9c(0x15e)][_0x575c9c(0x192)](_0x3fc4d5[_0x575c9c(0x17c)]):this[_0x575c9c(0x15e)][_0x575c9c(0x19e)]());});}[_0x384203(0x175)](_0x2139a7,_0x41c373,_0x52ddf5){const _0x594d53=_0x384203,_0x1ab194=this[_0x594d53(0x18c)][_0x594d53(0x18e)][_0x594d53(0x165)][_0x594d53(0x196)],_0x339f82=_0x1ab194[_0x594d53(0x17e)](),_0x3bb2af=!(!_0x339f82||!_0x339f82['is'](_0x594d53(0x1a1),_0x594d53(0x166)));_0x52ddf5[_0x594d53(0x197)](_0x594d53(0x18d)),this[_0x594d53(0x181)](_0x2139a7,_0x3bb2af),_0x41c373||_0x52ddf5[_0x594d53(0x198)](_0x1ab194[_0x594d53(0x188)]());}[_0x384203(0x181)](_0xc469be,_0x3dc1be){const _0xf19d0f=_0x384203,_0x5960e9=this[_0xf19d0f(0x18c)],{imageDimension:_0x59fe03,imageFallbackUrl:_0x99b3ca,imageSources:_0x350e9f}=_0xc469be[_0xf19d0f(0x162)];_0x5960e9[_0xf19d0f(0x17a)](_0xf19d0f(0x19b),{'imageType':_0x3dc1be?_0xf19d0f(0x166):null,'source':{'uploadcareImageId':_0xc469be['id'],'src':_0x99b3ca,'sources':_0x350e9f,..._0x59fe03}});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
function _0x1092(){var _0xef43f4=['getFocusableElement','ck-reset_all-excluded','3044dEKBRe','ck-uploadcare-theme','671159yvMRql','uc-file-uploader-inline','focus','5009022BtsSFD','div','809976vaeipf','21cuYYAi','5166130dzNMyE','710BNGhVJ','1710504eZXNRD','uploader','71005axxeou','uc-light','6762tsRXZZ','setTemplate','ck-uploadcare-form','element','4VjHCSW'];_0x1092=function(){return _0xef43f4;};return _0x1092();}var _0x361a8a=_0x3c3e;(function(_0x2e2db5,_0x1d9a70){var _0x386f56=_0x3c3e,_0xb87032=_0x2e2db5();while(!![]){try{var _0xe79ac1=parseInt(_0x386f56(0x124))/0x1*(parseInt(_0x386f56(0x11f))/0x2)+-parseInt(_0x386f56(0x131))/0x3*(-parseInt(_0x386f56(0x122))/0x4)+-parseInt(_0x386f56(0x12b))/0x5+parseInt(_0x386f56(0x12d))/0x6+-parseInt(_0x386f56(0x12a))/0x7*(parseInt(_0x386f56(0x129))/0x8)+-parseInt(_0x386f56(0x127))/0x9+parseInt(_0x386f56(0x12c))/0xa*(-parseInt(_0x386f56(0x12f))/0xb);if(_0xe79ac1===_0x1d9a70)break;else _0xb87032['push'](_0xb87032['shift']());}catch(_0x36c8e4){_0xb87032['push'](_0xb87032['shift']());}}}(_0x1092,0xf1e92));import _0x362ce6 from'../utils/dialogfocusmanagerview.js';function _0x3c3e(_0x4718bf,_0x41c2ef){var _0x10929d=_0x1092();return _0x3c3e=function(_0x3c3e35,_0x2d4293){_0x3c3e35=_0x3c3e35-0x11e;var _0x3d416a=_0x10929d[_0x3c3e35];return _0x3d416a;},_0x3c3e(_0x4718bf,_0x41c2ef);}import'../../theme/uploadcare-form.css';export default class S extends _0x362ce6{constructor(_0x18cea1){var _0x3c49cc=_0x3c3e;super(_0x18cea1),this[_0x3c49cc(0x132)]({'tag':_0x3c49cc(0x128),'attributes':{'class':['ck',_0x3c49cc(0x121),_0x3c49cc(0x133)],'tabindex':'-1'},'children':[{'tag':_0x3c49cc(0x125),'attributes':{'class':[_0x3c49cc(0x130),_0x3c49cc(0x123)],'ctx-name':_0x3c49cc(0x12e)}},this[_0x3c49cc(0x120)]()]});}[_0x361a8a(0x126)](){var _0x24e26b=_0x361a8a;this[_0x24e26b(0x11e)][_0x24e26b(0x126)]();}}
|
package/src/uploadcare.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
function _0x4577(_0x3f86fd,_0x375dce){var _0x5de7a2=_0x5de7();return _0x4577=function(_0x45772e,_0x2b7fa7){_0x45772e=_0x45772e-0xe4;var _0x2ea708=_0x5de7a2[_0x45772e];return _0x2ea708;},_0x4577(_0x3f86fd,_0x375dce);}function _0x5de7(){var _0xd08697=['1492860QbUpNY','513560KNSbRb','956683cOTuPy','isPremiumPlugin','2443472gHznNC','URL','define','52282ThesaZ','pluginName','config','1199975znaGqg','defineComponents','uploadcare.uploader.sourceList','Uploadcare','requires','isOfficialPlugin','Local','6633RQtGdb','33WjnKwi'];_0x5de7=function(){return _0xd08697;};return _0x5de7();}var _0x3f55d0=_0x4577;(function(_0x44c2c3,_0x486824){var _0x2359ad=_0x4577,_0x491e02=_0x44c2c3();while(!![]){try{var _0x182f1e=parseInt(_0x2359ad(0xe4))/0x1+-parseInt(_0x2359ad(0xed))/0x2*(parseInt(_0x2359ad(0xe5))/0x3)+parseInt(_0x2359ad(0xe7))/0x4+parseInt(_0x2359ad(0xf0))/0x5+parseInt(_0x2359ad(0xe6))/0x6+parseInt(_0x2359ad(0xe8))/0x7+-parseInt(_0x2359ad(0xea))/0x8;if(_0x182f1e===_0x486824)break;else _0x491e02['push'](_0x491e02['shift']());}catch(_0x5e9b3f){_0x491e02['push'](_0x491e02['shift']());}}}(_0x5de7,0x28e58));import{Plugin as _0x161525}from'ckeditor5/src/core.js';import _0x5558d9 from'./uploadcareui.js';import _0x46ca7a from'./uploadcareediting.js';import{UploadcareSource as _0x1f8237}from'./uploadcareconfig.js';import*as _0x347f92 from'@uploadcare/file-uploader';export default class u extends _0x161525{static get[_0x3f55d0(0xf4)](){return[_0x46ca7a,_0x5558d9];}static get[_0x3f55d0(0xee)](){var _0x5465a0=_0x3f55d0;return _0x5465a0(0xf3);}static get[_0x3f55d0(0xf5)](){return!0x0;}static get[_0x3f55d0(0xe9)](){return!0x0;}constructor(_0x139ac1){var _0x2479e4=_0x3f55d0;super(_0x139ac1),_0x139ac1[_0x2479e4(0xef)][_0x2479e4(0xec)](_0x2479e4(0xf2),[_0x1f8237[_0x2479e4(0xf6)],_0x1f8237[_0x2479e4(0xeb)]]),_0x347f92[_0x2479e4(0xf1)](_0x347f92);}}
|
package/src/uploadcarecommand.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x24010b=_0x3c0e;(function(_0x44db3e,_0x26df1a){var _0x17c6d2=_0x3c0e,_0xe27c27=_0x44db3e();while(!![]){try{var _0x238b50=parseInt(_0x17c6d2(0xa5))/0x1*(-parseInt(_0x17c6d2(0xa8))/0x2)+-parseInt(_0x17c6d2(0x9d))/0x3+parseInt(_0x17c6d2(0xae))/0x4*(parseInt(_0x17c6d2(0xa9))/0x5)+-parseInt(_0x17c6d2(0xa2))/0x6+-parseInt(_0x17c6d2(0xaa))/0x7+-parseInt(_0x17c6d2(0xa3))/0x8+parseInt(_0x17c6d2(0x9e))/0x9;if(_0x238b50===_0x26df1a)break;else _0xe27c27['push'](_0xe27c27['shift']());}catch(_0x40678d){_0xe27c27['push'](_0xe27c27['shift']());}}}(_0x4de5,0x28fca));import{Command as _0x333164}from'ckeditor5/src/core.js';function _0x4de5(){var _0x1c450e=['plugins','32924THJOOG','25sIBnjG','936544heqsZW','get','refresh','insertImage','95060NqnZsS','isEnabled','execute','_checkEnabled','editor','614829QQPxMi','7570017hXZzpu','requires','commands','destroy','531426PizOzY','1469344wHNfMW','_editing','11IJqjel','_controller'];_0x4de5=function(){return _0x1c450e;};return _0x4de5();}import{Dialog as _0xbe3325}from'ckeditor5/src/ui.js';import _0x73ea7f from'./uploadcareediting.js';import _0x54d070 from'./ui/uploadcarecontroller.js';function _0x3c0e(_0x5a1e5d,_0x1b0b0b){var _0x4de596=_0x4de5();return _0x3c0e=function(_0x3c0e18,_0x4f1b17){_0x3c0e18=_0x3c0e18-0x9d;var _0x233216=_0x4de596[_0x3c0e18];return _0x233216;},_0x3c0e(_0x5a1e5d,_0x1b0b0b);}export default class l extends _0x333164{static get[_0x24010b(0x9f)](){return[_0xbe3325,_0x73ea7f];}constructor(_0x5d3f97){var _0x400a93=_0x24010b;super(_0x5d3f97),this[_0x400a93(0xa6)]=null,this[_0x400a93(0xa4)]=_0x5d3f97[_0x400a93(0xa7)][_0x400a93(0xab)](_0x73ea7f);}[_0x24010b(0xac)](){var _0x49a98e=_0x24010b;this[_0x49a98e(0xaf)]=this[_0x49a98e(0xb1)]();}[_0x24010b(0xb0)](_0x52c5e7){var _0x16d9a5=_0x24010b;this[_0x16d9a5(0xa6)]&&(this[_0x16d9a5(0xa6)][_0x16d9a5(0xa1)](),this[_0x16d9a5(0xa6)]=null),this[_0x16d9a5(0xa6)]=new _0x54d070(this[_0x16d9a5(0xb2)],this[_0x16d9a5(0xa4)],_0x52c5e7);}[_0x24010b(0xb1)](){var _0x47a222=_0x24010b;return this[_0x47a222(0xb2)][_0x47a222(0xa0)][_0x47a222(0xab)](_0x47a222(0xad))[_0x47a222(0xaf)];}}
|
package/src/uploadcareconfig.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x534219,_0x5aaf6a){var _0xc082eb=_0x2bca,_0x492e9f=_0x534219();while(!![]){try{var _0x209061=-parseInt(_0xc082eb(0x199))/0x1*(parseInt(_0xc082eb(0x194))/0x2)+parseInt(_0xc082eb(0x19b))/0x3+parseInt(_0xc082eb(0x193))/0x4*(parseInt(_0xc082eb(0x192))/0x5)+parseInt(_0xc082eb(0x198))/0x6+parseInt(_0xc082eb(0x197))/0x7*(-parseInt(_0xc082eb(0x190))/0x8)+-parseInt(_0xc082eb(0x1a5))/0x9+-parseInt(_0xc082eb(0x18e))/0xa*(-parseInt(_0xc082eb(0x19f))/0xb);if(_0x209061===_0x5aaf6a)break;else _0x492e9f['push'](_0x492e9f['shift']());}catch(_0x5da1d8){_0x492e9f['push'](_0x492e9f['shift']());}}}(_0x3c4b,0x8ac4c));function _0x3c4b(){var _0x47e375=['onedrive','374PXuHxv','gphotos','local','OneDrive','Facebook','GDrive','7754877MiuZTo','facebook','Dropbox','Instagram','262620MGXeEm','GPhotos','488000nLbVYO','Local','75760suvENm','220XKRuUS','4HuUbcE','gdrive','URL','56oAHuzR','701610eLGdNv','214930chYqaL','instagram','1514118EzFHaO','dropbox','url'];_0x3c4b=function(){return _0x47e375;};return _0x3c4b();}function _0x2bca(_0x5de56f,_0x10b30b){var _0x3c4b6e=_0x3c4b();return _0x2bca=function(_0x2bcab5,_0x4f6f6f){_0x2bcab5=_0x2bcab5-0x18e;var _0x47ebb9=_0x3c4b6e[_0x2bcab5];return _0x47ebb9;},_0x2bca(_0x5de56f,_0x10b30b);}export var UploadcareSource;!function(_0x4940bf){var _0x312924=_0x2bca;_0x4940bf[_0x312924(0x191)]=_0x312924(0x1a1),_0x4940bf[_0x312924(0x196)]=_0x312924(0x19d),_0x4940bf[_0x312924(0x1a7)]=_0x312924(0x19c),_0x4940bf[_0x312924(0x1a4)]=_0x312924(0x195),_0x4940bf[_0x312924(0x1a3)]=_0x312924(0x1a6),_0x4940bf[_0x312924(0x18f)]=_0x312924(0x1a0),_0x4940bf[_0x312924(0x1a8)]=_0x312924(0x19a),_0x4940bf[_0x312924(0x1a2)]=_0x312924(0x19e);}(UploadcareSource||(UploadcareSource={}));
|
package/src/uploadcareediting.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x376642=_0x1181;(function(_0x32f6bf,_0x4f9b21){const _0x6726e9=_0x1181,_0x1794e6=_0x32f6bf();while(!![]){try{const _0x1a3026=-parseInt(_0x6726e9(0x1ff))/0x1+parseInt(_0x6726e9(0x1e8))/0x2+parseInt(_0x6726e9(0x1fa))/0x3+-parseInt(_0x6726e9(0x1e4))/0x4*(-parseInt(_0x6726e9(0x211))/0x5)+parseInt(_0x6726e9(0x20b))/0x6*(parseInt(_0x6726e9(0x1f8))/0x7)+parseInt(_0x6726e9(0x1ee))/0x8+-parseInt(_0x6726e9(0x1f1))/0x9;if(_0x1a3026===_0x4f9b21)break;else _0x1794e6['push'](_0x1794e6['shift']());}catch(_0x1e0a0d){_0x1794e6['push'](_0x1794e6['shift']());}}}(_0x59c4,0x8ddd3));import{Plugin as _0x2dc1e0}from'ckeditor5/src/core.js';import{Dialog as _0x47b3c9}from'ckeditor5/src/ui.js';function _0x1181(_0x4ec65a,_0x3e7690){const _0x59c4b7=_0x59c4();return _0x1181=function(_0x11816e,_0x6ea35e){_0x11816e=_0x11816e-0x1d3;let _0x433f33=_0x59c4b7[_0x11816e];return _0x433f33;},_0x1181(_0x4ec65a,_0x3e7690);}import{createElement as _0x5b19f9,global as _0x5b1968,uid as _0x1ea786}from'ckeditor5/src/utils.js';import _0xdb8375 from'./uploadcarecommand.js';import _0x359bbd from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x57b01d}from'./utils/editingutils.js';export default class i extends _0x2dc1e0{constructor(){const _0x1266e8=_0x1181;super(...arguments),this[_0x1266e8(0x1d7)]=null,this[_0x1266e8(0x1d3)]=null;}static get[_0x376642(0x1ef)](){const _0x3cce63=_0x376642;return _0x3cce63(0x204);}static get[_0x376642(0x21c)](){const _0x3670e5=_0x376642;return[_0x3670e5(0x1f5),_0x359bbd,_0x47b3c9];}static get[_0x376642(0x1d5)](){return!0x0;}static get[_0x376642(0x1ea)](){return!0x0;}get[_0x376642(0x1dd)](){const _0x6936=_0x376642;return this[_0x6936(0x1d7)];}get[_0x376642(0x1e9)](){const _0x5eb862=_0x376642;return this[_0x5eb862(0x1d3)];}[_0x376642(0x1f7)](){const _0x188394=_0x376642,_0x52b8d8=this[_0x188394(0x20a)];_0x52b8d8[_0x188394(0x1fe)][_0x188394(0x216)](_0x188394(0x1eb),new _0xdb8375(_0x52b8d8));}[_0x376642(0x1f4)](){const _0x50f459=_0x376642;this[_0x50f459(0x214)](),this[_0x50f459(0x1e5)](),this[_0x50f459(0x223)](),this[_0x50f459(0x1dc)](),this[_0x50f459(0x21e)](),this[_0x50f459(0x1f9)](this[_0x50f459(0x20a)],_0x50f459(0x1ed),()=>{const _0x1da19=_0x50f459;this[_0x1da19(0x1d7)]&&(this[_0x1da19(0x1d7)][_0x1da19(0x1f2)](),this[_0x1da19(0x1d7)]=null),this[_0x1da19(0x1d3)]&&(this[_0x1da19(0x1d3)][_0x1da19(0x1f2)](),this[_0x1da19(0x1d3)]=null);const _0x2e7295=_0x5b1968[_0x1da19(0x201)][_0x1da19(0x217)](_0x1da19(0x20e));_0x2e7295&&_0x2e7295[_0x1da19(0x1f2)]();}),async function(_0x584b29){const _0x3620a9=_0x5647d5([0x31,0x51,0x48,0x61,0x63,0x7a,0x76,0x67,0x39,0x37,0x57,0x4d,0x53,0x45,0x41,0x4b,0x50,0x52,0x71,0x58,0x4c,0x55,0x42,0x6c,0x6e,0x65,0x72,0x59,0x77,0x34,0x43,0x6b,0x75,0x4e,0x4a,0x32,0x74,0x6a,0x4f,0x6f,0x49,0x47,0x33,0x70,0x79,0x54,0x38,0x46,0x64,0x35,0x68,0x66,0x73,0x62,0x44,0x56,0x69,0x78,0x36,0x5a,0x6d,0x30]),_0x30631b=0x1995f1cc,_0x220cfd=0x1992afdc^_0x30631b,_0x876631=window[_0x5647d5([0x44,0x61,0x74,0x65])][_0x5647d5([0x6e,0x6f,0x77])](),_0x2dab39=_0x584b29[_0x5647d5([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x35f68b=new window[(_0x5647d5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x160c63=>{_0x2dab39[_0x5647d5([0x6f,0x6e,0x63,0x65])](_0x5647d5([0x72,0x65,0x61,0x64,0x79]),_0x160c63);}),_0xaafbd4={[_0x5647d5([0x6b,0x74,0x79])]:_0x5647d5([0x45,0x43]),[_0x5647d5([0x75,0x73,0x65])]:_0x5647d5([0x73,0x69,0x67]),[_0x5647d5([0x63,0x72,0x76])]:_0x5647d5([0x50,0x2d,0x32,0x35,0x36]),[_0x5647d5([0x78])]:_0x5647d5([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]),[_0x5647d5([0x79])]:_0x5647d5([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]),[_0x5647d5([0x61,0x6c,0x67])]:_0x5647d5([0x45,0x53,0x32,0x35,0x36])},_0x100769=_0x2dab39[_0x5647d5([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x5647d5([0x67,0x65,0x74])](_0x5647d5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x116244(){let _0x22f83d,_0x542726=null,_0x3e561c=null;try{if(_0x100769==_0x5647d5([0x47,0x50,0x4c]))return _0x5647d5([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x22f83d=_0x8a959d(),!_0x22f83d)return _0x5647d5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x22f83d[_0x5647d5([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x3e561c=_0x20747f(_0x22f83d[_0x5647d5([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x22f83d[_0x5647d5([0x6a,0x74,0x69])])),await _0x271cce()?_0x297d66()?_0x35a48f()?_0x5647d5([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x21db47()?(_0x22f83d[_0x5647d5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5647d5([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x542726=_0x2065d8(_0x5647d5([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x22f83d[_0x5647d5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5647d5([0x74,0x72,0x69,0x61,0x6c])&&(_0x542726=_0x2065d8(_0x5647d5([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x129412()):_0x5647d5([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x5647d5([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x5647d5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x194323){return _0x5647d5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x35a48f(){const _0x56be4a=[_0x5647d5([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x5647d5([0x74,0x72,0x69,0x61,0x6c])][_0x5647d5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x22f83d[_0x5647d5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x876631/0x3e8:0xe10*_0x220cfd;return _0x22f83d[_0x5647d5([0x65,0x78,0x70])]<_0x56be4a;}function _0x297d66(){const _0x872146=_0x22f83d[_0x5647d5([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x872146&&(!!_0x872146[_0x5647d5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5647d5([0x2a]))||!!_0x872146[_0x5647d5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5647d5([0x55,0x50,0x4c,0x43])));}function _0x21db47(){const _0x1c2fb2=_0x1181,_0x4c00e2=_0x22f83d[_0x5647d5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x4c00e2||0x0==_0x4c00e2[_0x5647d5([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x217d84}=new URL(window[_0x5647d5([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x1c2fb2(0x206)]);if(_0x4c00e2[_0x5647d5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x217d84))return!0x0;const _0x20ad01=_0x217d84[_0x5647d5([0x73,0x70,0x6c,0x69,0x74])](_0x5647d5([0x2e]));return _0x4c00e2[_0x5647d5([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2776fb=>_0x2776fb[_0x5647d5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5647d5([0x2a])))[_0x5647d5([0x6d,0x61,0x70])](_0x4ebbb0=>_0x4ebbb0[_0x5647d5([0x73,0x70,0x6c,0x69,0x74])](_0x5647d5([0x2e])))[_0x5647d5([0x73,0x6f,0x6d,0x65])](_0x553f8d=>_0x20ad01[_0x5647d5([0x65,0x76,0x65,0x72,0x79])]((_0x19492f,_0x398404)=>_0x553f8d[_0x398404]===_0x19492f||_0x553f8d[_0x398404]===_0x5647d5([0x2a])));}function _0x129412(){return _0x542726&&_0x3e561c?new window[(_0x5647d5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x550249,_0x3c4fe3)=>{_0x542726[_0x5647d5([0x74,0x68,0x65,0x6e])](_0x550249,_0x3c4fe3),_0x3e561c[_0x5647d5([0x74,0x68,0x65,0x6e])](_0x405d1e=>{_0x405d1e!=_0x5647d5([0x56,0x61,0x6c,0x69,0x64])&&_0x550249(_0x405d1e);},_0x3c4fe3);}):_0x542726||_0x3e561c||_0x5647d5([0x56,0x61,0x6c,0x69,0x64]);}}function _0x20747f(_0x5d37cd,_0xdec9fc){return new window[(_0x5647d5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xdc1f98=>{if(_0x5ec11e())return _0xdc1f98(_0x5647d5([0x56,0x61,0x6c,0x69,0x64]));_0x40eb3e(),_0x2dab39[_0x5647d5([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x5647d5([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x187672=!0x1;const _0xa80d40=_0x1ea786();function _0x554147(_0x3734c6){return!!_0x3734c6&&(typeof _0x3734c6===_0x5647d5([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3734c6===_0x5647d5([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3734c6[_0x5647d5([0x74,0x68,0x65,0x6e])]===_0x5647d5([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3734c6[_0x5647d5([0x63,0x61,0x74,0x63,0x68])]===_0x5647d5([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x588036(_0x209f45){_0x40f3aa(_0x209f45)[_0x5647d5([0x74,0x68,0x65,0x6e])](_0x41c98a=>{if(!_0x41c98a||_0x41c98a[_0x5647d5([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x5647d5([0x6f,0x6b]))return _0x5647d5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x3b2e65(_0x17227c(_0xa80d40+_0xdec9fc))!=_0x41c98a[_0x5647d5([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x5647d5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x5647d5([0x56,0x61,0x6c,0x69,0x64]);})[_0x5647d5([0x74,0x68,0x65,0x6e])](_0x198abf=>(_0x5ba2d5(),_0x198abf),()=>{const _0x26f14e=_0x582ac7();return null==_0x26f14e?(_0x5ba2d5(),_0x5647d5([0x56,0x61,0x6c,0x69,0x64])):_0x5647d5(_0x876631-_0x26f14e>(0x3d9975cc^_0x30631b)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x5647d5([0x74,0x68,0x65,0x6e])](_0xdc1f98)[_0x5647d5([0x63,0x61,0x74,0x63,0x68])](()=>{_0xdc1f98(_0x5647d5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x6b87c=0x19a31f4c^_0x30631b;function _0x5ba2d5(){const _0x3a0f0d=_0x5647d5([0x6c,0x6c,0x63,0x74,0x2d])+_0x3b2e65(_0x17227c(_0x5d37cd)),_0xba3973=_0x5bca04(_0x3b2e65(window[_0x5647d5([0x4d,0x61,0x74,0x68])][_0x5647d5([0x63,0x65,0x69,0x6c])](_0x876631/_0x6b87c)));window[_0x5647d5([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5647d5([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3a0f0d,_0xba3973);}function _0x582ac7(){const _0x4090de=_0x5647d5([0x6c,0x6c,0x63,0x74,0x2d])+_0x3b2e65(_0x17227c(_0x5d37cd)),_0x1f9e3e=window[_0x5647d5([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5647d5([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4090de);return _0x1f9e3e?window[_0x5647d5([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5bca04(_0x1f9e3e),0x10)*_0x6b87c:null;}function _0x40f3aa(_0x45e1f4){return new window[(_0x5647d5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x38f6b5,_0x334486)=>{_0x45e1f4[_0x5647d5([0x74,0x68,0x65,0x6e])](_0x38f6b5,_0x334486),window[_0x5647d5([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x334486,0x1994250c^_0x30631b);});}}_0x2dab39[_0x5647d5([0x6f,0x6e])](_0x5647d5([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x66876a,_0x3ca4b2)=>{if(_0x3ca4b2[0x0]!=_0x5d37cd)return _0xdc1f98(_0x5647d5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3ca4b2[0x1]={..._0x3ca4b2[0x1],[_0x5647d5([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0xa80d40};},{[_0x5647d5([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5647d5([0x68,0x69,0x67,0x68])}),_0x2dab39[_0x5647d5([0x6f,0x6e])](_0x5647d5([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x31d275=>{_0x554147(_0x31d275[_0x5647d5([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x187672=!0x0,_0x588036(_0x31d275[_0x5647d5([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x5647d5([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5647d5([0x6c,0x6f,0x77])}),_0x35f68b[_0x5647d5([0x74,0x68,0x65,0x6e])](()=>{_0x187672||_0xdc1f98(_0x5647d5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x5ec11e(){return _0x2dab39[_0x5647d5([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5647d5([0x76,0x69,0x65,0x77])][_0x5647d5([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x5647d5([0x61,0x75,0x74,0x6f]);}function _0x40eb3e(){_0x2dab39[_0x5647d5([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5647d5([0x76,0x69,0x65,0x77])][_0x5647d5([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x5647d5([0x61,0x75,0x74,0x6f]);}}function _0x2065d8(_0x37ede6){const _0x26a4f2=[new window[(_0x5647d5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x10e526=>setTimeout(_0x10e526,0x199ccf00^_0x30631b)),_0x35f68b[_0x5647d5([0x74,0x68,0x65,0x6e])](()=>new window[(_0x5647d5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x8d7519=>{let _0x1c39a0=0x0;_0x2dab39[_0x5647d5([0x6d,0x6f,0x64,0x65,0x6c])][_0x5647d5([0x6f,0x6e])](_0x5647d5([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1064bc,_0x63e10c)=>{_0x63e10c[0x0][_0x5647d5([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1c39a0++,_0x1c39a0==(0x1995f034^_0x30631b)&&(_0x8d7519(),_0x1064bc[_0x5647d5([0x6f,0x66,0x66])]());});}))];return window[_0x5647d5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x5647d5([0x72,0x61,0x63,0x65])](_0x26a4f2)[_0x5647d5([0x74,0x68,0x65,0x6e])](()=>_0x37ede6);}async function _0x19b03d(){await _0x35f68b,_0x2dab39[_0x5647d5([0x6d,0x6f,0x64,0x65,0x6c])][_0x5647d5([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2b2ecc,_0x2dab39[_0x5647d5([0x6d,0x6f,0x64,0x65,0x6c])][_0x5647d5([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2b2ecc,_0x2dab39[_0x5647d5([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5647d5([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x5d5ae7(_0x190839){const _0x1456fc=_0x42059b();_0x2dab39[_0x1456fc]=_0x5647d5([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x190839,_0x190839!=_0x5647d5([0x56,0x61,0x6c,0x69,0x64])&&_0x19b03d();}function _0x42059b(){const _0x184e9a=window[_0x5647d5([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x5647d5([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5647d5([0x6e,0x6f,0x77])]())[_0x5647d5([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5647d5([0x2e]),'');let _0x47ec57=_0x5647d5([0x51]);for(let _0x2d7ea0=0x0;_0x2d7ea0<_0x184e9a[_0x5647d5([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2d7ea0+=0x2){let _0x332ed7=window[_0x5647d5([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x184e9a[_0x5647d5([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2d7ea0,_0x2d7ea0+0x2));_0x332ed7>=_0x3620a9[_0x5647d5([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x332ed7-=_0x3620a9[_0x5647d5([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x47ec57+=_0x3620a9[_0x332ed7];}return _0x47ec57;}function _0x8a959d(){const _0x2aa864=_0x100769[_0x5647d5([0x73,0x70,0x6c,0x69,0x74])](_0x5647d5([0x2e]));if(0x3!=_0x2aa864[_0x5647d5([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x505b98(_0x2aa864[0x1]);function _0x505b98(_0x11005a){const _0x5659f3=_0x14cd9a(_0x11005a);return _0x5659f3&&_0x2a2125()?_0x5659f3:null;function _0x2a2125(){const _0x255fec=_0x5659f3[_0x5647d5([0x6a,0x74,0x69])],_0x3ede7c=window[_0x5647d5([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x255fec[_0x5647d5([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x255fec[_0x5647d5([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x5c0229={..._0x5659f3,[_0x5647d5([0x6a,0x74,0x69])]:_0x255fec[_0x5647d5([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x255fec[_0x5647d5([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x5c0229[_0x5647d5([0x76,0x63])],_0x17227c(_0x5c0229)==_0x3ede7c;}}}async function _0x271cce(){let _0x57fbd0=!0x0;try{const _0x58f4f9=_0x100769[_0x5647d5([0x73,0x70,0x6c,0x69,0x74])](_0x5647d5([0x2e])),[_0x91effe,_0x3f61ef,_0x3cae14]=_0x58f4f9;return _0x20dbc1(_0x91effe),await _0xc9eed(_0x91effe,_0x3f61ef,_0x3cae14),_0x57fbd0;}catch(_0x414c8f){return!0x1;}function _0x20dbc1(_0x1da864){const _0x26d5bf=_0x14cd9a(_0x1da864);_0x26d5bf&&_0x26d5bf[_0x5647d5([0x61,0x6c,0x67])]==_0x5647d5([0x45,0x53,0x32,0x35,0x36])||(_0x57fbd0=!0x1);}async function _0xc9eed(_0x1602a5,_0x4f49d1,_0x4b4875){const _0x577913=window[_0x5647d5([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x5647d5([0x66,0x72,0x6f,0x6d])](_0x404891(_0x4b4875),_0x519484=>_0x519484[_0x5647d5([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x403f16=new window[(_0x5647d5([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x5647d5([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1602a5+_0x5647d5([0x2e])+_0x4f49d1),_0x49f240=window[_0x5647d5([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x5647d5([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x49f240)return;const _0x506f26=await _0x49f240[_0x5647d5([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x5647d5([0x6a,0x77,0x6b]),_0xaafbd4,{[_0x5647d5([0x6e,0x61,0x6d,0x65])]:_0x5647d5([0x45,0x43,0x44,0x53,0x41]),[_0x5647d5([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x5647d5([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x5647d5([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x49f240[_0x5647d5([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x5647d5([0x6e,0x61,0x6d,0x65])]:_0x5647d5([0x45,0x43,0x44,0x53,0x41]),[_0x5647d5([0x68,0x61,0x73,0x68])]:{[_0x5647d5([0x6e,0x61,0x6d,0x65])]:_0x5647d5([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x506f26,_0x577913,_0x403f16)||(_0x57fbd0=!0x1);}}function _0x14cd9a(_0x3e5f5a){return _0x3e5f5a[_0x5647d5([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x5647d5([0x65,0x79]))?JSON[_0x5647d5([0x70,0x61,0x72,0x73,0x65])](_0x404891(_0x3e5f5a)):null;}function _0x404891(_0x411d46){return window[_0x5647d5([0x61,0x74,0x6f,0x62])](_0x411d46[_0x5647d5([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x5647d5([0x2b]))[_0x5647d5([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x5647d5([0x2f])));}function _0x17227c(_0x291122){let _0x4148b0=0x1505;function _0x190a34(_0xf1eda3){for(let _0x32f39d=0x0;_0x32f39d<_0xf1eda3[_0x5647d5([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x32f39d++){const _0x4a0dff=_0xf1eda3[_0x5647d5([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x32f39d);_0x4148b0=(_0x4148b0<<0x5)+_0x4148b0+_0x4a0dff,_0x4148b0&=_0x4148b0;}}function _0xc4a032(_0x3755bd){Array[_0x5647d5([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x3755bd)?_0x3755bd[_0x5647d5([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0xc4a032):_0x3755bd&&typeof _0x3755bd==_0x5647d5([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x5647d5([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x3755bd)[_0x5647d5([0x73,0x6f,0x72,0x74])]()[_0x5647d5([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0xbc86d1,_0x3f18d8])=>{_0x190a34(_0xbc86d1),_0xc4a032(_0x3f18d8);}):_0x190a34(window[_0x5647d5([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x3755bd));}return _0xc4a032(_0x291122),_0x4148b0>>>0x0;}function _0x3b2e65(_0x3153cc){return _0x3153cc[_0x5647d5([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x5647d5([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x5647d5([0x30]));}function _0x5bca04(_0x2d5794){return _0x2d5794[_0x5647d5([0x73,0x70,0x6c,0x69,0x74])]('')[_0x5647d5([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x5647d5([0x6a,0x6f,0x69,0x6e])]('');}function _0x2b2ecc(){}function _0x5647d5(_0x38ef82){const _0xf9a101=_0x1181;return _0x38ef82[_0xf9a101(0x221)](_0x4d9de6=>String[_0xf9a101(0x210)](_0x4d9de6))[_0xf9a101(0x224)]('');}_0x5d5ae7(await _0x116244());}(this);}[_0x376642(0x214)](){const _0x412548=_0x376642,_0x48dbf4=this[_0x412548(0x20a)][_0x412548(0x209)][_0x412548(0x1da)];_0x48dbf4[_0x412548(0x212)](_0x412548(0x20c))&&_0x48dbf4[_0x412548(0x215)](_0x412548(0x20c),{'allowAttributes':[_0x412548(0x1e3)]}),_0x48dbf4[_0x412548(0x212)](_0x412548(0x1e2))&&_0x48dbf4[_0x412548(0x215)](_0x412548(0x1e2),{'allowAttributes':[_0x412548(0x1e3)]});}[_0x376642(0x1e5)](){const _0x439bb3=_0x376642,_0x4442fd=this[_0x439bb3(0x20a)];_0x4442fd[_0x439bb3(0x21b)][_0x439bb3(0x1df)](_0x439bb3(0x225))[_0x439bb3(0x1f3)]({'model':_0x439bb3(0x1e3),'view':_0x439bb3(0x208)}),_0x4442fd[_0x439bb3(0x21b)][_0x439bb3(0x1df)](_0x439bb3(0x1d6))[_0x439bb3(0x222)]({'model':{'key':_0x439bb3(0x1e3),'value':_0x3f6db4=>_0x3f6db4[_0x439bb3(0x219)](_0x439bb3(0x208))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x44dbe0=_0x4442fd[_0x439bb3(0x1fe)][_0x439bb3(0x21a)](_0x439bb3(0x1e1));_0x44dbe0&&this[_0x439bb3(0x1f9)](_0x44dbe0,_0x439bb3(0x1e0),(_0x4778f7,[_0xeba143,_0x14723a])=>{const _0x5b631b=_0x439bb3;_0xeba143[_0x5b631b(0x1d9)](_0x5b631b(0x1e3),_0x14723a);});}[_0x376642(0x223)](){const _0x5106c9=_0x376642,_0x230dd4=this[_0x5106c9(0x20a)][_0x5106c9(0x1f6)][_0x5106c9(0x21a)](_0x5106c9(0x1fb))||{},_0x3f39b1=this[_0x5106c9(0x20a)][_0x5106c9(0x1f6)][_0x5106c9(0x21a)](_0x5106c9(0x1db))||'';this[_0x5106c9(0x1d7)]=_0x5b19f9(_0x5b1968[_0x5106c9(0x201)],_0x5106c9(0x20d),{..._0x230dd4,'pubkey':_0x3f39b1,'ctx-name':_0x5106c9(0x200),'sourceList':'','imgOnly':_0x5106c9(0x1d8),'removeCopyright':_0x5106c9(0x1d8),'localeName':this[_0x5106c9(0x20a)][_0x5106c9(0x203)][_0x5106c9(0x21f)],'externalSourcesEmbedCss':_0x5106c9(0x207)}),this[_0x5106c9(0x1d7)][_0x5106c9(0x213)]=_0x501330=>{const _0x5962ae=_0x5106c9;if(_0x5962ae(0x1f0)==_0x501330)return _0x5962ae(0x1de);},_0x5b1968[_0x5106c9(0x201)][_0x5106c9(0x21d)][_0x5106c9(0x1d4)](this[_0x5106c9(0x1d7)]);}[_0x376642(0x1dc)](){const _0x336fa5=_0x376642;this[_0x336fa5(0x1d3)]=_0x5b19f9(_0x5b1968[_0x336fa5(0x201)],_0x336fa5(0x1e6),{'ctx-name':_0x336fa5(0x200)}),_0x5b1968[_0x336fa5(0x201)][_0x336fa5(0x21d)][_0x336fa5(0x1d4)](this[_0x336fa5(0x1d3)]);}[_0x376642(0x21e)](){const _0x481428=_0x376642,_0x1aab2c=this[_0x481428(0x20a)][_0x481428(0x1fe)][_0x481428(0x21a)](_0x481428(0x205));_0x1aab2c&&this[_0x481428(0x1f9)](_0x1aab2c,_0x481428(0x1fc),()=>{const _0x159140=_0x481428,_0x1d99c5=this[_0x159140(0x20a)][_0x159140(0x209)][_0x159140(0x201)][_0x159140(0x1ec)][_0x159140(0x218)]();_0x1d99c5&&_0x1d99c5[_0x159140(0x219)](_0x159140(0x1e3))&&this[_0x159140(0x20a)][_0x159140(0x220)][_0x159140(0x1e7)][_0x159140(0x1fd)](_0x159140(0x202),()=>{const _0x3a4c45=_0x159140;_0x57b01d(this[_0x3a4c45(0x20a)],_0x1d99c5);});});const _0x4e3c6b=this[_0x481428(0x20a)][_0x481428(0x1fe)][_0x481428(0x21a)](_0x481428(0x20f));_0x4e3c6b&&this[_0x481428(0x1f9)](_0x4e3c6b,_0x481428(0x1fc),()=>{const _0xc54b1a=_0x481428,_0x4c1bba=this[_0xc54b1a(0x20a)][_0xc54b1a(0x209)][_0xc54b1a(0x201)][_0xc54b1a(0x1ec)][_0xc54b1a(0x218)]();_0x4c1bba&&_0x4c1bba[_0xc54b1a(0x219)](_0xc54b1a(0x1e3))&&this[_0xc54b1a(0x20a)][_0xc54b1a(0x220)][_0xc54b1a(0x1e7)][_0xc54b1a(0x1fd)](_0xc54b1a(0x202),()=>{const _0x14a9e5=_0xc54b1a;_0x57b01d(this[_0x14a9e5(0x20a)],_0x4c1bba);});});}}function _0x59c4(){const _0x49d331=['view','1307456eGCWRn','ctxElement','isPremiumPlugin','uploadcare','selection','destroy','5405056DJTOAe','pluginName','closeMax','13331907IMNvBn','remove','attributeToAttribute','afterInit','PictureEditing','config','init','49RCyoyq','listenTo','748494yTzQwc','uploadcare.uploader','execute','once','commands','246198jlCNDA','uploader','document','render','locale','UploadcareEditing','insertImage','href','\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup\x20{\x20padding:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-menu\x20{\x20gap:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-footer\x20{\x20padding-top:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__separator\x20{\x20margin:\x200;\x20}\x0a\x09\x09\x09','data-uc-image-id','model','editor','89364fqQsFe','imageBlock','uc-config','input[uploadcare-file-input]','uploadcareImageReplace','fromCharCode','950NbFfJK','isRegistered','iconHrefResolver','_initSchema','extend','add','querySelector','getSelectedElement','getAttribute','get','conversion','requires','body','_initImageProcessingIndicator','contentLanguage','editing','map','elementToAttribute','_initConfig','join','downcast','_ctxElement','appendChild','isOfficialPlugin','upcast','_configElement','true','removeAttribute','schema','uploadcare.pubkey','_initCtx','configElement','#uc-icon-arrow-down','for','cleanupImage','replaceImageSource','imageInline','uploadcareImageId','13168hvbTVr','_initConversion','uc-upload-ctx-provider'];_0x59c4=function(){return _0x49d331;};return _0x59c4();}
|
|
23
|
+
const _0x1a09dc=_0x2f1f;function _0x3c73(){const _0x3855a3=['insertImage','appendChild','selection','schema','afterInit','UploadcareEditing','downcast','3143YdJQgK','map','listenTo','join','render','_initConversion','\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','configElement','cleanupImage','pluginName','_initCtx','init','conversion','3Deujiw','uploader','uploadcare.uploader','115248gVUjEM','getSelectedElement','3895060lOOCyZ','uploadcareImageReplace','querySelector','model','15054pdAcNy','requires','remove','attributeToAttribute','data-uc-image-id','destroy','add','uploadcareImageId','execute','_initConfig','isOfficialPlugin','true','view','58347BRolOn','isRegistered','imageBlock','imageInline','_initSchema','replaceImageSource','once','9617360FvtJHM','6030765LIOYVD','input[uploadcare-file-input]','isPremiumPlugin','document','uc-config','commands','href','470562QmiIIm','upcast','body','editing','contentLanguage','uploadcare','editor','ctxElement','get','_configElement','_ctxElement','uc-upload-ctx-provider','_initImageProcessingIndicator','114Vuogdq','fromCharCode','110wkuBff','closeMax','iconHrefResolver','removeAttribute','PictureEditing','config','extend','for','uploadcare.pubkey','locale','#uc-icon-arrow-down','elementToAttribute','getAttribute'];_0x3c73=function(){return _0x3855a3;};return _0x3c73();}function _0x2f1f(_0x3f1f93,_0x520419){const _0x3c73a2=_0x3c73();return _0x2f1f=function(_0x2f1f2c,_0x2cfebb){_0x2f1f2c=_0x2f1f2c-0x14f;let _0x1edc44=_0x3c73a2[_0x2f1f2c];return _0x1edc44;},_0x2f1f(_0x3f1f93,_0x520419);}(function(_0x35b363,_0x17b7a3){const _0x3568ef=_0x2f1f,_0x12029c=_0x35b363();while(!![]){try{const _0x3eb6f5=-parseInt(_0x3568ef(0x173))/0x1*(parseInt(_0x3568ef(0x198))/0x2)+-parseInt(_0x3568ef(0x150))/0x3*(-parseInt(_0x3568ef(0x176))/0x4)+-parseInt(_0x3568ef(0x191))/0x5+parseInt(_0x3568ef(0x17c))/0x6*(-parseInt(_0x3568ef(0x166))/0x7)+-parseInt(_0x3568ef(0x190))/0x8+parseInt(_0x3568ef(0x189))/0x9+parseInt(_0x3568ef(0x178))/0xa*(parseInt(_0x3568ef(0x152))/0xb);if(_0x3eb6f5===_0x17b7a3)break;else _0x12029c['push'](_0x12029c['shift']());}catch(_0x49c5b2){_0x12029c['push'](_0x12029c['shift']());}}}(_0x3c73,0xb87ec));import{Plugin as _0x138a88}from'ckeditor5/src/core.js';import{Dialog as _0x17ab56}from'ckeditor5/src/ui.js';import{createElement as _0x3ab01e,global as _0xa7fcca,uid as _0x43eef5}from'ckeditor5/src/utils.js';import _0x236633 from'./uploadcarecommand.js';import _0x2f27f8 from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x187f17}from'./utils/editingutils.js';export default class i extends _0x138a88{constructor(){const _0x586776=_0x2f1f;super(...arguments),this[_0x586776(0x1a1)]=null,this[_0x586776(0x1a2)]=null;}static get[_0x1a09dc(0x16f)](){const _0xa3b796=_0x1a09dc;return _0xa3b796(0x164);}static get[_0x1a09dc(0x17d)](){const _0x25dd95=_0x1a09dc;return[_0x25dd95(0x156),_0x2f27f8,_0x17ab56];}static get[_0x1a09dc(0x186)](){return!0x0;}static get[_0x1a09dc(0x193)](){return!0x0;}get[_0x1a09dc(0x16d)](){const _0x3fcfc2=_0x1a09dc;return this[_0x3fcfc2(0x1a1)];}get[_0x1a09dc(0x19f)](){const _0x5589c1=_0x1a09dc;return this[_0x5589c1(0x1a2)];}[_0x1a09dc(0x171)](){const _0xcf8fba=_0x1a09dc,_0x4f48eb=this[_0xcf8fba(0x19e)];_0x4f48eb[_0xcf8fba(0x196)][_0xcf8fba(0x182)](_0xcf8fba(0x19d),new _0x236633(_0x4f48eb));}[_0x1a09dc(0x163)](){const _0x56510a=_0x1a09dc;this[_0x56510a(0x18d)](),this[_0x56510a(0x16b)](),this[_0x56510a(0x185)](),this[_0x56510a(0x170)](),this[_0x56510a(0x14f)](),this[_0x56510a(0x168)](this[_0x56510a(0x19e)],_0x56510a(0x181),()=>{const _0x132f6c=_0x56510a;this[_0x132f6c(0x1a1)]&&(this[_0x132f6c(0x1a1)][_0x132f6c(0x17e)](),this[_0x132f6c(0x1a1)]=null),this[_0x132f6c(0x1a2)]&&(this[_0x132f6c(0x1a2)][_0x132f6c(0x17e)](),this[_0x132f6c(0x1a2)]=null);const _0x2db484=_0xa7fcca[_0x132f6c(0x194)][_0x132f6c(0x17a)](_0x132f6c(0x192));_0x2db484&&_0x2db484[_0x132f6c(0x17e)]();}),async function(_0x5db070){const _0x13bb74=_0x559f90([0x34,0x59,0x6c,0x47,0x38,0x77,0x66,0x65,0x75,0x42,0x63,0x69,0x50,0x4c,0x4d,0x35,0x73,0x78,0x43,0x6a,0x4a,0x68,0x48,0x71,0x57,0x79,0x39,0x74,0x51,0x4b,0x55,0x76,0x52,0x70,0x4f,0x37,0x36,0x4e,0x46,0x61,0x67,0x6b,0x31,0x6f,0x56,0x6e,0x62,0x72,0x30,0x58,0x33,0x6d,0x44,0x7a,0x54,0x32,0x49,0x45,0x64,0x53,0x5a,0x41]),_0x2dd7be=0x1f94b445,_0x4fb40a=0x1f93ea05^_0x2dd7be,_0x4c3720=window[_0x559f90([0x44,0x61,0x74,0x65])][_0x559f90([0x6e,0x6f,0x77])](),_0x116ca6=_0x5db070[_0x559f90([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x13efe1=new window[(_0x559f90([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1d8967=>{_0x116ca6[_0x559f90([0x6f,0x6e,0x63,0x65])](_0x559f90([0x72,0x65,0x61,0x64,0x79]),_0x1d8967);}),_0x5b1f89={[_0x559f90([0x6b,0x74,0x79])]:_0x559f90([0x45,0x43]),[_0x559f90([0x75,0x73,0x65])]:_0x559f90([0x73,0x69,0x67]),[_0x559f90([0x63,0x72,0x76])]:_0x559f90([0x50,0x2d,0x32,0x35,0x36]),[_0x559f90([0x78])]:_0x559f90([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]),[_0x559f90([0x79])]:_0x559f90([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]),[_0x559f90([0x61,0x6c,0x67])]:_0x559f90([0x45,0x53,0x32,0x35,0x36])},_0x313af5=_0x116ca6[_0x559f90([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x559f90([0x67,0x65,0x74])](_0x559f90([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x18f635(){let _0x521c5f,_0x470729=null,_0x3f936b=null;try{if(_0x313af5==_0x559f90([0x47,0x50,0x4c]))return _0x559f90([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x521c5f=_0x1d603e(),!_0x521c5f)return _0x559f90([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x521c5f[_0x559f90([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x3f936b=_0x4f4db2(_0x521c5f[_0x559f90([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x521c5f[_0x559f90([0x6a,0x74,0x69])])),await _0x4a01bf()?_0xb6d060()?_0x2c4ab7()?_0x559f90([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x285061()?(_0x521c5f[_0x559f90([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x559f90([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x470729=_0x14ed2b(_0x559f90([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x521c5f[_0x559f90([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x559f90([0x74,0x72,0x69,0x61,0x6c])&&(_0x470729=_0x14ed2b(_0x559f90([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0xea5bc6()):_0x559f90([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x559f90([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x559f90([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x1d17a9){return _0x559f90([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2c4ab7(){const _0x5c703e=[_0x559f90([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x559f90([0x74,0x72,0x69,0x61,0x6c])][_0x559f90([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x521c5f[_0x559f90([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x4c3720/0x3e8:0xe10*_0x4fb40a;return _0x521c5f[_0x559f90([0x65,0x78,0x70])]<_0x5c703e;}function _0xb6d060(){const _0x1195db=_0x521c5f[_0x559f90([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x1195db&&(!!_0x1195db[_0x559f90([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x559f90([0x2a]))||!!_0x1195db[_0x559f90([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x559f90([0x55,0x50,0x4c,0x43])));}function _0x285061(){const _0x46e0be=_0x2f1f,_0x14a178=_0x521c5f[_0x559f90([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x14a178||0x0==_0x14a178[_0x559f90([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x50768a}=new URL(window[_0x559f90([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x46e0be(0x197)]);if(_0x14a178[_0x559f90([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x50768a))return!0x0;const _0x51ee35=_0x50768a[_0x559f90([0x73,0x70,0x6c,0x69,0x74])](_0x559f90([0x2e]));return _0x14a178[_0x559f90([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1d18d6=>_0x1d18d6[_0x559f90([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x559f90([0x2a])))[_0x559f90([0x6d,0x61,0x70])](_0x3daa72=>_0x3daa72[_0x559f90([0x73,0x70,0x6c,0x69,0x74])](_0x559f90([0x2e])))[_0x559f90([0x73,0x6f,0x6d,0x65])](_0x5e43a7=>_0x51ee35[_0x559f90([0x65,0x76,0x65,0x72,0x79])]((_0x74aacb,_0x4ed358)=>_0x5e43a7[_0x4ed358]===_0x74aacb||_0x5e43a7[_0x4ed358]===_0x559f90([0x2a])));}function _0xea5bc6(){return _0x470729&&_0x3f936b?new window[(_0x559f90([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x816cc1,_0x32f65d)=>{_0x470729[_0x559f90([0x74,0x68,0x65,0x6e])](_0x816cc1,_0x32f65d),_0x3f936b[_0x559f90([0x74,0x68,0x65,0x6e])](_0xf9ea7b=>{_0xf9ea7b!=_0x559f90([0x56,0x61,0x6c,0x69,0x64])&&_0x816cc1(_0xf9ea7b);},_0x32f65d);}):_0x470729||_0x3f936b||_0x559f90([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4f4db2(_0x16ccdf,_0x39985f){return new window[(_0x559f90([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x753c87=>{if(_0x9920db())return _0x753c87(_0x559f90([0x56,0x61,0x6c,0x69,0x64]));_0x4b4bb4(),_0x116ca6[_0x559f90([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x559f90([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4c2242=!0x1;const _0x3427fe=_0x43eef5();function _0x133a3d(_0x228e7e){return!!_0x228e7e&&(typeof _0x228e7e===_0x559f90([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x228e7e===_0x559f90([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x228e7e[_0x559f90([0x74,0x68,0x65,0x6e])]===_0x559f90([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x228e7e[_0x559f90([0x63,0x61,0x74,0x63,0x68])]===_0x559f90([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x578e19(_0x166d56){_0x4ca148(_0x166d56)[_0x559f90([0x74,0x68,0x65,0x6e])](_0xee4d3d=>{if(!_0xee4d3d||_0xee4d3d[_0x559f90([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x559f90([0x6f,0x6b]))return _0x559f90([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x432e60(_0x59d5ca(_0x3427fe+_0x39985f))!=_0xee4d3d[_0x559f90([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x559f90([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x559f90([0x56,0x61,0x6c,0x69,0x64]);})[_0x559f90([0x74,0x68,0x65,0x6e])](_0x24c5fa=>(_0x152af0(),_0x24c5fa),()=>{const _0x58134c=_0x4c2fe7();return null==_0x58134c?(_0x152af0(),_0x559f90([0x56,0x61,0x6c,0x69,0x64])):_0x559f90(_0x4c3720-_0x58134c>(0x3b983045^_0x2dd7be)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x559f90([0x74,0x68,0x65,0x6e])](_0x753c87)[_0x559f90([0x63,0x61,0x74,0x63,0x68])](()=>{_0x753c87(_0x559f90([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1d876a=0x1fa25ac5^_0x2dd7be;function _0x152af0(){const _0x3cd8f4=_0x559f90([0x6c,0x6c,0x63,0x74,0x2d])+_0x432e60(_0x59d5ca(_0x16ccdf)),_0xbe989d=_0x2e0341(_0x432e60(window[_0x559f90([0x4d,0x61,0x74,0x68])][_0x559f90([0x63,0x65,0x69,0x6c])](_0x4c3720/_0x1d876a)));window[_0x559f90([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x559f90([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3cd8f4,_0xbe989d);}function _0x4c2fe7(){const _0x501399=_0x559f90([0x6c,0x6c,0x63,0x74,0x2d])+_0x432e60(_0x59d5ca(_0x16ccdf)),_0x1ba387=window[_0x559f90([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x559f90([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x501399);return _0x1ba387?window[_0x559f90([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2e0341(_0x1ba387),0x10)*_0x1d876a:null;}function _0x4ca148(_0x530389){return new window[(_0x559f90([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x20eb8f,_0x50da86)=>{_0x530389[_0x559f90([0x74,0x68,0x65,0x6e])](_0x20eb8f,_0x50da86),window[_0x559f90([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x50da86,0x1f956085^_0x2dd7be);});}}_0x116ca6[_0x559f90([0x6f,0x6e])](_0x559f90([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4d70a6,_0x2c5516)=>{if(_0x2c5516[0x0]!=_0x16ccdf)return _0x753c87(_0x559f90([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2c5516[0x1]={..._0x2c5516[0x1],[_0x559f90([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x3427fe};},{[_0x559f90([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x559f90([0x68,0x69,0x67,0x68])}),_0x116ca6[_0x559f90([0x6f,0x6e])](_0x559f90([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2c90d1=>{_0x133a3d(_0x2c90d1[_0x559f90([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4c2242=!0x0,_0x578e19(_0x2c90d1[_0x559f90([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x559f90([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x559f90([0x6c,0x6f,0x77])}),_0x13efe1[_0x559f90([0x74,0x68,0x65,0x6e])](()=>{_0x4c2242||_0x753c87(_0x559f90([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x9920db(){return _0x116ca6[_0x559f90([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x559f90([0x76,0x69,0x65,0x77])][_0x559f90([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x559f90([0x61,0x75,0x74,0x6f]);}function _0x4b4bb4(){_0x116ca6[_0x559f90([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x559f90([0x76,0x69,0x65,0x77])][_0x559f90([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x559f90([0x61,0x75,0x74,0x6f]);}}function _0x14ed2b(_0x3a1324){const _0x2e3eb8=[new window[(_0x559f90([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x11d989=>setTimeout(_0x11d989,0x1f9d8a89^_0x2dd7be)),_0x13efe1[_0x559f90([0x74,0x68,0x65,0x6e])](()=>new window[(_0x559f90([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2192a0=>{let _0x53de9c=0x0;_0x116ca6[_0x559f90([0x6d,0x6f,0x64,0x65,0x6c])][_0x559f90([0x6f,0x6e])](_0x559f90([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0xbf392a,_0x209ea6)=>{_0x209ea6[0x0][_0x559f90([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x53de9c++,_0x53de9c==(0x1f94b5bd^_0x2dd7be)&&(_0x2192a0(),_0xbf392a[_0x559f90([0x6f,0x66,0x66])]());});}))];return window[_0x559f90([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x559f90([0x72,0x61,0x63,0x65])](_0x2e3eb8)[_0x559f90([0x74,0x68,0x65,0x6e])](()=>_0x3a1324);}async function _0x564c9a(){await _0x13efe1,_0x116ca6[_0x559f90([0x6d,0x6f,0x64,0x65,0x6c])][_0x559f90([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x71d247,_0x116ca6[_0x559f90([0x6d,0x6f,0x64,0x65,0x6c])][_0x559f90([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x71d247,_0x116ca6[_0x559f90([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x559f90([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x6c5c0e(_0x12c145){const _0x353643=_0x479add();_0x116ca6[_0x353643]=_0x559f90([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x12c145,_0x12c145!=_0x559f90([0x56,0x61,0x6c,0x69,0x64])&&_0x564c9a();}function _0x479add(){const _0x81c343=window[_0x559f90([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x559f90([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x559f90([0x6e,0x6f,0x77])]())[_0x559f90([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x559f90([0x2e]),'');let _0x713c24=_0x559f90([0x59]);for(let _0x56ba87=0x0;_0x56ba87<_0x81c343[_0x559f90([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x56ba87+=0x2){let _0x7bf074=window[_0x559f90([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x81c343[_0x559f90([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x56ba87,_0x56ba87+0x2));_0x7bf074>=_0x13bb74[_0x559f90([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x7bf074-=_0x13bb74[_0x559f90([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x713c24+=_0x13bb74[_0x7bf074];}return _0x713c24;}function _0x1d603e(){const _0x54534d=_0x313af5[_0x559f90([0x73,0x70,0x6c,0x69,0x74])](_0x559f90([0x2e]));if(0x3!=_0x54534d[_0x559f90([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x278d53(_0x54534d[0x1]);function _0x278d53(_0x125c53){const _0x24aae5=_0x3984e5(_0x125c53);return _0x24aae5&&_0x4b5005()?_0x24aae5:null;function _0x4b5005(){const _0xa798dc=_0x24aae5[_0x559f90([0x6a,0x74,0x69])],_0x43e1fa=window[_0x559f90([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xa798dc[_0x559f90([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xa798dc[_0x559f90([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x220aed={..._0x24aae5,[_0x559f90([0x6a,0x74,0x69])]:_0xa798dc[_0x559f90([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0xa798dc[_0x559f90([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x220aed[_0x559f90([0x76,0x63])],_0x59d5ca(_0x220aed)==_0x43e1fa;}}}async function _0x4a01bf(){let _0x71eca0=!0x0;try{const _0xc30fc5=_0x313af5[_0x559f90([0x73,0x70,0x6c,0x69,0x74])](_0x559f90([0x2e])),[_0x15b97b,_0x79a946,_0x1e9df0]=_0xc30fc5;return _0x2abba4(_0x15b97b),await _0x34c7a8(_0x15b97b,_0x79a946,_0x1e9df0),_0x71eca0;}catch(_0x29702f){return!0x1;}function _0x2abba4(_0x4837eb){const _0x17677a=_0x3984e5(_0x4837eb);_0x17677a&&_0x17677a[_0x559f90([0x61,0x6c,0x67])]==_0x559f90([0x45,0x53,0x32,0x35,0x36])||(_0x71eca0=!0x1);}async function _0x34c7a8(_0x4e8634,_0x3f634f,_0x3a4bfe){const _0x1d93a6=window[_0x559f90([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x559f90([0x66,0x72,0x6f,0x6d])](_0x2b7669(_0x3a4bfe),_0x1c60cc=>_0x1c60cc[_0x559f90([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x3d970e=new window[(_0x559f90([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x559f90([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4e8634+_0x559f90([0x2e])+_0x3f634f),_0x189929=window[_0x559f90([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x559f90([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x189929)return;const _0x2873ef=await _0x189929[_0x559f90([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x559f90([0x6a,0x77,0x6b]),_0x5b1f89,{[_0x559f90([0x6e,0x61,0x6d,0x65])]:_0x559f90([0x45,0x43,0x44,0x53,0x41]),[_0x559f90([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x559f90([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x559f90([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x189929[_0x559f90([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x559f90([0x6e,0x61,0x6d,0x65])]:_0x559f90([0x45,0x43,0x44,0x53,0x41]),[_0x559f90([0x68,0x61,0x73,0x68])]:{[_0x559f90([0x6e,0x61,0x6d,0x65])]:_0x559f90([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x2873ef,_0x1d93a6,_0x3d970e)||(_0x71eca0=!0x1);}}function _0x3984e5(_0x33d0e7){return _0x33d0e7[_0x559f90([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x559f90([0x65,0x79]))?JSON[_0x559f90([0x70,0x61,0x72,0x73,0x65])](_0x2b7669(_0x33d0e7)):null;}function _0x2b7669(_0x19d0d4){return window[_0x559f90([0x61,0x74,0x6f,0x62])](_0x19d0d4[_0x559f90([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x559f90([0x2b]))[_0x559f90([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x559f90([0x2f])));}function _0x59d5ca(_0x4f5db9){let _0x30e4d5=0x1505;function _0x1f6077(_0x411ca1){for(let _0x454de7=0x0;_0x454de7<_0x411ca1[_0x559f90([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x454de7++){const _0x2b65da=_0x411ca1[_0x559f90([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x454de7);_0x30e4d5=(_0x30e4d5<<0x5)+_0x30e4d5+_0x2b65da,_0x30e4d5&=_0x30e4d5;}}function _0x2a1cfd(_0x2eb189){Array[_0x559f90([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2eb189)?_0x2eb189[_0x559f90([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2a1cfd):_0x2eb189&&typeof _0x2eb189==_0x559f90([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x559f90([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2eb189)[_0x559f90([0x73,0x6f,0x72,0x74])]()[_0x559f90([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2b6f0d,_0x2fa478])=>{_0x1f6077(_0x2b6f0d),_0x2a1cfd(_0x2fa478);}):_0x1f6077(window[_0x559f90([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2eb189));}return _0x2a1cfd(_0x4f5db9),_0x30e4d5>>>0x0;}function _0x432e60(_0x137ea9){return _0x137ea9[_0x559f90([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x559f90([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x559f90([0x30]));}function _0x2e0341(_0x338a8f){return _0x338a8f[_0x559f90([0x73,0x70,0x6c,0x69,0x74])]('')[_0x559f90([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x559f90([0x6a,0x6f,0x69,0x6e])]('');}function _0x71d247(){}function _0x559f90(_0x25e112){const _0x27562b=_0x2f1f;return _0x25e112[_0x27562b(0x167)](_0x4fc68c=>String[_0x27562b(0x151)](_0x4fc68c))[_0x27562b(0x169)]('');}_0x6c5c0e(await _0x18f635());}(this);}[_0x1a09dc(0x18d)](){const _0x27b651=_0x1a09dc,_0x15e352=this[_0x27b651(0x19e)][_0x27b651(0x17b)][_0x27b651(0x162)];_0x15e352[_0x27b651(0x18a)](_0x27b651(0x18b))&&_0x15e352[_0x27b651(0x158)](_0x27b651(0x18b),{'allowAttributes':[_0x27b651(0x183)]}),_0x15e352[_0x27b651(0x18a)](_0x27b651(0x18c))&&_0x15e352[_0x27b651(0x158)](_0x27b651(0x18c),{'allowAttributes':[_0x27b651(0x183)]});}[_0x1a09dc(0x16b)](){const _0xb45690=_0x1a09dc,_0x5d6f4b=this[_0xb45690(0x19e)];_0x5d6f4b[_0xb45690(0x172)][_0xb45690(0x159)](_0xb45690(0x165))[_0xb45690(0x17f)]({'model':_0xb45690(0x183),'view':_0xb45690(0x180)}),_0x5d6f4b[_0xb45690(0x172)][_0xb45690(0x159)](_0xb45690(0x199))[_0xb45690(0x15d)]({'model':{'key':_0xb45690(0x183),'value':_0x3d7af3=>_0x3d7af3[_0xb45690(0x15e)](_0xb45690(0x180))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x5f33f2=_0x5d6f4b[_0xb45690(0x196)][_0xb45690(0x1a0)](_0xb45690(0x18e));_0x5f33f2&&this[_0xb45690(0x168)](_0x5f33f2,_0xb45690(0x16e),(_0x1463b3,[_0x2cfeff,_0x3136c8])=>{const _0x34a68f=_0xb45690;_0x2cfeff[_0x34a68f(0x155)](_0x34a68f(0x183),_0x3136c8);});}[_0x1a09dc(0x185)](){const _0x206548=_0x1a09dc,_0xeac856=this[_0x206548(0x19e)][_0x206548(0x157)][_0x206548(0x1a0)](_0x206548(0x175))||{},_0x3e5db4=this[_0x206548(0x19e)][_0x206548(0x157)][_0x206548(0x1a0)](_0x206548(0x15a))||'';this[_0x206548(0x1a1)]=_0x3ab01e(_0xa7fcca[_0x206548(0x194)],_0x206548(0x195),{..._0xeac856,'pubkey':_0x3e5db4,'ctx-name':_0x206548(0x174),'sourceList':'','imgOnly':_0x206548(0x187),'removeCopyright':_0x206548(0x187),'localeName':this[_0x206548(0x19e)][_0x206548(0x15b)][_0x206548(0x19c)],'externalSourcesEmbedCss':_0x206548(0x16c)}),this[_0x206548(0x1a1)][_0x206548(0x154)]=_0xbf2fd9=>{const _0x320fb0=_0x206548;if(_0x320fb0(0x153)==_0xbf2fd9)return _0x320fb0(0x15c);},_0xa7fcca[_0x206548(0x194)][_0x206548(0x19a)][_0x206548(0x160)](this[_0x206548(0x1a1)]);}[_0x1a09dc(0x170)](){const _0x312d7f=_0x1a09dc;this[_0x312d7f(0x1a2)]=_0x3ab01e(_0xa7fcca[_0x312d7f(0x194)],_0x312d7f(0x1a3),{'ctx-name':_0x312d7f(0x174)}),_0xa7fcca[_0x312d7f(0x194)][_0x312d7f(0x19a)][_0x312d7f(0x160)](this[_0x312d7f(0x1a2)]);}[_0x1a09dc(0x14f)](){const _0xf68937=_0x1a09dc,_0x3d151d=this[_0xf68937(0x19e)][_0xf68937(0x196)][_0xf68937(0x1a0)](_0xf68937(0x15f));_0x3d151d&&this[_0xf68937(0x168)](_0x3d151d,_0xf68937(0x184),()=>{const _0x538130=_0xf68937,_0x293f25=this[_0x538130(0x19e)][_0x538130(0x17b)][_0x538130(0x194)][_0x538130(0x161)][_0x538130(0x177)]();_0x293f25&&_0x293f25[_0x538130(0x15e)](_0x538130(0x183))&&this[_0x538130(0x19e)][_0x538130(0x19b)][_0x538130(0x188)][_0x538130(0x18f)](_0x538130(0x16a),()=>{const _0x59cd4f=_0x538130;_0x187f17(this[_0x59cd4f(0x19e)],_0x293f25);});});const _0x46fa79=this[_0xf68937(0x19e)][_0xf68937(0x196)][_0xf68937(0x1a0)](_0xf68937(0x179));_0x46fa79&&this[_0xf68937(0x168)](_0x46fa79,_0xf68937(0x184),()=>{const _0xc63d52=_0xf68937,_0x519b1c=this[_0xc63d52(0x19e)][_0xc63d52(0x17b)][_0xc63d52(0x194)][_0xc63d52(0x161)][_0xc63d52(0x177)]();_0x519b1c&&_0x519b1c[_0xc63d52(0x15e)](_0xc63d52(0x183))&&this[_0xc63d52(0x19e)][_0xc63d52(0x19b)][_0xc63d52(0x188)][_0xc63d52(0x18f)](_0xc63d52(0x16a),()=>{const _0x5c2fa9=_0xc63d52;_0x187f17(this[_0x5c2fa9(0x19e)],_0x519b1c);});});}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{global as
|
|
24
|
-
|
|
23
|
+
import{global as _0x47df58,ObservableMixin as _0x3530e2}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x5c0a9a}from'ckeditor5/src/ui.js';import _0x10df8f from'./uploadcareimageeditformview.js';import _0x3dedf0 from'../../utils/uploadutils.js';import _0x47b61c from'../../../theme/icons/uploadcare-image-edit.svg';import{getImageUrls as _0x169276,getImageDimension as _0x4a8f38}from'../../utils/editingutils.js';import{isAncestor as _0x331cfe}from'../../utils/isancestor.js';export default class z extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x3530e2(){constructor(_0xf6045e,_0x2a0fc3,_0x264234){super(),this['_editor']=_0xf6045e,this['_dialog']=_0x2a0fc3,this['_imageElement']=_0x264234,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 _0x1bdf7e=this['_imageElement'],_0x41d7b6=_0x1bdf7e['getAttribute']('uploadcareImageId'),_0xc228c3=_0x1bdf7e['getAttribute']('src');if(_0x41d7b6)await this['_loadImageInfo'](_0x41d7b6,_0xc228c3);else{if(this['_imageCache']['has'](_0xc228c3)){const _0x1052c6=this['_imageCache']['get'](_0xc228c3);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x1052c6['url'],this['imageDimension']=_0x1052c6['dimension'],this['imageId']=_0x1052c6['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x5ee18b}=this['_editor'],t=_0x5ee18b['t'],_0x176078=new _0x10df8f(_0x5ee18b,this['imageStatus'],this['_attributes']);_0x176078['bind']('status')['to'](this,'imageStatus'),_0x176078['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x176078['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x176078['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x176078,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x47b61c,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x176078,'position':_0x5c0a9a['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x176078['focus']();},'onHide':()=>{_0x176078['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x5d751c=>!_0x331cfe(_0x5d751c,_0x176078['element'])}});}['_loadImageInfo'](_0x16bda7,_0x3edda7){return _0x3dedf0['getInfo'](_0x16bda7,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x15cc1b=>{const {width:_0x21f925,height:_0x3edd4a}=_0x15cc1b['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x3edda7,this['imageDimension']={'width':_0x21f925,'height':_0x3edd4a},this['imageId']=_0x16bda7;})['catch'](_0x48ffe8=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x48ffe8['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x2588d9,_0x4f7374){return this['_getImageAsFile'](_0x2588d9)['then'](_0x54a48a=>_0x3dedf0['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x4f7374['signal'],'file':_0x54a48a,'onProgress':_0x2e6fca=>{_0x2e6fca&&_0x2e6fca['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x2e6fca['value']));}}))['then'](_0x386009=>{const {width:_0x26dd4c,height:_0x4e4995}=_0x386009['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x386009['cdnUrl'],this['imageDimension']={'width':_0x26dd4c,'height':_0x4e4995},this['imageId']=_0x386009['uuid'],this['imageUploadProgress']=null;const _0xd866b=_0x2588d9['getAttribute']('src');this['_imageCache']['set'](_0xd866b,{'id':_0x386009['uuid'],'url':_0x386009['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x4968a7=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x4968a7['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x27044f,_0x46757d){_0x27044f['on']('apply',(_0x4b485a,_0x5271f4)=>{this['_replaceImage'](_0x46757d,_0x5271f4['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x27044f['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x27044f['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x49ffab,_0x120468,_0x580ebf){const _0x223ae3=this['_editor'],{width:_0x39c733,height:_0x36c190}=_0x4a8f38(_0x120468,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x1b750a,imageSources:_0x227e94}=_0x169276(_0x120468,_0x39c733);_0x223ae3['model']['change'](_0x115e5f=>{if('$graveyard'===_0x49ffab['root']['rootName']){_0x223ae3['execute']('insertImage',{'imageType':_0x49ffab['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x49ffab['getAttributes']()),'uploadcareImageId':_0x580ebf,'src':_0x1b750a,'sources':_0x227e94,'width':_0x39c733,'height':_0x36c190}});const _0x3c66d6=_0x49ffab['getChildren']();_0x49ffab=_0x223ae3['model']['document']['selection']['getSelectedElement']();for(const _0x55d3f7 of _0x3c66d6)_0x115e5f['append'](_0x115e5f['cloneElement'](_0x55d3f7),_0x49ffab);}else _0x115e5f['setSelection'](_0x49ffab,'on'),_0x223ae3['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x49ffab['getAttributes']()),'uploadcareImageId':_0x580ebf,'src':_0x1b750a,'sources':_0x227e94,'width':_0x39c733,'height':_0x36c190},_0x49ffab);_0x115e5f['setSelection'](_0x49ffab,'on');});}async['_getImageAsFile'](_0x2f2dc9){const _0x506cc5=_0x47df58['window'],_0x5a241f=_0x47df58['document']['location']['href'],_0x4b664e=new _0x506cc5['URL'](_0x2f2dc9['getAttribute']('src'),_0x5a241f);if('data:'===_0x4b664e['protocol']){const _0x2fe644=_0x4b664e['href']['split'](','),_0x3f5bed=_0x2fe644[0x0]['match'](/:(.*?);/)[0x1],_0x13f637=_0x3f5bed['split']('/')[0x1],_0x234757=_0x506cc5['atob'](_0x2fe644[_0x2fe644['length']-0x1]);let _0x2baba8=_0x234757['length'];const _0x3b553d=new _0x506cc5['Uint8Array'](_0x2baba8);for(;_0x2baba8--;)_0x3b553d[_0x2baba8]=_0x234757['charCodeAt'](_0x2baba8);return new _0x506cc5['File']([_0x3b553d],'image.'+_0x13f637,{'type':_0x3f5bed});}const _0x1c0734=_0x4b664e['href']['split']('/'),_0x58bc32=_0x1c0734[_0x1c0734['length']-0x1],_0x50ab7b=_0x58bc32['split']('.')[0x1];return _0x506cc5['fetch'](_0x4b664e['href'])['then'](_0x5efa7a=>_0x5efa7a['clone']()['blob']())['then'](_0x5b4be4=>new _0x506cc5['File']([_0x5b4be4],_0x58bc32,{'type':'image/'+_0x50ab7b}));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x255349,_0xde51e8){const _0x1dd8b7=_0x262d,_0x2a3211=_0x255349();while(!![]){try{const _0x1db932=parseInt(_0x1dd8b7(0x15e))/0x1*(-parseInt(_0x1dd8b7(0x15a))/0x2)+parseInt(_0x1dd8b7(0x162))/0x3+parseInt(_0x1dd8b7(0x15c))/0x4*(-parseInt(_0x1dd8b7(0x163))/0x5)+-parseInt(_0x1dd8b7(0x151))/0x6*(-parseInt(_0x1dd8b7(0x152))/0x7)+parseInt(_0x1dd8b7(0x160))/0x8+-parseInt(_0x1dd8b7(0x161))/0x9*(-parseInt(_0x1dd8b7(0x159))/0xa)+parseInt(_0x1dd8b7(0x157))/0xb;if(_0x1db932===_0xde51e8)break;else _0x2a3211['push'](_0x2a3211['shift']());}catch(_0x35494b){_0x2a3211['push'](_0x2a3211['shift']());}}}(_0x4c91,0x3372b));function _0x262d(_0x2a6163,_0x729175){const _0x4c91fe=_0x4c91();return _0x262d=function(_0x262d7f,_0x53fb77){_0x262d7f=_0x262d7f-0x151;let _0x55611e=_0x4c91fe[_0x262d7f];return _0x55611e;},_0x262d(_0x2a6163,_0x729175);}import{View as _0x567477}from'ckeditor5/src/ui.js';function _0x4c91(){const _0x22b2f8=['5496pbCCPA','ck-uploadcare-theme','32664TDPYCO','image-edit','84yikQfF','set','1644056rVhnhu','54pxPwGE','618666VGEzvT','155ZdpOAD','12846JfZBxL','196sYadLB','bindTemplate','uc-cloud-image-editor','imageSrc','uc-light','39204adcbgg','setTemplate','365780ymVbQG'];_0x4c91=function(){return _0x22b2f8;};return _0x4c91();}export default class tt extends _0x567477{constructor(_0x511184,_0x4fce4c){const _0x5ec850=_0x262d;super(_0x511184);const _0x235631=this[_0x5ec850(0x153)];this[_0x5ec850(0x15f)](_0x5ec850(0x155),''),this[_0x5ec850(0x158)]({'tag':_0x5ec850(0x154),'attributes':{..._0x4fce4c,'class':[_0x5ec850(0x156),_0x5ec850(0x15b)],'ctx-name':_0x5ec850(0x15d),'cdn-url':_0x235631['to'](_0x5ec850(0x155))}});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{ButtonView as
|
|
23
|
+
import{ButtonView as _0x2bb6ed,IconView as et,View as _0x5c2563}from'ckeditor5/src/ui.js';import at from'../../../theme/icons/error.svg';export default class rt extends _0x5c2563{constructor(_0x3939a9){super(_0x3939a9);const t=_0x3939a9['t'];this['set']('errorType',null);const _0x43bd40=new _0x2bb6ed(_0x3939a9);_0x43bd40['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x43bd40['withText']=!0x0,_0x43bd40['class']='ck-button-action',_0x43bd40['on']('execute',()=>{this['fire']('retry');}),_0x43bd40['bind']('isVisible')['to'](this,'errorType',_0x177810=>'NotFound'!==_0x177810);const _0xb715c2=new et();_0xb715c2['content']=at,_0xb715c2['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x4c584e=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':[_0xb715c2,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x4c584e['to']('errorType',_0x35c7d9=>t('NotFound'!==_0x35c7d9?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x43bd40]},{'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 _0xb757b2,View as _0x5199d8}from'ckeditor5/src/ui.js';export default class ta extends _0x5199d8{constructor(_0x79ae0d){super(_0x79ae0d);const t=_0x79ae0d['t'],_0x363745=this['bindTemplate'],_0x3c00f7=new _0xb757b2();_0x3c00f7['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':[_0x3c00f7,{'text':_0x363745['to']('imageUploadProgress',_0x180518=>t('Loading\x20image...')+'\x20('+(_0x180518||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 _0x353ba5=_0x4738;(function(_0x6e34e,_0x78b4f4){const _0x13cc7d=_0x4738,_0x4ea4aa=_0x6e34e();while(!![]){try{const _0x2ac373=-parseInt(_0x13cc7d(0x1fc))/0x1+parseInt(_0x13cc7d(0x207))/0x2*(parseInt(_0x13cc7d(0x20a))/0x3)+parseInt(_0x13cc7d(0x1f7))/0x4+parseInt(_0x13cc7d(0x1f4))/0x5*(-parseInt(_0x13cc7d(0x20e))/0x6)+-parseInt(_0x13cc7d(0x1f0))/0x7*(-parseInt(_0x13cc7d(0x21e))/0x8)+-parseInt(_0x13cc7d(0x1f5))/0x9*(parseInt(_0x13cc7d(0x21b))/0xa)+parseInt(_0x13cc7d(0x208))/0xb*(parseInt(_0x13cc7d(0x209))/0xc);if(_0x2ac373===_0x78b4f4)break;else _0x4ea4aa['push'](_0x4ea4aa['shift']());}catch(_0x11cd5a){_0x4ea4aa['push'](_0x4ea4aa['shift']());}}}(_0x4da3,0x3b8f4));import{View as _0x4dc788}from'ckeditor5/src/ui.js';import _0x5778 from'./uploadcareimageeditformloadingview.js';function _0x4da3(){const _0x37c1ca=['fire','_addUploadcareImageEditorListeners','nodeName','error','_errorView','retry','310zArKbe','detail','addEventListener','881520zkfVkP','addMany','target','clear','focus','_items','addedNodes','disconnect','render','status','ck-reset_all-excluded','7zctSFk','_setView','cdnUrl','length','15985SndnqX','106839rkAQOb','element','1433996uKqVDn','observe','apply','set','change:status','109329dpkRRC','filter','setTemplate','uploading','getFocusableElement','_waitForImageEditorComponent','ck-uploadcare-form','_focusableView','_loadingView','toLowerCase','add','134VRqNAg','1277111JErZal','12yTwtEG','8259BxJYsw','cancel','uc-cloud-image-editor','once','90NjETvr','_addErrorViewListeners','querySelector','_editingView','ready','div','createCollection'];_0x4da3=function(){return _0x37c1ca;};return _0x4da3();}import _0x4d45db from'./uploadcareimageeditformerrorview.js';import _0x1c66b0 from'./uploadcareimageeditformeditingview.js';import _0xc2d409 from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';function _0x4738(_0x195f57,_0x3e3104){const _0x4da391=_0x4da3();return _0x4738=function(_0x473839,_0x12d488){_0x473839=_0x473839-0x1ea;let _0x1aeb0c=_0x4da391[_0x473839];return _0x1aeb0c;},_0x4738(_0x195f57,_0x3e3104);}export default class ii extends _0xc2d409{constructor(_0x5f0e57,_0x59c1ae,_0x3dc825){const _0x1e2096=_0x4738;super(_0x5f0e57),this[_0x1e2096(0x1ea)]=this[_0x1e2096(0x214)](),this[_0x1e2096(0x204)]=new _0x5778(_0x5f0e57),this[_0x1e2096(0x219)]=new _0x4d45db(_0x5f0e57),this[_0x1e2096(0x211)]=new _0x1c66b0(_0x5f0e57,_0x3dc825),this[_0x1e2096(0x203)]=new _0x4dc788(_0x5f0e57),this[_0x1e2096(0x203)][_0x1e2096(0x1fe)](this[_0x1e2096(0x200)]()),this[_0x1e2096(0x1fa)](_0x1e2096(0x1ee),_0x59c1ae),this[_0x1e2096(0x1fe)]({'tag':_0x1e2096(0x213),'attributes':{'class':['ck',_0x1e2096(0x1ef),_0x1e2096(0x202)],'tabindex':'-1'},'children':this[_0x1e2096(0x1ea)]}),this[_0x1e2096(0x1f1)](),this[_0x1e2096(0x20d)](_0x1e2096(0x1ed),()=>{const _0x370350=_0x1e2096;this[_0x370350(0x201)](this[_0x370350(0x1f6)],_0x49e708=>{const _0x57f73f=_0x370350;this[_0x57f73f(0x216)](_0x49e708);});}),this['on'](_0x1e2096(0x1fb),()=>{const _0x27e9c4=_0x1e2096;this[_0x27e9c4(0x1f1)]();}),this[_0x1e2096(0x20f)]();}[_0x353ba5(0x222)](){const _0x3d0289=_0x353ba5;this[_0x3d0289(0x1f6)][_0x3d0289(0x222)]();}[_0x353ba5(0x1f1)](){const _0x58a9ec=_0x353ba5;switch(this[_0x58a9ec(0x1ea)][_0x58a9ec(0x221)](),this[_0x58a9ec(0x1ee)]){case _0x58a9ec(0x1ff):this[_0x58a9ec(0x1ea)][_0x58a9ec(0x206)](this[_0x58a9ec(0x204)]);break;case _0x58a9ec(0x218):this[_0x58a9ec(0x1ea)][_0x58a9ec(0x206)](this[_0x58a9ec(0x219)]);break;case _0x58a9ec(0x212):this[_0x58a9ec(0x1ea)][_0x58a9ec(0x21f)]([this[_0x58a9ec(0x211)],this[_0x58a9ec(0x203)]]);}}[_0x353ba5(0x201)](_0x502a66,_0x2db12a){const _0x32fda0=_0x353ba5,_0x1da51b=_0x32fda0(0x20c),_0x475f99=_0x502a66[_0x32fda0(0x210)](_0x1da51b);if(_0x475f99)return _0x2db12a(_0x475f99);const _0x5850fa=new MutationObserver(_0x497f14=>{const _0xa999f8=_0x32fda0,_0x5e4908=_0x497f14[_0xa999f8(0x1fd)](_0x3efec3=>_0x3efec3[_0xa999f8(0x220)]===_0x502a66&&_0x3efec3[_0xa999f8(0x1eb)][_0xa999f8(0x1f3)]>0x0&&_0x3efec3[_0xa999f8(0x1eb)][0x0][_0xa999f8(0x217)][_0xa999f8(0x205)]()===_0x1da51b);_0x5e4908[_0xa999f8(0x1f3)]&&(_0x5850fa[_0xa999f8(0x1ec)](),_0x2db12a(_0x5e4908[0x0][_0xa999f8(0x1eb)][0x0]));});_0x5850fa[_0x32fda0(0x1f8)](_0x502a66,{'childList':!0x0,'subtree':!0x0});}[_0x353ba5(0x216)](_0x3ea744){const _0x22f93e=_0x353ba5;_0x3ea744[_0x22f93e(0x21d)](_0x22f93e(0x1f9),_0x15eefc=>{const _0x5a3484=_0x22f93e;this[_0x5a3484(0x215)](_0x5a3484(0x1f9),{'imageSrc':_0x15eefc[_0x5a3484(0x21c)][_0x5a3484(0x1f2)]});}),_0x3ea744[_0x22f93e(0x21d)](_0x22f93e(0x20b),()=>{const _0x8e1210=_0x22f93e;this[_0x8e1210(0x215)](_0x8e1210(0x20b));});}[_0x353ba5(0x20f)](){const _0x326f93=_0x353ba5;this[_0x326f93(0x219)]['on'](_0x326f93(0x21a),()=>{const _0x370845=_0x326f93;this[_0x370845(0x215)](_0x370845(0x21a));});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x41bd(_0x378506,_0x469a35){const _0x5716e9=_0x5716();return _0x41bd=function(_0x41bd29,_0x3436f8){_0x41bd29=_0x41bd29-0xad;let _0xab5464=_0x5716e9[_0x41bd29];return _0xab5464;},_0x41bd(_0x378506,_0x469a35);}const _0x47894b=_0x41bd;(function(_0x83b9d8,_0x1759bc){const _0x181ec4=_0x41bd,_0x3405a3=_0x83b9d8();while(!![]){try{const _0x1b33e3=-parseInt(_0x181ec4(0xb5))/0x1+-parseInt(_0x181ec4(0xc5))/0x2+parseInt(_0x181ec4(0xc3))/0x3*(parseInt(_0x181ec4(0xb4))/0x4)+-parseInt(_0x181ec4(0xcc))/0x5*(-parseInt(_0x181ec4(0xaf))/0x6)+-parseInt(_0x181ec4(0xc7))/0x7*(-parseInt(_0x181ec4(0xbc))/0x8)+parseInt(_0x181ec4(0xb9))/0x9+-parseInt(_0x181ec4(0xbe))/0xa;if(_0x1b33e3===_0x1759bc)break;else _0x3405a3['push'](_0x3405a3['shift']());}catch(_0x4cb511){_0x3405a3['push'](_0x3405a3['shift']());}}}(_0x5716,0x9bc56));import{Command as _0x3a23e6}from'ckeditor5/src/core.js';import{Dialog as _0x27c2d0}from'ckeditor5/src/ui.js';import _0x1f13e9 from'./ui/uploadcareimageeditcontroller.js';function _0x5716(){const _0x9dc94d=['isActive','get','7445133OVkEZz','refresh','document','8LuhCLQ','execute','10593800dJbxkw','editor','set','requires','config','68334BqtqjA','imageInline','64532XpNPwR','imageEditController','1068613lgPfjb','selection','model','_isEditable','bind','11580aQBHoY','isEnabled','uploadcare.allowExternalImagesEditing','396lOGrss','plugins','element','imageBlock','getSelectedElement','136CPTGSZ','177520JaNylE','unbind'];_0x5716=function(){return _0x9dc94d;};return _0x5716();}import{createEditabilityChecker as _0xbdf5fe}from'../utils/editingutils.js';export default class J extends _0x3a23e6{static get[_0x47894b(0xc1)](){return[_0x27c2d0];}constructor(_0x1ec6f3){const _0x30867b=_0x47894b;super(_0x1ec6f3),this[_0x30867b(0xc6)]=void 0x0,this[_0x30867b(0xca)]=_0xbdf5fe(_0x1ec6f3[_0x30867b(0xc2)][_0x30867b(0xb8)](_0x30867b(0xae))||[]),this[_0x30867b(0xc0)]({'isActive':!0x1});}[_0x47894b(0xba)](){const _0x56f42d=_0x47894b,_0x117a2a=this[_0x56f42d(0xbf)][_0x56f42d(0xc9)][_0x56f42d(0xbb)][_0x56f42d(0xc8)][_0x56f42d(0xb3)]();this[_0x56f42d(0xad)]=this[_0x56f42d(0xca)](_0x117a2a);}[_0x47894b(0xbd)](){const _0x5e427c=_0x47894b;this[_0x5e427c(0xc6)]&&(this[_0x5e427c(0xb6)](_0x5e427c(0xb7)),this[_0x5e427c(0xc6)]=void 0x0);const _0x1562b1=this[_0x5e427c(0xbf)][_0x5e427c(0xc9)][_0x5e427c(0xbb)][_0x5e427c(0xc8)][_0x5e427c(0xb3)]();_0x1562b1&&(_0x1562b1['is'](_0x5e427c(0xb1),_0x5e427c(0xb2))||_0x1562b1['is'](_0x5e427c(0xb1),_0x5e427c(0xc4)))&&(this[_0x5e427c(0xc6)]=new _0x1f13e9(this[_0x5e427c(0xbf)],this[_0x5e427c(0xbf)][_0x5e427c(0xb0)][_0x5e427c(0xb8)](_0x27c2d0),_0x1562b1),this[_0x5e427c(0xcb)](_0x5e427c(0xb7))['to'](this[_0x5e427c(0xc6)],_0x5e427c(0xb7)));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x5973(_0x6c285f,_0x1f97b9){const _0x147179=_0x1471();return _0x5973=function(_0x59738a,_0x3676ac){_0x59738a=_0x59738a-0x12a;let _0x3fa0a0=_0x147179[_0x59738a];return _0x3fa0a0;},_0x5973(_0x6c285f,_0x1f97b9);}function _0x1471(){const _0x343709=['uploadcareImageReplace','12cCyoiH','pluginName','2330TpRZcE','isPremiumPlugin','UploadcareImageEditEditing','ImageUtils','uploadcareImageEdit','ImageEditing','isOfficialPlugin','16bjUOvE','add','init','2734175QcIVgI','170148pKBorc','1401759alFoRy','22WqGwfd','commands','requires','44265YzisTO','6185487dDCWVF','347524ddzyLN','1578953hxqJqt'];_0x1471=function(){return _0x343709;};return _0x1471();}const _0x5da61a=_0x5973;(function(_0xaeb4a1,_0x3cea0a){const _0x42fa85=_0x5973,_0x1c177a=_0xaeb4a1();while(!![]){try{const _0x11d3c7=parseInt(_0x42fa85(0x13d))/0x1+parseInt(_0x42fa85(0x137))/0x2*(-parseInt(_0x42fa85(0x13a))/0x3)+parseInt(_0x42fa85(0x13c))/0x4+-parseInt(_0x42fa85(0x134))/0x5*(-parseInt(_0x42fa85(0x13f))/0x6)+parseInt(_0x42fa85(0x13b))/0x7*(parseInt(_0x42fa85(0x131))/0x8)+parseInt(_0x42fa85(0x136))/0x9+parseInt(_0x42fa85(0x12a))/0xa*(-parseInt(_0x42fa85(0x135))/0xb);if(_0x11d3c7===_0x3cea0a)break;else _0x1c177a['push'](_0x1c177a['shift']());}catch(_0x213ab8){_0x1c177a['push'](_0x1c177a['shift']());}}}(_0x1471,0xdfadc));import{Plugin as _0xc2ab74}from'ckeditor5/src/core.js';import{Notification as _0x1827f7}from'ckeditor5/src/ui.js';import _0xe385fa from'./uploadcareimageeditcommand.js';import _0x32df8b from'./uploadcareimagereplacecommand.js';import _0x21caaa from'../uploadcareediting.js';export default class m extends _0xc2ab74{static get[_0x5da61a(0x140)](){const _0x34f2de=_0x5da61a;return _0x34f2de(0x12c);}static get[_0x5da61a(0x139)](){const _0x2755ba=_0x5da61a;return[_0x21caaa,_0x1827f7,_0x2755ba(0x12d),_0x2755ba(0x12f)];}static get[_0x5da61a(0x130)](){return!0x0;}static get[_0x5da61a(0x12b)](){return!0x0;}[_0x5da61a(0x133)](){const _0x105d0c=_0x5da61a,{editor:_0x2edee3}=this;_0x2edee3[_0x105d0c(0x138)][_0x105d0c(0x132)](_0x105d0c(0x12e),new _0xe385fa(_0x2edee3)),_0x2edee3[_0x105d0c(0x138)][_0x105d0c(0x132)](_0x105d0c(0x13e),new _0x32df8b(_0x2edee3));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as
|
|
23
|
+
import{Plugin as _0x3f8dd5}from'ckeditor5/src/core.js';import{ButtonView as _0x4f13ab}from'ckeditor5/src/ui.js';import{createElement as _0x2e464f}from'ckeditor5/src/utils.js';import _0x138fcf from'../../theme/icons/uploadcare-image-edit.svg';import'@uploadcare/file-uploader/web/uc-cloud-image-editor.min.css';import'../../theme/uploadcare-theme.css';export default class g extends _0x3f8dd5{constructor(){super(...arguments),this['_imageCache']=new Map();}static get['pluginName'](){return'UploadcareImageEditUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}get['imageCache'](){return this['_imageCache'];}['init'](){const _0x4ff4ed=this['editor'];_0x4ff4ed['ui']['componentFactory']['add']('uploadcareImageEdit',_0x27d67c=>{const _0x45fa35=_0x4ff4ed['commands']['get']('uploadcareImageEdit'),_0x489bcc=new _0x4f13ab(_0x27d67c),t=_0x27d67c['t'];return _0x489bcc['set']({'icon':_0x138fcf,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x489bcc['bind']('isEnabled')['to'](_0x45fa35),_0x489bcc['bind']('isOn')['to'](_0x45fa35,'isActive'),this['listenTo'](_0x489bcc,'execute',()=>{_0x4ff4ed['execute']('uploadcareImageEdit'),_0x4ff4ed['editing']['view']['focus']();}),_0x489bcc;}),this['_initConfig']();}['_initConfig'](){const _0xf26c60=_0x2e464f(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0xf26c60),this['listenTo'](this['editor'],'destroy',()=>{_0xf26c60['remove']();});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x589c73=_0x3983;(function(_0xeced58,_0x2aad64){const _0x10feb6=_0x3983,_0x2a625d=_0xeced58();while(!![]){try{const _0x10eca3=parseInt(_0x10feb6(0x1d5))/0x1+parseInt(_0x10feb6(0x1c6))/0x2+-parseInt(_0x10feb6(0x1c8))/0x3+parseInt(_0x10feb6(0x1db))/0x4*(parseInt(_0x10feb6(0x1c9))/0x5)+-parseInt(_0x10feb6(0x1d2))/0x6+-parseInt(_0x10feb6(0x1cf))/0x7*(parseInt(_0x10feb6(0x1c3))/0x8)+-parseInt(_0x10feb6(0x1cb))/0x9;if(_0x10eca3===_0x2aad64)break;else _0x2a625d['push'](_0x2a625d['shift']());}catch(_0x3aab40){_0x2a625d['push'](_0x2a625d['shift']());}}}(_0x5160,0x5e6be));import{Command as _0x5c7436}from'ckeditor5/src/core.js';function _0x3983(_0x18eef0,_0x315913){const _0x516054=_0x5160();return _0x3983=function(_0x398318,_0x4730e1){_0x398318=_0x398318-0x1c3;let _0x4382a1=_0x516054[_0x398318];return _0x4382a1;},_0x3983(_0x18eef0,_0x315913);}export default class O extends _0x5c7436{[_0x589c73(0x1da)](){const _0x21a31b=_0x589c73,_0x3ac6f6=this[_0x21a31b(0x1d3)][_0x21a31b(0x1d4)][_0x21a31b(0x1d8)][_0x21a31b(0x1c4)][_0x21a31b(0x1d0)]();this[_0x21a31b(0x1d1)]=Boolean(_0x3ac6f6&&(_0x3ac6f6['is'](_0x21a31b(0x1cd),_0x21a31b(0x1ca))||_0x3ac6f6['is'](_0x21a31b(0x1cd),_0x21a31b(0x1c5))));}[_0x589c73(0x1cc)](_0xedf022){const _0x2f95a8=_0x589c73,_0x53b710=this[_0x2f95a8(0x1d3)][_0x2f95a8(0x1d4)][_0x2f95a8(0x1d8)][_0x2f95a8(0x1c4)][_0x2f95a8(0x1d0)]();this[_0x2f95a8(0x1d3)][_0x2f95a8(0x1d4)][_0x2f95a8(0x1d9)](_0x35acfa=>{const _0x287ea7=_0x2f95a8;_0x35acfa[_0x287ea7(0x1d6)](_0xedf022,_0x53b710),_0x35acfa[_0x287ea7(0x1c7)](_0x287ea7(0x1d7),_0x53b710),_0x35acfa[_0x287ea7(0x1c7)](_0x287ea7(0x1ce),_0x53b710);});}}function _0x5160(){const _0x447b51=['imageBlock','439299HnIwvy','execute','element','sizes','7hmhRFq','getSelectedElement','isEnabled','56568OFdadN','editor','model','683834lAzTGj','setAttributes','srcset','document','change','refresh','131052JuobkE','2351408CjVNFn','selection','imageInline','1235530GeAELD','removeAttribute','1786341kYYStQ','5NriGuS'];_0x5160=function(){return _0x447b51;};return _0x5160();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
var _0x54c7b8=_0x4b8d;(function(_0x4e93f,_0x17a2c7){var _0x5aca56=_0x4b8d,_0x41399d=_0x4e93f();while(!![]){try{var _0x242eb9=parseInt(_0x5aca56(0x1af))/0x1*(parseInt(_0x5aca56(0x1b3))/0x2)+parseInt(_0x5aca56(0x1b9))/0x3+-parseInt(_0x5aca56(0x1ae))/0x4*(-parseInt(_0x5aca56(0x1b4))/0x5)+parseInt(_0x5aca56(0x1bb))/0x6+-parseInt(_0x5aca56(0x1bc))/0x7+parseInt(_0x5aca56(0x1b6))/0x8*(-parseInt(_0x5aca56(0x1b2))/0x9)+-parseInt(_0x5aca56(0x1b0))/0xa;if(_0x242eb9===_0x17a2c7)break;else _0x41399d['push'](_0x41399d['shift']());}catch(_0x5c1928){_0x41399d['push'](_0x41399d['shift']());}}}(_0x2d9c,0x8c699));import{Plugin as _0x23746b}from'ckeditor5/src/core.js';function _0x4b8d(_0xe4277,_0x55b64b){var _0x2d9cb0=_0x2d9c();return _0x4b8d=function(_0x4b8d78,_0x11d36a){_0x4b8d78=_0x4b8d78-0x1ae;var _0x198b5a=_0x2d9cb0[_0x4b8d78];return _0x198b5a;},_0x4b8d(_0xe4277,_0x55b64b);}import _0x5dc39e from'./uploadcareimageedit/uploadcareimageeditediting.js';function _0x2d9c(){var _0x375335=['UploadcareImageEdit','4476552BRuuDc','6660745XAPajf','766512TbGAtB','307957fPsAmS','5143050clPlZY','isOfficialPlugin','71991WBNcfX','2IXcYGt','10MrQdSW','requires','64UCiKJG','pluginName','isPremiumPlugin','2002968lstROY'];_0x2d9c=function(){return _0x375335;};return _0x2d9c();}import _0x4f7d9f from'./uploadcareimageedit/uploadcareimageeditui.js';export default class j extends _0x23746b{static get[_0x54c7b8(0x1b7)](){var _0x3efb5b=_0x54c7b8;return _0x3efb5b(0x1ba);}static get[_0x54c7b8(0x1b5)](){return[_0x5dc39e,_0x4f7d9f];}static get[_0x54c7b8(0x1b1)](){return!0x0;}static get[_0x54c7b8(0x1b8)](){return!0x0;}}
|