@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-20250407.0 → 0.0.0-nightly-20250408.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/translations/be.js +1 -0
- package/build/uploadcare.js +1 -1
- package/dist/index.js +3 -3
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.d.ts +8 -0
- package/dist/translations/be.js +23 -0
- package/dist/translations/be.umd.js +23 -0
- 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/lang/translations/be.po +100 -0
- package/package.json +9 -9
- package/src/index.js +1 -1
- package/src/ui/uploadcarecontroller.js +2 -2
- package/src/ui/uploadcareformview.js +1 -1
- package/src/uploadcare.js +1 -1
- package/src/uploadcarecommand.js +1 -1
- package/src/uploadcareconfig.js +1 -1
- package/src/uploadcareediting.js +1 -1
- package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.js +2 -2
- package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.js +1 -1
- package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.js +1 -1
- package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.js +1 -1
- package/src/uploadcareimageedit/ui/uploadcareimageeditformview.js +1 -1
- package/src/uploadcareimageedit/uploadcareimageeditcommand.js +1 -1
- package/src/uploadcareimageedit/uploadcareimageeditediting.js +1 -1
- package/src/uploadcareimageedit/uploadcareimageeditui.js +1 -1
- package/src/uploadcareimageedit/uploadcareimagereplacecommand.js +1 -1
- package/src/uploadcareimageedit.js +1 -1
- package/src/uploadcareui.js +1 -1
- package/src/uploadcareuploadadapter.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/dialogfocusmanagerview.js +1 -1
- package/src/utils/editingutils.js +1 -1
- package/src/utils/isancestor.js +1 -1
- package/src/utils/uploadutils.js +1 -1
package/src/uploadcare.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x485c7f=_0x2dac;(function(_0x1f3ef7,_0x5f251a){var _0x512ac4=_0x2dac,_0x126b60=_0x1f3ef7();while(!![]){try{var _0x442bc0=-parseInt(_0x512ac4(0x140))/0x1*(-parseInt(_0x512ac4(0x14b))/0x2)+parseInt(_0x512ac4(0x14d))/0x3+parseInt(_0x512ac4(0x146))/0x4+parseInt(_0x512ac4(0x142))/0x5*(parseInt(_0x512ac4(0x144))/0x6)+-parseInt(_0x512ac4(0x143))/0x7*(parseInt(_0x512ac4(0x138))/0x8)+-parseInt(_0x512ac4(0x14c))/0x9*(parseInt(_0x512ac4(0x147))/0xa)+parseInt(_0x512ac4(0x141))/0xb*(-parseInt(_0x512ac4(0x13c))/0xc);if(_0x442bc0===_0x5f251a)break;else _0x126b60['push'](_0x126b60['shift']());}catch(_0x2e429f){_0x126b60['push'](_0x126b60['shift']());}}}(_0xb01d,0xcbc1d));function _0x2dac(_0x254b70,_0x892b36){var _0xb01db6=_0xb01d();return _0x2dac=function(_0x2dacbf,_0x537b44){_0x2dacbf=_0x2dacbf-0x138;var _0xac6cc8=_0xb01db6[_0x2dacbf];return _0xac6cc8;},_0x2dac(_0x254b70,_0x892b36);}function _0xb01d(){var _0x21fe56=['requires','URL','33974OKsgEn','957069FcMkzR','2348358hOIwEq','uploadcare.uploader.sourceList','83128OmFnHK','Uploadcare','defineComponents','pluginName','12AyuzJr','isOfficialPlugin','config','isPremiumPlugin','14ZezSmm','3160575jczrNs','2232535Kuyvxo','434EAJuFJ','6CsmzaE','define','2046908tZHmAN','20aIoQTx','Local'];_0xb01d=function(){return _0x21fe56;};return _0xb01d();}import{Plugin as _0xe963a}from'ckeditor5/src/core.js';import _0x649121 from'./uploadcareui.js';import _0x2c1021 from'./uploadcareediting.js';import{UploadcareSource as _0x840b0d}from'./uploadcareconfig.js';import*as _0x2fe0d0 from'@uploadcare/file-uploader';export default class u extends _0xe963a{static get[_0x485c7f(0x149)](){return[_0x2c1021,_0x649121];}static get[_0x485c7f(0x13b)](){var _0x5bab03=_0x485c7f;return _0x5bab03(0x139);}static get[_0x485c7f(0x13d)](){return!0x0;}static get[_0x485c7f(0x13f)](){return!0x0;}constructor(_0x4c39a1){var _0x3070ce=_0x485c7f;super(_0x4c39a1),_0x4c39a1[_0x3070ce(0x13e)][_0x3070ce(0x145)](_0x3070ce(0x14e),[_0x840b0d[_0x3070ce(0x148)],_0x840b0d[_0x3070ce(0x14a)]]),_0x2fe0d0[_0x3070ce(0x13a)](_0x2fe0d0);}}
|
package/src/uploadcarecommand.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
var _0x499b66=_0x5d1e;(function(_0x34dd8e,_0x93f499){var _0x1d80c6=_0x5d1e,_0x2bc93a=_0x34dd8e();while(!![]){try{var _0x32f8c2=parseInt(_0x1d80c6(0x12e))/0x1*(-parseInt(_0x1d80c6(0x122))/0x2)+parseInt(_0x1d80c6(0x137))/0x3+parseInt(_0x1d80c6(0x132))/0x4*(-parseInt(_0x1d80c6(0x135))/0x5)+-parseInt(_0x1d80c6(0x12b))/0x6*(parseInt(_0x1d80c6(0x129))/0x7)+-parseInt(_0x1d80c6(0x12d))/0x8*(-parseInt(_0x1d80c6(0x127))/0x9)+parseInt(_0x1d80c6(0x125))/0xa+parseInt(_0x1d80c6(0x12a))/0xb;if(_0x32f8c2===_0x93f499)break;else _0x2bc93a['push'](_0x2bc93a['shift']());}catch(_0x38e4dc){_0x2bc93a['push'](_0x2bc93a['shift']());}}}(_0x59f2,0xa3b18));import{Command as _0x350279}from'ckeditor5/src/core.js';import{Dialog as _0x327d20}from'ckeditor5/src/ui.js';function _0x5d1e(_0x463c1d,_0x428657){var _0x59f2ac=_0x59f2();return _0x5d1e=function(_0x5d1e30,_0x229219){_0x5d1e30=_0x5d1e30-0x122;var _0x35e2f6=_0x59f2ac[_0x5d1e30];return _0x35e2f6;},_0x5d1e(_0x463c1d,_0x428657);}function _0x59f2(){var _0x5eecec=['get','isEnabled','insertImage','4648100DPXBte','requires','refresh','5lXeqCw','_checkEnabled','1446252QFXErb','_controller','editor','158UagbQS','destroy','plugins','4786490WJPreY','commands','91296EGBMbE','_editing','297661JhGyib','23483581fuOAxm','108hyioxJ','execute','144vmEkUE','8611vLhRGL'];_0x59f2=function(){return _0x5eecec;};return _0x59f2();}import _0x34d1e9 from'./uploadcareediting.js';import _0x146822 from'./ui/uploadcarecontroller.js';export default class n extends _0x350279{[_0x499b66(0x128)];[_0x499b66(0x138)]=null;static get[_0x499b66(0x133)](){return[_0x327d20,_0x34d1e9];}constructor(_0x3ba129){var _0x95be37=_0x499b66;super(_0x3ba129),this[_0x95be37(0x128)]=_0x3ba129[_0x95be37(0x124)][_0x95be37(0x12f)](_0x34d1e9);}[_0x499b66(0x134)](){var _0x496a2e=_0x499b66;this[_0x496a2e(0x130)]=this[_0x496a2e(0x136)]();}[_0x499b66(0x12c)](_0x2f63ab){var _0x819f7a=_0x499b66;this[_0x819f7a(0x138)]&&(this[_0x819f7a(0x138)][_0x819f7a(0x123)](),this[_0x819f7a(0x138)]=null),this[_0x819f7a(0x138)]=new _0x146822(this[_0x819f7a(0x139)],this[_0x819f7a(0x128)],_0x2f63ab);}[_0x499b66(0x136)](){var _0x185ff8=_0x499b66;return this[_0x185ff8(0x139)][_0x185ff8(0x126)][_0x185ff8(0x12f)](_0x185ff8(0x131))[_0x185ff8(0x130)];}}
|
package/src/uploadcareconfig.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x3b87(){var _0x341342=['16xMPAjb','4458223ykwLNT','Facebook','1006715sbBNIC','Dropbox','727830CVrSqD','3855714TDrbtZ','local','13982040tRFyyh','onedrive','GPhotos','dropbox','gphotos','GDrive','1005228dORxAz','4IUcJoa','facebook','5yTCFZy','Local','URL','OneDrive','url','gdrive','3837770BikFkO'];_0x3b87=function(){return _0x341342;};return _0x3b87();}function _0x59d8(_0x5ec15b,_0x144454){var _0x3b87a3=_0x3b87();return _0x59d8=function(_0x59d870,_0x289891){_0x59d870=_0x59d870-0x163;var _0x4827b2=_0x3b87a3[_0x59d870];return _0x4827b2;},_0x59d8(_0x5ec15b,_0x144454);}(function(_0x2a2468,_0x5a00f9){var _0x22049a=_0x59d8,_0x5b00b0=_0x2a2468();while(!![]){try{var _0x462e94=parseInt(_0x22049a(0x165))/0x1+-parseInt(_0x22049a(0x167))/0x2+parseInt(_0x22049a(0x170))/0x3*(parseInt(_0x22049a(0x171))/0x4)+-parseInt(_0x22049a(0x173))/0x5*(-parseInt(_0x22049a(0x168))/0x6)+-parseInt(_0x22049a(0x163))/0x7*(-parseInt(_0x22049a(0x17a))/0x8)+-parseInt(_0x22049a(0x16a))/0x9+-parseInt(_0x22049a(0x179))/0xa;if(_0x462e94===_0x5a00f9)break;else _0x5b00b0['push'](_0x5b00b0['shift']());}catch(_0x1d267f){_0x5b00b0['push'](_0x5b00b0['shift']());}}}(_0x3b87,0xe9a08));export var UploadcareSource;!function(_0x4d6a06){var _0x3a46f3=_0x59d8;_0x4d6a06[_0x3a46f3(0x174)]=_0x3a46f3(0x169),_0x4d6a06[_0x3a46f3(0x175)]=_0x3a46f3(0x177),_0x4d6a06[_0x3a46f3(0x166)]=_0x3a46f3(0x16d),_0x4d6a06[_0x3a46f3(0x16f)]=_0x3a46f3(0x178),_0x4d6a06[_0x3a46f3(0x164)]=_0x3a46f3(0x172),_0x4d6a06[_0x3a46f3(0x16c)]=_0x3a46f3(0x16e),_0x4d6a06[_0x3a46f3(0x176)]=_0x3a46f3(0x16b);}(UploadcareSource||(UploadcareSource={}));
|
package/src/uploadcareediting.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x39cc0b=_0x5dc3;function _0x5dc3(_0xdd0440,_0x13f60d){const _0x4448fc=_0x4448();return _0x5dc3=function(_0x5dc325,_0x3853ac){_0x5dc325=_0x5dc325-0x159;let _0x39f8ae=_0x4448fc[_0x5dc325];return _0x39f8ae;},_0x5dc3(_0xdd0440,_0x13f60d);}(function(_0x504483,_0x2e47c3){const _0x451110=_0x5dc3,_0x10ff0d=_0x504483();while(!![]){try{const _0x1476f4=-parseInt(_0x451110(0x164))/0x1*(parseInt(_0x451110(0x187))/0x2)+parseInt(_0x451110(0x1a2))/0x3*(parseInt(_0x451110(0x18c))/0x4)+-parseInt(_0x451110(0x1a9))/0x5*(parseInt(_0x451110(0x161))/0x6)+-parseInt(_0x451110(0x171))/0x7*(-parseInt(_0x451110(0x199))/0x8)+parseInt(_0x451110(0x181))/0x9+-parseInt(_0x451110(0x1a3))/0xa+parseInt(_0x451110(0x197))/0xb;if(_0x1476f4===_0x2e47c3)break;else _0x10ff0d['push'](_0x10ff0d['shift']());}catch(_0x135b5b){_0x10ff0d['push'](_0x10ff0d['shift']());}}}(_0x4448,0xaa9fb));import{Plugin as _0x3cb402}from'ckeditor5/src/core.js';import{Dialog as _0x1a0360}from'ckeditor5/src/ui.js';import{createElement as _0x26bb89,global as _0x262662,uid as _0x583ff2}from'ckeditor5/src/utils.js';import _0x287718 from'./uploadcarecommand.js';import _0x389d18 from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x3cbfd5}from'./utils/editingutils.js';export default class i extends _0x3cb402{[_0x39cc0b(0x159)]=null;[_0x39cc0b(0x182)]=null;static get[_0x39cc0b(0x194)](){const _0x54e550=_0x39cc0b;return _0x54e550(0x175);}static get[_0x39cc0b(0x179)](){const _0x4ca333=_0x39cc0b;return[_0x4ca333(0x1aa),_0x389d18,_0x1a0360];}static get[_0x39cc0b(0x19f)](){return!0x0;}static get[_0x39cc0b(0x192)](){return!0x0;}get[_0x39cc0b(0x17a)](){const _0x3a9582=_0x39cc0b;return this[_0x3a9582(0x159)];}get[_0x39cc0b(0x166)](){const _0x460ab9=_0x39cc0b;return this[_0x460ab9(0x182)];}[_0x39cc0b(0x18a)](){const _0x3ca1cf=_0x39cc0b,_0x4b1cdb=this[_0x3ca1cf(0x1a0)];_0x4b1cdb[_0x3ca1cf(0x193)][_0x3ca1cf(0x16b)](_0x3ca1cf(0x15d),new _0x287718(_0x4b1cdb));}[_0x39cc0b(0x172)](){const _0x4e827b=_0x39cc0b;this[_0x4e827b(0x163)](),this[_0x4e827b(0x19c)](),this[_0x4e827b(0x19b)](),this[_0x4e827b(0x183)](),this[_0x4e827b(0x162)](),this[_0x4e827b(0x17f)](this[_0x4e827b(0x1a0)],_0x4e827b(0x17b),()=>{const _0x15e38e=_0x4e827b;this[_0x15e38e(0x159)]&&(this[_0x15e38e(0x159)][_0x15e38e(0x189)](),this[_0x15e38e(0x159)]=null),this[_0x15e38e(0x182)]&&(this[_0x15e38e(0x182)][_0x15e38e(0x189)](),this[_0x15e38e(0x182)]=null);const _0x2932c0=_0x262662[_0x15e38e(0x1ad)][_0x15e38e(0x178)](_0x15e38e(0x170));_0x2932c0&&_0x2932c0[_0x15e38e(0x189)]();}),async function(_0x1314eb){const _0x2e3dff=_0x30b87a([0x47,0x38,0x55,0x49,0x43,0x52,0x4b,0x33,0x65,0x4c,0x53,0x32,0x6c,0x66,0x69,0x50,0x57,0x74,0x56,0x68,0x4a,0x36,0x44,0x76,0x59,0x48,0x63,0x31,0x6a,0x77,0x54,0x37,0x45,0x78,0x79,0x64,0x30,0x61,0x75,0x4d,0x6f,0x35,0x6d,0x41,0x6b,0x46,0x4e,0x51,0x4f,0x34,0x7a,0x58,0x39,0x42,0x67,0x70,0x5a,0x62,0x71,0x6e,0x72,0x73]),_0x1eb1d7=0x1c670cf0,_0x51a93e=0x1c6068a8^_0x1eb1d7,_0x3fd774=window[_0x30b87a([0x44,0x61,0x74,0x65])][_0x30b87a([0x6e,0x6f,0x77])](),_0x35e4b3=_0x1314eb[_0x30b87a([0x65,0x64,0x69,0x74,0x6f,0x72])],_0xfd6f54=new window[(_0x30b87a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1c2462=>{_0x35e4b3[_0x30b87a([0x6f,0x6e,0x63,0x65])](_0x30b87a([0x72,0x65,0x61,0x64,0x79]),_0x1c2462);}),_0x2ddfee={[_0x30b87a([0x6b,0x74,0x79])]:_0x30b87a([0x45,0x43]),[_0x30b87a([0x75,0x73,0x65])]:_0x30b87a([0x73,0x69,0x67]),[_0x30b87a([0x63,0x72,0x76])]:_0x30b87a([0x50,0x2d,0x32,0x35,0x36]),[_0x30b87a([0x78])]:_0x30b87a([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]),[_0x30b87a([0x79])]:_0x30b87a([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]),[_0x30b87a([0x61,0x6c,0x67])]:_0x30b87a([0x45,0x53,0x32,0x35,0x36])},_0x2e90e8=_0x35e4b3[_0x30b87a([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x30b87a([0x67,0x65,0x74])](_0x30b87a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x1856bc(){let _0x6c188d,_0x838e2d=null,_0x4dc530=null;try{if(_0x2e90e8==_0x30b87a([0x47,0x50,0x4c]))return _0x30b87a([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x6c188d=_0x45a06a(),!_0x6c188d)return _0x30b87a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x6c188d[_0x30b87a([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4dc530=_0x1dda26(_0x6c188d[_0x30b87a([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x6c188d[_0x30b87a([0x6a,0x74,0x69])])),await _0x1e515b()?_0x58f9d7()?_0x5b4e85()?_0x30b87a([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x503a50()?(_0x6c188d[_0x30b87a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x30b87a([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x838e2d=_0x471f94(_0x30b87a([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x6c188d[_0x30b87a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x30b87a([0x74,0x72,0x69,0x61,0x6c])&&(_0x838e2d=_0x471f94(_0x30b87a([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x3d14d7()):_0x30b87a([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x30b87a([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x30b87a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x572713){return _0x30b87a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x5b4e85(){const _0x2de80b=[_0x30b87a([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x30b87a([0x74,0x72,0x69,0x61,0x6c])][_0x30b87a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x6c188d[_0x30b87a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3fd774/0x3e8:0xe10*_0x51a93e;return _0x6c188d[_0x30b87a([0x65,0x78,0x70])]<_0x2de80b;}function _0x58f9d7(){const _0x5bc23e=_0x6c188d[_0x30b87a([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x5bc23e&&(!!_0x5bc23e[_0x30b87a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x30b87a([0x2a]))||!!_0x5bc23e[_0x30b87a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x30b87a([0x55,0x50,0x4c,0x43])));}function _0x503a50(){const _0x560853=_0x5dc3,_0x2a4a08=_0x6c188d[_0x30b87a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x2a4a08||0x0==_0x2a4a08[_0x30b87a([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x431a0d}=new URL(window[_0x30b87a([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x560853(0x18f)]);if(_0x2a4a08[_0x30b87a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x431a0d))return!0x0;const _0x12ff3a=_0x431a0d[_0x30b87a([0x73,0x70,0x6c,0x69,0x74])](_0x30b87a([0x2e]));return _0x2a4a08[_0x30b87a([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4c21df=>_0x4c21df[_0x30b87a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x30b87a([0x2a])))[_0x30b87a([0x6d,0x61,0x70])](_0x5e660e=>_0x5e660e[_0x30b87a([0x73,0x70,0x6c,0x69,0x74])](_0x30b87a([0x2e])))[_0x30b87a([0x73,0x6f,0x6d,0x65])](_0x474d4a=>_0x12ff3a[_0x30b87a([0x65,0x76,0x65,0x72,0x79])]((_0x269ed5,_0x20d5c5)=>_0x474d4a[_0x20d5c5]===_0x269ed5||_0x474d4a[_0x20d5c5]===_0x30b87a([0x2a])));}function _0x3d14d7(){return _0x838e2d&&_0x4dc530?new window[(_0x30b87a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4f69ee,_0x5716a7)=>{_0x838e2d[_0x30b87a([0x74,0x68,0x65,0x6e])](_0x4f69ee,_0x5716a7),_0x4dc530[_0x30b87a([0x74,0x68,0x65,0x6e])](_0x1e095b=>{_0x1e095b!=_0x30b87a([0x56,0x61,0x6c,0x69,0x64])&&_0x4f69ee(_0x1e095b);},_0x5716a7);}):_0x838e2d||_0x4dc530||_0x30b87a([0x56,0x61,0x6c,0x69,0x64]);}}function _0x1dda26(_0x26d193,_0x4acb49){return new window[(_0x30b87a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4e4be5=>{if(_0x1110ba())return _0x4e4be5(_0x30b87a([0x56,0x61,0x6c,0x69,0x64]));_0x2eb90f(),_0x35e4b3[_0x30b87a([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x30b87a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x456c16=!0x1;const _0x3cb8d7=_0x583ff2();function _0x27ed45(_0xd12f35){return!!_0xd12f35&&(typeof _0xd12f35===_0x30b87a([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0xd12f35===_0x30b87a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0xd12f35[_0x30b87a([0x74,0x68,0x65,0x6e])]===_0x30b87a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0xd12f35[_0x30b87a([0x63,0x61,0x74,0x63,0x68])]===_0x30b87a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3f16dd(_0xb88b91){_0x88a479(_0xb88b91)[_0x30b87a([0x74,0x68,0x65,0x6e])](_0x4ad1a8=>{if(!_0x4ad1a8||_0x4ad1a8[_0x30b87a([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x30b87a([0x6f,0x6b]))return _0x30b87a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x4312ca(_0x14e058(_0x3cb8d7+_0x4acb49))!=_0x4ad1a8[_0x30b87a([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x30b87a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x30b87a([0x56,0x61,0x6c,0x69,0x64]);})[_0x30b87a([0x74,0x68,0x65,0x6e])](_0x4e988d=>(_0xf46ca1(),_0x4e988d),()=>{const _0x4e9002=_0x566c0d();return null==_0x4e9002?(_0xf46ca1(),_0x30b87a([0x56,0x61,0x6c,0x69,0x64])):_0x30b87a(_0x3fd774-_0x4e9002>(0x386b88f0^_0x1eb1d7)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x30b87a([0x74,0x68,0x65,0x6e])](_0x4e4be5)[_0x30b87a([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4e4be5(_0x30b87a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5479f5=0x1c51e270^_0x1eb1d7;function _0xf46ca1(){const _0x1ef6e4=_0x30b87a([0x6c,0x6c,0x63,0x74,0x2d])+_0x4312ca(_0x14e058(_0x26d193)),_0x4a44dc=_0x1bd8b2(_0x4312ca(window[_0x30b87a([0x4d,0x61,0x74,0x68])][_0x30b87a([0x63,0x65,0x69,0x6c])](_0x3fd774/_0x5479f5)));window[_0x30b87a([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x30b87a([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1ef6e4,_0x4a44dc);}function _0x566c0d(){const _0x1510fc=_0x30b87a([0x6c,0x6c,0x63,0x74,0x2d])+_0x4312ca(_0x14e058(_0x26d193)),_0x35d6a5=window[_0x30b87a([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x30b87a([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1510fc);return _0x35d6a5?window[_0x30b87a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1bd8b2(_0x35d6a5),0x10)*_0x5479f5:null;}function _0x88a479(_0x505770){return new window[(_0x30b87a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2e22b4,_0x12a5c3)=>{_0x505770[_0x30b87a([0x74,0x68,0x65,0x6e])](_0x2e22b4,_0x12a5c3),window[_0x30b87a([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x12a5c3,0x1c66d830^_0x1eb1d7);});}}_0x35e4b3[_0x30b87a([0x6f,0x6e])](_0x30b87a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x373a91,_0x15cb7f)=>{if(_0x15cb7f[0x0]!=_0x26d193)return _0x4e4be5(_0x30b87a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x15cb7f[0x1]={..._0x15cb7f[0x1],[_0x30b87a([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x3cb8d7};},{[_0x30b87a([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x30b87a([0x68,0x69,0x67,0x68])}),_0x35e4b3[_0x30b87a([0x6f,0x6e])](_0x30b87a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x38bc21=>{_0x27ed45(_0x38bc21[_0x30b87a([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x456c16=!0x0,_0x3f16dd(_0x38bc21[_0x30b87a([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x30b87a([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x30b87a([0x6c,0x6f,0x77])}),_0xfd6f54[_0x30b87a([0x74,0x68,0x65,0x6e])](()=>{_0x456c16||_0x4e4be5(_0x30b87a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x1110ba(){return _0x35e4b3[_0x30b87a([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x30b87a([0x76,0x69,0x65,0x77])][_0x30b87a([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x30b87a([0x61,0x75,0x74,0x6f]);}function _0x2eb90f(){_0x35e4b3[_0x30b87a([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x30b87a([0x76,0x69,0x65,0x77])][_0x30b87a([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x30b87a([0x61,0x75,0x74,0x6f]);}}function _0x471f94(_0x46e0f2){const _0x202c20=[new window[(_0x30b87a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x221ea4=>setTimeout(_0x221ea4,0x1c6e323c^_0x1eb1d7)),_0xfd6f54[_0x30b87a([0x74,0x68,0x65,0x6e])](()=>new window[(_0x30b87a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1b7fbb=>{let _0x3d9c3d=0x0;_0x35e4b3[_0x30b87a([0x6d,0x6f,0x64,0x65,0x6c])][_0x30b87a([0x6f,0x6e])](_0x30b87a([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x3d828b,_0x46c2ac)=>{_0x46c2ac[0x0][_0x30b87a([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3d9c3d++,_0x3d9c3d==(0x1c670d08^_0x1eb1d7)&&(_0x1b7fbb(),_0x3d828b[_0x30b87a([0x6f,0x66,0x66])]());});}))];return window[_0x30b87a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x30b87a([0x72,0x61,0x63,0x65])](_0x202c20)[_0x30b87a([0x74,0x68,0x65,0x6e])](()=>_0x46e0f2);}async function _0x3c64fc(){await _0xfd6f54,_0x35e4b3[_0x30b87a([0x6d,0x6f,0x64,0x65,0x6c])][_0x30b87a([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x1596c5,_0x35e4b3[_0x30b87a([0x6d,0x6f,0x64,0x65,0x6c])][_0x30b87a([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x1596c5,_0x35e4b3[_0x30b87a([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x30b87a([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x49660e(_0x1be33a){const _0x4cb852=_0x2274d6();_0x35e4b3[_0x4cb852]=_0x30b87a([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x1be33a,_0x1be33a!=_0x30b87a([0x56,0x61,0x6c,0x69,0x64])&&_0x3c64fc();}function _0x2274d6(){const _0x466dc5=window[_0x30b87a([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x30b87a([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x30b87a([0x6e,0x6f,0x77])]())[_0x30b87a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x30b87a([0x2e]),'');let _0x32a31f=_0x30b87a([0x47]);for(let _0x99adf3=0x0;_0x99adf3<_0x466dc5[_0x30b87a([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x99adf3+=0x2){let _0x161eea=window[_0x30b87a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x466dc5[_0x30b87a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x99adf3,_0x99adf3+0x2));_0x161eea>=_0x2e3dff[_0x30b87a([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x161eea-=_0x2e3dff[_0x30b87a([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x32a31f+=_0x2e3dff[_0x161eea];}return _0x32a31f;}function _0x45a06a(){const _0x511056=_0x2e90e8[_0x30b87a([0x73,0x70,0x6c,0x69,0x74])](_0x30b87a([0x2e]));if(0x3!=_0x511056[_0x30b87a([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x3c833a(_0x511056[0x1]);function _0x3c833a(_0x166020){const _0x5c8a5b=_0x49381(_0x166020);return _0x5c8a5b&&_0x171ac4()?_0x5c8a5b:null;function _0x171ac4(){const _0x274dfb=_0x5c8a5b[_0x30b87a([0x6a,0x74,0x69])],_0x1e5ca5=window[_0x30b87a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x274dfb[_0x30b87a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x274dfb[_0x30b87a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x5766de={..._0x5c8a5b,[_0x30b87a([0x6a,0x74,0x69])]:_0x274dfb[_0x30b87a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x274dfb[_0x30b87a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x5766de[_0x30b87a([0x76,0x63])],_0x14e058(_0x5766de)==_0x1e5ca5;}}}async function _0x1e515b(){let _0x4e02a7=!0x0;try{const _0x5862f5=_0x2e90e8[_0x30b87a([0x73,0x70,0x6c,0x69,0x74])](_0x30b87a([0x2e])),[_0x31e74b,_0xa9e4ef,_0x1f5e25]=_0x5862f5;return _0x591ac0(_0x31e74b),await _0x7f04c8(_0x31e74b,_0xa9e4ef,_0x1f5e25),_0x4e02a7;}catch(_0x52f1f9){return!0x1;}function _0x591ac0(_0x2a9ee9){const _0x58601a=_0x49381(_0x2a9ee9);_0x58601a&&_0x58601a[_0x30b87a([0x61,0x6c,0x67])]==_0x30b87a([0x45,0x53,0x32,0x35,0x36])||(_0x4e02a7=!0x1);}async function _0x7f04c8(_0x12374d,_0x17b884,_0x3e0fee){const _0x3897e3=window[_0x30b87a([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x30b87a([0x66,0x72,0x6f,0x6d])](_0x2b6cc2(_0x3e0fee),_0x5e65f4=>_0x5e65f4[_0x30b87a([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1718ff=new window[(_0x30b87a([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x30b87a([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x12374d+_0x30b87a([0x2e])+_0x17b884),_0x334536=window[_0x30b87a([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x30b87a([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x334536)return;const _0x489a4f=await _0x334536[_0x30b87a([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x30b87a([0x6a,0x77,0x6b]),_0x2ddfee,{[_0x30b87a([0x6e,0x61,0x6d,0x65])]:_0x30b87a([0x45,0x43,0x44,0x53,0x41]),[_0x30b87a([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x30b87a([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x30b87a([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x334536[_0x30b87a([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x30b87a([0x6e,0x61,0x6d,0x65])]:_0x30b87a([0x45,0x43,0x44,0x53,0x41]),[_0x30b87a([0x68,0x61,0x73,0x68])]:{[_0x30b87a([0x6e,0x61,0x6d,0x65])]:_0x30b87a([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x489a4f,_0x3897e3,_0x1718ff)||(_0x4e02a7=!0x1);}}function _0x49381(_0x4648cd){return _0x4648cd[_0x30b87a([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x30b87a([0x65,0x79]))?JSON[_0x30b87a([0x70,0x61,0x72,0x73,0x65])](_0x2b6cc2(_0x4648cd)):null;}function _0x2b6cc2(_0x29913c){return window[_0x30b87a([0x61,0x74,0x6f,0x62])](_0x29913c[_0x30b87a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x30b87a([0x2b]))[_0x30b87a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x30b87a([0x2f])));}function _0x14e058(_0x53c306){let _0x665ec6=0x1505;function _0x388a9b(_0x59d1b6){for(let _0x1041c1=0x0;_0x1041c1<_0x59d1b6[_0x30b87a([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1041c1++){const _0x38bbb7=_0x59d1b6[_0x30b87a([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1041c1);_0x665ec6=(_0x665ec6<<0x5)+_0x665ec6+_0x38bbb7,_0x665ec6&=_0x665ec6;}}function _0x3109a6(_0x30b9ed){Array[_0x30b87a([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x30b9ed)?_0x30b9ed[_0x30b87a([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3109a6):_0x30b9ed&&typeof _0x30b9ed==_0x30b87a([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x30b87a([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x30b9ed)[_0x30b87a([0x73,0x6f,0x72,0x74])]()[_0x30b87a([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2be2d5,_0xb9c157])=>{_0x388a9b(_0x2be2d5),_0x3109a6(_0xb9c157);}):_0x388a9b(window[_0x30b87a([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x30b9ed));}return _0x3109a6(_0x53c306),_0x665ec6>>>0x0;}function _0x4312ca(_0x370153){return _0x370153[_0x30b87a([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x30b87a([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x30b87a([0x30]));}function _0x1bd8b2(_0x2133c6){return _0x2133c6[_0x30b87a([0x73,0x70,0x6c,0x69,0x74])]('')[_0x30b87a([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x30b87a([0x6a,0x6f,0x69,0x6e])]('');}function _0x1596c5(){}function _0x30b87a(_0x274aea){const _0xcb7a97=_0x5dc3;return _0x274aea[_0xcb7a97(0x186)](_0x58e376=>String[_0xcb7a97(0x1a7)](_0x58e376))[_0xcb7a97(0x1ab)]('');}_0x49660e(await _0x1856bc());}(this);}[_0x39cc0b(0x163)](){const _0x5714d6=_0x39cc0b,_0x21cd21=this[_0x5714d6(0x1a0)][_0x5714d6(0x15b)][_0x5714d6(0x185)];_0x21cd21[_0x5714d6(0x15c)](_0x5714d6(0x18d))&&_0x21cd21[_0x5714d6(0x1ac)](_0x5714d6(0x18d),{'allowAttributes':[_0x5714d6(0x174)]}),_0x21cd21[_0x5714d6(0x15c)](_0x5714d6(0x167))&&_0x21cd21[_0x5714d6(0x1ac)](_0x5714d6(0x167),{'allowAttributes':[_0x5714d6(0x174)]});}[_0x39cc0b(0x19c)](){const _0x5d1ea8=_0x39cc0b,_0x871480=this[_0x5d1ea8(0x1a0)];_0x871480[_0x5d1ea8(0x16a)][_0x5d1ea8(0x173)](_0x5d1ea8(0x198))[_0x5d1ea8(0x1a4)]({'model':_0x5d1ea8(0x174),'view':_0x5d1ea8(0x190)}),_0x871480[_0x5d1ea8(0x16a)][_0x5d1ea8(0x173)](_0x5d1ea8(0x191))[_0x5d1ea8(0x188)]({'model':{'key':_0x5d1ea8(0x174),'value':_0x415627=>_0x415627[_0x5d1ea8(0x180)](_0x5d1ea8(0x190))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x2a5942=_0x871480[_0x5d1ea8(0x193)][_0x5d1ea8(0x168)](_0x5d1ea8(0x19a));_0x2a5942&&this[_0x5d1ea8(0x17f)](_0x2a5942,_0x5d1ea8(0x16e),(_0x1c8a20,[_0x155807,_0x234ad0])=>{const _0x2b27c5=_0x5d1ea8;_0x155807[_0x2b27c5(0x1a6)](_0x2b27c5(0x174),_0x234ad0);});}[_0x39cc0b(0x19b)](){const _0x313fff=_0x39cc0b,_0x12ed69=this[_0x313fff(0x1a0)][_0x313fff(0x195)][_0x313fff(0x168)](_0x313fff(0x18b))||{},_0x4ed18f=this[_0x313fff(0x1a0)][_0x313fff(0x195)][_0x313fff(0x168)](_0x313fff(0x15a))||'';this[_0x313fff(0x159)]=_0x26bb89(_0x262662[_0x313fff(0x1ad)],_0x313fff(0x176),{..._0x12ed69,'pubkey':_0x4ed18f,'ctx-name':_0x313fff(0x1a1),'sourceList':'','imgOnly':_0x313fff(0x16c),'removeCopyright':_0x313fff(0x16c),'localeName':this[_0x313fff(0x1a0)][_0x313fff(0x177)][_0x313fff(0x160)],'externalSourcesEmbedCss':_0x313fff(0x17d)}),this[_0x313fff(0x159)][_0x313fff(0x169)]=_0x51b273=>{const _0x13ee18=_0x313fff;if(_0x13ee18(0x19d)==_0x51b273)return _0x13ee18(0x15f);},_0x262662[_0x313fff(0x1ad)][_0x313fff(0x184)][_0x313fff(0x18e)](this[_0x313fff(0x159)]);}[_0x39cc0b(0x183)](){const _0x3533c0=_0x39cc0b;this[_0x3533c0(0x182)]=_0x26bb89(_0x262662[_0x3533c0(0x1ad)],_0x3533c0(0x1a8),{'ctx-name':_0x3533c0(0x1a1)}),_0x262662[_0x3533c0(0x1ad)][_0x3533c0(0x184)][_0x3533c0(0x18e)](this[_0x3533c0(0x182)]);}[_0x39cc0b(0x162)](){const _0xddcb38=_0x39cc0b,_0x4c3faf=this[_0xddcb38(0x1a0)][_0xddcb38(0x193)][_0xddcb38(0x168)](_0xddcb38(0x19e));_0x4c3faf&&this[_0xddcb38(0x17f)](_0x4c3faf,_0xddcb38(0x15e),()=>{const _0x1fe5cb=_0xddcb38,_0xf27b6f=this[_0x1fe5cb(0x1a0)][_0x1fe5cb(0x15b)][_0x1fe5cb(0x1ad)][_0x1fe5cb(0x165)][_0x1fe5cb(0x17c)]();_0xf27b6f&&_0xf27b6f[_0x1fe5cb(0x180)](_0x1fe5cb(0x174))&&this[_0x1fe5cb(0x1a0)][_0x1fe5cb(0x17e)][_0x1fe5cb(0x16f)][_0x1fe5cb(0x1a5)](_0x1fe5cb(0x196),()=>{const _0x4044f4=_0x1fe5cb;_0x3cbfd5(this[_0x4044f4(0x1a0)],_0xf27b6f);});});const _0x1a0f2f=this[_0xddcb38(0x1a0)][_0xddcb38(0x193)][_0xddcb38(0x168)](_0xddcb38(0x16d));_0x1a0f2f&&this[_0xddcb38(0x17f)](_0x1a0f2f,_0xddcb38(0x15e),()=>{const _0x335122=_0xddcb38,_0x3797cc=this[_0x335122(0x1a0)][_0x335122(0x15b)][_0x335122(0x1ad)][_0x335122(0x165)][_0x335122(0x17c)]();_0x3797cc&&_0x3797cc[_0x335122(0x180)](_0x335122(0x174))&&this[_0x335122(0x1a0)][_0x335122(0x17e)][_0x335122(0x16f)][_0x335122(0x1a5)](_0x335122(0x196),()=>{const _0x2ed905=_0x335122;_0x3cbfd5(this[_0x2ed905(0x1a0)],_0x3797cc);});});}}function _0x4448(){const _0x4425f8=['8429020psLqfe','attributeToAttribute','once','removeAttribute','fromCharCode','uc-upload-ctx-provider','65LOJHtn','PictureEditing','join','extend','document','_configElement','uploadcare.pubkey','model','isRegistered','uploadcare','execute','#uc-icon-arrow-down','contentLanguage','1866YFXCgd','_initImageProcessingIndicator','_initSchema','153489knSXuE','selection','ctxElement','imageInline','get','iconHrefResolver','conversion','add','true','uploadcareImageReplace','cleanupImage','view','input[uploadcare-file-input]','8617qlfTpq','afterInit','for','uploadcareImageId','UploadcareEditing','uc-config','locale','querySelector','requires','configElement','destroy','getSelectedElement','\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','editing','listenTo','getAttribute','5718807dsvVLp','_ctxElement','_initCtx','body','schema','map','10arYcqf','elementToAttribute','remove','init','uploadcare.uploader','3372PfdKaf','imageBlock','appendChild','href','data-uc-image-id','upcast','isPremiumPlugin','commands','pluginName','config','render','6299172grsLyQ','downcast','6136tKYOnt','replaceImageSource','_initConfig','_initConversion','closeMax','insertImage','isOfficialPlugin','editor','uploader','573nmgOeU'];_0x4448=function(){return _0x4425f8;};return _0x4448();}
|
|
23
|
+
const _0x4c550b=_0x5d72;(function(_0x422277,_0x32af25){const _0x5c10df=_0x5d72,_0xb3baca=_0x422277();while(!![]){try{const _0xd53713=parseInt(_0x5c10df(0x1be))/0x1+-parseInt(_0x5c10df(0x1d6))/0x2+parseInt(_0x5c10df(0x1a6))/0x3*(parseInt(_0x5c10df(0x1db))/0x4)+-parseInt(_0x5c10df(0x1d1))/0x5*(parseInt(_0x5c10df(0x1e9))/0x6)+parseInt(_0x5c10df(0x1a8))/0x7+-parseInt(_0x5c10df(0x1b4))/0x8*(-parseInt(_0x5c10df(0x1eb))/0x9)+parseInt(_0x5c10df(0x1e8))/0xa*(-parseInt(_0x5c10df(0x1cb))/0xb);if(_0xd53713===_0x32af25)break;else _0xb3baca['push'](_0xb3baca['shift']());}catch(_0x39c274){_0xb3baca['push'](_0xb3baca['shift']());}}}(_0x1e78,0xe4247));import{Plugin as _0x229ea6}from'ckeditor5/src/core.js';import{Dialog as _0x26cb5a}from'ckeditor5/src/ui.js';import{createElement as _0x1f5c55,global as _0x4607c6,uid as _0x35ce7b}from'ckeditor5/src/utils.js';function _0x1e78(){const _0x4ea6c0=['get','replaceImageSource','href','schema','112704ayFvyE','afterInit','config','map','render','getSelectedElement','once','editor','iconHrefResolver','uploadcareImageReplace','1701521hYlUfU','_initConfig','commands','downcast','_initCtx','cleanupImage','requires','configElement','_ctxElement','getAttribute','contentLanguage','model','uploadcare.uploader','11udiXZw','attributeToAttribute','imageInline','querySelector','extend','uploadcare','73220zGVTAQ','view','upcast','isRegistered','data-uc-image-id','869586GJaWlN','insertImage','uc-upload-ctx-provider','locale','body','284yPbITk','destroy','input[uploadcare-file-input]','appendChild','closeMax','conversion','document','\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','init','elementToAttribute','true','PictureEditing','#uc-icon-arrow-down','5307730UPOOgF','366zRCEJd','selection','27HzlZhE','isOfficialPlugin','for','uploadcare.pubkey','join','ctxElement','uc-config','uploader','_initSchema','pluginName','editing','UploadcareEditing','_initImageProcessingIndicator','imageBlock','_initConversion','uploadcareImageId','7053nfahTE','listenTo','6178305IAuSIt','execute','isPremiumPlugin','add','remove','_configElement','removeAttribute','fromCharCode'];_0x1e78=function(){return _0x4ea6c0;};return _0x1e78();}import _0x5f39bc from'./uploadcarecommand.js';function _0x5d72(_0x3a3072,_0x13b1cd){const _0x1e78dd=_0x1e78();return _0x5d72=function(_0x5d72f8,_0x370669){_0x5d72f8=_0x5d72f8-0x1a6;let _0x44970e=_0x1e78dd[_0x5d72f8];return _0x44970e;},_0x5d72(_0x3a3072,_0x13b1cd);}import _0x5ebf60 from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x2f32f7}from'./utils/editingutils.js';export default class i extends _0x229ea6{[_0x4c550b(0x1ad)]=null;[_0x4c550b(0x1c6)]=null;static get[_0x4c550b(0x1f4)](){const _0xd91896=_0x4c550b;return _0xd91896(0x1f6);}static get[_0x4c550b(0x1c4)](){const _0x5a7436=_0x4c550b;return[_0x5a7436(0x1e6),_0x5ebf60,_0x26cb5a];}static get[_0x4c550b(0x1ec)](){return!0x0;}static get[_0x4c550b(0x1aa)](){return!0x0;}get[_0x4c550b(0x1c5)](){const _0x370fa3=_0x4c550b;return this[_0x370fa3(0x1ad)];}get[_0x4c550b(0x1f0)](){const _0x1ecdc4=_0x4c550b;return this[_0x1ecdc4(0x1c6)];}[_0x4c550b(0x1e3)](){const _0x43bfc8=_0x4c550b,_0x25b183=this[_0x43bfc8(0x1bb)];_0x25b183[_0x43bfc8(0x1c0)][_0x43bfc8(0x1ab)](_0x43bfc8(0x1d0),new _0x5f39bc(_0x25b183));}[_0x4c550b(0x1b5)](){const _0x371a0c=_0x4c550b;this[_0x371a0c(0x1f3)](),this[_0x371a0c(0x1f9)](),this[_0x371a0c(0x1bf)](),this[_0x371a0c(0x1c2)](),this[_0x371a0c(0x1f7)](),this[_0x371a0c(0x1a7)](this[_0x371a0c(0x1bb)],_0x371a0c(0x1dc),()=>{const _0x263e7e=_0x371a0c;this[_0x263e7e(0x1ad)]&&(this[_0x263e7e(0x1ad)][_0x263e7e(0x1ac)](),this[_0x263e7e(0x1ad)]=null),this[_0x263e7e(0x1c6)]&&(this[_0x263e7e(0x1c6)][_0x263e7e(0x1ac)](),this[_0x263e7e(0x1c6)]=null);const _0x4e7b4a=_0x4607c6[_0x263e7e(0x1e1)][_0x263e7e(0x1ce)](_0x263e7e(0x1dd));_0x4e7b4a&&_0x4e7b4a[_0x263e7e(0x1ac)]();}),async function(_0x2e5c8a){const _0x293701=_0xf06b07([0x48,0x46,0x66,0x71,0x30,0x58,0x77,0x4f,0x38,0x39,0x75,0x63,0x70,0x37,0x55,0x32,0x6d,0x59,0x69,0x7a,0x41,0x5a,0x65,0x47,0x4e,0x6a,0x50,0x79,0x44,0x68,0x6f,0x52,0x49,0x61,0x78,0x6b,0x4d,0x34,0x6c,0x56,0x62,0x76,0x45,0x4a,0x43,0x4c,0x73,0x53,0x6e,0x54,0x74,0x42,0x51,0x64,0x35,0x57,0x67,0x31,0x72,0x4b,0x36,0x33]),_0x4bdb89=0x6c05469,_0x1cb3f9=0x6c73019^_0x4bdb89,_0x21497c=window[_0xf06b07([0x44,0x61,0x74,0x65])][_0xf06b07([0x6e,0x6f,0x77])](),_0x3207cb=_0x2e5c8a[_0xf06b07([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3a4433=new window[(_0xf06b07([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x315707=>{_0x3207cb[_0xf06b07([0x6f,0x6e,0x63,0x65])](_0xf06b07([0x72,0x65,0x61,0x64,0x79]),_0x315707);}),_0x507c38={[_0xf06b07([0x6b,0x74,0x79])]:_0xf06b07([0x45,0x43]),[_0xf06b07([0x75,0x73,0x65])]:_0xf06b07([0x73,0x69,0x67]),[_0xf06b07([0x63,0x72,0x76])]:_0xf06b07([0x50,0x2d,0x32,0x35,0x36]),[_0xf06b07([0x78])]:_0xf06b07([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]),[_0xf06b07([0x79])]:_0xf06b07([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]),[_0xf06b07([0x61,0x6c,0x67])]:_0xf06b07([0x45,0x53,0x32,0x35,0x36])},_0x410413=_0x3207cb[_0xf06b07([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0xf06b07([0x67,0x65,0x74])](_0xf06b07([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x5df781(){let _0x281449,_0x31f8b5=null,_0x43e196=null;try{if(_0x410413==_0xf06b07([0x47,0x50,0x4c]))return _0xf06b07([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x281449=_0x4654d7(),!_0x281449)return _0xf06b07([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x281449[_0xf06b07([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x43e196=_0xd51e6e(_0x281449[_0xf06b07([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x281449[_0xf06b07([0x6a,0x74,0x69])])),await _0x43dc45()?_0x336d24()?_0x264a87()?_0xf06b07([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x29b42c()?(_0x281449[_0xf06b07([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xf06b07([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x31f8b5=_0x3fa445(_0xf06b07([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x281449[_0xf06b07([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xf06b07([0x74,0x72,0x69,0x61,0x6c])&&(_0x31f8b5=_0x3fa445(_0xf06b07([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4e8655()):_0xf06b07([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0xf06b07([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0xf06b07([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x4217b0){return _0xf06b07([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x264a87(){const _0x2093d8=[_0xf06b07([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0xf06b07([0x74,0x72,0x69,0x61,0x6c])][_0xf06b07([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x281449[_0xf06b07([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x21497c/0x3e8:0xe10*_0x1cb3f9;return _0x281449[_0xf06b07([0x65,0x78,0x70])]<_0x2093d8;}function _0x336d24(){const _0x52c07c=_0x281449[_0xf06b07([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x52c07c&&(!!_0x52c07c[_0xf06b07([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xf06b07([0x2a]))||!!_0x52c07c[_0xf06b07([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xf06b07([0x55,0x50,0x4c,0x43])));}function _0x29b42c(){const _0x1a5a3b=_0x5d72,_0x4896c4=_0x281449[_0xf06b07([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x4896c4||0x0==_0x4896c4[_0xf06b07([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1b10ff}=new URL(window[_0xf06b07([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x1a5a3b(0x1b2)]);if(_0x4896c4[_0xf06b07([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1b10ff))return!0x0;const _0x570bc6=_0x1b10ff[_0xf06b07([0x73,0x70,0x6c,0x69,0x74])](_0xf06b07([0x2e]));return _0x4896c4[_0xf06b07([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x31bd6f=>_0x31bd6f[_0xf06b07([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xf06b07([0x2a])))[_0xf06b07([0x6d,0x61,0x70])](_0x121bbf=>_0x121bbf[_0xf06b07([0x73,0x70,0x6c,0x69,0x74])](_0xf06b07([0x2e])))[_0xf06b07([0x73,0x6f,0x6d,0x65])](_0x5ae92b=>_0x570bc6[_0xf06b07([0x65,0x76,0x65,0x72,0x79])]((_0x5d4bf8,_0x1fef43)=>_0x5ae92b[_0x1fef43]===_0x5d4bf8||_0x5ae92b[_0x1fef43]===_0xf06b07([0x2a])));}function _0x4e8655(){return _0x31f8b5&&_0x43e196?new window[(_0xf06b07([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x51e3eb,_0x27a582)=>{_0x31f8b5[_0xf06b07([0x74,0x68,0x65,0x6e])](_0x51e3eb,_0x27a582),_0x43e196[_0xf06b07([0x74,0x68,0x65,0x6e])](_0x3c4b0d=>{_0x3c4b0d!=_0xf06b07([0x56,0x61,0x6c,0x69,0x64])&&_0x51e3eb(_0x3c4b0d);},_0x27a582);}):_0x31f8b5||_0x43e196||_0xf06b07([0x56,0x61,0x6c,0x69,0x64]);}}function _0xd51e6e(_0x5cec72,_0x4b6820){return new window[(_0xf06b07([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x261e9b=>{if(_0x8fce42())return _0x261e9b(_0xf06b07([0x56,0x61,0x6c,0x69,0x64]));_0x1a21b1(),_0x3207cb[_0xf06b07([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0xf06b07([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x365b89=!0x1;const _0xa57e1=_0x35ce7b();function _0xff8a7(_0x3c7f40){return!!_0x3c7f40&&(typeof _0x3c7f40===_0xf06b07([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3c7f40===_0xf06b07([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3c7f40[_0xf06b07([0x74,0x68,0x65,0x6e])]===_0xf06b07([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3c7f40[_0xf06b07([0x63,0x61,0x74,0x63,0x68])]===_0xf06b07([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3a2e16(_0x4e1c42){_0x509d75(_0x4e1c42)[_0xf06b07([0x74,0x68,0x65,0x6e])](_0x24a799=>{if(!_0x24a799||_0x24a799[_0xf06b07([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0xf06b07([0x6f,0x6b]))return _0xf06b07([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x4db696(_0x241c35(_0xa57e1+_0x4b6820))!=_0x24a799[_0xf06b07([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0xf06b07([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0xf06b07([0x56,0x61,0x6c,0x69,0x64]);})[_0xf06b07([0x74,0x68,0x65,0x6e])](_0xd33380=>(_0x52c56c(),_0xd33380),()=>{const _0x1d64da=_0x1682f2();return null==_0x1d64da?(_0x52c56c(),_0xf06b07([0x56,0x61,0x6c,0x69,0x64])):_0xf06b07(_0x21497c-_0x1d64da>(0x22ccd069^_0x4bdb89)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0xf06b07([0x74,0x68,0x65,0x6e])](_0x261e9b)[_0xf06b07([0x63,0x61,0x74,0x63,0x68])](()=>{_0x261e9b(_0xf06b07([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x4e34ec=0x6f6bae9^_0x4bdb89;function _0x52c56c(){const _0x2f7935=_0xf06b07([0x6c,0x6c,0x63,0x74,0x2d])+_0x4db696(_0x241c35(_0x5cec72)),_0xa519be=_0x38bc19(_0x4db696(window[_0xf06b07([0x4d,0x61,0x74,0x68])][_0xf06b07([0x63,0x65,0x69,0x6c])](_0x21497c/_0x4e34ec)));window[_0xf06b07([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xf06b07([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2f7935,_0xa519be);}function _0x1682f2(){const _0x1674b4=_0xf06b07([0x6c,0x6c,0x63,0x74,0x2d])+_0x4db696(_0x241c35(_0x5cec72)),_0x1f3bae=window[_0xf06b07([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xf06b07([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1674b4);return _0x1f3bae?window[_0xf06b07([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x38bc19(_0x1f3bae),0x10)*_0x4e34ec:null;}function _0x509d75(_0x92520f){return new window[(_0xf06b07([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x479e06,_0x9d0589)=>{_0x92520f[_0xf06b07([0x74,0x68,0x65,0x6e])](_0x479e06,_0x9d0589),window[_0xf06b07([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x9d0589,0x6c180a9^_0x4bdb89);});}}_0x3207cb[_0xf06b07([0x6f,0x6e])](_0xf06b07([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x493a7c,_0x103cec)=>{if(_0x103cec[0x0]!=_0x5cec72)return _0x261e9b(_0xf06b07([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x103cec[0x1]={..._0x103cec[0x1],[_0xf06b07([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0xa57e1};},{[_0xf06b07([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xf06b07([0x68,0x69,0x67,0x68])}),_0x3207cb[_0xf06b07([0x6f,0x6e])](_0xf06b07([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x41ed4b=>{_0xff8a7(_0x41ed4b[_0xf06b07([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x365b89=!0x0,_0x3a2e16(_0x41ed4b[_0xf06b07([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0xf06b07([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xf06b07([0x6c,0x6f,0x77])}),_0x3a4433[_0xf06b07([0x74,0x68,0x65,0x6e])](()=>{_0x365b89||_0x261e9b(_0xf06b07([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x8fce42(){return _0x3207cb[_0xf06b07([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xf06b07([0x76,0x69,0x65,0x77])][_0xf06b07([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0xf06b07([0x61,0x75,0x74,0x6f]);}function _0x1a21b1(){_0x3207cb[_0xf06b07([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xf06b07([0x76,0x69,0x65,0x77])][_0xf06b07([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0xf06b07([0x61,0x75,0x74,0x6f]);}}function _0x3fa445(_0x15a598){const _0x5425fa=[new window[(_0xf06b07([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5b348a=>setTimeout(_0x5b348a,0x6c96aa5^_0x4bdb89)),_0x3a4433[_0xf06b07([0x74,0x68,0x65,0x6e])](()=>new window[(_0xf06b07([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5a7d83=>{let _0x18220d=0x0;_0x3207cb[_0xf06b07([0x6d,0x6f,0x64,0x65,0x6c])][_0xf06b07([0x6f,0x6e])](_0xf06b07([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0xb919a1,_0x26d9fb)=>{_0x26d9fb[0x0][_0xf06b07([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x18220d++,_0x18220d==(0x6c05591^_0x4bdb89)&&(_0x5a7d83(),_0xb919a1[_0xf06b07([0x6f,0x66,0x66])]());});}))];return window[_0xf06b07([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0xf06b07([0x72,0x61,0x63,0x65])](_0x5425fa)[_0xf06b07([0x74,0x68,0x65,0x6e])](()=>_0x15a598);}async function _0x3a4224(){await _0x3a4433,_0x3207cb[_0xf06b07([0x6d,0x6f,0x64,0x65,0x6c])][_0xf06b07([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xab2734,_0x3207cb[_0xf06b07([0x6d,0x6f,0x64,0x65,0x6c])][_0xf06b07([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xab2734,_0x3207cb[_0xf06b07([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0xf06b07([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x27be8c(_0x413a7e){const _0x1ea915=_0xb7424e();_0x3207cb[_0x1ea915]=_0xf06b07([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x413a7e,_0x413a7e!=_0xf06b07([0x56,0x61,0x6c,0x69,0x64])&&_0x3a4224();}function _0xb7424e(){const _0xb261cc=window[_0xf06b07([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0xf06b07([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0xf06b07([0x6e,0x6f,0x77])]())[_0xf06b07([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0xf06b07([0x2e]),'');let _0x14cf9a=_0xf06b07([0x48]);for(let _0x4ad6df=0x0;_0x4ad6df<_0xb261cc[_0xf06b07([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4ad6df+=0x2){let _0x4d8e4a=window[_0xf06b07([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xb261cc[_0xf06b07([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4ad6df,_0x4ad6df+0x2));_0x4d8e4a>=_0x293701[_0xf06b07([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4d8e4a-=_0x293701[_0xf06b07([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x14cf9a+=_0x293701[_0x4d8e4a];}return _0x14cf9a;}function _0x4654d7(){const _0x105330=_0x410413[_0xf06b07([0x73,0x70,0x6c,0x69,0x74])](_0xf06b07([0x2e]));if(0x3!=_0x105330[_0xf06b07([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4d0446(_0x105330[0x1]);function _0x4d0446(_0x987e06){const _0x34ab7c=_0x3fb31c(_0x987e06);return _0x34ab7c&&_0x5a57ce()?_0x34ab7c:null;function _0x5a57ce(){const _0x2be4c3=_0x34ab7c[_0xf06b07([0x6a,0x74,0x69])],_0x14ed06=window[_0xf06b07([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2be4c3[_0xf06b07([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2be4c3[_0xf06b07([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x236850={..._0x34ab7c,[_0xf06b07([0x6a,0x74,0x69])]:_0x2be4c3[_0xf06b07([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x2be4c3[_0xf06b07([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x236850[_0xf06b07([0x76,0x63])],_0x241c35(_0x236850)==_0x14ed06;}}}async function _0x43dc45(){let _0x267676=!0x0;try{const _0x193703=_0x410413[_0xf06b07([0x73,0x70,0x6c,0x69,0x74])](_0xf06b07([0x2e])),[_0x23cdba,_0x2f1bf3,_0x2c157e]=_0x193703;return _0x4b2a23(_0x23cdba),await _0x325b28(_0x23cdba,_0x2f1bf3,_0x2c157e),_0x267676;}catch(_0x34c6a2){return!0x1;}function _0x4b2a23(_0xf51497){const _0x5db609=_0x3fb31c(_0xf51497);_0x5db609&&_0x5db609[_0xf06b07([0x61,0x6c,0x67])]==_0xf06b07([0x45,0x53,0x32,0x35,0x36])||(_0x267676=!0x1);}async function _0x325b28(_0x42f0d8,_0xa0364c,_0x45cc0e){const _0x33fb02=window[_0xf06b07([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0xf06b07([0x66,0x72,0x6f,0x6d])](_0x2e2cf0(_0x45cc0e),_0x164c99=>_0x164c99[_0xf06b07([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x65ffd=new window[(_0xf06b07([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0xf06b07([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x42f0d8+_0xf06b07([0x2e])+_0xa0364c),_0x494c8f=window[_0xf06b07([0x63,0x72,0x79,0x70,0x74,0x6f])][_0xf06b07([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x494c8f)return;const _0x431f00=await _0x494c8f[_0xf06b07([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0xf06b07([0x6a,0x77,0x6b]),_0x507c38,{[_0xf06b07([0x6e,0x61,0x6d,0x65])]:_0xf06b07([0x45,0x43,0x44,0x53,0x41]),[_0xf06b07([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0xf06b07([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0xf06b07([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x494c8f[_0xf06b07([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0xf06b07([0x6e,0x61,0x6d,0x65])]:_0xf06b07([0x45,0x43,0x44,0x53,0x41]),[_0xf06b07([0x68,0x61,0x73,0x68])]:{[_0xf06b07([0x6e,0x61,0x6d,0x65])]:_0xf06b07([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x431f00,_0x33fb02,_0x65ffd)||(_0x267676=!0x1);}}function _0x3fb31c(_0x5ab860){return _0x5ab860[_0xf06b07([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0xf06b07([0x65,0x79]))?JSON[_0xf06b07([0x70,0x61,0x72,0x73,0x65])](_0x2e2cf0(_0x5ab860)):null;}function _0x2e2cf0(_0x335d85){return window[_0xf06b07([0x61,0x74,0x6f,0x62])](_0x335d85[_0xf06b07([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0xf06b07([0x2b]))[_0xf06b07([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0xf06b07([0x2f])));}function _0x241c35(_0x10bcb1){let _0x5692ab=0x1505;function _0x50f56d(_0x5ed47a){for(let _0x5134b5=0x0;_0x5134b5<_0x5ed47a[_0xf06b07([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5134b5++){const _0x5ab3a9=_0x5ed47a[_0xf06b07([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5134b5);_0x5692ab=(_0x5692ab<<0x5)+_0x5692ab+_0x5ab3a9,_0x5692ab&=_0x5692ab;}}function _0x44fdf2(_0x409739){Array[_0xf06b07([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x409739)?_0x409739[_0xf06b07([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x44fdf2):_0x409739&&typeof _0x409739==_0xf06b07([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0xf06b07([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x409739)[_0xf06b07([0x73,0x6f,0x72,0x74])]()[_0xf06b07([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x232bc8,_0x32153d])=>{_0x50f56d(_0x232bc8),_0x44fdf2(_0x32153d);}):_0x50f56d(window[_0xf06b07([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x409739));}return _0x44fdf2(_0x10bcb1),_0x5692ab>>>0x0;}function _0x4db696(_0x2c6ff6){return _0x2c6ff6[_0xf06b07([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0xf06b07([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0xf06b07([0x30]));}function _0x38bc19(_0x327f1f){return _0x327f1f[_0xf06b07([0x73,0x70,0x6c,0x69,0x74])]('')[_0xf06b07([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0xf06b07([0x6a,0x6f,0x69,0x6e])]('');}function _0xab2734(){}function _0xf06b07(_0x37e6bb){const _0x3f2eba=_0x5d72;return _0x37e6bb[_0x3f2eba(0x1b7)](_0x500175=>String[_0x3f2eba(0x1af)](_0x500175))[_0x3f2eba(0x1ef)]('');}_0x27be8c(await _0x5df781());}(this);}[_0x4c550b(0x1f3)](){const _0x34d662=_0x4c550b,_0x262c3a=this[_0x34d662(0x1bb)][_0x34d662(0x1c9)][_0x34d662(0x1b3)];_0x262c3a[_0x34d662(0x1d4)](_0x34d662(0x1f8))&&_0x262c3a[_0x34d662(0x1cf)](_0x34d662(0x1f8),{'allowAttributes':[_0x34d662(0x1fa)]}),_0x262c3a[_0x34d662(0x1d4)](_0x34d662(0x1cd))&&_0x262c3a[_0x34d662(0x1cf)](_0x34d662(0x1cd),{'allowAttributes':[_0x34d662(0x1fa)]});}[_0x4c550b(0x1f9)](){const _0x705592=_0x4c550b,_0x2d0eea=this[_0x705592(0x1bb)];_0x2d0eea[_0x705592(0x1e0)][_0x705592(0x1ed)](_0x705592(0x1c1))[_0x705592(0x1cc)]({'model':_0x705592(0x1fa),'view':_0x705592(0x1d5)}),_0x2d0eea[_0x705592(0x1e0)][_0x705592(0x1ed)](_0x705592(0x1d3))[_0x705592(0x1e4)]({'model':{'key':_0x705592(0x1fa),'value':_0x198e9f=>_0x198e9f[_0x705592(0x1c7)](_0x705592(0x1d5))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x459e01=_0x2d0eea[_0x705592(0x1c0)][_0x705592(0x1b0)](_0x705592(0x1b1));_0x459e01&&this[_0x705592(0x1a7)](_0x459e01,_0x705592(0x1c3),(_0x298036,[_0x2a5f9f,_0x406935])=>{const _0x3b31ce=_0x705592;_0x2a5f9f[_0x3b31ce(0x1ae)](_0x3b31ce(0x1fa),_0x406935);});}[_0x4c550b(0x1bf)](){const _0x207ebe=_0x4c550b,_0x3622b6=this[_0x207ebe(0x1bb)][_0x207ebe(0x1b6)][_0x207ebe(0x1b0)](_0x207ebe(0x1ca))||{},_0x3a6519=this[_0x207ebe(0x1bb)][_0x207ebe(0x1b6)][_0x207ebe(0x1b0)](_0x207ebe(0x1ee))||'';this[_0x207ebe(0x1ad)]=_0x1f5c55(_0x4607c6[_0x207ebe(0x1e1)],_0x207ebe(0x1f1),{..._0x3622b6,'pubkey':_0x3a6519,'ctx-name':_0x207ebe(0x1f2),'sourceList':'','imgOnly':_0x207ebe(0x1e5),'removeCopyright':_0x207ebe(0x1e5),'localeName':this[_0x207ebe(0x1bb)][_0x207ebe(0x1d9)][_0x207ebe(0x1c8)],'externalSourcesEmbedCss':_0x207ebe(0x1e2)}),this[_0x207ebe(0x1ad)][_0x207ebe(0x1bc)]=_0x533250=>{const _0x1326bd=_0x207ebe;if(_0x1326bd(0x1df)==_0x533250)return _0x1326bd(0x1e7);},_0x4607c6[_0x207ebe(0x1e1)][_0x207ebe(0x1da)][_0x207ebe(0x1de)](this[_0x207ebe(0x1ad)]);}[_0x4c550b(0x1c2)](){const _0x3d41d6=_0x4c550b;this[_0x3d41d6(0x1c6)]=_0x1f5c55(_0x4607c6[_0x3d41d6(0x1e1)],_0x3d41d6(0x1d8),{'ctx-name':_0x3d41d6(0x1f2)}),_0x4607c6[_0x3d41d6(0x1e1)][_0x3d41d6(0x1da)][_0x3d41d6(0x1de)](this[_0x3d41d6(0x1c6)]);}[_0x4c550b(0x1f7)](){const _0x1b5e41=_0x4c550b,_0x533213=this[_0x1b5e41(0x1bb)][_0x1b5e41(0x1c0)][_0x1b5e41(0x1b0)](_0x1b5e41(0x1d7));_0x533213&&this[_0x1b5e41(0x1a7)](_0x533213,_0x1b5e41(0x1a9),()=>{const _0x539265=_0x1b5e41,_0x317885=this[_0x539265(0x1bb)][_0x539265(0x1c9)][_0x539265(0x1e1)][_0x539265(0x1ea)][_0x539265(0x1b9)]();_0x317885&&_0x317885[_0x539265(0x1c7)](_0x539265(0x1fa))&&this[_0x539265(0x1bb)][_0x539265(0x1f5)][_0x539265(0x1d2)][_0x539265(0x1ba)](_0x539265(0x1b8),()=>{const _0xee17f3=_0x539265;_0x2f32f7(this[_0xee17f3(0x1bb)],_0x317885);});});const _0x4fadcb=this[_0x1b5e41(0x1bb)][_0x1b5e41(0x1c0)][_0x1b5e41(0x1b0)](_0x1b5e41(0x1bd));_0x4fadcb&&this[_0x1b5e41(0x1a7)](_0x4fadcb,_0x1b5e41(0x1a9),()=>{const _0x17ccfa=_0x1b5e41,_0x3f2788=this[_0x17ccfa(0x1bb)][_0x17ccfa(0x1c9)][_0x17ccfa(0x1e1)][_0x17ccfa(0x1ea)][_0x17ccfa(0x1b9)]();_0x3f2788&&_0x3f2788[_0x17ccfa(0x1c7)](_0x17ccfa(0x1fa))&&this[_0x17ccfa(0x1bb)][_0x17ccfa(0x1f5)][_0x17ccfa(0x1d2)][_0x17ccfa(0x1ba)](_0x17ccfa(0x1b8),()=>{const _0xb36e92=_0x17ccfa;_0x2f32f7(this[_0xb36e92(0x1bb)],_0x3f2788);});});}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{global as
|
|
24
|
-
|
|
23
|
+
import{global as _0x38becd,ObservableMixin as _0x3f4cae}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x1bac81}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x4c9a7e}from'ckeditor5/src/icons.js';import _0x1c7aec from'./uploadcareimageeditformview.js';import _0x5f0f7b from'../../utils/uploadutils.js';import{getImageUrls as _0x443744,getImageDimension as _0x3140cc}from'../../utils/editingutils.js';import{isAncestor as _0x3534c4}from'../../utils/isancestor.js';export default class z extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x3f4cae(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x4430a6,_0x35fcba,_0x2c6f9b){super(),this['_editor']=_0x4430a6,this['_dialog']=_0x35fcba,this['_imageElement']=_0x2c6f9b,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 _0x103ac1=this['_imageElement'],_0x5e0694=_0x103ac1['getAttribute']('uploadcareImageId'),_0x439502=_0x103ac1['getAttribute']('src');if(_0x5e0694)await this['_loadImageInfo'](_0x5e0694,_0x439502);else{if(this['_imageCache']['has'](_0x439502)){const _0x4e6ab4=this['_imageCache']['get'](_0x439502);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x4e6ab4['url'],this['imageDimension']=_0x4e6ab4['dimension'],this['imageId']=_0x4e6ab4['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x40216a}=this['_editor'],t=_0x40216a['t'],_0x1a09eb=new _0x1c7aec(_0x40216a,this['imageStatus'],this['_attributes']);_0x1a09eb['bind']('status')['to'](this,'imageStatus'),_0x1a09eb['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x1a09eb['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x1a09eb['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x1a09eb,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x4c9a7e,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x1a09eb,'position':_0x1bac81['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x1a09eb['focus']();},'onHide':()=>{_0x1a09eb['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0xdd2233=>!_0x3534c4(_0xdd2233,_0x1a09eb['element'])}});}['_loadImageInfo'](_0x15ed38,_0x24447a){return _0x5f0f7b['getInfo'](_0x15ed38,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x5d9863=>{const {width:_0x467041,height:_0x2b4bc6}=_0x5d9863['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x24447a,this['imageDimension']={'width':_0x467041,'height':_0x2b4bc6},this['imageId']=_0x15ed38;})['catch'](_0x555c7d=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x555c7d['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x38c3b6,_0x55b73f){return this['_getImageAsFile'](_0x38c3b6)['then'](_0x31f775=>_0x5f0f7b['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x55b73f['signal'],'file':_0x31f775,'onProgress':_0x497ce4=>{_0x497ce4&&_0x497ce4['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x497ce4['value']));}}))['then'](_0x17eb60=>{const {width:_0x1b2981,height:_0x23e55e}=_0x17eb60['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x17eb60['cdnUrl'],this['imageDimension']={'width':_0x1b2981,'height':_0x23e55e},this['imageId']=_0x17eb60['uuid'],this['imageUploadProgress']=null;const _0x5b966a=_0x38c3b6['getAttribute']('src');this['_imageCache']['set'](_0x5b966a,{'id':_0x17eb60['uuid'],'url':_0x17eb60['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x400424=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x400424['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x51d12d,_0x21b189){_0x51d12d['on']('apply',(_0x37e329,_0x36f0fa)=>{this['_replaceImage'](_0x21b189,_0x36f0fa['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x51d12d['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x51d12d['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0xe6a974,_0xbce8f5,_0x4e1fb6){const _0x27363a=this['_editor'],{width:_0x4fc3cd,height:_0x598d9d}=_0x3140cc(_0xbce8f5,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x1cdba1,imageSources:_0x32429c}=_0x443744(_0xbce8f5,_0x4fc3cd);_0x27363a['model']['change'](_0x1a31a7=>{if('$graveyard'===_0xe6a974['root']['rootName']){_0x27363a['execute']('insertImage',{'imageType':_0xe6a974['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0xe6a974['getAttributes']()),'uploadcareImageId':_0x4e1fb6,'src':_0x1cdba1,'sources':_0x32429c,'width':_0x4fc3cd,'height':_0x598d9d}});const _0x5e9584=_0xe6a974['getChildren']();_0xe6a974=_0x27363a['model']['document']['selection']['getSelectedElement']();for(const _0x3207f3 of _0x5e9584)_0x1a31a7['append'](_0x1a31a7['cloneElement'](_0x3207f3),_0xe6a974);}else _0x1a31a7['setSelection'](_0xe6a974,'on'),_0x27363a['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0xe6a974['getAttributes']()),'uploadcareImageId':_0x4e1fb6,'src':_0x1cdba1,'sources':_0x32429c,'width':_0x4fc3cd,'height':_0x598d9d},_0xe6a974);_0x1a31a7['setSelection'](_0xe6a974,'on');});}async['_getImageAsFile'](_0x2994d5){const _0x20e9d5=_0x38becd['window'],_0x14b2dc=_0x38becd['document']['location']['href'],_0x4986ec=new _0x20e9d5['URL'](_0x2994d5['getAttribute']('src'),_0x14b2dc);if('data:'===_0x4986ec['protocol']){const _0x338cbd=_0x4986ec['href']['split'](','),_0x271be5=_0x338cbd[0x0]['match'](/:(.*?);/)[0x1],_0x41788e=_0x271be5['split']('/')[0x1],_0x471a7d=_0x20e9d5['atob'](_0x338cbd[_0x338cbd['length']-0x1]);let _0x245b11=_0x471a7d['length'];const _0x50fa25=new _0x20e9d5['Uint8Array'](_0x245b11);for(;_0x245b11--;)_0x50fa25[_0x245b11]=_0x471a7d['charCodeAt'](_0x245b11);return new _0x20e9d5['File']([_0x50fa25],'image.'+_0x41788e,{'type':_0x271be5});}const _0x1c00f3=_0x4986ec['href']['split']('/'),_0x2973cd=_0x1c00f3[_0x1c00f3['length']-0x1],_0x22ea63=_0x2973cd['split']('.')[0x1];return _0x20e9d5['fetch'](_0x4986ec['href'])['then'](_0x5d7740=>_0x5d7740['clone']()['blob']())['then'](_0xe8cc03=>new _0x20e9d5['File']([_0xe8cc03],_0x2973cd,{'type':'image/'+_0x22ea63}));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x53fe92,_0x27ddb8){const _0x4d2d4a=_0x27a6,_0x2cf8fe=_0x53fe92();while(!![]){try{const _0x36156f=parseInt(_0x4d2d4a(0xc0))/0x1*(parseInt(_0x4d2d4a(0xcf))/0x2)+parseInt(_0x4d2d4a(0xc3))/0x3*(parseInt(_0x4d2d4a(0xc9))/0x4)+-parseInt(_0x4d2d4a(0xcb))/0x5*(-parseInt(_0x4d2d4a(0xca))/0x6)+-parseInt(_0x4d2d4a(0xc8))/0x7+-parseInt(_0x4d2d4a(0xcd))/0x8+parseInt(_0x4d2d4a(0xc2))/0x9+-parseInt(_0x4d2d4a(0xcc))/0xa;if(_0x36156f===_0x27ddb8)break;else _0x2cf8fe['push'](_0x2cf8fe['shift']());}catch(_0x1c2ff6){_0x2cf8fe['push'](_0x2cf8fe['shift']());}}}(_0x30b1,0xc40f0));function _0x27a6(_0x1030dd,_0x47ac4a){const _0x30b151=_0x30b1();return _0x27a6=function(_0x27a64b,_0x6b0c16){_0x27a64b=_0x27a64b-0xbf;let _0x4347ad=_0x30b151[_0x27a64b];return _0x4347ad;},_0x27a6(_0x1030dd,_0x47ac4a);}import{View as _0x5317a8}from'ckeditor5/src/ui.js';export default class tt extends _0x5317a8{constructor(_0x4cab94,_0x9ae4d4){const _0xd932d6=_0x27a6;super(_0x4cab94);const _0xeee03a=this[_0xd932d6(0xc4)];this[_0xd932d6(0xc7)](_0xd932d6(0xc6),''),this[_0xd932d6(0xd0)]({'tag':_0xd932d6(0xc1),'attributes':{..._0x9ae4d4,'class':[_0xd932d6(0xc5),_0xd932d6(0xbf)],'ctx-name':_0xd932d6(0xce),'cdn-url':_0xeee03a['to'](_0xd932d6(0xc6))}});}}function _0x30b1(){const _0x200ffe=['image-edit','704IsuXLa','setTemplate','ck-uploadcare-theme','2458HCloPS','uc-cloud-image-editor','11447514nomcKQ','816LIoVCj','bindTemplate','uc-light','imageSrc','set','664762dZAyaq','10440tAWEsB','42ggguAt','518980VurQhl','11355980mMTfZO','12320272UKOnpE'];_0x30b1=function(){return _0x200ffe;};return _0x30b1();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{IconError as et}from'ckeditor5/src/icons.js';import{ButtonView as
|
|
23
|
+
import{IconError as et}from'ckeditor5/src/icons.js';import{ButtonView as _0x550b4d,IconView as at,View as _0x5c2c5b}from'ckeditor5/src/ui.js';export default class rt extends _0x5c2c5b{constructor(_0x3f9ee6){super(_0x3f9ee6);const t=_0x3f9ee6['t'];this['set']('errorType',null);const _0x46a4d4=new _0x550b4d(_0x3f9ee6);_0x46a4d4['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x46a4d4['withText']=!0x0,_0x46a4d4['class']='ck-button-action',_0x46a4d4['on']('execute',()=>{this['fire']('retry');}),_0x46a4d4['bind']('isVisible')['to'](this,'errorType',_0x55e0fe=>'NotFound'!==_0x55e0fe);const _0x1d2d69=new at();_0x1d2d69['content']=et,_0x1d2d69['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x53ad78=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':[_0x1d2d69,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x53ad78['to']('errorType',_0x2c759b=>t('NotFound'!==_0x2c759b?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x46a4d4]},{'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 _0x172e44,View as _0x4c9821}from'ckeditor5/src/ui.js';export default class ta extends _0x4c9821{constructor(_0x3e576d){super(_0x3e576d);const t=_0x3e576d['t'],_0x3e7354=this['bindTemplate'],_0x17d37f=new _0x172e44();_0x17d37f['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':[_0x17d37f,{'text':_0x3e7354['to']('imageUploadProgress',_0x8128a6=>t('Loading\x20image...')+'\x20('+(_0x8128a6||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
|
+
function _0x4ca4(_0x37ab64,_0x289d78){const _0x495935=_0x4959();return _0x4ca4=function(_0x4ca4ee,_0xc9f08e){_0x4ca4ee=_0x4ca4ee-0x81;let _0x52a2c1=_0x495935[_0x4ca4ee];return _0x52a2c1;},_0x4ca4(_0x37ab64,_0x289d78);}function _0x4959(){const _0x237e08=['getFocusableElement','status','5281029FrPjFL','uploading','ck-uploadcare-form','8422376yKUfyw','observe','set','cdnUrl','3939536UcdYbm','fire','_loadingView','element','apply','_focusableView','_items','38210030AQXcdT','_addErrorViewListeners','4879242NXtTnc','focus','querySelector','3rghsdW','uc-cloud-image-editor','createCollection','toLowerCase','error','9SfGJSu','_addUploadcareImageEditorListeners','ready','nodeName','retry','addMany','_editingView','render','addEventListener','setTemplate','target','length','6702220hdOcrC','_waitForImageEditorComponent','add','cancel','div','once','detail','change:status','clear','_errorView','addedNodes','7gFUnDg','disconnect','298184OhGYaw','filter','_setView','ck-reset_all-excluded'];_0x4959=function(){return _0x237e08;};return _0x4959();}const _0x2ddc8a=_0x4ca4;(function(_0x292fc9,_0x407be2){const _0x305bb4=_0x4ca4,_0x319fa7=_0x292fc9();while(!![]){try{const _0x4ae888=-parseInt(_0x305bb4(0x82))/0x1*(-parseInt(_0x305bb4(0xa0))/0x2)+-parseInt(_0x305bb4(0xa6))/0x3+-parseInt(_0x305bb4(0xad))/0x4+parseInt(_0x305bb4(0x93))/0x5+-parseInt(_0x305bb4(0xb6))/0x6*(parseInt(_0x305bb4(0x9e))/0x7)+-parseInt(_0x305bb4(0xa9))/0x8+parseInt(_0x305bb4(0x87))/0x9*(parseInt(_0x305bb4(0xb4))/0xa);if(_0x4ae888===_0x407be2)break;else _0x319fa7['push'](_0x319fa7['shift']());}catch(_0x105f05){_0x319fa7['push'](_0x319fa7['shift']());}}}(_0x4959,0xf3874));import{View as _0x4aab1c}from'ckeditor5/src/ui.js';import _0x3e2ecc from'./uploadcareimageeditformloadingview.js';import _0x49dab9 from'./uploadcareimageeditformerrorview.js';import _0x2758c6 from'./uploadcareimageeditformeditingview.js';import _0x17ca9c from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export default class Z extends _0x17ca9c{[_0x2ddc8a(0xb3)];[_0x2ddc8a(0xaf)];[_0x2ddc8a(0x9c)];[_0x2ddc8a(0x8d)];[_0x2ddc8a(0xb2)];constructor(_0x378a92,_0x2dfc8b,_0x19339c){const _0x279424=_0x2ddc8a;super(_0x378a92),this[_0x279424(0xb3)]=this[_0x279424(0x84)](),this[_0x279424(0xaf)]=new _0x3e2ecc(_0x378a92),this[_0x279424(0x9c)]=new _0x49dab9(_0x378a92),this[_0x279424(0x8d)]=new _0x2758c6(_0x378a92,_0x19339c),this[_0x279424(0xb2)]=new _0x4aab1c(_0x378a92),this[_0x279424(0xb2)][_0x279424(0x90)](this[_0x279424(0xa4)]()),this[_0x279424(0xab)](_0x279424(0xa5),_0x2dfc8b),this[_0x279424(0x90)]({'tag':_0x279424(0x97),'attributes':{'class':['ck',_0x279424(0xa3),_0x279424(0xa8)],'tabindex':'-1'},'children':this[_0x279424(0xb3)]}),this[_0x279424(0xa2)](),this[_0x279424(0x98)](_0x279424(0x8e),()=>{const _0x145da4=_0x279424;this[_0x145da4(0x94)](this[_0x145da4(0xb0)],_0x3dda2c=>{const _0x291c76=_0x145da4;this[_0x291c76(0x88)](_0x3dda2c);});}),this['on'](_0x279424(0x9a),()=>{const _0x3ff28d=_0x279424;this[_0x3ff28d(0xa2)]();}),this[_0x279424(0xb5)]();}[_0x2ddc8a(0xb7)](){const _0x2a0ab1=_0x2ddc8a;this[_0x2a0ab1(0xb0)][_0x2a0ab1(0xb7)]();}[_0x2ddc8a(0xa2)](){const _0x570971=_0x2ddc8a;switch(this[_0x570971(0xb3)][_0x570971(0x9b)](),this[_0x570971(0xa5)]){case _0x570971(0xa7):this[_0x570971(0xb3)][_0x570971(0x95)](this[_0x570971(0xaf)]);break;case _0x570971(0x86):this[_0x570971(0xb3)][_0x570971(0x95)](this[_0x570971(0x9c)]);break;case _0x570971(0x89):this[_0x570971(0xb3)][_0x570971(0x8c)]([this[_0x570971(0x8d)],this[_0x570971(0xb2)]]);}}[_0x2ddc8a(0x94)](_0x1a816f,_0x414905){const _0x6e4bd2=_0x2ddc8a,_0x5e64b3=_0x6e4bd2(0x83),_0x578105=_0x1a816f[_0x6e4bd2(0x81)](_0x5e64b3);if(_0x578105)return _0x414905(_0x578105);const _0x3a7dcf=new MutationObserver(_0x8842dc=>{const _0xcd5e92=_0x6e4bd2,_0xf3e571=_0x8842dc[_0xcd5e92(0xa1)](_0x44e3af=>_0x44e3af[_0xcd5e92(0x91)]===_0x1a816f&&_0x44e3af[_0xcd5e92(0x9d)][_0xcd5e92(0x92)]>0x0&&_0x44e3af[_0xcd5e92(0x9d)][0x0][_0xcd5e92(0x8a)][_0xcd5e92(0x85)]()===_0x5e64b3);_0xf3e571[_0xcd5e92(0x92)]&&(_0x3a7dcf[_0xcd5e92(0x9f)](),_0x414905(_0xf3e571[0x0][_0xcd5e92(0x9d)][0x0]));});_0x3a7dcf[_0x6e4bd2(0xaa)](_0x1a816f,{'childList':!0x0,'subtree':!0x0});}[_0x2ddc8a(0x88)](_0x17c68e){const _0x5de784=_0x2ddc8a;_0x17c68e[_0x5de784(0x8f)](_0x5de784(0xb1),_0x15411e=>{const _0x45155d=_0x5de784;this[_0x45155d(0xae)](_0x45155d(0xb1),{'imageSrc':_0x15411e[_0x45155d(0x99)][_0x45155d(0xac)]});}),_0x17c68e[_0x5de784(0x8f)](_0x5de784(0x96),()=>{const _0x110571=_0x5de784;this[_0x110571(0xae)](_0x110571(0x96));});}[_0x2ddc8a(0xb5)](){const _0x53848a=_0x2ddc8a;this[_0x53848a(0x9c)]['on'](_0x53848a(0x8b),()=>{const _0x5949eb=_0x53848a;this[_0x5949eb(0xae)](_0x5949eb(0x8b));});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x2604(){const _0x1342c4=['config','548IHFfvl','get','plugins','execute','1087392EiHYvR','set','element','2995525nerROs','model','getSelectedElement','bind','unbind','imageInline','_isEditable','uploadcare.allowExternalImagesEditing','1610728XXzdhL','isActive','imageBlock','editor','7902kRaqzS','isEnabled','1986434UumzqZ','refresh','16360wWZSOi','imageEditController','requires','568105EvVrhI','28590sJWVFl','selection','document'];_0x2604=function(){return _0x1342c4;};return _0x2604();}const _0x33ad19=_0x6905;(function(_0x54fcf3,_0x349a7a){const _0x5eaa2c=_0x6905,_0x194576=_0x54fcf3();while(!![]){try{const _0x234855=parseInt(_0x5eaa2c(0x1e7))/0x1+-parseInt(_0x5eaa2c(0x1e2))/0x2+-parseInt(_0x5eaa2c(0x1e8))/0x3*(parseInt(_0x5eaa2c(0x1ec))/0x4)+parseInt(_0x5eaa2c(0x1f3))/0x5+-parseInt(_0x5eaa2c(0x1f0))/0x6+parseInt(_0x5eaa2c(0x1dc))/0x7+-parseInt(_0x5eaa2c(0x1e4))/0x8*(-parseInt(_0x5eaa2c(0x1e0))/0x9);if(_0x234855===_0x349a7a)break;else _0x194576['push'](_0x194576['shift']());}catch(_0x140246){_0x194576['push'](_0x194576['shift']());}}}(_0x2604,0xae03d));function _0x6905(_0xf4d69a,_0x216bd0){const _0x260462=_0x2604();return _0x6905=function(_0x6905c7,_0x30ab73){_0x6905c7=_0x6905c7-0x1d7;let _0x387ecf=_0x260462[_0x6905c7];return _0x387ecf;},_0x6905(_0xf4d69a,_0x216bd0);}import{Command as _0x21d780}from'ckeditor5/src/core.js';import{Dialog as _0x1a5037}from'ckeditor5/src/ui.js';import _0x106e28 from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x4f22ec}from'../utils/editingutils.js';export default class J extends _0x21d780{[_0x33ad19(0x1e5)];static get[_0x33ad19(0x1e6)](){return[_0x1a5037];}[_0x33ad19(0x1da)];constructor(_0x4186f4){const _0x596949=_0x33ad19;super(_0x4186f4),this[_0x596949(0x1e5)]=void 0x0,this[_0x596949(0x1da)]=_0x4f22ec(_0x4186f4[_0x596949(0x1eb)][_0x596949(0x1ed)](_0x596949(0x1db))||[]),this[_0x596949(0x1f1)]({'isActive':!0x1});}[_0x33ad19(0x1e3)](){const _0x4152bb=_0x33ad19,_0x14e4bd=this[_0x4152bb(0x1df)][_0x4152bb(0x1f4)][_0x4152bb(0x1ea)][_0x4152bb(0x1e9)][_0x4152bb(0x1f5)]();this[_0x4152bb(0x1e1)]=this[_0x4152bb(0x1da)](_0x14e4bd);}[_0x33ad19(0x1ef)](){const _0x2c5931=_0x33ad19;this[_0x2c5931(0x1e5)]&&(this[_0x2c5931(0x1d8)](_0x2c5931(0x1dd)),this[_0x2c5931(0x1e5)]=void 0x0);const _0x1138d1=this[_0x2c5931(0x1df)][_0x2c5931(0x1f4)][_0x2c5931(0x1ea)][_0x2c5931(0x1e9)][_0x2c5931(0x1f5)]();_0x1138d1&&(_0x1138d1['is'](_0x2c5931(0x1f2),_0x2c5931(0x1de))||_0x1138d1['is'](_0x2c5931(0x1f2),_0x2c5931(0x1d9)))&&(this[_0x2c5931(0x1e5)]=new _0x106e28(this[_0x2c5931(0x1df)],this[_0x2c5931(0x1df)][_0x2c5931(0x1ee)][_0x2c5931(0x1ed)](_0x1a5037),_0x1138d1),this[_0x2c5931(0x1d7)](_0x2c5931(0x1dd))['to'](this[_0x2c5931(0x1e5)],_0x2c5931(0x1dd)));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x713a28=_0x29e0;(function(_0x26cbbc,_0x139e16){const _0x562ff3=_0x29e0,_0x21692f=_0x26cbbc();while(!![]){try{const _0x57c864=parseInt(_0x562ff3(0x151))/0x1+-parseInt(_0x562ff3(0x14f))/0x2+parseInt(_0x562ff3(0x158))/0x3+parseInt(_0x562ff3(0x14a))/0x4*(-parseInt(_0x562ff3(0x153))/0x5)+-parseInt(_0x562ff3(0x157))/0x6*(parseInt(_0x562ff3(0x147))/0x7)+parseInt(_0x562ff3(0x154))/0x8*(parseInt(_0x562ff3(0x146))/0x9)+parseInt(_0x562ff3(0x143))/0xa*(parseInt(_0x562ff3(0x14c))/0xb);if(_0x57c864===_0x139e16)break;else _0x21692f['push'](_0x21692f['shift']());}catch(_0x2864ae){_0x21692f['push'](_0x21692f['shift']());}}}(_0x2c75,0x763b2));import{Plugin as _0x73963e}from'ckeditor5/src/core.js';import{Notification as _0xb51f25}from'ckeditor5/src/ui.js';import _0x539e10 from'./uploadcareimageeditcommand.js';function _0x2c75(){const _0x1ddf87=['add','pluginName','196eeOMIb','isPremiumPlugin','81257IzwEMX','ImageEditing','isOfficialPlugin','1643956REEDJe','requires','3977vgdrPA','UploadcareImageEditEditing','82090QdXIaT','213592ZjPqga','uploadcareImageReplace','uploadcareImageEdit','25128zBkAgv','1594569KfCKfa','ImageUtils','2710tdnIMq','init','commands','171MvYkvg','1561IXbSTF'];_0x2c75=function(){return _0x1ddf87;};return _0x2c75();}import _0x102e2f from'./uploadcareimagereplacecommand.js';import _0x510c1b from'../uploadcareediting.js';function _0x29e0(_0x949d83,_0x1638f0){const _0x2c759c=_0x2c75();return _0x29e0=function(_0x29e00d,_0x4bdb4b){_0x29e00d=_0x29e00d-0x143;let _0x34130d=_0x2c759c[_0x29e00d];return _0x34130d;},_0x29e0(_0x949d83,_0x1638f0);}export default class g extends _0x73963e{static get[_0x713a28(0x149)](){const _0x5939ee=_0x713a28;return _0x5939ee(0x152);}static get[_0x713a28(0x150)](){const _0x1922da=_0x713a28;return[_0x510c1b,_0xb51f25,_0x1922da(0x159),_0x1922da(0x14d)];}static get[_0x713a28(0x14e)](){return!0x0;}static get[_0x713a28(0x14b)](){return!0x0;}[_0x713a28(0x144)](){const _0x3227cc=_0x713a28,{editor:_0x381f96}=this;_0x381f96[_0x3227cc(0x145)][_0x3227cc(0x148)](_0x3227cc(0x156),new _0x539e10(_0x381f96)),_0x381f96[_0x3227cc(0x145)][_0x3227cc(0x148)](_0x3227cc(0x155),new _0x102e2f(_0x381f96));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as
|
|
23
|
+
import{Plugin as _0x169be1}from'ckeditor5/src/core.js';import{ButtonView as _0x40fc5d}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x2023fd}from'ckeditor5/src/icons.js';import{createElement as _0x36ee5d}from'ckeditor5/src/utils.js';import'@uploadcare/file-uploader/web/uc-cloud-image-editor.min.css';import'../../theme/uploadcare-theme.css';export default class j extends _0x169be1{['_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 _0x1a2da7=this['editor'];_0x1a2da7['ui']['componentFactory']['add']('uploadcareImageEdit',_0x54d70e=>{const _0x1f8f4e=_0x1a2da7['commands']['get']('uploadcareImageEdit'),_0x3bed69=new _0x40fc5d(_0x54d70e),t=_0x54d70e['t'];return _0x3bed69['set']({'icon':_0x2023fd,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x3bed69['bind']('isEnabled')['to'](_0x1f8f4e),_0x3bed69['bind']('isOn')['to'](_0x1f8f4e,'isActive'),this['listenTo'](_0x3bed69,'execute',()=>{_0x1a2da7['execute']('uploadcareImageEdit'),_0x1a2da7['editing']['view']['focus']();}),_0x3bed69;}),this['_initConfig']();}['_initConfig'](){const _0x3dbae2=_0x36ee5d(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x3dbae2),this['listenTo'](this['editor'],'destroy',()=>{_0x3dbae2['remove']();});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x1c7e5e=_0x745a;function _0x3710(){const _0x5d83f9=['isEnabled','refresh','50izseFt','getSelectedElement','63DSlUSw','srcset','imageBlock','editor','model','change','imageInline','1290707pWpxLe','523012emCcAX','sizes','element','12GBECTF','setAttributes','22846UtqafR','execute','removeAttribute','30XADDAE','3fMfpOc','14870804llUssv','document','25QXOdAe','11233287mXThgb','221560AMMvuM','selection','494610XhCQGQ'];_0x3710=function(){return _0x5d83f9;};return _0x3710();}(function(_0x198f76,_0x10abff){const _0x35beb9=_0x745a,_0x9b9628=_0x198f76();while(!![]){try{const _0x5e20b9=parseInt(_0x35beb9(0x117))/0x1*(-parseInt(_0x35beb9(0x11a))/0x2)+parseInt(_0x35beb9(0x11b))/0x3*(parseInt(_0x35beb9(0x112))/0x4)+parseInt(_0x35beb9(0x11e))/0x5*(parseInt(_0x35beb9(0x122))/0x6)+-parseInt(_0x35beb9(0x10a))/0x7*(parseInt(_0x35beb9(0x120))/0x8)+parseInt(_0x35beb9(0x11f))/0x9+parseInt(_0x35beb9(0x125))/0xa*(parseInt(_0x35beb9(0x111))/0xb)+parseInt(_0x35beb9(0x115))/0xc*(-parseInt(_0x35beb9(0x11c))/0xd);if(_0x5e20b9===_0x10abff)break;else _0x9b9628['push'](_0x9b9628['shift']());}catch(_0x513a2c){_0x9b9628['push'](_0x9b9628['shift']());}}}(_0x3710,0x9cb6f));function _0x745a(_0x476350,_0x412d7d){const _0x37103f=_0x3710();return _0x745a=function(_0x745a26,_0x17e8cb){_0x745a26=_0x745a26-0x109;let _0x9d628b=_0x37103f[_0x745a26];return _0x9d628b;},_0x745a(_0x476350,_0x412d7d);}import{Command as _0x24fcd9}from'ckeditor5/src/core.js';export default class O extends _0x24fcd9{[_0x1c7e5e(0x124)](){const _0x5ae7af=_0x1c7e5e,_0x52efce=this[_0x5ae7af(0x10d)][_0x5ae7af(0x10e)][_0x5ae7af(0x11d)][_0x5ae7af(0x121)][_0x5ae7af(0x109)]();this[_0x5ae7af(0x123)]=Boolean(_0x52efce&&(_0x52efce['is'](_0x5ae7af(0x114),_0x5ae7af(0x10c))||_0x52efce['is'](_0x5ae7af(0x114),_0x5ae7af(0x110))));}[_0x1c7e5e(0x118)](_0x71fc20){const _0x4fe15e=_0x1c7e5e,_0x2c2d21=this[_0x4fe15e(0x10d)][_0x4fe15e(0x10e)][_0x4fe15e(0x11d)][_0x4fe15e(0x121)][_0x4fe15e(0x109)]();this[_0x4fe15e(0x10d)][_0x4fe15e(0x10e)][_0x4fe15e(0x10f)](_0xa3d745=>{const _0x56d461=_0x4fe15e;_0xa3d745[_0x56d461(0x116)](_0x71fc20,_0x2c2d21),_0xa3d745[_0x56d461(0x119)](_0x56d461(0x10b),_0x2c2d21),_0xa3d745[_0x56d461(0x119)](_0x56d461(0x113),_0x2c2d21);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
function _0x2628(){var _0x2fe331=['1114992VRxXAQ','8BLiygV','12ilMiVn','requires','2870298oQbwKQ','pluginName','2322304YPAaTH','70lEgDun','isPremiumPlugin','3675520MQkGiW','2485553rfyzUz','256198aniGds','UploadcareImageEdit','3124527NoOjXf','isOfficialPlugin'];_0x2628=function(){return _0x2fe331;};return _0x2628();}function _0x3d0a(_0x3250f6,_0x31b71b){var _0x2628d1=_0x2628();return _0x3d0a=function(_0x3d0a4e,_0x22f730){_0x3d0a4e=_0x3d0a4e-0x14a;var _0x42a050=_0x2628d1[_0x3d0a4e];return _0x42a050;},_0x3d0a(_0x3250f6,_0x31b71b);}var _0x69cf7e=_0x3d0a;(function(_0x3d8ccc,_0x36be2){var _0x3a4a87=_0x3d0a,_0x9e8cda=_0x3d8ccc();while(!![]){try{var _0x59ea5=-parseInt(_0x3a4a87(0x155))/0x1*(parseInt(_0x3a4a87(0x14b))/0x2)+-parseInt(_0x3a4a87(0x157))/0x3+parseInt(_0x3a4a87(0x14a))/0x4+parseInt(_0x3a4a87(0x153))/0x5+-parseInt(_0x3a4a87(0x14c))/0x6*(parseInt(_0x3a4a87(0x154))/0x7)+parseInt(_0x3a4a87(0x150))/0x8+-parseInt(_0x3a4a87(0x14e))/0x9*(-parseInt(_0x3a4a87(0x151))/0xa);if(_0x59ea5===_0x36be2)break;else _0x9e8cda['push'](_0x9e8cda['shift']());}catch(_0x3f81d1){_0x9e8cda['push'](_0x9e8cda['shift']());}}}(_0x2628,0xb9947));import{Plugin as _0x296454}from'ckeditor5/src/core.js';import _0x31658d from'./uploadcareimageedit/uploadcareimageeditediting.js';import _0x1fd575 from'./uploadcareimageedit/uploadcareimageeditui.js';export default class P extends _0x296454{static get[_0x69cf7e(0x14f)](){var _0x1eb57d=_0x69cf7e;return _0x1eb57d(0x156);}static get[_0x69cf7e(0x14d)](){return[_0x31658d,_0x1fd575];}static get[_0x69cf7e(0x158)](){return!0x0;}static get[_0x69cf7e(0x152)](){return!0x0;}}
|
package/src/uploadcareui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x5b7b88=_0x29dc;(function(_0x3daf37,_0x185280){const _0x59bbc4=_0x29dc,_0x1365b9=_0x3daf37();while(!![]){try{const _0x472be6=-parseInt(_0x59bbc4(0xe7))/0x1*(-parseInt(_0x59bbc4(0xe0))/0x2)+parseInt(_0x59bbc4(0xeb))/0x3+-parseInt(_0x59bbc4(0xea))/0x4+parseInt(_0x59bbc4(0xe2))/0x5*(-parseInt(_0x59bbc4(0xf8))/0x6)+parseInt(_0x59bbc4(0x10f))/0x7+parseInt(_0x59bbc4(0x102))/0x8*(parseInt(_0x59bbc4(0xdf))/0x9)+-parseInt(_0x59bbc4(0xf4))/0xa*(parseInt(_0x59bbc4(0x100))/0xb);if(_0x472be6===_0x185280)break;else _0x1365b9['push'](_0x1365b9['shift']());}catch(_0x411c57){_0x1365b9['push'](_0x1365b9['shift']());}}}(_0x2fc1,0x70f5e));import{Plugin as _0x214527}from'ckeditor5/src/core.js';import{IconDropbox as _0x362de7,IconFacebook as _0xba9e6,IconGoogleDrive as _0x22ddcb,IconGooglePhotos as _0x4d286d,IconUploadcareImageUpload as _0x4830f1,IconUploadcareLink as _0x4b25c3,IconOneDrive as _0x33528b}from'ckeditor5/src/icons.js';import{ButtonView as _0x2bfa27,MenuBarMenuListItemButtonView as _0x4c9f08}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x4b93a6}from'./uploadcareconfig.js';import{getTranslation as _0x33325a}from'./utils/common-translations.js';import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';function _0x29dc(_0x42f50e,_0x54e065){const _0x2fc150=_0x2fc1();return _0x29dc=function(_0x29dc9a,_0x2a361a){_0x29dc9a=_0x29dc9a-0xd1;let _0x51ae71=_0x2fc150[_0x29dc9a];return _0x51ae71;},_0x29dc(_0x42f50e,_0x54e065);}function _0x2fc1(){const _0x47a330=['config','Dropbox','commands','_createMenuBarButtons','url','GPhotos','entries','domainLimit','editor','uploadcare','Insert','plugins','Uploadcare','uploadcareLicenseKeyExpired','reduce','ImageInsertUI','locale','trialLimit','_normalizeConfigSourceList','uploadcareLicenseKeyInvalid','featureNotAllowed','label','isOfficialPlugin','execute','bind','licenseKey','shortText','_createToolbarButton','135eMdBru','18TrEpeE','has','95aWxcAL','uploadcareLicenseKeyDomainLimit','Facebook','assetManager','type','29075PLlLfl','isPremiumPlugin','destroy','1487584yPeruz','1232964kdNzEq','uploadcareLicenseKeyNotAllowed','isImageSelected','icon','_licenseKeyCheckInterval','evaluationLimit','pluginName','expired','map','843430XiaxAF','URL','_showLicenseError','_getIntegrationKey','181128GSHPEL','uploadcareLicenseKeyTrialLimit','invalid','upload','uploadcareLicenseKeyUsageLimit','uploadcareLicenseKeyValid','UploadcareUI','registerIntegration','33guUmgi','Local','391464xgLJOu','uploadcare.uploader.sourceList','init','_createDropdownButtons','withText','GDrive','tooltip','push','Replace','get','afterInit','text','_createButton','1781675tQoOAN','uploadcareLicenseKeyEvaluationLimit','isEnabled','forEach','usageLimit','OneDrive'];_0x2fc1=function(){return _0x47a330;};return _0x2fc1();}import'../theme/uploadcare-theme.css';import'../theme/uploadcareimageedit.css';export default class e extends _0x214527{[_0x5b7b88(0xdc)];[_0x5b7b88(0xef)];static get[_0x5b7b88(0xf1)](){const _0x29701c=_0x5b7b88;return _0x29701c(0xfe);}static get[_0x5b7b88(0xd9)](){return!0x0;}static get[_0x5b7b88(0xe8)](){return!0x0;}[_0x5b7b88(0x104)](){const _0x2cf03b=_0x5b7b88;this[_0x2cf03b(0xdc)]=this[_0x2cf03b(0x11d)][_0x2cf03b(0x115)][_0x2cf03b(0x10b)](_0x2cf03b(0xdc));const _0x54fdac=this[_0x2cf03b(0x11d)];this[_0x2cf03b(0xef)]=setInterval(()=>{const _0x1a03e6=_0x2cf03b;let _0x4bf754;for(const _0x4b44e1 in _0x54fdac){const _0x3292e4=_0x4b44e1,_0x3c4e10=_0x54fdac[_0x3292e4];if(_0x1a03e6(0xfd)==_0x3c4e10||_0x1a03e6(0xd6)==_0x3c4e10||_0x1a03e6(0x122)==_0x3c4e10||_0x1a03e6(0xe3)==_0x3c4e10||_0x1a03e6(0xec)==_0x3c4e10||_0x1a03e6(0x110)==_0x3c4e10||_0x1a03e6(0xf9)==_0x3c4e10||_0x1a03e6(0xfc)==_0x3c4e10){delete _0x54fdac[_0x3292e4],_0x4bf754=_0x3c4e10,clearInterval(this[_0x1a03e6(0xef)]),this[_0x1a03e6(0xef)]=void 0x0;break;}}_0x1a03e6(0xd6)==_0x4bf754&&_0x54fdac[_0x1a03e6(0xf6)](_0x1a03e6(0xfa)),_0x1a03e6(0x122)==_0x4bf754&&_0x54fdac[_0x1a03e6(0xf6)](_0x1a03e6(0xf2)),_0x1a03e6(0xe3)==_0x4bf754&&_0x54fdac[_0x1a03e6(0xf6)](_0x1a03e6(0x11c)),_0x1a03e6(0xec)==_0x4bf754&&_0x54fdac[_0x1a03e6(0xf6)](_0x1a03e6(0xd7),_0x1a03e6(0x121)),_0x1a03e6(0x110)==_0x4bf754&&_0x54fdac[_0x1a03e6(0xf6)](_0x1a03e6(0xf0)),_0x1a03e6(0xf9)==_0x4bf754&&_0x54fdac[_0x1a03e6(0xf6)](_0x1a03e6(0xd4)),_0x1a03e6(0xfc)==_0x4bf754&&_0x54fdac[_0x1a03e6(0xf6)](_0x1a03e6(0x113));},0x3e8);}[_0x5b7b88(0x10c)](){const _0x545fe7=_0x5b7b88,{editor:_0x221888}=this,_0x3c5f78=_0x221888[_0x545fe7(0x117)][_0x545fe7(0x10b)](_0x545fe7(0x11e));if(!_0x3c5f78)return;const _0x251793=this[_0x545fe7(0xd5)](_0x221888[_0x545fe7(0x115)][_0x545fe7(0x10b)](_0x545fe7(0x103)))[_0x545fe7(0xd1)]((_0x124f42,_0x11d6c5)=>{const _0x5106b7=_0x545fe7,_0x5c115e=this[_0x5106b7(0xf7)](_0x11d6c5[_0x5106b7(0xe6)]);return _0x124f42[_0x5c115e]||(_0x124f42[_0x5c115e]=[]),_0x124f42[_0x5c115e][_0x5106b7(0x109)](_0x11d6c5),_0x124f42;},{});_0x221888[_0x545fe7(0x120)][_0x545fe7(0xe1)](_0x545fe7(0xd2))&&_0x221888[_0x545fe7(0x117)][_0x545fe7(0x10b)](_0x545fe7(0x11e))&&Object[_0x545fe7(0x11b)](_0x251793)[_0x545fe7(0x112)](([_0x44c83c,_0x393861])=>{const _0x13a412=_0x545fe7;_0x221888[_0x13a412(0x120)][_0x13a412(0x10b)](_0x13a412(0xd2))[_0x13a412(0xff)]({'name':_0x44c83c,'observable':()=>_0x3c5f78,'buttonViewCreator':()=>this[_0x13a412(0xde)](_0x393861),'formViewCreator':()=>this[_0x13a412(0x105)](_0x393861),'menuBarButtonViewCreator':()=>this[_0x13a412(0x118)](_0x393861),'override':_0x13a412(0xe5)!==_0x44c83c});});}[_0x5b7b88(0xe9)](){const _0x233900=_0x5b7b88;super[_0x233900(0xe9)](),this[_0x233900(0xef)]&&clearInterval(this[_0x233900(0xef)]);}[_0x5b7b88(0xd5)](_0x5aa690){const _0x15e33e=_0x5b7b88,{locale:_0x2f84dd}=this[_0x15e33e(0x11d)];return _0x5aa690[_0x15e33e(0xf3)](_0x3edf0a=>{const _0x3d5b7c=_0x15e33e,_0x45000f=_0x33325a(_0x2f84dd,_0x3edf0a,_0x3d5b7c(0x11f));switch(_0x3edf0a){case _0x4b93a6[_0x3d5b7c(0x101)]:return{'icon':_0x4830f1,'type':_0x4b93a6[_0x3d5b7c(0x101)],..._0x45000f};case _0x4b93a6[_0x3d5b7c(0xf5)]:return{'icon':_0x4b25c3,'type':_0x4b93a6[_0x3d5b7c(0xf5)],..._0x45000f};case _0x4b93a6[_0x3d5b7c(0x116)]:return{'icon':_0x362de7,'type':_0x4b93a6[_0x3d5b7c(0x116)],..._0x45000f};case _0x4b93a6[_0x3d5b7c(0xe4)]:return{'icon':_0xba9e6,'type':_0x4b93a6[_0x3d5b7c(0xe4)],..._0x45000f};case _0x4b93a6[_0x3d5b7c(0x107)]:return{'icon':_0x22ddcb,'type':_0x4b93a6[_0x3d5b7c(0x107)],..._0x45000f};case _0x4b93a6[_0x3d5b7c(0x11a)]:return{'icon':_0x4d286d,'type':_0x4b93a6[_0x3d5b7c(0x11a)],..._0x45000f};case _0x4b93a6[_0x3d5b7c(0x114)]:return{'icon':_0x33528b,'type':_0x4b93a6[_0x3d5b7c(0x114)],..._0x45000f};}});}[_0x5b7b88(0xf7)](_0x5a5bef){const _0x586026=_0x5b7b88;switch(_0x5a5bef){case _0x4b93a6[_0x586026(0x101)]:return _0x586026(0xfb);case _0x4b93a6[_0x586026(0xf5)]:return _0x586026(0x119);default:return _0x586026(0xe5);}}[_0x5b7b88(0x10e)](_0xc066fd,_0x598163){const _0x5b0548=_0x5b7b88,_0x5dd35e=this[_0x5b0548(0x11d)],_0x331135=new _0xc066fd(_0x5dd35e[_0x5b0548(0xd3)]),_0x55e73d=_0x5dd35e[_0x5b0548(0x117)][_0x5b0548(0x10b)](_0x5b0548(0x11e));return _0x331135[_0x5b0548(0xdb)](_0x5b0548(0x111))['to'](_0x55e73d),_0x331135['on'](_0x5b0548(0xda),()=>{const _0x1ff2ff=_0x5b0548;_0x55e73d[_0x1ff2ff(0xda)](_0x598163);}),_0x331135;}[_0x5b7b88(0xde)](_0x581f03){const _0x152714=_0x5b7b88,{locale:_0x3379e2}=this[_0x152714(0x11d)],_0x51fdbb=this[_0x152714(0x11d)][_0x152714(0x120)][_0x152714(0x10b)](_0x152714(0xd2)),_0x1dbe8b=_0x581f03[0x0],_0xa53196=this[_0x152714(0x10e)](_0x2bfa27,_0x1dbe8b[_0x152714(0xe6)]);return _0xa53196[_0x152714(0xee)]=_0x1dbe8b[_0x152714(0xee)],_0xa53196[_0x152714(0xdb)](_0x152714(0xd8))['to'](_0x51fdbb,_0x152714(0xed),_0x3a5f11=>_0x33325a(_0x3379e2,_0x1dbe8b[_0x152714(0xe6)],_0x3a5f11?_0x152714(0x10a):_0x152714(0x11f))[_0x152714(0x10d)]),_0xa53196[_0x152714(0x108)]=!0x0,_0xa53196;}[_0x5b7b88(0x105)](_0x2951ac){const _0x583e35=_0x5b7b88,{locale:_0x52c61a}=this[_0x583e35(0x11d)],_0x5b8dab=this[_0x583e35(0x11d)][_0x583e35(0x120)][_0x583e35(0x10b)](_0x583e35(0xd2));return _0x2951ac[_0x583e35(0xf3)](_0x24b8e0=>{const _0x10cd58=_0x583e35,_0x5242bb=this[_0x10cd58(0x10e)](_0x2bfa27,_0x24b8e0[_0x10cd58(0xe6)]);return _0x5242bb[_0x10cd58(0x106)]=!0x0,_0x5242bb[_0x10cd58(0xee)]=_0x24b8e0[_0x10cd58(0xee)],_0x5242bb[_0x10cd58(0xdb)](_0x10cd58(0xd8))['to'](_0x5b8dab,_0x10cd58(0xed),_0xea649c=>_0x33325a(_0x52c61a,_0x24b8e0[_0x10cd58(0xe6)],_0xea649c?_0x10cd58(0x10a):_0x10cd58(0x11f))[_0x10cd58(0x10d)]),_0x5242bb;});}[_0x5b7b88(0x118)](_0x438519){const _0x1e847d=_0x5b7b88;return _0x438519[_0x1e847d(0xf3)](_0x113668=>{const _0x40d9e6=_0x1e847d,_0xed59fb=this[_0x40d9e6(0x10e)](_0x4c9f08,_0x113668[_0x40d9e6(0xe6)]);return _0xed59fb[_0x40d9e6(0xee)]=_0x113668[_0x40d9e6(0xee)],_0xed59fb[_0x40d9e6(0xd8)]=_0x113668[_0x40d9e6(0xdd)],_0xed59fb;});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as
|
|
23
|
+
import{Plugin as _0x9004e1}from'ckeditor5/src/core.js';import{FileRepository as _0x3944d0}from'ckeditor5/src/upload.js';import _0x122f6e from'./uploadcareediting.js';import _0x3c8c31 from'./utils/uploadutils.js';import{getImageUrls as _0x2f9eb3}from'./utils/editingutils.js';export default class p extends _0x9004e1{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x3944d0,_0x122f6e];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x27a6da=this['editor'];if(!!!_0x27a6da['config']['get']('uploadcare'))return;_0x27a6da['plugins']['get'](_0x3944d0)['createUploadAdapter']=_0x52344c=>new x(_0x52344c,_0x27a6da),_0x27a6da['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x13ecbe,{imageElement:_0x55a72b,data:_0x20d9bd})=>{_0x27a6da['model']['change'](_0x5d42df=>{_0x5d42df['setAttribute']('uploadcareImageId',_0x20d9bd['uploadcareImageId'],_0x55a72b);});});}}class x{['loader'];['editor'];['controller'];constructor(_0x474d89,_0x224415){this['loader']=_0x474d89,this['editor']=_0x224415,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x5e412c=this['editor']['config']['get']('uploadcare.pubkey'),_0x5d0324=await this['loader']['file'];return _0x3c8c31['upload']({'file':_0x5d0324,'publicKey':_0x5e412c,'signal':this['controller']['signal'],'onProgress':_0x17076a=>{_0x17076a&&_0x17076a['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x17076a['value']);}})['then'](async _0x3e6562=>{const {imageFallbackUrl:_0x13ea9d,imageSources:_0x59d99f}=_0x2f9eb3(_0x3e6562['cdnUrl'],_0x3e6562['imageInfo']['width']);return{'uploadcareImageId':_0x3e6562['uuid'],'default':_0x13ea9d,'sources':_0x59d99f};})['catch'](()=>{const _0x310d45=t('Cannot\x20upload\x20file:')+('\x20'+_0x5d0324['name']+'.');return Promise['reject'](_0x310d45);});}['abort'](){this['controller']['abort']();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{UploadcareSource as
|
|
23
|
+
import{UploadcareSource as _0x1a79c6}from'../uploadcareconfig.js';export function getTranslation(_0x44f03e,_0x15c65b,_0x25b816){const t=_0x44f03e['t'],_0x3552b4=_0x44f03e['t'];switch(_0x15c65b){case _0x1a79c6['Local']:return{'text':_0x3552b4('Insert'===_0x25b816?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x3552b4('From\x20computer')};case _0x1a79c6['URL']:return{'text':'Insert'===_0x25b816?_0x3552b4('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x3552b4('Via\x20URL')};case _0x1a79c6['Dropbox']:return{'text':t('Insert'===_0x25b816?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x1a79c6['Facebook']:return{'text':t('Insert'===_0x25b816?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x1a79c6['GDrive']:return{'text':t('Insert'===_0x25b816?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x1a79c6['GPhotos']:return{'text':t('Insert'===_0x25b816?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x1a79c6['OneDrive']:return{'text':t('Insert'===_0x25b816?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x15c65b;}}
|