@ckeditor/ckeditor5-uploadcare 47.3.0 → 47.4.0-alpha.1
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 _0x2c8663=_0x15de;(function(_0xd78554,_0x1aed43){const _0x352ecb=_0x15de,_0x5ace66=_0xd78554();while(!![]){try{const _0x57fb69=-parseInt(_0x352ecb(0x102))/0x1+-parseInt(_0x352ecb(0x12e))/0x2*(-parseInt(_0x352ecb(0xfe))/0x3)+parseInt(_0x352ecb(0x130))/0x4+-parseInt(_0x352ecb(0x127))/0x5+parseInt(_0x352ecb(0x10a))/0x6*(-parseInt(_0x352ecb(0x122))/0x7)+-parseInt(_0x352ecb(0x11e))/0x8+parseInt(_0x352ecb(0x11f))/0x9;if(_0x57fb69===_0x1aed43)break;else _0x5ace66['push'](_0x5ace66['shift']());}catch(_0x33b433){_0x5ace66['push'](_0x5ace66['shift']());}}}(_0x2440,0xcb55e));import{View as _0x336a9d}from'ckeditor5/src/ui.js';import{UploadcareImageEditFormLoadingView as _0x2e3759}from'./uploadcareimageeditformloadingview.js';import{UploadcareImageEditFormErrorView as _0x3cd699}from'./uploadcareimageeditformerrorview.js';import{UploadcareImageEditFormEditingView as _0x4a89f4}from'./uploadcareimageeditformeditingview.js';import{DialogFocusManagerView as _0x1dda3d}from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';function _0x2440(){const _0x12afd1=['status','_addErrorViewListeners','querySelector','observe','addMany','fire','add','change:status','ck-reset_all-excluded','10397128aWRbbu','27528462nkQnMv','set','ready','571823VpMosn','filter','createCollection','ck-uploadcare-form','_waitForImageEditorComponent','2834990qZtRQs','element','length','_editingView','addEventListener','apply','div','2WePLqr','_setView','3191716JraziX','detail','target','_items','849489LRqPKC','setTemplate','error','getFocusableElement','1195242qrhDxC','toLowerCase','_focusableView','disconnect','uc-cloud-image-editor','render','cdnUrl','retry','18AYKfuT','_loadingView','uploading','clear','focus','nodeName','_errorView','once','cancel','_addUploadcareImageEditorListeners','addedNodes'];_0x2440=function(){return _0x12afd1;};return _0x2440();}function _0x15de(_0x1deebc,_0x1cb12b){const _0x24409e=_0x2440();return _0x15de=function(_0x15de4b,_0x56267f){_0x15de4b=_0x15de4b-0xfd;let _0x351311=_0x24409e[_0x15de4b];return _0x351311;},_0x15de(_0x1deebc,_0x1cb12b);}export class UploadcareImageEditFormView extends _0x1dda3d{[_0x2c8663(0xfd)];[_0x2c8663(0x10b)];[_0x2c8663(0x110)];[_0x2c8663(0x12a)];[_0x2c8663(0x104)];constructor(_0x391f76,_0x50d752,_0x5a7d4b){const _0x2b8989=_0x2c8663;super(_0x391f76),this[_0x2b8989(0xfd)]=this[_0x2b8989(0x124)](),this[_0x2b8989(0x10b)]=new _0x2e3759(_0x391f76),this[_0x2b8989(0x110)]=new _0x3cd699(_0x391f76),this[_0x2b8989(0x12a)]=new _0x4a89f4(_0x391f76,_0x5a7d4b),this[_0x2b8989(0x104)]=new _0x336a9d(_0x391f76),this[_0x2b8989(0x104)][_0x2b8989(0xff)](this[_0x2b8989(0x101)]()),this[_0x2b8989(0x120)](_0x2b8989(0x115),_0x50d752),this[_0x2b8989(0xff)]({'tag':_0x2b8989(0x12d),'attributes':{'class':['ck',_0x2b8989(0x11d),_0x2b8989(0x125)],'tabindex':'-1'},'children':this[_0x2b8989(0xfd)]}),this[_0x2b8989(0x12f)](),this[_0x2b8989(0x111)](_0x2b8989(0x107),()=>{const _0x1f529c=_0x2b8989;this[_0x1f529c(0x126)](this[_0x1f529c(0x128)],_0x9bbad5=>{const _0x1128e1=_0x1f529c;this[_0x1128e1(0x113)](_0x9bbad5);});}),this['on'](_0x2b8989(0x11c),()=>{const _0xb8a280=_0x2b8989;this[_0xb8a280(0x12f)]();}),this[_0x2b8989(0x116)]();}[_0x2c8663(0x10e)](){const _0x22e1d9=_0x2c8663;this[_0x22e1d9(0x128)][_0x22e1d9(0x10e)]();}[_0x2c8663(0x12f)](){const _0x52a48=_0x2c8663;switch(this[_0x52a48(0xfd)][_0x52a48(0x10d)](),this[_0x52a48(0x115)]){case _0x52a48(0x10c):this[_0x52a48(0xfd)][_0x52a48(0x11b)](this[_0x52a48(0x10b)]);break;case _0x52a48(0x100):this[_0x52a48(0xfd)][_0x52a48(0x11b)](this[_0x52a48(0x110)]);break;case _0x52a48(0x121):this[_0x52a48(0xfd)][_0x52a48(0x119)]([this[_0x52a48(0x12a)],this[_0x52a48(0x104)]]);}}[_0x2c8663(0x126)](_0x2409a1,_0x4fff2d){const _0x4662aa=_0x2c8663,_0x25ae6d=_0x4662aa(0x106),_0x484182=_0x2409a1[_0x4662aa(0x117)](_0x25ae6d);if(_0x484182)return _0x4fff2d(_0x484182);const _0x51c172=new MutationObserver(_0x2fb39f=>{const _0xef8801=_0x4662aa,_0x1e2a18=_0x2fb39f[_0xef8801(0x123)](_0xe7586f=>_0xe7586f[_0xef8801(0x132)]===_0x2409a1&&_0xe7586f[_0xef8801(0x114)][_0xef8801(0x129)]>0x0&&_0xe7586f[_0xef8801(0x114)][0x0][_0xef8801(0x10f)][_0xef8801(0x103)]()===_0x25ae6d);_0x1e2a18[_0xef8801(0x129)]&&(_0x51c172[_0xef8801(0x105)](),_0x4fff2d(_0x1e2a18[0x0][_0xef8801(0x114)][0x0]));});_0x51c172[_0x4662aa(0x118)](_0x2409a1,{'childList':!0x0,'subtree':!0x0});}[_0x2c8663(0x113)](_0xb2e27a){const _0x59d0af=_0x2c8663;_0xb2e27a[_0x59d0af(0x12b)](_0x59d0af(0x12c),_0x20f51e=>{const _0x257bcf=_0x59d0af;this[_0x257bcf(0x11a)](_0x257bcf(0x12c),{'imageSrc':_0x20f51e[_0x257bcf(0x131)][_0x257bcf(0x108)]});}),_0xb2e27a[_0x59d0af(0x12b)](_0x59d0af(0x112),()=>{const _0x5424c8=_0x59d0af;this[_0x5424c8(0x11a)](_0x5424c8(0x112));});}[_0x2c8663(0x116)](){const _0x2de4a7=_0x2c8663;this[_0x2de4a7(0x110)]['on'](_0x2de4a7(0x109),()=>{const _0x49cbe5=_0x2de4a7;this[_0x49cbe5(0x11a)](_0x49cbe5(0x109));});}}
|
|
@@ -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
|
+
function _0xf0e7(_0x4c2535,_0x5b7e19){const _0x4e834b=_0x4e83();return _0xf0e7=function(_0xf0e722,_0x55ac51){_0xf0e722=_0xf0e722-0x1b0;let _0xd6226d=_0x4e834b[_0xf0e722];return _0xd6226d;},_0xf0e7(_0x4c2535,_0x5b7e19);}const _0x78f462=_0xf0e7;(function(_0x2a4b5a,_0x120162){const _0x2c8bc8=_0xf0e7,_0x3f3453=_0x2a4b5a();while(!![]){try{const _0x30cae8=-parseInt(_0x2c8bc8(0x1bf))/0x1+parseInt(_0x2c8bc8(0x1bc))/0x2*(-parseInt(_0x2c8bc8(0x1c8))/0x3)+-parseInt(_0x2c8bc8(0x1b5))/0x4+-parseInt(_0x2c8bc8(0x1b2))/0x5+-parseInt(_0x2c8bc8(0x1c9))/0x6+parseInt(_0x2c8bc8(0x1b8))/0x7+-parseInt(_0x2c8bc8(0x1c0))/0x8*(-parseInt(_0x2c8bc8(0x1c3))/0x9);if(_0x30cae8===_0x120162)break;else _0x3f3453['push'](_0x3f3453['shift']());}catch(_0x206e6){_0x3f3453['push'](_0x3f3453['shift']());}}}(_0x4e83,0xc3ad1));import{Command as _0x11ee33}from'ckeditor5/src/core.js';import{Dialog as _0x4c7a50}from'ckeditor5/src/ui.js';import{UploadcareImageEditController as _0x1e0923}from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x3b6f02}from'../utils/editingutils.js';function _0x4e83(){const _0x4c5f17=['bind','model','2908521nHrASr','execute','getSelectedElement','document','4rqaOZM','editor','isEnabled','855152hvwcfJ','481072qjLwUf','isActive','selection','702dTPQfv','refresh','requires','element','config','2393511ORcyWg','4799826bHHXIq','plugins','imageEditController','unbind','set','uploadcare.allowExternalImagesEditing','imageBlock','imageInline','844640qmcJdn','get','_isEditable','3538964FPqtej'];_0x4e83=function(){return _0x4c5f17;};return _0x4e83();}export class UploadcareImageEditCommand extends _0x11ee33{[_0x78f462(0x1cb)];static get[_0x78f462(0x1c5)](){return[_0x4c7a50];}[_0x78f462(0x1b4)];constructor(_0xce6783){const _0x373169=_0x78f462;super(_0xce6783),this[_0x373169(0x1cb)]=void 0x0,this[_0x373169(0x1b4)]=_0x3b6f02(_0xce6783[_0x373169(0x1c7)][_0x373169(0x1b3)](_0x373169(0x1ce))||[]),this[_0x373169(0x1cd)]({'isActive':!0x1});}[_0x78f462(0x1c4)](){const _0xdf092e=_0x78f462,_0x351dbe=this[_0xdf092e(0x1bd)][_0xdf092e(0x1b7)][_0xdf092e(0x1bb)][_0xdf092e(0x1c2)][_0xdf092e(0x1ba)]();this[_0xdf092e(0x1be)]=this[_0xdf092e(0x1b4)](_0x351dbe);}[_0x78f462(0x1b9)](){const _0x146712=_0x78f462;this[_0x146712(0x1cb)]&&(this[_0x146712(0x1cc)](_0x146712(0x1c1)),this[_0x146712(0x1cb)]=void 0x0);const _0x37dc46=this[_0x146712(0x1bd)][_0x146712(0x1b7)][_0x146712(0x1bb)][_0x146712(0x1c2)][_0x146712(0x1ba)]();_0x37dc46&&(_0x37dc46['is'](_0x146712(0x1c6),_0x146712(0x1b0))||_0x37dc46['is'](_0x146712(0x1c6),_0x146712(0x1b1)))&&(this[_0x146712(0x1cb)]=new _0x1e0923(this[_0x146712(0x1bd)],this[_0x146712(0x1bd)][_0x146712(0x1ca)][_0x146712(0x1b3)](_0x4c7a50),_0x37dc46),this[_0x146712(0x1b6)](_0x146712(0x1c1))['to'](this[_0x146712(0x1cb)],_0x146712(0x1c1)));}}
|
|
@@ -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 _0x290dbf=_0x5ac3;(function(_0x56da0d,_0x75dc24){const _0x4e667d=_0x5ac3,_0x28b127=_0x56da0d();while(!![]){try{const _0x4274c0=parseInt(_0x4e667d(0x1cf))/0x1*(-parseInt(_0x4e667d(0x1d8))/0x2)+-parseInt(_0x4e667d(0x1e0))/0x3+parseInt(_0x4e667d(0x1d5))/0x4*(parseInt(_0x4e667d(0x1dc))/0x5)+parseInt(_0x4e667d(0x1d6))/0x6*(-parseInt(_0x4e667d(0x1e4))/0x7)+-parseInt(_0x4e667d(0x1de))/0x8*(parseInt(_0x4e667d(0x1d3))/0x9)+-parseInt(_0x4e667d(0x1d4))/0xa*(-parseInt(_0x4e667d(0x1e2))/0xb)+parseInt(_0x4e667d(0x1d1))/0xc*(parseInt(_0x4e667d(0x1df))/0xd);if(_0x4274c0===_0x75dc24)break;else _0x28b127['push'](_0x28b127['shift']());}catch(_0x449134){_0x28b127['push'](_0x28b127['shift']());}}}(_0xf356,0x4979b));import{Plugin as _0x5c7aa8}from'ckeditor5/src/core.js';import{Notification as _0x596c47}from'ckeditor5/src/ui.js';import{UploadcareImageEditCommand as _0x10b4ce}from'./uploadcareimageeditcommand.js';import{UploadcareImageReplaceCommand as _0x5eb4e3}from'./uploadcareimagereplacecommand.js';function _0x5ac3(_0x4d1b46,_0x30d916){const _0xf3567e=_0xf356();return _0x5ac3=function(_0x5ac389,_0x136c35){_0x5ac389=_0x5ac389-0x1cd;let _0x3159e3=_0xf3567e[_0x5ac389];return _0x3159e3;},_0x5ac3(_0x4d1b46,_0x30d916);}import{UploadcareEditing as _0x4f1eca}from'../uploadcareediting.js';function _0xf356(){const _0x12fade=['266840sPnrke','12PrKAQN','uploadcareImageReplace','980662vChgYq','isOfficialPlugin','UploadcareImageEditEditing','requires','35CfHvkX','pluginName','276856ckBnFJ','6751693njAMpJ','1620990nbOqMs','add','22iGqugr','init','214466ARDQsJ','ImageEditing','commands','ImageUtils','1SyrdOY','uploadcareImageEdit','24BRzDkG','isPremiumPlugin','90XNRMPH','1166350UOhsES'];_0xf356=function(){return _0x12fade;};return _0xf356();}export class UploadcareImageEditEditing extends _0x5c7aa8{static get[_0x290dbf(0x1dd)](){const _0x1b2d0c=_0x290dbf;return _0x1b2d0c(0x1da);}static get[_0x290dbf(0x1db)](){const _0x2e3455=_0x290dbf;return[_0x4f1eca,_0x596c47,_0x2e3455(0x1ce),_0x2e3455(0x1e5)];}static get[_0x290dbf(0x1d9)](){return!0x0;}static get[_0x290dbf(0x1d2)](){return!0x0;}[_0x290dbf(0x1e3)](){const _0x3ddaab=_0x290dbf,{editor:_0x4c7594}=this;_0x4c7594[_0x3ddaab(0x1cd)][_0x3ddaab(0x1e1)](_0x3ddaab(0x1d0),new _0x10b4ce(_0x4c7594)),_0x4c7594[_0x3ddaab(0x1cd)][_0x3ddaab(0x1e1)](_0x3ddaab(0x1d7),new _0x5eb4e3(_0x4c7594));}}
|
|
@@ -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 _0x893f04}from'ckeditor5/src/core.js';import{ButtonView as _0x23f0c2}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x9ccb5f}from'ckeditor5/src/icons.js';import{createElement as _0x33ead8}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 _0x893f04{['_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 _0x8b01cd=this['editor'];_0x8b01cd['ui']['componentFactory']['add']('uploadcareImageEdit',_0x27eeab=>{const _0x46a01f=_0x8b01cd['commands']['get']('uploadcareImageEdit'),_0x3e7a5f=new _0x23f0c2(_0x27eeab),t=_0x27eeab['t'];return _0x3e7a5f['set']({'icon':_0x9ccb5f,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x3e7a5f['bind']('isEnabled')['to'](_0x46a01f),_0x3e7a5f['bind']('isOn')['to'](_0x46a01f,'isActive'),this['listenTo'](_0x3e7a5f,'execute',()=>{_0x8b01cd['execute']('uploadcareImageEdit'),_0x8b01cd['editing']['view']['focus']();}),_0x3e7a5f;}),this['_initConfig']();}['_initConfig'](){const _0x169a8d=_0x33ead8(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x169a8d),this['listenTo'](this['editor'],'destroy',()=>{_0x169a8d['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
|
-
var
|
|
23
|
+
var _0x2bc667=_0x274d;(function(_0x111cb6,_0x35e615){var _0x494bb6=_0x274d,_0xaa812f=_0x111cb6();while(!![]){try{var _0x2d8423=parseInt(_0x494bb6(0x164))/0x1*(-parseInt(_0x494bb6(0x15b))/0x2)+parseInt(_0x494bb6(0x161))/0x3*(-parseInt(_0x494bb6(0x157))/0x4)+-parseInt(_0x494bb6(0x160))/0x5+parseInt(_0x494bb6(0x158))/0x6+parseInt(_0x494bb6(0x156))/0x7*(-parseInt(_0x494bb6(0x15a))/0x8)+parseInt(_0x494bb6(0x154))/0x9+parseInt(_0x494bb6(0x15d))/0xa;if(_0x2d8423===_0x35e615)break;else _0xaa812f['push'](_0xaa812f['shift']());}catch(_0x2835da){_0xaa812f['push'](_0xaa812f['shift']());}}}(_0x5ebe,0x6f31c));import{FocusTracker as _0x5f04da}from'ckeditor5/src/utils.js';function _0x274d(_0x6def04,_0x1c391b){var _0x5ebe00=_0x5ebe();return _0x274d=function(_0x274dd0,_0x36ccb1){_0x274dd0=_0x274dd0-0x152;var _0x16c758=_0x5ebe00[_0x274dd0];return _0x16c758;},_0x274d(_0x6def04,_0x1c391b);}import{View as _0x2e43b4,FocusCycler as _0x5a711a}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';export class DialogFocusManagerView extends _0x2e43b4{[_0x2bc667(0x15e)];[_0x2bc667(0x159)];constructor(_0x378039){var _0xa78925=_0x2bc667;super(_0x378039),this[_0xa78925(0x15e)]=new _0x5f04da(),this[_0xa78925(0x159)]=new _0x5a711a({'focusables':this[_0xa78925(0x153)](),'focusTracker':this[_0xa78925(0x15e)]});}[_0x2bc667(0x162)](){var _0x27c4f9=_0x2bc667;return{'tag':_0x27c4f9(0x15c),'attributes':{'aria-hidden':_0x27c4f9(0x15f),'tabindex':'0'},'on':{'focus':this[_0x27c4f9(0x152)]['to'](()=>{var _0x5c0538=_0x27c4f9;this[_0x5c0538(0x159)][_0x5c0538(0x163)](_0x5c0538(0x155));})}};}}function _0x5ebe(){var _0x67aba=['fire','337583xwSjlT','bindTemplate','createCollection','5912451vPzend','forwardCycle','4907XpcGxQ','3517972LiJbmj','1345692qsRJUn','focusCycler','2152mPlPuD','2dKJavx','div','14247810WVmBIA','focusTracker','true','2224525ESrMtA','3FYxRFP','getFocusableElement'];_0x5ebe=function(){return _0x67aba;};return _0x5ebe();}
|
|
@@ -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(_0x2109b3,_0x4f9de6){const _0x2afd77=_0x3d46,_0x13a21e=_0x2109b3();while(!![]){try{const _0x2eb293=parseInt(_0x2afd77(0xf4))/0x1*(-parseInt(_0x2afd77(0xf7))/0x2)+-parseInt(_0x2afd77(0xd2))/0x3*(-parseInt(_0x2afd77(0xde))/0x4)+-parseInt(_0x2afd77(0xd4))/0x5*(parseInt(_0x2afd77(0xe6))/0x6)+-parseInt(_0x2afd77(0x107))/0x7+parseInt(_0x2afd77(0xdc))/0x8+parseInt(_0x2afd77(0xf6))/0x9+parseInt(_0x2afd77(0xf5))/0xa;if(_0x2eb293===_0x4f9de6)break;else _0x13a21e['push'](_0x13a21e['shift']());}catch(_0x19c0dd){_0x13a21e['push'](_0x13a21e['shift']());}}}(_0x4083,0x62316));function _0x4083(){const _0x28a1b4=['some','ImageUtils','match','(max-width:\x20','change','toViewElement','window','baseURI','image/webp','removeStyle','load','3178084NVtFsh','listenTo','imageBlock','filter','12lsUCeJ','image-processing','2457445LVEkHN','isArray','view','join','setStyle','x/\x20','stopListening','removeClass','1899856VdqypH','location','220016byrGxR','get','height','mapper','uploadcareImageId','viewToDom','px)\x20100vw,\x20','domConverter','6BMrRKA','map','src','replace','hasAttribute','element','findViewImgElement','getAttribute','addClass','plugins','/-/resize/','imageInline','aspect-ratio','origin','42131dgATYJ','6374230xrTNZY','3412539Monwfg','6XJmRDu','function','document','width','editing'];_0x4083=function(){return _0x28a1b4;};return _0x4083();}function _0x3d46(_0x369e2d,_0x59b8ca){const _0x4083d8=_0x4083();return _0x3d46=function(_0x3d4687,_0x106266){_0x3d4687=_0x3d4687-0xd0;let _0x28aae7=_0x4083d8[_0x3d4687];return _0x28aae7;},_0x3d46(_0x369e2d,_0x59b8ca);}import{global as _0x13f20d,DomEmitterMixin as _0x39c7b8}from'ckeditor5/src/utils.js';export function createEditabilityChecker(_0x3a3119){const _0x135dc2=_0x3d46,_0x445715=G(_0x3a3119);return _0x3b87f1=>!(!_0x3b87f1||!_0x3b87f1['is'](_0x135dc2(0xeb),_0x135dc2(0xd0))&&!_0x3b87f1['is'](_0x135dc2(0xeb),_0x135dc2(0xf1)))&&(!!_0x3b87f1[_0x135dc2(0xea)](_0x135dc2(0xe2))||!!_0x3b87f1[_0x135dc2(0xea)](_0x135dc2(0xe8))&&_0x445715(_0x3b87f1[_0x135dc2(0xed)](_0x135dc2(0xe8))));}export function getImageUrls(_0xeca838,_0x34d6b0){const _0xe94f1a=_0x3d46,_0x172b45=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960][_0xe94f1a(0xd1)](_0x4f9bba=>_0x4f9bba<=_0x34d6b0)[_0xe94f1a(0xe7)](_0x21ba20=>_0xeca838[_0xe94f1a(0xe9)](/\/$/,'')+_0xe94f1a(0xf0)+_0x21ba20+_0xe94f1a(0xd9)+_0x21ba20+'w');return{'imageFallbackUrl':_0xeca838,'imageSources':[{'srcset':_0x172b45[_0xe94f1a(0xd7)](',\x20'),'sizes':_0xe94f1a(0xff)+_0x34d6b0+_0xe94f1a(0xe4)+_0x34d6b0+'px','type':_0xe94f1a(0x104)}]};}export function getImageDimension(_0x23f0ff,_0x552ee1,_0x431627){const _0x89c2b2=_0x3d46,_0x2f0d95=_0x23f0ff[_0x89c2b2(0xfe)](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x2f0d95?parseInt(_0x2f0d95[0x1],0xa):_0x552ee1,'height':_0x2f0d95?parseInt(_0x2f0d95[0x2],0xa):_0x431627};}export function showImageProcessingIndicator(_0x3bb6fd,_0x2a7bbc){const _0x10ec1a=_0x3d46,_0x415f9f=new(_0x39c7b8())(),_0x302404=_0x3bb6fd[_0x10ec1a(0xef)][_0x10ec1a(0xdf)](_0x10ec1a(0xfd)),_0x30a25e=_0x3bb6fd[_0x10ec1a(0xfb)][_0x10ec1a(0xe1)][_0x10ec1a(0x101)](_0x2a7bbc),_0x45f603=_0x302404[_0x10ec1a(0xec)](_0x30a25e),_0x22b9c9=_0x3bb6fd[_0x10ec1a(0xfb)][_0x10ec1a(0xd6)][_0x10ec1a(0xe5)][_0x10ec1a(0xe3)](_0x45f603),_0xa58330=_0x2a7bbc[_0x10ec1a(0xed)](_0x10ec1a(0xfa)),_0x4c37e3=_0x2a7bbc[_0x10ec1a(0xed)](_0x10ec1a(0xe0)),_0x18e7bc=_0x10ec1a(0xd3);_0x3bb6fd[_0x10ec1a(0xfb)][_0x10ec1a(0xd6)][_0x10ec1a(0x100)](_0x2ecb9c=>{const _0x5e3840=_0x10ec1a;_0x2ecb9c[_0x5e3840(0xee)](_0x18e7bc,_0x30a25e),_0x2ecb9c[_0x5e3840(0xd8)](_0x5e3840(0xf2),_0xa58330+'/'+_0x4c37e3,_0x45f603);}),_0x415f9f[_0x10ec1a(0x108)](_0x22b9c9,_0x10ec1a(0x106),()=>{const _0x6e8b7b=_0x10ec1a;_0x415f9f[_0x6e8b7b(0xda)](_0x22b9c9,_0x6e8b7b(0x106)),_0x3bb6fd[_0x6e8b7b(0xfb)][_0x6e8b7b(0xd6)][_0x6e8b7b(0x100)](_0x4becc4=>{const _0x314c17=_0x6e8b7b;_0x4becc4[_0x314c17(0xdb)](_0x18e7bc,_0x30a25e),_0x4becc4[_0x314c17(0x105)](_0x314c17(0xf2),_0x45f603);});});}function G(_0x5028be){const _0x394937=_0x3d46;if(Array[_0x394937(0xd5)](_0x5028be)){const _0x1eccac=_0x5028be[_0x394937(0xe7)](G);return _0xe0c9ce=>_0x1eccac[_0x394937(0xfc)](_0x1b5c66=>_0x1b5c66(_0xe0c9ce));}if(_0x394937(0xf3)==_0x5028be){const _0xd5e01f=_0x13f20d[_0x394937(0x102)][_0x394937(0xdd)][_0x394937(0xf3)];return _0x1a41b9=>new URL(_0x1a41b9,_0x13f20d[_0x394937(0xf9)][_0x394937(0x103)])[_0x394937(0xf3)]==_0xd5e01f;}return _0x394937(0xf8)==typeof _0x5028be?_0x5028be:_0x5028be instanceof RegExp?_0x4e25a9=>!(!_0x4e25a9[_0x394937(0xfe)](_0x5028be)&&!_0x4e25a9[_0x394937(0xe9)](/^https?:\/\//,'')[_0x394937(0xfe)](_0x5028be)):()=>!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 _0x2f00(){var _0x326f53=['3852UwReWh','9104itWjoN','33HCFrfW','2770315glQQqU','includes','498jehtNX','140068oixRWW','6818PPEHYG','target','3889770JpWJnt','420198xKcIKL','201924AurALa'];_0x2f00=function(){return _0x326f53;};return _0x2f00();}(function(_0x5b1f33,_0x3f3741){var _0x461391=_0xa5bb,_0x2e0aa3=_0x5b1f33();while(!![]){try{var _0x1d13f2=parseInt(_0x461391(0x1db))/0x1+-parseInt(_0x461391(0x1dc))/0x2+-parseInt(_0x461391(0x1d3))/0x3*(parseInt(_0x461391(0x1d7))/0x4)+-parseInt(_0x461391(0x1d4))/0x5+parseInt(_0x461391(0x1d6))/0x6*(parseInt(_0x461391(0x1d8))/0x7)+parseInt(_0x461391(0x1d2))/0x8*(parseInt(_0x461391(0x1dd))/0x9)+parseInt(_0x461391(0x1da))/0xa;if(_0x1d13f2===_0x3f3741)break;else _0x2e0aa3['push'](_0x2e0aa3['shift']());}catch(_0x4120b7){_0x2e0aa3['push'](_0x2e0aa3['shift']());}}}(_0x2f00,0x523e5));function _0xa5bb(_0x426527,_0x1accb1){var _0x2f008e=_0x2f00();return _0xa5bb=function(_0xa5bb17,_0x473d0f){_0xa5bb17=_0xa5bb17-0x1d2;var _0x2544f2=_0x2f008e[_0xa5bb17];return _0x2544f2;},_0xa5bb(_0x426527,_0x1accb1);}import{getAncestors as _0x2f3c10}from'ckeditor5/src/utils.js';export function isAncestor(_0x10afa5,_0x224713){var _0x34309a=_0xa5bb;return _0x2f3c10(_0x10afa5[_0x34309a(0x1d9)])[_0x34309a(0x1d5)](_0x224713);}
|
|
@@ -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
|
+
function _0x1c0e(_0x27bb41,_0x1cfc3d){var _0x16cf6a=_0x16cf();return _0x1c0e=function(_0x1c0e3c,_0x1384fd){_0x1c0e3c=_0x1c0e3c-0x168;var _0x6ff2d2=_0x16cf6a[_0x1c0e3c];return _0x6ff2d2;},_0x1c0e(_0x27bb41,_0x1cfc3d);}var _0x58e8fb=_0x1c0e;(function(_0x169c3c,_0x8d8c84){var _0x4a9b1b=_0x1c0e,_0x2a9a1e=_0x169c3c();while(!![]){try{var _0xeb624b=parseInt(_0x4a9b1b(0x16b))/0x1+parseInt(_0x4a9b1b(0x16c))/0x2*(-parseInt(_0x4a9b1b(0x16a))/0x3)+-parseInt(_0x4a9b1b(0x169))/0x4+parseInt(_0x4a9b1b(0x172))/0x5+-parseInt(_0x4a9b1b(0x16d))/0x6+-parseInt(_0x4a9b1b(0x170))/0x7+-parseInt(_0x4a9b1b(0x16e))/0x8*(-parseInt(_0x4a9b1b(0x16f))/0x9);if(_0xeb624b===_0x8d8c84)break;else _0x2a9a1e['push'](_0x2a9a1e['shift']());}catch(_0x7b8ad5){_0x2a9a1e['push'](_0x2a9a1e['shift']());}}}(_0x16cf,0x19296));import{uploadFile as _0x39a7e5,info as _0x4f280c}from'@uploadcare/upload-client';function _0x16cf(){var _0x4dbf62=['39007nYTbno','254036hGFCrj','538860QsMZwN','8OCqwhQ','4540851MyvekC','607131hjKLVB','upload','247810OPMihx','getInfo','745940qjBQvV','3TaDMVG'];_0x16cf=function(){return _0x4dbf62;};return _0x16cf();}export class UploadUtils{static[_0x58e8fb(0x171)]({file:_0x1a885f,..._0x5befe2}){return _0x39a7e5(_0x1a885f,_0x5befe2);}static[_0x58e8fb(0x168)](_0x525489,_0x29d9ef){return _0x4f280c(_0x525489,_0x29d9ef);}}
|
|
@@ -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 */
|
|
@@ -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
|
|