@ckeditor/ckeditor5-uploadcare 48.4.0-alpha.2 → 48.4.0-alpha.3
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 _0x1a0a06,Plugin as _0x4c8cbd}from'@ckeditor/ckeditor5-core';import{IconDropbox as _0x5bdc78,IconError as _0x95436,IconFacebook as _0x5313d3,IconGoogleDrive as _0x2b32ee,IconGooglePhotos as _0x517668,IconOneDrive as _0x5d53bd,IconUploadcareImageEdit as _0x12e540,IconUploadcareImageUpload as _0x321f3e,IconUploadcareLink as _0x451fe8}from'@ckeditor/ckeditor5-icons';import{ButtonView as _0x4c8b64,Dialog as _0x345299,DialogViewPosition as _0xb89c9c,FocusCycler as _0x4a7c80,IconView as _0x21244a,MenuBarMenuListItemButtonView as _0xe76d47,Notification as _0x1cea7d,SpinnerView as _0x59b71f,View as _0x4b5767}from'@ckeditor/ckeditor5-ui';import{DomEmitterMixin as _0x4744e8,FocusTracker as _0x3636de,ObservableMixin as _0x4a27c3,createElement as _0x370bce,getAncestors as _0x374c65,global as _0xae4e85,uid as _0xa18d58}from'@ckeditor/ckeditor5-utils';import{ImageEditing as _0x482d7e,ImageUploadEditing as _0xaf4347,ImageUploadProgress as _0x5ac5bc,ImageUtils as _0x4e9fbc,PictureEditing as _0x96398b}from'@ckeditor/ckeditor5-image';import{FileRepository as _0x3839a8}from'@ckeditor/ckeditor5-upload';import{info as _0x3a6670,uploadFile as _0x5038d6}from'@uploadcare/upload-client';import*as _0xe0349c from'@uploadcare/file-uploader/web/file-uploader.min.js';function T(_0x2cdb2d,_0x33c6c0,_0x4a5486){const t=_0x2cdb2d['t'],_0x5a3061=_0x2cdb2d['t'];switch(_0x33c6c0){case'local':return{'text':_0x5a3061('Insert'===_0x4a5486?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x5a3061('From\x20computer')};case'url':return{'text':'Insert'===_0x4a5486?_0x5a3061('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x5a3061('Via\x20URL')};case'dropbox':return{'text':t('Insert'===_0x4a5486?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case'facebook':return{'text':t('Insert'===_0x4a5486?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case'gdrive':return{'text':t('Insert'===_0x4a5486?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case'gphotos':return{'text':t('Insert'===_0x4a5486?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case'onedrive':return{'text':t('Insert'===_0x4a5486?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x33c6c0;}}var V=class extends _0x4c8cbd{['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 _0x508a8a=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x6f3176;for(const _0x28ca43 in _0x508a8a){const _0x25595a=_0x28ca43,_0x429398=_0x508a8a[_0x25595a];if('uploadcareLicenseKeyValid'==_0x429398||'uploadcareLicenseKeyInvalid'==_0x429398||'uploadcareLicenseKeyExpired'==_0x429398||'uploadcareLicenseKeyDomainLimit'==_0x429398||'uploadcareLicenseKeyNotAllowed'==_0x429398||'uploadcareLicenseKeyEvaluationLimit'==_0x429398||'uploadcareLicenseKeyUsageLimit'==_0x429398){delete _0x508a8a[_0x25595a],_0x6f3176=_0x429398,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x6f3176&&_0x508a8a['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x6f3176&&_0x508a8a['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x6f3176&&_0x508a8a['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x6f3176&&_0x508a8a['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x6f3176&&_0x508a8a['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyUsageLimit'==_0x6f3176&&_0x508a8a['_showLicenseError']('usageLimit');},0x3e8);}afterInit(){const {editor:_0x4ab0b0}=this,_0x439e0b=_0x4ab0b0['commands']['get']('uploadcare');if(!_0x439e0b)return;const _0x26e252=this['_normalizeConfigSourceList'](_0x4ab0b0['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x4aa74a,_0x2cee0d)=>{const _0x4ac41d=this['_getIntegrationKey'](_0x2cee0d['type']);return _0x4aa74a[_0x4ac41d]||(_0x4aa74a[_0x4ac41d]=[]),_0x4aa74a[_0x4ac41d]['push'](_0x2cee0d),_0x4aa74a;},{});_0x4ab0b0['plugins']['has']('ImageInsertUI')&&_0x4ab0b0['commands']['get']('uploadcare')&&Object['entries'](_0x26e252)['forEach'](([_0x277831,_0xa4c586])=>{_0x4ab0b0['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x277831,'observable':()=>_0x439e0b,'buttonViewCreator':()=>this['_createToolbarButton'](_0xa4c586),'formViewCreator':()=>this['_createDropdownButtons'](_0xa4c586),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0xa4c586),'override':'assetManager'!==_0x277831});});}destroy(){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}_normalizeConfigSourceList(_0x44091c){const {locale:_0x561770}=this['editor'];return _0x44091c['map'](_0x5160ac=>{const _0x474dc9=T(_0x561770,_0x5160ac,'Insert');switch(_0x5160ac){case'local':return{'icon':_0x321f3e,'type':'local',..._0x474dc9};case'url':return{'icon':_0x451fe8,'type':'url',..._0x474dc9};case'dropbox':return{'icon':_0x5bdc78,'type':'dropbox',..._0x474dc9};case'facebook':return{'icon':_0x5313d3,'type':'facebook',..._0x474dc9};case'gdrive':return{'icon':_0x2b32ee,'type':'gdrive',..._0x474dc9};case'gphotos':return{'icon':_0x517668,'type':'gphotos',..._0x474dc9};case'onedrive':return{'icon':_0x5d53bd,'type':'onedrive',..._0x474dc9};}});}_getIntegrationKey(_0x107bac){switch(_0x107bac){case'local':return'upload';case'url':return'url';default:return'assetManager';}}_createButton(_0x3957d7,_0x20b4b1){const _0x4181af=this['editor'],_0x1bb4c3=new _0x3957d7(_0x4181af['locale']),_0x2ff88d=_0x4181af['commands']['get']('uploadcare');return _0x1bb4c3['bind']('isEnabled')['to'](_0x2ff88d),_0x1bb4c3['on']('execute',()=>{_0x2ff88d['execute'](_0x20b4b1);}),_0x1bb4c3;}_createToolbarButton(_0x5b4499){const {locale:_0x3a493c}=this['editor'],_0x40682a=this['editor']['plugins']['get']('ImageInsertUI'),_0x4cea47=_0x5b4499[0x0],_0x1ac46f=this['_createButton'](_0x4c8b64,_0x4cea47['type']);return _0x1ac46f['icon']=_0x4cea47['icon'],_0x1ac46f['bind']('label')['to'](_0x40682a,'isImageSelected',_0x2c9c50=>T(_0x3a493c,_0x4cea47['type'],_0x2c9c50?'Replace':'Insert')['text']),_0x1ac46f['tooltip']=!0x0,_0x1ac46f;}_createDropdownButtons(_0x6508b5){const {locale:_0x473782}=this['editor'],_0x1a93c0=this['editor']['plugins']['get']('ImageInsertUI');return _0x6508b5['map'](_0x5b6d3f=>{const _0xb69b84=this['_createButton'](_0x4c8b64,_0x5b6d3f['type']);return _0xb69b84['withText']=!0x0,_0xb69b84['icon']=_0x5b6d3f['icon'],_0xb69b84['bind']('label')['to'](_0x1a93c0,'isImageSelected',_0x42f9a9=>T(_0x473782,_0x5b6d3f['type'],_0x42f9a9?'Replace':'Insert')['text']),_0xb69b84;});}_createMenuBarButtons(_0x185104){return _0x185104['map'](_0x4049b2=>{const _0x3c07cd=this['_createButton'](_0xe76d47,_0x4049b2['type']);return _0x3c07cd['icon']=_0x4049b2['icon'],_0x3c07cd['label']=_0x4049b2['shortText'],_0x3c07cd;});}},F=class extends _0x4b5767{['focusTracker'];['focusCycler'];constructor(_0x2cc9eb){super(_0x2cc9eb),this['focusTracker']=new _0x3636de(),this['focusCycler']=new _0x4a7c80({'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(_0x241a56,_0x1cbf9){super(_0x241a56),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-'+_0x1cbf9}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}};function B(_0x31f1da,_0x4b4942){const _0x3c8a13=_0x31f1da['replace'](/\/$/,'');return{'imageFallbackUrl':_0x31f1da,'imageSources':[{'srcset':[...[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x3b7ecd=>_0x3b7ecd<_0x4b4942)['map'](_0x3248e3=>_0x3c8a13+'/-/resize/'+_0x3248e3+'x/\x20'+_0x3248e3+'w'),_0x31f1da+'\x20'+_0x4b4942+'w']['join'](',\x20'),'sizes':'(max-width:\x20'+_0x4b4942+'px)\x20100vw,\x20'+_0x4b4942+'px','type':'image/webp'}]};}function j(_0xad74d9,_0x52d9a2,_0x3bb9d1){const _0x2b5d6a=_0xad74d9['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x2b5d6a?parseInt(_0x2b5d6a[0x1],0xa):_0x52d9a2,'height':_0x2b5d6a?parseInt(_0x2b5d6a[0x2],0xa):_0x3bb9d1};}function q(_0x31acaa,_0x787f4e){const _0x2d4b59=new(_0x4744e8())(),_0x16ca5e=_0x31acaa['plugins']['get']('ImageUtils'),_0x249fbd=_0x31acaa['editing']['mapper']['toViewElement'](_0x787f4e),_0x32eba8=_0x16ca5e['findViewImgElement'](_0x249fbd),_0x2c41ea=_0x31acaa['editing']['view']['domConverter']['viewToDom'](_0x32eba8),_0x1351b5=_0x787f4e['getAttribute']('width'),_0x2287de=_0x787f4e['getAttribute']('height'),_0x4aecc7='image-processing';_0x31acaa['editing']['view']['change'](_0x2b0db6=>{_0x2b0db6['addClass'](_0x4aecc7,_0x249fbd),_0x2b0db6['setStyle']('aspect-ratio',_0x1351b5+'/'+_0x2287de,_0x32eba8);}),_0x2d4b59['listenTo'](_0x2c41ea,'load',()=>{_0x2d4b59['stopListening'](_0x2c41ea,'load'),_0x31acaa['editing']['view']['change'](_0x45dfee=>{_0x45dfee['removeClass'](_0x4aecc7,_0x249fbd),_0x45dfee['removeStyle']('aspect-ratio',_0x32eba8);});});}function M(_0x4f2824){if(Array['isArray'](_0x4f2824)){const _0x503674=_0x4f2824['map'](M);return _0x3c4126=>_0x503674['some'](_0x32fc71=>_0x32fc71(_0x3c4126));}if('origin'==_0x4f2824){const _0x452998=_0xae4e85['window']['location']['origin'];return _0x22b8c7=>new URL(_0x22b8c7,_0xae4e85['document']['baseURI'])['origin']==_0x452998;}return'function'==typeof _0x4f2824?_0x4f2824:_0x4f2824 instanceof RegExp?_0x4644fe=>!(!_0x4644fe['match'](_0x4f2824)&&!_0x4644fe['replace'](/^https?:\/\//,'')['match'](_0x4f2824)):()=>!0x1;}function H(_0x448514,_0x548f58){return _0x374c65(_0x448514['target'])['includes'](_0x548f58);}const W=/* #__PURE__ -- @preserve */
|
|
24
|
-
_0x4a27c3();var G=class extends W{_editor;['_dialog'];_editing;['_api'];_type=null;['_formView']=null;constructor(_0x51e02a,_0x4e2f19,_0x2a880a){super(),this['_editor']=_0x51e02a,this['_editing']=_0x4e2f19,this['_dialog']=_0x51e02a['plugins']['get'](_0x345299),this['_api']=_0x4e2f19['ctxElement']['getAPI'](),this['_type']=_0x2a880a,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:_0x5b069c,model:_0x142824}=this['_editor'],_0x18790e=_0x142824['document']['selection']['getSelectedElement'](),_0x349255=_0x18790e&&(_0x18790e['is']('element','imageBlock')||_0x18790e['is']('element','imageInline'));this['_formView']=new $(_0x5b069c,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':_0x321f3e,'title':T(_0x5b069c,this['_type'],_0x349255?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0xb89c9c['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x14a250=>!H(_0x14a250,this['_formView']['element'])}});}_initListeners(){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x386ac0}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x3db3a=>{const _0x26e29a=_0x386ac0['length'];for(const _0x5ca565 of _0x386ac0){const _0x3e33f5=_0x5ca565===_0x386ac0[_0x26e29a-0x1],{cdnUrl:_0x4c3c57,fileInfo:_0x318f07}=_0x5ca565;if(!_0x4c3c57||!_0x318f07)continue;const {width:_0x519c4d,height:_0x3a07b6}=_0x318f07['imageInfo'],_0x58c74b=j(_0x4c3c57,_0x519c4d,_0x3a07b6),_0x2ae29a=B(_0x4c3c57,_0x58c74b['width']),_0x30d797={'id':_0x318f07['uuid'],'type':'image','attributes':{'imageDimension':_0x58c74b,..._0x2ae29a}};this['_insertAsset'](_0x30d797,_0x3e33f5,_0x3db3a);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x2fe6a8=>{'idle'===_0x2fe6a8['detail']['status']&&!_0x2fe6a8['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&('local'===this['_type']?this['_api']['setCurrentActivity']('start-from'):this['_api']['initFlow']());});}_insertAsset(_0x10a61a,_0x32a9e0,_0x1674f1){const _0x41ec6b=this['_editor']['model']['document']['selection'],_0x4fc524=_0x41ec6b['getSelectedElement'](),_0x47c357=!(!_0x4fc524||!_0x4fc524['is']('element','imageInline'));_0x1674f1['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x10a61a,_0x47c357),_0x32a9e0||_0x1674f1['setSelection'](_0x41ec6b['getLastPosition']());}_insertImage(_0x386e3b,_0x5efdf1){const _0x3fe732=this['_editor'],{imageDimension:_0x4fb2a6,imageFallbackUrl:_0x12b455,imageSources:_0x17c93d}=_0x386e3b['attributes'];_0x3fe732['execute']('insertImage',{'imageType':_0x5efdf1?'imageInline':null,'source':{'uploadcareImageId':_0x386e3b['id'],'src':_0x12b455,'sources':_0x17c93d,..._0x4fb2a6}});}},z=class extends _0x1a0a06{_editing;_controller=null;static get requires(){return[_0x345299,Z];}constructor(_0x14a35d){super(_0x14a35d),this['_editing']=_0x14a35d['plugins']['get'](Z);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}execute(_0x5c1661){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new G(this['editor'],this['_editing'],_0x5c1661);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}},Q=class{static['upload']({file:_0x342054,..._0x34d2b4}){return _0x5038d6(_0x342054,_0x34d2b4);}static getInfo(_0x363e17,_0xd54734){return _0x3a6670(_0x363e17,_0xd54734);}},J=class extends _0x4c8cbd{static get requires(){return[_0xaf4347,_0x5ac5bc,_0x3839a8,Z];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async afterInit(){const _0x430987=this['editor'];if(!_0x430987['config']['get']('uploadcare'))return;_0x430987['plugins']['get'](_0x3839a8)['createUploadAdapter']=_0x29159b=>new X(_0x29159b,_0x430987),_0x430987['plugins']['get'](_0xaf4347)['on']('uploadComplete',(_0x38c372,{imageElement:_0x3ccae8,data:_0x109579})=>{_0x430987['model']['change'](_0x1ba6d7=>{_0x1ba6d7['setAttribute']('uploadcareImageId',_0x109579['uploadcareImageId'],_0x3ccae8);});});}},X=class{['loader'];editor;controller;constructor(_0x3a70d0,_0x1df606){this['loader']=_0x3a70d0,this['editor']=_0x1df606,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x518126=await this['loader']['file'];return Q['upload']({'file':_0x518126,'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':_0x4be318=>{_0x4be318&&_0x4be318['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x4be318['value']);}})['then'](async _0x48630c=>{const {imageFallbackUrl:_0x38da91,imageSources:_0x32b37a}=B(_0x48630c['cdnUrl'],_0x48630c['imageInfo']['width']);return{'uploadcareImageId':_0x48630c['uuid'],'default':_0x38da91,'sources':_0x32b37a};})['catch'](()=>{const _0x216f1f=t('Cannot\x20upload\x20file:')+('\x20'+_0x518126['name']+'.');return Promise['reject'](_0x216f1f);});}abort(){this['controller']['abort']();}},Z=class extends _0x4c8cbd{_configElement=null;_ctxElement=null;static get['pluginName'](){return'UploadcareEditing';}static get requires(){return[_0x96398b,J,_0x345299];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}ucContextId;get configElement(){return this['_configElement'];}get ctxElement(){return this['_ctxElement'];}constructor(_0x3e7472){super(_0x3e7472),this['ucContextId']=_0xa18d58();}init(){const _0xedaf6a=this['editor'];_0xedaf6a['commands']['add']('uploadcare',new z(_0xedaf6a));}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 _0x5a48ab=_0xae4e85['document']['querySelector']('input[uploadcare-file-input]');_0x5a48ab&&_0x5a48ab['remove']();}),async function(_0x1c768f){const _0x5b672a='hgP68pqc7OBJx9u3zrHatYUXf04TdVkMFmwCs5SDAvj21iWQGeZKLyRlENnoIb',_0x11a053=0x79158,_0x248664=window['Date']['now'](),_0x10b123=_0x1c768f['editor'],_0x3093a0=new window['Promise'](_0x5c756a=>{_0x10b123['once']('ready',_0x5c756a);}),_0x3dc4d7={'kty':'EC','use':'sig','crv':'P-256','x':'iCjOCvDFI6lQHHT18jVwRfkfHQ2a_MymT35LQVoFSAI','y':'kXIyJ4evtCEFRmxKSUpK9fDW459vXOvVrhf6uQAeOio','alg':'ES256'},_0x46f2aa=_0x10b123['config']['get']('licenseKey');async function _0x4f71d9(){let _0x39c1e9,_0x136a66=null,_0x1029f1=null;try{return'GPL'==_0x46f2aa?'NotAllowed':(_0x39c1e9=_0x461c79(),_0x39c1e9?(_0x39c1e9['usageEndpoint']&&(_0x1029f1=_0x2c85cc(_0x39c1e9['usageEndpoint'],_0x39c1e9['jti'])),await _0x532a34()?_0x38ee8f()?_0x1def44()?'Expired':_0x5746e5()?('evaluation'==_0x39c1e9['licenseType']&&(_0x136a66=_0x162d56('EvaluationLimit')),await _0x15c3be()):'DomainLimit':'NotAllowed':'Invalid'):'Invalid');}catch{return'Invalid';}function _0x1def44(){const _0x3de45b=['evaluation','trial']['includes'](_0x39c1e9['licenseType'])?_0x248664/0x3e8:0xe10*_0x11a053;return _0x39c1e9['exp']<_0x3de45b;}function _0x38ee8f(){const _0x498c4d=_0x39c1e9['features'];return!!_0x498c4d&&(!!_0x498c4d['includes']('*')||!!_0x498c4d['includes']('UPLC'));}function _0x5746e5(){const _0x3ba282=_0x39c1e9['licensedHosts'];if(!_0x3ba282||0x0==_0x3ba282['length'])return!0x0;const {hostname:_0x594174}=new URL(window['location']['href']);if(_0x3ba282['includes'](_0x594174))return!0x0;const _0x584100=_0x594174['split']('.');return _0x3ba282['filter'](_0x20dc1e=>_0x20dc1e['includes']('*'))['map'](_0x29a14d=>_0x29a14d['split']('.'))['filter'](_0x229f7b=>_0x229f7b['length']<=_0x584100['length'])['map'](_0x5aa24e=>Array(_0x584100['length']-_0x5aa24e['length'])['fill']('*'===_0x5aa24e[0x0]?'*':'')['concat'](_0x5aa24e))['some'](_0xb81f3a=>_0x584100['every']((_0x1266e3,_0x267215)=>_0xb81f3a[_0x267215]===_0x1266e3||'*'===_0xb81f3a[_0x267215]));}function _0x15c3be(){return _0x136a66&&_0x1029f1?new window['Promise']((_0x40e276,_0x501e10)=>{_0x136a66['then'](_0x40e276,_0x501e10),_0x1029f1['then'](_0x3f2ffa=>{'Valid'!=_0x3f2ffa&&_0x40e276(_0x3f2ffa);},_0x501e10);}):_0x136a66||_0x1029f1||'Valid';}}function _0x2c85cc(_0xd7c50,_0x10bc0b){return new window['Promise'](_0x1a44ef=>{if(_0x4d58cb())return _0x1a44ef('Valid');_0x22e82e(),_0x10b123['decorate']('_sendUsageRequest');let _0x3c8598=!0x1;const _0xdf7709=_0xa18d58();function _0x4bc762(_0xd3803){return!!_0xd3803&&('object'==typeof _0xd3803||'function'==typeof _0xd3803)&&'function'==typeof _0xd3803['then']&&'function'==typeof _0xd3803['catch'];}function _0x3f6359(_0x280a34){_0x11fc23(_0x280a34)['then'](_0x9d01d5=>_0x9d01d5&&'ok'==_0x9d01d5['status']?_0x279685(_0x1fee53(_0xdf7709+_0x10bc0b))!=_0x9d01d5['verification']?'UsageLimit':'Valid':'UsageLimit')['then'](_0x4792a0=>(_0x1a81e8(),_0x4792a0),()=>{const _0xb5a787=_0x4ed4c8();return null==_0xb5a787?(_0x1a81e8(),'Valid'):_0x248664-_0xb5a787>0x240c8400?'UsageLimit':'Valid';})['then'](_0x1a44ef)['catch'](()=>{_0x1a44ef('UsageLimit');});const _0x1e8664=0x36ee80;function _0x1a81e8(){const _0x447083='llct-'+_0x279685(_0x1fee53(_0xd7c50)),_0x30dd0b=_0x10166a(_0x279685(window['Math']['ceil'](_0x248664/_0x1e8664)));window['localStorage']['setItem'](_0x447083,_0x30dd0b);}function _0x4ed4c8(){const _0x5eb920='llct-'+_0x279685(_0x1fee53(_0xd7c50)),_0x3f9465=window['localStorage']['getItem'](_0x5eb920);return _0x3f9465?window['parseInt'](_0x10166a(_0x3f9465),0x10)*_0x1e8664:null;}function _0x11fc23(_0x527aef){return new window['Promise']((_0x60af8a,_0x5643a1)=>{_0x527aef['then'](_0x60af8a,_0x5643a1),window['setTimeout'](_0x5643a1,0x1d4c0);});}}_0x10b123['on']('_sendUsageRequest',(_0x4bcab9,_0x24c268)=>{if(_0x24c268[0x0]!=_0xd7c50)return _0x1a44ef('UsageLimit');_0x24c268[0x1]={..._0x24c268[0x1],'requestId':_0xdf7709};},{'priority':'high'}),_0x10b123['on']('_sendUsageRequest',_0x4cbdd3=>{_0x4bc762(_0x4cbdd3['return'])&&(_0x3c8598=!0x0,_0x3f6359(_0x4cbdd3['return']));},{'priority':'low'}),_0x3093a0['then'](()=>{_0x3c8598||_0x1a44ef('UsageLimit');});});function _0x4d58cb(){return'auto'==_0x10b123['editing']['view']['_overlayModeHint'];}function _0x22e82e(){_0x10b123['editing']['view']['_overlayModeHint']='auto';}}function _0x162d56(_0x3316d6){const _0x403807=[new window['Promise'](_0x1054ee=>setTimeout(_0x1054ee,0x93ecc)),_0x3093a0['then'](()=>new window['Promise'](_0x4cff27=>{let _0x19a6fc=0x0;_0x10b123['model']['on']('applyOperation',(_0x4cfb05,_0x4c92d2)=>{_0x4c92d2[0x0]['isDocumentOperation']&&_0x19a6fc++,0x5e8==_0x19a6fc&&(_0x4cff27(),_0x4cfb05['off']());});}))];return window['Promise']['race'](_0x403807)['then'](()=>_0x3316d6);}async function _0x2fbf4f(){await _0x3093a0,_0x10b123['model']['change']=_0x1c380f,_0x10b123['model']['enqueueChange']=_0x1c380f,_0x10b123['enableReadOnlyMode']('model');}function _0x4ebce6(_0x19f837){const _0x4f8494=_0x53177f();_0x10b123[_0x4f8494]='uploadcareLicenseKey'+_0x19f837,'Valid'!=_0x19f837&&_0x2fbf4f();}function _0x53177f(){const _0x3dbaf4=window['String'](window['performance']['now']())['replace']('.','');let _0xf9852='h';for(let _0x8b0455=0x0;_0x8b0455<_0x3dbaf4['length'];_0x8b0455+=0x2){let _0x2e91c2=window['parseInt'](_0x3dbaf4['substring'](_0x8b0455,_0x8b0455+0x2));_0x2e91c2>=0x3e&&(_0x2e91c2-=0x3e),_0xf9852+=_0x5b672a[_0x2e91c2];}return _0xf9852;}function _0x461c79(){const _0x47f2ae=_0x46f2aa['split']('.');if(0x3!=_0x47f2ae['length'])return null;return _0x45f237(_0x47f2ae[0x1]);function _0x45f237(_0x32049d){const _0x4643ab=_0xc11d07(_0x32049d);return _0x4643ab&&_0x1242f2()?_0x4643ab:null;function _0x1242f2(){const _0x482417=_0x4643ab['jti'],_0x199132=window['parseInt'](_0x482417['substring'](_0x482417['length']-0x8),0x10),_0x2093ec={..._0x4643ab,'jti':_0x482417['substring'](0x0,_0x482417['length']-0x8)};return delete _0x2093ec['vc'],_0x1fee53(_0x2093ec)==_0x199132;}}}async function _0x532a34(){let _0x32999f=!0x0;try{const [_0x54ac49,_0x4e2fdc,_0x23b4ad]=_0x46f2aa['split']('.');return _0x570547(_0x54ac49),await _0xedc4e5(_0x54ac49,_0x4e2fdc,_0x23b4ad),_0x32999f;}catch{return!0x1;}function _0x570547(_0x15501b){const _0x42dfaa=_0xc11d07(_0x15501b);_0x42dfaa&&'ES256'==_0x42dfaa['alg']||(_0x32999f=!0x1);}async function _0xedc4e5(_0x5d839c,_0x2ef66f,_0x53c2e3){const _0x436c26=window['Uint8Array']['from'](_0x42f5b3(_0x53c2e3),_0x4e3fb4=>_0x4e3fb4['charCodeAt'](0x0)),_0x144391=new window['TextEncoder']()['encode'](_0x5d839c+'.'+_0x2ef66f),_0x1ff036=window['crypto']['subtle'];if(!_0x1ff036)return;const _0x42d30d=await _0x1ff036['importKey']('jwk',_0x3dc4d7,{'name':'ECDSA','namedCurve':'P-256'},!0x1,['verify']);await _0x1ff036['verify']({'name':'ECDSA','hash':{'name':'SHA-256'}},_0x42d30d,_0x436c26,_0x144391)||(_0x32999f=!0x1);}}function _0xc11d07(_0x22e479){return _0x22e479['startsWith']('ey')?JSON['parse'](_0x42f5b3(_0x22e479)):null;}function _0x42f5b3(_0x56c2b1){return window['atob'](_0x56c2b1['replace'](/-/g,'+')['replace'](/_/g,'/'));}function _0x1fee53(_0x144cf7){let _0x1b5354=0x1505;function _0x45722c(_0x169ea0){for(let _0x11828d=0x0;_0x11828d<_0x169ea0['length'];_0x11828d++){const _0x386cce=_0x169ea0['charCodeAt'](_0x11828d);_0x1b5354=(_0x1b5354<<0x5)+_0x1b5354+_0x386cce,_0x1b5354&=_0x1b5354;}}function _0x47e276(_0x19679e){Array['isArray'](_0x19679e)?_0x19679e['forEach'](_0x47e276):_0x19679e&&'object'==typeof _0x19679e?Object['entries'](_0x19679e)['sort']()['forEach'](([_0x4a240b,_0xa9d5a5])=>{_0x45722c(_0x4a240b),_0x47e276(_0xa9d5a5);}):_0x45722c(window['String'](_0x19679e));}return _0x47e276(_0x144cf7),_0x1b5354>>>0x0;}function _0x279685(_0x24e665){return _0x24e665['toString'](0x10)['padStart'](0x8,'0');}function _0x10166a(_0x3ef996){return _0x3ef996['split']('')['reverse']()['join']('');}function _0x1c380f(){}_0x4ebce6(await _0x4f71d9());}(this);}_initSchema(){const _0x593273=this['editor']['model']['schema'];_0x593273['isRegistered']('imageBlock')&&_0x593273['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x593273['isRegistered']('imageInline')&&_0x593273['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}_initConversion(){const _0x1deacd=this['editor'];_0x1deacd['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x1deacd['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x5b201d=>_0x5b201d['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x216b8d=_0x1deacd['commands']['get']('replaceImageSource');_0x216b8d&&this['listenTo'](_0x216b8d,'cleanupImage',(_0xac69e8,[_0x377d45,_0x277fa0])=>{_0x377d45['removeAttribute']('uploadcareImageId',_0x277fa0);});}_initConfig(){const _0xd1db02=this['editor']['config']['get']('uploadcare.uploader')||{},_0x4a16f9=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x370bce(_0xae4e85['document'],'uc-config',{..._0xd1db02,'pubkey':_0x4a16f9,'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']=_0x3a9e13=>{if('closeMax'==_0x3a9e13)return'#uc-icon-arrow-down';},_0xae4e85['document']['body']['appendChild'](this['_configElement']);}_initCtx(){this['_ctxElement']=_0x370bce(_0xae4e85['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),_0xae4e85['document']['body']['appendChild'](this['_ctxElement']);}_initImageProcessingIndicator(){const _0x43aa94=this['editor']['commands']['get']('insertImage');_0x43aa94&&this['listenTo'](_0x43aa94,'execute',()=>{const _0xbce40b=this['editor']['model']['document']['selection']['getSelectedElement']();_0xbce40b&&_0xbce40b['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{q(this['editor'],_0xbce40b);});});const _0x464ac0=this['editor']['commands']['get']('uploadcareImageReplace');_0x464ac0&&this['listenTo'](_0x464ac0,'execute',()=>{const _0x373258=this['editor']['model']['document']['selection']['getSelectedElement']();_0x373258&&_0x373258['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{q(this['editor'],_0x373258);});});}},Y=class extends _0x4c8cbd{static get requires(){return[Z,V];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x488635){super(_0x488635),_0x488635['config']['define']('uploadcare.uploader.sourceList',['local','url']),_0xe0349c['defineComponents'](_0xe0349c),this['_defineLocale']();}['_defineLocale'](){const _0x295941=this['editor']['config']['get']('uploadcare.locale'),_0x14006d=this['editor']['locale']['contentLanguage'];_0x295941&&_0xe0349c['defineLocale'](_0x14006d,_0x295941);}},tt=class extends _0x4b5767{constructor(_0x5cbe73){super(_0x5cbe73);const t=_0x5cbe73['t'],_0x4c6317=this['bindTemplate'],_0x59ed7a=new _0x59b71f();_0x59ed7a['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':[_0x59ed7a,{'text':_0x4c6317['to']('imageUploadProgress',_0x3f7e24=>t('Loading\x20image...')+'\x20('+(_0x3f7e24||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 _0x4b5767{constructor(_0x412b74){super(_0x412b74);const t=_0x412b74['t'];this['set']('errorType',null);const _0x361d82=new _0x4c8b64(_0x412b74);_0x361d82['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x361d82['withText']=!0x0,_0x361d82['class']='ck-button-action',_0x361d82['on']('execute',()=>{this['fire']('retry');}),_0x361d82['bind']('isVisible')['to'](this,'errorType',_0xadbd83=>'NotFound'!==_0xadbd83);const _0x4eca82=new _0x21244a();_0x4eca82['content']=_0x95436,_0x4eca82['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x49e833=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':[_0x4eca82,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x49e833['to']('errorType',_0x64b34f=>t('NotFound'!==_0x64b34f?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x361d82]},{'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 _0x4b5767{constructor(_0x21d310,_0xd68f11){super(_0x21d310);const _0x26d075=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0xd68f11,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x26d075['to']('imageSrc')}});}},st=class extends F{_items;['_loadingView'];['_errorView'];_editingView;['_focusableView'];constructor(_0x38675a,_0x1498d2,_0x2e9749){super(_0x38675a),this['_items']=this['createCollection'](),this['_loadingView']=new tt(_0x38675a),this['_errorView']=new et(_0x38675a),this['_editingView']=new it(_0x38675a,_0x2e9749),this['_focusableView']=new _0x4b5767(_0x38675a),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x1498d2),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'],_0x37b7ac=>{this['_addUploadcareImageEditorListeners'](_0x37b7ac);});}),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(_0x2cb4d9,_0x4b9012){const _0x2d68e6='uc-cloud-image-editor',_0x5a51f8=_0x2cb4d9['querySelector'](_0x2d68e6);if(_0x5a51f8)return _0x4b9012(_0x5a51f8);const _0xaf17d4=new MutationObserver(_0x51f121=>{const _0x220080=_0x51f121['filter'](_0x10be3a=>_0x10be3a['target']===_0x2cb4d9&&_0x10be3a['addedNodes']['length']>0x0&&_0x10be3a['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x2d68e6);_0x220080['length']&&(_0xaf17d4['disconnect'](),_0x4b9012(_0x220080[0x0]['addedNodes'][0x0]));});_0xaf17d4['observe'](_0x2cb4d9,{'childList':!0x0,'subtree':!0x0});}_addUploadcareImageEditorListeners(_0x34945c){_0x34945c['addEventListener']('apply',_0x3eea46=>{this['fire']('apply',{'imageSrc':_0x3eea46['detail']['cdnUrl']});}),_0x34945c['addEventListener']('cancel',()=>{this['fire']('cancel');});}_addErrorViewListeners(){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}};const rt=/* #__PURE__ -- @preserve */
|
|
25
|
-
_0x4a27c3();var nt=class extends rt{_editor;['_dialog'];_imageElement;['_imageCache'];_controller;_attributes;constructor(_0xd879bd,_0x1e4f84,_0x54b693){super(),this['_editor']=_0xd879bd,this['_dialog']=_0x1e4f84,this['_imageElement']=_0x54b693,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 _0x5d42c3=this['_imageElement'],_0x563d57=_0x5d42c3['getAttribute']('uploadcareImageId'),_0x8188a1=_0x5d42c3['getAttribute']('src');if(_0x563d57)await this['_loadImageInfo'](_0x563d57,_0x8188a1);else{if(this['_imageCache']['has'](_0x8188a1)){const _0x4629f4=this['_imageCache']['get'](_0x8188a1);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x4629f4['url'],this['imageDimension']=_0x4629f4['dimension'],this['imageId']=_0x4629f4['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x38079c}=this['_editor'],t=_0x38079c['t'],_0x3a8ba1=new st(_0x38079c,this['imageStatus'],this['_attributes']);_0x3a8ba1['bind']('status')['to'](this,'imageStatus'),_0x3a8ba1['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x3a8ba1['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x3a8ba1['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x3a8ba1,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x12e540,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x3a8ba1,'position':_0xb89c9c['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x3a8ba1['focus']();},'onHide':()=>{_0x3a8ba1['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x4d091b=>!H(_0x4d091b,_0x3a8ba1['element'])}});}['_loadImageInfo'](_0x5be9e7,_0x1caa0b){return Q['getInfo'](_0x5be9e7,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x415f10=>{const {width:_0x3dcd70,height:_0x4342bb}=_0x415f10['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x1caa0b,this['imageDimension']={'width':_0x3dcd70,'height':_0x4342bb},this['imageId']=_0x5be9e7;})['catch'](_0x480dc3=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x480dc3['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x148a7c,_0x4c56a3){return this['_getImageAsFile'](_0x148a7c)['then'](_0xa1a512=>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':_0x4c56a3['signal'],'file':_0xa1a512,'onProgress':_0x12e3a9=>{_0x12e3a9&&_0x12e3a9['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x12e3a9['value']));}}))['then'](_0x30ed08=>{const {width:_0x3d8d0b,height:_0x39a6e7}=_0x30ed08['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x30ed08['cdnUrl'],this['imageDimension']={'width':_0x3d8d0b,'height':_0x39a6e7},this['imageId']=_0x30ed08['uuid'],this['imageUploadProgress']=null;const _0x453959=_0x148a7c['getAttribute']('src');this['_imageCache']['set'](_0x453959,{'id':_0x30ed08['uuid'],'url':_0x30ed08['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x5dbe62=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x5dbe62['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}_addEditViewListeners(_0x577c92,_0x5e9f7a){_0x577c92['on']('apply',(_0x4d8a53,_0x29c23c)=>{this['_replaceImage'](_0x5e9f7a,_0x29c23c['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x577c92['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x577c92['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x51ea63,_0x13ab43,_0x359bd7){const _0x1858e2=this['_editor'],{width:_0x1229c8,height:_0x315913}=j(_0x13ab43,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x422f8f,imageSources:_0x23d3ab}=B(_0x13ab43,_0x1229c8);_0x1858e2['model']['change'](_0x204768=>{if('$graveyard'!==_0x51ea63['root']['rootName'])_0x204768['setSelection'](_0x51ea63,'on'),_0x1858e2['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x51ea63['getAttributes']()),'uploadcareImageId':_0x359bd7,'src':_0x422f8f,'sources':_0x23d3ab,'width':_0x1229c8,'height':_0x315913},_0x51ea63);else{_0x1858e2['execute']('insertImage',{'imageType':_0x51ea63['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x51ea63['getAttributes']()),'uploadcareImageId':_0x359bd7,'src':_0x422f8f,'sources':_0x23d3ab,'width':_0x1229c8,'height':_0x315913}});const _0x32cf5d=_0x51ea63['getChildren']();_0x51ea63=_0x1858e2['model']['document']['selection']['getSelectedElement']();for(const _0x4cd4ca of _0x32cf5d)_0x204768['append'](_0x204768['cloneElement'](_0x4cd4ca),_0x51ea63);}_0x204768['setSelection'](_0x51ea63,'on');});}async _getImageAsFile(_0x239ec4){const _0x171f18=_0xae4e85['window'],_0x2d71cb=_0xae4e85['document']['location']['href'],_0x81d663=new _0x171f18['URL'](_0x239ec4['getAttribute']('src'),_0x2d71cb);if('data:'===_0x81d663['protocol']){const _0x386db6=_0x81d663['href']['split'](','),_0x3af743=_0x386db6[0x0]['match'](/:(.*?);/)[0x1],_0x182208=_0x3af743['split']('/')[0x1],_0x3987f0=_0x171f18['atob'](_0x386db6[_0x386db6['length']-0x1]);let _0x32b63b=_0x3987f0['length'];const _0x375552=new _0x171f18['Uint8Array'](_0x32b63b);for(;_0x32b63b--;)_0x375552[_0x32b63b]=_0x3987f0['charCodeAt'](_0x32b63b);return new _0x171f18['File']([_0x375552],'image.'+_0x182208,{'type':_0x3af743});}const _0x228473=_0x81d663['href']['split']('/'),_0x532553=_0x228473[_0x228473['length']-0x1],_0x5555d2=_0x532553['split']('.')[0x1];return _0x171f18['fetch'](_0x81d663['href'])['then'](_0x41a85e=>_0x41a85e['clone']()['blob']())['then'](_0x1dcba7=>new _0x171f18['File']([_0x1dcba7],_0x532553,{'type':'image/'+_0x5555d2}));}},at=class extends _0x1a0a06{imageEditController;static get requires(){return[_0x345299];}_isEditable;constructor(_0x55e301){super(_0x55e301),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x41ce06){const _0x155855=M(_0x41ce06);return _0x5ca230=>!(!_0x5ca230||!_0x5ca230['is']('element','imageBlock')&&!_0x5ca230['is']('element','imageInline'))&&(!!_0x5ca230['hasAttribute']('uploadcareImageId')||!!_0x5ca230['hasAttribute']('src')&&_0x155855(_0x5ca230['getAttribute']('src')));}(_0x55e301['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x4c669c=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x4c669c);}execute(){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x2d78e4=this['editor']['model']['document']['selection']['getSelectedElement']();_0x2d78e4&&(_0x2d78e4['is']('element','imageBlock')||_0x2d78e4['is']('element','imageInline'))&&(this['imageEditController']=new nt(this['editor'],this['editor']['plugins']['get'](_0x345299),_0x2d78e4),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}},ot=class extends _0x1a0a06{['refresh'](){const _0x56fc6b=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x56fc6b&&(_0x56fc6b['is']('element','imageBlock')||_0x56fc6b['is']('element','imageInline')));}execute(_0x125f72){const _0x2385c3=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x33c3a2=>{_0x33c3a2['setAttributes'](_0x125f72,_0x2385c3),_0x33c3a2['removeAttribute']('srcset',_0x2385c3),_0x33c3a2['removeAttribute']('sizes',_0x2385c3);});}},ct=class extends _0x4c8cbd{static get['pluginName'](){return'UploadcareImageEditEditing';}static get requires(){return[Z,_0x1cea7d,_0x4e9fbc,_0x482d7e];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}init(){const {editor:_0x12319f}=this;_0x12319f['commands']['add']('uploadcareImageEdit',new at(_0x12319f)),_0x12319f['commands']['add']('uploadcareImageReplace',new ot(_0x12319f));}},lt=class extends _0x4c8cbd{['_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 _0xc51ea5=this['editor'];_0xc51ea5['ui']['componentFactory']['add']('uploadcareImageEdit',_0x3ee051=>{const _0x46215f=_0xc51ea5['commands']['get']('uploadcareImageEdit'),_0x528206=new _0x4c8b64(_0x3ee051),t=_0x3ee051['t'];return _0x528206['set']({'icon':_0x12e540,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x528206['bind']('isEnabled')['to'](_0x46215f),_0x528206['bind']('isOn')['to'](_0x46215f,'isActive'),this['listenTo'](_0x528206,'execute',()=>{_0xc51ea5['execute']('uploadcareImageEdit'),_0xc51ea5['editing']['view']['focus']();}),_0x528206;}),this['_initConfig']();}_initConfig(){const _0x1fe0d7=_0x370bce(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x1fe0d7),this['listenTo'](this['editor'],'destroy',()=>{_0x1fe0d7['remove']();});}},ut=class extends _0x4c8cbd{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 _0x55737e,Plugin as _0x154005}from'@ckeditor/ckeditor5-core';import{IconDropbox as _0x5f534e,IconError as _0x42b1eb,IconFacebook as _0x3c5aaf,IconGoogleDrive as _0x30d30f,IconGooglePhotos as _0x27d083,IconOneDrive as _0x1fc18d,IconUploadcareImageEdit as _0x54addb,IconUploadcareImageUpload as _0x515ba4,IconUploadcareLink as _0x5b8875}from'@ckeditor/ckeditor5-icons';import{ButtonView as _0x1bd6ef,Dialog as _0x57118f,DialogViewPosition as _0x1d3a1b,FocusCycler as _0x380d67,IconView as _0x506888,MenuBarMenuListItemButtonView as _0xe4a21b,Notification as _0x23a863,SpinnerView as _0x4e386a,View as _0x1faacd}from'@ckeditor/ckeditor5-ui';import{DomEmitterMixin as _0x56c799,FocusTracker as _0xef927f,ObservableMixin as _0x2bc062,createElement as _0x2834d6,getAncestors as _0x36478a,global as _0x1a3e19,uid as _0x468393}from'@ckeditor/ckeditor5-utils';import{ImageEditing as _0xbeca2f,ImageUploadEditing as _0x49196a,ImageUploadProgress as _0x391a27,ImageUtils as _0x4176da,PictureEditing as _0x3adadf}from'@ckeditor/ckeditor5-image';import{FileRepository as _0x5a389b}from'@ckeditor/ckeditor5-upload';import{info as _0x59777,uploadFile as _0x3505e3}from'@uploadcare/upload-client';import*as _0x470289 from'@uploadcare/file-uploader/web/file-uploader.min.js';function T(_0x428cf3,_0x3a557c,_0x2266b6){const t=_0x428cf3['t'],_0x508e55=_0x428cf3['t'];switch(_0x3a557c){case'local':return{'text':_0x508e55('Insert'===_0x2266b6?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x508e55('From\x20computer')};case'url':return{'text':'Insert'===_0x2266b6?_0x508e55('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x508e55('Via\x20URL')};case'dropbox':return{'text':t('Insert'===_0x2266b6?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case'facebook':return{'text':t('Insert'===_0x2266b6?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case'gdrive':return{'text':t('Insert'===_0x2266b6?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case'gphotos':return{'text':t('Insert'===_0x2266b6?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case'onedrive':return{'text':t('Insert'===_0x2266b6?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x3a557c;}}var V=class extends _0x154005{['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 _0x2339e5=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x34502c;for(const _0x6ecc99 in _0x2339e5){const _0x1a3758=_0x6ecc99,_0x3b89db=_0x2339e5[_0x1a3758];if('uploadcareLicenseKeyValid'==_0x3b89db||'uploadcareLicenseKeyInvalid'==_0x3b89db||'uploadcareLicenseKeyExpired'==_0x3b89db||'uploadcareLicenseKeyDomainLimit'==_0x3b89db||'uploadcareLicenseKeyNotAllowed'==_0x3b89db||'uploadcareLicenseKeyEvaluationLimit'==_0x3b89db||'uploadcareLicenseKeyUsageLimit'==_0x3b89db){delete _0x2339e5[_0x1a3758],_0x34502c=_0x3b89db,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x34502c&&_0x2339e5['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x34502c&&_0x2339e5['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x34502c&&_0x2339e5['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x34502c&&_0x2339e5['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x34502c&&_0x2339e5['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyUsageLimit'==_0x34502c&&_0x2339e5['_showLicenseError']('usageLimit');},0x3e8);}afterInit(){const {editor:_0x305795}=this,_0x2b9668=_0x305795['commands']['get']('uploadcare');if(!_0x2b9668)return;const _0x4a8122=this['_normalizeConfigSourceList'](_0x305795['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x5799ce,_0xfc0472)=>{const _0x2b8d97=this['_getIntegrationKey'](_0xfc0472['type']);return _0x5799ce[_0x2b8d97]||(_0x5799ce[_0x2b8d97]=[]),_0x5799ce[_0x2b8d97]['push'](_0xfc0472),_0x5799ce;},{});_0x305795['plugins']['has']('ImageInsertUI')&&_0x305795['commands']['get']('uploadcare')&&Object['entries'](_0x4a8122)['forEach'](([_0x100be1,_0x331403])=>{_0x305795['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x100be1,'observable':()=>_0x2b9668,'buttonViewCreator':()=>this['_createToolbarButton'](_0x331403),'formViewCreator':()=>this['_createDropdownButtons'](_0x331403),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x331403),'override':'assetManager'!==_0x100be1});});}destroy(){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}_normalizeConfigSourceList(_0x4514e2){const {locale:_0x1237f6}=this['editor'];return _0x4514e2['map'](_0x3220b5=>{const _0x1dc1bc=T(_0x1237f6,_0x3220b5,'Insert');switch(_0x3220b5){case'local':return{'icon':_0x515ba4,'type':'local',..._0x1dc1bc};case'url':return{'icon':_0x5b8875,'type':'url',..._0x1dc1bc};case'dropbox':return{'icon':_0x5f534e,'type':'dropbox',..._0x1dc1bc};case'facebook':return{'icon':_0x3c5aaf,'type':'facebook',..._0x1dc1bc};case'gdrive':return{'icon':_0x30d30f,'type':'gdrive',..._0x1dc1bc};case'gphotos':return{'icon':_0x27d083,'type':'gphotos',..._0x1dc1bc};case'onedrive':return{'icon':_0x1fc18d,'type':'onedrive',..._0x1dc1bc};}});}_getIntegrationKey(_0x49e595){switch(_0x49e595){case'local':return'upload';case'url':return'url';default:return'assetManager';}}_createButton(_0x8e35d4,_0x4679a9){const _0xd8cf5f=this['editor'],_0x212861=new _0x8e35d4(_0xd8cf5f['locale']),_0x2b9a38=_0xd8cf5f['commands']['get']('uploadcare');return _0x212861['bind']('isEnabled')['to'](_0x2b9a38),_0x212861['on']('execute',()=>{_0x2b9a38['execute'](_0x4679a9);}),_0x212861;}_createToolbarButton(_0x40de76){const {locale:_0x436f5d}=this['editor'],_0x3436ab=this['editor']['plugins']['get']('ImageInsertUI'),_0x38d147=_0x40de76[0x0],_0x40437d=this['_createButton'](_0x1bd6ef,_0x38d147['type']);return _0x40437d['icon']=_0x38d147['icon'],_0x40437d['bind']('label')['to'](_0x3436ab,'isImageSelected',_0x361a7b=>T(_0x436f5d,_0x38d147['type'],_0x361a7b?'Replace':'Insert')['text']),_0x40437d['tooltip']=!0x0,_0x40437d;}_createDropdownButtons(_0x265295){const {locale:_0x2a6f0d}=this['editor'],_0x70127=this['editor']['plugins']['get']('ImageInsertUI');return _0x265295['map'](_0x441302=>{const _0x41ab00=this['_createButton'](_0x1bd6ef,_0x441302['type']);return _0x41ab00['withText']=!0x0,_0x41ab00['icon']=_0x441302['icon'],_0x41ab00['bind']('label')['to'](_0x70127,'isImageSelected',_0x4a6323=>T(_0x2a6f0d,_0x441302['type'],_0x4a6323?'Replace':'Insert')['text']),_0x41ab00;});}_createMenuBarButtons(_0x44901e){return _0x44901e['map'](_0x2178b7=>{const _0x4e76ab=this['_createButton'](_0xe4a21b,_0x2178b7['type']);return _0x4e76ab['icon']=_0x2178b7['icon'],_0x4e76ab['label']=_0x2178b7['shortText'],_0x4e76ab;});}},F=class extends _0x1faacd{['focusTracker'];['focusCycler'];constructor(_0x228791){super(_0x228791),this['focusTracker']=new _0xef927f(),this['focusCycler']=new _0x380d67({'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(_0x245166,_0x4bec36){super(_0x245166),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-'+_0x4bec36}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}};function B(_0x3d70e4,_0x35eb39){const _0x2a900e=_0x3d70e4['replace'](/\/$/,'');return{'imageFallbackUrl':_0x3d70e4,'imageSources':[{'srcset':[...[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x33e142=>_0x33e142<_0x35eb39)['map'](_0x1d87f0=>_0x2a900e+'/-/resize/'+_0x1d87f0+'x/\x20'+_0x1d87f0+'w'),_0x3d70e4+'\x20'+_0x35eb39+'w']['join'](',\x20'),'sizes':'(max-width:\x20'+_0x35eb39+'px)\x20100vw,\x20'+_0x35eb39+'px','type':'image/webp'}]};}function j(_0x4ef2d1,_0xd26997,_0x265e31){const _0x43c0cf=_0x4ef2d1['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x43c0cf?parseInt(_0x43c0cf[0x1],0xa):_0xd26997,'height':_0x43c0cf?parseInt(_0x43c0cf[0x2],0xa):_0x265e31};}function q(_0x42e58a,_0x1c865a){const _0x99eb86=new(_0x56c799())(),_0x27ca50=_0x42e58a['plugins']['get']('ImageUtils'),_0x57e061=_0x42e58a['editing']['mapper']['toViewElement'](_0x1c865a),_0x23b0ee=_0x27ca50['findViewImgElement'](_0x57e061),_0x3788c8=_0x42e58a['editing']['view']['domConverter']['viewToDom'](_0x23b0ee),_0x2c2408=_0x1c865a['getAttribute']('width'),_0x3600f1=_0x1c865a['getAttribute']('height'),_0x880648='image-processing';_0x42e58a['editing']['view']['change'](_0x3951c9=>{_0x3951c9['addClass'](_0x880648,_0x57e061),_0x3951c9['setStyle']('aspect-ratio',_0x2c2408+'/'+_0x3600f1,_0x23b0ee);}),_0x99eb86['listenTo'](_0x3788c8,'load',()=>{_0x99eb86['stopListening'](_0x3788c8,'load'),_0x42e58a['editing']['view']['change'](_0x487ce4=>{_0x487ce4['removeClass'](_0x880648,_0x57e061),_0x487ce4['removeStyle']('aspect-ratio',_0x23b0ee);});});}function M(_0x384cca){if(Array['isArray'](_0x384cca)){const _0x20e2c1=_0x384cca['map'](M);return _0x179daf=>_0x20e2c1['some'](_0x7c97a7=>_0x7c97a7(_0x179daf));}if('origin'==_0x384cca){const _0x20618c=_0x1a3e19['window']['location']['origin'];return _0x141804=>new URL(_0x141804,_0x1a3e19['document']['baseURI'])['origin']==_0x20618c;}return'function'==typeof _0x384cca?_0x384cca:_0x384cca instanceof RegExp?_0xbeefaa=>!(!_0xbeefaa['match'](_0x384cca)&&!_0xbeefaa['replace'](/^https?:\/\//,'')['match'](_0x384cca)):()=>!0x1;}function H(_0x2a5f10,_0x47a5bf){return _0x36478a(_0x2a5f10['target'])['includes'](_0x47a5bf);}const W=/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x2bc062();var G=class extends W{_editor;['_dialog'];_editing;['_api'];_type=null;['_formView']=null;constructor(_0x4ba0cf,_0x1715f4,_0x112206){super(),this['_editor']=_0x4ba0cf,this['_editing']=_0x1715f4,this['_dialog']=_0x4ba0cf['plugins']['get'](_0x57118f),this['_api']=_0x1715f4['ctxElement']['getAPI'](),this['_type']=_0x112206,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:_0x209cb0,model:_0x459427}=this['_editor'],_0x1c84ff=_0x459427['document']['selection']['getSelectedElement'](),_0x467ede=_0x1c84ff&&(_0x1c84ff['is']('element','imageBlock')||_0x1c84ff['is']('element','imageInline'));this['_formView']=new $(_0x209cb0,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':_0x515ba4,'title':T(_0x209cb0,this['_type'],_0x467ede?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x1d3a1b['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x172fe8=>!H(_0x172fe8,this['_formView']['element'])}});}_initListeners(){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x4c84a9}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x3ef3cf=>{const _0x2e03c5=_0x4c84a9['length'];for(const _0x5f0df8 of _0x4c84a9){const _0x394d42=_0x5f0df8===_0x4c84a9[_0x2e03c5-0x1],{cdnUrl:_0x4aa044,fileInfo:_0x27fe73}=_0x5f0df8;if(!_0x4aa044||!_0x27fe73)continue;const {width:_0x1b404a,height:_0x3f209e}=_0x27fe73['imageInfo'],_0x16d430=j(_0x4aa044,_0x1b404a,_0x3f209e),_0x43f44f=B(_0x4aa044,_0x16d430['width']),_0x1dfa48={'id':_0x27fe73['uuid'],'type':'image','attributes':{'imageDimension':_0x16d430,..._0x43f44f}};this['_insertAsset'](_0x1dfa48,_0x394d42,_0x3ef3cf);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x493e74=>{'idle'===_0x493e74['detail']['status']&&!_0x493e74['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&('local'===this['_type']?this['_api']['setCurrentActivity']('start-from'):this['_api']['initFlow']());});}_insertAsset(_0x4fcdb8,_0x37a6cd,_0x582f56){const _0xe5842f=this['_editor']['model']['document']['selection'],_0x509f76=_0xe5842f['getSelectedElement'](),_0x54725f=!(!_0x509f76||!_0x509f76['is']('element','imageInline'));_0x582f56['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x4fcdb8,_0x54725f),_0x37a6cd||_0x582f56['setSelection'](_0xe5842f['getLastPosition']());}_insertImage(_0x3e9825,_0x1c98f2){const _0x4dcbf0=this['_editor'],{imageDimension:_0x2b4961,imageFallbackUrl:_0x519a01,imageSources:_0x5414d2}=_0x3e9825['attributes'];_0x4dcbf0['execute']('insertImage',{'imageType':_0x1c98f2?'imageInline':null,'source':{'uploadcareImageId':_0x3e9825['id'],'src':_0x519a01,'sources':_0x5414d2,..._0x2b4961}});}},z=class extends _0x55737e{_editing;_controller=null;static get requires(){return[_0x57118f,Z];}constructor(_0x14d8fa){super(_0x14d8fa),this['_editing']=_0x14d8fa['plugins']['get'](Z);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}execute(_0x54761f){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new G(this['editor'],this['_editing'],_0x54761f);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}},Q=class{static['upload']({file:_0x5f1fd4,..._0x32183b}){return _0x3505e3(_0x5f1fd4,_0x32183b);}static getInfo(_0x1a851e,_0x1611c2){return _0x59777(_0x1a851e,_0x1611c2);}},J=class extends _0x154005{static get requires(){return[_0x49196a,_0x391a27,_0x5a389b,Z];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async afterInit(){const _0x57a4af=this['editor'];if(!_0x57a4af['config']['get']('uploadcare'))return;_0x57a4af['plugins']['get'](_0x5a389b)['createUploadAdapter']=_0x579950=>new X(_0x579950,_0x57a4af),_0x57a4af['plugins']['get'](_0x49196a)['on']('uploadComplete',(_0x4a9fed,{imageElement:_0x530856,data:_0x575fee})=>{_0x57a4af['model']['change'](_0x6b2b6c=>{_0x6b2b6c['setAttribute']('uploadcareImageId',_0x575fee['uploadcareImageId'],_0x530856);});});}},X=class{['loader'];editor;controller;constructor(_0x5f56ad,_0x2077ee){this['loader']=_0x5f56ad,this['editor']=_0x2077ee,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x5e0e9d=await this['loader']['file'];return Q['upload']({'file':_0x5e0e9d,'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':_0x11be19=>{_0x11be19&&_0x11be19['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x11be19['value']);}})['then'](async _0x3110b1=>{const {imageFallbackUrl:_0x35724a,imageSources:_0x598494}=B(_0x3110b1['cdnUrl'],_0x3110b1['imageInfo']['width']);return{'uploadcareImageId':_0x3110b1['uuid'],'default':_0x35724a,'sources':_0x598494};})['catch'](()=>{const _0x26cd50=t('Cannot\x20upload\x20file:')+('\x20'+_0x5e0e9d['name']+'.');return Promise['reject'](_0x26cd50);});}abort(){this['controller']['abort']();}},Z=class extends _0x154005{_configElement=null;_ctxElement=null;static get['pluginName'](){return'UploadcareEditing';}static get requires(){return[_0x3adadf,J,_0x57118f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}ucContextId;get configElement(){return this['_configElement'];}get ctxElement(){return this['_ctxElement'];}constructor(_0x2cda3b){super(_0x2cda3b),this['ucContextId']=_0x468393();}init(){const _0x3ab953=this['editor'];_0x3ab953['commands']['add']('uploadcare',new z(_0x3ab953));}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 _0x561be4=_0x1a3e19['document']['querySelector']('input[uploadcare-file-input]');_0x561be4&&_0x561be4['remove']();}),async function(_0x3bdcc5){const _0x422663='hgP68pqc7OBJx9u3zrHatYUXf04TdVkMFmwCs5SDAvj21iWQGeZKLyRlENnoIb',_0x545f70=0x79170,_0x4e4876=window['Date']['now'](),_0x255abb=_0x3bdcc5['editor'],_0xc05097=new window['Promise'](_0x58b71f=>{_0x255abb['once']('ready',_0x58b71f);}),_0x1c40b2={'kty':'EC','use':'sig','crv':'P-256','x':'iCjOCvDFI6lQHHT18jVwRfkfHQ2a_MymT35LQVoFSAI','y':'kXIyJ4evtCEFRmxKSUpK9fDW459vXOvVrhf6uQAeOio','alg':'ES256'},_0x37b3bf=_0x255abb['config']['get']('licenseKey');async function _0xbf820f(){let _0x29cda,_0x2a2f63=null,_0xc7757e=null;try{return'GPL'==_0x37b3bf?'NotAllowed':(_0x29cda=_0x490308(),_0x29cda?(_0x29cda['usageEndpoint']&&(_0xc7757e=_0x12f520(_0x29cda['usageEndpoint'],_0x29cda['jti'])),await _0xb65de5()?_0x12d667()?_0x335b04()?'Expired':_0x4432ed()?('evaluation'==_0x29cda['licenseType']&&(_0x2a2f63=_0x2541d1('EvaluationLimit')),await _0xd5f539()):'DomainLimit':'NotAllowed':'Invalid'):'Invalid');}catch{return'Invalid';}function _0x335b04(){const _0x458b00=['evaluation','trial']['includes'](_0x29cda['licenseType'])?_0x4e4876/0x3e8:0xe10*_0x545f70;return _0x29cda['exp']<_0x458b00;}function _0x12d667(){const _0x1f10bf=_0x29cda['features'];return!!_0x1f10bf&&(!!_0x1f10bf['includes']('*')||!!_0x1f10bf['includes']('UPLC'));}function _0x4432ed(){const _0x27fc29=_0x29cda['licensedHosts'];if(!_0x27fc29||0x0==_0x27fc29['length'])return!0x0;const {hostname:_0x1ea709}=new URL(window['location']['href']);if(_0x27fc29['includes'](_0x1ea709))return!0x0;const _0xb5662b=_0x1ea709['split']('.');return _0x27fc29['filter'](_0x3c7d3b=>_0x3c7d3b['includes']('*'))['map'](_0x14c662=>_0x14c662['split']('.'))['filter'](_0x597d11=>_0x597d11['length']<=_0xb5662b['length'])['map'](_0x3339b0=>Array(_0xb5662b['length']-_0x3339b0['length'])['fill']('*'===_0x3339b0[0x0]?'*':'')['concat'](_0x3339b0))['some'](_0x3b187a=>_0xb5662b['every']((_0xccd368,_0x456ba5)=>_0x3b187a[_0x456ba5]===_0xccd368||'*'===_0x3b187a[_0x456ba5]));}function _0xd5f539(){return _0x2a2f63&&_0xc7757e?new window['Promise']((_0x451d6b,_0x570032)=>{_0x2a2f63['then'](_0x451d6b,_0x570032),_0xc7757e['then'](_0x145179=>{'Valid'!=_0x145179&&_0x451d6b(_0x145179);},_0x570032);}):_0x2a2f63||_0xc7757e||'Valid';}}function _0x12f520(_0x243104,_0x211145){return new window['Promise'](_0x4c4466=>{if(_0x30048f())return _0x4c4466('Valid');_0x1d90f3(),_0x255abb['decorate']('_sendUsageRequest');let _0x131e69=!0x1;const _0xfeaa7c=_0x468393();function _0x37da80(_0xee56b4){return!!_0xee56b4&&('object'==typeof _0xee56b4||'function'==typeof _0xee56b4)&&'function'==typeof _0xee56b4['then']&&'function'==typeof _0xee56b4['catch'];}function _0x1a172e(_0x4184a1){_0x50b449(_0x4184a1)['then'](_0x5de97e=>_0x5de97e&&'ok'==_0x5de97e['status']?_0x103e14(_0xbe574a(_0xfeaa7c+_0x211145))!=_0x5de97e['verification']?'UsageLimit':'Valid':'UsageLimit')['then'](_0x2db343=>(_0x4ee0b7(),_0x2db343),()=>{const _0x1ee1fe=_0x381afe();return null==_0x1ee1fe?(_0x4ee0b7(),'Valid'):_0x4e4876-_0x1ee1fe>0x240c8400?'UsageLimit':'Valid';})['then'](_0x4c4466)['catch'](()=>{_0x4c4466('UsageLimit');});const _0x219579=0x36ee80;function _0x4ee0b7(){const _0xb56e99='llct-'+_0x103e14(_0xbe574a(_0x243104)),_0x368ada=_0xe64d78(_0x103e14(window['Math']['ceil'](_0x4e4876/_0x219579)));window['localStorage']['setItem'](_0xb56e99,_0x368ada);}function _0x381afe(){const _0x2d6b00='llct-'+_0x103e14(_0xbe574a(_0x243104)),_0x35c39a=window['localStorage']['getItem'](_0x2d6b00);return _0x35c39a?window['parseInt'](_0xe64d78(_0x35c39a),0x10)*_0x219579:null;}function _0x50b449(_0x3ca680){return new window['Promise']((_0x1c9c81,_0x1e45bf)=>{_0x3ca680['then'](_0x1c9c81,_0x1e45bf),window['setTimeout'](_0x1e45bf,0x1d4c0);});}}_0x255abb['on']('_sendUsageRequest',(_0x25f8ab,_0x268fad)=>{if(_0x268fad[0x0]!=_0x243104)return _0x4c4466('UsageLimit');_0x268fad[0x1]={..._0x268fad[0x1],'requestId':_0xfeaa7c};},{'priority':'high'}),_0x255abb['on']('_sendUsageRequest',_0x485829=>{_0x37da80(_0x485829['return'])&&(_0x131e69=!0x0,_0x1a172e(_0x485829['return']));},{'priority':'low'}),_0xc05097['then'](()=>{_0x131e69||_0x4c4466('UsageLimit');});});function _0x30048f(){return'auto'==_0x255abb['editing']['view']['_overlayModeHint'];}function _0x1d90f3(){_0x255abb['editing']['view']['_overlayModeHint']='auto';}}function _0x2541d1(_0x5d1de8){const _0x2efa39=[new window['Promise'](_0x24e5f6=>setTimeout(_0x24e5f6,0x93ecc)),_0xc05097['then'](()=>new window['Promise'](_0x57f0dd=>{let _0x128ccc=0x0;_0x255abb['model']['on']('applyOperation',(_0x1af841,_0x36a1e2)=>{_0x36a1e2[0x0]['isDocumentOperation']&&_0x128ccc++,0x5e8==_0x128ccc&&(_0x57f0dd(),_0x1af841['off']());});}))];return window['Promise']['race'](_0x2efa39)['then'](()=>_0x5d1de8);}async function _0x3b4568(){await _0xc05097,_0x255abb['model']['change']=_0xb59e14,_0x255abb['model']['enqueueChange']=_0xb59e14,_0x255abb['enableReadOnlyMode']('model');}function _0x150f4e(_0x49cc57){const _0x129352=_0x24bba8();_0x255abb[_0x129352]='uploadcareLicenseKey'+_0x49cc57,'Valid'!=_0x49cc57&&_0x3b4568();}function _0x24bba8(){const _0x13b0b2=window['String'](window['performance']['now']())['replace']('.','');let _0x5c0244='h';for(let _0x84e73f=0x0;_0x84e73f<_0x13b0b2['length'];_0x84e73f+=0x2){let _0x54cae0=window['parseInt'](_0x13b0b2['substring'](_0x84e73f,_0x84e73f+0x2));_0x54cae0>=0x3e&&(_0x54cae0-=0x3e),_0x5c0244+=_0x422663[_0x54cae0];}return _0x5c0244;}function _0x490308(){const _0x425b99=_0x37b3bf['split']('.');if(0x3!=_0x425b99['length'])return null;return _0x2daff2(_0x425b99[0x1]);function _0x2daff2(_0x49bc29){const _0x39a64e=_0x1508f7(_0x49bc29);return _0x39a64e&&_0x493167()?_0x39a64e:null;function _0x493167(){const _0x8e8fcc=_0x39a64e['jti'],_0x3e1b73=window['parseInt'](_0x8e8fcc['substring'](_0x8e8fcc['length']-0x8),0x10),_0x37976f={..._0x39a64e,'jti':_0x8e8fcc['substring'](0x0,_0x8e8fcc['length']-0x8)};return delete _0x37976f['vc'],_0xbe574a(_0x37976f)==_0x3e1b73;}}}async function _0xb65de5(){let _0x2b7eb8=!0x0;try{const [_0x308607,_0x117000,_0x9164f5]=_0x37b3bf['split']('.');return _0x1a1a8d(_0x308607),await _0x5884ee(_0x308607,_0x117000,_0x9164f5),_0x2b7eb8;}catch{return!0x1;}function _0x1a1a8d(_0x564118){const _0xd00512=_0x1508f7(_0x564118);_0xd00512&&'ES256'==_0xd00512['alg']||(_0x2b7eb8=!0x1);}async function _0x5884ee(_0x21457f,_0xf1c955,_0x19c2d3){const _0x232d57=window['Uint8Array']['from'](_0x5c150b(_0x19c2d3),_0x20e247=>_0x20e247['charCodeAt'](0x0)),_0x4d5597=new window['TextEncoder']()['encode'](_0x21457f+'.'+_0xf1c955),_0x2f031d=window['crypto']['subtle'];if(!_0x2f031d)return;const _0x13797e=await _0x2f031d['importKey']('jwk',_0x1c40b2,{'name':'ECDSA','namedCurve':'P-256'},!0x1,['verify']);await _0x2f031d['verify']({'name':'ECDSA','hash':{'name':'SHA-256'}},_0x13797e,_0x232d57,_0x4d5597)||(_0x2b7eb8=!0x1);}}function _0x1508f7(_0x5c7149){return _0x5c7149['startsWith']('ey')?JSON['parse'](_0x5c150b(_0x5c7149)):null;}function _0x5c150b(_0x57fcce){return window['atob'](_0x57fcce['replace'](/-/g,'+')['replace'](/_/g,'/'));}function _0xbe574a(_0x223d80){let _0x1aefa0=0x1505;function _0x4c3b06(_0x4b5c08){for(let _0x31a8d2=0x0;_0x31a8d2<_0x4b5c08['length'];_0x31a8d2++){const _0x39c0d9=_0x4b5c08['charCodeAt'](_0x31a8d2);_0x1aefa0=(_0x1aefa0<<0x5)+_0x1aefa0+_0x39c0d9,_0x1aefa0&=_0x1aefa0;}}function _0x96b5cd(_0x416f30){Array['isArray'](_0x416f30)?_0x416f30['forEach'](_0x96b5cd):_0x416f30&&'object'==typeof _0x416f30?Object['entries'](_0x416f30)['sort']()['forEach'](([_0x24afcb,_0x259ef9])=>{_0x4c3b06(_0x24afcb),_0x96b5cd(_0x259ef9);}):_0x4c3b06(window['String'](_0x416f30));}return _0x96b5cd(_0x223d80),_0x1aefa0>>>0x0;}function _0x103e14(_0xd3be25){return _0xd3be25['toString'](0x10)['padStart'](0x8,'0');}function _0xe64d78(_0x3decdc){return _0x3decdc['split']('')['reverse']()['join']('');}function _0xb59e14(){}_0x150f4e(await _0xbf820f());}(this);}_initSchema(){const _0x2c625d=this['editor']['model']['schema'];_0x2c625d['isRegistered']('imageBlock')&&_0x2c625d['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x2c625d['isRegistered']('imageInline')&&_0x2c625d['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}_initConversion(){const _0x295ecd=this['editor'];_0x295ecd['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x295ecd['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x122637=>_0x122637['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x434cda=_0x295ecd['commands']['get']('replaceImageSource');_0x434cda&&this['listenTo'](_0x434cda,'cleanupImage',(_0x185b42,[_0x534f44,_0x1c600f])=>{_0x534f44['removeAttribute']('uploadcareImageId',_0x1c600f);});}_initConfig(){const _0x1c3000=this['editor']['config']['get']('uploadcare.uploader')||{},_0x1c30c3=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x2834d6(_0x1a3e19['document'],'uc-config',{..._0x1c3000,'pubkey':_0x1c30c3,'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']=_0x288779=>{if('closeMax'==_0x288779)return'#uc-icon-arrow-down';},_0x1a3e19['document']['body']['appendChild'](this['_configElement']);}_initCtx(){this['_ctxElement']=_0x2834d6(_0x1a3e19['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),_0x1a3e19['document']['body']['appendChild'](this['_ctxElement']);}_initImageProcessingIndicator(){const _0x539f27=this['editor']['commands']['get']('insertImage');_0x539f27&&this['listenTo'](_0x539f27,'execute',()=>{const _0x42019d=this['editor']['model']['document']['selection']['getSelectedElement']();_0x42019d&&_0x42019d['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{q(this['editor'],_0x42019d);});});const _0x4eb3af=this['editor']['commands']['get']('uploadcareImageReplace');_0x4eb3af&&this['listenTo'](_0x4eb3af,'execute',()=>{const _0x139184=this['editor']['model']['document']['selection']['getSelectedElement']();_0x139184&&_0x139184['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{q(this['editor'],_0x139184);});});}},Y=class extends _0x154005{static get requires(){return[Z,V];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x381d8f){super(_0x381d8f),_0x381d8f['config']['define']('uploadcare.uploader.sourceList',['local','url']),_0x470289['defineComponents'](_0x470289),this['_defineLocale']();}['_defineLocale'](){const _0x5f2adc=this['editor']['config']['get']('uploadcare.locale'),_0x12577e=this['editor']['locale']['contentLanguage'];_0x5f2adc&&_0x470289['defineLocale'](_0x12577e,_0x5f2adc);}},tt=class extends _0x1faacd{constructor(_0x38372b){super(_0x38372b);const t=_0x38372b['t'],_0x4a9679=this['bindTemplate'],_0x23f2a9=new _0x4e386a();_0x23f2a9['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':[_0x23f2a9,{'text':_0x4a9679['to']('imageUploadProgress',_0x36695f=>t('Loading\x20image...')+'\x20('+(_0x36695f||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 _0x1faacd{constructor(_0x46e2eb){super(_0x46e2eb);const t=_0x46e2eb['t'];this['set']('errorType',null);const _0x5429e4=new _0x1bd6ef(_0x46e2eb);_0x5429e4['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x5429e4['withText']=!0x0,_0x5429e4['class']='ck-button-action',_0x5429e4['on']('execute',()=>{this['fire']('retry');}),_0x5429e4['bind']('isVisible')['to'](this,'errorType',_0x188fd0=>'NotFound'!==_0x188fd0);const _0xfd1da9=new _0x506888();_0xfd1da9['content']=_0x42b1eb,_0xfd1da9['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x2cb226=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':[_0xfd1da9,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x2cb226['to']('errorType',_0x504a42=>t('NotFound'!==_0x504a42?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x5429e4]},{'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 _0x1faacd{constructor(_0x3a5ae9,_0x27302f){super(_0x3a5ae9);const _0x3dd217=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x27302f,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x3dd217['to']('imageSrc')}});}},st=class extends F{_items;['_loadingView'];['_errorView'];_editingView;['_focusableView'];constructor(_0x2b9286,_0x2e4381,_0x17052f){super(_0x2b9286),this['_items']=this['createCollection'](),this['_loadingView']=new tt(_0x2b9286),this['_errorView']=new et(_0x2b9286),this['_editingView']=new it(_0x2b9286,_0x17052f),this['_focusableView']=new _0x1faacd(_0x2b9286),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x2e4381),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'],_0x3a02c9=>{this['_addUploadcareImageEditorListeners'](_0x3a02c9);});}),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(_0x400dbe,_0x14738a){const _0x4a981b='uc-cloud-image-editor',_0x5dae44=_0x400dbe['querySelector'](_0x4a981b);if(_0x5dae44)return _0x14738a(_0x5dae44);const _0x36b410=new MutationObserver(_0x2ff3ba=>{const _0x447e8f=_0x2ff3ba['filter'](_0x58775e=>_0x58775e['target']===_0x400dbe&&_0x58775e['addedNodes']['length']>0x0&&_0x58775e['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x4a981b);_0x447e8f['length']&&(_0x36b410['disconnect'](),_0x14738a(_0x447e8f[0x0]['addedNodes'][0x0]));});_0x36b410['observe'](_0x400dbe,{'childList':!0x0,'subtree':!0x0});}_addUploadcareImageEditorListeners(_0x638a0f){_0x638a0f['addEventListener']('apply',_0x2b99ef=>{this['fire']('apply',{'imageSrc':_0x2b99ef['detail']['cdnUrl']});}),_0x638a0f['addEventListener']('cancel',()=>{this['fire']('cancel');});}_addErrorViewListeners(){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}};const rt=/* #__PURE__ -- @preserve */
|
|
25
|
+
_0x2bc062();var nt=class extends rt{_editor;['_dialog'];_imageElement;['_imageCache'];_controller;_attributes;constructor(_0x5b34bf,_0x3b6d8d,_0x120024){super(),this['_editor']=_0x5b34bf,this['_dialog']=_0x3b6d8d,this['_imageElement']=_0x120024,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 _0x5d7949=this['_imageElement'],_0x18173b=_0x5d7949['getAttribute']('uploadcareImageId'),_0x5335a0=_0x5d7949['getAttribute']('src');if(_0x18173b)await this['_loadImageInfo'](_0x18173b,_0x5335a0);else{if(this['_imageCache']['has'](_0x5335a0)){const _0x229e2a=this['_imageCache']['get'](_0x5335a0);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x229e2a['url'],this['imageDimension']=_0x229e2a['dimension'],this['imageId']=_0x229e2a['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x4fd781}=this['_editor'],t=_0x4fd781['t'],_0x223933=new st(_0x4fd781,this['imageStatus'],this['_attributes']);_0x223933['bind']('status')['to'](this,'imageStatus'),_0x223933['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x223933['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x223933['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x223933,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x54addb,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x223933,'position':_0x1d3a1b['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x223933['focus']();},'onHide':()=>{_0x223933['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x1ca396=>!H(_0x1ca396,_0x223933['element'])}});}['_loadImageInfo'](_0x164716,_0x2a23ee){return Q['getInfo'](_0x164716,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x3d8fcf=>{const {width:_0x47dfaf,height:_0x5d8b59}=_0x3d8fcf['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x2a23ee,this['imageDimension']={'width':_0x47dfaf,'height':_0x5d8b59},this['imageId']=_0x164716;})['catch'](_0x1c22c1=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x1c22c1['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x3eb798,_0xc769d7){return this['_getImageAsFile'](_0x3eb798)['then'](_0x618dc1=>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':_0xc769d7['signal'],'file':_0x618dc1,'onProgress':_0x4eb264=>{_0x4eb264&&_0x4eb264['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x4eb264['value']));}}))['then'](_0x14908a=>{const {width:_0x3b8773,height:_0x352334}=_0x14908a['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x14908a['cdnUrl'],this['imageDimension']={'width':_0x3b8773,'height':_0x352334},this['imageId']=_0x14908a['uuid'],this['imageUploadProgress']=null;const _0x527061=_0x3eb798['getAttribute']('src');this['_imageCache']['set'](_0x527061,{'id':_0x14908a['uuid'],'url':_0x14908a['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x19aa5e=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x19aa5e['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}_addEditViewListeners(_0x364f5b,_0x4550c4){_0x364f5b['on']('apply',(_0x1b47d0,_0x2c6b11)=>{this['_replaceImage'](_0x4550c4,_0x2c6b11['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x364f5b['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x364f5b['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x1bb133,_0x2934ba,_0x2778d1){const _0x5e3464=this['_editor'],{width:_0x49dc15,height:_0x3a2403}=j(_0x2934ba,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0xada61e,imageSources:_0x1ddcd7}=B(_0x2934ba,_0x49dc15);_0x5e3464['model']['change'](_0xe49f16=>{if('$graveyard'!==_0x1bb133['root']['rootName'])_0xe49f16['setSelection'](_0x1bb133,'on'),_0x5e3464['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x1bb133['getAttributes']()),'uploadcareImageId':_0x2778d1,'src':_0xada61e,'sources':_0x1ddcd7,'width':_0x49dc15,'height':_0x3a2403},_0x1bb133);else{_0x5e3464['execute']('insertImage',{'imageType':_0x1bb133['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x1bb133['getAttributes']()),'uploadcareImageId':_0x2778d1,'src':_0xada61e,'sources':_0x1ddcd7,'width':_0x49dc15,'height':_0x3a2403}});const _0x100782=_0x1bb133['getChildren']();_0x1bb133=_0x5e3464['model']['document']['selection']['getSelectedElement']();for(const _0x11156e of _0x100782)_0xe49f16['append'](_0xe49f16['cloneElement'](_0x11156e),_0x1bb133);}_0xe49f16['setSelection'](_0x1bb133,'on');});}async _getImageAsFile(_0x15a3a8){const _0x37d095=_0x1a3e19['window'],_0x26b613=_0x1a3e19['document']['location']['href'],_0x2d8141=new _0x37d095['URL'](_0x15a3a8['getAttribute']('src'),_0x26b613);if('data:'===_0x2d8141['protocol']){const _0xe07282=_0x2d8141['href']['split'](','),_0x21eb1c=_0xe07282[0x0]['match'](/:(.*?);/)[0x1],_0x538fd9=_0x21eb1c['split']('/')[0x1],_0x5ed294=_0x37d095['atob'](_0xe07282[_0xe07282['length']-0x1]);let _0x514f1b=_0x5ed294['length'];const _0x11460c=new _0x37d095['Uint8Array'](_0x514f1b);for(;_0x514f1b--;)_0x11460c[_0x514f1b]=_0x5ed294['charCodeAt'](_0x514f1b);return new _0x37d095['File']([_0x11460c],'image.'+_0x538fd9,{'type':_0x21eb1c});}const _0x318dab=_0x2d8141['href']['split']('/'),_0x467f94=_0x318dab[_0x318dab['length']-0x1],_0x55ada8=_0x467f94['split']('.')[0x1];return _0x37d095['fetch'](_0x2d8141['href'])['then'](_0x59c416=>_0x59c416['clone']()['blob']())['then'](_0x3cab24=>new _0x37d095['File']([_0x3cab24],_0x467f94,{'type':'image/'+_0x55ada8}));}},at=class extends _0x55737e{imageEditController;static get requires(){return[_0x57118f];}_isEditable;constructor(_0x506cd7){super(_0x506cd7),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x246930){const _0x217fc9=M(_0x246930);return _0x3448e3=>!(!_0x3448e3||!_0x3448e3['is']('element','imageBlock')&&!_0x3448e3['is']('element','imageInline'))&&(!!_0x3448e3['hasAttribute']('uploadcareImageId')||!!_0x3448e3['hasAttribute']('src')&&_0x217fc9(_0x3448e3['getAttribute']('src')));}(_0x506cd7['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x41b42b=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x41b42b);}execute(){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x31f031=this['editor']['model']['document']['selection']['getSelectedElement']();_0x31f031&&(_0x31f031['is']('element','imageBlock')||_0x31f031['is']('element','imageInline'))&&(this['imageEditController']=new nt(this['editor'],this['editor']['plugins']['get'](_0x57118f),_0x31f031),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}},ot=class extends _0x55737e{['refresh'](){const _0x5b6924=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x5b6924&&(_0x5b6924['is']('element','imageBlock')||_0x5b6924['is']('element','imageInline')));}execute(_0x368c92){const _0x12eab6=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x59996d=>{_0x59996d['setAttributes'](_0x368c92,_0x12eab6),_0x59996d['removeAttribute']('srcset',_0x12eab6),_0x59996d['removeAttribute']('sizes',_0x12eab6);});}},ct=class extends _0x154005{static get['pluginName'](){return'UploadcareImageEditEditing';}static get requires(){return[Z,_0x23a863,_0x4176da,_0xbeca2f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}init(){const {editor:_0xb61d1e}=this;_0xb61d1e['commands']['add']('uploadcareImageEdit',new at(_0xb61d1e)),_0xb61d1e['commands']['add']('uploadcareImageReplace',new ot(_0xb61d1e));}},lt=class extends _0x154005{['_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 _0x18b064=this['editor'];_0x18b064['ui']['componentFactory']['add']('uploadcareImageEdit',_0x164444=>{const _0xbd4f95=_0x18b064['commands']['get']('uploadcareImageEdit'),_0x5c26f0=new _0x1bd6ef(_0x164444),t=_0x164444['t'];return _0x5c26f0['set']({'icon':_0x54addb,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x5c26f0['bind']('isEnabled')['to'](_0xbd4f95),_0x5c26f0['bind']('isOn')['to'](_0xbd4f95,'isActive'),this['listenTo'](_0x5c26f0,'execute',()=>{_0x18b064['execute']('uploadcareImageEdit'),_0x18b064['editing']['view']['focus']();}),_0x5c26f0;}),this['_initConfig']();}_initConfig(){const _0x18750a=_0x2834d6(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x18750a),this['listenTo'](this['editor'],'destroy',()=>{_0x18750a['remove']();});}},ut=class extends _0x154005{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.':''},'getPluralForm':
|
|
23
|
+
export default{'af':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x404e50=>0x1!=_0x404e50}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x26d326=>{const {af:{dictionary:_0x4998ce,getPluralForm:_0x5921fb}}={'af':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x405388=>0x1!=_0x405388}};_0x26d326['af']||={'dictionary':{},'getPluralForm':null},_0x26d326['af']['dictionary']=Object['assign'](_0x26d326['af']['dictionary'],_0x4998ce),_0x26d326['af']['getPluralForm']=_0x5921fb;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/ar.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'ar':{'dictionary':{'Insert\x20with\x20Dropbox':'إدراج\x20باستخدام\x20Dropbox','Replace\x20with\x20Dropbox':'استبدال\x20باستخدام\x20Dropbox','With\x20Dropbox':'باستخدام\x20Dropbox','Insert\x20with\x20Facebook':'إدراج\x20باستخدام\x20Facebook','Replace\x20with\x20Facebook':'استبدال\x20باستخدام\x20Facebook','With\x20Facebook':'باستخدام\x20Facebook','Insert\x20with\x20Google\x20Drive':'إدراج\x20باستخدام\x20Google\x20Drive','Replace\x20with\x20Google\x20Drive':'استبدال\x20باستخدام\x20Google\x20Drive','With\x20Google\x20Drive':'باستخدام\x20Google\x20Drive','Insert\x20with\x20Google\x20Photos':'إدراج\x20باستخدام\x20Google\x20Photos','Replace\x20with\x20Google\x20Photos':'استبدال\x20باستخدام\x20Google\x20Photos','With\x20Google\x20Photos':'باستخدام\x20Google\x20Photos','Insert\x20with\x20OneDrive':'إدراج\x20باستخدام\x20OneDrive','Replace\x20with\x20OneDrive':'استبدال\x20باستخدام\x20OneDrive','With\x20OneDrive':'باستخدام\x20OneDrive','Replace\x20via\x20URL':'استبدال\x20باستخدام\x20رابط','Edit\x20Image\x20(Uploadcare)':'تحرير\x20الصورة','Loading\x20image...':'جارٍ\x20تحميل\x20الصورة...','Unable\x20to\x20load':'تعذر\x20التحميل','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'تعذّر\x20علينا\x20تحميل\x20الصورة\x20بسبب\x20مشكلات\x20في\x20اتصال\x20الشبكة.','Try\x20again\x20(Uploadcare)':'حاول\x20مجددًا','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':'لم\x20نعثر\x20على\x20الصورة.\x20ربما\x20حُذف\x20مصدرها.'},'getPluralForm':
|
|
23
|
+
export default{'ar':{'dictionary':{'Insert\x20with\x20Dropbox':'إدراج\x20باستخدام\x20Dropbox','Replace\x20with\x20Dropbox':'استبدال\x20باستخدام\x20Dropbox','With\x20Dropbox':'باستخدام\x20Dropbox','Insert\x20with\x20Facebook':'إدراج\x20باستخدام\x20Facebook','Replace\x20with\x20Facebook':'استبدال\x20باستخدام\x20Facebook','With\x20Facebook':'باستخدام\x20Facebook','Insert\x20with\x20Google\x20Drive':'إدراج\x20باستخدام\x20Google\x20Drive','Replace\x20with\x20Google\x20Drive':'استبدال\x20باستخدام\x20Google\x20Drive','With\x20Google\x20Drive':'باستخدام\x20Google\x20Drive','Insert\x20with\x20Google\x20Photos':'إدراج\x20باستخدام\x20Google\x20Photos','Replace\x20with\x20Google\x20Photos':'استبدال\x20باستخدام\x20Google\x20Photos','With\x20Google\x20Photos':'باستخدام\x20Google\x20Photos','Insert\x20with\x20OneDrive':'إدراج\x20باستخدام\x20OneDrive','Replace\x20with\x20OneDrive':'استبدال\x20باستخدام\x20OneDrive','With\x20OneDrive':'باستخدام\x20OneDrive','Replace\x20via\x20URL':'استبدال\x20باستخدام\x20رابط','Edit\x20Image\x20(Uploadcare)':'تحرير\x20الصورة','Loading\x20image...':'جارٍ\x20تحميل\x20الصورة...','Unable\x20to\x20load':'تعذر\x20التحميل','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'تعذّر\x20علينا\x20تحميل\x20الصورة\x20بسبب\x20مشكلات\x20في\x20اتصال\x20الشبكة.','Try\x20again\x20(Uploadcare)':'حاول\x20مجددًا','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':'لم\x20نعثر\x20على\x20الصورة.\x20ربما\x20حُذف\x20مصدرها.'},'getPluralForm':_0x2dfcf4=>0x0==_0x2dfcf4?0x0:0x1==_0x2dfcf4?0x1:0x2==_0x2dfcf4?0x2:_0x2dfcf4%0x64>=0x3&&_0x2dfcf4%0x64<=0xa?0x3:_0x2dfcf4%0x64>=0xb?0x4:0x5}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0xf82955=>{const {ar:{dictionary:_0x48174b,getPluralForm:_0x374469}}={'ar':{'dictionary':{'Insert\x20with\x20Dropbox':'إدراج\x20باستخدام\x20Dropbox','Replace\x20with\x20Dropbox':'استبدال\x20باستخدام\x20Dropbox','With\x20Dropbox':'باستخدام\x20Dropbox','Insert\x20with\x20Facebook':'إدراج\x20باستخدام\x20Facebook','Replace\x20with\x20Facebook':'استبدال\x20باستخدام\x20Facebook','With\x20Facebook':'باستخدام\x20Facebook','Insert\x20with\x20Google\x20Drive':'إدراج\x20باستخدام\x20Google\x20Drive','Replace\x20with\x20Google\x20Drive':'استبدال\x20باستخدام\x20Google\x20Drive','With\x20Google\x20Drive':'باستخدام\x20Google\x20Drive','Insert\x20with\x20Google\x20Photos':'إدراج\x20باستخدام\x20Google\x20Photos','Replace\x20with\x20Google\x20Photos':'استبدال\x20باستخدام\x20Google\x20Photos','With\x20Google\x20Photos':'باستخدام\x20Google\x20Photos','Insert\x20with\x20OneDrive':'إدراج\x20باستخدام\x20OneDrive','Replace\x20with\x20OneDrive':'استبدال\x20باستخدام\x20OneDrive','With\x20OneDrive':'باستخدام\x20OneDrive','Replace\x20via\x20URL':'استبدال\x20باستخدام\x20رابط','Edit\x20Image\x20(Uploadcare)':'تحرير\x20الصورة','Loading\x20image...':'جارٍ\x20تحميل\x20الصورة...','Unable\x20to\x20load':'تعذر\x20التحميل','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'تعذّر\x20علينا\x20تحميل\x20الصورة\x20بسبب\x20مشكلات\x20في\x20اتصال\x20الشبكة.','Try\x20again\x20(Uploadcare)':'حاول\x20مجددًا','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':'لم\x20نعثر\x20على\x20الصورة.\x20ربما\x20حُذف\x20مصدرها.'},'getPluralForm':_0x5409e1=>0x0==_0x5409e1?0x0:0x1==_0x5409e1?0x1:0x2==_0x5409e1?0x2:_0x5409e1%0x64>=0x3&&_0x5409e1%0x64<=0xa?0x3:_0x5409e1%0x64>=0xb?0x4:0x5}};_0xf82955['ar']||={'dictionary':{},'getPluralForm':null},_0xf82955['ar']['dictionary']=Object['assign'](_0xf82955['ar']['dictionary'],_0x48174b),_0xf82955['ar']['getPluralForm']=_0x374469;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/ast.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'ast':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':
|
|
23
|
+
export default{'ast':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x425b21=>0x1!=_0x425b21}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x9bbc7d=>{const {ast:{dictionary:_0x484846,getPluralForm:_0x3bf7f8}}={'ast':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x5292d7=>0x1!=_0x5292d7}};_0x9bbc7d['ast']||={'dictionary':{},'getPluralForm':null},_0x9bbc7d['ast']['dictionary']=Object['assign'](_0x9bbc7d['ast']['dictionary'],_0x484846),_0x9bbc7d['ast']['getPluralForm']=_0x3bf7f8;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/az.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'az':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':
|
|
23
|
+
export default{'az':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x225af9=>0x1!=_0x225af9}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x1ce7c0=>{const {az:{dictionary:_0xb44728,getPluralForm:_0x3fd512}}={'az':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x17a07b=>0x1!=_0x17a07b}};_0x1ce7c0['az']||={'dictionary':{},'getPluralForm':null},_0x1ce7c0['az']['dictionary']=Object['assign'](_0x1ce7c0['az']['dictionary'],_0xb44728),_0x1ce7c0['az']['getPluralForm']=_0x3fd512;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/be.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'be':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':
|
|
23
|
+
export default{'be':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x41a6d0=>_0x41a6d0%0xa==0x1&&_0x41a6d0%0x64!=0xb?0x0:_0x41a6d0%0xa>=0x2&&_0x41a6d0%0xa<=0x4&&(_0x41a6d0%0x64<0xa||_0x41a6d0%0x64>=0x14)?0x1:0x2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x40c63f=>{const {be:{dictionary:_0x4269d7,getPluralForm:_0xff64d2}}={'be':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x581d43=>_0x581d43%0xa==0x1&&_0x581d43%0x64!=0xb?0x0:_0x581d43%0xa>=0x2&&_0x581d43%0xa<=0x4&&(_0x581d43%0x64<0xa||_0x581d43%0x64>=0x14)?0x1:0x2}};_0x40c63f['be']||={'dictionary':{},'getPluralForm':null},_0x40c63f['be']['dictionary']=Object['assign'](_0x40c63f['be']['dictionary'],_0x4269d7),_0x40c63f['be']['getPluralForm']=_0xff64d2;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/bg.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'bg':{'dictionary':{'Insert\x20with\x20Dropbox':'Вмъкни\x20с\x20Dropbox','Replace\x20with\x20Dropbox':'Замени\x20с\x20Dropbox','With\x20Dropbox':'С\x20Dropbox','Insert\x20with\x20Facebook':'Вмъкни\x20с\x20Facebook','Replace\x20with\x20Facebook':'Замени\x20с\x20Facebook','With\x20Facebook':'С\x20Facebook','Insert\x20with\x20Google\x20Drive':'Вмъкни\x20с\x20Google\x20Drive','Replace\x20with\x20Google\x20Drive':'Замени\x20с\x20Google\x20Drive','With\x20Google\x20Drive':'С\x20Google\x20Drive','Insert\x20with\x20Google\x20Photos':'Вмъкни\x20с\x20Google\x20Photos','Replace\x20with\x20Google\x20Photos':'Замени\x20с\x20Google\x20Photos','With\x20Google\x20Photos':'С\x20Google\x20Photos','Insert\x20with\x20OneDrive':'Вмъкни\x20с\x20OneDrive','Replace\x20with\x20OneDrive':'Замени\x20с\x20OneDrive','With\x20OneDrive':'С\x20OneDrive','Replace\x20via\x20URL':'Замени\x20през\x20URL','Edit\x20Image\x20(Uploadcare)':'Редактиране\x20на\x20изображението','Loading\x20image...':'Изображението\x20се\x20зарежда...','Unable\x20to\x20load':'Не\x20може\x20да\x20зареди','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'Не\x20успяхме\x20да\x20заредим\x20изображението\x20поради\x20проблем\x20с\x20интернет\x20връзката.','Try\x20again\x20(Uploadcare)':'Опитайте\x20отново','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':'Изображението\x20не\x20беше\x20намерено.\x20Източникът\x20му\x20може\x20да\x20е\x20премахнат.'},'getPluralForm':
|
|
23
|
+
export default{'bg':{'dictionary':{'Insert\x20with\x20Dropbox':'Вмъкни\x20с\x20Dropbox','Replace\x20with\x20Dropbox':'Замени\x20с\x20Dropbox','With\x20Dropbox':'С\x20Dropbox','Insert\x20with\x20Facebook':'Вмъкни\x20с\x20Facebook','Replace\x20with\x20Facebook':'Замени\x20с\x20Facebook','With\x20Facebook':'С\x20Facebook','Insert\x20with\x20Google\x20Drive':'Вмъкни\x20с\x20Google\x20Drive','Replace\x20with\x20Google\x20Drive':'Замени\x20с\x20Google\x20Drive','With\x20Google\x20Drive':'С\x20Google\x20Drive','Insert\x20with\x20Google\x20Photos':'Вмъкни\x20с\x20Google\x20Photos','Replace\x20with\x20Google\x20Photos':'Замени\x20с\x20Google\x20Photos','With\x20Google\x20Photos':'С\x20Google\x20Photos','Insert\x20with\x20OneDrive':'Вмъкни\x20с\x20OneDrive','Replace\x20with\x20OneDrive':'Замени\x20с\x20OneDrive','With\x20OneDrive':'С\x20OneDrive','Replace\x20via\x20URL':'Замени\x20през\x20URL','Edit\x20Image\x20(Uploadcare)':'Редактиране\x20на\x20изображението','Loading\x20image...':'Изображението\x20се\x20зарежда...','Unable\x20to\x20load':'Не\x20може\x20да\x20зареди','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'Не\x20успяхме\x20да\x20заредим\x20изображението\x20поради\x20проблем\x20с\x20интернет\x20връзката.','Try\x20again\x20(Uploadcare)':'Опитайте\x20отново','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':'Изображението\x20не\x20беше\x20намерено.\x20Източникът\x20му\x20може\x20да\x20е\x20премахнат.'},'getPluralForm':_0xe0be06=>0x1!=_0xe0be06}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x2c558d=>{const {bg:{dictionary:_0x1e421a,getPluralForm:_0x210a72}}={'bg':{'dictionary':{'Insert\x20with\x20Dropbox':'Вмъкни\x20с\x20Dropbox','Replace\x20with\x20Dropbox':'Замени\x20с\x20Dropbox','With\x20Dropbox':'С\x20Dropbox','Insert\x20with\x20Facebook':'Вмъкни\x20с\x20Facebook','Replace\x20with\x20Facebook':'Замени\x20с\x20Facebook','With\x20Facebook':'С\x20Facebook','Insert\x20with\x20Google\x20Drive':'Вмъкни\x20с\x20Google\x20Drive','Replace\x20with\x20Google\x20Drive':'Замени\x20с\x20Google\x20Drive','With\x20Google\x20Drive':'С\x20Google\x20Drive','Insert\x20with\x20Google\x20Photos':'Вмъкни\x20с\x20Google\x20Photos','Replace\x20with\x20Google\x20Photos':'Замени\x20с\x20Google\x20Photos','With\x20Google\x20Photos':'С\x20Google\x20Photos','Insert\x20with\x20OneDrive':'Вмъкни\x20с\x20OneDrive','Replace\x20with\x20OneDrive':'Замени\x20с\x20OneDrive','With\x20OneDrive':'С\x20OneDrive','Replace\x20via\x20URL':'Замени\x20през\x20URL','Edit\x20Image\x20(Uploadcare)':'Редактиране\x20на\x20изображението','Loading\x20image...':'Изображението\x20се\x20зарежда...','Unable\x20to\x20load':'Не\x20може\x20да\x20зареди','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'Не\x20успяхме\x20да\x20заредим\x20изображението\x20поради\x20проблем\x20с\x20интернет\x20връзката.','Try\x20again\x20(Uploadcare)':'Опитайте\x20отново','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':'Изображението\x20не\x20беше\x20намерено.\x20Източникът\x20му\x20може\x20да\x20е\x20премахнат.'},'getPluralForm':_0x39fcfa=>0x1!=_0x39fcfa}};_0x2c558d['bg']||={'dictionary':{},'getPluralForm':null},_0x2c558d['bg']['dictionary']=Object['assign'](_0x2c558d['bg']['dictionary'],_0x1e421a),_0x2c558d['bg']['getPluralForm']=_0x210a72;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/bn.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'bn':{'dictionary':{'Insert\x20with\x20Dropbox':'Dropbox\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20Dropbox':'Dropbox\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20Dropbox':'Dropbox\x20দিয়ে','Insert\x20with\x20Facebook':'Facebook\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20Facebook':'Facebook\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20Facebook':'Facebook\x20দিয়ে','Insert\x20with\x20Google\x20Drive':'Google\x20Drive\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20Google\x20Drive':'Google\x20Drive\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20Google\x20Drive':'Google\x20Drive\x20দিয়ে','Insert\x20with\x20Google\x20Photos':'Google\x20Photos\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20Google\x20Photos':'Google\x20Photos\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20Google\x20Photos':'Google\x20Photos\x20দিয়ে','Insert\x20with\x20OneDrive':'OneDrive\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20OneDrive':'OneDrive\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20OneDrive':'OneDrive\x20দিয়ে','Replace\x20via\x20URL':'URL\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','Edit\x20Image\x20(Uploadcare)':'ছবি\x20এডিট\x20করুন','Loading\x20image...':'ছবি\x20লোড\x20হচ্ছে...','Unable\x20to\x20load':'লোড\x20করা\x20যাচ্ছে\x20না','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'নেটওয়ার্ক\x20সংযোগের\x20সমস্যার\x20কারণে\x20আমরা\x20ছবিটি\x20লোড\x20করতে\x20পারিনি।','Try\x20again\x20(Uploadcare)':'আবার\x20চেষ্টা\x20করুন','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':'ছবিটি\x20পাওয়া\x20যায়নি।\x20এর\x20উৎস\x20হয়তো\x20মুছে\x20ফেলা\x20হয়েছে।'},'getPluralForm':
|
|
23
|
+
export default{'bn':{'dictionary':{'Insert\x20with\x20Dropbox':'Dropbox\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20Dropbox':'Dropbox\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20Dropbox':'Dropbox\x20দিয়ে','Insert\x20with\x20Facebook':'Facebook\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20Facebook':'Facebook\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20Facebook':'Facebook\x20দিয়ে','Insert\x20with\x20Google\x20Drive':'Google\x20Drive\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20Google\x20Drive':'Google\x20Drive\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20Google\x20Drive':'Google\x20Drive\x20দিয়ে','Insert\x20with\x20Google\x20Photos':'Google\x20Photos\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20Google\x20Photos':'Google\x20Photos\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20Google\x20Photos':'Google\x20Photos\x20দিয়ে','Insert\x20with\x20OneDrive':'OneDrive\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20OneDrive':'OneDrive\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20OneDrive':'OneDrive\x20দিয়ে','Replace\x20via\x20URL':'URL\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','Edit\x20Image\x20(Uploadcare)':'ছবি\x20এডিট\x20করুন','Loading\x20image...':'ছবি\x20লোড\x20হচ্ছে...','Unable\x20to\x20load':'লোড\x20করা\x20যাচ্ছে\x20না','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'নেটওয়ার্ক\x20সংযোগের\x20সমস্যার\x20কারণে\x20আমরা\x20ছবিটি\x20লোড\x20করতে\x20পারিনি।','Try\x20again\x20(Uploadcare)':'আবার\x20চেষ্টা\x20করুন','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':'ছবিটি\x20পাওয়া\x20যায়নি।\x20এর\x20উৎস\x20হয়তো\x20মুছে\x20ফেলা\x20হয়েছে।'},'getPluralForm':_0x43e1f2=>0x1!=_0x43e1f2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x446a83=>{const {bn:{dictionary:_0x310d1b,getPluralForm:_0x5e7789}}={'bn':{'dictionary':{'Insert\x20with\x20Dropbox':'Dropbox\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20Dropbox':'Dropbox\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20Dropbox':'Dropbox\x20দিয়ে','Insert\x20with\x20Facebook':'Facebook\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20Facebook':'Facebook\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20Facebook':'Facebook\x20দিয়ে','Insert\x20with\x20Google\x20Drive':'Google\x20Drive\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20Google\x20Drive':'Google\x20Drive\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20Google\x20Drive':'Google\x20Drive\x20দিয়ে','Insert\x20with\x20Google\x20Photos':'Google\x20Photos\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20Google\x20Photos':'Google\x20Photos\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20Google\x20Photos':'Google\x20Photos\x20দিয়ে','Insert\x20with\x20OneDrive':'OneDrive\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20OneDrive':'OneDrive\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20OneDrive':'OneDrive\x20দিয়ে','Replace\x20via\x20URL':'URL\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','Edit\x20Image\x20(Uploadcare)':'ছবি\x20এডিট\x20করুন','Loading\x20image...':'ছবি\x20লোড\x20হচ্ছে...','Unable\x20to\x20load':'লোড\x20করা\x20যাচ্ছে\x20না','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'নেটওয়ার্ক\x20সংযোগের\x20সমস্যার\x20কারণে\x20আমরা\x20ছবিটি\x20লোড\x20করতে\x20পারিনি।','Try\x20again\x20(Uploadcare)':'আবার\x20চেষ্টা\x20করুন','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':'ছবিটি\x20পাওয়া\x20যায়নি।\x20এর\x20উৎস\x20হয়তো\x20মুছে\x20ফেলা\x20হয়েছে।'},'getPluralForm':_0x1a98b7=>0x1!=_0x1a98b7}};_0x446a83['bn']||={'dictionary':{},'getPluralForm':null},_0x446a83['bn']['dictionary']=Object['assign'](_0x446a83['bn']['dictionary'],_0x310d1b),_0x446a83['bn']['getPluralForm']=_0x5e7789;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/bs.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'bs':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':
|
|
23
|
+
export default{'bs':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x3fec97=>_0x3fec97%0xa==0x1&&_0x3fec97%0x64!=0xb?0x0:_0x3fec97%0xa>=0x2&&_0x3fec97%0xa<=0x4&&(_0x3fec97%0x64<0xa||_0x3fec97%0x64>=0x14)?0x1:0x2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x1502e4=>{const {bs:{dictionary:_0xc9645b,getPluralForm:_0x334756}}={'bs':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0xb767a2=>_0xb767a2%0xa==0x1&&_0xb767a2%0x64!=0xb?0x0:_0xb767a2%0xa>=0x2&&_0xb767a2%0xa<=0x4&&(_0xb767a2%0x64<0xa||_0xb767a2%0x64>=0x14)?0x1:0x2}};_0x1502e4['bs']||={'dictionary':{},'getPluralForm':null},_0x1502e4['bs']['dictionary']=Object['assign'](_0x1502e4['bs']['dictionary'],_0xc9645b),_0x1502e4['bs']['getPluralForm']=_0x334756;})(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.'},'getPluralForm':
|
|
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.'},'getPluralForm':_0x566960=>0x1!=_0x566960}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x34732f=>{const {ca:{dictionary:_0x550f1e,getPluralForm:_0x3acb8b}}={'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.'},'getPluralForm':_0x584a4f=>0x1!=_0x584a4f}};_0x34732f['ca']||={'dictionary':{},'getPluralForm':null},_0x34732f['ca']['dictionary']=Object['assign'](_0x34732f['ca']['dictionary'],_0x550f1e),_0x34732f['ca']['getPluralForm']=_0x3acb8b;})(window['CKEDITOR_TRANSLATIONS']||={});
|