@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-20251222.0 → 0.0.0-nightly-next-20251222.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.
Files changed (173) hide show
  1. package/build/uploadcare.js +1 -1
  2. package/dist/index.js +3 -3
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +9 -9
  150. package/src/index.js +1 -1
  151. package/src/ui/uploadcarecontroller.js +2 -2
  152. package/src/ui/uploadcareformview.js +1 -1
  153. package/src/uploadcare.js +1 -1
  154. package/src/uploadcarecommand.js +1 -1
  155. package/src/uploadcareconfig.js +1 -1
  156. package/src/uploadcareediting.js +1 -1
  157. package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.js +2 -2
  158. package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.js +1 -1
  159. package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.js +1 -1
  160. package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.js +1 -1
  161. package/src/uploadcareimageedit/ui/uploadcareimageeditformview.js +1 -1
  162. package/src/uploadcareimageedit/uploadcareimageeditcommand.js +1 -1
  163. package/src/uploadcareimageedit/uploadcareimageeditediting.js +1 -1
  164. package/src/uploadcareimageedit/uploadcareimageeditui.js +1 -1
  165. package/src/uploadcareimageedit/uploadcareimagereplacecommand.js +1 -1
  166. package/src/uploadcareimageedit.js +1 -1
  167. package/src/uploadcareui.js +1 -1
  168. package/src/uploadcareuploadadapter.js +1 -1
  169. package/src/utils/common-translations.js +1 -1
  170. package/src/utils/dialogfocusmanagerview.js +1 -1
  171. package/src/utils/editingutils.js +1 -1
  172. package/src/utils/isancestor.js +1 -1
  173. package/src/utils/uploadutils.js +1 -1
package/dist/index.js CHANGED
@@ -20,6 +20,6 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x53c973,Command as _0x3ed51b}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x139b72,IconGooglePhotos as _0x56e726,IconGoogleDrive as _0x4a43b7,IconFacebook as _0x32d16f,IconDropbox as _0x588db4,IconUploadcareLink as _0x17b278,IconUploadcareImageUpload as _0x904e4a,IconError as _0x56530c,IconUploadcareImageEdit as _0x2ef421}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x4c0157,MenuBarMenuListItemButtonView as _0x1d7223,View as _0x258107,FocusCycler as _0x12715a,Dialog as _0x8856d5,DialogViewPosition as _0x385524,SpinnerView as _0x301ce6,IconView as _0xd1358d,Notification as _0x19d053}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x3b7459,DomEmitterMixin as _0xd71614,global as _0x444cad,getAncestors as _0x301c2a,ObservableMixin as _0x587fcc,uid as _0x589210,createElement as _0x2ea481}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x85773a}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x14c4a6,info as _0x45cd20}from'@uploadcare/upload-client';import*as _0x5830b0 from'@uploadcare/file-uploader';var i=function(_0x236822){return _0x236822['Local']='local',_0x236822['URL']='url',_0x236822['Dropbox']='dropbox',_0x236822['GDrive']='gdrive',_0x236822['Facebook']='facebook',_0x236822['GPhotos']='gphotos',_0x236822['OneDrive']='onedrive',_0x236822;}({});function _(_0x6b7199,_0xa5e623,_0x7381cc){const t=_0x6b7199['t'],_0x4fa797=_0x6b7199['t'];switch(_0xa5e623){case i['Local']:return{'text':_0x4fa797('Insert'===_0x7381cc?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x4fa797('From\x20computer')};case i['URL']:return{'text':'Insert'===_0x7381cc?_0x4fa797('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x4fa797('Via\x20URL')};case i['Dropbox']:return{'text':t('Insert'===_0x7381cc?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case i['Facebook']:return{'text':t('Insert'===_0x7381cc?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case i['GDrive']:return{'text':t('Insert'===_0x7381cc?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case i['GPhotos']:return{'text':t('Insert'===_0x7381cc?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case i['OneDrive']:return{'text':t('Insert'===_0x7381cc?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0xa5e623;}}class e extends _0x53c973{['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 _0x4b306a=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x3c9db0;for(const _0x28c188 in _0x4b306a){const _0x360787=_0x28c188,_0x18b80a=_0x4b306a[_0x360787];if('uploadcareLicenseKeyValid'==_0x18b80a||'uploadcareLicenseKeyInvalid'==_0x18b80a||'uploadcareLicenseKeyExpired'==_0x18b80a||'uploadcareLicenseKeyDomainLimit'==_0x18b80a||'uploadcareLicenseKeyNotAllowed'==_0x18b80a||'uploadcareLicenseKeyEvaluationLimit'==_0x18b80a||'uploadcareLicenseKeyTrialLimit'==_0x18b80a||'uploadcareLicenseKeyUsageLimit'==_0x18b80a){delete _0x4b306a[_0x360787],_0x3c9db0=_0x18b80a,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x3c9db0&&_0x4b306a['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x3c9db0&&_0x4b306a['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x3c9db0&&_0x4b306a['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x3c9db0&&_0x4b306a['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x3c9db0&&_0x4b306a['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0x3c9db0&&_0x4b306a['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0x3c9db0&&_0x4b306a['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x4b75d7}=this,_0x1b421c=_0x4b75d7['commands']['get']('uploadcare');if(!_0x1b421c)return;const _0x58cb72=this['_normalizeConfigSourceList'](_0x4b75d7['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x572e55,_0x1dcbd5)=>{const _0x2d2913=this['_getIntegrationKey'](_0x1dcbd5['type']);return _0x572e55[_0x2d2913]||(_0x572e55[_0x2d2913]=[]),_0x572e55[_0x2d2913]['push'](_0x1dcbd5),_0x572e55;},{});_0x4b75d7['plugins']['has']('ImageInsertUI')&&_0x4b75d7['commands']['get']('uploadcare')&&Object['entries'](_0x58cb72)['forEach'](([_0x468f8f,_0x29623c])=>{_0x4b75d7['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x468f8f,'observable':()=>_0x1b421c,'buttonViewCreator':()=>this['_createToolbarButton'](_0x29623c),'formViewCreator':()=>this['_createDropdownButtons'](_0x29623c),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x29623c),'override':'assetManager'!==_0x468f8f});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x434388){const {locale:_0x4998b0}=this['editor'];return _0x434388['map'](_0x442a3a=>{const _0x3b2d42=_(_0x4998b0,_0x442a3a,'Insert');switch(_0x442a3a){case i['Local']:return{'icon':_0x904e4a,'type':i['Local'],..._0x3b2d42};case i['URL']:return{'icon':_0x17b278,'type':i['URL'],..._0x3b2d42};case i['Dropbox']:return{'icon':_0x588db4,'type':i['Dropbox'],..._0x3b2d42};case i['Facebook']:return{'icon':_0x32d16f,'type':i['Facebook'],..._0x3b2d42};case i['GDrive']:return{'icon':_0x4a43b7,'type':i['GDrive'],..._0x3b2d42};case i['GPhotos']:return{'icon':_0x56e726,'type':i['GPhotos'],..._0x3b2d42};case i['OneDrive']:return{'icon':_0x139b72,'type':i['OneDrive'],..._0x3b2d42};}});}['_getIntegrationKey'](_0x3073c5){switch(_0x3073c5){case i['Local']:return'upload';case i['URL']:return'url';default:return'assetManager';}}['_createButton'](_0xe0181d,_0x2f6946){const _0x1c37a0=this['editor'],_0x3bdf38=new _0xe0181d(_0x1c37a0['locale']),_0x14ea42=_0x1c37a0['commands']['get']('uploadcare');return _0x3bdf38['bind']('isEnabled')['to'](_0x14ea42),_0x3bdf38['on']('execute',()=>{_0x14ea42['execute'](_0x2f6946);}),_0x3bdf38;}['_createToolbarButton'](_0x40abad){const {locale:_0x4b3ab5}=this['editor'],_0x29dda2=this['editor']['plugins']['get']('ImageInsertUI'),_0x59010f=_0x40abad[0x0],_0x540513=this['_createButton'](_0x4c0157,_0x59010f['type']);return _0x540513['icon']=_0x59010f['icon'],_0x540513['bind']('label')['to'](_0x29dda2,'isImageSelected',_0x4e8413=>_(_0x4b3ab5,_0x59010f['type'],_0x4e8413?'Replace':'Insert')['text']),_0x540513['tooltip']=!0x0,_0x540513;}['_createDropdownButtons'](_0x5c14e6){const {locale:_0x25e3fe}=this['editor'],_0x2a2910=this['editor']['plugins']['get']('ImageInsertUI');return _0x5c14e6['map'](_0x2431dc=>{const _0x1fe5dc=this['_createButton'](_0x4c0157,_0x2431dc['type']);return _0x1fe5dc['withText']=!0x0,_0x1fe5dc['icon']=_0x2431dc['icon'],_0x1fe5dc['bind']('label')['to'](_0x2a2910,'isImageSelected',_0x14407e=>_(_0x25e3fe,_0x2431dc['type'],_0x14407e?'Replace':'Insert')['text']),_0x1fe5dc;});}['_createMenuBarButtons'](_0x389c27){return _0x389c27['map'](_0x3bef81=>{const _0x1ba169=this['_createButton'](_0x1d7223,_0x3bef81['type']);return _0x1ba169['icon']=_0x3bef81['icon'],_0x1ba169['label']=_0x3bef81['shortText'],_0x1ba169;});}}class F extends _0x258107{['focusTracker'];['focusCycler'];constructor(_0x462e06){super(_0x462e06),this['focusTracker']=new _0x3b7459(),this['focusCycler']=new _0x12715a({'focusables':this['createCollection'](),'focusTracker':this['focusTracker']});}['getFocusableElement'](){return{'tag':'div','attributes':{'aria-hidden':'true','tabindex':'0'},'on':{'focus':this['bindTemplate']['to'](()=>{this['focusCycler']['fire']('forwardCycle');})}};}}class x extends F{constructor(_0x21032f,_0x4651f1){super(_0x21032f),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-'+_0x4651f1}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function C(_0x119941,_0xd388b9){const _0xaab0df=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0xad83e1=>_0xad83e1<=_0xd388b9)['map'](_0x1eec74=>_0x119941['replace'](/\/$/,'')+'/-/resize/'+_0x1eec74+'x/\x20'+_0x1eec74+'w');return{'imageFallbackUrl':_0x119941,'imageSources':[{'srcset':_0xaab0df['join'](',\x20'),'sizes':'(max-width:\x20'+_0xd388b9+'px)\x20100vw,\x20'+_0xd388b9+'px','type':'image/webp'}]};}function S(_0x5054fa,_0x14fda7,_0x49c5b0){const _0x3d0f40=_0x5054fa['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x3d0f40?parseInt(_0x3d0f40[0x1],0xa):_0x14fda7,'height':_0x3d0f40?parseInt(_0x3d0f40[0x2],0xa):_0x49c5b0};}function p(_0x1d786e,_0x40cdf9){const _0x2e873b=new(_0xd71614())(),_0x2b24e7=_0x1d786e['plugins']['get']('ImageUtils'),_0x5a9741=_0x1d786e['editing']['mapper']['toViewElement'](_0x40cdf9),_0x4a5f08=_0x2b24e7['findViewImgElement'](_0x5a9741),_0x53400f=_0x1d786e['editing']['view']['domConverter']['viewToDom'](_0x4a5f08),_0x1368eb=_0x40cdf9['getAttribute']('width'),_0x550781=_0x40cdf9['getAttribute']('height'),_0x2437c4='image-processing';_0x1d786e['editing']['view']['change'](_0x21a8c1=>{_0x21a8c1['addClass'](_0x2437c4,_0x5a9741),_0x21a8c1['setStyle']('aspect-ratio',_0x1368eb+'/'+_0x550781,_0x4a5f08);}),_0x2e873b['listenTo'](_0x53400f,'load',()=>{_0x2e873b['stopListening'](_0x53400f,'load'),_0x1d786e['editing']['view']['change'](_0x38d76b=>{_0x38d76b['removeClass'](_0x2437c4,_0x5a9741),_0x38d76b['removeStyle']('aspect-ratio',_0x4a5f08);});});}function z(_0x912e1){if(Array['isArray'](_0x912e1)){const _0x34261f=_0x912e1['map'](z);return _0x27cc93=>_0x34261f['some'](_0x4dde62=>_0x4dde62(_0x27cc93));}if('origin'==_0x912e1){const _0x391ac1=_0x444cad['window']['location']['origin'];return _0x5b74d1=>new URL(_0x5b74d1,_0x444cad['document']['baseURI'])['origin']==_0x391ac1;}return'function'==typeof _0x912e1?_0x912e1:_0x912e1 instanceof RegExp?_0x113595=>!(!_0x113595['match'](_0x912e1)&&!_0x113595['replace'](/^https?:\/\//,'')['match'](_0x912e1)):()=>!0x1;}function A(_0x321150,_0x3b8677){return _0x301c2a(_0x321150['target'])['includes'](_0x3b8677);}class n extends/* #__PURE__ -- @preserve */
24
- _0x587fcc(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x2b658c,_0x174ebb,_0x98b9f6){super(),this['_editor']=_0x2b658c,this['_editing']=_0x174ebb,this['_dialog']=_0x2b658c['plugins']['get'](_0x8856d5),this['_api']=_0x174ebb['ctxElement']['getAPI'](),this['_type']=_0x98b9f6,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:_0x2171b0,model:_0x535cf3}=this['_editor'],_0x3376d1=_0x535cf3['document']['selection']['getSelectedElement'](),_0x2c5372=_0x3376d1&&(_0x3376d1['is']('element','imageBlock')||_0x3376d1['is']('element','imageInline'));this['_formView']=new x(_0x2171b0,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':_0x904e4a,'title':_(_0x2171b0,this['_type'],_0x2c5372?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x385524['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x4f2c46=>!A(_0x4f2c46,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x1110a9}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x5a9c40=>{const _0x7781f5=_0x1110a9['length'];for(const _0x316d2e of _0x1110a9){const _0x231f1e=_0x316d2e===_0x1110a9[_0x7781f5-0x1],{cdnUrl:_0x20ce57,fileInfo:_0x1cab1c}=_0x316d2e;if(!_0x20ce57||!_0x1cab1c)continue;const {width:_0xd60a1,height:_0x2f316c}=_0x1cab1c['imageInfo'],_0x1a81eb=S(_0x20ce57,_0xd60a1,_0x2f316c),_0x230cb4=C(_0x20ce57,_0x1a81eb['width']),_0x354e5e={'id':_0x1cab1c['uuid'],'type':'image','attributes':{'imageDimension':_0x1a81eb,..._0x230cb4}};this['_insertAsset'](_0x354e5e,_0x231f1e,_0x5a9c40);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x1a661f=>{'idle'===_0x1a661f['detail']['status']&&!_0x1a661f['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===i['Local']?this['_api']['setCurrentActivity'](i['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x277c08,_0x181213,_0x4ab490){const _0x5dd82a=this['_editor']['model']['document']['selection'],_0x153f6b=_0x5dd82a['getSelectedElement'](),_0x210046=!(!_0x153f6b||!_0x153f6b['is']('element','imageInline'));_0x4ab490['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x277c08,_0x210046),_0x181213||_0x4ab490['setSelection'](_0x5dd82a['getLastPosition']());}['_insertImage'](_0x5ec4b2,_0xbb11df){const _0x55533c=this['_editor'],{imageDimension:_0x1420c0,imageFallbackUrl:_0x889eac,imageSources:_0x58eb0a}=_0x5ec4b2['attributes'];_0x55533c['execute']('insertImage',{'imageType':_0xbb11df?'imageInline':null,'source':{'uploadcareImageId':_0x5ec4b2['id'],'src':_0x889eac,'sources':_0x58eb0a,..._0x1420c0}});}}class w extends _0x3ed51b{['_editing'];['_controller']=null;static get['requires'](){return[_0x8856d5,o];}constructor(_0x16ba2a){super(_0x16ba2a),this['_editing']=_0x16ba2a['plugins']['get'](o);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x13574b){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new n(this['editor'],this['_editing'],_0x13574b);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class j{static['upload']({file:_0x4b0f8c,..._0x39cb7e}){return _0x14c4a6(_0x4b0f8c,_0x39cb7e);}static['getInfo'](_0x52abd2,_0x3b882a){return _0x45cd20(_0x52abd2,_0x3b882a);}}class f extends _0x53c973{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x85773a,o];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x3f919a=this['editor'];if(!!!_0x3f919a['config']['get']('uploadcare'))return;_0x3f919a['plugins']['get'](_0x85773a)['createUploadAdapter']=_0x30ff85=>new k(_0x30ff85,_0x3f919a),_0x3f919a['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x51ee0f,{imageElement:_0x58fe12,data:_0x48caed})=>{_0x3f919a['model']['change'](_0x1a8bfc=>{_0x1a8bfc['setAttribute']('uploadcareImageId',_0x48caed['uploadcareImageId'],_0x58fe12);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x5eb107,_0x14b92a){this['loader']=_0x5eb107,this['editor']=_0x14b92a,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x24aecf=await this['loader']['file'];return j['upload']({'file':_0x24aecf,'publicKey':this['editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':this['controller']['signal'],'onProgress':_0x137378=>{_0x137378&&_0x137378['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x137378['value']);}})['then'](async _0x5276e0=>{const {imageFallbackUrl:_0x35d370,imageSources:_0xe0d2b7}=C(_0x5276e0['cdnUrl'],_0x5276e0['imageInfo']['width']);return{'uploadcareImageId':_0x5276e0['uuid'],'default':_0x35d370,'sources':_0xe0d2b7};})['catch'](()=>{const _0x1f9dc9=t('Cannot\x20upload\x20file:')+('\x20'+_0x24aecf['name']+'.');return Promise['reject'](_0x1f9dc9);});}['abort'](){this['controller']['abort']();}}class o extends _0x53c973{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',f,_0x8856d5];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['ucContextId'];get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}constructor(_0x4a03ce){super(_0x4a03ce),this['ucContextId']=_0x589210();}['init'](){const _0x3c75c1=this['editor'];_0x3c75c1['commands']['add']('uploadcare',new w(_0x3c75c1));}['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 _0x419123=_0x444cad['document']['querySelector']('input[uploadcare-file-input]');_0x419123&&_0x419123['remove']();}),async function(_0x199ebc){const _0x2aa52b=_0x210d8b([0x68,0x67,0x50,0x36,0x38,0x70,0x71,0x63,0x37,0x4f,0x42,0x4a,0x78,0x39,0x75,0x33,0x7a,0x72,0x48,0x61,0x74,0x59,0x55,0x58,0x66,0x30,0x34,0x54,0x64,0x56,0x6b,0x4d,0x46,0x6d,0x77,0x43,0x73,0x35,0x53,0x44,0x41,0x76,0x6a,0x32,0x31,0x69,0x57,0x51,0x47,0x65,0x5a,0x4b,0x4c,0x79,0x52,0x6c,0x45,0x4e,0x6e,0x6f,0x49,0x62]),_0x21e510=0x535f8c3a,_0x33e995=0x5358f09a^_0x21e510,_0x4b25bd=window[_0x210d8b([0x44,0x61,0x74,0x65])][_0x210d8b([0x6e,0x6f,0x77])](),_0x5de693=_0x199ebc[_0x210d8b([0x65,0x64,0x69,0x74,0x6f,0x72])],_0xda51fc=new window[(_0x210d8b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x32b693=>{_0x5de693[_0x210d8b([0x6f,0x6e,0x63,0x65])](_0x210d8b([0x72,0x65,0x61,0x64,0x79]),_0x32b693);}),_0x5b015c={[_0x210d8b([0x6b,0x74,0x79])]:_0x210d8b([0x45,0x43]),[_0x210d8b([0x75,0x73,0x65])]:_0x210d8b([0x73,0x69,0x67]),[_0x210d8b([0x63,0x72,0x76])]:_0x210d8b([0x50,0x2d,0x32,0x35,0x36]),[_0x210d8b([0x78])]:_0x210d8b([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]),[_0x210d8b([0x79])]:_0x210d8b([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]),[_0x210d8b([0x61,0x6c,0x67])]:_0x210d8b([0x45,0x53,0x32,0x35,0x36])},_0x58161d=_0x5de693[_0x210d8b([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x210d8b([0x67,0x65,0x74])](_0x210d8b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4d7b35(){let _0x9adf9e,_0x2475de=null,_0x48d2e3=null;try{if(_0x58161d==_0x210d8b([0x47,0x50,0x4c]))return _0x210d8b([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x9adf9e=_0x3f267f(),!_0x9adf9e)return _0x210d8b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x9adf9e[_0x210d8b([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x48d2e3=_0x47866f(_0x9adf9e[_0x210d8b([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x9adf9e[_0x210d8b([0x6a,0x74,0x69])])),await _0x4ac1e2()?_0x30985f()?_0x5c1bcd()?_0x210d8b([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x51a5f1()?(_0x9adf9e[_0x210d8b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x210d8b([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2475de=_0x347d4e(_0x210d8b([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x9adf9e[_0x210d8b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x210d8b([0x74,0x72,0x69,0x61,0x6c])&&(_0x2475de=_0x347d4e(_0x210d8b([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4d258b()):_0x210d8b([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x210d8b([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x210d8b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x210d8b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x5c1bcd(){const _0x2565c7=[_0x210d8b([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x210d8b([0x74,0x72,0x69,0x61,0x6c])][_0x210d8b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x9adf9e[_0x210d8b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x4b25bd/0x3e8:0xe10*_0x33e995;return _0x9adf9e[_0x210d8b([0x65,0x78,0x70])]<_0x2565c7;}function _0x30985f(){const _0x1fc300=_0x9adf9e[_0x210d8b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x1fc300&&(!!_0x1fc300[_0x210d8b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x210d8b([0x2a]))||!!_0x1fc300[_0x210d8b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x210d8b([0x55,0x50,0x4c,0x43])));}function _0x51a5f1(){const _0x781409=_0x9adf9e[_0x210d8b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x781409||0x0==_0x781409[_0x210d8b([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x5ea41b}=new URL(window[_0x210d8b([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x781409[_0x210d8b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5ea41b))return!0x0;const _0x4a4cae=_0x5ea41b[_0x210d8b([0x73,0x70,0x6c,0x69,0x74])](_0x210d8b([0x2e]));return _0x781409[_0x210d8b([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x36fd76=>_0x36fd76[_0x210d8b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x210d8b([0x2a])))[_0x210d8b([0x6d,0x61,0x70])](_0x5eefb5=>_0x5eefb5[_0x210d8b([0x73,0x70,0x6c,0x69,0x74])](_0x210d8b([0x2e])))[_0x210d8b([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4d5210=>_0x4d5210[_0x210d8b([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x4a4cae[_0x210d8b([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x210d8b([0x6d,0x61,0x70])](_0x14f2d6=>Array(_0x4a4cae[_0x210d8b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x14f2d6[_0x210d8b([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x210d8b([0x66,0x69,0x6c,0x6c])](_0x14f2d6[0x0]===_0x210d8b([0x2a])?_0x210d8b([0x2a]):'')[_0x210d8b([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x14f2d6))[_0x210d8b([0x73,0x6f,0x6d,0x65])](_0x1a885b=>_0x4a4cae[_0x210d8b([0x65,0x76,0x65,0x72,0x79])]((_0x4fa709,_0x4e2e81)=>_0x1a885b[_0x4e2e81]===_0x4fa709||_0x1a885b[_0x4e2e81]===_0x210d8b([0x2a])));}function _0x4d258b(){return _0x2475de&&_0x48d2e3?new window[(_0x210d8b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x474868,_0xac9e3d)=>{_0x2475de[_0x210d8b([0x74,0x68,0x65,0x6e])](_0x474868,_0xac9e3d),_0x48d2e3[_0x210d8b([0x74,0x68,0x65,0x6e])](_0x3ec15c=>{_0x3ec15c!=_0x210d8b([0x56,0x61,0x6c,0x69,0x64])&&_0x474868(_0x3ec15c);},_0xac9e3d);}):_0x2475de||_0x48d2e3||_0x210d8b([0x56,0x61,0x6c,0x69,0x64]);}}function _0x47866f(_0x13f5fe,_0x5e3e1a){return new window[(_0x210d8b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1d9632=>{if(_0x2a6e48())return _0x1d9632(_0x210d8b([0x56,0x61,0x6c,0x69,0x64]));_0x523b1c(),_0x5de693[_0x210d8b([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x210d8b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x29b5af=!0x1;const _0x4dd8c4=_0x589210();function _0x3272a3(_0x3e2c40){return!!_0x3e2c40&&(typeof _0x3e2c40===_0x210d8b([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3e2c40===_0x210d8b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3e2c40[_0x210d8b([0x74,0x68,0x65,0x6e])]===_0x210d8b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3e2c40[_0x210d8b([0x63,0x61,0x74,0x63,0x68])]===_0x210d8b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x2503b2(_0x277a5a){_0xe60292(_0x277a5a)[_0x210d8b([0x74,0x68,0x65,0x6e])](_0x32f8bd=>{if(!_0x32f8bd||_0x32f8bd[_0x210d8b([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x210d8b([0x6f,0x6b]))return _0x210d8b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x49b820(_0x5e384f(_0x4dd8c4+_0x5e3e1a))!=_0x32f8bd[_0x210d8b([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x210d8b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x210d8b([0x56,0x61,0x6c,0x69,0x64]);})[_0x210d8b([0x74,0x68,0x65,0x6e])](_0x332166=>(_0x383883(),_0x332166),()=>{const _0x354837=_0xf051f4();return null==_0x354837?(_0x383883(),_0x210d8b([0x56,0x61,0x6c,0x69,0x64])):_0x210d8b(_0x4b25bd-_0x354837>(0x7753083a^_0x21e510)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x210d8b([0x74,0x68,0x65,0x6e])](_0x1d9632)[_0x210d8b([0x63,0x61,0x74,0x63,0x68])](()=>{_0x1d9632(_0x210d8b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1cc5b3=0x536962ba^_0x21e510;function _0x383883(){const _0x3e5b74=_0x210d8b([0x6c,0x6c,0x63,0x74,0x2d])+_0x49b820(_0x5e384f(_0x13f5fe)),_0x499db1=_0x14bd77(_0x49b820(window[_0x210d8b([0x4d,0x61,0x74,0x68])][_0x210d8b([0x63,0x65,0x69,0x6c])](_0x4b25bd/_0x1cc5b3)));window[_0x210d8b([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x210d8b([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3e5b74,_0x499db1);}function _0xf051f4(){const _0x5a4dbe=_0x210d8b([0x6c,0x6c,0x63,0x74,0x2d])+_0x49b820(_0x5e384f(_0x13f5fe)),_0x51856c=window[_0x210d8b([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x210d8b([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5a4dbe);return _0x51856c?window[_0x210d8b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x14bd77(_0x51856c),0x10)*_0x1cc5b3:null;}function _0xe60292(_0x1f8507){return new window[(_0x210d8b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xd5a3e0,_0x344466)=>{_0x1f8507[_0x210d8b([0x74,0x68,0x65,0x6e])](_0xd5a3e0,_0x344466),window[_0x210d8b([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x344466,0x535e58fa^_0x21e510);});}}_0x5de693[_0x210d8b([0x6f,0x6e])](_0x210d8b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x3155e2,_0x4e0eab)=>{if(_0x4e0eab[0x0]!=_0x13f5fe)return _0x1d9632(_0x210d8b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4e0eab[0x1]={..._0x4e0eab[0x1],[_0x210d8b([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x4dd8c4};},{[_0x210d8b([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x210d8b([0x68,0x69,0x67,0x68])}),_0x5de693[_0x210d8b([0x6f,0x6e])](_0x210d8b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2ae867=>{_0x3272a3(_0x2ae867[_0x210d8b([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x29b5af=!0x0,_0x2503b2(_0x2ae867[_0x210d8b([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x210d8b([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x210d8b([0x6c,0x6f,0x77])}),_0xda51fc[_0x210d8b([0x74,0x68,0x65,0x6e])](()=>{_0x29b5af||_0x1d9632(_0x210d8b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2a6e48(){return _0x5de693[_0x210d8b([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x210d8b([0x76,0x69,0x65,0x77])][_0x210d8b([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x210d8b([0x61,0x75,0x74,0x6f]);}function _0x523b1c(){_0x5de693[_0x210d8b([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x210d8b([0x76,0x69,0x65,0x77])][_0x210d8b([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x210d8b([0x61,0x75,0x74,0x6f]);}}function _0x347d4e(_0x4df3b2){const _0x11f1d7=[new window[(_0x210d8b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x270b95=>setTimeout(_0x270b95,0x5356b2f6^_0x21e510)),_0xda51fc[_0x210d8b([0x74,0x68,0x65,0x6e])](()=>new window[(_0x210d8b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x280d57=>{let _0x423b87=0x0;_0x5de693[_0x210d8b([0x6d,0x6f,0x64,0x65,0x6c])][_0x210d8b([0x6f,0x6e])](_0x210d8b([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0xcd1e13,_0x995e75)=>{_0x995e75[0x0][_0x210d8b([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x423b87++,_0x423b87==(0x535f89d2^_0x21e510)&&(_0x280d57(),_0xcd1e13[_0x210d8b([0x6f,0x66,0x66])]());});}))];return window[_0x210d8b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x210d8b([0x72,0x61,0x63,0x65])](_0x11f1d7)[_0x210d8b([0x74,0x68,0x65,0x6e])](()=>_0x4df3b2);}async function _0x5ae691(){await _0xda51fc,_0x5de693[_0x210d8b([0x6d,0x6f,0x64,0x65,0x6c])][_0x210d8b([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x42e839,_0x5de693[_0x210d8b([0x6d,0x6f,0x64,0x65,0x6c])][_0x210d8b([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x42e839,_0x5de693[_0x210d8b([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x210d8b([0x6d,0x6f,0x64,0x65,0x6c]));}function _0xd523e0(_0x108b2f){const _0x265287=_0x183e39();_0x5de693[_0x265287]=_0x210d8b([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x108b2f,_0x108b2f!=_0x210d8b([0x56,0x61,0x6c,0x69,0x64])&&_0x5ae691();}function _0x183e39(){const _0x5a208e=window[_0x210d8b([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x210d8b([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x210d8b([0x6e,0x6f,0x77])]())[_0x210d8b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x210d8b([0x2e]),'');let _0x35e538=_0x210d8b([0x68]);for(let _0x49f31f=0x0;_0x49f31f<_0x5a208e[_0x210d8b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x49f31f+=0x2){let _0x24d5ba=window[_0x210d8b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5a208e[_0x210d8b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x49f31f,_0x49f31f+0x2));_0x24d5ba>=_0x2aa52b[_0x210d8b([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x24d5ba-=_0x2aa52b[_0x210d8b([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x35e538+=_0x2aa52b[_0x24d5ba];}return _0x35e538;}function _0x3f267f(){const _0x4a74ce=_0x58161d[_0x210d8b([0x73,0x70,0x6c,0x69,0x74])](_0x210d8b([0x2e]));if(0x3!=_0x4a74ce[_0x210d8b([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x21dd2e(_0x4a74ce[0x1]);function _0x21dd2e(_0x22c870){const _0x133a5e=_0x467846(_0x22c870);return _0x133a5e&&_0x569818()?_0x133a5e:null;function _0x569818(){const _0x53048b=_0x133a5e[_0x210d8b([0x6a,0x74,0x69])],_0x4be558=window[_0x210d8b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x53048b[_0x210d8b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x53048b[_0x210d8b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0xa2be6={..._0x133a5e,[_0x210d8b([0x6a,0x74,0x69])]:_0x53048b[_0x210d8b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x53048b[_0x210d8b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0xa2be6[_0x210d8b([0x76,0x63])],_0x5e384f(_0xa2be6)==_0x4be558;}}}async function _0x4ac1e2(){let _0x5bdc31=!0x0;try{const _0x1aac5b=_0x58161d[_0x210d8b([0x73,0x70,0x6c,0x69,0x74])](_0x210d8b([0x2e])),[_0x964325,_0xab568e,_0x14f90b]=_0x1aac5b;return _0x141bba(_0x964325),await _0x467016(_0x964325,_0xab568e,_0x14f90b),_0x5bdc31;}catch{return!0x1;}function _0x141bba(_0x46459e){const _0x13ed8c=_0x467846(_0x46459e);_0x13ed8c&&_0x13ed8c[_0x210d8b([0x61,0x6c,0x67])]==_0x210d8b([0x45,0x53,0x32,0x35,0x36])||(_0x5bdc31=!0x1);}async function _0x467016(_0x8242f6,_0x31e2bf,_0x458f0d){const _0xc50619=window[_0x210d8b([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x210d8b([0x66,0x72,0x6f,0x6d])](_0x547e26(_0x458f0d),_0xdc8eb0=>_0xdc8eb0[_0x210d8b([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x213b7c=new window[(_0x210d8b([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x210d8b([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x8242f6+_0x210d8b([0x2e])+_0x31e2bf),_0x405a63=window[_0x210d8b([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x210d8b([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x405a63)return;const _0x3c16fa=await _0x405a63[_0x210d8b([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x210d8b([0x6a,0x77,0x6b]),_0x5b015c,{[_0x210d8b([0x6e,0x61,0x6d,0x65])]:_0x210d8b([0x45,0x43,0x44,0x53,0x41]),[_0x210d8b([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x210d8b([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x210d8b([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x405a63[_0x210d8b([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x210d8b([0x6e,0x61,0x6d,0x65])]:_0x210d8b([0x45,0x43,0x44,0x53,0x41]),[_0x210d8b([0x68,0x61,0x73,0x68])]:{[_0x210d8b([0x6e,0x61,0x6d,0x65])]:_0x210d8b([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x3c16fa,_0xc50619,_0x213b7c)||(_0x5bdc31=!0x1);}}function _0x467846(_0x3ba771){return _0x3ba771[_0x210d8b([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x210d8b([0x65,0x79]))?JSON[_0x210d8b([0x70,0x61,0x72,0x73,0x65])](_0x547e26(_0x3ba771)):null;}function _0x547e26(_0x4fb38b){return window[_0x210d8b([0x61,0x74,0x6f,0x62])](_0x4fb38b[_0x210d8b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x210d8b([0x2b]))[_0x210d8b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x210d8b([0x2f])));}function _0x5e384f(_0x12509c){let _0x1749f8=0x1505;function _0x1bc96c(_0x480b5f){for(let _0x83e799=0x0;_0x83e799<_0x480b5f[_0x210d8b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x83e799++){const _0xdbfb51=_0x480b5f[_0x210d8b([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x83e799);_0x1749f8=(_0x1749f8<<0x5)+_0x1749f8+_0xdbfb51,_0x1749f8&=_0x1749f8;}}function _0x44e191(_0x293c04){Array[_0x210d8b([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x293c04)?_0x293c04[_0x210d8b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x44e191):_0x293c04&&typeof _0x293c04==_0x210d8b([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x210d8b([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x293c04)[_0x210d8b([0x73,0x6f,0x72,0x74])]()[_0x210d8b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x23e99b,_0x5c7e8d])=>{_0x1bc96c(_0x23e99b),_0x44e191(_0x5c7e8d);}):_0x1bc96c(window[_0x210d8b([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x293c04));}return _0x44e191(_0x12509c),_0x1749f8>>>0x0;}function _0x49b820(_0xeb9a26){return _0xeb9a26[_0x210d8b([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x210d8b([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x210d8b([0x30]));}function _0x14bd77(_0x11be1e){return _0x11be1e[_0x210d8b([0x73,0x70,0x6c,0x69,0x74])]('')[_0x210d8b([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x210d8b([0x6a,0x6f,0x69,0x6e])]('');}function _0x42e839(){}function _0x210d8b(_0x1c448a){return _0x1c448a['map'](_0x496dfb=>String['fromCharCode'](_0x496dfb))['join']('');}_0xd523e0(await _0x4d7b35());}(this);}['_initSchema'](){const _0x46f73d=this['editor']['model']['schema'];_0x46f73d['isRegistered']('imageBlock')&&_0x46f73d['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x46f73d['isRegistered']('imageInline')&&_0x46f73d['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x33e943=this['editor'];_0x33e943['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x33e943['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x168dae=>_0x168dae['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x30a1b3=_0x33e943['commands']['get']('replaceImageSource');_0x30a1b3&&this['listenTo'](_0x30a1b3,'cleanupImage',(_0x1b2ada,[_0x16ac39,_0x18936e])=>{_0x16ac39['removeAttribute']('uploadcareImageId',_0x18936e);});}['_initConfig'](){const _0x9dbbaf=this['editor']['config']['get']('uploadcare.uploader')||{},_0x28d1b4=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x2ea481(_0x444cad['document'],'uc-config',{..._0x9dbbaf,'pubkey':_0x28d1b4,'ctx-name':'uploader-'+this['ucContextId'],'sourceList':'','imgOnly':'true','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage'],'externalSourcesEmbedCss':'\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup\x20{\x20padding:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-menu\x20{\x20gap:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-footer\x20{\x20padding-top:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__separator\x20{\x20margin:\x200;\x20}\x0a\x09\x09\x09'}),this['_configElement']['iconHrefResolver']=_0x1f725a=>{if('closeMax'==_0x1f725a)return'#uc-icon-arrow-down';},_0x444cad['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x2ea481(_0x444cad['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),_0x444cad['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x3e7ef0=this['editor']['commands']['get']('insertImage');_0x3e7ef0&&this['listenTo'](_0x3e7ef0,'execute',()=>{const _0x5dac16=this['editor']['model']['document']['selection']['getSelectedElement']();_0x5dac16&&_0x5dac16['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x5dac16);});});const _0x3c1a2e=this['editor']['commands']['get']('uploadcareImageReplace');_0x3c1a2e&&this['listenTo'](_0x3c1a2e,'execute',()=>{const _0x31e88f=this['editor']['model']['document']['selection']['getSelectedElement']();_0x31e88f&&_0x31e88f['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x31e88f);});});}}class tt extends _0x53c973{static get['requires'](){return[o,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x3cadb7){super(_0x3cadb7),_0x3cadb7['config']['define']('uploadcare.uploader.sourceList',[i['Local'],i['URL']]),_0x5830b0['defineComponents'](_0x5830b0),this['_defineLocale']();}['_defineLocale'](){const _0x338b14=this['editor']['config']['get']('uploadcare.locale'),_0x4d048e=this['editor']['locale']['contentLanguage'];_0x338b14&&_0x5830b0['defineLocale'](_0x4d048e,_0x338b14);}}class ii extends _0x258107{constructor(_0x41740d){super(_0x41740d);const t=_0x41740d['t'],_0xc12f05=this['bindTemplate'],_0x3c111f=new _0x301ce6();_0x3c111f['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':[_0x3c111f,{'text':_0xc12f05['to']('imageUploadProgress',_0x1d7b0c=>t('Loading\x20image...')+'\x20('+(_0x1d7b0c||0x0)+'%)')}]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}class ti extends _0x258107{constructor(_0x3c7c27){super(_0x3c7c27);const t=_0x3c7c27['t'];this['set']('errorType',null);const _0x2f73fd=new _0x4c0157(_0x3c7c27);_0x2f73fd['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x2f73fd['withText']=!0x0,_0x2f73fd['class']='ck-button-action',_0x2f73fd['on']('execute',()=>{this['fire']('retry');}),_0x2f73fd['bind']('isVisible')['to'](this,'errorType',_0xbc5056=>'NotFound'!==_0xbc5056);const _0x36d08b=new _0xd1358d();_0x36d08b['content']=_0x56530c,_0x36d08b['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x40fe46=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':[_0x36d08b,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x40fe46['to']('errorType',_0x158160=>t('NotFound'!==_0x158160?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x2f73fd]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}class ei extends _0x258107{constructor(_0x48fcab,_0x2f68cd){super(_0x48fcab);const _0x178ee2=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x2f68cd,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x178ee2['to']('imageSrc')}});}}class X extends F{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x17d10c,_0x5b0b69,_0x86855a){super(_0x17d10c),this['_items']=this['createCollection'](),this['_loadingView']=new ii(_0x17d10c),this['_errorView']=new ti(_0x17d10c),this['_editingView']=new ei(_0x17d10c,_0x86855a),this['_focusableView']=new _0x258107(_0x17d10c),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x5b0b69),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'],_0x5d6b7f=>{this['_addUploadcareImageEditorListeners'](_0x5d6b7f);});}),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'](_0x1c51e2,_0x313bc9){const _0x419829='uc-cloud-image-editor',_0x1be233=_0x1c51e2['querySelector'](_0x419829);if(_0x1be233)return _0x313bc9(_0x1be233);const _0x80fc=new MutationObserver(_0x2277b8=>{const _0x40643e=_0x2277b8['filter'](_0x5b005e=>_0x5b005e['target']===_0x1c51e2&&_0x5b005e['addedNodes']['length']>0x0&&_0x5b005e['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x419829);_0x40643e['length']&&(_0x80fc['disconnect'](),_0x313bc9(_0x40643e[0x0]['addedNodes'][0x0]));});_0x80fc['observe'](_0x1c51e2,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x357c26){_0x357c26['addEventListener']('apply',_0x3c4040=>{this['fire']('apply',{'imageSrc':_0x3c4040['detail']['cdnUrl']});}),_0x357c26['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class N extends/* #__PURE__ -- @preserve */
25
- _0x587fcc(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x17880b,_0x4698c1,_0x5d4b1b){super(),this['_editor']=_0x17880b,this['_dialog']=_0x4698c1,this['_imageElement']=_0x5d4b1b,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 _0x36a491=this['_imageElement'],_0x3923af=_0x36a491['getAttribute']('uploadcareImageId'),_0x4096a2=_0x36a491['getAttribute']('src');if(_0x3923af)await this['_loadImageInfo'](_0x3923af,_0x4096a2);else{if(this['_imageCache']['has'](_0x4096a2)){const _0x517171=this['_imageCache']['get'](_0x4096a2);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x517171['url'],this['imageDimension']=_0x517171['dimension'],this['imageId']=_0x517171['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x16adb3}=this['_editor'],t=_0x16adb3['t'],_0x257eed=new X(_0x16adb3,this['imageStatus'],this['_attributes']);_0x257eed['bind']('status')['to'](this,'imageStatus'),_0x257eed['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x257eed['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x257eed['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x257eed,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x2ef421,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x257eed,'position':_0x385524['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x257eed['focus']();},'onHide':()=>{_0x257eed['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x562050=>!A(_0x562050,_0x257eed['element'])}});}['_loadImageInfo'](_0x136fee,_0x5205f9){return j['getInfo'](_0x136fee,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x11116c=>{const {width:_0xbeeec7,height:_0x1ddfc9}=_0x11116c['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x5205f9,this['imageDimension']={'width':_0xbeeec7,'height':_0x1ddfc9},this['imageId']=_0x136fee;})['catch'](_0x126cd5=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x126cd5['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x2400b5,_0x2554c8){return this['_getImageAsFile'](_0x2400b5)['then'](_0x38b9f9=>j['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['_editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':_0x2554c8['signal'],'file':_0x38b9f9,'onProgress':_0x3577c7=>{_0x3577c7&&_0x3577c7['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x3577c7['value']));}}))['then'](_0x1a4e38=>{const {width:_0xebb665,height:_0x4f5c16}=_0x1a4e38['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x1a4e38['cdnUrl'],this['imageDimension']={'width':_0xebb665,'height':_0x4f5c16},this['imageId']=_0x1a4e38['uuid'],this['imageUploadProgress']=null;const _0x535805=_0x2400b5['getAttribute']('src');this['_imageCache']['set'](_0x535805,{'id':_0x1a4e38['uuid'],'url':_0x1a4e38['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x1e67fc=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x1e67fc['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x427bb2,_0x55db96){_0x427bb2['on']('apply',(_0x16040b,_0x16cf60)=>{this['_replaceImage'](_0x55db96,_0x16cf60['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x427bb2['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x427bb2['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0xedfad2,_0x5a546a,_0x58eddf){const _0x575cbc=this['_editor'],{width:_0x5830f6,height:_0x23d1f4}=S(_0x5a546a,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x230b9f,imageSources:_0x595db5}=C(_0x5a546a,_0x5830f6);_0x575cbc['model']['change'](_0x2f856b=>{if('$graveyard'===_0xedfad2['root']['rootName']){_0x575cbc['execute']('insertImage',{'imageType':_0xedfad2['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0xedfad2['getAttributes']()),'uploadcareImageId':_0x58eddf,'src':_0x230b9f,'sources':_0x595db5,'width':_0x5830f6,'height':_0x23d1f4}});const _0x1f8257=_0xedfad2['getChildren']();_0xedfad2=_0x575cbc['model']['document']['selection']['getSelectedElement']();for(const _0x5df8d2 of _0x1f8257)_0x2f856b['append'](_0x2f856b['cloneElement'](_0x5df8d2),_0xedfad2);}else _0x2f856b['setSelection'](_0xedfad2,'on'),_0x575cbc['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0xedfad2['getAttributes']()),'uploadcareImageId':_0x58eddf,'src':_0x230b9f,'sources':_0x595db5,'width':_0x5830f6,'height':_0x23d1f4},_0xedfad2);_0x2f856b['setSelection'](_0xedfad2,'on');});}async['_getImageAsFile'](_0x2437d6){const _0xc47e7d=_0x444cad['window'],_0x14e434=_0x444cad['document']['location']['href'],_0x2198b0=new _0xc47e7d['URL'](_0x2437d6['getAttribute']('src'),_0x14e434);if('data:'===_0x2198b0['protocol']){const _0x4daa82=_0x2198b0['href']['split'](','),_0x266073=_0x4daa82[0x0]['match'](/:(.*?);/)[0x1],_0x4953d=_0x266073['split']('/')[0x1],_0x256cbd=_0xc47e7d['atob'](_0x4daa82[_0x4daa82['length']-0x1]);let _0x2dca9f=_0x256cbd['length'];const _0xc1a902=new _0xc47e7d['Uint8Array'](_0x2dca9f);for(;_0x2dca9f--;)_0xc1a902[_0x2dca9f]=_0x256cbd['charCodeAt'](_0x2dca9f);return new _0xc47e7d['File']([_0xc1a902],'image.'+_0x4953d,{'type':_0x266073});}const _0x293f7d=_0x2198b0['href']['split']('/'),_0x349bc2=_0x293f7d[_0x293f7d['length']-0x1],_0x441cf8=_0x349bc2['split']('.')[0x1];return _0xc47e7d['fetch'](_0x2198b0['href'])['then'](_0x4fc265=>_0x4fc265['clone']()['blob']())['then'](_0x49e54f=>new _0xc47e7d['File']([_0x49e54f],_0x349bc2,{'type':'image/'+_0x441cf8}));}}class Q extends _0x3ed51b{['imageEditController'];static get['requires'](){return[_0x8856d5];}['_isEditable'];constructor(_0x2f3b0b){super(_0x2f3b0b),this['imageEditController']=void 0x0,this['_isEditable']=function(_0xcee24b){const _0x117509=z(_0xcee24b);return _0x39ab62=>!(!_0x39ab62||!_0x39ab62['is']('element','imageBlock')&&!_0x39ab62['is']('element','imageInline'))&&(!!_0x39ab62['hasAttribute']('uploadcareImageId')||!!_0x39ab62['hasAttribute']('src')&&_0x117509(_0x39ab62['getAttribute']('src')));}(_0x2f3b0b['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x45d180=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x45d180);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x146d1b=this['editor']['model']['document']['selection']['getSelectedElement']();_0x146d1b&&(_0x146d1b['is']('element','imageBlock')||_0x146d1b['is']('element','imageInline'))&&(this['imageEditController']=new N(this['editor'],this['editor']['plugins']['get'](_0x8856d5),_0x146d1b),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class V extends _0x3ed51b{['refresh'](){const _0x1b1c4e=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x1b1c4e&&(_0x1b1c4e['is']('element','imageBlock')||_0x1b1c4e['is']('element','imageInline')));}['execute'](_0xce41bf){const _0x54cbe6=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x454f85=>{_0x454f85['setAttributes'](_0xce41bf,_0x54cbe6),_0x454f85['removeAttribute']('srcset',_0x54cbe6),_0x454f85['removeAttribute']('sizes',_0x54cbe6);});}}class m extends _0x53c973{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[o,_0x19d053,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x1047e9}=this;_0x1047e9['commands']['add']('uploadcareImageEdit',new Q(_0x1047e9)),_0x1047e9['commands']['add']('uploadcareImageReplace',new V(_0x1047e9));}}class g extends _0x53c973{['_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 _0x177058=this['editor'];_0x177058['ui']['componentFactory']['add']('uploadcareImageEdit',_0x477d7c=>{const _0x2fffe6=_0x177058['commands']['get']('uploadcareImageEdit'),_0x1b6b69=new _0x4c0157(_0x477d7c),t=_0x477d7c['t'];return _0x1b6b69['set']({'icon':_0x2ef421,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x1b6b69['bind']('isEnabled')['to'](_0x2fffe6),_0x1b6b69['bind']('isOn')['to'](_0x2fffe6,'isActive'),this['listenTo'](_0x1b6b69,'execute',()=>{_0x177058['execute']('uploadcareImageEdit'),_0x177058['editing']['view']['focus']();}),_0x1b6b69;}),this['_initConfig']();}['_initConfig'](){const _0x2c40a0=_0x2ea481(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x2c40a0),this['listenTo'](this['editor'],'destroy',()=>{_0x2c40a0['remove']();});}}class et extends _0x53c973{static get['pluginName'](){return'UploadcareImageEdit';}static get['requires'](){return[m,g];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{tt as Uploadcare,w as UploadcareCommand,o as UploadcareEditing,et as UploadcareImageEdit,Q as UploadcareImageEditCommand,m as UploadcareImageEditEditing,g as UploadcareImageEditUI,e as UploadcareUI,f as UploadcareUploadAdapter};
23
+ import{Plugin as _0x364ca2,Command as _0xb237c4}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x19fe79,IconGooglePhotos as _0x2954b3,IconGoogleDrive as _0x3745f4,IconFacebook as _0x457c97,IconDropbox as _0x741428,IconUploadcareLink as _0x3b0e83,IconUploadcareImageUpload as _0x32f41b,IconError as _0x3bd909,IconUploadcareImageEdit as _0x348dcd}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x5dee32,MenuBarMenuListItemButtonView as _0x3ce907,View as _0xa01812,FocusCycler as _0xfb06ca,Dialog as _0x34599f,DialogViewPosition as _0x5094ed,SpinnerView as _0x51ef56,IconView as _0x19d957,Notification as _0x149b1a}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x407248,DomEmitterMixin as _0x17b886,global as _0x4d5004,getAncestors as _0x3df752,ObservableMixin as _0x2d7af9,uid as _0x341f45,createElement as _0x4ec3cc}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x303450}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x4e2608,info as _0x11bf49}from'@uploadcare/upload-client';import*as _0x5b517e from'@uploadcare/file-uploader';var i=function(_0x31072f){return _0x31072f['Local']='local',_0x31072f['URL']='url',_0x31072f['Dropbox']='dropbox',_0x31072f['GDrive']='gdrive',_0x31072f['Facebook']='facebook',_0x31072f['GPhotos']='gphotos',_0x31072f['OneDrive']='onedrive',_0x31072f;}({});function _(_0x32fa09,_0x5ee091,_0x38be52){const t=_0x32fa09['t'],_0x4cf329=_0x32fa09['t'];switch(_0x5ee091){case i['Local']:return{'text':_0x4cf329('Insert'===_0x38be52?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x4cf329('From\x20computer')};case i['URL']:return{'text':'Insert'===_0x38be52?_0x4cf329('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x4cf329('Via\x20URL')};case i['Dropbox']:return{'text':t('Insert'===_0x38be52?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case i['Facebook']:return{'text':t('Insert'===_0x38be52?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case i['GDrive']:return{'text':t('Insert'===_0x38be52?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case i['GPhotos']:return{'text':t('Insert'===_0x38be52?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case i['OneDrive']:return{'text':t('Insert'===_0x38be52?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x5ee091;}}class e extends _0x364ca2{['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 _0x44e437=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x2fa2cd;for(const _0x554e86 in _0x44e437){const _0x27f8c3=_0x554e86,_0xa92288=_0x44e437[_0x27f8c3];if('uploadcareLicenseKeyValid'==_0xa92288||'uploadcareLicenseKeyInvalid'==_0xa92288||'uploadcareLicenseKeyExpired'==_0xa92288||'uploadcareLicenseKeyDomainLimit'==_0xa92288||'uploadcareLicenseKeyNotAllowed'==_0xa92288||'uploadcareLicenseKeyEvaluationLimit'==_0xa92288||'uploadcareLicenseKeyTrialLimit'==_0xa92288||'uploadcareLicenseKeyUsageLimit'==_0xa92288){delete _0x44e437[_0x27f8c3],_0x2fa2cd=_0xa92288,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x2fa2cd&&_0x44e437['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x2fa2cd&&_0x44e437['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x2fa2cd&&_0x44e437['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x2fa2cd&&_0x44e437['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x2fa2cd&&_0x44e437['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0x2fa2cd&&_0x44e437['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0x2fa2cd&&_0x44e437['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x5cc306}=this,_0x4f9f4d=_0x5cc306['commands']['get']('uploadcare');if(!_0x4f9f4d)return;const _0x1feb55=this['_normalizeConfigSourceList'](_0x5cc306['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x159177,_0x4dc708)=>{const _0x5f472a=this['_getIntegrationKey'](_0x4dc708['type']);return _0x159177[_0x5f472a]||(_0x159177[_0x5f472a]=[]),_0x159177[_0x5f472a]['push'](_0x4dc708),_0x159177;},{});_0x5cc306['plugins']['has']('ImageInsertUI')&&_0x5cc306['commands']['get']('uploadcare')&&Object['entries'](_0x1feb55)['forEach'](([_0x4edf0b,_0x4989f5])=>{_0x5cc306['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x4edf0b,'observable':()=>_0x4f9f4d,'buttonViewCreator':()=>this['_createToolbarButton'](_0x4989f5),'formViewCreator':()=>this['_createDropdownButtons'](_0x4989f5),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x4989f5),'override':'assetManager'!==_0x4edf0b});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x2cc3c4){const {locale:_0x541b3b}=this['editor'];return _0x2cc3c4['map'](_0x4cad4a=>{const _0x17fc7d=_(_0x541b3b,_0x4cad4a,'Insert');switch(_0x4cad4a){case i['Local']:return{'icon':_0x32f41b,'type':i['Local'],..._0x17fc7d};case i['URL']:return{'icon':_0x3b0e83,'type':i['URL'],..._0x17fc7d};case i['Dropbox']:return{'icon':_0x741428,'type':i['Dropbox'],..._0x17fc7d};case i['Facebook']:return{'icon':_0x457c97,'type':i['Facebook'],..._0x17fc7d};case i['GDrive']:return{'icon':_0x3745f4,'type':i['GDrive'],..._0x17fc7d};case i['GPhotos']:return{'icon':_0x2954b3,'type':i['GPhotos'],..._0x17fc7d};case i['OneDrive']:return{'icon':_0x19fe79,'type':i['OneDrive'],..._0x17fc7d};}});}['_getIntegrationKey'](_0x47519d){switch(_0x47519d){case i['Local']:return'upload';case i['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x845110,_0xc20d30){const _0x3f2e24=this['editor'],_0x78ca2=new _0x845110(_0x3f2e24['locale']),_0x2c0f02=_0x3f2e24['commands']['get']('uploadcare');return _0x78ca2['bind']('isEnabled')['to'](_0x2c0f02),_0x78ca2['on']('execute',()=>{_0x2c0f02['execute'](_0xc20d30);}),_0x78ca2;}['_createToolbarButton'](_0x3524e1){const {locale:_0x34ddff}=this['editor'],_0x2a5ec1=this['editor']['plugins']['get']('ImageInsertUI'),_0x53669b=_0x3524e1[0x0],_0x2bcc0a=this['_createButton'](_0x5dee32,_0x53669b['type']);return _0x2bcc0a['icon']=_0x53669b['icon'],_0x2bcc0a['bind']('label')['to'](_0x2a5ec1,'isImageSelected',_0xed7d25=>_(_0x34ddff,_0x53669b['type'],_0xed7d25?'Replace':'Insert')['text']),_0x2bcc0a['tooltip']=!0x0,_0x2bcc0a;}['_createDropdownButtons'](_0x4c1b9f){const {locale:_0x40807a}=this['editor'],_0x183917=this['editor']['plugins']['get']('ImageInsertUI');return _0x4c1b9f['map'](_0x4e9b07=>{const _0x58b801=this['_createButton'](_0x5dee32,_0x4e9b07['type']);return _0x58b801['withText']=!0x0,_0x58b801['icon']=_0x4e9b07['icon'],_0x58b801['bind']('label')['to'](_0x183917,'isImageSelected',_0x84ac37=>_(_0x40807a,_0x4e9b07['type'],_0x84ac37?'Replace':'Insert')['text']),_0x58b801;});}['_createMenuBarButtons'](_0x5c872){return _0x5c872['map'](_0x10b062=>{const _0x13e77d=this['_createButton'](_0x3ce907,_0x10b062['type']);return _0x13e77d['icon']=_0x10b062['icon'],_0x13e77d['label']=_0x10b062['shortText'],_0x13e77d;});}}class F extends _0xa01812{['focusTracker'];['focusCycler'];constructor(_0x198b7b){super(_0x198b7b),this['focusTracker']=new _0x407248(),this['focusCycler']=new _0xfb06ca({'focusables':this['createCollection'](),'focusTracker':this['focusTracker']});}['getFocusableElement'](){return{'tag':'div','attributes':{'aria-hidden':'true','tabindex':'0'},'on':{'focus':this['bindTemplate']['to'](()=>{this['focusCycler']['fire']('forwardCycle');})}};}}class x extends F{constructor(_0x1bd3b7,_0x3d8f8e){super(_0x1bd3b7),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-'+_0x3d8f8e}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function C(_0x1a3a1f,_0x2aaf84){const _0x369c48=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x4db922=>_0x4db922<=_0x2aaf84)['map'](_0xcd07f4=>_0x1a3a1f['replace'](/\/$/,'')+'/-/resize/'+_0xcd07f4+'x/\x20'+_0xcd07f4+'w');return{'imageFallbackUrl':_0x1a3a1f,'imageSources':[{'srcset':_0x369c48['join'](',\x20'),'sizes':'(max-width:\x20'+_0x2aaf84+'px)\x20100vw,\x20'+_0x2aaf84+'px','type':'image/webp'}]};}function S(_0x3e611b,_0x322289,_0x47229f){const _0xc38e27=_0x3e611b['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0xc38e27?parseInt(_0xc38e27[0x1],0xa):_0x322289,'height':_0xc38e27?parseInt(_0xc38e27[0x2],0xa):_0x47229f};}function p(_0x3e6497,_0x175eab){const _0xf554e9=new(_0x17b886())(),_0x2468f8=_0x3e6497['plugins']['get']('ImageUtils'),_0x1a7f97=_0x3e6497['editing']['mapper']['toViewElement'](_0x175eab),_0x2a91ab=_0x2468f8['findViewImgElement'](_0x1a7f97),_0x2ff8ac=_0x3e6497['editing']['view']['domConverter']['viewToDom'](_0x2a91ab),_0x10a194=_0x175eab['getAttribute']('width'),_0x3a0ef0=_0x175eab['getAttribute']('height'),_0x4f3024='image-processing';_0x3e6497['editing']['view']['change'](_0x1e6d0a=>{_0x1e6d0a['addClass'](_0x4f3024,_0x1a7f97),_0x1e6d0a['setStyle']('aspect-ratio',_0x10a194+'/'+_0x3a0ef0,_0x2a91ab);}),_0xf554e9['listenTo'](_0x2ff8ac,'load',()=>{_0xf554e9['stopListening'](_0x2ff8ac,'load'),_0x3e6497['editing']['view']['change'](_0x536718=>{_0x536718['removeClass'](_0x4f3024,_0x1a7f97),_0x536718['removeStyle']('aspect-ratio',_0x2a91ab);});});}function G(_0x570e9a){if(Array['isArray'](_0x570e9a)){const _0x2140af=_0x570e9a['map'](G);return _0x27143e=>_0x2140af['some'](_0x3fe987=>_0x3fe987(_0x27143e));}if('origin'==_0x570e9a){const _0x28acf5=_0x4d5004['window']['location']['origin'];return _0x585217=>new URL(_0x585217,_0x4d5004['document']['baseURI'])['origin']==_0x28acf5;}return'function'==typeof _0x570e9a?_0x570e9a:_0x570e9a instanceof RegExp?_0x581b6f=>!(!_0x581b6f['match'](_0x570e9a)&&!_0x581b6f['replace'](/^https?:\/\//,'')['match'](_0x570e9a)):()=>!0x1;}function A(_0x8e7d89,_0xf06755){return _0x3df752(_0x8e7d89['target'])['includes'](_0xf06755);}class n extends/* #__PURE__ -- @preserve */
24
+ _0x2d7af9(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x451bb0,_0x5cbcc8,_0x15ca3e){super(),this['_editor']=_0x451bb0,this['_editing']=_0x5cbcc8,this['_dialog']=_0x451bb0['plugins']['get'](_0x34599f),this['_api']=_0x5cbcc8['ctxElement']['getAPI'](),this['_type']=_0x15ca3e,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:_0x486d4c,model:_0x4c5d4f}=this['_editor'],_0x4f0bd1=_0x4c5d4f['document']['selection']['getSelectedElement'](),_0xb0d814=_0x4f0bd1&&(_0x4f0bd1['is']('element','imageBlock')||_0x4f0bd1['is']('element','imageInline'));this['_formView']=new x(_0x486d4c,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':_0x32f41b,'title':_(_0x486d4c,this['_type'],_0xb0d814?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x5094ed['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x1180b8=>!A(_0x1180b8,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0xc58f03}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x4b13e0=>{const _0x5e8e59=_0xc58f03['length'];for(const _0x4d418c of _0xc58f03){const _0x4da3c8=_0x4d418c===_0xc58f03[_0x5e8e59-0x1],{cdnUrl:_0x315d5e,fileInfo:_0x217a79}=_0x4d418c;if(!_0x315d5e||!_0x217a79)continue;const {width:_0x27c8f2,height:_0x3a0ee3}=_0x217a79['imageInfo'],_0x46c350=S(_0x315d5e,_0x27c8f2,_0x3a0ee3),_0x419233=C(_0x315d5e,_0x46c350['width']),_0x42738f={'id':_0x217a79['uuid'],'type':'image','attributes':{'imageDimension':_0x46c350,..._0x419233}};this['_insertAsset'](_0x42738f,_0x4da3c8,_0x4b13e0);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x548912=>{'idle'===_0x548912['detail']['status']&&!_0x548912['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===i['Local']?this['_api']['setCurrentActivity'](i['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x1d0eeb,_0xfd7a09,_0x39e82c){const _0x51462d=this['_editor']['model']['document']['selection'],_0x146acd=_0x51462d['getSelectedElement'](),_0x314929=!(!_0x146acd||!_0x146acd['is']('element','imageInline'));_0x39e82c['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x1d0eeb,_0x314929),_0xfd7a09||_0x39e82c['setSelection'](_0x51462d['getLastPosition']());}['_insertImage'](_0xdca845,_0x1f543f){const _0x5ec2a6=this['_editor'],{imageDimension:_0x1f1c4d,imageFallbackUrl:_0x60726c,imageSources:_0x36bda1}=_0xdca845['attributes'];_0x5ec2a6['execute']('insertImage',{'imageType':_0x1f543f?'imageInline':null,'source':{'uploadcareImageId':_0xdca845['id'],'src':_0x60726c,'sources':_0x36bda1,..._0x1f1c4d}});}}class w extends _0xb237c4{['_editing'];['_controller']=null;static get['requires'](){return[_0x34599f,o];}constructor(_0x283af2){super(_0x283af2),this['_editing']=_0x283af2['plugins']['get'](o);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x515ced){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new n(this['editor'],this['_editing'],_0x515ced);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class j{static['upload']({file:_0x171079,..._0x34a536}){return _0x4e2608(_0x171079,_0x34a536);}static['getInfo'](_0x1f3456,_0xc91d04){return _0x11bf49(_0x1f3456,_0xc91d04);}}class f extends _0x364ca2{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x303450,o];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x2444d0=this['editor'];if(!!!_0x2444d0['config']['get']('uploadcare'))return;_0x2444d0['plugins']['get'](_0x303450)['createUploadAdapter']=_0x21df97=>new k(_0x21df97,_0x2444d0),_0x2444d0['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x4f5d45,{imageElement:_0x4c4dfc,data:_0x1b7773})=>{_0x2444d0['model']['change'](_0x4a2479=>{_0x4a2479['setAttribute']('uploadcareImageId',_0x1b7773['uploadcareImageId'],_0x4c4dfc);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x177c93,_0x8c0f5a){this['loader']=_0x177c93,this['editor']=_0x8c0f5a,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x540684=await this['loader']['file'];return j['upload']({'file':_0x540684,'publicKey':this['editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':this['controller']['signal'],'onProgress':_0x185671=>{_0x185671&&_0x185671['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x185671['value']);}})['then'](async _0x5c1325=>{const {imageFallbackUrl:_0x312e99,imageSources:_0x355b87}=C(_0x5c1325['cdnUrl'],_0x5c1325['imageInfo']['width']);return{'uploadcareImageId':_0x5c1325['uuid'],'default':_0x312e99,'sources':_0x355b87};})['catch'](()=>{const _0x15f211=t('Cannot\x20upload\x20file:')+('\x20'+_0x540684['name']+'.');return Promise['reject'](_0x15f211);});}['abort'](){this['controller']['abort']();}}class o extends _0x364ca2{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',f,_0x34599f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['ucContextId'];get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}constructor(_0x5c66f6){super(_0x5c66f6),this['ucContextId']=_0x341f45();}['init'](){const _0x542a40=this['editor'];_0x542a40['commands']['add']('uploadcare',new w(_0x542a40));}['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 _0x5e9284=_0x4d5004['document']['querySelector']('input[uploadcare-file-input]');_0x5e9284&&_0x5e9284['remove']();}),async function(_0x211cd4){const _0x1532e3=_0x46c5bc([0x68,0x67,0x50,0x36,0x38,0x70,0x71,0x63,0x37,0x4f,0x42,0x4a,0x78,0x39,0x75,0x33,0x7a,0x72,0x48,0x61,0x74,0x59,0x55,0x58,0x66,0x30,0x34,0x54,0x64,0x56,0x6b,0x4d,0x46,0x6d,0x77,0x43,0x73,0x35,0x53,0x44,0x41,0x76,0x6a,0x32,0x31,0x69,0x57,0x51,0x47,0x65,0x5a,0x4b,0x4c,0x79,0x52,0x6c,0x45,0x4e,0x6e,0x6f,0x49,0x62]),_0x5392e5=0x535f8c3a,_0x7f830b=0x5358f09a^_0x5392e5,_0x40a14d=window[_0x46c5bc([0x44,0x61,0x74,0x65])][_0x46c5bc([0x6e,0x6f,0x77])](),_0x1dbe53=_0x211cd4[_0x46c5bc([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x4259a7=new window[(_0x46c5bc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x43f797=>{_0x1dbe53[_0x46c5bc([0x6f,0x6e,0x63,0x65])](_0x46c5bc([0x72,0x65,0x61,0x64,0x79]),_0x43f797);}),_0x4404e4={[_0x46c5bc([0x6b,0x74,0x79])]:_0x46c5bc([0x45,0x43]),[_0x46c5bc([0x75,0x73,0x65])]:_0x46c5bc([0x73,0x69,0x67]),[_0x46c5bc([0x63,0x72,0x76])]:_0x46c5bc([0x50,0x2d,0x32,0x35,0x36]),[_0x46c5bc([0x78])]:_0x46c5bc([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]),[_0x46c5bc([0x79])]:_0x46c5bc([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]),[_0x46c5bc([0x61,0x6c,0x67])]:_0x46c5bc([0x45,0x53,0x32,0x35,0x36])},_0x151f70=_0x1dbe53[_0x46c5bc([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x46c5bc([0x67,0x65,0x74])](_0x46c5bc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4b02e7(){let _0x9c5c30,_0xe192de=null,_0x496d36=null;try{if(_0x151f70==_0x46c5bc([0x47,0x50,0x4c]))return _0x46c5bc([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x9c5c30=_0x207aa8(),!_0x9c5c30)return _0x46c5bc([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x9c5c30[_0x46c5bc([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x496d36=_0x5febcb(_0x9c5c30[_0x46c5bc([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x9c5c30[_0x46c5bc([0x6a,0x74,0x69])])),await _0x1cd7c1()?_0x3bb809()?_0x2cf650()?_0x46c5bc([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x3cb83e()?(_0x9c5c30[_0x46c5bc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x46c5bc([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0xe192de=_0x45c08a(_0x46c5bc([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x9c5c30[_0x46c5bc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x46c5bc([0x74,0x72,0x69,0x61,0x6c])&&(_0xe192de=_0x45c08a(_0x46c5bc([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x1062d9()):_0x46c5bc([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x46c5bc([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x46c5bc([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x46c5bc([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2cf650(){const _0x2972d6=[_0x46c5bc([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x46c5bc([0x74,0x72,0x69,0x61,0x6c])][_0x46c5bc([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x9c5c30[_0x46c5bc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x40a14d/0x3e8:0xe10*_0x7f830b;return _0x9c5c30[_0x46c5bc([0x65,0x78,0x70])]<_0x2972d6;}function _0x3bb809(){const _0x57f262=_0x9c5c30[_0x46c5bc([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x57f262&&(!!_0x57f262[_0x46c5bc([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x46c5bc([0x2a]))||!!_0x57f262[_0x46c5bc([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x46c5bc([0x55,0x50,0x4c,0x43])));}function _0x3cb83e(){const _0x31eb7c=_0x9c5c30[_0x46c5bc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x31eb7c||0x0==_0x31eb7c[_0x46c5bc([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x4533c8}=new URL(window[_0x46c5bc([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x31eb7c[_0x46c5bc([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4533c8))return!0x0;const _0x2bfd47=_0x4533c8[_0x46c5bc([0x73,0x70,0x6c,0x69,0x74])](_0x46c5bc([0x2e]));return _0x31eb7c[_0x46c5bc([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3ec487=>_0x3ec487[_0x46c5bc([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x46c5bc([0x2a])))[_0x46c5bc([0x6d,0x61,0x70])](_0x11cb9f=>_0x11cb9f[_0x46c5bc([0x73,0x70,0x6c,0x69,0x74])](_0x46c5bc([0x2e])))[_0x46c5bc([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xd5b3aa=>_0xd5b3aa[_0x46c5bc([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x2bfd47[_0x46c5bc([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x46c5bc([0x6d,0x61,0x70])](_0x517c28=>Array(_0x2bfd47[_0x46c5bc([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x517c28[_0x46c5bc([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x46c5bc([0x66,0x69,0x6c,0x6c])](_0x517c28[0x0]===_0x46c5bc([0x2a])?_0x46c5bc([0x2a]):'')[_0x46c5bc([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x517c28))[_0x46c5bc([0x73,0x6f,0x6d,0x65])](_0xb43ed=>_0x2bfd47[_0x46c5bc([0x65,0x76,0x65,0x72,0x79])]((_0x6b1a0f,_0x3aee31)=>_0xb43ed[_0x3aee31]===_0x6b1a0f||_0xb43ed[_0x3aee31]===_0x46c5bc([0x2a])));}function _0x1062d9(){return _0xe192de&&_0x496d36?new window[(_0x46c5bc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3466a9,_0x363341)=>{_0xe192de[_0x46c5bc([0x74,0x68,0x65,0x6e])](_0x3466a9,_0x363341),_0x496d36[_0x46c5bc([0x74,0x68,0x65,0x6e])](_0x205a47=>{_0x205a47!=_0x46c5bc([0x56,0x61,0x6c,0x69,0x64])&&_0x3466a9(_0x205a47);},_0x363341);}):_0xe192de||_0x496d36||_0x46c5bc([0x56,0x61,0x6c,0x69,0x64]);}}function _0x5febcb(_0x2f9f37,_0x4b9450){return new window[(_0x46c5bc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x29a4ba=>{if(_0x31d541())return _0x29a4ba(_0x46c5bc([0x56,0x61,0x6c,0x69,0x64]));_0x2c395e(),_0x1dbe53[_0x46c5bc([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x46c5bc([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x3c4148=!0x1;const _0x31d686=_0x341f45();function _0x25cb69(_0x2fbcb8){return!!_0x2fbcb8&&(typeof _0x2fbcb8===_0x46c5bc([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2fbcb8===_0x46c5bc([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2fbcb8[_0x46c5bc([0x74,0x68,0x65,0x6e])]===_0x46c5bc([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2fbcb8[_0x46c5bc([0x63,0x61,0x74,0x63,0x68])]===_0x46c5bc([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x2b95a1(_0x5d8af8){_0x4dd455(_0x5d8af8)[_0x46c5bc([0x74,0x68,0x65,0x6e])](_0x3f6fee=>{if(!_0x3f6fee||_0x3f6fee[_0x46c5bc([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x46c5bc([0x6f,0x6b]))return _0x46c5bc([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x24d88d(_0x1f6ff1(_0x31d686+_0x4b9450))!=_0x3f6fee[_0x46c5bc([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x46c5bc([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x46c5bc([0x56,0x61,0x6c,0x69,0x64]);})[_0x46c5bc([0x74,0x68,0x65,0x6e])](_0x58cb9a=>(_0x4dba01(),_0x58cb9a),()=>{const _0x496f89=_0x189e69();return null==_0x496f89?(_0x4dba01(),_0x46c5bc([0x56,0x61,0x6c,0x69,0x64])):_0x46c5bc(_0x40a14d-_0x496f89>(0x7753083a^_0x5392e5)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x46c5bc([0x74,0x68,0x65,0x6e])](_0x29a4ba)[_0x46c5bc([0x63,0x61,0x74,0x63,0x68])](()=>{_0x29a4ba(_0x46c5bc([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x4c14df=0x536962ba^_0x5392e5;function _0x4dba01(){const _0x57b6f8=_0x46c5bc([0x6c,0x6c,0x63,0x74,0x2d])+_0x24d88d(_0x1f6ff1(_0x2f9f37)),_0x479bb1=_0x54b945(_0x24d88d(window[_0x46c5bc([0x4d,0x61,0x74,0x68])][_0x46c5bc([0x63,0x65,0x69,0x6c])](_0x40a14d/_0x4c14df)));window[_0x46c5bc([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x46c5bc([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x57b6f8,_0x479bb1);}function _0x189e69(){const _0x333011=_0x46c5bc([0x6c,0x6c,0x63,0x74,0x2d])+_0x24d88d(_0x1f6ff1(_0x2f9f37)),_0x296e5d=window[_0x46c5bc([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x46c5bc([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x333011);return _0x296e5d?window[_0x46c5bc([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x54b945(_0x296e5d),0x10)*_0x4c14df:null;}function _0x4dd455(_0x1b4e0e){return new window[(_0x46c5bc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4dddb8,_0x382e9e)=>{_0x1b4e0e[_0x46c5bc([0x74,0x68,0x65,0x6e])](_0x4dddb8,_0x382e9e),window[_0x46c5bc([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x382e9e,0x535e58fa^_0x5392e5);});}}_0x1dbe53[_0x46c5bc([0x6f,0x6e])](_0x46c5bc([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x16999b,_0x426db9)=>{if(_0x426db9[0x0]!=_0x2f9f37)return _0x29a4ba(_0x46c5bc([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x426db9[0x1]={..._0x426db9[0x1],[_0x46c5bc([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x31d686};},{[_0x46c5bc([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x46c5bc([0x68,0x69,0x67,0x68])}),_0x1dbe53[_0x46c5bc([0x6f,0x6e])](_0x46c5bc([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x9e258b=>{_0x25cb69(_0x9e258b[_0x46c5bc([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x3c4148=!0x0,_0x2b95a1(_0x9e258b[_0x46c5bc([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x46c5bc([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x46c5bc([0x6c,0x6f,0x77])}),_0x4259a7[_0x46c5bc([0x74,0x68,0x65,0x6e])](()=>{_0x3c4148||_0x29a4ba(_0x46c5bc([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x31d541(){return _0x1dbe53[_0x46c5bc([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x46c5bc([0x76,0x69,0x65,0x77])][_0x46c5bc([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x46c5bc([0x61,0x75,0x74,0x6f]);}function _0x2c395e(){_0x1dbe53[_0x46c5bc([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x46c5bc([0x76,0x69,0x65,0x77])][_0x46c5bc([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x46c5bc([0x61,0x75,0x74,0x6f]);}}function _0x45c08a(_0x2c2ebb){const _0x406708=[new window[(_0x46c5bc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xdc1ab7=>setTimeout(_0xdc1ab7,0x5356b2f6^_0x5392e5)),_0x4259a7[_0x46c5bc([0x74,0x68,0x65,0x6e])](()=>new window[(_0x46c5bc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5d9ef1=>{let _0x78a7f7=0x0;_0x1dbe53[_0x46c5bc([0x6d,0x6f,0x64,0x65,0x6c])][_0x46c5bc([0x6f,0x6e])](_0x46c5bc([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4f479e,_0x32efe9)=>{_0x32efe9[0x0][_0x46c5bc([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x78a7f7++,_0x78a7f7==(0x535f89d2^_0x5392e5)&&(_0x5d9ef1(),_0x4f479e[_0x46c5bc([0x6f,0x66,0x66])]());});}))];return window[_0x46c5bc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x46c5bc([0x72,0x61,0x63,0x65])](_0x406708)[_0x46c5bc([0x74,0x68,0x65,0x6e])](()=>_0x2c2ebb);}async function _0x8fd5c2(){await _0x4259a7,_0x1dbe53[_0x46c5bc([0x6d,0x6f,0x64,0x65,0x6c])][_0x46c5bc([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3e3471,_0x1dbe53[_0x46c5bc([0x6d,0x6f,0x64,0x65,0x6c])][_0x46c5bc([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3e3471,_0x1dbe53[_0x46c5bc([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x46c5bc([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3a957f(_0x1eb04f){const _0x33346b=_0x1743c2();_0x1dbe53[_0x33346b]=_0x46c5bc([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x1eb04f,_0x1eb04f!=_0x46c5bc([0x56,0x61,0x6c,0x69,0x64])&&_0x8fd5c2();}function _0x1743c2(){const _0x142175=window[_0x46c5bc([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x46c5bc([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x46c5bc([0x6e,0x6f,0x77])]())[_0x46c5bc([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x46c5bc([0x2e]),'');let _0x285cb0=_0x46c5bc([0x68]);for(let _0x5d2205=0x0;_0x5d2205<_0x142175[_0x46c5bc([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5d2205+=0x2){let _0x375d99=window[_0x46c5bc([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x142175[_0x46c5bc([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5d2205,_0x5d2205+0x2));_0x375d99>=_0x1532e3[_0x46c5bc([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x375d99-=_0x1532e3[_0x46c5bc([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x285cb0+=_0x1532e3[_0x375d99];}return _0x285cb0;}function _0x207aa8(){const _0x3846d6=_0x151f70[_0x46c5bc([0x73,0x70,0x6c,0x69,0x74])](_0x46c5bc([0x2e]));if(0x3!=_0x3846d6[_0x46c5bc([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x54b63e(_0x3846d6[0x1]);function _0x54b63e(_0x2499f3){const _0x9ea757=_0x228fd4(_0x2499f3);return _0x9ea757&&_0x21f867()?_0x9ea757:null;function _0x21f867(){const _0x27f5c8=_0x9ea757[_0x46c5bc([0x6a,0x74,0x69])],_0x2a084c=window[_0x46c5bc([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x27f5c8[_0x46c5bc([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x27f5c8[_0x46c5bc([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x462520={..._0x9ea757,[_0x46c5bc([0x6a,0x74,0x69])]:_0x27f5c8[_0x46c5bc([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x27f5c8[_0x46c5bc([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x462520[_0x46c5bc([0x76,0x63])],_0x1f6ff1(_0x462520)==_0x2a084c;}}}async function _0x1cd7c1(){let _0x20f232=!0x0;try{const _0x1204b4=_0x151f70[_0x46c5bc([0x73,0x70,0x6c,0x69,0x74])](_0x46c5bc([0x2e])),[_0x590be2,_0x43e163,_0x1c46f5]=_0x1204b4;return _0x5efa80(_0x590be2),await _0x48e838(_0x590be2,_0x43e163,_0x1c46f5),_0x20f232;}catch{return!0x1;}function _0x5efa80(_0x27fbdb){const _0x4fdb16=_0x228fd4(_0x27fbdb);_0x4fdb16&&_0x4fdb16[_0x46c5bc([0x61,0x6c,0x67])]==_0x46c5bc([0x45,0x53,0x32,0x35,0x36])||(_0x20f232=!0x1);}async function _0x48e838(_0x4738b9,_0x5e3d74,_0x3314b3){const _0x170a9b=window[_0x46c5bc([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x46c5bc([0x66,0x72,0x6f,0x6d])](_0x3bfb6d(_0x3314b3),_0x218cd8=>_0x218cd8[_0x46c5bc([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0xe5aa3c=new window[(_0x46c5bc([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x46c5bc([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4738b9+_0x46c5bc([0x2e])+_0x5e3d74),_0x10d794=window[_0x46c5bc([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x46c5bc([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x10d794)return;const _0x5c7907=await _0x10d794[_0x46c5bc([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x46c5bc([0x6a,0x77,0x6b]),_0x4404e4,{[_0x46c5bc([0x6e,0x61,0x6d,0x65])]:_0x46c5bc([0x45,0x43,0x44,0x53,0x41]),[_0x46c5bc([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x46c5bc([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x46c5bc([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x10d794[_0x46c5bc([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x46c5bc([0x6e,0x61,0x6d,0x65])]:_0x46c5bc([0x45,0x43,0x44,0x53,0x41]),[_0x46c5bc([0x68,0x61,0x73,0x68])]:{[_0x46c5bc([0x6e,0x61,0x6d,0x65])]:_0x46c5bc([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5c7907,_0x170a9b,_0xe5aa3c)||(_0x20f232=!0x1);}}function _0x228fd4(_0x1dc4e9){return _0x1dc4e9[_0x46c5bc([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x46c5bc([0x65,0x79]))?JSON[_0x46c5bc([0x70,0x61,0x72,0x73,0x65])](_0x3bfb6d(_0x1dc4e9)):null;}function _0x3bfb6d(_0x22d9c5){return window[_0x46c5bc([0x61,0x74,0x6f,0x62])](_0x22d9c5[_0x46c5bc([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x46c5bc([0x2b]))[_0x46c5bc([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x46c5bc([0x2f])));}function _0x1f6ff1(_0x30861e){let _0x5d041b=0x1505;function _0x53d637(_0x591ee5){for(let _0x133c4b=0x0;_0x133c4b<_0x591ee5[_0x46c5bc([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x133c4b++){const _0x551070=_0x591ee5[_0x46c5bc([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x133c4b);_0x5d041b=(_0x5d041b<<0x5)+_0x5d041b+_0x551070,_0x5d041b&=_0x5d041b;}}function _0xe648(_0x4d2e11){Array[_0x46c5bc([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4d2e11)?_0x4d2e11[_0x46c5bc([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0xe648):_0x4d2e11&&typeof _0x4d2e11==_0x46c5bc([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x46c5bc([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4d2e11)[_0x46c5bc([0x73,0x6f,0x72,0x74])]()[_0x46c5bc([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2dd8d7,_0x2a0b81])=>{_0x53d637(_0x2dd8d7),_0xe648(_0x2a0b81);}):_0x53d637(window[_0x46c5bc([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4d2e11));}return _0xe648(_0x30861e),_0x5d041b>>>0x0;}function _0x24d88d(_0x4996e2){return _0x4996e2[_0x46c5bc([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x46c5bc([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x46c5bc([0x30]));}function _0x54b945(_0x2174be){return _0x2174be[_0x46c5bc([0x73,0x70,0x6c,0x69,0x74])]('')[_0x46c5bc([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x46c5bc([0x6a,0x6f,0x69,0x6e])]('');}function _0x3e3471(){}function _0x46c5bc(_0x215f49){return _0x215f49['map'](_0x1da996=>String['fromCharCode'](_0x1da996))['join']('');}_0x3a957f(await _0x4b02e7());}(this);}['_initSchema'](){const _0x4e5829=this['editor']['model']['schema'];_0x4e5829['isRegistered']('imageBlock')&&_0x4e5829['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x4e5829['isRegistered']('imageInline')&&_0x4e5829['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x59c928=this['editor'];_0x59c928['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x59c928['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x22ca29=>_0x22ca29['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x243842=_0x59c928['commands']['get']('replaceImageSource');_0x243842&&this['listenTo'](_0x243842,'cleanupImage',(_0x378d44,[_0x295905,_0x16021f])=>{_0x295905['removeAttribute']('uploadcareImageId',_0x16021f);});}['_initConfig'](){const _0x486a13=this['editor']['config']['get']('uploadcare.uploader')||{},_0x324f42=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x4ec3cc(_0x4d5004['document'],'uc-config',{..._0x486a13,'pubkey':_0x324f42,'ctx-name':'uploader-'+this['ucContextId'],'sourceList':'','imgOnly':'true','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage'],'externalSourcesEmbedCss':'\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup\x20{\x20padding:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-menu\x20{\x20gap:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-footer\x20{\x20padding-top:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__separator\x20{\x20margin:\x200;\x20}\x0a\x09\x09\x09'}),this['_configElement']['iconHrefResolver']=_0x531f70=>{if('closeMax'==_0x531f70)return'#uc-icon-arrow-down';},_0x4d5004['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x4ec3cc(_0x4d5004['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),_0x4d5004['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x9fae34=this['editor']['commands']['get']('insertImage');_0x9fae34&&this['listenTo'](_0x9fae34,'execute',()=>{const _0x54eea9=this['editor']['model']['document']['selection']['getSelectedElement']();_0x54eea9&&_0x54eea9['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x54eea9);});});const _0x5960cc=this['editor']['commands']['get']('uploadcareImageReplace');_0x5960cc&&this['listenTo'](_0x5960cc,'execute',()=>{const _0x82fb02=this['editor']['model']['document']['selection']['getSelectedElement']();_0x82fb02&&_0x82fb02['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x82fb02);});});}}class tt extends _0x364ca2{static get['requires'](){return[o,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x1e2615){super(_0x1e2615),_0x1e2615['config']['define']('uploadcare.uploader.sourceList',[i['Local'],i['URL']]),_0x5b517e['defineComponents'](_0x5b517e),this['_defineLocale']();}['_defineLocale'](){const _0x48f41c=this['editor']['config']['get']('uploadcare.locale'),_0x2d97b9=this['editor']['locale']['contentLanguage'];_0x48f41c&&_0x5b517e['defineLocale'](_0x2d97b9,_0x48f41c);}}class ii extends _0xa01812{constructor(_0x2e127c){super(_0x2e127c);const t=_0x2e127c['t'],_0x521b0e=this['bindTemplate'],_0x5edf7d=new _0x51ef56();_0x5edf7d['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':[_0x5edf7d,{'text':_0x521b0e['to']('imageUploadProgress',_0x5d0f53=>t('Loading\x20image...')+'\x20('+(_0x5d0f53||0x0)+'%)')}]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}class ti extends _0xa01812{constructor(_0x468231){super(_0x468231);const t=_0x468231['t'];this['set']('errorType',null);const _0x1bd304=new _0x5dee32(_0x468231);_0x1bd304['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x1bd304['withText']=!0x0,_0x1bd304['class']='ck-button-action',_0x1bd304['on']('execute',()=>{this['fire']('retry');}),_0x1bd304['bind']('isVisible')['to'](this,'errorType',_0x521b08=>'NotFound'!==_0x521b08);const _0x100a97=new _0x19d957();_0x100a97['content']=_0x3bd909,_0x100a97['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x2c8990=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':[_0x100a97,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x2c8990['to']('errorType',_0x35ca72=>t('NotFound'!==_0x35ca72?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x1bd304]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}class ei extends _0xa01812{constructor(_0x1dcfc2,_0x712d35){super(_0x1dcfc2);const _0x3c3af9=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x712d35,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x3c3af9['to']('imageSrc')}});}}class X extends F{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x17a05c,_0x4fc5e9,_0x5e3a4d){super(_0x17a05c),this['_items']=this['createCollection'](),this['_loadingView']=new ii(_0x17a05c),this['_errorView']=new ti(_0x17a05c),this['_editingView']=new ei(_0x17a05c,_0x5e3a4d),this['_focusableView']=new _0xa01812(_0x17a05c),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x4fc5e9),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'],_0x33065b=>{this['_addUploadcareImageEditorListeners'](_0x33065b);});}),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'](_0x5c9fc8,_0x21dc7f){const _0x15a494='uc-cloud-image-editor',_0xf61864=_0x5c9fc8['querySelector'](_0x15a494);if(_0xf61864)return _0x21dc7f(_0xf61864);const _0x126903=new MutationObserver(_0x154c86=>{const _0x393843=_0x154c86['filter'](_0x5e7761=>_0x5e7761['target']===_0x5c9fc8&&_0x5e7761['addedNodes']['length']>0x0&&_0x5e7761['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x15a494);_0x393843['length']&&(_0x126903['disconnect'](),_0x21dc7f(_0x393843[0x0]['addedNodes'][0x0]));});_0x126903['observe'](_0x5c9fc8,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x10347b){_0x10347b['addEventListener']('apply',_0x11852f=>{this['fire']('apply',{'imageSrc':_0x11852f['detail']['cdnUrl']});}),_0x10347b['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class E extends/* #__PURE__ -- @preserve */
25
+ _0x2d7af9(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x445d14,_0x3088f9,_0x5e6d66){super(),this['_editor']=_0x445d14,this['_dialog']=_0x3088f9,this['_imageElement']=_0x5e6d66,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 _0x85ead0=this['_imageElement'],_0x2e6751=_0x85ead0['getAttribute']('uploadcareImageId'),_0x177e68=_0x85ead0['getAttribute']('src');if(_0x2e6751)await this['_loadImageInfo'](_0x2e6751,_0x177e68);else{if(this['_imageCache']['has'](_0x177e68)){const _0x2ed13d=this['_imageCache']['get'](_0x177e68);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x2ed13d['url'],this['imageDimension']=_0x2ed13d['dimension'],this['imageId']=_0x2ed13d['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x42ce96}=this['_editor'],t=_0x42ce96['t'],_0x478c1a=new X(_0x42ce96,this['imageStatus'],this['_attributes']);_0x478c1a['bind']('status')['to'](this,'imageStatus'),_0x478c1a['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x478c1a['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x478c1a['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x478c1a,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x348dcd,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x478c1a,'position':_0x5094ed['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x478c1a['focus']();},'onHide':()=>{_0x478c1a['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x193a30=>!A(_0x193a30,_0x478c1a['element'])}});}['_loadImageInfo'](_0xa40b79,_0x5c2d9c){return j['getInfo'](_0xa40b79,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x4a6ecf=>{const {width:_0x2f3f5f,height:_0x48938e}=_0x4a6ecf['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x5c2d9c,this['imageDimension']={'width':_0x2f3f5f,'height':_0x48938e},this['imageId']=_0xa40b79;})['catch'](_0x357ed6=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x357ed6['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x4db4e8,_0x311b02){return this['_getImageAsFile'](_0x4db4e8)['then'](_0xafd93c=>j['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['_editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':_0x311b02['signal'],'file':_0xafd93c,'onProgress':_0x12aac8=>{_0x12aac8&&_0x12aac8['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x12aac8['value']));}}))['then'](_0x30f026=>{const {width:_0x1e3dae,height:_0x4fdea8}=_0x30f026['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x30f026['cdnUrl'],this['imageDimension']={'width':_0x1e3dae,'height':_0x4fdea8},this['imageId']=_0x30f026['uuid'],this['imageUploadProgress']=null;const _0x19d754=_0x4db4e8['getAttribute']('src');this['_imageCache']['set'](_0x19d754,{'id':_0x30f026['uuid'],'url':_0x30f026['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x51e670=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x51e670['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x552877,_0x14a553){_0x552877['on']('apply',(_0x13d71d,_0x46673c)=>{this['_replaceImage'](_0x14a553,_0x46673c['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x552877['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x552877['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x24c448,_0x2d3dd6,_0x326707){const _0x2864c9=this['_editor'],{width:_0x386097,height:_0x4a59e1}=S(_0x2d3dd6,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x3d9525,imageSources:_0x532be4}=C(_0x2d3dd6,_0x386097);_0x2864c9['model']['change'](_0x1e5556=>{if('$graveyard'===_0x24c448['root']['rootName']){_0x2864c9['execute']('insertImage',{'imageType':_0x24c448['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x24c448['getAttributes']()),'uploadcareImageId':_0x326707,'src':_0x3d9525,'sources':_0x532be4,'width':_0x386097,'height':_0x4a59e1}});const _0x21f86e=_0x24c448['getChildren']();_0x24c448=_0x2864c9['model']['document']['selection']['getSelectedElement']();for(const _0x15d08a of _0x21f86e)_0x1e5556['append'](_0x1e5556['cloneElement'](_0x15d08a),_0x24c448);}else _0x1e5556['setSelection'](_0x24c448,'on'),_0x2864c9['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x24c448['getAttributes']()),'uploadcareImageId':_0x326707,'src':_0x3d9525,'sources':_0x532be4,'width':_0x386097,'height':_0x4a59e1},_0x24c448);_0x1e5556['setSelection'](_0x24c448,'on');});}async['_getImageAsFile'](_0xdf4513){const _0x563ba9=_0x4d5004['window'],_0x15c1e6=_0x4d5004['document']['location']['href'],_0xbb307e=new _0x563ba9['URL'](_0xdf4513['getAttribute']('src'),_0x15c1e6);if('data:'===_0xbb307e['protocol']){const _0x1a3de2=_0xbb307e['href']['split'](','),_0xa6e841=_0x1a3de2[0x0]['match'](/:(.*?);/)[0x1],_0x40df21=_0xa6e841['split']('/')[0x1],_0x14ea03=_0x563ba9['atob'](_0x1a3de2[_0x1a3de2['length']-0x1]);let _0xab05=_0x14ea03['length'];const _0x360b85=new _0x563ba9['Uint8Array'](_0xab05);for(;_0xab05--;)_0x360b85[_0xab05]=_0x14ea03['charCodeAt'](_0xab05);return new _0x563ba9['File']([_0x360b85],'image.'+_0x40df21,{'type':_0xa6e841});}const _0x38b0f9=_0xbb307e['href']['split']('/'),_0x3d0128=_0x38b0f9[_0x38b0f9['length']-0x1],_0x2dc44e=_0x3d0128['split']('.')[0x1];return _0x563ba9['fetch'](_0xbb307e['href'])['then'](_0x27d982=>_0x27d982['clone']()['blob']())['then'](_0x51e15d=>new _0x563ba9['File']([_0x51e15d],_0x3d0128,{'type':'image/'+_0x2dc44e}));}}class O extends _0xb237c4{['imageEditController'];static get['requires'](){return[_0x34599f];}['_isEditable'];constructor(_0x36629f){super(_0x36629f),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x2d5fd8){const _0x385b77=G(_0x2d5fd8);return _0x4e2dd5=>!(!_0x4e2dd5||!_0x4e2dd5['is']('element','imageBlock')&&!_0x4e2dd5['is']('element','imageInline'))&&(!!_0x4e2dd5['hasAttribute']('uploadcareImageId')||!!_0x4e2dd5['hasAttribute']('src')&&_0x385b77(_0x4e2dd5['getAttribute']('src')));}(_0x36629f['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x3efc42=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x3efc42);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x3b5531=this['editor']['model']['document']['selection']['getSelectedElement']();_0x3b5531&&(_0x3b5531['is']('element','imageBlock')||_0x3b5531['is']('element','imageInline'))&&(this['imageEditController']=new E(this['editor'],this['editor']['plugins']['get'](_0x34599f),_0x3b5531),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class R extends _0xb237c4{['refresh'](){const _0x38f653=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x38f653&&(_0x38f653['is']('element','imageBlock')||_0x38f653['is']('element','imageInline')));}['execute'](_0x2c9a01){const _0x21a522=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x3da160=>{_0x3da160['setAttributes'](_0x2c9a01,_0x21a522),_0x3da160['removeAttribute']('srcset',_0x21a522),_0x3da160['removeAttribute']('sizes',_0x21a522);});}}class m extends _0x364ca2{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[o,_0x149b1a,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x119e82}=this;_0x119e82['commands']['add']('uploadcareImageEdit',new O(_0x119e82)),_0x119e82['commands']['add']('uploadcareImageReplace',new R(_0x119e82));}}class g extends _0x364ca2{['_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 _0x48d07c=this['editor'];_0x48d07c['ui']['componentFactory']['add']('uploadcareImageEdit',_0x3b21b3=>{const _0xbb7227=_0x48d07c['commands']['get']('uploadcareImageEdit'),_0xb26342=new _0x5dee32(_0x3b21b3),t=_0x3b21b3['t'];return _0xb26342['set']({'icon':_0x348dcd,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0xb26342['bind']('isEnabled')['to'](_0xbb7227),_0xb26342['bind']('isOn')['to'](_0xbb7227,'isActive'),this['listenTo'](_0xb26342,'execute',()=>{_0x48d07c['execute']('uploadcareImageEdit'),_0x48d07c['editing']['view']['focus']();}),_0xb26342;}),this['_initConfig']();}['_initConfig'](){const _0x597b8e=_0x4ec3cc(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x597b8e),this['listenTo'](this['editor'],'destroy',()=>{_0x597b8e['remove']();});}}class et extends _0x364ca2{static get['pluginName'](){return'UploadcareImageEdit';}static get['requires'](){return[m,g];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{tt as Uploadcare,w as UploadcareCommand,o as UploadcareEditing,et as UploadcareImageEdit,O as UploadcareImageEditCommand,m as UploadcareImageEditEditing,g as UploadcareImageEditUI,e as UploadcareUI,f as UploadcareUploadAdapter};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'af':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x2e5d4a=>0x1!=_0x2e5d4a}};
23
+ export default{'af':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x157536=>0x1!=_0x157536}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x7f84d2=>{const {af:{dictionary:_0x89feae,getPluralForm:_0x188e36}}={'af':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x1053d8=>0x1!=_0x1053d8}};_0x7f84d2['af']||={'dictionary':{},'getPluralForm':null},_0x7f84d2['af']['dictionary']=Object['assign'](_0x7f84d2['af']['dictionary'],_0x89feae),_0x7f84d2['af']['getPluralForm']=_0x188e36;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x1a0edc=>{const {af:{dictionary:_0x169911,getPluralForm:_0x4b277a}}={'af':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x44b460=>0x1!=_0x44b460}};_0x1a0edc['af']||={'dictionary':{},'getPluralForm':null},_0x1a0edc['af']['dictionary']=Object['assign'](_0x1a0edc['af']['dictionary'],_0x169911),_0x1a0edc['af']['getPluralForm']=_0x4b277a;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'ar':{'dictionary':{'Insert\x20with\x20Dropbox':'إدراج\x20باستخدام\x20Dropbox','Replace\x20with\x20Dropbox':'استبدال\x20باستخدام\x20Dropbox','With\x20Dropbox':'باستخدام\x20Dropbox','Insert\x20with\x20Facebook':'إدراج\x20باستخدام\x20Facebook','Replace\x20with\x20Facebook':'استبدال\x20باستخدام\x20Facebook','With\x20Facebook':'باستخدام\x20Facebook','Insert\x20with\x20Google\x20Drive':'إدراج\x20باستخدام\x20Google\x20Drive','Replace\x20with\x20Google\x20Drive':'استبدال\x20باستخدام\x20Google\x20Drive','With\x20Google\x20Drive':'باستخدام\x20Google\x20Drive','Insert\x20with\x20Google\x20Photos':'إدراج\x20باستخدام\x20Google\x20Photos','Replace\x20with\x20Google\x20Photos':'استبدال\x20باستخدام\x20Google\x20Photos','With\x20Google\x20Photos':'باستخدام\x20Google\x20Photos','Insert\x20with\x20OneDrive':'إدراج\x20باستخدام\x20OneDrive','Replace\x20with\x20OneDrive':'استبدال\x20باستخدام\x20OneDrive','With\x20OneDrive':'باستخدام\x20OneDrive','Replace\x20via\x20URL':'استبدال\x20باستخدام\x20رابط','Edit\x20Image\x20(Uploadcare)':'تحرير\x20الصورة','Loading\x20image...':'جارٍ\x20تحميل\x20الصورة...','Unable\x20to\x20load':'تعذر\x20التحميل','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'تعذّر\x20علينا\x20تحميل\x20الصورة\x20بسبب\x20مشكلات\x20في\x20اتصال\x20الشبكة.','Try\x20again\x20(Uploadcare)':'حاول\x20مجددًا','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':'لم\x20نعثر\x20على\x20الصورة.\x20ربما\x20حُذف\x20مصدرها.'},'getPluralForm':_0x11448c=>0x0==_0x11448c?0x0:0x1==_0x11448c?0x1:0x2==_0x11448c?0x2:_0x11448c%0x64>=0x3&&_0x11448c%0x64<=0xa?0x3:_0x11448c%0x64>=0xb?0x4:0x5}};
23
+ export default{'ar':{'dictionary':{'Insert\x20with\x20Dropbox':'إدراج\x20باستخدام\x20Dropbox','Replace\x20with\x20Dropbox':'استبدال\x20باستخدام\x20Dropbox','With\x20Dropbox':'باستخدام\x20Dropbox','Insert\x20with\x20Facebook':'إدراج\x20باستخدام\x20Facebook','Replace\x20with\x20Facebook':'استبدال\x20باستخدام\x20Facebook','With\x20Facebook':'باستخدام\x20Facebook','Insert\x20with\x20Google\x20Drive':'إدراج\x20باستخدام\x20Google\x20Drive','Replace\x20with\x20Google\x20Drive':'استبدال\x20باستخدام\x20Google\x20Drive','With\x20Google\x20Drive':'باستخدام\x20Google\x20Drive','Insert\x20with\x20Google\x20Photos':'إدراج\x20باستخدام\x20Google\x20Photos','Replace\x20with\x20Google\x20Photos':'استبدال\x20باستخدام\x20Google\x20Photos','With\x20Google\x20Photos':'باستخدام\x20Google\x20Photos','Insert\x20with\x20OneDrive':'إدراج\x20باستخدام\x20OneDrive','Replace\x20with\x20OneDrive':'استبدال\x20باستخدام\x20OneDrive','With\x20OneDrive':'باستخدام\x20OneDrive','Replace\x20via\x20URL':'استبدال\x20باستخدام\x20رابط','Edit\x20Image\x20(Uploadcare)':'تحرير\x20الصورة','Loading\x20image...':'جارٍ\x20تحميل\x20الصورة...','Unable\x20to\x20load':'تعذر\x20التحميل','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'تعذّر\x20علينا\x20تحميل\x20الصورة\x20بسبب\x20مشكلات\x20في\x20اتصال\x20الشبكة.','Try\x20again\x20(Uploadcare)':'حاول\x20مجددًا','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':'لم\x20نعثر\x20على\x20الصورة.\x20ربما\x20حُذف\x20مصدرها.'},'getPluralForm':_0x1ad47c=>0x0==_0x1ad47c?0x0:0x1==_0x1ad47c?0x1:0x2==_0x1ad47c?0x2:_0x1ad47c%0x64>=0x3&&_0x1ad47c%0x64<=0xa?0x3:_0x1ad47c%0x64>=0xb?0x4:0x5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x23ee9e=>{const {ar:{dictionary:_0x52baa9,getPluralForm:_0x29537d}}={'ar':{'dictionary':{'Insert\x20with\x20Dropbox':'إدراج\x20باستخدام\x20Dropbox','Replace\x20with\x20Dropbox':'استبدال\x20باستخدام\x20Dropbox','With\x20Dropbox':'باستخدام\x20Dropbox','Insert\x20with\x20Facebook':'إدراج\x20باستخدام\x20Facebook','Replace\x20with\x20Facebook':'استبدال\x20باستخدام\x20Facebook','With\x20Facebook':'باستخدام\x20Facebook','Insert\x20with\x20Google\x20Drive':'إدراج\x20باستخدام\x20Google\x20Drive','Replace\x20with\x20Google\x20Drive':'استبدال\x20باستخدام\x20Google\x20Drive','With\x20Google\x20Drive':'باستخدام\x20Google\x20Drive','Insert\x20with\x20Google\x20Photos':'إدراج\x20باستخدام\x20Google\x20Photos','Replace\x20with\x20Google\x20Photos':'استبدال\x20باستخدام\x20Google\x20Photos','With\x20Google\x20Photos':'باستخدام\x20Google\x20Photos','Insert\x20with\x20OneDrive':'إدراج\x20باستخدام\x20OneDrive','Replace\x20with\x20OneDrive':'استبدال\x20باستخدام\x20OneDrive','With\x20OneDrive':'باستخدام\x20OneDrive','Replace\x20via\x20URL':'استبدال\x20باستخدام\x20رابط','Edit\x20Image\x20(Uploadcare)':'تحرير\x20الصورة','Loading\x20image...':'جارٍ\x20تحميل\x20الصورة...','Unable\x20to\x20load':'تعذر\x20التحميل','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'تعذّر\x20علينا\x20تحميل\x20الصورة\x20بسبب\x20مشكلات\x20في\x20اتصال\x20الشبكة.','Try\x20again\x20(Uploadcare)':'حاول\x20مجددًا','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':'لم\x20نعثر\x20على\x20الصورة.\x20ربما\x20حُذف\x20مصدرها.'},'getPluralForm':_0x1ee856=>0x0==_0x1ee856?0x0:0x1==_0x1ee856?0x1:0x2==_0x1ee856?0x2:_0x1ee856%0x64>=0x3&&_0x1ee856%0x64<=0xa?0x3:_0x1ee856%0x64>=0xb?0x4:0x5}};_0x23ee9e['ar']||={'dictionary':{},'getPluralForm':null},_0x23ee9e['ar']['dictionary']=Object['assign'](_0x23ee9e['ar']['dictionary'],_0x52baa9),_0x23ee9e['ar']['getPluralForm']=_0x29537d;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x2c35bf=>{const {ar:{dictionary:_0x3217af,getPluralForm:_0x1356dd}}={'ar':{'dictionary':{'Insert\x20with\x20Dropbox':'إدراج\x20باستخدام\x20Dropbox','Replace\x20with\x20Dropbox':'استبدال\x20باستخدام\x20Dropbox','With\x20Dropbox':'باستخدام\x20Dropbox','Insert\x20with\x20Facebook':'إدراج\x20باستخدام\x20Facebook','Replace\x20with\x20Facebook':'استبدال\x20باستخدام\x20Facebook','With\x20Facebook':'باستخدام\x20Facebook','Insert\x20with\x20Google\x20Drive':'إدراج\x20باستخدام\x20Google\x20Drive','Replace\x20with\x20Google\x20Drive':'استبدال\x20باستخدام\x20Google\x20Drive','With\x20Google\x20Drive':'باستخدام\x20Google\x20Drive','Insert\x20with\x20Google\x20Photos':'إدراج\x20باستخدام\x20Google\x20Photos','Replace\x20with\x20Google\x20Photos':'استبدال\x20باستخدام\x20Google\x20Photos','With\x20Google\x20Photos':'باستخدام\x20Google\x20Photos','Insert\x20with\x20OneDrive':'إدراج\x20باستخدام\x20OneDrive','Replace\x20with\x20OneDrive':'استبدال\x20باستخدام\x20OneDrive','With\x20OneDrive':'باستخدام\x20OneDrive','Replace\x20via\x20URL':'استبدال\x20باستخدام\x20رابط','Edit\x20Image\x20(Uploadcare)':'تحرير\x20الصورة','Loading\x20image...':'جارٍ\x20تحميل\x20الصورة...','Unable\x20to\x20load':'تعذر\x20التحميل','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'تعذّر\x20علينا\x20تحميل\x20الصورة\x20بسبب\x20مشكلات\x20في\x20اتصال\x20الشبكة.','Try\x20again\x20(Uploadcare)':'حاول\x20مجددًا','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':'لم\x20نعثر\x20على\x20الصورة.\x20ربما\x20حُذف\x20مصدرها.'},'getPluralForm':_0x22b3a9=>0x0==_0x22b3a9?0x0:0x1==_0x22b3a9?0x1:0x2==_0x22b3a9?0x2:_0x22b3a9%0x64>=0x3&&_0x22b3a9%0x64<=0xa?0x3:_0x22b3a9%0x64>=0xb?0x4:0x5}};_0x2c35bf['ar']||={'dictionary':{},'getPluralForm':null},_0x2c35bf['ar']['dictionary']=Object['assign'](_0x2c35bf['ar']['dictionary'],_0x3217af),_0x2c35bf['ar']['getPluralForm']=_0x1356dd;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'ast':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x5c364c=>0x1!=_0x5c364c}};
23
+ export default{'ast':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x4aab68=>0x1!=_0x4aab68}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x179281=>{const {ast:{dictionary:_0x130705,getPluralForm:_0x34f511}}={'ast':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x5f5439=>0x1!=_0x5f5439}};_0x179281['ast']||={'dictionary':{},'getPluralForm':null},_0x179281['ast']['dictionary']=Object['assign'](_0x179281['ast']['dictionary'],_0x130705),_0x179281['ast']['getPluralForm']=_0x34f511;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x633312=>{const {ast:{dictionary:_0x3f9a9d,getPluralForm:_0x347a1d}}={'ast':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x1243f7=>0x1!=_0x1243f7}};_0x633312['ast']||={'dictionary':{},'getPluralForm':null},_0x633312['ast']['dictionary']=Object['assign'](_0x633312['ast']['dictionary'],_0x3f9a9d),_0x633312['ast']['getPluralForm']=_0x347a1d;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'az':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x5d5ef0=>0x1!=_0x5d5ef0}};
23
+ export default{'az':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x3d114a=>0x1!=_0x3d114a}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x5637f8=>{const {az:{dictionary:_0x5adc9f,getPluralForm:_0x1b878b}}={'az':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x308bff=>0x1!=_0x308bff}};_0x5637f8['az']||={'dictionary':{},'getPluralForm':null},_0x5637f8['az']['dictionary']=Object['assign'](_0x5637f8['az']['dictionary'],_0x5adc9f),_0x5637f8['az']['getPluralForm']=_0x1b878b;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x3f7365=>{const {az:{dictionary:_0x470027,getPluralForm:_0x51a0ef}}={'az':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x344f75=>0x1!=_0x344f75}};_0x3f7365['az']||={'dictionary':{},'getPluralForm':null},_0x3f7365['az']['dictionary']=Object['assign'](_0x3f7365['az']['dictionary'],_0x470027),_0x3f7365['az']['getPluralForm']=_0x51a0ef;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'be':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x39d683=>_0x39d683%0xa==0x1&&_0x39d683%0x64!=0xb?0x0:_0x39d683%0xa>=0x2&&_0x39d683%0xa<=0x4&&(_0x39d683%0x64<0xa||_0x39d683%0x64>=0x14)?0x1:0x2}};
23
+ export default{'be':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x1c6a22=>_0x1c6a22%0xa==0x1&&_0x1c6a22%0x64!=0xb?0x0:_0x1c6a22%0xa>=0x2&&_0x1c6a22%0xa<=0x4&&(_0x1c6a22%0x64<0xa||_0x1c6a22%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x3d0622=>{const {be:{dictionary:_0x2107b4,getPluralForm:_0x2e0672}}={'be':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x45d3e2=>_0x45d3e2%0xa==0x1&&_0x45d3e2%0x64!=0xb?0x0:_0x45d3e2%0xa>=0x2&&_0x45d3e2%0xa<=0x4&&(_0x45d3e2%0x64<0xa||_0x45d3e2%0x64>=0x14)?0x1:0x2}};_0x3d0622['be']||={'dictionary':{},'getPluralForm':null},_0x3d0622['be']['dictionary']=Object['assign'](_0x3d0622['be']['dictionary'],_0x2107b4),_0x3d0622['be']['getPluralForm']=_0x2e0672;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x3d569c=>{const {be:{dictionary:_0x4c85a9,getPluralForm:_0x552ae8}}={'be':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x2f61de=>_0x2f61de%0xa==0x1&&_0x2f61de%0x64!=0xb?0x0:_0x2f61de%0xa>=0x2&&_0x2f61de%0xa<=0x4&&(_0x2f61de%0x64<0xa||_0x2f61de%0x64>=0x14)?0x1:0x2}};_0x3d569c['be']||={'dictionary':{},'getPluralForm':null},_0x3d569c['be']['dictionary']=Object['assign'](_0x3d569c['be']['dictionary'],_0x4c85a9),_0x3d569c['be']['getPluralForm']=_0x552ae8;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'bg':{'dictionary':{'Insert\x20with\x20Dropbox':'Вмъкни\x20с\x20Dropbox','Replace\x20with\x20Dropbox':'Замени\x20с\x20Dropbox','With\x20Dropbox':'С\x20Dropbox','Insert\x20with\x20Facebook':'Вмъкни\x20с\x20Facebook','Replace\x20with\x20Facebook':'Замени\x20с\x20Facebook','With\x20Facebook':'С\x20Facebook','Insert\x20with\x20Google\x20Drive':'Вмъкни\x20с\x20Google\x20Drive','Replace\x20with\x20Google\x20Drive':'Замени\x20с\x20Google\x20Drive','With\x20Google\x20Drive':'С\x20Google\x20Drive','Insert\x20with\x20Google\x20Photos':'Вмъкни\x20с\x20Google\x20Photos','Replace\x20with\x20Google\x20Photos':'Замени\x20с\x20Google\x20Photos','With\x20Google\x20Photos':'С\x20Google\x20Photos','Insert\x20with\x20OneDrive':'Вмъкни\x20с\x20OneDrive','Replace\x20with\x20OneDrive':'Замени\x20с\x20OneDrive','With\x20OneDrive':'С\x20OneDrive','Replace\x20via\x20URL':'Замени\x20през\x20URL','Edit\x20Image\x20(Uploadcare)':'Редактиране\x20на\x20изображението','Loading\x20image...':'Изображението\x20се\x20зарежда...','Unable\x20to\x20load':'Не\x20може\x20да\x20зареди','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'Не\x20успяхме\x20да\x20заредим\x20изображението\x20поради\x20проблем\x20с\x20интернет\x20връзката.','Try\x20again\x20(Uploadcare)':'Опитайте\x20отново','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':'Изображението\x20не\x20беше\x20намерено.\x20Източникът\x20му\x20може\x20да\x20е\x20премахнат.'},'getPluralForm':_0x1d4973=>0x1!=_0x1d4973}};
23
+ export default{'bg':{'dictionary':{'Insert\x20with\x20Dropbox':'Вмъкни\x20с\x20Dropbox','Replace\x20with\x20Dropbox':'Замени\x20с\x20Dropbox','With\x20Dropbox':'С\x20Dropbox','Insert\x20with\x20Facebook':'Вмъкни\x20с\x20Facebook','Replace\x20with\x20Facebook':'Замени\x20с\x20Facebook','With\x20Facebook':'С\x20Facebook','Insert\x20with\x20Google\x20Drive':'Вмъкни\x20с\x20Google\x20Drive','Replace\x20with\x20Google\x20Drive':'Замени\x20с\x20Google\x20Drive','With\x20Google\x20Drive':'С\x20Google\x20Drive','Insert\x20with\x20Google\x20Photos':'Вмъкни\x20с\x20Google\x20Photos','Replace\x20with\x20Google\x20Photos':'Замени\x20с\x20Google\x20Photos','With\x20Google\x20Photos':'С\x20Google\x20Photos','Insert\x20with\x20OneDrive':'Вмъкни\x20с\x20OneDrive','Replace\x20with\x20OneDrive':'Замени\x20с\x20OneDrive','With\x20OneDrive':'С\x20OneDrive','Replace\x20via\x20URL':'Замени\x20през\x20URL','Edit\x20Image\x20(Uploadcare)':'Редактиране\x20на\x20изображението','Loading\x20image...':'Изображението\x20се\x20зарежда...','Unable\x20to\x20load':'Не\x20може\x20да\x20зареди','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'Не\x20успяхме\x20да\x20заредим\x20изображението\x20поради\x20проблем\x20с\x20интернет\x20връзката.','Try\x20again\x20(Uploadcare)':'Опитайте\x20отново','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':'Изображението\x20не\x20беше\x20намерено.\x20Източникът\x20му\x20може\x20да\x20е\x20премахнат.'},'getPluralForm':_0x51c317=>0x1!=_0x51c317}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x3e2dfe=>{const {bg:{dictionary:_0x143fcc,getPluralForm:_0x6a895}}={'bg':{'dictionary':{'Insert\x20with\x20Dropbox':'Вмъкни\x20с\x20Dropbox','Replace\x20with\x20Dropbox':'Замени\x20с\x20Dropbox','With\x20Dropbox':'С\x20Dropbox','Insert\x20with\x20Facebook':'Вмъкни\x20с\x20Facebook','Replace\x20with\x20Facebook':'Замени\x20с\x20Facebook','With\x20Facebook':'С\x20Facebook','Insert\x20with\x20Google\x20Drive':'Вмъкни\x20с\x20Google\x20Drive','Replace\x20with\x20Google\x20Drive':'Замени\x20с\x20Google\x20Drive','With\x20Google\x20Drive':'С\x20Google\x20Drive','Insert\x20with\x20Google\x20Photos':'Вмъкни\x20с\x20Google\x20Photos','Replace\x20with\x20Google\x20Photos':'Замени\x20с\x20Google\x20Photos','With\x20Google\x20Photos':'С\x20Google\x20Photos','Insert\x20with\x20OneDrive':'Вмъкни\x20с\x20OneDrive','Replace\x20with\x20OneDrive':'Замени\x20с\x20OneDrive','With\x20OneDrive':'С\x20OneDrive','Replace\x20via\x20URL':'Замени\x20през\x20URL','Edit\x20Image\x20(Uploadcare)':'Редактиране\x20на\x20изображението','Loading\x20image...':'Изображението\x20се\x20зарежда...','Unable\x20to\x20load':'Не\x20може\x20да\x20зареди','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'Не\x20успяхме\x20да\x20заредим\x20изображението\x20поради\x20проблем\x20с\x20интернет\x20връзката.','Try\x20again\x20(Uploadcare)':'Опитайте\x20отново','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':'Изображението\x20не\x20беше\x20намерено.\x20Източникът\x20му\x20може\x20да\x20е\x20премахнат.'},'getPluralForm':_0x1ae39b=>0x1!=_0x1ae39b}};_0x3e2dfe['bg']||={'dictionary':{},'getPluralForm':null},_0x3e2dfe['bg']['dictionary']=Object['assign'](_0x3e2dfe['bg']['dictionary'],_0x143fcc),_0x3e2dfe['bg']['getPluralForm']=_0x6a895;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x2a11e2=>{const {bg:{dictionary:_0x75bed7,getPluralForm:_0x468206}}={'bg':{'dictionary':{'Insert\x20with\x20Dropbox':'Вмъкни\x20с\x20Dropbox','Replace\x20with\x20Dropbox':'Замени\x20с\x20Dropbox','With\x20Dropbox':'С\x20Dropbox','Insert\x20with\x20Facebook':'Вмъкни\x20с\x20Facebook','Replace\x20with\x20Facebook':'Замени\x20с\x20Facebook','With\x20Facebook':'С\x20Facebook','Insert\x20with\x20Google\x20Drive':'Вмъкни\x20с\x20Google\x20Drive','Replace\x20with\x20Google\x20Drive':'Замени\x20с\x20Google\x20Drive','With\x20Google\x20Drive':'С\x20Google\x20Drive','Insert\x20with\x20Google\x20Photos':'Вмъкни\x20с\x20Google\x20Photos','Replace\x20with\x20Google\x20Photos':'Замени\x20с\x20Google\x20Photos','With\x20Google\x20Photos':'С\x20Google\x20Photos','Insert\x20with\x20OneDrive':'Вмъкни\x20с\x20OneDrive','Replace\x20with\x20OneDrive':'Замени\x20с\x20OneDrive','With\x20OneDrive':'С\x20OneDrive','Replace\x20via\x20URL':'Замени\x20през\x20URL','Edit\x20Image\x20(Uploadcare)':'Редактиране\x20на\x20изображението','Loading\x20image...':'Изображението\x20се\x20зарежда...','Unable\x20to\x20load':'Не\x20може\x20да\x20зареди','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'Не\x20успяхме\x20да\x20заредим\x20изображението\x20поради\x20проблем\x20с\x20интернет\x20връзката.','Try\x20again\x20(Uploadcare)':'Опитайте\x20отново','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':'Изображението\x20не\x20беше\x20намерено.\x20Източникът\x20му\x20може\x20да\x20е\x20премахнат.'},'getPluralForm':_0x4a0ed4=>0x1!=_0x4a0ed4}};_0x2a11e2['bg']||={'dictionary':{},'getPluralForm':null},_0x2a11e2['bg']['dictionary']=Object['assign'](_0x2a11e2['bg']['dictionary'],_0x75bed7),_0x2a11e2['bg']['getPluralForm']=_0x468206;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'bn':{'dictionary':{'Insert\x20with\x20Dropbox':'Dropbox\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20Dropbox':'Dropbox\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20Dropbox':'Dropbox\x20দিয়ে','Insert\x20with\x20Facebook':'Facebook\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20Facebook':'Facebook\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20Facebook':'Facebook\x20দিয়ে','Insert\x20with\x20Google\x20Drive':'Google\x20Drive\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20Google\x20Drive':'Google\x20Drive\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20Google\x20Drive':'Google\x20Drive\x20দিয়ে','Insert\x20with\x20Google\x20Photos':'Google\x20Photos\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20Google\x20Photos':'Google\x20Photos\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20Google\x20Photos':'Google\x20Photos\x20দিয়ে','Insert\x20with\x20OneDrive':'OneDrive\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20OneDrive':'OneDrive\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20OneDrive':'OneDrive\x20দিয়ে','Replace\x20via\x20URL':'URL\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','Edit\x20Image\x20(Uploadcare)':'ছবি\x20এডিট\x20করুন','Loading\x20image...':'ছবি\x20লোড\x20হচ্ছে...','Unable\x20to\x20load':'লোড\x20করা\x20যাচ্ছে\x20না','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'নেটওয়ার্ক\x20সংযোগের\x20সমস্যার\x20কারণে\x20আমরা\x20ছবিটি\x20লোড\x20করতে\x20পারিনি।','Try\x20again\x20(Uploadcare)':'আবার\x20চেষ্টা\x20করুন','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':'ছবিটি\x20পাওয়া\x20যায়নি।\x20এর\x20উৎস\x20হয়তো\x20মুছে\x20ফেলা\x20হয়েছে।'},'getPluralForm':_0xa53a3f=>0x1!=_0xa53a3f}};
23
+ export default{'bn':{'dictionary':{'Insert\x20with\x20Dropbox':'Dropbox\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20Dropbox':'Dropbox\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20Dropbox':'Dropbox\x20দিয়ে','Insert\x20with\x20Facebook':'Facebook\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20Facebook':'Facebook\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20Facebook':'Facebook\x20দিয়ে','Insert\x20with\x20Google\x20Drive':'Google\x20Drive\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20Google\x20Drive':'Google\x20Drive\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20Google\x20Drive':'Google\x20Drive\x20দিয়ে','Insert\x20with\x20Google\x20Photos':'Google\x20Photos\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20Google\x20Photos':'Google\x20Photos\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20Google\x20Photos':'Google\x20Photos\x20দিয়ে','Insert\x20with\x20OneDrive':'OneDrive\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20OneDrive':'OneDrive\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20OneDrive':'OneDrive\x20দিয়ে','Replace\x20via\x20URL':'URL\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','Edit\x20Image\x20(Uploadcare)':'ছবি\x20এডিট\x20করুন','Loading\x20image...':'ছবি\x20লোড\x20হচ্ছে...','Unable\x20to\x20load':'লোড\x20করা\x20যাচ্ছে\x20না','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'নেটওয়ার্ক\x20সংযোগের\x20সমস্যার\x20কারণে\x20আমরা\x20ছবিটি\x20লোড\x20করতে\x20পারিনি।','Try\x20again\x20(Uploadcare)':'আবার\x20চেষ্টা\x20করুন','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':'ছবিটি\x20পাওয়া\x20যায়নি।\x20এর\x20উৎস\x20হয়তো\x20মুছে\x20ফেলা\x20হয়েছে।'},'getPluralForm':_0x3ff386=>0x1!=_0x3ff386}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x3dadfe=>{const {bn:{dictionary:_0x24c589,getPluralForm:_0x355478}}={'bn':{'dictionary':{'Insert\x20with\x20Dropbox':'Dropbox\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20Dropbox':'Dropbox\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20Dropbox':'Dropbox\x20দিয়ে','Insert\x20with\x20Facebook':'Facebook\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20Facebook':'Facebook\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20Facebook':'Facebook\x20দিয়ে','Insert\x20with\x20Google\x20Drive':'Google\x20Drive\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20Google\x20Drive':'Google\x20Drive\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20Google\x20Drive':'Google\x20Drive\x20দিয়ে','Insert\x20with\x20Google\x20Photos':'Google\x20Photos\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20Google\x20Photos':'Google\x20Photos\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20Google\x20Photos':'Google\x20Photos\x20দিয়ে','Insert\x20with\x20OneDrive':'OneDrive\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20OneDrive':'OneDrive\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20OneDrive':'OneDrive\x20দিয়ে','Replace\x20via\x20URL':'URL\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','Edit\x20Image\x20(Uploadcare)':'ছবি\x20এডিট\x20করুন','Loading\x20image...':'ছবি\x20লোড\x20হচ্ছে...','Unable\x20to\x20load':'লোড\x20করা\x20যাচ্ছে\x20না','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'নেটওয়ার্ক\x20সংযোগের\x20সমস্যার\x20কারণে\x20আমরা\x20ছবিটি\x20লোড\x20করতে\x20পারিনি।','Try\x20again\x20(Uploadcare)':'আবার\x20চেষ্টা\x20করুন','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':'ছবিটি\x20পাওয়া\x20যায়নি।\x20এর\x20উৎস\x20হয়তো\x20মুছে\x20ফেলা\x20হয়েছে।'},'getPluralForm':_0x290f25=>0x1!=_0x290f25}};_0x3dadfe['bn']||={'dictionary':{},'getPluralForm':null},_0x3dadfe['bn']['dictionary']=Object['assign'](_0x3dadfe['bn']['dictionary'],_0x24c589),_0x3dadfe['bn']['getPluralForm']=_0x355478;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x31aba6=>{const {bn:{dictionary:_0x5336ed,getPluralForm:_0x189e9a}}={'bn':{'dictionary':{'Insert\x20with\x20Dropbox':'Dropbox\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20Dropbox':'Dropbox\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20Dropbox':'Dropbox\x20দিয়ে','Insert\x20with\x20Facebook':'Facebook\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20Facebook':'Facebook\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20Facebook':'Facebook\x20দিয়ে','Insert\x20with\x20Google\x20Drive':'Google\x20Drive\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20Google\x20Drive':'Google\x20Drive\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20Google\x20Drive':'Google\x20Drive\x20দিয়ে','Insert\x20with\x20Google\x20Photos':'Google\x20Photos\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20Google\x20Photos':'Google\x20Photos\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20Google\x20Photos':'Google\x20Photos\x20দিয়ে','Insert\x20with\x20OneDrive':'OneDrive\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20OneDrive':'OneDrive\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20OneDrive':'OneDrive\x20দিয়ে','Replace\x20via\x20URL':'URL\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','Edit\x20Image\x20(Uploadcare)':'ছবি\x20এডিট\x20করুন','Loading\x20image...':'ছবি\x20লোড\x20হচ্ছে...','Unable\x20to\x20load':'লোড\x20করা\x20যাচ্ছে\x20না','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'নেটওয়ার্ক\x20সংযোগের\x20সমস্যার\x20কারণে\x20আমরা\x20ছবিটি\x20লোড\x20করতে\x20পারিনি।','Try\x20again\x20(Uploadcare)':'আবার\x20চেষ্টা\x20করুন','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':'ছবিটি\x20পাওয়া\x20যায়নি।\x20এর\x20উৎস\x20হয়তো\x20মুছে\x20ফেলা\x20হয়েছে।'},'getPluralForm':_0x9e951e=>0x1!=_0x9e951e}};_0x31aba6['bn']||={'dictionary':{},'getPluralForm':null},_0x31aba6['bn']['dictionary']=Object['assign'](_0x31aba6['bn']['dictionary'],_0x5336ed),_0x31aba6['bn']['getPluralForm']=_0x189e9a;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'bs':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x3b61b2=>_0x3b61b2%0xa==0x1&&_0x3b61b2%0x64!=0xb?0x0:_0x3b61b2%0xa>=0x2&&_0x3b61b2%0xa<=0x4&&(_0x3b61b2%0x64<0xa||_0x3b61b2%0x64>=0x14)?0x1:0x2}};
23
+ export default{'bs':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x39299f=>_0x39299f%0xa==0x1&&_0x39299f%0x64!=0xb?0x0:_0x39299f%0xa>=0x2&&_0x39299f%0xa<=0x4&&(_0x39299f%0x64<0xa||_0x39299f%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x334fc5=>{const {bs:{dictionary:_0x56b3bf,getPluralForm:_0x787235}}={'bs':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x3471e7=>_0x3471e7%0xa==0x1&&_0x3471e7%0x64!=0xb?0x0:_0x3471e7%0xa>=0x2&&_0x3471e7%0xa<=0x4&&(_0x3471e7%0x64<0xa||_0x3471e7%0x64>=0x14)?0x1:0x2}};_0x334fc5['bs']||={'dictionary':{},'getPluralForm':null},_0x334fc5['bs']['dictionary']=Object['assign'](_0x334fc5['bs']['dictionary'],_0x56b3bf),_0x334fc5['bs']['getPluralForm']=_0x787235;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x503dc1=>{const {bs:{dictionary:_0x548d18,getPluralForm:_0x470b47}}={'bs':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0xe11473=>_0xe11473%0xa==0x1&&_0xe11473%0x64!=0xb?0x0:_0xe11473%0xa>=0x2&&_0xe11473%0xa<=0x4&&(_0xe11473%0x64<0xa||_0xe11473%0x64>=0x14)?0x1:0x2}};_0x503dc1['bs']||={'dictionary':{},'getPluralForm':null},_0x503dc1['bs']['dictionary']=Object['assign'](_0x503dc1['bs']['dictionary'],_0x548d18),_0x503dc1['bs']['getPluralForm']=_0x470b47;})(window['CKEDITOR_TRANSLATIONS']||={});