@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-20250131.0 → 0.0.0-nightly-20250201.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/dist/index.js CHANGED
@@ -20,6 +20,6 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x288913,icons as _0x11b06f,Command as _0x3f31ca}from'@ckeditor/ckeditor5-core/dist/index.js';import{ButtonView as _0x2284da,MenuBarMenuListItemButtonView as _0x1af02b,View as _0x4551dd,FocusCycler as _0x4c752d,Dialog as _0x56ec8b,DialogViewPosition as _0x243a25,SpinnerView as _0x520deb,IconView as et,Notification as _0x3513e6}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0xce6a67,global as _0x4457ec,DomEmitterMixin as _0x538186,getAncestors as _0x148533,ObservableMixin as _0x334b21,createElement as _0x1732f8,uid as _0x35f4bf}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x45b1e4}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x3b442f,info as _0x553962}from'@uploadcare/upload-client';import*as _0xeb4672 from'@uploadcare/file-uploader';var o=function(_0x2d6137){return _0x2d6137['Local']='local',_0x2d6137['URL']='url',_0x2d6137['Dropbox']='dropbox',_0x2d6137['GDrive']='gdrive',_0x2d6137['Facebook']='facebook',_0x2d6137['GPhotos']='gphotos',_0x2d6137['Instagram']='instagram',_0x2d6137['OneDrive']='onedrive',_0x2d6137;}({});function k(_0x13791c,_0x3a8502,_0xa3488b){const t=_0x13791c['t'],_0x169e14=_0x13791c['t'];switch(_0x3a8502){case o['Local']:return{'text':_0x169e14('Insert'===_0xa3488b?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x169e14('From\x20computer')};case o['URL']:return{'text':'Insert'===_0xa3488b?_0x169e14('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x169e14('Via\x20URL')};case o['Dropbox']:return{'text':t('Insert'===_0xa3488b?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case o['Facebook']:return{'text':t('Insert'===_0xa3488b?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case o['GDrive']:return{'text':t('Insert'===_0xa3488b?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case o['GPhotos']:return{'text':t('Insert'===_0xa3488b?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case o['Instagram']:return{'text':t('Insert'===_0xa3488b?'Insert\x20with\x20Instagram':'Replace\x20with\x20Instagram'),'shortText':t('With\x20Instagram')};case o['OneDrive']:return{'text':t('Insert'===_0xa3488b?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x3a8502;}}class e extends _0x288913{['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 _0x5ef55a=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x47baf8;for(const _0x9147b5 in _0x5ef55a){const _0x13b79b=_0x9147b5,_0x7246a=_0x5ef55a[_0x13b79b];if('uploadcareLicenseKeyValid'==_0x7246a||'uploadcareLicenseKeyInvalid'==_0x7246a||'uploadcareLicenseKeyExpired'==_0x7246a||'uploadcareLicenseKeyDomainLimit'==_0x7246a||'uploadcareLicenseKeyNotAllowed'==_0x7246a||'uploadcareLicenseKeyEvaluationLimit'==_0x7246a||'uploadcareLicenseKeyTrialLimit'==_0x7246a||'uploadcareLicenseKeyUsageLimit'==_0x7246a){delete _0x5ef55a[_0x13b79b],_0x47baf8=_0x7246a,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x47baf8&&_0x5ef55a['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x47baf8&&_0x5ef55a['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x47baf8&&_0x5ef55a['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x47baf8&&_0x5ef55a['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x47baf8&&_0x5ef55a['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0x47baf8&&_0x5ef55a['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0x47baf8&&_0x5ef55a['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x1049e1}=this,_0xd4b3db=_0x1049e1['commands']['get']('uploadcare');if(!_0xd4b3db)return;const _0x2d5981=this['_normalizeConfigSourceList'](_0x1049e1['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x26d205,_0x1d2f79)=>{const _0x329d0d=this['_getIntegrationKey'](_0x1d2f79['type']);return _0x26d205[_0x329d0d]||(_0x26d205[_0x329d0d]=[]),_0x26d205[_0x329d0d]['push'](_0x1d2f79),_0x26d205;},{});_0x1049e1['plugins']['has']('ImageInsertUI')&&_0x1049e1['commands']['get']('uploadcare')&&Object['entries'](_0x2d5981)['forEach'](([_0x2b4b04,_0x21fc59])=>{_0x1049e1['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x2b4b04,'observable':()=>_0xd4b3db,'buttonViewCreator':()=>this['_createToolbarButton'](_0x21fc59),'formViewCreator':()=>this['_createDropdownButtons'](_0x21fc59),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x21fc59),'override':'assetManager'!==_0x2b4b04});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x3f0d9c){const {locale:_0x1cacf8}=this['editor'];return _0x3f0d9c['map'](_0x1cbb9b=>{const _0xba45c=k(_0x1cacf8,_0x1cbb9b,'Insert');switch(_0x1cbb9b){case o['Local']:return{'icon':_0x11b06f['imageUpload'],'type':o['Local'],..._0xba45c};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'],..._0xba45c};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'],..._0xba45c};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'],..._0xba45c};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'],..._0xba45c};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'],..._0xba45c};case o['Instagram']: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=\x22M8.978\x202c-.945.004-1.73.02-2.4.086-.906.09-1.66.28-2.318.706A4.95\x204.95\x200\x200\x200\x202.79\x204.26c-.427.66-.615\x201.412-.704\x202.319C1.998\x207.47\x202\x208.57\x202\x209.98v.057c0\x201.41-.003\x202.51.086\x203.402.09.906.278\x201.657.703\x202.316.38.589.882\x201.09\x201.47\x201.471.659.426\x201.413.615\x202.32.705.891.089\x201.991.086\x203.401.086h.057c1.41\x200\x202.51.003\x203.402-.086.907-.089\x201.658-.28\x202.317-.705a4.958\x204.958\x200\x200\x200\x201.47-1.47c.425-.66.614-1.41.704-2.317.088-.892.088-1.992.088-3.402V9.98c0-1.41\x200-2.51-.088-3.402-.09-.907-.278-1.66-.703-2.319a4.95\x204.95\x200\x200\x200-1.471-1.468c-.659-.425-1.41-.616-2.316-.706-.893-.088-1.992-.085-3.403-.085H9.98c-.352\x200-.686-.002-1.002\x200Zm1.028\x201.502c1.444\x200\x202.488.002\x203.283.08.788.079\x201.27.225\x201.652.471.41.265.757.614\x201.022\x201.024.247.381.393.864.47\x201.652.08.795.083\x201.836.083\x203.28\x200\x201.443-.004\x202.487-.082\x203.283-.079.787-.225\x201.27-.471\x201.65-.265.41-.612.759-1.022\x201.023-.381.247-.866.393-1.654.471-.795.08-1.837.08-3.281.08-1.444\x200-2.488-.003-3.283-.082-.787-.078-1.268-.222-1.649-.469a3.438\x203.438\x200\x200\x201-1.021-1.023c-.247-.383-.394-.865-.473-1.652-.079-.795-.08-1.838-.08-3.282\x200-1.443\x200-2.485.08-3.279.079-.788.225-1.27.47-1.65a3.45\x203.45\x200\x200\x201\x201.024-1.026c.383-.246.862-.392\x201.649-.47.795-.08\x201.839-.08\x203.283-.08ZM14.22\x204.62a1.175\x201.175\x200\x200\x200-1.18\x201.178c0\x20.312.123.613.344.833a1.185\x201.185\x200\x200\x200\x201.668\x200c.109-.109.196-.24.256-.382.059-.143.086-.297.086-.452\x200-.154-.029-.308-.086-.45a1.18\x201.18\x200\x200\x200-1.088-.727Zm-4.213\x201.343a4.042\x204.042\x200\x200\x200-4.045\x204.045\x204.047\x204.047\x200\x200\x200\x206.906\x202.862\x204.047\x204.047\x200\x200\x200-2.861-6.907Zm0\x201.504a2.538\x202.538\x200\x200\x201\x202.541\x202.541c0\x20.675-.265\x201.322-.742\x201.8a2.543\x202.543\x200\x200\x201-1.8.741\x202.54\x202.54\x200\x200\x201-1.796-.742\x202.55\x202.55\x200\x200\x201-.55-2.771\x202.54\x202.54\x200\x200\x201\x202.347-1.569Z\x22/></svg>\x0a','type':o['Instagram'],..._0xba45c};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'],..._0xba45c};}});}['_getIntegrationKey'](_0x4ce538){switch(_0x4ce538){case o['Local']:return'upload';case o['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x4118f6,_0x5d71ca){const _0xd4beaf=this['editor'],_0x49e9e2=new _0x4118f6(_0xd4beaf['locale']),_0x18de6f=_0xd4beaf['commands']['get']('uploadcare');return _0x49e9e2['bind']('isEnabled')['to'](_0x18de6f),_0x49e9e2['on']('execute',()=>{_0x18de6f['execute'](_0x5d71ca);}),_0x49e9e2;}['_createToolbarButton'](_0x3fc970){const {locale:_0x48c0ca}=this['editor'],_0x1ab771=this['editor']['plugins']['get']('ImageInsertUI'),_0x4ddc5d=_0x3fc970[0x0],_0x5aa3a1=this['_createButton'](_0x2284da,_0x4ddc5d['type']);return _0x5aa3a1['icon']=_0x4ddc5d['icon'],_0x5aa3a1['bind']('label')['to'](_0x1ab771,'isImageSelected',_0x480ac2=>k(_0x48c0ca,_0x4ddc5d['type'],_0x480ac2?'Replace':'Insert')['text']),_0x5aa3a1['tooltip']=!0x0,_0x5aa3a1;}['_createDropdownButtons'](_0x5b43c9){const {locale:_0x586312}=this['editor'],_0x3d937d=this['editor']['plugins']['get']('ImageInsertUI');return _0x5b43c9['map'](_0x35f7cd=>{const _0x12dfe7=this['_createButton'](_0x2284da,_0x35f7cd['type']);return _0x12dfe7['withText']=!0x0,_0x12dfe7['icon']=_0x35f7cd['icon'],_0x12dfe7['bind']('label')['to'](_0x3d937d,'isImageSelected',_0x90b37f=>k(_0x586312,_0x35f7cd['type'],_0x90b37f?'Replace':'Insert')['text']),_0x12dfe7;});}['_createMenuBarButtons'](_0x4c0666){return _0x4c0666['map'](_0x95873b=>{const _0x3bcb2d=this['_createButton'](_0x1af02b,_0x95873b['type']);return _0x3bcb2d['icon']=_0x95873b['icon'],_0x3bcb2d['label']=_0x95873b['shortText'],_0x3bcb2d;});}}class q extends _0x4551dd{['focusTracker'];['focusCycler'];constructor(_0x252eb8){super(_0x252eb8),this['focusTracker']=new _0xce6a67(),this['focusCycler']=new _0x4c752d({'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(_0x46787b){super(_0x46787b),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 E(_0x55520a,_0x18bd51){const _0x520522=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x2c29df=>_0x2c29df<=_0x18bd51)['map'](_0x3780f0=>_0x55520a['replace'](/\/$/,'')+'/-/resize/'+_0x3780f0+'x/\x20'+_0x3780f0+'w');return{'imageFallbackUrl':_0x55520a,'imageSources':[{'srcset':_0x520522['join'](',\x20'),'sizes':'(max-width:\x20'+_0x18bd51+'px)\x20100vw,\x20'+_0x18bd51+'px','type':'image/webp'}]};}function F(_0x404de2,_0x3c8a17,_0x55b7fa){const _0x47903d=_0x404de2['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x47903d?parseInt(_0x47903d[0x1],0xa):_0x3c8a17,'height':_0x47903d?parseInt(_0x47903d[0x2],0xa):_0x55b7fa};}function p(_0x452504,_0x132ea1){const _0x2362b6=Object['create'](_0x538186),_0x45b8c1=_0x452504['plugins']['get']('ImageUtils'),_0x1ba502=_0x452504['editing']['mapper']['toViewElement'](_0x132ea1),_0x4fee89=_0x45b8c1['findViewImgElement'](_0x1ba502),_0xf680da=_0x452504['editing']['view']['domConverter']['viewToDom'](_0x4fee89),_0x415932=_0x132ea1['getAttribute']('width'),_0x30cb65=_0x132ea1['getAttribute']('height'),_0x336d37='image-processing';_0x452504['editing']['view']['change'](_0x66ada4=>{_0x66ada4['addClass'](_0x336d37,_0x1ba502),_0x66ada4['setStyle']('aspect-ratio',_0x415932+'/'+_0x30cb65,_0x4fee89);}),_0x2362b6['listenTo'](_0xf680da,'load',()=>{_0x2362b6['stopListening'](_0xf680da,'load'),_0x452504['editing']['view']['change'](_0x27baff=>{_0x27baff['removeClass'](_0x336d37,_0x1ba502),_0x27baff['removeStyle']('aspect-ratio',_0x4fee89);});});}function W(_0x21d77a){if(Array['isArray'](_0x21d77a)){const _0x1d2915=_0x21d77a['map'](W);return _0x2735ae=>_0x1d2915['some'](_0x255434=>_0x255434(_0x2735ae));}if('origin'==_0x21d77a){const _0x46ae02=_0x4457ec['window']['location']['origin'];return _0x39d72c=>new URL(_0x39d72c,_0x4457ec['document']['baseURI'])['origin']==_0x46ae02;}return'function'==typeof _0x21d77a?_0x21d77a:_0x21d77a instanceof RegExp?_0x12c915=>!(!_0x12c915['match'](_0x21d77a)&&!_0x12c915['replace'](/^https?:\/\//,'')['match'](_0x21d77a)):()=>!0x1;}function M(_0x21ee39,_0x4cc2eb){return _0x148533(_0x21ee39['target'])['includes'](_0x4cc2eb);}class h extends/* #__PURE__ -- @preserve */
24
- _0x334b21(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x100260,_0x30083e,_0x43ba11){super(),this['_editor']=_0x100260,this['_editing']=_0x30083e,this['_dialog']=_0x100260['plugins']['get'](_0x56ec8b),this['_api']=_0x30083e['ctxElement']['getAPI'](),this['_type']=_0x43ba11,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:_0x420d82,model:_0x5a3368}=this['_editor'],_0x39cb75=_0x5a3368['document']['selection']['getSelectedElement'](),_0x44aa52=_0x39cb75&&(_0x39cb75['is']('element','imageBlock')||_0x39cb75['is']('element','imageInline'));this['_formView']=new S(_0x420d82),this['_dialog']['show']({'id':'uploadCare','icon':_0x11b06f['imageUpload'],'title':k(_0x420d82,this['_type'],_0x44aa52?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x243a25['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x54203a=>!M(_0x54203a,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x10a49c}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x5cba4b=>{const _0x114bc6=_0x10a49c['length'];for(const _0x2d1cff of _0x10a49c){const _0x436722=_0x2d1cff===_0x10a49c[_0x114bc6-0x1],{cdnUrl:_0x5c4ac7,fileInfo:_0x2c6d5b}=_0x2d1cff;if(!_0x5c4ac7||!_0x2c6d5b)continue;const {width:_0x3bed5a,height:_0x5f08a7}=_0x2c6d5b['imageInfo'],_0x1f918a=F(_0x5c4ac7,_0x3bed5a,_0x5f08a7),_0x5a8d93=E(_0x5c4ac7,_0x1f918a['width']),_0x5be005={'id':_0x2c6d5b['uuid'],'type':'image','attributes':{'imageDimension':_0x1f918a,..._0x5a8d93}};this['_insertAsset'](_0x5be005,_0x436722,_0x5cba4b);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x777504=>{'idle'===_0x777504['detail']['status']&&!_0x777504['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===o['Local']?this['_api']['setCurrentActivity'](o['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x5f2656,_0x16ba84,_0x4fb34e){const _0x33fcab=this['_editor']['model']['document']['selection'],_0x1d43b7=_0x33fcab['getSelectedElement'](),_0x18f531=!(!_0x1d43b7||!_0x1d43b7['is']('element','imageInline'));_0x4fb34e['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x5f2656,_0x18f531),_0x16ba84||_0x4fb34e['setSelection'](_0x33fcab['getLastPosition']());}['_insertImage'](_0x5e4997,_0x141653){const _0x19352c=this['_editor'],{imageDimension:_0x24c492,imageFallbackUrl:_0x5ca089,imageSources:_0x44d961}=_0x5e4997['attributes'];_0x19352c['execute']('insertImage',{'imageType':_0x141653?'imageInline':null,'source':{'uploadcareImageId':_0x5e4997['id'],'src':_0x5ca089,'sources':_0x44d961,..._0x24c492}});}}class l extends _0x3f31ca{['_editing'];['_controller']=null;static get['requires'](){return[_0x56ec8b,i];}constructor(_0x5ef0a7){super(_0x5ef0a7),this['_editing']=_0x5ef0a7['plugins']['get'](i);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x467723){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new h(this['editor'],this['_editing'],_0x467723);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class C{static['upload']({file:_0x541909,publicKey:_0x4b6b65,signal:_0x4aa32a,onProgress:_0x1778f6}){return _0x3b442f(_0x541909,{'publicKey':_0x4b6b65,'store':'auto','signal':_0x4aa32a,'onProgress':_0x1778f6});}static['getInfo'](_0xfda385,_0x44131c){return _0x553962(_0xfda385,_0x44131c);}}class f extends _0x288913{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x45b1e4,i];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x55a14e=this['editor'];if(!!!_0x55a14e['config']['get']('uploadcare'))return;_0x55a14e['plugins']['get'](_0x45b1e4)['createUploadAdapter']=_0x30fc0d=>new A(_0x30fc0d,_0x55a14e),_0x55a14e['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x3958ab,{imageElement:_0x8ae561,data:_0x2fe4eb})=>{_0x55a14e['model']['change'](_0x5e09c4=>{_0x5e09c4['setAttribute']('uploadcareImageId',_0x2fe4eb['uploadcareImageId'],_0x8ae561);});});}}class A{['loader'];['editor'];['controller'];constructor(_0x52d07b,_0x2457a8){this['loader']=_0x52d07b,this['editor']=_0x2457a8,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x177841=this['editor']['config']['get']('uploadcare.pubkey'),_0x7de4fb=await this['loader']['file'];return C['upload']({'file':_0x7de4fb,'publicKey':_0x177841,'signal':this['controller']['signal'],'onProgress':_0x9e3391=>{_0x9e3391&&_0x9e3391['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x9e3391['value']);}})['then'](async _0xf2adc4=>{const {imageFallbackUrl:_0x1e2192,imageSources:_0x364b85}=E(_0xf2adc4['cdnUrl'],_0xf2adc4['imageInfo']['width']);return{'uploadcareImageId':_0xf2adc4['uuid'],'default':_0x1e2192,'sources':_0x364b85};})['catch'](()=>{const _0x765339=t('Cannot\x20upload\x20file:')+('\x20'+_0x7de4fb['name']+'.');return Promise['reject'](_0x765339);});}['abort'](){this['controller']['abort']();}}class i extends _0x288913{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',f,_0x56ec8b];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}['init'](){const _0x2ad68d=this['editor'];_0x2ad68d['commands']['add']('uploadcare',new l(_0x2ad68d));}['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 _0x2017f7=_0x4457ec['document']['querySelector']('input[uploadcare-file-input]');_0x2017f7&&_0x2017f7['remove']();}),async function(_0x463a5f){const _0x169144=_0x378a3f([0x32,0x64,0x43,0x78,0x50,0x68,0x73,0x52,0x5a,0x48,0x6a,0x4e,0x6c,0x35,0x38,0x71,0x67,0x69,0x72,0x47,0x55,0x56,0x76,0x6b,0x36,0x30,0x6f,0x4d,0x61,0x34,0x4a,0x6e,0x66,0x59,0x49,0x42,0x58,0x6d,0x57,0x41,0x74,0x53,0x70,0x62,0x45,0x37,0x39,0x46,0x44,0x4b,0x63,0x75,0x4f,0x7a,0x31,0x4c,0x54,0x51,0x65,0x77,0x79,0x33]),_0x583214=0x65f91acc,_0x3733cc=0x65fe44e4^_0x583214,_0x301689=window[_0x378a3f([0x44,0x61,0x74,0x65])][_0x378a3f([0x6e,0x6f,0x77])](),_0x373384=_0x463a5f[_0x378a3f([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2c07b5=new window[(_0x378a3f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x80be5a=>{_0x373384[_0x378a3f([0x6f,0x6e,0x63,0x65])](_0x378a3f([0x72,0x65,0x61,0x64,0x79]),_0x80be5a);}),_0x3019b5={[_0x378a3f([0x6b,0x74,0x79])]:_0x378a3f([0x45,0x43]),[_0x378a3f([0x75,0x73,0x65])]:_0x378a3f([0x73,0x69,0x67]),[_0x378a3f([0x63,0x72,0x76])]:_0x378a3f([0x50,0x2d,0x32,0x35,0x36]),[_0x378a3f([0x78])]:_0x378a3f([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]),[_0x378a3f([0x79])]:_0x378a3f([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]),[_0x378a3f([0x61,0x6c,0x67])]:_0x378a3f([0x45,0x53,0x32,0x35,0x36])},_0x3fa873=_0x373384[_0x378a3f([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x378a3f([0x67,0x65,0x74])](_0x378a3f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x5587e0(){let _0x59cd71,_0x1a2b17=null,_0x3aa53e=null;try{if(_0x3fa873==_0x378a3f([0x47,0x50,0x4c]))return _0x378a3f([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x59cd71=_0x5d33ce(),!_0x59cd71)return _0x378a3f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x59cd71[_0x378a3f([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x3aa53e=_0x2384dc(_0x59cd71[_0x378a3f([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x59cd71[_0x378a3f([0x6a,0x74,0x69])])),await _0x20337e()?_0x5744cf()?_0x5218d2()?_0x378a3f([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x5871a1()?(_0x59cd71[_0x378a3f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x378a3f([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1a2b17=_0x5318e0(_0x378a3f([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x59cd71[_0x378a3f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x378a3f([0x74,0x72,0x69,0x61,0x6c])&&(_0x1a2b17=_0x5318e0(_0x378a3f([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x333af7()):_0x378a3f([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x378a3f([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x378a3f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x40d1bf){return _0x378a3f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x5218d2(){const _0x40b860=[_0x378a3f([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x378a3f([0x74,0x72,0x69,0x61,0x6c])][_0x378a3f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x59cd71[_0x378a3f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x301689/0x3e8:0xe10*_0x3733cc;return _0x59cd71[_0x378a3f([0x65,0x78,0x70])]<_0x40b860;}function _0x5744cf(){const _0xf0fa52=_0x59cd71[_0x378a3f([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0xf0fa52&&(!!_0xf0fa52[_0x378a3f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x378a3f([0x2a]))||!!_0xf0fa52[_0x378a3f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x378a3f([0x55,0x50,0x4c,0x43])));}function _0x5871a1(){const _0x2b05d0=_0x59cd71[_0x378a3f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x2b05d0||0x0==_0x2b05d0[_0x378a3f([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x19ef33}=new URL(window[_0x378a3f([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x2b05d0[_0x378a3f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x19ef33))return!0x0;const _0x186f41=_0x19ef33[_0x378a3f([0x73,0x70,0x6c,0x69,0x74])](_0x378a3f([0x2e]));return _0x2b05d0[_0x378a3f([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x315969=>_0x315969[_0x378a3f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x378a3f([0x2a])))[_0x378a3f([0x6d,0x61,0x70])](_0x2f4bea=>_0x2f4bea[_0x378a3f([0x73,0x70,0x6c,0x69,0x74])](_0x378a3f([0x2e])))[_0x378a3f([0x73,0x6f,0x6d,0x65])](_0x5e45bd=>_0x186f41[_0x378a3f([0x65,0x76,0x65,0x72,0x79])]((_0x28c42b,_0x5caaf2)=>_0x5e45bd[_0x5caaf2]===_0x28c42b||_0x5e45bd[_0x5caaf2]===_0x378a3f([0x2a])));}function _0x333af7(){return _0x1a2b17&&_0x3aa53e?new window[(_0x378a3f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x396095,_0x3a7460)=>{_0x1a2b17[_0x378a3f([0x74,0x68,0x65,0x6e])](_0x396095,_0x3a7460),_0x3aa53e[_0x378a3f([0x74,0x68,0x65,0x6e])](_0x57c147=>{_0x57c147!=_0x378a3f([0x56,0x61,0x6c,0x69,0x64])&&_0x396095(_0x57c147);},_0x3a7460);}):_0x1a2b17||_0x3aa53e||_0x378a3f([0x56,0x61,0x6c,0x69,0x64]);}}function _0x2384dc(_0x563a0f,_0x473dc0){return new window[(_0x378a3f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x6ffeea=>{if(_0x188f69())return _0x6ffeea(_0x378a3f([0x56,0x61,0x6c,0x69,0x64]));_0x22a2c6(),_0x373384[_0x378a3f([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x378a3f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2a5237=!0x1;const _0x513053=_0x35f4bf();function _0x95a341(_0x47bf59){return!!_0x47bf59&&(typeof _0x47bf59===_0x378a3f([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x47bf59===_0x378a3f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x47bf59[_0x378a3f([0x74,0x68,0x65,0x6e])]===_0x378a3f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x47bf59[_0x378a3f([0x63,0x61,0x74,0x63,0x68])]===_0x378a3f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x432b1a(_0x305978){_0x56d96b(_0x305978)[_0x378a3f([0x74,0x68,0x65,0x6e])](_0x464d14=>{if(!_0x464d14||_0x464d14[_0x378a3f([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x378a3f([0x6f,0x6b]))return _0x378a3f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1c0caf(_0x16dfcc(_0x513053+_0x473dc0))!=_0x464d14[_0x378a3f([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x378a3f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x378a3f([0x56,0x61,0x6c,0x69,0x64]);})[_0x378a3f([0x74,0x68,0x65,0x6e])](_0x1996b1=>(_0x3260f4(),_0x1996b1),()=>{const _0x583ad9=_0x4c7446();return null==_0x583ad9?(_0x3260f4(),_0x378a3f([0x56,0x61,0x6c,0x69,0x64])):_0x378a3f(_0x301689-_0x583ad9>(0x41f59ecc^_0x583214)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x378a3f([0x74,0x68,0x65,0x6e])](_0x6ffeea)[_0x378a3f([0x63,0x61,0x74,0x63,0x68])](()=>{_0x6ffeea(_0x378a3f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x3a8d4f=0x65cff44c^_0x583214;function _0x3260f4(){const _0x105ec5=_0x378a3f([0x6c,0x6c,0x63,0x74,0x2d])+_0x1c0caf(_0x16dfcc(_0x563a0f)),_0x77c855=_0x2bade3(_0x1c0caf(window[_0x378a3f([0x4d,0x61,0x74,0x68])][_0x378a3f([0x63,0x65,0x69,0x6c])](_0x301689/_0x3a8d4f)));window[_0x378a3f([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x378a3f([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x105ec5,_0x77c855);}function _0x4c7446(){const _0x3adb53=_0x378a3f([0x6c,0x6c,0x63,0x74,0x2d])+_0x1c0caf(_0x16dfcc(_0x563a0f)),_0x4c13c0=window[_0x378a3f([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x378a3f([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3adb53);return _0x4c13c0?window[_0x378a3f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2bade3(_0x4c13c0),0x10)*_0x3a8d4f:null;}function _0x56d96b(_0x48cc0b){return new window[(_0x378a3f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x292666,_0x2aa8e4)=>{_0x48cc0b[_0x378a3f([0x74,0x68,0x65,0x6e])](_0x292666,_0x2aa8e4),window[_0x378a3f([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2aa8e4,0x65f8ce0c^_0x583214);});}}_0x373384[_0x378a3f([0x6f,0x6e])](_0x378a3f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4f649d,_0x1abf0e)=>{if(_0x1abf0e[0x0]!=_0x563a0f)return _0x6ffeea(_0x378a3f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1abf0e[0x1]={..._0x1abf0e[0x1],[_0x378a3f([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x513053};},{[_0x378a3f([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x378a3f([0x68,0x69,0x67,0x68])}),_0x373384[_0x378a3f([0x6f,0x6e])](_0x378a3f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x465d08=>{_0x95a341(_0x465d08[_0x378a3f([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2a5237=!0x0,_0x432b1a(_0x465d08[_0x378a3f([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x378a3f([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x378a3f([0x6c,0x6f,0x77])}),_0x2c07b5[_0x378a3f([0x74,0x68,0x65,0x6e])](()=>{_0x2a5237||_0x6ffeea(_0x378a3f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x188f69(){return _0x373384[_0x378a3f([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x378a3f([0x76,0x69,0x65,0x77])][_0x378a3f([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x378a3f([0x61,0x75,0x74,0x6f]);}function _0x22a2c6(){_0x373384[_0x378a3f([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x378a3f([0x76,0x69,0x65,0x77])][_0x378a3f([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x378a3f([0x61,0x75,0x74,0x6f]);}}function _0x5318e0(_0x5f529f){const _0x3b400d=[new window[(_0x378a3f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x131679=>setTimeout(_0x131679,0x65f02400^_0x583214)),_0x2c07b5[_0x378a3f([0x74,0x68,0x65,0x6e])](()=>new window[(_0x378a3f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1e7f7d=>{let _0x3950d7=0x0;_0x373384[_0x378a3f([0x6d,0x6f,0x64,0x65,0x6c])][_0x378a3f([0x6f,0x6e])](_0x378a3f([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x2ec8d3,_0x3d2502)=>{_0x3d2502[0x0][_0x378a3f([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3950d7++,_0x3950d7==(0x65f91b34^_0x583214)&&(_0x1e7f7d(),_0x2ec8d3[_0x378a3f([0x6f,0x66,0x66])]());});}))];return window[_0x378a3f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x378a3f([0x72,0x61,0x63,0x65])](_0x3b400d)[_0x378a3f([0x74,0x68,0x65,0x6e])](()=>_0x5f529f);}async function _0x18e31b(){await _0x2c07b5,_0x373384[_0x378a3f([0x6d,0x6f,0x64,0x65,0x6c])][_0x378a3f([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4a9d9c,_0x373384[_0x378a3f([0x6d,0x6f,0x64,0x65,0x6c])][_0x378a3f([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4a9d9c,_0x373384[_0x378a3f([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x378a3f([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x10fb0f(_0x203cdf){const _0x3b364f=_0x5b9153();_0x373384[_0x3b364f]=_0x378a3f([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x203cdf,_0x203cdf!=_0x378a3f([0x56,0x61,0x6c,0x69,0x64])&&_0x18e31b();}function _0x5b9153(){const _0x2497f1=window[_0x378a3f([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x378a3f([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x378a3f([0x6e,0x6f,0x77])]())[_0x378a3f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x378a3f([0x2e]),'');let _0x4e5c26=_0x378a3f([0x64]);for(let _0x485500=0x0;_0x485500<_0x2497f1[_0x378a3f([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x485500+=0x2){let _0x10ba49=window[_0x378a3f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2497f1[_0x378a3f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x485500,_0x485500+0x2));_0x10ba49>=_0x169144[_0x378a3f([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x10ba49-=_0x169144[_0x378a3f([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4e5c26+=_0x169144[_0x10ba49];}return _0x4e5c26;}function _0x5d33ce(){const _0x4ba2be=_0x3fa873[_0x378a3f([0x73,0x70,0x6c,0x69,0x74])](_0x378a3f([0x2e]));if(0x3!=_0x4ba2be[_0x378a3f([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x3d1fe0(_0x4ba2be[0x1]);function _0x3d1fe0(_0x5bb174){const _0x303b82=_0x13258f(_0x5bb174);return _0x303b82&&_0x347a92()?_0x303b82:null;function _0x347a92(){const _0x3b8cfd=_0x303b82[_0x378a3f([0x6a,0x74,0x69])],_0x45d586=window[_0x378a3f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3b8cfd[_0x378a3f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3b8cfd[_0x378a3f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4fdc7c={..._0x303b82,[_0x378a3f([0x6a,0x74,0x69])]:_0x3b8cfd[_0x378a3f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3b8cfd[_0x378a3f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4fdc7c[_0x378a3f([0x76,0x63])],_0x16dfcc(_0x4fdc7c)==_0x45d586;}}}async function _0x20337e(){let _0x1c8732=!0x0;try{const _0x38bbd1=_0x3fa873[_0x378a3f([0x73,0x70,0x6c,0x69,0x74])](_0x378a3f([0x2e])),[_0x2f1707,_0x4aeeda,_0x1b7882]=_0x38bbd1;return _0x5a563a(_0x2f1707),await _0x5b268e(_0x2f1707,_0x4aeeda,_0x1b7882),_0x1c8732;}catch(_0x46ebdc){return!0x1;}function _0x5a563a(_0x2caebc){const _0x4f9d34=_0x13258f(_0x2caebc);_0x4f9d34&&_0x4f9d34[_0x378a3f([0x61,0x6c,0x67])]==_0x378a3f([0x45,0x53,0x32,0x35,0x36])||(_0x1c8732=!0x1);}async function _0x5b268e(_0x2a9fd8,_0x569ac0,_0x67695c){const _0x4e274=window[_0x378a3f([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x378a3f([0x66,0x72,0x6f,0x6d])](_0xcb0725(_0x67695c),_0x14f2cc=>_0x14f2cc[_0x378a3f([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x12af65=new window[(_0x378a3f([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x378a3f([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x2a9fd8+_0x378a3f([0x2e])+_0x569ac0),_0x8eba5f=window[_0x378a3f([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x378a3f([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x8eba5f)return;const _0x294c42=await _0x8eba5f[_0x378a3f([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x378a3f([0x6a,0x77,0x6b]),_0x3019b5,{[_0x378a3f([0x6e,0x61,0x6d,0x65])]:_0x378a3f([0x45,0x43,0x44,0x53,0x41]),[_0x378a3f([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x378a3f([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x378a3f([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x8eba5f[_0x378a3f([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x378a3f([0x6e,0x61,0x6d,0x65])]:_0x378a3f([0x45,0x43,0x44,0x53,0x41]),[_0x378a3f([0x68,0x61,0x73,0x68])]:{[_0x378a3f([0x6e,0x61,0x6d,0x65])]:_0x378a3f([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x294c42,_0x4e274,_0x12af65)||(_0x1c8732=!0x1);}}function _0x13258f(_0x3de2b9){return _0x3de2b9[_0x378a3f([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x378a3f([0x65,0x79]))?JSON[_0x378a3f([0x70,0x61,0x72,0x73,0x65])](_0xcb0725(_0x3de2b9)):null;}function _0xcb0725(_0x360f61){return window[_0x378a3f([0x61,0x74,0x6f,0x62])](_0x360f61[_0x378a3f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x378a3f([0x2b]))[_0x378a3f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x378a3f([0x2f])));}function _0x16dfcc(_0x38892b){let _0x20de60=0x1505;function _0x49b146(_0x47bb03){for(let _0x4c07c5=0x0;_0x4c07c5<_0x47bb03[_0x378a3f([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4c07c5++){const _0x17c1eb=_0x47bb03[_0x378a3f([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4c07c5);_0x20de60=(_0x20de60<<0x5)+_0x20de60+_0x17c1eb,_0x20de60&=_0x20de60;}}function _0x1414a4(_0x47e75f){Array[_0x378a3f([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x47e75f)?_0x47e75f[_0x378a3f([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1414a4):_0x47e75f&&typeof _0x47e75f==_0x378a3f([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x378a3f([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x47e75f)[_0x378a3f([0x73,0x6f,0x72,0x74])]()[_0x378a3f([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x1eca26,_0x2a5660])=>{_0x49b146(_0x1eca26),_0x1414a4(_0x2a5660);}):_0x49b146(window[_0x378a3f([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x47e75f));}return _0x1414a4(_0x38892b),_0x20de60>>>0x0;}function _0x1c0caf(_0xe6dcf4){return _0xe6dcf4[_0x378a3f([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x378a3f([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x378a3f([0x30]));}function _0x2bade3(_0x4c2207){return _0x4c2207[_0x378a3f([0x73,0x70,0x6c,0x69,0x74])]('')[_0x378a3f([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x378a3f([0x6a,0x6f,0x69,0x6e])]('');}function _0x4a9d9c(){}function _0x378a3f(_0x5f4001){return _0x5f4001['map'](_0x599a2a=>String['fromCharCode'](_0x599a2a))['join']('');}_0x10fb0f(await _0x5587e0());}(this);}['_initSchema'](){const _0x38ee1a=this['editor']['model']['schema'];_0x38ee1a['isRegistered']('imageBlock')&&_0x38ee1a['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x38ee1a['isRegistered']('imageInline')&&_0x38ee1a['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x5c8e63=this['editor'];_0x5c8e63['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x5c8e63['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x49d190=>_0x49d190['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x3e4161=_0x5c8e63['commands']['get']('replaceImageSource');_0x3e4161&&this['listenTo'](_0x3e4161,'cleanupImage',(_0x59eb1e,[_0x2a1559,_0x2919de])=>{_0x2a1559['removeAttribute']('uploadcareImageId',_0x2919de);});}['_initConfig'](){const _0xf04676=this['editor']['config']['get']('uploadcare.uploader')||{},_0x27fc6c=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x1732f8(_0x4457ec['document'],'uc-config',{..._0xf04676,'pubkey':_0x27fc6c,'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']=_0x168523=>{if('closeMax'==_0x168523)return'#uc-icon-arrow-down';},_0x4457ec['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x1732f8(_0x4457ec['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader'}),_0x4457ec['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x5db5e7=this['editor']['commands']['get']('insertImage');_0x5db5e7&&this['listenTo'](_0x5db5e7,'execute',()=>{const _0x181577=this['editor']['model']['document']['selection']['getSelectedElement']();_0x181577&&_0x181577['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x181577);});});const _0x21ef19=this['editor']['commands']['get']('uploadcareImageReplace');_0x21ef19&&this['listenTo'](_0x21ef19,'execute',()=>{const _0x306ba1=this['editor']['model']['document']['selection']['getSelectedElement']();_0x306ba1&&_0x306ba1['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x306ba1);});});}}class u extends _0x288913{static get['requires'](){return[i,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x49aa8f){super(_0x49aa8f),_0x49aa8f['config']['define']('uploadcare.uploader.sourceList',[o['Local'],o['URL']]),_0xeb4672['defineComponents'](_0xeb4672);}}class ta extends _0x4551dd{constructor(_0x137148){super(_0x137148);const t=_0x137148['t'],_0x1581c6=this['bindTemplate'],_0x5a3379=new _0x520deb();_0x5a3379['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':[_0x5a3379,{'text':_0x1581c6['to']('imageUploadProgress',_0x3de10e=>t('Loading\x20image...')+'\x20('+(_0x3de10e||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 _0x4551dd{constructor(_0x422385){super(_0x422385);const t=_0x422385['t'];this['set']('errorType',null);const _0x4bfac6=new _0x2284da(_0x422385);_0x4bfac6['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x4bfac6['withText']=!0x0,_0x4bfac6['class']='ck-button-action',_0x4bfac6['on']('execute',()=>{this['fire']('retry');}),_0x4bfac6['bind']('isVisible')['to'](this,'errorType',_0x21c45d=>'NotFound'!==_0x21c45d);const _0x1da99b=new et();_0x1da99b['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',_0x1da99b['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0xf3ba81=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':[_0x1da99b,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0xf3ba81['to']('errorType',_0x221a67=>t('NotFound'!==_0x221a67?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x4bfac6]},{'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 _0x4551dd{constructor(_0x480cf9,_0x4e73b1){super(_0x480cf9);const _0x1854e1=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x4e73b1,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x1854e1['to']('imageSrc')}});}}class ii extends q{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x476cfc,_0x53a08f,_0x34f365){super(_0x476cfc),this['_items']=this['createCollection'](),this['_loadingView']=new ta(_0x476cfc),this['_errorView']=new rt(_0x476cfc),this['_editingView']=new tt(_0x476cfc,_0x34f365),this['_focusableView']=new _0x4551dd(_0x476cfc),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x53a08f),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'],_0x2add6d=>{this['_addUploadcareImageEditorListeners'](_0x2add6d);});}),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'](_0x5f1603,_0x508051){const _0x21723a='uc-cloud-image-editor',_0x477c0a=_0x5f1603['querySelector'](_0x21723a);if(_0x477c0a)return _0x508051(_0x477c0a);const _0x371e17=new MutationObserver(_0x29cfa1=>{const _0x1f4ac6=_0x29cfa1['filter'](_0x5957f6=>_0x5957f6['target']===_0x5f1603&&_0x5957f6['addedNodes']['length']>0x0&&_0x5957f6['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x21723a);_0x1f4ac6['length']&&(_0x371e17['disconnect'](),_0x508051(_0x1f4ac6[0x0]['addedNodes'][0x0]));});_0x371e17['observe'](_0x5f1603,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x154eea){_0x154eea['addEventListener']('apply',_0x4034e7=>{this['fire']('apply',{'imageSrc':_0x4034e7['detail']['cdnUrl']});}),_0x154eea['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}var Q='<!--\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
- _0x334b21(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x3d1f7d,_0x5a4440,_0x29646f){super(),this['_editor']=_0x3d1f7d,this['_dialog']=_0x5a4440,this['_imageElement']=_0x29646f,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 _0x331992=this['_imageElement'],_0x27300a=_0x331992['getAttribute']('uploadcareImageId'),_0x9a9942=_0x331992['getAttribute']('src');if(_0x27300a)await this['_loadImageInfo'](_0x27300a,_0x9a9942);else{if(this['_imageCache']['has'](_0x9a9942)){const _0x1512b2=this['_imageCache']['get'](_0x9a9942);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x1512b2['url'],this['imageDimension']=_0x1512b2['dimension'],this['imageId']=_0x1512b2['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x5f582b}=this['_editor'],t=_0x5f582b['t'],_0x1da1f=new ii(_0x5f582b,this['imageStatus'],this['_attributes']);_0x1da1f['bind']('status')['to'](this,'imageStatus'),_0x1da1f['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x1da1f['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x1da1f['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x1da1f,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':Q,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x1da1f,'position':_0x243a25['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x1da1f['focus']();},'onHide':()=>{_0x1da1f['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x454a78=>!M(_0x454a78,_0x1da1f['element'])}});}['_loadImageInfo'](_0x1bf7da,_0x15030a){return C['getInfo'](_0x1bf7da,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x545218=>{const {width:_0x238b7c,height:_0x40d0d2}=_0x545218['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x15030a,this['imageDimension']={'width':_0x238b7c,'height':_0x40d0d2},this['imageId']=_0x1bf7da;})['catch'](_0x15e99d=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x15e99d['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x551bab,_0x36a057){return this['_getImageAsFile'](_0x551bab)['then'](_0x393a40=>C['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x36a057['signal'],'file':_0x393a40,'onProgress':_0xcfc0f8=>{_0xcfc0f8&&_0xcfc0f8['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0xcfc0f8['value']));}}))['then'](_0x2a991f=>{const {width:_0x2fa2eb,height:_0x1c5a80}=_0x2a991f['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x2a991f['cdnUrl'],this['imageDimension']={'width':_0x2fa2eb,'height':_0x1c5a80},this['imageId']=_0x2a991f['uuid'],this['imageUploadProgress']=null;const _0x39ef75=_0x551bab['getAttribute']('src');this['_imageCache']['set'](_0x39ef75,{'id':_0x2a991f['uuid'],'url':_0x2a991f['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0xab04ab=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0xab04ab['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x2f2522,_0x51fa28){_0x2f2522['on']('apply',(_0x4a984b,_0xb48312)=>{this['_replaceImage'](_0x51fa28,_0xb48312['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x2f2522['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x2f2522['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x2bc83e,_0x2a4c74,_0x32fc7d){const _0x4e4740=this['_editor'],{width:_0x11f086,height:_0x546313}=F(_0x2a4c74,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x2529a8,imageSources:_0xbdedc5}=E(_0x2a4c74,_0x11f086);_0x4e4740['model']['change'](_0x4f12c1=>{if('$graveyard'===_0x2bc83e['root']['rootName']){_0x4e4740['execute']('insertImage',{'imageType':_0x2bc83e['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x2bc83e['getAttributes']()),'uploadcareImageId':_0x32fc7d,'src':_0x2529a8,'sources':_0xbdedc5,'width':_0x11f086,'height':_0x546313}});const _0x416a2d=_0x2bc83e['getChildren']();_0x2bc83e=_0x4e4740['model']['document']['selection']['getSelectedElement']();for(const _0x128d34 of _0x416a2d)_0x4f12c1['append'](_0x4f12c1['cloneElement'](_0x128d34),_0x2bc83e);}else _0x4f12c1['setSelection'](_0x2bc83e,'on'),_0x4e4740['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x2bc83e['getAttributes']()),'uploadcareImageId':_0x32fc7d,'src':_0x2529a8,'sources':_0xbdedc5,'width':_0x11f086,'height':_0x546313},_0x2bc83e);_0x4f12c1['setSelection'](_0x2bc83e,'on');});}async['_getImageAsFile'](_0x15508c){const _0x44fd1f=_0x4457ec['window'],_0x3766d3=_0x4457ec['document']['location']['href'],_0x576cab=new _0x44fd1f['URL'](_0x15508c['getAttribute']('src'),_0x3766d3);if('data:'===_0x576cab['protocol']){const _0x34d618=_0x576cab['href']['split'](','),_0x2d278d=_0x34d618[0x0]['match'](/:(.*?);/)[0x1],_0x28db00=_0x2d278d['split']('/')[0x1],_0x1148b3=_0x44fd1f['atob'](_0x34d618[_0x34d618['length']-0x1]);let _0x1a1f01=_0x1148b3['length'];const _0x429e7=new _0x44fd1f['Uint8Array'](_0x1a1f01);for(;_0x1a1f01--;)_0x429e7[_0x1a1f01]=_0x1148b3['charCodeAt'](_0x1a1f01);return new _0x44fd1f['File']([_0x429e7],'image.'+_0x28db00,{'type':_0x2d278d});}const _0x1e94c2=_0x576cab['href']['split']('/'),_0x53d9dc=_0x1e94c2[_0x1e94c2['length']-0x1],_0x332255=_0x53d9dc['split']('.')[0x1];return _0x44fd1f['fetch'](_0x576cab['href'])['then'](_0x4348bf=>_0x4348bf['clone']()['blob']())['then'](_0x16b737=>new _0x44fd1f['File']([_0x16b737],_0x53d9dc,{'type':'image/'+_0x332255}));}}class J extends _0x3f31ca{['imageEditController'];static get['requires'](){return[_0x56ec8b];}['_isEditable'];constructor(_0x3a9b35){super(_0x3a9b35),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x837879){const _0x147277=W(_0x837879);return _0x422652=>!(!_0x422652||!_0x422652['is']('element','imageBlock')&&!_0x422652['is']('element','imageInline'))&&(!!_0x422652['hasAttribute']('uploadcareImageId')||!!_0x422652['hasAttribute']('src')&&_0x147277(_0x422652['getAttribute']('src')));}(_0x3a9b35['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x178ddb=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x178ddb);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x32c859=this['editor']['model']['document']['selection']['getSelectedElement']();_0x32c859&&(_0x32c859['is']('element','imageBlock')||_0x32c859['is']('element','imageInline'))&&(this['imageEditController']=new z(this['editor'],this['editor']['plugins']['get'](_0x56ec8b),_0x32c859),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class O extends _0x3f31ca{['refresh'](){const _0xef43c5=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0xef43c5&&(_0xef43c5['is']('element','imageBlock')||_0xef43c5['is']('element','imageInline')));}['execute'](_0x37f1cb){const _0x58d87b=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x1a48e0=>{_0x1a48e0['setAttributes'](_0x37f1cb,_0x58d87b),_0x1a48e0['removeAttribute']('srcset',_0x58d87b),_0x1a48e0['removeAttribute']('sizes',_0x58d87b);});}}class m extends _0x288913{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[i,_0x3513e6,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x1eedb8}=this;_0x1eedb8['commands']['add']('uploadcareImageEdit',new J(_0x1eedb8)),_0x1eedb8['commands']['add']('uploadcareImageReplace',new O(_0x1eedb8));}}class g extends _0x288913{['_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 _0x5224d2=this['editor'];_0x5224d2['ui']['componentFactory']['add']('uploadcareImageEdit',_0xb0d18b=>{const _0x2e3505=_0x5224d2['commands']['get']('uploadcareImageEdit'),_0x2a647f=new _0x2284da(_0xb0d18b),t=_0xb0d18b['t'];return _0x2a647f['set']({'icon':Q,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x2a647f['bind']('isEnabled')['to'](_0x2e3505),_0x2a647f['bind']('isOn')['to'](_0x2e3505,'isActive'),this['listenTo'](_0x2a647f,'execute',()=>{_0x5224d2['execute']('uploadcareImageEdit'),_0x5224d2['editing']['view']['focus']();}),_0x2a647f;}),this['_initConfig']();}['_initConfig'](){const _0x46b2ec=_0x1732f8(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x46b2ec),this['listenTo'](this['editor'],'destroy',()=>{_0x46b2ec['remove']();});}}class j extends _0x288913{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 _0x33b81a,icons as _0x2b2d35,Command as _0x42a4cc}from'@ckeditor/ckeditor5-core/dist/index.js';import{ButtonView as _0x2d6e45,MenuBarMenuListItemButtonView as _0x13c318,View as _0x24a152,FocusCycler as _0x18acba,Dialog as _0x3cf0f7,DialogViewPosition as _0x224d8c,SpinnerView as _0x170a21,IconView as et,Notification as _0x2bb9d4}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x4617cc,global as _0x391d44,DomEmitterMixin as _0x3cded3,getAncestors as _0xe41036,ObservableMixin as _0x2c9ee0,createElement as _0x3b9a42,uid as _0x3bb672}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x35ce14}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0xe814cb,info as _0x42ea2a}from'@uploadcare/upload-client';import*as _0x1c7a9b from'@uploadcare/file-uploader';var o=function(_0x44af88){return _0x44af88['Local']='local',_0x44af88['URL']='url',_0x44af88['Dropbox']='dropbox',_0x44af88['GDrive']='gdrive',_0x44af88['Facebook']='facebook',_0x44af88['GPhotos']='gphotos',_0x44af88['Instagram']='instagram',_0x44af88['OneDrive']='onedrive',_0x44af88;}({});function k(_0xbb8686,_0x1ce13e,_0x11c305){const t=_0xbb8686['t'],_0x57c6ae=_0xbb8686['t'];switch(_0x1ce13e){case o['Local']:return{'text':_0x57c6ae('Insert'===_0x11c305?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x57c6ae('From\x20computer')};case o['URL']:return{'text':'Insert'===_0x11c305?_0x57c6ae('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x57c6ae('Via\x20URL')};case o['Dropbox']:return{'text':t('Insert'===_0x11c305?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case o['Facebook']:return{'text':t('Insert'===_0x11c305?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case o['GDrive']:return{'text':t('Insert'===_0x11c305?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case o['GPhotos']:return{'text':t('Insert'===_0x11c305?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case o['Instagram']:return{'text':t('Insert'===_0x11c305?'Insert\x20with\x20Instagram':'Replace\x20with\x20Instagram'),'shortText':t('With\x20Instagram')};case o['OneDrive']:return{'text':t('Insert'===_0x11c305?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x1ce13e;}}class e extends _0x33b81a{['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 _0x14df75=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x5712be;for(const _0x26f062 in _0x14df75){const _0x2f70fe=_0x26f062,_0xcd432b=_0x14df75[_0x2f70fe];if('uploadcareLicenseKeyValid'==_0xcd432b||'uploadcareLicenseKeyInvalid'==_0xcd432b||'uploadcareLicenseKeyExpired'==_0xcd432b||'uploadcareLicenseKeyDomainLimit'==_0xcd432b||'uploadcareLicenseKeyNotAllowed'==_0xcd432b||'uploadcareLicenseKeyEvaluationLimit'==_0xcd432b||'uploadcareLicenseKeyTrialLimit'==_0xcd432b||'uploadcareLicenseKeyUsageLimit'==_0xcd432b){delete _0x14df75[_0x2f70fe],_0x5712be=_0xcd432b,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x5712be&&_0x14df75['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x5712be&&_0x14df75['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x5712be&&_0x14df75['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x5712be&&_0x14df75['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x5712be&&_0x14df75['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0x5712be&&_0x14df75['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0x5712be&&_0x14df75['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x468b37}=this,_0xaf2783=_0x468b37['commands']['get']('uploadcare');if(!_0xaf2783)return;const _0x1fabe6=this['_normalizeConfigSourceList'](_0x468b37['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x230f4b,_0x543785)=>{const _0x241a4f=this['_getIntegrationKey'](_0x543785['type']);return _0x230f4b[_0x241a4f]||(_0x230f4b[_0x241a4f]=[]),_0x230f4b[_0x241a4f]['push'](_0x543785),_0x230f4b;},{});_0x468b37['plugins']['has']('ImageInsertUI')&&_0x468b37['commands']['get']('uploadcare')&&Object['entries'](_0x1fabe6)['forEach'](([_0x386cbe,_0x1cf316])=>{_0x468b37['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x386cbe,'observable':()=>_0xaf2783,'buttonViewCreator':()=>this['_createToolbarButton'](_0x1cf316),'formViewCreator':()=>this['_createDropdownButtons'](_0x1cf316),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x1cf316),'override':'assetManager'!==_0x386cbe});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x7b2aee){const {locale:_0x4ccdd9}=this['editor'];return _0x7b2aee['map'](_0x1ac6a1=>{const _0x2c5ac0=k(_0x4ccdd9,_0x1ac6a1,'Insert');switch(_0x1ac6a1){case o['Local']:return{'icon':_0x2b2d35['imageUpload'],'type':o['Local'],..._0x2c5ac0};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'],..._0x2c5ac0};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'],..._0x2c5ac0};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'],..._0x2c5ac0};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'],..._0x2c5ac0};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'],..._0x2c5ac0};case o['Instagram']: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=\x22M8.978\x202c-.945.004-1.73.02-2.4.086-.906.09-1.66.28-2.318.706A4.95\x204.95\x200\x200\x200\x202.79\x204.26c-.427.66-.615\x201.412-.704\x202.319C1.998\x207.47\x202\x208.57\x202\x209.98v.057c0\x201.41-.003\x202.51.086\x203.402.09.906.278\x201.657.703\x202.316.38.589.882\x201.09\x201.47\x201.471.659.426\x201.413.615\x202.32.705.891.089\x201.991.086\x203.401.086h.057c1.41\x200\x202.51.003\x203.402-.086.907-.089\x201.658-.28\x202.317-.705a4.958\x204.958\x200\x200\x200\x201.47-1.47c.425-.66.614-1.41.704-2.317.088-.892.088-1.992.088-3.402V9.98c0-1.41\x200-2.51-.088-3.402-.09-.907-.278-1.66-.703-2.319a4.95\x204.95\x200\x200\x200-1.471-1.468c-.659-.425-1.41-.616-2.316-.706-.893-.088-1.992-.085-3.403-.085H9.98c-.352\x200-.686-.002-1.002\x200Zm1.028\x201.502c1.444\x200\x202.488.002\x203.283.08.788.079\x201.27.225\x201.652.471.41.265.757.614\x201.022\x201.024.247.381.393.864.47\x201.652.08.795.083\x201.836.083\x203.28\x200\x201.443-.004\x202.487-.082\x203.283-.079.787-.225\x201.27-.471\x201.65-.265.41-.612.759-1.022\x201.023-.381.247-.866.393-1.654.471-.795.08-1.837.08-3.281.08-1.444\x200-2.488-.003-3.283-.082-.787-.078-1.268-.222-1.649-.469a3.438\x203.438\x200\x200\x201-1.021-1.023c-.247-.383-.394-.865-.473-1.652-.079-.795-.08-1.838-.08-3.282\x200-1.443\x200-2.485.08-3.279.079-.788.225-1.27.47-1.65a3.45\x203.45\x200\x200\x201\x201.024-1.026c.383-.246.862-.392\x201.649-.47.795-.08\x201.839-.08\x203.283-.08ZM14.22\x204.62a1.175\x201.175\x200\x200\x200-1.18\x201.178c0\x20.312.123.613.344.833a1.185\x201.185\x200\x200\x200\x201.668\x200c.109-.109.196-.24.256-.382.059-.143.086-.297.086-.452\x200-.154-.029-.308-.086-.45a1.18\x201.18\x200\x200\x200-1.088-.727Zm-4.213\x201.343a4.042\x204.042\x200\x200\x200-4.045\x204.045\x204.047\x204.047\x200\x200\x200\x206.906\x202.862\x204.047\x204.047\x200\x200\x200-2.861-6.907Zm0\x201.504a2.538\x202.538\x200\x200\x201\x202.541\x202.541c0\x20.675-.265\x201.322-.742\x201.8a2.543\x202.543\x200\x200\x201-1.8.741\x202.54\x202.54\x200\x200\x201-1.796-.742\x202.55\x202.55\x200\x200\x201-.55-2.771\x202.54\x202.54\x200\x200\x201\x202.347-1.569Z\x22/></svg>\x0a','type':o['Instagram'],..._0x2c5ac0};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'],..._0x2c5ac0};}});}['_getIntegrationKey'](_0x25e109){switch(_0x25e109){case o['Local']:return'upload';case o['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x246732,_0x4790bb){const _0x3b0dd9=this['editor'],_0x210c12=new _0x246732(_0x3b0dd9['locale']),_0x1f9fc4=_0x3b0dd9['commands']['get']('uploadcare');return _0x210c12['bind']('isEnabled')['to'](_0x1f9fc4),_0x210c12['on']('execute',()=>{_0x1f9fc4['execute'](_0x4790bb);}),_0x210c12;}['_createToolbarButton'](_0x78b8f8){const {locale:_0x2ec152}=this['editor'],_0x2b317f=this['editor']['plugins']['get']('ImageInsertUI'),_0x1a76b0=_0x78b8f8[0x0],_0xa01ca1=this['_createButton'](_0x2d6e45,_0x1a76b0['type']);return _0xa01ca1['icon']=_0x1a76b0['icon'],_0xa01ca1['bind']('label')['to'](_0x2b317f,'isImageSelected',_0x16b670=>k(_0x2ec152,_0x1a76b0['type'],_0x16b670?'Replace':'Insert')['text']),_0xa01ca1['tooltip']=!0x0,_0xa01ca1;}['_createDropdownButtons'](_0x161e3a){const {locale:_0x79506f}=this['editor'],_0x5cd984=this['editor']['plugins']['get']('ImageInsertUI');return _0x161e3a['map'](_0x48cb0c=>{const _0x1d5cd8=this['_createButton'](_0x2d6e45,_0x48cb0c['type']);return _0x1d5cd8['withText']=!0x0,_0x1d5cd8['icon']=_0x48cb0c['icon'],_0x1d5cd8['bind']('label')['to'](_0x5cd984,'isImageSelected',_0x2abcfb=>k(_0x79506f,_0x48cb0c['type'],_0x2abcfb?'Replace':'Insert')['text']),_0x1d5cd8;});}['_createMenuBarButtons'](_0x57e787){return _0x57e787['map'](_0x2dbc0a=>{const _0x2e81b6=this['_createButton'](_0x13c318,_0x2dbc0a['type']);return _0x2e81b6['icon']=_0x2dbc0a['icon'],_0x2e81b6['label']=_0x2dbc0a['shortText'],_0x2e81b6;});}}class q extends _0x24a152{['focusTracker'];['focusCycler'];constructor(_0x4c2836){super(_0x4c2836),this['focusTracker']=new _0x4617cc(),this['focusCycler']=new _0x18acba({'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(_0x4c0bba){super(_0x4c0bba),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 E(_0x42ee2e,_0x3cc762){const _0x10c00d=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x26c421=>_0x26c421<=_0x3cc762)['map'](_0xc1d805=>_0x42ee2e['replace'](/\/$/,'')+'/-/resize/'+_0xc1d805+'x/\x20'+_0xc1d805+'w');return{'imageFallbackUrl':_0x42ee2e,'imageSources':[{'srcset':_0x10c00d['join'](',\x20'),'sizes':'(max-width:\x20'+_0x3cc762+'px)\x20100vw,\x20'+_0x3cc762+'px','type':'image/webp'}]};}function F(_0x469495,_0x136bc8,_0x5da7d7){const _0x1eb631=_0x469495['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x1eb631?parseInt(_0x1eb631[0x1],0xa):_0x136bc8,'height':_0x1eb631?parseInt(_0x1eb631[0x2],0xa):_0x5da7d7};}function p(_0x11e450,_0x531a32){const _0x1449f6=Object['create'](_0x3cded3),_0x4fc00c=_0x11e450['plugins']['get']('ImageUtils'),_0x45f712=_0x11e450['editing']['mapper']['toViewElement'](_0x531a32),_0x4dbff7=_0x4fc00c['findViewImgElement'](_0x45f712),_0x1801aa=_0x11e450['editing']['view']['domConverter']['viewToDom'](_0x4dbff7),_0x25983e=_0x531a32['getAttribute']('width'),_0x3473a2=_0x531a32['getAttribute']('height'),_0x2be492='image-processing';_0x11e450['editing']['view']['change'](_0x2cd5c4=>{_0x2cd5c4['addClass'](_0x2be492,_0x45f712),_0x2cd5c4['setStyle']('aspect-ratio',_0x25983e+'/'+_0x3473a2,_0x4dbff7);}),_0x1449f6['listenTo'](_0x1801aa,'load',()=>{_0x1449f6['stopListening'](_0x1801aa,'load'),_0x11e450['editing']['view']['change'](_0x408f7a=>{_0x408f7a['removeClass'](_0x2be492,_0x45f712),_0x408f7a['removeStyle']('aspect-ratio',_0x4dbff7);});});}function W(_0x5debe7){if(Array['isArray'](_0x5debe7)){const _0x43a7a4=_0x5debe7['map'](W);return _0x4d4490=>_0x43a7a4['some'](_0x50744d=>_0x50744d(_0x4d4490));}if('origin'==_0x5debe7){const _0x15251e=_0x391d44['window']['location']['origin'];return _0x58e243=>new URL(_0x58e243,_0x391d44['document']['baseURI'])['origin']==_0x15251e;}return'function'==typeof _0x5debe7?_0x5debe7:_0x5debe7 instanceof RegExp?_0x61f5d7=>!(!_0x61f5d7['match'](_0x5debe7)&&!_0x61f5d7['replace'](/^https?:\/\//,'')['match'](_0x5debe7)):()=>!0x1;}function M(_0x658509,_0x25d0cb){return _0xe41036(_0x658509['target'])['includes'](_0x25d0cb);}class h extends/* #__PURE__ -- @preserve */
24
+ _0x2c9ee0(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x2acb09,_0x1847e9,_0x12d895){super(),this['_editor']=_0x2acb09,this['_editing']=_0x1847e9,this['_dialog']=_0x2acb09['plugins']['get'](_0x3cf0f7),this['_api']=_0x1847e9['ctxElement']['getAPI'](),this['_type']=_0x12d895,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:_0x63a568,model:_0x3f6161}=this['_editor'],_0x574853=_0x3f6161['document']['selection']['getSelectedElement'](),_0x1e0cd6=_0x574853&&(_0x574853['is']('element','imageBlock')||_0x574853['is']('element','imageInline'));this['_formView']=new S(_0x63a568),this['_dialog']['show']({'id':'uploadCare','icon':_0x2b2d35['imageUpload'],'title':k(_0x63a568,this['_type'],_0x1e0cd6?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x224d8c['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x7c29ee=>!M(_0x7c29ee,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x3a5998}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x49a898=>{const _0x40dd48=_0x3a5998['length'];for(const _0x25cdf3 of _0x3a5998){const _0x496123=_0x25cdf3===_0x3a5998[_0x40dd48-0x1],{cdnUrl:_0x5761e0,fileInfo:_0x1dab90}=_0x25cdf3;if(!_0x5761e0||!_0x1dab90)continue;const {width:_0x616a8a,height:_0x17f3e7}=_0x1dab90['imageInfo'],_0x3f6afa=F(_0x5761e0,_0x616a8a,_0x17f3e7),_0x21eb20=E(_0x5761e0,_0x3f6afa['width']),_0x49dafc={'id':_0x1dab90['uuid'],'type':'image','attributes':{'imageDimension':_0x3f6afa,..._0x21eb20}};this['_insertAsset'](_0x49dafc,_0x496123,_0x49a898);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x573802=>{'idle'===_0x573802['detail']['status']&&!_0x573802['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===o['Local']?this['_api']['setCurrentActivity'](o['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0xb72788,_0x9ea09e,_0x5569d2){const _0x4e524e=this['_editor']['model']['document']['selection'],_0x31fbf2=_0x4e524e['getSelectedElement'](),_0x2c51d1=!(!_0x31fbf2||!_0x31fbf2['is']('element','imageInline'));_0x5569d2['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0xb72788,_0x2c51d1),_0x9ea09e||_0x5569d2['setSelection'](_0x4e524e['getLastPosition']());}['_insertImage'](_0x6ab3aa,_0x19253a){const _0xeb183d=this['_editor'],{imageDimension:_0x3cd38b,imageFallbackUrl:_0x22d547,imageSources:_0x1eaea5}=_0x6ab3aa['attributes'];_0xeb183d['execute']('insertImage',{'imageType':_0x19253a?'imageInline':null,'source':{'uploadcareImageId':_0x6ab3aa['id'],'src':_0x22d547,'sources':_0x1eaea5,..._0x3cd38b}});}}class l extends _0x42a4cc{['_editing'];['_controller']=null;static get['requires'](){return[_0x3cf0f7,i];}constructor(_0x245204){super(_0x245204),this['_editing']=_0x245204['plugins']['get'](i);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x45ed20){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new h(this['editor'],this['_editing'],_0x45ed20);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class C{static['upload']({file:_0x4e3f9c,publicKey:_0xb0d7fc,signal:_0x248f84,onProgress:_0x3611ad}){return _0xe814cb(_0x4e3f9c,{'publicKey':_0xb0d7fc,'store':'auto','signal':_0x248f84,'onProgress':_0x3611ad});}static['getInfo'](_0x49a466,_0x2b3c6c){return _0x42ea2a(_0x49a466,_0x2b3c6c);}}class f extends _0x33b81a{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x35ce14,i];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x1ff80a=this['editor'];if(!!!_0x1ff80a['config']['get']('uploadcare'))return;_0x1ff80a['plugins']['get'](_0x35ce14)['createUploadAdapter']=_0x38ee21=>new A(_0x38ee21,_0x1ff80a),_0x1ff80a['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x20114b,{imageElement:_0x161478,data:_0x163a96})=>{_0x1ff80a['model']['change'](_0x21056c=>{_0x21056c['setAttribute']('uploadcareImageId',_0x163a96['uploadcareImageId'],_0x161478);});});}}class A{['loader'];['editor'];['controller'];constructor(_0x2fbb5d,_0x4ef654){this['loader']=_0x2fbb5d,this['editor']=_0x4ef654,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x4bc15c=this['editor']['config']['get']('uploadcare.pubkey'),_0x162630=await this['loader']['file'];return C['upload']({'file':_0x162630,'publicKey':_0x4bc15c,'signal':this['controller']['signal'],'onProgress':_0x35b329=>{_0x35b329&&_0x35b329['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x35b329['value']);}})['then'](async _0x2a99e9=>{const {imageFallbackUrl:_0x29ccfe,imageSources:_0x3fff37}=E(_0x2a99e9['cdnUrl'],_0x2a99e9['imageInfo']['width']);return{'uploadcareImageId':_0x2a99e9['uuid'],'default':_0x29ccfe,'sources':_0x3fff37};})['catch'](()=>{const _0x53f72d=t('Cannot\x20upload\x20file:')+('\x20'+_0x162630['name']+'.');return Promise['reject'](_0x53f72d);});}['abort'](){this['controller']['abort']();}}class i extends _0x33b81a{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',f,_0x3cf0f7];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}['init'](){const _0x1e44f6=this['editor'];_0x1e44f6['commands']['add']('uploadcare',new l(_0x1e44f6));}['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 _0x37b642=_0x391d44['document']['querySelector']('input[uploadcare-file-input]');_0x37b642&&_0x37b642['remove']();}),async function(_0x3fc4c4){const _0x5d039b=_0x456a90([0x63,0x31,0x39,0x72,0x4a,0x77,0x53,0x6e,0x57,0x7a,0x65,0x66,0x37,0x33,0x71,0x6c,0x56,0x45,0x30,0x41,0x78,0x35,0x4f,0x46,0x42,0x6f,0x55,0x6b,0x76,0x44,0x43,0x4d,0x38,0x51,0x52,0x67,0x49,0x69,0x75,0x4e,0x73,0x79,0x74,0x59,0x47,0x62,0x4b,0x6a,0x4c,0x61,0x70,0x36,0x64,0x6d,0x5a,0x50,0x58,0x34,0x68,0x48,0x32,0x54]),_0x12a997=0x2bae127d,_0x424973=0x2ba94c3d^_0x12a997,_0x57037c=window[_0x456a90([0x44,0x61,0x74,0x65])][_0x456a90([0x6e,0x6f,0x77])](),_0x75e0e3=_0x3fc4c4[_0x456a90([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2aacb6=new window[(_0x456a90([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x835385=>{_0x75e0e3[_0x456a90([0x6f,0x6e,0x63,0x65])](_0x456a90([0x72,0x65,0x61,0x64,0x79]),_0x835385);}),_0x48b567={[_0x456a90([0x6b,0x74,0x79])]:_0x456a90([0x45,0x43]),[_0x456a90([0x75,0x73,0x65])]:_0x456a90([0x73,0x69,0x67]),[_0x456a90([0x63,0x72,0x76])]:_0x456a90([0x50,0x2d,0x32,0x35,0x36]),[_0x456a90([0x78])]:_0x456a90([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]),[_0x456a90([0x79])]:_0x456a90([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]),[_0x456a90([0x61,0x6c,0x67])]:_0x456a90([0x45,0x53,0x32,0x35,0x36])},_0x114d45=_0x75e0e3[_0x456a90([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x456a90([0x67,0x65,0x74])](_0x456a90([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4f425a(){let _0x10aa83,_0x7ffe73=null,_0x49a34c=null;try{if(_0x114d45==_0x456a90([0x47,0x50,0x4c]))return _0x456a90([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x10aa83=_0x2f87e4(),!_0x10aa83)return _0x456a90([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x10aa83[_0x456a90([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x49a34c=_0x5e82dd(_0x10aa83[_0x456a90([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x10aa83[_0x456a90([0x6a,0x74,0x69])])),await _0x409c11()?_0x420ce2()?_0x627f13()?_0x456a90([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x318c45()?(_0x10aa83[_0x456a90([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x456a90([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x7ffe73=_0x577115(_0x456a90([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x10aa83[_0x456a90([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x456a90([0x74,0x72,0x69,0x61,0x6c])&&(_0x7ffe73=_0x577115(_0x456a90([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x52baad()):_0x456a90([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x456a90([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x456a90([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x5d173e){return _0x456a90([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x627f13(){const _0x5d7c0b=[_0x456a90([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x456a90([0x74,0x72,0x69,0x61,0x6c])][_0x456a90([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x10aa83[_0x456a90([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x57037c/0x3e8:0xe10*_0x424973;return _0x10aa83[_0x456a90([0x65,0x78,0x70])]<_0x5d7c0b;}function _0x420ce2(){const _0x4b6fe=_0x10aa83[_0x456a90([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x4b6fe&&(!!_0x4b6fe[_0x456a90([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x456a90([0x2a]))||!!_0x4b6fe[_0x456a90([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x456a90([0x55,0x50,0x4c,0x43])));}function _0x318c45(){const _0x48a52d=_0x10aa83[_0x456a90([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x48a52d||0x0==_0x48a52d[_0x456a90([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0xe46cfa}=new URL(window[_0x456a90([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x48a52d[_0x456a90([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xe46cfa))return!0x0;const _0x2f19f0=_0xe46cfa[_0x456a90([0x73,0x70,0x6c,0x69,0x74])](_0x456a90([0x2e]));return _0x48a52d[_0x456a90([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x288cf5=>_0x288cf5[_0x456a90([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x456a90([0x2a])))[_0x456a90([0x6d,0x61,0x70])](_0x5b3676=>_0x5b3676[_0x456a90([0x73,0x70,0x6c,0x69,0x74])](_0x456a90([0x2e])))[_0x456a90([0x73,0x6f,0x6d,0x65])](_0x5e0006=>_0x2f19f0[_0x456a90([0x65,0x76,0x65,0x72,0x79])]((_0x4d1d32,_0x212dec)=>_0x5e0006[_0x212dec]===_0x4d1d32||_0x5e0006[_0x212dec]===_0x456a90([0x2a])));}function _0x52baad(){return _0x7ffe73&&_0x49a34c?new window[(_0x456a90([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x169bda,_0x45e7d5)=>{_0x7ffe73[_0x456a90([0x74,0x68,0x65,0x6e])](_0x169bda,_0x45e7d5),_0x49a34c[_0x456a90([0x74,0x68,0x65,0x6e])](_0xa74844=>{_0xa74844!=_0x456a90([0x56,0x61,0x6c,0x69,0x64])&&_0x169bda(_0xa74844);},_0x45e7d5);}):_0x7ffe73||_0x49a34c||_0x456a90([0x56,0x61,0x6c,0x69,0x64]);}}function _0x5e82dd(_0x3d6a95,_0x229250){return new window[(_0x456a90([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4c17ef=>{if(_0x51103a())return _0x4c17ef(_0x456a90([0x56,0x61,0x6c,0x69,0x64]));_0x55cf99(),_0x75e0e3[_0x456a90([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x456a90([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x505902=!0x1;const _0x27781e=_0x3bb672();function _0xbc52d5(_0x4cf43f){return!!_0x4cf43f&&(typeof _0x4cf43f===_0x456a90([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x4cf43f===_0x456a90([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x4cf43f[_0x456a90([0x74,0x68,0x65,0x6e])]===_0x456a90([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x4cf43f[_0x456a90([0x63,0x61,0x74,0x63,0x68])]===_0x456a90([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x192c0e(_0x37897c){_0x16fd0a(_0x37897c)[_0x456a90([0x74,0x68,0x65,0x6e])](_0x5eb305=>{if(!_0x5eb305||_0x5eb305[_0x456a90([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x456a90([0x6f,0x6b]))return _0x456a90([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x3b7f31(_0x4138d5(_0x27781e+_0x229250))!=_0x5eb305[_0x456a90([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x456a90([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x456a90([0x56,0x61,0x6c,0x69,0x64]);})[_0x456a90([0x74,0x68,0x65,0x6e])](_0x1dbbe4=>(_0x5431b4(),_0x1dbbe4),()=>{const _0x535d94=_0x1a6c17();return null==_0x535d94?(_0x5431b4(),_0x456a90([0x56,0x61,0x6c,0x69,0x64])):_0x456a90(_0x57037c-_0x535d94>(0xfa2967d^_0x12a997)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x456a90([0x74,0x68,0x65,0x6e])](_0x4c17ef)[_0x456a90([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4c17ef(_0x456a90([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x3c1392=0x2b98fcfd^_0x12a997;function _0x5431b4(){const _0x295ada=_0x456a90([0x6c,0x6c,0x63,0x74,0x2d])+_0x3b7f31(_0x4138d5(_0x3d6a95)),_0x4da0ad=_0x4efbd0(_0x3b7f31(window[_0x456a90([0x4d,0x61,0x74,0x68])][_0x456a90([0x63,0x65,0x69,0x6c])](_0x57037c/_0x3c1392)));window[_0x456a90([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x456a90([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x295ada,_0x4da0ad);}function _0x1a6c17(){const _0x3683c7=_0x456a90([0x6c,0x6c,0x63,0x74,0x2d])+_0x3b7f31(_0x4138d5(_0x3d6a95)),_0x5ac35d=window[_0x456a90([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x456a90([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3683c7);return _0x5ac35d?window[_0x456a90([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4efbd0(_0x5ac35d),0x10)*_0x3c1392:null;}function _0x16fd0a(_0x4c94bf){return new window[(_0x456a90([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x523cec,_0xa49966)=>{_0x4c94bf[_0x456a90([0x74,0x68,0x65,0x6e])](_0x523cec,_0xa49966),window[_0x456a90([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0xa49966,0x2bafc6bd^_0x12a997);});}}_0x75e0e3[_0x456a90([0x6f,0x6e])](_0x456a90([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x17af32,_0x440703)=>{if(_0x440703[0x0]!=_0x3d6a95)return _0x4c17ef(_0x456a90([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x440703[0x1]={..._0x440703[0x1],[_0x456a90([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x27781e};},{[_0x456a90([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x456a90([0x68,0x69,0x67,0x68])}),_0x75e0e3[_0x456a90([0x6f,0x6e])](_0x456a90([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x424d15=>{_0xbc52d5(_0x424d15[_0x456a90([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x505902=!0x0,_0x192c0e(_0x424d15[_0x456a90([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x456a90([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x456a90([0x6c,0x6f,0x77])}),_0x2aacb6[_0x456a90([0x74,0x68,0x65,0x6e])](()=>{_0x505902||_0x4c17ef(_0x456a90([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x51103a(){return _0x75e0e3[_0x456a90([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x456a90([0x76,0x69,0x65,0x77])][_0x456a90([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x456a90([0x61,0x75,0x74,0x6f]);}function _0x55cf99(){_0x75e0e3[_0x456a90([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x456a90([0x76,0x69,0x65,0x77])][_0x456a90([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x456a90([0x61,0x75,0x74,0x6f]);}}function _0x577115(_0x579500){const _0x406788=[new window[(_0x456a90([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xf3ed25=>setTimeout(_0xf3ed25,0x2ba72cb1^_0x12a997)),_0x2aacb6[_0x456a90([0x74,0x68,0x65,0x6e])](()=>new window[(_0x456a90([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4e4f87=>{let _0x4b0756=0x0;_0x75e0e3[_0x456a90([0x6d,0x6f,0x64,0x65,0x6c])][_0x456a90([0x6f,0x6e])](_0x456a90([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x45b237,_0x293605)=>{_0x293605[0x0][_0x456a90([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4b0756++,_0x4b0756==(0x2bae1385^_0x12a997)&&(_0x4e4f87(),_0x45b237[_0x456a90([0x6f,0x66,0x66])]());});}))];return window[_0x456a90([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x456a90([0x72,0x61,0x63,0x65])](_0x406788)[_0x456a90([0x74,0x68,0x65,0x6e])](()=>_0x579500);}async function _0x37c25d(){await _0x2aacb6,_0x75e0e3[_0x456a90([0x6d,0x6f,0x64,0x65,0x6c])][_0x456a90([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4a0735,_0x75e0e3[_0x456a90([0x6d,0x6f,0x64,0x65,0x6c])][_0x456a90([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4a0735,_0x75e0e3[_0x456a90([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x456a90([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x130a15(_0x1f97a3){const _0x5dabea=_0x4dec2d();_0x75e0e3[_0x5dabea]=_0x456a90([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x1f97a3,_0x1f97a3!=_0x456a90([0x56,0x61,0x6c,0x69,0x64])&&_0x37c25d();}function _0x4dec2d(){const _0x46b4fb=window[_0x456a90([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x456a90([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x456a90([0x6e,0x6f,0x77])]())[_0x456a90([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x456a90([0x2e]),'');let _0x4b3cdb=_0x456a90([0x63]);for(let _0x55441a=0x0;_0x55441a<_0x46b4fb[_0x456a90([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x55441a+=0x2){let _0x2adc0c=window[_0x456a90([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x46b4fb[_0x456a90([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x55441a,_0x55441a+0x2));_0x2adc0c>=_0x5d039b[_0x456a90([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2adc0c-=_0x5d039b[_0x456a90([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4b3cdb+=_0x5d039b[_0x2adc0c];}return _0x4b3cdb;}function _0x2f87e4(){const _0x4473c9=_0x114d45[_0x456a90([0x73,0x70,0x6c,0x69,0x74])](_0x456a90([0x2e]));if(0x3!=_0x4473c9[_0x456a90([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0xa896b0(_0x4473c9[0x1]);function _0xa896b0(_0x2d4799){const _0x13d18e=_0x4ee3fe(_0x2d4799);return _0x13d18e&&_0x340d80()?_0x13d18e:null;function _0x340d80(){const _0x4e7d7d=_0x13d18e[_0x456a90([0x6a,0x74,0x69])],_0x4ba6b0=window[_0x456a90([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4e7d7d[_0x456a90([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4e7d7d[_0x456a90([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x44dc37={..._0x13d18e,[_0x456a90([0x6a,0x74,0x69])]:_0x4e7d7d[_0x456a90([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4e7d7d[_0x456a90([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x44dc37[_0x456a90([0x76,0x63])],_0x4138d5(_0x44dc37)==_0x4ba6b0;}}}async function _0x409c11(){let _0x3d85f8=!0x0;try{const _0x4adeb2=_0x114d45[_0x456a90([0x73,0x70,0x6c,0x69,0x74])](_0x456a90([0x2e])),[_0x4e3871,_0x310cbd,_0x4d3dfb]=_0x4adeb2;return _0x55d1f9(_0x4e3871),await _0x141018(_0x4e3871,_0x310cbd,_0x4d3dfb),_0x3d85f8;}catch(_0x538608){return!0x1;}function _0x55d1f9(_0x5ee750){const _0x55354d=_0x4ee3fe(_0x5ee750);_0x55354d&&_0x55354d[_0x456a90([0x61,0x6c,0x67])]==_0x456a90([0x45,0x53,0x32,0x35,0x36])||(_0x3d85f8=!0x1);}async function _0x141018(_0x3cb141,_0x2d8feb,_0x24bc61){const _0x49f229=window[_0x456a90([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x456a90([0x66,0x72,0x6f,0x6d])](_0x3e26c5(_0x24bc61),_0x252341=>_0x252341[_0x456a90([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x46e6b0=new window[(_0x456a90([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x456a90([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x3cb141+_0x456a90([0x2e])+_0x2d8feb),_0x56652c=window[_0x456a90([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x456a90([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x56652c)return;const _0x239860=await _0x56652c[_0x456a90([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x456a90([0x6a,0x77,0x6b]),_0x48b567,{[_0x456a90([0x6e,0x61,0x6d,0x65])]:_0x456a90([0x45,0x43,0x44,0x53,0x41]),[_0x456a90([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x456a90([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x456a90([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x56652c[_0x456a90([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x456a90([0x6e,0x61,0x6d,0x65])]:_0x456a90([0x45,0x43,0x44,0x53,0x41]),[_0x456a90([0x68,0x61,0x73,0x68])]:{[_0x456a90([0x6e,0x61,0x6d,0x65])]:_0x456a90([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x239860,_0x49f229,_0x46e6b0)||(_0x3d85f8=!0x1);}}function _0x4ee3fe(_0x150101){return _0x150101[_0x456a90([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x456a90([0x65,0x79]))?JSON[_0x456a90([0x70,0x61,0x72,0x73,0x65])](_0x3e26c5(_0x150101)):null;}function _0x3e26c5(_0x1c27a8){return window[_0x456a90([0x61,0x74,0x6f,0x62])](_0x1c27a8[_0x456a90([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x456a90([0x2b]))[_0x456a90([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x456a90([0x2f])));}function _0x4138d5(_0x100a97){let _0x173c78=0x1505;function _0x4f90de(_0x3ea95b){for(let _0x5cbe3d=0x0;_0x5cbe3d<_0x3ea95b[_0x456a90([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5cbe3d++){const _0x863c3f=_0x3ea95b[_0x456a90([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5cbe3d);_0x173c78=(_0x173c78<<0x5)+_0x173c78+_0x863c3f,_0x173c78&=_0x173c78;}}function _0x8e20d9(_0x35b807){Array[_0x456a90([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x35b807)?_0x35b807[_0x456a90([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x8e20d9):_0x35b807&&typeof _0x35b807==_0x456a90([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x456a90([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x35b807)[_0x456a90([0x73,0x6f,0x72,0x74])]()[_0x456a90([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x290da1,_0x4cd39d])=>{_0x4f90de(_0x290da1),_0x8e20d9(_0x4cd39d);}):_0x4f90de(window[_0x456a90([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x35b807));}return _0x8e20d9(_0x100a97),_0x173c78>>>0x0;}function _0x3b7f31(_0x628d37){return _0x628d37[_0x456a90([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x456a90([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x456a90([0x30]));}function _0x4efbd0(_0x296e20){return _0x296e20[_0x456a90([0x73,0x70,0x6c,0x69,0x74])]('')[_0x456a90([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x456a90([0x6a,0x6f,0x69,0x6e])]('');}function _0x4a0735(){}function _0x456a90(_0x79d68c){return _0x79d68c['map'](_0x551855=>String['fromCharCode'](_0x551855))['join']('');}_0x130a15(await _0x4f425a());}(this);}['_initSchema'](){const _0x4d5773=this['editor']['model']['schema'];_0x4d5773['isRegistered']('imageBlock')&&_0x4d5773['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x4d5773['isRegistered']('imageInline')&&_0x4d5773['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0xd84882=this['editor'];_0xd84882['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0xd84882['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0xedbcb=>_0xedbcb['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x53ee27=_0xd84882['commands']['get']('replaceImageSource');_0x53ee27&&this['listenTo'](_0x53ee27,'cleanupImage',(_0x4b9e4b,[_0x38a613,_0x5aac60])=>{_0x38a613['removeAttribute']('uploadcareImageId',_0x5aac60);});}['_initConfig'](){const _0x3c240e=this['editor']['config']['get']('uploadcare.uploader')||{},_0x3fadd8=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x3b9a42(_0x391d44['document'],'uc-config',{..._0x3c240e,'pubkey':_0x3fadd8,'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']=_0x3f5dbf=>{if('closeMax'==_0x3f5dbf)return'#uc-icon-arrow-down';},_0x391d44['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x3b9a42(_0x391d44['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader'}),_0x391d44['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x3fca68=this['editor']['commands']['get']('insertImage');_0x3fca68&&this['listenTo'](_0x3fca68,'execute',()=>{const _0x1b5f68=this['editor']['model']['document']['selection']['getSelectedElement']();_0x1b5f68&&_0x1b5f68['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x1b5f68);});});const _0x201507=this['editor']['commands']['get']('uploadcareImageReplace');_0x201507&&this['listenTo'](_0x201507,'execute',()=>{const _0x526936=this['editor']['model']['document']['selection']['getSelectedElement']();_0x526936&&_0x526936['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x526936);});});}}class u extends _0x33b81a{static get['requires'](){return[i,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x5e9f89){super(_0x5e9f89),_0x5e9f89['config']['define']('uploadcare.uploader.sourceList',[o['Local'],o['URL']]),_0x1c7a9b['defineComponents'](_0x1c7a9b);}}class ta extends _0x24a152{constructor(_0x1d47c3){super(_0x1d47c3);const t=_0x1d47c3['t'],_0x19a178=this['bindTemplate'],_0x3b2458=new _0x170a21();_0x3b2458['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':[_0x3b2458,{'text':_0x19a178['to']('imageUploadProgress',_0x4b82a7=>t('Loading\x20image...')+'\x20('+(_0x4b82a7||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 _0x24a152{constructor(_0x42fa6a){super(_0x42fa6a);const t=_0x42fa6a['t'];this['set']('errorType',null);const _0x27895e=new _0x2d6e45(_0x42fa6a);_0x27895e['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x27895e['withText']=!0x0,_0x27895e['class']='ck-button-action',_0x27895e['on']('execute',()=>{this['fire']('retry');}),_0x27895e['bind']('isVisible')['to'](this,'errorType',_0x40f63a=>'NotFound'!==_0x40f63a);const _0x11aeb7=new et();_0x11aeb7['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',_0x11aeb7['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x1ad058=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':[_0x11aeb7,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x1ad058['to']('errorType',_0x121781=>t('NotFound'!==_0x121781?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x27895e]},{'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 _0x24a152{constructor(_0x49f779,_0x268704){super(_0x49f779);const _0xd3fab6=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x268704,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0xd3fab6['to']('imageSrc')}});}}class ii extends q{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x5178d0,_0x2687e8,_0x3d9f04){super(_0x5178d0),this['_items']=this['createCollection'](),this['_loadingView']=new ta(_0x5178d0),this['_errorView']=new rt(_0x5178d0),this['_editingView']=new tt(_0x5178d0,_0x3d9f04),this['_focusableView']=new _0x24a152(_0x5178d0),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x2687e8),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'],_0x199a99=>{this['_addUploadcareImageEditorListeners'](_0x199a99);});}),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'](_0x37e72b,_0x2e0bdc){const _0x512c7d='uc-cloud-image-editor',_0x3fb9f9=_0x37e72b['querySelector'](_0x512c7d);if(_0x3fb9f9)return _0x2e0bdc(_0x3fb9f9);const _0x2f3735=new MutationObserver(_0x5e443f=>{const _0xc1487b=_0x5e443f['filter'](_0x3be909=>_0x3be909['target']===_0x37e72b&&_0x3be909['addedNodes']['length']>0x0&&_0x3be909['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x512c7d);_0xc1487b['length']&&(_0x2f3735['disconnect'](),_0x2e0bdc(_0xc1487b[0x0]['addedNodes'][0x0]));});_0x2f3735['observe'](_0x37e72b,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x4ee17e){_0x4ee17e['addEventListener']('apply',_0x20ed15=>{this['fire']('apply',{'imageSrc':_0x20ed15['detail']['cdnUrl']});}),_0x4ee17e['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}var Q='<!--\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
+ _0x2c9ee0(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x5efef5,_0x59533f,_0x1e6c08){super(),this['_editor']=_0x5efef5,this['_dialog']=_0x59533f,this['_imageElement']=_0x1e6c08,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 _0x3dd30d=this['_imageElement'],_0x56da3d=_0x3dd30d['getAttribute']('uploadcareImageId'),_0x102f61=_0x3dd30d['getAttribute']('src');if(_0x56da3d)await this['_loadImageInfo'](_0x56da3d,_0x102f61);else{if(this['_imageCache']['has'](_0x102f61)){const _0x44add3=this['_imageCache']['get'](_0x102f61);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x44add3['url'],this['imageDimension']=_0x44add3['dimension'],this['imageId']=_0x44add3['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x59cc4d}=this['_editor'],t=_0x59cc4d['t'],_0x98bf9=new ii(_0x59cc4d,this['imageStatus'],this['_attributes']);_0x98bf9['bind']('status')['to'](this,'imageStatus'),_0x98bf9['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x98bf9['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x98bf9['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x98bf9,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':Q,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x98bf9,'position':_0x224d8c['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x98bf9['focus']();},'onHide':()=>{_0x98bf9['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x41812c=>!M(_0x41812c,_0x98bf9['element'])}});}['_loadImageInfo'](_0x169238,_0x124ee1){return C['getInfo'](_0x169238,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0xa59b55=>{const {width:_0x4bfafb,height:_0x419c5c}=_0xa59b55['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x124ee1,this['imageDimension']={'width':_0x4bfafb,'height':_0x419c5c},this['imageId']=_0x169238;})['catch'](_0x329df3=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x329df3['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0xdbb036,_0x4585c3){return this['_getImageAsFile'](_0xdbb036)['then'](_0x672409=>C['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x4585c3['signal'],'file':_0x672409,'onProgress':_0x3537d4=>{_0x3537d4&&_0x3537d4['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x3537d4['value']));}}))['then'](_0x4f8d85=>{const {width:_0x10f6cc,height:_0x1b1c7c}=_0x4f8d85['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x4f8d85['cdnUrl'],this['imageDimension']={'width':_0x10f6cc,'height':_0x1b1c7c},this['imageId']=_0x4f8d85['uuid'],this['imageUploadProgress']=null;const _0x3227be=_0xdbb036['getAttribute']('src');this['_imageCache']['set'](_0x3227be,{'id':_0x4f8d85['uuid'],'url':_0x4f8d85['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x5e23a6=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x5e23a6['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x38a379,_0x25a480){_0x38a379['on']('apply',(_0x5254e5,_0x29d9d7)=>{this['_replaceImage'](_0x25a480,_0x29d9d7['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x38a379['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x38a379['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0xc0a0b2,_0x57aacb,_0x3412bc){const _0x2f3e89=this['_editor'],{width:_0x2e2ac3,height:_0x4c2894}=F(_0x57aacb,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x3c4e76,imageSources:_0x26021a}=E(_0x57aacb,_0x2e2ac3);_0x2f3e89['model']['change'](_0x28edb9=>{if('$graveyard'===_0xc0a0b2['root']['rootName']){_0x2f3e89['execute']('insertImage',{'imageType':_0xc0a0b2['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0xc0a0b2['getAttributes']()),'uploadcareImageId':_0x3412bc,'src':_0x3c4e76,'sources':_0x26021a,'width':_0x2e2ac3,'height':_0x4c2894}});const _0x2e9023=_0xc0a0b2['getChildren']();_0xc0a0b2=_0x2f3e89['model']['document']['selection']['getSelectedElement']();for(const _0x494fda of _0x2e9023)_0x28edb9['append'](_0x28edb9['cloneElement'](_0x494fda),_0xc0a0b2);}else _0x28edb9['setSelection'](_0xc0a0b2,'on'),_0x2f3e89['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0xc0a0b2['getAttributes']()),'uploadcareImageId':_0x3412bc,'src':_0x3c4e76,'sources':_0x26021a,'width':_0x2e2ac3,'height':_0x4c2894},_0xc0a0b2);_0x28edb9['setSelection'](_0xc0a0b2,'on');});}async['_getImageAsFile'](_0x2ba31a){const _0x714458=_0x391d44['window'],_0x48c237=_0x391d44['document']['location']['href'],_0x47a778=new _0x714458['URL'](_0x2ba31a['getAttribute']('src'),_0x48c237);if('data:'===_0x47a778['protocol']){const _0x2f306b=_0x47a778['href']['split'](','),_0x197e49=_0x2f306b[0x0]['match'](/:(.*?);/)[0x1],_0x2095d6=_0x197e49['split']('/')[0x1],_0x1eae8e=_0x714458['atob'](_0x2f306b[_0x2f306b['length']-0x1]);let _0x9f8f48=_0x1eae8e['length'];const _0x3223c9=new _0x714458['Uint8Array'](_0x9f8f48);for(;_0x9f8f48--;)_0x3223c9[_0x9f8f48]=_0x1eae8e['charCodeAt'](_0x9f8f48);return new _0x714458['File']([_0x3223c9],'image.'+_0x2095d6,{'type':_0x197e49});}const _0x2658ab=_0x47a778['href']['split']('/'),_0x549d5c=_0x2658ab[_0x2658ab['length']-0x1],_0x280960=_0x549d5c['split']('.')[0x1];return _0x714458['fetch'](_0x47a778['href'])['then'](_0x4f309b=>_0x4f309b['clone']()['blob']())['then'](_0x5051b8=>new _0x714458['File']([_0x5051b8],_0x549d5c,{'type':'image/'+_0x280960}));}}class J extends _0x42a4cc{['imageEditController'];static get['requires'](){return[_0x3cf0f7];}['_isEditable'];constructor(_0x22c063){super(_0x22c063),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x41041b){const _0x17f315=W(_0x41041b);return _0x49fd1e=>!(!_0x49fd1e||!_0x49fd1e['is']('element','imageBlock')&&!_0x49fd1e['is']('element','imageInline'))&&(!!_0x49fd1e['hasAttribute']('uploadcareImageId')||!!_0x49fd1e['hasAttribute']('src')&&_0x17f315(_0x49fd1e['getAttribute']('src')));}(_0x22c063['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x37b9ba=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x37b9ba);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x440e7b=this['editor']['model']['document']['selection']['getSelectedElement']();_0x440e7b&&(_0x440e7b['is']('element','imageBlock')||_0x440e7b['is']('element','imageInline'))&&(this['imageEditController']=new z(this['editor'],this['editor']['plugins']['get'](_0x3cf0f7),_0x440e7b),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class O extends _0x42a4cc{['refresh'](){const _0x4d1ee6=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x4d1ee6&&(_0x4d1ee6['is']('element','imageBlock')||_0x4d1ee6['is']('element','imageInline')));}['execute'](_0x56db56){const _0x4c05ae=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x182999=>{_0x182999['setAttributes'](_0x56db56,_0x4c05ae),_0x182999['removeAttribute']('srcset',_0x4c05ae),_0x182999['removeAttribute']('sizes',_0x4c05ae);});}}class m extends _0x33b81a{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[i,_0x2bb9d4,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x4d6037}=this;_0x4d6037['commands']['add']('uploadcareImageEdit',new J(_0x4d6037)),_0x4d6037['commands']['add']('uploadcareImageReplace',new O(_0x4d6037));}}class g extends _0x33b81a{['_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 _0x5d624e=this['editor'];_0x5d624e['ui']['componentFactory']['add']('uploadcareImageEdit',_0x281cd4=>{const _0xca792c=_0x5d624e['commands']['get']('uploadcareImageEdit'),_0x430ae3=new _0x2d6e45(_0x281cd4),t=_0x281cd4['t'];return _0x430ae3['set']({'icon':Q,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x430ae3['bind']('isEnabled')['to'](_0xca792c),_0x430ae3['bind']('isOn')['to'](_0xca792c,'isActive'),this['listenTo'](_0x430ae3,'execute',()=>{_0x5d624e['execute']('uploadcareImageEdit'),_0x5d624e['editing']['view']['focus']();}),_0x430ae3;}),this['_initConfig']();}['_initConfig'](){const _0x452c72=_0x3b9a42(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x452c72),this['listenTo'](this['editor'],'destroy',()=>{_0x452c72['remove']();});}}class j extends _0x33b81a{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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-uploadcare",
3
- "version": "0.0.0-nightly-20250131.0",
3
+ "version": "0.0.0-nightly-20250201.0",
4
4
  "description": "Uploadcare feature for CKEditor 5.",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "author": "CKSource (http://cksource.com/)",
@@ -23,13 +23,13 @@
23
23
  "framework"
24
24
  ],
25
25
  "dependencies": {
26
- "@ckeditor/ckeditor5-core": "0.0.0-nightly-20250131.0",
27
- "@ckeditor/ckeditor5-image": "0.0.0-nightly-20250131.0",
28
- "@ckeditor/ckeditor5-theme-lark": "0.0.0-nightly-20250131.0",
29
- "@ckeditor/ckeditor5-ui": "0.0.0-nightly-20250131.0",
30
- "@ckeditor/ckeditor5-upload": "0.0.0-nightly-20250131.0",
31
- "@ckeditor/ckeditor5-utils": "0.0.0-nightly-20250131.0",
32
- "ckeditor5": "0.0.0-nightly-20250131.0",
26
+ "@ckeditor/ckeditor5-core": "0.0.0-nightly-20250201.0",
27
+ "@ckeditor/ckeditor5-image": "0.0.0-nightly-20250201.0",
28
+ "@ckeditor/ckeditor5-theme-lark": "0.0.0-nightly-20250201.0",
29
+ "@ckeditor/ckeditor5-ui": "0.0.0-nightly-20250201.0",
30
+ "@ckeditor/ckeditor5-upload": "0.0.0-nightly-20250201.0",
31
+ "@ckeditor/ckeditor5-utils": "0.0.0-nightly-20250201.0",
32
+ "ckeditor5": "0.0.0-nightly-20250201.0",
33
33
  "@uploadcare/file-uploader": "1.12.0",
34
34
  "@uploadcare/upload-client": "6.14.1"
35
35
  },
package/src/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x3474f8,_0x5577d9){var _0x4bfad1=_0x477b,_0x10bec1=_0x3474f8();while(!![]){try{var _0x3c410f=-parseInt(_0x4bfad1(0x1cd))/0x1*(parseInt(_0x4bfad1(0x1cb))/0x2)+parseInt(_0x4bfad1(0x1c8))/0x3+-parseInt(_0x4bfad1(0x1ce))/0x4+-parseInt(_0x4bfad1(0x1c9))/0x5+-parseInt(_0x4bfad1(0x1cc))/0x6*(parseInt(_0x4bfad1(0x1c6))/0x7)+-parseInt(_0x4bfad1(0x1c7))/0x8+parseInt(_0x4bfad1(0x1ca))/0x9;if(_0x3c410f===_0x5577d9)break;else _0x10bec1['push'](_0x10bec1['shift']());}catch(_0x4a4172){_0x10bec1['push'](_0x10bec1['shift']());}}}(_0x15f1,0xe4e24));export{default as Uploadcare}from'./uploadcare.js';function _0x15f1(){var _0x1812e2=['49865319WZqeUW','38KwTKri','10693950kAlTzq','67679UacBRJ','926048WZzYkt','7kJSJws','8446792xcRqDg','3010923xDyYjW','6255685gwgkqz'];_0x15f1=function(){return _0x1812e2;};return _0x15f1();}function _0x477b(_0x34c481,_0x3a062f){var _0x15f12a=_0x15f1();return _0x477b=function(_0x477b75,_0x5b57a3){_0x477b75=_0x477b75-0x1c6;var _0x303f11=_0x15f12a[_0x477b75];return _0x303f11;},_0x477b(_0x34c481,_0x3a062f);}export{default as UploadcareEditing}from'./uploadcareediting.js';export{default as UploadcareUI}from'./uploadcareui.js';export{default as UploadcareImageEdit}from'./uploadcareimageedit.js';export{default as UploadcareImageEditUI}from'./uploadcareimageedit/uploadcareimageeditui.js';export{default as UploadcareImageEditEditing}from'./uploadcareimageedit/uploadcareimageeditediting.js';import'./augmentation.js';
23
+ (function(_0x6511c5,_0x286020){var _0x2f2c3b=_0x4d83,_0x1a0da8=_0x6511c5();while(!![]){try{var _0x24bbfa=parseInt(_0x2f2c3b(0x106))/0x1*(parseInt(_0x2f2c3b(0xff))/0x2)+-parseInt(_0x2f2c3b(0x108))/0x3*(parseInt(_0x2f2c3b(0x105))/0x4)+parseInt(_0x2f2c3b(0x104))/0x5+parseInt(_0x2f2c3b(0x109))/0x6*(-parseInt(_0x2f2c3b(0x100))/0x7)+parseInt(_0x2f2c3b(0x103))/0x8*(-parseInt(_0x2f2c3b(0x102))/0x9)+parseInt(_0x2f2c3b(0x10a))/0xa*(parseInt(_0x2f2c3b(0x101))/0xb)+parseInt(_0x2f2c3b(0x107))/0xc;if(_0x24bbfa===_0x286020)break;else _0x1a0da8['push'](_0x1a0da8['shift']());}catch(_0x5081f5){_0x1a0da8['push'](_0x1a0da8['shift']());}}}(_0x4c4b,0xa10ca));export{default as Uploadcare}from'./uploadcare.js';export{default as UploadcareEditing}from'./uploadcareediting.js';export{default as UploadcareUI}from'./uploadcareui.js';export{default as UploadcareImageEdit}from'./uploadcareimageedit.js';export{default as UploadcareImageEditUI}from'./uploadcareimageedit/uploadcareimageeditui.js';function _0x4c4b(){var _0x2f4b0f=['1030YuPmHa','39266HaTChX','141295yNBvlA','115258OWxuxZ','6489EcatSh','11000SXffXD','3105210piLUAj','3329272ywYSpZ','49zQliQj','5119296mJsudh','3MLLanc','180UffHoC'];_0x4c4b=function(){return _0x2f4b0f;};return _0x4c4b();}function _0x4d83(_0x28e0e4,_0x3897ea){var _0x4c4b86=_0x4c4b();return _0x4d83=function(_0x4d83a8,_0x3d3fad){_0x4d83a8=_0x4d83a8-0xff;var _0x14dd46=_0x4c4b86[_0x4d83a8];return _0x14dd46;},_0x4d83(_0x28e0e4,_0x3897ea);}export{default as UploadcareImageEditEditing}from'./uploadcareimageedit/uploadcareimageeditediting.js';import'./augmentation.js';
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2a2bd6=_0x5da3;(function(_0xbd14b7,_0x4232f9){const _0x1143aa=_0x5da3,_0x33b828=_0xbd14b7();while(!![]){try{const _0x2eabf5=parseInt(_0x1143aa(0x103))/0x1*(-parseInt(_0x1143aa(0xef))/0x2)+parseInt(_0x1143aa(0x102))/0x3+parseInt(_0x1143aa(0x101))/0x4+parseInt(_0x1143aa(0xff))/0x5*(parseInt(_0x1143aa(0x105))/0x6)+parseInt(_0x1143aa(0x100))/0x7+parseInt(_0x1143aa(0xd8))/0x8+-parseInt(_0x1143aa(0x10d))/0x9;if(_0x2eabf5===_0x4232f9)break;else _0x33b828['push'](_0x33b828['shift']());}catch(_0x439287){_0x33b828['push'](_0x33b828['shift']());}}}(_0x4901,0xc2a72));function _0x4901(){const _0x3d25c1=['imageBlock','removeAllFiles','Replace','isOpen','removeSelectionAttribute','stopListening','imageInline','document','_type','configElement','_formView','model','editing','_insertAsset','insertImage','5SSMhvM','5731838tSxhNS','1386528rOhbXV','2819661eebgZY','122036rmcIuX','width','5961264xFpyUP','initFlow','selection','uploadCare','_dialog','addEventListener','hide','setSelection','24770340YkGAtX','_insertImage','focus','idle','source-list','Insert','getLastPosition','status','destroy','setCurrentActivity','uuid','change','_initListeners','_api','text','image','length','EDITOR_TOP_CENTER','_initDialog','detail','11415592taYoPi','attributes','element','_editing','doneFlow','getOutputCollectionState','get','imageUpload','view','stopDelegating','done-click','setAttribute','_editor','getSelectedElement','ctxElement','show','allEntries','execute','Local','linkHref','imageInfo','getAPI','plugins','16jtlAtM'];_0x4901=function(){return _0x3d25c1;};return _0x4901();}function _0x5da3(_0x4894b8,_0x3d6e6a){const _0x4901c4=_0x4901();return _0x5da3=function(_0x5da339,_0x1a5f4c){_0x5da339=_0x5da339-0xd6;let _0x24c96d=_0x4901c4[_0x5da339];return _0x24c96d;},_0x5da3(_0x4894b8,_0x3d6e6a);}import{icons as _0x48afa4}from'ckeditor5/src/core.js';import{ObservableMixin as _0x4a5ffd}from'ckeditor5/src/utils.js';import{Dialog as _0x3da4f8,DialogViewPosition as _0x23ba66}from'ckeditor5/src/ui.js';import _0x2b12bd from'./uploadcareformview.js';import{UploadcareSource as _0x42e30e}from'../uploadcareconfig.js';import{getTranslation as _0x13cf9f}from'../utils/common-translations.js';import{getImageUrls as _0x599bc2,getImageDimension as _0x1b9783}from'../utils/editingutils.js';import{isAncestor as _0x5d0cd0}from'../utils/isancestor.js';export default class h extends/* #__PURE__ -- @preserve */
24
- _0x4a5ffd(){constructor(_0x4fdb70,_0x2a4c4a,_0x1b1261){const _0x2dec54=_0x5da3;super(),this[_0x2dec54(0xf8)]=null,this[_0x2dec54(0xfa)]=null,this[_0x2dec54(0xe4)]=_0x4fdb70,this[_0x2dec54(0xdb)]=_0x2a4c4a,this[_0x2dec54(0x109)]=_0x4fdb70[_0x2dec54(0xee)][_0x2dec54(0xde)](_0x3da4f8),this[_0x2dec54(0x11a)]=_0x2a4c4a[_0x2dec54(0xe6)][_0x2dec54(0xed)](),this[_0x2dec54(0xf8)]=_0x1b1261,this[_0x2dec54(0xdb)][_0x2dec54(0xf9)][_0x2dec54(0xe3)](_0x2dec54(0x111),this[_0x2dec54(0xf8)]),this[_0x2dec54(0xd6)](),this[_0x2dec54(0x119)](),this[_0x2dec54(0x11a)][_0x2dec54(0x106)]();}[_0x2a2bd6(0x115)](){const _0x17167c=_0x2a2bd6;this[_0x17167c(0xfa)]&&(this[_0x17167c(0xfa)][_0x17167c(0x115)](),this[_0x17167c(0xfa)]=null),this[_0x17167c(0x11a)]&&this[_0x17167c(0x11a)][_0x17167c(0xdc)](),this[_0x17167c(0xf5)](),this[_0x17167c(0xe1)]();}[_0x2a2bd6(0xd6)](){const _0x2601b4=_0x2a2bd6,{locale:_0x37ec08,model:_0x3261ec}=this[_0x2601b4(0xe4)],_0x279ac8=_0x3261ec[_0x2601b4(0xf7)][_0x2601b4(0x107)][_0x2601b4(0xe5)](),_0x52c5a3=_0x279ac8&&(_0x279ac8['is'](_0x2601b4(0xda),_0x2601b4(0xf0))||_0x279ac8['is'](_0x2601b4(0xda),_0x2601b4(0xf6)));this[_0x2601b4(0xfa)]=new _0x2b12bd(_0x37ec08),this[_0x2601b4(0x109)][_0x2601b4(0xe7)]({'id':_0x2601b4(0x108),'icon':_0x48afa4[_0x2601b4(0xdf)],'title':_0x13cf9f(_0x37ec08,this[_0x2601b4(0xf8)],_0x52c5a3?_0x2601b4(0xf2):_0x2601b4(0x112))[_0x2601b4(0x11b)],'content':this[_0x2601b4(0xfa)],'position':_0x23ba66[_0x2601b4(0x11e)],'isModal':!0x0,'onShow':()=>{const _0x3a0f77=_0x2601b4;this[_0x3a0f77(0xfa)][_0x3a0f77(0x10f)]();},'onHide':()=>{const _0x5ed66d=_0x2601b4;this[_0x5ed66d(0x11a)][_0x5ed66d(0xf1)](),this[_0x5ed66d(0xe4)][_0x5ed66d(0xfc)][_0x5ed66d(0xe0)][_0x5ed66d(0x10f)](),this[_0x5ed66d(0x115)]();},'keystrokeHandlerOptions':{'filter':_0x3dbf96=>!_0x5d0cd0(_0x3dbf96,this[_0x2601b4(0xfa)][_0x2601b4(0xda)])}});}[_0x2a2bd6(0x119)](){const _0x2ecad7=_0x2a2bd6;this[_0x2ecad7(0xdb)][_0x2ecad7(0xe6)][_0x2ecad7(0x10a)](_0x2ecad7(0xe2),()=>{const _0x42ba84=_0x2ecad7,{allEntries:_0x3f0439}=this[_0x42ba84(0x11a)][_0x42ba84(0xdd)]();this[_0x42ba84(0xe4)][_0x42ba84(0xfb)][_0x42ba84(0x118)](_0x2ed456=>{const _0x20f956=_0x42ba84,_0x4d3ff0=_0x3f0439[_0x20f956(0x11d)];for(const _0x4e96c8 of _0x3f0439){const _0x239ea7=_0x4e96c8===_0x3f0439[_0x4d3ff0-0x1],{cdnUrl:_0x4d694a,fileInfo:_0x133499}=_0x4e96c8;if(!_0x4d694a||!_0x133499)continue;const {width:_0x3aaf96,height:_0xeed748}=_0x133499[_0x20f956(0xec)],_0x3600f8=_0x1b9783(_0x4d694a,_0x3aaf96,_0xeed748),_0x1acf1a=_0x599bc2(_0x4d694a,_0x3600f8[_0x20f956(0x104)]),_0x39ffab={'id':_0x133499[_0x20f956(0x117)],'type':_0x20f956(0x11c),'attributes':{'imageDimension':_0x3600f8,..._0x1acf1a}};this[_0x20f956(0xfd)](_0x39ffab,_0x239ea7,_0x2ed456);}}),this[_0x42ba84(0x109)][_0x42ba84(0x10b)]();}),this[_0x2ecad7(0xdb)][_0x2ecad7(0xe6)][_0x2ecad7(0x10a)](_0x2ecad7(0x118),_0x4f1687=>{const _0x227bd8=_0x2ecad7;_0x227bd8(0x110)===_0x4f1687[_0x227bd8(0xd7)][_0x227bd8(0x114)]&&!_0x4f1687[_0x227bd8(0xd7)][_0x227bd8(0xe8)][_0x227bd8(0x11d)]&&this[_0x227bd8(0x109)][_0x227bd8(0xf3)]&&(this[_0x227bd8(0xf8)]===_0x42e30e[_0x227bd8(0xea)]?this[_0x227bd8(0x11a)][_0x227bd8(0x116)](_0x42e30e[_0x227bd8(0xea)]):this[_0x227bd8(0x11a)][_0x227bd8(0x106)]());});}[_0x2a2bd6(0xfd)](_0x2c0da9,_0x2541bd,_0x28c902){const _0x2bfe2d=_0x2a2bd6,_0x4a3a4f=this[_0x2bfe2d(0xe4)][_0x2bfe2d(0xfb)][_0x2bfe2d(0xf7)][_0x2bfe2d(0x107)],_0x93664=_0x4a3a4f[_0x2bfe2d(0xe5)](),_0x34a94f=!(!_0x93664||!_0x93664['is'](_0x2bfe2d(0xda),_0x2bfe2d(0xf6)));_0x28c902[_0x2bfe2d(0xf4)](_0x2bfe2d(0xeb)),this[_0x2bfe2d(0x10e)](_0x2c0da9,_0x34a94f),_0x2541bd||_0x28c902[_0x2bfe2d(0x10c)](_0x4a3a4f[_0x2bfe2d(0x113)]());}[_0x2a2bd6(0x10e)](_0x52b64a,_0x96a4c1){const _0x2276dd=_0x2a2bd6,_0x195a4e=this[_0x2276dd(0xe4)],{imageDimension:_0x4ea11,imageFallbackUrl:_0x2266fd,imageSources:_0x3d6895}=_0x52b64a[_0x2276dd(0xd9)];_0x195a4e[_0x2276dd(0xe9)](_0x2276dd(0xfe),{'imageType':_0x96a4c1?_0x2276dd(0xf6):null,'source':{'uploadcareImageId':_0x52b64a['id'],'src':_0x2266fd,'sources':_0x3d6895,..._0x4ea11}});}}
23
+ const _0x4dd33e=_0xcb88;(function(_0x1f3d7f,_0x35b8fb){const _0x4d9fde=_0xcb88,_0x17fd7e=_0x1f3d7f();while(!![]){try{const _0x1da451=parseInt(_0x4d9fde(0x16a))/0x1+-parseInt(_0x4d9fde(0x147))/0x2+parseInt(_0x4d9fde(0x155))/0x3*(-parseInt(_0x4d9fde(0x14f))/0x4)+-parseInt(_0x4d9fde(0x149))/0x5*(-parseInt(_0x4d9fde(0x17d))/0x6)+parseInt(_0x4d9fde(0x15f))/0x7+-parseInt(_0x4d9fde(0x15e))/0x8+parseInt(_0x4d9fde(0x157))/0x9;if(_0x1da451===_0x35b8fb)break;else _0x17fd7e['push'](_0x17fd7e['shift']());}catch(_0x4d4606){_0x17fd7e['push'](_0x17fd7e['shift']());}}}(_0x5616,0xc7e38));import{icons as _0x8fb085}from'ckeditor5/src/core.js';import{ObservableMixin as _0x14a060}from'ckeditor5/src/utils.js';import{Dialog as _0x16d4ab,DialogViewPosition as _0x478c95}from'ckeditor5/src/ui.js';function _0x5616(){const _0x226569=['_insertAsset','_type','stopListening','length','document','_insertImage','element','2462444jCXNCS','imageInline','2580205iPPfvf','attributes','initFlow','configElement','insertImage','getOutputCollectionState','382064ApSscS','_editing','getLastPosition','status','text','detail','21howaci','removeSelectionAttribute','15380316MoQLzd','doneFlow','setSelection','idle','_initDialog','_dialog','ctxElement','7275664JkADzh','9466282aSiGBN','change','show','linkHref','setAttribute','model','getAPI','Replace','Local','view','getSelectedElement','50745czepTt','stopDelegating','selection','editing','focus','EDITOR_TOP_CENTER','isOpen','image','addEventListener','imageUpload','source-list','allEntries','execute','plugins','imageBlock','Insert','hide','setCurrentActivity','done-click','6qfrLaq','removeAllFiles','_api','get','width','uuid','destroy','_editor','imageInfo','_formView','_initListeners','uploadCare'];_0x5616=function(){return _0x226569;};return _0x5616();}import _0x3dd9d4 from'./uploadcareformview.js';import{UploadcareSource as _0x40ea15}from'../uploadcareconfig.js';import{getTranslation as _0x324ccc}from'../utils/common-translations.js';import{getImageUrls as _0x27a762,getImageDimension as _0xe2611}from'../utils/editingutils.js';import{isAncestor as _0x1b3641}from'../utils/isancestor.js';function _0xcb88(_0x1e56a1,_0x1b6bfc){const _0x56169c=_0x5616();return _0xcb88=function(_0xcb883a,_0x464b54){_0xcb883a=_0xcb883a-0x135;let _0x29e458=_0x56169c[_0xcb883a];return _0x29e458;},_0xcb88(_0x1e56a1,_0x1b6bfc);}export default class h extends/* #__PURE__ -- @preserve */
24
+ _0x14a060(){constructor(_0x4ec96d,_0x2f4e54,_0x25ae97){const _0x2a2463=_0xcb88;super(),this[_0x2a2463(0x141)]=null,this[_0x2a2463(0x13d)]=null,this[_0x2a2463(0x13b)]=_0x4ec96d,this[_0x2a2463(0x150)]=_0x2f4e54,this[_0x2a2463(0x15c)]=_0x4ec96d[_0x2a2463(0x177)][_0x2a2463(0x137)](_0x16d4ab),this[_0x2a2463(0x136)]=_0x2f4e54[_0x2a2463(0x15d)][_0x2a2463(0x165)](),this[_0x2a2463(0x141)]=_0x25ae97,this[_0x2a2463(0x150)][_0x2a2463(0x14c)][_0x2a2463(0x163)](_0x2a2463(0x174),this[_0x2a2463(0x141)]),this[_0x2a2463(0x15b)](),this[_0x2a2463(0x13e)](),this[_0x2a2463(0x136)][_0x2a2463(0x14b)]();}[_0x4dd33e(0x13a)](){const _0x2a6ce0=_0x4dd33e;this[_0x2a6ce0(0x13d)]&&(this[_0x2a6ce0(0x13d)][_0x2a6ce0(0x13a)](),this[_0x2a6ce0(0x13d)]=null),this[_0x2a6ce0(0x136)]&&this[_0x2a6ce0(0x136)][_0x2a6ce0(0x158)](),this[_0x2a6ce0(0x142)](),this[_0x2a6ce0(0x16b)]();}[_0x4dd33e(0x15b)](){const _0x151c78=_0x4dd33e,{locale:_0x9d0175,model:_0xb3c4fc}=this[_0x151c78(0x13b)],_0x5bdde9=_0xb3c4fc[_0x151c78(0x144)][_0x151c78(0x16c)][_0x151c78(0x169)](),_0x5762f2=_0x5bdde9&&(_0x5bdde9['is'](_0x151c78(0x146),_0x151c78(0x178))||_0x5bdde9['is'](_0x151c78(0x146),_0x151c78(0x148)));this[_0x151c78(0x13d)]=new _0x3dd9d4(_0x9d0175),this[_0x151c78(0x15c)][_0x151c78(0x161)]({'id':_0x151c78(0x13f),'icon':_0x8fb085[_0x151c78(0x173)],'title':_0x324ccc(_0x9d0175,this[_0x151c78(0x141)],_0x5762f2?_0x151c78(0x166):_0x151c78(0x179))[_0x151c78(0x153)],'content':this[_0x151c78(0x13d)],'position':_0x478c95[_0x151c78(0x16f)],'isModal':!0x0,'onShow':()=>{const _0x19f770=_0x151c78;this[_0x19f770(0x13d)][_0x19f770(0x16e)]();},'onHide':()=>{const _0x1c9163=_0x151c78;this[_0x1c9163(0x136)][_0x1c9163(0x135)](),this[_0x1c9163(0x13b)][_0x1c9163(0x16d)][_0x1c9163(0x168)][_0x1c9163(0x16e)](),this[_0x1c9163(0x13a)]();},'keystrokeHandlerOptions':{'filter':_0x34335e=>!_0x1b3641(_0x34335e,this[_0x151c78(0x13d)][_0x151c78(0x146)])}});}[_0x4dd33e(0x13e)](){const _0x390bac=_0x4dd33e;this[_0x390bac(0x150)][_0x390bac(0x15d)][_0x390bac(0x172)](_0x390bac(0x17c),()=>{const _0x57501b=_0x390bac,{allEntries:_0x352cca}=this[_0x57501b(0x136)][_0x57501b(0x14e)]();this[_0x57501b(0x13b)][_0x57501b(0x164)][_0x57501b(0x160)](_0x2c7432=>{const _0x429550=_0x57501b,_0x57c17d=_0x352cca[_0x429550(0x143)];for(const _0x29dcaa of _0x352cca){const _0x1f1e43=_0x29dcaa===_0x352cca[_0x57c17d-0x1],{cdnUrl:_0x208e36,fileInfo:_0x66566c}=_0x29dcaa;if(!_0x208e36||!_0x66566c)continue;const {width:_0x2e1608,height:_0x9cd7c5}=_0x66566c[_0x429550(0x13c)],_0x2f2153=_0xe2611(_0x208e36,_0x2e1608,_0x9cd7c5),_0x47bf0d=_0x27a762(_0x208e36,_0x2f2153[_0x429550(0x138)]),_0x2758b5={'id':_0x66566c[_0x429550(0x139)],'type':_0x429550(0x171),'attributes':{'imageDimension':_0x2f2153,..._0x47bf0d}};this[_0x429550(0x140)](_0x2758b5,_0x1f1e43,_0x2c7432);}}),this[_0x57501b(0x15c)][_0x57501b(0x17a)]();}),this[_0x390bac(0x150)][_0x390bac(0x15d)][_0x390bac(0x172)](_0x390bac(0x160),_0x17f19e=>{const _0x184b90=_0x390bac;_0x184b90(0x15a)===_0x17f19e[_0x184b90(0x154)][_0x184b90(0x152)]&&!_0x17f19e[_0x184b90(0x154)][_0x184b90(0x175)][_0x184b90(0x143)]&&this[_0x184b90(0x15c)][_0x184b90(0x170)]&&(this[_0x184b90(0x141)]===_0x40ea15[_0x184b90(0x167)]?this[_0x184b90(0x136)][_0x184b90(0x17b)](_0x40ea15[_0x184b90(0x167)]):this[_0x184b90(0x136)][_0x184b90(0x14b)]());});}[_0x4dd33e(0x140)](_0x5e9865,_0x4e32f8,_0x36fae9){const _0x397536=_0x4dd33e,_0x6a8659=this[_0x397536(0x13b)][_0x397536(0x164)][_0x397536(0x144)][_0x397536(0x16c)],_0x4e49c8=_0x6a8659[_0x397536(0x169)](),_0x55dca0=!(!_0x4e49c8||!_0x4e49c8['is'](_0x397536(0x146),_0x397536(0x148)));_0x36fae9[_0x397536(0x156)](_0x397536(0x162)),this[_0x397536(0x145)](_0x5e9865,_0x55dca0),_0x4e32f8||_0x36fae9[_0x397536(0x159)](_0x6a8659[_0x397536(0x151)]());}[_0x4dd33e(0x145)](_0x3ae7db,_0x57f3a7){const _0x12550d=_0x4dd33e,_0x25d889=this[_0x12550d(0x13b)],{imageDimension:_0x16fa9a,imageFallbackUrl:_0x37727b,imageSources:_0x5eb315}=_0x3ae7db[_0x12550d(0x14a)];_0x25d889[_0x12550d(0x176)](_0x12550d(0x14d),{'imageType':_0x57f3a7?_0x12550d(0x148):null,'source':{'uploadcareImageId':_0x3ae7db['id'],'src':_0x37727b,'sources':_0x5eb315,..._0x16fa9a}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x3685f7=_0x4163;function _0x25e7(){var _0x488bf3=['110EmJjIw','20meONBh','44ZVcPRa','7TJFodo','275022LTVQuN','ck-uploadcare-theme','256734PgncGD','uploader','10707832npqdOE','element','uc-light','focus','9507608YszgWw','35794tDLbhf','11944152kPFYqq','getFocusableElement','ck-uploadcare-form','uc-file-uploader-inline','ck-reset_all-excluded','273464GZuxEO','div','setTemplate'];_0x25e7=function(){return _0x488bf3;};return _0x25e7();}(function(_0x1f7277,_0x392ef0){var _0x7d7170=_0x4163,_0x3e0f43=_0x1f7277();while(!![]){try{var _0x1ad3d7=parseInt(_0x7d7170(0x1a1))/0x1*(parseInt(_0x7d7170(0x196))/0x2)+-parseInt(_0x7d7170(0x1a5))/0x3+-parseInt(_0x7d7170(0x19c))/0x4*(parseInt(_0x7d7170(0x19f))/0x5)+-parseInt(_0x7d7170(0x1a3))/0x6+parseInt(_0x7d7170(0x1a2))/0x7*(-parseInt(_0x7d7170(0x1a7))/0x8)+parseInt(_0x7d7170(0x197))/0x9+parseInt(_0x7d7170(0x1a0))/0xa*(parseInt(_0x7d7170(0x195))/0xb);if(_0x1ad3d7===_0x392ef0)break;else _0x3e0f43['push'](_0x3e0f43['shift']());}catch(_0x35d9b0){_0x3e0f43['push'](_0x3e0f43['shift']());}}}(_0x25e7,0xd43ba));import _0x5476e8 from'../utils/dialogfocusmanagerview.js';function _0x4163(_0x216506,_0x5abc5a){var _0x25e7ee=_0x25e7();return _0x4163=function(_0x4163b1,_0x28bd6e){_0x4163b1=_0x4163b1-0x192;var _0x3c8df2=_0x25e7ee[_0x4163b1];return _0x3c8df2;},_0x4163(_0x216506,_0x5abc5a);}import'../../theme/uploadcare-form.css';export default class S extends _0x5476e8{constructor(_0x34a023){var _0x3d695d=_0x4163;super(_0x34a023),this[_0x3d695d(0x19e)]({'tag':_0x3d695d(0x19d),'attributes':{'class':['ck',_0x3d695d(0x19b),_0x3d695d(0x199)],'tabindex':'-1'},'children':[{'tag':_0x3d695d(0x19a),'attributes':{'class':[_0x3d695d(0x193),_0x3d695d(0x1a4)],'ctx-name':_0x3d695d(0x1a6)}},this[_0x3d695d(0x198)]()]});}[_0x3685f7(0x194)](){var _0x5a1100=_0x3685f7;this[_0x5a1100(0x192)][_0x5a1100(0x194)]();}}
23
+ var _0x9dab5=_0x3594;function _0x3594(_0x1b42d3,_0x7422bf){var _0x26b1b7=_0x26b1();return _0x3594=function(_0x35947f,_0x512ef7){_0x35947f=_0x35947f-0x146;var _0x17b6e8=_0x26b1b7[_0x35947f];return _0x17b6e8;},_0x3594(_0x1b42d3,_0x7422bf);}function _0x26b1(){var _0x40f4e5=['310ewxdug','7336NhsAFi','ck-reset_all-excluded','311877vzfPeB','focus','getFocusableElement','2024288AWgSdz','210WmhSyN','369481QvZhcn','uc-file-uploader-inline','440pzoxDf','setTemplate','ck-uploadcare-theme','div','ck-uploadcare-form','uploader','element','9658BlizAg','2853116WMGBoC','uc-light','1906062taeXFO'];_0x26b1=function(){return _0x40f4e5;};return _0x26b1();}(function(_0x562357,_0x468de1){var _0x2ed7eb=_0x3594,_0xddc842=_0x562357();while(!![]){try{var _0x2dcb8b=-parseInt(_0x2ed7eb(0x158))/0x1+-parseInt(_0x2ed7eb(0x14c))/0x2*(-parseInt(_0x2ed7eb(0x157))/0x3)+-parseInt(_0x2ed7eb(0x151))/0x4*(-parseInt(_0x2ed7eb(0x15a))/0x5)+-parseInt(_0x2ed7eb(0x14f))/0x6+-parseInt(_0x2ed7eb(0x14d))/0x7+-parseInt(_0x2ed7eb(0x156))/0x8+parseInt(_0x2ed7eb(0x153))/0x9*(parseInt(_0x2ed7eb(0x150))/0xa);if(_0x2dcb8b===_0x468de1)break;else _0xddc842['push'](_0xddc842['shift']());}catch(_0x5b5bd4){_0xddc842['push'](_0xddc842['shift']());}}}(_0x26b1,0x3725b));import _0x253086 from'../utils/dialogfocusmanagerview.js';import'../../theme/uploadcare-form.css';export default class S extends _0x253086{constructor(_0xec1d67){var _0x1a9bf8=_0x3594;super(_0xec1d67),this[_0x1a9bf8(0x146)]({'tag':_0x1a9bf8(0x148),'attributes':{'class':['ck',_0x1a9bf8(0x152),_0x1a9bf8(0x149)],'tabindex':'-1'},'children':[{'tag':_0x1a9bf8(0x159),'attributes':{'class':[_0x1a9bf8(0x14e),_0x1a9bf8(0x147)],'ctx-name':_0x1a9bf8(0x14a)}},this[_0x1a9bf8(0x155)]()]});}[_0x9dab5(0x154)](){var _0x54bd30=_0x9dab5;this[_0x54bd30(0x14b)][_0x54bd30(0x154)]();}}
package/src/uploadcare.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x4a6204=_0x5f10;(function(_0x72fcc6,_0x54137e){var _0x5329fa=_0x5f10,_0x2af2c8=_0x72fcc6();while(!![]){try{var _0x126568=parseInt(_0x5329fa(0x148))/0x1*(-parseInt(_0x5329fa(0x14c))/0x2)+parseInt(_0x5329fa(0x151))/0x3*(parseInt(_0x5329fa(0x144))/0x4)+-parseInt(_0x5329fa(0x149))/0x5+-parseInt(_0x5329fa(0x14b))/0x6+parseInt(_0x5329fa(0x150))/0x7+-parseInt(_0x5329fa(0x156))/0x8+parseInt(_0x5329fa(0x14f))/0x9;if(_0x126568===_0x54137e)break;else _0x2af2c8['push'](_0x2af2c8['shift']());}catch(_0xd90fb){_0x2af2c8['push'](_0x2af2c8['shift']());}}}(_0x5eb5,0x21cc9));import{Plugin as _0x5569fe}from'ckeditor5/src/core.js';import _0x1a552e from'./uploadcareui.js';import _0x55cfe7 from'./uploadcareediting.js';import{UploadcareSource as _0x13772a}from'./uploadcareconfig.js';function _0x5f10(_0x4feb03,_0x5b9e09){var _0x5eb57c=_0x5eb5();return _0x5f10=function(_0x5f10e2,_0x4854b4){_0x5f10e2=_0x5f10e2-0x143;var _0x1d3d9f=_0x5eb57c[_0x5f10e2];return _0x1d3d9f;},_0x5f10(_0x4feb03,_0x5b9e09);}import*as _0x361f81 from'@uploadcare/file-uploader';export default class u extends _0x5569fe{static get[_0x4a6204(0x153)](){return[_0x55cfe7,_0x1a552e];}static get[_0x4a6204(0x14e)](){var _0x43c092=_0x4a6204;return _0x43c092(0x154);}static get[_0x4a6204(0x145)](){return!0x0;}static get[_0x4a6204(0x14a)](){return!0x0;}constructor(_0x585110){var _0x1230b9=_0x4a6204;super(_0x585110),_0x585110[_0x1230b9(0x152)][_0x1230b9(0x143)](_0x1230b9(0x147),[_0x13772a[_0x1230b9(0x155)],_0x13772a[_0x1230b9(0x146)]]),_0x361f81[_0x1230b9(0x14d)](_0x361f81);}}function _0x5eb5(){var _0x3cb8ee=['493315bwLpUj','isPremiumPlugin','263940rJkLcg','3778dsjjzA','defineComponents','pluginName','2436867bmpQLq','256697TBJPjI','3GJWmLa','config','requires','Uploadcare','Local','1789288VYrkGC','define','932848OfFetC','isOfficialPlugin','URL','uploadcare.uploader.sourceList','19ybOgUd'];_0x5eb5=function(){return _0x3cb8ee;};return _0x5eb5();}
23
+ var _0x1f2ad9=_0x4da2;(function(_0x15e7d7,_0x26c2b5){var _0xc997d=_0x4da2,_0x25585d=_0x15e7d7();while(!![]){try{var _0x46311c=parseInt(_0xc997d(0x1f8))/0x1*(parseInt(_0xc997d(0x1e6))/0x2)+parseInt(_0xc997d(0x1f1))/0x3+parseInt(_0xc997d(0x1ef))/0x4+parseInt(_0xc997d(0x1e7))/0x5+-parseInt(_0xc997d(0x1f4))/0x6+-parseInt(_0xc997d(0x1ed))/0x7*(-parseInt(_0xc997d(0x1f0))/0x8)+-parseInt(_0xc997d(0x1f3))/0x9*(parseInt(_0xc997d(0x1eb))/0xa);if(_0x46311c===_0x26c2b5)break;else _0x25585d['push'](_0x25585d['shift']());}catch(_0x24af02){_0x25585d['push'](_0x25585d['shift']());}}}(_0x448e,0x8cb8a));function _0x4da2(_0x2cb4b0,_0x4847d6){var _0x448e51=_0x448e();return _0x4da2=function(_0x4da293,_0x2fede3){_0x4da293=_0x4da293-0x1e6;var _0x2d882d=_0x448e51[_0x4da293];return _0x2d882d;},_0x4da2(_0x2cb4b0,_0x4847d6);}import{Plugin as _0x325382}from'ckeditor5/src/core.js';function _0x448e(){var _0x2a1cf8=['requires','Local','43KDhZOm','uploadcare.uploader.sourceList','Uploadcare','40918tpcvXn','3675140pQdrKp','defineComponents','pluginName','isPremiumPlugin','50WjGRQg','config','6208594kdkaaL','URL','746052jdCENH','8zDUNFc','2500638EddpqH','isOfficialPlugin','4924251UIXmBN','1258062xslBep','define'];_0x448e=function(){return _0x2a1cf8;};return _0x448e();}import _0x23b4ac from'./uploadcareui.js';import _0x5710ff from'./uploadcareediting.js';import{UploadcareSource as _0x2e944f}from'./uploadcareconfig.js';import*as _0x317247 from'@uploadcare/file-uploader';export default class u extends _0x325382{static get[_0x1f2ad9(0x1f6)](){return[_0x5710ff,_0x23b4ac];}static get[_0x1f2ad9(0x1e9)](){var _0x47e2df=_0x1f2ad9;return _0x47e2df(0x1fa);}static get[_0x1f2ad9(0x1f2)](){return!0x0;}static get[_0x1f2ad9(0x1ea)](){return!0x0;}constructor(_0x3dedb4){var _0x5677be=_0x1f2ad9;super(_0x3dedb4),_0x3dedb4[_0x5677be(0x1ec)][_0x5677be(0x1f5)](_0x5677be(0x1f9),[_0x2e944f[_0x5677be(0x1f7)],_0x2e944f[_0x5677be(0x1ee)]]),_0x317247[_0x5677be(0x1e8)](_0x317247);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x297fda=_0x46a0;(function(_0x13c1a9,_0x166754){var _0x2e0c83=_0x46a0,_0x1d94f4=_0x13c1a9();while(!![]){try{var _0x48044b=parseInt(_0x2e0c83(0x1e5))/0x1*(parseInt(_0x2e0c83(0x1e0))/0x2)+-parseInt(_0x2e0c83(0x1d3))/0x3+parseInt(_0x2e0c83(0x1de))/0x4+-parseInt(_0x2e0c83(0x1d4))/0x5+-parseInt(_0x2e0c83(0x1e7))/0x6*(-parseInt(_0x2e0c83(0x1da))/0x7)+-parseInt(_0x2e0c83(0x1e3))/0x8+-parseInt(_0x2e0c83(0x1d9))/0x9*(-parseInt(_0x2e0c83(0x1d6))/0xa);if(_0x48044b===_0x166754)break;else _0x1d94f4['push'](_0x1d94f4['shift']());}catch(_0x18d20c){_0x1d94f4['push'](_0x1d94f4['shift']());}}}(_0x1e80,0x9d087));import{Command as _0x4f3e8d}from'ckeditor5/src/core.js';import{Dialog as _0x50d7d8}from'ckeditor5/src/ui.js';import _0x3da1cb from'./uploadcareediting.js';function _0x1e80(){var _0x1ed9f0=['5356065djMzrI','get','30sYvcca','refresh','insertImage','1534275UyBOvR','28enntRA','_editing','execute','plugins','1755648riRodI','isEnabled','22ShvhnV','_controller','requires','4171720ScGDkP','commands','80862KyJIeF','_checkEnabled','1488630bfRFHL','editor','destroy','1789062COHIjU'];_0x1e80=function(){return _0x1ed9f0;};return _0x1e80();}import _0x31fa90 from'./ui/uploadcarecontroller.js';function _0x46a0(_0x51fbdf,_0x5a7c4e){var _0x1e8046=_0x1e80();return _0x46a0=function(_0x46a03c,_0x5a0396){_0x46a03c=_0x46a03c-0x1d3;var _0x4c3166=_0x1e8046[_0x46a03c];return _0x4c3166;},_0x46a0(_0x51fbdf,_0x5a7c4e);}export default class l extends _0x4f3e8d{static get[_0x297fda(0x1e2)](){return[_0x50d7d8,_0x3da1cb];}constructor(_0x22e727){var _0x5769b4=_0x297fda;super(_0x22e727),this[_0x5769b4(0x1e1)]=null,this[_0x5769b4(0x1db)]=_0x22e727[_0x5769b4(0x1dd)][_0x5769b4(0x1d5)](_0x3da1cb);}[_0x297fda(0x1d7)](){var _0x1248be=_0x297fda;this[_0x1248be(0x1df)]=this[_0x1248be(0x1e6)]();}[_0x297fda(0x1dc)](_0x53f750){var _0x5efdc4=_0x297fda;this[_0x5efdc4(0x1e1)]&&(this[_0x5efdc4(0x1e1)][_0x5efdc4(0x1e9)](),this[_0x5efdc4(0x1e1)]=null),this[_0x5efdc4(0x1e1)]=new _0x31fa90(this[_0x5efdc4(0x1e8)],this[_0x5efdc4(0x1db)],_0x53f750);}[_0x297fda(0x1e6)](){var _0x3a35a7=_0x297fda;return this[_0x3a35a7(0x1e8)][_0x3a35a7(0x1e4)][_0x3a35a7(0x1d5)](_0x3a35a7(0x1d8))[_0x3a35a7(0x1df)];}}
23
+ var _0x7fa610=_0x3005;(function(_0x2d9ca4,_0x43eb3c){var _0x450c83=_0x3005,_0x57881f=_0x2d9ca4();while(!![]){try{var _0x477587=-parseInt(_0x450c83(0x158))/0x1*(-parseInt(_0x450c83(0x154))/0x2)+-parseInt(_0x450c83(0x167))/0x3+-parseInt(_0x450c83(0x15b))/0x4+-parseInt(_0x450c83(0x15d))/0x5+-parseInt(_0x450c83(0x161))/0x6*(-parseInt(_0x450c83(0x152))/0x7)+parseInt(_0x450c83(0x164))/0x8+parseInt(_0x450c83(0x168))/0x9*(parseInt(_0x450c83(0x155))/0xa);if(_0x477587===_0x43eb3c)break;else _0x57881f['push'](_0x57881f['shift']());}catch(_0x49159a){_0x57881f['push'](_0x57881f['shift']());}}}(_0x5c9e,0x24b7d));import{Command as _0x3dddec}from'ckeditor5/src/core.js';import{Dialog as _0xa6b89a}from'ckeditor5/src/ui.js';import _0x200c43 from'./uploadcareediting.js';function _0x5c9e(){var _0x1cfbfb=['81OJEFyy','49NZKXbe','_editing','2yHoogL','39670uOILiD','refresh','destroy','218558SaKbkq','isEnabled','requires','473160bBYpBa','editor','1205215eOsthX','_checkEnabled','get','plugins','230214QGZOPA','execute','commands','1047504SSHufx','_controller','insertImage','432156kfQlbQ'];_0x5c9e=function(){return _0x1cfbfb;};return _0x5c9e();}import _0xd58c30 from'./ui/uploadcarecontroller.js';function _0x3005(_0x1c848a,_0x407643){var _0x5c9e07=_0x5c9e();return _0x3005=function(_0x30053c,_0x1f491d){_0x30053c=_0x30053c-0x152;var _0x10afce=_0x5c9e07[_0x30053c];return _0x10afce;},_0x3005(_0x1c848a,_0x407643);}export default class l extends _0x3dddec{static get[_0x7fa610(0x15a)](){return[_0xa6b89a,_0x200c43];}constructor(_0x42e86a){var _0x292031=_0x7fa610;super(_0x42e86a),this[_0x292031(0x165)]=null,this[_0x292031(0x153)]=_0x42e86a[_0x292031(0x160)][_0x292031(0x15f)](_0x200c43);}[_0x7fa610(0x156)](){var _0x330a1c=_0x7fa610;this[_0x330a1c(0x159)]=this[_0x330a1c(0x15e)]();}[_0x7fa610(0x162)](_0x2d1659){var _0xee15e=_0x7fa610;this[_0xee15e(0x165)]&&(this[_0xee15e(0x165)][_0xee15e(0x157)](),this[_0xee15e(0x165)]=null),this[_0xee15e(0x165)]=new _0xd58c30(this[_0xee15e(0x15c)],this[_0xee15e(0x153)],_0x2d1659);}[_0x7fa610(0x15e)](){var _0x75cc97=_0x7fa610;return this[_0x75cc97(0x15c)][_0x75cc97(0x163)][_0x75cc97(0x15f)](_0x75cc97(0x166))[_0x75cc97(0x159)];}}