@ckeditor/ckeditor5-uploadcare 48.4.0 → 48.5.0-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +3 -3
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +8 -8
package/dist/index.js
CHANGED
|
@@ -20,6 +20,6 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Command as _0x16619f,Plugin as _0x4221c}from'@ckeditor/ckeditor5-core';import{IconDropbox as _0x1f6d97,IconError as _0x2467eb,IconFacebook as _0x487c6b,IconGoogleDrive as _0x4f639c,IconGooglePhotos as _0x312e50,IconOneDrive as _0x39c1e0,IconUploadcareImageEdit as _0x26f752,IconUploadcareImageUpload as _0x19a392,IconUploadcareLink as _0x21bbc4}from'@ckeditor/ckeditor5-icons';import{ButtonView as _0x376018,Dialog as _0x109fac,DialogViewPosition as _0x3ba41a,FocusCycler as _0x38b70a,IconView as _0x5f18d6,MenuBarMenuListItemButtonView as _0x3656bd,Notification as _0x1a6e42,SpinnerView as _0x264d1c,View as _0x3b5897}from'@ckeditor/ckeditor5-ui';import{DomEmitterMixin as _0x5bd18e,FocusTracker as _0x2cba4c,ObservableMixin as _0x1454e2,createElement as _0x223e60,getAncestors as _0x260c99,global as _0x497cad,uid as _0x3edb93}from'@ckeditor/ckeditor5-utils';import{ImageEditing as _0x399229,ImageUploadEditing as _0x2275c9,ImageUploadProgress as _0x57d262,ImageUtils as _0x86d0d4,PictureEditing as _0x44496d}from'@ckeditor/ckeditor5-image';import{FileRepository as _0x45be8b}from'@ckeditor/ckeditor5-upload';import{info as _0xe75b8f,uploadFile as _0x2411cf}from'@uploadcare/upload-client';import*as _0x1b34af from'@uploadcare/file-uploader/web/file-uploader.min.js';function T(_0x5e1bc3,_0x15f77d,_0x5744d1){const t=_0x5e1bc3['t'],_0xdc230e=_0x5e1bc3['t'];switch(_0x15f77d){case'local':return{'text':_0xdc230e('Insert'===_0x5744d1?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0xdc230e('From\x20computer')};case'url':return{'text':'Insert'===_0x5744d1?_0xdc230e('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0xdc230e('Via\x20URL')};case'dropbox':return{'text':t('Insert'===_0x5744d1?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case'facebook':return{'text':t('Insert'===_0x5744d1?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case'gdrive':return{'text':t('Insert'===_0x5744d1?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case'gphotos':return{'text':t('Insert'===_0x5744d1?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case'onedrive':return{'text':t('Insert'===_0x5744d1?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x15f77d;}}var V=class extends _0x4221c{['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 _0x3fd320=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x13541a;for(const _0x496553 in _0x3fd320){const _0x1c878d=_0x496553,_0x527ff1=_0x3fd320[_0x1c878d];if('uploadcareLicenseKeyValid'==_0x527ff1||'uploadcareLicenseKeyInvalid'==_0x527ff1||'uploadcareLicenseKeyExpired'==_0x527ff1||'uploadcareLicenseKeyDomainLimit'==_0x527ff1||'uploadcareLicenseKeyNotAllowed'==_0x527ff1||'uploadcareLicenseKeyEvaluationLimit'==_0x527ff1||'uploadcareLicenseKeyUsageLimit'==_0x527ff1){delete _0x3fd320[_0x1c878d],_0x13541a=_0x527ff1,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x13541a&&_0x3fd320['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x13541a&&_0x3fd320['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x13541a&&_0x3fd320['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x13541a&&_0x3fd320['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x13541a&&_0x3fd320['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyUsageLimit'==_0x13541a&&_0x3fd320['_showLicenseError']('usageLimit');},0x3e8);}afterInit(){const {editor:_0x322807}=this,_0x548f5c=_0x322807['commands']['get']('uploadcare');if(!_0x548f5c)return;const _0x3cb93d=this['_normalizeConfigSourceList'](_0x322807['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x20a580,_0x21d947)=>{const _0x4fcbec=this['_getIntegrationKey'](_0x21d947['type']);return _0x20a580[_0x4fcbec]||(_0x20a580[_0x4fcbec]=[]),_0x20a580[_0x4fcbec]['push'](_0x21d947),_0x20a580;},{});_0x322807['plugins']['has']('ImageInsertUI')&&_0x322807['commands']['get']('uploadcare')&&Object['entries'](_0x3cb93d)['forEach'](([_0x513912,_0xd0ec1b])=>{_0x322807['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x513912,'observable':()=>_0x548f5c,'buttonViewCreator':()=>this['_createToolbarButton'](_0xd0ec1b),'formViewCreator':()=>this['_createDropdownButtons'](_0xd0ec1b),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0xd0ec1b),'override':'assetManager'!==_0x513912});});}destroy(){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}_normalizeConfigSourceList(_0x3ec945){const {locale:_0x2ab499}=this['editor'];return _0x3ec945['map'](_0x7a2818=>{const _0x12bc9=T(_0x2ab499,_0x7a2818,'Insert');switch(_0x7a2818){case'local':return{'icon':_0x19a392,'type':'local',..._0x12bc9};case'url':return{'icon':_0x21bbc4,'type':'url',..._0x12bc9};case'dropbox':return{'icon':_0x1f6d97,'type':'dropbox',..._0x12bc9};case'facebook':return{'icon':_0x487c6b,'type':'facebook',..._0x12bc9};case'gdrive':return{'icon':_0x4f639c,'type':'gdrive',..._0x12bc9};case'gphotos':return{'icon':_0x312e50,'type':'gphotos',..._0x12bc9};case'onedrive':return{'icon':_0x39c1e0,'type':'onedrive',..._0x12bc9};}});}_getIntegrationKey(_0x5e0173){switch(_0x5e0173){case'local':return'upload';case'url':return'url';default:return'assetManager';}}_createButton(_0x451032,_0x5e2a2c){const _0x5920bd=this['editor'],_0x3d0609=new _0x451032(_0x5920bd['locale']),_0x26c11b=_0x5920bd['commands']['get']('uploadcare');return _0x3d0609['bind']('isEnabled')['to'](_0x26c11b),_0x3d0609['on']('execute',()=>{_0x26c11b['execute'](_0x5e2a2c);}),_0x3d0609;}_createToolbarButton(_0x177dbc){const {locale:_0x1558ce}=this['editor'],_0x321f3e=this['editor']['plugins']['get']('ImageInsertUI'),_0x2ac41b=_0x177dbc[0x0],_0x6d0832=this['_createButton'](_0x376018,_0x2ac41b['type']);return _0x6d0832['icon']=_0x2ac41b['icon'],_0x6d0832['bind']('label')['to'](_0x321f3e,'isImageSelected',_0x33279e=>T(_0x1558ce,_0x2ac41b['type'],_0x33279e?'Replace':'Insert')['text']),_0x6d0832['tooltip']=!0x0,_0x6d0832;}_createDropdownButtons(_0x440d51){const {locale:_0x112adf}=this['editor'],_0x179ed0=this['editor']['plugins']['get']('ImageInsertUI');return _0x440d51['map'](_0x113c26=>{const _0x448455=this['_createButton'](_0x376018,_0x113c26['type']);return _0x448455['withText']=!0x0,_0x448455['icon']=_0x113c26['icon'],_0x448455['bind']('label')['to'](_0x179ed0,'isImageSelected',_0x2a6ed2=>T(_0x112adf,_0x113c26['type'],_0x2a6ed2?'Replace':'Insert')['text']),_0x448455;});}_createMenuBarButtons(_0x504222){return _0x504222['map'](_0x1cbcf8=>{const _0x570f22=this['_createButton'](_0x3656bd,_0x1cbcf8['type']);return _0x570f22['icon']=_0x1cbcf8['icon'],_0x570f22['label']=_0x1cbcf8['shortText'],_0x570f22;});}},F=class extends _0x3b5897{['focusTracker'];['focusCycler'];constructor(_0x27201c){super(_0x27201c),this['focusTracker']=new _0x2cba4c(),this['focusCycler']=new _0x38b70a({'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 extends F{constructor(_0x27afc9,_0x17da27){super(_0x27afc9),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-'+_0x17da27}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}};function B(_0xbbec20,_0x81b344){const _0x1556b1=_0xbbec20['replace'](/\/$/,'');return{'imageFallbackUrl':_0xbbec20,'imageSources':[{'srcset':[...[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x152355=>_0x152355<_0x81b344)['map'](_0xdba603=>_0x1556b1+'/-/resize/'+_0xdba603+'x/\x20'+_0xdba603+'w'),_0xbbec20+'\x20'+_0x81b344+'w']['join'](',\x20'),'sizes':'(max-width:\x20'+_0x81b344+'px)\x20100vw,\x20'+_0x81b344+'px','type':'image/webp'}]};}function j(_0x1e0879,_0x43a8fe,_0x3a780e){const _0x52b30b=_0x1e0879['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x52b30b?parseInt(_0x52b30b[0x1],0xa):_0x43a8fe,'height':_0x52b30b?parseInt(_0x52b30b[0x2],0xa):_0x3a780e};}function q(_0xc56179,_0x438f78){const _0x1e19a3=new(_0x5bd18e())(),_0x345f43=_0xc56179['plugins']['get']('ImageUtils'),_0x1436dd=_0xc56179['editing']['mapper']['toViewElement'](_0x438f78),_0x4af1ca=_0x345f43['findViewImgElement'](_0x1436dd),_0x5bcaa5=_0xc56179['editing']['view']['domConverter']['viewToDom'](_0x4af1ca),_0x1b1175=_0x438f78['getAttribute']('width'),_0x3bf840=_0x438f78['getAttribute']('height'),_0x3fa9c8='image-processing';_0xc56179['editing']['view']['change'](_0xe9ffd1=>{_0xe9ffd1['addClass'](_0x3fa9c8,_0x1436dd),_0xe9ffd1['setStyle']('aspect-ratio',_0x1b1175+'/'+_0x3bf840,_0x4af1ca);}),_0x1e19a3['listenTo'](_0x5bcaa5,'load',()=>{_0x1e19a3['stopListening'](_0x5bcaa5,'load'),_0xc56179['editing']['view']['change'](_0x223b0c=>{_0x223b0c['removeClass'](_0x3fa9c8,_0x1436dd),_0x223b0c['removeStyle']('aspect-ratio',_0x4af1ca);});});}function M(_0x3a00ae){if(Array['isArray'](_0x3a00ae)){const _0x36c5b0=_0x3a00ae['map'](M);return _0x39f2e3=>_0x36c5b0['some'](_0x21511b=>_0x21511b(_0x39f2e3));}if('origin'==_0x3a00ae){const _0x3283ed=_0x497cad['window']['location']['origin'];return _0x4e429d=>new URL(_0x4e429d,_0x497cad['document']['baseURI'])['origin']==_0x3283ed;}return'function'==typeof _0x3a00ae?_0x3a00ae:_0x3a00ae instanceof RegExp?_0x513454=>!(!_0x513454['match'](_0x3a00ae)&&!_0x513454['replace'](/^https?:\/\//,'')['match'](_0x3a00ae)):()=>!0x1;}function H(_0x56aa68,_0x39552c){return _0x260c99(_0x56aa68['target'])['includes'](_0x39552c);}const W=/* #__PURE__ -- @preserve */
|
|
24
|
-
_0x1454e2();var G=class extends W{_editor;['_dialog'];_editing;['_api'];_type=null;['_formView']=null;constructor(_0x29065e,_0x579f80,_0x5b340a){super(),this['_editor']=_0x29065e,this['_editing']=_0x579f80,this['_dialog']=_0x29065e['plugins']['get'](_0x109fac),this['_api']=_0x579f80['ctxElement']['getAPI'](),this['_type']=_0x5b340a,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:_0x5193e6,model:_0x9d3500}=this['_editor'],_0x258818=_0x9d3500['document']['selection']['getSelectedElement'](),_0x1aeef2=_0x258818&&(_0x258818['is']('element','imageBlock')||_0x258818['is']('element','imageInline'));this['_formView']=new $(_0x5193e6,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':_0x19a392,'title':T(_0x5193e6,this['_type'],_0x1aeef2?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x3ba41a['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x105b0c=>!H(_0x105b0c,this['_formView']['element'])}});}_initListeners(){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x2cc839}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0xa6c556=>{const _0x18a2d5=_0x2cc839['length'];for(const _0x272b51 of _0x2cc839){const _0xe47fdf=_0x272b51===_0x2cc839[_0x18a2d5-0x1],{cdnUrl:_0x36abf7,fileInfo:_0x5d5e96}=_0x272b51;if(!_0x36abf7||!_0x5d5e96)continue;const {width:_0x4341ec,height:_0x55713b}=_0x5d5e96['imageInfo'],_0x401f40=j(_0x36abf7,_0x4341ec,_0x55713b),_0x8504c1=B(_0x36abf7,_0x401f40['width']),_0x2a8b24={'id':_0x5d5e96['uuid'],'type':'image','attributes':{'imageDimension':_0x401f40,..._0x8504c1}};this['_insertAsset'](_0x2a8b24,_0xe47fdf,_0xa6c556);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x8d369e=>{'idle'===_0x8d369e['detail']['status']&&!_0x8d369e['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&('local'===this['_type']?this['_api']['setCurrentActivity']('start-from'):this['_api']['initFlow']());});}_insertAsset(_0x165a5f,_0x58d30c,_0x25f038){const _0x1f765e=this['_editor']['model']['document']['selection'],_0xb67b17=_0x1f765e['getSelectedElement'](),_0x28a455=!(!_0xb67b17||!_0xb67b17['is']('element','imageInline'));_0x25f038['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x165a5f,_0x28a455),_0x58d30c||_0x25f038['setSelection'](_0x1f765e['getLastPosition']());}_insertImage(_0x2f5bd9,_0x2a989e){const _0x5cfd8e=this['_editor'],{imageDimension:_0x5812e1,imageFallbackUrl:_0x5a4536,imageSources:_0x32037a}=_0x2f5bd9['attributes'];_0x5cfd8e['execute']('insertImage',{'imageType':_0x2a989e?'imageInline':null,'source':{'uploadcareImageId':_0x2f5bd9['id'],'src':_0x5a4536,'sources':_0x32037a,..._0x5812e1}});}},z=class extends _0x16619f{_editing;_controller=null;static get requires(){return[_0x109fac,Z];}constructor(_0x441276){super(_0x441276),this['_editing']=_0x441276['plugins']['get'](Z);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}execute(_0x4abca1){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new G(this['editor'],this['_editing'],_0x4abca1);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}},Q=class{static['upload']({file:_0x2e2d5b,..._0x430ce7}){return _0x2411cf(_0x2e2d5b,_0x430ce7);}static getInfo(_0x52f9ae,_0x2aed01){return _0xe75b8f(_0x52f9ae,_0x2aed01);}},J=class extends _0x4221c{static get requires(){return[_0x2275c9,_0x57d262,_0x45be8b,Z];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async afterInit(){const _0x366293=this['editor'];if(!_0x366293['config']['get']('uploadcare'))return;_0x366293['plugins']['get'](_0x45be8b)['createUploadAdapter']=_0x18c896=>new X(_0x18c896,_0x366293),_0x366293['plugins']['get'](_0x2275c9)['on']('uploadComplete',(_0x424491,{imageElement:_0x2a013d,data:_0xd2c324})=>{_0x366293['model']['change'](_0x1b5cfa=>{_0x1b5cfa['setAttribute']('uploadcareImageId',_0xd2c324['uploadcareImageId'],_0x2a013d);});});}},X=class{['loader'];editor;controller;constructor(_0x92f161,_0x5c8008){this['loader']=_0x92f161,this['editor']=_0x5c8008,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x5a9d55=await this['loader']['file'];return Q['upload']({'file':_0x5a9d55,'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':_0x22b2ee=>{_0x22b2ee&&_0x22b2ee['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x22b2ee['value']);}})['then'](async _0x4554c3=>{const {imageFallbackUrl:_0x2fc645,imageSources:_0x189fe5}=B(_0x4554c3['cdnUrl'],_0x4554c3['imageInfo']['width']);return{'uploadcareImageId':_0x4554c3['uuid'],'default':_0x2fc645,'sources':_0x189fe5};})['catch'](()=>{const _0x1a2844=t('Cannot\x20upload\x20file:')+('\x20'+_0x5a9d55['name']+'.');return Promise['reject'](_0x1a2844);});}abort(){this['controller']['abort']();}},Z=class extends _0x4221c{_configElement=null;_ctxElement=null;static get['pluginName'](){return'UploadcareEditing';}static get requires(){return[_0x44496d,J,_0x109fac];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}ucContextId;get configElement(){return this['_configElement'];}get ctxElement(){return this['_ctxElement'];}constructor(_0x33e0b6){super(_0x33e0b6),this['ucContextId']=_0x3edb93();}init(){const _0x30b39c=this['editor'];_0x30b39c['commands']['add']('uploadcare',new z(_0x30b39c));}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 _0x50f227=_0x497cad['document']['querySelector']('input[uploadcare-file-input]');_0x50f227&&_0x50f227['remove']();}),async function(_0x36c41d){const _0x394709='hgP68pqc7OBJx9u3zrHatYUXf04TdVkMFmwCs5SDAvj21iWQGeZKLyRlENnoIb',_0x212941=0x791d0,_0x4a1ada=window['Date']['now'](),_0x445395=_0x36c41d['editor'],_0x566026=new window['Promise'](_0x4f57ad=>{_0x445395['once']('ready',_0x4f57ad);}),_0x58d6c3={'kty':'EC','use':'sig','crv':'P-256','x':'iCjOCvDFI6lQHHT18jVwRfkfHQ2a_MymT35LQVoFSAI','y':'kXIyJ4evtCEFRmxKSUpK9fDW459vXOvVrhf6uQAeOio','alg':'ES256'},_0x107812=_0x445395['config']['get']('licenseKey');async function _0x31705b(){let _0x31cb8a,_0x3855e1=null,_0x54a9f1=null;try{return'GPL'==_0x107812?'NotAllowed':(_0x31cb8a=_0x207f7d(),_0x31cb8a?(_0x31cb8a['usageEndpoint']&&(_0x54a9f1=_0x376a4f(_0x31cb8a['usageEndpoint'],_0x31cb8a['jti'])),await _0x90cda0()?_0x9121e2()?_0x2bb6c5()?'Expired':_0x2d8d15()?('evaluation'==_0x31cb8a['licenseType']&&(_0x3855e1=_0x532846('EvaluationLimit')),await _0x5b6687()):'DomainLimit':'NotAllowed':'Invalid'):'Invalid');}catch{return'Invalid';}function _0x2bb6c5(){const _0x323d7a=['evaluation','trial']['includes'](_0x31cb8a['licenseType'])?_0x4a1ada/0x3e8:0xe10*_0x212941;return _0x31cb8a['exp']<_0x323d7a;}function _0x9121e2(){const _0x361187=_0x31cb8a['features'];return!!_0x361187&&(!!_0x361187['includes']('*')||!!_0x361187['includes']('UPLC'));}function _0x2d8d15(){const _0x5f2bfe=_0x31cb8a['licensedHosts'];if(!_0x5f2bfe||0x0==_0x5f2bfe['length'])return!0x0;const {hostname:_0x529ef3}=new URL(window['location']['href']);if(_0x5f2bfe['includes'](_0x529ef3))return!0x0;const _0x42a03a=_0x529ef3['split']('.');return _0x5f2bfe['filter'](_0x20d9a2=>_0x20d9a2['includes']('*'))['map'](_0x538157=>_0x538157['split']('.'))['filter'](_0xefd21d=>_0xefd21d['length']<=_0x42a03a['length'])['map'](_0x24f6a9=>Array(_0x42a03a['length']-_0x24f6a9['length'])['fill']('*'===_0x24f6a9[0x0]?'*':'')['concat'](_0x24f6a9))['some'](_0x2f6746=>_0x42a03a['every']((_0x9f1eec,_0x347f3d)=>_0x2f6746[_0x347f3d]===_0x9f1eec||'*'===_0x2f6746[_0x347f3d]));}function _0x5b6687(){return _0x3855e1&&_0x54a9f1?new window['Promise']((_0x3b3802,_0x25d9cd)=>{_0x3855e1['then'](_0x3b3802,_0x25d9cd),_0x54a9f1['then'](_0x1b3a67=>{'Valid'!=_0x1b3a67&&_0x3b3802(_0x1b3a67);},_0x25d9cd);}):_0x3855e1||_0x54a9f1||'Valid';}}function _0x376a4f(_0x826bd9,_0x372d78){return new window['Promise'](_0x403cc5=>{if(_0x427827())return _0x403cc5('Valid');_0x5d34b2(),_0x445395['decorate']('_sendUsageRequest');let _0x2458bf=!0x1;const _0x58aae7=_0x3edb93();function _0x518505(_0x28049f){return!!_0x28049f&&('object'==typeof _0x28049f||'function'==typeof _0x28049f)&&'function'==typeof _0x28049f['then']&&'function'==typeof _0x28049f['catch'];}function _0x44a7d3(_0x4d1e6f){_0x2af3ad(_0x4d1e6f)['then'](_0x211829=>_0x211829&&'ok'==_0x211829['status']?_0x431724(_0x1516b9(_0x58aae7+_0x372d78))!=_0x211829['verification']?'UsageLimit':'Valid':'UsageLimit')['then'](_0x1e86d6=>(_0x201168(),_0x1e86d6),()=>{const _0xe1eaba=_0x214151();return null==_0xe1eaba?(_0x201168(),'Valid'):_0x4a1ada-_0xe1eaba>0x240c8400?'UsageLimit':'Valid';})['then'](_0x403cc5)['catch'](()=>{_0x403cc5('UsageLimit');});const _0x4c3f23=0x36ee80;function _0x201168(){const _0x20a334='llct-'+_0x431724(_0x1516b9(_0x826bd9)),_0x39d208=_0x3a5234(_0x431724(window['Math']['ceil'](_0x4a1ada/_0x4c3f23)));window['localStorage']['setItem'](_0x20a334,_0x39d208);}function _0x214151(){const _0x2f689c='llct-'+_0x431724(_0x1516b9(_0x826bd9)),_0x203722=window['localStorage']['getItem'](_0x2f689c);return _0x203722?window['parseInt'](_0x3a5234(_0x203722),0x10)*_0x4c3f23:null;}function _0x2af3ad(_0x4b2a35){return new window['Promise']((_0x339f28,_0x354140)=>{_0x4b2a35['then'](_0x339f28,_0x354140),window['setTimeout'](_0x354140,0x1d4c0);});}}_0x445395['on']('_sendUsageRequest',(_0x56d1ac,_0x28a284)=>{if(_0x28a284[0x0]!=_0x826bd9)return _0x403cc5('UsageLimit');_0x28a284[0x1]={..._0x28a284[0x1],'requestId':_0x58aae7};},{'priority':'high'}),_0x445395['on']('_sendUsageRequest',_0x3d01fe=>{_0x518505(_0x3d01fe['return'])&&(_0x2458bf=!0x0,_0x44a7d3(_0x3d01fe['return']));},{'priority':'low'}),_0x566026['then'](()=>{_0x2458bf||_0x403cc5('UsageLimit');});});function _0x427827(){return'auto'==_0x445395['editing']['view']['_overlayModeHint'];}function _0x5d34b2(){_0x445395['editing']['view']['_overlayModeHint']='auto';}}function _0x532846(_0x4b352b){const _0x1a7755=[new window['Promise'](_0x4ccb65=>setTimeout(_0x4ccb65,0x93ecc)),_0x566026['then'](()=>new window['Promise'](_0x41bd3e=>{let _0x508cac=0x0;_0x445395['model']['on']('applyOperation',(_0x2acc40,_0xcd8739)=>{_0xcd8739[0x0]['isDocumentOperation']&&_0x508cac++,0x5e8==_0x508cac&&(_0x41bd3e(),_0x2acc40['off']());});}))];return window['Promise']['race'](_0x1a7755)['then'](()=>_0x4b352b);}async function _0x2bbd4e(){await _0x566026,_0x445395['model']['change']=_0xb0a824,_0x445395['model']['enqueueChange']=_0xb0a824,_0x445395['enableReadOnlyMode']('model');}function _0x44761f(_0x43782d){const _0x56df33=_0x5a8d70();_0x445395[_0x56df33]='uploadcareLicenseKey'+_0x43782d,'Valid'!=_0x43782d&&_0x2bbd4e();}function _0x5a8d70(){const _0x5df707=window['String'](window['performance']['now']())['replace']('.','');let _0x568ee7='h';for(let _0x4643d6=0x0;_0x4643d6<_0x5df707['length'];_0x4643d6+=0x2){let _0x1ae41a=window['parseInt'](_0x5df707['substring'](_0x4643d6,_0x4643d6+0x2));_0x1ae41a>=0x3e&&(_0x1ae41a-=0x3e),_0x568ee7+=_0x394709[_0x1ae41a];}return _0x568ee7;}function _0x207f7d(){const _0x4eb564=_0x107812['split']('.');if(0x3!=_0x4eb564['length'])return null;return _0x42f10b(_0x4eb564[0x1]);function _0x42f10b(_0x4c6ade){const _0x351bce=_0x3e9361(_0x4c6ade);return _0x351bce&&_0x12651c()?_0x351bce:null;function _0x12651c(){const _0x437175=_0x351bce['jti'],_0x172b00=window['parseInt'](_0x437175['substring'](_0x437175['length']-0x8),0x10),_0x32a02b={..._0x351bce,'jti':_0x437175['substring'](0x0,_0x437175['length']-0x8)};return delete _0x32a02b['vc'],_0x1516b9(_0x32a02b)==_0x172b00;}}}async function _0x90cda0(){let _0x23a449=!0x0;try{const [_0x53a599,_0x34e647,_0x546b58]=_0x107812['split']('.');return _0x50e696(_0x53a599),await _0x4363ba(_0x53a599,_0x34e647,_0x546b58),_0x23a449;}catch{return!0x1;}function _0x50e696(_0x406a0e){const _0x4a02f0=_0x3e9361(_0x406a0e);_0x4a02f0&&'ES256'==_0x4a02f0['alg']||(_0x23a449=!0x1);}async function _0x4363ba(_0x3507f0,_0x34b203,_0x307a99){const _0x494204=window['Uint8Array']['from'](_0x39c164(_0x307a99),_0xd3d74a=>_0xd3d74a['charCodeAt'](0x0)),_0x4723d4=new window['TextEncoder']()['encode'](_0x3507f0+'.'+_0x34b203),_0x87c7dc=window['crypto']['subtle'];if(!_0x87c7dc)return;const _0x20e0bb=await _0x87c7dc['importKey']('jwk',_0x58d6c3,{'name':'ECDSA','namedCurve':'P-256'},!0x1,['verify']);await _0x87c7dc['verify']({'name':'ECDSA','hash':{'name':'SHA-256'}},_0x20e0bb,_0x494204,_0x4723d4)||(_0x23a449=!0x1);}}function _0x3e9361(_0x460e64){return _0x460e64['startsWith']('ey')?JSON['parse'](_0x39c164(_0x460e64)):null;}function _0x39c164(_0x2ef188){return window['atob'](_0x2ef188['replace'](/-/g,'+')['replace'](/_/g,'/'));}function _0x1516b9(_0x410268){let _0x51c688=0x1505;function _0x438b1e(_0xa94b9){for(let _0x30ce97=0x0;_0x30ce97<_0xa94b9['length'];_0x30ce97++){const _0x392a9f=_0xa94b9['charCodeAt'](_0x30ce97);_0x51c688=(_0x51c688<<0x5)+_0x51c688+_0x392a9f,_0x51c688&=_0x51c688;}}function _0x5c7359(_0x3c68be){Array['isArray'](_0x3c68be)?_0x3c68be['forEach'](_0x5c7359):_0x3c68be&&'object'==typeof _0x3c68be?Object['entries'](_0x3c68be)['sort']()['forEach'](([_0x1a21a0,_0x39b4d7])=>{_0x438b1e(_0x1a21a0),_0x5c7359(_0x39b4d7);}):_0x438b1e(window['String'](_0x3c68be));}return _0x5c7359(_0x410268),_0x51c688>>>0x0;}function _0x431724(_0x409288){return _0x409288['toString'](0x10)['padStart'](0x8,'0');}function _0x3a5234(_0xce0f15){return _0xce0f15['split']('')['reverse']()['join']('');}function _0xb0a824(){}_0x44761f(await _0x31705b());}(this);}_initSchema(){const _0x128d99=this['editor']['model']['schema'];_0x128d99['isRegistered']('imageBlock')&&_0x128d99['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x128d99['isRegistered']('imageInline')&&_0x128d99['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}_initConversion(){const _0x3fa827=this['editor'];_0x3fa827['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x3fa827['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x8afd68=>_0x8afd68['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x34e39a=_0x3fa827['commands']['get']('replaceImageSource');_0x34e39a&&this['listenTo'](_0x34e39a,'cleanupImage',(_0xb272c9,[_0x38c0fa,_0x3f78a9])=>{_0x38c0fa['removeAttribute']('uploadcareImageId',_0x3f78a9);});}_initConfig(){const _0x3364da=this['editor']['config']['get']('uploadcare.uploader')||{},_0x5e23f0=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x223e60(_0x497cad['document'],'uc-config',{..._0x3364da,'pubkey':_0x5e23f0,'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']=_0x16828c=>{if('closeMax'==_0x16828c)return'#uc-icon-arrow-down';},_0x497cad['document']['body']['appendChild'](this['_configElement']);}_initCtx(){this['_ctxElement']=_0x223e60(_0x497cad['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),_0x497cad['document']['body']['appendChild'](this['_ctxElement']);}_initImageProcessingIndicator(){const _0x161e44=this['editor']['commands']['get']('insertImage');_0x161e44&&this['listenTo'](_0x161e44,'execute',()=>{const _0x2e79ce=this['editor']['model']['document']['selection']['getSelectedElement']();_0x2e79ce&&_0x2e79ce['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{q(this['editor'],_0x2e79ce);});});const _0x3ae5db=this['editor']['commands']['get']('uploadcareImageReplace');_0x3ae5db&&this['listenTo'](_0x3ae5db,'execute',()=>{const _0x208f69=this['editor']['model']['document']['selection']['getSelectedElement']();_0x208f69&&_0x208f69['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{q(this['editor'],_0x208f69);});});}},Y=class extends _0x4221c{static get requires(){return[Z,V];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x34fa66){super(_0x34fa66),_0x34fa66['config']['define']('uploadcare.uploader.sourceList',['local','url']),_0x1b34af['defineComponents'](_0x1b34af),this['_defineLocale']();}['_defineLocale'](){const _0x558dba=this['editor']['config']['get']('uploadcare.locale'),_0x50532a=this['editor']['locale']['contentLanguage'];_0x558dba&&_0x1b34af['defineLocale'](_0x50532a,_0x558dba);}},tt=class extends _0x3b5897{constructor(_0x4140d9){super(_0x4140d9);const t=_0x4140d9['t'],_0x30092b=this['bindTemplate'],_0x1ada22=new _0x264d1c();_0x1ada22['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':[_0x1ada22,{'text':_0x30092b['to']('imageUploadProgress',_0x5e8a23=>t('Loading\x20image...')+'\x20('+(_0x5e8a23||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'}]}]}]});}},et=class extends _0x3b5897{constructor(_0x8874d4){super(_0x8874d4);const t=_0x8874d4['t'];this['set']('errorType',null);const _0x507b36=new _0x376018(_0x8874d4);_0x507b36['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x507b36['withText']=!0x0,_0x507b36['class']='ck-button-action',_0x507b36['on']('execute',()=>{this['fire']('retry');}),_0x507b36['bind']('isVisible')['to'](this,'errorType',_0x484b40=>'NotFound'!==_0x484b40);const _0x158b03=new _0x5f18d6();_0x158b03['content']=_0x2467eb,_0x158b03['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x3c2fe6=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':[_0x158b03,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x3c2fe6['to']('errorType',_0x2f6e82=>t('NotFound'!==_0x2f6e82?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x507b36]},{'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'}]}]}]});}},it=class extends _0x3b5897{constructor(_0x180b36,_0x6fda44){super(_0x180b36);const _0x13e336=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x6fda44,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x13e336['to']('imageSrc')}});}},st=class extends F{_items;['_loadingView'];['_errorView'];_editingView;['_focusableView'];constructor(_0x3f40b4,_0x621ca3,_0x2bf1c4){super(_0x3f40b4),this['_items']=this['createCollection'](),this['_loadingView']=new tt(_0x3f40b4),this['_errorView']=new et(_0x3f40b4),this['_editingView']=new it(_0x3f40b4,_0x2bf1c4),this['_focusableView']=new _0x3b5897(_0x3f40b4),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x621ca3),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'],_0x554180=>{this['_addUploadcareImageEditorListeners'](_0x554180);});}),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(_0x53caad,_0x5521f7){const _0x7ff922='uc-cloud-image-editor',_0x8b8e0c=_0x53caad['querySelector'](_0x7ff922);if(_0x8b8e0c)return _0x5521f7(_0x8b8e0c);const _0x465de0=new MutationObserver(_0x2dc314=>{const _0x359ff6=_0x2dc314['filter'](_0x31e8fd=>_0x31e8fd['target']===_0x53caad&&_0x31e8fd['addedNodes']['length']>0x0&&_0x31e8fd['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x7ff922);_0x359ff6['length']&&(_0x465de0['disconnect'](),_0x5521f7(_0x359ff6[0x0]['addedNodes'][0x0]));});_0x465de0['observe'](_0x53caad,{'childList':!0x0,'subtree':!0x0});}_addUploadcareImageEditorListeners(_0x4ae2c5){_0x4ae2c5['addEventListener']('apply',_0x57342a=>{this['fire']('apply',{'imageSrc':_0x57342a['detail']['cdnUrl']});}),_0x4ae2c5['addEventListener']('cancel',()=>{this['fire']('cancel');});}_addErrorViewListeners(){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}};const rt=/* #__PURE__ -- @preserve */
|
|
25
|
-
_0x1454e2();var nt=class extends rt{_editor;['_dialog'];_imageElement;['_imageCache'];_controller;_attributes;constructor(_0x3422e6,_0x226503,_0x4adc5a){super(),this['_editor']=_0x3422e6,this['_dialog']=_0x226503,this['_imageElement']=_0x4adc5a,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 _0x423a4e=this['_imageElement'],_0x41de76=_0x423a4e['getAttribute']('uploadcareImageId'),_0x385e09=_0x423a4e['getAttribute']('src');if(_0x41de76)await this['_loadImageInfo'](_0x41de76,_0x385e09);else{if(this['_imageCache']['has'](_0x385e09)){const _0x36473f=this['_imageCache']['get'](_0x385e09);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x36473f['url'],this['imageDimension']=_0x36473f['dimension'],this['imageId']=_0x36473f['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x46fc38}=this['_editor'],t=_0x46fc38['t'],_0x1b92c8=new st(_0x46fc38,this['imageStatus'],this['_attributes']);_0x1b92c8['bind']('status')['to'](this,'imageStatus'),_0x1b92c8['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x1b92c8['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x1b92c8['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x1b92c8,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x26f752,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x1b92c8,'position':_0x3ba41a['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x1b92c8['focus']();},'onHide':()=>{_0x1b92c8['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x172157=>!H(_0x172157,_0x1b92c8['element'])}});}['_loadImageInfo'](_0x43f000,_0x2dbbc7){return Q['getInfo'](_0x43f000,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x4e0f1c=>{const {width:_0x360b27,height:_0x429bb9}=_0x4e0f1c['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x2dbbc7,this['imageDimension']={'width':_0x360b27,'height':_0x429bb9},this['imageId']=_0x43f000;})['catch'](_0x6cfe68=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x6cfe68['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x4bbe2b,_0x3395a0){return this['_getImageAsFile'](_0x4bbe2b)['then'](_0x3aef8b=>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':_0x3395a0['signal'],'file':_0x3aef8b,'onProgress':_0x51ed9d=>{_0x51ed9d&&_0x51ed9d['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x51ed9d['value']));}}))['then'](_0x5319d0=>{const {width:_0x183dab,height:_0x4a0af0}=_0x5319d0['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x5319d0['cdnUrl'],this['imageDimension']={'width':_0x183dab,'height':_0x4a0af0},this['imageId']=_0x5319d0['uuid'],this['imageUploadProgress']=null;const _0x42c354=_0x4bbe2b['getAttribute']('src');this['_imageCache']['set'](_0x42c354,{'id':_0x5319d0['uuid'],'url':_0x5319d0['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x378821=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x378821['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}_addEditViewListeners(_0x14fd6a,_0x5b4d31){_0x14fd6a['on']('apply',(_0x5183c7,_0x5130ef)=>{this['_replaceImage'](_0x5b4d31,_0x5130ef['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x14fd6a['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x14fd6a['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x5ad5ee,_0x258538,_0x58acce){const _0xc4ed7e=this['_editor'],{width:_0x498b1c,height:_0x251fb2}=j(_0x258538,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x4c6b1b,imageSources:_0x58f6c1}=B(_0x258538,_0x498b1c);_0xc4ed7e['model']['change'](_0x554dd2=>{if('$graveyard'!==_0x5ad5ee['root']['rootName'])_0x554dd2['setSelection'](_0x5ad5ee,'on'),_0xc4ed7e['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x5ad5ee['getAttributes']()),'uploadcareImageId':_0x58acce,'src':_0x4c6b1b,'sources':_0x58f6c1,'width':_0x498b1c,'height':_0x251fb2},_0x5ad5ee);else{_0xc4ed7e['execute']('insertImage',{'imageType':_0x5ad5ee['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x5ad5ee['getAttributes']()),'uploadcareImageId':_0x58acce,'src':_0x4c6b1b,'sources':_0x58f6c1,'width':_0x498b1c,'height':_0x251fb2}});const _0xa71cf2=_0x5ad5ee['getChildren']();_0x5ad5ee=_0xc4ed7e['model']['document']['selection']['getSelectedElement']();for(const _0x215bf7 of _0xa71cf2)_0x554dd2['append'](_0x554dd2['cloneElement'](_0x215bf7),_0x5ad5ee);}_0x554dd2['setSelection'](_0x5ad5ee,'on');});}async _getImageAsFile(_0x2352b3){const _0x5157d5=_0x497cad['window'],_0x141d54=_0x497cad['document']['location']['href'],_0x26058c=new _0x5157d5['URL'](_0x2352b3['getAttribute']('src'),_0x141d54);if('data:'===_0x26058c['protocol']){const _0x5ef50e=_0x26058c['href']['split'](','),_0x3bd8=_0x5ef50e[0x0]['match'](/:(.*?);/)[0x1],_0x1b5a80=_0x3bd8['split']('/')[0x1],_0xc5267b=_0x5157d5['atob'](_0x5ef50e[_0x5ef50e['length']-0x1]);let _0x273f1d=_0xc5267b['length'];const _0x51af88=new _0x5157d5['Uint8Array'](_0x273f1d);for(;_0x273f1d--;)_0x51af88[_0x273f1d]=_0xc5267b['charCodeAt'](_0x273f1d);return new _0x5157d5['File']([_0x51af88],'image.'+_0x1b5a80,{'type':_0x3bd8});}const _0x49ea02=_0x26058c['href']['split']('/'),_0xda0794=_0x49ea02[_0x49ea02['length']-0x1],_0x19c3e6=_0xda0794['split']('.')[0x1];return _0x5157d5['fetch'](_0x26058c['href'])['then'](_0x5d27ad=>_0x5d27ad['clone']()['blob']())['then'](_0x433f5d=>new _0x5157d5['File']([_0x433f5d],_0xda0794,{'type':'image/'+_0x19c3e6}));}},at=class extends _0x16619f{imageEditController;static get requires(){return[_0x109fac];}_isEditable;constructor(_0x1b78e0){super(_0x1b78e0),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x246e90){const _0x17d341=M(_0x246e90);return _0x4b2c2e=>!(!_0x4b2c2e||!_0x4b2c2e['is']('element','imageBlock')&&!_0x4b2c2e['is']('element','imageInline'))&&(!!_0x4b2c2e['hasAttribute']('uploadcareImageId')||!!_0x4b2c2e['hasAttribute']('src')&&_0x17d341(_0x4b2c2e['getAttribute']('src')));}(_0x1b78e0['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x41e4e6=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x41e4e6);}execute(){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x43939c=this['editor']['model']['document']['selection']['getSelectedElement']();_0x43939c&&(_0x43939c['is']('element','imageBlock')||_0x43939c['is']('element','imageInline'))&&(this['imageEditController']=new nt(this['editor'],this['editor']['plugins']['get'](_0x109fac),_0x43939c),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}},ot=class extends _0x16619f{['refresh'](){const _0x59b81e=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x59b81e&&(_0x59b81e['is']('element','imageBlock')||_0x59b81e['is']('element','imageInline')));}execute(_0x2396af){const _0x548c82=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x348a44=>{_0x348a44['setAttributes'](_0x2396af,_0x548c82),_0x348a44['removeAttribute']('srcset',_0x548c82),_0x348a44['removeAttribute']('sizes',_0x548c82);});}},ct=class extends _0x4221c{static get['pluginName'](){return'UploadcareImageEditEditing';}static get requires(){return[Z,_0x1a6e42,_0x86d0d4,_0x399229];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}init(){const {editor:_0xea7aa3}=this;_0xea7aa3['commands']['add']('uploadcareImageEdit',new at(_0xea7aa3)),_0xea7aa3['commands']['add']('uploadcareImageReplace',new ot(_0xea7aa3));}},lt=class extends _0x4221c{['_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 _0x214ebc=this['editor'];_0x214ebc['ui']['componentFactory']['add']('uploadcareImageEdit',_0x518160=>{const _0x299a0a=_0x214ebc['commands']['get']('uploadcareImageEdit'),_0x1cc11e=new _0x376018(_0x518160),t=_0x518160['t'];return _0x1cc11e['set']({'icon':_0x26f752,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x1cc11e['bind']('isEnabled')['to'](_0x299a0a),_0x1cc11e['bind']('isOn')['to'](_0x299a0a,'isActive'),this['listenTo'](_0x1cc11e,'execute',()=>{_0x214ebc['execute']('uploadcareImageEdit'),_0x214ebc['editing']['view']['focus']();}),_0x1cc11e;}),this['_initConfig']();}_initConfig(){const _0x5d4309=_0x223e60(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x5d4309),this['listenTo'](this['editor'],'destroy',()=>{_0x5d4309['remove']();});}},ut=class extends _0x4221c{static get['pluginName'](){return'UploadcareImageEdit';}static get requires(){return[ct,lt];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}};export{Y as Uploadcare,z as UploadcareCommand,Z as UploadcareEditing,ut as UploadcareImageEdit,at as UploadcareImageEditCommand,ct as UploadcareImageEditEditing,lt as UploadcareImageEditUI,V as UploadcareUI,J as UploadcareUploadAdapter};
|
|
23
|
+
import{Command as _0x3083bd,Plugin as _0x51ca24}from'@ckeditor/ckeditor5-core';import{IconDropbox as _0x4a1433,IconError as _0x13717d,IconFacebook as _0x315d20,IconGoogleDrive as _0x616648,IconGooglePhotos as _0xe44f4c,IconOneDrive as _0x36800b,IconUploadcareImageEdit as _0x3fb224,IconUploadcareImageUpload as _0x18d282,IconUploadcareLink as _0x3504ed}from'@ckeditor/ckeditor5-icons';import{ButtonView as _0x14f01c,Dialog as _0x1fa73f,DialogViewPosition as _0x96bcbf,FocusCycler as _0x36ae68,IconView as _0xc2e35,MenuBarMenuListItemButtonView as _0x20a35a,Notification as _0x4a71dc,SpinnerView as _0x136c40,View as _0x1f1b00}from'@ckeditor/ckeditor5-ui';import{DomEmitterMixin as _0x208392,FocusTracker as _0x5e1308,ObservableMixin as _0x2f3ec6,createElement as _0xcf6f91,getAncestors as _0x17f081,global as _0x14c7e2,uid as _0x170750}from'@ckeditor/ckeditor5-utils';import{ImageEditing as _0x4b54a8,ImageUploadEditing as _0x2a7711,ImageUploadProgress as _0x490139,ImageUtils as _0x399c00,PictureEditing as _0xd2cc51}from'@ckeditor/ckeditor5-image';import{FileRepository as _0x9bcb1a}from'@ckeditor/ckeditor5-upload';import{info as _0x432016,uploadFile as _0x33a151}from'@uploadcare/upload-client';import*as _0x344c96 from'@uploadcare/file-uploader/web/file-uploader.min.js';function T(_0x38e7c3,_0x248685,_0x47a24d){const t=_0x38e7c3['t'],_0x3f69af=_0x38e7c3['t'];switch(_0x248685){case'local':return{'text':_0x3f69af('Insert'===_0x47a24d?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x3f69af('From\x20computer')};case'url':return{'text':'Insert'===_0x47a24d?_0x3f69af('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x3f69af('Via\x20URL')};case'dropbox':return{'text':t('Insert'===_0x47a24d?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case'facebook':return{'text':t('Insert'===_0x47a24d?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case'gdrive':return{'text':t('Insert'===_0x47a24d?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case'gphotos':return{'text':t('Insert'===_0x47a24d?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case'onedrive':return{'text':t('Insert'===_0x47a24d?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x248685;}}var V=class extends _0x51ca24{['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'),this['_licenseKeyCheckInterval']=setInterval(()=>{const _0x82824=[this['editor']];for(const _0x417cdc of _0x82824){let _0x27be45;for(const _0x21e119 in _0x417cdc){const _0x3bb223=_0x21e119,_0x1ee22a=_0x417cdc[_0x3bb223];if('uploadcareLicenseKeyValid'==_0x1ee22a||'uploadcareLicenseKeyInvalid'==_0x1ee22a||'uploadcareLicenseKeyExpired'==_0x1ee22a||'uploadcareLicenseKeyDomainLimit'==_0x1ee22a||'uploadcareLicenseKeyNotAllowed'==_0x1ee22a||'uploadcareLicenseKeyEvaluationLimit'==_0x1ee22a||'uploadcareLicenseKeyUsageLimit'==_0x1ee22a){delete _0x417cdc[_0x3bb223],_0x27be45=_0x1ee22a,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x27be45&&_0x417cdc['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x27be45&&_0x417cdc['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x27be45&&_0x417cdc['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x27be45&&_0x417cdc['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x27be45&&_0x417cdc['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyUsageLimit'==_0x27be45&&_0x417cdc['_showLicenseError']('usageLimit');}},0x3e8);}afterInit(){const {editor:_0x187dd3}=this,_0x6873bb=_0x187dd3['commands']['get']('uploadcare');if(!_0x6873bb)return;const _0x3e9469=this['_normalizeConfigSourceList'](_0x187dd3['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x3ad0a1,_0x47bc82)=>{const _0x17c6f7=this['_getIntegrationKey'](_0x47bc82['type']);return _0x3ad0a1[_0x17c6f7]||(_0x3ad0a1[_0x17c6f7]=[]),_0x3ad0a1[_0x17c6f7]['push'](_0x47bc82),_0x3ad0a1;},{});_0x187dd3['plugins']['has']('ImageInsertUI')&&_0x187dd3['commands']['get']('uploadcare')&&Object['entries'](_0x3e9469)['forEach'](([_0x45bb2c,_0x2abee1])=>{_0x187dd3['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x45bb2c,'observable':()=>_0x6873bb,'buttonViewCreator':()=>this['_createToolbarButton'](_0x2abee1),'formViewCreator':()=>this['_createDropdownButtons'](_0x2abee1),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x2abee1),'override':'assetManager'!==_0x45bb2c});});}destroy(){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}_normalizeConfigSourceList(_0x568be6){const {locale:_0x98fd2c}=this['editor'];return _0x568be6['map'](_0x54b13d=>{const _0x30b66f=T(_0x98fd2c,_0x54b13d,'Insert');switch(_0x54b13d){case'local':return{'icon':_0x18d282,'type':'local',..._0x30b66f};case'url':return{'icon':_0x3504ed,'type':'url',..._0x30b66f};case'dropbox':return{'icon':_0x4a1433,'type':'dropbox',..._0x30b66f};case'facebook':return{'icon':_0x315d20,'type':'facebook',..._0x30b66f};case'gdrive':return{'icon':_0x616648,'type':'gdrive',..._0x30b66f};case'gphotos':return{'icon':_0xe44f4c,'type':'gphotos',..._0x30b66f};case'onedrive':return{'icon':_0x36800b,'type':'onedrive',..._0x30b66f};}});}_getIntegrationKey(_0x4d94ff){switch(_0x4d94ff){case'local':return'upload';case'url':return'url';default:return'assetManager';}}_createButton(_0x98dadd,_0x128da8){const _0x42dc1d=this['editor'],_0x220d67=new _0x98dadd(_0x42dc1d['locale']),_0x15a721=_0x42dc1d['commands']['get']('uploadcare');return _0x220d67['bind']('isEnabled')['to'](_0x15a721),_0x220d67['on']('execute',()=>{_0x15a721['execute'](_0x128da8);}),_0x220d67;}_createToolbarButton(_0x4347ab){const {locale:_0x207e91}=this['editor'],_0x57d2e5=this['editor']['plugins']['get']('ImageInsertUI'),_0x213396=_0x4347ab[0x0],_0x10d15a=this['_createButton'](_0x14f01c,_0x213396['type']);return _0x10d15a['icon']=_0x213396['icon'],_0x10d15a['bind']('label')['to'](_0x57d2e5,'isImageSelected',_0x53e280=>T(_0x207e91,_0x213396['type'],_0x53e280?'Replace':'Insert')['text']),_0x10d15a['tooltip']=!0x0,_0x10d15a;}_createDropdownButtons(_0x27cc9d){const {locale:_0x1242d6}=this['editor'],_0x1b4960=this['editor']['plugins']['get']('ImageInsertUI');return _0x27cc9d['map'](_0x340824=>{const _0x4187c4=this['_createButton'](_0x14f01c,_0x340824['type']);return _0x4187c4['withText']=!0x0,_0x4187c4['icon']=_0x340824['icon'],_0x4187c4['bind']('label')['to'](_0x1b4960,'isImageSelected',_0x31339e=>T(_0x1242d6,_0x340824['type'],_0x31339e?'Replace':'Insert')['text']),_0x4187c4;});}_createMenuBarButtons(_0x3b94b6){return _0x3b94b6['map'](_0x828163=>{const _0x1327f7=this['_createButton'](_0x20a35a,_0x828163['type']);return _0x1327f7['icon']=_0x828163['icon'],_0x1327f7['label']=_0x828163['shortText'],_0x1327f7;});}},F=class extends _0x1f1b00{['focusTracker'];['focusCycler'];constructor(_0x230f99){super(_0x230f99),this['focusTracker']=new _0x5e1308(),this['focusCycler']=new _0x36ae68({'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 extends F{constructor(_0x52cb36,_0x39ce08){super(_0x52cb36),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-'+_0x39ce08}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}};function B(_0x4b2e00,_0x126dd2){const _0x20db23=_0x4b2e00['replace'](/\/$/,'');return{'imageFallbackUrl':_0x4b2e00,'imageSources':[{'srcset':[...[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x5f3dc1=>_0x5f3dc1<_0x126dd2)['map'](_0x321d8f=>_0x20db23+'/-/resize/'+_0x321d8f+'x/\x20'+_0x321d8f+'w'),_0x4b2e00+'\x20'+_0x126dd2+'w']['join'](',\x20'),'sizes':'(max-width:\x20'+_0x126dd2+'px)\x20100vw,\x20'+_0x126dd2+'px','type':'image/webp'}]};}function j(_0xb385f8,_0x4ca3a8,_0x1b31ac){const _0x271951=_0xb385f8['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x271951?parseInt(_0x271951[0x1],0xa):_0x4ca3a8,'height':_0x271951?parseInt(_0x271951[0x2],0xa):_0x1b31ac};}function q(_0x4e0020,_0x301919){const _0x252743=new(_0x208392())(),_0x5a3fea=_0x4e0020['plugins']['get']('ImageUtils'),_0x3c9230=_0x4e0020['editing']['mapper']['toViewElement'](_0x301919),_0x4082ca=_0x5a3fea['findViewImgElement'](_0x3c9230),_0x221dc3=_0x4e0020['editing']['view']['domConverter']['viewToDom'](_0x4082ca),_0x440e86=_0x301919['getAttribute']('width'),_0x4c93f3=_0x301919['getAttribute']('height'),_0x49ab89='image-processing';_0x4e0020['editing']['view']['change'](_0x5c2449=>{_0x5c2449['addClass'](_0x49ab89,_0x3c9230),_0x5c2449['setStyle']('aspect-ratio',_0x440e86+'/'+_0x4c93f3,_0x4082ca);}),_0x252743['listenTo'](_0x221dc3,'load',()=>{_0x252743['stopListening'](_0x221dc3,'load'),_0x4e0020['editing']['view']['change'](_0x51c963=>{_0x51c963['removeClass'](_0x49ab89,_0x3c9230),_0x51c963['removeStyle']('aspect-ratio',_0x4082ca);});});}function M(_0x556b97){if(Array['isArray'](_0x556b97)){const _0x2055ec=_0x556b97['map'](M);return _0x57a6ef=>_0x2055ec['some'](_0x3885d6=>_0x3885d6(_0x57a6ef));}if('origin'==_0x556b97){const _0x3c63a9=_0x14c7e2['window']['location']['origin'];return _0x18ce7b=>new URL(_0x18ce7b,_0x14c7e2['document']['baseURI'])['origin']==_0x3c63a9;}return'function'==typeof _0x556b97?_0x556b97:_0x556b97 instanceof RegExp?_0x6df150=>!(!_0x6df150['match'](_0x556b97)&&!_0x6df150['replace'](/^https?:\/\//,'')['match'](_0x556b97)):()=>!0x1;}function H(_0x713f5f,_0x229228){return _0x17f081(_0x713f5f['target'])['includes'](_0x229228);}const W=/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x2f3ec6();var G=class extends W{_editor;['_dialog'];_editing;['_api'];_type=null;['_formView']=null;constructor(_0xd39173,_0x56f0a4,_0x36dd3f){super(),this['_editor']=_0xd39173,this['_editing']=_0x56f0a4,this['_dialog']=_0xd39173['plugins']['get'](_0x1fa73f),this['_api']=_0x56f0a4['ctxElement']['getAPI'](),this['_type']=_0x36dd3f,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:_0x2b5060,model:_0x49943c}=this['_editor'],_0x3548e7=_0x49943c['document']['selection']['getSelectedElement'](),_0x51e2c8=_0x3548e7&&(_0x3548e7['is']('element','imageBlock')||_0x3548e7['is']('element','imageInline'));this['_formView']=new $(_0x2b5060,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':_0x18d282,'title':T(_0x2b5060,this['_type'],_0x51e2c8?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x96bcbf['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x1047b1=>!H(_0x1047b1,this['_formView']['element'])}});}_initListeners(){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x53b735}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x4b532d=>{const _0x517cbb=_0x53b735['length'];for(const _0x5c7e8a of _0x53b735){const _0x425031=_0x5c7e8a===_0x53b735[_0x517cbb-0x1],{cdnUrl:_0x294074,fileInfo:_0x5b6336}=_0x5c7e8a;if(!_0x294074||!_0x5b6336)continue;const {width:_0xb56768,height:_0x5438db}=_0x5b6336['imageInfo'],_0x65e29e=j(_0x294074,_0xb56768,_0x5438db),_0x487ae1=B(_0x294074,_0x65e29e['width']),_0x3609d4={'id':_0x5b6336['uuid'],'type':'image','attributes':{'imageDimension':_0x65e29e,..._0x487ae1}};this['_insertAsset'](_0x3609d4,_0x425031,_0x4b532d);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x47a1ba=>{'idle'===_0x47a1ba['detail']['status']&&!_0x47a1ba['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&('local'===this['_type']?this['_api']['setCurrentActivity']('start-from'):this['_api']['initFlow']());});}_insertAsset(_0x34308f,_0x4d15a7,_0x1a9bec){const _0x2f3163=this['_editor']['model']['document']['selection'],_0x4c3c0c=_0x2f3163['getSelectedElement'](),_0x2fc8ec=!(!_0x4c3c0c||!_0x4c3c0c['is']('element','imageInline'));_0x1a9bec['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x34308f,_0x2fc8ec),_0x4d15a7||_0x1a9bec['setSelection'](_0x2f3163['getLastPosition']());}_insertImage(_0x6cf41a,_0x5b1983){const _0x2ee914=this['_editor'],{imageDimension:_0x28c16a,imageFallbackUrl:_0x302df7,imageSources:_0x5d0a83}=_0x6cf41a['attributes'];_0x2ee914['execute']('insertImage',{'imageType':_0x5b1983?'imageInline':null,'source':{'uploadcareImageId':_0x6cf41a['id'],'src':_0x302df7,'sources':_0x5d0a83,..._0x28c16a}});}},z=class extends _0x3083bd{_editing;_controller=null;static get requires(){return[_0x1fa73f,Z];}constructor(_0x57d27b){super(_0x57d27b),this['_editing']=_0x57d27b['plugins']['get'](Z);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}execute(_0x22e452){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new G(this['editor'],this['_editing'],_0x22e452);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}},Q=class{static['upload']({file:_0x129541,..._0xb5f0ef}){return _0x33a151(_0x129541,_0xb5f0ef);}static getInfo(_0x203ad1,_0x15f0c5){return _0x432016(_0x203ad1,_0x15f0c5);}},J=class extends _0x51ca24{static get requires(){return[_0x2a7711,_0x490139,_0x9bcb1a,Z];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async afterInit(){const _0x28e24a=this['editor'];if(!_0x28e24a['config']['get']('uploadcare'))return;_0x28e24a['plugins']['get'](_0x9bcb1a)['createUploadAdapter']=_0x30293d=>new X(_0x30293d,_0x28e24a),_0x28e24a['plugins']['get'](_0x2a7711)['on']('uploadComplete',(_0x171c29,{imageElement:_0x4fc353,data:_0x301a4a})=>{_0x28e24a['model']['change'](_0x205bc4=>{_0x205bc4['setAttribute']('uploadcareImageId',_0x301a4a['uploadcareImageId'],_0x4fc353);});});}},X=class{['loader'];editor;controller;constructor(_0x1ad2eb,_0x34a053){this['loader']=_0x1ad2eb,this['editor']=_0x34a053,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x4a56f5=await this['loader']['file'];return Q['upload']({'file':_0x4a56f5,'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':_0x3c165e=>{_0x3c165e&&_0x3c165e['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x3c165e['value']);}})['then'](async _0x3b3757=>{const {imageFallbackUrl:_0x3bc8d6,imageSources:_0x6ce925}=B(_0x3b3757['cdnUrl'],_0x3b3757['imageInfo']['width']);return{'uploadcareImageId':_0x3b3757['uuid'],'default':_0x3bc8d6,'sources':_0x6ce925};})['catch'](()=>{const _0x344352=t('Cannot\x20upload\x20file:')+('\x20'+_0x4a56f5['name']+'.');return Promise['reject'](_0x344352);});}abort(){this['controller']['abort']();}},Z=class extends _0x51ca24{_configElement=null;_ctxElement=null;static get['pluginName'](){return'UploadcareEditing';}static get requires(){return[_0xd2cc51,J,_0x1fa73f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}ucContextId;get configElement(){return this['_configElement'];}get ctxElement(){return this['_ctxElement'];}constructor(_0x3ff1cb){super(_0x3ff1cb),this['ucContextId']=_0x170750();}init(){const _0x5a5cd9=this['editor'];_0x5a5cd9['commands']['add']('uploadcare',new z(_0x5a5cd9));}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 _0x48dcbc=_0x14c7e2['document']['querySelector']('input[uploadcare-file-input]');_0x48dcbc&&_0x48dcbc['remove']();}),async function(_0x5ad168){const _0x4a45b3='4wieLj6qmWZnpxGN9QYyFhU15kOfCBAHt2slISMXP3vErub8za07VTRoKcdDgJ',_0x10a563=0x793e0,_0x357a46={'kty':'EC','use':'sig','crv':'P-256','x':'iCjOCvDFI6lQHHT18jVwRfkfHQ2a_MymT35LQVoFSAI','y':'kXIyJ4evtCEFRmxKSUpK9fDW459vXOvVrhf6uQAeOio','alg':'ES256'};async function _0x1f3d13(_0x1ee22e){const _0x5e1b55=new window['Promise'](_0x481d3b=>{_0x1ee22e['once']('ready',_0x481d3b);}),_0x3e0057=window['Date']['now'](),_0x9ea60f=_0x1ee22e['config']['get']('licenseKey');async function _0x427bbe(){let _0xc49e68,_0x5cf71e=null,_0x1f0135=null;try{return'GPL'==_0x9ea60f?'NotAllowed':(_0xc49e68=_0x460b47(),_0xc49e68?(_0xc49e68['usageEndpoint']&&(_0x1f0135=_0x5d488a(_0xc49e68['usageEndpoint'],_0xc49e68['jti'])),await _0x37aa0e()?_0x4d07f6()?_0x320201()?'Expired':_0x5d8e59()?('evaluation'==_0xc49e68['licenseType']&&(_0x5cf71e=_0x28a809('EvaluationLimit')),await _0x175863()):'DomainLimit':'NotAllowed':'Invalid'):'Invalid');}catch{return'Invalid';}function _0x320201(){const _0x5a8cbd=['evaluation','trial']['includes'](_0xc49e68['licenseType'])?_0x3e0057/0x3e8:0xe10*_0x10a563;return _0xc49e68['exp']<_0x5a8cbd;}function _0x4d07f6(){const _0x38374d=_0xc49e68['features'];return!!_0x38374d&&(!!_0x38374d['includes']('*')||!!_0x38374d['includes']('UPLC'));}function _0x5d8e59(){const _0x22bdc9=_0xc49e68['licensedHosts'];if(!_0x22bdc9||0x0==_0x22bdc9['length'])return!0x0;const {hostname:_0x5e5e92}=new URL(window['location']['href']);if(_0x22bdc9['includes'](_0x5e5e92))return!0x0;const _0xe2e865=_0x5e5e92['split']('.');return _0x22bdc9['filter'](_0x5b3d0d=>_0x5b3d0d['includes']('*'))['map'](_0x36e5a7=>_0x36e5a7['split']('.'))['filter'](_0x160f79=>_0x160f79['length']<=_0xe2e865['length'])['map'](_0x5c0e19=>Array(_0xe2e865['length']-_0x5c0e19['length'])['fill']('*'===_0x5c0e19[0x0]?'*':'')['concat'](_0x5c0e19))['some'](_0x1c90c1=>_0xe2e865['every']((_0x368917,_0x35fb71)=>_0x1c90c1[_0x35fb71]===_0x368917||'*'===_0x1c90c1[_0x35fb71]));}function _0x175863(){return _0x5cf71e&&_0x1f0135?new window['Promise']((_0x2e0468,_0x48b40c)=>{_0x5cf71e['then'](_0x2e0468,_0x48b40c),_0x1f0135['then'](_0x5e10ec=>{'Valid'!=_0x5e10ec&&_0x2e0468(_0x5e10ec);},_0x48b40c);}):_0x5cf71e||_0x1f0135||'Valid';}}function _0x5d488a(_0x25d558,_0x2b31f3){return new window['Promise'](_0x1910e7=>{if(_0x2d961f())return _0x1910e7('Valid');_0x51fe35(),_0x1ee22e['decorate']('_sendUsageRequest');let _0x1438d9=!0x1;const _0x1adae2=_0x170750();function _0x1051d8(_0x2a9c02){return!!_0x2a9c02&&('object'==typeof _0x2a9c02||'function'==typeof _0x2a9c02)&&'function'==typeof _0x2a9c02['then']&&'function'==typeof _0x2a9c02['catch'];}function _0x38c4e0(_0x1cb9b7){_0x3cf1f(_0x1cb9b7)['then'](_0x36ffcb=>_0x36ffcb&&'ok'==_0x36ffcb['status']?_0x842a2b(_0x27ddb2(_0x1adae2+_0x2b31f3))!=_0x36ffcb['verification']?'UsageLimit':'Valid':'UsageLimit')['then'](_0x1d2358=>(_0x1e67c9(),_0x1d2358),()=>{const _0x3a2d40=_0x2e4fe9();return null==_0x3a2d40?(_0x1e67c9(),'Valid'):_0x3e0057-_0x3a2d40>0x240c8400?'UsageLimit':'Valid';})['then'](_0x1910e7)['catch'](()=>{_0x1910e7('UsageLimit');});const _0x345404=0x36ee80;function _0x1e67c9(){const _0x3bcd75='llct-'+_0x842a2b(_0x27ddb2(_0x25d558)),_0x1c56d8=_0x1c4503(_0x842a2b(window['Math']['ceil'](_0x3e0057/_0x345404)));window['localStorage']['setItem'](_0x3bcd75,_0x1c56d8);}function _0x2e4fe9(){const _0x6b5c86='llct-'+_0x842a2b(_0x27ddb2(_0x25d558)),_0x3e3248=window['localStorage']['getItem'](_0x6b5c86);return _0x3e3248?window['parseInt'](_0x1c4503(_0x3e3248),0x10)*_0x345404:null;}function _0x3cf1f(_0x18e7bb){return new window['Promise']((_0x51e4d4,_0x18fd41)=>{_0x18e7bb['then'](_0x51e4d4,_0x18fd41),window['setTimeout'](_0x18fd41,0x1d4c0);});}}_0x1ee22e['on']('_sendUsageRequest',(_0x37087f,_0x29919d)=>{if(_0x29919d[0x0]!=_0x25d558)return _0x1910e7('UsageLimit');_0x29919d[0x1]={..._0x29919d[0x1],'requestId':_0x1adae2};},{'priority':'high'}),_0x1ee22e['on']('_sendUsageRequest',_0x4849da=>{_0x1051d8(_0x4849da['return'])&&(_0x1438d9=!0x0,_0x38c4e0(_0x4849da['return']));},{'priority':'low'}),_0x5e1b55['then'](()=>{_0x1438d9||_0x1910e7('UsageLimit');});});function _0x2d961f(){return'auto'==_0x1ee22e['editing']['view']['_overlayModeHint'];}function _0x51fe35(){_0x1ee22e['editing']['view']['_overlayModeHint']='auto';}}function _0x28a809(_0x40d41a){const _0x5e95f9=[new window['Promise'](_0x3ad8d1=>setTimeout(_0x3ad8d1,0x93ecc)),_0x5e1b55['then'](()=>new window['Promise'](_0x2767f8=>{let _0x46fbe0=0x0;_0x1ee22e['model']['on']('applyOperation',(_0x3fa0f9,_0x21b42a)=>{_0x21b42a[0x0]['isDocumentOperation']&&_0x46fbe0++,0x5e8==_0x46fbe0&&(_0x2767f8(),_0x3fa0f9['off']());});}))];return window['Promise']['race'](_0x5e95f9)['then'](()=>_0x40d41a);}async function _0x4de7cf(){await _0x5e1b55,_0x1ee22e['model']['change']=_0x57f3f6,_0x1ee22e['model']['enqueueChange']=_0x57f3f6,_0x1ee22e['enableReadOnlyMode']('model');}function _0x36ef7b(_0x1c74a3){const _0x42f600=_0x2c59d0();_0x1ee22e[_0x42f600]='uploadcareLicenseKey'+_0x1c74a3,'Valid'!=_0x1c74a3&&_0x4de7cf();}function _0x2c59d0(){const _0x33d6f9=window['String'](window['performance']['now']())['replace']('.','');let _0x24e84c='w';for(let _0x39b851=0x0;_0x39b851<_0x33d6f9['length'];_0x39b851+=0x2){let _0x368b09=window['parseInt'](_0x33d6f9['substring'](_0x39b851,_0x39b851+0x2));_0x368b09>=0x3e&&(_0x368b09-=0x3e),_0x24e84c+=_0x4a45b3[_0x368b09];}return _0x24e84c;}function _0x460b47(){const _0x52848c=_0x9ea60f['split']('.');if(0x3!=_0x52848c['length'])return null;return _0x4dde30(_0x52848c[0x1]);function _0x4dde30(_0x7192dd){const _0x3c902d=_0x157388(_0x7192dd);return _0x3c902d&&_0x593100()?_0x3c902d:null;function _0x593100(){const _0x39d6af=_0x3c902d['jti'],_0x3ff528=window['parseInt'](_0x39d6af['substring'](_0x39d6af['length']-0x8),0x10),_0x51d497={..._0x3c902d,'jti':_0x39d6af['substring'](0x0,_0x39d6af['length']-0x8)};return delete _0x51d497['vc'],_0x27ddb2(_0x51d497)==_0x3ff528;}}}async function _0x37aa0e(){let _0x10daad=!0x0;try{const [_0x5cdc30,_0x3c312a,_0x27ee3b]=_0x9ea60f['split']('.');return _0x1f02cf(_0x5cdc30),await _0x49599c(_0x5cdc30,_0x3c312a,_0x27ee3b),_0x10daad;}catch{return!0x1;}function _0x1f02cf(_0x4cacfe){const _0x48ee4b=_0x157388(_0x4cacfe);_0x48ee4b&&'ES256'==_0x48ee4b['alg']||(_0x10daad=!0x1);}async function _0x49599c(_0x572927,_0x493c9a,_0x5e7f28){const _0x31c81d=window['Uint8Array']['from'](_0x585346(_0x5e7f28),_0x33bb07=>_0x33bb07['charCodeAt'](0x0)),_0x29c25f=new window['TextEncoder']()['encode'](_0x572927+'.'+_0x493c9a),_0x2bc675=window['crypto']['subtle'];if(!_0x2bc675)return;const _0x527c3a=await _0x2bc675['importKey']('jwk',_0x357a46,{'name':'ECDSA','namedCurve':'P-256'},!0x1,['verify']);await _0x2bc675['verify']({'name':'ECDSA','hash':{'name':'SHA-256'}},_0x527c3a,_0x31c81d,_0x29c25f)||(_0x10daad=!0x1);}}function _0x157388(_0x4143ac){return _0x4143ac['startsWith']('ey')?JSON['parse'](_0x585346(_0x4143ac)):null;}function _0x585346(_0xb23ce5){return window['atob'](_0xb23ce5['replace'](/-/g,'+')['replace'](/_/g,'/'));}function _0x27ddb2(_0x5f46a5){let _0x57a110=0x1505;function _0xc23366(_0x497ae0){for(let _0x5d8354=0x0;_0x5d8354<_0x497ae0['length'];_0x5d8354++){const _0x46bbb8=_0x497ae0['charCodeAt'](_0x5d8354);_0x57a110=(_0x57a110<<0x5)+_0x57a110+_0x46bbb8,_0x57a110&=_0x57a110;}}function _0x246df4(_0x1017be){Array['isArray'](_0x1017be)?_0x1017be['forEach'](_0x246df4):_0x1017be&&'object'==typeof _0x1017be?Object['entries'](_0x1017be)['sort']()['forEach'](([_0x98e7be,_0x232ddd])=>{_0xc23366(_0x98e7be),_0x246df4(_0x232ddd);}):_0xc23366(window['String'](_0x1017be));}return _0x246df4(_0x5f46a5),_0x57a110>>>0x0;}function _0x842a2b(_0x562c25){return _0x562c25['toString'](0x10)['padStart'](0x8,'0');}function _0x1c4503(_0x47142c){return _0x47142c['split']('')['reverse']()['join']('');}function _0x57f3f6(){}_0x36ef7b(await _0x427bbe());}_0x1f3d13(_0x5ad168['editor']);}(this);}_initSchema(){const _0x1d54b2=this['editor']['model']['schema'];_0x1d54b2['isRegistered']('imageBlock')&&_0x1d54b2['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x1d54b2['isRegistered']('imageInline')&&_0x1d54b2['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}_initConversion(){const _0x208b58=this['editor'];_0x208b58['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x208b58['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x2d51c8=>_0x2d51c8['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x19138b=_0x208b58['commands']['get']('replaceImageSource');_0x19138b&&this['listenTo'](_0x19138b,'cleanupImage',(_0x30ae32,[_0x5caf68,_0x347977])=>{_0x5caf68['removeAttribute']('uploadcareImageId',_0x347977);});}_initConfig(){const _0x522053=this['editor']['config']['get']('uploadcare.uploader')||{},_0xab396e=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0xcf6f91(_0x14c7e2['document'],'uc-config',{..._0x522053,'pubkey':_0xab396e,'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']=_0x2ba088=>{if('closeMax'==_0x2ba088)return'#uc-icon-arrow-down';},_0x14c7e2['document']['body']['appendChild'](this['_configElement']);}_initCtx(){this['_ctxElement']=_0xcf6f91(_0x14c7e2['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),_0x14c7e2['document']['body']['appendChild'](this['_ctxElement']);}_initImageProcessingIndicator(){const _0x28a5eb=this['editor']['commands']['get']('insertImage');_0x28a5eb&&this['listenTo'](_0x28a5eb,'execute',()=>{const _0x33d6c7=this['editor']['model']['document']['selection']['getSelectedElement']();_0x33d6c7&&_0x33d6c7['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{q(this['editor'],_0x33d6c7);});});const _0x292932=this['editor']['commands']['get']('uploadcareImageReplace');_0x292932&&this['listenTo'](_0x292932,'execute',()=>{const _0x222e56=this['editor']['model']['document']['selection']['getSelectedElement']();_0x222e56&&_0x222e56['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{q(this['editor'],_0x222e56);});});}},Y=class extends _0x51ca24{static get requires(){return[Z,V];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x34283a){super(_0x34283a),_0x34283a['config']['define']('uploadcare.uploader.sourceList',['local','url']),_0x344c96['defineComponents'](_0x344c96),this['_defineLocale']();}['_defineLocale'](){const _0x204dfe=this['editor']['config']['get']('uploadcare.locale'),_0x41d940=this['editor']['locale']['contentLanguage'];_0x204dfe&&_0x344c96['defineLocale'](_0x41d940,_0x204dfe);}},tt=class extends _0x1f1b00{constructor(_0xfad55d){super(_0xfad55d);const t=_0xfad55d['t'],_0x5ec8ec=this['bindTemplate'],_0x28ab5c=new _0x136c40();_0x28ab5c['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':[_0x28ab5c,{'text':_0x5ec8ec['to']('imageUploadProgress',_0xdb951a=>t('Loading\x20image...')+'\x20('+(_0xdb951a||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'}]}]}]});}},et=class extends _0x1f1b00{constructor(_0x46b809){super(_0x46b809);const t=_0x46b809['t'];this['set']('errorType',null);const _0x5d2816=new _0x14f01c(_0x46b809);_0x5d2816['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x5d2816['withText']=!0x0,_0x5d2816['class']='ck-button-action',_0x5d2816['on']('execute',()=>{this['fire']('retry');}),_0x5d2816['bind']('isVisible')['to'](this,'errorType',_0x6ae4fd=>'NotFound'!==_0x6ae4fd);const _0xd7a63d=new _0xc2e35();_0xd7a63d['content']=_0x13717d,_0xd7a63d['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x40aa83=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':[_0xd7a63d,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x40aa83['to']('errorType',_0x223d72=>t('NotFound'!==_0x223d72?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x5d2816]},{'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'}]}]}]});}},it=class extends _0x1f1b00{constructor(_0x53d683,_0x59d6a3){super(_0x53d683);const _0x4b0ef8=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x59d6a3,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x4b0ef8['to']('imageSrc')}});}},st=class extends F{_items;['_loadingView'];['_errorView'];_editingView;['_focusableView'];constructor(_0x522f98,_0x574a20,_0x33ee9b){super(_0x522f98),this['_items']=this['createCollection'](),this['_loadingView']=new tt(_0x522f98),this['_errorView']=new et(_0x522f98),this['_editingView']=new it(_0x522f98,_0x33ee9b),this['_focusableView']=new _0x1f1b00(_0x522f98),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x574a20),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'],_0x2955d1=>{this['_addUploadcareImageEditorListeners'](_0x2955d1);});}),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(_0x521b4f,_0x38953f){const _0x5ce08e='uc-cloud-image-editor',_0x25467e=_0x521b4f['querySelector'](_0x5ce08e);if(_0x25467e)return _0x38953f(_0x25467e);const _0x4cec15=new MutationObserver(_0x2df681=>{const _0x97625a=_0x2df681['filter'](_0x538f3f=>_0x538f3f['target']===_0x521b4f&&_0x538f3f['addedNodes']['length']>0x0&&_0x538f3f['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x5ce08e);_0x97625a['length']&&(_0x4cec15['disconnect'](),_0x38953f(_0x97625a[0x0]['addedNodes'][0x0]));});_0x4cec15['observe'](_0x521b4f,{'childList':!0x0,'subtree':!0x0});}_addUploadcareImageEditorListeners(_0x39c982){_0x39c982['addEventListener']('apply',_0x4ab9c9=>{this['fire']('apply',{'imageSrc':_0x4ab9c9['detail']['cdnUrl']});}),_0x39c982['addEventListener']('cancel',()=>{this['fire']('cancel');});}_addErrorViewListeners(){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}};const nt=/* #__PURE__ -- @preserve */
|
|
25
|
+
_0x2f3ec6();var rt=class extends nt{_editor;['_dialog'];_imageElement;['_imageCache'];_controller;_attributes;constructor(_0x4c3e03,_0xa14ce5,_0x2bacc7){super(),this['_editor']=_0x4c3e03,this['_dialog']=_0xa14ce5,this['_imageElement']=_0x2bacc7,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 _0x3470a0=this['_imageElement'],_0x221387=_0x3470a0['getAttribute']('uploadcareImageId'),_0x44a1d9=_0x3470a0['getAttribute']('src');if(_0x221387)await this['_loadImageInfo'](_0x221387,_0x44a1d9);else{if(this['_imageCache']['has'](_0x44a1d9)){const _0x555ed2=this['_imageCache']['get'](_0x44a1d9);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x555ed2['url'],this['imageDimension']=_0x555ed2['dimension'],this['imageId']=_0x555ed2['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x9bc542}=this['_editor'],t=_0x9bc542['t'],_0xd93d96=new st(_0x9bc542,this['imageStatus'],this['_attributes']);_0xd93d96['bind']('status')['to'](this,'imageStatus'),_0xd93d96['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0xd93d96['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0xd93d96['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0xd93d96,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x3fb224,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0xd93d96,'position':_0x96bcbf['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0xd93d96['focus']();},'onHide':()=>{_0xd93d96['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x26bfd4=>!H(_0x26bfd4,_0xd93d96['element'])}});}['_loadImageInfo'](_0x1554ae,_0x464c3d){return Q['getInfo'](_0x1554ae,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x47424a=>{const {width:_0x590d59,height:_0x2b843b}=_0x47424a['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x464c3d,this['imageDimension']={'width':_0x590d59,'height':_0x2b843b},this['imageId']=_0x1554ae;})['catch'](_0x565ffd=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x565ffd['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x232a7b,_0x2b0ebd){return this['_getImageAsFile'](_0x232a7b)['then'](_0x15dc69=>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':_0x2b0ebd['signal'],'file':_0x15dc69,'onProgress':_0x30af94=>{_0x30af94&&_0x30af94['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x30af94['value']));}}))['then'](_0x57e9cc=>{const {width:_0x17f60c,height:_0x2fc4c6}=_0x57e9cc['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x57e9cc['cdnUrl'],this['imageDimension']={'width':_0x17f60c,'height':_0x2fc4c6},this['imageId']=_0x57e9cc['uuid'],this['imageUploadProgress']=null;const _0xae827b=_0x232a7b['getAttribute']('src');this['_imageCache']['set'](_0xae827b,{'id':_0x57e9cc['uuid'],'url':_0x57e9cc['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x12fa11=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x12fa11['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}_addEditViewListeners(_0x325cd6,_0xd89e07){_0x325cd6['on']('apply',(_0x2ba99b,_0x44ce53)=>{this['_replaceImage'](_0xd89e07,_0x44ce53['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x325cd6['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x325cd6['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x62504,_0x3950a8,_0x1140ac){const _0x496dfc=this['_editor'],{width:_0x2026fd,height:_0x5b94bb}=j(_0x3950a8,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x3f19ef,imageSources:_0x3ca6ef}=B(_0x3950a8,_0x2026fd);_0x496dfc['model']['change'](_0x568f25=>{if('$graveyard'!==_0x62504['root']['rootName'])_0x568f25['setSelection'](_0x62504,'on'),_0x496dfc['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x62504['getAttributes']()),'uploadcareImageId':_0x1140ac,'src':_0x3f19ef,'sources':_0x3ca6ef,'width':_0x2026fd,'height':_0x5b94bb},_0x62504);else{_0x496dfc['execute']('insertImage',{'imageType':_0x62504['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x62504['getAttributes']()),'uploadcareImageId':_0x1140ac,'src':_0x3f19ef,'sources':_0x3ca6ef,'width':_0x2026fd,'height':_0x5b94bb}});const _0x3e4c02=_0x62504['getChildren']();_0x62504=_0x496dfc['model']['document']['selection']['getSelectedElement']();for(const _0x3c543b of _0x3e4c02)_0x568f25['append'](_0x568f25['cloneElement'](_0x3c543b),_0x62504);}_0x568f25['setSelection'](_0x62504,'on');});}async _getImageAsFile(_0x19728d){const _0x35a0f4=_0x14c7e2['window'],_0x174624=_0x14c7e2['document']['location']['href'],_0x1bc9c3=new _0x35a0f4['URL'](_0x19728d['getAttribute']('src'),_0x174624);if('data:'===_0x1bc9c3['protocol']){const _0x3f3d8f=_0x1bc9c3['href']['split'](','),_0x4f53fa=_0x3f3d8f[0x0]['match'](/:(.*?);/)[0x1],_0x69946d=_0x4f53fa['split']('/')[0x1],_0x306d70=_0x35a0f4['atob'](_0x3f3d8f[_0x3f3d8f['length']-0x1]);let _0x20b3b3=_0x306d70['length'];const _0x1dbb35=new _0x35a0f4['Uint8Array'](_0x20b3b3);for(;_0x20b3b3--;)_0x1dbb35[_0x20b3b3]=_0x306d70['charCodeAt'](_0x20b3b3);return new _0x35a0f4['File']([_0x1dbb35],'image.'+_0x69946d,{'type':_0x4f53fa});}const _0x24084b=_0x1bc9c3['href']['split']('/'),_0xa0c70f=_0x24084b[_0x24084b['length']-0x1],_0x266c83=_0xa0c70f['split']('.')[0x1];return _0x35a0f4['fetch'](_0x1bc9c3['href'])['then'](_0x232f73=>_0x232f73['clone']()['blob']())['then'](_0xa99163=>new _0x35a0f4['File']([_0xa99163],_0xa0c70f,{'type':'image/'+_0x266c83}));}},at=class extends _0x3083bd{imageEditController;static get requires(){return[_0x1fa73f];}_isEditable;constructor(_0xdf9128){super(_0xdf9128),this['imageEditController']=void 0x0,this['_isEditable']=function(_0xb15376){const _0x15eabf=M(_0xb15376);return _0xe15f02=>!(!_0xe15f02||!_0xe15f02['is']('element','imageBlock')&&!_0xe15f02['is']('element','imageInline'))&&(!!_0xe15f02['hasAttribute']('uploadcareImageId')||!!_0xe15f02['hasAttribute']('src')&&_0x15eabf(_0xe15f02['getAttribute']('src')));}(_0xdf9128['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x3cef18=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x3cef18);}execute(){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x280d0c=this['editor']['model']['document']['selection']['getSelectedElement']();_0x280d0c&&(_0x280d0c['is']('element','imageBlock')||_0x280d0c['is']('element','imageInline'))&&(this['imageEditController']=new rt(this['editor'],this['editor']['plugins']['get'](_0x1fa73f),_0x280d0c),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}},ot=class extends _0x3083bd{['refresh'](){const _0x21face=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x21face&&(_0x21face['is']('element','imageBlock')||_0x21face['is']('element','imageInline')));}execute(_0x1c7ec9){const _0x44107c=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x457f1d=>{_0x457f1d['setAttributes'](_0x1c7ec9,_0x44107c),_0x457f1d['removeAttribute']('srcset',_0x44107c),_0x457f1d['removeAttribute']('sizes',_0x44107c);});}},ct=class extends _0x51ca24{static get['pluginName'](){return'UploadcareImageEditEditing';}static get requires(){return[Z,_0x4a71dc,_0x399c00,_0x4b54a8];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}init(){const {editor:_0x40a13f}=this;_0x40a13f['commands']['add']('uploadcareImageEdit',new at(_0x40a13f)),_0x40a13f['commands']['add']('uploadcareImageReplace',new ot(_0x40a13f));}},lt=class extends _0x51ca24{['_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 _0x410904=this['editor'];_0x410904['ui']['componentFactory']['add']('uploadcareImageEdit',_0x43bbb7=>{const _0x2a7253=_0x410904['commands']['get']('uploadcareImageEdit'),_0x1fd75e=new _0x14f01c(_0x43bbb7),t=_0x43bbb7['t'];return _0x1fd75e['set']({'icon':_0x3fb224,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x1fd75e['bind']('isEnabled')['to'](_0x2a7253),_0x1fd75e['bind']('isOn')['to'](_0x2a7253,'isActive'),this['listenTo'](_0x1fd75e,'execute',()=>{_0x410904['execute']('uploadcareImageEdit'),_0x410904['editing']['view']['focus']();}),_0x1fd75e;}),this['_initConfig']();}_initConfig(){const _0x472cd6=_0xcf6f91(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x472cd6),this['listenTo'](this['editor'],'destroy',()=>{_0x472cd6['remove']();});}},ut=class extends _0x51ca24{static get['pluginName'](){return'UploadcareImageEdit';}static get requires(){return[ct,lt];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}};export{Y as Uploadcare,z as UploadcareCommand,Z as UploadcareEditing,ut as UploadcareImageEdit,at as UploadcareImageEditCommand,ct as UploadcareImageEditEditing,lt as UploadcareImageEditUI,V as UploadcareUI,J 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.':''}
|
|
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.':''}}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x155cd3=>{const {af:_0x540b36}={'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.':''}}};_0x155cd3['af']||={'dictionary':{},'getPluralForm':null},_0x155cd3['af']['dictionary']=Object['assign'](_0x155cd3['af']['dictionary'],_0x540b36['dictionary']),_0x540b36['getPluralForm']&&(_0x155cd3['af']['getPluralForm']=_0x540b36['getPluralForm']);})(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مصدرها.'}
|
|
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مصدرها.'}}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x2a75c8=>{const {ar:_0x14855e}={'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مصدرها.'}}};_0x2a75c8['ar']||={'dictionary':{},'getPluralForm':null},_0x2a75c8['ar']['dictionary']=Object['assign'](_0x2a75c8['ar']['dictionary'],_0x14855e['dictionary']),_0x14855e['getPluralForm']&&(_0x2a75c8['ar']['getPluralForm']=_0x14855e['getPluralForm']);})(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.':''}
|
|
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.':''}}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x18297b=>{const {ast:_0xa9f7cf}={'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.':''}}};_0x18297b['ast']||={'dictionary':{},'getPluralForm':null},_0x18297b['ast']['dictionary']=Object['assign'](_0x18297b['ast']['dictionary'],_0xa9f7cf['dictionary']),_0xa9f7cf['getPluralForm']&&(_0x18297b['ast']['getPluralForm']=_0xa9f7cf['getPluralForm']);})(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.':''}
|
|
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.':''}}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x385c7e=>{const {az:_0x1aef90}={'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.':''}}};_0x385c7e['az']||={'dictionary':{},'getPluralForm':null},_0x385c7e['az']['dictionary']=Object['assign'](_0x385c7e['az']['dictionary'],_0x1aef90['dictionary']),_0x1aef90['getPluralForm']&&(_0x385c7e['az']['getPluralForm']=_0x1aef90['getPluralForm']);})(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.':''}
|
|
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.':''}}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x294a07=>{const {be:_0x2d0b01}={'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.':''}}};_0x294a07['be']||={'dictionary':{},'getPluralForm':null},_0x294a07['be']['dictionary']=Object['assign'](_0x294a07['be']['dictionary'],_0x2d0b01['dictionary']),_0x2d0b01['getPluralForm']&&(_0x294a07['be']['getPluralForm']=_0x2d0b01['getPluralForm']);})(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премахнат.'}
|
|
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премахнат.'}}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x24d22e=>{const {bg:_0xf5bb37}={'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премахнат.'}}};_0x24d22e['bg']||={'dictionary':{},'getPluralForm':null},_0x24d22e['bg']['dictionary']=Object['assign'](_0x24d22e['bg']['dictionary'],_0xf5bb37['dictionary']),_0xf5bb37['getPluralForm']&&(_0x24d22e['bg']['getPluralForm']=_0xf5bb37['getPluralForm']);})(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হয়েছে।'}
|
|
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হয়েছে।'}}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x901b2e=>{const {bn:_0x1cd9d3}={'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হয়েছে।'}}};_0x901b2e['bn']||={'dictionary':{},'getPluralForm':null},_0x901b2e['bn']['dictionary']=Object['assign'](_0x901b2e['bn']['dictionary'],_0x1cd9d3['dictionary']),_0x1cd9d3['getPluralForm']&&(_0x901b2e['bn']['getPluralForm']=_0x1cd9d3['getPluralForm']);})(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.':''}
|
|
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.':''}}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x4dc1de=>{const {bs:_0x572c59}={'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.':''}}};_0x4dc1de['bs']||={'dictionary':{},'getPluralForm':null},_0x4dc1de['bs']['dictionary']=Object['assign'](_0x4dc1de['bs']['dictionary'],_0x572c59['dictionary']),_0x572c59['getPluralForm']&&(_0x4dc1de['bs']['getPluralForm']=_0x572c59['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/ca.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'ca':{'dictionary':{'Insert\x20with\x20Dropbox':'Insereix\x20amb\x20Dropbox','Replace\x20with\x20Dropbox':'Substitueix\x20amb\x20Dropbox','With\x20Dropbox':'Amb\x20Dropbox','Insert\x20with\x20Facebook':'Insereix\x20amb\x20Facebook','Replace\x20with\x20Facebook':'Substitueix\x20amb\x20Facebook','With\x20Facebook':'Amb\x20Facebook','Insert\x20with\x20Google\x20Drive':'Insereix\x20amb\x20Google\x20Drive','Replace\x20with\x20Google\x20Drive':'Substitueix\x20amb\x20Google\x20Drive','With\x20Google\x20Drive':'Amb\x20Google\x20Drive','Insert\x20with\x20Google\x20Photos':'Insereix\x20amb\x20Google\x20Fotos','Replace\x20with\x20Google\x20Photos':'Substitueix\x20amb\x20Google\x20Fotos','With\x20Google\x20Photos':'Amb\x20Google\x20Fotos','Insert\x20with\x20OneDrive':'Insereix\x20amb\x20OneDrive','Replace\x20with\x20OneDrive':'Substitueix\x20amb\x20OneDrive','With\x20OneDrive':'Amb\x20OneDrive','Replace\x20via\x20URL':'Substitueix\x20mitjançant\x20un\x20URL','Edit\x20Image\x20(Uploadcare)':'Edita\x20la\x20imatge','Loading\x20image...':'S\x27està\x20carregant\x20la\x20imatge...','Unable\x20to\x20load':'No\x20es\x20pot\x20carregar','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'No\x20hem\x20pogut\x20carregar\x20la\x20imatge\x20a\x20causa\x20dels\x20problemes\x20de\x20connexió\x20de\x20xarxa.','Try\x20again\x20(Uploadcare)':'Torna-ho\x20a\x20provar','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':'No\x20s\x27ha\x20trobat\x20la\x20imatge.\x20És\x20possible\x20que\x20s\x27hagi\x20suprimit\x20la\x20seva\x20font.'}
|
|
23
|
+
export default{'ca':{'dictionary':{'Insert\x20with\x20Dropbox':'Insereix\x20amb\x20Dropbox','Replace\x20with\x20Dropbox':'Substitueix\x20amb\x20Dropbox','With\x20Dropbox':'Amb\x20Dropbox','Insert\x20with\x20Facebook':'Insereix\x20amb\x20Facebook','Replace\x20with\x20Facebook':'Substitueix\x20amb\x20Facebook','With\x20Facebook':'Amb\x20Facebook','Insert\x20with\x20Google\x20Drive':'Insereix\x20amb\x20Google\x20Drive','Replace\x20with\x20Google\x20Drive':'Substitueix\x20amb\x20Google\x20Drive','With\x20Google\x20Drive':'Amb\x20Google\x20Drive','Insert\x20with\x20Google\x20Photos':'Insereix\x20amb\x20Google\x20Fotos','Replace\x20with\x20Google\x20Photos':'Substitueix\x20amb\x20Google\x20Fotos','With\x20Google\x20Photos':'Amb\x20Google\x20Fotos','Insert\x20with\x20OneDrive':'Insereix\x20amb\x20OneDrive','Replace\x20with\x20OneDrive':'Substitueix\x20amb\x20OneDrive','With\x20OneDrive':'Amb\x20OneDrive','Replace\x20via\x20URL':'Substitueix\x20mitjançant\x20un\x20URL','Edit\x20Image\x20(Uploadcare)':'Edita\x20la\x20imatge','Loading\x20image...':'S\x27està\x20carregant\x20la\x20imatge...','Unable\x20to\x20load':'No\x20es\x20pot\x20carregar','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'No\x20hem\x20pogut\x20carregar\x20la\x20imatge\x20a\x20causa\x20dels\x20problemes\x20de\x20connexió\x20de\x20xarxa.','Try\x20again\x20(Uploadcare)':'Torna-ho\x20a\x20provar','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':'No\x20s\x27ha\x20trobat\x20la\x20imatge.\x20És\x20possible\x20que\x20s\x27hagi\x20suprimit\x20la\x20seva\x20font.'}}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x4577bf=>{const {ca:_0x314e0b}={'ca':{'dictionary':{'Insert\x20with\x20Dropbox':'Insereix\x20amb\x20Dropbox','Replace\x20with\x20Dropbox':'Substitueix\x20amb\x20Dropbox','With\x20Dropbox':'Amb\x20Dropbox','Insert\x20with\x20Facebook':'Insereix\x20amb\x20Facebook','Replace\x20with\x20Facebook':'Substitueix\x20amb\x20Facebook','With\x20Facebook':'Amb\x20Facebook','Insert\x20with\x20Google\x20Drive':'Insereix\x20amb\x20Google\x20Drive','Replace\x20with\x20Google\x20Drive':'Substitueix\x20amb\x20Google\x20Drive','With\x20Google\x20Drive':'Amb\x20Google\x20Drive','Insert\x20with\x20Google\x20Photos':'Insereix\x20amb\x20Google\x20Fotos','Replace\x20with\x20Google\x20Photos':'Substitueix\x20amb\x20Google\x20Fotos','With\x20Google\x20Photos':'Amb\x20Google\x20Fotos','Insert\x20with\x20OneDrive':'Insereix\x20amb\x20OneDrive','Replace\x20with\x20OneDrive':'Substitueix\x20amb\x20OneDrive','With\x20OneDrive':'Amb\x20OneDrive','Replace\x20via\x20URL':'Substitueix\x20mitjançant\x20un\x20URL','Edit\x20Image\x20(Uploadcare)':'Edita\x20la\x20imatge','Loading\x20image...':'S\x27està\x20carregant\x20la\x20imatge...','Unable\x20to\x20load':'No\x20es\x20pot\x20carregar','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'No\x20hem\x20pogut\x20carregar\x20la\x20imatge\x20a\x20causa\x20dels\x20problemes\x20de\x20connexió\x20de\x20xarxa.','Try\x20again\x20(Uploadcare)':'Torna-ho\x20a\x20provar','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':'No\x20s\x27ha\x20trobat\x20la\x20imatge.\x20És\x20possible\x20que\x20s\x27hagi\x20suprimit\x20la\x20seva\x20font.'}}};_0x4577bf['ca']||={'dictionary':{},'getPluralForm':null},_0x4577bf['ca']['dictionary']=Object['assign'](_0x4577bf['ca']['dictionary'],_0x314e0b['dictionary']),_0x314e0b['getPluralForm']&&(_0x4577bf['ca']['getPluralForm']=_0x314e0b['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|