@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-20250327.0 → 0.0.0-nightly-20250329.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 (171) 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/bg.js +1 -1
  12. package/dist/translations/bg.umd.js +1 -1
  13. package/dist/translations/bn.js +1 -1
  14. package/dist/translations/bn.umd.js +1 -1
  15. package/dist/translations/bs.js +1 -1
  16. package/dist/translations/bs.umd.js +1 -1
  17. package/dist/translations/ca.js +1 -1
  18. package/dist/translations/ca.umd.js +1 -1
  19. package/dist/translations/cs.js +1 -1
  20. package/dist/translations/cs.umd.js +1 -1
  21. package/dist/translations/da.js +1 -1
  22. package/dist/translations/da.umd.js +1 -1
  23. package/dist/translations/de-ch.js +1 -1
  24. package/dist/translations/de-ch.umd.js +1 -1
  25. package/dist/translations/de.js +1 -1
  26. package/dist/translations/de.umd.js +1 -1
  27. package/dist/translations/el.js +1 -1
  28. package/dist/translations/el.umd.js +1 -1
  29. package/dist/translations/en-au.js +1 -1
  30. package/dist/translations/en-au.umd.js +1 -1
  31. package/dist/translations/en-gb.js +1 -1
  32. package/dist/translations/en-gb.umd.js +1 -1
  33. package/dist/translations/en.js +1 -1
  34. package/dist/translations/en.umd.js +1 -1
  35. package/dist/translations/eo.js +1 -1
  36. package/dist/translations/eo.umd.js +1 -1
  37. package/dist/translations/es-co.js +1 -1
  38. package/dist/translations/es-co.umd.js +1 -1
  39. package/dist/translations/es.js +1 -1
  40. package/dist/translations/es.umd.js +1 -1
  41. package/dist/translations/et.js +1 -1
  42. package/dist/translations/et.umd.js +1 -1
  43. package/dist/translations/eu.js +1 -1
  44. package/dist/translations/eu.umd.js +1 -1
  45. package/dist/translations/fa.js +1 -1
  46. package/dist/translations/fa.umd.js +1 -1
  47. package/dist/translations/fi.js +1 -1
  48. package/dist/translations/fi.umd.js +1 -1
  49. package/dist/translations/fr.js +1 -1
  50. package/dist/translations/fr.umd.js +1 -1
  51. package/dist/translations/gl.js +1 -1
  52. package/dist/translations/gl.umd.js +1 -1
  53. package/dist/translations/gu.js +1 -1
  54. package/dist/translations/gu.umd.js +1 -1
  55. package/dist/translations/he.js +1 -1
  56. package/dist/translations/he.umd.js +1 -1
  57. package/dist/translations/hi.js +1 -1
  58. package/dist/translations/hi.umd.js +1 -1
  59. package/dist/translations/hr.js +1 -1
  60. package/dist/translations/hr.umd.js +1 -1
  61. package/dist/translations/hu.js +1 -1
  62. package/dist/translations/hu.umd.js +1 -1
  63. package/dist/translations/hy.js +1 -1
  64. package/dist/translations/hy.umd.js +1 -1
  65. package/dist/translations/id.js +1 -1
  66. package/dist/translations/id.umd.js +1 -1
  67. package/dist/translations/it.js +1 -1
  68. package/dist/translations/it.umd.js +1 -1
  69. package/dist/translations/ja.js +1 -1
  70. package/dist/translations/ja.umd.js +1 -1
  71. package/dist/translations/jv.js +1 -1
  72. package/dist/translations/jv.umd.js +1 -1
  73. package/dist/translations/kk.js +1 -1
  74. package/dist/translations/kk.umd.js +1 -1
  75. package/dist/translations/km.js +1 -1
  76. package/dist/translations/km.umd.js +1 -1
  77. package/dist/translations/kn.js +1 -1
  78. package/dist/translations/kn.umd.js +1 -1
  79. package/dist/translations/ko.js +1 -1
  80. package/dist/translations/ko.umd.js +1 -1
  81. package/dist/translations/ku.js +1 -1
  82. package/dist/translations/ku.umd.js +1 -1
  83. package/dist/translations/lt.js +1 -1
  84. package/dist/translations/lt.umd.js +1 -1
  85. package/dist/translations/lv.js +1 -1
  86. package/dist/translations/lv.umd.js +1 -1
  87. package/dist/translations/ms.js +1 -1
  88. package/dist/translations/ms.umd.js +1 -1
  89. package/dist/translations/nb.js +1 -1
  90. package/dist/translations/nb.umd.js +1 -1
  91. package/dist/translations/ne.js +1 -1
  92. package/dist/translations/ne.umd.js +1 -1
  93. package/dist/translations/nl.js +1 -1
  94. package/dist/translations/nl.umd.js +1 -1
  95. package/dist/translations/no.js +1 -1
  96. package/dist/translations/no.umd.js +1 -1
  97. package/dist/translations/oc.js +1 -1
  98. package/dist/translations/oc.umd.js +1 -1
  99. package/dist/translations/pl.js +1 -1
  100. package/dist/translations/pl.umd.js +1 -1
  101. package/dist/translations/pt-br.js +1 -1
  102. package/dist/translations/pt-br.umd.js +1 -1
  103. package/dist/translations/pt.js +1 -1
  104. package/dist/translations/pt.umd.js +1 -1
  105. package/dist/translations/ro.js +1 -1
  106. package/dist/translations/ro.umd.js +1 -1
  107. package/dist/translations/ru.js +1 -1
  108. package/dist/translations/ru.umd.js +1 -1
  109. package/dist/translations/si.js +1 -1
  110. package/dist/translations/si.umd.js +1 -1
  111. package/dist/translations/sk.js +1 -1
  112. package/dist/translations/sk.umd.js +1 -1
  113. package/dist/translations/sl.js +1 -1
  114. package/dist/translations/sl.umd.js +1 -1
  115. package/dist/translations/sq.js +1 -1
  116. package/dist/translations/sq.umd.js +1 -1
  117. package/dist/translations/sr-latn.js +1 -1
  118. package/dist/translations/sr-latn.umd.js +1 -1
  119. package/dist/translations/sr.js +1 -1
  120. package/dist/translations/sr.umd.js +1 -1
  121. package/dist/translations/sv.js +1 -1
  122. package/dist/translations/sv.umd.js +1 -1
  123. package/dist/translations/th.js +1 -1
  124. package/dist/translations/th.umd.js +1 -1
  125. package/dist/translations/ti.js +1 -1
  126. package/dist/translations/ti.umd.js +1 -1
  127. package/dist/translations/tk.js +1 -1
  128. package/dist/translations/tk.umd.js +1 -1
  129. package/dist/translations/tr.js +1 -1
  130. package/dist/translations/tr.umd.js +1 -1
  131. package/dist/translations/tt.js +1 -1
  132. package/dist/translations/tt.umd.js +1 -1
  133. package/dist/translations/ug.js +1 -1
  134. package/dist/translations/ug.umd.js +1 -1
  135. package/dist/translations/uk.js +1 -1
  136. package/dist/translations/uk.umd.js +1 -1
  137. package/dist/translations/ur.js +1 -1
  138. package/dist/translations/ur.umd.js +1 -1
  139. package/dist/translations/uz.js +1 -1
  140. package/dist/translations/uz.umd.js +1 -1
  141. package/dist/translations/vi.js +1 -1
  142. package/dist/translations/vi.umd.js +1 -1
  143. package/dist/translations/zh-cn.js +1 -1
  144. package/dist/translations/zh-cn.umd.js +1 -1
  145. package/dist/translations/zh.js +1 -1
  146. package/dist/translations/zh.umd.js +1 -1
  147. package/package.json +9 -9
  148. package/src/index.js +1 -1
  149. package/src/ui/uploadcarecontroller.js +2 -2
  150. package/src/ui/uploadcareformview.js +1 -1
  151. package/src/uploadcare.js +1 -1
  152. package/src/uploadcarecommand.js +1 -1
  153. package/src/uploadcareconfig.js +1 -1
  154. package/src/uploadcareediting.js +1 -1
  155. package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.js +2 -2
  156. package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.js +1 -1
  157. package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.js +1 -1
  158. package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.js +1 -1
  159. package/src/uploadcareimageedit/ui/uploadcareimageeditformview.js +1 -1
  160. package/src/uploadcareimageedit/uploadcareimageeditcommand.js +1 -1
  161. package/src/uploadcareimageedit/uploadcareimageeditediting.js +1 -1
  162. package/src/uploadcareimageedit/uploadcareimageeditui.js +1 -1
  163. package/src/uploadcareimageedit/uploadcareimagereplacecommand.js +1 -1
  164. package/src/uploadcareimageedit.js +1 -1
  165. package/src/uploadcareui.js +1 -1
  166. package/src/uploadcareuploadadapter.js +1 -1
  167. package/src/utils/common-translations.js +1 -1
  168. package/src/utils/dialogfocusmanagerview.js +1 -1
  169. package/src/utils/editingutils.js +1 -1
  170. package/src/utils/isancestor.js +1 -1
  171. 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 _0x27c674,Command as _0xa68079}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x54e74f,IconGooglePhotos as _0x575229,IconGoogleDrive as _0xbe0e6e,IconFacebook as _0x14f727,IconDropbox as _0x308b88,IconUploadcareLink as _0x454d12,IconUploadcareImageUpload as _0x23f8ed,IconError as et,IconUploadcareImageEdit as _0x37e363}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x4a20a8,MenuBarMenuListItemButtonView as _0x2cdd51,View as _0x37ad54,FocusCycler as _0x2005e2,Dialog as _0x2c95d4,DialogViewPosition as _0x4a4d94,SpinnerView as _0x433301,IconView as at,Notification as _0x35606d}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x1fe5e6,DomEmitterMixin as _0x5a90ef,global as _0x32782c,getAncestors as _0x223ee0,ObservableMixin as _0x1c3d32,createElement as _0x30f592,uid as _0x4df355}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x705d15}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x8e230c,info as _0x1a8936}from'@uploadcare/upload-client';import*as _0x538202 from'@uploadcare/file-uploader';var o=function(_0x3fc0df){return _0x3fc0df['Local']='local',_0x3fc0df['URL']='url',_0x3fc0df['Dropbox']='dropbox',_0x3fc0df['GDrive']='gdrive',_0x3fc0df['Facebook']='facebook',_0x3fc0df['GPhotos']='gphotos',_0x3fc0df['OneDrive']='onedrive',_0x3fc0df;}({});function _(_0xeeed37,_0x3d2f84,_0xd096b7){const t=_0xeeed37['t'],_0x4c9cd2=_0xeeed37['t'];switch(_0x3d2f84){case o['Local']:return{'text':_0x4c9cd2('Insert'===_0xd096b7?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x4c9cd2('From\x20computer')};case o['URL']:return{'text':'Insert'===_0xd096b7?_0x4c9cd2('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x4c9cd2('Via\x20URL')};case o['Dropbox']:return{'text':t('Insert'===_0xd096b7?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case o['Facebook']:return{'text':t('Insert'===_0xd096b7?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case o['GDrive']:return{'text':t('Insert'===_0xd096b7?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case o['GPhotos']:return{'text':t('Insert'===_0xd096b7?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case o['OneDrive']:return{'text':t('Insert'===_0xd096b7?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x3d2f84;}}class e extends _0x27c674{['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 _0x57667f=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x2ec0ea;for(const _0x32dfd6 in _0x57667f){const _0x15fd22=_0x32dfd6,_0x41259e=_0x57667f[_0x15fd22];if('uploadcareLicenseKeyValid'==_0x41259e||'uploadcareLicenseKeyInvalid'==_0x41259e||'uploadcareLicenseKeyExpired'==_0x41259e||'uploadcareLicenseKeyDomainLimit'==_0x41259e||'uploadcareLicenseKeyNotAllowed'==_0x41259e||'uploadcareLicenseKeyEvaluationLimit'==_0x41259e||'uploadcareLicenseKeyTrialLimit'==_0x41259e||'uploadcareLicenseKeyUsageLimit'==_0x41259e){delete _0x57667f[_0x15fd22],_0x2ec0ea=_0x41259e,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x2ec0ea&&_0x57667f['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x2ec0ea&&_0x57667f['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x2ec0ea&&_0x57667f['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x2ec0ea&&_0x57667f['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x2ec0ea&&_0x57667f['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0x2ec0ea&&_0x57667f['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0x2ec0ea&&_0x57667f['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x23fb8a}=this,_0x5518ee=_0x23fb8a['commands']['get']('uploadcare');if(!_0x5518ee)return;const _0x5dc117=this['_normalizeConfigSourceList'](_0x23fb8a['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x445a5d,_0x588d27)=>{const _0x2e55e8=this['_getIntegrationKey'](_0x588d27['type']);return _0x445a5d[_0x2e55e8]||(_0x445a5d[_0x2e55e8]=[]),_0x445a5d[_0x2e55e8]['push'](_0x588d27),_0x445a5d;},{});_0x23fb8a['plugins']['has']('ImageInsertUI')&&_0x23fb8a['commands']['get']('uploadcare')&&Object['entries'](_0x5dc117)['forEach'](([_0xd42db,_0x205904])=>{_0x23fb8a['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0xd42db,'observable':()=>_0x5518ee,'buttonViewCreator':()=>this['_createToolbarButton'](_0x205904),'formViewCreator':()=>this['_createDropdownButtons'](_0x205904),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x205904),'override':'assetManager'!==_0xd42db});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x11614b){const {locale:_0x2e9734}=this['editor'];return _0x11614b['map'](_0x13d98c=>{const _0x58f103=_(_0x2e9734,_0x13d98c,'Insert');switch(_0x13d98c){case o['Local']:return{'icon':_0x23f8ed,'type':o['Local'],..._0x58f103};case o['URL']:return{'icon':_0x454d12,'type':o['URL'],..._0x58f103};case o['Dropbox']:return{'icon':_0x308b88,'type':o['Dropbox'],..._0x58f103};case o['Facebook']:return{'icon':_0x14f727,'type':o['Facebook'],..._0x58f103};case o['GDrive']:return{'icon':_0xbe0e6e,'type':o['GDrive'],..._0x58f103};case o['GPhotos']:return{'icon':_0x575229,'type':o['GPhotos'],..._0x58f103};case o['OneDrive']:return{'icon':_0x54e74f,'type':o['OneDrive'],..._0x58f103};}});}['_getIntegrationKey'](_0x4fe8c6){switch(_0x4fe8c6){case o['Local']:return'upload';case o['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x1bcc74,_0x284e7f){const _0x404947=this['editor'],_0x399ff9=new _0x1bcc74(_0x404947['locale']),_0x1c657e=_0x404947['commands']['get']('uploadcare');return _0x399ff9['bind']('isEnabled')['to'](_0x1c657e),_0x399ff9['on']('execute',()=>{_0x1c657e['execute'](_0x284e7f);}),_0x399ff9;}['_createToolbarButton'](_0xb7fb35){const {locale:_0xc26f1e}=this['editor'],_0x583293=this['editor']['plugins']['get']('ImageInsertUI'),_0x2ee369=_0xb7fb35[0x0],_0x50a05b=this['_createButton'](_0x4a20a8,_0x2ee369['type']);return _0x50a05b['icon']=_0x2ee369['icon'],_0x50a05b['bind']('label')['to'](_0x583293,'isImageSelected',_0x52a294=>_(_0xc26f1e,_0x2ee369['type'],_0x52a294?'Replace':'Insert')['text']),_0x50a05b['tooltip']=!0x0,_0x50a05b;}['_createDropdownButtons'](_0x5b0763){const {locale:_0x24f3e6}=this['editor'],_0x38fbc8=this['editor']['plugins']['get']('ImageInsertUI');return _0x5b0763['map'](_0x1b4209=>{const _0x2145c9=this['_createButton'](_0x4a20a8,_0x1b4209['type']);return _0x2145c9['withText']=!0x0,_0x2145c9['icon']=_0x1b4209['icon'],_0x2145c9['bind']('label')['to'](_0x38fbc8,'isImageSelected',_0x24e2a3=>_(_0x24f3e6,_0x1b4209['type'],_0x24e2a3?'Replace':'Insert')['text']),_0x2145c9;});}['_createMenuBarButtons'](_0x14ebed){return _0x14ebed['map'](_0xebc6c7=>{const _0x169da5=this['_createButton'](_0x2cdd51,_0xebc6c7['type']);return _0x169da5['icon']=_0xebc6c7['icon'],_0x169da5['label']=_0xebc6c7['shortText'],_0x169da5;});}}class G extends _0x37ad54{['focusTracker'];['focusCycler'];constructor(_0x2f89ab){super(_0x2f89ab),this['focusTracker']=new _0x1fe5e6(),this['focusCycler']=new _0x2005e2({'focusables':this['createCollection'](),'focusTracker':this['focusTracker']});}['getFocusableElement'](){return{'tag':'div','attributes':{'aria-hidden':'true','tabindex':'0'},'on':{'focus':this['bindTemplate']['to'](()=>{this['focusCycler']['fire']('forwardCycle');})}};}}class S extends G{constructor(_0x4cf507){super(_0x4cf507),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all-excluded','ck-uploadcare-form'],'tabindex':'-1'},'children':[{'tag':'uc-file-uploader-inline','attributes':{'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'uploader'}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function E(_0x2b87c4,_0x4f18c9){const _0x595536=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0xcade23=>_0xcade23<=_0x4f18c9)['map'](_0x14c3a2=>_0x2b87c4['replace'](/\/$/,'')+'/-/resize/'+_0x14c3a2+'x/\x20'+_0x14c3a2+'w');return{'imageFallbackUrl':_0x2b87c4,'imageSources':[{'srcset':_0x595536['join'](',\x20'),'sizes':'(max-width:\x20'+_0x4f18c9+'px)\x20100vw,\x20'+_0x4f18c9+'px','type':'image/webp'}]};}function F(_0x38ba09,_0x12e552,_0x1c6693){const _0x4194f0=_0x38ba09['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x4194f0?parseInt(_0x4194f0[0x1],0xa):_0x12e552,'height':_0x4194f0?parseInt(_0x4194f0[0x2],0xa):_0x1c6693};}function m(_0x2f06dd,_0xb1461e){const _0xb5bf8f=Object['create'](_0x5a90ef),_0x3c48ef=_0x2f06dd['plugins']['get']('ImageUtils'),_0x5754ad=_0x2f06dd['editing']['mapper']['toViewElement'](_0xb1461e),_0x4047fc=_0x3c48ef['findViewImgElement'](_0x5754ad),_0x988bb9=_0x2f06dd['editing']['view']['domConverter']['viewToDom'](_0x4047fc),_0x5c5aa4=_0xb1461e['getAttribute']('width'),_0x4693f6=_0xb1461e['getAttribute']('height'),_0x49fc91='image-processing';_0x2f06dd['editing']['view']['change'](_0x53a433=>{_0x53a433['addClass'](_0x49fc91,_0x5754ad),_0x53a433['setStyle']('aspect-ratio',_0x5c5aa4+'/'+_0x4693f6,_0x4047fc);}),_0xb5bf8f['listenTo'](_0x988bb9,'load',()=>{_0xb5bf8f['stopListening'](_0x988bb9,'load'),_0x2f06dd['editing']['view']['change'](_0x31e5c8=>{_0x31e5c8['removeClass'](_0x49fc91,_0x5754ad),_0x31e5c8['removeStyle']('aspect-ratio',_0x4047fc);});});}function V(_0x16fefb){if(Array['isArray'](_0x16fefb)){const _0x151b7e=_0x16fefb['map'](V);return _0x17f76d=>_0x151b7e['some'](_0x585a6b=>_0x585a6b(_0x17f76d));}if('origin'==_0x16fefb){const _0xcae247=_0x32782c['window']['location']['origin'];return _0x250d5a=>new URL(_0x250d5a,_0x32782c['document']['baseURI'])['origin']==_0xcae247;}return'function'==typeof _0x16fefb?_0x16fefb:_0x16fefb instanceof RegExp?_0x1f2e60=>!(!_0x1f2e60['match'](_0x16fefb)&&!_0x1f2e60['replace'](/^https?:\/\//,'')['match'](_0x16fefb)):()=>!0x1;}function R(_0x264338,_0x389bab){return _0x223ee0(_0x264338['target'])['includes'](_0x389bab);}class l extends/* #__PURE__ -- @preserve */
24
- _0x1c3d32(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x3e45f4,_0x1fd9a4,_0x46f59f){super(),this['_editor']=_0x3e45f4,this['_editing']=_0x1fd9a4,this['_dialog']=_0x3e45f4['plugins']['get'](_0x2c95d4),this['_api']=_0x1fd9a4['ctxElement']['getAPI'](),this['_type']=_0x46f59f,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:_0x5d673f,model:_0x571ea8}=this['_editor'],_0x39710e=_0x571ea8['document']['selection']['getSelectedElement'](),_0xf7eb4a=_0x39710e&&(_0x39710e['is']('element','imageBlock')||_0x39710e['is']('element','imageInline'));this['_formView']=new S(_0x5d673f),this['_dialog']['show']({'id':'uploadCare','icon':_0x23f8ed,'title':_(_0x5d673f,this['_type'],_0xf7eb4a?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x4a4d94['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x2eee27=>!R(_0x2eee27,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x3d5c12}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x28f64c=>{const _0x2e1e94=_0x3d5c12['length'];for(const _0x4504e8 of _0x3d5c12){const _0x33677e=_0x4504e8===_0x3d5c12[_0x2e1e94-0x1],{cdnUrl:_0x2262e1,fileInfo:_0x29ebde}=_0x4504e8;if(!_0x2262e1||!_0x29ebde)continue;const {width:_0x7edcfc,height:_0x95e5bb}=_0x29ebde['imageInfo'],_0x51d50b=F(_0x2262e1,_0x7edcfc,_0x95e5bb),_0x174359=E(_0x2262e1,_0x51d50b['width']),_0x4fa16f={'id':_0x29ebde['uuid'],'type':'image','attributes':{'imageDimension':_0x51d50b,..._0x174359}};this['_insertAsset'](_0x4fa16f,_0x33677e,_0x28f64c);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x1bc7e3=>{'idle'===_0x1bc7e3['detail']['status']&&!_0x1bc7e3['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===o['Local']?this['_api']['setCurrentActivity'](o['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x1072f7,_0x2fcdd0,_0x444afe){const _0x2649cf=this['_editor']['model']['document']['selection'],_0x346cf8=_0x2649cf['getSelectedElement'](),_0x14f69f=!(!_0x346cf8||!_0x346cf8['is']('element','imageInline'));_0x444afe['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x1072f7,_0x14f69f),_0x2fcdd0||_0x444afe['setSelection'](_0x2649cf['getLastPosition']());}['_insertImage'](_0x59e8cd,_0xfac817){const _0x18da68=this['_editor'],{imageDimension:_0x3ec8d6,imageFallbackUrl:_0x221be3,imageSources:_0x2fb99f}=_0x59e8cd['attributes'];_0x18da68['execute']('insertImage',{'imageType':_0xfac817?'imageInline':null,'source':{'uploadcareImageId':_0x59e8cd['id'],'src':_0x221be3,'sources':_0x2fb99f,..._0x3ec8d6}});}}class n extends _0xa68079{['_editing'];['_controller']=null;static get['requires'](){return[_0x2c95d4,i];}constructor(_0x4908ad){super(_0x4908ad),this['_editing']=_0x4908ad['plugins']['get'](i);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x28aa7d){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new l(this['editor'],this['_editing'],_0x28aa7d);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class C{static['upload']({file:_0xe99ec6,publicKey:_0x10837b,signal:_0x5ce5ba,onProgress:_0x4ad13e}){return _0x8e230c(_0xe99ec6,{'publicKey':_0x10837b,'store':'auto','signal':_0x5ce5ba,'onProgress':_0x4ad13e});}static['getInfo'](_0x3edaf1,_0x3c89e7){return _0x1a8936(_0x3edaf1,_0x3c89e7);}}class p extends _0x27c674{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x705d15,i];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x1ff9b3=this['editor'];if(!!!_0x1ff9b3['config']['get']('uploadcare'))return;_0x1ff9b3['plugins']['get'](_0x705d15)['createUploadAdapter']=_0x4be8c5=>new x(_0x4be8c5,_0x1ff9b3),_0x1ff9b3['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x497711,{imageElement:_0x141ae6,data:_0x5ddb29})=>{_0x1ff9b3['model']['change'](_0x3304a0=>{_0x3304a0['setAttribute']('uploadcareImageId',_0x5ddb29['uploadcareImageId'],_0x141ae6);});});}}class x{['loader'];['editor'];['controller'];constructor(_0xc1e7a9,_0x182988){this['loader']=_0xc1e7a9,this['editor']=_0x182988,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x564c2c=this['editor']['config']['get']('uploadcare.pubkey'),_0x3cb1c9=await this['loader']['file'];return C['upload']({'file':_0x3cb1c9,'publicKey':_0x564c2c,'signal':this['controller']['signal'],'onProgress':_0x5b5ad6=>{_0x5b5ad6&&_0x5b5ad6['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x5b5ad6['value']);}})['then'](async _0x207699=>{const {imageFallbackUrl:_0x46f892,imageSources:_0x231d6f}=E(_0x207699['cdnUrl'],_0x207699['imageInfo']['width']);return{'uploadcareImageId':_0x207699['uuid'],'default':_0x46f892,'sources':_0x231d6f};})['catch'](()=>{const _0x27fa44=t('Cannot\x20upload\x20file:')+('\x20'+_0x3cb1c9['name']+'.');return Promise['reject'](_0x27fa44);});}['abort'](){this['controller']['abort']();}}class i extends _0x27c674{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',p,_0x2c95d4];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}['init'](){const _0x57ba18=this['editor'];_0x57ba18['commands']['add']('uploadcare',new n(_0x57ba18));}['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 _0x868162=_0x32782c['document']['querySelector']('input[uploadcare-file-input]');_0x868162&&_0x868162['remove']();}),async function(_0x3e509a){const _0x436cbd=_0x52ff0b([0x6b,0x43,0x47,0x37,0x61,0x58,0x66,0x51,0x53,0x76,0x50,0x57,0x4e,0x67,0x35,0x42,0x6a,0x52,0x59,0x30,0x64,0x77,0x4d,0x45,0x31,0x6f,0x62,0x44,0x79,0x65,0x78,0x75,0x6c,0x4c,0x70,0x4b,0x7a,0x68,0x72,0x32,0x69,0x39,0x6d,0x38,0x54,0x73,0x74,0x55,0x36,0x48,0x63,0x56,0x5a,0x6e,0x41,0x34,0x4a,0x71,0x49,0x4f,0x46,0x33]),_0x1d712e=0x4ef2e499,_0x554d0a=0x4ef587c9^_0x1d712e,_0x1721dd=window[_0x52ff0b([0x44,0x61,0x74,0x65])][_0x52ff0b([0x6e,0x6f,0x77])](),_0x196204=_0x3e509a[_0x52ff0b([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1ef0a3=new window[(_0x52ff0b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5f1559=>{_0x196204[_0x52ff0b([0x6f,0x6e,0x63,0x65])](_0x52ff0b([0x72,0x65,0x61,0x64,0x79]),_0x5f1559);}),_0xa8b9d4={[_0x52ff0b([0x6b,0x74,0x79])]:_0x52ff0b([0x45,0x43]),[_0x52ff0b([0x75,0x73,0x65])]:_0x52ff0b([0x73,0x69,0x67]),[_0x52ff0b([0x63,0x72,0x76])]:_0x52ff0b([0x50,0x2d,0x32,0x35,0x36]),[_0x52ff0b([0x78])]:_0x52ff0b([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]),[_0x52ff0b([0x79])]:_0x52ff0b([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]),[_0x52ff0b([0x61,0x6c,0x67])]:_0x52ff0b([0x45,0x53,0x32,0x35,0x36])},_0x1d2c08=_0x196204[_0x52ff0b([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x52ff0b([0x67,0x65,0x74])](_0x52ff0b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x1cbc54(){let _0x52a721,_0x4eadcb=null,_0x7f9a30=null;try{if(_0x1d2c08==_0x52ff0b([0x47,0x50,0x4c]))return _0x52ff0b([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x52a721=_0xf6c3d1(),!_0x52a721)return _0x52ff0b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x52a721[_0x52ff0b([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x7f9a30=_0x58f8f6(_0x52a721[_0x52ff0b([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x52a721[_0x52ff0b([0x6a,0x74,0x69])])),await _0x19d716()?_0x29d581()?_0x5b4b97()?_0x52ff0b([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x570029()?(_0x52a721[_0x52ff0b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x52ff0b([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x4eadcb=_0x413a10(_0x52ff0b([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x52a721[_0x52ff0b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x52ff0b([0x74,0x72,0x69,0x61,0x6c])&&(_0x4eadcb=_0x413a10(_0x52ff0b([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x207785()):_0x52ff0b([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x52ff0b([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x52ff0b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x585a81){return _0x52ff0b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x5b4b97(){const _0x4f4ce8=[_0x52ff0b([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x52ff0b([0x74,0x72,0x69,0x61,0x6c])][_0x52ff0b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x52a721[_0x52ff0b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1721dd/0x3e8:0xe10*_0x554d0a;return _0x52a721[_0x52ff0b([0x65,0x78,0x70])]<_0x4f4ce8;}function _0x29d581(){const _0x5ee601=_0x52a721[_0x52ff0b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x5ee601&&(!!_0x5ee601[_0x52ff0b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x52ff0b([0x2a]))||!!_0x5ee601[_0x52ff0b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x52ff0b([0x55,0x50,0x4c,0x43])));}function _0x570029(){const _0x59bbfd=_0x52a721[_0x52ff0b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x59bbfd||0x0==_0x59bbfd[_0x52ff0b([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x13fa59}=new URL(window[_0x52ff0b([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x59bbfd[_0x52ff0b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x13fa59))return!0x0;const _0x30be61=_0x13fa59[_0x52ff0b([0x73,0x70,0x6c,0x69,0x74])](_0x52ff0b([0x2e]));return _0x59bbfd[_0x52ff0b([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x44aca4=>_0x44aca4[_0x52ff0b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x52ff0b([0x2a])))[_0x52ff0b([0x6d,0x61,0x70])](_0x39d6f2=>_0x39d6f2[_0x52ff0b([0x73,0x70,0x6c,0x69,0x74])](_0x52ff0b([0x2e])))[_0x52ff0b([0x73,0x6f,0x6d,0x65])](_0x2f277b=>_0x30be61[_0x52ff0b([0x65,0x76,0x65,0x72,0x79])]((_0x3835e0,_0x277c15)=>_0x2f277b[_0x277c15]===_0x3835e0||_0x2f277b[_0x277c15]===_0x52ff0b([0x2a])));}function _0x207785(){return _0x4eadcb&&_0x7f9a30?new window[(_0x52ff0b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1c9f54,_0x4773db)=>{_0x4eadcb[_0x52ff0b([0x74,0x68,0x65,0x6e])](_0x1c9f54,_0x4773db),_0x7f9a30[_0x52ff0b([0x74,0x68,0x65,0x6e])](_0x5b85a6=>{_0x5b85a6!=_0x52ff0b([0x56,0x61,0x6c,0x69,0x64])&&_0x1c9f54(_0x5b85a6);},_0x4773db);}):_0x4eadcb||_0x7f9a30||_0x52ff0b([0x56,0x61,0x6c,0x69,0x64]);}}function _0x58f8f6(_0x4f6946,_0x40b10d){return new window[(_0x52ff0b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4b2461=>{if(_0x4ee72b())return _0x4b2461(_0x52ff0b([0x56,0x61,0x6c,0x69,0x64]));_0x17c104(),_0x196204[_0x52ff0b([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x52ff0b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x16e3d9=!0x1;const _0x312378=_0x4df355();function _0x2dad7b(_0x4392c1){return!!_0x4392c1&&(typeof _0x4392c1===_0x52ff0b([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x4392c1===_0x52ff0b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x4392c1[_0x52ff0b([0x74,0x68,0x65,0x6e])]===_0x52ff0b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x4392c1[_0x52ff0b([0x63,0x61,0x74,0x63,0x68])]===_0x52ff0b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x436a07(_0x268c79){_0x2c4c85(_0x268c79)[_0x52ff0b([0x74,0x68,0x65,0x6e])](_0x17d427=>{if(!_0x17d427||_0x17d427[_0x52ff0b([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x52ff0b([0x6f,0x6b]))return _0x52ff0b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x29365f(_0x2c4d68(_0x312378+_0x40b10d))!=_0x17d427[_0x52ff0b([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x52ff0b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x52ff0b([0x56,0x61,0x6c,0x69,0x64]);})[_0x52ff0b([0x74,0x68,0x65,0x6e])](_0x112349=>(_0x27689d(),_0x112349),()=>{const _0x1e40ab=_0x5b1830();return null==_0x1e40ab?(_0x27689d(),_0x52ff0b([0x56,0x61,0x6c,0x69,0x64])):_0x52ff0b(_0x1721dd-_0x1e40ab>(0x6afe6099^_0x1d712e)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x52ff0b([0x74,0x68,0x65,0x6e])](_0x4b2461)[_0x52ff0b([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4b2461(_0x52ff0b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x12f5ca=0x4ec40a19^_0x1d712e;function _0x27689d(){const _0x4c23bf=_0x52ff0b([0x6c,0x6c,0x63,0x74,0x2d])+_0x29365f(_0x2c4d68(_0x4f6946)),_0x39e4ed=_0x1955f1(_0x29365f(window[_0x52ff0b([0x4d,0x61,0x74,0x68])][_0x52ff0b([0x63,0x65,0x69,0x6c])](_0x1721dd/_0x12f5ca)));window[_0x52ff0b([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x52ff0b([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4c23bf,_0x39e4ed);}function _0x5b1830(){const _0x113adf=_0x52ff0b([0x6c,0x6c,0x63,0x74,0x2d])+_0x29365f(_0x2c4d68(_0x4f6946)),_0xdbc9c0=window[_0x52ff0b([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x52ff0b([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x113adf);return _0xdbc9c0?window[_0x52ff0b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1955f1(_0xdbc9c0),0x10)*_0x12f5ca:null;}function _0x2c4c85(_0x109697){return new window[(_0x52ff0b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x41a17c,_0x43593b)=>{_0x109697[_0x52ff0b([0x74,0x68,0x65,0x6e])](_0x41a17c,_0x43593b),window[_0x52ff0b([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x43593b,0x4ef33059^_0x1d712e);});}}_0x196204[_0x52ff0b([0x6f,0x6e])](_0x52ff0b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x27ffc1,_0x4e70a5)=>{if(_0x4e70a5[0x0]!=_0x4f6946)return _0x4b2461(_0x52ff0b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4e70a5[0x1]={..._0x4e70a5[0x1],[_0x52ff0b([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x312378};},{[_0x52ff0b([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x52ff0b([0x68,0x69,0x67,0x68])}),_0x196204[_0x52ff0b([0x6f,0x6e])](_0x52ff0b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0xe54754=>{_0x2dad7b(_0xe54754[_0x52ff0b([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x16e3d9=!0x0,_0x436a07(_0xe54754[_0x52ff0b([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x52ff0b([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x52ff0b([0x6c,0x6f,0x77])}),_0x1ef0a3[_0x52ff0b([0x74,0x68,0x65,0x6e])](()=>{_0x16e3d9||_0x4b2461(_0x52ff0b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4ee72b(){return _0x196204[_0x52ff0b([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x52ff0b([0x76,0x69,0x65,0x77])][_0x52ff0b([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x52ff0b([0x61,0x75,0x74,0x6f]);}function _0x17c104(){_0x196204[_0x52ff0b([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x52ff0b([0x76,0x69,0x65,0x77])][_0x52ff0b([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x52ff0b([0x61,0x75,0x74,0x6f]);}}function _0x413a10(_0x547aaa){const _0xe24cb5=[new window[(_0x52ff0b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x465c6b=>setTimeout(_0x465c6b,0x4efbda55^_0x1d712e)),_0x1ef0a3[_0x52ff0b([0x74,0x68,0x65,0x6e])](()=>new window[(_0x52ff0b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x15de96=>{let _0x4f08bc=0x0;_0x196204[_0x52ff0b([0x6d,0x6f,0x64,0x65,0x6c])][_0x52ff0b([0x6f,0x6e])](_0x52ff0b([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x109fd3,_0x29cf4b)=>{_0x29cf4b[0x0][_0x52ff0b([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4f08bc++,_0x4f08bc==(0x4ef2e561^_0x1d712e)&&(_0x15de96(),_0x109fd3[_0x52ff0b([0x6f,0x66,0x66])]());});}))];return window[_0x52ff0b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x52ff0b([0x72,0x61,0x63,0x65])](_0xe24cb5)[_0x52ff0b([0x74,0x68,0x65,0x6e])](()=>_0x547aaa);}async function _0x4cec73(){await _0x1ef0a3,_0x196204[_0x52ff0b([0x6d,0x6f,0x64,0x65,0x6c])][_0x52ff0b([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x28fbce,_0x196204[_0x52ff0b([0x6d,0x6f,0x64,0x65,0x6c])][_0x52ff0b([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x28fbce,_0x196204[_0x52ff0b([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x52ff0b([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x58daf8(_0x91f375){const _0x42aa3f=_0x3a4948();_0x196204[_0x42aa3f]=_0x52ff0b([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x91f375,_0x91f375!=_0x52ff0b([0x56,0x61,0x6c,0x69,0x64])&&_0x4cec73();}function _0x3a4948(){const _0x3983ef=window[_0x52ff0b([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x52ff0b([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x52ff0b([0x6e,0x6f,0x77])]())[_0x52ff0b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x52ff0b([0x2e]),'');let _0x2f0632=_0x52ff0b([0x6b]);for(let _0x4ae1f4=0x0;_0x4ae1f4<_0x3983ef[_0x52ff0b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4ae1f4+=0x2){let _0x365539=window[_0x52ff0b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3983ef[_0x52ff0b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4ae1f4,_0x4ae1f4+0x2));_0x365539>=_0x436cbd[_0x52ff0b([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x365539-=_0x436cbd[_0x52ff0b([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2f0632+=_0x436cbd[_0x365539];}return _0x2f0632;}function _0xf6c3d1(){const _0x132ff1=_0x1d2c08[_0x52ff0b([0x73,0x70,0x6c,0x69,0x74])](_0x52ff0b([0x2e]));if(0x3!=_0x132ff1[_0x52ff0b([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x2eb98c(_0x132ff1[0x1]);function _0x2eb98c(_0x376c83){const _0x10008d=_0x23e97c(_0x376c83);return _0x10008d&&_0x4fda00()?_0x10008d:null;function _0x4fda00(){const _0x3aac0d=_0x10008d[_0x52ff0b([0x6a,0x74,0x69])],_0x45303a=window[_0x52ff0b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3aac0d[_0x52ff0b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3aac0d[_0x52ff0b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x250a46={..._0x10008d,[_0x52ff0b([0x6a,0x74,0x69])]:_0x3aac0d[_0x52ff0b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3aac0d[_0x52ff0b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x250a46[_0x52ff0b([0x76,0x63])],_0x2c4d68(_0x250a46)==_0x45303a;}}}async function _0x19d716(){let _0x1b49db=!0x0;try{const _0x414356=_0x1d2c08[_0x52ff0b([0x73,0x70,0x6c,0x69,0x74])](_0x52ff0b([0x2e])),[_0xb5baf3,_0x241542,_0x240016]=_0x414356;return _0x345ed9(_0xb5baf3),await _0x49dd89(_0xb5baf3,_0x241542,_0x240016),_0x1b49db;}catch(_0x4b6a10){return!0x1;}function _0x345ed9(_0x317be0){const _0x172252=_0x23e97c(_0x317be0);_0x172252&&_0x172252[_0x52ff0b([0x61,0x6c,0x67])]==_0x52ff0b([0x45,0x53,0x32,0x35,0x36])||(_0x1b49db=!0x1);}async function _0x49dd89(_0x4e1155,_0x1c3e41,_0x340cd5){const _0x263069=window[_0x52ff0b([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x52ff0b([0x66,0x72,0x6f,0x6d])](_0x2292cb(_0x340cd5),_0x29876f=>_0x29876f[_0x52ff0b([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x134111=new window[(_0x52ff0b([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x52ff0b([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4e1155+_0x52ff0b([0x2e])+_0x1c3e41),_0x25952e=window[_0x52ff0b([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x52ff0b([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x25952e)return;const _0xbe9a8=await _0x25952e[_0x52ff0b([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x52ff0b([0x6a,0x77,0x6b]),_0xa8b9d4,{[_0x52ff0b([0x6e,0x61,0x6d,0x65])]:_0x52ff0b([0x45,0x43,0x44,0x53,0x41]),[_0x52ff0b([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x52ff0b([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x52ff0b([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x25952e[_0x52ff0b([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x52ff0b([0x6e,0x61,0x6d,0x65])]:_0x52ff0b([0x45,0x43,0x44,0x53,0x41]),[_0x52ff0b([0x68,0x61,0x73,0x68])]:{[_0x52ff0b([0x6e,0x61,0x6d,0x65])]:_0x52ff0b([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0xbe9a8,_0x263069,_0x134111)||(_0x1b49db=!0x1);}}function _0x23e97c(_0x4db6c0){return _0x4db6c0[_0x52ff0b([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x52ff0b([0x65,0x79]))?JSON[_0x52ff0b([0x70,0x61,0x72,0x73,0x65])](_0x2292cb(_0x4db6c0)):null;}function _0x2292cb(_0x2e960){return window[_0x52ff0b([0x61,0x74,0x6f,0x62])](_0x2e960[_0x52ff0b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x52ff0b([0x2b]))[_0x52ff0b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x52ff0b([0x2f])));}function _0x2c4d68(_0x3b30a8){let _0x5a1d97=0x1505;function _0x283cff(_0x21e581){for(let _0x2d8055=0x0;_0x2d8055<_0x21e581[_0x52ff0b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2d8055++){const _0x34653d=_0x21e581[_0x52ff0b([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2d8055);_0x5a1d97=(_0x5a1d97<<0x5)+_0x5a1d97+_0x34653d,_0x5a1d97&=_0x5a1d97;}}function _0x37fbad(_0x16f7e1){Array[_0x52ff0b([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x16f7e1)?_0x16f7e1[_0x52ff0b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x37fbad):_0x16f7e1&&typeof _0x16f7e1==_0x52ff0b([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x52ff0b([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x16f7e1)[_0x52ff0b([0x73,0x6f,0x72,0x74])]()[_0x52ff0b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x53f0e9,_0x4cf656])=>{_0x283cff(_0x53f0e9),_0x37fbad(_0x4cf656);}):_0x283cff(window[_0x52ff0b([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x16f7e1));}return _0x37fbad(_0x3b30a8),_0x5a1d97>>>0x0;}function _0x29365f(_0x33f4f9){return _0x33f4f9[_0x52ff0b([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x52ff0b([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x52ff0b([0x30]));}function _0x1955f1(_0x4b4d4f){return _0x4b4d4f[_0x52ff0b([0x73,0x70,0x6c,0x69,0x74])]('')[_0x52ff0b([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x52ff0b([0x6a,0x6f,0x69,0x6e])]('');}function _0x28fbce(){}function _0x52ff0b(_0x148563){return _0x148563['map'](_0x5aaff3=>String['fromCharCode'](_0x5aaff3))['join']('');}_0x58daf8(await _0x1cbc54());}(this);}['_initSchema'](){const _0x51c6b5=this['editor']['model']['schema'];_0x51c6b5['isRegistered']('imageBlock')&&_0x51c6b5['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x51c6b5['isRegistered']('imageInline')&&_0x51c6b5['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x49b2dc=this['editor'];_0x49b2dc['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x49b2dc['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x59e3ed=>_0x59e3ed['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x19c696=_0x49b2dc['commands']['get']('replaceImageSource');_0x19c696&&this['listenTo'](_0x19c696,'cleanupImage',(_0x51eca2,[_0x1d21aa,_0x342395])=>{_0x1d21aa['removeAttribute']('uploadcareImageId',_0x342395);});}['_initConfig'](){const _0x220561=this['editor']['config']['get']('uploadcare.uploader')||{},_0x5a4f5b=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x30f592(_0x32782c['document'],'uc-config',{..._0x220561,'pubkey':_0x5a4f5b,'ctx-name':'uploader','sourceList':'','imgOnly':'true','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage'],'externalSourcesEmbedCss':'\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup\x20{\x20padding:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-menu\x20{\x20gap:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-footer\x20{\x20padding-top:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__separator\x20{\x20margin:\x200;\x20}\x0a\x09\x09\x09'}),this['_configElement']['iconHrefResolver']=_0x302ee2=>{if('closeMax'==_0x302ee2)return'#uc-icon-arrow-down';},_0x32782c['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x30f592(_0x32782c['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader'}),_0x32782c['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x78422a=this['editor']['commands']['get']('insertImage');_0x78422a&&this['listenTo'](_0x78422a,'execute',()=>{const _0x504a5b=this['editor']['model']['document']['selection']['getSelectedElement']();_0x504a5b&&_0x504a5b['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{m(this['editor'],_0x504a5b);});});const _0x357df1=this['editor']['commands']['get']('uploadcareImageReplace');_0x357df1&&this['listenTo'](_0x357df1,'execute',()=>{const _0x54ffeb=this['editor']['model']['document']['selection']['getSelectedElement']();_0x54ffeb&&_0x54ffeb['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{m(this['editor'],_0x54ffeb);});});}}class u extends _0x27c674{static get['requires'](){return[i,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0xe9cbe0){super(_0xe9cbe0),_0xe9cbe0['config']['define']('uploadcare.uploader.sourceList',[o['Local'],o['URL']]),_0x538202['defineComponents'](_0x538202);}}class ta extends _0x37ad54{constructor(_0x43700e){super(_0x43700e);const t=_0x43700e['t'],_0x3b7ba5=this['bindTemplate'],_0x430836=new _0x433301();_0x430836['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':[_0x430836,{'text':_0x3b7ba5['to']('imageUploadProgress',_0x1ec192=>t('Loading\x20image...')+'\x20('+(_0x1ec192||0x0)+'%)')}]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}class rt extends _0x37ad54{constructor(_0x2c60fb){super(_0x2c60fb);const t=_0x2c60fb['t'];this['set']('errorType',null);const _0x2a4037=new _0x4a20a8(_0x2c60fb);_0x2a4037['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x2a4037['withText']=!0x0,_0x2a4037['class']='ck-button-action',_0x2a4037['on']('execute',()=>{this['fire']('retry');}),_0x2a4037['bind']('isVisible')['to'](this,'errorType',_0x8a7dc5=>'NotFound'!==_0x8a7dc5);const _0x10d627=new at();_0x10d627['content']=et,_0x10d627['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x13d696=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':[_0x10d627,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x13d696['to']('errorType',_0x556746=>t('NotFound'!==_0x556746?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x2a4037]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}class tt extends _0x37ad54{constructor(_0x205b7c,_0x2b81fa){super(_0x205b7c);const _0x332c2d=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x2b81fa,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x332c2d['to']('imageSrc')}});}}class Z extends G{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x1a4680,_0x10a839,_0x54c585){super(_0x1a4680),this['_items']=this['createCollection'](),this['_loadingView']=new ta(_0x1a4680),this['_errorView']=new rt(_0x1a4680),this['_editingView']=new tt(_0x1a4680,_0x54c585),this['_focusableView']=new _0x37ad54(_0x1a4680),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x10a839),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'],_0x2cb151=>{this['_addUploadcareImageEditorListeners'](_0x2cb151);});}),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'](_0x4a40f6,_0x30ca82){const _0xf8a5eb='uc-cloud-image-editor',_0x88c5da=_0x4a40f6['querySelector'](_0xf8a5eb);if(_0x88c5da)return _0x30ca82(_0x88c5da);const _0x37449b=new MutationObserver(_0x5e5fd7=>{const _0x423795=_0x5e5fd7['filter'](_0x44f3de=>_0x44f3de['target']===_0x4a40f6&&_0x44f3de['addedNodes']['length']>0x0&&_0x44f3de['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0xf8a5eb);_0x423795['length']&&(_0x37449b['disconnect'](),_0x30ca82(_0x423795[0x0]['addedNodes'][0x0]));});_0x37449b['observe'](_0x4a40f6,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x38e12c){_0x38e12c['addEventListener']('apply',_0x423081=>{this['fire']('apply',{'imageSrc':_0x423081['detail']['cdnUrl']});}),_0x38e12c['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class A extends/* #__PURE__ -- @preserve */
25
- _0x1c3d32(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x333a96,_0x211905,_0x16ba22){super(),this['_editor']=_0x333a96,this['_dialog']=_0x211905,this['_imageElement']=_0x16ba22,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 _0x2009e3=this['_imageElement'],_0x534c25=_0x2009e3['getAttribute']('uploadcareImageId'),_0x3ee4db=_0x2009e3['getAttribute']('src');if(_0x534c25)await this['_loadImageInfo'](_0x534c25,_0x3ee4db);else{if(this['_imageCache']['has'](_0x3ee4db)){const _0x567484=this['_imageCache']['get'](_0x3ee4db);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x567484['url'],this['imageDimension']=_0x567484['dimension'],this['imageId']=_0x567484['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x475270}=this['_editor'],t=_0x475270['t'],_0x362877=new Z(_0x475270,this['imageStatus'],this['_attributes']);_0x362877['bind']('status')['to'](this,'imageStatus'),_0x362877['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x362877['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x362877['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x362877,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x37e363,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x362877,'position':_0x4a4d94['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x362877['focus']();},'onHide':()=>{_0x362877['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x735672=>!R(_0x735672,_0x362877['element'])}});}['_loadImageInfo'](_0x4e3f1e,_0x1f19e4){return C['getInfo'](_0x4e3f1e,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x2b6713=>{const {width:_0x57276c,height:_0x3577f4}=_0x2b6713['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x1f19e4,this['imageDimension']={'width':_0x57276c,'height':_0x3577f4},this['imageId']=_0x4e3f1e;})['catch'](_0x13df8e=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x13df8e['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x313535,_0x24d23e){return this['_getImageAsFile'](_0x313535)['then'](_0x22d7e0=>C['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x24d23e['signal'],'file':_0x22d7e0,'onProgress':_0x421b34=>{_0x421b34&&_0x421b34['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x421b34['value']));}}))['then'](_0x46a260=>{const {width:_0x58fd3f,height:_0x154114}=_0x46a260['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x46a260['cdnUrl'],this['imageDimension']={'width':_0x58fd3f,'height':_0x154114},this['imageId']=_0x46a260['uuid'],this['imageUploadProgress']=null;const _0x1bd879=_0x313535['getAttribute']('src');this['_imageCache']['set'](_0x1bd879,{'id':_0x46a260['uuid'],'url':_0x46a260['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x24f40d=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x24f40d['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x430f78,_0x4004b7){_0x430f78['on']('apply',(_0x3e871,_0x3064db)=>{this['_replaceImage'](_0x4004b7,_0x3064db['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x430f78['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x430f78['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x49cba9,_0x407603,_0xead176){const _0x4f8bae=this['_editor'],{width:_0x4901bd,height:_0x11a46a}=F(_0x407603,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x5abea7,imageSources:_0x4a9827}=E(_0x407603,_0x4901bd);_0x4f8bae['model']['change'](_0x292504=>{if('$graveyard'===_0x49cba9['root']['rootName']){_0x4f8bae['execute']('insertImage',{'imageType':_0x49cba9['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x49cba9['getAttributes']()),'uploadcareImageId':_0xead176,'src':_0x5abea7,'sources':_0x4a9827,'width':_0x4901bd,'height':_0x11a46a}});const _0x21dfea=_0x49cba9['getChildren']();_0x49cba9=_0x4f8bae['model']['document']['selection']['getSelectedElement']();for(const _0x30db56 of _0x21dfea)_0x292504['append'](_0x292504['cloneElement'](_0x30db56),_0x49cba9);}else _0x292504['setSelection'](_0x49cba9,'on'),_0x4f8bae['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x49cba9['getAttributes']()),'uploadcareImageId':_0xead176,'src':_0x5abea7,'sources':_0x4a9827,'width':_0x4901bd,'height':_0x11a46a},_0x49cba9);_0x292504['setSelection'](_0x49cba9,'on');});}async['_getImageAsFile'](_0x16456e){const _0x152082=_0x32782c['window'],_0x362c05=_0x32782c['document']['location']['href'],_0x535051=new _0x152082['URL'](_0x16456e['getAttribute']('src'),_0x362c05);if('data:'===_0x535051['protocol']){const _0x5d22f5=_0x535051['href']['split'](','),_0x336027=_0x5d22f5[0x0]['match'](/:(.*?);/)[0x1],_0x17fa7d=_0x336027['split']('/')[0x1],_0x402d34=_0x152082['atob'](_0x5d22f5[_0x5d22f5['length']-0x1]);let _0x246bd0=_0x402d34['length'];const _0x2a8a0c=new _0x152082['Uint8Array'](_0x246bd0);for(;_0x246bd0--;)_0x2a8a0c[_0x246bd0]=_0x402d34['charCodeAt'](_0x246bd0);return new _0x152082['File']([_0x2a8a0c],'image.'+_0x17fa7d,{'type':_0x336027});}const _0x590216=_0x535051['href']['split']('/'),_0x136e21=_0x590216[_0x590216['length']-0x1],_0x58fd28=_0x136e21['split']('.')[0x1];return _0x152082['fetch'](_0x535051['href'])['then'](_0x42c776=>_0x42c776['clone']()['blob']())['then'](_0x5e2e1b=>new _0x152082['File']([_0x5e2e1b],_0x136e21,{'type':'image/'+_0x58fd28}));}}class z extends _0xa68079{['imageEditController'];static get['requires'](){return[_0x2c95d4];}['_isEditable'];constructor(_0x117bdd){super(_0x117bdd),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x598832){const _0x1997e6=V(_0x598832);return _0x69792d=>!(!_0x69792d||!_0x69792d['is']('element','imageBlock')&&!_0x69792d['is']('element','imageInline'))&&(!!_0x69792d['hasAttribute']('uploadcareImageId')||!!_0x69792d['hasAttribute']('src')&&_0x1997e6(_0x69792d['getAttribute']('src')));}(_0x117bdd['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x5ad8a1=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x5ad8a1);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x1540a6=this['editor']['model']['document']['selection']['getSelectedElement']();_0x1540a6&&(_0x1540a6['is']('element','imageBlock')||_0x1540a6['is']('element','imageInline'))&&(this['imageEditController']=new A(this['editor'],this['editor']['plugins']['get'](_0x2c95d4),_0x1540a6),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class O extends _0xa68079{['refresh'](){const _0x253bc8=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x253bc8&&(_0x253bc8['is']('element','imageBlock')||_0x253bc8['is']('element','imageInline')));}['execute'](_0x30cc65){const _0x383358=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0xce877f=>{_0xce877f['setAttributes'](_0x30cc65,_0x383358),_0xce877f['removeAttribute']('srcset',_0x383358),_0xce877f['removeAttribute']('sizes',_0x383358);});}}class g extends _0x27c674{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[i,_0x35606d,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x56c073}=this;_0x56c073['commands']['add']('uploadcareImageEdit',new z(_0x56c073)),_0x56c073['commands']['add']('uploadcareImageReplace',new O(_0x56c073));}}class j extends _0x27c674{['_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 _0x5c6eac=this['editor'];_0x5c6eac['ui']['componentFactory']['add']('uploadcareImageEdit',_0x270dd7=>{const _0x2e736d=_0x5c6eac['commands']['get']('uploadcareImageEdit'),_0x4e8cd2=new _0x4a20a8(_0x270dd7),t=_0x270dd7['t'];return _0x4e8cd2['set']({'icon':_0x37e363,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x4e8cd2['bind']('isEnabled')['to'](_0x2e736d),_0x4e8cd2['bind']('isOn')['to'](_0x2e736d,'isActive'),this['listenTo'](_0x4e8cd2,'execute',()=>{_0x5c6eac['execute']('uploadcareImageEdit'),_0x5c6eac['editing']['view']['focus']();}),_0x4e8cd2;}),this['_initConfig']();}['_initConfig'](){const _0x70add0=_0x30f592(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x70add0),this['listenTo'](this['editor'],'destroy',()=>{_0x70add0['remove']();});}}class P extends _0x27c674{static get['pluginName'](){return'UploadcareImageEdit';}static get['requires'](){return[g,j];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{u as Uploadcare,i as UploadcareEditing,P as UploadcareImageEdit,g as UploadcareImageEditEditing,j as UploadcareImageEditUI,e as UploadcareUI};
23
+ import{Plugin as _0x1a05d5,Command as _0x596e43}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x55c448,IconGooglePhotos as _0x4e8d2c,IconGoogleDrive as _0x5d7af3,IconFacebook as _0x3fe10b,IconDropbox as _0x21bf0f,IconUploadcareLink as _0x246e00,IconUploadcareImageUpload as _0x895ebc,IconError as et,IconUploadcareImageEdit as _0x2b374f}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0xd42893,MenuBarMenuListItemButtonView as _0x5b73c0,View as _0xcab268,FocusCycler as _0xf7db89,Dialog as _0x4b6953,DialogViewPosition as _0x5d271d,SpinnerView as _0x2defba,IconView as at,Notification as _0x5bd683}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x343c82,DomEmitterMixin as _0x4886d9,global as _0x3118f5,getAncestors as _0x24c676,ObservableMixin as _0x230d99,createElement as _0x2091cc,uid as _0x224029}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x5071ea}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x58b4ed,info as _0x518e70}from'@uploadcare/upload-client';import*as _0x3774a5 from'@uploadcare/file-uploader';var o=function(_0x27605a){return _0x27605a['Local']='local',_0x27605a['URL']='url',_0x27605a['Dropbox']='dropbox',_0x27605a['GDrive']='gdrive',_0x27605a['Facebook']='facebook',_0x27605a['GPhotos']='gphotos',_0x27605a['OneDrive']='onedrive',_0x27605a;}({});function _(_0x12fdde,_0x4f01ea,_0x58f3f6){const t=_0x12fdde['t'],_0x33e6ba=_0x12fdde['t'];switch(_0x4f01ea){case o['Local']:return{'text':_0x33e6ba('Insert'===_0x58f3f6?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x33e6ba('From\x20computer')};case o['URL']:return{'text':'Insert'===_0x58f3f6?_0x33e6ba('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x33e6ba('Via\x20URL')};case o['Dropbox']:return{'text':t('Insert'===_0x58f3f6?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case o['Facebook']:return{'text':t('Insert'===_0x58f3f6?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case o['GDrive']:return{'text':t('Insert'===_0x58f3f6?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case o['GPhotos']:return{'text':t('Insert'===_0x58f3f6?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case o['OneDrive']:return{'text':t('Insert'===_0x58f3f6?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x4f01ea;}}class e extends _0x1a05d5{['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 _0x2c2323=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x538d71;for(const _0x2ce212 in _0x2c2323){const _0x33e62e=_0x2ce212,_0x46635e=_0x2c2323[_0x33e62e];if('uploadcareLicenseKeyValid'==_0x46635e||'uploadcareLicenseKeyInvalid'==_0x46635e||'uploadcareLicenseKeyExpired'==_0x46635e||'uploadcareLicenseKeyDomainLimit'==_0x46635e||'uploadcareLicenseKeyNotAllowed'==_0x46635e||'uploadcareLicenseKeyEvaluationLimit'==_0x46635e||'uploadcareLicenseKeyTrialLimit'==_0x46635e||'uploadcareLicenseKeyUsageLimit'==_0x46635e){delete _0x2c2323[_0x33e62e],_0x538d71=_0x46635e,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x538d71&&_0x2c2323['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x538d71&&_0x2c2323['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x538d71&&_0x2c2323['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x538d71&&_0x2c2323['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x538d71&&_0x2c2323['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0x538d71&&_0x2c2323['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0x538d71&&_0x2c2323['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x2bec99}=this,_0x9001bb=_0x2bec99['commands']['get']('uploadcare');if(!_0x9001bb)return;const _0x523501=this['_normalizeConfigSourceList'](_0x2bec99['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x2f2499,_0x4a75d8)=>{const _0xbba1a3=this['_getIntegrationKey'](_0x4a75d8['type']);return _0x2f2499[_0xbba1a3]||(_0x2f2499[_0xbba1a3]=[]),_0x2f2499[_0xbba1a3]['push'](_0x4a75d8),_0x2f2499;},{});_0x2bec99['plugins']['has']('ImageInsertUI')&&_0x2bec99['commands']['get']('uploadcare')&&Object['entries'](_0x523501)['forEach'](([_0x4cd5ac,_0x3f01b8])=>{_0x2bec99['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x4cd5ac,'observable':()=>_0x9001bb,'buttonViewCreator':()=>this['_createToolbarButton'](_0x3f01b8),'formViewCreator':()=>this['_createDropdownButtons'](_0x3f01b8),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x3f01b8),'override':'assetManager'!==_0x4cd5ac});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x3e4253){const {locale:_0x419da7}=this['editor'];return _0x3e4253['map'](_0x101698=>{const _0x4b0744=_(_0x419da7,_0x101698,'Insert');switch(_0x101698){case o['Local']:return{'icon':_0x895ebc,'type':o['Local'],..._0x4b0744};case o['URL']:return{'icon':_0x246e00,'type':o['URL'],..._0x4b0744};case o['Dropbox']:return{'icon':_0x21bf0f,'type':o['Dropbox'],..._0x4b0744};case o['Facebook']:return{'icon':_0x3fe10b,'type':o['Facebook'],..._0x4b0744};case o['GDrive']:return{'icon':_0x5d7af3,'type':o['GDrive'],..._0x4b0744};case o['GPhotos']:return{'icon':_0x4e8d2c,'type':o['GPhotos'],..._0x4b0744};case o['OneDrive']:return{'icon':_0x55c448,'type':o['OneDrive'],..._0x4b0744};}});}['_getIntegrationKey'](_0x2b4aa3){switch(_0x2b4aa3){case o['Local']:return'upload';case o['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x4926be,_0x46d867){const _0x53bc87=this['editor'],_0x35fa6b=new _0x4926be(_0x53bc87['locale']),_0x177a6d=_0x53bc87['commands']['get']('uploadcare');return _0x35fa6b['bind']('isEnabled')['to'](_0x177a6d),_0x35fa6b['on']('execute',()=>{_0x177a6d['execute'](_0x46d867);}),_0x35fa6b;}['_createToolbarButton'](_0x2945d1){const {locale:_0x12ca08}=this['editor'],_0x1788fa=this['editor']['plugins']['get']('ImageInsertUI'),_0x1dda68=_0x2945d1[0x0],_0x1cb1c2=this['_createButton'](_0xd42893,_0x1dda68['type']);return _0x1cb1c2['icon']=_0x1dda68['icon'],_0x1cb1c2['bind']('label')['to'](_0x1788fa,'isImageSelected',_0x45de8a=>_(_0x12ca08,_0x1dda68['type'],_0x45de8a?'Replace':'Insert')['text']),_0x1cb1c2['tooltip']=!0x0,_0x1cb1c2;}['_createDropdownButtons'](_0x4b5e83){const {locale:_0x57983d}=this['editor'],_0x5d8143=this['editor']['plugins']['get']('ImageInsertUI');return _0x4b5e83['map'](_0x25d89c=>{const _0x398c39=this['_createButton'](_0xd42893,_0x25d89c['type']);return _0x398c39['withText']=!0x0,_0x398c39['icon']=_0x25d89c['icon'],_0x398c39['bind']('label')['to'](_0x5d8143,'isImageSelected',_0x3e118c=>_(_0x57983d,_0x25d89c['type'],_0x3e118c?'Replace':'Insert')['text']),_0x398c39;});}['_createMenuBarButtons'](_0x561dd4){return _0x561dd4['map'](_0x149c3d=>{const _0x1e4198=this['_createButton'](_0x5b73c0,_0x149c3d['type']);return _0x1e4198['icon']=_0x149c3d['icon'],_0x1e4198['label']=_0x149c3d['shortText'],_0x1e4198;});}}class q extends _0xcab268{['focusTracker'];['focusCycler'];constructor(_0x459d42){super(_0x459d42),this['focusTracker']=new _0x343c82(),this['focusCycler']=new _0xf7db89({'focusables':this['createCollection'](),'focusTracker':this['focusTracker']});}['getFocusableElement'](){return{'tag':'div','attributes':{'aria-hidden':'true','tabindex':'0'},'on':{'focus':this['bindTemplate']['to'](()=>{this['focusCycler']['fire']('forwardCycle');})}};}}class S extends q{constructor(_0x64186d){super(_0x64186d),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all-excluded','ck-uploadcare-form'],'tabindex':'-1'},'children':[{'tag':'uc-file-uploader-inline','attributes':{'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'uploader'}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function E(_0x2a9dee,_0x12df1c){const _0x300a32=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x5be002=>_0x5be002<=_0x12df1c)['map'](_0x2d6d62=>_0x2a9dee['replace'](/\/$/,'')+'/-/resize/'+_0x2d6d62+'x/\x20'+_0x2d6d62+'w');return{'imageFallbackUrl':_0x2a9dee,'imageSources':[{'srcset':_0x300a32['join'](',\x20'),'sizes':'(max-width:\x20'+_0x12df1c+'px)\x20100vw,\x20'+_0x12df1c+'px','type':'image/webp'}]};}function A(_0x58b1b5,_0x2e981d,_0x57a7e8){const _0x3bbd7e=_0x58b1b5['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x3bbd7e?parseInt(_0x3bbd7e[0x1],0xa):_0x2e981d,'height':_0x3bbd7e?parseInt(_0x3bbd7e[0x2],0xa):_0x57a7e8};}function m(_0x4d6563,_0x24f2e8){const _0x32aac4=Object['create'](_0x4886d9),_0x11b9c2=_0x4d6563['plugins']['get']('ImageUtils'),_0xc2dca=_0x4d6563['editing']['mapper']['toViewElement'](_0x24f2e8),_0x1b32e9=_0x11b9c2['findViewImgElement'](_0xc2dca),_0x2fd9eb=_0x4d6563['editing']['view']['domConverter']['viewToDom'](_0x1b32e9),_0x14baa9=_0x24f2e8['getAttribute']('width'),_0x1aae25=_0x24f2e8['getAttribute']('height'),_0x4281eb='image-processing';_0x4d6563['editing']['view']['change'](_0x417b8e=>{_0x417b8e['addClass'](_0x4281eb,_0xc2dca),_0x417b8e['setStyle']('aspect-ratio',_0x14baa9+'/'+_0x1aae25,_0x1b32e9);}),_0x32aac4['listenTo'](_0x2fd9eb,'load',()=>{_0x32aac4['stopListening'](_0x2fd9eb,'load'),_0x4d6563['editing']['view']['change'](_0x2b4b4f=>{_0x2b4b4f['removeClass'](_0x4281eb,_0xc2dca),_0x2b4b4f['removeStyle']('aspect-ratio',_0x1b32e9);});});}function V(_0x98c07a){if(Array['isArray'](_0x98c07a)){const _0x1ce0bd=_0x98c07a['map'](V);return _0x29ea42=>_0x1ce0bd['some'](_0xcb053a=>_0xcb053a(_0x29ea42));}if('origin'==_0x98c07a){const _0x282a12=_0x3118f5['window']['location']['origin'];return _0xf9acd5=>new URL(_0xf9acd5,_0x3118f5['document']['baseURI'])['origin']==_0x282a12;}return'function'==typeof _0x98c07a?_0x98c07a:_0x98c07a instanceof RegExp?_0x320b0a=>!(!_0x320b0a['match'](_0x98c07a)&&!_0x320b0a['replace'](/^https?:\/\//,'')['match'](_0x98c07a)):()=>!0x1;}function F(_0x7c7a2f,_0x2df25d){return _0x24c676(_0x7c7a2f['target'])['includes'](_0x2df25d);}class l extends/* #__PURE__ -- @preserve */
24
+ _0x230d99(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x359e56,_0xbd06c2,_0x270dd0){super(),this['_editor']=_0x359e56,this['_editing']=_0xbd06c2,this['_dialog']=_0x359e56['plugins']['get'](_0x4b6953),this['_api']=_0xbd06c2['ctxElement']['getAPI'](),this['_type']=_0x270dd0,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:_0x405ba7,model:_0x2c9b1f}=this['_editor'],_0x18344d=_0x2c9b1f['document']['selection']['getSelectedElement'](),_0x5332bb=_0x18344d&&(_0x18344d['is']('element','imageBlock')||_0x18344d['is']('element','imageInline'));this['_formView']=new S(_0x405ba7),this['_dialog']['show']({'id':'uploadCare','icon':_0x895ebc,'title':_(_0x405ba7,this['_type'],_0x5332bb?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x5d271d['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x1b8f11=>!F(_0x1b8f11,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x5a7260}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x2909b9=>{const _0x525c08=_0x5a7260['length'];for(const _0x3bd122 of _0x5a7260){const _0x47792b=_0x3bd122===_0x5a7260[_0x525c08-0x1],{cdnUrl:_0x5bb055,fileInfo:_0x360731}=_0x3bd122;if(!_0x5bb055||!_0x360731)continue;const {width:_0x4fa312,height:_0x3b2a41}=_0x360731['imageInfo'],_0x1a50ed=A(_0x5bb055,_0x4fa312,_0x3b2a41),_0x3f1347=E(_0x5bb055,_0x1a50ed['width']),_0x4d2673={'id':_0x360731['uuid'],'type':'image','attributes':{'imageDimension':_0x1a50ed,..._0x3f1347}};this['_insertAsset'](_0x4d2673,_0x47792b,_0x2909b9);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x37b1ab=>{'idle'===_0x37b1ab['detail']['status']&&!_0x37b1ab['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===o['Local']?this['_api']['setCurrentActivity'](o['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x47896e,_0x351c39,_0x1dbf98){const _0x3dd35d=this['_editor']['model']['document']['selection'],_0x5bb553=_0x3dd35d['getSelectedElement'](),_0x434bf2=!(!_0x5bb553||!_0x5bb553['is']('element','imageInline'));_0x1dbf98['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x47896e,_0x434bf2),_0x351c39||_0x1dbf98['setSelection'](_0x3dd35d['getLastPosition']());}['_insertImage'](_0x172eb6,_0x4ba962){const _0x5c28f0=this['_editor'],{imageDimension:_0x4259e7,imageFallbackUrl:_0x5215bd,imageSources:_0x231954}=_0x172eb6['attributes'];_0x5c28f0['execute']('insertImage',{'imageType':_0x4ba962?'imageInline':null,'source':{'uploadcareImageId':_0x172eb6['id'],'src':_0x5215bd,'sources':_0x231954,..._0x4259e7}});}}class n extends _0x596e43{['_editing'];['_controller']=null;static get['requires'](){return[_0x4b6953,i];}constructor(_0x4ddfac){super(_0x4ddfac),this['_editing']=_0x4ddfac['plugins']['get'](i);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x4c3972){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new l(this['editor'],this['_editing'],_0x4c3972);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class C{static['upload']({file:_0x3b65b6,publicKey:_0x426559,signal:_0x3eaf7d,onProgress:_0x5046d2}){return _0x58b4ed(_0x3b65b6,{'publicKey':_0x426559,'store':'auto','signal':_0x3eaf7d,'onProgress':_0x5046d2});}static['getInfo'](_0x5adc43,_0x161c74){return _0x518e70(_0x5adc43,_0x161c74);}}class p extends _0x1a05d5{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x5071ea,i];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x1fb7f3=this['editor'];if(!!!_0x1fb7f3['config']['get']('uploadcare'))return;_0x1fb7f3['plugins']['get'](_0x5071ea)['createUploadAdapter']=_0x31a73f=>new x(_0x31a73f,_0x1fb7f3),_0x1fb7f3['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x2f6d5c,{imageElement:_0x316ca2,data:_0x5c4d22})=>{_0x1fb7f3['model']['change'](_0x590293=>{_0x590293['setAttribute']('uploadcareImageId',_0x5c4d22['uploadcareImageId'],_0x316ca2);});});}}class x{['loader'];['editor'];['controller'];constructor(_0x365134,_0x55df90){this['loader']=_0x365134,this['editor']=_0x55df90,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x1469f2=this['editor']['config']['get']('uploadcare.pubkey'),_0x298817=await this['loader']['file'];return C['upload']({'file':_0x298817,'publicKey':_0x1469f2,'signal':this['controller']['signal'],'onProgress':_0x8a6ebd=>{_0x8a6ebd&&_0x8a6ebd['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x8a6ebd['value']);}})['then'](async _0x54b096=>{const {imageFallbackUrl:_0x3774c1,imageSources:_0x13eba9}=E(_0x54b096['cdnUrl'],_0x54b096['imageInfo']['width']);return{'uploadcareImageId':_0x54b096['uuid'],'default':_0x3774c1,'sources':_0x13eba9};})['catch'](()=>{const _0x16eba8=t('Cannot\x20upload\x20file:')+('\x20'+_0x298817['name']+'.');return Promise['reject'](_0x16eba8);});}['abort'](){this['controller']['abort']();}}class i extends _0x1a05d5{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',p,_0x4b6953];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}['init'](){const _0x39e57b=this['editor'];_0x39e57b['commands']['add']('uploadcare',new n(_0x39e57b));}['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 _0xa49ad7=_0x3118f5['document']['querySelector']('input[uploadcare-file-input]');_0xa49ad7&&_0xa49ad7['remove']();}),async function(_0x1da38b){const _0x135c96=_0x4ec4d9([0x47,0x6d,0x45,0x68,0x4b,0x72,0x74,0x54,0x46,0x34,0x30,0x59,0x78,0x66,0x51,0x61,0x7a,0x52,0x69,0x4c,0x6a,0x5a,0x37,0x76,0x79,0x33,0x62,0x75,0x49,0x39,0x4e,0x6c,0x48,0x77,0x6e,0x65,0x71,0x44,0x50,0x4d,0x35,0x56,0x42,0x41,0x36,0x6f,0x63,0x67,0x53,0x4f,0x38,0x64,0x32,0x55,0x31,0x6b,0x70,0x58,0x4a,0x73,0x43,0x57]),_0x25dd8a=0x22527a8e,_0x1ecb41=0x2255190e^_0x25dd8a,_0x373c97=window[_0x4ec4d9([0x44,0x61,0x74,0x65])][_0x4ec4d9([0x6e,0x6f,0x77])](),_0x43b563=_0x1da38b[_0x4ec4d9([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x13c8c0=new window[(_0x4ec4d9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x483410=>{_0x43b563[_0x4ec4d9([0x6f,0x6e,0x63,0x65])](_0x4ec4d9([0x72,0x65,0x61,0x64,0x79]),_0x483410);}),_0xb2125f={[_0x4ec4d9([0x6b,0x74,0x79])]:_0x4ec4d9([0x45,0x43]),[_0x4ec4d9([0x75,0x73,0x65])]:_0x4ec4d9([0x73,0x69,0x67]),[_0x4ec4d9([0x63,0x72,0x76])]:_0x4ec4d9([0x50,0x2d,0x32,0x35,0x36]),[_0x4ec4d9([0x78])]:_0x4ec4d9([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]),[_0x4ec4d9([0x79])]:_0x4ec4d9([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]),[_0x4ec4d9([0x61,0x6c,0x67])]:_0x4ec4d9([0x45,0x53,0x32,0x35,0x36])},_0xca32a3=_0x43b563[_0x4ec4d9([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4ec4d9([0x67,0x65,0x74])](_0x4ec4d9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4bdaae(){let _0x376fd9,_0x3cc194=null,_0x24dc51=null;try{if(_0xca32a3==_0x4ec4d9([0x47,0x50,0x4c]))return _0x4ec4d9([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x376fd9=_0x461b79(),!_0x376fd9)return _0x4ec4d9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x376fd9[_0x4ec4d9([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x24dc51=_0x172215(_0x376fd9[_0x4ec4d9([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x376fd9[_0x4ec4d9([0x6a,0x74,0x69])])),await _0x573962()?_0x1b4641()?_0x5ee1be()?_0x4ec4d9([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x36755d()?(_0x376fd9[_0x4ec4d9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4ec4d9([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3cc194=_0x823c2d(_0x4ec4d9([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x376fd9[_0x4ec4d9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4ec4d9([0x74,0x72,0x69,0x61,0x6c])&&(_0x3cc194=_0x823c2d(_0x4ec4d9([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x14d3e5()):_0x4ec4d9([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4ec4d9([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4ec4d9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x5cf6a1){return _0x4ec4d9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x5ee1be(){const _0x5d51c7=[_0x4ec4d9([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4ec4d9([0x74,0x72,0x69,0x61,0x6c])][_0x4ec4d9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x376fd9[_0x4ec4d9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x373c97/0x3e8:0xe10*_0x1ecb41;return _0x376fd9[_0x4ec4d9([0x65,0x78,0x70])]<_0x5d51c7;}function _0x1b4641(){const _0x86a946=_0x376fd9[_0x4ec4d9([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x86a946&&(!!_0x86a946[_0x4ec4d9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4ec4d9([0x2a]))||!!_0x86a946[_0x4ec4d9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4ec4d9([0x55,0x50,0x4c,0x43])));}function _0x36755d(){const _0x227335=_0x376fd9[_0x4ec4d9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x227335||0x0==_0x227335[_0x4ec4d9([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x19f52a}=new URL(window[_0x4ec4d9([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x227335[_0x4ec4d9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x19f52a))return!0x0;const _0x23aeb9=_0x19f52a[_0x4ec4d9([0x73,0x70,0x6c,0x69,0x74])](_0x4ec4d9([0x2e]));return _0x227335[_0x4ec4d9([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x32a9c9=>_0x32a9c9[_0x4ec4d9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4ec4d9([0x2a])))[_0x4ec4d9([0x6d,0x61,0x70])](_0x25526e=>_0x25526e[_0x4ec4d9([0x73,0x70,0x6c,0x69,0x74])](_0x4ec4d9([0x2e])))[_0x4ec4d9([0x73,0x6f,0x6d,0x65])](_0x4000b3=>_0x23aeb9[_0x4ec4d9([0x65,0x76,0x65,0x72,0x79])]((_0x16163a,_0x2d3304)=>_0x4000b3[_0x2d3304]===_0x16163a||_0x4000b3[_0x2d3304]===_0x4ec4d9([0x2a])));}function _0x14d3e5(){return _0x3cc194&&_0x24dc51?new window[(_0x4ec4d9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x514065,_0x4c40a0)=>{_0x3cc194[_0x4ec4d9([0x74,0x68,0x65,0x6e])](_0x514065,_0x4c40a0),_0x24dc51[_0x4ec4d9([0x74,0x68,0x65,0x6e])](_0x3045cc=>{_0x3045cc!=_0x4ec4d9([0x56,0x61,0x6c,0x69,0x64])&&_0x514065(_0x3045cc);},_0x4c40a0);}):_0x3cc194||_0x24dc51||_0x4ec4d9([0x56,0x61,0x6c,0x69,0x64]);}}function _0x172215(_0x437823,_0x18f08d){return new window[(_0x4ec4d9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x101897=>{if(_0x7afbe3())return _0x101897(_0x4ec4d9([0x56,0x61,0x6c,0x69,0x64]));_0x53403e(),_0x43b563[_0x4ec4d9([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4ec4d9([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x62adcf=!0x1;const _0x134c3d=_0x224029();function _0x44f8b2(_0x148315){return!!_0x148315&&(typeof _0x148315===_0x4ec4d9([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x148315===_0x4ec4d9([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x148315[_0x4ec4d9([0x74,0x68,0x65,0x6e])]===_0x4ec4d9([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x148315[_0x4ec4d9([0x63,0x61,0x74,0x63,0x68])]===_0x4ec4d9([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0xf96242(_0x3c3a1a){_0x47b748(_0x3c3a1a)[_0x4ec4d9([0x74,0x68,0x65,0x6e])](_0x33709f=>{if(!_0x33709f||_0x33709f[_0x4ec4d9([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4ec4d9([0x6f,0x6b]))return _0x4ec4d9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x4e441f(_0x27ede9(_0x134c3d+_0x18f08d))!=_0x33709f[_0x4ec4d9([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4ec4d9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4ec4d9([0x56,0x61,0x6c,0x69,0x64]);})[_0x4ec4d9([0x74,0x68,0x65,0x6e])](_0xe538c8=>(_0x3a4f9c(),_0xe538c8),()=>{const _0x42b3fc=_0x5e4851();return null==_0x42b3fc?(_0x3a4f9c(),_0x4ec4d9([0x56,0x61,0x6c,0x69,0x64])):_0x4ec4d9(_0x373c97-_0x42b3fc>(0x65efe8e^_0x25dd8a)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4ec4d9([0x74,0x68,0x65,0x6e])](_0x101897)[_0x4ec4d9([0x63,0x61,0x74,0x63,0x68])](()=>{_0x101897(_0x4ec4d9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x56713e=0x2264940e^_0x25dd8a;function _0x3a4f9c(){const _0x5314af=_0x4ec4d9([0x6c,0x6c,0x63,0x74,0x2d])+_0x4e441f(_0x27ede9(_0x437823)),_0x2013c7=_0x2bc51e(_0x4e441f(window[_0x4ec4d9([0x4d,0x61,0x74,0x68])][_0x4ec4d9([0x63,0x65,0x69,0x6c])](_0x373c97/_0x56713e)));window[_0x4ec4d9([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4ec4d9([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5314af,_0x2013c7);}function _0x5e4851(){const _0x452ef8=_0x4ec4d9([0x6c,0x6c,0x63,0x74,0x2d])+_0x4e441f(_0x27ede9(_0x437823)),_0xa99e3b=window[_0x4ec4d9([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4ec4d9([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x452ef8);return _0xa99e3b?window[_0x4ec4d9([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2bc51e(_0xa99e3b),0x10)*_0x56713e:null;}function _0x47b748(_0x1af949){return new window[(_0x4ec4d9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3ac077,_0x5a8fb2)=>{_0x1af949[_0x4ec4d9([0x74,0x68,0x65,0x6e])](_0x3ac077,_0x5a8fb2),window[_0x4ec4d9([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5a8fb2,0x2253ae4e^_0x25dd8a);});}}_0x43b563[_0x4ec4d9([0x6f,0x6e])](_0x4ec4d9([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x2bc614,_0x5bdf56)=>{if(_0x5bdf56[0x0]!=_0x437823)return _0x101897(_0x4ec4d9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x5bdf56[0x1]={..._0x5bdf56[0x1],[_0x4ec4d9([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x134c3d};},{[_0x4ec4d9([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4ec4d9([0x68,0x69,0x67,0x68])}),_0x43b563[_0x4ec4d9([0x6f,0x6e])](_0x4ec4d9([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5ca80e=>{_0x44f8b2(_0x5ca80e[_0x4ec4d9([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x62adcf=!0x0,_0xf96242(_0x5ca80e[_0x4ec4d9([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4ec4d9([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4ec4d9([0x6c,0x6f,0x77])}),_0x13c8c0[_0x4ec4d9([0x74,0x68,0x65,0x6e])](()=>{_0x62adcf||_0x101897(_0x4ec4d9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x7afbe3(){return _0x43b563[_0x4ec4d9([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4ec4d9([0x76,0x69,0x65,0x77])][_0x4ec4d9([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4ec4d9([0x61,0x75,0x74,0x6f]);}function _0x53403e(){_0x43b563[_0x4ec4d9([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4ec4d9([0x76,0x69,0x65,0x77])][_0x4ec4d9([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4ec4d9([0x61,0x75,0x74,0x6f]);}}function _0x823c2d(_0x5e70e1){const _0x5e496f=[new window[(_0x4ec4d9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x107478=>setTimeout(_0x107478,0x225b4442^_0x25dd8a)),_0x13c8c0[_0x4ec4d9([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4ec4d9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x267539=>{let _0x490c35=0x0;_0x43b563[_0x4ec4d9([0x6d,0x6f,0x64,0x65,0x6c])][_0x4ec4d9([0x6f,0x6e])](_0x4ec4d9([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x2b133a,_0x3deda8)=>{_0x3deda8[0x0][_0x4ec4d9([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x490c35++,_0x490c35==(0x22527b76^_0x25dd8a)&&(_0x267539(),_0x2b133a[_0x4ec4d9([0x6f,0x66,0x66])]());});}))];return window[_0x4ec4d9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4ec4d9([0x72,0x61,0x63,0x65])](_0x5e496f)[_0x4ec4d9([0x74,0x68,0x65,0x6e])](()=>_0x5e70e1);}async function _0x3d9fa5(){await _0x13c8c0,_0x43b563[_0x4ec4d9([0x6d,0x6f,0x64,0x65,0x6c])][_0x4ec4d9([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x38620c,_0x43b563[_0x4ec4d9([0x6d,0x6f,0x64,0x65,0x6c])][_0x4ec4d9([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x38620c,_0x43b563[_0x4ec4d9([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4ec4d9([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x306bc2(_0x3cfc6e){const _0x434897=_0x531701();_0x43b563[_0x434897]=_0x4ec4d9([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x3cfc6e,_0x3cfc6e!=_0x4ec4d9([0x56,0x61,0x6c,0x69,0x64])&&_0x3d9fa5();}function _0x531701(){const _0x3d7d3c=window[_0x4ec4d9([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4ec4d9([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4ec4d9([0x6e,0x6f,0x77])]())[_0x4ec4d9([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4ec4d9([0x2e]),'');let _0x72232e=_0x4ec4d9([0x47]);for(let _0x55d2fa=0x0;_0x55d2fa<_0x3d7d3c[_0x4ec4d9([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x55d2fa+=0x2){let _0x27c209=window[_0x4ec4d9([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3d7d3c[_0x4ec4d9([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x55d2fa,_0x55d2fa+0x2));_0x27c209>=_0x135c96[_0x4ec4d9([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x27c209-=_0x135c96[_0x4ec4d9([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x72232e+=_0x135c96[_0x27c209];}return _0x72232e;}function _0x461b79(){const _0x2e20c0=_0xca32a3[_0x4ec4d9([0x73,0x70,0x6c,0x69,0x74])](_0x4ec4d9([0x2e]));if(0x3!=_0x2e20c0[_0x4ec4d9([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x13c7b1(_0x2e20c0[0x1]);function _0x13c7b1(_0x3901cd){const _0x2abda2=_0x289049(_0x3901cd);return _0x2abda2&&_0x502788()?_0x2abda2:null;function _0x502788(){const _0x573436=_0x2abda2[_0x4ec4d9([0x6a,0x74,0x69])],_0xd4a59f=window[_0x4ec4d9([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x573436[_0x4ec4d9([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x573436[_0x4ec4d9([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x5333f6={..._0x2abda2,[_0x4ec4d9([0x6a,0x74,0x69])]:_0x573436[_0x4ec4d9([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x573436[_0x4ec4d9([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x5333f6[_0x4ec4d9([0x76,0x63])],_0x27ede9(_0x5333f6)==_0xd4a59f;}}}async function _0x573962(){let _0x44a9e0=!0x0;try{const _0x2ce1d2=_0xca32a3[_0x4ec4d9([0x73,0x70,0x6c,0x69,0x74])](_0x4ec4d9([0x2e])),[_0x5a420b,_0x1d2f57,_0x786e02]=_0x2ce1d2;return _0x43f543(_0x5a420b),await _0x543b2e(_0x5a420b,_0x1d2f57,_0x786e02),_0x44a9e0;}catch(_0x5575dd){return!0x1;}function _0x43f543(_0xdda71e){const _0x365968=_0x289049(_0xdda71e);_0x365968&&_0x365968[_0x4ec4d9([0x61,0x6c,0x67])]==_0x4ec4d9([0x45,0x53,0x32,0x35,0x36])||(_0x44a9e0=!0x1);}async function _0x543b2e(_0x496fca,_0x47246a,_0x4e6a41){const _0x3b0f96=window[_0x4ec4d9([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4ec4d9([0x66,0x72,0x6f,0x6d])](_0x12ea68(_0x4e6a41),_0x44b4df=>_0x44b4df[_0x4ec4d9([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x25af3b=new window[(_0x4ec4d9([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4ec4d9([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x496fca+_0x4ec4d9([0x2e])+_0x47246a),_0x41500c=window[_0x4ec4d9([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4ec4d9([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x41500c)return;const _0x4ad50a=await _0x41500c[_0x4ec4d9([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4ec4d9([0x6a,0x77,0x6b]),_0xb2125f,{[_0x4ec4d9([0x6e,0x61,0x6d,0x65])]:_0x4ec4d9([0x45,0x43,0x44,0x53,0x41]),[_0x4ec4d9([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4ec4d9([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4ec4d9([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x41500c[_0x4ec4d9([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4ec4d9([0x6e,0x61,0x6d,0x65])]:_0x4ec4d9([0x45,0x43,0x44,0x53,0x41]),[_0x4ec4d9([0x68,0x61,0x73,0x68])]:{[_0x4ec4d9([0x6e,0x61,0x6d,0x65])]:_0x4ec4d9([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4ad50a,_0x3b0f96,_0x25af3b)||(_0x44a9e0=!0x1);}}function _0x289049(_0x287245){return _0x287245[_0x4ec4d9([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4ec4d9([0x65,0x79]))?JSON[_0x4ec4d9([0x70,0x61,0x72,0x73,0x65])](_0x12ea68(_0x287245)):null;}function _0x12ea68(_0x2e2795){return window[_0x4ec4d9([0x61,0x74,0x6f,0x62])](_0x2e2795[_0x4ec4d9([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4ec4d9([0x2b]))[_0x4ec4d9([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4ec4d9([0x2f])));}function _0x27ede9(_0x1253e7){let _0x3063f1=0x1505;function _0x584552(_0x3d7f67){for(let _0x29810=0x0;_0x29810<_0x3d7f67[_0x4ec4d9([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x29810++){const _0x528fdc=_0x3d7f67[_0x4ec4d9([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x29810);_0x3063f1=(_0x3063f1<<0x5)+_0x3063f1+_0x528fdc,_0x3063f1&=_0x3063f1;}}function _0x35b8e0(_0x13a799){Array[_0x4ec4d9([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x13a799)?_0x13a799[_0x4ec4d9([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x35b8e0):_0x13a799&&typeof _0x13a799==_0x4ec4d9([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4ec4d9([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x13a799)[_0x4ec4d9([0x73,0x6f,0x72,0x74])]()[_0x4ec4d9([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4c766b,_0xade12c])=>{_0x584552(_0x4c766b),_0x35b8e0(_0xade12c);}):_0x584552(window[_0x4ec4d9([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x13a799));}return _0x35b8e0(_0x1253e7),_0x3063f1>>>0x0;}function _0x4e441f(_0x398d9c){return _0x398d9c[_0x4ec4d9([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4ec4d9([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4ec4d9([0x30]));}function _0x2bc51e(_0x3ac6af){return _0x3ac6af[_0x4ec4d9([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4ec4d9([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4ec4d9([0x6a,0x6f,0x69,0x6e])]('');}function _0x38620c(){}function _0x4ec4d9(_0x3f48d7){return _0x3f48d7['map'](_0x38c681=>String['fromCharCode'](_0x38c681))['join']('');}_0x306bc2(await _0x4bdaae());}(this);}['_initSchema'](){const _0x3b2572=this['editor']['model']['schema'];_0x3b2572['isRegistered']('imageBlock')&&_0x3b2572['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x3b2572['isRegistered']('imageInline')&&_0x3b2572['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x33bae0=this['editor'];_0x33bae0['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x33bae0['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x123bb3=>_0x123bb3['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0xdb24b4=_0x33bae0['commands']['get']('replaceImageSource');_0xdb24b4&&this['listenTo'](_0xdb24b4,'cleanupImage',(_0x3ba77c,[_0x21302d,_0x340505])=>{_0x21302d['removeAttribute']('uploadcareImageId',_0x340505);});}['_initConfig'](){const _0x341735=this['editor']['config']['get']('uploadcare.uploader')||{},_0x499834=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x2091cc(_0x3118f5['document'],'uc-config',{..._0x341735,'pubkey':_0x499834,'ctx-name':'uploader','sourceList':'','imgOnly':'true','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage'],'externalSourcesEmbedCss':'\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup\x20{\x20padding:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-menu\x20{\x20gap:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-footer\x20{\x20padding-top:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__separator\x20{\x20margin:\x200;\x20}\x0a\x09\x09\x09'}),this['_configElement']['iconHrefResolver']=_0x2dcf65=>{if('closeMax'==_0x2dcf65)return'#uc-icon-arrow-down';},_0x3118f5['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x2091cc(_0x3118f5['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader'}),_0x3118f5['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x14e4f3=this['editor']['commands']['get']('insertImage');_0x14e4f3&&this['listenTo'](_0x14e4f3,'execute',()=>{const _0x19baab=this['editor']['model']['document']['selection']['getSelectedElement']();_0x19baab&&_0x19baab['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{m(this['editor'],_0x19baab);});});const _0x433389=this['editor']['commands']['get']('uploadcareImageReplace');_0x433389&&this['listenTo'](_0x433389,'execute',()=>{const _0xddcf58=this['editor']['model']['document']['selection']['getSelectedElement']();_0xddcf58&&_0xddcf58['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{m(this['editor'],_0xddcf58);});});}}class u extends _0x1a05d5{static get['requires'](){return[i,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x2c14f9){super(_0x2c14f9),_0x2c14f9['config']['define']('uploadcare.uploader.sourceList',[o['Local'],o['URL']]),_0x3774a5['defineComponents'](_0x3774a5);}}class ta extends _0xcab268{constructor(_0x2efa04){super(_0x2efa04);const t=_0x2efa04['t'],_0x1c940d=this['bindTemplate'],_0x17d4f8=new _0x2defba();_0x17d4f8['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':[_0x17d4f8,{'text':_0x1c940d['to']('imageUploadProgress',_0x5e2585=>t('Loading\x20image...')+'\x20('+(_0x5e2585||0x0)+'%)')}]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}class rt extends _0xcab268{constructor(_0x194b1a){super(_0x194b1a);const t=_0x194b1a['t'];this['set']('errorType',null);const _0x9b49c8=new _0xd42893(_0x194b1a);_0x9b49c8['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x9b49c8['withText']=!0x0,_0x9b49c8['class']='ck-button-action',_0x9b49c8['on']('execute',()=>{this['fire']('retry');}),_0x9b49c8['bind']('isVisible')['to'](this,'errorType',_0xca8422=>'NotFound'!==_0xca8422);const _0x47f656=new at();_0x47f656['content']=et,_0x47f656['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x31ca9b=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':[_0x47f656,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x31ca9b['to']('errorType',_0xb973e8=>t('NotFound'!==_0xb973e8?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x9b49c8]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}class tt extends _0xcab268{constructor(_0x2a553b,_0x4611dd){super(_0x2a553b);const _0x772ffa=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x4611dd,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x772ffa['to']('imageSrc')}});}}class Z extends q{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x4f1403,_0xcae9d4,_0x1836ba){super(_0x4f1403),this['_items']=this['createCollection'](),this['_loadingView']=new ta(_0x4f1403),this['_errorView']=new rt(_0x4f1403),this['_editingView']=new tt(_0x4f1403,_0x1836ba),this['_focusableView']=new _0xcab268(_0x4f1403),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0xcae9d4),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'],_0x81d149=>{this['_addUploadcareImageEditorListeners'](_0x81d149);});}),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'](_0x589c3d,_0x30f36e){const _0x47f76b='uc-cloud-image-editor',_0x4938c3=_0x589c3d['querySelector'](_0x47f76b);if(_0x4938c3)return _0x30f36e(_0x4938c3);const _0x2eb0a4=new MutationObserver(_0x54beed=>{const _0x447bb9=_0x54beed['filter'](_0x3fb103=>_0x3fb103['target']===_0x589c3d&&_0x3fb103['addedNodes']['length']>0x0&&_0x3fb103['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x47f76b);_0x447bb9['length']&&(_0x2eb0a4['disconnect'](),_0x30f36e(_0x447bb9[0x0]['addedNodes'][0x0]));});_0x2eb0a4['observe'](_0x589c3d,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x5aab35){_0x5aab35['addEventListener']('apply',_0x83eb85=>{this['fire']('apply',{'imageSrc':_0x83eb85['detail']['cdnUrl']});}),_0x5aab35['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class z extends/* #__PURE__ -- @preserve */
25
+ _0x230d99(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x1b5b0d,_0x52d598,_0x4316a9){super(),this['_editor']=_0x1b5b0d,this['_dialog']=_0x52d598,this['_imageElement']=_0x4316a9,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 _0xbfed4d=this['_imageElement'],_0x1e0cdf=_0xbfed4d['getAttribute']('uploadcareImageId'),_0x1b1d0a=_0xbfed4d['getAttribute']('src');if(_0x1e0cdf)await this['_loadImageInfo'](_0x1e0cdf,_0x1b1d0a);else{if(this['_imageCache']['has'](_0x1b1d0a)){const _0x1b708b=this['_imageCache']['get'](_0x1b1d0a);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x1b708b['url'],this['imageDimension']=_0x1b708b['dimension'],this['imageId']=_0x1b708b['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x144b29}=this['_editor'],t=_0x144b29['t'],_0x1c6b1b=new Z(_0x144b29,this['imageStatus'],this['_attributes']);_0x1c6b1b['bind']('status')['to'](this,'imageStatus'),_0x1c6b1b['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x1c6b1b['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x1c6b1b['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x1c6b1b,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x2b374f,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x1c6b1b,'position':_0x5d271d['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x1c6b1b['focus']();},'onHide':()=>{_0x1c6b1b['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x37f5ba=>!F(_0x37f5ba,_0x1c6b1b['element'])}});}['_loadImageInfo'](_0x358722,_0x4c38b1){return C['getInfo'](_0x358722,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x1ac489=>{const {width:_0x2ed0df,height:_0x393944}=_0x1ac489['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x4c38b1,this['imageDimension']={'width':_0x2ed0df,'height':_0x393944},this['imageId']=_0x358722;})['catch'](_0x13e6a2=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x13e6a2['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x41fa48,_0x530261){return this['_getImageAsFile'](_0x41fa48)['then'](_0x4ca997=>C['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x530261['signal'],'file':_0x4ca997,'onProgress':_0x44ea4d=>{_0x44ea4d&&_0x44ea4d['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x44ea4d['value']));}}))['then'](_0x5410b3=>{const {width:_0x1e5c95,height:_0x4f0f34}=_0x5410b3['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x5410b3['cdnUrl'],this['imageDimension']={'width':_0x1e5c95,'height':_0x4f0f34},this['imageId']=_0x5410b3['uuid'],this['imageUploadProgress']=null;const _0x10121d=_0x41fa48['getAttribute']('src');this['_imageCache']['set'](_0x10121d,{'id':_0x5410b3['uuid'],'url':_0x5410b3['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x570782=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x570782['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x216d84,_0x40e338){_0x216d84['on']('apply',(_0x1bb191,_0x3d386a)=>{this['_replaceImage'](_0x40e338,_0x3d386a['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x216d84['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x216d84['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x2b9a7f,_0x521d3,_0x1680a9){const _0xae7112=this['_editor'],{width:_0x3cf139,height:_0xb20df}=A(_0x521d3,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x43dc50,imageSources:_0x4233ec}=E(_0x521d3,_0x3cf139);_0xae7112['model']['change'](_0x2d3be9=>{if('$graveyard'===_0x2b9a7f['root']['rootName']){_0xae7112['execute']('insertImage',{'imageType':_0x2b9a7f['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x2b9a7f['getAttributes']()),'uploadcareImageId':_0x1680a9,'src':_0x43dc50,'sources':_0x4233ec,'width':_0x3cf139,'height':_0xb20df}});const _0x1d73f6=_0x2b9a7f['getChildren']();_0x2b9a7f=_0xae7112['model']['document']['selection']['getSelectedElement']();for(const _0x3cf97b of _0x1d73f6)_0x2d3be9['append'](_0x2d3be9['cloneElement'](_0x3cf97b),_0x2b9a7f);}else _0x2d3be9['setSelection'](_0x2b9a7f,'on'),_0xae7112['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x2b9a7f['getAttributes']()),'uploadcareImageId':_0x1680a9,'src':_0x43dc50,'sources':_0x4233ec,'width':_0x3cf139,'height':_0xb20df},_0x2b9a7f);_0x2d3be9['setSelection'](_0x2b9a7f,'on');});}async['_getImageAsFile'](_0x2e1f49){const _0x303cd1=_0x3118f5['window'],_0x316acd=_0x3118f5['document']['location']['href'],_0x65073b=new _0x303cd1['URL'](_0x2e1f49['getAttribute']('src'),_0x316acd);if('data:'===_0x65073b['protocol']){const _0x160e43=_0x65073b['href']['split'](','),_0x1bbba0=_0x160e43[0x0]['match'](/:(.*?);/)[0x1],_0x4d18d2=_0x1bbba0['split']('/')[0x1],_0x33cf12=_0x303cd1['atob'](_0x160e43[_0x160e43['length']-0x1]);let _0x589b05=_0x33cf12['length'];const _0x50c3d4=new _0x303cd1['Uint8Array'](_0x589b05);for(;_0x589b05--;)_0x50c3d4[_0x589b05]=_0x33cf12['charCodeAt'](_0x589b05);return new _0x303cd1['File']([_0x50c3d4],'image.'+_0x4d18d2,{'type':_0x1bbba0});}const _0x7142d4=_0x65073b['href']['split']('/'),_0xafbb1f=_0x7142d4[_0x7142d4['length']-0x1],_0x176674=_0xafbb1f['split']('.')[0x1];return _0x303cd1['fetch'](_0x65073b['href'])['then'](_0x409fdb=>_0x409fdb['clone']()['blob']())['then'](_0x229afb=>new _0x303cd1['File']([_0x229afb],_0xafbb1f,{'type':'image/'+_0x176674}));}}class J extends _0x596e43{['imageEditController'];static get['requires'](){return[_0x4b6953];}['_isEditable'];constructor(_0xbf71b2){super(_0xbf71b2),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x50b963){const _0xbdb4e0=V(_0x50b963);return _0x55cb2b=>!(!_0x55cb2b||!_0x55cb2b['is']('element','imageBlock')&&!_0x55cb2b['is']('element','imageInline'))&&(!!_0x55cb2b['hasAttribute']('uploadcareImageId')||!!_0x55cb2b['hasAttribute']('src')&&_0xbdb4e0(_0x55cb2b['getAttribute']('src')));}(_0xbf71b2['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x58e55b=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x58e55b);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x4e56f5=this['editor']['model']['document']['selection']['getSelectedElement']();_0x4e56f5&&(_0x4e56f5['is']('element','imageBlock')||_0x4e56f5['is']('element','imageInline'))&&(this['imageEditController']=new z(this['editor'],this['editor']['plugins']['get'](_0x4b6953),_0x4e56f5),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class O extends _0x596e43{['refresh'](){const _0x3daf17=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x3daf17&&(_0x3daf17['is']('element','imageBlock')||_0x3daf17['is']('element','imageInline')));}['execute'](_0x4fb893){const _0x5d817e=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x220932=>{_0x220932['setAttributes'](_0x4fb893,_0x5d817e),_0x220932['removeAttribute']('srcset',_0x5d817e),_0x220932['removeAttribute']('sizes',_0x5d817e);});}}class g extends _0x1a05d5{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[i,_0x5bd683,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x52c2c7}=this;_0x52c2c7['commands']['add']('uploadcareImageEdit',new J(_0x52c2c7)),_0x52c2c7['commands']['add']('uploadcareImageReplace',new O(_0x52c2c7));}}class j extends _0x1a05d5{['_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 _0x177df5=this['editor'];_0x177df5['ui']['componentFactory']['add']('uploadcareImageEdit',_0xf72a63=>{const _0x32f947=_0x177df5['commands']['get']('uploadcareImageEdit'),_0x2562eb=new _0xd42893(_0xf72a63),t=_0xf72a63['t'];return _0x2562eb['set']({'icon':_0x2b374f,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x2562eb['bind']('isEnabled')['to'](_0x32f947),_0x2562eb['bind']('isOn')['to'](_0x32f947,'isActive'),this['listenTo'](_0x2562eb,'execute',()=>{_0x177df5['execute']('uploadcareImageEdit'),_0x177df5['editing']['view']['focus']();}),_0x2562eb;}),this['_initConfig']();}['_initConfig'](){const _0x5b95ab=_0x2091cc(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x5b95ab),this['listenTo'](this['editor'],'destroy',()=>{_0x5b95ab['remove']();});}}class P extends _0x1a05d5{static get['pluginName'](){return'UploadcareImageEdit';}static get['requires'](){return[g,j];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{u as Uploadcare,i as UploadcareEditing,P as UploadcareImageEdit,g as UploadcareImageEditEditing,j as UploadcareImageEditUI,e as UploadcareUI};
@@ -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':_0x13a00a=>0x1!=_0x13a00a}};
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':_0x2ffdef=>0x1!=_0x2ffdef}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x2e589f=>{const {af:{dictionary:_0x38775b,getPluralForm:_0x43c5c7}}={'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':_0x14d62d=>0x1!=_0x14d62d}};_0x2e589f['af']||={'dictionary':{},'getPluralForm':null},_0x2e589f['af']['dictionary']=Object['assign'](_0x2e589f['af']['dictionary'],_0x38775b),_0x2e589f['af']['getPluralForm']=_0x43c5c7;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x1f7d28=>{const {af:{dictionary:_0x54cef5,getPluralForm:_0x493e0b}}={'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':_0x22e034=>0x1!=_0x22e034}};_0x1f7d28['af']||={'dictionary':{},'getPluralForm':null},_0x1f7d28['af']['dictionary']=Object['assign'](_0x1f7d28['af']['dictionary'],_0x54cef5),_0x1f7d28['af']['getPluralForm']=_0x493e0b;})(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':_0x3a0f49=>0x0==_0x3a0f49?0x0:0x1==_0x3a0f49?0x1:0x2==_0x3a0f49?0x2:_0x3a0f49%0x64>=0x3&&_0x3a0f49%0x64<=0xa?0x3:_0x3a0f49%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':_0x4b35a2=>0x0==_0x4b35a2?0x0:0x1==_0x4b35a2?0x1:0x2==_0x4b35a2?0x2:_0x4b35a2%0x64>=0x3&&_0x4b35a2%0x64<=0xa?0x3:_0x4b35a2%0x64>=0xb?0x4:0x5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0xf9cc57=>{const {ar:{dictionary:_0x28375c,getPluralForm:_0x4c0fa3}}={'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':_0x1f33e9=>0x0==_0x1f33e9?0x0:0x1==_0x1f33e9?0x1:0x2==_0x1f33e9?0x2:_0x1f33e9%0x64>=0x3&&_0x1f33e9%0x64<=0xa?0x3:_0x1f33e9%0x64>=0xb?0x4:0x5}};_0xf9cc57['ar']||={'dictionary':{},'getPluralForm':null},_0xf9cc57['ar']['dictionary']=Object['assign'](_0xf9cc57['ar']['dictionary'],_0x28375c),_0xf9cc57['ar']['getPluralForm']=_0x4c0fa3;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x4a19f4=>{const {ar:{dictionary:_0x33a6b5,getPluralForm:_0xec9ce2}}={'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':_0x4f175a=>0x0==_0x4f175a?0x0:0x1==_0x4f175a?0x1:0x2==_0x4f175a?0x2:_0x4f175a%0x64>=0x3&&_0x4f175a%0x64<=0xa?0x3:_0x4f175a%0x64>=0xb?0x4:0x5}};_0x4a19f4['ar']||={'dictionary':{},'getPluralForm':null},_0x4a19f4['ar']['dictionary']=Object['assign'](_0x4a19f4['ar']['dictionary'],_0x33a6b5),_0x4a19f4['ar']['getPluralForm']=_0xec9ce2;})(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':_0x574a99=>0x1!=_0x574a99}};
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':_0x46952b=>0x1!=_0x46952b}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x239439=>{const {ast:{dictionary:_0x575c0c,getPluralForm:_0x1b768e}}={'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':_0x29e37a=>0x1!=_0x29e37a}};_0x239439['ast']||={'dictionary':{},'getPluralForm':null},_0x239439['ast']['dictionary']=Object['assign'](_0x239439['ast']['dictionary'],_0x575c0c),_0x239439['ast']['getPluralForm']=_0x1b768e;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x87a4e1=>{const {ast:{dictionary:_0x270d0f,getPluralForm:_0x40c4ba}}={'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':_0x408f47=>0x1!=_0x408f47}};_0x87a4e1['ast']||={'dictionary':{},'getPluralForm':null},_0x87a4e1['ast']['dictionary']=Object['assign'](_0x87a4e1['ast']['dictionary'],_0x270d0f),_0x87a4e1['ast']['getPluralForm']=_0x40c4ba;})(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':_0x113ea8=>0x1!=_0x113ea8}};
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':_0x4b70de=>0x1!=_0x4b70de}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x5f5388=>{const {az:{dictionary:_0x49a711,getPluralForm:_0x3f1e15}}={'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':_0x2ff28c=>0x1!=_0x2ff28c}};_0x5f5388['az']||={'dictionary':{},'getPluralForm':null},_0x5f5388['az']['dictionary']=Object['assign'](_0x5f5388['az']['dictionary'],_0x49a711),_0x5f5388['az']['getPluralForm']=_0x3f1e15;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x1e69ba=>{const {az:{dictionary:_0x1836de,getPluralForm:_0x325223}}={'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':_0x360bbe=>0x1!=_0x360bbe}};_0x1e69ba['az']||={'dictionary':{},'getPluralForm':null},_0x1e69ba['az']['dictionary']=Object['assign'](_0x1e69ba['az']['dictionary'],_0x1836de),_0x1e69ba['az']['getPluralForm']=_0x325223;})(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':_0x5150bd=>0x1!=_0x5150bd}};
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':_0x5b9f36=>0x1!=_0x5b9f36}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x10994b=>{const {bg:{dictionary:_0x3d359b,getPluralForm:_0x1341ba}}={'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':_0x34dff6=>0x1!=_0x34dff6}};_0x10994b['bg']||={'dictionary':{},'getPluralForm':null},_0x10994b['bg']['dictionary']=Object['assign'](_0x10994b['bg']['dictionary'],_0x3d359b),_0x10994b['bg']['getPluralForm']=_0x1341ba;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x3833e0=>{const {bg:{dictionary:_0x538bf0,getPluralForm:_0x4894c5}}={'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':_0x372f31=>0x1!=_0x372f31}};_0x3833e0['bg']||={'dictionary':{},'getPluralForm':null},_0x3833e0['bg']['dictionary']=Object['assign'](_0x3833e0['bg']['dictionary'],_0x538bf0),_0x3833e0['bg']['getPluralForm']=_0x4894c5;})(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':_0x523f06=>0x1!=_0x523f06}};
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':_0x2c543d=>0x1!=_0x2c543d}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x50f99d=>{const {bn:{dictionary:_0x1f375d,getPluralForm:_0x412279}}={'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':_0x434280=>0x1!=_0x434280}};_0x50f99d['bn']||={'dictionary':{},'getPluralForm':null},_0x50f99d['bn']['dictionary']=Object['assign'](_0x50f99d['bn']['dictionary'],_0x1f375d),_0x50f99d['bn']['getPluralForm']=_0x412279;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x19eb55=>{const {bn:{dictionary:_0x25bf1c,getPluralForm:_0x20c89c}}={'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':_0x5ed81e=>0x1!=_0x5ed81e}};_0x19eb55['bn']||={'dictionary':{},'getPluralForm':null},_0x19eb55['bn']['dictionary']=Object['assign'](_0x19eb55['bn']['dictionary'],_0x25bf1c),_0x19eb55['bn']['getPluralForm']=_0x20c89c;})(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':_0x437075=>_0x437075%0xa==0x1&&_0x437075%0x64!=0xb?0x0:_0x437075%0xa>=0x2&&_0x437075%0xa<=0x4&&(_0x437075%0x64<0xa||_0x437075%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':_0x55306b=>_0x55306b%0xa==0x1&&_0x55306b%0x64!=0xb?0x0:_0x55306b%0xa>=0x2&&_0x55306b%0xa<=0x4&&(_0x55306b%0x64<0xa||_0x55306b%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x334092=>{const {bs:{dictionary:_0x210a8e,getPluralForm:_0x1dbab0}}={'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':_0x202e6e=>_0x202e6e%0xa==0x1&&_0x202e6e%0x64!=0xb?0x0:_0x202e6e%0xa>=0x2&&_0x202e6e%0xa<=0x4&&(_0x202e6e%0x64<0xa||_0x202e6e%0x64>=0x14)?0x1:0x2}};_0x334092['bs']||={'dictionary':{},'getPluralForm':null},_0x334092['bs']['dictionary']=Object['assign'](_0x334092['bs']['dictionary'],_0x210a8e),_0x334092['bs']['getPluralForm']=_0x1dbab0;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x1efeaf=>{const {bs:{dictionary:_0x5dc7e5,getPluralForm:_0x168975}}={'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':_0x1f9558=>_0x1f9558%0xa==0x1&&_0x1f9558%0x64!=0xb?0x0:_0x1f9558%0xa>=0x2&&_0x1f9558%0xa<=0x4&&(_0x1f9558%0x64<0xa||_0x1f9558%0x64>=0x14)?0x1:0x2}};_0x1efeaf['bs']||={'dictionary':{},'getPluralForm':null},_0x1efeaf['bs']['dictionary']=Object['assign'](_0x1efeaf['bs']['dictionary'],_0x5dc7e5),_0x1efeaf['bs']['getPluralForm']=_0x168975;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'ca':{'dictionary':{'Insert\x20with\x20Dropbox':'Insereix\x20amb\x20Dropbox','Replace\x20with\x20Dropbox':'Substitueix\x20amb\x20Dropbox','With\x20Dropbox':'Amb\x20Dropbox','Insert\x20with\x20Facebook':'Insereix\x20amb\x20Facebook','Replace\x20with\x20Facebook':'Substitueix\x20amb\x20Facebook','With\x20Facebook':'Amb\x20Facebook','Insert\x20with\x20Google\x20Drive':'Insereix\x20amb\x20Google\x20Drive','Replace\x20with\x20Google\x20Drive':'Substitueix\x20amb\x20Google\x20Drive','With\x20Google\x20Drive':'Amb\x20Google\x20Drive','Insert\x20with\x20Google\x20Photos':'Insereix\x20amb\x20Google\x20Fotos','Replace\x20with\x20Google\x20Photos':'Substitueix\x20amb\x20Google\x20Fotos','With\x20Google\x20Photos':'Amb\x20Google\x20Fotos','Insert\x20with\x20OneDrive':'Insereix\x20amb\x20OneDrive','Replace\x20with\x20OneDrive':'Substitueix\x20amb\x20OneDrive','With\x20OneDrive':'Amb\x20OneDrive','Replace\x20via\x20URL':'Substitueix\x20mitjançant\x20un\x20URL','Edit\x20Image\x20(Uploadcare)':'Edita\x20la\x20imatge','Loading\x20image...':'S\x27està\x20carregant\x20la\x20imatge...','Unable\x20to\x20load':'No\x20es\x20pot\x20carregar','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'No\x20hem\x20pogut\x20carregar\x20la\x20imatge\x20a\x20causa\x20dels\x20problemes\x20de\x20connexió\x20de\x20xarxa.','Try\x20again\x20(Uploadcare)':'Torna-ho\x20a\x20provar','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':'No\x20s\x27ha\x20trobat\x20la\x20imatge.\x20És\x20possible\x20que\x20s\x27hagi\x20suprimit\x20la\x20seva\x20font.'},'getPluralForm':_0x46f790=>0x1!=_0x46f790}};
23
+ export default{'ca':{'dictionary':{'Insert\x20with\x20Dropbox':'Insereix\x20amb\x20Dropbox','Replace\x20with\x20Dropbox':'Substitueix\x20amb\x20Dropbox','With\x20Dropbox':'Amb\x20Dropbox','Insert\x20with\x20Facebook':'Insereix\x20amb\x20Facebook','Replace\x20with\x20Facebook':'Substitueix\x20amb\x20Facebook','With\x20Facebook':'Amb\x20Facebook','Insert\x20with\x20Google\x20Drive':'Insereix\x20amb\x20Google\x20Drive','Replace\x20with\x20Google\x20Drive':'Substitueix\x20amb\x20Google\x20Drive','With\x20Google\x20Drive':'Amb\x20Google\x20Drive','Insert\x20with\x20Google\x20Photos':'Insereix\x20amb\x20Google\x20Fotos','Replace\x20with\x20Google\x20Photos':'Substitueix\x20amb\x20Google\x20Fotos','With\x20Google\x20Photos':'Amb\x20Google\x20Fotos','Insert\x20with\x20OneDrive':'Insereix\x20amb\x20OneDrive','Replace\x20with\x20OneDrive':'Substitueix\x20amb\x20OneDrive','With\x20OneDrive':'Amb\x20OneDrive','Replace\x20via\x20URL':'Substitueix\x20mitjançant\x20un\x20URL','Edit\x20Image\x20(Uploadcare)':'Edita\x20la\x20imatge','Loading\x20image...':'S\x27està\x20carregant\x20la\x20imatge...','Unable\x20to\x20load':'No\x20es\x20pot\x20carregar','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'No\x20hem\x20pogut\x20carregar\x20la\x20imatge\x20a\x20causa\x20dels\x20problemes\x20de\x20connexió\x20de\x20xarxa.','Try\x20again\x20(Uploadcare)':'Torna-ho\x20a\x20provar','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':'No\x20s\x27ha\x20trobat\x20la\x20imatge.\x20És\x20possible\x20que\x20s\x27hagi\x20suprimit\x20la\x20seva\x20font.'},'getPluralForm':_0x106fb7=>0x1!=_0x106fb7}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x3fda5d=>{const {ca:{dictionary:_0xa8d012,getPluralForm:_0x3d81d6}}={'ca':{'dictionary':{'Insert\x20with\x20Dropbox':'Insereix\x20amb\x20Dropbox','Replace\x20with\x20Dropbox':'Substitueix\x20amb\x20Dropbox','With\x20Dropbox':'Amb\x20Dropbox','Insert\x20with\x20Facebook':'Insereix\x20amb\x20Facebook','Replace\x20with\x20Facebook':'Substitueix\x20amb\x20Facebook','With\x20Facebook':'Amb\x20Facebook','Insert\x20with\x20Google\x20Drive':'Insereix\x20amb\x20Google\x20Drive','Replace\x20with\x20Google\x20Drive':'Substitueix\x20amb\x20Google\x20Drive','With\x20Google\x20Drive':'Amb\x20Google\x20Drive','Insert\x20with\x20Google\x20Photos':'Insereix\x20amb\x20Google\x20Fotos','Replace\x20with\x20Google\x20Photos':'Substitueix\x20amb\x20Google\x20Fotos','With\x20Google\x20Photos':'Amb\x20Google\x20Fotos','Insert\x20with\x20OneDrive':'Insereix\x20amb\x20OneDrive','Replace\x20with\x20OneDrive':'Substitueix\x20amb\x20OneDrive','With\x20OneDrive':'Amb\x20OneDrive','Replace\x20via\x20URL':'Substitueix\x20mitjançant\x20un\x20URL','Edit\x20Image\x20(Uploadcare)':'Edita\x20la\x20imatge','Loading\x20image...':'S\x27està\x20carregant\x20la\x20imatge...','Unable\x20to\x20load':'No\x20es\x20pot\x20carregar','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'No\x20hem\x20pogut\x20carregar\x20la\x20imatge\x20a\x20causa\x20dels\x20problemes\x20de\x20connexió\x20de\x20xarxa.','Try\x20again\x20(Uploadcare)':'Torna-ho\x20a\x20provar','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':'No\x20s\x27ha\x20trobat\x20la\x20imatge.\x20És\x20possible\x20que\x20s\x27hagi\x20suprimit\x20la\x20seva\x20font.'},'getPluralForm':_0x3024ee=>0x1!=_0x3024ee}};_0x3fda5d['ca']||={'dictionary':{},'getPluralForm':null},_0x3fda5d['ca']['dictionary']=Object['assign'](_0x3fda5d['ca']['dictionary'],_0xa8d012),_0x3fda5d['ca']['getPluralForm']=_0x3d81d6;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x39ce63=>{const {ca:{dictionary:_0x2af9d3,getPluralForm:_0x5d398e}}={'ca':{'dictionary':{'Insert\x20with\x20Dropbox':'Insereix\x20amb\x20Dropbox','Replace\x20with\x20Dropbox':'Substitueix\x20amb\x20Dropbox','With\x20Dropbox':'Amb\x20Dropbox','Insert\x20with\x20Facebook':'Insereix\x20amb\x20Facebook','Replace\x20with\x20Facebook':'Substitueix\x20amb\x20Facebook','With\x20Facebook':'Amb\x20Facebook','Insert\x20with\x20Google\x20Drive':'Insereix\x20amb\x20Google\x20Drive','Replace\x20with\x20Google\x20Drive':'Substitueix\x20amb\x20Google\x20Drive','With\x20Google\x20Drive':'Amb\x20Google\x20Drive','Insert\x20with\x20Google\x20Photos':'Insereix\x20amb\x20Google\x20Fotos','Replace\x20with\x20Google\x20Photos':'Substitueix\x20amb\x20Google\x20Fotos','With\x20Google\x20Photos':'Amb\x20Google\x20Fotos','Insert\x20with\x20OneDrive':'Insereix\x20amb\x20OneDrive','Replace\x20with\x20OneDrive':'Substitueix\x20amb\x20OneDrive','With\x20OneDrive':'Amb\x20OneDrive','Replace\x20via\x20URL':'Substitueix\x20mitjançant\x20un\x20URL','Edit\x20Image\x20(Uploadcare)':'Edita\x20la\x20imatge','Loading\x20image...':'S\x27està\x20carregant\x20la\x20imatge...','Unable\x20to\x20load':'No\x20es\x20pot\x20carregar','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'No\x20hem\x20pogut\x20carregar\x20la\x20imatge\x20a\x20causa\x20dels\x20problemes\x20de\x20connexió\x20de\x20xarxa.','Try\x20again\x20(Uploadcare)':'Torna-ho\x20a\x20provar','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':'No\x20s\x27ha\x20trobat\x20la\x20imatge.\x20És\x20possible\x20que\x20s\x27hagi\x20suprimit\x20la\x20seva\x20font.'},'getPluralForm':_0x58ff8b=>0x1!=_0x58ff8b}};_0x39ce63['ca']||={'dictionary':{},'getPluralForm':null},_0x39ce63['ca']['dictionary']=Object['assign'](_0x39ce63['ca']['dictionary'],_0x2af9d3),_0x39ce63['ca']['getPluralForm']=_0x5d398e;})(window['CKEDITOR_TRANSLATIONS']||={});