@ckeditor/ckeditor5-uploadcare 44.2.0-alpha.9 → 44.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/uploadcare.js +1 -1
- 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/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/src/index.js +1 -1
- package/src/ui/uploadcarecontroller.js +2 -2
- package/src/ui/uploadcareformview.js +1 -1
- package/src/uploadcare.js +1 -1
- package/src/uploadcarecommand.js +1 -1
- package/src/uploadcareconfig.d.ts +7 -3
- package/src/uploadcareconfig.js +1 -1
- package/src/uploadcareediting.js +1 -1
- package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.js +2 -2
- package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.js +1 -1
- package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.js +1 -1
- package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.js +1 -1
- package/src/uploadcareimageedit/ui/uploadcareimageeditformview.js +1 -1
- package/src/uploadcareimageedit/uploadcareimageeditcommand.js +1 -1
- package/src/uploadcareimageedit/uploadcareimageeditediting.js +1 -1
- package/src/uploadcareimageedit/uploadcareimageeditui.js +1 -1
- package/src/uploadcareimageedit/uploadcareimagereplacecommand.js +1 -1
- package/src/uploadcareimageedit.js +1 -1
- package/src/uploadcareui.js +1 -1
- package/src/uploadcareuploadadapter.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/dialogfocusmanagerview.js +1 -1
- package/src/utils/editingutils.js +1 -1
- package/src/utils/isancestor.js +1 -1
- package/src/utils/uploadutils.js +1 -1
package/dist/index.js
CHANGED
|
@@ -20,6 +20,6 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as _0x2f49ee,icons as _0x5725fb,Command as _0x4b93b2}from'@ckeditor/ckeditor5-core/dist/index.js';import{ButtonView as _0xf6f54e,MenuBarMenuListItemButtonView as _0x439629,View as _0x5bd0f4,FocusCycler as _0x5c9cbd,Dialog as _0x2a0edf,DialogViewPosition as _0x4703a4,SpinnerView as _0x91ced8,IconView as et,Notification as _0x361be8}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x384654,DomEmitterMixin as _0x42ee83,global as _0x46f0a0,getAncestors as _0x256ee0,ObservableMixin as _0x4d1856,createElement as _0x241dfd,uid as _0x33bd9a}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x27aa03}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x4740df,info as _0x2d4df2}from'@uploadcare/upload-client';import*as _0x317691 from'@uploadcare/file-uploader';var o=function(_0x66a094){return _0x66a094['Local']='local',_0x66a094['URL']='url',_0x66a094['Dropbox']='dropbox',_0x66a094['GDrive']='gdrive',_0x66a094['Facebook']='facebook',_0x66a094['GPhotos']='gphotos',_0x66a094['OneDrive']='onedrive',_0x66a094;}({});function _(_0x5083be,_0x3fb3f0,_0x365fdf){const t=_0x5083be['t'],_0x44e6e0=_0x5083be['t'];switch(_0x3fb3f0){case o['Local']:return{'text':_0x44e6e0('Insert'===_0x365fdf?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x44e6e0('From\x20computer')};case o['URL']:return{'text':'Insert'===_0x365fdf?_0x44e6e0('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x44e6e0('Via\x20URL')};case o['Dropbox']:return{'text':t('Insert'===_0x365fdf?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case o['Facebook']:return{'text':t('Insert'===_0x365fdf?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case o['GDrive']:return{'text':t('Insert'===_0x365fdf?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case o['GPhotos']:return{'text':t('Insert'===_0x365fdf?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case o['OneDrive']:return{'text':t('Insert'===_0x365fdf?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x3fb3f0;}}class e extends _0x2f49ee{['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 _0x5aaa72=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x107d20;for(const _0x57c1e9 in _0x5aaa72){const _0x489bfb=_0x57c1e9,_0x30418b=_0x5aaa72[_0x489bfb];if('uploadcareLicenseKeyValid'==_0x30418b||'uploadcareLicenseKeyInvalid'==_0x30418b||'uploadcareLicenseKeyExpired'==_0x30418b||'uploadcareLicenseKeyDomainLimit'==_0x30418b||'uploadcareLicenseKeyNotAllowed'==_0x30418b||'uploadcareLicenseKeyEvaluationLimit'==_0x30418b||'uploadcareLicenseKeyTrialLimit'==_0x30418b||'uploadcareLicenseKeyUsageLimit'==_0x30418b){delete _0x5aaa72[_0x489bfb],_0x107d20=_0x30418b,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x107d20&&_0x5aaa72['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x107d20&&_0x5aaa72['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x107d20&&_0x5aaa72['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x107d20&&_0x5aaa72['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x107d20&&_0x5aaa72['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0x107d20&&_0x5aaa72['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0x107d20&&_0x5aaa72['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x234a59}=this,_0x37c4c8=_0x234a59['commands']['get']('uploadcare');if(!_0x37c4c8)return;const _0x1b4b2b=this['_normalizeConfigSourceList'](_0x234a59['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x58151b,_0x548300)=>{const _0x226554=this['_getIntegrationKey'](_0x548300['type']);return _0x58151b[_0x226554]||(_0x58151b[_0x226554]=[]),_0x58151b[_0x226554]['push'](_0x548300),_0x58151b;},{});_0x234a59['plugins']['has']('ImageInsertUI')&&_0x234a59['commands']['get']('uploadcare')&&Object['entries'](_0x1b4b2b)['forEach'](([_0x17d135,_0x4440f9])=>{_0x234a59['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x17d135,'observable':()=>_0x37c4c8,'buttonViewCreator':()=>this['_createToolbarButton'](_0x4440f9),'formViewCreator':()=>this['_createDropdownButtons'](_0x4440f9),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x4440f9),'override':'assetManager'!==_0x17d135});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x5141f0){const {locale:_0x2b060c}=this['editor'];return _0x5141f0['map'](_0x376a5f=>{const _0xed3fa9=_(_0x2b060c,_0x376a5f,'Insert');switch(_0x376a5f){case o['Local']:return{'icon':_0x5725fb['imageUpload'],'type':o['Local'],..._0xed3fa9};case o['URL']:return{'icon':'<!--\x0a\x0a\x20What\x20you\x27re\x20currently\x20looking\x20at\x20is\x20the\x20source\x20code\x20of\x20a\x20legally\x20protected,\x20proprietary\x20software.\x0a\x20CKEditor\x205\x20Collaboration\x20is\x20licensed\x20under\x20a\x20commercial\x20license\x20and\x20protected\x20by\x20copyright\x20law.\x20Where\x20not\x20otherwise\x20indicated,\x0a\x20all\x20CKEditor\x205\x20Collaboration\x20content\x20is\x20authored\x20by\x20CKSource\x20engineers\x20and\x20consists\x20of\x20CKSource-owned\x20intellectual\x20property.\x0a\x0a\x20Copyright\x20(c)\x202003-2025,\x20CKSource\x20Holding\x20sp.\x20z\x20o.o.\x20All\x20rights\x20reserved.\x0a\x0a!-->\x0a\x0a<svg\x20viewBox=\x220\x200\x2020\x2020\x22\x20xmlns=\x22http://www.w3.org/2000/svg\x22><path\x20d=\x22M12.748\x202a4.622\x204.622\x200\x200\x200-3.174\x201.362L8.02\x204.915a.783.783\x200\x200\x200\x20.002\x201.11.786.786\x200\x200\x200\x201.11\x200l1.55-1.553c1.185-1.185\x203.024-1.195\x204.116-.104l.851.854c1.092\x201.091\x201.083\x202.927-.101\x204.11l-1.555\x201.554a.787.787\x200\x200\x200\x20.557\x201.34.78.78\x200\x200\x200\x20.553-.23l1.554-1.552c1.758-1.757\x201.838-4.597.102-6.332l-.854-.853A4.31\x204.31\x200\x200\x200\x2012.748\x202Zm-.488\x204.973a.78.78\x200\x200\x200-.553.23L7.2\x2011.71l-.004.002a.784.784\x200\x200\x200\x201.11\x201.107l.003-.002\x204.504-4.505a.785.785\x200\x200\x200-.554-1.339Zm-6.79.815a.791.791\x200\x200\x200-.554.234L3.36\x209.573c-1.757\x201.758-1.836\x204.597-.101\x206.332l.853.852c1.736\x201.734\x204.572\x201.655\x206.33-.102l1.547-1.547.006-.008a.777.777\x200\x200\x200\x20.244-.554.782.782\x200\x200\x200-.799-.797.774.774\x200\x200\x200-.56.248l-1.545\x201.547c-1.184\x201.184-3.021\x201.195-4.113.104l-.854-.854c-1.091-1.091-1.083-2.927.102-4.111l1.552-1.555a.787.787\x200\x200\x200\x20.233-.555.79.79\x200\x200\x200-.06-.3.793.793\x200\x200\x200-.173-.253s-.104-.14-.183-.185c-.051-.03-.133-.047-.37-.047Z\x22/></svg>\x0a','type':o['URL'],..._0xed3fa9};case o['Dropbox']:return{'icon':'<!--\x0a\x0a\x20What\x20you\x27re\x20currently\x20looking\x20at\x20is\x20the\x20source\x20code\x20of\x20a\x20legally\x20protected,\x20proprietary\x20software.\x0a\x20CKEditor\x205\x20Collaboration\x20is\x20licensed\x20under\x20a\x20commercial\x20license\x20and\x20protected\x20by\x20copyright\x20law.\x20Where\x20not\x20otherwise\x20indicated,\x0a\x20all\x20CKEditor\x205\x20Collaboration\x20content\x20is\x20authored\x20by\x20CKSource\x20engineers\x20and\x20consists\x20of\x20CKSource-owned\x20intellectual\x20property.\x0a\x0a\x20Copyright\x20(c)\x202003-2025,\x20CKSource\x20Holding\x20sp.\x20z\x20o.o.\x20All\x20rights\x20reserved.\x0a\x0a!-->\x0a\x0a<svg\x20viewBox=\x220\x200\x2020\x2020\x22\x20xmlns=\x22http://www.w3.org/2000/svg\x22><path\x20clip-rule=\x22evenodd\x22\x20d=\x22M5.972\x203.115A.746.746\x200\x200\x201\x206.374\x203c.14\x200\x20.28.037.402.115l3.229\x202.059\x203.228-2.057a.75.75\x200\x200\x201\x20.805\x200l3.629\x202.31h.002a.757.757\x200\x200\x201\x200\x201.264h-.002L15.034\x208.37l2.633\x201.678h.002a.756.756\x200\x200\x201\x200\x201.262h-.002l-3.63\x202.312a.746.746\x200\x200\x201-.161.076c.234.08.409.275.482.5a.75.75\x200\x200\x201-.322.854l-3.629\x202.308a.75.75\x200\x200\x201-.805\x200l-3.63-2.31a.75.75\x200\x200\x201-.229-1.031l.076-.122h.022a.746.746\x200\x200\x201\x20.32-.189.75.75\x200\x200\x201-.19-.086l-3.63-2.312a.756.756\x200\x200\x201\x200-1.264l2.632-1.678-2.632-1.676a.757.757\x200\x200\x201\x200-1.263l3.63-2.313Zm2.64\x202.946L6.374\x204.635\x204.136\x206.06l2.238\x201.423\x202.238-1.423Zm7.262\x200-2.236-1.426-2.239\x201.426\x202.237\x201.423\x202.238-1.423Zm-3.637\x202.306-2.232-1.422-2.233\x201.422\x202.235\x201.422\x202.23-1.422Zm-3.625\x202.31L6.374\x209.253l-2.238\x201.426\x202.238\x201.424\x202.238-1.424Zm7.262\x200-2.236-1.425-2.239\x201.426\x202.237\x201.424\x202.238-1.424Zm-2.64\x202.944-3.23-2.056-3.228\x202.056a.75.75\x200\x200\x201-.185.084.724.724\x200\x200\x201\x20.185.08l3.229\x202.057\x203.226-2.055a.827.827\x200\x200\x201\x20.18-.084.746.746\x200\x200\x201-.178-.082Z\x22/></svg>\x0a','type':o['Dropbox'],..._0xed3fa9};case o['Facebook']:return{'icon':'<!--\x0a\x0a\x20What\x20you\x27re\x20currently\x20looking\x20at\x20is\x20the\x20source\x20code\x20of\x20a\x20legally\x20protected,\x20proprietary\x20software.\x0a\x20CKEditor\x205\x20Collaboration\x20is\x20licensed\x20under\x20a\x20commercial\x20license\x20and\x20protected\x20by\x20copyright\x20law.\x20Where\x20not\x20otherwise\x20indicated,\x0a\x20all\x20CKEditor\x205\x20Collaboration\x20content\x20is\x20authored\x20by\x20CKSource\x20engineers\x20and\x20consists\x20of\x20CKSource-owned\x20intellectual\x20property.\x0a\x0a\x20Copyright\x20(c)\x202003-2025,\x20CKSource\x20Holding\x20sp.\x20z\x20o.o.\x20All\x20rights\x20reserved.\x0a\x0a!-->\x0a\x0a<svg\x20viewBox=\x220\x200\x2020\x2020\x22\x20xmlns=\x22http://www.w3.org/2000/svg\x22><path\x20d=\x22M10.01\x202C5.59\x202\x202\x205.59\x202\x2010.01a8.011\x208.011\x200\x200\x200\x206.775\x207.914.754.754\x200\x200\x200\x20.598-.17.75.75\x200\x200\x200\x20.262-.565v-5.02a.745.745\x200\x200\x200-.22-.524.745.745\x200\x200\x200-.526-.221H7.77v-.627H8.89a.745.745\x200\x200\x200\x20.525-.22c.14-.14.22-.329.22-.526V8.324c0-.466.122-1.083.524-1.48.33-.326\x201.017-.6\x202.332-.43v.408c-.152.012-.305.017-.457.04-.335.048-.662.136-.943.326-.313.21-.497.505-.59.804-.093.3-.107.602-.107.88v1.18a.746.746\x200\x200\x200\x20.744.746h1.158l-.098.63h-1.06a.744.744\x200\x200\x200-.744.744v5.017a.752.752\x200\x200\x200\x20.26.567c.081.07.177.119.28.148a.75.75\x200\x200\x200\x20.319.022A8.012\x208.012\x200\x200\x200\x2010.01\x202Zm0\x201.486a6.52\x206.52\x200\x200\x201\x206.521\x206.524c0\x202.945-1.973\x205.386-4.65\x206.197v-3.291h.951a.749.749\x200\x200\x200\x20.736-.63l.332-2.12a.742.742\x200\x200\x200-.17-.6.745.745\x200\x200\x200-.564-.26h-1.285V8.87c0-.252.024-.384.039-.433.003-.008.002-.012.002-.016.016-.011.104-.055.326-.088a7\x207\x200\x200\x201\x20.984-.05.746.746\x200\x200\x200\x20.528-.218c.14-.139.217-.33.217-.527V5.76a.747.747\x200\x200\x200-.586-.729c-2.04-.438-3.433-.083-4.278.75-.818.807-.968\x201.884-.968\x202.543v.983H7.027a.744.744\x200\x200\x200-.525.22.743.743\x200\x200\x200-.219.526v2.119c0\x20.197.08.386.219.525.14.14.328.221.525.221h1.118v3.291c-2.681-.809-4.659-3.25-4.659-6.197a6.523\x206.523\x200\x200\x201\x206.524-6.526Z\x22/></svg>\x0a','type':o['Facebook'],..._0xed3fa9};case o['GDrive']:return{'icon':'<!--\x0a\x0a\x20What\x20you\x27re\x20currently\x20looking\x20at\x20is\x20the\x20source\x20code\x20of\x20a\x20legally\x20protected,\x20proprietary\x20software.\x0a\x20CKEditor\x205\x20Collaboration\x20is\x20licensed\x20under\x20a\x20commercial\x20license\x20and\x20protected\x20by\x20copyright\x20law.\x20Where\x20not\x20otherwise\x20indicated,\x0a\x20all\x20CKEditor\x205\x20Collaboration\x20content\x20is\x20authored\x20by\x20CKSource\x20engineers\x20and\x20consists\x20of\x20CKSource-owned\x20intellectual\x20property.\x0a\x0a\x20Copyright\x20(c)\x202003-2025,\x20CKSource\x20Holding\x20sp.\x20z\x20o.o.\x20All\x20rights\x20reserved.\x0a\x0a!-->\x0a\x0a<svg\x20viewBox=\x220\x200\x2020\x2020\x22\x20xmlns=\x22http://www.w3.org/2000/svg\x22><path\x20d=\x22M7.666\x203a.736.736\x200\x200\x200-.371.1.748.748\x200\x200\x200-.275.267l-4.918\x208.397a.743.743\x200\x200\x200-.006.744l2.46\x204.318a.747.747\x200\x200\x200\x20.65.377h9.606a.754.754\x200\x200\x200\x20.65-.377l2.46-4.318a.74.74\x200\x200\x200\x20.002-.735l-4.688-8.392a.754.754\x200\x200\x200-.654-.38H7.666Zm1.285\x201.492h3.195l3.854\x206.9h-3.1l-3.949-6.9Zm-1.293.742L9.223\x207.97l-4.016\x206.988-1.6-2.813\x204.051-6.91Zm2.424\x204.237\x201.098\x201.922H8.977l1.105-1.922ZM8.12\x2012.885h7.87L14.38\x2015.71H6.494l1.625-2.826Z\x22/></svg>\x0a','type':o['GDrive'],..._0xed3fa9};case o['GPhotos']:return{'icon':'<!--\x0a\x0a\x20What\x20you\x27re\x20currently\x20looking\x20at\x20is\x20the\x20source\x20code\x20of\x20a\x20legally\x20protected,\x20proprietary\x20software.\x0a\x20CKEditor\x205\x20Collaboration\x20is\x20licensed\x20under\x20a\x20commercial\x20license\x20and\x20protected\x20by\x20copyright\x20law.\x20Where\x20not\x20otherwise\x20indicated,\x0a\x20all\x20CKEditor\x205\x20Collaboration\x20content\x20is\x20authored\x20by\x20CKSource\x20engineers\x20and\x20consists\x20of\x20CKSource-owned\x20intellectual\x20property.\x0a\x0a\x20Copyright\x20(c)\x202003-2025,\x20CKSource\x20Holding\x20sp.\x20z\x20o.o.\x20All\x20rights\x20reserved.\x0a\x0a!-->\x0a\x0a<svg\x20viewBox=\x220\x200\x2020\x2020\x22\x20xmlns=\x22http://www.w3.org/2000/svg\x22><path\x20clip-rule=\x22evenodd\x22\x20d=\x22M9.258\x203.082c0-.594.486-1.082\x201.08-1.082a4.38\x204.38\x200\x200\x201\x204.239\x205.489c-.18.688-.633\x201.245-1.109\x201.767h3.468c.595\x200\x201.082.488\x201.082\x201.082a4.382\x204.382\x200\x200\x201-5.49\x204.24v-.001c-.689-.18-1.246-.633-1.768-1.109v3.468c0\x20.595-.487\x201.082-1.082\x201.082a4.384\x204.384\x200\x200\x201-4.111-2.866\x204.382\x204.382\x200\x200\x201-.125-2.624c.18-.689.632-1.246\x201.108-1.768H3.082A1.085\x201.085\x200\x200\x201\x202\x209.68a4.382\x204.382\x200\x200\x201\x205.49-4.238c.69.18\x201.246.632\x201.768\x201.108V3.082Zm3.164\x201.32c-.435-.46-1.043-.667-1.662-.767v5.49c.619-.1\x201.227-.307\x201.662-.766a2.875\x202.875\x200\x200\x200\x200-3.958ZM7.21\x206.918a2.876\x202.876\x200\x200\x200-2.93.789c-.396.423-.569.983-.658\x201.55h5.56c-.045-.295-.091-.59-.224-.859a2.879\x202.879\x200\x200\x200-1.748-1.48Zm9.254\x203.841h-5.653l.013.1c.012.098.025.197.053.292a2.873\x202.873\x200\x200\x200\x204.862\x201.158\x202.87\x202.87\x200\x200\x200\x20.398-.54v-.001c.111-.195.2-.403.263-.619.026-.092.038-.188.05-.283l.014-.107Zm-8.872\x204.86c.437.459\x201.045.666\x201.665.766V10.89c-1.369.222-2.456\x201.314-2.456\x202.747\x200\x20.738.283\x201.447.791\x201.981Z\x22/></svg>\x0a','type':o['GPhotos'],..._0xed3fa9};case o['OneDrive']:return{'icon':'<!--\x0a\x0a\x20What\x20you\x27re\x20currently\x20looking\x20at\x20is\x20the\x20source\x20code\x20of\x20a\x20legally\x20protected,\x20proprietary\x20software.\x0a\x20CKEditor\x205\x20Collaboration\x20is\x20licensed\x20under\x20a\x20commercial\x20license\x20and\x20protected\x20by\x20copyright\x20law.\x20Where\x20not\x20otherwise\x20indicated,\x0a\x20all\x20CKEditor\x205\x20Collaboration\x20content\x20is\x20authored\x20by\x20CKSource\x20engineers\x20and\x20consists\x20of\x20CKSource-owned\x20intellectual\x20property.\x0a\x0a\x20Copyright\x20(c)\x202003-2025,\x20CKSource\x20Holding\x20sp.\x20z\x20o.o.\x20All\x20rights\x20reserved.\x0a\x0a!-->\x0a\x0a<svg\x20viewBox=\x220\x200\x2020\x2020\x22\x20xmlns=\x22http://www.w3.org/2000/svg\x22><path\x20d=\x22M10.223\x205.001a5.277\x205.277\x200\x200\x200-4.408\x202.258c-3.224.423-4.908\x204.123-3.032\x206.814l.004.008.002.004c.48.627\x201.712\x201.84\x203.588\x201.84h7.936c.667\x200\x201.32-.179\x201.894-.522a3.838\x203.838\x200\x200\x200\x201.381-1.46v-.005c1.13-2.16-.133-4.777-2.488-5.298-.617-1.853-2.177-3.242-4.111-3.565a5.273\x205.273\x200\x200\x200-.766-.074Zm-.092\x201.5c.078\x200\x20.154.001.23.008.077.004.154.014.231.021l.226.035a5.203\x205.203\x200\x200\x201\x20.45.116\x203.31\x203.31\x200\x200\x201\x20.433.166\x204.079\x204.079\x200\x200\x201\x20.606.348\x204.195\x204.195\x200\x200\x201\x20.37.293\x203.54\x203.54\x200\x200\x201\x20.33.348\x203.517\x203.517\x200\x200\x201\x20.505.778\x203.182\x203.182\x200\x200\x200-.42.117c-.082.03-.164.06-.244.094l-1.49.627-2.686-1.61a4.39\x204.39\x200\x200\x200-1.002-.445c.015-.01.032-.026.047-.039a3.744\x203.744\x200\x200\x201\x20.4-.289\x203.713\x203.713\x200\x200\x201\x20.424-.23\x203.02\x203.02\x200\x200\x201\x20.219-.094c.074-.03.15-.053.225-.076a3.77\x203.77\x200\x200\x201\x20.222-.06c.077-.02.157-.035.233-.05.075-.015.15-.025.228-.033.077-.007.154-.015.233-.02.078-.003.154-.005.23-.005Zm-3.8\x202.193h.003c.54.001\x201.111.156\x201.551.428l1.783\x201.07-5.867\x202.471c-.535-1.29-.15-2.788\x201.059-3.537l.007-.004c.441-.271.946-.42\x201.463-.428Zm7.974\x201.33.152.008c.086.008.173.018.258.033a1.956\x201.956\x200\x200\x201\x20.477.145\x202.179\x202.179\x200\x200\x201\x20.918.756c.046.066.09.133.127.2a2.284\x202.284\x200\x200\x201\x20.269.919c.004.081.008.165.002.248-.003.055-.012.111-.02.166l-3.507-2.102.459-.193.015-.008a2.118\x202.118\x200\x200\x201\x20.41-.125\x202.297\x202.297\x200\x200\x201\x20.44-.047Zm-3.008\x201.112\x204.506\x202.699a2.217\x202.217\x200\x200\x201-.338.26\x202.228\x202.228\x200\x200\x201-.668.275c-.078.019-.157.03-.24.04-.081.007-.164.015-.246.015H6.373c-.057\x200-.113-.001-.168-.004a1.904\x201.904\x200\x200\x201-.164-.016l-.154-.023c-.051-.008-.102-.014-.15-.026a2.942\x202.942\x200\x200\x201-.77-.3\x202.889\x202.889\x200\x200\x201-.21-.133c-.012-.008-.019-.016-.03-.024l6.57-2.763Z\x22/></svg>\x0a','type':o['OneDrive'],..._0xed3fa9};}});}['_getIntegrationKey'](_0x2ce915){switch(_0x2ce915){case o['Local']:return'upload';case o['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x4cc118,_0xb39db3){const _0x28c3ee=this['editor'],_0x351570=new _0x4cc118(_0x28c3ee['locale']),_0x523095=_0x28c3ee['commands']['get']('uploadcare');return _0x351570['bind']('isEnabled')['to'](_0x523095),_0x351570['on']('execute',()=>{_0x523095['execute'](_0xb39db3);}),_0x351570;}['_createToolbarButton'](_0x3681c2){const {locale:_0x44a91a}=this['editor'],_0x3cef60=this['editor']['plugins']['get']('ImageInsertUI'),_0x372428=_0x3681c2[0x0],_0x3b976b=this['_createButton'](_0xf6f54e,_0x372428['type']);return _0x3b976b['icon']=_0x372428['icon'],_0x3b976b['bind']('label')['to'](_0x3cef60,'isImageSelected',_0x482b9f=>_(_0x44a91a,_0x372428['type'],_0x482b9f?'Replace':'Insert')['text']),_0x3b976b['tooltip']=!0x0,_0x3b976b;}['_createDropdownButtons'](_0x1c46bc){const {locale:_0x1d60d1}=this['editor'],_0x38873a=this['editor']['plugins']['get']('ImageInsertUI');return _0x1c46bc['map'](_0x367d93=>{const _0x36f883=this['_createButton'](_0xf6f54e,_0x367d93['type']);return _0x36f883['withText']=!0x0,_0x36f883['icon']=_0x367d93['icon'],_0x36f883['bind']('label')['to'](_0x38873a,'isImageSelected',_0xf05356=>_(_0x1d60d1,_0x367d93['type'],_0xf05356?'Replace':'Insert')['text']),_0x36f883;});}['_createMenuBarButtons'](_0x313412){return _0x313412['map'](_0x2bcc35=>{const _0xc48ddb=this['_createButton'](_0x439629,_0x2bcc35['type']);return _0xc48ddb['icon']=_0x2bcc35['icon'],_0xc48ddb['label']=_0x2bcc35['shortText'],_0xc48ddb;});}}class q extends _0x5bd0f4{['focusTracker'];['focusCycler'];constructor(_0x5ad912){super(_0x5ad912),this['focusTracker']=new _0x384654(),this['focusCycler']=new _0x5c9cbd({'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 S extends q{constructor(_0x2eb687){super(_0x2eb687),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'}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function C(_0x3d2fa6,_0x418409){const _0x5e21e0=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x2c19fc=>_0x2c19fc<=_0x418409)['map'](_0x27f1a7=>_0x3d2fa6['replace'](/\/$/,'')+'/-/resize/'+_0x27f1a7+'x/\x20'+_0x27f1a7+'w');return{'imageFallbackUrl':_0x3d2fa6,'imageSources':[{'srcset':_0x5e21e0['join'](',\x20'),'sizes':'(max-width:\x20'+_0x418409+'px)\x20100vw,\x20'+_0x418409+'px','type':'image/webp'}]};}function A(_0x5571b6,_0x47c3ec,_0x5403d8){const _0x2ae267=_0x5571b6['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x2ae267?parseInt(_0x2ae267[0x1],0xa):_0x47c3ec,'height':_0x2ae267?parseInt(_0x2ae267[0x2],0xa):_0x5403d8};}function p(_0x3aa78b,_0xcfafb8){const _0x21dfee=Object['create'](_0x42ee83),_0xa58860=_0x3aa78b['plugins']['get']('ImageUtils'),_0x340966=_0x3aa78b['editing']['mapper']['toViewElement'](_0xcfafb8),_0x1615d6=_0xa58860['findViewImgElement'](_0x340966),_0x73bf14=_0x3aa78b['editing']['view']['domConverter']['viewToDom'](_0x1615d6),_0x54b1a0=_0xcfafb8['getAttribute']('width'),_0x25d58c=_0xcfafb8['getAttribute']('height'),_0x44ce6c='image-processing';_0x3aa78b['editing']['view']['change'](_0x306f31=>{_0x306f31['addClass'](_0x44ce6c,_0x340966),_0x306f31['setStyle']('aspect-ratio',_0x54b1a0+'/'+_0x25d58c,_0x1615d6);}),_0x21dfee['listenTo'](_0x73bf14,'load',()=>{_0x21dfee['stopListening'](_0x73bf14,'load'),_0x3aa78b['editing']['view']['change'](_0x3298f5=>{_0x3298f5['removeClass'](_0x44ce6c,_0x340966),_0x3298f5['removeStyle']('aspect-ratio',_0x1615d6);});});}function V(_0x582444){if(Array['isArray'](_0x582444)){const _0x52fe51=_0x582444['map'](V);return _0x4ed162=>_0x52fe51['some'](_0x4d714c=>_0x4d714c(_0x4ed162));}if('origin'==_0x582444){const _0x27eb54=_0x46f0a0['window']['location']['origin'];return _0x3ab668=>new URL(_0x3ab668,_0x46f0a0['document']['baseURI'])['origin']==_0x27eb54;}return'function'==typeof _0x582444?_0x582444:_0x582444 instanceof RegExp?_0x37b1d5=>!(!_0x37b1d5['match'](_0x582444)&&!_0x37b1d5['replace'](/^https?:\/\//,'')['match'](_0x582444)):()=>!0x1;}function F(_0x3c4bd6,_0x2fc73f){return _0x256ee0(_0x3c4bd6['target'])['includes'](_0x2fc73f);}class h extends/* #__PURE__ -- @preserve */
|
|
24
|
-
_0x4d1856(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x537f16,_0x54862b,_0xd29867){super(),this['_editor']=_0x537f16,this['_editing']=_0x54862b,this['_dialog']=_0x537f16['plugins']['get'](_0x2a0edf),this['_api']=_0x54862b['ctxElement']['getAPI'](),this['_type']=_0xd29867,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:_0x67fdca,model:_0x1f0584}=this['_editor'],_0x23c77c=_0x1f0584['document']['selection']['getSelectedElement'](),_0x4740a8=_0x23c77c&&(_0x23c77c['is']('element','imageBlock')||_0x23c77c['is']('element','imageInline'));this['_formView']=new S(_0x67fdca),this['_dialog']['show']({'id':'uploadCare','icon':_0x5725fb['imageUpload'],'title':_(_0x67fdca,this['_type'],_0x4740a8?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x4703a4['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x188564=>!F(_0x188564,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x5d19bd}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x52d99c=>{const _0x47bce1=_0x5d19bd['length'];for(const _0x1549c8 of _0x5d19bd){const _0x16b3f7=_0x1549c8===_0x5d19bd[_0x47bce1-0x1],{cdnUrl:_0x1c78fd,fileInfo:_0x20a692}=_0x1549c8;if(!_0x1c78fd||!_0x20a692)continue;const {width:_0x5c373b,height:_0x42d382}=_0x20a692['imageInfo'],_0x1b8efd=A(_0x1c78fd,_0x5c373b,_0x42d382),_0x53639c=C(_0x1c78fd,_0x1b8efd['width']),_0x5aa58a={'id':_0x20a692['uuid'],'type':'image','attributes':{'imageDimension':_0x1b8efd,..._0x53639c}};this['_insertAsset'](_0x5aa58a,_0x16b3f7,_0x52d99c);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x1d9313=>{'idle'===_0x1d9313['detail']['status']&&!_0x1d9313['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===o['Local']?this['_api']['setCurrentActivity'](o['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x10892e,_0x3fcbb1,_0x34b4d2){const _0x5cfc92=this['_editor']['model']['document']['selection'],_0x3d6cd8=_0x5cfc92['getSelectedElement'](),_0x36af83=!(!_0x3d6cd8||!_0x3d6cd8['is']('element','imageInline'));_0x34b4d2['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x10892e,_0x36af83),_0x3fcbb1||_0x34b4d2['setSelection'](_0x5cfc92['getLastPosition']());}['_insertImage'](_0xb5a713,_0x149242){const _0x1cf2c4=this['_editor'],{imageDimension:_0x2c7b73,imageFallbackUrl:_0x47c0b6,imageSources:_0x22bd69}=_0xb5a713['attributes'];_0x1cf2c4['execute']('insertImage',{'imageType':_0x149242?'imageInline':null,'source':{'uploadcareImageId':_0xb5a713['id'],'src':_0x47c0b6,'sources':_0x22bd69,..._0x2c7b73}});}}class l extends _0x4b93b2{['_editing'];['_controller']=null;static get['requires'](){return[_0x2a0edf,i];}constructor(_0xc77365){super(_0xc77365),this['_editing']=_0xc77365['plugins']['get'](i);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x28d4e7){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new h(this['editor'],this['_editing'],_0x28d4e7);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class k{static['upload']({file:_0xc4a57,publicKey:_0x5c9404,signal:_0x1417e4,onProgress:_0x69121c}){return _0x4740df(_0xc4a57,{'publicKey':_0x5c9404,'store':'auto','signal':_0x1417e4,'onProgress':_0x69121c});}static['getInfo'](_0x80a652,_0x1e27bf){return _0x2d4df2(_0x80a652,_0x1e27bf);}}class f extends _0x2f49ee{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x27aa03,i];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x317f40=this['editor'];if(!!!_0x317f40['config']['get']('uploadcare'))return;_0x317f40['plugins']['get'](_0x27aa03)['createUploadAdapter']=_0x5bd370=>new E(_0x5bd370,_0x317f40),_0x317f40['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x220f2f,{imageElement:_0x125b6e,data:_0x7b460d})=>{_0x317f40['model']['change'](_0x20c98c=>{_0x20c98c['setAttribute']('uploadcareImageId',_0x7b460d['uploadcareImageId'],_0x125b6e);});});}}class E{['loader'];['editor'];['controller'];constructor(_0x2a40c9,_0x5e9619){this['loader']=_0x2a40c9,this['editor']=_0x5e9619,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x1514ad=this['editor']['config']['get']('uploadcare.pubkey'),_0x5a9298=await this['loader']['file'];return k['upload']({'file':_0x5a9298,'publicKey':_0x1514ad,'signal':this['controller']['signal'],'onProgress':_0x4980d1=>{_0x4980d1&&_0x4980d1['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x4980d1['value']);}})['then'](async _0x36665f=>{const {imageFallbackUrl:_0x497eb0,imageSources:_0x3ae866}=C(_0x36665f['cdnUrl'],_0x36665f['imageInfo']['width']);return{'uploadcareImageId':_0x36665f['uuid'],'default':_0x497eb0,'sources':_0x3ae866};})['catch'](()=>{const _0x2e6f08=t('Cannot\x20upload\x20file:')+('\x20'+_0x5a9298['name']+'.');return Promise['reject'](_0x2e6f08);});}['abort'](){this['controller']['abort']();}}class i extends _0x2f49ee{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',f,_0x2a0edf];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}['init'](){const _0x482b87=this['editor'];_0x482b87['commands']['add']('uploadcare',new l(_0x482b87));}['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 _0x370c1a=_0x46f0a0['document']['querySelector']('input[uploadcare-file-input]');_0x370c1a&&_0x370c1a['remove']();}),async function(_0xb98dae){const _0x41e13=_0x3d7363([0x65,0x66,0x39,0x50,0x52,0x51,0x57,0x4c,0x6e,0x59,0x6f,0x48,0x64,0x38,0x58,0x37,0x55,0x63,0x78,0x75,0x44,0x6c,0x68,0x33,0x56,0x69,0x43,0x32,0x71,0x41,0x31,0x73,0x6b,0x79,0x4d,0x62,0x30,0x70,0x47,0x77,0x6d,0x5a,0x46,0x4a,0x35,0x34,0x6a,0x4e,0x76,0x4f,0x36,0x49,0x4b,0x61,0x42,0x7a,0x67,0x45,0x74,0x54,0x53,0x72]),_0x1aab4a=0x24bae9cd,_0x28f848=0x24bdb76d^_0x1aab4a,_0x413e55=window[_0x3d7363([0x44,0x61,0x74,0x65])][_0x3d7363([0x6e,0x6f,0x77])](),_0x27ef02=_0xb98dae[_0x3d7363([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x4333dd=new window[(_0x3d7363([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x599079=>{_0x27ef02[_0x3d7363([0x6f,0x6e,0x63,0x65])](_0x3d7363([0x72,0x65,0x61,0x64,0x79]),_0x599079);}),_0x3d4017={[_0x3d7363([0x6b,0x74,0x79])]:_0x3d7363([0x45,0x43]),[_0x3d7363([0x75,0x73,0x65])]:_0x3d7363([0x73,0x69,0x67]),[_0x3d7363([0x63,0x72,0x76])]:_0x3d7363([0x50,0x2d,0x32,0x35,0x36]),[_0x3d7363([0x78])]:_0x3d7363([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x3d7363([0x79])]:_0x3d7363([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x3d7363([0x61,0x6c,0x67])]:_0x3d7363([0x45,0x53,0x32,0x35,0x36])},_0x3b0b1f=_0x27ef02[_0x3d7363([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3d7363([0x67,0x65,0x74])](_0x3d7363([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x8be788(){let _0x160ce0,_0x26c181=null,_0x1b7da6=null;try{if(_0x3b0b1f==_0x3d7363([0x47,0x50,0x4c]))return _0x3d7363([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x160ce0=_0x5c086b(),!_0x160ce0)return _0x3d7363([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x160ce0[_0x3d7363([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1b7da6=_0xba20b1(_0x160ce0[_0x3d7363([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x160ce0[_0x3d7363([0x6a,0x74,0x69])])),await _0x1a3b25()?_0x1d66d0()?_0x27591f()?_0x3d7363([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x5112f4()?(_0x160ce0[_0x3d7363([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3d7363([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x26c181=_0x53e7a3(_0x3d7363([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x160ce0[_0x3d7363([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3d7363([0x74,0x72,0x69,0x61,0x6c])&&(_0x26c181=_0x53e7a3(_0x3d7363([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x2e16a3()):_0x3d7363([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3d7363([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3d7363([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x555792){return _0x3d7363([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x27591f(){const _0x1acd00=[_0x3d7363([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3d7363([0x74,0x72,0x69,0x61,0x6c])][_0x3d7363([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x160ce0[_0x3d7363([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x413e55/0x3e8:0xe10*_0x28f848;return _0x160ce0[_0x3d7363([0x65,0x78,0x70])]<_0x1acd00;}function _0x1d66d0(){const _0x30f227=_0x160ce0[_0x3d7363([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x30f227&&(!!_0x30f227[_0x3d7363([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3d7363([0x2a]))||!!_0x30f227[_0x3d7363([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3d7363([0x55,0x50,0x4c,0x43])));}function _0x5112f4(){const _0x9320c4=_0x160ce0[_0x3d7363([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x9320c4||0x0==_0x9320c4[_0x3d7363([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x414169}=new URL(window[_0x3d7363([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x9320c4[_0x3d7363([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x414169))return!0x0;const _0x5b1052=_0x414169[_0x3d7363([0x73,0x70,0x6c,0x69,0x74])](_0x3d7363([0x2e]));return _0x9320c4[_0x3d7363([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x514bdd=>_0x514bdd[_0x3d7363([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3d7363([0x2a])))[_0x3d7363([0x6d,0x61,0x70])](_0x1d8b18=>_0x1d8b18[_0x3d7363([0x73,0x70,0x6c,0x69,0x74])](_0x3d7363([0x2e])))[_0x3d7363([0x73,0x6f,0x6d,0x65])](_0x22744b=>_0x5b1052[_0x3d7363([0x65,0x76,0x65,0x72,0x79])]((_0xca1b09,_0x45dc82)=>_0x22744b[_0x45dc82]===_0xca1b09||_0x22744b[_0x45dc82]===_0x3d7363([0x2a])));}function _0x2e16a3(){return _0x26c181&&_0x1b7da6?new window[(_0x3d7363([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2e66bc,_0x39fbba)=>{_0x26c181[_0x3d7363([0x74,0x68,0x65,0x6e])](_0x2e66bc,_0x39fbba),_0x1b7da6[_0x3d7363([0x74,0x68,0x65,0x6e])](_0x22a38c=>{_0x22a38c!=_0x3d7363([0x56,0x61,0x6c,0x69,0x64])&&_0x2e66bc(_0x22a38c);},_0x39fbba);}):_0x26c181||_0x1b7da6||_0x3d7363([0x56,0x61,0x6c,0x69,0x64]);}}function _0xba20b1(_0x1d629c,_0x4276bc){return new window[(_0x3d7363([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1f5910=>{if(_0x3e0623())return _0x1f5910(_0x3d7363([0x56,0x61,0x6c,0x69,0x64]));_0x57e29d(),_0x27ef02[_0x3d7363([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3d7363([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x111612=!0x1;const _0x4f1975=_0x33bd9a();function _0x203924(_0x5d4ea5){return!!_0x5d4ea5&&(typeof _0x5d4ea5===_0x3d7363([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x5d4ea5===_0x3d7363([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x5d4ea5[_0x3d7363([0x74,0x68,0x65,0x6e])]===_0x3d7363([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x5d4ea5[_0x3d7363([0x63,0x61,0x74,0x63,0x68])]===_0x3d7363([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4c8ea5(_0x36ec5b){_0x390421(_0x36ec5b)[_0x3d7363([0x74,0x68,0x65,0x6e])](_0x3ef860=>{if(!_0x3ef860||_0x3ef860[_0x3d7363([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3d7363([0x6f,0x6b]))return _0x3d7363([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x4e8610(_0x1f364e(_0x4f1975+_0x4276bc))!=_0x3ef860[_0x3d7363([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3d7363([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3d7363([0x56,0x61,0x6c,0x69,0x64]);})[_0x3d7363([0x74,0x68,0x65,0x6e])](_0x4ab361=>(_0x1ad074(),_0x4ab361),()=>{const _0xb4693a=_0x11dc0e();return null==_0xb4693a?(_0x1ad074(),_0x3d7363([0x56,0x61,0x6c,0x69,0x64])):_0x3d7363(_0x413e55-_0xb4693a>(0xb66dcd^_0x1aab4a)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3d7363([0x74,0x68,0x65,0x6e])](_0x1f5910)[_0x3d7363([0x63,0x61,0x74,0x63,0x68])](()=>{_0x1f5910(_0x3d7363([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x56ebdc=0x248c074d^_0x1aab4a;function _0x1ad074(){const _0x13d4d1=_0x3d7363([0x6c,0x6c,0x63,0x74,0x2d])+_0x4e8610(_0x1f364e(_0x1d629c)),_0x22bfa7=_0x7aa532(_0x4e8610(window[_0x3d7363([0x4d,0x61,0x74,0x68])][_0x3d7363([0x63,0x65,0x69,0x6c])](_0x413e55/_0x56ebdc)));window[_0x3d7363([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3d7363([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x13d4d1,_0x22bfa7);}function _0x11dc0e(){const _0x69800f=_0x3d7363([0x6c,0x6c,0x63,0x74,0x2d])+_0x4e8610(_0x1f364e(_0x1d629c)),_0x14a41b=window[_0x3d7363([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3d7363([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x69800f);return _0x14a41b?window[_0x3d7363([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x7aa532(_0x14a41b),0x10)*_0x56ebdc:null;}function _0x390421(_0x30599f){return new window[(_0x3d7363([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x44edef,_0x4e1c0e)=>{_0x30599f[_0x3d7363([0x74,0x68,0x65,0x6e])](_0x44edef,_0x4e1c0e),window[_0x3d7363([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x4e1c0e,0x24bb3d0d^_0x1aab4a);});}}_0x27ef02[_0x3d7363([0x6f,0x6e])](_0x3d7363([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x3118f8,_0x227601)=>{if(_0x227601[0x0]!=_0x1d629c)return _0x1f5910(_0x3d7363([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x227601[0x1]={..._0x227601[0x1],[_0x3d7363([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x4f1975};},{[_0x3d7363([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3d7363([0x68,0x69,0x67,0x68])}),_0x27ef02[_0x3d7363([0x6f,0x6e])](_0x3d7363([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x22801e=>{_0x203924(_0x22801e[_0x3d7363([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x111612=!0x0,_0x4c8ea5(_0x22801e[_0x3d7363([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3d7363([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3d7363([0x6c,0x6f,0x77])}),_0x4333dd[_0x3d7363([0x74,0x68,0x65,0x6e])](()=>{_0x111612||_0x1f5910(_0x3d7363([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3e0623(){return _0x27ef02[_0x3d7363([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3d7363([0x76,0x69,0x65,0x77])][_0x3d7363([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3d7363([0x61,0x75,0x74,0x6f]);}function _0x57e29d(){_0x27ef02[_0x3d7363([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3d7363([0x76,0x69,0x65,0x77])][_0x3d7363([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3d7363([0x61,0x75,0x74,0x6f]);}}function _0x53e7a3(_0x49bd8c){const _0x4c015a=[new window[(_0x3d7363([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x370d7a=>setTimeout(_0x370d7a,0x24b3d701^_0x1aab4a)),_0x4333dd[_0x3d7363([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3d7363([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3f7c68=>{let _0x12f10d=0x0;_0x27ef02[_0x3d7363([0x6d,0x6f,0x64,0x65,0x6c])][_0x3d7363([0x6f,0x6e])](_0x3d7363([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x3f6198,_0xfdfc23)=>{_0xfdfc23[0x0][_0x3d7363([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x12f10d++,_0x12f10d==(0x24bae835^_0x1aab4a)&&(_0x3f7c68(),_0x3f6198[_0x3d7363([0x6f,0x66,0x66])]());});}))];return window[_0x3d7363([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3d7363([0x72,0x61,0x63,0x65])](_0x4c015a)[_0x3d7363([0x74,0x68,0x65,0x6e])](()=>_0x49bd8c);}async function _0x5641e6(){await _0x4333dd,_0x27ef02[_0x3d7363([0x6d,0x6f,0x64,0x65,0x6c])][_0x3d7363([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3bb6ec,_0x27ef02[_0x3d7363([0x6d,0x6f,0x64,0x65,0x6c])][_0x3d7363([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3bb6ec,_0x27ef02[_0x3d7363([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3d7363([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x4d7866(_0x3345fe){const _0x34c3d8=_0x513b35();_0x27ef02[_0x34c3d8]=_0x3d7363([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x3345fe,_0x3345fe!=_0x3d7363([0x56,0x61,0x6c,0x69,0x64])&&_0x5641e6();}function _0x513b35(){const _0x555b68=window[_0x3d7363([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3d7363([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3d7363([0x6e,0x6f,0x77])]())[_0x3d7363([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3d7363([0x2e]),'');let _0x26327a=_0x3d7363([0x65]);for(let _0x3332ce=0x0;_0x3332ce<_0x555b68[_0x3d7363([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3332ce+=0x2){let _0x2d0985=window[_0x3d7363([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x555b68[_0x3d7363([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3332ce,_0x3332ce+0x2));_0x2d0985>=_0x41e13[_0x3d7363([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2d0985-=_0x41e13[_0x3d7363([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x26327a+=_0x41e13[_0x2d0985];}return _0x26327a;}function _0x5c086b(){const _0x4a210c=_0x3b0b1f[_0x3d7363([0x73,0x70,0x6c,0x69,0x74])](_0x3d7363([0x2e]));if(0x3!=_0x4a210c[_0x3d7363([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x516ff6(_0x4a210c[0x1]);function _0x516ff6(_0x6d5c08){const _0x3d57c2=_0x33b6f1(_0x6d5c08);return _0x3d57c2&&_0x4cb06f()?_0x3d57c2:null;function _0x4cb06f(){const _0x2f4097=_0x3d57c2[_0x3d7363([0x6a,0x74,0x69])],_0x3b05bf=window[_0x3d7363([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2f4097[_0x3d7363([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2f4097[_0x3d7363([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0xd2c881={..._0x3d57c2,[_0x3d7363([0x6a,0x74,0x69])]:_0x2f4097[_0x3d7363([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x2f4097[_0x3d7363([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0xd2c881[_0x3d7363([0x76,0x63])],_0x1f364e(_0xd2c881)==_0x3b05bf;}}}async function _0x1a3b25(){let _0x24caf3=!0x0;try{const _0x549889=_0x3b0b1f[_0x3d7363([0x73,0x70,0x6c,0x69,0x74])](_0x3d7363([0x2e])),[_0xb0657f,_0x50c1df,_0x428245]=_0x549889;return _0x261b55(_0xb0657f),await _0x5c01c5(_0xb0657f,_0x50c1df,_0x428245),_0x24caf3;}catch(_0x1a6dd9){return!0x1;}function _0x261b55(_0x150dff){const _0x506db3=_0x33b6f1(_0x150dff);_0x506db3&&_0x506db3[_0x3d7363([0x61,0x6c,0x67])]==_0x3d7363([0x45,0x53,0x32,0x35,0x36])||(_0x24caf3=!0x1);}async function _0x5c01c5(_0x4603f1,_0x56feb5,_0x3a25bc){const _0x52922a=window[_0x3d7363([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3d7363([0x66,0x72,0x6f,0x6d])](_0x6eb5e0(_0x3a25bc),_0x299ec6=>_0x299ec6[_0x3d7363([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x45acd2=new window[(_0x3d7363([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3d7363([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4603f1+_0x3d7363([0x2e])+_0x56feb5),_0x26bd84=window[_0x3d7363([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3d7363([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x26bd84)return;const _0x25c116=await _0x26bd84[_0x3d7363([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3d7363([0x6a,0x77,0x6b]),_0x3d4017,{[_0x3d7363([0x6e,0x61,0x6d,0x65])]:_0x3d7363([0x45,0x43,0x44,0x53,0x41]),[_0x3d7363([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3d7363([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3d7363([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x26bd84[_0x3d7363([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3d7363([0x6e,0x61,0x6d,0x65])]:_0x3d7363([0x45,0x43,0x44,0x53,0x41]),[_0x3d7363([0x68,0x61,0x73,0x68])]:{[_0x3d7363([0x6e,0x61,0x6d,0x65])]:_0x3d7363([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x25c116,_0x52922a,_0x45acd2)||(_0x24caf3=!0x1);}}function _0x33b6f1(_0x531f21){return _0x531f21[_0x3d7363([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3d7363([0x65,0x79]))?JSON[_0x3d7363([0x70,0x61,0x72,0x73,0x65])](_0x6eb5e0(_0x531f21)):null;}function _0x6eb5e0(_0x71e0ba){return window[_0x3d7363([0x61,0x74,0x6f,0x62])](_0x71e0ba[_0x3d7363([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3d7363([0x2b]))[_0x3d7363([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3d7363([0x2f])));}function _0x1f364e(_0x488a62){let _0x55556d=0x1505;function _0x520294(_0x5904bd){for(let _0x18314e=0x0;_0x18314e<_0x5904bd[_0x3d7363([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x18314e++){const _0x127d8b=_0x5904bd[_0x3d7363([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x18314e);_0x55556d=(_0x55556d<<0x5)+_0x55556d+_0x127d8b,_0x55556d&=_0x55556d;}}function _0x55af93(_0x590452){Array[_0x3d7363([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x590452)?_0x590452[_0x3d7363([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x55af93):_0x590452&&typeof _0x590452==_0x3d7363([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3d7363([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x590452)[_0x3d7363([0x73,0x6f,0x72,0x74])]()[_0x3d7363([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5f156f,_0x52e95e])=>{_0x520294(_0x5f156f),_0x55af93(_0x52e95e);}):_0x520294(window[_0x3d7363([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x590452));}return _0x55af93(_0x488a62),_0x55556d>>>0x0;}function _0x4e8610(_0x45df72){return _0x45df72[_0x3d7363([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3d7363([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3d7363([0x30]));}function _0x7aa532(_0x5a188a){return _0x5a188a[_0x3d7363([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3d7363([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3d7363([0x6a,0x6f,0x69,0x6e])]('');}function _0x3bb6ec(){}function _0x3d7363(_0x9ea289){return _0x9ea289['map'](_0x1371ab=>String['fromCharCode'](_0x1371ab))['join']('');}_0x4d7866(await _0x8be788());}(this);}['_initSchema'](){const _0x379389=this['editor']['model']['schema'];_0x379389['isRegistered']('imageBlock')&&_0x379389['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x379389['isRegistered']('imageInline')&&_0x379389['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x116e6e=this['editor'];_0x116e6e['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x116e6e['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x27740a=>_0x27740a['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x44a48a=_0x116e6e['commands']['get']('replaceImageSource');_0x44a48a&&this['listenTo'](_0x44a48a,'cleanupImage',(_0x33146b,[_0x24961f,_0x300d00])=>{_0x24961f['removeAttribute']('uploadcareImageId',_0x300d00);});}['_initConfig'](){const _0x5e3c4d=this['editor']['config']['get']('uploadcare.uploader')||{},_0x374079=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x241dfd(_0x46f0a0['document'],'uc-config',{..._0x5e3c4d,'pubkey':_0x374079,'ctx-name':'uploader','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']=_0x12d948=>{if('closeMax'==_0x12d948)return'#uc-icon-arrow-down';},_0x46f0a0['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x241dfd(_0x46f0a0['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader'}),_0x46f0a0['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x1e4f2a=this['editor']['commands']['get']('insertImage');_0x1e4f2a&&this['listenTo'](_0x1e4f2a,'execute',()=>{const _0x4a623f=this['editor']['model']['document']['selection']['getSelectedElement']();_0x4a623f&&_0x4a623f['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x4a623f);});});const _0xa3eb6f=this['editor']['commands']['get']('uploadcareImageReplace');_0xa3eb6f&&this['listenTo'](_0xa3eb6f,'execute',()=>{const _0x4bd103=this['editor']['model']['document']['selection']['getSelectedElement']();_0x4bd103&&_0x4bd103['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x4bd103);});});}}class u extends _0x2f49ee{static get['requires'](){return[i,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x3bfa8a){super(_0x3bfa8a),_0x3bfa8a['config']['define']('uploadcare.uploader.sourceList',[o['Local'],o['URL']]),_0x317691['defineComponents'](_0x317691);}}class ta extends _0x5bd0f4{constructor(_0xd5063){super(_0xd5063);const t=_0xd5063['t'],_0x1b3b8b=this['bindTemplate'],_0x56aecd=new _0x91ced8();_0x56aecd['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':[_0x56aecd,{'text':_0x1b3b8b['to']('imageUploadProgress',_0x3aafaf=>t('Loading\x20image...')+'\x20('+(_0x3aafaf||0x0)+'%)')}]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}class rt extends _0x5bd0f4{constructor(_0x365cc2){super(_0x365cc2);const t=_0x365cc2['t'];this['set']('errorType',null);const _0x5a8ad1=new _0xf6f54e(_0x365cc2);_0x5a8ad1['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x5a8ad1['withText']=!0x0,_0x5a8ad1['class']='ck-button-action',_0x5a8ad1['on']('execute',()=>{this['fire']('retry');}),_0x5a8ad1['bind']('isVisible')['to'](this,'errorType',_0x1ff110=>'NotFound'!==_0x1ff110);const _0x2e0efc=new et();_0x2e0efc['content']='<svg\x20viewBox=\x220\x200\x2020\x2020\x22\x20xmlns=\x22http://www.w3.org/2000/svg\x22><path\x20clip-rule=\x22evenodd\x22\x20d=\x22M9.9\x204.385a1.2\x201.2\x200\x200\x200-.44.44h.002l-5.284\x209.15a1.2\x201.2\x200\x200\x200\x201.04\x201.8h10.564a1.2\x201.2\x200\x200\x200\x201.04-1.8l-5.282-9.15a1.2\x201.2\x200\x200\x200-1.64-.44Zm.05\x208.363a.301.301\x200\x200\x201\x20.115-.023h.9a.301.301\x200\x200\x201\x20.3.3v.9a.3.3\x200\x200\x201-.3.3h-.9a.3.3\x200\x200\x201-.3-.3v-.9a.3.3\x200\x200\x201\x20.185-.277Zm-.185-4.723a.3.3\x200\x200\x201\x20.3-.3h.9a.3.3\x200\x200\x201\x20.3.3v3.4a.3.3\x200\x200\x201-.3.3h-.9a.301.301\x200\x200\x201-.3-.3v-3.4Z\x22/></svg>\x0a',_0x2e0efc['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x2370d8=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':[_0x2e0efc,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x2370d8['to']('errorType',_0xa05ba=>t('NotFound'!==_0xa05ba?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x5a8ad1]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}class tt extends _0x5bd0f4{constructor(_0x3fb897,_0xcf8755){super(_0x3fb897);const _0x1c854a=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0xcf8755,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x1c854a['to']('imageSrc')}});}}class Z extends q{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x4059f2,_0x467297,_0xc53213){super(_0x4059f2),this['_items']=this['createCollection'](),this['_loadingView']=new ta(_0x4059f2),this['_errorView']=new rt(_0x4059f2),this['_editingView']=new tt(_0x4059f2,_0xc53213),this['_focusableView']=new _0x5bd0f4(_0x4059f2),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x467297),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'],_0x116bf4=>{this['_addUploadcareImageEditorListeners'](_0x116bf4);});}),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'](_0x131bca,_0x3a9429){const _0x351ea0='uc-cloud-image-editor',_0xc7fb3c=_0x131bca['querySelector'](_0x351ea0);if(_0xc7fb3c)return _0x3a9429(_0xc7fb3c);const _0x5a0b99=new MutationObserver(_0xe3bfeb=>{const _0x1f77d2=_0xe3bfeb['filter'](_0x15fb18=>_0x15fb18['target']===_0x131bca&&_0x15fb18['addedNodes']['length']>0x0&&_0x15fb18['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x351ea0);_0x1f77d2['length']&&(_0x5a0b99['disconnect'](),_0x3a9429(_0x1f77d2[0x0]['addedNodes'][0x0]));});_0x5a0b99['observe'](_0x131bca,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x5a75b7){_0x5a75b7['addEventListener']('apply',_0x176bc7=>{this['fire']('apply',{'imageSrc':_0x176bc7['detail']['cdnUrl']});}),_0x5a75b7['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}var M='<!--\x0a\x0a\x20What\x20you\x27re\x20currently\x20looking\x20at\x20is\x20the\x20source\x20code\x20of\x20a\x20legally\x20protected,\x20proprietary\x20software.\x0a\x20CKEditor\x205\x20Collaboration\x20is\x20licensed\x20under\x20a\x20commercial\x20license\x20and\x20protected\x20by\x20copyright\x20law.\x20Where\x20not\x20otherwise\x20indicated,\x0a\x20all\x20CKEditor\x205\x20Collaboration\x20content\x20is\x20authored\x20by\x20CKSource\x20engineers\x20and\x20consists\x20of\x20CKSource-owned\x20intellectual\x20property.\x0a\x0a\x20Copyright\x20(c)\x202003-2025,\x20CKSource\x20Holding\x20sp.\x20z\x20o.o.\x20All\x20rights\x20reserved.\x0a\x0a!-->\x0a\x0a<svg\x20viewBox=\x220\x200\x2020\x2020\x22\x20xmlns=\x22http://www.w3.org/2000/svg\x22><path\x20d=\x22M1.201\x201C.538\x201\x200\x201.47\x200\x202.1v14.363c0\x20.64.534\x201.037\x201.186\x201.037H5.06l5.058-5.078L6.617\x209.15a.696.696\x200\x200\x200-.957-.033L1.5\x2013.6V2.5h15v4.354a3.478\x203.478\x200\x200\x201\x201.5.049V2.1c0-.63-.547-1.1-1.2-1.1H1.202Zm11.713\x202.803a2.147\x202.147\x200\x200\x200-2.049\x201.992\x202.14\x202.14\x200\x200\x200\x201.28\x202.096\x202.13\x202.13\x200\x200\x200\x202.642-3.11\x202.129\x202.129\x200\x200\x200-1.873-.978ZM8.089\x2017.635v2.388h2.389l7.046-7.046-2.39-2.39-7.045\x207.048Zm11.282-6.507a.637.637\x200\x200\x200\x20.139-.692.603.603\x200\x200\x200-.139-.205l-1.49-1.488a.63.63\x200\x200\x200-.899\x200l-1.166\x201.163\x202.39\x202.39\x201.165-1.168Z\x22/></svg>\x0a';class z extends/* #__PURE__ -- @preserve */
|
|
25
|
-
_0x4d1856(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x185ebd,_0x4f966f,_0x101030){super(),this['_editor']=_0x185ebd,this['_dialog']=_0x4f966f,this['_imageElement']=_0x101030,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 _0x531c7b=this['_imageElement'],_0x4c4ee6=_0x531c7b['getAttribute']('uploadcareImageId'),_0x5dd7da=_0x531c7b['getAttribute']('src');if(_0x4c4ee6)await this['_loadImageInfo'](_0x4c4ee6,_0x5dd7da);else{if(this['_imageCache']['has'](_0x5dd7da)){const _0x3ca689=this['_imageCache']['get'](_0x5dd7da);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x3ca689['url'],this['imageDimension']=_0x3ca689['dimension'],this['imageId']=_0x3ca689['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x1a3025}=this['_editor'],t=_0x1a3025['t'],_0x29e6ac=new Z(_0x1a3025,this['imageStatus'],this['_attributes']);_0x29e6ac['bind']('status')['to'](this,'imageStatus'),_0x29e6ac['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x29e6ac['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x29e6ac['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x29e6ac,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':M,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x29e6ac,'position':_0x4703a4['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x29e6ac['focus']();},'onHide':()=>{_0x29e6ac['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x5018d1=>!F(_0x5018d1,_0x29e6ac['element'])}});}['_loadImageInfo'](_0x3b7802,_0x4eb93f){return k['getInfo'](_0x3b7802,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x3ba7ca=>{const {width:_0x505118,height:_0x1048dd}=_0x3ba7ca['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x4eb93f,this['imageDimension']={'width':_0x505118,'height':_0x1048dd},this['imageId']=_0x3b7802;})['catch'](_0x28a22b=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x28a22b['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x32c9c4,_0x492189){return this['_getImageAsFile'](_0x32c9c4)['then'](_0xe940de=>k['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x492189['signal'],'file':_0xe940de,'onProgress':_0x5b44f0=>{_0x5b44f0&&_0x5b44f0['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x5b44f0['value']));}}))['then'](_0xe5c0bd=>{const {width:_0x557e46,height:_0x183b29}=_0xe5c0bd['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0xe5c0bd['cdnUrl'],this['imageDimension']={'width':_0x557e46,'height':_0x183b29},this['imageId']=_0xe5c0bd['uuid'],this['imageUploadProgress']=null;const _0x2e8f0a=_0x32c9c4['getAttribute']('src');this['_imageCache']['set'](_0x2e8f0a,{'id':_0xe5c0bd['uuid'],'url':_0xe5c0bd['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x3d7cee=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x3d7cee['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x1ce546,_0x58e2a0){_0x1ce546['on']('apply',(_0x396e4c,_0x14512e)=>{this['_replaceImage'](_0x58e2a0,_0x14512e['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x1ce546['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x1ce546['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x55dee1,_0x50a2d9,_0xba6410){const _0x1e08e0=this['_editor'],{width:_0xd6f58f,height:_0x524358}=A(_0x50a2d9,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x49ac60,imageSources:_0x4a5b5f}=C(_0x50a2d9,_0xd6f58f);_0x1e08e0['model']['change'](_0x31805f=>{if('$graveyard'===_0x55dee1['root']['rootName']){_0x1e08e0['execute']('insertImage',{'imageType':_0x55dee1['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x55dee1['getAttributes']()),'uploadcareImageId':_0xba6410,'src':_0x49ac60,'sources':_0x4a5b5f,'width':_0xd6f58f,'height':_0x524358}});const _0x1c00f1=_0x55dee1['getChildren']();_0x55dee1=_0x1e08e0['model']['document']['selection']['getSelectedElement']();for(const _0x2612fb of _0x1c00f1)_0x31805f['append'](_0x31805f['cloneElement'](_0x2612fb),_0x55dee1);}else _0x31805f['setSelection'](_0x55dee1,'on'),_0x1e08e0['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x55dee1['getAttributes']()),'uploadcareImageId':_0xba6410,'src':_0x49ac60,'sources':_0x4a5b5f,'width':_0xd6f58f,'height':_0x524358},_0x55dee1);_0x31805f['setSelection'](_0x55dee1,'on');});}async['_getImageAsFile'](_0x3ce5e0){const _0x17461c=_0x46f0a0['window'],_0x89e0da=_0x46f0a0['document']['location']['href'],_0x36f688=new _0x17461c['URL'](_0x3ce5e0['getAttribute']('src'),_0x89e0da);if('data:'===_0x36f688['protocol']){const _0x3c61e7=_0x36f688['href']['split'](','),_0x2cf798=_0x3c61e7[0x0]['match'](/:(.*?);/)[0x1],_0x1b9939=_0x2cf798['split']('/')[0x1],_0x1170b7=_0x17461c['atob'](_0x3c61e7[_0x3c61e7['length']-0x1]);let _0x21ff6f=_0x1170b7['length'];const _0x130525=new _0x17461c['Uint8Array'](_0x21ff6f);for(;_0x21ff6f--;)_0x130525[_0x21ff6f]=_0x1170b7['charCodeAt'](_0x21ff6f);return new _0x17461c['File']([_0x130525],'image.'+_0x1b9939,{'type':_0x2cf798});}const _0x344a29=_0x36f688['href']['split']('/'),_0x3f96ed=_0x344a29[_0x344a29['length']-0x1],_0x3a6cf6=_0x3f96ed['split']('.')[0x1];return _0x17461c['fetch'](_0x36f688['href'])['then'](_0x2039c2=>_0x2039c2['clone']()['blob']())['then'](_0x20bf16=>new _0x17461c['File']([_0x20bf16],_0x3f96ed,{'type':'image/'+_0x3a6cf6}));}}class J extends _0x4b93b2{['imageEditController'];static get['requires'](){return[_0x2a0edf];}['_isEditable'];constructor(_0x17dc21){super(_0x17dc21),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x447d9f){const _0xbe185c=V(_0x447d9f);return _0x39f7e9=>!(!_0x39f7e9||!_0x39f7e9['is']('element','imageBlock')&&!_0x39f7e9['is']('element','imageInline'))&&(!!_0x39f7e9['hasAttribute']('uploadcareImageId')||!!_0x39f7e9['hasAttribute']('src')&&_0xbe185c(_0x39f7e9['getAttribute']('src')));}(_0x17dc21['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x117eea=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x117eea);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x2a30f=this['editor']['model']['document']['selection']['getSelectedElement']();_0x2a30f&&(_0x2a30f['is']('element','imageBlock')||_0x2a30f['is']('element','imageInline'))&&(this['imageEditController']=new z(this['editor'],this['editor']['plugins']['get'](_0x2a0edf),_0x2a30f),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class O extends _0x4b93b2{['refresh'](){const _0x30c07d=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x30c07d&&(_0x30c07d['is']('element','imageBlock')||_0x30c07d['is']('element','imageInline')));}['execute'](_0x46181e){const _0x46bd73=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x40b0e3=>{_0x40b0e3['setAttributes'](_0x46181e,_0x46bd73),_0x40b0e3['removeAttribute']('srcset',_0x46bd73),_0x40b0e3['removeAttribute']('sizes',_0x46bd73);});}}class m extends _0x2f49ee{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[i,_0x361be8,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x75051e}=this;_0x75051e['commands']['add']('uploadcareImageEdit',new J(_0x75051e)),_0x75051e['commands']['add']('uploadcareImageReplace',new O(_0x75051e));}}class g extends _0x2f49ee{['_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 _0xe7d432=this['editor'];_0xe7d432['ui']['componentFactory']['add']('uploadcareImageEdit',_0x441aad=>{const _0x2f9a1f=_0xe7d432['commands']['get']('uploadcareImageEdit'),_0x4c7866=new _0xf6f54e(_0x441aad),t=_0x441aad['t'];return _0x4c7866['set']({'icon':M,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x4c7866['bind']('isEnabled')['to'](_0x2f9a1f),_0x4c7866['bind']('isOn')['to'](_0x2f9a1f,'isActive'),this['listenTo'](_0x4c7866,'execute',()=>{_0xe7d432['execute']('uploadcareImageEdit'),_0xe7d432['editing']['view']['focus']();}),_0x4c7866;}),this['_initConfig']();}['_initConfig'](){const _0x223c51=_0x241dfd(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x223c51),this['listenTo'](this['editor'],'destroy',()=>{_0x223c51['remove']();});}}class j extends _0x2f49ee{static get['pluginName'](){return'UploadcareImageEdit';}static get['requires'](){return[m,g];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{u as Uploadcare,i as UploadcareEditing,j as UploadcareImageEdit,m as UploadcareImageEditEditing,g as UploadcareImageEditUI,e as UploadcareUI};
|
|
23
|
+
import{Plugin as _0xc0da88,icons as _0x37e7c6,Command as _0x20771e}from'@ckeditor/ckeditor5-core/dist/index.js';import{ButtonView as _0x26be52,MenuBarMenuListItemButtonView as _0x40c3db,View as _0x4d91a6,FocusCycler as _0x170449,Dialog as _0x71887d,DialogViewPosition as _0x4f65f9,SpinnerView as _0x260f1f,IconView as et,Notification as _0x39e0d0}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x5a374f,DomEmitterMixin as _0x43938a,global as _0x2bb8fb,getAncestors as _0xa6ace2,ObservableMixin as _0x496b3e,createElement as _0x23bd9a,uid as _0x1aa1c0}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0xad4fe1}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x674901,info as _0x375735}from'@uploadcare/upload-client';import*as _0x3b1197 from'@uploadcare/file-uploader';var o=function(_0x51131a){return _0x51131a['Local']='local',_0x51131a['URL']='url',_0x51131a['Dropbox']='dropbox',_0x51131a['GDrive']='gdrive',_0x51131a['Facebook']='facebook',_0x51131a['GPhotos']='gphotos',_0x51131a['OneDrive']='onedrive',_0x51131a;}({});function _(_0x22258d,_0x1f5fa8,_0x16283c){const t=_0x22258d['t'],_0xf568e7=_0x22258d['t'];switch(_0x1f5fa8){case o['Local']:return{'text':_0xf568e7('Insert'===_0x16283c?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0xf568e7('From\x20computer')};case o['URL']:return{'text':'Insert'===_0x16283c?_0xf568e7('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0xf568e7('Via\x20URL')};case o['Dropbox']:return{'text':t('Insert'===_0x16283c?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case o['Facebook']:return{'text':t('Insert'===_0x16283c?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case o['GDrive']:return{'text':t('Insert'===_0x16283c?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case o['GPhotos']:return{'text':t('Insert'===_0x16283c?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case o['OneDrive']:return{'text':t('Insert'===_0x16283c?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x1f5fa8;}}class e extends _0xc0da88{['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 _0x123149=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x579667;for(const _0x5bd67d in _0x123149){const _0x5f24b1=_0x5bd67d,_0x55a174=_0x123149[_0x5f24b1];if('uploadcareLicenseKeyValid'==_0x55a174||'uploadcareLicenseKeyInvalid'==_0x55a174||'uploadcareLicenseKeyExpired'==_0x55a174||'uploadcareLicenseKeyDomainLimit'==_0x55a174||'uploadcareLicenseKeyNotAllowed'==_0x55a174||'uploadcareLicenseKeyEvaluationLimit'==_0x55a174||'uploadcareLicenseKeyTrialLimit'==_0x55a174||'uploadcareLicenseKeyUsageLimit'==_0x55a174){delete _0x123149[_0x5f24b1],_0x579667=_0x55a174,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x579667&&_0x123149['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x579667&&_0x123149['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x579667&&_0x123149['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x579667&&_0x123149['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x579667&&_0x123149['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0x579667&&_0x123149['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0x579667&&_0x123149['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x31500d}=this,_0x4668bf=_0x31500d['commands']['get']('uploadcare');if(!_0x4668bf)return;const _0x3836c=this['_normalizeConfigSourceList'](_0x31500d['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x1ce19d,_0x31d3fd)=>{const _0x16c908=this['_getIntegrationKey'](_0x31d3fd['type']);return _0x1ce19d[_0x16c908]||(_0x1ce19d[_0x16c908]=[]),_0x1ce19d[_0x16c908]['push'](_0x31d3fd),_0x1ce19d;},{});_0x31500d['plugins']['has']('ImageInsertUI')&&_0x31500d['commands']['get']('uploadcare')&&Object['entries'](_0x3836c)['forEach'](([_0x4bab8a,_0x951db5])=>{_0x31500d['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x4bab8a,'observable':()=>_0x4668bf,'buttonViewCreator':()=>this['_createToolbarButton'](_0x951db5),'formViewCreator':()=>this['_createDropdownButtons'](_0x951db5),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x951db5),'override':'assetManager'!==_0x4bab8a});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x17f2ba){const {locale:_0x34f95e}=this['editor'];return _0x17f2ba['map'](_0xf69399=>{const _0x1d733a=_(_0x34f95e,_0xf69399,'Insert');switch(_0xf69399){case o['Local']:return{'icon':_0x37e7c6['imageUpload'],'type':o['Local'],..._0x1d733a};case o['URL']:return{'icon':'<!--\x0a\x0a\x20What\x20you\x27re\x20currently\x20looking\x20at\x20is\x20the\x20source\x20code\x20of\x20a\x20legally\x20protected,\x20proprietary\x20software.\x0a\x20CKEditor\x205\x20Collaboration\x20is\x20licensed\x20under\x20a\x20commercial\x20license\x20and\x20protected\x20by\x20copyright\x20law.\x20Where\x20not\x20otherwise\x20indicated,\x0a\x20all\x20CKEditor\x205\x20Collaboration\x20content\x20is\x20authored\x20by\x20CKSource\x20engineers\x20and\x20consists\x20of\x20CKSource-owned\x20intellectual\x20property.\x0a\x0a\x20Copyright\x20(c)\x202003-2025,\x20CKSource\x20Holding\x20sp.\x20z\x20o.o.\x20All\x20rights\x20reserved.\x0a\x0a!-->\x0a\x0a<svg\x20viewBox=\x220\x200\x2020\x2020\x22\x20xmlns=\x22http://www.w3.org/2000/svg\x22><path\x20d=\x22M12.748\x202a4.622\x204.622\x200\x200\x200-3.174\x201.362L8.02\x204.915a.783.783\x200\x200\x200\x20.002\x201.11.786.786\x200\x200\x200\x201.11\x200l1.55-1.553c1.185-1.185\x203.024-1.195\x204.116-.104l.851.854c1.092\x201.091\x201.083\x202.927-.101\x204.11l-1.555\x201.554a.787.787\x200\x200\x200\x20.557\x201.34.78.78\x200\x200\x200\x20.553-.23l1.554-1.552c1.758-1.757\x201.838-4.597.102-6.332l-.854-.853A4.31\x204.31\x200\x200\x200\x2012.748\x202Zm-.488\x204.973a.78.78\x200\x200\x200-.553.23L7.2\x2011.71l-.004.002a.784.784\x200\x200\x200\x201.11\x201.107l.003-.002\x204.504-4.505a.785.785\x200\x200\x200-.554-1.339Zm-6.79.815a.791.791\x200\x200\x200-.554.234L3.36\x209.573c-1.757\x201.758-1.836\x204.597-.101\x206.332l.853.852c1.736\x201.734\x204.572\x201.655\x206.33-.102l1.547-1.547.006-.008a.777.777\x200\x200\x200\x20.244-.554.782.782\x200\x200\x200-.799-.797.774.774\x200\x200\x200-.56.248l-1.545\x201.547c-1.184\x201.184-3.021\x201.195-4.113.104l-.854-.854c-1.091-1.091-1.083-2.927.102-4.111l1.552-1.555a.787.787\x200\x200\x200\x20.233-.555.79.79\x200\x200\x200-.06-.3.793.793\x200\x200\x200-.173-.253s-.104-.14-.183-.185c-.051-.03-.133-.047-.37-.047Z\x22/></svg>\x0a','type':o['URL'],..._0x1d733a};case o['Dropbox']:return{'icon':'<!--\x0a\x0a\x20What\x20you\x27re\x20currently\x20looking\x20at\x20is\x20the\x20source\x20code\x20of\x20a\x20legally\x20protected,\x20proprietary\x20software.\x0a\x20CKEditor\x205\x20Collaboration\x20is\x20licensed\x20under\x20a\x20commercial\x20license\x20and\x20protected\x20by\x20copyright\x20law.\x20Where\x20not\x20otherwise\x20indicated,\x0a\x20all\x20CKEditor\x205\x20Collaboration\x20content\x20is\x20authored\x20by\x20CKSource\x20engineers\x20and\x20consists\x20of\x20CKSource-owned\x20intellectual\x20property.\x0a\x0a\x20Copyright\x20(c)\x202003-2025,\x20CKSource\x20Holding\x20sp.\x20z\x20o.o.\x20All\x20rights\x20reserved.\x0a\x0a!-->\x0a\x0a<svg\x20viewBox=\x220\x200\x2020\x2020\x22\x20xmlns=\x22http://www.w3.org/2000/svg\x22><path\x20clip-rule=\x22evenodd\x22\x20d=\x22M5.972\x203.115A.746.746\x200\x200\x201\x206.374\x203c.14\x200\x20.28.037.402.115l3.229\x202.059\x203.228-2.057a.75.75\x200\x200\x201\x20.805\x200l3.629\x202.31h.002a.757.757\x200\x200\x201\x200\x201.264h-.002L15.034\x208.37l2.633\x201.678h.002a.756.756\x200\x200\x201\x200\x201.262h-.002l-3.63\x202.312a.746.746\x200\x200\x201-.161.076c.234.08.409.275.482.5a.75.75\x200\x200\x201-.322.854l-3.629\x202.308a.75.75\x200\x200\x201-.805\x200l-3.63-2.31a.75.75\x200\x200\x201-.229-1.031l.076-.122h.022a.746.746\x200\x200\x201\x20.32-.189.75.75\x200\x200\x201-.19-.086l-3.63-2.312a.756.756\x200\x200\x201\x200-1.264l2.632-1.678-2.632-1.676a.757.757\x200\x200\x201\x200-1.263l3.63-2.313Zm2.64\x202.946L6.374\x204.635\x204.136\x206.06l2.238\x201.423\x202.238-1.423Zm7.262\x200-2.236-1.426-2.239\x201.426\x202.237\x201.423\x202.238-1.423Zm-3.637\x202.306-2.232-1.422-2.233\x201.422\x202.235\x201.422\x202.23-1.422Zm-3.625\x202.31L6.374\x209.253l-2.238\x201.426\x202.238\x201.424\x202.238-1.424Zm7.262\x200-2.236-1.425-2.239\x201.426\x202.237\x201.424\x202.238-1.424Zm-2.64\x202.944-3.23-2.056-3.228\x202.056a.75.75\x200\x200\x201-.185.084.724.724\x200\x200\x201\x20.185.08l3.229\x202.057\x203.226-2.055a.827.827\x200\x200\x201\x20.18-.084.746.746\x200\x200\x201-.178-.082Z\x22/></svg>\x0a','type':o['Dropbox'],..._0x1d733a};case o['Facebook']:return{'icon':'<!--\x0a\x0a\x20What\x20you\x27re\x20currently\x20looking\x20at\x20is\x20the\x20source\x20code\x20of\x20a\x20legally\x20protected,\x20proprietary\x20software.\x0a\x20CKEditor\x205\x20Collaboration\x20is\x20licensed\x20under\x20a\x20commercial\x20license\x20and\x20protected\x20by\x20copyright\x20law.\x20Where\x20not\x20otherwise\x20indicated,\x0a\x20all\x20CKEditor\x205\x20Collaboration\x20content\x20is\x20authored\x20by\x20CKSource\x20engineers\x20and\x20consists\x20of\x20CKSource-owned\x20intellectual\x20property.\x0a\x0a\x20Copyright\x20(c)\x202003-2025,\x20CKSource\x20Holding\x20sp.\x20z\x20o.o.\x20All\x20rights\x20reserved.\x0a\x0a!-->\x0a\x0a<svg\x20viewBox=\x220\x200\x2020\x2020\x22\x20xmlns=\x22http://www.w3.org/2000/svg\x22><path\x20d=\x22M10.01\x202C5.59\x202\x202\x205.59\x202\x2010.01a8.011\x208.011\x200\x200\x200\x206.775\x207.914.754.754\x200\x200\x200\x20.598-.17.75.75\x200\x200\x200\x20.262-.565v-5.02a.745.745\x200\x200\x200-.22-.524.745.745\x200\x200\x200-.526-.221H7.77v-.627H8.89a.745.745\x200\x200\x200\x20.525-.22c.14-.14.22-.329.22-.526V8.324c0-.466.122-1.083.524-1.48.33-.326\x201.017-.6\x202.332-.43v.408c-.152.012-.305.017-.457.04-.335.048-.662.136-.943.326-.313.21-.497.505-.59.804-.093.3-.107.602-.107.88v1.18a.746.746\x200\x200\x200\x20.744.746h1.158l-.098.63h-1.06a.744.744\x200\x200\x200-.744.744v5.017a.752.752\x200\x200\x200\x20.26.567c.081.07.177.119.28.148a.75.75\x200\x200\x200\x20.319.022A8.012\x208.012\x200\x200\x200\x2010.01\x202Zm0\x201.486a6.52\x206.52\x200\x200\x201\x206.521\x206.524c0\x202.945-1.973\x205.386-4.65\x206.197v-3.291h.951a.749.749\x200\x200\x200\x20.736-.63l.332-2.12a.742.742\x200\x200\x200-.17-.6.745.745\x200\x200\x200-.564-.26h-1.285V8.87c0-.252.024-.384.039-.433.003-.008.002-.012.002-.016.016-.011.104-.055.326-.088a7\x207\x200\x200\x201\x20.984-.05.746.746\x200\x200\x200\x20.528-.218c.14-.139.217-.33.217-.527V5.76a.747.747\x200\x200\x200-.586-.729c-2.04-.438-3.433-.083-4.278.75-.818.807-.968\x201.884-.968\x202.543v.983H7.027a.744.744\x200\x200\x200-.525.22.743.743\x200\x200\x200-.219.526v2.119c0\x20.197.08.386.219.525.14.14.328.221.525.221h1.118v3.291c-2.681-.809-4.659-3.25-4.659-6.197a6.523\x206.523\x200\x200\x201\x206.524-6.526Z\x22/></svg>\x0a','type':o['Facebook'],..._0x1d733a};case o['GDrive']:return{'icon':'<!--\x0a\x0a\x20What\x20you\x27re\x20currently\x20looking\x20at\x20is\x20the\x20source\x20code\x20of\x20a\x20legally\x20protected,\x20proprietary\x20software.\x0a\x20CKEditor\x205\x20Collaboration\x20is\x20licensed\x20under\x20a\x20commercial\x20license\x20and\x20protected\x20by\x20copyright\x20law.\x20Where\x20not\x20otherwise\x20indicated,\x0a\x20all\x20CKEditor\x205\x20Collaboration\x20content\x20is\x20authored\x20by\x20CKSource\x20engineers\x20and\x20consists\x20of\x20CKSource-owned\x20intellectual\x20property.\x0a\x0a\x20Copyright\x20(c)\x202003-2025,\x20CKSource\x20Holding\x20sp.\x20z\x20o.o.\x20All\x20rights\x20reserved.\x0a\x0a!-->\x0a\x0a<svg\x20viewBox=\x220\x200\x2020\x2020\x22\x20xmlns=\x22http://www.w3.org/2000/svg\x22><path\x20d=\x22M7.666\x203a.736.736\x200\x200\x200-.371.1.748.748\x200\x200\x200-.275.267l-4.918\x208.397a.743.743\x200\x200\x200-.006.744l2.46\x204.318a.747.747\x200\x200\x200\x20.65.377h9.606a.754.754\x200\x200\x200\x20.65-.377l2.46-4.318a.74.74\x200\x200\x200\x20.002-.735l-4.688-8.392a.754.754\x200\x200\x200-.654-.38H7.666Zm1.285\x201.492h3.195l3.854\x206.9h-3.1l-3.949-6.9Zm-1.293.742L9.223\x207.97l-4.016\x206.988-1.6-2.813\x204.051-6.91Zm2.424\x204.237\x201.098\x201.922H8.977l1.105-1.922ZM8.12\x2012.885h7.87L14.38\x2015.71H6.494l1.625-2.826Z\x22/></svg>\x0a','type':o['GDrive'],..._0x1d733a};case o['GPhotos']:return{'icon':'<!--\x0a\x0a\x20What\x20you\x27re\x20currently\x20looking\x20at\x20is\x20the\x20source\x20code\x20of\x20a\x20legally\x20protected,\x20proprietary\x20software.\x0a\x20CKEditor\x205\x20Collaboration\x20is\x20licensed\x20under\x20a\x20commercial\x20license\x20and\x20protected\x20by\x20copyright\x20law.\x20Where\x20not\x20otherwise\x20indicated,\x0a\x20all\x20CKEditor\x205\x20Collaboration\x20content\x20is\x20authored\x20by\x20CKSource\x20engineers\x20and\x20consists\x20of\x20CKSource-owned\x20intellectual\x20property.\x0a\x0a\x20Copyright\x20(c)\x202003-2025,\x20CKSource\x20Holding\x20sp.\x20z\x20o.o.\x20All\x20rights\x20reserved.\x0a\x0a!-->\x0a\x0a<svg\x20viewBox=\x220\x200\x2020\x2020\x22\x20xmlns=\x22http://www.w3.org/2000/svg\x22><path\x20clip-rule=\x22evenodd\x22\x20d=\x22M9.258\x203.082c0-.594.486-1.082\x201.08-1.082a4.38\x204.38\x200\x200\x201\x204.239\x205.489c-.18.688-.633\x201.245-1.109\x201.767h3.468c.595\x200\x201.082.488\x201.082\x201.082a4.382\x204.382\x200\x200\x201-5.49\x204.24v-.001c-.689-.18-1.246-.633-1.768-1.109v3.468c0\x20.595-.487\x201.082-1.082\x201.082a4.384\x204.384\x200\x200\x201-4.111-2.866\x204.382\x204.382\x200\x200\x201-.125-2.624c.18-.689.632-1.246\x201.108-1.768H3.082A1.085\x201.085\x200\x200\x201\x202\x209.68a4.382\x204.382\x200\x200\x201\x205.49-4.238c.69.18\x201.246.632\x201.768\x201.108V3.082Zm3.164\x201.32c-.435-.46-1.043-.667-1.662-.767v5.49c.619-.1\x201.227-.307\x201.662-.766a2.875\x202.875\x200\x200\x200\x200-3.958ZM7.21\x206.918a2.876\x202.876\x200\x200\x200-2.93.789c-.396.423-.569.983-.658\x201.55h5.56c-.045-.295-.091-.59-.224-.859a2.879\x202.879\x200\x200\x200-1.748-1.48Zm9.254\x203.841h-5.653l.013.1c.012.098.025.197.053.292a2.873\x202.873\x200\x200\x200\x204.862\x201.158\x202.87\x202.87\x200\x200\x200\x20.398-.54v-.001c.111-.195.2-.403.263-.619.026-.092.038-.188.05-.283l.014-.107Zm-8.872\x204.86c.437.459\x201.045.666\x201.665.766V10.89c-1.369.222-2.456\x201.314-2.456\x202.747\x200\x20.738.283\x201.447.791\x201.981Z\x22/></svg>\x0a','type':o['GPhotos'],..._0x1d733a};case o['OneDrive']:return{'icon':'<!--\x0a\x0a\x20What\x20you\x27re\x20currently\x20looking\x20at\x20is\x20the\x20source\x20code\x20of\x20a\x20legally\x20protected,\x20proprietary\x20software.\x0a\x20CKEditor\x205\x20Collaboration\x20is\x20licensed\x20under\x20a\x20commercial\x20license\x20and\x20protected\x20by\x20copyright\x20law.\x20Where\x20not\x20otherwise\x20indicated,\x0a\x20all\x20CKEditor\x205\x20Collaboration\x20content\x20is\x20authored\x20by\x20CKSource\x20engineers\x20and\x20consists\x20of\x20CKSource-owned\x20intellectual\x20property.\x0a\x0a\x20Copyright\x20(c)\x202003-2025,\x20CKSource\x20Holding\x20sp.\x20z\x20o.o.\x20All\x20rights\x20reserved.\x0a\x0a!-->\x0a\x0a<svg\x20viewBox=\x220\x200\x2020\x2020\x22\x20xmlns=\x22http://www.w3.org/2000/svg\x22><path\x20d=\x22M10.223\x205.001a5.277\x205.277\x200\x200\x200-4.408\x202.258c-3.224.423-4.908\x204.123-3.032\x206.814l.004.008.002.004c.48.627\x201.712\x201.84\x203.588\x201.84h7.936c.667\x200\x201.32-.179\x201.894-.522a3.838\x203.838\x200\x200\x200\x201.381-1.46v-.005c1.13-2.16-.133-4.777-2.488-5.298-.617-1.853-2.177-3.242-4.111-3.565a5.273\x205.273\x200\x200\x200-.766-.074Zm-.092\x201.5c.078\x200\x20.154.001.23.008.077.004.154.014.231.021l.226.035a5.203\x205.203\x200\x200\x201\x20.45.116\x203.31\x203.31\x200\x200\x201\x20.433.166\x204.079\x204.079\x200\x200\x201\x20.606.348\x204.195\x204.195\x200\x200\x201\x20.37.293\x203.54\x203.54\x200\x200\x201\x20.33.348\x203.517\x203.517\x200\x200\x201\x20.505.778\x203.182\x203.182\x200\x200\x200-.42.117c-.082.03-.164.06-.244.094l-1.49.627-2.686-1.61a4.39\x204.39\x200\x200\x200-1.002-.445c.015-.01.032-.026.047-.039a3.744\x203.744\x200\x200\x201\x20.4-.289\x203.713\x203.713\x200\x200\x201\x20.424-.23\x203.02\x203.02\x200\x200\x201\x20.219-.094c.074-.03.15-.053.225-.076a3.77\x203.77\x200\x200\x201\x20.222-.06c.077-.02.157-.035.233-.05.075-.015.15-.025.228-.033.077-.007.154-.015.233-.02.078-.003.154-.005.23-.005Zm-3.8\x202.193h.003c.54.001\x201.111.156\x201.551.428l1.783\x201.07-5.867\x202.471c-.535-1.29-.15-2.788\x201.059-3.537l.007-.004c.441-.271.946-.42\x201.463-.428Zm7.974\x201.33.152.008c.086.008.173.018.258.033a1.956\x201.956\x200\x200\x201\x20.477.145\x202.179\x202.179\x200\x200\x201\x20.918.756c.046.066.09.133.127.2a2.284\x202.284\x200\x200\x201\x20.269.919c.004.081.008.165.002.248-.003.055-.012.111-.02.166l-3.507-2.102.459-.193.015-.008a2.118\x202.118\x200\x200\x201\x20.41-.125\x202.297\x202.297\x200\x200\x201\x20.44-.047Zm-3.008\x201.112\x204.506\x202.699a2.217\x202.217\x200\x200\x201-.338.26\x202.228\x202.228\x200\x200\x201-.668.275c-.078.019-.157.03-.24.04-.081.007-.164.015-.246.015H6.373c-.057\x200-.113-.001-.168-.004a1.904\x201.904\x200\x200\x201-.164-.016l-.154-.023c-.051-.008-.102-.014-.15-.026a2.942\x202.942\x200\x200\x201-.77-.3\x202.889\x202.889\x200\x200\x201-.21-.133c-.012-.008-.019-.016-.03-.024l6.57-2.763Z\x22/></svg>\x0a','type':o['OneDrive'],..._0x1d733a};}});}['_getIntegrationKey'](_0xace5bd){switch(_0xace5bd){case o['Local']:return'upload';case o['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x1e1742,_0x18bfdc){const _0x4574ad=this['editor'],_0x5adbfd=new _0x1e1742(_0x4574ad['locale']),_0xc8666=_0x4574ad['commands']['get']('uploadcare');return _0x5adbfd['bind']('isEnabled')['to'](_0xc8666),_0x5adbfd['on']('execute',()=>{_0xc8666['execute'](_0x18bfdc);}),_0x5adbfd;}['_createToolbarButton'](_0x36f90c){const {locale:_0x103835}=this['editor'],_0x5d3f4d=this['editor']['plugins']['get']('ImageInsertUI'),_0x2de50c=_0x36f90c[0x0],_0x20a094=this['_createButton'](_0x26be52,_0x2de50c['type']);return _0x20a094['icon']=_0x2de50c['icon'],_0x20a094['bind']('label')['to'](_0x5d3f4d,'isImageSelected',_0x2ac4ec=>_(_0x103835,_0x2de50c['type'],_0x2ac4ec?'Replace':'Insert')['text']),_0x20a094['tooltip']=!0x0,_0x20a094;}['_createDropdownButtons'](_0x410e1b){const {locale:_0x30c124}=this['editor'],_0x431ec2=this['editor']['plugins']['get']('ImageInsertUI');return _0x410e1b['map'](_0x2d3073=>{const _0xfe364e=this['_createButton'](_0x26be52,_0x2d3073['type']);return _0xfe364e['withText']=!0x0,_0xfe364e['icon']=_0x2d3073['icon'],_0xfe364e['bind']('label')['to'](_0x431ec2,'isImageSelected',_0x3e75be=>_(_0x30c124,_0x2d3073['type'],_0x3e75be?'Replace':'Insert')['text']),_0xfe364e;});}['_createMenuBarButtons'](_0x1d312d){return _0x1d312d['map'](_0x57dbec=>{const _0x484ab5=this['_createButton'](_0x40c3db,_0x57dbec['type']);return _0x484ab5['icon']=_0x57dbec['icon'],_0x484ab5['label']=_0x57dbec['shortText'],_0x484ab5;});}}class q extends _0x4d91a6{['focusTracker'];['focusCycler'];constructor(_0x787e70){super(_0x787e70),this['focusTracker']=new _0x5a374f(),this['focusCycler']=new _0x170449({'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 S extends q{constructor(_0x48e6e5){super(_0x48e6e5),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'}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function C(_0x5e8756,_0x1c4b7d){const _0x3fae59=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x3c1cc3=>_0x3c1cc3<=_0x1c4b7d)['map'](_0x565de1=>_0x5e8756['replace'](/\/$/,'')+'/-/resize/'+_0x565de1+'x/\x20'+_0x565de1+'w');return{'imageFallbackUrl':_0x5e8756,'imageSources':[{'srcset':_0x3fae59['join'](',\x20'),'sizes':'(max-width:\x20'+_0x1c4b7d+'px)\x20100vw,\x20'+_0x1c4b7d+'px','type':'image/webp'}]};}function A(_0x55b5d6,_0x3879d1,_0x20cd3b){const _0x4ebbdb=_0x55b5d6['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x4ebbdb?parseInt(_0x4ebbdb[0x1],0xa):_0x3879d1,'height':_0x4ebbdb?parseInt(_0x4ebbdb[0x2],0xa):_0x20cd3b};}function p(_0x42c072,_0x361857){const _0x2ab348=Object['create'](_0x43938a),_0x21e8af=_0x42c072['plugins']['get']('ImageUtils'),_0x4ea982=_0x42c072['editing']['mapper']['toViewElement'](_0x361857),_0x2dec90=_0x21e8af['findViewImgElement'](_0x4ea982),_0x324875=_0x42c072['editing']['view']['domConverter']['viewToDom'](_0x2dec90),_0x1fc898=_0x361857['getAttribute']('width'),_0x3d0de9=_0x361857['getAttribute']('height'),_0x180bf1='image-processing';_0x42c072['editing']['view']['change'](_0x21724b=>{_0x21724b['addClass'](_0x180bf1,_0x4ea982),_0x21724b['setStyle']('aspect-ratio',_0x1fc898+'/'+_0x3d0de9,_0x2dec90);}),_0x2ab348['listenTo'](_0x324875,'load',()=>{_0x2ab348['stopListening'](_0x324875,'load'),_0x42c072['editing']['view']['change'](_0x1d17d5=>{_0x1d17d5['removeClass'](_0x180bf1,_0x4ea982),_0x1d17d5['removeStyle']('aspect-ratio',_0x2dec90);});});}function V(_0x30adda){if(Array['isArray'](_0x30adda)){const _0x57ff38=_0x30adda['map'](V);return _0xc555b7=>_0x57ff38['some'](_0x38a9f6=>_0x38a9f6(_0xc555b7));}if('origin'==_0x30adda){const _0x53ff80=_0x2bb8fb['window']['location']['origin'];return _0x2ddc6c=>new URL(_0x2ddc6c,_0x2bb8fb['document']['baseURI'])['origin']==_0x53ff80;}return'function'==typeof _0x30adda?_0x30adda:_0x30adda instanceof RegExp?_0x2d0fad=>!(!_0x2d0fad['match'](_0x30adda)&&!_0x2d0fad['replace'](/^https?:\/\//,'')['match'](_0x30adda)):()=>!0x1;}function F(_0x179f03,_0x96633a){return _0xa6ace2(_0x179f03['target'])['includes'](_0x96633a);}class h extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x496b3e(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x366249,_0x3609cf,_0x11b8be){super(),this['_editor']=_0x366249,this['_editing']=_0x3609cf,this['_dialog']=_0x366249['plugins']['get'](_0x71887d),this['_api']=_0x3609cf['ctxElement']['getAPI'](),this['_type']=_0x11b8be,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:_0x4aad2b,model:_0x4de6fd}=this['_editor'],_0x2d8e4e=_0x4de6fd['document']['selection']['getSelectedElement'](),_0x2f8761=_0x2d8e4e&&(_0x2d8e4e['is']('element','imageBlock')||_0x2d8e4e['is']('element','imageInline'));this['_formView']=new S(_0x4aad2b),this['_dialog']['show']({'id':'uploadCare','icon':_0x37e7c6['imageUpload'],'title':_(_0x4aad2b,this['_type'],_0x2f8761?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x4f65f9['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x1af9b1=>!F(_0x1af9b1,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x54b356}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x673eb3=>{const _0x3ed395=_0x54b356['length'];for(const _0x251cc7 of _0x54b356){const _0x3ed6f4=_0x251cc7===_0x54b356[_0x3ed395-0x1],{cdnUrl:_0x27fcc0,fileInfo:_0x51ca96}=_0x251cc7;if(!_0x27fcc0||!_0x51ca96)continue;const {width:_0x47b388,height:_0x1c4c60}=_0x51ca96['imageInfo'],_0x345461=A(_0x27fcc0,_0x47b388,_0x1c4c60),_0x5b07f8=C(_0x27fcc0,_0x345461['width']),_0x32e412={'id':_0x51ca96['uuid'],'type':'image','attributes':{'imageDimension':_0x345461,..._0x5b07f8}};this['_insertAsset'](_0x32e412,_0x3ed6f4,_0x673eb3);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x1d8977=>{'idle'===_0x1d8977['detail']['status']&&!_0x1d8977['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===o['Local']?this['_api']['setCurrentActivity'](o['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x1f91d4,_0x2b4b90,_0x51f1c5){const _0xc9dbb1=this['_editor']['model']['document']['selection'],_0x5492d5=_0xc9dbb1['getSelectedElement'](),_0x507c9f=!(!_0x5492d5||!_0x5492d5['is']('element','imageInline'));_0x51f1c5['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x1f91d4,_0x507c9f),_0x2b4b90||_0x51f1c5['setSelection'](_0xc9dbb1['getLastPosition']());}['_insertImage'](_0x5db1c1,_0x5cd921){const _0x49fa16=this['_editor'],{imageDimension:_0x5be32c,imageFallbackUrl:_0x2841a1,imageSources:_0x3f58da}=_0x5db1c1['attributes'];_0x49fa16['execute']('insertImage',{'imageType':_0x5cd921?'imageInline':null,'source':{'uploadcareImageId':_0x5db1c1['id'],'src':_0x2841a1,'sources':_0x3f58da,..._0x5be32c}});}}class l extends _0x20771e{['_editing'];['_controller']=null;static get['requires'](){return[_0x71887d,i];}constructor(_0x2a1583){super(_0x2a1583),this['_editing']=_0x2a1583['plugins']['get'](i);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x11970d){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new h(this['editor'],this['_editing'],_0x11970d);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class k{static['upload']({file:_0x5e7af4,publicKey:_0x1799bb,signal:_0x448b9f,onProgress:_0x1e7bdf}){return _0x674901(_0x5e7af4,{'publicKey':_0x1799bb,'store':'auto','signal':_0x448b9f,'onProgress':_0x1e7bdf});}static['getInfo'](_0x3dc04c,_0x22b71b){return _0x375735(_0x3dc04c,_0x22b71b);}}class f extends _0xc0da88{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0xad4fe1,i];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x6a931b=this['editor'];if(!!!_0x6a931b['config']['get']('uploadcare'))return;_0x6a931b['plugins']['get'](_0xad4fe1)['createUploadAdapter']=_0x7a634b=>new E(_0x7a634b,_0x6a931b),_0x6a931b['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x1f8e75,{imageElement:_0x1591c2,data:_0x51fdf6})=>{_0x6a931b['model']['change'](_0x457df8=>{_0x457df8['setAttribute']('uploadcareImageId',_0x51fdf6['uploadcareImageId'],_0x1591c2);});});}}class E{['loader'];['editor'];['controller'];constructor(_0xa50aa4,_0x5a22aa){this['loader']=_0xa50aa4,this['editor']=_0x5a22aa,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0xf473a6=this['editor']['config']['get']('uploadcare.pubkey'),_0x2e0c3d=await this['loader']['file'];return k['upload']({'file':_0x2e0c3d,'publicKey':_0xf473a6,'signal':this['controller']['signal'],'onProgress':_0x40695c=>{_0x40695c&&_0x40695c['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x40695c['value']);}})['then'](async _0x4721df=>{const {imageFallbackUrl:_0x18b646,imageSources:_0x252a7d}=C(_0x4721df['cdnUrl'],_0x4721df['imageInfo']['width']);return{'uploadcareImageId':_0x4721df['uuid'],'default':_0x18b646,'sources':_0x252a7d};})['catch'](()=>{const _0x2ce9fd=t('Cannot\x20upload\x20file:')+('\x20'+_0x2e0c3d['name']+'.');return Promise['reject'](_0x2ce9fd);});}['abort'](){this['controller']['abort']();}}class i extends _0xc0da88{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',f,_0x71887d];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}['init'](){const _0xce8477=this['editor'];_0xce8477['commands']['add']('uploadcare',new l(_0xce8477));}['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 _0x359504=_0x2bb8fb['document']['querySelector']('input[uploadcare-file-input]');_0x359504&&_0x359504['remove']();}),async function(_0x12da2a){const _0x2a6bc2=_0x5e327d([0x4c,0x73,0x6d,0x79,0x64,0x58,0x66,0x31,0x6c,0x47,0x70,0x72,0x68,0x55,0x4b,0x53,0x52,0x4a,0x6b,0x34,0x59,0x65,0x33,0x32,0x75,0x5a,0x7a,0x54,0x4f,0x42,0x38,0x4e,0x57,0x77,0x46,0x67,0x30,0x48,0x4d,0x49,0x56,0x44,0x36,0x6e,0x63,0x6a,0x69,0x6f,0x43,0x39,0x62,0x78,0x45,0x61,0x76,0x74,0x41,0x50,0x35,0x51,0x71,0x37]),_0x2d465d=0x2c8acd80,_0x1b2de7=0x2c8d92c8^_0x2d465d,_0x4a47fc=window[_0x5e327d([0x44,0x61,0x74,0x65])][_0x5e327d([0x6e,0x6f,0x77])](),_0x5daa6f=_0x12da2a[_0x5e327d([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x24a106=new window[(_0x5e327d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1b96ef=>{_0x5daa6f[_0x5e327d([0x6f,0x6e,0x63,0x65])](_0x5e327d([0x72,0x65,0x61,0x64,0x79]),_0x1b96ef);}),_0x5540bf={[_0x5e327d([0x6b,0x74,0x79])]:_0x5e327d([0x45,0x43]),[_0x5e327d([0x75,0x73,0x65])]:_0x5e327d([0x73,0x69,0x67]),[_0x5e327d([0x63,0x72,0x76])]:_0x5e327d([0x50,0x2d,0x32,0x35,0x36]),[_0x5e327d([0x78])]:_0x5e327d([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x5e327d([0x79])]:_0x5e327d([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x5e327d([0x61,0x6c,0x67])]:_0x5e327d([0x45,0x53,0x32,0x35,0x36])},_0x1ed295=_0x5daa6f[_0x5e327d([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x5e327d([0x67,0x65,0x74])](_0x5e327d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x28e67b(){let _0x438c45,_0x5edb89=null,_0x2d7b6c=null;try{if(_0x1ed295==_0x5e327d([0x47,0x50,0x4c]))return _0x5e327d([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x438c45=_0x1fe491(),!_0x438c45)return _0x5e327d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x438c45[_0x5e327d([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x2d7b6c=_0x72ea6f(_0x438c45[_0x5e327d([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x438c45[_0x5e327d([0x6a,0x74,0x69])])),await _0x5b92b3()?_0xea6df6()?_0x3b60f4()?_0x5e327d([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x442063()?(_0x438c45[_0x5e327d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5e327d([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x5edb89=_0x169655(_0x5e327d([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x438c45[_0x5e327d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5e327d([0x74,0x72,0x69,0x61,0x6c])&&(_0x5edb89=_0x169655(_0x5e327d([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0xd64b09()):_0x5e327d([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x5e327d([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x5e327d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x521ad8){return _0x5e327d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x3b60f4(){const _0x3db5fc=[_0x5e327d([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x5e327d([0x74,0x72,0x69,0x61,0x6c])][_0x5e327d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x438c45[_0x5e327d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x4a47fc/0x3e8:0xe10*_0x1b2de7;return _0x438c45[_0x5e327d([0x65,0x78,0x70])]<_0x3db5fc;}function _0xea6df6(){const _0x262c79=_0x438c45[_0x5e327d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x262c79&&(!!_0x262c79[_0x5e327d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5e327d([0x2a]))||!!_0x262c79[_0x5e327d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5e327d([0x55,0x50,0x4c,0x43])));}function _0x442063(){const _0x19318d=_0x438c45[_0x5e327d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x19318d||0x0==_0x19318d[_0x5e327d([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3d4748}=new URL(window[_0x5e327d([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x19318d[_0x5e327d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3d4748))return!0x0;const _0x5d02ad=_0x3d4748[_0x5e327d([0x73,0x70,0x6c,0x69,0x74])](_0x5e327d([0x2e]));return _0x19318d[_0x5e327d([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x558a4d=>_0x558a4d[_0x5e327d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5e327d([0x2a])))[_0x5e327d([0x6d,0x61,0x70])](_0x1c3a6c=>_0x1c3a6c[_0x5e327d([0x73,0x70,0x6c,0x69,0x74])](_0x5e327d([0x2e])))[_0x5e327d([0x73,0x6f,0x6d,0x65])](_0x28910f=>_0x5d02ad[_0x5e327d([0x65,0x76,0x65,0x72,0x79])]((_0x566ae8,_0x4a7328)=>_0x28910f[_0x4a7328]===_0x566ae8||_0x28910f[_0x4a7328]===_0x5e327d([0x2a])));}function _0xd64b09(){return _0x5edb89&&_0x2d7b6c?new window[(_0x5e327d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4a8064,_0x31949a)=>{_0x5edb89[_0x5e327d([0x74,0x68,0x65,0x6e])](_0x4a8064,_0x31949a),_0x2d7b6c[_0x5e327d([0x74,0x68,0x65,0x6e])](_0x533798=>{_0x533798!=_0x5e327d([0x56,0x61,0x6c,0x69,0x64])&&_0x4a8064(_0x533798);},_0x31949a);}):_0x5edb89||_0x2d7b6c||_0x5e327d([0x56,0x61,0x6c,0x69,0x64]);}}function _0x72ea6f(_0x515482,_0x12a782){return new window[(_0x5e327d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x232e01=>{if(_0x214006())return _0x232e01(_0x5e327d([0x56,0x61,0x6c,0x69,0x64]));_0x589f8e(),_0x5daa6f[_0x5e327d([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x5e327d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x57cbab=!0x1;const _0xa8e10b=_0x1aa1c0();function _0x22d44f(_0x59e605){return!!_0x59e605&&(typeof _0x59e605===_0x5e327d([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x59e605===_0x5e327d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x59e605[_0x5e327d([0x74,0x68,0x65,0x6e])]===_0x5e327d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x59e605[_0x5e327d([0x63,0x61,0x74,0x63,0x68])]===_0x5e327d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x33509a(_0x593f93){_0xf97361(_0x593f93)[_0x5e327d([0x74,0x68,0x65,0x6e])](_0x2907bc=>{if(!_0x2907bc||_0x2907bc[_0x5e327d([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x5e327d([0x6f,0x6b]))return _0x5e327d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x9a8da4(_0x4f69cd(_0xa8e10b+_0x12a782))!=_0x2907bc[_0x5e327d([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x5e327d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x5e327d([0x56,0x61,0x6c,0x69,0x64]);})[_0x5e327d([0x74,0x68,0x65,0x6e])](_0x4e345b=>(_0x406cdc(),_0x4e345b),()=>{const _0xb058e4=_0x78766e();return null==_0xb058e4?(_0x406cdc(),_0x5e327d([0x56,0x61,0x6c,0x69,0x64])):_0x5e327d(_0x4a47fc-_0xb058e4>(0x8864980^_0x2d465d)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x5e327d([0x74,0x68,0x65,0x6e])](_0x232e01)[_0x5e327d([0x63,0x61,0x74,0x63,0x68])](()=>{_0x232e01(_0x5e327d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2ab81=0x2cbc2300^_0x2d465d;function _0x406cdc(){const _0x5d3f3=_0x5e327d([0x6c,0x6c,0x63,0x74,0x2d])+_0x9a8da4(_0x4f69cd(_0x515482)),_0x20b809=_0x2c9318(_0x9a8da4(window[_0x5e327d([0x4d,0x61,0x74,0x68])][_0x5e327d([0x63,0x65,0x69,0x6c])](_0x4a47fc/_0x2ab81)));window[_0x5e327d([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5e327d([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5d3f3,_0x20b809);}function _0x78766e(){const _0x750967=_0x5e327d([0x6c,0x6c,0x63,0x74,0x2d])+_0x9a8da4(_0x4f69cd(_0x515482)),_0xd1ac44=window[_0x5e327d([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5e327d([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x750967);return _0xd1ac44?window[_0x5e327d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2c9318(_0xd1ac44),0x10)*_0x2ab81:null;}function _0xf97361(_0x352300){return new window[(_0x5e327d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1c50da,_0x4b98ee)=>{_0x352300[_0x5e327d([0x74,0x68,0x65,0x6e])](_0x1c50da,_0x4b98ee),window[_0x5e327d([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x4b98ee,0x2c8b1940^_0x2d465d);});}}_0x5daa6f[_0x5e327d([0x6f,0x6e])](_0x5e327d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4cce73,_0x4d7d3f)=>{if(_0x4d7d3f[0x0]!=_0x515482)return _0x232e01(_0x5e327d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4d7d3f[0x1]={..._0x4d7d3f[0x1],[_0x5e327d([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0xa8e10b};},{[_0x5e327d([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5e327d([0x68,0x69,0x67,0x68])}),_0x5daa6f[_0x5e327d([0x6f,0x6e])](_0x5e327d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x47b6d0=>{_0x22d44f(_0x47b6d0[_0x5e327d([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x57cbab=!0x0,_0x33509a(_0x47b6d0[_0x5e327d([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x5e327d([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5e327d([0x6c,0x6f,0x77])}),_0x24a106[_0x5e327d([0x74,0x68,0x65,0x6e])](()=>{_0x57cbab||_0x232e01(_0x5e327d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x214006(){return _0x5daa6f[_0x5e327d([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5e327d([0x76,0x69,0x65,0x77])][_0x5e327d([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x5e327d([0x61,0x75,0x74,0x6f]);}function _0x589f8e(){_0x5daa6f[_0x5e327d([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5e327d([0x76,0x69,0x65,0x77])][_0x5e327d([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x5e327d([0x61,0x75,0x74,0x6f]);}}function _0x169655(_0x3b4958){const _0x10e8e1=[new window[(_0x5e327d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x559fd5=>setTimeout(_0x559fd5,0x2c83f34c^_0x2d465d)),_0x24a106[_0x5e327d([0x74,0x68,0x65,0x6e])](()=>new window[(_0x5e327d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1d17fc=>{let _0x51535c=0x0;_0x5daa6f[_0x5e327d([0x6d,0x6f,0x64,0x65,0x6c])][_0x5e327d([0x6f,0x6e])](_0x5e327d([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x3d419a,_0x4e37e3)=>{_0x4e37e3[0x0][_0x5e327d([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x51535c++,_0x51535c==(0x2c8acc78^_0x2d465d)&&(_0x1d17fc(),_0x3d419a[_0x5e327d([0x6f,0x66,0x66])]());});}))];return window[_0x5e327d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x5e327d([0x72,0x61,0x63,0x65])](_0x10e8e1)[_0x5e327d([0x74,0x68,0x65,0x6e])](()=>_0x3b4958);}async function _0x199c91(){await _0x24a106,_0x5daa6f[_0x5e327d([0x6d,0x6f,0x64,0x65,0x6c])][_0x5e327d([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x1293bb,_0x5daa6f[_0x5e327d([0x6d,0x6f,0x64,0x65,0x6c])][_0x5e327d([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x1293bb,_0x5daa6f[_0x5e327d([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5e327d([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x343029(_0x4626f5){const _0x18b9d2=_0x2b7933();_0x5daa6f[_0x18b9d2]=_0x5e327d([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x4626f5,_0x4626f5!=_0x5e327d([0x56,0x61,0x6c,0x69,0x64])&&_0x199c91();}function _0x2b7933(){const _0x36a8f3=window[_0x5e327d([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x5e327d([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5e327d([0x6e,0x6f,0x77])]())[_0x5e327d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5e327d([0x2e]),'');let _0x1d117f=_0x5e327d([0x4c]);for(let _0xf4ca31=0x0;_0xf4ca31<_0x36a8f3[_0x5e327d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xf4ca31+=0x2){let _0x15325f=window[_0x5e327d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x36a8f3[_0x5e327d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xf4ca31,_0xf4ca31+0x2));_0x15325f>=_0x2a6bc2[_0x5e327d([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x15325f-=_0x2a6bc2[_0x5e327d([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1d117f+=_0x2a6bc2[_0x15325f];}return _0x1d117f;}function _0x1fe491(){const _0x51b80b=_0x1ed295[_0x5e327d([0x73,0x70,0x6c,0x69,0x74])](_0x5e327d([0x2e]));if(0x3!=_0x51b80b[_0x5e327d([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x362cf4(_0x51b80b[0x1]);function _0x362cf4(_0x24817a){const _0x5a3417=_0x1205e9(_0x24817a);return _0x5a3417&&_0x4f40e9()?_0x5a3417:null;function _0x4f40e9(){const _0x39e137=_0x5a3417[_0x5e327d([0x6a,0x74,0x69])],_0x4d1034=window[_0x5e327d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x39e137[_0x5e327d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x39e137[_0x5e327d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x12c313={..._0x5a3417,[_0x5e327d([0x6a,0x74,0x69])]:_0x39e137[_0x5e327d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x39e137[_0x5e327d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x12c313[_0x5e327d([0x76,0x63])],_0x4f69cd(_0x12c313)==_0x4d1034;}}}async function _0x5b92b3(){let _0x2d1d8c=!0x0;try{const _0x128507=_0x1ed295[_0x5e327d([0x73,0x70,0x6c,0x69,0x74])](_0x5e327d([0x2e])),[_0xd91522,_0x363808,_0x3892bc]=_0x128507;return _0x56fbb9(_0xd91522),await _0x2727d1(_0xd91522,_0x363808,_0x3892bc),_0x2d1d8c;}catch(_0x2a2f0c){return!0x1;}function _0x56fbb9(_0x1183be){const _0x596057=_0x1205e9(_0x1183be);_0x596057&&_0x596057[_0x5e327d([0x61,0x6c,0x67])]==_0x5e327d([0x45,0x53,0x32,0x35,0x36])||(_0x2d1d8c=!0x1);}async function _0x2727d1(_0x351a46,_0x1c7c74,_0xfb26ef){const _0x291837=window[_0x5e327d([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x5e327d([0x66,0x72,0x6f,0x6d])](_0x4c40d4(_0xfb26ef),_0x518d65=>_0x518d65[_0x5e327d([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4c09d0=new window[(_0x5e327d([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x5e327d([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x351a46+_0x5e327d([0x2e])+_0x1c7c74),_0x1c3538=window[_0x5e327d([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x5e327d([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1c3538)return;const _0x21e569=await _0x1c3538[_0x5e327d([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x5e327d([0x6a,0x77,0x6b]),_0x5540bf,{[_0x5e327d([0x6e,0x61,0x6d,0x65])]:_0x5e327d([0x45,0x43,0x44,0x53,0x41]),[_0x5e327d([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x5e327d([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x5e327d([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1c3538[_0x5e327d([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x5e327d([0x6e,0x61,0x6d,0x65])]:_0x5e327d([0x45,0x43,0x44,0x53,0x41]),[_0x5e327d([0x68,0x61,0x73,0x68])]:{[_0x5e327d([0x6e,0x61,0x6d,0x65])]:_0x5e327d([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x21e569,_0x291837,_0x4c09d0)||(_0x2d1d8c=!0x1);}}function _0x1205e9(_0x27d96c){return _0x27d96c[_0x5e327d([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x5e327d([0x65,0x79]))?JSON[_0x5e327d([0x70,0x61,0x72,0x73,0x65])](_0x4c40d4(_0x27d96c)):null;}function _0x4c40d4(_0x5ade18){return window[_0x5e327d([0x61,0x74,0x6f,0x62])](_0x5ade18[_0x5e327d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x5e327d([0x2b]))[_0x5e327d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x5e327d([0x2f])));}function _0x4f69cd(_0x468bd6){let _0x4ed360=0x1505;function _0x3f2dd1(_0x148a88){for(let _0x17ea4f=0x0;_0x17ea4f<_0x148a88[_0x5e327d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x17ea4f++){const _0x5e556f=_0x148a88[_0x5e327d([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x17ea4f);_0x4ed360=(_0x4ed360<<0x5)+_0x4ed360+_0x5e556f,_0x4ed360&=_0x4ed360;}}function _0x43d657(_0x437dfb){Array[_0x5e327d([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x437dfb)?_0x437dfb[_0x5e327d([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x43d657):_0x437dfb&&typeof _0x437dfb==_0x5e327d([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x5e327d([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x437dfb)[_0x5e327d([0x73,0x6f,0x72,0x74])]()[_0x5e327d([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x165037,_0x26f6e2])=>{_0x3f2dd1(_0x165037),_0x43d657(_0x26f6e2);}):_0x3f2dd1(window[_0x5e327d([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x437dfb));}return _0x43d657(_0x468bd6),_0x4ed360>>>0x0;}function _0x9a8da4(_0x55e3a8){return _0x55e3a8[_0x5e327d([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x5e327d([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x5e327d([0x30]));}function _0x2c9318(_0x2be906){return _0x2be906[_0x5e327d([0x73,0x70,0x6c,0x69,0x74])]('')[_0x5e327d([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x5e327d([0x6a,0x6f,0x69,0x6e])]('');}function _0x1293bb(){}function _0x5e327d(_0x53f451){return _0x53f451['map'](_0x1e5acd=>String['fromCharCode'](_0x1e5acd))['join']('');}_0x343029(await _0x28e67b());}(this);}['_initSchema'](){const _0x1b11ad=this['editor']['model']['schema'];_0x1b11ad['isRegistered']('imageBlock')&&_0x1b11ad['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x1b11ad['isRegistered']('imageInline')&&_0x1b11ad['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0xe82f21=this['editor'];_0xe82f21['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0xe82f21['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x125173=>_0x125173['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x27262f=_0xe82f21['commands']['get']('replaceImageSource');_0x27262f&&this['listenTo'](_0x27262f,'cleanupImage',(_0x2653d6,[_0x295bcb,_0x1fa549])=>{_0x295bcb['removeAttribute']('uploadcareImageId',_0x1fa549);});}['_initConfig'](){const _0x273ef0=this['editor']['config']['get']('uploadcare.uploader')||{},_0x110e1b=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x23bd9a(_0x2bb8fb['document'],'uc-config',{..._0x273ef0,'pubkey':_0x110e1b,'ctx-name':'uploader','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']=_0x2a44cc=>{if('closeMax'==_0x2a44cc)return'#uc-icon-arrow-down';},_0x2bb8fb['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x23bd9a(_0x2bb8fb['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader'}),_0x2bb8fb['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x12c228=this['editor']['commands']['get']('insertImage');_0x12c228&&this['listenTo'](_0x12c228,'execute',()=>{const _0x4120dc=this['editor']['model']['document']['selection']['getSelectedElement']();_0x4120dc&&_0x4120dc['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x4120dc);});});const _0x3c1720=this['editor']['commands']['get']('uploadcareImageReplace');_0x3c1720&&this['listenTo'](_0x3c1720,'execute',()=>{const _0x369740=this['editor']['model']['document']['selection']['getSelectedElement']();_0x369740&&_0x369740['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x369740);});});}}class u extends _0xc0da88{static get['requires'](){return[i,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x2e565e){super(_0x2e565e),_0x2e565e['config']['define']('uploadcare.uploader.sourceList',[o['Local'],o['URL']]),_0x3b1197['defineComponents'](_0x3b1197);}}class ta extends _0x4d91a6{constructor(_0x5a91eb){super(_0x5a91eb);const t=_0x5a91eb['t'],_0x2f9e23=this['bindTemplate'],_0x17cc9b=new _0x260f1f();_0x17cc9b['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':[_0x17cc9b,{'text':_0x2f9e23['to']('imageUploadProgress',_0x457679=>t('Loading\x20image...')+'\x20('+(_0x457679||0x0)+'%)')}]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}class rt extends _0x4d91a6{constructor(_0x192679){super(_0x192679);const t=_0x192679['t'];this['set']('errorType',null);const _0x5d613b=new _0x26be52(_0x192679);_0x5d613b['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x5d613b['withText']=!0x0,_0x5d613b['class']='ck-button-action',_0x5d613b['on']('execute',()=>{this['fire']('retry');}),_0x5d613b['bind']('isVisible')['to'](this,'errorType',_0x48e21f=>'NotFound'!==_0x48e21f);const _0x3b1509=new et();_0x3b1509['content']='<svg\x20viewBox=\x220\x200\x2020\x2020\x22\x20xmlns=\x22http://www.w3.org/2000/svg\x22><path\x20clip-rule=\x22evenodd\x22\x20d=\x22M9.9\x204.385a1.2\x201.2\x200\x200\x200-.44.44h.002l-5.284\x209.15a1.2\x201.2\x200\x200\x200\x201.04\x201.8h10.564a1.2\x201.2\x200\x200\x200\x201.04-1.8l-5.282-9.15a1.2\x201.2\x200\x200\x200-1.64-.44Zm.05\x208.363a.301.301\x200\x200\x201\x20.115-.023h.9a.301.301\x200\x200\x201\x20.3.3v.9a.3.3\x200\x200\x201-.3.3h-.9a.3.3\x200\x200\x201-.3-.3v-.9a.3.3\x200\x200\x201\x20.185-.277Zm-.185-4.723a.3.3\x200\x200\x201\x20.3-.3h.9a.3.3\x200\x200\x201\x20.3.3v3.4a.3.3\x200\x200\x201-.3.3h-.9a.301.301\x200\x200\x201-.3-.3v-3.4Z\x22/></svg>\x0a',_0x3b1509['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x56626d=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':[_0x3b1509,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x56626d['to']('errorType',_0x4bf19a=>t('NotFound'!==_0x4bf19a?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x5d613b]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}class tt extends _0x4d91a6{constructor(_0xaa572e,_0x41de28){super(_0xaa572e);const _0x4c8aaf=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x41de28,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x4c8aaf['to']('imageSrc')}});}}class Z extends q{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x39856e,_0x1939a9,_0xfe428c){super(_0x39856e),this['_items']=this['createCollection'](),this['_loadingView']=new ta(_0x39856e),this['_errorView']=new rt(_0x39856e),this['_editingView']=new tt(_0x39856e,_0xfe428c),this['_focusableView']=new _0x4d91a6(_0x39856e),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x1939a9),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'],_0x8599dc=>{this['_addUploadcareImageEditorListeners'](_0x8599dc);});}),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'](_0xf5fce7,_0x545f1a){const _0x35bdb8='uc-cloud-image-editor',_0x459804=_0xf5fce7['querySelector'](_0x35bdb8);if(_0x459804)return _0x545f1a(_0x459804);const _0x149043=new MutationObserver(_0x2956e4=>{const _0x4b618f=_0x2956e4['filter'](_0x58b52a=>_0x58b52a['target']===_0xf5fce7&&_0x58b52a['addedNodes']['length']>0x0&&_0x58b52a['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x35bdb8);_0x4b618f['length']&&(_0x149043['disconnect'](),_0x545f1a(_0x4b618f[0x0]['addedNodes'][0x0]));});_0x149043['observe'](_0xf5fce7,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x52a2c4){_0x52a2c4['addEventListener']('apply',_0x3bbf09=>{this['fire']('apply',{'imageSrc':_0x3bbf09['detail']['cdnUrl']});}),_0x52a2c4['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}var M='<!--\x0a\x0a\x20What\x20you\x27re\x20currently\x20looking\x20at\x20is\x20the\x20source\x20code\x20of\x20a\x20legally\x20protected,\x20proprietary\x20software.\x0a\x20CKEditor\x205\x20Collaboration\x20is\x20licensed\x20under\x20a\x20commercial\x20license\x20and\x20protected\x20by\x20copyright\x20law.\x20Where\x20not\x20otherwise\x20indicated,\x0a\x20all\x20CKEditor\x205\x20Collaboration\x20content\x20is\x20authored\x20by\x20CKSource\x20engineers\x20and\x20consists\x20of\x20CKSource-owned\x20intellectual\x20property.\x0a\x0a\x20Copyright\x20(c)\x202003-2025,\x20CKSource\x20Holding\x20sp.\x20z\x20o.o.\x20All\x20rights\x20reserved.\x0a\x0a!-->\x0a\x0a<svg\x20viewBox=\x220\x200\x2020\x2020\x22\x20xmlns=\x22http://www.w3.org/2000/svg\x22><path\x20d=\x22M1.201\x201C.538\x201\x200\x201.47\x200\x202.1v14.363c0\x20.64.534\x201.037\x201.186\x201.037H5.06l5.058-5.078L6.617\x209.15a.696.696\x200\x200\x200-.957-.033L1.5\x2013.6V2.5h15v4.354a3.478\x203.478\x200\x200\x201\x201.5.049V2.1c0-.63-.547-1.1-1.2-1.1H1.202Zm11.713\x202.803a2.147\x202.147\x200\x200\x200-2.049\x201.992\x202.14\x202.14\x200\x200\x200\x201.28\x202.096\x202.13\x202.13\x200\x200\x200\x202.642-3.11\x202.129\x202.129\x200\x200\x200-1.873-.978ZM8.089\x2017.635v2.388h2.389l7.046-7.046-2.39-2.39-7.045\x207.048Zm11.282-6.507a.637.637\x200\x200\x200\x20.139-.692.603.603\x200\x200\x200-.139-.205l-1.49-1.488a.63.63\x200\x200\x200-.899\x200l-1.166\x201.163\x202.39\x202.39\x201.165-1.168Z\x22/></svg>\x0a';class z extends/* #__PURE__ -- @preserve */
|
|
25
|
+
_0x496b3e(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x4c313f,_0x1e8f3c,_0x62ca5d){super(),this['_editor']=_0x4c313f,this['_dialog']=_0x1e8f3c,this['_imageElement']=_0x62ca5d,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 _0x45ec45=this['_imageElement'],_0x46ee19=_0x45ec45['getAttribute']('uploadcareImageId'),_0xf659d8=_0x45ec45['getAttribute']('src');if(_0x46ee19)await this['_loadImageInfo'](_0x46ee19,_0xf659d8);else{if(this['_imageCache']['has'](_0xf659d8)){const _0x5a1d8c=this['_imageCache']['get'](_0xf659d8);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x5a1d8c['url'],this['imageDimension']=_0x5a1d8c['dimension'],this['imageId']=_0x5a1d8c['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x5542ee}=this['_editor'],t=_0x5542ee['t'],_0x35d727=new Z(_0x5542ee,this['imageStatus'],this['_attributes']);_0x35d727['bind']('status')['to'](this,'imageStatus'),_0x35d727['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x35d727['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x35d727['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x35d727,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':M,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x35d727,'position':_0x4f65f9['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x35d727['focus']();},'onHide':()=>{_0x35d727['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x59bbdc=>!F(_0x59bbdc,_0x35d727['element'])}});}['_loadImageInfo'](_0x34fbcb,_0x202aeb){return k['getInfo'](_0x34fbcb,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x3d78a5=>{const {width:_0x470ef2,height:_0xa844f6}=_0x3d78a5['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x202aeb,this['imageDimension']={'width':_0x470ef2,'height':_0xa844f6},this['imageId']=_0x34fbcb;})['catch'](_0x74bec9=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x74bec9['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x43c2e8,_0x2c889e){return this['_getImageAsFile'](_0x43c2e8)['then'](_0x13ba6a=>k['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x2c889e['signal'],'file':_0x13ba6a,'onProgress':_0x277074=>{_0x277074&&_0x277074['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x277074['value']));}}))['then'](_0x2aa5da=>{const {width:_0x3cb93b,height:_0x2a8ba7}=_0x2aa5da['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x2aa5da['cdnUrl'],this['imageDimension']={'width':_0x3cb93b,'height':_0x2a8ba7},this['imageId']=_0x2aa5da['uuid'],this['imageUploadProgress']=null;const _0x2caf0b=_0x43c2e8['getAttribute']('src');this['_imageCache']['set'](_0x2caf0b,{'id':_0x2aa5da['uuid'],'url':_0x2aa5da['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x4916a2=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x4916a2['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x398ac9,_0x123bcf){_0x398ac9['on']('apply',(_0x345ca3,_0x48538e)=>{this['_replaceImage'](_0x123bcf,_0x48538e['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x398ac9['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x398ac9['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x2d05b2,_0x49ed9b,_0x11632f){const _0x13256a=this['_editor'],{width:_0x147626,height:_0x3f5560}=A(_0x49ed9b,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x41464d,imageSources:_0x518db3}=C(_0x49ed9b,_0x147626);_0x13256a['model']['change'](_0x406ce8=>{if('$graveyard'===_0x2d05b2['root']['rootName']){_0x13256a['execute']('insertImage',{'imageType':_0x2d05b2['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x2d05b2['getAttributes']()),'uploadcareImageId':_0x11632f,'src':_0x41464d,'sources':_0x518db3,'width':_0x147626,'height':_0x3f5560}});const _0x58d84c=_0x2d05b2['getChildren']();_0x2d05b2=_0x13256a['model']['document']['selection']['getSelectedElement']();for(const _0x3cdbd0 of _0x58d84c)_0x406ce8['append'](_0x406ce8['cloneElement'](_0x3cdbd0),_0x2d05b2);}else _0x406ce8['setSelection'](_0x2d05b2,'on'),_0x13256a['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x2d05b2['getAttributes']()),'uploadcareImageId':_0x11632f,'src':_0x41464d,'sources':_0x518db3,'width':_0x147626,'height':_0x3f5560},_0x2d05b2);_0x406ce8['setSelection'](_0x2d05b2,'on');});}async['_getImageAsFile'](_0x3b0b6d){const _0x2e0d6a=_0x2bb8fb['window'],_0x50607f=_0x2bb8fb['document']['location']['href'],_0x5094eb=new _0x2e0d6a['URL'](_0x3b0b6d['getAttribute']('src'),_0x50607f);if('data:'===_0x5094eb['protocol']){const _0x43faee=_0x5094eb['href']['split'](','),_0x1b1b9a=_0x43faee[0x0]['match'](/:(.*?);/)[0x1],_0x35dae5=_0x1b1b9a['split']('/')[0x1],_0x2b900b=_0x2e0d6a['atob'](_0x43faee[_0x43faee['length']-0x1]);let _0x34706f=_0x2b900b['length'];const _0x356fca=new _0x2e0d6a['Uint8Array'](_0x34706f);for(;_0x34706f--;)_0x356fca[_0x34706f]=_0x2b900b['charCodeAt'](_0x34706f);return new _0x2e0d6a['File']([_0x356fca],'image.'+_0x35dae5,{'type':_0x1b1b9a});}const _0x2250e7=_0x5094eb['href']['split']('/'),_0x57c0f3=_0x2250e7[_0x2250e7['length']-0x1],_0x1b4593=_0x57c0f3['split']('.')[0x1];return _0x2e0d6a['fetch'](_0x5094eb['href'])['then'](_0x5b2996=>_0x5b2996['clone']()['blob']())['then'](_0x4167b0=>new _0x2e0d6a['File']([_0x4167b0],_0x57c0f3,{'type':'image/'+_0x1b4593}));}}class J extends _0x20771e{['imageEditController'];static get['requires'](){return[_0x71887d];}['_isEditable'];constructor(_0x4db578){super(_0x4db578),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x57ea5f){const _0x32d578=V(_0x57ea5f);return _0x583e10=>!(!_0x583e10||!_0x583e10['is']('element','imageBlock')&&!_0x583e10['is']('element','imageInline'))&&(!!_0x583e10['hasAttribute']('uploadcareImageId')||!!_0x583e10['hasAttribute']('src')&&_0x32d578(_0x583e10['getAttribute']('src')));}(_0x4db578['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x2e01e5=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x2e01e5);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x1d76b7=this['editor']['model']['document']['selection']['getSelectedElement']();_0x1d76b7&&(_0x1d76b7['is']('element','imageBlock')||_0x1d76b7['is']('element','imageInline'))&&(this['imageEditController']=new z(this['editor'],this['editor']['plugins']['get'](_0x71887d),_0x1d76b7),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class O extends _0x20771e{['refresh'](){const _0x27053a=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x27053a&&(_0x27053a['is']('element','imageBlock')||_0x27053a['is']('element','imageInline')));}['execute'](_0x201a7b){const _0xc1c146=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x414b02=>{_0x414b02['setAttributes'](_0x201a7b,_0xc1c146),_0x414b02['removeAttribute']('srcset',_0xc1c146),_0x414b02['removeAttribute']('sizes',_0xc1c146);});}}class m extends _0xc0da88{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[i,_0x39e0d0,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x445316}=this;_0x445316['commands']['add']('uploadcareImageEdit',new J(_0x445316)),_0x445316['commands']['add']('uploadcareImageReplace',new O(_0x445316));}}class g extends _0xc0da88{['_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 _0x3e88c9=this['editor'];_0x3e88c9['ui']['componentFactory']['add']('uploadcareImageEdit',_0xff54d4=>{const _0x4f64e6=_0x3e88c9['commands']['get']('uploadcareImageEdit'),_0x5ccbf5=new _0x26be52(_0xff54d4),t=_0xff54d4['t'];return _0x5ccbf5['set']({'icon':M,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x5ccbf5['bind']('isEnabled')['to'](_0x4f64e6),_0x5ccbf5['bind']('isOn')['to'](_0x4f64e6,'isActive'),this['listenTo'](_0x5ccbf5,'execute',()=>{_0x3e88c9['execute']('uploadcareImageEdit'),_0x3e88c9['editing']['view']['focus']();}),_0x5ccbf5;}),this['_initConfig']();}['_initConfig'](){const _0x2a2ad2=_0x23bd9a(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x2a2ad2),this['listenTo'](this['editor'],'destroy',()=>{_0x2a2ad2['remove']();});}}class j extends _0xc0da88{static get['pluginName'](){return'UploadcareImageEdit';}static get['requires'](){return[m,g];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{u as Uploadcare,i as UploadcareEditing,j as UploadcareImageEdit,m as UploadcareImageEditEditing,g as UploadcareImageEditUI,e as UploadcareUI};
|
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':_0xe3f2af=>0x1!=_0xe3f2af}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x31293e=>{const {af:{dictionary:_0xa05e71,getPluralForm:_0x6c3b15}}={'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':_0x5a0a5c=>0x1!=_0x5a0a5c}};_0x31293e['af']||={'dictionary':{},'getPluralForm':null},_0x31293e['af']['dictionary']=Object['assign'](_0x31293e['af']['dictionary'],_0xa05e71),_0x31293e['af']['getPluralForm']=_0x6c3b15;})(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':_0x2a1f29=>0x0==_0x2a1f29?0x0:0x1==_0x2a1f29?0x1:0x2==_0x2a1f29?0x2:_0x2a1f29%0x64>=0x3&&_0x2a1f29%0x64<=0xa?0x3:_0x2a1f29%0x64>=0xb?0x4:0x5}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x2d2944=>{const {ar:{dictionary:_0x1a943d,getPluralForm:_0x44599c}}={'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':_0xd22594=>0x0==_0xd22594?0x0:0x1==_0xd22594?0x1:0x2==_0xd22594?0x2:_0xd22594%0x64>=0x3&&_0xd22594%0x64<=0xa?0x3:_0xd22594%0x64>=0xb?0x4:0x5}};_0x2d2944['ar']||={'dictionary':{},'getPluralForm':null},_0x2d2944['ar']['dictionary']=Object['assign'](_0x2d2944['ar']['dictionary'],_0x1a943d),_0x2d2944['ar']['getPluralForm']=_0x44599c;})(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':_0x10f422=>0x1!=_0x10f422}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x17047c=>{const {ast:{dictionary:_0x1e0b9f,getPluralForm:_0x42149a}}={'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':_0x2fdc29=>0x1!=_0x2fdc29}};_0x17047c['ast']||={'dictionary':{},'getPluralForm':null},_0x17047c['ast']['dictionary']=Object['assign'](_0x17047c['ast']['dictionary'],_0x1e0b9f),_0x17047c['ast']['getPluralForm']=_0x42149a;})(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':_0x4cd431=>0x1!=_0x4cd431}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x396c6c=>{const {az:{dictionary:_0x2048ce,getPluralForm:_0x5c99da}}={'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':_0x2749ed=>0x1!=_0x2749ed}};_0x396c6c['az']||={'dictionary':{},'getPluralForm':null},_0x396c6c['az']['dictionary']=Object['assign'](_0x396c6c['az']['dictionary'],_0x2048ce),_0x396c6c['az']['getPluralForm']=_0x5c99da;})(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':_0x5a8b78=>0x1!=_0x5a8b78}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x2c8449=>{const {bg:{dictionary:_0x149c97,getPluralForm:_0x3ea117}}={'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':_0x10cc61=>0x1!=_0x10cc61}};_0x2c8449['bg']||={'dictionary':{},'getPluralForm':null},_0x2c8449['bg']['dictionary']=Object['assign'](_0x2c8449['bg']['dictionary'],_0x149c97),_0x2c8449['bg']['getPluralForm']=_0x3ea117;})(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':_0x4da12f=>0x1!=_0x4da12f}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x11ce6a=>{const {bn:{dictionary:_0x431512,getPluralForm:_0x5d9a8d}}={'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':_0x395996=>0x1!=_0x395996}};_0x11ce6a['bn']||={'dictionary':{},'getPluralForm':null},_0x11ce6a['bn']['dictionary']=Object['assign'](_0x11ce6a['bn']['dictionary'],_0x431512),_0x11ce6a['bn']['getPluralForm']=_0x5d9a8d;})(window['CKEDITOR_TRANSLATIONS']||={});
|