@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-next-20260115.0 → 0.0.0-nightly-20260116.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/af.js +1 -0
- package/build/translations/ar.js +1 -0
- package/build/translations/ast.js +1 -0
- package/build/translations/az.js +1 -0
- package/build/translations/be.js +1 -0
- package/build/translations/bg.js +1 -0
- package/build/translations/bn.js +1 -0
- package/build/translations/bs.js +1 -0
- package/build/translations/ca.js +1 -0
- package/build/translations/cs.js +1 -0
- package/build/translations/da.js +1 -0
- package/build/translations/de-ch.js +1 -0
- package/build/translations/de.js +1 -0
- package/build/translations/el.js +1 -0
- package/build/translations/en-au.js +1 -0
- package/build/translations/en-gb.js +1 -0
- package/build/translations/eo.js +1 -0
- package/build/translations/es-co.js +1 -0
- package/build/translations/es.js +1 -0
- package/build/translations/et.js +1 -0
- package/build/translations/eu.js +1 -0
- package/build/translations/fa.js +1 -0
- package/build/translations/fi.js +1 -0
- package/build/translations/fr.js +1 -0
- package/build/translations/gl.js +1 -0
- package/build/translations/gu.js +1 -0
- package/build/translations/he.js +1 -0
- package/build/translations/hi.js +1 -0
- package/build/translations/hr.js +1 -0
- package/build/translations/hu.js +1 -0
- package/build/translations/hy.js +1 -0
- package/build/translations/id.js +1 -0
- package/build/translations/it.js +1 -0
- package/build/translations/ja.js +1 -0
- package/build/translations/jv.js +1 -0
- package/build/translations/kk.js +1 -0
- package/build/translations/km.js +1 -0
- package/build/translations/kn.js +1 -0
- package/build/translations/ko.js +1 -0
- package/build/translations/ku.js +1 -0
- package/build/translations/lt.js +1 -0
- package/build/translations/lv.js +1 -0
- package/build/translations/ms.js +1 -0
- package/build/translations/nb.js +1 -0
- package/build/translations/ne.js +1 -0
- package/build/translations/nl.js +1 -0
- package/build/translations/no.js +1 -0
- package/build/translations/oc.js +1 -0
- package/build/translations/pl.js +1 -0
- package/build/translations/pt-br.js +1 -0
- package/build/translations/pt.js +1 -0
- package/build/translations/ro.js +1 -0
- package/build/translations/ru.js +1 -0
- package/build/translations/si.js +1 -0
- package/build/translations/sk.js +1 -0
- package/build/translations/sl.js +1 -0
- package/build/translations/sq.js +1 -0
- package/build/translations/sr-latn.js +1 -0
- package/build/translations/sr.js +1 -0
- package/build/translations/sv.js +1 -0
- package/build/translations/th.js +1 -0
- package/build/translations/ti.js +1 -0
- package/build/translations/tk.js +1 -0
- package/build/translations/tr.js +1 -0
- package/build/translations/tt.js +1 -0
- package/build/translations/ug.js +1 -0
- package/build/translations/uk.js +1 -0
- package/build/translations/ur.js +1 -0
- package/build/translations/uz.js +1 -0
- package/build/translations/vi.js +1 -0
- package/build/translations/zh-cn.js +1 -0
- package/build/translations/zh.js +1 -0
- package/build/uploadcare.js +5 -0
- package/ckeditor5-metadata.json +2 -2
- 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/lang/contexts.json +24 -0
- package/lang/translations/af.po +100 -0
- package/lang/translations/ar.po +100 -0
- package/lang/translations/ast.po +100 -0
- package/lang/translations/az.po +100 -0
- package/lang/translations/be.po +100 -0
- package/lang/translations/bg.po +100 -0
- package/lang/translations/bn.po +100 -0
- package/lang/translations/bs.po +100 -0
- package/lang/translations/ca.po +100 -0
- package/lang/translations/cs.po +100 -0
- package/lang/translations/da.po +100 -0
- package/lang/translations/de-ch.po +100 -0
- package/lang/translations/de.po +100 -0
- package/lang/translations/el.po +100 -0
- package/lang/translations/en-au.po +100 -0
- package/lang/translations/en-gb.po +100 -0
- package/lang/translations/en.po +100 -0
- package/lang/translations/eo.po +100 -0
- package/lang/translations/es-co.po +100 -0
- package/lang/translations/es.po +100 -0
- package/lang/translations/et.po +100 -0
- package/lang/translations/eu.po +100 -0
- package/lang/translations/fa.po +100 -0
- package/lang/translations/fi.po +100 -0
- package/lang/translations/fr.po +100 -0
- package/lang/translations/gl.po +100 -0
- package/lang/translations/gu.po +100 -0
- package/lang/translations/he.po +100 -0
- package/lang/translations/hi.po +100 -0
- package/lang/translations/hr.po +100 -0
- package/lang/translations/hu.po +100 -0
- package/lang/translations/hy.po +100 -0
- package/lang/translations/id.po +100 -0
- package/lang/translations/it.po +100 -0
- package/lang/translations/ja.po +100 -0
- package/lang/translations/jv.po +100 -0
- package/lang/translations/kk.po +100 -0
- package/lang/translations/km.po +100 -0
- package/lang/translations/kn.po +100 -0
- package/lang/translations/ko.po +100 -0
- package/lang/translations/ku.po +100 -0
- package/lang/translations/lt.po +100 -0
- package/lang/translations/lv.po +100 -0
- package/lang/translations/ms.po +100 -0
- package/lang/translations/nb.po +100 -0
- package/lang/translations/ne.po +100 -0
- package/lang/translations/nl.po +100 -0
- package/lang/translations/no.po +100 -0
- package/lang/translations/oc.po +100 -0
- package/lang/translations/pl.po +100 -0
- package/lang/translations/pt-br.po +100 -0
- package/lang/translations/pt.po +100 -0
- package/lang/translations/ro.po +100 -0
- package/lang/translations/ru.po +100 -0
- package/lang/translations/si.po +100 -0
- package/lang/translations/sk.po +100 -0
- package/lang/translations/sl.po +100 -0
- package/lang/translations/sq.po +100 -0
- package/lang/translations/sr-latn.po +100 -0
- package/lang/translations/sr.po +100 -0
- package/lang/translations/sv.po +100 -0
- package/lang/translations/th.po +100 -0
- package/lang/translations/ti.po +100 -0
- package/lang/translations/tk.po +100 -0
- package/lang/translations/tr.po +100 -0
- package/lang/translations/tt.po +100 -0
- package/lang/translations/ug.po +100 -0
- package/lang/translations/uk.po +100 -0
- package/lang/translations/ur.po +100 -0
- package/lang/translations/uz.po +100 -0
- package/lang/translations/vi.po +100 -0
- package/lang/translations/zh-cn.po +100 -0
- package/lang/translations/zh.po +100 -0
- package/package.json +46 -23
- package/{dist → src}/augmentation.d.ts +0 -4
- package/src/augmentation.js +23 -0
- package/{dist → src}/index.d.ts +0 -4
- package/src/index.js +23 -0
- package/{dist → src}/ui/uploadcarecontroller.d.ts +3 -7
- package/src/ui/uploadcarecontroller.js +24 -0
- package/{dist → src}/ui/uploadcareformview.d.ts +1 -5
- package/src/ui/uploadcareformview.js +23 -0
- package/{dist → src}/uploadcare.d.ts +1 -5
- package/src/uploadcare.js +23 -0
- package/{dist → src}/uploadcarecommand.d.ts +2 -6
- package/src/uploadcarecommand.js +23 -0
- package/{dist → src}/uploadcareconfig.d.ts +1 -5
- package/src/uploadcareconfig.js +23 -0
- package/{dist → src}/uploadcareediting.d.ts +2 -6
- package/src/uploadcareediting.js +23 -0
- package/{dist → src}/uploadcareimageedit/ui/uploadcareimageeditcontroller.d.ts +5 -9
- package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.js +24 -0
- package/{dist → src}/uploadcareimageedit/ui/uploadcareimageeditformeditingview.d.ts +2 -6
- package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.js +23 -0
- package/{dist → src}/uploadcareimageedit/ui/uploadcareimageeditformerrorview.d.ts +2 -6
- package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.js +23 -0
- package/{dist → src}/uploadcareimageedit/ui/uploadcareimageeditformloadingview.d.ts +2 -6
- package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.js +23 -0
- package/{dist → src}/uploadcareimageedit/ui/uploadcareimageeditformview.d.ts +1 -5
- package/src/uploadcareimageedit/ui/uploadcareimageeditformview.js +23 -0
- package/{dist → src}/uploadcareimageedit/uploadcareimageeditcommand.d.ts +2 -6
- package/src/uploadcareimageedit/uploadcareimageeditcommand.js +23 -0
- package/{dist → src}/uploadcareimageedit/uploadcareimageeditediting.d.ts +2 -6
- package/src/uploadcareimageedit/uploadcareimageeditediting.js +23 -0
- package/{dist → src}/uploadcareimageedit/uploadcareimageeditui.d.ts +1 -5
- package/src/uploadcareimageedit/uploadcareimageeditui.js +23 -0
- package/{dist → src}/uploadcareimageedit/uploadcareimagereplacecommand.d.ts +1 -5
- package/src/uploadcareimageedit/uploadcareimagereplacecommand.js +23 -0
- package/{dist → src}/uploadcareimageedit.d.ts +1 -5
- package/src/uploadcareimageedit.js +23 -0
- package/{dist → src}/uploadcareui.d.ts +1 -5
- package/src/uploadcareui.js +23 -0
- package/{dist → src}/uploadcareuploadadapter.d.ts +2 -6
- package/src/uploadcareuploadadapter.js +23 -0
- package/{dist → src}/utils/common-translations.d.ts +0 -4
- package/src/utils/common-translations.js +23 -0
- package/{dist → src}/utils/dialogfocusmanagerview.d.ts +2 -6
- package/src/utils/dialogfocusmanagerview.js +23 -0
- package/{dist → src}/utils/editingutils.d.ts +0 -4
- package/src/utils/editingutils.js +23 -0
- package/{dist → src}/utils/isancestor.d.ts +0 -4
- package/src/utils/isancestor.js +23 -0
- package/{dist → src}/utils/uploadutils.d.ts +0 -4
- package/src/utils/uploadutils.js +23 -0
- package/theme/uploadcare-form.css +201 -0
- package/theme/uploadcare-theme.css +20 -0
- package/theme/uploadcareimageedit.css +64 -0
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* +---------------------------------------------------------------------------------+
|
|
8
|
+
* | |
|
|
9
|
+
* | Hello stranger! |
|
|
10
|
+
* | |
|
|
11
|
+
* | |
|
|
12
|
+
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
+
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
+
* | are forbidden and will result in legal consequences. |
|
|
15
|
+
* | |
|
|
16
|
+
* | |
|
|
17
|
+
* +---------------------------------------------------------------------------------+
|
|
18
|
+
*
|
|
19
|
+
*
|
|
20
|
+
*
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
const _0x247750=_0x40f8;(function(_0x5df9c6,_0x2c6551){const _0x519ec9=_0x40f8,_0x56d681=_0x5df9c6();while(!![]){try{const _0x1bea48=parseInt(_0x519ec9(0xda))/0x1+-parseInt(_0x519ec9(0xb4))/0x2*(-parseInt(_0x519ec9(0xba))/0x3)+parseInt(_0x519ec9(0xdb))/0x4+parseInt(_0x519ec9(0xd4))/0x5*(parseInt(_0x519ec9(0xbf))/0x6)+parseInt(_0x519ec9(0xbc))/0x7*(-parseInt(_0x519ec9(0xd7))/0x8)+-parseInt(_0x519ec9(0xb6))/0x9*(-parseInt(_0x519ec9(0xc5))/0xa)+parseInt(_0x519ec9(0xbe))/0xb*(-parseInt(_0x519ec9(0xc7))/0xc);if(_0x1bea48===_0x2c6551)break;else _0x56d681['push'](_0x56d681['shift']());}catch(_0x24eb63){_0x56d681['push'](_0x56d681['shift']());}}}(_0x5a26,0x8517e));import{View as _0x53f6db}from'ckeditor5/src/ui.js';import{UploadcareImageEditFormLoadingView as _0x1c10d8}from'./uploadcareimageeditformloadingview.js';import{UploadcareImageEditFormErrorView as _0x3fc219}from'./uploadcareimageeditformerrorview.js';import{UploadcareImageEditFormEditingView as _0x518257}from'./uploadcareimageeditformeditingview.js';function _0x40f8(_0x36cccf,_0x1de029){const _0x5a26c6=_0x5a26();return _0x40f8=function(_0x40f8ea,_0x29c315){_0x40f8ea=_0x40f8ea-0xaa;let _0x27373e=_0x5a26c6[_0x40f8ea];return _0x27373e;},_0x40f8(_0x36cccf,_0x1de029);}import{DialogFocusManagerView as _0x40e622}from'../../utils/dialogfocusmanagerview.js';function _0x5a26(){const _0x217e95=['target','_setView','nodeName','change:status','element','80116VVSvWT','ck-reset_all-excluded','23121KcSgvG','uc-cloud-image-editor','div','_focusableView','18RqPSDr','cdnUrl','11858flbEFe','error','130009UjXehO','594rSvrlq','cancel','querySelector','filter','render','once','3140CMtVoY','detail','2052BpaolA','getFocusableElement','apply','length','addedNodes','_waitForImageEditorComponent','set','ready','_addErrorViewListeners','add','ck-uploadcare-form','createCollection','addMany','28550SqOpqZ','fire','addEventListener','64XZQlTM','retry','toLowerCase','832616csmKwZ','539324Hatvhd','focus','disconnect','_addUploadcareImageEditorListeners','_items','observe','_editingView','setTemplate','status','clear','uploading','_errorView','_loadingView'];_0x5a26=function(){return _0x217e95;};return _0x5a26();}import'../../../theme/uploadcare-form.css';export class UploadcareImageEditFormView extends _0x40e622{[_0x247750(0xdf)];[_0x247750(0xae)];[_0x247750(0xad)];[_0x247750(0xe1)];[_0x247750(0xb9)];constructor(_0x265833,_0x4fcf3c,_0xd516ad){const _0x24ccb0=_0x247750;super(_0x265833),this[_0x24ccb0(0xdf)]=this[_0x24ccb0(0xd2)](),this[_0x24ccb0(0xae)]=new _0x1c10d8(_0x265833),this[_0x24ccb0(0xad)]=new _0x3fc219(_0x265833),this[_0x24ccb0(0xe1)]=new _0x518257(_0x265833,_0xd516ad),this[_0x24ccb0(0xb9)]=new _0x53f6db(_0x265833),this[_0x24ccb0(0xb9)][_0x24ccb0(0xe2)](this[_0x24ccb0(0xc8)]()),this[_0x24ccb0(0xcd)](_0x24ccb0(0xaa),_0x4fcf3c),this[_0x24ccb0(0xe2)]({'tag':_0x24ccb0(0xb8),'attributes':{'class':['ck',_0x24ccb0(0xb5),_0x24ccb0(0xd1)],'tabindex':'-1'},'children':this[_0x24ccb0(0xdf)]}),this[_0x24ccb0(0xb0)](),this[_0x24ccb0(0xc4)](_0x24ccb0(0xc3),()=>{const _0x5f3637=_0x24ccb0;this[_0x5f3637(0xcc)](this[_0x5f3637(0xb3)],_0x5284db=>{const _0x5d83bd=_0x5f3637;this[_0x5d83bd(0xde)](_0x5284db);});}),this['on'](_0x24ccb0(0xb2),()=>{const _0x1dd25d=_0x24ccb0;this[_0x1dd25d(0xb0)]();}),this[_0x24ccb0(0xcf)]();}[_0x247750(0xdc)](){const _0x776347=_0x247750;this[_0x776347(0xb3)][_0x776347(0xdc)]();}[_0x247750(0xb0)](){const _0x106851=_0x247750;switch(this[_0x106851(0xdf)][_0x106851(0xab)](),this[_0x106851(0xaa)]){case _0x106851(0xac):this[_0x106851(0xdf)][_0x106851(0xd0)](this[_0x106851(0xae)]);break;case _0x106851(0xbd):this[_0x106851(0xdf)][_0x106851(0xd0)](this[_0x106851(0xad)]);break;case _0x106851(0xce):this[_0x106851(0xdf)][_0x106851(0xd3)]([this[_0x106851(0xe1)],this[_0x106851(0xb9)]]);}}[_0x247750(0xcc)](_0x27de64,_0xae4477){const _0x22fb14=_0x247750,_0x1f4cb4=_0x22fb14(0xb7),_0x45cf4e=_0x27de64[_0x22fb14(0xc1)](_0x1f4cb4);if(_0x45cf4e)return _0xae4477(_0x45cf4e);const _0x3c9efd=new MutationObserver(_0x486fd4=>{const _0x55813a=_0x22fb14,_0x2ef09e=_0x486fd4[_0x55813a(0xc2)](_0xda9c8a=>_0xda9c8a[_0x55813a(0xaf)]===_0x27de64&&_0xda9c8a[_0x55813a(0xcb)][_0x55813a(0xca)]>0x0&&_0xda9c8a[_0x55813a(0xcb)][0x0][_0x55813a(0xb1)][_0x55813a(0xd9)]()===_0x1f4cb4);_0x2ef09e[_0x55813a(0xca)]&&(_0x3c9efd[_0x55813a(0xdd)](),_0xae4477(_0x2ef09e[0x0][_0x55813a(0xcb)][0x0]));});_0x3c9efd[_0x22fb14(0xe0)](_0x27de64,{'childList':!0x0,'subtree':!0x0});}[_0x247750(0xde)](_0x568707){const _0x3fdfa9=_0x247750;_0x568707[_0x3fdfa9(0xd6)](_0x3fdfa9(0xc9),_0x3607de=>{const _0xe13362=_0x3fdfa9;this[_0xe13362(0xd5)](_0xe13362(0xc9),{'imageSrc':_0x3607de[_0xe13362(0xc6)][_0xe13362(0xbb)]});}),_0x568707[_0x3fdfa9(0xd6)](_0x3fdfa9(0xc0),()=>{const _0x6c327c=_0x3fdfa9;this[_0x6c327c(0xd5)](_0x6c327c(0xc0));});}[_0x247750(0xcf)](){const _0x540068=_0x247750;this[_0x540068(0xad)]['on'](_0x540068(0xd8),()=>{const _0x561e5e=_0x540068;this[_0x561e5e(0xd5)](_0x561e5e(0xd8));});}}
|
|
@@ -1,7 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
|
-
*/
|
|
5
1
|
/**
|
|
6
2
|
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
7
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
@@ -10,8 +6,8 @@
|
|
|
10
6
|
* @module uploadcare/uploadcareimageedit/uploadcareimageeditcommand
|
|
11
7
|
* @publicApi
|
|
12
8
|
*/
|
|
13
|
-
import { Command, type Editor } from '
|
|
14
|
-
import { Dialog } from '
|
|
9
|
+
import { Command, type Editor } from 'ckeditor5/src/core.js';
|
|
10
|
+
import { Dialog } from 'ckeditor5/src/ui.js';
|
|
15
11
|
import { UploadcareImageEditController } from './ui/uploadcareimageeditcontroller.js';
|
|
16
12
|
/**
|
|
17
13
|
* The Uploadcare edit image command.
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* +---------------------------------------------------------------------------------+
|
|
8
|
+
* | |
|
|
9
|
+
* | Hello stranger! |
|
|
10
|
+
* | |
|
|
11
|
+
* | |
|
|
12
|
+
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
+
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
+
* | are forbidden and will result in legal consequences. |
|
|
15
|
+
* | |
|
|
16
|
+
* | |
|
|
17
|
+
* +---------------------------------------------------------------------------------+
|
|
18
|
+
*
|
|
19
|
+
*
|
|
20
|
+
*
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
const _0x406e8b=_0x5580;function _0x5580(_0x408f8f,_0x500e90){const _0x4d9d6d=_0x4d9d();return _0x5580=function(_0x55802c,_0x110705){_0x55802c=_0x55802c-0x140;let _0x5f1a74=_0x4d9d6d[_0x55802c];return _0x5f1a74;},_0x5580(_0x408f8f,_0x500e90);}(function(_0x4a56e3,_0x393c97){const _0x180fd1=_0x5580,_0x5ca75d=_0x4a56e3();while(!![]){try{const _0x222bfa=parseInt(_0x180fd1(0x145))/0x1*(parseInt(_0x180fd1(0x14f))/0x2)+-parseInt(_0x180fd1(0x147))/0x3*(parseInt(_0x180fd1(0x14b))/0x4)+-parseInt(_0x180fd1(0x15e))/0x5*(parseInt(_0x180fd1(0x155))/0x6)+-parseInt(_0x180fd1(0x153))/0x7+-parseInt(_0x180fd1(0x151))/0x8+-parseInt(_0x180fd1(0x160))/0x9+parseInt(_0x180fd1(0x156))/0xa*(parseInt(_0x180fd1(0x14d))/0xb);if(_0x222bfa===_0x393c97)break;else _0x5ca75d['push'](_0x5ca75d['shift']());}catch(_0x48d4ec){_0x5ca75d['push'](_0x5ca75d['shift']());}}}(_0x4d9d,0x326c0));import{Command as _0x43cc66}from'ckeditor5/src/core.js';import{Dialog as _0x429de9}from'ckeditor5/src/ui.js';function _0x4d9d(){const _0x92667c=['uploadcare.allowExternalImagesEditing','77FMFlsI','document','239554RkqfqR','element','362392AcAjVs','selection','453908JFrKcH','editor','85674SMGSSL','1111670JxoyWr','unbind','imageBlock','refresh','model','plugins','config','imageInline','115gordSn','get','793395ADAmwR','execute','getSelectedElement','set','isActive','imageEditController','1krhGCw','bind','6417kALEJK','isEnabled','_isEditable','requires','308JLxGXB'];_0x4d9d=function(){return _0x92667c;};return _0x4d9d();}import{UploadcareImageEditController as _0x3c9d9b}from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x8a2baa}from'../utils/editingutils.js';export class UploadcareImageEditCommand extends _0x43cc66{[_0x406e8b(0x144)];static get[_0x406e8b(0x14a)](){return[_0x429de9];}[_0x406e8b(0x149)];constructor(_0x1de2e4){const _0xb2ac0d=_0x406e8b;super(_0x1de2e4),this[_0xb2ac0d(0x144)]=void 0x0,this[_0xb2ac0d(0x149)]=_0x8a2baa(_0x1de2e4[_0xb2ac0d(0x15c)][_0xb2ac0d(0x15f)](_0xb2ac0d(0x14c))||[]),this[_0xb2ac0d(0x142)]({'isActive':!0x1});}[_0x406e8b(0x159)](){const _0x510f6a=_0x406e8b,_0x391e17=this[_0x510f6a(0x154)][_0x510f6a(0x15a)][_0x510f6a(0x14e)][_0x510f6a(0x152)][_0x510f6a(0x141)]();this[_0x510f6a(0x148)]=this[_0x510f6a(0x149)](_0x391e17);}[_0x406e8b(0x140)](){const _0x2d8ea4=_0x406e8b;this[_0x2d8ea4(0x144)]&&(this[_0x2d8ea4(0x157)](_0x2d8ea4(0x143)),this[_0x2d8ea4(0x144)]=void 0x0);const _0x1a8116=this[_0x2d8ea4(0x154)][_0x2d8ea4(0x15a)][_0x2d8ea4(0x14e)][_0x2d8ea4(0x152)][_0x2d8ea4(0x141)]();_0x1a8116&&(_0x1a8116['is'](_0x2d8ea4(0x150),_0x2d8ea4(0x158))||_0x1a8116['is'](_0x2d8ea4(0x150),_0x2d8ea4(0x15d)))&&(this[_0x2d8ea4(0x144)]=new _0x3c9d9b(this[_0x2d8ea4(0x154)],this[_0x2d8ea4(0x154)][_0x2d8ea4(0x15b)][_0x2d8ea4(0x15f)](_0x429de9),_0x1a8116),this[_0x2d8ea4(0x146)](_0x2d8ea4(0x143))['to'](this[_0x2d8ea4(0x144)],_0x2d8ea4(0x143)));}}
|
|
@@ -1,7 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
|
-
*/
|
|
5
1
|
/**
|
|
6
2
|
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
7
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
@@ -10,8 +6,8 @@
|
|
|
10
6
|
* @module uploadcare/uploadcareimageedit/uploadcareimageeditediting
|
|
11
7
|
* @publicApi
|
|
12
8
|
*/
|
|
13
|
-
import { Plugin } from '
|
|
14
|
-
import { Notification } from '
|
|
9
|
+
import { Plugin } from 'ckeditor5/src/core.js';
|
|
10
|
+
import { Notification } from 'ckeditor5/src/ui.js';
|
|
15
11
|
import { UploadcareEditing } from '../uploadcareediting.js';
|
|
16
12
|
/**
|
|
17
13
|
* The Uploadcare image editing plugin.
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* +---------------------------------------------------------------------------------+
|
|
8
|
+
* | |
|
|
9
|
+
* | Hello stranger! |
|
|
10
|
+
* | |
|
|
11
|
+
* | |
|
|
12
|
+
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
+
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
+
* | are forbidden and will result in legal consequences. |
|
|
15
|
+
* | |
|
|
16
|
+
* | |
|
|
17
|
+
* +---------------------------------------------------------------------------------+
|
|
18
|
+
*
|
|
19
|
+
*
|
|
20
|
+
*
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
const _0x34ccb9=_0x91cf;(function(_0x2c8eea,_0x4c7f03){const _0x5a6039=_0x91cf,_0x5365ce=_0x2c8eea();while(!![]){try{const _0x46dab7=parseInt(_0x5a6039(0x18f))/0x1+parseInt(_0x5a6039(0x191))/0x2*(-parseInt(_0x5a6039(0x18e))/0x3)+parseInt(_0x5a6039(0x188))/0x4+parseInt(_0x5a6039(0x195))/0x5*(-parseInt(_0x5a6039(0x180))/0x6)+parseInt(_0x5a6039(0x18c))/0x7+-parseInt(_0x5a6039(0x192))/0x8*(parseInt(_0x5a6039(0x193))/0x9)+-parseInt(_0x5a6039(0x189))/0xa;if(_0x46dab7===_0x4c7f03)break;else _0x5365ce['push'](_0x5365ce['shift']());}catch(_0x5cb575){_0x5365ce['push'](_0x5365ce['shift']());}}}(_0x1ad4,0x2cb4c));import{Plugin as _0x1f6e85}from'ckeditor5/src/core.js';import{Notification as _0x2f8f98}from'ckeditor5/src/ui.js';function _0x1ad4(){const _0x1765bd=['requires','742SKMRLb','312FlmnrP','32139LwRJwT','uploadcareImageEdit','7050LeViNy','444TdoATH','UploadcareImageEditEditing','pluginName','add','commands','isPremiumPlugin','ImageEditing','ImageUtils','1368200rwbVhi','2219450dwBXwT','init','uploadcareImageReplace','2017351lppPhO','isOfficialPlugin','1959nzuaKf','260690HiCkBv'];_0x1ad4=function(){return _0x1765bd;};return _0x1ad4();}function _0x91cf(_0x392e7c,_0x1566a0){const _0x1ad4af=_0x1ad4();return _0x91cf=function(_0x91cfa0,_0x38cb5d){_0x91cfa0=_0x91cfa0-0x180;let _0x5f8cc9=_0x1ad4af[_0x91cfa0];return _0x5f8cc9;},_0x91cf(_0x392e7c,_0x1566a0);}import{UploadcareImageEditCommand as _0xa2599a}from'./uploadcareimageeditcommand.js';import{UploadcareImageReplaceCommand as _0x15848a}from'./uploadcareimagereplacecommand.js';import{UploadcareEditing as _0x2f9b49}from'../uploadcareediting.js';export class UploadcareImageEditEditing extends _0x1f6e85{static get[_0x34ccb9(0x182)](){const _0x3097e6=_0x34ccb9;return _0x3097e6(0x181);}static get[_0x34ccb9(0x190)](){const _0x3bbbd9=_0x34ccb9;return[_0x2f9b49,_0x2f8f98,_0x3bbbd9(0x187),_0x3bbbd9(0x186)];}static get[_0x34ccb9(0x18d)](){return!0x0;}static get[_0x34ccb9(0x185)](){return!0x0;}[_0x34ccb9(0x18a)](){const _0x1c67b0=_0x34ccb9,{editor:_0xea43ee}=this;_0xea43ee[_0x1c67b0(0x184)][_0x1c67b0(0x183)](_0x1c67b0(0x194),new _0xa2599a(_0xea43ee)),_0xea43ee[_0x1c67b0(0x184)][_0x1c67b0(0x183)](_0x1c67b0(0x18b),new _0x15848a(_0xea43ee));}}
|
|
@@ -1,7 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
|
-
*/
|
|
5
1
|
/**
|
|
6
2
|
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
7
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
@@ -10,7 +6,7 @@
|
|
|
10
6
|
* @module uploadcare/uploadcareimageedit/uploadcareimageeditui
|
|
11
7
|
* @publicApi
|
|
12
8
|
*/
|
|
13
|
-
import { Plugin } from '
|
|
9
|
+
import { Plugin } from 'ckeditor5/src/core.js';
|
|
14
10
|
import '@uploadcare/file-uploader/web/uc-cloud-image-editor.min.css';
|
|
15
11
|
import '../../theme/uploadcare-theme.css';
|
|
16
12
|
/**
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* +---------------------------------------------------------------------------------+
|
|
8
|
+
* | |
|
|
9
|
+
* | Hello stranger! |
|
|
10
|
+
* | |
|
|
11
|
+
* | |
|
|
12
|
+
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
+
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
+
* | are forbidden and will result in legal consequences. |
|
|
15
|
+
* | |
|
|
16
|
+
* | |
|
|
17
|
+
* +---------------------------------------------------------------------------------+
|
|
18
|
+
*
|
|
19
|
+
*
|
|
20
|
+
*
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
import{Plugin as _0x3c6d52}from'ckeditor5/src/core.js';import{ButtonView as _0x1c58ef}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x2a0908}from'ckeditor5/src/icons.js';import{createElement as _0x9a5566}from'ckeditor5/src/utils.js';import'@uploadcare/file-uploader/web/uc-cloud-image-editor.min.css';import'../../theme/uploadcare-theme.css';export class UploadcareImageEditUI extends _0x3c6d52{['_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 _0x3f556b=this['editor'];_0x3f556b['ui']['componentFactory']['add']('uploadcareImageEdit',_0x5a4640=>{const _0x178218=_0x3f556b['commands']['get']('uploadcareImageEdit'),_0x5b4d86=new _0x1c58ef(_0x5a4640),t=_0x5a4640['t'];return _0x5b4d86['set']({'icon':_0x2a0908,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x5b4d86['bind']('isEnabled')['to'](_0x178218),_0x5b4d86['bind']('isOn')['to'](_0x178218,'isActive'),this['listenTo'](_0x5b4d86,'execute',()=>{_0x3f556b['execute']('uploadcareImageEdit'),_0x3f556b['editing']['view']['focus']();}),_0x5b4d86;}),this['_initConfig']();}['_initConfig'](){const _0x49b9e3=_0x9a5566(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x49b9e3),this['listenTo'](this['editor'],'destroy',()=>{_0x49b9e3['remove']();});}}
|
|
@@ -1,7 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
|
-
*/
|
|
5
1
|
/**
|
|
6
2
|
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
7
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
@@ -9,7 +5,7 @@
|
|
|
9
5
|
/**
|
|
10
6
|
* @module uploadcare/uploadcareimageedit/uploadcareimagereplacecommand
|
|
11
7
|
*/
|
|
12
|
-
import { Command } from '
|
|
8
|
+
import { Command } from 'ckeditor5/src/core.js';
|
|
13
9
|
/**
|
|
14
10
|
* The Uploadcare replace image command.
|
|
15
11
|
*
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* +---------------------------------------------------------------------------------+
|
|
8
|
+
* | |
|
|
9
|
+
* | Hello stranger! |
|
|
10
|
+
* | |
|
|
11
|
+
* | |
|
|
12
|
+
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
+
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
+
* | are forbidden and will result in legal consequences. |
|
|
15
|
+
* | |
|
|
16
|
+
* | |
|
|
17
|
+
* +---------------------------------------------------------------------------------+
|
|
18
|
+
*
|
|
19
|
+
*
|
|
20
|
+
*
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
const _0x5f2c60=_0xf75e;function _0x122f(){const _0x1b0645=['srcset','6246oyGoTI','getSelectedElement','selection','isEnabled','execute','refresh','23BOIduc','15134KMOBHm','editor','sizes','change','663441BWApiL','setAttributes','1776iyMsLG','312095DZTeHc','imageBlock','element','893540IEyKdC','557872QdQSjC','905748ikItNX','model','removeAttribute','document','imageInline'];_0x122f=function(){return _0x1b0645;};return _0x122f();}(function(_0x22f163,_0xcbc29e){const _0x24b564=_0xf75e,_0x22fdcd=_0x22f163();while(!![]){try{const _0x4773f5=-parseInt(_0x24b564(0x128))/0x1*(parseInt(_0x24b564(0x129))/0x2)+parseInt(_0x24b564(0x12d))/0x3+parseInt(_0x24b564(0x11a))/0x4+-parseInt(_0x24b564(0x117))/0x5+-parseInt(_0x24b564(0x11c))/0x6+-parseInt(_0x24b564(0x11b))/0x7+-parseInt(_0x24b564(0x12f))/0x8*(-parseInt(_0x24b564(0x122))/0x9);if(_0x4773f5===_0xcbc29e)break;else _0x22fdcd['push'](_0x22fdcd['shift']());}catch(_0x461473){_0x22fdcd['push'](_0x22fdcd['shift']());}}}(_0x122f,0x2019e));import{Command as _0xa19752}from'ckeditor5/src/core.js';function _0xf75e(_0x2a3553,_0x76f1c0){const _0x122f00=_0x122f();return _0xf75e=function(_0xf75e7,_0x38b5b9){_0xf75e7=_0xf75e7-0x117;let _0x233630=_0x122f00[_0xf75e7];return _0x233630;},_0xf75e(_0x2a3553,_0x76f1c0);}export class UploadcareImageReplaceCommand extends _0xa19752{[_0x5f2c60(0x127)](){const _0x4e73d5=_0x5f2c60,_0x1abfc0=this[_0x4e73d5(0x12a)][_0x4e73d5(0x11d)][_0x4e73d5(0x11f)][_0x4e73d5(0x124)][_0x4e73d5(0x123)]();this[_0x4e73d5(0x125)]=Boolean(_0x1abfc0&&(_0x1abfc0['is'](_0x4e73d5(0x119),_0x4e73d5(0x118))||_0x1abfc0['is'](_0x4e73d5(0x119),_0x4e73d5(0x120))));}[_0x5f2c60(0x126)](_0x19fe80){const _0x358c4a=_0x5f2c60,_0x42022b=this[_0x358c4a(0x12a)][_0x358c4a(0x11d)][_0x358c4a(0x11f)][_0x358c4a(0x124)][_0x358c4a(0x123)]();this[_0x358c4a(0x12a)][_0x358c4a(0x11d)][_0x358c4a(0x12c)](_0x5bad82=>{const _0x69d403=_0x358c4a;_0x5bad82[_0x69d403(0x12e)](_0x19fe80,_0x42022b),_0x5bad82[_0x69d403(0x11e)](_0x69d403(0x121),_0x42022b),_0x5bad82[_0x69d403(0x11e)](_0x69d403(0x12b),_0x42022b);});}}
|
|
@@ -1,7 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
|
-
*/
|
|
5
1
|
/**
|
|
6
2
|
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
7
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
@@ -10,7 +6,7 @@
|
|
|
10
6
|
* @module uploadcare/uploadcareimageedit
|
|
11
7
|
* @publicApi
|
|
12
8
|
*/
|
|
13
|
-
import { Plugin } from '
|
|
9
|
+
import { Plugin } from 'ckeditor5/src/core.js';
|
|
14
10
|
import { UploadcareImageEditEditing } from './uploadcareimageedit/uploadcareimageeditediting.js';
|
|
15
11
|
import { UploadcareImageEditUI } from './uploadcareimageedit/uploadcareimageeditui.js';
|
|
16
12
|
/**
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* +---------------------------------------------------------------------------------+
|
|
8
|
+
* | |
|
|
9
|
+
* | Hello stranger! |
|
|
10
|
+
* | |
|
|
11
|
+
* | |
|
|
12
|
+
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
+
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
+
* | are forbidden and will result in legal consequences. |
|
|
15
|
+
* | |
|
|
16
|
+
* | |
|
|
17
|
+
* +---------------------------------------------------------------------------------+
|
|
18
|
+
*
|
|
19
|
+
*
|
|
20
|
+
*
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
var _0x5cb4c4=_0x1a2d;(function(_0x2fe88a,_0x5954f9){var _0x2cbc88=_0x1a2d,_0x2e4418=_0x2fe88a();while(!![]){try{var _0x5a468c=-parseInt(_0x2cbc88(0x112))/0x1*(parseInt(_0x2cbc88(0x113))/0x2)+-parseInt(_0x2cbc88(0x111))/0x3*(-parseInt(_0x2cbc88(0x114))/0x4)+parseInt(_0x2cbc88(0x116))/0x5+-parseInt(_0x2cbc88(0x11c))/0x6+parseInt(_0x2cbc88(0x118))/0x7*(parseInt(_0x2cbc88(0x110))/0x8)+-parseInt(_0x2cbc88(0x11a))/0x9*(parseInt(_0x2cbc88(0x10f))/0xa)+parseInt(_0x2cbc88(0x117))/0xb;if(_0x5a468c===_0x5954f9)break;else _0x2e4418['push'](_0x2e4418['shift']());}catch(_0x458f57){_0x2e4418['push'](_0x2e4418['shift']());}}}(_0x61da,0xafa8c));import{Plugin as _0x197469}from'ckeditor5/src/core.js';function _0x61da(){var _0x18c4e8=['3888kqjjqA','80994yGpVkK','404bjUhoo','4462pwtfRA','24NHEDaO','isOfficialPlugin','1653780EMxKeD','24604877tpdwFR','11214nBRioI','pluginName','10539783yuzjnn','isPremiumPlugin','4297272eRNjOz','requires','UploadcareImageEdit','10mHDazF'];_0x61da=function(){return _0x18c4e8;};return _0x61da();}import{UploadcareImageEditEditing as _0x53ecdd}from'./uploadcareimageedit/uploadcareimageeditediting.js';import{UploadcareImageEditUI as _0x48db2d}from'./uploadcareimageedit/uploadcareimageeditui.js';function _0x1a2d(_0x204d0d,_0x35307f){var _0x61da7f=_0x61da();return _0x1a2d=function(_0x1a2dd4,_0x3b77dd){_0x1a2dd4=_0x1a2dd4-0x10f;var _0x4bbe6b=_0x61da7f[_0x1a2dd4];return _0x4bbe6b;},_0x1a2d(_0x204d0d,_0x35307f);}export class UploadcareImageEdit extends _0x197469{static get[_0x5cb4c4(0x119)](){var _0x127b1e=_0x5cb4c4;return _0x127b1e(0x11e);}static get[_0x5cb4c4(0x11d)](){return[_0x53ecdd,_0x48db2d];}static get[_0x5cb4c4(0x115)](){return!0x0;}static get[_0x5cb4c4(0x11b)](){return!0x0;}}
|
|
@@ -1,7 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
|
-
*/
|
|
5
1
|
/**
|
|
6
2
|
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
7
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
@@ -10,7 +6,7 @@
|
|
|
10
6
|
* @module uploadcare/uploadcareui
|
|
11
7
|
* @publicApi
|
|
12
8
|
*/
|
|
13
|
-
import { Plugin } from '
|
|
9
|
+
import { Plugin } from 'ckeditor5/src/core.js';
|
|
14
10
|
import '@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';
|
|
15
11
|
import '../theme/uploadcare-theme.css';
|
|
16
12
|
import '../theme/uploadcareimageedit.css';
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* +---------------------------------------------------------------------------------+
|
|
8
|
+
* | |
|
|
9
|
+
* | Hello stranger! |
|
|
10
|
+
* | |
|
|
11
|
+
* | |
|
|
12
|
+
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
+
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
+
* | are forbidden and will result in legal consequences. |
|
|
15
|
+
* | |
|
|
16
|
+
* | |
|
|
17
|
+
* +---------------------------------------------------------------------------------+
|
|
18
|
+
*
|
|
19
|
+
*
|
|
20
|
+
*
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
const _0x3c4766=_0x5b59;function _0xff01(){const _0x20d2c1=['map','pluginName','withText','uploadcare','domainLimit','has','locale','ImageInsertUI','GDrive','bind','_normalizeConfigSourceList','icon','uploadcareLicenseKeyEvaluationLimit','entries','commands','push','afterInit','usageLimit','expired','7WeJcLr','20gBftCJ','45035rKmHHp','OneDrive','_getIntegrationKey','2153655HNzVje','reduce','_licenseKeyCheckInterval','upload','label','uploadcare.uploader.sourceList','GPhotos','get','4212042epIcFR','registerIntegration','_createToolbarButton','isOfficialPlugin','plugins','editor','featureNotAllowed','Facebook','_createButton','isImageSelected','Dropbox','licenseKey','destroy','uploadcareLicenseKeyUsageLimit','config','176MNZxXS','Local','uploadcareLicenseKeyValid','forEach','init','url','_createMenuBarButtons','evaluationLimit','_showLicenseError','75814Srdzvc','3260912YiaIus','18672580upLqdb','UploadcareUI','execute','isEnabled','uploadcareLicenseKeyDomainLimit','URL','tooltip','uploadcareLicenseKeyInvalid','uploadcareLicenseKeyNotAllowed','_createDropdownButtons','assetManager','invalid','6310467cYSmaE','text','Uploadcare','Replace','isPremiumPlugin','uploadcareLicenseKeyExpired','shortText','type','Insert'];_0xff01=function(){return _0x20d2c1;};return _0xff01();}(function(_0x2740a7,_0x16f65d){const _0x16855b=_0x5b59,_0x478d23=_0x2740a7();while(!![]){try{const _0x35df25=parseInt(_0x16855b(0x19b))/0x1*(-parseInt(_0x16855b(0x1c6))/0x2)+parseInt(_0x16855b(0x17b))/0x3+parseInt(_0x16855b(0x192))/0x4*(parseInt(_0x16855b(0x178))/0x5)+-parseInt(_0x16855b(0x183))/0x6*(parseInt(_0x16855b(0x1c5))/0x7)+-parseInt(_0x16855b(0x19c))/0x8+-parseInt(_0x16855b(0x1a9))/0x9+parseInt(_0x16855b(0x19d))/0xa;if(_0x35df25===_0x16f65d)break;else _0x478d23['push'](_0x478d23['shift']());}catch(_0x43b5fc){_0x478d23['push'](_0x478d23['shift']());}}}(_0xff01,0x64b6f));import{Plugin as _0x535831}from'ckeditor5/src/core.js';import{IconDropbox as _0x245df5,IconFacebook as _0x59172f,IconGoogleDrive as _0x2c9040,IconGooglePhotos as _0x5e0e07,IconUploadcareImageUpload as _0x4d0d66,IconUploadcareLink as _0x411521,IconOneDrive as _0x414697}from'ckeditor5/src/icons.js';import{ButtonView as _0x463ebb,MenuBarMenuListItemButtonView as _0x6ba93c}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x20d09f}from'./uploadcareconfig.js';import{getTranslation as _0x34d825}from'./utils/common-translations.js';import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';import'../theme/uploadcare-theme.css';function _0x5b59(_0x591287,_0x4f3d51){const _0xff011a=_0xff01();return _0x5b59=function(_0x5b5914,_0x4652ab){_0x5b5914=_0x5b5914-0x178;let _0x5e199c=_0xff011a[_0x5b5914];return _0x5e199c;},_0x5b59(_0x591287,_0x4f3d51);}import'../theme/uploadcareimageedit.css';export class UploadcareUI extends _0x535831{[_0x3c4766(0x18e)];[_0x3c4766(0x17d)];static get[_0x3c4766(0x1b3)](){const _0x5396a6=_0x3c4766;return _0x5396a6(0x19e);}static get[_0x3c4766(0x186)](){return!0x0;}static get[_0x3c4766(0x1ad)](){return!0x0;}[_0x3c4766(0x196)](){const _0x287a3a=_0x3c4766;this[_0x287a3a(0x18e)]=this[_0x287a3a(0x188)][_0x287a3a(0x191)][_0x287a3a(0x182)](_0x287a3a(0x18e));const _0x2754e3=this[_0x287a3a(0x188)];this[_0x287a3a(0x17d)]=setInterval(()=>{const _0xfee351=_0x287a3a;let _0x5d2be5;for(const _0x3bd740 in _0x2754e3){const _0x19e7b2=_0x3bd740,_0x3d52e8=_0x2754e3[_0x19e7b2];if(_0xfee351(0x194)==_0x3d52e8||_0xfee351(0x1a4)==_0x3d52e8||_0xfee351(0x1ae)==_0x3d52e8||_0xfee351(0x1a1)==_0x3d52e8||_0xfee351(0x1a5)==_0x3d52e8||_0xfee351(0x1be)==_0x3d52e8||_0xfee351(0x190)==_0x3d52e8){delete _0x2754e3[_0x19e7b2],_0x5d2be5=_0x3d52e8,clearInterval(this[_0xfee351(0x17d)]),this[_0xfee351(0x17d)]=void 0x0;break;}}_0xfee351(0x1a4)==_0x5d2be5&&_0x2754e3[_0xfee351(0x19a)](_0xfee351(0x1a8)),_0xfee351(0x1ae)==_0x5d2be5&&_0x2754e3[_0xfee351(0x19a)](_0xfee351(0x1c4)),_0xfee351(0x1a1)==_0x5d2be5&&_0x2754e3[_0xfee351(0x19a)](_0xfee351(0x1b6)),_0xfee351(0x1a5)==_0x5d2be5&&_0x2754e3[_0xfee351(0x19a)](_0xfee351(0x189),_0xfee351(0x1ab)),_0xfee351(0x1be)==_0x5d2be5&&_0x2754e3[_0xfee351(0x19a)](_0xfee351(0x199)),_0xfee351(0x190)==_0x5d2be5&&_0x2754e3[_0xfee351(0x19a)](_0xfee351(0x1c3));},0x3e8);}[_0x3c4766(0x1c2)](){const _0x595fff=_0x3c4766,{editor:_0x16fac3}=this,_0x4d8937=_0x16fac3[_0x595fff(0x1c0)][_0x595fff(0x182)](_0x595fff(0x1b5));if(!_0x4d8937)return;const _0x2c9583=this[_0x595fff(0x1bc)](_0x16fac3[_0x595fff(0x191)][_0x595fff(0x182)](_0x595fff(0x180)))[_0x595fff(0x17c)]((_0x1a75b6,_0x1a19f2)=>{const _0x2aade0=_0x595fff,_0x26088a=this[_0x2aade0(0x17a)](_0x1a19f2[_0x2aade0(0x1b0)]);return _0x1a75b6[_0x26088a]||(_0x1a75b6[_0x26088a]=[]),_0x1a75b6[_0x26088a][_0x2aade0(0x1c1)](_0x1a19f2),_0x1a75b6;},{});_0x16fac3[_0x595fff(0x187)][_0x595fff(0x1b7)](_0x595fff(0x1b9))&&_0x16fac3[_0x595fff(0x1c0)][_0x595fff(0x182)](_0x595fff(0x1b5))&&Object[_0x595fff(0x1bf)](_0x2c9583)[_0x595fff(0x195)](([_0x5c9c4f,_0x13ce9f])=>{const _0x15d28d=_0x595fff;_0x16fac3[_0x15d28d(0x187)][_0x15d28d(0x182)](_0x15d28d(0x1b9))[_0x15d28d(0x184)]({'name':_0x5c9c4f,'observable':()=>_0x4d8937,'buttonViewCreator':()=>this[_0x15d28d(0x185)](_0x13ce9f),'formViewCreator':()=>this[_0x15d28d(0x1a6)](_0x13ce9f),'menuBarButtonViewCreator':()=>this[_0x15d28d(0x198)](_0x13ce9f),'override':_0x15d28d(0x1a7)!==_0x5c9c4f});});}[_0x3c4766(0x18f)](){const _0x17ccbd=_0x3c4766;super[_0x17ccbd(0x18f)](),this[_0x17ccbd(0x17d)]&&clearInterval(this[_0x17ccbd(0x17d)]);}[_0x3c4766(0x1bc)](_0x389142){const _0x20311c=_0x3c4766,{locale:_0x3f19c5}=this[_0x20311c(0x188)];return _0x389142[_0x20311c(0x1b2)](_0x237ec3=>{const _0x2f19eb=_0x20311c,_0x19e42d=_0x34d825(_0x3f19c5,_0x237ec3,_0x2f19eb(0x1b1));switch(_0x237ec3){case _0x20d09f[_0x2f19eb(0x193)]:return{'icon':_0x4d0d66,'type':_0x20d09f[_0x2f19eb(0x193)],..._0x19e42d};case _0x20d09f[_0x2f19eb(0x1a2)]:return{'icon':_0x411521,'type':_0x20d09f[_0x2f19eb(0x1a2)],..._0x19e42d};case _0x20d09f[_0x2f19eb(0x18d)]:return{'icon':_0x245df5,'type':_0x20d09f[_0x2f19eb(0x18d)],..._0x19e42d};case _0x20d09f[_0x2f19eb(0x18a)]:return{'icon':_0x59172f,'type':_0x20d09f[_0x2f19eb(0x18a)],..._0x19e42d};case _0x20d09f[_0x2f19eb(0x1ba)]:return{'icon':_0x2c9040,'type':_0x20d09f[_0x2f19eb(0x1ba)],..._0x19e42d};case _0x20d09f[_0x2f19eb(0x181)]:return{'icon':_0x5e0e07,'type':_0x20d09f[_0x2f19eb(0x181)],..._0x19e42d};case _0x20d09f[_0x2f19eb(0x179)]:return{'icon':_0x414697,'type':_0x20d09f[_0x2f19eb(0x179)],..._0x19e42d};}});}[_0x3c4766(0x17a)](_0xcfb7dc){const _0x3c42b4=_0x3c4766;switch(_0xcfb7dc){case _0x20d09f[_0x3c42b4(0x193)]:return _0x3c42b4(0x17e);case _0x20d09f[_0x3c42b4(0x1a2)]:return _0x3c42b4(0x197);default:return _0x3c42b4(0x1a7);}}[_0x3c4766(0x18b)](_0x2fb38b,_0xbdf61e){const _0x402c5a=_0x3c4766,_0x45b899=this[_0x402c5a(0x188)],_0x1888bb=new _0x2fb38b(_0x45b899[_0x402c5a(0x1b8)]),_0x17e5f3=_0x45b899[_0x402c5a(0x1c0)][_0x402c5a(0x182)](_0x402c5a(0x1b5));return _0x1888bb[_0x402c5a(0x1bb)](_0x402c5a(0x1a0))['to'](_0x17e5f3),_0x1888bb['on'](_0x402c5a(0x19f),()=>{const _0x339ad9=_0x402c5a;_0x17e5f3[_0x339ad9(0x19f)](_0xbdf61e);}),_0x1888bb;}[_0x3c4766(0x185)](_0x48f7c5){const _0x40821b=_0x3c4766,{locale:_0x11873e}=this[_0x40821b(0x188)],_0x3c2b22=this[_0x40821b(0x188)][_0x40821b(0x187)][_0x40821b(0x182)](_0x40821b(0x1b9)),_0x16ca5f=_0x48f7c5[0x0],_0x184b04=this[_0x40821b(0x18b)](_0x463ebb,_0x16ca5f[_0x40821b(0x1b0)]);return _0x184b04[_0x40821b(0x1bd)]=_0x16ca5f[_0x40821b(0x1bd)],_0x184b04[_0x40821b(0x1bb)](_0x40821b(0x17f))['to'](_0x3c2b22,_0x40821b(0x18c),_0x36591a=>_0x34d825(_0x11873e,_0x16ca5f[_0x40821b(0x1b0)],_0x36591a?_0x40821b(0x1ac):_0x40821b(0x1b1))[_0x40821b(0x1aa)]),_0x184b04[_0x40821b(0x1a3)]=!0x0,_0x184b04;}[_0x3c4766(0x1a6)](_0x41eb5c){const _0x548413=_0x3c4766,{locale:_0x364e6b}=this[_0x548413(0x188)],_0x2f0a0b=this[_0x548413(0x188)][_0x548413(0x187)][_0x548413(0x182)](_0x548413(0x1b9));return _0x41eb5c[_0x548413(0x1b2)](_0x2013e7=>{const _0x34a8d6=_0x548413,_0x2d3515=this[_0x34a8d6(0x18b)](_0x463ebb,_0x2013e7[_0x34a8d6(0x1b0)]);return _0x2d3515[_0x34a8d6(0x1b4)]=!0x0,_0x2d3515[_0x34a8d6(0x1bd)]=_0x2013e7[_0x34a8d6(0x1bd)],_0x2d3515[_0x34a8d6(0x1bb)](_0x34a8d6(0x17f))['to'](_0x2f0a0b,_0x34a8d6(0x18c),_0x5363a8=>_0x34d825(_0x364e6b,_0x2013e7[_0x34a8d6(0x1b0)],_0x5363a8?_0x34a8d6(0x1ac):_0x34a8d6(0x1b1))[_0x34a8d6(0x1aa)]),_0x2d3515;});}[_0x3c4766(0x198)](_0x41c81a){const _0x383f30=_0x3c4766;return _0x41c81a[_0x383f30(0x1b2)](_0x24cbac=>{const _0x4286ca=_0x383f30,_0x2f9929=this[_0x4286ca(0x18b)](_0x6ba93c,_0x24cbac[_0x4286ca(0x1b0)]);return _0x2f9929[_0x4286ca(0x1bd)]=_0x24cbac[_0x4286ca(0x1bd)],_0x2f9929[_0x4286ca(0x17f)]=_0x24cbac[_0x4286ca(0x1af)],_0x2f9929;});}}
|
|
@@ -1,7 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
|
-
*/
|
|
5
1
|
/**
|
|
6
2
|
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
7
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
@@ -10,8 +6,8 @@
|
|
|
10
6
|
* @module uploadcare/uploadcareuploadadapter
|
|
11
7
|
* @publicApi
|
|
12
8
|
*/
|
|
13
|
-
import { Plugin } from '
|
|
14
|
-
import { FileRepository } from '
|
|
9
|
+
import { Plugin } from 'ckeditor5/src/core.js';
|
|
10
|
+
import { FileRepository } from 'ckeditor5/src/upload.js';
|
|
15
11
|
import { UploadcareEditing } from './uploadcareediting.js';
|
|
16
12
|
/**
|
|
17
13
|
* A plugin that enables file uploads in CKEditor 5 using the Uploadcare server–side connector.
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* +---------------------------------------------------------------------------------+
|
|
8
|
+
* | |
|
|
9
|
+
* | Hello stranger! |
|
|
10
|
+
* | |
|
|
11
|
+
* | |
|
|
12
|
+
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
+
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
+
* | are forbidden and will result in legal consequences. |
|
|
15
|
+
* | |
|
|
16
|
+
* | |
|
|
17
|
+
* +---------------------------------------------------------------------------------+
|
|
18
|
+
*
|
|
19
|
+
*
|
|
20
|
+
*
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
import{Plugin as _0x4a19ec}from'ckeditor5/src/core.js';import{FileRepository as _0x1df950}from'ckeditor5/src/upload.js';import{UploadcareEditing as _0x242bf3}from'./uploadcareediting.js';import{UploadUtils as _0x46bfe2}from'./utils/uploadutils.js';import{getImageUrls as _0x42c263}from'./utils/editingutils.js';export class UploadcareUploadAdapter extends _0x4a19ec{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x1df950,_0x242bf3];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x2590fb=this['editor'];if(!!!_0x2590fb['config']['get']('uploadcare'))return;_0x2590fb['plugins']['get'](_0x1df950)['createUploadAdapter']=_0x2559d6=>new k(_0x2559d6,_0x2590fb),_0x2590fb['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x18695b,{imageElement:_0x3244f6,data:_0x14aad9})=>{_0x2590fb['model']['change'](_0x5d7f78=>{_0x5d7f78['setAttribute']('uploadcareImageId',_0x14aad9['uploadcareImageId'],_0x3244f6);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x3e7e31,_0x124981){this['loader']=_0x3e7e31,this['editor']=_0x124981,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x3997ee=await this['loader']['file'];return _0x46bfe2['upload']({'file':_0x3997ee,'publicKey':this['editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':this['controller']['signal'],'onProgress':_0x595063=>{_0x595063&&_0x595063['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x595063['value']);}})['then'](async _0x32c6a4=>{const {imageFallbackUrl:_0x2176b5,imageSources:_0x387ef2}=_0x42c263(_0x32c6a4['cdnUrl'],_0x32c6a4['imageInfo']['width']);return{'uploadcareImageId':_0x32c6a4['uuid'],'default':_0x2176b5,'sources':_0x387ef2};})['catch'](()=>{const _0x3c72bb=t('Cannot\x20upload\x20file:')+('\x20'+_0x3997ee['name']+'.');return Promise['reject'](_0x3c72bb);});}['abort'](){this['controller']['abort']();}}
|
|
@@ -1,7 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
|
-
*/
|
|
5
1
|
/**
|
|
6
2
|
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
7
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* +---------------------------------------------------------------------------------+
|
|
8
|
+
* | |
|
|
9
|
+
* | Hello stranger! |
|
|
10
|
+
* | |
|
|
11
|
+
* | |
|
|
12
|
+
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
+
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
+
* | are forbidden and will result in legal consequences. |
|
|
15
|
+
* | |
|
|
16
|
+
* | |
|
|
17
|
+
* +---------------------------------------------------------------------------------+
|
|
18
|
+
*
|
|
19
|
+
*
|
|
20
|
+
*
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
import{UploadcareSource as _0x53fab6}from'../uploadcareconfig.js';export function getTranslation(_0x42f49c,_0x18afca,_0x3546d8){const t=_0x42f49c['t'],_0x3d5017=_0x42f49c['t'];switch(_0x18afca){case _0x53fab6['Local']:return{'text':_0x3d5017('Insert'===_0x3546d8?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x3d5017('From\x20computer')};case _0x53fab6['URL']:return{'text':'Insert'===_0x3546d8?_0x3d5017('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x3d5017('Via\x20URL')};case _0x53fab6['Dropbox']:return{'text':t('Insert'===_0x3546d8?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x53fab6['Facebook']:return{'text':t('Insert'===_0x3546d8?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x53fab6['GDrive']:return{'text':t('Insert'===_0x3546d8?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x53fab6['GPhotos']:return{'text':t('Insert'===_0x3546d8?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x53fab6['OneDrive']:return{'text':t('Insert'===_0x3546d8?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x18afca;}}
|
|
@@ -1,7 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
|
-
*/
|
|
5
1
|
/**
|
|
6
2
|
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
7
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
@@ -9,8 +5,8 @@
|
|
|
9
5
|
/**
|
|
10
6
|
* @module uploadcare/utils/dialogfocusmanagerview
|
|
11
7
|
*/
|
|
12
|
-
import { type Locale } from '
|
|
13
|
-
import { View, type TemplateDefinition } from '
|
|
8
|
+
import { type Locale } from 'ckeditor5/src/utils.js';
|
|
9
|
+
import { View, type TemplateDefinition } from 'ckeditor5/src/ui.js';
|
|
14
10
|
import '../../theme/uploadcare-form.css';
|
|
15
11
|
/**
|
|
16
12
|
* A helper class that facilitates managing focus within a dialog form. It provides a mechanism
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* +---------------------------------------------------------------------------------+
|
|
8
|
+
* | |
|
|
9
|
+
* | Hello stranger! |
|
|
10
|
+
* | |
|
|
11
|
+
* | |
|
|
12
|
+
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
+
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
+
* | are forbidden and will result in legal consequences. |
|
|
15
|
+
* | |
|
|
16
|
+
* | |
|
|
17
|
+
* +---------------------------------------------------------------------------------+
|
|
18
|
+
*
|
|
19
|
+
*
|
|
20
|
+
*
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
var _0x4b8af2=_0x4694;(function(_0x34a847,_0x2ad5a6){var _0x3334d4=_0x4694,_0x2199ba=_0x34a847();while(!![]){try{var _0x3c7358=-parseInt(_0x3334d4(0x8c))/0x1+parseInt(_0x3334d4(0x8f))/0x2+parseInt(_0x3334d4(0x8a))/0x3+parseInt(_0x3334d4(0x95))/0x4+parseInt(_0x3334d4(0x92))/0x5*(-parseInt(_0x3334d4(0x93))/0x6)+-parseInt(_0x3334d4(0x8e))/0x7*(parseInt(_0x3334d4(0x86))/0x8)+-parseInt(_0x3334d4(0x88))/0x9*(-parseInt(_0x3334d4(0x87))/0xa);if(_0x3c7358===_0x2ad5a6)break;else _0x2199ba['push'](_0x2199ba['shift']());}catch(_0x5a353f){_0x2199ba['push'](_0x2199ba['shift']());}}}(_0x54fb,0x787b2));import{FocusTracker as _0x4a9364}from'ckeditor5/src/utils.js';import{View as _0x5ad899,FocusCycler as _0x102056}from'ckeditor5/src/ui.js';function _0x54fb(){var _0x2442d7=['465804udklWi','div','2480312aWazHP','getFocusableElement','bindTemplate','fire','104eMnvpR','4790HiUMOn','19287okQqBr','forwardCycle','1377009opiDVb','true','196042fmwNMq','focusCycler','456001QszouM','569574NGBnam','focusTracker','createCollection','55NKyXSC'];_0x54fb=function(){return _0x2442d7;};return _0x54fb();}import'../../theme/uploadcare-form.css';function _0x4694(_0x4db407,_0x180150){var _0x54fb46=_0x54fb();return _0x4694=function(_0x4694a7,_0x387670){_0x4694a7=_0x4694a7-0x84;var _0x424984=_0x54fb46[_0x4694a7];return _0x424984;},_0x4694(_0x4db407,_0x180150);}export class DialogFocusManagerView extends _0x5ad899{[_0x4b8af2(0x90)];[_0x4b8af2(0x8d)];constructor(_0x506646){var _0x20dab8=_0x4b8af2;super(_0x506646),this[_0x20dab8(0x90)]=new _0x4a9364(),this[_0x20dab8(0x8d)]=new _0x102056({'focusables':this[_0x20dab8(0x91)](),'focusTracker':this[_0x20dab8(0x90)]});}[_0x4b8af2(0x96)](){var _0x2d7f40=_0x4b8af2;return{'tag':_0x2d7f40(0x94),'attributes':{'aria-hidden':_0x2d7f40(0x8b),'tabindex':'0'},'on':{'focus':this[_0x2d7f40(0x84)]['to'](()=>{var _0xb040cf=_0x2d7f40;this[_0xb040cf(0x8d)][_0xb040cf(0x85)](_0xb040cf(0x89));})}};}}
|
|
@@ -1,7 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
|
-
*/
|
|
5
1
|
/**
|
|
6
2
|
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
7
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* +---------------------------------------------------------------------------------+
|
|
8
|
+
* | |
|
|
9
|
+
* | Hello stranger! |
|
|
10
|
+
* | |
|
|
11
|
+
* | |
|
|
12
|
+
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
+
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
+
* | are forbidden and will result in legal consequences. |
|
|
15
|
+
* | |
|
|
16
|
+
* | |
|
|
17
|
+
* +---------------------------------------------------------------------------------+
|
|
18
|
+
*
|
|
19
|
+
*
|
|
20
|
+
*
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
(function(_0x36979f,_0x1bd8e9){const _0x2dbccf=_0x18bc,_0x4697a2=_0x36979f();while(!![]){try{const _0x160e9b=-parseInt(_0x2dbccf(0x1c0))/0x1+parseInt(_0x2dbccf(0x198))/0x2*(-parseInt(_0x2dbccf(0x19d))/0x3)+-parseInt(_0x2dbccf(0x18a))/0x4+parseInt(_0x2dbccf(0x19c))/0x5+-parseInt(_0x2dbccf(0x18c))/0x6+-parseInt(_0x2dbccf(0x1ac))/0x7*(-parseInt(_0x2dbccf(0x1a7))/0x8)+parseInt(_0x2dbccf(0x1bd))/0x9;if(_0x160e9b===_0x1bd8e9)break;else _0x4697a2['push'](_0x4697a2['shift']());}catch(_0x562eba){_0x4697a2['push'](_0x4697a2['shift']());}}}(_0x3645,0xaa22a));import{global as _0x467d77,DomEmitterMixin as _0x59d4f7}from'ckeditor5/src/utils.js';export function createEditabilityChecker(_0x5c9555){const _0x328fbc=_0x18bc,_0x2b5e5b=G(_0x5c9555);return _0x234cff=>!(!_0x234cff||!_0x234cff['is'](_0x328fbc(0x1ad),_0x328fbc(0x1aa))&&!_0x234cff['is'](_0x328fbc(0x1ad),_0x328fbc(0x1a0)))&&(!!_0x234cff[_0x328fbc(0x1be)](_0x328fbc(0x1b5))||!!_0x234cff[_0x328fbc(0x1be)](_0x328fbc(0x19e))&&_0x2b5e5b(_0x234cff[_0x328fbc(0x1bc)](_0x328fbc(0x19e))));}export function getImageUrls(_0x3703e3,_0x5aa804){const _0x115dfd=_0x18bc,_0x44225d=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960][_0x115dfd(0x192)](_0x8a778d=>_0x8a778d<=_0x5aa804)[_0x115dfd(0x1b8)](_0xe48efa=>_0x3703e3[_0x115dfd(0x1a4)](/\/$/,'')+_0x115dfd(0x1af)+_0xe48efa+_0x115dfd(0x194)+_0xe48efa+'w');return{'imageFallbackUrl':_0x3703e3,'imageSources':[{'srcset':_0x44225d[_0x115dfd(0x1c1)](',\x20'),'sizes':_0x115dfd(0x1a6)+_0x5aa804+_0x115dfd(0x18e)+_0x5aa804+'px','type':_0x115dfd(0x197)}]};}function _0x3645(){const _0x1894b4=['uploadcareImageId','view','height','map','stopListening','listenTo','addClass','getAttribute','28839186aIgkon','hasAttribute','setStyle','1306514DGlztn','join','4388948SIvEXE','editing','1776540nGQGnQ','aspect-ratio','px)\x20100vw,\x20','viewToDom','baseURI','isArray','filter','some','x/\x20','change','plugins','image/webp','68954kypbZT','toViewElement','document','width','6359390cRNvvn','99FMGVSi','src','findViewImgElement','imageInline','domConverter','removeStyle','load','replace','ImageUtils','(max-width:\x20','128oESRFW','removeClass','match','imageBlock','image-processing','25473HtEoBd','element','mapper','/-/resize/','origin','location','function','window','get'];_0x3645=function(){return _0x1894b4;};return _0x3645();}function _0x18bc(_0xd70431,_0x58d906){const _0x364502=_0x3645();return _0x18bc=function(_0x18bc14,_0x54df9f){_0x18bc14=_0x18bc14-0x18a;let _0x4f485a=_0x364502[_0x18bc14];return _0x4f485a;},_0x18bc(_0xd70431,_0x58d906);}export function getImageDimension(_0x98e782,_0x47d186,_0x24b0d5){const _0x26ceda=_0x18bc,_0x4dca6d=_0x98e782[_0x26ceda(0x1a9)](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x4dca6d?parseInt(_0x4dca6d[0x1],0xa):_0x47d186,'height':_0x4dca6d?parseInt(_0x4dca6d[0x2],0xa):_0x24b0d5};}export function showImageProcessingIndicator(_0x523a12,_0x4d928d){const _0x251766=_0x18bc,_0x2dfb71=new(_0x59d4f7())(),_0x4abd95=_0x523a12[_0x251766(0x196)][_0x251766(0x1b4)](_0x251766(0x1a5)),_0x5ee79b=_0x523a12[_0x251766(0x18b)][_0x251766(0x1ae)][_0x251766(0x199)](_0x4d928d),_0x41b9a6=_0x4abd95[_0x251766(0x19f)](_0x5ee79b),_0x5488f8=_0x523a12[_0x251766(0x18b)][_0x251766(0x1b6)][_0x251766(0x1a1)][_0x251766(0x18f)](_0x41b9a6),_0x3027e6=_0x4d928d[_0x251766(0x1bc)](_0x251766(0x19b)),_0x6a6b91=_0x4d928d[_0x251766(0x1bc)](_0x251766(0x1b7)),_0x30622c=_0x251766(0x1ab);_0x523a12[_0x251766(0x18b)][_0x251766(0x1b6)][_0x251766(0x195)](_0x4554aa=>{const _0x370eb5=_0x251766;_0x4554aa[_0x370eb5(0x1bb)](_0x30622c,_0x5ee79b),_0x4554aa[_0x370eb5(0x1bf)](_0x370eb5(0x18d),_0x3027e6+'/'+_0x6a6b91,_0x41b9a6);}),_0x2dfb71[_0x251766(0x1ba)](_0x5488f8,_0x251766(0x1a3),()=>{const _0x28e6b0=_0x251766;_0x2dfb71[_0x28e6b0(0x1b9)](_0x5488f8,_0x28e6b0(0x1a3)),_0x523a12[_0x28e6b0(0x18b)][_0x28e6b0(0x1b6)][_0x28e6b0(0x195)](_0x1c6752=>{const _0x34c28=_0x28e6b0;_0x1c6752[_0x34c28(0x1a8)](_0x30622c,_0x5ee79b),_0x1c6752[_0x34c28(0x1a2)](_0x34c28(0x18d),_0x41b9a6);});});}function G(_0x3eff39){const _0x2336fc=_0x18bc;if(Array[_0x2336fc(0x191)](_0x3eff39)){const _0x26004e=_0x3eff39[_0x2336fc(0x1b8)](G);return _0x52727b=>_0x26004e[_0x2336fc(0x193)](_0x525ffa=>_0x525ffa(_0x52727b));}if(_0x2336fc(0x1b0)==_0x3eff39){const _0x22e249=_0x467d77[_0x2336fc(0x1b3)][_0x2336fc(0x1b1)][_0x2336fc(0x1b0)];return _0x5ad581=>new URL(_0x5ad581,_0x467d77[_0x2336fc(0x19a)][_0x2336fc(0x190)])[_0x2336fc(0x1b0)]==_0x22e249;}return _0x2336fc(0x1b2)==typeof _0x3eff39?_0x3eff39:_0x3eff39 instanceof RegExp?_0x12c9c0=>!(!_0x12c9c0[_0x2336fc(0x1a9)](_0x3eff39)&&!_0x12c9c0[_0x2336fc(0x1a4)](/^https?:\/\//,'')[_0x2336fc(0x1a9)](_0x3eff39)):()=>!0x1;}
|
|
@@ -1,7 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
|
-
*/
|
|
5
1
|
/**
|
|
6
2
|
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
7
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* +---------------------------------------------------------------------------------+
|
|
8
|
+
* | |
|
|
9
|
+
* | Hello stranger! |
|
|
10
|
+
* | |
|
|
11
|
+
* | |
|
|
12
|
+
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
+
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
+
* | are forbidden and will result in legal consequences. |
|
|
15
|
+
* | |
|
|
16
|
+
* | |
|
|
17
|
+
* +---------------------------------------------------------------------------------+
|
|
18
|
+
*
|
|
19
|
+
*
|
|
20
|
+
*
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
function _0x4ad8(_0x27b664,_0x9478d1){var _0x3e2f54=_0x3e2f();return _0x4ad8=function(_0x4ad856,_0x549890){_0x4ad856=_0x4ad856-0x67;var _0x42920e=_0x3e2f54[_0x4ad856];return _0x42920e;},_0x4ad8(_0x27b664,_0x9478d1);}(function(_0x193c98,_0x253f65){var _0x832d1=_0x4ad8,_0x2ea0cf=_0x193c98();while(!![]){try{var _0x4d896b=-parseInt(_0x832d1(0x71))/0x1*(parseInt(_0x832d1(0x6b))/0x2)+-parseInt(_0x832d1(0x67))/0x3+-parseInt(_0x832d1(0x6d))/0x4+-parseInt(_0x832d1(0x72))/0x5+-parseInt(_0x832d1(0x6f))/0x6+parseInt(_0x832d1(0x69))/0x7*(parseInt(_0x832d1(0x70))/0x8)+parseInt(_0x832d1(0x68))/0x9*(parseInt(_0x832d1(0x6c))/0xa);if(_0x4d896b===_0x253f65)break;else _0x2ea0cf['push'](_0x2ea0cf['shift']());}catch(_0x722fee){_0x2ea0cf['push'](_0x2ea0cf['shift']());}}}(_0x3e2f,0xe98b1));import{getAncestors as _0x3ad4f6}from'ckeditor5/src/utils.js';export function isAncestor(_0x34e93d,_0x428d0b){var _0x253999=_0x4ad8;return _0x3ad4f6(_0x34e93d[_0x253999(0x6e)])[_0x253999(0x6a)](_0x428d0b);}function _0x3e2f(){var _0x33887e=['2414781gTWnLP','17613EJpebL','3007627WyVTQO','includes','30Lbnwqd','24790aOjXxD','11476RRaFIO','target','5906706mjTkll','8FItlkD','41809JuSJhA','9525445kYEOQm'];_0x3e2f=function(){return _0x33887e;};return _0x3e2f();}
|
|
@@ -1,7 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
|
-
*/
|
|
5
1
|
/**
|
|
6
2
|
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
7
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* +---------------------------------------------------------------------------------+
|
|
8
|
+
* | |
|
|
9
|
+
* | Hello stranger! |
|
|
10
|
+
* | |
|
|
11
|
+
* | |
|
|
12
|
+
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
+
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
+
* | are forbidden and will result in legal consequences. |
|
|
15
|
+
* | |
|
|
16
|
+
* | |
|
|
17
|
+
* +---------------------------------------------------------------------------------+
|
|
18
|
+
*
|
|
19
|
+
*
|
|
20
|
+
*
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
function _0x29ca(_0x200119,_0x14bcd9){var _0x3dbf10=_0x3dbf();return _0x29ca=function(_0x29ca5a,_0x2c12d4){_0x29ca5a=_0x29ca5a-0xc9;var _0x228c1b=_0x3dbf10[_0x29ca5a];return _0x228c1b;},_0x29ca(_0x200119,_0x14bcd9);}var _0x5aace2=_0x29ca;(function(_0x1ee24c,_0x516a83){var _0x230e40=_0x29ca,_0x2d688c=_0x1ee24c();while(!![]){try{var _0x142c92=-parseInt(_0x230e40(0xce))/0x1*(parseInt(_0x230e40(0xd1))/0x2)+parseInt(_0x230e40(0xc9))/0x3+-parseInt(_0x230e40(0xd3))/0x4+-parseInt(_0x230e40(0xd2))/0x5+parseInt(_0x230e40(0xd4))/0x6*(-parseInt(_0x230e40(0xcb))/0x7)+-parseInt(_0x230e40(0xca))/0x8*(parseInt(_0x230e40(0xcf))/0x9)+-parseInt(_0x230e40(0xd0))/0xa*(-parseInt(_0x230e40(0xcd))/0xb);if(_0x142c92===_0x516a83)break;else _0x2d688c['push'](_0x2d688c['shift']());}catch(_0x472932){_0x2d688c['push'](_0x2d688c['shift']());}}}(_0x3dbf,0x77e98));import{uploadFile as _0x19510d,info as _0x2a4989}from'@uploadcare/upload-client';export class UploadUtils{static[_0x5aace2(0xd5)]({file:_0x1fb8b0,..._0x5bd680}){return _0x19510d(_0x1fb8b0,_0x5bd680);}static[_0x5aace2(0xcc)](_0x7ef746,_0x1add7f){return _0x2a4989(_0x7ef746,_0x1add7f);}}function _0x3dbf(){var _0x1c8a16=['90674MgVAgr','45noTqOy','10aMAhZQ','16ioBTqC','2116000AQmoyb','3553644rdrZKT','872286nIsJLF','upload','2905782TOrqRH','1516688dtUtjA','35qqpojX','getInfo','35578444CiHSGc'];_0x3dbf=function(){return _0x1c8a16;};return _0x3dbf();}
|