@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-20251209.0 → 0.0.0-nightly-next-20251209.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (173) hide show
  1. package/build/uploadcare.js +1 -1
  2. package/dist/index.js +3 -3
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +9 -9
  150. package/src/index.js +1 -1
  151. package/src/ui/uploadcarecontroller.js +2 -2
  152. package/src/ui/uploadcareformview.js +1 -1
  153. package/src/uploadcare.js +1 -1
  154. package/src/uploadcarecommand.js +1 -1
  155. package/src/uploadcareconfig.js +1 -1
  156. package/src/uploadcareediting.js +1 -1
  157. package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.js +2 -2
  158. package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.js +1 -1
  159. package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.js +1 -1
  160. package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.js +1 -1
  161. package/src/uploadcareimageedit/ui/uploadcareimageeditformview.js +1 -1
  162. package/src/uploadcareimageedit/uploadcareimageeditcommand.js +1 -1
  163. package/src/uploadcareimageedit/uploadcareimageeditediting.js +1 -1
  164. package/src/uploadcareimageedit/uploadcareimageeditui.js +1 -1
  165. package/src/uploadcareimageedit/uploadcareimagereplacecommand.js +1 -1
  166. package/src/uploadcareimageedit.js +1 -1
  167. package/src/uploadcareui.js +1 -1
  168. package/src/uploadcareuploadadapter.js +1 -1
  169. package/src/utils/common-translations.js +1 -1
  170. package/src/utils/dialogfocusmanagerview.js +1 -1
  171. package/src/utils/editingutils.js +1 -1
  172. package/src/utils/isancestor.js +1 -1
  173. package/src/utils/uploadutils.js +1 -1
package/dist/index.js CHANGED
@@ -20,6 +20,6 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x5b4246,Command as _0x2008ef}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x1b0b75,IconGooglePhotos as _0x1f79c9,IconGoogleDrive as _0x4875f3,IconFacebook as _0x30d57f,IconDropbox as _0x47edc9,IconUploadcareLink as _0x49fb91,IconUploadcareImageUpload as _0xf07c5e,IconError as _0x43b2ad,IconUploadcareImageEdit as _0x1e0cb0}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0xf57840,MenuBarMenuListItemButtonView as _0x25f13d,View as _0x495c6e,FocusCycler as _0x433bf6,Dialog as _0x1601b4,DialogViewPosition as _0x1cff5e,SpinnerView as _0x50ee97,IconView as _0x573e41,Notification as _0x544ee2}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x42f51d,DomEmitterMixin as _0x3767d1,global as _0x344656,getAncestors as _0x5660b5,ObservableMixin as _0x41f4aa,uid as _0x53d791,createElement as _0x237d8e}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x58936e}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x3d6545,info as _0x39c98d}from'@uploadcare/upload-client';import*as _0x15364e from'@uploadcare/file-uploader';var i=function(_0x549c36){return _0x549c36['Local']='local',_0x549c36['URL']='url',_0x549c36['Dropbox']='dropbox',_0x549c36['GDrive']='gdrive',_0x549c36['Facebook']='facebook',_0x549c36['GPhotos']='gphotos',_0x549c36['OneDrive']='onedrive',_0x549c36;}({});function _(_0x493185,_0x167f4b,_0x448731){const t=_0x493185['t'],_0x10c461=_0x493185['t'];switch(_0x167f4b){case i['Local']:return{'text':_0x10c461('Insert'===_0x448731?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x10c461('From\x20computer')};case i['URL']:return{'text':'Insert'===_0x448731?_0x10c461('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x10c461('Via\x20URL')};case i['Dropbox']:return{'text':t('Insert'===_0x448731?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case i['Facebook']:return{'text':t('Insert'===_0x448731?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case i['GDrive']:return{'text':t('Insert'===_0x448731?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case i['GPhotos']:return{'text':t('Insert'===_0x448731?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case i['OneDrive']:return{'text':t('Insert'===_0x448731?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x167f4b;}}class e extends _0x5b4246{['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 _0x30a556=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x50c4c3;for(const _0x48e366 in _0x30a556){const _0x3ee853=_0x48e366,_0x3da7be=_0x30a556[_0x3ee853];if('uploadcareLicenseKeyValid'==_0x3da7be||'uploadcareLicenseKeyInvalid'==_0x3da7be||'uploadcareLicenseKeyExpired'==_0x3da7be||'uploadcareLicenseKeyDomainLimit'==_0x3da7be||'uploadcareLicenseKeyNotAllowed'==_0x3da7be||'uploadcareLicenseKeyEvaluationLimit'==_0x3da7be||'uploadcareLicenseKeyTrialLimit'==_0x3da7be||'uploadcareLicenseKeyUsageLimit'==_0x3da7be){delete _0x30a556[_0x3ee853],_0x50c4c3=_0x3da7be,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x50c4c3&&_0x30a556['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x50c4c3&&_0x30a556['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x50c4c3&&_0x30a556['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x50c4c3&&_0x30a556['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x50c4c3&&_0x30a556['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0x50c4c3&&_0x30a556['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0x50c4c3&&_0x30a556['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x13a8a8}=this,_0x5e5cd9=_0x13a8a8['commands']['get']('uploadcare');if(!_0x5e5cd9)return;const _0x5948a8=this['_normalizeConfigSourceList'](_0x13a8a8['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x5bfda8,_0x226301)=>{const _0x1a05cf=this['_getIntegrationKey'](_0x226301['type']);return _0x5bfda8[_0x1a05cf]||(_0x5bfda8[_0x1a05cf]=[]),_0x5bfda8[_0x1a05cf]['push'](_0x226301),_0x5bfda8;},{});_0x13a8a8['plugins']['has']('ImageInsertUI')&&_0x13a8a8['commands']['get']('uploadcare')&&Object['entries'](_0x5948a8)['forEach'](([_0x29577c,_0xe790d7])=>{_0x13a8a8['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x29577c,'observable':()=>_0x5e5cd9,'buttonViewCreator':()=>this['_createToolbarButton'](_0xe790d7),'formViewCreator':()=>this['_createDropdownButtons'](_0xe790d7),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0xe790d7),'override':'assetManager'!==_0x29577c});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x2c9ca8){const {locale:_0x2b8344}=this['editor'];return _0x2c9ca8['map'](_0x3c75f1=>{const _0x460677=_(_0x2b8344,_0x3c75f1,'Insert');switch(_0x3c75f1){case i['Local']:return{'icon':_0xf07c5e,'type':i['Local'],..._0x460677};case i['URL']:return{'icon':_0x49fb91,'type':i['URL'],..._0x460677};case i['Dropbox']:return{'icon':_0x47edc9,'type':i['Dropbox'],..._0x460677};case i['Facebook']:return{'icon':_0x30d57f,'type':i['Facebook'],..._0x460677};case i['GDrive']:return{'icon':_0x4875f3,'type':i['GDrive'],..._0x460677};case i['GPhotos']:return{'icon':_0x1f79c9,'type':i['GPhotos'],..._0x460677};case i['OneDrive']:return{'icon':_0x1b0b75,'type':i['OneDrive'],..._0x460677};}});}['_getIntegrationKey'](_0x39e790){switch(_0x39e790){case i['Local']:return'upload';case i['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x4041a3,_0x1e544f){const _0x13f2ec=this['editor'],_0x483227=new _0x4041a3(_0x13f2ec['locale']),_0x487076=_0x13f2ec['commands']['get']('uploadcare');return _0x483227['bind']('isEnabled')['to'](_0x487076),_0x483227['on']('execute',()=>{_0x487076['execute'](_0x1e544f);}),_0x483227;}['_createToolbarButton'](_0x329d5c){const {locale:_0x1af9cd}=this['editor'],_0x26475c=this['editor']['plugins']['get']('ImageInsertUI'),_0x30e66e=_0x329d5c[0x0],_0x2736e5=this['_createButton'](_0xf57840,_0x30e66e['type']);return _0x2736e5['icon']=_0x30e66e['icon'],_0x2736e5['bind']('label')['to'](_0x26475c,'isImageSelected',_0x5ae776=>_(_0x1af9cd,_0x30e66e['type'],_0x5ae776?'Replace':'Insert')['text']),_0x2736e5['tooltip']=!0x0,_0x2736e5;}['_createDropdownButtons'](_0x3eda65){const {locale:_0x36964d}=this['editor'],_0x22ab37=this['editor']['plugins']['get']('ImageInsertUI');return _0x3eda65['map'](_0x51dcdf=>{const _0xb7139f=this['_createButton'](_0xf57840,_0x51dcdf['type']);return _0xb7139f['withText']=!0x0,_0xb7139f['icon']=_0x51dcdf['icon'],_0xb7139f['bind']('label')['to'](_0x22ab37,'isImageSelected',_0x2e7725=>_(_0x36964d,_0x51dcdf['type'],_0x2e7725?'Replace':'Insert')['text']),_0xb7139f;});}['_createMenuBarButtons'](_0x21d1e8){return _0x21d1e8['map'](_0x15344f=>{const _0xafe9dd=this['_createButton'](_0x25f13d,_0x15344f['type']);return _0xafe9dd['icon']=_0x15344f['icon'],_0xafe9dd['label']=_0x15344f['shortText'],_0xafe9dd;});}}class V extends _0x495c6e{['focusTracker'];['focusCycler'];constructor(_0x55e00d){super(_0x55e00d),this['focusTracker']=new _0x42f51d(),this['focusCycler']=new _0x433bf6({'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 V{constructor(_0x23f2ab,_0x16150c){super(_0x23f2ab),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-'+_0x16150c}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function C(_0x4c63e6,_0xff863d){const _0x719abd=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x478fa=>_0x478fa<=_0xff863d)['map'](_0x30ae2f=>_0x4c63e6['replace'](/\/$/,'')+'/-/resize/'+_0x30ae2f+'x/\x20'+_0x30ae2f+'w');return{'imageFallbackUrl':_0x4c63e6,'imageSources':[{'srcset':_0x719abd['join'](',\x20'),'sizes':'(max-width:\x20'+_0xff863d+'px)\x20100vw,\x20'+_0xff863d+'px','type':'image/webp'}]};}function F(_0x5a5022,_0x364b62,_0x28123e){const _0x488906=_0x5a5022['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x488906?parseInt(_0x488906[0x1],0xa):_0x364b62,'height':_0x488906?parseInt(_0x488906[0x2],0xa):_0x28123e};}function p(_0x3326c4,_0x102bbe){const _0x514d81=new(_0x3767d1())(),_0x12f9a6=_0x3326c4['plugins']['get']('ImageUtils'),_0x1687dc=_0x3326c4['editing']['mapper']['toViewElement'](_0x102bbe),_0xaef310=_0x12f9a6['findViewImgElement'](_0x1687dc),_0x14c711=_0x3326c4['editing']['view']['domConverter']['viewToDom'](_0xaef310),_0x4ac275=_0x102bbe['getAttribute']('width'),_0x18ede4=_0x102bbe['getAttribute']('height'),_0x3c67ab='image-processing';_0x3326c4['editing']['view']['change'](_0x289983=>{_0x289983['addClass'](_0x3c67ab,_0x1687dc),_0x289983['setStyle']('aspect-ratio',_0x4ac275+'/'+_0x18ede4,_0xaef310);}),_0x514d81['listenTo'](_0x14c711,'load',()=>{_0x514d81['stopListening'](_0x14c711,'load'),_0x3326c4['editing']['view']['change'](_0x47cdcb=>{_0x47cdcb['removeClass'](_0x3c67ab,_0x1687dc),_0x47cdcb['removeStyle']('aspect-ratio',_0xaef310);});});}function R(_0x1b0540){if(Array['isArray'](_0x1b0540)){const _0x343524=_0x1b0540['map'](R);return _0x42c505=>_0x343524['some'](_0x13de90=>_0x13de90(_0x42c505));}if('origin'==_0x1b0540){const _0x781e25=_0x344656['window']['location']['origin'];return _0x324383=>new URL(_0x324383,_0x344656['document']['baseURI'])['origin']==_0x781e25;}return'function'==typeof _0x1b0540?_0x1b0540:_0x1b0540 instanceof RegExp?_0x25473d=>!(!_0x25473d['match'](_0x1b0540)&&!_0x25473d['replace'](/^https?:\/\//,'')['match'](_0x1b0540)):()=>!0x1;}function M(_0x3fed28,_0x3c158b){return _0x5660b5(_0x3fed28['target'])['includes'](_0x3c158b);}class n extends/* #__PURE__ -- @preserve */
24
- _0x41f4aa(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x2e601c,_0x356543,_0x5c32d9){super(),this['_editor']=_0x2e601c,this['_editing']=_0x356543,this['_dialog']=_0x2e601c['plugins']['get'](_0x1601b4),this['_api']=_0x356543['ctxElement']['getAPI'](),this['_type']=_0x5c32d9,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:_0x3b02f7,model:_0x7adc6f}=this['_editor'],_0x409fa7=_0x7adc6f['document']['selection']['getSelectedElement'](),_0xff8741=_0x409fa7&&(_0x409fa7['is']('element','imageBlock')||_0x409fa7['is']('element','imageInline'));this['_formView']=new S(_0x3b02f7,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':_0xf07c5e,'title':_(_0x3b02f7,this['_type'],_0xff8741?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x1cff5e['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x25c90c=>!M(_0x25c90c,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x2c7243}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x2ef224=>{const _0x5029b2=_0x2c7243['length'];for(const _0x57949e of _0x2c7243){const _0x4b63e9=_0x57949e===_0x2c7243[_0x5029b2-0x1],{cdnUrl:_0x234a4a,fileInfo:_0x577623}=_0x57949e;if(!_0x234a4a||!_0x577623)continue;const {width:_0x276360,height:_0x571f2a}=_0x577623['imageInfo'],_0xabb5d3=F(_0x234a4a,_0x276360,_0x571f2a),_0x49a457=C(_0x234a4a,_0xabb5d3['width']),_0x46abe7={'id':_0x577623['uuid'],'type':'image','attributes':{'imageDimension':_0xabb5d3,..._0x49a457}};this['_insertAsset'](_0x46abe7,_0x4b63e9,_0x2ef224);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x3eac05=>{'idle'===_0x3eac05['detail']['status']&&!_0x3eac05['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===i['Local']?this['_api']['setCurrentActivity'](i['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x82b71a,_0x2ede64,_0x4675c5){const _0x14175a=this['_editor']['model']['document']['selection'],_0x206f69=_0x14175a['getSelectedElement'](),_0x4031a3=!(!_0x206f69||!_0x206f69['is']('element','imageInline'));_0x4675c5['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x82b71a,_0x4031a3),_0x2ede64||_0x4675c5['setSelection'](_0x14175a['getLastPosition']());}['_insertImage'](_0x27f66b,_0xcd1d77){const _0x3ff4a1=this['_editor'],{imageDimension:_0x334d15,imageFallbackUrl:_0x131adb,imageSources:_0x11cdc3}=_0x27f66b['attributes'];_0x3ff4a1['execute']('insertImage',{'imageType':_0xcd1d77?'imageInline':null,'source':{'uploadcareImageId':_0x27f66b['id'],'src':_0x131adb,'sources':_0x11cdc3,..._0x334d15}});}}class w extends _0x2008ef{['_editing'];['_controller']=null;static get['requires'](){return[_0x1601b4,o];}constructor(_0x1c40cb){super(_0x1c40cb),this['_editing']=_0x1c40cb['plugins']['get'](o);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x481e9f){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new n(this['editor'],this['_editing'],_0x481e9f);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class j{static['upload']({file:_0x5ea976,..._0x2541ac}){return _0x3d6545(_0x5ea976,_0x2541ac);}static['getInfo'](_0x594e36,_0x483654){return _0x39c98d(_0x594e36,_0x483654);}}class f extends _0x5b4246{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x58936e,o];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x3d0f19=this['editor'];if(!!!_0x3d0f19['config']['get']('uploadcare'))return;_0x3d0f19['plugins']['get'](_0x58936e)['createUploadAdapter']=_0x340212=>new k(_0x340212,_0x3d0f19),_0x3d0f19['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x32e1e3,{imageElement:_0x150f62,data:_0x579427})=>{_0x3d0f19['model']['change'](_0x554939=>{_0x554939['setAttribute']('uploadcareImageId',_0x579427['uploadcareImageId'],_0x150f62);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x3b1008,_0x5f21d0){this['loader']=_0x3b1008,this['editor']=_0x5f21d0,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x8678e3=await this['loader']['file'];return j['upload']({'file':_0x8678e3,'publicKey':this['editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':this['controller']['signal'],'onProgress':_0xe63625=>{_0xe63625&&_0xe63625['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0xe63625['value']);}})['then'](async _0x370151=>{const {imageFallbackUrl:_0x5df038,imageSources:_0x46d00a}=C(_0x370151['cdnUrl'],_0x370151['imageInfo']['width']);return{'uploadcareImageId':_0x370151['uuid'],'default':_0x5df038,'sources':_0x46d00a};})['catch'](()=>{const _0x1f6118=t('Cannot\x20upload\x20file:')+('\x20'+_0x8678e3['name']+'.');return Promise['reject'](_0x1f6118);});}['abort'](){this['controller']['abort']();}}class o extends _0x5b4246{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',f,_0x1601b4];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['ucContextId'];get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}constructor(_0x249574){super(_0x249574),this['ucContextId']=_0x53d791();}['init'](){const _0x27ca15=this['editor'];_0x27ca15['commands']['add']('uploadcare',new w(_0x27ca15));}['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 _0x437a31=_0x344656['document']['querySelector']('input[uploadcare-file-input]');_0x437a31&&_0x437a31['remove']();}),async function(_0x402ca6){const _0x62904c=_0x255129([0x68,0x67,0x50,0x36,0x38,0x70,0x71,0x63,0x37,0x4f,0x42,0x4a,0x78,0x39,0x75,0x33,0x7a,0x72,0x48,0x61,0x74,0x59,0x55,0x58,0x66,0x30,0x34,0x54,0x64,0x56,0x6b,0x4d,0x46,0x6d,0x77,0x43,0x73,0x35,0x53,0x44,0x41,0x76,0x6a,0x32,0x31,0x69,0x57,0x51,0x47,0x65,0x5a,0x4b,0x4c,0x79,0x52,0x6c,0x45,0x4e,0x6e,0x6f,0x49,0x62]),_0x1fbae7=0x535f8c3a,_0xfafd7a=0x5358f752^_0x1fbae7,_0x3a300e=window[_0x255129([0x44,0x61,0x74,0x65])][_0x255129([0x6e,0x6f,0x77])](),_0x5a63f0=_0x402ca6[_0x255129([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1f7536=new window[(_0x255129([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5a31f9=>{_0x5a63f0[_0x255129([0x6f,0x6e,0x63,0x65])](_0x255129([0x72,0x65,0x61,0x64,0x79]),_0x5a31f9);}),_0x46b751={[_0x255129([0x6b,0x74,0x79])]:_0x255129([0x45,0x43]),[_0x255129([0x75,0x73,0x65])]:_0x255129([0x73,0x69,0x67]),[_0x255129([0x63,0x72,0x76])]:_0x255129([0x50,0x2d,0x32,0x35,0x36]),[_0x255129([0x78])]:_0x255129([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]),[_0x255129([0x79])]:_0x255129([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]),[_0x255129([0x61,0x6c,0x67])]:_0x255129([0x45,0x53,0x32,0x35,0x36])},_0x373372=_0x5a63f0[_0x255129([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x255129([0x67,0x65,0x74])](_0x255129([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x68b288(){let _0x14c19c,_0x330547=null,_0x473211=null;try{if(_0x373372==_0x255129([0x47,0x50,0x4c]))return _0x255129([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x14c19c=_0x162a4f(),!_0x14c19c)return _0x255129([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x14c19c[_0x255129([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x473211=_0x59b942(_0x14c19c[_0x255129([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x14c19c[_0x255129([0x6a,0x74,0x69])])),await _0x4e82ef()?_0x303aa2()?_0x493f96()?_0x255129([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0xa45666()?(_0x14c19c[_0x255129([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x255129([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x330547=_0x22e52a(_0x255129([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x14c19c[_0x255129([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x255129([0x74,0x72,0x69,0x61,0x6c])&&(_0x330547=_0x22e52a(_0x255129([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0xdc3536()):_0x255129([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x255129([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x255129([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x255129([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x493f96(){const _0x128ca8=[_0x255129([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x255129([0x74,0x72,0x69,0x61,0x6c])][_0x255129([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x14c19c[_0x255129([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3a300e/0x3e8:0xe10*_0xfafd7a;return _0x14c19c[_0x255129([0x65,0x78,0x70])]<_0x128ca8;}function _0x303aa2(){const _0x119b91=_0x14c19c[_0x255129([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x119b91&&(!!_0x119b91[_0x255129([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x255129([0x2a]))||!!_0x119b91[_0x255129([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x255129([0x55,0x50,0x4c,0x43])));}function _0xa45666(){const _0xc9070d=_0x14c19c[_0x255129([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0xc9070d||0x0==_0xc9070d[_0x255129([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x2d365d}=new URL(window[_0x255129([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0xc9070d[_0x255129([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2d365d))return!0x0;const _0x6c8b4b=_0x2d365d[_0x255129([0x73,0x70,0x6c,0x69,0x74])](_0x255129([0x2e]));return _0xc9070d[_0x255129([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x28d76f=>_0x28d76f[_0x255129([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x255129([0x2a])))[_0x255129([0x6d,0x61,0x70])](_0xa189b9=>_0xa189b9[_0x255129([0x73,0x70,0x6c,0x69,0x74])](_0x255129([0x2e])))[_0x255129([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4a3237=>_0x4a3237[_0x255129([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x6c8b4b[_0x255129([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x255129([0x6d,0x61,0x70])](_0x50953a=>Array(_0x6c8b4b[_0x255129([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x50953a[_0x255129([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x255129([0x66,0x69,0x6c,0x6c])](_0x50953a[0x0]===_0x255129([0x2a])?_0x255129([0x2a]):'')[_0x255129([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x50953a))[_0x255129([0x73,0x6f,0x6d,0x65])](_0x15d1ab=>_0x6c8b4b[_0x255129([0x65,0x76,0x65,0x72,0x79])]((_0x508906,_0x2ca2f4)=>_0x15d1ab[_0x2ca2f4]===_0x508906||_0x15d1ab[_0x2ca2f4]===_0x255129([0x2a])));}function _0xdc3536(){return _0x330547&&_0x473211?new window[(_0x255129([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x49ffce,_0xf5a6fa)=>{_0x330547[_0x255129([0x74,0x68,0x65,0x6e])](_0x49ffce,_0xf5a6fa),_0x473211[_0x255129([0x74,0x68,0x65,0x6e])](_0xb873fe=>{_0xb873fe!=_0x255129([0x56,0x61,0x6c,0x69,0x64])&&_0x49ffce(_0xb873fe);},_0xf5a6fa);}):_0x330547||_0x473211||_0x255129([0x56,0x61,0x6c,0x69,0x64]);}}function _0x59b942(_0xe3ae09,_0x49fccd){return new window[(_0x255129([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4f5c27=>{if(_0x56f11b())return _0x4f5c27(_0x255129([0x56,0x61,0x6c,0x69,0x64]));_0x2f9533(),_0x5a63f0[_0x255129([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x255129([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x5899bc=!0x1;const _0x4adcf5=_0x53d791();function _0x48330e(_0x3d77d1){return!!_0x3d77d1&&(typeof _0x3d77d1===_0x255129([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3d77d1===_0x255129([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3d77d1[_0x255129([0x74,0x68,0x65,0x6e])]===_0x255129([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3d77d1[_0x255129([0x63,0x61,0x74,0x63,0x68])]===_0x255129([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x48d587(_0x419ff0){_0x345e1e(_0x419ff0)[_0x255129([0x74,0x68,0x65,0x6e])](_0x4e21ef=>{if(!_0x4e21ef||_0x4e21ef[_0x255129([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x255129([0x6f,0x6b]))return _0x255129([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x5818fe(_0x814579(_0x4adcf5+_0x49fccd))!=_0x4e21ef[_0x255129([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x255129([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x255129([0x56,0x61,0x6c,0x69,0x64]);})[_0x255129([0x74,0x68,0x65,0x6e])](_0xbf128c=>(_0x5057eb(),_0xbf128c),()=>{const _0x5914d5=_0x2ad58b();return null==_0x5914d5?(_0x5057eb(),_0x255129([0x56,0x61,0x6c,0x69,0x64])):_0x255129(_0x3a300e-_0x5914d5>(0x7753083a^_0x1fbae7)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x255129([0x74,0x68,0x65,0x6e])](_0x4f5c27)[_0x255129([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4f5c27(_0x255129([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x282d8c=0x536962ba^_0x1fbae7;function _0x5057eb(){const _0x3ade98=_0x255129([0x6c,0x6c,0x63,0x74,0x2d])+_0x5818fe(_0x814579(_0xe3ae09)),_0x1b14b2=_0x5778ca(_0x5818fe(window[_0x255129([0x4d,0x61,0x74,0x68])][_0x255129([0x63,0x65,0x69,0x6c])](_0x3a300e/_0x282d8c)));window[_0x255129([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x255129([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3ade98,_0x1b14b2);}function _0x2ad58b(){const _0x1835ce=_0x255129([0x6c,0x6c,0x63,0x74,0x2d])+_0x5818fe(_0x814579(_0xe3ae09)),_0x1091dc=window[_0x255129([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x255129([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1835ce);return _0x1091dc?window[_0x255129([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5778ca(_0x1091dc),0x10)*_0x282d8c:null;}function _0x345e1e(_0x354944){return new window[(_0x255129([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x94344e,_0x26bedd)=>{_0x354944[_0x255129([0x74,0x68,0x65,0x6e])](_0x94344e,_0x26bedd),window[_0x255129([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x26bedd,0x535e58fa^_0x1fbae7);});}}_0x5a63f0[_0x255129([0x6f,0x6e])](_0x255129([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x5231de,_0x4e9d7c)=>{if(_0x4e9d7c[0x0]!=_0xe3ae09)return _0x4f5c27(_0x255129([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4e9d7c[0x1]={..._0x4e9d7c[0x1],[_0x255129([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x4adcf5};},{[_0x255129([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x255129([0x68,0x69,0x67,0x68])}),_0x5a63f0[_0x255129([0x6f,0x6e])](_0x255129([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2d2a09=>{_0x48330e(_0x2d2a09[_0x255129([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x5899bc=!0x0,_0x48d587(_0x2d2a09[_0x255129([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x255129([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x255129([0x6c,0x6f,0x77])}),_0x1f7536[_0x255129([0x74,0x68,0x65,0x6e])](()=>{_0x5899bc||_0x4f5c27(_0x255129([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x56f11b(){return _0x5a63f0[_0x255129([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x255129([0x76,0x69,0x65,0x77])][_0x255129([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x255129([0x61,0x75,0x74,0x6f]);}function _0x2f9533(){_0x5a63f0[_0x255129([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x255129([0x76,0x69,0x65,0x77])][_0x255129([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x255129([0x61,0x75,0x74,0x6f]);}}function _0x22e52a(_0x1b3bdb){const _0x3d246c=[new window[(_0x255129([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2b220d=>setTimeout(_0x2b220d,0x5356b2f6^_0x1fbae7)),_0x1f7536[_0x255129([0x74,0x68,0x65,0x6e])](()=>new window[(_0x255129([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5afbb8=>{let _0x1d8950=0x0;_0x5a63f0[_0x255129([0x6d,0x6f,0x64,0x65,0x6c])][_0x255129([0x6f,0x6e])](_0x255129([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x2524af,_0x959eaf)=>{_0x959eaf[0x0][_0x255129([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1d8950++,_0x1d8950==(0x535f8dc2^_0x1fbae7)&&(_0x5afbb8(),_0x2524af[_0x255129([0x6f,0x66,0x66])]());});}))];return window[_0x255129([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x255129([0x72,0x61,0x63,0x65])](_0x3d246c)[_0x255129([0x74,0x68,0x65,0x6e])](()=>_0x1b3bdb);}async function _0x146d64(){await _0x1f7536,_0x5a63f0[_0x255129([0x6d,0x6f,0x64,0x65,0x6c])][_0x255129([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4a6f67,_0x5a63f0[_0x255129([0x6d,0x6f,0x64,0x65,0x6c])][_0x255129([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4a6f67,_0x5a63f0[_0x255129([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x255129([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x45c733(_0xc6247){const _0x4d7c1a=_0x5f0e86();_0x5a63f0[_0x4d7c1a]=_0x255129([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0xc6247,_0xc6247!=_0x255129([0x56,0x61,0x6c,0x69,0x64])&&_0x146d64();}function _0x5f0e86(){const _0x4abe35=window[_0x255129([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x255129([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x255129([0x6e,0x6f,0x77])]())[_0x255129([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x255129([0x2e]),'');let _0x5c9122=_0x255129([0x68]);for(let _0xc0e63d=0x0;_0xc0e63d<_0x4abe35[_0x255129([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xc0e63d+=0x2){let _0x32d272=window[_0x255129([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4abe35[_0x255129([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xc0e63d,_0xc0e63d+0x2));_0x32d272>=_0x62904c[_0x255129([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x32d272-=_0x62904c[_0x255129([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5c9122+=_0x62904c[_0x32d272];}return _0x5c9122;}function _0x162a4f(){const _0x25147e=_0x373372[_0x255129([0x73,0x70,0x6c,0x69,0x74])](_0x255129([0x2e]));if(0x3!=_0x25147e[_0x255129([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x44da2a(_0x25147e[0x1]);function _0x44da2a(_0x4da34c){const _0x57124b=_0x4dff70(_0x4da34c);return _0x57124b&&_0x36c7d3()?_0x57124b:null;function _0x36c7d3(){const _0x15b5e7=_0x57124b[_0x255129([0x6a,0x74,0x69])],_0x4e776c=window[_0x255129([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x15b5e7[_0x255129([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x15b5e7[_0x255129([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x11a66a={..._0x57124b,[_0x255129([0x6a,0x74,0x69])]:_0x15b5e7[_0x255129([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x15b5e7[_0x255129([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x11a66a[_0x255129([0x76,0x63])],_0x814579(_0x11a66a)==_0x4e776c;}}}async function _0x4e82ef(){let _0x3734e9=!0x0;try{const _0x50968d=_0x373372[_0x255129([0x73,0x70,0x6c,0x69,0x74])](_0x255129([0x2e])),[_0x3053a5,_0x1a11a6,_0x4c6725]=_0x50968d;return _0x3f6821(_0x3053a5),await _0x33dcee(_0x3053a5,_0x1a11a6,_0x4c6725),_0x3734e9;}catch{return!0x1;}function _0x3f6821(_0x44065b){const _0x56b505=_0x4dff70(_0x44065b);_0x56b505&&_0x56b505[_0x255129([0x61,0x6c,0x67])]==_0x255129([0x45,0x53,0x32,0x35,0x36])||(_0x3734e9=!0x1);}async function _0x33dcee(_0x1660ba,_0x16225e,_0x200996){const _0xf3dbb7=window[_0x255129([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x255129([0x66,0x72,0x6f,0x6d])](_0x4f3c69(_0x200996),_0x15b462=>_0x15b462[_0x255129([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4f0305=new window[(_0x255129([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x255129([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1660ba+_0x255129([0x2e])+_0x16225e),_0x2cebef=window[_0x255129([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x255129([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2cebef)return;const _0x2fb42b=await _0x2cebef[_0x255129([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x255129([0x6a,0x77,0x6b]),_0x46b751,{[_0x255129([0x6e,0x61,0x6d,0x65])]:_0x255129([0x45,0x43,0x44,0x53,0x41]),[_0x255129([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x255129([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x255129([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2cebef[_0x255129([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x255129([0x6e,0x61,0x6d,0x65])]:_0x255129([0x45,0x43,0x44,0x53,0x41]),[_0x255129([0x68,0x61,0x73,0x68])]:{[_0x255129([0x6e,0x61,0x6d,0x65])]:_0x255129([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x2fb42b,_0xf3dbb7,_0x4f0305)||(_0x3734e9=!0x1);}}function _0x4dff70(_0x274f9a){return _0x274f9a[_0x255129([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x255129([0x65,0x79]))?JSON[_0x255129([0x70,0x61,0x72,0x73,0x65])](_0x4f3c69(_0x274f9a)):null;}function _0x4f3c69(_0x38a199){return window[_0x255129([0x61,0x74,0x6f,0x62])](_0x38a199[_0x255129([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x255129([0x2b]))[_0x255129([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x255129([0x2f])));}function _0x814579(_0x402abf){let _0x1fa52d=0x1505;function _0x277fdc(_0x274780){for(let _0x5aefb7=0x0;_0x5aefb7<_0x274780[_0x255129([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5aefb7++){const _0x1bda7c=_0x274780[_0x255129([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5aefb7);_0x1fa52d=(_0x1fa52d<<0x5)+_0x1fa52d+_0x1bda7c,_0x1fa52d&=_0x1fa52d;}}function _0x2cb9ee(_0x506212){Array[_0x255129([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x506212)?_0x506212[_0x255129([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2cb9ee):_0x506212&&typeof _0x506212==_0x255129([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x255129([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x506212)[_0x255129([0x73,0x6f,0x72,0x74])]()[_0x255129([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x273b43,_0x460da7])=>{_0x277fdc(_0x273b43),_0x2cb9ee(_0x460da7);}):_0x277fdc(window[_0x255129([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x506212));}return _0x2cb9ee(_0x402abf),_0x1fa52d>>>0x0;}function _0x5818fe(_0x3ff3eb){return _0x3ff3eb[_0x255129([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x255129([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x255129([0x30]));}function _0x5778ca(_0x4a7faa){return _0x4a7faa[_0x255129([0x73,0x70,0x6c,0x69,0x74])]('')[_0x255129([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x255129([0x6a,0x6f,0x69,0x6e])]('');}function _0x4a6f67(){}function _0x255129(_0x20f59f){return _0x20f59f['map'](_0xc35db=>String['fromCharCode'](_0xc35db))['join']('');}_0x45c733(await _0x68b288());}(this);}['_initSchema'](){const _0x3b511f=this['editor']['model']['schema'];_0x3b511f['isRegistered']('imageBlock')&&_0x3b511f['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x3b511f['isRegistered']('imageInline')&&_0x3b511f['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x1a231b=this['editor'];_0x1a231b['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x1a231b['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x579b8c=>_0x579b8c['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x5191fa=_0x1a231b['commands']['get']('replaceImageSource');_0x5191fa&&this['listenTo'](_0x5191fa,'cleanupImage',(_0x196484,[_0x5299f5,_0x4ad425])=>{_0x5299f5['removeAttribute']('uploadcareImageId',_0x4ad425);});}['_initConfig'](){const _0x32df77=this['editor']['config']['get']('uploadcare.uploader')||{},_0xa63bba=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x237d8e(_0x344656['document'],'uc-config',{..._0x32df77,'pubkey':_0xa63bba,'ctx-name':'uploader-'+this['ucContextId'],'sourceList':'','imgOnly':'true','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage'],'externalSourcesEmbedCss':'\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup\x20{\x20padding:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-menu\x20{\x20gap:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-footer\x20{\x20padding-top:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__separator\x20{\x20margin:\x200;\x20}\x0a\x09\x09\x09'}),this['_configElement']['iconHrefResolver']=_0x4566cd=>{if('closeMax'==_0x4566cd)return'#uc-icon-arrow-down';},_0x344656['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x237d8e(_0x344656['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),_0x344656['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x50bbd8=this['editor']['commands']['get']('insertImage');_0x50bbd8&&this['listenTo'](_0x50bbd8,'execute',()=>{const _0x149a54=this['editor']['model']['document']['selection']['getSelectedElement']();_0x149a54&&_0x149a54['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x149a54);});});const _0x258e97=this['editor']['commands']['get']('uploadcareImageReplace');_0x258e97&&this['listenTo'](_0x258e97,'execute',()=>{const _0x2f6d9c=this['editor']['model']['document']['selection']['getSelectedElement']();_0x2f6d9c&&_0x2f6d9c['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x2f6d9c);});});}}class tt extends _0x5b4246{static get['requires'](){return[o,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0xfbc0d4){super(_0xfbc0d4),_0xfbc0d4['config']['define']('uploadcare.uploader.sourceList',[i['Local'],i['URL']]),_0x15364e['defineComponents'](_0x15364e),this['_defineLocale']();}['_defineLocale'](){const _0x30ba52=this['editor']['config']['get']('uploadcare.locale'),_0x88aeac=this['editor']['locale']['contentLanguage'];_0x30ba52&&_0x15364e['defineLocale'](_0x88aeac,_0x30ba52);}}class ii extends _0x495c6e{constructor(_0x556df9){super(_0x556df9);const t=_0x556df9['t'],_0x4bbe22=this['bindTemplate'],_0x3c97b8=new _0x50ee97();_0x3c97b8['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':[_0x3c97b8,{'text':_0x4bbe22['to']('imageUploadProgress',_0x1b6984=>t('Loading\x20image...')+'\x20('+(_0x1b6984||0x0)+'%)')}]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}class ti extends _0x495c6e{constructor(_0x154a94){super(_0x154a94);const t=_0x154a94['t'];this['set']('errorType',null);const _0x1d8489=new _0xf57840(_0x154a94);_0x1d8489['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x1d8489['withText']=!0x0,_0x1d8489['class']='ck-button-action',_0x1d8489['on']('execute',()=>{this['fire']('retry');}),_0x1d8489['bind']('isVisible')['to'](this,'errorType',_0x1db04c=>'NotFound'!==_0x1db04c);const _0x487243=new _0x573e41();_0x487243['content']=_0x43b2ad,_0x487243['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x16d1bf=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':[_0x487243,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x16d1bf['to']('errorType',_0x5c4ff9=>t('NotFound'!==_0x5c4ff9?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x1d8489]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}class ei extends _0x495c6e{constructor(_0x201381,_0x164d07){super(_0x201381);const _0x542eed=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x164d07,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x542eed['to']('imageSrc')}});}}class X extends V{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x39658c,_0x25e1bd,_0x2bf333){super(_0x39658c),this['_items']=this['createCollection'](),this['_loadingView']=new ii(_0x39658c),this['_errorView']=new ti(_0x39658c),this['_editingView']=new ei(_0x39658c,_0x2bf333),this['_focusableView']=new _0x495c6e(_0x39658c),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x25e1bd),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'],_0x153abe=>{this['_addUploadcareImageEditorListeners'](_0x153abe);});}),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'](_0x448a57,_0x2fb9c3){const _0x54e2fe='uc-cloud-image-editor',_0x4b5bee=_0x448a57['querySelector'](_0x54e2fe);if(_0x4b5bee)return _0x2fb9c3(_0x4b5bee);const _0x546da3=new MutationObserver(_0x12755c=>{const _0x14de21=_0x12755c['filter'](_0x6c6ea0=>_0x6c6ea0['target']===_0x448a57&&_0x6c6ea0['addedNodes']['length']>0x0&&_0x6c6ea0['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x54e2fe);_0x14de21['length']&&(_0x546da3['disconnect'](),_0x2fb9c3(_0x14de21[0x0]['addedNodes'][0x0]));});_0x546da3['observe'](_0x448a57,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x11b86c){_0x11b86c['addEventListener']('apply',_0x4d1b91=>{this['fire']('apply',{'imageSrc':_0x4d1b91['detail']['cdnUrl']});}),_0x11b86c['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class E extends/* #__PURE__ -- @preserve */
25
- _0x41f4aa(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x5d60a8,_0xcd25a2,_0x1630c4){super(),this['_editor']=_0x5d60a8,this['_dialog']=_0xcd25a2,this['_imageElement']=_0x1630c4,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 _0x1d57af=this['_imageElement'],_0x495470=_0x1d57af['getAttribute']('uploadcareImageId'),_0x39529a=_0x1d57af['getAttribute']('src');if(_0x495470)await this['_loadImageInfo'](_0x495470,_0x39529a);else{if(this['_imageCache']['has'](_0x39529a)){const _0x37918f=this['_imageCache']['get'](_0x39529a);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x37918f['url'],this['imageDimension']=_0x37918f['dimension'],this['imageId']=_0x37918f['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x2ab2ad}=this['_editor'],t=_0x2ab2ad['t'],_0x3688a4=new X(_0x2ab2ad,this['imageStatus'],this['_attributes']);_0x3688a4['bind']('status')['to'](this,'imageStatus'),_0x3688a4['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x3688a4['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x3688a4['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x3688a4,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x1e0cb0,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x3688a4,'position':_0x1cff5e['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x3688a4['focus']();},'onHide':()=>{_0x3688a4['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0xafbca1=>!M(_0xafbca1,_0x3688a4['element'])}});}['_loadImageInfo'](_0x391775,_0x2fd2d7){return j['getInfo'](_0x391775,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x2d325c=>{const {width:_0x50e244,height:_0x336401}=_0x2d325c['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x2fd2d7,this['imageDimension']={'width':_0x50e244,'height':_0x336401},this['imageId']=_0x391775;})['catch'](_0x5181bc=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x5181bc['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0xad446,_0x4e7466){return this['_getImageAsFile'](_0xad446)['then'](_0x29919f=>j['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['_editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':_0x4e7466['signal'],'file':_0x29919f,'onProgress':_0x229032=>{_0x229032&&_0x229032['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x229032['value']));}}))['then'](_0x3114f7=>{const {width:_0x269e5c,height:_0x4b3104}=_0x3114f7['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x3114f7['cdnUrl'],this['imageDimension']={'width':_0x269e5c,'height':_0x4b3104},this['imageId']=_0x3114f7['uuid'],this['imageUploadProgress']=null;const _0x41ec00=_0xad446['getAttribute']('src');this['_imageCache']['set'](_0x41ec00,{'id':_0x3114f7['uuid'],'url':_0x3114f7['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x395c77=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x395c77['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x17a77e,_0x496496){_0x17a77e['on']('apply',(_0xd7b3e0,_0x3f7b76)=>{this['_replaceImage'](_0x496496,_0x3f7b76['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x17a77e['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x17a77e['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0xd20b6d,_0x3c60b0,_0x2c8d2f){const _0x43bfbe=this['_editor'],{width:_0x3104e3,height:_0x2400ea}=F(_0x3c60b0,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x4423a3,imageSources:_0x6a39d0}=C(_0x3c60b0,_0x3104e3);_0x43bfbe['model']['change'](_0x15659d=>{if('$graveyard'===_0xd20b6d['root']['rootName']){_0x43bfbe['execute']('insertImage',{'imageType':_0xd20b6d['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0xd20b6d['getAttributes']()),'uploadcareImageId':_0x2c8d2f,'src':_0x4423a3,'sources':_0x6a39d0,'width':_0x3104e3,'height':_0x2400ea}});const _0x814e3c=_0xd20b6d['getChildren']();_0xd20b6d=_0x43bfbe['model']['document']['selection']['getSelectedElement']();for(const _0x68a92 of _0x814e3c)_0x15659d['append'](_0x15659d['cloneElement'](_0x68a92),_0xd20b6d);}else _0x15659d['setSelection'](_0xd20b6d,'on'),_0x43bfbe['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0xd20b6d['getAttributes']()),'uploadcareImageId':_0x2c8d2f,'src':_0x4423a3,'sources':_0x6a39d0,'width':_0x3104e3,'height':_0x2400ea},_0xd20b6d);_0x15659d['setSelection'](_0xd20b6d,'on');});}async['_getImageAsFile'](_0xe23df8){const _0xd28832=_0x344656['window'],_0x1eadf8=_0x344656['document']['location']['href'],_0xa70613=new _0xd28832['URL'](_0xe23df8['getAttribute']('src'),_0x1eadf8);if('data:'===_0xa70613['protocol']){const _0x48cc1d=_0xa70613['href']['split'](','),_0x25aa47=_0x48cc1d[0x0]['match'](/:(.*?);/)[0x1],_0x4021dd=_0x25aa47['split']('/')[0x1],_0x4ad869=_0xd28832['atob'](_0x48cc1d[_0x48cc1d['length']-0x1]);let _0x2e4eb2=_0x4ad869['length'];const _0x240825=new _0xd28832['Uint8Array'](_0x2e4eb2);for(;_0x2e4eb2--;)_0x240825[_0x2e4eb2]=_0x4ad869['charCodeAt'](_0x2e4eb2);return new _0xd28832['File']([_0x240825],'image.'+_0x4021dd,{'type':_0x25aa47});}const _0x4b96d3=_0xa70613['href']['split']('/'),_0x5a31a1=_0x4b96d3[_0x4b96d3['length']-0x1],_0x49f5ea=_0x5a31a1['split']('.')[0x1];return _0xd28832['fetch'](_0xa70613['href'])['then'](_0x130ae4=>_0x130ae4['clone']()['blob']())['then'](_0x38a617=>new _0xd28832['File']([_0x38a617],_0x5a31a1,{'type':'image/'+_0x49f5ea}));}}class N extends _0x2008ef{['imageEditController'];static get['requires'](){return[_0x1601b4];}['_isEditable'];constructor(_0x3b4e5b){super(_0x3b4e5b),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x539f6f){const _0x379972=R(_0x539f6f);return _0x260c02=>!(!_0x260c02||!_0x260c02['is']('element','imageBlock')&&!_0x260c02['is']('element','imageInline'))&&(!!_0x260c02['hasAttribute']('uploadcareImageId')||!!_0x260c02['hasAttribute']('src')&&_0x379972(_0x260c02['getAttribute']('src')));}(_0x3b4e5b['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x1b175e=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x1b175e);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x1cff31=this['editor']['model']['document']['selection']['getSelectedElement']();_0x1cff31&&(_0x1cff31['is']('element','imageBlock')||_0x1cff31['is']('element','imageInline'))&&(this['imageEditController']=new E(this['editor'],this['editor']['plugins']['get'](_0x1601b4),_0x1cff31),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class O extends _0x2008ef{['refresh'](){const _0x4edea5=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x4edea5&&(_0x4edea5['is']('element','imageBlock')||_0x4edea5['is']('element','imageInline')));}['execute'](_0x1554c8){const _0x34b400=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x3a70ef=>{_0x3a70ef['setAttributes'](_0x1554c8,_0x34b400),_0x3a70ef['removeAttribute']('srcset',_0x34b400),_0x3a70ef['removeAttribute']('sizes',_0x34b400);});}}class m extends _0x5b4246{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[o,_0x544ee2,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x2cb273}=this;_0x2cb273['commands']['add']('uploadcareImageEdit',new N(_0x2cb273)),_0x2cb273['commands']['add']('uploadcareImageReplace',new O(_0x2cb273));}}class g extends _0x5b4246{['_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 _0x3f5d03=this['editor'];_0x3f5d03['ui']['componentFactory']['add']('uploadcareImageEdit',_0x3a3191=>{const _0x4df9fc=_0x3f5d03['commands']['get']('uploadcareImageEdit'),_0x3dfb59=new _0xf57840(_0x3a3191),t=_0x3a3191['t'];return _0x3dfb59['set']({'icon':_0x1e0cb0,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x3dfb59['bind']('isEnabled')['to'](_0x4df9fc),_0x3dfb59['bind']('isOn')['to'](_0x4df9fc,'isActive'),this['listenTo'](_0x3dfb59,'execute',()=>{_0x3f5d03['execute']('uploadcareImageEdit'),_0x3f5d03['editing']['view']['focus']();}),_0x3dfb59;}),this['_initConfig']();}['_initConfig'](){const _0x4b04f8=_0x237d8e(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x4b04f8),this['listenTo'](this['editor'],'destroy',()=>{_0x4b04f8['remove']();});}}class et extends _0x5b4246{static get['pluginName'](){return'UploadcareImageEdit';}static get['requires'](){return[m,g];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{tt as Uploadcare,w as UploadcareCommand,o as UploadcareEditing,et as UploadcareImageEdit,N as UploadcareImageEditCommand,m as UploadcareImageEditEditing,g as UploadcareImageEditUI,e as UploadcareUI,f as UploadcareUploadAdapter};
23
+ import{Plugin as _0x14517a,Command as _0x91f916}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x2ab01c,IconGooglePhotos as _0xc1e77c,IconGoogleDrive as _0xb90c5c,IconFacebook as _0x55bf04,IconDropbox as _0xdc0293,IconUploadcareLink as _0x57f730,IconUploadcareImageUpload as _0x355919,IconError as _0x675836,IconUploadcareImageEdit as _0x4a9795}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x4ca767,MenuBarMenuListItemButtonView as _0x2849c5,View as _0x5735fe,FocusCycler as _0x4ad639,Dialog as _0x2685a2,DialogViewPosition as _0x1d6f90,SpinnerView as _0x5ca8b5,IconView as _0x1f1bbb,Notification as _0x972c8c}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x3b6327,DomEmitterMixin as _0x5b78d7,global as _0x5eaaec,getAncestors as _0x5d9f79,ObservableMixin as _0x279c7c,uid as _0x55945e,createElement as _0x3b284a}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x390c56}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x505aa1,info as _0x318814}from'@uploadcare/upload-client';import*as _0x28f87f from'@uploadcare/file-uploader';var i=function(_0x2e215d){return _0x2e215d['Local']='local',_0x2e215d['URL']='url',_0x2e215d['Dropbox']='dropbox',_0x2e215d['GDrive']='gdrive',_0x2e215d['Facebook']='facebook',_0x2e215d['GPhotos']='gphotos',_0x2e215d['OneDrive']='onedrive',_0x2e215d;}({});function _(_0x1e5c5c,_0x1c7956,_0xeec2cd){const t=_0x1e5c5c['t'],_0x3b960a=_0x1e5c5c['t'];switch(_0x1c7956){case i['Local']:return{'text':_0x3b960a('Insert'===_0xeec2cd?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x3b960a('From\x20computer')};case i['URL']:return{'text':'Insert'===_0xeec2cd?_0x3b960a('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x3b960a('Via\x20URL')};case i['Dropbox']:return{'text':t('Insert'===_0xeec2cd?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case i['Facebook']:return{'text':t('Insert'===_0xeec2cd?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case i['GDrive']:return{'text':t('Insert'===_0xeec2cd?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case i['GPhotos']:return{'text':t('Insert'===_0xeec2cd?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case i['OneDrive']:return{'text':t('Insert'===_0xeec2cd?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x1c7956;}}class e extends _0x14517a{['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 _0x326c8c=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x2f331e;for(const _0x2c2efd in _0x326c8c){const _0x353786=_0x2c2efd,_0x315485=_0x326c8c[_0x353786];if('uploadcareLicenseKeyValid'==_0x315485||'uploadcareLicenseKeyInvalid'==_0x315485||'uploadcareLicenseKeyExpired'==_0x315485||'uploadcareLicenseKeyDomainLimit'==_0x315485||'uploadcareLicenseKeyNotAllowed'==_0x315485||'uploadcareLicenseKeyEvaluationLimit'==_0x315485||'uploadcareLicenseKeyTrialLimit'==_0x315485||'uploadcareLicenseKeyUsageLimit'==_0x315485){delete _0x326c8c[_0x353786],_0x2f331e=_0x315485,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x2f331e&&_0x326c8c['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x2f331e&&_0x326c8c['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x2f331e&&_0x326c8c['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x2f331e&&_0x326c8c['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x2f331e&&_0x326c8c['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0x2f331e&&_0x326c8c['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0x2f331e&&_0x326c8c['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x2d5789}=this,_0x32bcb5=_0x2d5789['commands']['get']('uploadcare');if(!_0x32bcb5)return;const _0x4783d4=this['_normalizeConfigSourceList'](_0x2d5789['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x37e42a,_0x375c7e)=>{const _0x5a5a2b=this['_getIntegrationKey'](_0x375c7e['type']);return _0x37e42a[_0x5a5a2b]||(_0x37e42a[_0x5a5a2b]=[]),_0x37e42a[_0x5a5a2b]['push'](_0x375c7e),_0x37e42a;},{});_0x2d5789['plugins']['has']('ImageInsertUI')&&_0x2d5789['commands']['get']('uploadcare')&&Object['entries'](_0x4783d4)['forEach'](([_0x442ff8,_0x383460])=>{_0x2d5789['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x442ff8,'observable':()=>_0x32bcb5,'buttonViewCreator':()=>this['_createToolbarButton'](_0x383460),'formViewCreator':()=>this['_createDropdownButtons'](_0x383460),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x383460),'override':'assetManager'!==_0x442ff8});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x54dfe6){const {locale:_0x5d5da5}=this['editor'];return _0x54dfe6['map'](_0x360cb9=>{const _0xaf762=_(_0x5d5da5,_0x360cb9,'Insert');switch(_0x360cb9){case i['Local']:return{'icon':_0x355919,'type':i['Local'],..._0xaf762};case i['URL']:return{'icon':_0x57f730,'type':i['URL'],..._0xaf762};case i['Dropbox']:return{'icon':_0xdc0293,'type':i['Dropbox'],..._0xaf762};case i['Facebook']:return{'icon':_0x55bf04,'type':i['Facebook'],..._0xaf762};case i['GDrive']:return{'icon':_0xb90c5c,'type':i['GDrive'],..._0xaf762};case i['GPhotos']:return{'icon':_0xc1e77c,'type':i['GPhotos'],..._0xaf762};case i['OneDrive']:return{'icon':_0x2ab01c,'type':i['OneDrive'],..._0xaf762};}});}['_getIntegrationKey'](_0x29b265){switch(_0x29b265){case i['Local']:return'upload';case i['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x3a9f27,_0x57fc32){const _0x4dce6f=this['editor'],_0x435e4e=new _0x3a9f27(_0x4dce6f['locale']),_0x75cc72=_0x4dce6f['commands']['get']('uploadcare');return _0x435e4e['bind']('isEnabled')['to'](_0x75cc72),_0x435e4e['on']('execute',()=>{_0x75cc72['execute'](_0x57fc32);}),_0x435e4e;}['_createToolbarButton'](_0x962991){const {locale:_0x3f1239}=this['editor'],_0x331fb7=this['editor']['plugins']['get']('ImageInsertUI'),_0x16de19=_0x962991[0x0],_0x41c6e4=this['_createButton'](_0x4ca767,_0x16de19['type']);return _0x41c6e4['icon']=_0x16de19['icon'],_0x41c6e4['bind']('label')['to'](_0x331fb7,'isImageSelected',_0x57f54c=>_(_0x3f1239,_0x16de19['type'],_0x57f54c?'Replace':'Insert')['text']),_0x41c6e4['tooltip']=!0x0,_0x41c6e4;}['_createDropdownButtons'](_0x3862eb){const {locale:_0x303888}=this['editor'],_0x285ab6=this['editor']['plugins']['get']('ImageInsertUI');return _0x3862eb['map'](_0x27bc91=>{const _0x5c86ac=this['_createButton'](_0x4ca767,_0x27bc91['type']);return _0x5c86ac['withText']=!0x0,_0x5c86ac['icon']=_0x27bc91['icon'],_0x5c86ac['bind']('label')['to'](_0x285ab6,'isImageSelected',_0x2e4bc3=>_(_0x303888,_0x27bc91['type'],_0x2e4bc3?'Replace':'Insert')['text']),_0x5c86ac;});}['_createMenuBarButtons'](_0x42a93c){return _0x42a93c['map'](_0x2b03c8=>{const _0x121c2e=this['_createButton'](_0x2849c5,_0x2b03c8['type']);return _0x121c2e['icon']=_0x2b03c8['icon'],_0x121c2e['label']=_0x2b03c8['shortText'],_0x121c2e;});}}class F extends _0x5735fe{['focusTracker'];['focusCycler'];constructor(_0x417115){super(_0x417115),this['focusTracker']=new _0x3b6327(),this['focusCycler']=new _0x4ad639({'focusables':this['createCollection'](),'focusTracker':this['focusTracker']});}['getFocusableElement'](){return{'tag':'div','attributes':{'aria-hidden':'true','tabindex':'0'},'on':{'focus':this['bindTemplate']['to'](()=>{this['focusCycler']['fire']('forwardCycle');})}};}}class x extends F{constructor(_0x6540ca,_0x31ae2f){super(_0x6540ca),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-'+_0x31ae2f}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function C(_0x26c9de,_0x887574){const _0x291d0a=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x2ef713=>_0x2ef713<=_0x887574)['map'](_0x440f49=>_0x26c9de['replace'](/\/$/,'')+'/-/resize/'+_0x440f49+'x/\x20'+_0x440f49+'w');return{'imageFallbackUrl':_0x26c9de,'imageSources':[{'srcset':_0x291d0a['join'](',\x20'),'sizes':'(max-width:\x20'+_0x887574+'px)\x20100vw,\x20'+_0x887574+'px','type':'image/webp'}]};}function S(_0x2aa5a7,_0x1e5ba7,_0x3e2da9){const _0x350cd3=_0x2aa5a7['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x350cd3?parseInt(_0x350cd3[0x1],0xa):_0x1e5ba7,'height':_0x350cd3?parseInt(_0x350cd3[0x2],0xa):_0x3e2da9};}function p(_0x25a389,_0x1f4523){const _0x26dc8a=new(_0x5b78d7())(),_0x5d94a2=_0x25a389['plugins']['get']('ImageUtils'),_0x4c841a=_0x25a389['editing']['mapper']['toViewElement'](_0x1f4523),_0x4f5e7e=_0x5d94a2['findViewImgElement'](_0x4c841a),_0x4778c1=_0x25a389['editing']['view']['domConverter']['viewToDom'](_0x4f5e7e),_0x744647=_0x1f4523['getAttribute']('width'),_0x285ace=_0x1f4523['getAttribute']('height'),_0x197dac='image-processing';_0x25a389['editing']['view']['change'](_0x412ea2=>{_0x412ea2['addClass'](_0x197dac,_0x4c841a),_0x412ea2['setStyle']('aspect-ratio',_0x744647+'/'+_0x285ace,_0x4f5e7e);}),_0x26dc8a['listenTo'](_0x4778c1,'load',()=>{_0x26dc8a['stopListening'](_0x4778c1,'load'),_0x25a389['editing']['view']['change'](_0x4b47c0=>{_0x4b47c0['removeClass'](_0x197dac,_0x4c841a),_0x4b47c0['removeStyle']('aspect-ratio',_0x4f5e7e);});});}function G(_0x395c5e){if(Array['isArray'](_0x395c5e)){const _0x570a58=_0x395c5e['map'](G);return _0x334ca1=>_0x570a58['some'](_0x2bf9ee=>_0x2bf9ee(_0x334ca1));}if('origin'==_0x395c5e){const _0x957c52=_0x5eaaec['window']['location']['origin'];return _0x2cc959=>new URL(_0x2cc959,_0x5eaaec['document']['baseURI'])['origin']==_0x957c52;}return'function'==typeof _0x395c5e?_0x395c5e:_0x395c5e instanceof RegExp?_0x28cd69=>!(!_0x28cd69['match'](_0x395c5e)&&!_0x28cd69['replace'](/^https?:\/\//,'')['match'](_0x395c5e)):()=>!0x1;}function A(_0x296c32,_0x377f0d){return _0x5d9f79(_0x296c32['target'])['includes'](_0x377f0d);}class n extends/* #__PURE__ -- @preserve */
24
+ _0x279c7c(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x2a38f4,_0x439c88,_0x1859d7){super(),this['_editor']=_0x2a38f4,this['_editing']=_0x439c88,this['_dialog']=_0x2a38f4['plugins']['get'](_0x2685a2),this['_api']=_0x439c88['ctxElement']['getAPI'](),this['_type']=_0x1859d7,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:_0x3a1a2e,model:_0x518f33}=this['_editor'],_0x1c619e=_0x518f33['document']['selection']['getSelectedElement'](),_0x52f789=_0x1c619e&&(_0x1c619e['is']('element','imageBlock')||_0x1c619e['is']('element','imageInline'));this['_formView']=new x(_0x3a1a2e,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':_0x355919,'title':_(_0x3a1a2e,this['_type'],_0x52f789?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x1d6f90['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x3fbad0=>!A(_0x3fbad0,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x1ac0c1}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0xfb9a61=>{const _0x6c81fd=_0x1ac0c1['length'];for(const _0x355c9d of _0x1ac0c1){const _0x5985c0=_0x355c9d===_0x1ac0c1[_0x6c81fd-0x1],{cdnUrl:_0xd04c13,fileInfo:_0xbbda13}=_0x355c9d;if(!_0xd04c13||!_0xbbda13)continue;const {width:_0x5d757f,height:_0x21a5ff}=_0xbbda13['imageInfo'],_0x325790=S(_0xd04c13,_0x5d757f,_0x21a5ff),_0x4adf30=C(_0xd04c13,_0x325790['width']),_0x4e6f67={'id':_0xbbda13['uuid'],'type':'image','attributes':{'imageDimension':_0x325790,..._0x4adf30}};this['_insertAsset'](_0x4e6f67,_0x5985c0,_0xfb9a61);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x4d68d9=>{'idle'===_0x4d68d9['detail']['status']&&!_0x4d68d9['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===i['Local']?this['_api']['setCurrentActivity'](i['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x30b956,_0x577740,_0x454e65){const _0x58f2a4=this['_editor']['model']['document']['selection'],_0x486fff=_0x58f2a4['getSelectedElement'](),_0x1d7087=!(!_0x486fff||!_0x486fff['is']('element','imageInline'));_0x454e65['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x30b956,_0x1d7087),_0x577740||_0x454e65['setSelection'](_0x58f2a4['getLastPosition']());}['_insertImage'](_0x583395,_0x2aeb39){const _0x3b9ab6=this['_editor'],{imageDimension:_0x2ca802,imageFallbackUrl:_0x20cf69,imageSources:_0x226c93}=_0x583395['attributes'];_0x3b9ab6['execute']('insertImage',{'imageType':_0x2aeb39?'imageInline':null,'source':{'uploadcareImageId':_0x583395['id'],'src':_0x20cf69,'sources':_0x226c93,..._0x2ca802}});}}class w extends _0x91f916{['_editing'];['_controller']=null;static get['requires'](){return[_0x2685a2,o];}constructor(_0x5ab882){super(_0x5ab882),this['_editing']=_0x5ab882['plugins']['get'](o);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x456e46){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new n(this['editor'],this['_editing'],_0x456e46);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class j{static['upload']({file:_0x2fc373,..._0x1d6b43}){return _0x505aa1(_0x2fc373,_0x1d6b43);}static['getInfo'](_0x1b4dd9,_0x17a3ca){return _0x318814(_0x1b4dd9,_0x17a3ca);}}class f extends _0x14517a{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x390c56,o];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x1180ff=this['editor'];if(!!!_0x1180ff['config']['get']('uploadcare'))return;_0x1180ff['plugins']['get'](_0x390c56)['createUploadAdapter']=_0x19bed7=>new k(_0x19bed7,_0x1180ff),_0x1180ff['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x8c84a3,{imageElement:_0x23f14c,data:_0x23d6a6})=>{_0x1180ff['model']['change'](_0x5229a6=>{_0x5229a6['setAttribute']('uploadcareImageId',_0x23d6a6['uploadcareImageId'],_0x23f14c);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x295b13,_0x247de6){this['loader']=_0x295b13,this['editor']=_0x247de6,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x1e0019=await this['loader']['file'];return j['upload']({'file':_0x1e0019,'publicKey':this['editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':this['controller']['signal'],'onProgress':_0x47aac5=>{_0x47aac5&&_0x47aac5['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x47aac5['value']);}})['then'](async _0x149ca7=>{const {imageFallbackUrl:_0x4f71f8,imageSources:_0x38ae41}=C(_0x149ca7['cdnUrl'],_0x149ca7['imageInfo']['width']);return{'uploadcareImageId':_0x149ca7['uuid'],'default':_0x4f71f8,'sources':_0x38ae41};})['catch'](()=>{const _0x3494e7=t('Cannot\x20upload\x20file:')+('\x20'+_0x1e0019['name']+'.');return Promise['reject'](_0x3494e7);});}['abort'](){this['controller']['abort']();}}class o extends _0x14517a{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',f,_0x2685a2];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['ucContextId'];get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}constructor(_0x34e420){super(_0x34e420),this['ucContextId']=_0x55945e();}['init'](){const _0x4217e8=this['editor'];_0x4217e8['commands']['add']('uploadcare',new w(_0x4217e8));}['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 _0x26a4b6=_0x5eaaec['document']['querySelector']('input[uploadcare-file-input]');_0x26a4b6&&_0x26a4b6['remove']();}),async function(_0x357c6d){const _0x282ecd=_0x4ed040([0x68,0x67,0x50,0x36,0x38,0x70,0x71,0x63,0x37,0x4f,0x42,0x4a,0x78,0x39,0x75,0x33,0x7a,0x72,0x48,0x61,0x74,0x59,0x55,0x58,0x66,0x30,0x34,0x54,0x64,0x56,0x6b,0x4d,0x46,0x6d,0x77,0x43,0x73,0x35,0x53,0x44,0x41,0x76,0x6a,0x32,0x31,0x69,0x57,0x51,0x47,0x65,0x5a,0x4b,0x4c,0x79,0x52,0x6c,0x45,0x4e,0x6e,0x6f,0x49,0x62]),_0x33268a=0x535f8c3a,_0xceb39=0x5358f752^_0x33268a,_0x12f69b=window[_0x4ed040([0x44,0x61,0x74,0x65])][_0x4ed040([0x6e,0x6f,0x77])](),_0x1332fb=_0x357c6d[_0x4ed040([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x5620a9=new window[(_0x4ed040([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2d1f41=>{_0x1332fb[_0x4ed040([0x6f,0x6e,0x63,0x65])](_0x4ed040([0x72,0x65,0x61,0x64,0x79]),_0x2d1f41);}),_0x1aac92={[_0x4ed040([0x6b,0x74,0x79])]:_0x4ed040([0x45,0x43]),[_0x4ed040([0x75,0x73,0x65])]:_0x4ed040([0x73,0x69,0x67]),[_0x4ed040([0x63,0x72,0x76])]:_0x4ed040([0x50,0x2d,0x32,0x35,0x36]),[_0x4ed040([0x78])]:_0x4ed040([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]),[_0x4ed040([0x79])]:_0x4ed040([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]),[_0x4ed040([0x61,0x6c,0x67])]:_0x4ed040([0x45,0x53,0x32,0x35,0x36])},_0x5c1c5a=_0x1332fb[_0x4ed040([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4ed040([0x67,0x65,0x74])](_0x4ed040([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x57e326(){let _0x5a21ce,_0x3d492e=null,_0x4e10ce=null;try{if(_0x5c1c5a==_0x4ed040([0x47,0x50,0x4c]))return _0x4ed040([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x5a21ce=_0x49fcb7(),!_0x5a21ce)return _0x4ed040([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x5a21ce[_0x4ed040([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4e10ce=_0x4202bd(_0x5a21ce[_0x4ed040([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x5a21ce[_0x4ed040([0x6a,0x74,0x69])])),await _0x17460b()?_0x70591e()?_0x36a732()?_0x4ed040([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0xe13577()?(_0x5a21ce[_0x4ed040([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4ed040([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3d492e=_0x16a848(_0x4ed040([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x5a21ce[_0x4ed040([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4ed040([0x74,0x72,0x69,0x61,0x6c])&&(_0x3d492e=_0x16a848(_0x4ed040([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x34e5fe()):_0x4ed040([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4ed040([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4ed040([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x4ed040([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x36a732(){const _0x144e29=[_0x4ed040([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4ed040([0x74,0x72,0x69,0x61,0x6c])][_0x4ed040([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5a21ce[_0x4ed040([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x12f69b/0x3e8:0xe10*_0xceb39;return _0x5a21ce[_0x4ed040([0x65,0x78,0x70])]<_0x144e29;}function _0x70591e(){const _0x123ce0=_0x5a21ce[_0x4ed040([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x123ce0&&(!!_0x123ce0[_0x4ed040([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4ed040([0x2a]))||!!_0x123ce0[_0x4ed040([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4ed040([0x55,0x50,0x4c,0x43])));}function _0xe13577(){const _0x44e8e3=_0x5a21ce[_0x4ed040([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x44e8e3||0x0==_0x44e8e3[_0x4ed040([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3352bf}=new URL(window[_0x4ed040([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x44e8e3[_0x4ed040([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3352bf))return!0x0;const _0x160741=_0x3352bf[_0x4ed040([0x73,0x70,0x6c,0x69,0x74])](_0x4ed040([0x2e]));return _0x44e8e3[_0x4ed040([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5d1cb4=>_0x5d1cb4[_0x4ed040([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4ed040([0x2a])))[_0x4ed040([0x6d,0x61,0x70])](_0x28d4f7=>_0x28d4f7[_0x4ed040([0x73,0x70,0x6c,0x69,0x74])](_0x4ed040([0x2e])))[_0x4ed040([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x508c58=>_0x508c58[_0x4ed040([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x160741[_0x4ed040([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4ed040([0x6d,0x61,0x70])](_0x31f2bc=>Array(_0x160741[_0x4ed040([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x31f2bc[_0x4ed040([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4ed040([0x66,0x69,0x6c,0x6c])](_0x31f2bc[0x0]===_0x4ed040([0x2a])?_0x4ed040([0x2a]):'')[_0x4ed040([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x31f2bc))[_0x4ed040([0x73,0x6f,0x6d,0x65])](_0x4f3fe9=>_0x160741[_0x4ed040([0x65,0x76,0x65,0x72,0x79])]((_0x21db55,_0x25ef4e)=>_0x4f3fe9[_0x25ef4e]===_0x21db55||_0x4f3fe9[_0x25ef4e]===_0x4ed040([0x2a])));}function _0x34e5fe(){return _0x3d492e&&_0x4e10ce?new window[(_0x4ed040([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x155f53,_0x5949e5)=>{_0x3d492e[_0x4ed040([0x74,0x68,0x65,0x6e])](_0x155f53,_0x5949e5),_0x4e10ce[_0x4ed040([0x74,0x68,0x65,0x6e])](_0x2d6ce4=>{_0x2d6ce4!=_0x4ed040([0x56,0x61,0x6c,0x69,0x64])&&_0x155f53(_0x2d6ce4);},_0x5949e5);}):_0x3d492e||_0x4e10ce||_0x4ed040([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4202bd(_0x59113c,_0x28956c){return new window[(_0x4ed040([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1cbe88=>{if(_0xd97371())return _0x1cbe88(_0x4ed040([0x56,0x61,0x6c,0x69,0x64]));_0x357ac6(),_0x1332fb[_0x4ed040([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4ed040([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0xb84d8c=!0x1;const _0x18bd15=_0x55945e();function _0x957c9c(_0x25fc07){return!!_0x25fc07&&(typeof _0x25fc07===_0x4ed040([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x25fc07===_0x4ed040([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x25fc07[_0x4ed040([0x74,0x68,0x65,0x6e])]===_0x4ed040([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x25fc07[_0x4ed040([0x63,0x61,0x74,0x63,0x68])]===_0x4ed040([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x71135(_0x163b17){_0x3b8dec(_0x163b17)[_0x4ed040([0x74,0x68,0x65,0x6e])](_0x177aa7=>{if(!_0x177aa7||_0x177aa7[_0x4ed040([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4ed040([0x6f,0x6b]))return _0x4ed040([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2fb8fc(_0x1682ff(_0x18bd15+_0x28956c))!=_0x177aa7[_0x4ed040([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4ed040([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4ed040([0x56,0x61,0x6c,0x69,0x64]);})[_0x4ed040([0x74,0x68,0x65,0x6e])](_0x1eecf1=>(_0x26a155(),_0x1eecf1),()=>{const _0xbfd34c=_0x1bb69d();return null==_0xbfd34c?(_0x26a155(),_0x4ed040([0x56,0x61,0x6c,0x69,0x64])):_0x4ed040(_0x12f69b-_0xbfd34c>(0x7753083a^_0x33268a)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4ed040([0x74,0x68,0x65,0x6e])](_0x1cbe88)[_0x4ed040([0x63,0x61,0x74,0x63,0x68])](()=>{_0x1cbe88(_0x4ed040([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x4a7647=0x536962ba^_0x33268a;function _0x26a155(){const _0x470cd2=_0x4ed040([0x6c,0x6c,0x63,0x74,0x2d])+_0x2fb8fc(_0x1682ff(_0x59113c)),_0x28ba8b=_0x3ca011(_0x2fb8fc(window[_0x4ed040([0x4d,0x61,0x74,0x68])][_0x4ed040([0x63,0x65,0x69,0x6c])](_0x12f69b/_0x4a7647)));window[_0x4ed040([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4ed040([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x470cd2,_0x28ba8b);}function _0x1bb69d(){const _0x2c2a11=_0x4ed040([0x6c,0x6c,0x63,0x74,0x2d])+_0x2fb8fc(_0x1682ff(_0x59113c)),_0x36d1d2=window[_0x4ed040([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4ed040([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2c2a11);return _0x36d1d2?window[_0x4ed040([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3ca011(_0x36d1d2),0x10)*_0x4a7647:null;}function _0x3b8dec(_0x1c0bb5){return new window[(_0x4ed040([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x41a63e,_0x46715f)=>{_0x1c0bb5[_0x4ed040([0x74,0x68,0x65,0x6e])](_0x41a63e,_0x46715f),window[_0x4ed040([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x46715f,0x535e58fa^_0x33268a);});}}_0x1332fb[_0x4ed040([0x6f,0x6e])](_0x4ed040([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x418269,_0x40ab81)=>{if(_0x40ab81[0x0]!=_0x59113c)return _0x1cbe88(_0x4ed040([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x40ab81[0x1]={..._0x40ab81[0x1],[_0x4ed040([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x18bd15};},{[_0x4ed040([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4ed040([0x68,0x69,0x67,0x68])}),_0x1332fb[_0x4ed040([0x6f,0x6e])](_0x4ed040([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2908d7=>{_0x957c9c(_0x2908d7[_0x4ed040([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0xb84d8c=!0x0,_0x71135(_0x2908d7[_0x4ed040([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4ed040([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4ed040([0x6c,0x6f,0x77])}),_0x5620a9[_0x4ed040([0x74,0x68,0x65,0x6e])](()=>{_0xb84d8c||_0x1cbe88(_0x4ed040([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0xd97371(){return _0x1332fb[_0x4ed040([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4ed040([0x76,0x69,0x65,0x77])][_0x4ed040([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4ed040([0x61,0x75,0x74,0x6f]);}function _0x357ac6(){_0x1332fb[_0x4ed040([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4ed040([0x76,0x69,0x65,0x77])][_0x4ed040([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4ed040([0x61,0x75,0x74,0x6f]);}}function _0x16a848(_0x20c6a3){const _0x3c5ece=[new window[(_0x4ed040([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x52be61=>setTimeout(_0x52be61,0x5356b2f6^_0x33268a)),_0x5620a9[_0x4ed040([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4ed040([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3e2d9c=>{let _0x4e4423=0x0;_0x1332fb[_0x4ed040([0x6d,0x6f,0x64,0x65,0x6c])][_0x4ed040([0x6f,0x6e])](_0x4ed040([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x509483,_0x2bffb8)=>{_0x2bffb8[0x0][_0x4ed040([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4e4423++,_0x4e4423==(0x535f8dc2^_0x33268a)&&(_0x3e2d9c(),_0x509483[_0x4ed040([0x6f,0x66,0x66])]());});}))];return window[_0x4ed040([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4ed040([0x72,0x61,0x63,0x65])](_0x3c5ece)[_0x4ed040([0x74,0x68,0x65,0x6e])](()=>_0x20c6a3);}async function _0x528b86(){await _0x5620a9,_0x1332fb[_0x4ed040([0x6d,0x6f,0x64,0x65,0x6c])][_0x4ed040([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x1e2082,_0x1332fb[_0x4ed040([0x6d,0x6f,0x64,0x65,0x6c])][_0x4ed040([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x1e2082,_0x1332fb[_0x4ed040([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4ed040([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x42b1ae(_0xe4a9a4){const _0x43e538=_0x2e9a5e();_0x1332fb[_0x43e538]=_0x4ed040([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0xe4a9a4,_0xe4a9a4!=_0x4ed040([0x56,0x61,0x6c,0x69,0x64])&&_0x528b86();}function _0x2e9a5e(){const _0x532c83=window[_0x4ed040([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4ed040([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4ed040([0x6e,0x6f,0x77])]())[_0x4ed040([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4ed040([0x2e]),'');let _0xdaa2fa=_0x4ed040([0x68]);for(let _0x3d3ce1=0x0;_0x3d3ce1<_0x532c83[_0x4ed040([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3d3ce1+=0x2){let _0x1774a7=window[_0x4ed040([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x532c83[_0x4ed040([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3d3ce1,_0x3d3ce1+0x2));_0x1774a7>=_0x282ecd[_0x4ed040([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1774a7-=_0x282ecd[_0x4ed040([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0xdaa2fa+=_0x282ecd[_0x1774a7];}return _0xdaa2fa;}function _0x49fcb7(){const _0x3dd786=_0x5c1c5a[_0x4ed040([0x73,0x70,0x6c,0x69,0x74])](_0x4ed040([0x2e]));if(0x3!=_0x3dd786[_0x4ed040([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x5cef0b(_0x3dd786[0x1]);function _0x5cef0b(_0x5972b3){const _0x468edf=_0x176c2b(_0x5972b3);return _0x468edf&&_0x5dc648()?_0x468edf:null;function _0x5dc648(){const _0x1e28e0=_0x468edf[_0x4ed040([0x6a,0x74,0x69])],_0x3cba6c=window[_0x4ed040([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1e28e0[_0x4ed040([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1e28e0[_0x4ed040([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x44b6a3={..._0x468edf,[_0x4ed040([0x6a,0x74,0x69])]:_0x1e28e0[_0x4ed040([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1e28e0[_0x4ed040([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x44b6a3[_0x4ed040([0x76,0x63])],_0x1682ff(_0x44b6a3)==_0x3cba6c;}}}async function _0x17460b(){let _0x18b207=!0x0;try{const _0x496756=_0x5c1c5a[_0x4ed040([0x73,0x70,0x6c,0x69,0x74])](_0x4ed040([0x2e])),[_0x3fd28b,_0x3577a8,_0x14273e]=_0x496756;return _0x22caf1(_0x3fd28b),await _0x50c53f(_0x3fd28b,_0x3577a8,_0x14273e),_0x18b207;}catch{return!0x1;}function _0x22caf1(_0x590b8e){const _0x1d344b=_0x176c2b(_0x590b8e);_0x1d344b&&_0x1d344b[_0x4ed040([0x61,0x6c,0x67])]==_0x4ed040([0x45,0x53,0x32,0x35,0x36])||(_0x18b207=!0x1);}async function _0x50c53f(_0x3eb505,_0x3c126c,_0x119e55){const _0x49ed89=window[_0x4ed040([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4ed040([0x66,0x72,0x6f,0x6d])](_0xd36cc7(_0x119e55),_0x47bed4=>_0x47bed4[_0x4ed040([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4d24bb=new window[(_0x4ed040([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4ed040([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x3eb505+_0x4ed040([0x2e])+_0x3c126c),_0x55a47d=window[_0x4ed040([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4ed040([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x55a47d)return;const _0x5d215b=await _0x55a47d[_0x4ed040([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4ed040([0x6a,0x77,0x6b]),_0x1aac92,{[_0x4ed040([0x6e,0x61,0x6d,0x65])]:_0x4ed040([0x45,0x43,0x44,0x53,0x41]),[_0x4ed040([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4ed040([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4ed040([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x55a47d[_0x4ed040([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4ed040([0x6e,0x61,0x6d,0x65])]:_0x4ed040([0x45,0x43,0x44,0x53,0x41]),[_0x4ed040([0x68,0x61,0x73,0x68])]:{[_0x4ed040([0x6e,0x61,0x6d,0x65])]:_0x4ed040([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5d215b,_0x49ed89,_0x4d24bb)||(_0x18b207=!0x1);}}function _0x176c2b(_0x1d4524){return _0x1d4524[_0x4ed040([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4ed040([0x65,0x79]))?JSON[_0x4ed040([0x70,0x61,0x72,0x73,0x65])](_0xd36cc7(_0x1d4524)):null;}function _0xd36cc7(_0x4fe3ac){return window[_0x4ed040([0x61,0x74,0x6f,0x62])](_0x4fe3ac[_0x4ed040([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4ed040([0x2b]))[_0x4ed040([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4ed040([0x2f])));}function _0x1682ff(_0x187588){let _0x499b8b=0x1505;function _0x488679(_0x589bc){for(let _0x4df496=0x0;_0x4df496<_0x589bc[_0x4ed040([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4df496++){const _0x347787=_0x589bc[_0x4ed040([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4df496);_0x499b8b=(_0x499b8b<<0x5)+_0x499b8b+_0x347787,_0x499b8b&=_0x499b8b;}}function _0x37b889(_0x1e9cf0){Array[_0x4ed040([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1e9cf0)?_0x1e9cf0[_0x4ed040([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x37b889):_0x1e9cf0&&typeof _0x1e9cf0==_0x4ed040([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4ed040([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1e9cf0)[_0x4ed040([0x73,0x6f,0x72,0x74])]()[_0x4ed040([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4c059e,_0x5b3d35])=>{_0x488679(_0x4c059e),_0x37b889(_0x5b3d35);}):_0x488679(window[_0x4ed040([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1e9cf0));}return _0x37b889(_0x187588),_0x499b8b>>>0x0;}function _0x2fb8fc(_0x1276cc){return _0x1276cc[_0x4ed040([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4ed040([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4ed040([0x30]));}function _0x3ca011(_0x393706){return _0x393706[_0x4ed040([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4ed040([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4ed040([0x6a,0x6f,0x69,0x6e])]('');}function _0x1e2082(){}function _0x4ed040(_0x44490a){return _0x44490a['map'](_0x29ee13=>String['fromCharCode'](_0x29ee13))['join']('');}_0x42b1ae(await _0x57e326());}(this);}['_initSchema'](){const _0x300e51=this['editor']['model']['schema'];_0x300e51['isRegistered']('imageBlock')&&_0x300e51['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x300e51['isRegistered']('imageInline')&&_0x300e51['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x4e34b4=this['editor'];_0x4e34b4['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x4e34b4['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x12fb37=>_0x12fb37['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x4796df=_0x4e34b4['commands']['get']('replaceImageSource');_0x4796df&&this['listenTo'](_0x4796df,'cleanupImage',(_0x19794c,[_0x4ca52a,_0x204cd3])=>{_0x4ca52a['removeAttribute']('uploadcareImageId',_0x204cd3);});}['_initConfig'](){const _0xe7ee22=this['editor']['config']['get']('uploadcare.uploader')||{},_0x413a3c=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x3b284a(_0x5eaaec['document'],'uc-config',{..._0xe7ee22,'pubkey':_0x413a3c,'ctx-name':'uploader-'+this['ucContextId'],'sourceList':'','imgOnly':'true','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage'],'externalSourcesEmbedCss':'\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup\x20{\x20padding:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-menu\x20{\x20gap:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-footer\x20{\x20padding-top:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__separator\x20{\x20margin:\x200;\x20}\x0a\x09\x09\x09'}),this['_configElement']['iconHrefResolver']=_0xc00dd5=>{if('closeMax'==_0xc00dd5)return'#uc-icon-arrow-down';},_0x5eaaec['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x3b284a(_0x5eaaec['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),_0x5eaaec['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x3987d3=this['editor']['commands']['get']('insertImage');_0x3987d3&&this['listenTo'](_0x3987d3,'execute',()=>{const _0x30d86d=this['editor']['model']['document']['selection']['getSelectedElement']();_0x30d86d&&_0x30d86d['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x30d86d);});});const _0x4482bc=this['editor']['commands']['get']('uploadcareImageReplace');_0x4482bc&&this['listenTo'](_0x4482bc,'execute',()=>{const _0x1ab665=this['editor']['model']['document']['selection']['getSelectedElement']();_0x1ab665&&_0x1ab665['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x1ab665);});});}}class tt extends _0x14517a{static get['requires'](){return[o,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x2130d9){super(_0x2130d9),_0x2130d9['config']['define']('uploadcare.uploader.sourceList',[i['Local'],i['URL']]),_0x28f87f['defineComponents'](_0x28f87f),this['_defineLocale']();}['_defineLocale'](){const _0x428758=this['editor']['config']['get']('uploadcare.locale'),_0x60d825=this['editor']['locale']['contentLanguage'];_0x428758&&_0x28f87f['defineLocale'](_0x60d825,_0x428758);}}class ii extends _0x5735fe{constructor(_0x2b25fc){super(_0x2b25fc);const t=_0x2b25fc['t'],_0x2c7faf=this['bindTemplate'],_0x2fd33e=new _0x5ca8b5();_0x2fd33e['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':[_0x2fd33e,{'text':_0x2c7faf['to']('imageUploadProgress',_0x37f59e=>t('Loading\x20image...')+'\x20('+(_0x37f59e||0x0)+'%)')}]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}class ti extends _0x5735fe{constructor(_0x425301){super(_0x425301);const t=_0x425301['t'];this['set']('errorType',null);const _0xa3acb2=new _0x4ca767(_0x425301);_0xa3acb2['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0xa3acb2['withText']=!0x0,_0xa3acb2['class']='ck-button-action',_0xa3acb2['on']('execute',()=>{this['fire']('retry');}),_0xa3acb2['bind']('isVisible')['to'](this,'errorType',_0x103232=>'NotFound'!==_0x103232);const _0x24e67a=new _0x1f1bbb();_0x24e67a['content']=_0x675836,_0x24e67a['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x567ab4=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':[_0x24e67a,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x567ab4['to']('errorType',_0x11356d=>t('NotFound'!==_0x11356d?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0xa3acb2]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}class ei extends _0x5735fe{constructor(_0xf049eb,_0x58da9b){super(_0xf049eb);const _0x862f38=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x58da9b,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x862f38['to']('imageSrc')}});}}class X extends F{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0xae23ba,_0x5125b3,_0x46c3f9){super(_0xae23ba),this['_items']=this['createCollection'](),this['_loadingView']=new ii(_0xae23ba),this['_errorView']=new ti(_0xae23ba),this['_editingView']=new ei(_0xae23ba,_0x46c3f9),this['_focusableView']=new _0x5735fe(_0xae23ba),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x5125b3),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'],_0x1dea84=>{this['_addUploadcareImageEditorListeners'](_0x1dea84);});}),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'](_0x3269dc,_0x3c5237){const _0x2ce0a2='uc-cloud-image-editor',_0xaa5127=_0x3269dc['querySelector'](_0x2ce0a2);if(_0xaa5127)return _0x3c5237(_0xaa5127);const _0xc45fa4=new MutationObserver(_0x248ac2=>{const _0x25cbb7=_0x248ac2['filter'](_0x330232=>_0x330232['target']===_0x3269dc&&_0x330232['addedNodes']['length']>0x0&&_0x330232['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x2ce0a2);_0x25cbb7['length']&&(_0xc45fa4['disconnect'](),_0x3c5237(_0x25cbb7[0x0]['addedNodes'][0x0]));});_0xc45fa4['observe'](_0x3269dc,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x26ddd){_0x26ddd['addEventListener']('apply',_0x3e3841=>{this['fire']('apply',{'imageSrc':_0x3e3841['detail']['cdnUrl']});}),_0x26ddd['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class E extends/* #__PURE__ -- @preserve */
25
+ _0x279c7c(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x464d7e,_0x3380d7,_0x2e86d3){super(),this['_editor']=_0x464d7e,this['_dialog']=_0x3380d7,this['_imageElement']=_0x2e86d3,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 _0x1cb28d=this['_imageElement'],_0x235336=_0x1cb28d['getAttribute']('uploadcareImageId'),_0x1c92c5=_0x1cb28d['getAttribute']('src');if(_0x235336)await this['_loadImageInfo'](_0x235336,_0x1c92c5);else{if(this['_imageCache']['has'](_0x1c92c5)){const _0x34adc7=this['_imageCache']['get'](_0x1c92c5);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x34adc7['url'],this['imageDimension']=_0x34adc7['dimension'],this['imageId']=_0x34adc7['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x858716}=this['_editor'],t=_0x858716['t'],_0x515750=new X(_0x858716,this['imageStatus'],this['_attributes']);_0x515750['bind']('status')['to'](this,'imageStatus'),_0x515750['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x515750['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x515750['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x515750,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x4a9795,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x515750,'position':_0x1d6f90['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x515750['focus']();},'onHide':()=>{_0x515750['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x328261=>!A(_0x328261,_0x515750['element'])}});}['_loadImageInfo'](_0x30568c,_0xd7da48){return j['getInfo'](_0x30568c,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x395594=>{const {width:_0xde0d4b,height:_0x58248a}=_0x395594['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0xd7da48,this['imageDimension']={'width':_0xde0d4b,'height':_0x58248a},this['imageId']=_0x30568c;})['catch'](_0x14b82a=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x14b82a['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x2dcbc4,_0x1e66c1){return this['_getImageAsFile'](_0x2dcbc4)['then'](_0x163b2a=>j['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['_editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':_0x1e66c1['signal'],'file':_0x163b2a,'onProgress':_0x42a842=>{_0x42a842&&_0x42a842['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x42a842['value']));}}))['then'](_0x274645=>{const {width:_0x2e5f7a,height:_0x30ebb0}=_0x274645['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x274645['cdnUrl'],this['imageDimension']={'width':_0x2e5f7a,'height':_0x30ebb0},this['imageId']=_0x274645['uuid'],this['imageUploadProgress']=null;const _0x2cba63=_0x2dcbc4['getAttribute']('src');this['_imageCache']['set'](_0x2cba63,{'id':_0x274645['uuid'],'url':_0x274645['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x551014=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x551014['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x141096,_0x347c16){_0x141096['on']('apply',(_0x5523a5,_0x1000b8)=>{this['_replaceImage'](_0x347c16,_0x1000b8['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x141096['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x141096['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x503596,_0x166cc7,_0x410af7){const _0x31b691=this['_editor'],{width:_0x2f82aa,height:_0x596230}=S(_0x166cc7,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x14d6f8,imageSources:_0x4c91d4}=C(_0x166cc7,_0x2f82aa);_0x31b691['model']['change'](_0x5e859b=>{if('$graveyard'===_0x503596['root']['rootName']){_0x31b691['execute']('insertImage',{'imageType':_0x503596['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x503596['getAttributes']()),'uploadcareImageId':_0x410af7,'src':_0x14d6f8,'sources':_0x4c91d4,'width':_0x2f82aa,'height':_0x596230}});const _0x455bb2=_0x503596['getChildren']();_0x503596=_0x31b691['model']['document']['selection']['getSelectedElement']();for(const _0x3f3f00 of _0x455bb2)_0x5e859b['append'](_0x5e859b['cloneElement'](_0x3f3f00),_0x503596);}else _0x5e859b['setSelection'](_0x503596,'on'),_0x31b691['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x503596['getAttributes']()),'uploadcareImageId':_0x410af7,'src':_0x14d6f8,'sources':_0x4c91d4,'width':_0x2f82aa,'height':_0x596230},_0x503596);_0x5e859b['setSelection'](_0x503596,'on');});}async['_getImageAsFile'](_0x52a717){const _0x27027c=_0x5eaaec['window'],_0xde7620=_0x5eaaec['document']['location']['href'],_0x33a854=new _0x27027c['URL'](_0x52a717['getAttribute']('src'),_0xde7620);if('data:'===_0x33a854['protocol']){const _0x55a9d9=_0x33a854['href']['split'](','),_0x411fd1=_0x55a9d9[0x0]['match'](/:(.*?);/)[0x1],_0x5c57c7=_0x411fd1['split']('/')[0x1],_0x599675=_0x27027c['atob'](_0x55a9d9[_0x55a9d9['length']-0x1]);let _0x530615=_0x599675['length'];const _0x2fe6e6=new _0x27027c['Uint8Array'](_0x530615);for(;_0x530615--;)_0x2fe6e6[_0x530615]=_0x599675['charCodeAt'](_0x530615);return new _0x27027c['File']([_0x2fe6e6],'image.'+_0x5c57c7,{'type':_0x411fd1});}const _0x891c3e=_0x33a854['href']['split']('/'),_0x423d87=_0x891c3e[_0x891c3e['length']-0x1],_0x29903d=_0x423d87['split']('.')[0x1];return _0x27027c['fetch'](_0x33a854['href'])['then'](_0x4a5f1b=>_0x4a5f1b['clone']()['blob']())['then'](_0x5bbadb=>new _0x27027c['File']([_0x5bbadb],_0x423d87,{'type':'image/'+_0x29903d}));}}class O extends _0x91f916{['imageEditController'];static get['requires'](){return[_0x2685a2];}['_isEditable'];constructor(_0x1cdffa){super(_0x1cdffa),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x464f63){const _0x1226b7=G(_0x464f63);return _0x440ad4=>!(!_0x440ad4||!_0x440ad4['is']('element','imageBlock')&&!_0x440ad4['is']('element','imageInline'))&&(!!_0x440ad4['hasAttribute']('uploadcareImageId')||!!_0x440ad4['hasAttribute']('src')&&_0x1226b7(_0x440ad4['getAttribute']('src')));}(_0x1cdffa['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x67f00e=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x67f00e);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x29ed2f=this['editor']['model']['document']['selection']['getSelectedElement']();_0x29ed2f&&(_0x29ed2f['is']('element','imageBlock')||_0x29ed2f['is']('element','imageInline'))&&(this['imageEditController']=new E(this['editor'],this['editor']['plugins']['get'](_0x2685a2),_0x29ed2f),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class R extends _0x91f916{['refresh'](){const _0x405687=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x405687&&(_0x405687['is']('element','imageBlock')||_0x405687['is']('element','imageInline')));}['execute'](_0x579a81){const _0x2e2272=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x20a525=>{_0x20a525['setAttributes'](_0x579a81,_0x2e2272),_0x20a525['removeAttribute']('srcset',_0x2e2272),_0x20a525['removeAttribute']('sizes',_0x2e2272);});}}class m extends _0x14517a{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[o,_0x972c8c,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x2a3c6f}=this;_0x2a3c6f['commands']['add']('uploadcareImageEdit',new O(_0x2a3c6f)),_0x2a3c6f['commands']['add']('uploadcareImageReplace',new R(_0x2a3c6f));}}class g extends _0x14517a{['_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 _0x2bd659=this['editor'];_0x2bd659['ui']['componentFactory']['add']('uploadcareImageEdit',_0x2b8c2e=>{const _0x547f4c=_0x2bd659['commands']['get']('uploadcareImageEdit'),_0x111b4f=new _0x4ca767(_0x2b8c2e),t=_0x2b8c2e['t'];return _0x111b4f['set']({'icon':_0x4a9795,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x111b4f['bind']('isEnabled')['to'](_0x547f4c),_0x111b4f['bind']('isOn')['to'](_0x547f4c,'isActive'),this['listenTo'](_0x111b4f,'execute',()=>{_0x2bd659['execute']('uploadcareImageEdit'),_0x2bd659['editing']['view']['focus']();}),_0x111b4f;}),this['_initConfig']();}['_initConfig'](){const _0x18d38c=_0x3b284a(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x18d38c),this['listenTo'](this['editor'],'destroy',()=>{_0x18d38c['remove']();});}}class et extends _0x14517a{static get['pluginName'](){return'UploadcareImageEdit';}static get['requires'](){return[m,g];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{tt as Uploadcare,w as UploadcareCommand,o as UploadcareEditing,et as UploadcareImageEdit,O as UploadcareImageEditCommand,m as UploadcareImageEditEditing,g as UploadcareImageEditUI,e as UploadcareUI,f as UploadcareUploadAdapter};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'af':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x1ba0a1=>0x1!=_0x1ba0a1}};
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':_0xa857ab=>0x1!=_0xa857ab}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x34450f=>{const {af:{dictionary:_0xbcbfb8,getPluralForm:_0x473ce2}}={'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':_0x21ca64=>0x1!=_0x21ca64}};_0x34450f['af']||={'dictionary':{},'getPluralForm':null},_0x34450f['af']['dictionary']=Object['assign'](_0x34450f['af']['dictionary'],_0xbcbfb8),_0x34450f['af']['getPluralForm']=_0x473ce2;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0xfdd31f=>{const {af:{dictionary:_0x55279d,getPluralForm:_0x1cbfa5}}={'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':_0x50d39a=>0x1!=_0x50d39a}};_0xfdd31f['af']||={'dictionary':{},'getPluralForm':null},_0xfdd31f['af']['dictionary']=Object['assign'](_0xfdd31f['af']['dictionary'],_0x55279d),_0xfdd31f['af']['getPluralForm']=_0x1cbfa5;})(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':_0x269a33=>0x0==_0x269a33?0x0:0x1==_0x269a33?0x1:0x2==_0x269a33?0x2:_0x269a33%0x64>=0x3&&_0x269a33%0x64<=0xa?0x3:_0x269a33%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':_0x3b4c6a=>0x0==_0x3b4c6a?0x0:0x1==_0x3b4c6a?0x1:0x2==_0x3b4c6a?0x2:_0x3b4c6a%0x64>=0x3&&_0x3b4c6a%0x64<=0xa?0x3:_0x3b4c6a%0x64>=0xb?0x4:0x5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x215cd6=>{const {ar:{dictionary:_0x29e728,getPluralForm:_0x4bfdeb}}={'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':_0x3282e8=>0x0==_0x3282e8?0x0:0x1==_0x3282e8?0x1:0x2==_0x3282e8?0x2:_0x3282e8%0x64>=0x3&&_0x3282e8%0x64<=0xa?0x3:_0x3282e8%0x64>=0xb?0x4:0x5}};_0x215cd6['ar']||={'dictionary':{},'getPluralForm':null},_0x215cd6['ar']['dictionary']=Object['assign'](_0x215cd6['ar']['dictionary'],_0x29e728),_0x215cd6['ar']['getPluralForm']=_0x4bfdeb;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x246682=>{const {ar:{dictionary:_0x419cbe,getPluralForm:_0x2da7f}}={'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':_0x2bd510=>0x0==_0x2bd510?0x0:0x1==_0x2bd510?0x1:0x2==_0x2bd510?0x2:_0x2bd510%0x64>=0x3&&_0x2bd510%0x64<=0xa?0x3:_0x2bd510%0x64>=0xb?0x4:0x5}};_0x246682['ar']||={'dictionary':{},'getPluralForm':null},_0x246682['ar']['dictionary']=Object['assign'](_0x246682['ar']['dictionary'],_0x419cbe),_0x246682['ar']['getPluralForm']=_0x2da7f;})(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':_0x15f000=>0x1!=_0x15f000}};
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':_0x45e07b=>0x1!=_0x45e07b}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0xf2dba5=>{const {ast:{dictionary:_0x5b4028,getPluralForm:_0x2f331b}}={'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':_0x31456e=>0x1!=_0x31456e}};_0xf2dba5['ast']||={'dictionary':{},'getPluralForm':null},_0xf2dba5['ast']['dictionary']=Object['assign'](_0xf2dba5['ast']['dictionary'],_0x5b4028),_0xf2dba5['ast']['getPluralForm']=_0x2f331b;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x5720fa=>{const {ast:{dictionary:_0x3e5b5a,getPluralForm:_0x4b6bd8}}={'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':_0x2f00c3=>0x1!=_0x2f00c3}};_0x5720fa['ast']||={'dictionary':{},'getPluralForm':null},_0x5720fa['ast']['dictionary']=Object['assign'](_0x5720fa['ast']['dictionary'],_0x3e5b5a),_0x5720fa['ast']['getPluralForm']=_0x4b6bd8;})(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':_0x146ab3=>0x1!=_0x146ab3}};
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':_0x19427b=>0x1!=_0x19427b}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x492b9b=>{const {az:{dictionary:_0x2967b8,getPluralForm:_0x1fc3b8}}={'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':_0x3b3db6=>0x1!=_0x3b3db6}};_0x492b9b['az']||={'dictionary':{},'getPluralForm':null},_0x492b9b['az']['dictionary']=Object['assign'](_0x492b9b['az']['dictionary'],_0x2967b8),_0x492b9b['az']['getPluralForm']=_0x1fc3b8;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x203647=>{const {az:{dictionary:_0x24ac7e,getPluralForm:_0x3f8afe}}={'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':_0x5ad3e5=>0x1!=_0x5ad3e5}};_0x203647['az']||={'dictionary':{},'getPluralForm':null},_0x203647['az']['dictionary']=Object['assign'](_0x203647['az']['dictionary'],_0x24ac7e),_0x203647['az']['getPluralForm']=_0x3f8afe;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'be':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x1abecb=>_0x1abecb%0xa==0x1&&_0x1abecb%0x64!=0xb?0x0:_0x1abecb%0xa>=0x2&&_0x1abecb%0xa<=0x4&&(_0x1abecb%0x64<0xa||_0x1abecb%0x64>=0x14)?0x1:0x2}};
23
+ export default{'be':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x26fbf6=>_0x26fbf6%0xa==0x1&&_0x26fbf6%0x64!=0xb?0x0:_0x26fbf6%0xa>=0x2&&_0x26fbf6%0xa<=0x4&&(_0x26fbf6%0x64<0xa||_0x26fbf6%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x343184=>{const {be:{dictionary:_0x452bc1,getPluralForm:_0x219deb}}={'be':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x422e46=>_0x422e46%0xa==0x1&&_0x422e46%0x64!=0xb?0x0:_0x422e46%0xa>=0x2&&_0x422e46%0xa<=0x4&&(_0x422e46%0x64<0xa||_0x422e46%0x64>=0x14)?0x1:0x2}};_0x343184['be']||={'dictionary':{},'getPluralForm':null},_0x343184['be']['dictionary']=Object['assign'](_0x343184['be']['dictionary'],_0x452bc1),_0x343184['be']['getPluralForm']=_0x219deb;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x1f2558=>{const {be:{dictionary:_0x5babdc,getPluralForm:_0x207fcc}}={'be':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x53f81c=>_0x53f81c%0xa==0x1&&_0x53f81c%0x64!=0xb?0x0:_0x53f81c%0xa>=0x2&&_0x53f81c%0xa<=0x4&&(_0x53f81c%0x64<0xa||_0x53f81c%0x64>=0x14)?0x1:0x2}};_0x1f2558['be']||={'dictionary':{},'getPluralForm':null},_0x1f2558['be']['dictionary']=Object['assign'](_0x1f2558['be']['dictionary'],_0x5babdc),_0x1f2558['be']['getPluralForm']=_0x207fcc;})(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':_0x9765b0=>0x1!=_0x9765b0}};
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':_0x623e5=>0x1!=_0x623e5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x21414b=>{const {bg:{dictionary:_0x559adb,getPluralForm:_0x12144f}}={'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':_0x3b6aad=>0x1!=_0x3b6aad}};_0x21414b['bg']||={'dictionary':{},'getPluralForm':null},_0x21414b['bg']['dictionary']=Object['assign'](_0x21414b['bg']['dictionary'],_0x559adb),_0x21414b['bg']['getPluralForm']=_0x12144f;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x3eb807=>{const {bg:{dictionary:_0x253797,getPluralForm:_0x30d4ba}}={'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':_0x2e28dd=>0x1!=_0x2e28dd}};_0x3eb807['bg']||={'dictionary':{},'getPluralForm':null},_0x3eb807['bg']['dictionary']=Object['assign'](_0x3eb807['bg']['dictionary'],_0x253797),_0x3eb807['bg']['getPluralForm']=_0x30d4ba;})(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':_0x2655cc=>0x1!=_0x2655cc}};
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':_0x20cd9c=>0x1!=_0x20cd9c}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x473885=>{const {bn:{dictionary:_0x2e9984,getPluralForm:_0x22fca3}}={'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':_0x208383=>0x1!=_0x208383}};_0x473885['bn']||={'dictionary':{},'getPluralForm':null},_0x473885['bn']['dictionary']=Object['assign'](_0x473885['bn']['dictionary'],_0x2e9984),_0x473885['bn']['getPluralForm']=_0x22fca3;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x30f35d=>{const {bn:{dictionary:_0x39caec,getPluralForm:_0x502f85}}={'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':_0x293fc8=>0x1!=_0x293fc8}};_0x30f35d['bn']||={'dictionary':{},'getPluralForm':null},_0x30f35d['bn']['dictionary']=Object['assign'](_0x30f35d['bn']['dictionary'],_0x39caec),_0x30f35d['bn']['getPluralForm']=_0x502f85;})(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':_0x4874b2=>_0x4874b2%0xa==0x1&&_0x4874b2%0x64!=0xb?0x0:_0x4874b2%0xa>=0x2&&_0x4874b2%0xa<=0x4&&(_0x4874b2%0x64<0xa||_0x4874b2%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':_0x4afa7e=>_0x4afa7e%0xa==0x1&&_0x4afa7e%0x64!=0xb?0x0:_0x4afa7e%0xa>=0x2&&_0x4afa7e%0xa<=0x4&&(_0x4afa7e%0x64<0xa||_0x4afa7e%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x5a3034=>{const {bs:{dictionary:_0x437814,getPluralForm:_0x3558e6}}={'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':_0x5bd642=>_0x5bd642%0xa==0x1&&_0x5bd642%0x64!=0xb?0x0:_0x5bd642%0xa>=0x2&&_0x5bd642%0xa<=0x4&&(_0x5bd642%0x64<0xa||_0x5bd642%0x64>=0x14)?0x1:0x2}};_0x5a3034['bs']||={'dictionary':{},'getPluralForm':null},_0x5a3034['bs']['dictionary']=Object['assign'](_0x5a3034['bs']['dictionary'],_0x437814),_0x5a3034['bs']['getPluralForm']=_0x3558e6;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x378bd2=>{const {bs:{dictionary:_0x200823,getPluralForm:_0x5de6e0}}={'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':_0x12d95b=>_0x12d95b%0xa==0x1&&_0x12d95b%0x64!=0xb?0x0:_0x12d95b%0xa>=0x2&&_0x12d95b%0xa<=0x4&&(_0x12d95b%0x64<0xa||_0x12d95b%0x64>=0x14)?0x1:0x2}};_0x378bd2['bs']||={'dictionary':{},'getPluralForm':null},_0x378bd2['bs']['dictionary']=Object['assign'](_0x378bd2['bs']['dictionary'],_0x200823),_0x378bd2['bs']['getPluralForm']=_0x5de6e0;})(window['CKEDITOR_TRANSLATIONS']||={});