@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-20250605.0 → 0.0.0-nightly-20250606.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/uploadcare.js +1 -1
- package/dist/index.js +3 -3
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +9 -9
- package/src/augmentation.d.ts +4 -4
- package/src/index.d.ts +7 -7
- package/src/index.js +1 -1
- package/src/ui/uploadcarecontroller.d.ts +2 -2
- package/src/ui/uploadcarecontroller.js +2 -2
- package/src/ui/uploadcareformview.d.ts +2 -2
- package/src/ui/uploadcareformview.js +1 -1
- package/src/uploadcare.d.ts +3 -3
- package/src/uploadcare.js +1 -1
- package/src/uploadcarecommand.d.ts +2 -2
- package/src/uploadcarecommand.js +1 -1
- package/src/uploadcareconfig.js +1 -1
- package/src/uploadcareediting.d.ts +2 -2
- package/src/uploadcareediting.js +1 -1
- package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.d.ts +6 -2
- package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.js +2 -2
- package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.d.ts +1 -1
- package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.js +1 -1
- package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.d.ts +2 -2
- package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.js +1 -1
- package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.d.ts +1 -1
- package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.js +1 -1
- package/src/uploadcareimageedit/ui/uploadcareimageeditformview.d.ts +3 -3
- package/src/uploadcareimageedit/ui/uploadcareimageeditformview.js +1 -1
- package/src/uploadcareimageedit/uploadcareimageeditcommand.d.ts +2 -2
- package/src/uploadcareimageedit/uploadcareimageeditcommand.js +1 -1
- package/src/uploadcareimageedit/uploadcareimageeditediting.d.ts +2 -2
- package/src/uploadcareimageedit/uploadcareimageeditediting.js +1 -1
- package/src/uploadcareimageedit/uploadcareimageeditui.d.ts +1 -1
- package/src/uploadcareimageedit/uploadcareimageeditui.js +1 -1
- package/src/uploadcareimageedit/uploadcareimagereplacecommand.d.ts +1 -1
- package/src/uploadcareimageedit/uploadcareimagereplacecommand.js +1 -1
- package/src/uploadcareimageedit.d.ts +3 -3
- package/src/uploadcareimageedit.js +1 -1
- package/src/uploadcareui.d.ts +1 -1
- package/src/uploadcareui.js +1 -1
- package/src/uploadcareuploadadapter.d.ts +2 -2
- package/src/uploadcareuploadadapter.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/dialogfocusmanagerview.d.ts +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
|
@@ -7,12 +7,12 @@
|
|
|
7
7
|
* @publicApi
|
|
8
8
|
*/
|
|
9
9
|
import { Plugin } from 'ckeditor5/src/core.js';
|
|
10
|
-
import UploadcareImageEditEditing from './uploadcareimageedit/uploadcareimageeditediting.js';
|
|
11
|
-
import UploadcareImageEditUI from './uploadcareimageedit/uploadcareimageeditui.js';
|
|
10
|
+
import { UploadcareImageEditEditing } from './uploadcareimageedit/uploadcareimageeditediting.js';
|
|
11
|
+
import { UploadcareImageEditUI } from './uploadcareimageedit/uploadcareimageeditui.js';
|
|
12
12
|
/**
|
|
13
13
|
* The Uploadcare image edit feature.
|
|
14
14
|
*/
|
|
15
|
-
export
|
|
15
|
+
export declare class UploadcareImageEdit extends Plugin {
|
|
16
16
|
/**
|
|
17
17
|
* @inheritDoc
|
|
18
18
|
*/
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0xe32694=_0x466a;(function(_0x31c9ad,_0x45c07e){var _0x1fd984=_0x466a,_0x41fdf7=_0x31c9ad();while(!![]){try{var _0x41a7af=parseInt(_0x1fd984(0x102))/0x1*(parseInt(_0x1fd984(0xff))/0x2)+parseInt(_0x1fd984(0x103))/0x3*(-parseInt(_0x1fd984(0xfc))/0x4)+-parseInt(_0x1fd984(0x109))/0x5*(-parseInt(_0x1fd984(0x10a))/0x6)+-parseInt(_0x1fd984(0x107))/0x7*(parseInt(_0x1fd984(0xfb))/0x8)+parseInt(_0x1fd984(0xfe))/0x9*(-parseInt(_0x1fd984(0xfa))/0xa)+-parseInt(_0x1fd984(0x104))/0xb*(-parseInt(_0x1fd984(0x101))/0xc)+parseInt(_0x1fd984(0xfd))/0xd;if(_0x41a7af===_0x45c07e)break;else _0x41fdf7['push'](_0x41fdf7['shift']());}catch(_0x44e41e){_0x41fdf7['push'](_0x41fdf7['shift']());}}}(_0x1255,0x7d465));import{Plugin as _0x67c282}from'ckeditor5/src/core.js';import{UploadcareImageEditEditing as _0x40c581}from'./uploadcareimageedit/uploadcareimageeditediting.js';import{UploadcareImageEditUI as _0x4a7e70}from'./uploadcareimageedit/uploadcareimageeditui.js';function _0x466a(_0x597e1d,_0x3b41c3){var _0x12557c=_0x1255();return _0x466a=function(_0x466a86,_0x529528){_0x466a86=_0x466a86-0xfa;var _0x58c1d4=_0x12557c[_0x466a86];return _0x58c1d4;},_0x466a(_0x597e1d,_0x3b41c3);}export class UploadcareImageEdit extends _0x67c282{static get[_0xe32694(0x108)](){var _0x166b68=_0xe32694;return _0x166b68(0x105);}static get[_0xe32694(0x106)](){return[_0x40c581,_0x4a7e70];}static get[_0xe32694(0x100)](){return!0x0;}static get[_0xe32694(0x10b)](){return!0x0;}}function _0x1255(){var _0x5e0c50=['4829xaHqpf','UploadcareImageEdit','requires','56574bRLLnY','pluginName','582095IzFhNx','24jQmCmZ','isPremiumPlugin','10bJTFwg','328TgizDV','1356GwlAYs','1110291CfdbEr','4998087HbQcMg','2BzvHNe','isOfficialPlugin','7620rABRNh','999834afjnCo','3804XZXNBG'];_0x1255=function(){return _0x5e0c50;};return _0x1255();}
|
package/src/uploadcareui.d.ts
CHANGED
package/src/uploadcareui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x379344=_0x39fa;(function(_0x34a5df,_0x469bb8){const _0x8f26c3=_0x39fa,_0x1ee77a=_0x34a5df();while(!![]){try{const _0x407859=parseInt(_0x8f26c3(0xe2))/0x1+parseInt(_0x8f26c3(0xd9))/0x2*(-parseInt(_0x8f26c3(0x11d))/0x3)+parseInt(_0x8f26c3(0xdd))/0x4*(-parseInt(_0x8f26c3(0x11f))/0x5)+parseInt(_0x8f26c3(0x10b))/0x6*(-parseInt(_0x8f26c3(0xf7))/0x7)+-parseInt(_0x8f26c3(0x11c))/0x8+-parseInt(_0x8f26c3(0x116))/0x9*(-parseInt(_0x8f26c3(0xe9))/0xa)+parseInt(_0x8f26c3(0x112))/0xb;if(_0x407859===_0x469bb8)break;else _0x1ee77a['push'](_0x1ee77a['shift']());}catch(_0x35f89f){_0x1ee77a['push'](_0x1ee77a['shift']());}}}(_0xcf5c,0xae2f2));import{Plugin as _0x39dfa3}from'ckeditor5/src/core.js';function _0x39fa(_0x3fdaec,_0x252b5f){const _0xcf5cc=_0xcf5c();return _0x39fa=function(_0x39faf4,_0x34a99c){_0x39faf4=_0x39faf4-0xd2;let _0x1ba0fe=_0xcf5cc[_0x39faf4];return _0x1ba0fe;},_0x39fa(_0x3fdaec,_0x252b5f);}import{IconDropbox as _0x8d6795,IconFacebook as _0x3cd494,IconGoogleDrive as _0x281cef,IconGooglePhotos as _0x427cc3,IconUploadcareImageUpload as _0x1ec74d,IconUploadcareLink as _0x286618,IconOneDrive as _0x1aec39}from'ckeditor5/src/icons.js';import{ButtonView as _0x2868c1,MenuBarMenuListItemButtonView as _0x5b162c}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x3dd5bf}from'./uploadcareconfig.js';function _0xcf5c(){const _0x879718=['_getIntegrationKey','_createButton','type','Uploadcare','init','_licenseKeyCheckInterval','editor','12zsntfL','forEach','commands','assetManager','_createToolbarButton','evaluationLimit','ImageInsertUI','4427500VWSrel','pluginName','Local','isImageSelected','7263576qJjPnd','GPhotos','icon','uploadcareLicenseKeyEvaluationLimit','reduce','Dropbox','3180080rFrjwx','57hBjhER','GDrive','277280mIvQkf','URL','featureNotAllowed','registerIntegration','destroy','licenseKey','uploadcareLicenseKeyTrialLimit','uploadcareLicenseKeyDomainLimit','uploadcare','UploadcareUI','uploadcareLicenseKeyInvalid','_showLicenseError','7204cDwfds','shortText','afterInit','expired','56QBZMeQ','tooltip','config','plugins','isOfficialPlugin','1133670YYoOlD','isPremiumPlugin','get','invalid','_createDropdownButtons','text','usageLimit','10PjgwiE','url','uploadcare.uploader.sourceList','push','domainLimit','Facebook','execute','has','trialLimit','OneDrive','bind','Replace','uploadcareLicenseKeyNotAllowed','Insert','1356054SloUuq','map','_normalizeConfigSourceList','_createMenuBarButtons','uploadcareLicenseKeyUsageLimit','isEnabled','label','upload','entries','locale','uploadcareLicenseKeyExpired','withText','uploadcareLicenseKeyValid'];_0xcf5c=function(){return _0x879718;};return _0xcf5c();}import{getTranslation as _0x5d0934}from'./utils/common-translations.js';import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';import'../theme/uploadcare-theme.css';import'../theme/uploadcareimageedit.css';export class UploadcareUI extends _0x39dfa3{[_0x379344(0xd2)];[_0x379344(0x109)];static get[_0x379344(0x113)](){const _0x2fddaf=_0x379344;return _0x2fddaf(0xd6);}static get[_0x379344(0xe1)](){return!0x0;}static get[_0x379344(0xe3)](){return!0x0;}[_0x379344(0x108)](){const _0x5c1f80=_0x379344;this[_0x5c1f80(0xd2)]=this[_0x5c1f80(0x10a)][_0x5c1f80(0xdf)][_0x5c1f80(0xe4)](_0x5c1f80(0xd2));const _0x580e6e=this[_0x5c1f80(0x10a)];this[_0x5c1f80(0x109)]=setInterval(()=>{const _0x1d66f1=_0x5c1f80;let _0xbae46c;for(const _0x4e527a in _0x580e6e){const _0x2bfa9a=_0x4e527a,_0x1f6610=_0x580e6e[_0x2bfa9a];if(_0x1d66f1(0x103)==_0x1f6610||_0x1d66f1(0xd7)==_0x1f6610||_0x1d66f1(0x101)==_0x1f6610||_0x1d66f1(0xd4)==_0x1f6610||_0x1d66f1(0xf5)==_0x1f6610||_0x1d66f1(0x119)==_0x1f6610||_0x1d66f1(0xd3)==_0x1f6610||_0x1d66f1(0xfb)==_0x1f6610){delete _0x580e6e[_0x2bfa9a],_0xbae46c=_0x1f6610,clearInterval(this[_0x1d66f1(0x109)]),this[_0x1d66f1(0x109)]=void 0x0;break;}}_0x1d66f1(0xd7)==_0xbae46c&&_0x580e6e[_0x1d66f1(0xd8)](_0x1d66f1(0xe5)),_0x1d66f1(0x101)==_0xbae46c&&_0x580e6e[_0x1d66f1(0xd8)](_0x1d66f1(0xdc)),_0x1d66f1(0xd4)==_0xbae46c&&_0x580e6e[_0x1d66f1(0xd8)](_0x1d66f1(0xed)),_0x1d66f1(0xf5)==_0xbae46c&&_0x580e6e[_0x1d66f1(0xd8)](_0x1d66f1(0x121),_0x1d66f1(0x107)),_0x1d66f1(0x119)==_0xbae46c&&_0x580e6e[_0x1d66f1(0xd8)](_0x1d66f1(0x110)),_0x1d66f1(0xd3)==_0xbae46c&&_0x580e6e[_0x1d66f1(0xd8)](_0x1d66f1(0xf1)),_0x1d66f1(0xfb)==_0xbae46c&&_0x580e6e[_0x1d66f1(0xd8)](_0x1d66f1(0xe8));},0x3e8);}[_0x379344(0xdb)](){const _0xd431e5=_0x379344,{editor:_0x12b684}=this,_0x131f13=_0x12b684[_0xd431e5(0x10d)][_0xd431e5(0xe4)](_0xd431e5(0xd5));if(!_0x131f13)return;const _0x159460=this[_0xd431e5(0xf9)](_0x12b684[_0xd431e5(0xdf)][_0xd431e5(0xe4)](_0xd431e5(0xeb)))[_0xd431e5(0x11a)]((_0x964286,_0x27a5b1)=>{const _0x50afca=_0xd431e5,_0x19bfe1=this[_0x50afca(0x104)](_0x27a5b1[_0x50afca(0x106)]);return _0x964286[_0x19bfe1]||(_0x964286[_0x19bfe1]=[]),_0x964286[_0x19bfe1][_0x50afca(0xec)](_0x27a5b1),_0x964286;},{});_0x12b684[_0xd431e5(0xe0)][_0xd431e5(0xf0)](_0xd431e5(0x111))&&_0x12b684[_0xd431e5(0x10d)][_0xd431e5(0xe4)](_0xd431e5(0xd5))&&Object[_0xd431e5(0xff)](_0x159460)[_0xd431e5(0x10c)](([_0x286856,_0x4e397f])=>{const _0x31e98e=_0xd431e5;_0x12b684[_0x31e98e(0xe0)][_0x31e98e(0xe4)](_0x31e98e(0x111))[_0x31e98e(0x122)]({'name':_0x286856,'observable':()=>_0x131f13,'buttonViewCreator':()=>this[_0x31e98e(0x10f)](_0x4e397f),'formViewCreator':()=>this[_0x31e98e(0xe6)](_0x4e397f),'menuBarButtonViewCreator':()=>this[_0x31e98e(0xfa)](_0x4e397f),'override':_0x31e98e(0x10e)!==_0x286856});});}[_0x379344(0x123)](){const _0x452134=_0x379344;super[_0x452134(0x123)](),this[_0x452134(0x109)]&&clearInterval(this[_0x452134(0x109)]);}[_0x379344(0xf9)](_0x5db1e9){const _0x45c3ea=_0x379344,{locale:_0x27c3b7}=this[_0x45c3ea(0x10a)];return _0x5db1e9[_0x45c3ea(0xf8)](_0xf3a56f=>{const _0x24b8ff=_0x45c3ea,_0x5bfdc9=_0x5d0934(_0x27c3b7,_0xf3a56f,_0x24b8ff(0xf6));switch(_0xf3a56f){case _0x3dd5bf[_0x24b8ff(0x114)]:return{'icon':_0x1ec74d,'type':_0x3dd5bf[_0x24b8ff(0x114)],..._0x5bfdc9};case _0x3dd5bf[_0x24b8ff(0x120)]:return{'icon':_0x286618,'type':_0x3dd5bf[_0x24b8ff(0x120)],..._0x5bfdc9};case _0x3dd5bf[_0x24b8ff(0x11b)]:return{'icon':_0x8d6795,'type':_0x3dd5bf[_0x24b8ff(0x11b)],..._0x5bfdc9};case _0x3dd5bf[_0x24b8ff(0xee)]:return{'icon':_0x3cd494,'type':_0x3dd5bf[_0x24b8ff(0xee)],..._0x5bfdc9};case _0x3dd5bf[_0x24b8ff(0x11e)]:return{'icon':_0x281cef,'type':_0x3dd5bf[_0x24b8ff(0x11e)],..._0x5bfdc9};case _0x3dd5bf[_0x24b8ff(0x117)]:return{'icon':_0x427cc3,'type':_0x3dd5bf[_0x24b8ff(0x117)],..._0x5bfdc9};case _0x3dd5bf[_0x24b8ff(0xf2)]:return{'icon':_0x1aec39,'type':_0x3dd5bf[_0x24b8ff(0xf2)],..._0x5bfdc9};}});}[_0x379344(0x104)](_0x3e02d2){const _0x319ee8=_0x379344;switch(_0x3e02d2){case _0x3dd5bf[_0x319ee8(0x114)]:return _0x319ee8(0xfe);case _0x3dd5bf[_0x319ee8(0x120)]:return _0x319ee8(0xea);default:return _0x319ee8(0x10e);}}[_0x379344(0x105)](_0x1702b2,_0x2a3b2c){const _0x4cab90=_0x379344,_0x4ba9f9=this[_0x4cab90(0x10a)],_0x4b4788=new _0x1702b2(_0x4ba9f9[_0x4cab90(0x100)]),_0x30216c=_0x4ba9f9[_0x4cab90(0x10d)][_0x4cab90(0xe4)](_0x4cab90(0xd5));return _0x4b4788[_0x4cab90(0xf3)](_0x4cab90(0xfc))['to'](_0x30216c),_0x4b4788['on'](_0x4cab90(0xef),()=>{const _0x304001=_0x4cab90;_0x30216c[_0x304001(0xef)](_0x2a3b2c);}),_0x4b4788;}[_0x379344(0x10f)](_0x35065d){const _0x3a07ef=_0x379344,{locale:_0x542be0}=this[_0x3a07ef(0x10a)],_0xeb1c78=this[_0x3a07ef(0x10a)][_0x3a07ef(0xe0)][_0x3a07ef(0xe4)](_0x3a07ef(0x111)),_0x2ed400=_0x35065d[0x0],_0x53443e=this[_0x3a07ef(0x105)](_0x2868c1,_0x2ed400[_0x3a07ef(0x106)]);return _0x53443e[_0x3a07ef(0x118)]=_0x2ed400[_0x3a07ef(0x118)],_0x53443e[_0x3a07ef(0xf3)](_0x3a07ef(0xfd))['to'](_0xeb1c78,_0x3a07ef(0x115),_0x390f2f=>_0x5d0934(_0x542be0,_0x2ed400[_0x3a07ef(0x106)],_0x390f2f?_0x3a07ef(0xf4):_0x3a07ef(0xf6))[_0x3a07ef(0xe7)]),_0x53443e[_0x3a07ef(0xde)]=!0x0,_0x53443e;}[_0x379344(0xe6)](_0x3351f5){const _0x1ee0ce=_0x379344,{locale:_0x17e83e}=this[_0x1ee0ce(0x10a)],_0x16bf53=this[_0x1ee0ce(0x10a)][_0x1ee0ce(0xe0)][_0x1ee0ce(0xe4)](_0x1ee0ce(0x111));return _0x3351f5[_0x1ee0ce(0xf8)](_0x5527d8=>{const _0x5aff29=_0x1ee0ce,_0x167aed=this[_0x5aff29(0x105)](_0x2868c1,_0x5527d8[_0x5aff29(0x106)]);return _0x167aed[_0x5aff29(0x102)]=!0x0,_0x167aed[_0x5aff29(0x118)]=_0x5527d8[_0x5aff29(0x118)],_0x167aed[_0x5aff29(0xf3)](_0x5aff29(0xfd))['to'](_0x16bf53,_0x5aff29(0x115),_0x381c09=>_0x5d0934(_0x17e83e,_0x5527d8[_0x5aff29(0x106)],_0x381c09?_0x5aff29(0xf4):_0x5aff29(0xf6))[_0x5aff29(0xe7)]),_0x167aed;});}[_0x379344(0xfa)](_0x31bc92){const _0x131950=_0x379344;return _0x31bc92[_0x131950(0xf8)](_0x47acb2=>{const _0xa4e156=_0x131950,_0x5e3e03=this[_0xa4e156(0x105)](_0x5b162c,_0x47acb2[_0xa4e156(0x106)]);return _0x5e3e03[_0xa4e156(0x118)]=_0x47acb2[_0xa4e156(0x118)],_0x5e3e03[_0xa4e156(0xfd)]=_0x47acb2[_0xa4e156(0xda)],_0x5e3e03;});}}
|
|
@@ -8,14 +8,14 @@
|
|
|
8
8
|
*/
|
|
9
9
|
import { Plugin } from 'ckeditor5/src/core.js';
|
|
10
10
|
import { FileRepository } from 'ckeditor5/src/upload.js';
|
|
11
|
-
import UploadcareEditing from './uploadcareediting.js';
|
|
11
|
+
import { UploadcareEditing } from './uploadcareediting.js';
|
|
12
12
|
/**
|
|
13
13
|
* A plugin that enables file uploads in CKEditor 5 using the Uploadcare server–side connector.
|
|
14
14
|
*
|
|
15
15
|
* Check out the {@glink features/images/image-upload/image-upload Image upload overview} guide to learn about
|
|
16
16
|
* other ways to upload images into CKEditor 5.
|
|
17
17
|
*/
|
|
18
|
-
export
|
|
18
|
+
export declare class UploadcareUploadAdapter extends Plugin {
|
|
19
19
|
/**
|
|
20
20
|
* @inheritDoc
|
|
21
21
|
*/
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as
|
|
23
|
+
import{Plugin as _0x4e6283}from'ckeditor5/src/core.js';import{FileRepository as _0x53f148}from'ckeditor5/src/upload.js';import{UploadcareEditing as _0x7e998e}from'./uploadcareediting.js';import{UploadUtils as _0x58092d}from'./utils/uploadutils.js';import{getImageUrls as _0x3d3d4c}from'./utils/editingutils.js';export class UploadcareUploadAdapter extends _0x4e6283{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x53f148,_0x7e998e];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x3f0479=this['editor'];if(!!!_0x3f0479['config']['get']('uploadcare'))return;_0x3f0479['plugins']['get'](_0x53f148)['createUploadAdapter']=_0xb592e8=>new A(_0xb592e8,_0x3f0479),_0x3f0479['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x5cfe77,{imageElement:_0x50ca85,data:_0x18642e})=>{_0x3f0479['model']['change'](_0x15885e=>{_0x15885e['setAttribute']('uploadcareImageId',_0x18642e['uploadcareImageId'],_0x50ca85);});});}}class A{['loader'];['editor'];['controller'];constructor(_0x1e6454,_0x1e22ea){this['loader']=_0x1e6454,this['editor']=_0x1e22ea,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x1c243e=this['editor']['config']['get']('uploadcare.pubkey'),_0x282b79=await this['loader']['file'];return _0x58092d['upload']({'file':_0x282b79,'publicKey':_0x1c243e,'signal':this['controller']['signal'],'onProgress':_0x5b3756=>{_0x5b3756&&_0x5b3756['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x5b3756['value']);}})['then'](async _0x1d6003=>{const {imageFallbackUrl:_0x19ef92,imageSources:_0x377e40}=_0x3d3d4c(_0x1d6003['cdnUrl'],_0x1d6003['imageInfo']['width']);return{'uploadcareImageId':_0x1d6003['uuid'],'default':_0x19ef92,'sources':_0x377e40};})['catch'](()=>{const _0x6b01dc=t('Cannot\x20upload\x20file:')+('\x20'+_0x282b79['name']+'.');return Promise['reject'](_0x6b01dc);});}['abort'](){this['controller']['abort']();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{UploadcareSource as
|
|
23
|
+
import{UploadcareSource as _0x33a86a}from'../uploadcareconfig.js';export function getTranslation(_0x38f02f,_0x4a8a41,_0x1d68e6){const t=_0x38f02f['t'],_0x18babe=_0x38f02f['t'];switch(_0x4a8a41){case _0x33a86a['Local']:return{'text':_0x18babe('Insert'===_0x1d68e6?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x18babe('From\x20computer')};case _0x33a86a['URL']:return{'text':'Insert'===_0x1d68e6?_0x18babe('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x18babe('Via\x20URL')};case _0x33a86a['Dropbox']:return{'text':t('Insert'===_0x1d68e6?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x33a86a['Facebook']:return{'text':t('Insert'===_0x1d68e6?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x33a86a['GDrive']:return{'text':t('Insert'===_0x1d68e6?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x33a86a['GPhotos']:return{'text':t('Insert'===_0x1d68e6?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x33a86a['OneDrive']:return{'text':t('Insert'===_0x1d68e6?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x4a8a41;}}
|
|
@@ -16,7 +16,7 @@ import '../../theme/uploadcare-form.css';
|
|
|
16
16
|
* especially during keyboard navigation, which can result in users losing the ability to cycle through
|
|
17
17
|
* dialog elements.
|
|
18
18
|
*/
|
|
19
|
-
export
|
|
19
|
+
export declare abstract class DialogFocusManagerView extends View {
|
|
20
20
|
/**
|
|
21
21
|
* @inheritDoc
|
|
22
22
|
*/
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x2d5675=_0x2155;function _0x34b9(){var _0x599a6a=['1865740QSASeF','forwardCycle','div','10AlswHz','1611ZuWKrS','getFocusableElement','58629494scWIux','true','8760900CyFhbM','18CJOVWO','1214666EBNQCu','1495576Gybaci','2446wqQRAS','focusTracker','bindTemplate','fire','createCollection','focusCycler','1687HfQaGu','60856TsxSBc'];_0x34b9=function(){return _0x599a6a;};return _0x34b9();}(function(_0x25e113,_0x4334f9){var _0x3a8d48=_0x2155,_0x73294d=_0x25e113();while(!![]){try{var _0x55a155=parseInt(_0x3a8d48(0x204))/0x1+parseInt(_0x3a8d48(0x206))/0x2*(parseInt(_0x3a8d48(0x1fe))/0x3)+parseInt(_0x3a8d48(0x205))/0x4*(parseInt(_0x3a8d48(0x1fd))/0x5)+parseInt(_0x3a8d48(0x202))/0x6+-parseInt(_0x3a8d48(0x1f8))/0x7*(-parseInt(_0x3a8d48(0x1f9))/0x8)+parseInt(_0x3a8d48(0x203))/0x9*(parseInt(_0x3a8d48(0x1fa))/0xa)+-parseInt(_0x3a8d48(0x200))/0xb;if(_0x55a155===_0x4334f9)break;else _0x73294d['push'](_0x73294d['shift']());}catch(_0x164334){_0x73294d['push'](_0x73294d['shift']());}}}(_0x34b9,0xe95bc));function _0x2155(_0x3558be,_0x506cab){var _0x34b91e=_0x34b9();return _0x2155=function(_0x2155bb,_0x25c864){_0x2155bb=_0x2155bb-0x1f3;var _0x3aa860=_0x34b91e[_0x2155bb];return _0x3aa860;},_0x2155(_0x3558be,_0x506cab);}import{FocusTracker as _0x590ce3}from'ckeditor5/src/utils.js';import{View as _0xf7aff7,FocusCycler as _0x2417ac}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';export class DialogFocusManagerView extends _0xf7aff7{[_0x2d5675(0x1f3)];[_0x2d5675(0x1f7)];constructor(_0x27f3f7){var _0x53b4fb=_0x2d5675;super(_0x27f3f7),this[_0x53b4fb(0x1f3)]=new _0x590ce3(),this[_0x53b4fb(0x1f7)]=new _0x2417ac({'focusables':this[_0x53b4fb(0x1f6)](),'focusTracker':this[_0x53b4fb(0x1f3)]});}[_0x2d5675(0x1ff)](){var _0x59bd00=_0x2d5675;return{'tag':_0x59bd00(0x1fc),'attributes':{'aria-hidden':_0x59bd00(0x201),'tabindex':'0'},'on':{'focus':this[_0x59bd00(0x1f4)]['to'](()=>{var _0x23d838=_0x59bd00;this[_0x23d838(0x1f7)][_0x23d838(0x1f5)](_0x23d838(0x1fb));})}};}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x5aaa(){const _0x3183de=['3323004sucMqE','3OTBkIO','(max-width:\x20','8361uwjCOU','25588550qosMhY','/-/resize/','image-processing','image/webp','3175130sdnjBm','getAttribute','mapper','baseURI','listenTo','width','toViewElement','src','x/\x20','load','origin','px)\x20100vw,\x20','findViewImgElement','ImageUtils','uploadcareImageId','function','domConverter','height','25822KPjQsz','document','removeStyle','map','isArray','plugins','location','some','5105569WNThKf','match','imageInline','editing','replace','stopListening','viewToDom','setStyle','hasAttribute','filter','window','imageBlock','127589TkzTQh','get','view','element','6yCAKir','aspect-ratio','addClass','change','removeClass','join','5624IYVVYZ'];_0x5aaa=function(){return _0x3183de;};return _0x5aaa();}function _0x39fe(_0x5566a8,_0x17dbcc){const _0x5aaa2e=_0x5aaa();return _0x39fe=function(_0x39feba,_0x57da1b){_0x39feba=_0x39feba-0x83;let _0x3f1a2e=_0x5aaa2e[_0x39feba];return _0x3f1a2e;},_0x39fe(_0x5566a8,_0x17dbcc);}(function(_0x586a92,_0x5e1c6e){const _0x583249=_0x39fe,_0xdbf37=_0x586a92();while(!![]){try{const _0x20d17f=parseInt(_0x583249(0xb9))/0x1+-parseInt(_0x583249(0xa5))/0x2*(-parseInt(_0x583249(0x8c))/0x3)+parseInt(_0x583249(0x8b))/0x4+parseInt(_0x583249(0x93))/0x5+parseInt(_0x583249(0x84))/0x6*(parseInt(_0x583249(0xad))/0x7)+-parseInt(_0x583249(0x8a))/0x8*(-parseInt(_0x583249(0x8e))/0x9)+-parseInt(_0x583249(0x8f))/0xa;if(_0x20d17f===_0x5e1c6e)break;else _0xdbf37['push'](_0xdbf37['shift']());}catch(_0x370b3e){_0xdbf37['push'](_0xdbf37['shift']());}}}(_0x5aaa,0x68f34));import{global as _0x3830bc,DomEmitterMixin as _0x2830ba}from'ckeditor5/src/utils.js';export function createEditabilityChecker(_0x3cf649){const _0x4f7f09=_0x39fe,_0x5a5a4e=z(_0x3cf649);return _0x22157b=>!(!_0x22157b||!_0x22157b['is'](_0x4f7f09(0x83),_0x4f7f09(0xb8))&&!_0x22157b['is'](_0x4f7f09(0x83),_0x4f7f09(0xaf)))&&(!!_0x22157b[_0x4f7f09(0xb5)](_0x4f7f09(0xa1))||!!_0x22157b[_0x4f7f09(0xb5)](_0x4f7f09(0x9a))&&_0x5a5a4e(_0x22157b[_0x4f7f09(0x94)](_0x4f7f09(0x9a))));}export function getImageUrls(_0x1306fb,_0x5e83ce){const _0x30fbbd=_0x39fe,_0x1a95ad=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960][_0x30fbbd(0xb6)](_0x2c627f=>_0x2c627f<=_0x5e83ce)[_0x30fbbd(0xa8)](_0x282d43=>_0x1306fb[_0x30fbbd(0xb1)](/\/$/,'')+_0x30fbbd(0x90)+_0x282d43+_0x30fbbd(0x9b)+_0x282d43+'w');return{'imageFallbackUrl':_0x1306fb,'imageSources':[{'srcset':_0x1a95ad[_0x30fbbd(0x89)](',\x20'),'sizes':_0x30fbbd(0x8d)+_0x5e83ce+_0x30fbbd(0x9e)+_0x5e83ce+'px','type':_0x30fbbd(0x92)}]};}export function getImageDimension(_0xabb2b3,_0x53a32d,_0x42d41f){const _0x52e2ed=_0x39fe,_0x2e3cac=_0xabb2b3[_0x52e2ed(0xae)](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x2e3cac?parseInt(_0x2e3cac[0x1],0xa):_0x53a32d,'height':_0x2e3cac?parseInt(_0x2e3cac[0x2],0xa):_0x42d41f};}export function showImageProcessingIndicator(_0x5893f6,_0x3179a9){const _0x57bed5=_0x39fe,_0xc8d4a2=new(_0x2830ba())(),_0x3bdd41=_0x5893f6[_0x57bed5(0xaa)][_0x57bed5(0xba)](_0x57bed5(0xa0)),_0x4a6679=_0x5893f6[_0x57bed5(0xb0)][_0x57bed5(0x95)][_0x57bed5(0x99)](_0x3179a9),_0x1b5629=_0x3bdd41[_0x57bed5(0x9f)](_0x4a6679),_0x8ee9a4=_0x5893f6[_0x57bed5(0xb0)][_0x57bed5(0xbb)][_0x57bed5(0xa3)][_0x57bed5(0xb3)](_0x1b5629),_0x5da91c=_0x3179a9[_0x57bed5(0x94)](_0x57bed5(0x98)),_0x5d8318=_0x3179a9[_0x57bed5(0x94)](_0x57bed5(0xa4)),_0x239ac0=_0x57bed5(0x91);_0x5893f6[_0x57bed5(0xb0)][_0x57bed5(0xbb)][_0x57bed5(0x87)](_0x507fdb=>{const _0x44e2d7=_0x57bed5;_0x507fdb[_0x44e2d7(0x86)](_0x239ac0,_0x4a6679),_0x507fdb[_0x44e2d7(0xb4)](_0x44e2d7(0x85),_0x5da91c+'/'+_0x5d8318,_0x1b5629);}),_0xc8d4a2[_0x57bed5(0x97)](_0x8ee9a4,_0x57bed5(0x9c),()=>{const _0x5df6d6=_0x57bed5;_0xc8d4a2[_0x5df6d6(0xb2)](_0x8ee9a4,_0x5df6d6(0x9c)),_0x5893f6[_0x5df6d6(0xb0)][_0x5df6d6(0xbb)][_0x5df6d6(0x87)](_0x3580ed=>{const _0x377a0a=_0x5df6d6;_0x3580ed[_0x377a0a(0x88)](_0x239ac0,_0x4a6679),_0x3580ed[_0x377a0a(0xa7)](_0x377a0a(0x85),_0x1b5629);});});}function z(_0x31a280){const _0x32c5d3=_0x39fe;if(Array[_0x32c5d3(0xa9)](_0x31a280)){const _0x2a27b4=_0x31a280[_0x32c5d3(0xa8)](z);return _0x302ea0=>_0x2a27b4[_0x32c5d3(0xac)](_0x1f36a9=>_0x1f36a9(_0x302ea0));}if(_0x32c5d3(0x9d)==_0x31a280){const _0x38434d=_0x3830bc[_0x32c5d3(0xb7)][_0x32c5d3(0xab)][_0x32c5d3(0x9d)];return _0x4241c5=>new URL(_0x4241c5,_0x3830bc[_0x32c5d3(0xa6)][_0x32c5d3(0x96)])[_0x32c5d3(0x9d)]==_0x38434d;}return _0x32c5d3(0xa2)==typeof _0x31a280?_0x31a280:_0x31a280 instanceof RegExp?_0x374274=>!(!_0x374274[_0x32c5d3(0xae)](_0x31a280)&&!_0x374274[_0x32c5d3(0xb1)](/^https?:\/\//,'')[_0x32c5d3(0xae)](_0x31a280)):()=>!0x1;}
|
package/src/utils/isancestor.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x543d(_0x5ac9e9,_0x159cde){var _0x149af9=_0x149a();return _0x543d=function(_0x543d51,_0x5bdd67){_0x543d51=_0x543d51-0xdb;var _0x2b5b4a=_0x149af9[_0x543d51];return _0x2b5b4a;},_0x543d(_0x5ac9e9,_0x159cde);}(function(_0x5e79a6,_0x49fcb4){var _0x2a5720=_0x543d,_0x364434=_0x5e79a6();while(!![]){try{var _0x4dd680=-parseInt(_0x2a5720(0xdb))/0x1+parseInt(_0x2a5720(0xe1))/0x2+-parseInt(_0x2a5720(0xdc))/0x3*(parseInt(_0x2a5720(0xe0))/0x4)+parseInt(_0x2a5720(0xdd))/0x5*(parseInt(_0x2a5720(0xe3))/0x6)+parseInt(_0x2a5720(0xe6))/0x7+parseInt(_0x2a5720(0xe5))/0x8*(-parseInt(_0x2a5720(0xe4))/0x9)+parseInt(_0x2a5720(0xdf))/0xa;if(_0x4dd680===_0x49fcb4)break;else _0x364434['push'](_0x364434['shift']());}catch(_0x4b7160){_0x364434['push'](_0x364434['shift']());}}}(_0x149a,0x5c403));import{getAncestors as _0x314b16}from'ckeditor5/src/utils.js';export function isAncestor(_0x3a048f,_0x5b169d){var _0x333718=_0x543d;return _0x314b16(_0x3a048f[_0x333718(0xe2)])[_0x333718(0xde)](_0x5b169d);}function _0x149a(){var _0x4631db=['1391135DIFyTa','includes','12424600bsWaKL','738844Cyosmh','782894lDYKNY','target','12FCwyyQ','505647iciCxx','56kVlQol','16310wQoddA','682707IHLnyv','12FcSLCq'];_0x149a=function(){return _0x4631db;};return _0x149a();}
|
package/src/utils/uploadutils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
var _0x4dfdf1=_0x2600;(function(_0x155459,_0x157a5b){var _0x32f292=_0x2600,_0x57c2e5=_0x155459();while(!![]){try{var _0x34ea85=parseInt(_0x32f292(0x19f))/0x1+parseInt(_0x32f292(0x1aa))/0x2*(parseInt(_0x32f292(0x1a5))/0x3)+parseInt(_0x32f292(0x1a1))/0x4+parseInt(_0x32f292(0x1a0))/0x5*(-parseInt(_0x32f292(0x1ad))/0x6)+parseInt(_0x32f292(0x1a4))/0x7*(parseInt(_0x32f292(0x1a9))/0x8)+-parseInt(_0x32f292(0x1a6))/0x9*(parseInt(_0x32f292(0x1ac))/0xa)+-parseInt(_0x32f292(0x1a7))/0xb*(parseInt(_0x32f292(0x1a3))/0xc);if(_0x34ea85===_0x157a5b)break;else _0x57c2e5['push'](_0x57c2e5['shift']());}catch(_0x38f591){_0x57c2e5['push'](_0x57c2e5['shift']());}}}(_0x33f2,0x722d8));import{uploadFile as _0x517749,info as _0x59ee1d}from'@uploadcare/upload-client';function _0x33f2(){var _0xaf6f07=['22XTRNlt','upload','136gMmzve','22514pQpAwP','getInfo','24500WDtMVG','18WowAqh','695933aYVRPJ','61670XazCDM','890716GikTyp','auto','29496WIHXMA','14203BApweq','15gLmTHX','1836FhWAlY'];_0x33f2=function(){return _0xaf6f07;};return _0x33f2();}function _0x2600(_0x451f07,_0x34e103){var _0x33f233=_0x33f2();return _0x2600=function(_0x260047,_0x185390){_0x260047=_0x260047-0x19f;var _0x33af1f=_0x33f233[_0x260047];return _0x33af1f;},_0x2600(_0x451f07,_0x34e103);}export class UploadUtils{static[_0x4dfdf1(0x1a8)]({file:_0x3b07e4,publicKey:_0x376a23,signal:_0x132453,onProgress:_0xb33448}){var _0x117907=_0x4dfdf1;return _0x517749(_0x3b07e4,{'publicKey':_0x376a23,'store':_0x117907(0x1a2),'signal':_0x132453,'onProgress':_0xb33448});}static[_0x4dfdf1(0x1ab)](_0x595a8e,_0x5a2937){return _0x59ee1d(_0x595a8e,_0x5a2937);}}
|