@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-next-20260117.0 → 0.0.0-nightly-20260118.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/translations/af.js +1 -0
- package/build/translations/ar.js +1 -0
- package/build/translations/ast.js +1 -0
- package/build/translations/az.js +1 -0
- package/build/translations/be.js +1 -0
- package/build/translations/bg.js +1 -0
- package/build/translations/bn.js +1 -0
- package/build/translations/bs.js +1 -0
- package/build/translations/ca.js +1 -0
- package/build/translations/cs.js +1 -0
- package/build/translations/da.js +1 -0
- package/build/translations/de-ch.js +1 -0
- package/build/translations/de.js +1 -0
- package/build/translations/el.js +1 -0
- package/build/translations/en-au.js +1 -0
- package/build/translations/en-gb.js +1 -0
- package/build/translations/eo.js +1 -0
- package/build/translations/es-co.js +1 -0
- package/build/translations/es.js +1 -0
- package/build/translations/et.js +1 -0
- package/build/translations/eu.js +1 -0
- package/build/translations/fa.js +1 -0
- package/build/translations/fi.js +1 -0
- package/build/translations/fr.js +1 -0
- package/build/translations/gl.js +1 -0
- package/build/translations/gu.js +1 -0
- package/build/translations/he.js +1 -0
- package/build/translations/hi.js +1 -0
- package/build/translations/hr.js +1 -0
- package/build/translations/hu.js +1 -0
- package/build/translations/hy.js +1 -0
- package/build/translations/id.js +1 -0
- package/build/translations/it.js +1 -0
- package/build/translations/ja.js +1 -0
- package/build/translations/jv.js +1 -0
- package/build/translations/kk.js +1 -0
- package/build/translations/km.js +1 -0
- package/build/translations/kn.js +1 -0
- package/build/translations/ko.js +1 -0
- package/build/translations/ku.js +1 -0
- package/build/translations/lt.js +1 -0
- package/build/translations/lv.js +1 -0
- package/build/translations/ms.js +1 -0
- package/build/translations/nb.js +1 -0
- package/build/translations/ne.js +1 -0
- package/build/translations/nl.js +1 -0
- package/build/translations/no.js +1 -0
- package/build/translations/oc.js +1 -0
- package/build/translations/pl.js +1 -0
- package/build/translations/pt-br.js +1 -0
- package/build/translations/pt.js +1 -0
- package/build/translations/ro.js +1 -0
- package/build/translations/ru.js +1 -0
- package/build/translations/si.js +1 -0
- package/build/translations/sk.js +1 -0
- package/build/translations/sl.js +1 -0
- package/build/translations/sq.js +1 -0
- package/build/translations/sr-latn.js +1 -0
- package/build/translations/sr.js +1 -0
- package/build/translations/sv.js +1 -0
- package/build/translations/th.js +1 -0
- package/build/translations/ti.js +1 -0
- package/build/translations/tk.js +1 -0
- package/build/translations/tr.js +1 -0
- package/build/translations/tt.js +1 -0
- package/build/translations/ug.js +1 -0
- package/build/translations/uk.js +1 -0
- package/build/translations/ur.js +1 -0
- package/build/translations/uz.js +1 -0
- package/build/translations/vi.js +1 -0
- package/build/translations/zh-cn.js +1 -0
- package/build/translations/zh.js +1 -0
- package/build/uploadcare.js +5 -0
- package/ckeditor5-metadata.json +2 -2
- package/dist/index.js +3 -3
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/lang/contexts.json +24 -0
- package/lang/translations/af.po +100 -0
- package/lang/translations/ar.po +100 -0
- package/lang/translations/ast.po +100 -0
- package/lang/translations/az.po +100 -0
- package/lang/translations/be.po +100 -0
- package/lang/translations/bg.po +100 -0
- package/lang/translations/bn.po +100 -0
- package/lang/translations/bs.po +100 -0
- package/lang/translations/ca.po +100 -0
- package/lang/translations/cs.po +100 -0
- package/lang/translations/da.po +100 -0
- package/lang/translations/de-ch.po +100 -0
- package/lang/translations/de.po +100 -0
- package/lang/translations/el.po +100 -0
- package/lang/translations/en-au.po +100 -0
- package/lang/translations/en-gb.po +100 -0
- package/lang/translations/en.po +100 -0
- package/lang/translations/eo.po +100 -0
- package/lang/translations/es-co.po +100 -0
- package/lang/translations/es.po +100 -0
- package/lang/translations/et.po +100 -0
- package/lang/translations/eu.po +100 -0
- package/lang/translations/fa.po +100 -0
- package/lang/translations/fi.po +100 -0
- package/lang/translations/fr.po +100 -0
- package/lang/translations/gl.po +100 -0
- package/lang/translations/gu.po +100 -0
- package/lang/translations/he.po +100 -0
- package/lang/translations/hi.po +100 -0
- package/lang/translations/hr.po +100 -0
- package/lang/translations/hu.po +100 -0
- package/lang/translations/hy.po +100 -0
- package/lang/translations/id.po +100 -0
- package/lang/translations/it.po +100 -0
- package/lang/translations/ja.po +100 -0
- package/lang/translations/jv.po +100 -0
- package/lang/translations/kk.po +100 -0
- package/lang/translations/km.po +100 -0
- package/lang/translations/kn.po +100 -0
- package/lang/translations/ko.po +100 -0
- package/lang/translations/ku.po +100 -0
- package/lang/translations/lt.po +100 -0
- package/lang/translations/lv.po +100 -0
- package/lang/translations/ms.po +100 -0
- package/lang/translations/nb.po +100 -0
- package/lang/translations/ne.po +100 -0
- package/lang/translations/nl.po +100 -0
- package/lang/translations/no.po +100 -0
- package/lang/translations/oc.po +100 -0
- package/lang/translations/pl.po +100 -0
- package/lang/translations/pt-br.po +100 -0
- package/lang/translations/pt.po +100 -0
- package/lang/translations/ro.po +100 -0
- package/lang/translations/ru.po +100 -0
- package/lang/translations/si.po +100 -0
- package/lang/translations/sk.po +100 -0
- package/lang/translations/sl.po +100 -0
- package/lang/translations/sq.po +100 -0
- package/lang/translations/sr-latn.po +100 -0
- package/lang/translations/sr.po +100 -0
- package/lang/translations/sv.po +100 -0
- package/lang/translations/th.po +100 -0
- package/lang/translations/ti.po +100 -0
- package/lang/translations/tk.po +100 -0
- package/lang/translations/tr.po +100 -0
- package/lang/translations/tt.po +100 -0
- package/lang/translations/ug.po +100 -0
- package/lang/translations/uk.po +100 -0
- package/lang/translations/ur.po +100 -0
- package/lang/translations/uz.po +100 -0
- package/lang/translations/vi.po +100 -0
- package/lang/translations/zh-cn.po +100 -0
- package/lang/translations/zh.po +100 -0
- package/package.json +46 -23
- package/src/augmentation.js +23 -0
- package/src/index.js +23 -0
- package/{dist → src}/ui/uploadcarecontroller.d.ts +3 -3
- package/src/ui/uploadcarecontroller.js +24 -0
- package/{dist → src}/ui/uploadcareformview.d.ts +1 -1
- package/src/ui/uploadcareformview.js +23 -0
- package/{dist → src}/uploadcare.d.ts +1 -1
- package/src/uploadcare.js +23 -0
- package/{dist → src}/uploadcarecommand.d.ts +2 -2
- package/src/uploadcarecommand.js +23 -0
- package/{dist → src}/uploadcareconfig.d.ts +1 -1
- package/src/uploadcareconfig.js +23 -0
- package/{dist → src}/uploadcareediting.d.ts +2 -2
- package/src/uploadcareediting.js +23 -0
- package/{dist → src}/uploadcareimageedit/ui/uploadcareimageeditcontroller.d.ts +5 -5
- package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.js +24 -0
- package/{dist → src}/uploadcareimageedit/ui/uploadcareimageeditformeditingview.d.ts +2 -2
- package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.js +23 -0
- package/{dist → src}/uploadcareimageedit/ui/uploadcareimageeditformerrorview.d.ts +2 -2
- package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.js +23 -0
- package/{dist → src}/uploadcareimageedit/ui/uploadcareimageeditformloadingview.d.ts +2 -2
- package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.js +23 -0
- package/{dist → src}/uploadcareimageedit/ui/uploadcareimageeditformview.d.ts +1 -1
- package/src/uploadcareimageedit/ui/uploadcareimageeditformview.js +23 -0
- package/{dist → src}/uploadcareimageedit/uploadcareimageeditcommand.d.ts +2 -2
- package/src/uploadcareimageedit/uploadcareimageeditcommand.js +23 -0
- package/{dist → src}/uploadcareimageedit/uploadcareimageeditediting.d.ts +2 -2
- package/src/uploadcareimageedit/uploadcareimageeditediting.js +23 -0
- package/{dist → src}/uploadcareimageedit/uploadcareimageeditui.d.ts +1 -1
- package/src/uploadcareimageedit/uploadcareimageeditui.js +23 -0
- package/{dist → src}/uploadcareimageedit/uploadcareimagereplacecommand.d.ts +1 -1
- package/src/uploadcareimageedit/uploadcareimagereplacecommand.js +23 -0
- package/{dist → src}/uploadcareimageedit.d.ts +1 -1
- package/src/uploadcareimageedit.js +23 -0
- package/{dist → src}/uploadcareui.d.ts +1 -1
- package/src/uploadcareui.js +23 -0
- package/{dist → src}/uploadcareuploadadapter.d.ts +2 -2
- package/src/uploadcareuploadadapter.js +23 -0
- package/src/utils/common-translations.js +23 -0
- package/{dist → src}/utils/dialogfocusmanagerview.d.ts +2 -2
- package/src/utils/dialogfocusmanagerview.js +23 -0
- package/src/utils/editingutils.js +23 -0
- package/src/utils/isancestor.js +23 -0
- package/src/utils/uploadutils.js +23 -0
- package/theme/uploadcare-form.css +201 -0
- package/theme/uploadcare-theme.css +20 -0
- package/theme/uploadcareimageedit.css +64 -0
- /package/{dist → src}/augmentation.d.ts +0 -0
- /package/{dist → src}/index.d.ts +0 -0
- /package/{dist → src}/utils/common-translations.d.ts +0 -0
- /package/{dist → src}/utils/editingutils.d.ts +0 -0
- /package/{dist → src}/utils/isancestor.d.ts +0 -0
- /package/{dist → src}/utils/uploadutils.d.ts +0 -0
package/ckeditor5-metadata.json
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
"className": "Uploadcare",
|
|
6
6
|
"description": "Allows inserting images into the rich-text editor content and to the Uploadcare cloud.",
|
|
7
7
|
"docs": "",
|
|
8
|
-
"path": "src/uploadcare.
|
|
8
|
+
"path": "src/uploadcare.js",
|
|
9
9
|
"requires": [
|
|
10
10
|
[
|
|
11
11
|
"ImageBlock",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"className": "UploadcareImageEdit",
|
|
32
32
|
"description": "Allows editing images.",
|
|
33
33
|
"docs": "",
|
|
34
|
-
"path": "src/uploadcareimageedit.
|
|
34
|
+
"path": "src/uploadcareimageedit.js",
|
|
35
35
|
"requires": [
|
|
36
36
|
"Uploadcare"
|
|
37
37
|
],
|
package/dist/index.js
CHANGED
|
@@ -20,6 +20,6 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as _0xda65f9,Command as _0xec77f3}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x3fae94,IconGooglePhotos as _0x1510a5,IconGoogleDrive as _0x582f4c,IconFacebook as _0x50cbee,IconDropbox as _0x45d4e5,IconUploadcareLink as _0x233d5e,IconUploadcareImageUpload as _0x59d902,IconError as _0x370461,IconUploadcareImageEdit as _0x251814}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x38bc90,MenuBarMenuListItemButtonView as _0x433a9c,View as _0x2cbbce,FocusCycler as _0x20fbaf,Dialog as _0xdbd905,DialogViewPosition as _0x3309b3,SpinnerView as _0x5c3cd2,IconView as _0x2d7d17,Notification as _0x59fc66}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x50b3ce,DomEmitterMixin as _0x297764,global as _0x38882a,getAncestors as _0x400538,ObservableMixin as _0x1ea062,uid as _0x469c17,createElement as _0x366a80}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x111ac4}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x312ebe,info as _0x39ad5f}from'@uploadcare/upload-client';import*as _0x5794f3 from'@uploadcare/file-uploader';var S=function(_0x55af10){return _0x55af10['Local']='local',_0x55af10['URL']='url',_0x55af10['Dropbox']='dropbox',_0x55af10['GDrive']='gdrive',_0x55af10['Facebook']='facebook',_0x55af10['GPhotos']='gphotos',_0x55af10['OneDrive']='onedrive',_0x55af10;}({});function T(_0x515960,_0x33b7ab,_0x5645cf){const t=_0x515960['t'],_0xf6045f=_0x515960['t'];switch(_0x33b7ab){case S['Local']:return{'text':_0xf6045f('Insert'===_0x5645cf?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0xf6045f('From\x20computer')};case S['URL']:return{'text':'Insert'===_0x5645cf?_0xf6045f('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0xf6045f('Via\x20URL')};case S['Dropbox']:return{'text':t('Insert'===_0x5645cf?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case S['Facebook']:return{'text':t('Insert'===_0x5645cf?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case S['GDrive']:return{'text':t('Insert'===_0x5645cf?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case S['GPhotos']:return{'text':t('Insert'===_0x5645cf?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case S['OneDrive']:return{'text':t('Insert'===_0x5645cf?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x33b7ab;}}class A extends _0xda65f9{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'UploadcareUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x11f591=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x326774;for(const _0x443eb7 in _0x11f591){const _0x2b734c=_0x443eb7,_0x446722=_0x11f591[_0x2b734c];if('uploadcareLicenseKeyValid'==_0x446722||'uploadcareLicenseKeyInvalid'==_0x446722||'uploadcareLicenseKeyExpired'==_0x446722||'uploadcareLicenseKeyDomainLimit'==_0x446722||'uploadcareLicenseKeyNotAllowed'==_0x446722||'uploadcareLicenseKeyEvaluationLimit'==_0x446722||'uploadcareLicenseKeyUsageLimit'==_0x446722){delete _0x11f591[_0x2b734c],_0x326774=_0x446722,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x326774&&_0x11f591['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x326774&&_0x11f591['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x326774&&_0x11f591['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x326774&&_0x11f591['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x326774&&_0x11f591['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyUsageLimit'==_0x326774&&_0x11f591['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x2d0ede}=this,_0x22be71=_0x2d0ede['commands']['get']('uploadcare');if(!_0x22be71)return;const _0x1fde1e=this['_normalizeConfigSourceList'](_0x2d0ede['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x3f5657,_0x2f6a39)=>{const _0x14ca4d=this['_getIntegrationKey'](_0x2f6a39['type']);return _0x3f5657[_0x14ca4d]||(_0x3f5657[_0x14ca4d]=[]),_0x3f5657[_0x14ca4d]['push'](_0x2f6a39),_0x3f5657;},{});_0x2d0ede['plugins']['has']('ImageInsertUI')&&_0x2d0ede['commands']['get']('uploadcare')&&Object['entries'](_0x1fde1e)['forEach'](([_0x30b983,_0x1def48])=>{_0x2d0ede['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x30b983,'observable':()=>_0x22be71,'buttonViewCreator':()=>this['_createToolbarButton'](_0x1def48),'formViewCreator':()=>this['_createDropdownButtons'](_0x1def48),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x1def48),'override':'assetManager'!==_0x30b983});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x52d939){const {locale:_0x2203be}=this['editor'];return _0x52d939['map'](_0x546a91=>{const _0x5cc0ab=T(_0x2203be,_0x546a91,'Insert');switch(_0x546a91){case S['Local']:return{'icon':_0x59d902,'type':S['Local'],..._0x5cc0ab};case S['URL']:return{'icon':_0x233d5e,'type':S['URL'],..._0x5cc0ab};case S['Dropbox']:return{'icon':_0x45d4e5,'type':S['Dropbox'],..._0x5cc0ab};case S['Facebook']:return{'icon':_0x50cbee,'type':S['Facebook'],..._0x5cc0ab};case S['GDrive']:return{'icon':_0x582f4c,'type':S['GDrive'],..._0x5cc0ab};case S['GPhotos']:return{'icon':_0x1510a5,'type':S['GPhotos'],..._0x5cc0ab};case S['OneDrive']:return{'icon':_0x3fae94,'type':S['OneDrive'],..._0x5cc0ab};}});}['_getIntegrationKey'](_0x59d654){switch(_0x59d654){case S['Local']:return'upload';case S['URL']:return'url';default:return'assetManager';}}['_createButton'](_0xbf29e3,_0x3b8add){const _0x1682ad=this['editor'],_0x135919=new _0xbf29e3(_0x1682ad['locale']),_0x46ce19=_0x1682ad['commands']['get']('uploadcare');return _0x135919['bind']('isEnabled')['to'](_0x46ce19),_0x135919['on']('execute',()=>{_0x46ce19['execute'](_0x3b8add);}),_0x135919;}['_createToolbarButton'](_0x59bc6d){const {locale:_0xcd074}=this['editor'],_0x2fb56c=this['editor']['plugins']['get']('ImageInsertUI'),_0x4f6520=_0x59bc6d[0x0],_0x52b120=this['_createButton'](_0x38bc90,_0x4f6520['type']);return _0x52b120['icon']=_0x4f6520['icon'],_0x52b120['bind']('label')['to'](_0x2fb56c,'isImageSelected',_0x49742b=>T(_0xcd074,_0x4f6520['type'],_0x49742b?'Replace':'Insert')['text']),_0x52b120['tooltip']=!0x0,_0x52b120;}['_createDropdownButtons'](_0x4e0a01){const {locale:_0x4be602}=this['editor'],_0xc36f20=this['editor']['plugins']['get']('ImageInsertUI');return _0x4e0a01['map'](_0x525b5c=>{const _0x3f1ecd=this['_createButton'](_0x38bc90,_0x525b5c['type']);return _0x3f1ecd['withText']=!0x0,_0x3f1ecd['icon']=_0x525b5c['icon'],_0x3f1ecd['bind']('label')['to'](_0xc36f20,'isImageSelected',_0x576347=>T(_0x4be602,_0x525b5c['type'],_0x576347?'Replace':'Insert')['text']),_0x3f1ecd;});}['_createMenuBarButtons'](_0x3f3f57){return _0x3f3f57['map'](_0x4aa0f6=>{const _0x34fb41=this['_createButton'](_0x433a9c,_0x4aa0f6['type']);return _0x34fb41['icon']=_0x4aa0f6['icon'],_0x34fb41['label']=_0x4aa0f6['shortText'],_0x34fb41;});}}class K extends _0x2cbbce{['focusTracker'];['focusCycler'];constructor(_0x3982bb){super(_0x3982bb),this['focusTracker']=new _0x50b3ce(),this['focusCycler']=new _0x20fbaf({'focusables':this['createCollection'](),'focusTracker':this['focusTracker']});}['getFocusableElement'](){return{'tag':'div','attributes':{'aria-hidden':'true','tabindex':'0'},'on':{'focus':this['bindTemplate']['to'](()=>{this['focusCycler']['fire']('forwardCycle');})}};}}class O extends K{constructor(_0x7e065c,_0x150b14){super(_0x7e065c),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all-excluded','ck-uploadcare-form'],'tabindex':'-1'},'children':[{'tag':'uc-file-uploader-inline','attributes':{'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'uploader-'+_0x150b14}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function D(_0x2075a3,_0x27efb5){const _0x145081=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0xdcb266=>_0xdcb266<=_0x27efb5)['map'](_0x1740ac=>_0x2075a3['replace'](/\/$/,'')+'/-/resize/'+_0x1740ac+'x/\x20'+_0x1740ac+'w');return{'imageFallbackUrl':_0x2075a3,'imageSources':[{'srcset':_0x145081['join'](',\x20'),'sizes':'(max-width:\x20'+_0x27efb5+'px)\x20100vw,\x20'+_0x27efb5+'px','type':'image/webp'}]};}function F(_0x1e68fb,_0x766f10,_0x3ac7ac){const _0x2d5ce7=_0x1e68fb['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x2d5ce7?parseInt(_0x2d5ce7[0x1],0xa):_0x766f10,'height':_0x2d5ce7?parseInt(_0x2d5ce7[0x2],0xa):_0x3ac7ac};}function $(_0xa074c1,_0x363a01){const _0x4d8202=new(_0x297764())(),_0x56c79d=_0xa074c1['plugins']['get']('ImageUtils'),_0x4a54e1=_0xa074c1['editing']['mapper']['toViewElement'](_0x363a01),_0x1f5e96=_0x56c79d['findViewImgElement'](_0x4a54e1),_0x42f07d=_0xa074c1['editing']['view']['domConverter']['viewToDom'](_0x1f5e96),_0x326f38=_0x363a01['getAttribute']('width'),_0x550714=_0x363a01['getAttribute']('height'),_0x1964ab='image-processing';_0xa074c1['editing']['view']['change'](_0x21c7bc=>{_0x21c7bc['addClass'](_0x1964ab,_0x4a54e1),_0x21c7bc['setStyle']('aspect-ratio',_0x326f38+'/'+_0x550714,_0x1f5e96);}),_0x4d8202['listenTo'](_0x42f07d,'load',()=>{_0x4d8202['stopListening'](_0x42f07d,'load'),_0xa074c1['editing']['view']['change'](_0x3ae4b4=>{_0x3ae4b4['removeClass'](_0x1964ab,_0x4a54e1),_0x3ae4b4['removeStyle']('aspect-ratio',_0x1f5e96);});});}function B(_0x3a6517){if(Array['isArray'](_0x3a6517)){const _0x57ef4e=_0x3a6517['map'](B);return _0x2f19a3=>_0x57ef4e['some'](_0x21db4b=>_0x21db4b(_0x2f19a3));}if('origin'==_0x3a6517){const _0x1f0986=_0x38882a['window']['location']['origin'];return _0xf2e619=>new URL(_0xf2e619,_0x38882a['document']['baseURI'])['origin']==_0x1f0986;}return'function'==typeof _0x3a6517?_0x3a6517:_0x3a6517 instanceof RegExp?_0x1f4f68=>!(!_0x1f4f68['match'](_0x3a6517)&&!_0x1f4f68['replace'](/^https?:\/\//,'')['match'](_0x3a6517)):()=>!0x1;}function V(_0x4573f0,_0x3bde73){return _0x400538(_0x4573f0['target'])['includes'](_0x3bde73);}class j extends/* #__PURE__ -- @preserve */
|
|
24
|
-
_0x1ea062(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x2e4d7c,_0x5d1cb8,_0x17a72c){super(),this['_editor']=_0x2e4d7c,this['_editing']=_0x5d1cb8,this['_dialog']=_0x2e4d7c['plugins']['get'](_0xdbd905),this['_api']=_0x5d1cb8['ctxElement']['getAPI'](),this['_type']=_0x17a72c,this['_editing']['configElement']['setAttribute']('source-list',this['_type']),this['_initDialog'](),this['_initListeners'](),this['_api']['initFlow']();}['destroy'](){this['_formView']&&(this['_formView']['destroy'](),this['_formView']=null),this['_api']&&this['_api']['doneFlow'](),this['stopListening'](),this['stopDelegating']();}['_initDialog'](){const {locale:_0x161b39,model:_0x3e0edf}=this['_editor'],_0x25e65f=_0x3e0edf['document']['selection']['getSelectedElement'](),_0xc25f6b=_0x25e65f&&(_0x25e65f['is']('element','imageBlock')||_0x25e65f['is']('element','imageInline'));this['_formView']=new O(_0x161b39,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':_0x59d902,'title':T(_0x161b39,this['_type'],_0xc25f6b?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x3309b3['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x46fa8e=>!V(_0x46fa8e,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x5e2438}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0xaa13f5=>{const _0x1c97b4=_0x5e2438['length'];for(const _0x45d5e3 of _0x5e2438){const _0x1eac2d=_0x45d5e3===_0x5e2438[_0x1c97b4-0x1],{cdnUrl:_0x3423c9,fileInfo:_0x1daeac}=_0x45d5e3;if(!_0x3423c9||!_0x1daeac)continue;const {width:_0x247fa6,height:_0x253b09}=_0x1daeac['imageInfo'],_0x15fd7d=F(_0x3423c9,_0x247fa6,_0x253b09),_0x1743e4=D(_0x3423c9,_0x15fd7d['width']),_0x254606={'id':_0x1daeac['uuid'],'type':'image','attributes':{'imageDimension':_0x15fd7d,..._0x1743e4}};this['_insertAsset'](_0x254606,_0x1eac2d,_0xaa13f5);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x1ad28c=>{'idle'===_0x1ad28c['detail']['status']&&!_0x1ad28c['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===S['Local']?this['_api']['setCurrentActivity'](S['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x327957,_0x39600b,_0x4ae671){const _0x1e5fd7=this['_editor']['model']['document']['selection'],_0xb855fb=_0x1e5fd7['getSelectedElement'](),_0x38749b=!(!_0xb855fb||!_0xb855fb['is']('element','imageInline'));_0x4ae671['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x327957,_0x38749b),_0x39600b||_0x4ae671['setSelection'](_0x1e5fd7['getLastPosition']());}['_insertImage'](_0x4fbb7b,_0x33d3c6){const _0x4dd9e0=this['_editor'],{imageDimension:_0x337b65,imageFallbackUrl:_0x18efaf,imageSources:_0x454939}=_0x4fbb7b['attributes'];_0x4dd9e0['execute']('insertImage',{'imageType':_0x33d3c6?'imageInline':null,'source':{'uploadcareImageId':_0x4fbb7b['id'],'src':_0x18efaf,'sources':_0x454939,..._0x337b65}});}}class M extends _0xec77f3{['_editing'];['_controller']=null;static get['requires'](){return[_0xdbd905,z];}constructor(_0x58f2ea){super(_0x58f2ea),this['_editing']=_0x58f2ea['plugins']['get'](z);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x41d5c6){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new j(this['editor'],this['_editing'],_0x41d5c6);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class q{static['upload']({file:_0x116a08,..._0x11efb7}){return _0x312ebe(_0x116a08,_0x11efb7);}static['getInfo'](_0x87149d,_0x15bc11){return _0x39ad5f(_0x87149d,_0x15bc11);}}class W extends _0xda65f9{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x111ac4,z];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x4e817b=this['editor'];if(!!!_0x4e817b['config']['get']('uploadcare'))return;_0x4e817b['plugins']['get'](_0x111ac4)['createUploadAdapter']=_0x3106c9=>new G(_0x3106c9,_0x4e817b),_0x4e817b['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x1db38e,{imageElement:_0x587d89,data:_0x313c31})=>{_0x4e817b['model']['change'](_0x5e6409=>{_0x5e6409['setAttribute']('uploadcareImageId',_0x313c31['uploadcareImageId'],_0x587d89);});});}}class G{['loader'];['editor'];['controller'];constructor(_0x4eb70b,_0x540e17){this['loader']=_0x4eb70b,this['editor']=_0x540e17,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0xf90174=await this['loader']['file'];return q['upload']({'file':_0xf90174,'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':_0xe06b91=>{_0xe06b91&&_0xe06b91['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0xe06b91['value']);}})['then'](async _0x3a9cd5=>{const {imageFallbackUrl:_0x5bef3a,imageSources:_0x3ec327}=D(_0x3a9cd5['cdnUrl'],_0x3a9cd5['imageInfo']['width']);return{'uploadcareImageId':_0x3a9cd5['uuid'],'default':_0x5bef3a,'sources':_0x3ec327};})['catch'](()=>{const _0x88dfe7=t('Cannot\x20upload\x20file:')+('\x20'+_0xf90174['name']+'.');return Promise['reject'](_0x88dfe7);});}['abort'](){this['controller']['abort']();}}class z extends _0xda65f9{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',W,_0xdbd905];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['ucContextId'];get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}constructor(_0x385f93){super(_0x385f93),this['ucContextId']=_0x469c17();}['init'](){const _0x1089ad=this['editor'];_0x1089ad['commands']['add']('uploadcare',new M(_0x1089ad));}['afterInit'](){this['_initSchema'](),this['_initConversion'](),this['_initConfig'](),this['_initCtx'](),this['_initImageProcessingIndicator'](),this['listenTo'](this['editor'],'destroy',()=>{this['_configElement']&&(this['_configElement']['remove'](),this['_configElement']=null),this['_ctxElement']&&(this['_ctxElement']['remove'](),this['_ctxElement']=null);const _0x4627a8=_0x38882a['document']['querySelector']('input[uploadcare-file-input]');_0x4627a8&&_0x4627a8['remove']();}),async function(_0x1432f6){const _0x366396=_0x59827c([0x68,0x67,0x50,0x36,0x38,0x70,0x71,0x63,0x37,0x4f,0x42,0x4a,0x78,0x39,0x75,0x33,0x7a,0x72,0x48,0x61,0x74,0x59,0x55,0x58,0x66,0x30,0x34,0x54,0x64,0x56,0x6b,0x4d,0x46,0x6d,0x77,0x43,0x73,0x35,0x53,0x44,0x41,0x76,0x6a,0x32,0x31,0x69,0x57,0x51,0x47,0x65,0x5a,0x4b,0x4c,0x79,0x52,0x6c,0x45,0x4e,0x6e,0x6f,0x49,0x62]),_0x5e853e=0x535f8c3a,_0x4ee8ee=0x5358f32a^_0x5e853e,_0x143d7a=window[_0x59827c([0x44,0x61,0x74,0x65])][_0x59827c([0x6e,0x6f,0x77])](),_0x318cb4=_0x1432f6[_0x59827c([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x4f2c9a=new window[(_0x59827c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x7eb200=>{_0x318cb4[_0x59827c([0x6f,0x6e,0x63,0x65])](_0x59827c([0x72,0x65,0x61,0x64,0x79]),_0x7eb200);}),_0x2e765c={[_0x59827c([0x6b,0x74,0x79])]:_0x59827c([0x45,0x43]),[_0x59827c([0x75,0x73,0x65])]:_0x59827c([0x73,0x69,0x67]),[_0x59827c([0x63,0x72,0x76])]:_0x59827c([0x50,0x2d,0x32,0x35,0x36]),[_0x59827c([0x78])]:_0x59827c([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x59827c([0x79])]:_0x59827c([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x59827c([0x61,0x6c,0x67])]:_0x59827c([0x45,0x53,0x32,0x35,0x36])},_0x3c39f0=_0x318cb4[_0x59827c([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x59827c([0x67,0x65,0x74])](_0x59827c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x5efc25(){let _0x147076,_0x38dc41=null,_0x4c65b5=null;try{if(_0x3c39f0==_0x59827c([0x47,0x50,0x4c]))return _0x59827c([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x147076=_0x453343(),!_0x147076)return _0x59827c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x147076[_0x59827c([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4c65b5=_0x417753(_0x147076[_0x59827c([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x147076[_0x59827c([0x6a,0x74,0x69])])),await _0x515c16()?_0x1a032b()?_0x11690d()?_0x59827c([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x5a7545()?(_0x147076[_0x59827c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x59827c([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x38dc41=_0x4fbfd2(_0x59827c([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x291130()):_0x59827c([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x59827c([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x59827c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x59827c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x11690d(){const _0xe3780c=[_0x59827c([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x59827c([0x74,0x72,0x69,0x61,0x6c])][_0x59827c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x147076[_0x59827c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x143d7a/0x3e8:0xe10*_0x4ee8ee;return _0x147076[_0x59827c([0x65,0x78,0x70])]<_0xe3780c;}function _0x1a032b(){const _0x124ec1=_0x147076[_0x59827c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x124ec1&&(!!_0x124ec1[_0x59827c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x59827c([0x2a]))||!!_0x124ec1[_0x59827c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x59827c([0x55,0x50,0x4c,0x43])));}function _0x5a7545(){const _0xf8b5b5=_0x147076[_0x59827c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0xf8b5b5||0x0==_0xf8b5b5[_0x59827c([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1e32f7}=new URL(window[_0x59827c([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0xf8b5b5[_0x59827c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1e32f7))return!0x0;const _0x1f5ad8=_0x1e32f7[_0x59827c([0x73,0x70,0x6c,0x69,0x74])](_0x59827c([0x2e]));return _0xf8b5b5[_0x59827c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x52007f=>_0x52007f[_0x59827c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x59827c([0x2a])))[_0x59827c([0x6d,0x61,0x70])](_0x4c11dc=>_0x4c11dc[_0x59827c([0x73,0x70,0x6c,0x69,0x74])](_0x59827c([0x2e])))[_0x59827c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x54c8cd=>_0x54c8cd[_0x59827c([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x1f5ad8[_0x59827c([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x59827c([0x6d,0x61,0x70])](_0x3dddaf=>Array(_0x1f5ad8[_0x59827c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x3dddaf[_0x59827c([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x59827c([0x66,0x69,0x6c,0x6c])](_0x3dddaf[0x0]===_0x59827c([0x2a])?_0x59827c([0x2a]):'')[_0x59827c([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x3dddaf))[_0x59827c([0x73,0x6f,0x6d,0x65])](_0x58fba2=>_0x1f5ad8[_0x59827c([0x65,0x76,0x65,0x72,0x79])]((_0x33e2b9,_0x2066e3)=>_0x58fba2[_0x2066e3]===_0x33e2b9||_0x58fba2[_0x2066e3]===_0x59827c([0x2a])));}function _0x291130(){return _0x38dc41&&_0x4c65b5?new window[(_0x59827c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x45134c,_0x43328c)=>{_0x38dc41[_0x59827c([0x74,0x68,0x65,0x6e])](_0x45134c,_0x43328c),_0x4c65b5[_0x59827c([0x74,0x68,0x65,0x6e])](_0x3bdc54=>{_0x3bdc54!=_0x59827c([0x56,0x61,0x6c,0x69,0x64])&&_0x45134c(_0x3bdc54);},_0x43328c);}):_0x38dc41||_0x4c65b5||_0x59827c([0x56,0x61,0x6c,0x69,0x64]);}}function _0x417753(_0xd4e46e,_0x472b55){return new window[(_0x59827c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x33c8b=>{if(_0x5374de())return _0x33c8b(_0x59827c([0x56,0x61,0x6c,0x69,0x64]));_0x149a2c(),_0x318cb4[_0x59827c([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x59827c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x3864c0=!0x1;const _0x464d20=_0x469c17();function _0x5b6a55(_0x277f9a){return!!_0x277f9a&&(typeof _0x277f9a===_0x59827c([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x277f9a===_0x59827c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x277f9a[_0x59827c([0x74,0x68,0x65,0x6e])]===_0x59827c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x277f9a[_0x59827c([0x63,0x61,0x74,0x63,0x68])]===_0x59827c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4720ec(_0x47d934){_0x2fbd0a(_0x47d934)[_0x59827c([0x74,0x68,0x65,0x6e])](_0x3ff7a2=>{if(!_0x3ff7a2||_0x3ff7a2[_0x59827c([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x59827c([0x6f,0x6b]))return _0x59827c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x573826(_0x309977(_0x464d20+_0x472b55))!=_0x3ff7a2[_0x59827c([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x59827c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x59827c([0x56,0x61,0x6c,0x69,0x64]);})[_0x59827c([0x74,0x68,0x65,0x6e])](_0x4f3826=>(_0x4f3729(),_0x4f3826),()=>{const _0x1bf53f=_0x4a6ac5();return null==_0x1bf53f?(_0x4f3729(),_0x59827c([0x56,0x61,0x6c,0x69,0x64])):_0x59827c(_0x143d7a-_0x1bf53f>(0x7753083a^_0x5e853e)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x59827c([0x74,0x68,0x65,0x6e])](_0x33c8b)[_0x59827c([0x63,0x61,0x74,0x63,0x68])](()=>{_0x33c8b(_0x59827c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x567678=0x536962ba^_0x5e853e;function _0x4f3729(){const _0xb2a92e=_0x59827c([0x6c,0x6c,0x63,0x74,0x2d])+_0x573826(_0x309977(_0xd4e46e)),_0x5371ba=_0x486671(_0x573826(window[_0x59827c([0x4d,0x61,0x74,0x68])][_0x59827c([0x63,0x65,0x69,0x6c])](_0x143d7a/_0x567678)));window[_0x59827c([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x59827c([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xb2a92e,_0x5371ba);}function _0x4a6ac5(){const _0x55d356=_0x59827c([0x6c,0x6c,0x63,0x74,0x2d])+_0x573826(_0x309977(_0xd4e46e)),_0xe39eed=window[_0x59827c([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x59827c([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x55d356);return _0xe39eed?window[_0x59827c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x486671(_0xe39eed),0x10)*_0x567678:null;}function _0x2fbd0a(_0x320bd1){return new window[(_0x59827c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2c5dc5,_0x4ccfed)=>{_0x320bd1[_0x59827c([0x74,0x68,0x65,0x6e])](_0x2c5dc5,_0x4ccfed),window[_0x59827c([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x4ccfed,0x535e58fa^_0x5e853e);});}}_0x318cb4[_0x59827c([0x6f,0x6e])](_0x59827c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x3af558,_0x2b2d67)=>{if(_0x2b2d67[0x0]!=_0xd4e46e)return _0x33c8b(_0x59827c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2b2d67[0x1]={..._0x2b2d67[0x1],[_0x59827c([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x464d20};},{[_0x59827c([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x59827c([0x68,0x69,0x67,0x68])}),_0x318cb4[_0x59827c([0x6f,0x6e])](_0x59827c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0xc92aac=>{_0x5b6a55(_0xc92aac[_0x59827c([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x3864c0=!0x0,_0x4720ec(_0xc92aac[_0x59827c([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x59827c([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x59827c([0x6c,0x6f,0x77])}),_0x4f2c9a[_0x59827c([0x74,0x68,0x65,0x6e])](()=>{_0x3864c0||_0x33c8b(_0x59827c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x5374de(){return _0x318cb4[_0x59827c([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x59827c([0x76,0x69,0x65,0x77])][_0x59827c([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x59827c([0x61,0x75,0x74,0x6f]);}function _0x149a2c(){_0x318cb4[_0x59827c([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x59827c([0x76,0x69,0x65,0x77])][_0x59827c([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x59827c([0x61,0x75,0x74,0x6f]);}}function _0x4fbfd2(_0x590098){const _0x3c5c40=[new window[(_0x59827c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x162d1b=>setTimeout(_0x162d1b,0x5356b2f6^_0x5e853e)),_0x4f2c9a[_0x59827c([0x74,0x68,0x65,0x6e])](()=>new window[(_0x59827c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2931d7=>{let _0x162ff6=0x0;_0x318cb4[_0x59827c([0x6d,0x6f,0x64,0x65,0x6c])][_0x59827c([0x6f,0x6e])](_0x59827c([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x87b7e1,_0x503c25)=>{_0x503c25[0x0][_0x59827c([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x162ff6++,_0x162ff6==(0x535f89d2^_0x5e853e)&&(_0x2931d7(),_0x87b7e1[_0x59827c([0x6f,0x66,0x66])]());});}))];return window[_0x59827c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x59827c([0x72,0x61,0x63,0x65])](_0x3c5c40)[_0x59827c([0x74,0x68,0x65,0x6e])](()=>_0x590098);}async function _0x1b4730(){await _0x4f2c9a,_0x318cb4[_0x59827c([0x6d,0x6f,0x64,0x65,0x6c])][_0x59827c([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x176fc0,_0x318cb4[_0x59827c([0x6d,0x6f,0x64,0x65,0x6c])][_0x59827c([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x176fc0,_0x318cb4[_0x59827c([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x59827c([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x15cbf0(_0x1ad8f0){const _0x53509a=_0x3751bc();_0x318cb4[_0x53509a]=_0x59827c([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x1ad8f0,_0x1ad8f0!=_0x59827c([0x56,0x61,0x6c,0x69,0x64])&&_0x1b4730();}function _0x3751bc(){const _0x3a7a70=window[_0x59827c([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x59827c([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x59827c([0x6e,0x6f,0x77])]())[_0x59827c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x59827c([0x2e]),'');let _0x229a63=_0x59827c([0x68]);for(let _0x344300=0x0;_0x344300<_0x3a7a70[_0x59827c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x344300+=0x2){let _0x117d07=window[_0x59827c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3a7a70[_0x59827c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x344300,_0x344300+0x2));_0x117d07>=_0x366396[_0x59827c([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x117d07-=_0x366396[_0x59827c([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x229a63+=_0x366396[_0x117d07];}return _0x229a63;}function _0x453343(){const _0x15b116=_0x3c39f0[_0x59827c([0x73,0x70,0x6c,0x69,0x74])](_0x59827c([0x2e]));if(0x3!=_0x15b116[_0x59827c([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0xaf26e0(_0x15b116[0x1]);function _0xaf26e0(_0x115f0b){const _0x2211fb=_0x399eb9(_0x115f0b);return _0x2211fb&&_0x38f1f3()?_0x2211fb:null;function _0x38f1f3(){const _0xe9fed=_0x2211fb[_0x59827c([0x6a,0x74,0x69])],_0x44bfc3=window[_0x59827c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xe9fed[_0x59827c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xe9fed[_0x59827c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x5cbc5b={..._0x2211fb,[_0x59827c([0x6a,0x74,0x69])]:_0xe9fed[_0x59827c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0xe9fed[_0x59827c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x5cbc5b[_0x59827c([0x76,0x63])],_0x309977(_0x5cbc5b)==_0x44bfc3;}}}async function _0x515c16(){let _0x2a290f=!0x0;try{const _0xe914b6=_0x3c39f0[_0x59827c([0x73,0x70,0x6c,0x69,0x74])](_0x59827c([0x2e])),[_0x19e8ff,_0x56b4c8,_0x547eb7]=_0xe914b6;return _0x15cf33(_0x19e8ff),await _0x5846ed(_0x19e8ff,_0x56b4c8,_0x547eb7),_0x2a290f;}catch{return!0x1;}function _0x15cf33(_0x36c2e1){const _0x5c70e7=_0x399eb9(_0x36c2e1);_0x5c70e7&&_0x5c70e7[_0x59827c([0x61,0x6c,0x67])]==_0x59827c([0x45,0x53,0x32,0x35,0x36])||(_0x2a290f=!0x1);}async function _0x5846ed(_0xada6b,_0x53abbe,_0x565de4){const _0x3a7f95=window[_0x59827c([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x59827c([0x66,0x72,0x6f,0x6d])](_0x6361ab(_0x565de4),_0x9568ad=>_0x9568ad[_0x59827c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x50dde3=new window[(_0x59827c([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x59827c([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0xada6b+_0x59827c([0x2e])+_0x53abbe),_0x29a1c5=window[_0x59827c([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x59827c([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x29a1c5)return;const _0x5f4faa=await _0x29a1c5[_0x59827c([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x59827c([0x6a,0x77,0x6b]),_0x2e765c,{[_0x59827c([0x6e,0x61,0x6d,0x65])]:_0x59827c([0x45,0x43,0x44,0x53,0x41]),[_0x59827c([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x59827c([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x59827c([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x29a1c5[_0x59827c([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x59827c([0x6e,0x61,0x6d,0x65])]:_0x59827c([0x45,0x43,0x44,0x53,0x41]),[_0x59827c([0x68,0x61,0x73,0x68])]:{[_0x59827c([0x6e,0x61,0x6d,0x65])]:_0x59827c([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5f4faa,_0x3a7f95,_0x50dde3)||(_0x2a290f=!0x1);}}function _0x399eb9(_0x1f256b){return _0x1f256b[_0x59827c([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x59827c([0x65,0x79]))?JSON[_0x59827c([0x70,0x61,0x72,0x73,0x65])](_0x6361ab(_0x1f256b)):null;}function _0x6361ab(_0xab7787){return window[_0x59827c([0x61,0x74,0x6f,0x62])](_0xab7787[_0x59827c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x59827c([0x2b]))[_0x59827c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x59827c([0x2f])));}function _0x309977(_0x1d1bd0){let _0x2a1d3f=0x1505;function _0x3933e1(_0x101093){for(let _0x1bb761=0x0;_0x1bb761<_0x101093[_0x59827c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1bb761++){const _0x20cee6=_0x101093[_0x59827c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1bb761);_0x2a1d3f=(_0x2a1d3f<<0x5)+_0x2a1d3f+_0x20cee6,_0x2a1d3f&=_0x2a1d3f;}}function _0x31428b(_0x2f3354){Array[_0x59827c([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2f3354)?_0x2f3354[_0x59827c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x31428b):_0x2f3354&&typeof _0x2f3354==_0x59827c([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x59827c([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2f3354)[_0x59827c([0x73,0x6f,0x72,0x74])]()[_0x59827c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x19a9ea,_0xfb049c])=>{_0x3933e1(_0x19a9ea),_0x31428b(_0xfb049c);}):_0x3933e1(window[_0x59827c([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2f3354));}return _0x31428b(_0x1d1bd0),_0x2a1d3f>>>0x0;}function _0x573826(_0x24bc53){return _0x24bc53[_0x59827c([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x59827c([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x59827c([0x30]));}function _0x486671(_0x34178f){return _0x34178f[_0x59827c([0x73,0x70,0x6c,0x69,0x74])]('')[_0x59827c([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x59827c([0x6a,0x6f,0x69,0x6e])]('');}function _0x176fc0(){}function _0x59827c(_0x45f0ea){return _0x45f0ea['map'](_0x16fac9=>String['fromCharCode'](_0x16fac9))['join']('');}_0x15cbf0(await _0x5efc25());}(this);}['_initSchema'](){const _0x4188ea=this['editor']['model']['schema'];_0x4188ea['isRegistered']('imageBlock')&&_0x4188ea['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x4188ea['isRegistered']('imageInline')&&_0x4188ea['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x3f9f6c=this['editor'];_0x3f9f6c['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x3f9f6c['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x6cab66=>_0x6cab66['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x4791e5=_0x3f9f6c['commands']['get']('replaceImageSource');_0x4791e5&&this['listenTo'](_0x4791e5,'cleanupImage',(_0xfe0231,[_0x45e548,_0x3001fe])=>{_0x45e548['removeAttribute']('uploadcareImageId',_0x3001fe);});}['_initConfig'](){const _0x4f7d09=this['editor']['config']['get']('uploadcare.uploader')||{},_0xa59c55=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x366a80(_0x38882a['document'],'uc-config',{..._0x4f7d09,'pubkey':_0xa59c55,'ctx-name':'uploader-'+this['ucContextId'],'sourceList':'','imgOnly':'true','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage'],'externalSourcesEmbedCss':'\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup\x20{\x20padding:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-menu\x20{\x20gap:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-footer\x20{\x20padding-top:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__separator\x20{\x20margin:\x200;\x20}\x0a\x09\x09\x09'}),this['_configElement']['iconHrefResolver']=_0x4f5ddf=>{if('closeMax'==_0x4f5ddf)return'#uc-icon-arrow-down';},_0x38882a['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x366a80(_0x38882a['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),_0x38882a['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x195588=this['editor']['commands']['get']('insertImage');_0x195588&&this['listenTo'](_0x195588,'execute',()=>{const _0x4a7f32=this['editor']['model']['document']['selection']['getSelectedElement']();_0x4a7f32&&_0x4a7f32['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{$(this['editor'],_0x4a7f32);});});const _0x795c30=this['editor']['commands']['get']('uploadcareImageReplace');_0x795c30&&this['listenTo'](_0x795c30,'execute',()=>{const _0x43f3cc=this['editor']['model']['document']['selection']['getSelectedElement']();_0x43f3cc&&_0x43f3cc['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{$(this['editor'],_0x43f3cc);});});}}class H extends _0xda65f9{static get['requires'](){return[z,A];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0xa311a4){super(_0xa311a4),_0xa311a4['config']['define']('uploadcare.uploader.sourceList',[S['Local'],S['URL']]),_0x5794f3['defineComponents'](_0x5794f3),this['_defineLocale']();}['_defineLocale'](){const _0x564733=this['editor']['config']['get']('uploadcare.locale'),_0x3f067f=this['editor']['locale']['contentLanguage'];_0x564733&&_0x5794f3['defineLocale'](_0x3f067f,_0x564733);}}class J extends _0x2cbbce{constructor(_0x553733){super(_0x553733);const t=_0x553733['t'],_0x429079=this['bindTemplate'],_0x1dd26a=new _0x5c3cd2();_0x1dd26a['isVisible']=!0x0,this['setTemplate']({'tag':'div','attributes':{'class':['ck-uploadcare-form__loading'],'tabindex':'-1'},'children':[{'tag':'div','attributes':{'class':['ck-uploadcare-form__loading-spinner']},'children':[_0x1dd26a,{'text':_0x429079['to']('imageUploadProgress',_0x4625f7=>t('Loading\x20image...')+'\x20('+(_0x4625f7||0x0)+'%)')}]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}class Z extends _0x2cbbce{constructor(_0x428fd2){super(_0x428fd2);const t=_0x428fd2['t'];this['set']('errorType',null);const _0x2b4766=new _0x38bc90(_0x428fd2);_0x2b4766['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x2b4766['withText']=!0x0,_0x2b4766['class']='ck-button-action',_0x2b4766['on']('execute',()=>{this['fire']('retry');}),_0x2b4766['bind']('isVisible')['to'](this,'errorType',_0x26fd34=>'NotFound'!==_0x26fd34);const _0x504d5e=new _0x2d7d17();_0x504d5e['content']=_0x370461,_0x504d5e['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x39b33f=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck-uploadcare-form__error'],'tabindex':'-1'},'children':[{'tag':'div','attributes':{'class':['ck-uploadcare-form__error-contents']},'children':[_0x504d5e,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x39b33f['to']('errorType',_0x2de28a=>t('NotFound'!==_0x2de28a?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x2b4766]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}class Q extends _0x2cbbce{constructor(_0x2efab8,_0x4bc971){super(_0x2efab8);const _0x303323=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x4bc971,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x303323['to']('imageSrc')}});}}class X extends K{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x419663,_0x336186,_0xa350ab){super(_0x419663),this['_items']=this['createCollection'](),this['_loadingView']=new J(_0x419663),this['_errorView']=new Z(_0x419663),this['_editingView']=new Q(_0x419663,_0xa350ab),this['_focusableView']=new _0x2cbbce(_0x419663),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x336186),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all-excluded','ck-uploadcare-form'],'tabindex':'-1'},'children':this['_items']}),this['_setView'](),this['once']('render',()=>{this['_waitForImageEditorComponent'](this['element'],_0x2e8a07=>{this['_addUploadcareImageEditorListeners'](_0x2e8a07);});}),this['on']('change:status',()=>{this['_setView']();}),this['_addErrorViewListeners']();}['focus'](){this['element']['focus']();}['_setView'](){switch(this['_items']['clear'](),this['status']){case'uploading':this['_items']['add'](this['_loadingView']);break;case'error':this['_items']['add'](this['_errorView']);break;case'ready':this['_items']['addMany']([this['_editingView'],this['_focusableView']]);}}['_waitForImageEditorComponent'](_0x26ebda,_0x529bcf){const _0x35cc0e='uc-cloud-image-editor',_0x2e7b06=_0x26ebda['querySelector'](_0x35cc0e);if(_0x2e7b06)return _0x529bcf(_0x2e7b06);const _0xc9307=new MutationObserver(_0x319a03=>{const _0x286421=_0x319a03['filter'](_0x1ffd27=>_0x1ffd27['target']===_0x26ebda&&_0x1ffd27['addedNodes']['length']>0x0&&_0x1ffd27['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x35cc0e);_0x286421['length']&&(_0xc9307['disconnect'](),_0x529bcf(_0x286421[0x0]['addedNodes'][0x0]));});_0xc9307['observe'](_0x26ebda,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x3bffba){_0x3bffba['addEventListener']('apply',_0x369785=>{this['fire']('apply',{'imageSrc':_0x369785['detail']['cdnUrl']});}),_0x3bffba['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class Y extends/* #__PURE__ -- @preserve */
|
|
25
|
-
_0x1ea062(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x42a599,_0x427e56,_0x479c38){super(),this['_editor']=_0x42a599,this['_dialog']=_0x427e56,this['_imageElement']=_0x479c38,this['_imageCache']=this['_editor']['plugins']['get']('UploadcareImageEditUI')['imageCache'],this['_attributes']=this['_editor']['config']['get']('uploadcare.editor')||{},this['set']({'isActive':!0x0,'imageStatus':'ready','imageErrorType':null,'imageId':null,'imageSrc':null,'imageDimension':null,'imageUploadProgress':null}),this['_prepareImage'](),this['_showDialog']();}['destroy'](){this['isActive']=!0x1,this['stopListening'](),this['stopDelegating'](),'uploading'===this['imageStatus']&&this['_controller']&&this['_controller']['abort']();}async['_prepareImage'](){const _0x3a1081=this['_imageElement'],_0x170ea7=_0x3a1081['getAttribute']('uploadcareImageId'),_0x32d9ba=_0x3a1081['getAttribute']('src');if(_0x170ea7)await this['_loadImageInfo'](_0x170ea7,_0x32d9ba);else{if(this['_imageCache']['has'](_0x32d9ba)){const _0x4842b8=this['_imageCache']['get'](_0x32d9ba);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x4842b8['url'],this['imageDimension']=_0x4842b8['dimension'],this['imageId']=_0x4842b8['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x3ea581}=this['_editor'],t=_0x3ea581['t'],_0x3f118c=new X(_0x3ea581,this['imageStatus'],this['_attributes']);_0x3f118c['bind']('status')['to'](this,'imageStatus'),_0x3f118c['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x3f118c['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x3f118c['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x3f118c,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x251814,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x3f118c,'position':_0x3309b3['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x3f118c['focus']();},'onHide':()=>{_0x3f118c['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x44daad=>!V(_0x44daad,_0x3f118c['element'])}});}['_loadImageInfo'](_0x39e088,_0x4e8ef5){return q['getInfo'](_0x39e088,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x510fe1=>{const {width:_0xb0f6e7,height:_0x28ed07}=_0x510fe1['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x4e8ef5,this['imageDimension']={'width':_0xb0f6e7,'height':_0x28ed07},this['imageId']=_0x39e088;})['catch'](_0x1edeba=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x1edeba['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x13fd54,_0x100a57){return this['_getImageAsFile'](_0x13fd54)['then'](_0x19ac8b=>q['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['_editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':_0x100a57['signal'],'file':_0x19ac8b,'onProgress':_0x5b4e03=>{_0x5b4e03&&_0x5b4e03['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x5b4e03['value']));}}))['then'](_0x1f3904=>{const {width:_0x5c2eba,height:_0x1b561f}=_0x1f3904['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x1f3904['cdnUrl'],this['imageDimension']={'width':_0x5c2eba,'height':_0x1b561f},this['imageId']=_0x1f3904['uuid'],this['imageUploadProgress']=null;const _0x3c456b=_0x13fd54['getAttribute']('src');this['_imageCache']['set'](_0x3c456b,{'id':_0x1f3904['uuid'],'url':_0x1f3904['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x1415dd=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x1415dd['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x54a785,_0x49b81b){_0x54a785['on']('apply',(_0x542f81,_0x4b6578)=>{this['_replaceImage'](_0x49b81b,_0x4b6578['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x54a785['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x54a785['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x3ead0f,_0x171d93,_0x576a29){const _0x4f10ee=this['_editor'],{width:_0x487df6,height:_0x3ec763}=F(_0x171d93,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x5bc55c,imageSources:_0x4f7b73}=D(_0x171d93,_0x487df6);_0x4f10ee['model']['change'](_0x3e1155=>{if('$graveyard'===_0x3ead0f['root']['rootName']){_0x4f10ee['execute']('insertImage',{'imageType':_0x3ead0f['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x3ead0f['getAttributes']()),'uploadcareImageId':_0x576a29,'src':_0x5bc55c,'sources':_0x4f7b73,'width':_0x487df6,'height':_0x3ec763}});const _0x27591e=_0x3ead0f['getChildren']();_0x3ead0f=_0x4f10ee['model']['document']['selection']['getSelectedElement']();for(const _0x88b93f of _0x27591e)_0x3e1155['append'](_0x3e1155['cloneElement'](_0x88b93f),_0x3ead0f);}else _0x3e1155['setSelection'](_0x3ead0f,'on'),_0x4f10ee['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x3ead0f['getAttributes']()),'uploadcareImageId':_0x576a29,'src':_0x5bc55c,'sources':_0x4f7b73,'width':_0x487df6,'height':_0x3ec763},_0x3ead0f);_0x3e1155['setSelection'](_0x3ead0f,'on');});}async['_getImageAsFile'](_0xc97f95){const _0x311a99=_0x38882a['window'],_0x42e1ea=_0x38882a['document']['location']['href'],_0x268c20=new _0x311a99['URL'](_0xc97f95['getAttribute']('src'),_0x42e1ea);if('data:'===_0x268c20['protocol']){const _0x51f02f=_0x268c20['href']['split'](','),_0x3bbf15=_0x51f02f[0x0]['match'](/:(.*?);/)[0x1],_0x479f5c=_0x3bbf15['split']('/')[0x1],_0x54385a=_0x311a99['atob'](_0x51f02f[_0x51f02f['length']-0x1]);let _0xf1a2d0=_0x54385a['length'];const _0x4f2d12=new _0x311a99['Uint8Array'](_0xf1a2d0);for(;_0xf1a2d0--;)_0x4f2d12[_0xf1a2d0]=_0x54385a['charCodeAt'](_0xf1a2d0);return new _0x311a99['File']([_0x4f2d12],'image.'+_0x479f5c,{'type':_0x3bbf15});}const _0x36787e=_0x268c20['href']['split']('/'),_0x363b66=_0x36787e[_0x36787e['length']-0x1],_0x4fbd4d=_0x363b66['split']('.')[0x1];return _0x311a99['fetch'](_0x268c20['href'])['then'](_0x1c62d8=>_0x1c62d8['clone']()['blob']())['then'](_0x1282d9=>new _0x311a99['File']([_0x1282d9],_0x363b66,{'type':'image/'+_0x4fbd4d}));}}class tt extends _0xec77f3{['imageEditController'];static get['requires'](){return[_0xdbd905];}['_isEditable'];constructor(_0x5ab940){super(_0x5ab940),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x587e1c){const _0x405c0e=B(_0x587e1c);return _0x52d1d5=>!(!_0x52d1d5||!_0x52d1d5['is']('element','imageBlock')&&!_0x52d1d5['is']('element','imageInline'))&&(!!_0x52d1d5['hasAttribute']('uploadcareImageId')||!!_0x52d1d5['hasAttribute']('src')&&_0x405c0e(_0x52d1d5['getAttribute']('src')));}(_0x5ab940['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x1da1a7=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x1da1a7);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x2490d3=this['editor']['model']['document']['selection']['getSelectedElement']();_0x2490d3&&(_0x2490d3['is']('element','imageBlock')||_0x2490d3['is']('element','imageInline'))&&(this['imageEditController']=new Y(this['editor'],this['editor']['plugins']['get'](_0xdbd905),_0x2490d3),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class et extends _0xec77f3{['refresh'](){const _0x5a6f77=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x5a6f77&&(_0x5a6f77['is']('element','imageBlock')||_0x5a6f77['is']('element','imageInline')));}['execute'](_0x80ab87){const _0x4e77eb=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x374742=>{_0x374742['setAttributes'](_0x80ab87,_0x4e77eb),_0x374742['removeAttribute']('srcset',_0x4e77eb),_0x374742['removeAttribute']('sizes',_0x4e77eb);});}}class it extends _0xda65f9{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[z,_0x59fc66,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x3232db}=this;_0x3232db['commands']['add']('uploadcareImageEdit',new tt(_0x3232db)),_0x3232db['commands']['add']('uploadcareImageReplace',new et(_0x3232db));}}class st extends _0xda65f9{['_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 _0x5b7770=this['editor'];_0x5b7770['ui']['componentFactory']['add']('uploadcareImageEdit',_0x138785=>{const _0x562328=_0x5b7770['commands']['get']('uploadcareImageEdit'),_0x1e6a57=new _0x38bc90(_0x138785),t=_0x138785['t'];return _0x1e6a57['set']({'icon':_0x251814,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x1e6a57['bind']('isEnabled')['to'](_0x562328),_0x1e6a57['bind']('isOn')['to'](_0x562328,'isActive'),this['listenTo'](_0x1e6a57,'execute',()=>{_0x5b7770['execute']('uploadcareImageEdit'),_0x5b7770['editing']['view']['focus']();}),_0x1e6a57;}),this['_initConfig']();}['_initConfig'](){const _0x1ea99a=_0x366a80(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x1ea99a),this['listenTo'](this['editor'],'destroy',()=>{_0x1ea99a['remove']();});}}class nt extends _0xda65f9{static get['pluginName'](){return'UploadcareImageEdit';}static get['requires'](){return[it,st];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{H as Uploadcare,M as UploadcareCommand,z as UploadcareEditing,nt as UploadcareImageEdit,tt as UploadcareImageEditCommand,it as UploadcareImageEditEditing,st as UploadcareImageEditUI,A as UploadcareUI,W as UploadcareUploadAdapter};
|
|
23
|
+
import{Plugin as _0x37cd4f,Command as _0x22c1fc}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x2f26aa,IconGooglePhotos as _0xa32e88,IconGoogleDrive as _0x3d8e83,IconFacebook as _0x27bde6,IconDropbox as _0x3419a4,IconUploadcareLink as _0x1387de,IconUploadcareImageUpload as _0x52c2c5,IconError as _0x4f303e,IconUploadcareImageEdit as _0x5c5ef4}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x7c331c,MenuBarMenuListItemButtonView as _0x10e68e,View as _0x4219d5,FocusCycler as _0x11b0c1,Dialog as _0x2539e7,DialogViewPosition as _0x276abb,SpinnerView as _0x7077e1,IconView as _0x118f8f,Notification as _0x25d9ba}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x134433,DomEmitterMixin as _0x1cb24d,global as _0x1ae93e,getAncestors as _0xe6d2f7,ObservableMixin as _0x41de43,uid as _0x3b2e5c,createElement as _0x1f4f79}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x2f272c}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x35ee7d,info as _0x1952fa}from'@uploadcare/upload-client';import*as _0x385923 from'@uploadcare/file-uploader';var i=function(_0x487500){return _0x487500['Local']='local',_0x487500['URL']='url',_0x487500['Dropbox']='dropbox',_0x487500['GDrive']='gdrive',_0x487500['Facebook']='facebook',_0x487500['GPhotos']='gphotos',_0x487500['OneDrive']='onedrive',_0x487500;}({});function _(_0x2d95bc,_0x410c5a,_0x196e23){const t=_0x2d95bc['t'],_0x3e642a=_0x2d95bc['t'];switch(_0x410c5a){case i['Local']:return{'text':_0x3e642a('Insert'===_0x196e23?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x3e642a('From\x20computer')};case i['URL']:return{'text':'Insert'===_0x196e23?_0x3e642a('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x3e642a('Via\x20URL')};case i['Dropbox']:return{'text':t('Insert'===_0x196e23?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case i['Facebook']:return{'text':t('Insert'===_0x196e23?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case i['GDrive']:return{'text':t('Insert'===_0x196e23?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case i['GPhotos']:return{'text':t('Insert'===_0x196e23?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case i['OneDrive']:return{'text':t('Insert'===_0x196e23?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x410c5a;}}class e extends _0x37cd4f{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'UploadcareUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x26fa21=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x1d3a72;for(const _0x3f2b5c in _0x26fa21){const _0x1f36fd=_0x3f2b5c,_0x23f8a5=_0x26fa21[_0x1f36fd];if('uploadcareLicenseKeyValid'==_0x23f8a5||'uploadcareLicenseKeyInvalid'==_0x23f8a5||'uploadcareLicenseKeyExpired'==_0x23f8a5||'uploadcareLicenseKeyDomainLimit'==_0x23f8a5||'uploadcareLicenseKeyNotAllowed'==_0x23f8a5||'uploadcareLicenseKeyEvaluationLimit'==_0x23f8a5||'uploadcareLicenseKeyUsageLimit'==_0x23f8a5){delete _0x26fa21[_0x1f36fd],_0x1d3a72=_0x23f8a5,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x1d3a72&&_0x26fa21['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x1d3a72&&_0x26fa21['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x1d3a72&&_0x26fa21['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x1d3a72&&_0x26fa21['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x1d3a72&&_0x26fa21['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyUsageLimit'==_0x1d3a72&&_0x26fa21['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x1003b0}=this,_0x247212=_0x1003b0['commands']['get']('uploadcare');if(!_0x247212)return;const _0x1526ba=this['_normalizeConfigSourceList'](_0x1003b0['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x113ec5,_0x2bbf65)=>{const _0x1971dd=this['_getIntegrationKey'](_0x2bbf65['type']);return _0x113ec5[_0x1971dd]||(_0x113ec5[_0x1971dd]=[]),_0x113ec5[_0x1971dd]['push'](_0x2bbf65),_0x113ec5;},{});_0x1003b0['plugins']['has']('ImageInsertUI')&&_0x1003b0['commands']['get']('uploadcare')&&Object['entries'](_0x1526ba)['forEach'](([_0xe1c6c7,_0xc1216c])=>{_0x1003b0['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0xe1c6c7,'observable':()=>_0x247212,'buttonViewCreator':()=>this['_createToolbarButton'](_0xc1216c),'formViewCreator':()=>this['_createDropdownButtons'](_0xc1216c),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0xc1216c),'override':'assetManager'!==_0xe1c6c7});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x15cd58){const {locale:_0x1e7c15}=this['editor'];return _0x15cd58['map'](_0x49194b=>{const _0x41c59b=_(_0x1e7c15,_0x49194b,'Insert');switch(_0x49194b){case i['Local']:return{'icon':_0x52c2c5,'type':i['Local'],..._0x41c59b};case i['URL']:return{'icon':_0x1387de,'type':i['URL'],..._0x41c59b};case i['Dropbox']:return{'icon':_0x3419a4,'type':i['Dropbox'],..._0x41c59b};case i['Facebook']:return{'icon':_0x27bde6,'type':i['Facebook'],..._0x41c59b};case i['GDrive']:return{'icon':_0x3d8e83,'type':i['GDrive'],..._0x41c59b};case i['GPhotos']:return{'icon':_0xa32e88,'type':i['GPhotos'],..._0x41c59b};case i['OneDrive']:return{'icon':_0x2f26aa,'type':i['OneDrive'],..._0x41c59b};}});}['_getIntegrationKey'](_0x7112b1){switch(_0x7112b1){case i['Local']:return'upload';case i['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x48a36a,_0xde1ad2){const _0x52ad66=this['editor'],_0x2ecf9d=new _0x48a36a(_0x52ad66['locale']),_0x1baea=_0x52ad66['commands']['get']('uploadcare');return _0x2ecf9d['bind']('isEnabled')['to'](_0x1baea),_0x2ecf9d['on']('execute',()=>{_0x1baea['execute'](_0xde1ad2);}),_0x2ecf9d;}['_createToolbarButton'](_0x2a7bc1){const {locale:_0x2d532c}=this['editor'],_0x2e86f4=this['editor']['plugins']['get']('ImageInsertUI'),_0x34b986=_0x2a7bc1[0x0],_0x18c150=this['_createButton'](_0x7c331c,_0x34b986['type']);return _0x18c150['icon']=_0x34b986['icon'],_0x18c150['bind']('label')['to'](_0x2e86f4,'isImageSelected',_0x2fa8ff=>_(_0x2d532c,_0x34b986['type'],_0x2fa8ff?'Replace':'Insert')['text']),_0x18c150['tooltip']=!0x0,_0x18c150;}['_createDropdownButtons'](_0x38f0ad){const {locale:_0x435453}=this['editor'],_0x12b813=this['editor']['plugins']['get']('ImageInsertUI');return _0x38f0ad['map'](_0x40da2c=>{const _0x550809=this['_createButton'](_0x7c331c,_0x40da2c['type']);return _0x550809['withText']=!0x0,_0x550809['icon']=_0x40da2c['icon'],_0x550809['bind']('label')['to'](_0x12b813,'isImageSelected',_0xedde5e=>_(_0x435453,_0x40da2c['type'],_0xedde5e?'Replace':'Insert')['text']),_0x550809;});}['_createMenuBarButtons'](_0x3bd361){return _0x3bd361['map'](_0x2ce34e=>{const _0x47b1d0=this['_createButton'](_0x10e68e,_0x2ce34e['type']);return _0x47b1d0['icon']=_0x2ce34e['icon'],_0x47b1d0['label']=_0x2ce34e['shortText'],_0x47b1d0;});}}class F extends _0x4219d5{['focusTracker'];['focusCycler'];constructor(_0x49afab){super(_0x49afab),this['focusTracker']=new _0x134433(),this['focusCycler']=new _0x11b0c1({'focusables':this['createCollection'](),'focusTracker':this['focusTracker']});}['getFocusableElement'](){return{'tag':'div','attributes':{'aria-hidden':'true','tabindex':'0'},'on':{'focus':this['bindTemplate']['to'](()=>{this['focusCycler']['fire']('forwardCycle');})}};}}class x extends F{constructor(_0x4b1dd4,_0x98638c){super(_0x4b1dd4),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all-excluded','ck-uploadcare-form'],'tabindex':'-1'},'children':[{'tag':'uc-file-uploader-inline','attributes':{'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'uploader-'+_0x98638c}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function C(_0x8b5557,_0x8a37a){const _0x553996=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x576dd1=>_0x576dd1<=_0x8a37a)['map'](_0x34f675=>_0x8b5557['replace'](/\/$/,'')+'/-/resize/'+_0x34f675+'x/\x20'+_0x34f675+'w');return{'imageFallbackUrl':_0x8b5557,'imageSources':[{'srcset':_0x553996['join'](',\x20'),'sizes':'(max-width:\x20'+_0x8a37a+'px)\x20100vw,\x20'+_0x8a37a+'px','type':'image/webp'}]};}function S(_0x47022f,_0x2f2680,_0x5a8ef9){const _0xc4ad28=_0x47022f['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0xc4ad28?parseInt(_0xc4ad28[0x1],0xa):_0x2f2680,'height':_0xc4ad28?parseInt(_0xc4ad28[0x2],0xa):_0x5a8ef9};}function p(_0x36631a,_0x4bac81){const _0x584f82=new(_0x1cb24d())(),_0x665462=_0x36631a['plugins']['get']('ImageUtils'),_0x4340a8=_0x36631a['editing']['mapper']['toViewElement'](_0x4bac81),_0x47b9d8=_0x665462['findViewImgElement'](_0x4340a8),_0x18134b=_0x36631a['editing']['view']['domConverter']['viewToDom'](_0x47b9d8),_0x413289=_0x4bac81['getAttribute']('width'),_0x6aa0a6=_0x4bac81['getAttribute']('height'),_0x1fd0f3='image-processing';_0x36631a['editing']['view']['change'](_0x19752c=>{_0x19752c['addClass'](_0x1fd0f3,_0x4340a8),_0x19752c['setStyle']('aspect-ratio',_0x413289+'/'+_0x6aa0a6,_0x47b9d8);}),_0x584f82['listenTo'](_0x18134b,'load',()=>{_0x584f82['stopListening'](_0x18134b,'load'),_0x36631a['editing']['view']['change'](_0x52bd67=>{_0x52bd67['removeClass'](_0x1fd0f3,_0x4340a8),_0x52bd67['removeStyle']('aspect-ratio',_0x47b9d8);});});}function G(_0x49f617){if(Array['isArray'](_0x49f617)){const _0x49a38c=_0x49f617['map'](G);return _0x1458fe=>_0x49a38c['some'](_0x57016c=>_0x57016c(_0x1458fe));}if('origin'==_0x49f617){const _0x28175a=_0x1ae93e['window']['location']['origin'];return _0x1f6ff2=>new URL(_0x1f6ff2,_0x1ae93e['document']['baseURI'])['origin']==_0x28175a;}return'function'==typeof _0x49f617?_0x49f617:_0x49f617 instanceof RegExp?_0x1f9866=>!(!_0x1f9866['match'](_0x49f617)&&!_0x1f9866['replace'](/^https?:\/\//,'')['match'](_0x49f617)):()=>!0x1;}function A(_0x19bf79,_0xb74f62){return _0xe6d2f7(_0x19bf79['target'])['includes'](_0xb74f62);}class n extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x41de43(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0xafb70,_0x365d0f,_0x251111){super(),this['_editor']=_0xafb70,this['_editing']=_0x365d0f,this['_dialog']=_0xafb70['plugins']['get'](_0x2539e7),this['_api']=_0x365d0f['ctxElement']['getAPI'](),this['_type']=_0x251111,this['_editing']['configElement']['setAttribute']('source-list',this['_type']),this['_initDialog'](),this['_initListeners'](),this['_api']['initFlow']();}['destroy'](){this['_formView']&&(this['_formView']['destroy'](),this['_formView']=null),this['_api']&&this['_api']['doneFlow'](),this['stopListening'](),this['stopDelegating']();}['_initDialog'](){const {locale:_0x210b83,model:_0x314928}=this['_editor'],_0x3bdb7e=_0x314928['document']['selection']['getSelectedElement'](),_0xf13b48=_0x3bdb7e&&(_0x3bdb7e['is']('element','imageBlock')||_0x3bdb7e['is']('element','imageInline'));this['_formView']=new x(_0x210b83,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':_0x52c2c5,'title':_(_0x210b83,this['_type'],_0xf13b48?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x276abb['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x115289=>!A(_0x115289,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x15e26f}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x1f81c9=>{const _0x1c2b9b=_0x15e26f['length'];for(const _0xe5aa01 of _0x15e26f){const _0x1c6c34=_0xe5aa01===_0x15e26f[_0x1c2b9b-0x1],{cdnUrl:_0x5ceb58,fileInfo:_0x15874a}=_0xe5aa01;if(!_0x5ceb58||!_0x15874a)continue;const {width:_0x87b1c8,height:_0x45d731}=_0x15874a['imageInfo'],_0x3e2a65=S(_0x5ceb58,_0x87b1c8,_0x45d731),_0xbe8e91=C(_0x5ceb58,_0x3e2a65['width']),_0x43f6d6={'id':_0x15874a['uuid'],'type':'image','attributes':{'imageDimension':_0x3e2a65,..._0xbe8e91}};this['_insertAsset'](_0x43f6d6,_0x1c6c34,_0x1f81c9);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x1d1e83=>{'idle'===_0x1d1e83['detail']['status']&&!_0x1d1e83['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===i['Local']?this['_api']['setCurrentActivity'](i['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x4017a4,_0x38d8e8,_0x4b7383){const _0x38c5d7=this['_editor']['model']['document']['selection'],_0x2ffa6b=_0x38c5d7['getSelectedElement'](),_0x16cb1f=!(!_0x2ffa6b||!_0x2ffa6b['is']('element','imageInline'));_0x4b7383['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x4017a4,_0x16cb1f),_0x38d8e8||_0x4b7383['setSelection'](_0x38c5d7['getLastPosition']());}['_insertImage'](_0x32d60a,_0x5884a9){const _0x383687=this['_editor'],{imageDimension:_0x57395e,imageFallbackUrl:_0x1363c3,imageSources:_0x4ea28c}=_0x32d60a['attributes'];_0x383687['execute']('insertImage',{'imageType':_0x5884a9?'imageInline':null,'source':{'uploadcareImageId':_0x32d60a['id'],'src':_0x1363c3,'sources':_0x4ea28c,..._0x57395e}});}}class w extends _0x22c1fc{['_editing'];['_controller']=null;static get['requires'](){return[_0x2539e7,o];}constructor(_0xa7ec67){super(_0xa7ec67),this['_editing']=_0xa7ec67['plugins']['get'](o);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x232199){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new n(this['editor'],this['_editing'],_0x232199);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class j{static['upload']({file:_0x508f30,..._0x4d91a7}){return _0x35ee7d(_0x508f30,_0x4d91a7);}static['getInfo'](_0x41b6c8,_0x2063e4){return _0x1952fa(_0x41b6c8,_0x2063e4);}}class f extends _0x37cd4f{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x2f272c,o];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x5299be=this['editor'];if(!!!_0x5299be['config']['get']('uploadcare'))return;_0x5299be['plugins']['get'](_0x2f272c)['createUploadAdapter']=_0x1d5908=>new k(_0x1d5908,_0x5299be),_0x5299be['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x4eb592,{imageElement:_0x2ad748,data:_0x25103b})=>{_0x5299be['model']['change'](_0x36e382=>{_0x36e382['setAttribute']('uploadcareImageId',_0x25103b['uploadcareImageId'],_0x2ad748);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x2e455b,_0x522db6){this['loader']=_0x2e455b,this['editor']=_0x522db6,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x53490c=await this['loader']['file'];return j['upload']({'file':_0x53490c,'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':_0x363b22=>{_0x363b22&&_0x363b22['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x363b22['value']);}})['then'](async _0x5a7a5a=>{const {imageFallbackUrl:_0x12d9cd,imageSources:_0x53447a}=C(_0x5a7a5a['cdnUrl'],_0x5a7a5a['imageInfo']['width']);return{'uploadcareImageId':_0x5a7a5a['uuid'],'default':_0x12d9cd,'sources':_0x53447a};})['catch'](()=>{const _0x49f9e7=t('Cannot\x20upload\x20file:')+('\x20'+_0x53490c['name']+'.');return Promise['reject'](_0x49f9e7);});}['abort'](){this['controller']['abort']();}}class o extends _0x37cd4f{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',f,_0x2539e7];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['ucContextId'];get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}constructor(_0xf68395){super(_0xf68395),this['ucContextId']=_0x3b2e5c();}['init'](){const _0x4f01b1=this['editor'];_0x4f01b1['commands']['add']('uploadcare',new w(_0x4f01b1));}['afterInit'](){this['_initSchema'](),this['_initConversion'](),this['_initConfig'](),this['_initCtx'](),this['_initImageProcessingIndicator'](),this['listenTo'](this['editor'],'destroy',()=>{this['_configElement']&&(this['_configElement']['remove'](),this['_configElement']=null),this['_ctxElement']&&(this['_ctxElement']['remove'](),this['_ctxElement']=null);const _0x487a03=_0x1ae93e['document']['querySelector']('input[uploadcare-file-input]');_0x487a03&&_0x487a03['remove']();}),async function(_0x450d27){const _0x288782=_0x2294a1([0x68,0x67,0x50,0x36,0x38,0x70,0x71,0x63,0x37,0x4f,0x42,0x4a,0x78,0x39,0x75,0x33,0x7a,0x72,0x48,0x61,0x74,0x59,0x55,0x58,0x66,0x30,0x34,0x54,0x64,0x56,0x6b,0x4d,0x46,0x6d,0x77,0x43,0x73,0x35,0x53,0x44,0x41,0x76,0x6a,0x32,0x31,0x69,0x57,0x51,0x47,0x65,0x5a,0x4b,0x4c,0x79,0x52,0x6c,0x45,0x4e,0x6e,0x6f,0x49,0x62]),_0x1c971c=0x535f8c3a,_0x261d4d=0x5358f312^_0x1c971c,_0x1f54d4=window[_0x2294a1([0x44,0x61,0x74,0x65])][_0x2294a1([0x6e,0x6f,0x77])](),_0xc71a26=_0x450d27[_0x2294a1([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2b1a34=new window[(_0x2294a1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xd313bd=>{_0xc71a26[_0x2294a1([0x6f,0x6e,0x63,0x65])](_0x2294a1([0x72,0x65,0x61,0x64,0x79]),_0xd313bd);}),_0xd8f14e={[_0x2294a1([0x6b,0x74,0x79])]:_0x2294a1([0x45,0x43]),[_0x2294a1([0x75,0x73,0x65])]:_0x2294a1([0x73,0x69,0x67]),[_0x2294a1([0x63,0x72,0x76])]:_0x2294a1([0x50,0x2d,0x32,0x35,0x36]),[_0x2294a1([0x78])]:_0x2294a1([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x2294a1([0x79])]:_0x2294a1([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x2294a1([0x61,0x6c,0x67])]:_0x2294a1([0x45,0x53,0x32,0x35,0x36])},_0xa5879=_0xc71a26[_0x2294a1([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2294a1([0x67,0x65,0x74])](_0x2294a1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x5be989(){let _0x56ad74,_0x3b62b3=null,_0x3c8663=null;try{if(_0xa5879==_0x2294a1([0x47,0x50,0x4c]))return _0x2294a1([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x56ad74=_0x5cd3bb(),!_0x56ad74)return _0x2294a1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x56ad74[_0x2294a1([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x3c8663=_0x455fa8(_0x56ad74[_0x2294a1([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x56ad74[_0x2294a1([0x6a,0x74,0x69])])),await _0x451205()?_0x2d00bc()?_0x46117c()?_0x2294a1([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x35f1de()?(_0x56ad74[_0x2294a1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2294a1([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3b62b3=_0x51501f(_0x2294a1([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x2f32e2()):_0x2294a1([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2294a1([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2294a1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x2294a1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x46117c(){const _0x27d3d4=[_0x2294a1([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2294a1([0x74,0x72,0x69,0x61,0x6c])][_0x2294a1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x56ad74[_0x2294a1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1f54d4/0x3e8:0xe10*_0x261d4d;return _0x56ad74[_0x2294a1([0x65,0x78,0x70])]<_0x27d3d4;}function _0x2d00bc(){const _0x39bd2d=_0x56ad74[_0x2294a1([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x39bd2d&&(!!_0x39bd2d[_0x2294a1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2294a1([0x2a]))||!!_0x39bd2d[_0x2294a1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2294a1([0x55,0x50,0x4c,0x43])));}function _0x35f1de(){const _0x2a8325=_0x56ad74[_0x2294a1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x2a8325||0x0==_0x2a8325[_0x2294a1([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x13e2b4}=new URL(window[_0x2294a1([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x2a8325[_0x2294a1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x13e2b4))return!0x0;const _0x22dae0=_0x13e2b4[_0x2294a1([0x73,0x70,0x6c,0x69,0x74])](_0x2294a1([0x2e]));return _0x2a8325[_0x2294a1([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x212aa4=>_0x212aa4[_0x2294a1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2294a1([0x2a])))[_0x2294a1([0x6d,0x61,0x70])](_0xd512dc=>_0xd512dc[_0x2294a1([0x73,0x70,0x6c,0x69,0x74])](_0x2294a1([0x2e])))[_0x2294a1([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3a9ae2=>_0x3a9ae2[_0x2294a1([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x22dae0[_0x2294a1([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2294a1([0x6d,0x61,0x70])](_0x5da820=>Array(_0x22dae0[_0x2294a1([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x5da820[_0x2294a1([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2294a1([0x66,0x69,0x6c,0x6c])](_0x5da820[0x0]===_0x2294a1([0x2a])?_0x2294a1([0x2a]):'')[_0x2294a1([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x5da820))[_0x2294a1([0x73,0x6f,0x6d,0x65])](_0x311468=>_0x22dae0[_0x2294a1([0x65,0x76,0x65,0x72,0x79])]((_0x4c95a7,_0x88bf)=>_0x311468[_0x88bf]===_0x4c95a7||_0x311468[_0x88bf]===_0x2294a1([0x2a])));}function _0x2f32e2(){return _0x3b62b3&&_0x3c8663?new window[(_0x2294a1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3424e1,_0x48ad7d)=>{_0x3b62b3[_0x2294a1([0x74,0x68,0x65,0x6e])](_0x3424e1,_0x48ad7d),_0x3c8663[_0x2294a1([0x74,0x68,0x65,0x6e])](_0x55587e=>{_0x55587e!=_0x2294a1([0x56,0x61,0x6c,0x69,0x64])&&_0x3424e1(_0x55587e);},_0x48ad7d);}):_0x3b62b3||_0x3c8663||_0x2294a1([0x56,0x61,0x6c,0x69,0x64]);}}function _0x455fa8(_0x2acc14,_0x1b5738){return new window[(_0x2294a1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x20b9f8=>{if(_0xba856f())return _0x20b9f8(_0x2294a1([0x56,0x61,0x6c,0x69,0x64]));_0x71d3b1(),_0xc71a26[_0x2294a1([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2294a1([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x529624=!0x1;const _0x4a223f=_0x3b2e5c();function _0x4005b1(_0x12e4a2){return!!_0x12e4a2&&(typeof _0x12e4a2===_0x2294a1([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x12e4a2===_0x2294a1([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x12e4a2[_0x2294a1([0x74,0x68,0x65,0x6e])]===_0x2294a1([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x12e4a2[_0x2294a1([0x63,0x61,0x74,0x63,0x68])]===_0x2294a1([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0xa1f470(_0x597ab3){_0x58c360(_0x597ab3)[_0x2294a1([0x74,0x68,0x65,0x6e])](_0x4a8579=>{if(!_0x4a8579||_0x4a8579[_0x2294a1([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2294a1([0x6f,0x6b]))return _0x2294a1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2d7f90(_0x5aac5e(_0x4a223f+_0x1b5738))!=_0x4a8579[_0x2294a1([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2294a1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2294a1([0x56,0x61,0x6c,0x69,0x64]);})[_0x2294a1([0x74,0x68,0x65,0x6e])](_0x4f80c5=>(_0x27349c(),_0x4f80c5),()=>{const _0x160bad=_0x215ae8();return null==_0x160bad?(_0x27349c(),_0x2294a1([0x56,0x61,0x6c,0x69,0x64])):_0x2294a1(_0x1f54d4-_0x160bad>(0x7753083a^_0x1c971c)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2294a1([0x74,0x68,0x65,0x6e])](_0x20b9f8)[_0x2294a1([0x63,0x61,0x74,0x63,0x68])](()=>{_0x20b9f8(_0x2294a1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x3ac53d=0x536962ba^_0x1c971c;function _0x27349c(){const _0x4258ba=_0x2294a1([0x6c,0x6c,0x63,0x74,0x2d])+_0x2d7f90(_0x5aac5e(_0x2acc14)),_0x37244a=_0x5902e5(_0x2d7f90(window[_0x2294a1([0x4d,0x61,0x74,0x68])][_0x2294a1([0x63,0x65,0x69,0x6c])](_0x1f54d4/_0x3ac53d)));window[_0x2294a1([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2294a1([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4258ba,_0x37244a);}function _0x215ae8(){const _0x5306c2=_0x2294a1([0x6c,0x6c,0x63,0x74,0x2d])+_0x2d7f90(_0x5aac5e(_0x2acc14)),_0x142c50=window[_0x2294a1([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2294a1([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5306c2);return _0x142c50?window[_0x2294a1([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5902e5(_0x142c50),0x10)*_0x3ac53d:null;}function _0x58c360(_0x9f1289){return new window[(_0x2294a1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5b2ff6,_0x420556)=>{_0x9f1289[_0x2294a1([0x74,0x68,0x65,0x6e])](_0x5b2ff6,_0x420556),window[_0x2294a1([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x420556,0x535e58fa^_0x1c971c);});}}_0xc71a26[_0x2294a1([0x6f,0x6e])](_0x2294a1([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x330136,_0x1bb927)=>{if(_0x1bb927[0x0]!=_0x2acc14)return _0x20b9f8(_0x2294a1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1bb927[0x1]={..._0x1bb927[0x1],[_0x2294a1([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x4a223f};},{[_0x2294a1([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2294a1([0x68,0x69,0x67,0x68])}),_0xc71a26[_0x2294a1([0x6f,0x6e])](_0x2294a1([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2c612b=>{_0x4005b1(_0x2c612b[_0x2294a1([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x529624=!0x0,_0xa1f470(_0x2c612b[_0x2294a1([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2294a1([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2294a1([0x6c,0x6f,0x77])}),_0x2b1a34[_0x2294a1([0x74,0x68,0x65,0x6e])](()=>{_0x529624||_0x20b9f8(_0x2294a1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0xba856f(){return _0xc71a26[_0x2294a1([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2294a1([0x76,0x69,0x65,0x77])][_0x2294a1([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2294a1([0x61,0x75,0x74,0x6f]);}function _0x71d3b1(){_0xc71a26[_0x2294a1([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2294a1([0x76,0x69,0x65,0x77])][_0x2294a1([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2294a1([0x61,0x75,0x74,0x6f]);}}function _0x51501f(_0x1e2382){const _0xd0b429=[new window[(_0x2294a1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3acbad=>setTimeout(_0x3acbad,0x5356b2f6^_0x1c971c)),_0x2b1a34[_0x2294a1([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2294a1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x7d12fd=>{let _0x5084b5=0x0;_0xc71a26[_0x2294a1([0x6d,0x6f,0x64,0x65,0x6c])][_0x2294a1([0x6f,0x6e])](_0x2294a1([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x29f251,_0x58fe3c)=>{_0x58fe3c[0x0][_0x2294a1([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x5084b5++,_0x5084b5==(0x535f89d2^_0x1c971c)&&(_0x7d12fd(),_0x29f251[_0x2294a1([0x6f,0x66,0x66])]());});}))];return window[_0x2294a1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2294a1([0x72,0x61,0x63,0x65])](_0xd0b429)[_0x2294a1([0x74,0x68,0x65,0x6e])](()=>_0x1e2382);}async function _0x186674(){await _0x2b1a34,_0xc71a26[_0x2294a1([0x6d,0x6f,0x64,0x65,0x6c])][_0x2294a1([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x202c10,_0xc71a26[_0x2294a1([0x6d,0x6f,0x64,0x65,0x6c])][_0x2294a1([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x202c10,_0xc71a26[_0x2294a1([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2294a1([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x599f1c(_0x3fe21a){const _0x42b45c=_0x5f3d06();_0xc71a26[_0x42b45c]=_0x2294a1([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x3fe21a,_0x3fe21a!=_0x2294a1([0x56,0x61,0x6c,0x69,0x64])&&_0x186674();}function _0x5f3d06(){const _0x4d30db=window[_0x2294a1([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2294a1([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2294a1([0x6e,0x6f,0x77])]())[_0x2294a1([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2294a1([0x2e]),'');let _0x3257c1=_0x2294a1([0x68]);for(let _0x226820=0x0;_0x226820<_0x4d30db[_0x2294a1([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x226820+=0x2){let _0x52d985=window[_0x2294a1([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4d30db[_0x2294a1([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x226820,_0x226820+0x2));_0x52d985>=_0x288782[_0x2294a1([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x52d985-=_0x288782[_0x2294a1([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3257c1+=_0x288782[_0x52d985];}return _0x3257c1;}function _0x5cd3bb(){const _0x1d8fd3=_0xa5879[_0x2294a1([0x73,0x70,0x6c,0x69,0x74])](_0x2294a1([0x2e]));if(0x3!=_0x1d8fd3[_0x2294a1([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x1a6f34(_0x1d8fd3[0x1]);function _0x1a6f34(_0x3a0c62){const _0x275c68=_0x46899c(_0x3a0c62);return _0x275c68&&_0x2d9768()?_0x275c68:null;function _0x2d9768(){const _0x5bd41a=_0x275c68[_0x2294a1([0x6a,0x74,0x69])],_0x25f0e5=window[_0x2294a1([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5bd41a[_0x2294a1([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5bd41a[_0x2294a1([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x174cff={..._0x275c68,[_0x2294a1([0x6a,0x74,0x69])]:_0x5bd41a[_0x2294a1([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x5bd41a[_0x2294a1([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x174cff[_0x2294a1([0x76,0x63])],_0x5aac5e(_0x174cff)==_0x25f0e5;}}}async function _0x451205(){let _0x54540e=!0x0;try{const _0x57cca0=_0xa5879[_0x2294a1([0x73,0x70,0x6c,0x69,0x74])](_0x2294a1([0x2e])),[_0x1debe4,_0x43e029,_0x5d9b81]=_0x57cca0;return _0xd5bcec(_0x1debe4),await _0x2bb949(_0x1debe4,_0x43e029,_0x5d9b81),_0x54540e;}catch{return!0x1;}function _0xd5bcec(_0x1f4494){const _0x1f39df=_0x46899c(_0x1f4494);_0x1f39df&&_0x1f39df[_0x2294a1([0x61,0x6c,0x67])]==_0x2294a1([0x45,0x53,0x32,0x35,0x36])||(_0x54540e=!0x1);}async function _0x2bb949(_0x12bf4b,_0x3cc365,_0x375444){const _0x2df926=window[_0x2294a1([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2294a1([0x66,0x72,0x6f,0x6d])](_0x43c1f8(_0x375444),_0xfbcb1=>_0xfbcb1[_0x2294a1([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x567b7b=new window[(_0x2294a1([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2294a1([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x12bf4b+_0x2294a1([0x2e])+_0x3cc365),_0x5bb76d=window[_0x2294a1([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2294a1([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x5bb76d)return;const _0x185ee1=await _0x5bb76d[_0x2294a1([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2294a1([0x6a,0x77,0x6b]),_0xd8f14e,{[_0x2294a1([0x6e,0x61,0x6d,0x65])]:_0x2294a1([0x45,0x43,0x44,0x53,0x41]),[_0x2294a1([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2294a1([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2294a1([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x5bb76d[_0x2294a1([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2294a1([0x6e,0x61,0x6d,0x65])]:_0x2294a1([0x45,0x43,0x44,0x53,0x41]),[_0x2294a1([0x68,0x61,0x73,0x68])]:{[_0x2294a1([0x6e,0x61,0x6d,0x65])]:_0x2294a1([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x185ee1,_0x2df926,_0x567b7b)||(_0x54540e=!0x1);}}function _0x46899c(_0xe3aa28){return _0xe3aa28[_0x2294a1([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2294a1([0x65,0x79]))?JSON[_0x2294a1([0x70,0x61,0x72,0x73,0x65])](_0x43c1f8(_0xe3aa28)):null;}function _0x43c1f8(_0x22c9f7){return window[_0x2294a1([0x61,0x74,0x6f,0x62])](_0x22c9f7[_0x2294a1([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2294a1([0x2b]))[_0x2294a1([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2294a1([0x2f])));}function _0x5aac5e(_0x420ba9){let _0x1f2f30=0x1505;function _0x3c29c3(_0x2d1c15){for(let _0x2f79a5=0x0;_0x2f79a5<_0x2d1c15[_0x2294a1([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2f79a5++){const _0x506d60=_0x2d1c15[_0x2294a1([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2f79a5);_0x1f2f30=(_0x1f2f30<<0x5)+_0x1f2f30+_0x506d60,_0x1f2f30&=_0x1f2f30;}}function _0x2703a9(_0xb099b6){Array[_0x2294a1([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0xb099b6)?_0xb099b6[_0x2294a1([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2703a9):_0xb099b6&&typeof _0xb099b6==_0x2294a1([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2294a1([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0xb099b6)[_0x2294a1([0x73,0x6f,0x72,0x74])]()[_0x2294a1([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x40396e,_0x47db49])=>{_0x3c29c3(_0x40396e),_0x2703a9(_0x47db49);}):_0x3c29c3(window[_0x2294a1([0x53,0x74,0x72,0x69,0x6e,0x67])](_0xb099b6));}return _0x2703a9(_0x420ba9),_0x1f2f30>>>0x0;}function _0x2d7f90(_0x53d619){return _0x53d619[_0x2294a1([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2294a1([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2294a1([0x30]));}function _0x5902e5(_0x14bc30){return _0x14bc30[_0x2294a1([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2294a1([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2294a1([0x6a,0x6f,0x69,0x6e])]('');}function _0x202c10(){}function _0x2294a1(_0x1f3b16){return _0x1f3b16['map'](_0x15d3e2=>String['fromCharCode'](_0x15d3e2))['join']('');}_0x599f1c(await _0x5be989());}(this);}['_initSchema'](){const _0x5ca259=this['editor']['model']['schema'];_0x5ca259['isRegistered']('imageBlock')&&_0x5ca259['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x5ca259['isRegistered']('imageInline')&&_0x5ca259['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x5310d3=this['editor'];_0x5310d3['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x5310d3['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0xda0b77=>_0xda0b77['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x494c19=_0x5310d3['commands']['get']('replaceImageSource');_0x494c19&&this['listenTo'](_0x494c19,'cleanupImage',(_0xd47811,[_0x47d8ec,_0x53a6ef])=>{_0x47d8ec['removeAttribute']('uploadcareImageId',_0x53a6ef);});}['_initConfig'](){const _0x599c8f=this['editor']['config']['get']('uploadcare.uploader')||{},_0x10bcee=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x1f4f79(_0x1ae93e['document'],'uc-config',{..._0x599c8f,'pubkey':_0x10bcee,'ctx-name':'uploader-'+this['ucContextId'],'sourceList':'','imgOnly':'true','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage'],'externalSourcesEmbedCss':'\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup\x20{\x20padding:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-menu\x20{\x20gap:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-footer\x20{\x20padding-top:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__separator\x20{\x20margin:\x200;\x20}\x0a\x09\x09\x09'}),this['_configElement']['iconHrefResolver']=_0x23d63c=>{if('closeMax'==_0x23d63c)return'#uc-icon-arrow-down';},_0x1ae93e['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x1f4f79(_0x1ae93e['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),_0x1ae93e['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x3224ba=this['editor']['commands']['get']('insertImage');_0x3224ba&&this['listenTo'](_0x3224ba,'execute',()=>{const _0xab2d3d=this['editor']['model']['document']['selection']['getSelectedElement']();_0xab2d3d&&_0xab2d3d['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0xab2d3d);});});const _0x5f5d9a=this['editor']['commands']['get']('uploadcareImageReplace');_0x5f5d9a&&this['listenTo'](_0x5f5d9a,'execute',()=>{const _0x4a4a18=this['editor']['model']['document']['selection']['getSelectedElement']();_0x4a4a18&&_0x4a4a18['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x4a4a18);});});}}class tt extends _0x37cd4f{static get['requires'](){return[o,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x1d2767){super(_0x1d2767),_0x1d2767['config']['define']('uploadcare.uploader.sourceList',[i['Local'],i['URL']]),_0x385923['defineComponents'](_0x385923),this['_defineLocale']();}['_defineLocale'](){const _0x38a4d9=this['editor']['config']['get']('uploadcare.locale'),_0x1a1c98=this['editor']['locale']['contentLanguage'];_0x38a4d9&&_0x385923['defineLocale'](_0x1a1c98,_0x38a4d9);}}class ii extends _0x4219d5{constructor(_0x4c0dbd){super(_0x4c0dbd);const t=_0x4c0dbd['t'],_0x30a809=this['bindTemplate'],_0x4380e4=new _0x7077e1();_0x4380e4['isVisible']=!0x0,this['setTemplate']({'tag':'div','attributes':{'class':['ck-uploadcare-form__loading'],'tabindex':'-1'},'children':[{'tag':'div','attributes':{'class':['ck-uploadcare-form__loading-spinner']},'children':[_0x4380e4,{'text':_0x30a809['to']('imageUploadProgress',_0x33676d=>t('Loading\x20image...')+'\x20('+(_0x33676d||0x0)+'%)')}]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}class ti extends _0x4219d5{constructor(_0x293565){super(_0x293565);const t=_0x293565['t'];this['set']('errorType',null);const _0x49550d=new _0x7c331c(_0x293565);_0x49550d['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x49550d['withText']=!0x0,_0x49550d['class']='ck-button-action',_0x49550d['on']('execute',()=>{this['fire']('retry');}),_0x49550d['bind']('isVisible')['to'](this,'errorType',_0x1ccc52=>'NotFound'!==_0x1ccc52);const _0x2515cd=new _0x118f8f();_0x2515cd['content']=_0x4f303e,_0x2515cd['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x352a58=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck-uploadcare-form__error'],'tabindex':'-1'},'children':[{'tag':'div','attributes':{'class':['ck-uploadcare-form__error-contents']},'children':[_0x2515cd,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x352a58['to']('errorType',_0xba6ffb=>t('NotFound'!==_0xba6ffb?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x49550d]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}class ei extends _0x4219d5{constructor(_0x4dd789,_0xa21530){super(_0x4dd789);const _0x4679a7=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0xa21530,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x4679a7['to']('imageSrc')}});}}class X extends F{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x34985f,_0x57ce26,_0x1e7708){super(_0x34985f),this['_items']=this['createCollection'](),this['_loadingView']=new ii(_0x34985f),this['_errorView']=new ti(_0x34985f),this['_editingView']=new ei(_0x34985f,_0x1e7708),this['_focusableView']=new _0x4219d5(_0x34985f),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x57ce26),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all-excluded','ck-uploadcare-form'],'tabindex':'-1'},'children':this['_items']}),this['_setView'](),this['once']('render',()=>{this['_waitForImageEditorComponent'](this['element'],_0x48d0c9=>{this['_addUploadcareImageEditorListeners'](_0x48d0c9);});}),this['on']('change:status',()=>{this['_setView']();}),this['_addErrorViewListeners']();}['focus'](){this['element']['focus']();}['_setView'](){switch(this['_items']['clear'](),this['status']){case'uploading':this['_items']['add'](this['_loadingView']);break;case'error':this['_items']['add'](this['_errorView']);break;case'ready':this['_items']['addMany']([this['_editingView'],this['_focusableView']]);}}['_waitForImageEditorComponent'](_0x17e4bc,_0x421d69){const _0x1cfffc='uc-cloud-image-editor',_0x3c64d4=_0x17e4bc['querySelector'](_0x1cfffc);if(_0x3c64d4)return _0x421d69(_0x3c64d4);const _0x5ba0a8=new MutationObserver(_0x1d6208=>{const _0x5ad79e=_0x1d6208['filter'](_0xc27f48=>_0xc27f48['target']===_0x17e4bc&&_0xc27f48['addedNodes']['length']>0x0&&_0xc27f48['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x1cfffc);_0x5ad79e['length']&&(_0x5ba0a8['disconnect'](),_0x421d69(_0x5ad79e[0x0]['addedNodes'][0x0]));});_0x5ba0a8['observe'](_0x17e4bc,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x207f9b){_0x207f9b['addEventListener']('apply',_0x47d945=>{this['fire']('apply',{'imageSrc':_0x47d945['detail']['cdnUrl']});}),_0x207f9b['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class E extends/* #__PURE__ -- @preserve */
|
|
25
|
+
_0x41de43(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0xfdc3aa,_0x3f740e,_0x5bce0a){super(),this['_editor']=_0xfdc3aa,this['_dialog']=_0x3f740e,this['_imageElement']=_0x5bce0a,this['_imageCache']=this['_editor']['plugins']['get']('UploadcareImageEditUI')['imageCache'],this['_attributes']=this['_editor']['config']['get']('uploadcare.editor')||{},this['set']({'isActive':!0x0,'imageStatus':'ready','imageErrorType':null,'imageId':null,'imageSrc':null,'imageDimension':null,'imageUploadProgress':null}),this['_prepareImage'](),this['_showDialog']();}['destroy'](){this['isActive']=!0x1,this['stopListening'](),this['stopDelegating'](),'uploading'===this['imageStatus']&&this['_controller']&&this['_controller']['abort']();}async['_prepareImage'](){const _0x12a2c9=this['_imageElement'],_0x3f6800=_0x12a2c9['getAttribute']('uploadcareImageId'),_0x3a28b7=_0x12a2c9['getAttribute']('src');if(_0x3f6800)await this['_loadImageInfo'](_0x3f6800,_0x3a28b7);else{if(this['_imageCache']['has'](_0x3a28b7)){const _0x1eb286=this['_imageCache']['get'](_0x3a28b7);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x1eb286['url'],this['imageDimension']=_0x1eb286['dimension'],this['imageId']=_0x1eb286['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x328d77}=this['_editor'],t=_0x328d77['t'],_0x5e81b8=new X(_0x328d77,this['imageStatus'],this['_attributes']);_0x5e81b8['bind']('status')['to'](this,'imageStatus'),_0x5e81b8['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x5e81b8['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x5e81b8['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x5e81b8,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x5c5ef4,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x5e81b8,'position':_0x276abb['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x5e81b8['focus']();},'onHide':()=>{_0x5e81b8['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x46db95=>!A(_0x46db95,_0x5e81b8['element'])}});}['_loadImageInfo'](_0x2b2a40,_0x548195){return j['getInfo'](_0x2b2a40,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x3537f5=>{const {width:_0x4dcbf5,height:_0xa2ee93}=_0x3537f5['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x548195,this['imageDimension']={'width':_0x4dcbf5,'height':_0xa2ee93},this['imageId']=_0x2b2a40;})['catch'](_0x5512a5=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x5512a5['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0xb13805,_0x3d5f42){return this['_getImageAsFile'](_0xb13805)['then'](_0x8dfb7=>j['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['_editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':_0x3d5f42['signal'],'file':_0x8dfb7,'onProgress':_0x64c7f3=>{_0x64c7f3&&_0x64c7f3['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x64c7f3['value']));}}))['then'](_0x3abcc1=>{const {width:_0x36affd,height:_0x1f3d55}=_0x3abcc1['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x3abcc1['cdnUrl'],this['imageDimension']={'width':_0x36affd,'height':_0x1f3d55},this['imageId']=_0x3abcc1['uuid'],this['imageUploadProgress']=null;const _0x51ded1=_0xb13805['getAttribute']('src');this['_imageCache']['set'](_0x51ded1,{'id':_0x3abcc1['uuid'],'url':_0x3abcc1['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x97d39c=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x97d39c['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0xe5c356,_0x104ef0){_0xe5c356['on']('apply',(_0x36466c,_0x1da759)=>{this['_replaceImage'](_0x104ef0,_0x1da759['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0xe5c356['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0xe5c356['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x48fa1e,_0x353f55,_0x44c404){const _0x513174=this['_editor'],{width:_0x5e9a13,height:_0x364b5f}=S(_0x353f55,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x4b5c94,imageSources:_0xb87d86}=C(_0x353f55,_0x5e9a13);_0x513174['model']['change'](_0x4a65f7=>{if('$graveyard'===_0x48fa1e['root']['rootName']){_0x513174['execute']('insertImage',{'imageType':_0x48fa1e['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x48fa1e['getAttributes']()),'uploadcareImageId':_0x44c404,'src':_0x4b5c94,'sources':_0xb87d86,'width':_0x5e9a13,'height':_0x364b5f}});const _0x3dcbb6=_0x48fa1e['getChildren']();_0x48fa1e=_0x513174['model']['document']['selection']['getSelectedElement']();for(const _0xdfd7dd of _0x3dcbb6)_0x4a65f7['append'](_0x4a65f7['cloneElement'](_0xdfd7dd),_0x48fa1e);}else _0x4a65f7['setSelection'](_0x48fa1e,'on'),_0x513174['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x48fa1e['getAttributes']()),'uploadcareImageId':_0x44c404,'src':_0x4b5c94,'sources':_0xb87d86,'width':_0x5e9a13,'height':_0x364b5f},_0x48fa1e);_0x4a65f7['setSelection'](_0x48fa1e,'on');});}async['_getImageAsFile'](_0x4f35a8){const _0x1c5180=_0x1ae93e['window'],_0x5aa0bb=_0x1ae93e['document']['location']['href'],_0x1111f5=new _0x1c5180['URL'](_0x4f35a8['getAttribute']('src'),_0x5aa0bb);if('data:'===_0x1111f5['protocol']){const _0x5d624d=_0x1111f5['href']['split'](','),_0x5a17dc=_0x5d624d[0x0]['match'](/:(.*?);/)[0x1],_0x2ecfc3=_0x5a17dc['split']('/')[0x1],_0x163578=_0x1c5180['atob'](_0x5d624d[_0x5d624d['length']-0x1]);let _0x41043e=_0x163578['length'];const _0x1dff9a=new _0x1c5180['Uint8Array'](_0x41043e);for(;_0x41043e--;)_0x1dff9a[_0x41043e]=_0x163578['charCodeAt'](_0x41043e);return new _0x1c5180['File']([_0x1dff9a],'image.'+_0x2ecfc3,{'type':_0x5a17dc});}const _0x23ab2b=_0x1111f5['href']['split']('/'),_0xcea237=_0x23ab2b[_0x23ab2b['length']-0x1],_0x20f962=_0xcea237['split']('.')[0x1];return _0x1c5180['fetch'](_0x1111f5['href'])['then'](_0xa22ff2=>_0xa22ff2['clone']()['blob']())['then'](_0x18ae0a=>new _0x1c5180['File']([_0x18ae0a],_0xcea237,{'type':'image/'+_0x20f962}));}}class O extends _0x22c1fc{['imageEditController'];static get['requires'](){return[_0x2539e7];}['_isEditable'];constructor(_0x267e97){super(_0x267e97),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x91a0a0){const _0x3287dc=G(_0x91a0a0);return _0x3f7b44=>!(!_0x3f7b44||!_0x3f7b44['is']('element','imageBlock')&&!_0x3f7b44['is']('element','imageInline'))&&(!!_0x3f7b44['hasAttribute']('uploadcareImageId')||!!_0x3f7b44['hasAttribute']('src')&&_0x3287dc(_0x3f7b44['getAttribute']('src')));}(_0x267e97['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x378b88=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x378b88);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x2f9631=this['editor']['model']['document']['selection']['getSelectedElement']();_0x2f9631&&(_0x2f9631['is']('element','imageBlock')||_0x2f9631['is']('element','imageInline'))&&(this['imageEditController']=new E(this['editor'],this['editor']['plugins']['get'](_0x2539e7),_0x2f9631),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class R extends _0x22c1fc{['refresh'](){const _0x5118d0=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x5118d0&&(_0x5118d0['is']('element','imageBlock')||_0x5118d0['is']('element','imageInline')));}['execute'](_0x3bc5b0){const _0xde2312=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x1d8960=>{_0x1d8960['setAttributes'](_0x3bc5b0,_0xde2312),_0x1d8960['removeAttribute']('srcset',_0xde2312),_0x1d8960['removeAttribute']('sizes',_0xde2312);});}}class m extends _0x37cd4f{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[o,_0x25d9ba,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x360823}=this;_0x360823['commands']['add']('uploadcareImageEdit',new O(_0x360823)),_0x360823['commands']['add']('uploadcareImageReplace',new R(_0x360823));}}class g extends _0x37cd4f{['_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 _0x2655bd=this['editor'];_0x2655bd['ui']['componentFactory']['add']('uploadcareImageEdit',_0x5d81ca=>{const _0x5e44a0=_0x2655bd['commands']['get']('uploadcareImageEdit'),_0x47fc96=new _0x7c331c(_0x5d81ca),t=_0x5d81ca['t'];return _0x47fc96['set']({'icon':_0x5c5ef4,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x47fc96['bind']('isEnabled')['to'](_0x5e44a0),_0x47fc96['bind']('isOn')['to'](_0x5e44a0,'isActive'),this['listenTo'](_0x47fc96,'execute',()=>{_0x2655bd['execute']('uploadcareImageEdit'),_0x2655bd['editing']['view']['focus']();}),_0x47fc96;}),this['_initConfig']();}['_initConfig'](){const _0x346a43=_0x1f4f79(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x346a43),this['listenTo'](this['editor'],'destroy',()=>{_0x346a43['remove']();});}}class et extends _0x37cd4f{static get['pluginName'](){return'UploadcareImageEdit';}static get['requires'](){return[m,g];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{tt as Uploadcare,w as UploadcareCommand,o as UploadcareEditing,et as UploadcareImageEdit,O as UploadcareImageEditCommand,m as UploadcareImageEditEditing,g as UploadcareImageEditUI,e as UploadcareUI,f as UploadcareUploadAdapter};
|
package/dist/translations/af.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'af':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':
|
|
23
|
+
export default{'af':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x4fa383=>0x1!=_0x4fa383}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0xd4d8f4=>{const {af:{dictionary:_0x6db61e,getPluralForm:_0x58f1a1}}={'af':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x2733fc=>0x1!=_0x2733fc}};_0xd4d8f4['af']||={'dictionary':{},'getPluralForm':null},_0xd4d8f4['af']['dictionary']=Object['assign'](_0xd4d8f4['af']['dictionary'],_0x6db61e),_0xd4d8f4['af']['getPluralForm']=_0x58f1a1;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/ar.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'ar':{'dictionary':{'Insert\x20with\x20Dropbox':'إدراج\x20باستخدام\x20Dropbox','Replace\x20with\x20Dropbox':'استبدال\x20باستخدام\x20Dropbox','With\x20Dropbox':'باستخدام\x20Dropbox','Insert\x20with\x20Facebook':'إدراج\x20باستخدام\x20Facebook','Replace\x20with\x20Facebook':'استبدال\x20باستخدام\x20Facebook','With\x20Facebook':'باستخدام\x20Facebook','Insert\x20with\x20Google\x20Drive':'إدراج\x20باستخدام\x20Google\x20Drive','Replace\x20with\x20Google\x20Drive':'استبدال\x20باستخدام\x20Google\x20Drive','With\x20Google\x20Drive':'باستخدام\x20Google\x20Drive','Insert\x20with\x20Google\x20Photos':'إدراج\x20باستخدام\x20Google\x20Photos','Replace\x20with\x20Google\x20Photos':'استبدال\x20باستخدام\x20Google\x20Photos','With\x20Google\x20Photos':'باستخدام\x20Google\x20Photos','Insert\x20with\x20OneDrive':'إدراج\x20باستخدام\x20OneDrive','Replace\x20with\x20OneDrive':'استبدال\x20باستخدام\x20OneDrive','With\x20OneDrive':'باستخدام\x20OneDrive','Replace\x20via\x20URL':'استبدال\x20باستخدام\x20رابط','Edit\x20Image\x20(Uploadcare)':'تحرير\x20الصورة','Loading\x20image...':'جارٍ\x20تحميل\x20الصورة...','Unable\x20to\x20load':'تعذر\x20التحميل','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'تعذّر\x20علينا\x20تحميل\x20الصورة\x20بسبب\x20مشكلات\x20في\x20اتصال\x20الشبكة.','Try\x20again\x20(Uploadcare)':'حاول\x20مجددًا','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':'لم\x20نعثر\x20على\x20الصورة.\x20ربما\x20حُذف\x20مصدرها.'},'getPluralForm':
|
|
23
|
+
export default{'ar':{'dictionary':{'Insert\x20with\x20Dropbox':'إدراج\x20باستخدام\x20Dropbox','Replace\x20with\x20Dropbox':'استبدال\x20باستخدام\x20Dropbox','With\x20Dropbox':'باستخدام\x20Dropbox','Insert\x20with\x20Facebook':'إدراج\x20باستخدام\x20Facebook','Replace\x20with\x20Facebook':'استبدال\x20باستخدام\x20Facebook','With\x20Facebook':'باستخدام\x20Facebook','Insert\x20with\x20Google\x20Drive':'إدراج\x20باستخدام\x20Google\x20Drive','Replace\x20with\x20Google\x20Drive':'استبدال\x20باستخدام\x20Google\x20Drive','With\x20Google\x20Drive':'باستخدام\x20Google\x20Drive','Insert\x20with\x20Google\x20Photos':'إدراج\x20باستخدام\x20Google\x20Photos','Replace\x20with\x20Google\x20Photos':'استبدال\x20باستخدام\x20Google\x20Photos','With\x20Google\x20Photos':'باستخدام\x20Google\x20Photos','Insert\x20with\x20OneDrive':'إدراج\x20باستخدام\x20OneDrive','Replace\x20with\x20OneDrive':'استبدال\x20باستخدام\x20OneDrive','With\x20OneDrive':'باستخدام\x20OneDrive','Replace\x20via\x20URL':'استبدال\x20باستخدام\x20رابط','Edit\x20Image\x20(Uploadcare)':'تحرير\x20الصورة','Loading\x20image...':'جارٍ\x20تحميل\x20الصورة...','Unable\x20to\x20load':'تعذر\x20التحميل','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'تعذّر\x20علينا\x20تحميل\x20الصورة\x20بسبب\x20مشكلات\x20في\x20اتصال\x20الشبكة.','Try\x20again\x20(Uploadcare)':'حاول\x20مجددًا','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':'لم\x20نعثر\x20على\x20الصورة.\x20ربما\x20حُذف\x20مصدرها.'},'getPluralForm':_0x4586a3=>0x0==_0x4586a3?0x0:0x1==_0x4586a3?0x1:0x2==_0x4586a3?0x2:_0x4586a3%0x64>=0x3&&_0x4586a3%0x64<=0xa?0x3:_0x4586a3%0x64>=0xb?0x4:0x5}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x6a7d1c=>{const {ar:{dictionary:_0x3047b5,getPluralForm:_0x87c312}}={'ar':{'dictionary':{'Insert\x20with\x20Dropbox':'إدراج\x20باستخدام\x20Dropbox','Replace\x20with\x20Dropbox':'استبدال\x20باستخدام\x20Dropbox','With\x20Dropbox':'باستخدام\x20Dropbox','Insert\x20with\x20Facebook':'إدراج\x20باستخدام\x20Facebook','Replace\x20with\x20Facebook':'استبدال\x20باستخدام\x20Facebook','With\x20Facebook':'باستخدام\x20Facebook','Insert\x20with\x20Google\x20Drive':'إدراج\x20باستخدام\x20Google\x20Drive','Replace\x20with\x20Google\x20Drive':'استبدال\x20باستخدام\x20Google\x20Drive','With\x20Google\x20Drive':'باستخدام\x20Google\x20Drive','Insert\x20with\x20Google\x20Photos':'إدراج\x20باستخدام\x20Google\x20Photos','Replace\x20with\x20Google\x20Photos':'استبدال\x20باستخدام\x20Google\x20Photos','With\x20Google\x20Photos':'باستخدام\x20Google\x20Photos','Insert\x20with\x20OneDrive':'إدراج\x20باستخدام\x20OneDrive','Replace\x20with\x20OneDrive':'استبدال\x20باستخدام\x20OneDrive','With\x20OneDrive':'باستخدام\x20OneDrive','Replace\x20via\x20URL':'استبدال\x20باستخدام\x20رابط','Edit\x20Image\x20(Uploadcare)':'تحرير\x20الصورة','Loading\x20image...':'جارٍ\x20تحميل\x20الصورة...','Unable\x20to\x20load':'تعذر\x20التحميل','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'تعذّر\x20علينا\x20تحميل\x20الصورة\x20بسبب\x20مشكلات\x20في\x20اتصال\x20الشبكة.','Try\x20again\x20(Uploadcare)':'حاول\x20مجددًا','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':'لم\x20نعثر\x20على\x20الصورة.\x20ربما\x20حُذف\x20مصدرها.'},'getPluralForm':_0x5fa81d=>0x0==_0x5fa81d?0x0:0x1==_0x5fa81d?0x1:0x2==_0x5fa81d?0x2:_0x5fa81d%0x64>=0x3&&_0x5fa81d%0x64<=0xa?0x3:_0x5fa81d%0x64>=0xb?0x4:0x5}};_0x6a7d1c['ar']||={'dictionary':{},'getPluralForm':null},_0x6a7d1c['ar']['dictionary']=Object['assign'](_0x6a7d1c['ar']['dictionary'],_0x3047b5),_0x6a7d1c['ar']['getPluralForm']=_0x87c312;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/ast.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'ast':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':
|
|
23
|
+
export default{'ast':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x5f2c2f=>0x1!=_0x5f2c2f}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x183734=>{const {ast:{dictionary:_0xcc575e,getPluralForm:_0x5053f8}}={'ast':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0xc331dc=>0x1!=_0xc331dc}};_0x183734['ast']||={'dictionary':{},'getPluralForm':null},_0x183734['ast']['dictionary']=Object['assign'](_0x183734['ast']['dictionary'],_0xcc575e),_0x183734['ast']['getPluralForm']=_0x5053f8;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/az.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'az':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':
|
|
23
|
+
export default{'az':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x1ea701=>0x1!=_0x1ea701}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x49c699=>{const {az:{dictionary:_0x2005ca,getPluralForm:_0xdbcd2}}={'az':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x44cf5a=>0x1!=_0x44cf5a}};_0x49c699['az']||={'dictionary':{},'getPluralForm':null},_0x49c699['az']['dictionary']=Object['assign'](_0x49c699['az']['dictionary'],_0x2005ca),_0x49c699['az']['getPluralForm']=_0xdbcd2;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/be.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'be':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':
|
|
23
|
+
export default{'be':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x3f9f90=>_0x3f9f90%0xa==0x1&&_0x3f9f90%0x64!=0xb?0x0:_0x3f9f90%0xa>=0x2&&_0x3f9f90%0xa<=0x4&&(_0x3f9f90%0x64<0xa||_0x3f9f90%0x64>=0x14)?0x1:0x2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0xfeb8be=>{const {be:{dictionary:_0xf38c2a,getPluralForm:_0x22980a}}={'be':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x1c475c=>_0x1c475c%0xa==0x1&&_0x1c475c%0x64!=0xb?0x0:_0x1c475c%0xa>=0x2&&_0x1c475c%0xa<=0x4&&(_0x1c475c%0x64<0xa||_0x1c475c%0x64>=0x14)?0x1:0x2}};_0xfeb8be['be']||={'dictionary':{},'getPluralForm':null},_0xfeb8be['be']['dictionary']=Object['assign'](_0xfeb8be['be']['dictionary'],_0xf38c2a),_0xfeb8be['be']['getPluralForm']=_0x22980a;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/bg.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'bg':{'dictionary':{'Insert\x20with\x20Dropbox':'Вмъкни\x20с\x20Dropbox','Replace\x20with\x20Dropbox':'Замени\x20с\x20Dropbox','With\x20Dropbox':'С\x20Dropbox','Insert\x20with\x20Facebook':'Вмъкни\x20с\x20Facebook','Replace\x20with\x20Facebook':'Замени\x20с\x20Facebook','With\x20Facebook':'С\x20Facebook','Insert\x20with\x20Google\x20Drive':'Вмъкни\x20с\x20Google\x20Drive','Replace\x20with\x20Google\x20Drive':'Замени\x20с\x20Google\x20Drive','With\x20Google\x20Drive':'С\x20Google\x20Drive','Insert\x20with\x20Google\x20Photos':'Вмъкни\x20с\x20Google\x20Photos','Replace\x20with\x20Google\x20Photos':'Замени\x20с\x20Google\x20Photos','With\x20Google\x20Photos':'С\x20Google\x20Photos','Insert\x20with\x20OneDrive':'Вмъкни\x20с\x20OneDrive','Replace\x20with\x20OneDrive':'Замени\x20с\x20OneDrive','With\x20OneDrive':'С\x20OneDrive','Replace\x20via\x20URL':'Замени\x20през\x20URL','Edit\x20Image\x20(Uploadcare)':'Редактиране\x20на\x20изображението','Loading\x20image...':'Изображението\x20се\x20зарежда...','Unable\x20to\x20load':'Не\x20може\x20да\x20зареди','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'Не\x20успяхме\x20да\x20заредим\x20изображението\x20поради\x20проблем\x20с\x20интернет\x20връзката.','Try\x20again\x20(Uploadcare)':'Опитайте\x20отново','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':'Изображението\x20не\x20беше\x20намерено.\x20Източникът\x20му\x20може\x20да\x20е\x20премахнат.'},'getPluralForm':
|
|
23
|
+
export default{'bg':{'dictionary':{'Insert\x20with\x20Dropbox':'Вмъкни\x20с\x20Dropbox','Replace\x20with\x20Dropbox':'Замени\x20с\x20Dropbox','With\x20Dropbox':'С\x20Dropbox','Insert\x20with\x20Facebook':'Вмъкни\x20с\x20Facebook','Replace\x20with\x20Facebook':'Замени\x20с\x20Facebook','With\x20Facebook':'С\x20Facebook','Insert\x20with\x20Google\x20Drive':'Вмъкни\x20с\x20Google\x20Drive','Replace\x20with\x20Google\x20Drive':'Замени\x20с\x20Google\x20Drive','With\x20Google\x20Drive':'С\x20Google\x20Drive','Insert\x20with\x20Google\x20Photos':'Вмъкни\x20с\x20Google\x20Photos','Replace\x20with\x20Google\x20Photos':'Замени\x20с\x20Google\x20Photos','With\x20Google\x20Photos':'С\x20Google\x20Photos','Insert\x20with\x20OneDrive':'Вмъкни\x20с\x20OneDrive','Replace\x20with\x20OneDrive':'Замени\x20с\x20OneDrive','With\x20OneDrive':'С\x20OneDrive','Replace\x20via\x20URL':'Замени\x20през\x20URL','Edit\x20Image\x20(Uploadcare)':'Редактиране\x20на\x20изображението','Loading\x20image...':'Изображението\x20се\x20зарежда...','Unable\x20to\x20load':'Не\x20може\x20да\x20зареди','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'Не\x20успяхме\x20да\x20заредим\x20изображението\x20поради\x20проблем\x20с\x20интернет\x20връзката.','Try\x20again\x20(Uploadcare)':'Опитайте\x20отново','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':'Изображението\x20не\x20беше\x20намерено.\x20Източникът\x20му\x20може\x20да\x20е\x20премахнат.'},'getPluralForm':_0x14a14f=>0x1!=_0x14a14f}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x2ee2f5=>{const {bg:{dictionary:_0x2f43a7,getPluralForm:_0x1bfd59}}={'bg':{'dictionary':{'Insert\x20with\x20Dropbox':'Вмъкни\x20с\x20Dropbox','Replace\x20with\x20Dropbox':'Замени\x20с\x20Dropbox','With\x20Dropbox':'С\x20Dropbox','Insert\x20with\x20Facebook':'Вмъкни\x20с\x20Facebook','Replace\x20with\x20Facebook':'Замени\x20с\x20Facebook','With\x20Facebook':'С\x20Facebook','Insert\x20with\x20Google\x20Drive':'Вмъкни\x20с\x20Google\x20Drive','Replace\x20with\x20Google\x20Drive':'Замени\x20с\x20Google\x20Drive','With\x20Google\x20Drive':'С\x20Google\x20Drive','Insert\x20with\x20Google\x20Photos':'Вмъкни\x20с\x20Google\x20Photos','Replace\x20with\x20Google\x20Photos':'Замени\x20с\x20Google\x20Photos','With\x20Google\x20Photos':'С\x20Google\x20Photos','Insert\x20with\x20OneDrive':'Вмъкни\x20с\x20OneDrive','Replace\x20with\x20OneDrive':'Замени\x20с\x20OneDrive','With\x20OneDrive':'С\x20OneDrive','Replace\x20via\x20URL':'Замени\x20през\x20URL','Edit\x20Image\x20(Uploadcare)':'Редактиране\x20на\x20изображението','Loading\x20image...':'Изображението\x20се\x20зарежда...','Unable\x20to\x20load':'Не\x20може\x20да\x20зареди','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'Не\x20успяхме\x20да\x20заредим\x20изображението\x20поради\x20проблем\x20с\x20интернет\x20връзката.','Try\x20again\x20(Uploadcare)':'Опитайте\x20отново','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':'Изображението\x20не\x20беше\x20намерено.\x20Източникът\x20му\x20може\x20да\x20е\x20премахнат.'},'getPluralForm':_0xb17ae7=>0x1!=_0xb17ae7}};_0x2ee2f5['bg']||={'dictionary':{},'getPluralForm':null},_0x2ee2f5['bg']['dictionary']=Object['assign'](_0x2ee2f5['bg']['dictionary'],_0x2f43a7),_0x2ee2f5['bg']['getPluralForm']=_0x1bfd59;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/bn.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'bn':{'dictionary':{'Insert\x20with\x20Dropbox':'Dropbox\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20Dropbox':'Dropbox\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20Dropbox':'Dropbox\x20দিয়ে','Insert\x20with\x20Facebook':'Facebook\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20Facebook':'Facebook\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20Facebook':'Facebook\x20দিয়ে','Insert\x20with\x20Google\x20Drive':'Google\x20Drive\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20Google\x20Drive':'Google\x20Drive\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20Google\x20Drive':'Google\x20Drive\x20দিয়ে','Insert\x20with\x20Google\x20Photos':'Google\x20Photos\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20Google\x20Photos':'Google\x20Photos\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20Google\x20Photos':'Google\x20Photos\x20দিয়ে','Insert\x20with\x20OneDrive':'OneDrive\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20OneDrive':'OneDrive\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20OneDrive':'OneDrive\x20দিয়ে','Replace\x20via\x20URL':'URL\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','Edit\x20Image\x20(Uploadcare)':'ছবি\x20এডিট\x20করুন','Loading\x20image...':'ছবি\x20লোড\x20হচ্ছে...','Unable\x20to\x20load':'লোড\x20করা\x20যাচ্ছে\x20না','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'নেটওয়ার্ক\x20সংযোগের\x20সমস্যার\x20কারণে\x20আমরা\x20ছবিটি\x20লোড\x20করতে\x20পারিনি।','Try\x20again\x20(Uploadcare)':'আবার\x20চেষ্টা\x20করুন','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':'ছবিটি\x20পাওয়া\x20যায়নি।\x20এর\x20উৎস\x20হয়তো\x20মুছে\x20ফেলা\x20হয়েছে।'},'getPluralForm':
|
|
23
|
+
export default{'bn':{'dictionary':{'Insert\x20with\x20Dropbox':'Dropbox\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20Dropbox':'Dropbox\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20Dropbox':'Dropbox\x20দিয়ে','Insert\x20with\x20Facebook':'Facebook\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20Facebook':'Facebook\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20Facebook':'Facebook\x20দিয়ে','Insert\x20with\x20Google\x20Drive':'Google\x20Drive\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20Google\x20Drive':'Google\x20Drive\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20Google\x20Drive':'Google\x20Drive\x20দিয়ে','Insert\x20with\x20Google\x20Photos':'Google\x20Photos\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20Google\x20Photos':'Google\x20Photos\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20Google\x20Photos':'Google\x20Photos\x20দিয়ে','Insert\x20with\x20OneDrive':'OneDrive\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20OneDrive':'OneDrive\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20OneDrive':'OneDrive\x20দিয়ে','Replace\x20via\x20URL':'URL\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','Edit\x20Image\x20(Uploadcare)':'ছবি\x20এডিট\x20করুন','Loading\x20image...':'ছবি\x20লোড\x20হচ্ছে...','Unable\x20to\x20load':'লোড\x20করা\x20যাচ্ছে\x20না','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'নেটওয়ার্ক\x20সংযোগের\x20সমস্যার\x20কারণে\x20আমরা\x20ছবিটি\x20লোড\x20করতে\x20পারিনি।','Try\x20again\x20(Uploadcare)':'আবার\x20চেষ্টা\x20করুন','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':'ছবিটি\x20পাওয়া\x20যায়নি।\x20এর\x20উৎস\x20হয়তো\x20মুছে\x20ফেলা\x20হয়েছে।'},'getPluralForm':_0x31f3d7=>0x1!=_0x31f3d7}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x5bc188=>{const {bn:{dictionary:_0xd2b70c,getPluralForm:_0x1a6a59}}={'bn':{'dictionary':{'Insert\x20with\x20Dropbox':'Dropbox\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20Dropbox':'Dropbox\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20Dropbox':'Dropbox\x20দিয়ে','Insert\x20with\x20Facebook':'Facebook\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20Facebook':'Facebook\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20Facebook':'Facebook\x20দিয়ে','Insert\x20with\x20Google\x20Drive':'Google\x20Drive\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20Google\x20Drive':'Google\x20Drive\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20Google\x20Drive':'Google\x20Drive\x20দিয়ে','Insert\x20with\x20Google\x20Photos':'Google\x20Photos\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20Google\x20Photos':'Google\x20Photos\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20Google\x20Photos':'Google\x20Photos\x20দিয়ে','Insert\x20with\x20OneDrive':'OneDrive\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20OneDrive':'OneDrive\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20OneDrive':'OneDrive\x20দিয়ে','Replace\x20via\x20URL':'URL\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','Edit\x20Image\x20(Uploadcare)':'ছবি\x20এডিট\x20করুন','Loading\x20image...':'ছবি\x20লোড\x20হচ্ছে...','Unable\x20to\x20load':'লোড\x20করা\x20যাচ্ছে\x20না','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'নেটওয়ার্ক\x20সংযোগের\x20সমস্যার\x20কারণে\x20আমরা\x20ছবিটি\x20লোড\x20করতে\x20পারিনি।','Try\x20again\x20(Uploadcare)':'আবার\x20চেষ্টা\x20করুন','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':'ছবিটি\x20পাওয়া\x20যায়নি।\x20এর\x20উৎস\x20হয়তো\x20মুছে\x20ফেলা\x20হয়েছে।'},'getPluralForm':_0x49dced=>0x1!=_0x49dced}};_0x5bc188['bn']||={'dictionary':{},'getPluralForm':null},_0x5bc188['bn']['dictionary']=Object['assign'](_0x5bc188['bn']['dictionary'],_0xd2b70c),_0x5bc188['bn']['getPluralForm']=_0x1a6a59;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/bs.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'bs':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':
|
|
23
|
+
export default{'bs':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x32810f=>_0x32810f%0xa==0x1&&_0x32810f%0x64!=0xb?0x0:_0x32810f%0xa>=0x2&&_0x32810f%0xa<=0x4&&(_0x32810f%0x64<0xa||_0x32810f%0x64>=0x14)?0x1:0x2}};
|