@ckeditor/ckeditor5-uploadcare 47.3.0 → 47.4.0-alpha.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/LICENSE.md +2 -2
- package/README.md +1 -1
- package/build/uploadcare.js +3 -3
- package/dist/index-content.css +1 -1
- package/dist/index-editor.css +41 -79
- package/dist/index.css +95 -85
- package/dist/index.js +4 -4
- package/dist/translations/af.d.ts +1 -1
- package/dist/translations/af.js +2 -2
- package/dist/translations/af.umd.js +2 -2
- package/dist/translations/ar.d.ts +1 -1
- package/dist/translations/ar.js +2 -2
- package/dist/translations/ar.umd.js +2 -2
- package/dist/translations/ast.d.ts +1 -1
- package/dist/translations/ast.js +2 -2
- package/dist/translations/ast.umd.js +2 -2
- package/dist/translations/az.d.ts +1 -1
- package/dist/translations/az.js +2 -2
- package/dist/translations/az.umd.js +2 -2
- package/dist/translations/be.d.ts +1 -1
- package/dist/translations/be.js +2 -2
- package/dist/translations/be.umd.js +2 -2
- package/dist/translations/bg.d.ts +1 -1
- package/dist/translations/bg.js +2 -2
- package/dist/translations/bg.umd.js +2 -2
- package/dist/translations/bn.d.ts +1 -1
- package/dist/translations/bn.js +2 -2
- package/dist/translations/bn.umd.js +2 -2
- package/dist/translations/bs.d.ts +1 -1
- package/dist/translations/bs.js +2 -2
- package/dist/translations/bs.umd.js +2 -2
- package/dist/translations/ca.d.ts +1 -1
- package/dist/translations/ca.js +2 -2
- package/dist/translations/ca.umd.js +2 -2
- package/dist/translations/cs.d.ts +1 -1
- package/dist/translations/cs.js +2 -2
- package/dist/translations/cs.umd.js +2 -2
- package/dist/translations/da.d.ts +1 -1
- package/dist/translations/da.js +2 -2
- package/dist/translations/da.umd.js +2 -2
- package/dist/translations/de-ch.d.ts +1 -1
- package/dist/translations/de-ch.js +2 -2
- package/dist/translations/de-ch.umd.js +2 -2
- package/dist/translations/de.d.ts +1 -1
- package/dist/translations/de.js +2 -2
- package/dist/translations/de.umd.js +2 -2
- package/dist/translations/el.d.ts +1 -1
- package/dist/translations/el.js +2 -2
- package/dist/translations/el.umd.js +2 -2
- package/dist/translations/en-au.d.ts +1 -1
- package/dist/translations/en-au.js +2 -2
- package/dist/translations/en-au.umd.js +2 -2
- package/dist/translations/en-gb.d.ts +1 -1
- package/dist/translations/en-gb.js +2 -2
- package/dist/translations/en-gb.umd.js +2 -2
- package/dist/translations/en.d.ts +1 -1
- package/dist/translations/en.js +2 -2
- package/dist/translations/en.umd.js +2 -2
- package/dist/translations/eo.d.ts +1 -1
- package/dist/translations/eo.js +2 -2
- package/dist/translations/eo.umd.js +2 -2
- package/dist/translations/es-co.d.ts +1 -1
- package/dist/translations/es-co.js +2 -2
- package/dist/translations/es-co.umd.js +2 -2
- package/dist/translations/es.d.ts +1 -1
- package/dist/translations/es.js +2 -2
- package/dist/translations/es.umd.js +2 -2
- package/dist/translations/et.d.ts +1 -1
- package/dist/translations/et.js +2 -2
- package/dist/translations/et.umd.js +2 -2
- package/dist/translations/eu.d.ts +1 -1
- package/dist/translations/eu.js +2 -2
- package/dist/translations/eu.umd.js +2 -2
- package/dist/translations/fa.d.ts +1 -1
- package/dist/translations/fa.js +2 -2
- package/dist/translations/fa.umd.js +2 -2
- package/dist/translations/fi.d.ts +1 -1
- package/dist/translations/fi.js +2 -2
- package/dist/translations/fi.umd.js +2 -2
- package/dist/translations/fr.d.ts +1 -1
- package/dist/translations/fr.js +2 -2
- package/dist/translations/fr.umd.js +2 -2
- package/dist/translations/gl.d.ts +1 -1
- package/dist/translations/gl.js +2 -2
- package/dist/translations/gl.umd.js +2 -2
- package/dist/translations/gu.d.ts +1 -1
- package/dist/translations/gu.js +2 -2
- package/dist/translations/gu.umd.js +2 -2
- package/dist/translations/he.d.ts +1 -1
- package/dist/translations/he.js +2 -2
- package/dist/translations/he.umd.js +2 -2
- package/dist/translations/hi.d.ts +1 -1
- package/dist/translations/hi.js +2 -2
- package/dist/translations/hi.umd.js +2 -2
- package/dist/translations/hr.d.ts +1 -1
- package/dist/translations/hr.js +2 -2
- package/dist/translations/hr.umd.js +2 -2
- package/dist/translations/hu.d.ts +1 -1
- package/dist/translations/hu.js +2 -2
- package/dist/translations/hu.umd.js +2 -2
- package/dist/translations/hy.d.ts +1 -1
- package/dist/translations/hy.js +2 -2
- package/dist/translations/hy.umd.js +2 -2
- package/dist/translations/id.d.ts +1 -1
- package/dist/translations/id.js +2 -2
- package/dist/translations/id.umd.js +2 -2
- package/dist/translations/it.d.ts +1 -1
- package/dist/translations/it.js +2 -2
- package/dist/translations/it.umd.js +2 -2
- package/dist/translations/ja.d.ts +1 -1
- package/dist/translations/ja.js +2 -2
- package/dist/translations/ja.umd.js +2 -2
- package/dist/translations/jv.d.ts +1 -1
- package/dist/translations/jv.js +2 -2
- package/dist/translations/jv.umd.js +2 -2
- package/dist/translations/kk.d.ts +1 -1
- package/dist/translations/kk.js +2 -2
- package/dist/translations/kk.umd.js +2 -2
- package/dist/translations/km.d.ts +1 -1
- package/dist/translations/km.js +2 -2
- package/dist/translations/km.umd.js +2 -2
- package/dist/translations/kn.d.ts +1 -1
- package/dist/translations/kn.js +2 -2
- package/dist/translations/kn.umd.js +2 -2
- package/dist/translations/ko.d.ts +1 -1
- package/dist/translations/ko.js +2 -2
- package/dist/translations/ko.umd.js +2 -2
- package/dist/translations/ku.d.ts +1 -1
- package/dist/translations/ku.js +2 -2
- package/dist/translations/ku.umd.js +2 -2
- package/dist/translations/lt.d.ts +1 -1
- package/dist/translations/lt.js +2 -2
- package/dist/translations/lt.umd.js +2 -2
- package/dist/translations/lv.d.ts +1 -1
- package/dist/translations/lv.js +2 -2
- package/dist/translations/lv.umd.js +2 -2
- package/dist/translations/ms.d.ts +1 -1
- package/dist/translations/ms.js +2 -2
- package/dist/translations/ms.umd.js +2 -2
- package/dist/translations/nb.d.ts +1 -1
- package/dist/translations/nb.js +2 -2
- package/dist/translations/nb.umd.js +2 -2
- package/dist/translations/ne.d.ts +1 -1
- package/dist/translations/ne.js +2 -2
- package/dist/translations/ne.umd.js +2 -2
- package/dist/translations/nl.d.ts +1 -1
- package/dist/translations/nl.js +2 -2
- package/dist/translations/nl.umd.js +2 -2
- package/dist/translations/no.d.ts +1 -1
- package/dist/translations/no.js +2 -2
- package/dist/translations/no.umd.js +2 -2
- package/dist/translations/oc.d.ts +1 -1
- package/dist/translations/oc.js +2 -2
- package/dist/translations/oc.umd.js +2 -2
- package/dist/translations/pl.d.ts +1 -1
- package/dist/translations/pl.js +2 -2
- package/dist/translations/pl.umd.js +2 -2
- package/dist/translations/pt-br.d.ts +1 -1
- package/dist/translations/pt-br.js +2 -2
- package/dist/translations/pt-br.umd.js +2 -2
- package/dist/translations/pt.d.ts +1 -1
- package/dist/translations/pt.js +2 -2
- package/dist/translations/pt.umd.js +2 -2
- package/dist/translations/ro.d.ts +1 -1
- package/dist/translations/ro.js +2 -2
- package/dist/translations/ro.umd.js +2 -2
- package/dist/translations/ru.d.ts +1 -1
- package/dist/translations/ru.js +2 -2
- package/dist/translations/ru.umd.js +2 -2
- package/dist/translations/si.d.ts +1 -1
- package/dist/translations/si.js +2 -2
- package/dist/translations/si.umd.js +2 -2
- package/dist/translations/sk.d.ts +1 -1
- package/dist/translations/sk.js +2 -2
- package/dist/translations/sk.umd.js +2 -2
- package/dist/translations/sl.d.ts +1 -1
- package/dist/translations/sl.js +2 -2
- package/dist/translations/sl.umd.js +2 -2
- package/dist/translations/sq.d.ts +1 -1
- package/dist/translations/sq.js +2 -2
- package/dist/translations/sq.umd.js +2 -2
- package/dist/translations/sr-latn.d.ts +1 -1
- package/dist/translations/sr-latn.js +2 -2
- package/dist/translations/sr-latn.umd.js +2 -2
- package/dist/translations/sr.d.ts +1 -1
- package/dist/translations/sr.js +2 -2
- package/dist/translations/sr.umd.js +2 -2
- package/dist/translations/sv.d.ts +1 -1
- package/dist/translations/sv.js +2 -2
- package/dist/translations/sv.umd.js +2 -2
- package/dist/translations/th.d.ts +1 -1
- package/dist/translations/th.js +2 -2
- package/dist/translations/th.umd.js +2 -2
- package/dist/translations/ti.d.ts +1 -1
- package/dist/translations/ti.js +2 -2
- package/dist/translations/ti.umd.js +2 -2
- package/dist/translations/tk.d.ts +1 -1
- package/dist/translations/tk.js +2 -2
- package/dist/translations/tk.umd.js +2 -2
- package/dist/translations/tr.d.ts +1 -1
- package/dist/translations/tr.js +2 -2
- package/dist/translations/tr.umd.js +2 -2
- package/dist/translations/tt.d.ts +1 -1
- package/dist/translations/tt.js +2 -2
- package/dist/translations/tt.umd.js +2 -2
- package/dist/translations/ug.d.ts +1 -1
- package/dist/translations/ug.js +2 -2
- package/dist/translations/ug.umd.js +2 -2
- package/dist/translations/uk.d.ts +1 -1
- package/dist/translations/uk.js +2 -2
- package/dist/translations/uk.umd.js +2 -2
- package/dist/translations/ur.d.ts +1 -1
- package/dist/translations/ur.js +2 -2
- package/dist/translations/ur.umd.js +2 -2
- package/dist/translations/uz.d.ts +1 -1
- package/dist/translations/uz.js +2 -2
- package/dist/translations/uz.umd.js +2 -2
- package/dist/translations/vi.d.ts +1 -1
- package/dist/translations/vi.js +2 -2
- package/dist/translations/vi.umd.js +2 -2
- package/dist/translations/zh-cn.d.ts +1 -1
- package/dist/translations/zh-cn.js +2 -2
- package/dist/translations/zh-cn.umd.js +2 -2
- package/dist/translations/zh.d.ts +1 -1
- package/dist/translations/zh.js +2 -2
- package/dist/translations/zh.umd.js +2 -2
- package/lang/translations/af.po +1 -1
- package/lang/translations/ar.po +1 -1
- package/lang/translations/ast.po +1 -1
- package/lang/translations/az.po +1 -1
- package/lang/translations/be.po +1 -1
- package/lang/translations/bg.po +1 -1
- package/lang/translations/bn.po +1 -1
- package/lang/translations/bs.po +1 -1
- package/lang/translations/ca.po +1 -1
- package/lang/translations/cs.po +1 -1
- package/lang/translations/da.po +1 -1
- package/lang/translations/de-ch.po +1 -1
- package/lang/translations/de.po +1 -1
- package/lang/translations/el.po +1 -1
- package/lang/translations/en-au.po +1 -1
- package/lang/translations/en-gb.po +1 -1
- package/lang/translations/en.po +1 -1
- package/lang/translations/eo.po +1 -1
- package/lang/translations/es-co.po +1 -1
- package/lang/translations/es.po +1 -1
- package/lang/translations/et.po +1 -1
- package/lang/translations/eu.po +1 -1
- package/lang/translations/fa.po +1 -1
- package/lang/translations/fi.po +1 -1
- package/lang/translations/fr.po +1 -1
- package/lang/translations/gl.po +1 -1
- package/lang/translations/gu.po +1 -1
- package/lang/translations/he.po +1 -1
- package/lang/translations/hi.po +1 -1
- package/lang/translations/hr.po +1 -1
- package/lang/translations/hu.po +1 -1
- package/lang/translations/hy.po +1 -1
- package/lang/translations/id.po +1 -1
- package/lang/translations/it.po +1 -1
- package/lang/translations/ja.po +1 -1
- package/lang/translations/jv.po +1 -1
- package/lang/translations/kk.po +1 -1
- package/lang/translations/km.po +1 -1
- package/lang/translations/kn.po +1 -1
- package/lang/translations/ko.po +1 -1
- package/lang/translations/ku.po +1 -1
- package/lang/translations/lt.po +1 -1
- package/lang/translations/lv.po +1 -1
- package/lang/translations/ms.po +1 -1
- package/lang/translations/nb.po +1 -1
- package/lang/translations/ne.po +1 -1
- package/lang/translations/nl.po +1 -1
- package/lang/translations/no.po +1 -1
- package/lang/translations/oc.po +1 -1
- package/lang/translations/pl.po +1 -1
- package/lang/translations/pt-br.po +1 -1
- package/lang/translations/pt.po +1 -1
- package/lang/translations/ro.po +1 -1
- package/lang/translations/ru.po +1 -1
- package/lang/translations/si.po +1 -1
- package/lang/translations/sk.po +1 -1
- package/lang/translations/sl.po +1 -1
- package/lang/translations/sq.po +1 -1
- package/lang/translations/sr-latn.po +1 -1
- package/lang/translations/sr.po +1 -1
- package/lang/translations/sv.po +1 -1
- package/lang/translations/th.po +1 -1
- package/lang/translations/ti.po +1 -1
- package/lang/translations/tk.po +1 -1
- package/lang/translations/tr.po +1 -1
- package/lang/translations/tt.po +1 -1
- package/lang/translations/ug.po +1 -1
- package/lang/translations/uk.po +1 -1
- package/lang/translations/ur.po +1 -1
- package/lang/translations/uz.po +1 -1
- package/lang/translations/vi.po +1 -1
- package/lang/translations/zh-cn.po +1 -1
- package/lang/translations/zh.po +1 -1
- package/package.json +11 -11
- package/src/augmentation.d.ts +1 -1
- package/src/augmentation.js +1 -1
- package/src/index.d.ts +1 -1
- package/src/index.js +2 -2
- package/src/ui/uploadcarecontroller.d.ts +1 -1
- package/src/ui/uploadcarecontroller.js +3 -3
- package/src/ui/uploadcareformview.d.ts +1 -1
- package/src/ui/uploadcareformview.js +2 -2
- package/src/uploadcare.d.ts +1 -1
- package/src/uploadcare.js +2 -2
- package/src/uploadcarecommand.d.ts +1 -1
- package/src/uploadcarecommand.js +2 -2
- package/src/uploadcareconfig.d.ts +1 -1
- package/src/uploadcareconfig.js +2 -2
- package/src/uploadcareediting.d.ts +1 -1
- package/src/uploadcareediting.js +2 -2
- package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.d.ts +1 -1
- package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.js +3 -3
- package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.d.ts +1 -1
- package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.js +2 -2
- package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.d.ts +1 -1
- package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.js +2 -2
- package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.d.ts +1 -1
- package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.js +2 -2
- package/src/uploadcareimageedit/ui/uploadcareimageeditformview.d.ts +1 -1
- package/src/uploadcareimageedit/ui/uploadcareimageeditformview.js +2 -2
- package/src/uploadcareimageedit/uploadcareimageeditcommand.d.ts +1 -1
- package/src/uploadcareimageedit/uploadcareimageeditcommand.js +2 -2
- package/src/uploadcareimageedit/uploadcareimageeditediting.d.ts +1 -1
- package/src/uploadcareimageedit/uploadcareimageeditediting.js +2 -2
- package/src/uploadcareimageedit/uploadcareimageeditui.d.ts +1 -1
- package/src/uploadcareimageedit/uploadcareimageeditui.js +2 -2
- package/src/uploadcareimageedit/uploadcareimagereplacecommand.d.ts +1 -1
- package/src/uploadcareimageedit/uploadcareimagereplacecommand.js +2 -2
- package/src/uploadcareimageedit.d.ts +1 -1
- package/src/uploadcareimageedit.js +2 -2
- package/src/uploadcareui.d.ts +1 -1
- package/src/uploadcareui.js +2 -2
- package/src/uploadcareuploadadapter.d.ts +1 -1
- package/src/uploadcareuploadadapter.js +2 -2
- package/src/utils/common-translations.d.ts +1 -1
- package/src/utils/common-translations.js +2 -2
- package/src/utils/dialogfocusmanagerview.d.ts +1 -1
- package/src/utils/dialogfocusmanagerview.js +2 -2
- package/src/utils/editingutils.d.ts +1 -1
- package/src/utils/editingutils.js +2 -2
- package/src/utils/isancestor.d.ts +1 -1
- package/src/utils/isancestor.js +2 -2
- package/src/utils/uploadutils.d.ts +1 -1
- package/src/utils/uploadutils.js +2 -2
- package/theme/uploadcare-form.css +5 -2
- package/theme/uploadcare-theme.css +1 -1
- package/theme/uploadcareimageedit.css +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2003-
|
|
2
|
+
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1d2c25=_0x17ff;function _0x17ff(_0x3c11e0,_0x4d238a){const _0x159ba6=_0x159b();return _0x17ff=function(_0x17ff27,_0x5c970f){_0x17ff27=_0x17ff27-0x1b3;let _0x16e120=_0x159ba6[_0x17ff27];return _0x16e120;},_0x17ff(_0x3c11e0,_0x4d238a);}(function(_0x28e7cd,_0x5ae9dc){const _0x554d96=_0x17ff,_0x48fe2c=_0x28e7cd();while(!![]){try{const _0x2a32e3=parseInt(_0x554d96(0x1d6))/0x1*(parseInt(_0x554d96(0x1b8))/0x2)+-parseInt(_0x554d96(0x1b5))/0x3+parseInt(_0x554d96(0x1c7))/0x4*(parseInt(_0x554d96(0x1bc))/0x5)+parseInt(_0x554d96(0x1e7))/0x6*(-parseInt(_0x554d96(0x1c5))/0x7)+parseInt(_0x554d96(0x1e0))/0x8*(-parseInt(_0x554d96(0x1cc))/0x9)+-parseInt(_0x554d96(0x1c0))/0xa+-parseInt(_0x554d96(0x1d4))/0xb*(-parseInt(_0x554d96(0x1e5))/0xc);if(_0x2a32e3===_0x5ae9dc)break;else _0x48fe2c['push'](_0x48fe2c['shift']());}catch(_0xa5881a){_0x48fe2c['push'](_0x48fe2c['shift']());}}}(_0x159b,0x43abc));import{View as _0x5782a8}from'ckeditor5/src/ui.js';import{UploadcareImageEditFormLoadingView as _0x48cd8c}from'./uploadcareimageeditformloadingview.js';import{UploadcareImageEditFormErrorView as _0x2c47fa}from'./uploadcareimageeditformerrorview.js';import{UploadcareImageEditFormEditingView as _0xbe34e2}from'./uploadcareimageeditformeditingview.js';import{DialogFocusManagerView as _0x3a9dab}from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';function _0x159b(){const _0x265e2a=['setTemplate','set','43183NtrsxY','error','4NCclfZ','toLowerCase','uploading','addMany','element','101673hiKuGa','_addErrorViewListeners','observe','ck-uploadcare-form','status','focus','_setView','nodeName','1512005KAAsAj','addedNodes','61mUaURI','disconnect','ck-reset_all-excluded','_focusableView','div','_addUploadcareImageEditorListeners','querySelector','target','addEventListener','retry','40DaRhWC','add','getFocusableElement','_editingView','apply','24JVVjRj','_waitForImageEditorComponent','270DpJaSk','uc-cloud-image-editor','cdnUrl','ready','_errorView','render','cancel','25806ZXHXHN','once','fire','6800gpoJNo','_items','createCollection','change:status','1860075jwdiqm','detail','length','filter','2344530DMTRpI','_loadingView','clear'];_0x159b=function(){return _0x265e2a;};return _0x159b();}export class UploadcareImageEditFormView extends _0x3a9dab{[_0x1d2c25(0x1b9)];[_0x1d2c25(0x1c1)];[_0x1d2c25(0x1eb)];[_0x1d2c25(0x1e3)];[_0x1d2c25(0x1d9)];constructor(_0x4fb8a8,_0x3aac16,_0x558e63){const _0x5a1282=_0x1d2c25;super(_0x4fb8a8),this[_0x5a1282(0x1b9)]=this[_0x5a1282(0x1ba)](),this[_0x5a1282(0x1c1)]=new _0x48cd8c(_0x4fb8a8),this[_0x5a1282(0x1eb)]=new _0x2c47fa(_0x4fb8a8),this[_0x5a1282(0x1e3)]=new _0xbe34e2(_0x4fb8a8,_0x558e63),this[_0x5a1282(0x1d9)]=new _0x5782a8(_0x4fb8a8),this[_0x5a1282(0x1d9)][_0x5a1282(0x1c3)](this[_0x5a1282(0x1e2)]()),this[_0x5a1282(0x1c4)](_0x5a1282(0x1d0),_0x3aac16),this[_0x5a1282(0x1c3)]({'tag':_0x5a1282(0x1da),'attributes':{'class':['ck',_0x5a1282(0x1d8),_0x5a1282(0x1cf)],'tabindex':'-1'},'children':this[_0x5a1282(0x1b9)]}),this[_0x5a1282(0x1d2)](),this[_0x5a1282(0x1b6)](_0x5a1282(0x1b3),()=>{const _0x3e8b8a=_0x5a1282;this[_0x3e8b8a(0x1e6)](this[_0x3e8b8a(0x1cb)],_0x9100d3=>{const _0x57779e=_0x3e8b8a;this[_0x57779e(0x1db)](_0x9100d3);});}),this['on'](_0x5a1282(0x1bb),()=>{const _0x2cca5a=_0x5a1282;this[_0x2cca5a(0x1d2)]();}),this[_0x5a1282(0x1cd)]();}[_0x1d2c25(0x1d1)](){const _0x463e67=_0x1d2c25;this[_0x463e67(0x1cb)][_0x463e67(0x1d1)]();}[_0x1d2c25(0x1d2)](){const _0x962063=_0x1d2c25;switch(this[_0x962063(0x1b9)][_0x962063(0x1c2)](),this[_0x962063(0x1d0)]){case _0x962063(0x1c9):this[_0x962063(0x1b9)][_0x962063(0x1e1)](this[_0x962063(0x1c1)]);break;case _0x962063(0x1c6):this[_0x962063(0x1b9)][_0x962063(0x1e1)](this[_0x962063(0x1eb)]);break;case _0x962063(0x1ea):this[_0x962063(0x1b9)][_0x962063(0x1ca)]([this[_0x962063(0x1e3)],this[_0x962063(0x1d9)]]);}}[_0x1d2c25(0x1e6)](_0x124aa1,_0x4f2589){const _0x27a84e=_0x1d2c25,_0x28049d=_0x27a84e(0x1e8),_0x17a390=_0x124aa1[_0x27a84e(0x1dc)](_0x28049d);if(_0x17a390)return _0x4f2589(_0x17a390);const _0xe3ca22=new MutationObserver(_0x4388b6=>{const _0x3d13f0=_0x27a84e,_0x3c6621=_0x4388b6[_0x3d13f0(0x1bf)](_0x2c3740=>_0x2c3740[_0x3d13f0(0x1dd)]===_0x124aa1&&_0x2c3740[_0x3d13f0(0x1d5)][_0x3d13f0(0x1be)]>0x0&&_0x2c3740[_0x3d13f0(0x1d5)][0x0][_0x3d13f0(0x1d3)][_0x3d13f0(0x1c8)]()===_0x28049d);_0x3c6621[_0x3d13f0(0x1be)]&&(_0xe3ca22[_0x3d13f0(0x1d7)](),_0x4f2589(_0x3c6621[0x0][_0x3d13f0(0x1d5)][0x0]));});_0xe3ca22[_0x27a84e(0x1ce)](_0x124aa1,{'childList':!0x0,'subtree':!0x0});}[_0x1d2c25(0x1db)](_0x3c698e){const _0x1ad1cb=_0x1d2c25;_0x3c698e[_0x1ad1cb(0x1de)](_0x1ad1cb(0x1e4),_0xa91fcd=>{const _0x30e7d3=_0x1ad1cb;this[_0x30e7d3(0x1b7)](_0x30e7d3(0x1e4),{'imageSrc':_0xa91fcd[_0x30e7d3(0x1bd)][_0x30e7d3(0x1e9)]});}),_0x3c698e[_0x1ad1cb(0x1de)](_0x1ad1cb(0x1b4),()=>{const _0x57f7db=_0x1ad1cb;this[_0x57f7db(0x1b7)](_0x57f7db(0x1b4));});}[_0x1d2c25(0x1cd)](){const _0x436943=_0x1d2c25;this[_0x436943(0x1eb)]['on'](_0x436943(0x1df),()=>{const _0x4de48c=_0x436943;this[_0x4de48c(0x1b7)](_0x4de48c(0x1df));});}}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2003-
|
|
2
|
+
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2fe99e=_0x41eb;(function(_0x369b66,_0x49a52c){const _0x395a1a=_0x41eb,_0x537dba=_0x369b66();while(!![]){try{const _0x351016=parseInt(_0x395a1a(0x1d8))/0x1+-parseInt(_0x395a1a(0x1e2))/0x2+parseInt(_0x395a1a(0x1e3))/0x3+parseInt(_0x395a1a(0x1df))/0x4*(parseInt(_0x395a1a(0x1e1))/0x5)+parseInt(_0x395a1a(0x1d6))/0x6*(parseInt(_0x395a1a(0x1da))/0x7)+-parseInt(_0x395a1a(0x1d9))/0x8+-parseInt(_0x395a1a(0x1e7))/0x9*(parseInt(_0x395a1a(0x1de))/0xa);if(_0x351016===_0x49a52c)break;else _0x537dba['push'](_0x537dba['shift']());}catch(_0x1bd3ac){_0x537dba['push'](_0x537dba['shift']());}}}(_0x31f8,0x791e6));import{Command as _0x594ddb}from'ckeditor5/src/core.js';function _0x41eb(_0x525025,_0x48aeed){const _0x31f819=_0x31f8();return _0x41eb=function(_0x41eb35,_0x4ff404){_0x41eb35=_0x41eb35-0x1d3;let _0x318a07=_0x31f819[_0x41eb35];return _0x318a07;},_0x41eb(_0x525025,_0x48aeed);}import{Dialog as _0x2a18a3}from'ckeditor5/src/ui.js';import{UploadcareImageEditController as _0x4f5959}from'./ui/uploadcareimageeditcontroller.js';function _0x31f8(){const _0x470255=['907016gJbTQN','7841776qEHTcB','1946GAfyRc','element','execute','selection','525990WPHvPd','4qxoENp','config','2160265YaXpen','308026FyTmRZ','1090023hdpHqN','document','isEnabled','imageBlock','99UtREgq','imageEditController','imageInline','uploadcare.allowExternalImagesEditing','editor','plugins','getSelectedElement','bind','unbind','requires','get','model','isActive','refresh','_isEditable','10932rCalPm','set'];_0x31f8=function(){return _0x470255;};return _0x31f8();}import{createEditabilityChecker as _0x3dbd85}from'../utils/editingutils.js';export class UploadcareImageEditCommand extends _0x594ddb{[_0x2fe99e(0x1e8)];static get[_0x2fe99e(0x1f0)](){return[_0x2a18a3];}[_0x2fe99e(0x1d5)];constructor(_0x281398){const _0x46be54=_0x2fe99e;super(_0x281398),this[_0x46be54(0x1e8)]=void 0x0,this[_0x46be54(0x1d5)]=_0x3dbd85(_0x281398[_0x46be54(0x1e0)][_0x46be54(0x1f1)](_0x46be54(0x1ea))||[]),this[_0x46be54(0x1d7)]({'isActive':!0x1});}[_0x2fe99e(0x1d4)](){const _0x57855f=_0x2fe99e,_0x54d024=this[_0x57855f(0x1eb)][_0x57855f(0x1f2)][_0x57855f(0x1e4)][_0x57855f(0x1dd)][_0x57855f(0x1ed)]();this[_0x57855f(0x1e5)]=this[_0x57855f(0x1d5)](_0x54d024);}[_0x2fe99e(0x1dc)](){const _0xa1013e=_0x2fe99e;this[_0xa1013e(0x1e8)]&&(this[_0xa1013e(0x1ef)](_0xa1013e(0x1d3)),this[_0xa1013e(0x1e8)]=void 0x0);const _0x374a56=this[_0xa1013e(0x1eb)][_0xa1013e(0x1f2)][_0xa1013e(0x1e4)][_0xa1013e(0x1dd)][_0xa1013e(0x1ed)]();_0x374a56&&(_0x374a56['is'](_0xa1013e(0x1db),_0xa1013e(0x1e6))||_0x374a56['is'](_0xa1013e(0x1db),_0xa1013e(0x1e9)))&&(this[_0xa1013e(0x1e8)]=new _0x4f5959(this[_0xa1013e(0x1eb)],this[_0xa1013e(0x1eb)][_0xa1013e(0x1ec)][_0xa1013e(0x1f1)](_0x2a18a3),_0x374a56),this[_0xa1013e(0x1ee)](_0xa1013e(0x1d3))['to'](this[_0xa1013e(0x1e8)],_0xa1013e(0x1d3)));}}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2003-
|
|
2
|
+
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4c3d29=_0xc896;(function(_0x1c4c10,_0x543033){const _0x138790=_0xc896,_0xa2aa23=_0x1c4c10();while(!![]){try{const _0x292617=-parseInt(_0x138790(0x169))/0x1*(-parseInt(_0x138790(0x176))/0x2)+-parseInt(_0x138790(0x174))/0x3+-parseInt(_0x138790(0x177))/0x4+parseInt(_0x138790(0x16f))/0x5+parseInt(_0x138790(0x179))/0x6+parseInt(_0x138790(0x16c))/0x7+-parseInt(_0x138790(0x175))/0x8*(parseInt(_0x138790(0x167))/0x9);if(_0x292617===_0x543033)break;else _0xa2aa23['push'](_0xa2aa23['shift']());}catch(_0x596bb3){_0xa2aa23['push'](_0xa2aa23['shift']());}}}(_0x32c2,0x4815e));import{Plugin as _0x32e310}from'ckeditor5/src/core.js';function _0xc896(_0x9ea13f,_0x331c89){const _0x32c27f=_0x32c2();return _0xc896=function(_0xc8961,_0x3c5471){_0xc8961=_0xc8961-0x165;let _0x209a7b=_0x32c27f[_0xc8961];return _0x209a7b;},_0xc896(_0x9ea13f,_0x331c89);}import{Notification as _0x4384a8}from'ckeditor5/src/ui.js';import{UploadcareImageEditCommand as _0x4d198d}from'./uploadcareimageeditcommand.js';import{UploadcareImageReplaceCommand as _0x2e1438}from'./uploadcareimagereplacecommand.js';import{UploadcareEditing as _0x206aa2}from'../uploadcareediting.js';export class UploadcareImageEditEditing extends _0x32e310{static get[_0x4c3d29(0x170)](){const _0x5a7543=_0x4c3d29;return _0x5a7543(0x178);}static get[_0x4c3d29(0x16b)](){const _0x33abcb=_0x4c3d29;return[_0x206aa2,_0x4384a8,_0x33abcb(0x165),_0x33abcb(0x16e)];}static get[_0x4c3d29(0x172)](){return!0x0;}static get[_0x4c3d29(0x168)](){return!0x0;}[_0x4c3d29(0x171)](){const _0x2e6427=_0x4c3d29,{editor:_0x4b0b60}=this;_0x4b0b60[_0x2e6427(0x173)][_0x2e6427(0x16d)](_0x2e6427(0x166),new _0x4d198d(_0x4b0b60)),_0x4b0b60[_0x2e6427(0x173)][_0x2e6427(0x16d)](_0x2e6427(0x16a),new _0x2e1438(_0x4b0b60));}}function _0x32c2(){const _0x2d3382=['uploadcareImageReplace','requires','3060967knbziz','add','ImageEditing','341300LpCNSH','pluginName','init','isOfficialPlugin','commands','1130958VhFCmi','2264PbJKRA','87592spaPEc','1962992XiPjEa','UploadcareImageEditEditing','2932638cfJIlJ','ImageUtils','uploadcareImageEdit','5778rVAPkE','isPremiumPlugin','8xLemaR'];_0x32c2=function(){return _0x2d3382;};return _0x32c2();}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2003-
|
|
2
|
+
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as
|
|
23
|
+
import{Plugin as _0x430518}from'ckeditor5/src/core.js';import{ButtonView as _0x557aff}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x3a4a59}from'ckeditor5/src/icons.js';import{createElement as _0x397c24}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 _0x430518{['_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 _0x17dfa4=this['editor'];_0x17dfa4['ui']['componentFactory']['add']('uploadcareImageEdit',_0x104f96=>{const _0x5285c5=_0x17dfa4['commands']['get']('uploadcareImageEdit'),_0x314216=new _0x557aff(_0x104f96),t=_0x104f96['t'];return _0x314216['set']({'icon':_0x3a4a59,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x314216['bind']('isEnabled')['to'](_0x5285c5),_0x314216['bind']('isOn')['to'](_0x5285c5,'isActive'),this['listenTo'](_0x314216,'execute',()=>{_0x17dfa4['execute']('uploadcareImageEdit'),_0x17dfa4['editing']['view']['focus']();}),_0x314216;}),this['_initConfig']();}['_initConfig'](){const _0x31d033=_0x397c24(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x31d033),this['listenTo'](this['editor'],'destroy',()=>{_0x31d033['remove']();});}}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2003-
|
|
2
|
+
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x2c88(_0x2de230,_0x513883){const _0x5de1f5=_0x5de1();return _0x2c88=function(_0x2c887a,_0x5e711b){_0x2c887a=_0x2c887a-0xca;let _0x5b6cb9=_0x5de1f5[_0x2c887a];return _0x5b6cb9;},_0x2c88(_0x2de230,_0x513883);}const _0x356152=_0x2c88;(function(_0x5047c1,_0x22b664){const _0x35f467=_0x2c88,_0x491333=_0x5047c1();while(!![]){try{const _0x2f4195=parseInt(_0x35f467(0xd9))/0x1*(parseInt(_0x35f467(0xd8))/0x2)+parseInt(_0x35f467(0xe1))/0x3*(parseInt(_0x35f467(0xe3))/0x4)+parseInt(_0x35f467(0xdd))/0x5+parseInt(_0x35f467(0xda))/0x6*(-parseInt(_0x35f467(0xd3))/0x7)+parseInt(_0x35f467(0xd5))/0x8+-parseInt(_0x35f467(0xe2))/0x9+-parseInt(_0x35f467(0xcd))/0xa;if(_0x2f4195===_0x22b664)break;else _0x491333['push'](_0x491333['shift']());}catch(_0x141742){_0x491333['push'](_0x491333['shift']());}}}(_0x5de1,0x4aa9f));import{Command as _0x3030d1}from'ckeditor5/src/core.js';export class UploadcareImageReplaceCommand extends _0x3030d1{[_0x356152(0xdc)](){const _0x9da787=_0x356152,_0x39b510=this[_0x9da787(0xd0)][_0x9da787(0xd2)][_0x9da787(0xe0)][_0x9da787(0xcb)][_0x9da787(0xd7)]();this[_0x9da787(0xdb)]=Boolean(_0x39b510&&(_0x39b510['is'](_0x9da787(0xce),_0x9da787(0xcc))||_0x39b510['is'](_0x9da787(0xce),_0x9da787(0xd1))));}[_0x356152(0xcf)](_0x3b7d9a){const _0x26db24=_0x356152,_0x4e7ddf=this[_0x26db24(0xd0)][_0x26db24(0xd2)][_0x26db24(0xe0)][_0x26db24(0xcb)][_0x26db24(0xd7)]();this[_0x26db24(0xd0)][_0x26db24(0xd2)][_0x26db24(0xca)](_0x2bc642=>{const _0x474fa8=_0x26db24;_0x2bc642[_0x474fa8(0xde)](_0x3b7d9a,_0x4e7ddf),_0x2bc642[_0x474fa8(0xd4)](_0x474fa8(0xdf),_0x4e7ddf),_0x2bc642[_0x474fa8(0xd4)](_0x474fa8(0xd6),_0x4e7ddf);});}}function _0x5de1(){const _0x4aaab8=['1432SOdITK','change','selection','imageBlock','661960iFaXQL','element','execute','editor','imageInline','model','1165948LOHoKG','removeAttribute','2586712rYFvxT','sizes','getSelectedElement','128068plgbcK','1uGookv','6neOOtC','isEnabled','refresh','319680PSJgvJ','setAttributes','srcset','document','1137licQzv','435672DYciEU'];_0x5de1=function(){return _0x4aaab8;};return _0x5de1();}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2003-
|
|
2
|
+
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x2c72b3=_0x2b1d;function _0x4983(){var _0x1ce22b=['260064yIdKiJ','6673130bwmVIZ','requires','isPremiumPlugin','14XHlWrn','20qIMWrb','716310zOoaJJ','24456XYVIbP','782728GhwhAE','isOfficialPlugin','UploadcareImageEdit','149092SNhtbk','137620LQCyyv','pluginName','56hxRUNL'];_0x4983=function(){return _0x1ce22b;};return _0x4983();}(function(_0xfe465,_0x1f0923){var _0x5574ce=_0x2b1d,_0x581d91=_0xfe465();while(!![]){try{var _0xab7c86=parseInt(_0x5574ce(0xc7))/0x1+-parseInt(_0x5574ce(0xc9))/0x2*(-parseInt(_0x5574ce(0xc2))/0x3)+parseInt(_0x5574ce(0xc6))/0x4*(parseInt(_0x5574ce(0xc0))/0x5)+parseInt(_0x5574ce(0xc1))/0x6+parseInt(_0x5574ce(0xbf))/0x7*(parseInt(_0x5574ce(0xc3))/0x8)+-parseInt(_0x5574ce(0xbb))/0x9+-parseInt(_0x5574ce(0xbc))/0xa;if(_0xab7c86===_0x1f0923)break;else _0x581d91['push'](_0x581d91['shift']());}catch(_0x995823){_0x581d91['push'](_0x581d91['shift']());}}}(_0x4983,0x20ac2));import{Plugin as _0x2fbc8b}from'ckeditor5/src/core.js';import{UploadcareImageEditEditing as _0x1dd660}from'./uploadcareimageedit/uploadcareimageeditediting.js';function _0x2b1d(_0x54de12,_0x4a100b){var _0x498349=_0x4983();return _0x2b1d=function(_0x2b1d1f,_0x1b29cf){_0x2b1d1f=_0x2b1d1f-0xbb;var _0x4709b0=_0x498349[_0x2b1d1f];return _0x4709b0;},_0x2b1d(_0x54de12,_0x4a100b);}import{UploadcareImageEditUI as _0x30a8fd}from'./uploadcareimageedit/uploadcareimageeditui.js';export class UploadcareImageEdit extends _0x2fbc8b{static get[_0x2c72b3(0xc8)](){var _0x543bbe=_0x2c72b3;return _0x543bbe(0xc5);}static get[_0x2c72b3(0xbd)](){return[_0x1dd660,_0x30a8fd];}static get[_0x2c72b3(0xc4)](){return!0x0;}static get[_0x2c72b3(0xbe)](){return!0x0;}}
|
package/src/uploadcareui.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
/**
|
package/src/uploadcareui.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2003-
|
|
2
|
+
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x43497d=_0x6e69;(function(_0xd52d38,_0x5045c1){const _0x4afc53=_0x6e69,_0x38dd3b=_0xd52d38();while(!![]){try{const _0x573703=-parseInt(_0x4afc53(0x1aa))/0x1+parseInt(_0x4afc53(0x196))/0x2+-parseInt(_0x4afc53(0x1bd))/0x3+-parseInt(_0x4afc53(0x1cb))/0x4*(-parseInt(_0x4afc53(0x18e))/0x5)+parseInt(_0x4afc53(0x18c))/0x6*(parseInt(_0x4afc53(0x1a2))/0x7)+-parseInt(_0x4afc53(0x184))/0x8*(parseInt(_0x4afc53(0x1c0))/0x9)+-parseInt(_0x4afc53(0x1a6))/0xa*(-parseInt(_0x4afc53(0x1b4))/0xb);if(_0x573703===_0x5045c1)break;else _0x38dd3b['push'](_0x38dd3b['shift']());}catch(_0x3f3ce9){_0x38dd3b['push'](_0x38dd3b['shift']());}}}(_0x36cc,0x39b10));import{Plugin as _0x4779ed}from'ckeditor5/src/core.js';import{IconDropbox as _0x3cff2f,IconFacebook as _0x114cfb,IconGoogleDrive as _0x159472,IconGooglePhotos as _0x29da61,IconUploadcareImageUpload as _0x108f3c,IconUploadcareLink as _0x47e2f6,IconOneDrive as _0x1ba870}from'ckeditor5/src/icons.js';import{ButtonView as _0x4d2299,MenuBarMenuListItemButtonView as _0x1fc181}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x1e3854}from'./uploadcareconfig.js';import{getTranslation as _0x4f595b}from'./utils/common-translations.js';function _0x36cc(){const _0x4a0f60=['get','Insert','uploadcareLicenseKeyUsageLimit','10pQwzpd','featureNotAllowed','Replace','has','470442nsEdnp','evaluationLimit','isEnabled','uploadcareLicenseKeyDomainLimit','Uploadcare','bind','_showLicenseError','_createToolbarButton','uploadcare','ImageInsertUI','8262562PWVjyz','Dropbox','uploadcareLicenseKeyEvaluationLimit','editor','forEach','type','locale','GDrive','registerIntegration','1212948zUQONX','uploadcareLicenseKeyExpired','domainLimit','9oMpWTz','entries','OneDrive','execute','assetManager','text','destroy','commands','afterInit','tooltip','_createMenuBarButtons','87572sZBOhj','Local','isOfficialPlugin','isPremiumPlugin','pluginName','withText','_licenseKeyCheckInterval','config','shortText','2941208hRSnCA','uploadcareLicenseKeyNotAllowed','_createButton','_createDropdownButtons','_normalizeConfigSourceList','uploadcareLicenseKeyValid','icon','uploadcare.uploader.sourceList','1086ISXqcj','URL','95kFkcuz','Facebook','upload','plugins','reduce','expired','push','_getIntegrationKey','51610qJAQoU','licenseKey','map','usageLimit','label','invalid','isImageSelected','UploadcareUI','GPhotos','url','init','uploadcareLicenseKeyInvalid','11053JSUgdM'];_0x36cc=function(){return _0x4a0f60;};return _0x36cc();}import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';import'../theme/uploadcare-theme.css';function _0x6e69(_0x3d9298,_0x2362c0){const _0x36cc23=_0x36cc();return _0x6e69=function(_0x6e698c,_0xe4c2f){_0x6e698c=_0x6e698c-0x17e;let _0x2fa9c8=_0x36cc23[_0x6e698c];return _0x2fa9c8;},_0x6e69(_0x3d9298,_0x2362c0);}import'../theme/uploadcareimageedit.css';export class UploadcareUI extends _0x4779ed{[_0x43497d(0x197)];[_0x43497d(0x181)];static get[_0x43497d(0x17f)](){const _0x53a811=_0x43497d;return _0x53a811(0x19d);}static get[_0x43497d(0x1cd)](){return!0x0;}static get[_0x43497d(0x17e)](){return!0x0;}[_0x43497d(0x1a0)](){const _0x47b577=_0x43497d;this[_0x47b577(0x197)]=this[_0x47b577(0x1b7)][_0x47b577(0x182)][_0x47b577(0x1a3)](_0x47b577(0x197));const _0x9d6b8d=this[_0x47b577(0x1b7)];this[_0x47b577(0x181)]=setInterval(()=>{const _0x3a5005=_0x47b577;let _0x25ec9f;for(const _0x327530 in _0x9d6b8d){const _0x17b373=_0x327530,_0x1fe657=_0x9d6b8d[_0x17b373];if(_0x3a5005(0x189)==_0x1fe657||_0x3a5005(0x1a1)==_0x1fe657||_0x3a5005(0x1be)==_0x1fe657||_0x3a5005(0x1ad)==_0x1fe657||_0x3a5005(0x185)==_0x1fe657||_0x3a5005(0x1b6)==_0x1fe657||_0x3a5005(0x1a5)==_0x1fe657){delete _0x9d6b8d[_0x17b373],_0x25ec9f=_0x1fe657,clearInterval(this[_0x3a5005(0x181)]),this[_0x3a5005(0x181)]=void 0x0;break;}}_0x3a5005(0x1a1)==_0x25ec9f&&_0x9d6b8d[_0x3a5005(0x1b0)](_0x3a5005(0x19b)),_0x3a5005(0x1be)==_0x25ec9f&&_0x9d6b8d[_0x3a5005(0x1b0)](_0x3a5005(0x193)),_0x3a5005(0x1ad)==_0x25ec9f&&_0x9d6b8d[_0x3a5005(0x1b0)](_0x3a5005(0x1bf)),_0x3a5005(0x185)==_0x25ec9f&&_0x9d6b8d[_0x3a5005(0x1b0)](_0x3a5005(0x1a7),_0x3a5005(0x1ae)),_0x3a5005(0x1b6)==_0x25ec9f&&_0x9d6b8d[_0x3a5005(0x1b0)](_0x3a5005(0x1ab)),_0x3a5005(0x1a5)==_0x25ec9f&&_0x9d6b8d[_0x3a5005(0x1b0)](_0x3a5005(0x199));},0x3e8);}[_0x43497d(0x1c8)](){const _0x315d7e=_0x43497d,{editor:_0x563773}=this,_0x20aa82=_0x563773[_0x315d7e(0x1c7)][_0x315d7e(0x1a3)](_0x315d7e(0x1b2));if(!_0x20aa82)return;const _0x325b00=this[_0x315d7e(0x188)](_0x563773[_0x315d7e(0x182)][_0x315d7e(0x1a3)](_0x315d7e(0x18b)))[_0x315d7e(0x192)]((_0x401f7e,_0x491ba0)=>{const _0x3c4da3=_0x315d7e,_0x257444=this[_0x3c4da3(0x195)](_0x491ba0[_0x3c4da3(0x1b9)]);return _0x401f7e[_0x257444]||(_0x401f7e[_0x257444]=[]),_0x401f7e[_0x257444][_0x3c4da3(0x194)](_0x491ba0),_0x401f7e;},{});_0x563773[_0x315d7e(0x191)][_0x315d7e(0x1a9)](_0x315d7e(0x1b3))&&_0x563773[_0x315d7e(0x1c7)][_0x315d7e(0x1a3)](_0x315d7e(0x1b2))&&Object[_0x315d7e(0x1c1)](_0x325b00)[_0x315d7e(0x1b8)](([_0x4339b5,_0x372079])=>{const _0x2efe81=_0x315d7e;_0x563773[_0x2efe81(0x191)][_0x2efe81(0x1a3)](_0x2efe81(0x1b3))[_0x2efe81(0x1bc)]({'name':_0x4339b5,'observable':()=>_0x20aa82,'buttonViewCreator':()=>this[_0x2efe81(0x1b1)](_0x372079),'formViewCreator':()=>this[_0x2efe81(0x187)](_0x372079),'menuBarButtonViewCreator':()=>this[_0x2efe81(0x1ca)](_0x372079),'override':_0x2efe81(0x1c4)!==_0x4339b5});});}[_0x43497d(0x1c6)](){const _0x4f1e5b=_0x43497d;super[_0x4f1e5b(0x1c6)](),this[_0x4f1e5b(0x181)]&&clearInterval(this[_0x4f1e5b(0x181)]);}[_0x43497d(0x188)](_0x4aa994){const _0xfab51d=_0x43497d,{locale:_0x1f0e47}=this[_0xfab51d(0x1b7)];return _0x4aa994[_0xfab51d(0x198)](_0x19f137=>{const _0x4415d3=_0xfab51d,_0x38c389=_0x4f595b(_0x1f0e47,_0x19f137,_0x4415d3(0x1a4));switch(_0x19f137){case _0x1e3854[_0x4415d3(0x1cc)]:return{'icon':_0x108f3c,'type':_0x1e3854[_0x4415d3(0x1cc)],..._0x38c389};case _0x1e3854[_0x4415d3(0x18d)]:return{'icon':_0x47e2f6,'type':_0x1e3854[_0x4415d3(0x18d)],..._0x38c389};case _0x1e3854[_0x4415d3(0x1b5)]:return{'icon':_0x3cff2f,'type':_0x1e3854[_0x4415d3(0x1b5)],..._0x38c389};case _0x1e3854[_0x4415d3(0x18f)]:return{'icon':_0x114cfb,'type':_0x1e3854[_0x4415d3(0x18f)],..._0x38c389};case _0x1e3854[_0x4415d3(0x1bb)]:return{'icon':_0x159472,'type':_0x1e3854[_0x4415d3(0x1bb)],..._0x38c389};case _0x1e3854[_0x4415d3(0x19e)]:return{'icon':_0x29da61,'type':_0x1e3854[_0x4415d3(0x19e)],..._0x38c389};case _0x1e3854[_0x4415d3(0x1c2)]:return{'icon':_0x1ba870,'type':_0x1e3854[_0x4415d3(0x1c2)],..._0x38c389};}});}[_0x43497d(0x195)](_0x3a5215){const _0x19ee94=_0x43497d;switch(_0x3a5215){case _0x1e3854[_0x19ee94(0x1cc)]:return _0x19ee94(0x190);case _0x1e3854[_0x19ee94(0x18d)]:return _0x19ee94(0x19f);default:return _0x19ee94(0x1c4);}}[_0x43497d(0x186)](_0x24040a,_0x981126){const _0x1d2a96=_0x43497d,_0x46769a=this[_0x1d2a96(0x1b7)],_0x3c9304=new _0x24040a(_0x46769a[_0x1d2a96(0x1ba)]),_0x56fc7f=_0x46769a[_0x1d2a96(0x1c7)][_0x1d2a96(0x1a3)](_0x1d2a96(0x1b2));return _0x3c9304[_0x1d2a96(0x1af)](_0x1d2a96(0x1ac))['to'](_0x56fc7f),_0x3c9304['on'](_0x1d2a96(0x1c3),()=>{const _0x31c17c=_0x1d2a96;_0x56fc7f[_0x31c17c(0x1c3)](_0x981126);}),_0x3c9304;}[_0x43497d(0x1b1)](_0x2dff04){const _0x458555=_0x43497d,{locale:_0x4cd7b6}=this[_0x458555(0x1b7)],_0x2b9c1b=this[_0x458555(0x1b7)][_0x458555(0x191)][_0x458555(0x1a3)](_0x458555(0x1b3)),_0x3783dd=_0x2dff04[0x0],_0x42ea27=this[_0x458555(0x186)](_0x4d2299,_0x3783dd[_0x458555(0x1b9)]);return _0x42ea27[_0x458555(0x18a)]=_0x3783dd[_0x458555(0x18a)],_0x42ea27[_0x458555(0x1af)](_0x458555(0x19a))['to'](_0x2b9c1b,_0x458555(0x19c),_0xfeae8a=>_0x4f595b(_0x4cd7b6,_0x3783dd[_0x458555(0x1b9)],_0xfeae8a?_0x458555(0x1a8):_0x458555(0x1a4))[_0x458555(0x1c5)]),_0x42ea27[_0x458555(0x1c9)]=!0x0,_0x42ea27;}[_0x43497d(0x187)](_0x4806db){const _0x4a0caa=_0x43497d,{locale:_0x55a5d8}=this[_0x4a0caa(0x1b7)],_0x1e4c62=this[_0x4a0caa(0x1b7)][_0x4a0caa(0x191)][_0x4a0caa(0x1a3)](_0x4a0caa(0x1b3));return _0x4806db[_0x4a0caa(0x198)](_0x46854c=>{const _0x1a77a0=_0x4a0caa,_0x2dcb40=this[_0x1a77a0(0x186)](_0x4d2299,_0x46854c[_0x1a77a0(0x1b9)]);return _0x2dcb40[_0x1a77a0(0x180)]=!0x0,_0x2dcb40[_0x1a77a0(0x18a)]=_0x46854c[_0x1a77a0(0x18a)],_0x2dcb40[_0x1a77a0(0x1af)](_0x1a77a0(0x19a))['to'](_0x1e4c62,_0x1a77a0(0x19c),_0x4b3404=>_0x4f595b(_0x55a5d8,_0x46854c[_0x1a77a0(0x1b9)],_0x4b3404?_0x1a77a0(0x1a8):_0x1a77a0(0x1a4))[_0x1a77a0(0x1c5)]),_0x2dcb40;});}[_0x43497d(0x1ca)](_0x5ea689){const _0x4adf6a=_0x43497d;return _0x5ea689[_0x4adf6a(0x198)](_0x3b21e7=>{const _0x5acec6=_0x4adf6a,_0xd465f5=this[_0x5acec6(0x186)](_0x1fc181,_0x3b21e7[_0x5acec6(0x1b9)]);return _0xd465f5[_0x5acec6(0x18a)]=_0x3b21e7[_0x5acec6(0x18a)],_0xd465f5[_0x5acec6(0x19a)]=_0x3b21e7[_0x5acec6(0x183)],_0xd465f5;});}}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2003-
|
|
2
|
+
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as
|
|
23
|
+
import{Plugin as _0x23f4f4}from'ckeditor5/src/core.js';import{FileRepository as _0x5597cc}from'ckeditor5/src/upload.js';import{UploadcareEditing as _0x470026}from'./uploadcareediting.js';import{UploadUtils as _0x280de7}from'./utils/uploadutils.js';import{getImageUrls as _0xdd5772}from'./utils/editingutils.js';export class UploadcareUploadAdapter extends _0x23f4f4{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x5597cc,_0x470026];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x78c36=this['editor'];if(!!!_0x78c36['config']['get']('uploadcare'))return;_0x78c36['plugins']['get'](_0x5597cc)['createUploadAdapter']=_0x36a23e=>new k(_0x36a23e,_0x78c36),_0x78c36['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x315004,{imageElement:_0x46213e,data:_0x2dfcb1})=>{_0x78c36['model']['change'](_0x2a3f30=>{_0x2a3f30['setAttribute']('uploadcareImageId',_0x2dfcb1['uploadcareImageId'],_0x46213e);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x46c7c1,_0x3c3a43){this['loader']=_0x46c7c1,this['editor']=_0x3c3a43,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x257378=await this['loader']['file'];return _0x280de7['upload']({'file':_0x257378,'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':_0x1ccbca=>{_0x1ccbca&&_0x1ccbca['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x1ccbca['value']);}})['then'](async _0x531f30=>{const {imageFallbackUrl:_0x5b647e,imageSources:_0x4ea789}=_0xdd5772(_0x531f30['cdnUrl'],_0x531f30['imageInfo']['width']);return{'uploadcareImageId':_0x531f30['uuid'],'default':_0x5b647e,'sources':_0x4ea789};})['catch'](()=>{const _0x4200ec=t('Cannot\x20upload\x20file:')+('\x20'+_0x257378['name']+'.');return Promise['reject'](_0x4200ec);});}['abort'](){this['controller']['abort']();}}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2003-
|
|
2
|
+
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{UploadcareSource as
|
|
23
|
+
import{UploadcareSource as _0x52e94b}from'../uploadcareconfig.js';export function getTranslation(_0x15b8b2,_0x224669,_0x5c2bb2){const t=_0x15b8b2['t'],_0x7d1ee7=_0x15b8b2['t'];switch(_0x224669){case _0x52e94b['Local']:return{'text':_0x7d1ee7('Insert'===_0x5c2bb2?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x7d1ee7('From\x20computer')};case _0x52e94b['URL']:return{'text':'Insert'===_0x5c2bb2?_0x7d1ee7('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x7d1ee7('Via\x20URL')};case _0x52e94b['Dropbox']:return{'text':t('Insert'===_0x5c2bb2?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x52e94b['Facebook']:return{'text':t('Insert'===_0x5c2bb2?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x52e94b['GDrive']:return{'text':t('Insert'===_0x5c2bb2?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x52e94b['GPhotos']:return{'text':t('Insert'===_0x5c2bb2?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x52e94b['OneDrive']:return{'text':t('Insert'===_0x5c2bb2?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x224669;}}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2003-
|
|
2
|
+
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x491f(_0x48c09d,_0xb9639e){var _0x5edd9a=_0x5edd();return _0x491f=function(_0x491f92,_0x8dd5ee){_0x491f92=_0x491f92-0x1a0;var _0x5d2780=_0x5edd9a[_0x491f92];return _0x5d2780;},_0x491f(_0x48c09d,_0xb9639e);}var _0x3a68e4=_0x491f;(function(_0x2d4dd9,_0x1e3af8){var _0x52af81=_0x491f,_0x9cce32=_0x2d4dd9();while(!![]){try{var _0x124ae8=parseInt(_0x52af81(0x1a8))/0x1+parseInt(_0x52af81(0x1ab))/0x2*(-parseInt(_0x52af81(0x1a1))/0x3)+-parseInt(_0x52af81(0x1a7))/0x4*(parseInt(_0x52af81(0x1a4))/0x5)+-parseInt(_0x52af81(0x1af))/0x6+-parseInt(_0x52af81(0x1b2))/0x7+-parseInt(_0x52af81(0x1a6))/0x8*(-parseInt(_0x52af81(0x1b0))/0x9)+-parseInt(_0x52af81(0x1b1))/0xa*(-parseInt(_0x52af81(0x1a0))/0xb);if(_0x124ae8===_0x1e3af8)break;else _0x9cce32['push'](_0x9cce32['shift']());}catch(_0x25798b){_0x9cce32['push'](_0x9cce32['shift']());}}}(_0x5edd,0x5ff18));import{FocusTracker as _0xaba672}from'ckeditor5/src/utils.js';import{View as _0x3b9da5,FocusCycler as _0x298c7b}from'ckeditor5/src/ui.js';function _0x5edd(){var _0x2cf65a=['427556pJixbR','createCollection','focusTracker','div','116340TBbrac','18YsYAIQ','859430qBfVmf','432327CEyLlm','getFocusableElement','44SBzOZG','3OMBKiv','focusCycler','forwardCycle','38625DVlJeq','fire','2697808cZjAjX','348VTSrtR','341764ZBjVhd','bindTemplate','true'];_0x5edd=function(){return _0x2cf65a;};return _0x5edd();}import'../../theme/uploadcare-form.css';export class DialogFocusManagerView extends _0x3b9da5{[_0x3a68e4(0x1ad)];[_0x3a68e4(0x1a2)];constructor(_0x374062){var _0x1daf57=_0x3a68e4;super(_0x374062),this[_0x1daf57(0x1ad)]=new _0xaba672(),this[_0x1daf57(0x1a2)]=new _0x298c7b({'focusables':this[_0x1daf57(0x1ac)](),'focusTracker':this[_0x1daf57(0x1ad)]});}[_0x3a68e4(0x1b3)](){var _0x5f0ee2=_0x3a68e4;return{'tag':_0x5f0ee2(0x1ae),'attributes':{'aria-hidden':_0x5f0ee2(0x1aa),'tabindex':'0'},'on':{'focus':this[_0x5f0ee2(0x1a9)]['to'](()=>{var _0x843918=_0x5f0ee2;this[_0x843918(0x1a2)][_0x843918(0x1a5)](_0x843918(0x1a3));})}};}}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2003-
|
|
2
|
+
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x61e789,_0x5de871){const _0x49189a=_0x50f3,_0x447bdd=_0x61e789();while(!![]){try{const _0x5818fe=parseInt(_0x49189a(0x9a))/0x1+-parseInt(_0x49189a(0x8f))/0x2*(-parseInt(_0x49189a(0x92))/0x3)+parseInt(_0x49189a(0x94))/0x4+parseInt(_0x49189a(0x7b))/0x5*(parseInt(_0x49189a(0x96))/0x6)+parseInt(_0x49189a(0x7d))/0x7*(parseInt(_0x49189a(0x7e))/0x8)+-parseInt(_0x49189a(0x7f))/0x9+-parseInt(_0x49189a(0xa6))/0xa;if(_0x5818fe===_0x5de871)break;else _0x447bdd['push'](_0x447bdd['shift']());}catch(_0x1b46a5){_0x447bdd['push'](_0x447bdd['shift']());}}}(_0x5d4c,0x702fa));import{global as _0x119e21,DomEmitterMixin as _0x571140}from'ckeditor5/src/utils.js';function _0x5d4c(){const _0x901ac7=['baseURI','join','some','match','origin','image/webp','getAttribute','hasAttribute','aspect-ratio','change','domConverter','document','595LdEHsK','addClass','35lHuuBq','774568DXQpxY','3197394bpgLgr','src','setStyle','toViewElement','filter','view','stopListening','findViewImgElement','load','image-processing','get','removeStyle','/-/resize/','removeClass','function','viewToDom','282554dxGTfH','imageInline','window','6ssqTAV','location','1781176FwASoy','px)\x20100vw,\x20','20742FRCQqo','ImageUtils','editing','listenTo','525718UaDhdJ','isArray','element','plugins','height','map','mapper','width','(max-width:\x20','uploadcareImageId','x/\x20','imageBlock','13342740ddVSMw','replace'];_0x5d4c=function(){return _0x901ac7;};return _0x5d4c();}export function createEditabilityChecker(_0x2d8760){const _0x1585b=_0x50f3,_0x4c785b=z(_0x2d8760);return _0xce9f60=>!(!_0xce9f60||!_0xce9f60['is'](_0x1585b(0x9c),_0x1585b(0xa5))&&!_0xce9f60['is'](_0x1585b(0x9c),_0x1585b(0x90)))&&(!!_0xce9f60[_0x1585b(0xaf)](_0x1585b(0xa3))||!!_0xce9f60[_0x1585b(0xaf)](_0x1585b(0x80))&&_0x4c785b(_0xce9f60[_0x1585b(0xae)](_0x1585b(0x80))));}export function getImageUrls(_0x5369bd,_0x5ca7fb){const _0x5c7882=_0x50f3,_0x134ba8=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960][_0x5c7882(0x83)](_0x2f35ba=>_0x2f35ba<=_0x5ca7fb)[_0x5c7882(0x9f)](_0x1c8421=>_0x5369bd[_0x5c7882(0xa7)](/\/$/,'')+_0x5c7882(0x8b)+_0x1c8421+_0x5c7882(0xa4)+_0x1c8421+'w');return{'imageFallbackUrl':_0x5369bd,'imageSources':[{'srcset':_0x134ba8[_0x5c7882(0xa9)](',\x20'),'sizes':_0x5c7882(0xa2)+_0x5ca7fb+_0x5c7882(0x95)+_0x5ca7fb+'px','type':_0x5c7882(0xad)}]};}function _0x50f3(_0x1e71fd,_0x3ee554){const _0x5d4c2a=_0x5d4c();return _0x50f3=function(_0x50f378,_0x28ee33){_0x50f378=_0x50f378-0x78;let _0x24d556=_0x5d4c2a[_0x50f378];return _0x24d556;},_0x50f3(_0x1e71fd,_0x3ee554);}export function getImageDimension(_0x245053,_0x273070,_0x22faf9){const _0x2c0541=_0x50f3,_0x1b5072=_0x245053[_0x2c0541(0xab)](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x1b5072?parseInt(_0x1b5072[0x1],0xa):_0x273070,'height':_0x1b5072?parseInt(_0x1b5072[0x2],0xa):_0x22faf9};}export function showImageProcessingIndicator(_0x34965b,_0x2e8e61){const _0x23c0e3=_0x50f3,_0x40d341=new(_0x571140())(),_0x4c7dfd=_0x34965b[_0x23c0e3(0x9d)][_0x23c0e3(0x89)](_0x23c0e3(0x97)),_0x1e95e9=_0x34965b[_0x23c0e3(0x98)][_0x23c0e3(0xa0)][_0x23c0e3(0x82)](_0x2e8e61),_0x17dd0c=_0x4c7dfd[_0x23c0e3(0x86)](_0x1e95e9),_0x2c68e6=_0x34965b[_0x23c0e3(0x98)][_0x23c0e3(0x84)][_0x23c0e3(0x79)][_0x23c0e3(0x8e)](_0x17dd0c),_0x15ed81=_0x2e8e61[_0x23c0e3(0xae)](_0x23c0e3(0xa1)),_0x39e2bc=_0x2e8e61[_0x23c0e3(0xae)](_0x23c0e3(0x9e)),_0x3a50a9=_0x23c0e3(0x88);_0x34965b[_0x23c0e3(0x98)][_0x23c0e3(0x84)][_0x23c0e3(0x78)](_0x1673f9=>{const _0x42459d=_0x23c0e3;_0x1673f9[_0x42459d(0x7c)](_0x3a50a9,_0x1e95e9),_0x1673f9[_0x42459d(0x81)](_0x42459d(0xb0),_0x15ed81+'/'+_0x39e2bc,_0x17dd0c);}),_0x40d341[_0x23c0e3(0x99)](_0x2c68e6,_0x23c0e3(0x87),()=>{const _0x594655=_0x23c0e3;_0x40d341[_0x594655(0x85)](_0x2c68e6,_0x594655(0x87)),_0x34965b[_0x594655(0x98)][_0x594655(0x84)][_0x594655(0x78)](_0xab6094=>{const _0x2acce9=_0x594655;_0xab6094[_0x2acce9(0x8c)](_0x3a50a9,_0x1e95e9),_0xab6094[_0x2acce9(0x8a)](_0x2acce9(0xb0),_0x17dd0c);});});}function z(_0x5d4bf9){const _0x1f0400=_0x50f3;if(Array[_0x1f0400(0x9b)](_0x5d4bf9)){const _0xdac795=_0x5d4bf9[_0x1f0400(0x9f)](z);return _0x4f1af9=>_0xdac795[_0x1f0400(0xaa)](_0x2a5578=>_0x2a5578(_0x4f1af9));}if(_0x1f0400(0xac)==_0x5d4bf9){const _0x2b8a26=_0x119e21[_0x1f0400(0x91)][_0x1f0400(0x93)][_0x1f0400(0xac)];return _0x12309d=>new URL(_0x12309d,_0x119e21[_0x1f0400(0x7a)][_0x1f0400(0xa8)])[_0x1f0400(0xac)]==_0x2b8a26;}return _0x1f0400(0x8d)==typeof _0x5d4bf9?_0x5d4bf9:_0x5d4bf9 instanceof RegExp?_0x4a7c47=>!(!_0x4a7c47[_0x1f0400(0xab)](_0x5d4bf9)&&!_0x4a7c47[_0x1f0400(0xa7)](/^https?:\/\//,'')[_0x1f0400(0xab)](_0x5d4bf9)):()=>!0x1;}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
/**
|
package/src/utils/isancestor.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2003-
|
|
2
|
+
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x5acb2f,_0x2e4610){var _0x4fd065=_0x42c2,_0x2b47af=_0x5acb2f();while(!![]){try{var _0x4d13b8=parseInt(_0x4fd065(0x126))/0x1+-parseInt(_0x4fd065(0x11f))/0x2*(-parseInt(_0x4fd065(0x128))/0x3)+-parseInt(_0x4fd065(0x121))/0x4+-parseInt(_0x4fd065(0x127))/0x5*(-parseInt(_0x4fd065(0x120))/0x6)+parseInt(_0x4fd065(0x124))/0x7+-parseInt(_0x4fd065(0x122))/0x8*(parseInt(_0x4fd065(0x12b))/0x9)+parseInt(_0x4fd065(0x129))/0xa*(-parseInt(_0x4fd065(0x12a))/0xb);if(_0x4d13b8===_0x2e4610)break;else _0x2b47af['push'](_0x2b47af['shift']());}catch(_0x6b2de){_0x2b47af['push'](_0x2b47af['shift']());}}}(_0xf487,0x67a89));function _0x42c2(_0x45aa0b,_0xf9b357){var _0xf487dd=_0xf487();return _0x42c2=function(_0x42c296,_0x22d1a4){_0x42c296=_0x42c296-0x11f;var _0x329e83=_0xf487dd[_0x42c296];return _0x329e83;},_0x42c2(_0x45aa0b,_0xf9b357);}function _0xf487(){var _0x5d82d7=['2101547owlqif','target','101387nfLdOg','42340MCfJlm','6stRSwe','1480wTsFwL','25784TfoNHf','63kDNWXx','638122iyhfom','174xCzQby','1301600dFYGav','215320pgBwhu','includes'];_0xf487=function(){return _0x5d82d7;};return _0xf487();}import{getAncestors as _0x11194b}from'ckeditor5/src/utils.js';export function isAncestor(_0x39eda4,_0xbd5494){var _0x4ae2fc=_0x42c2;return _0x11194b(_0x39eda4[_0x4ae2fc(0x125)])[_0x4ae2fc(0x123)](_0xbd5494);}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
export {};
|
package/src/utils/uploadutils.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2003-
|
|
2
|
+
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x2ace51=_0x3d26;(function(_0x293c82,_0x121e32){var _0x25d883=_0x3d26,_0x38a266=_0x293c82();while(!![]){try{var _0x48f97f=-parseInt(_0x25d883(0xc6))/0x1*(parseInt(_0x25d883(0xc8))/0x2)+parseInt(_0x25d883(0xbf))/0x3+parseInt(_0x25d883(0xca))/0x4*(parseInt(_0x25d883(0xc2))/0x5)+parseInt(_0x25d883(0xc0))/0x6+parseInt(_0x25d883(0xc1))/0x7*(parseInt(_0x25d883(0xbe))/0x8)+parseInt(_0x25d883(0xc9))/0x9*(-parseInt(_0x25d883(0xc7))/0xa)+-parseInt(_0x25d883(0xc4))/0xb;if(_0x48f97f===_0x121e32)break;else _0x38a266['push'](_0x38a266['shift']());}catch(_0x126d32){_0x38a266['push'](_0x38a266['shift']());}}}(_0x14e1,0x331da));function _0x3d26(_0x4cc22d,_0x4a25d3){var _0x14e12e=_0x14e1();return _0x3d26=function(_0x3d2656,_0x19d108){_0x3d2656=_0x3d2656-0xbe;var _0x5c5af1=_0x14e12e[_0x3d2656];return _0x5c5af1;},_0x3d26(_0x4cc22d,_0x4a25d3);}function _0x14e1(){var _0x869701=['1343837MMuXWq','upload','2bqkIDF','40020prkiHS','78004znVZRV','927BYfKen','8jwrXIS','323288IOvlrl','17550stxcWn','2321724nxlNjk','35xWIdGH','567220sMhKXe','getInfo'];_0x14e1=function(){return _0x869701;};return _0x14e1();}import{uploadFile as _0x1d9648,info as _0x44b28e}from'@uploadcare/upload-client';export class UploadUtils{static[_0x2ace51(0xc5)]({file:_0x4c48b4,..._0x2ec6cf}){return _0x1d9648(_0x4c48b4,_0x2ec6cf);}static[_0x2ace51(0xc3)](_0x4609a7,_0x35af81){return _0x44b28e(_0x4609a7,_0x35af81);}}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
|
|
4
4
|
* all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
|
|
5
5
|
*
|
|
6
|
-
* Copyright (c) 2003-
|
|
6
|
+
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
7
7
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
8
8
|
*/
|
|
9
9
|
|
|
@@ -17,7 +17,9 @@
|
|
|
17
17
|
--ck-uploadcare-color-skeleton: hsl(0, 0%, 98%);
|
|
18
18
|
}
|
|
19
19
|
|
|
20
|
-
|
|
20
|
+
/* stylelint-disable no-descending-specificity */
|
|
21
|
+
.ck .ck-uploadcare-form,
|
|
22
|
+
.ck .ck-uploadcare-form:not(#\#) {
|
|
21
23
|
max-width: 100%;
|
|
22
24
|
width: var(--ck-uploadcare-form-view-width);
|
|
23
25
|
|
|
@@ -196,3 +198,4 @@
|
|
|
196
198
|
}
|
|
197
199
|
/* stylelint-enable selector-type-no-unknown */
|
|
198
200
|
}
|
|
201
|
+
/* stylelint-enable no-descending-specificity */
|