@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-next-20251212.0 → 0.0.0-nightly-20251213.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 _0x4c40ae,Command as _0xf97aa3}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x6ad19a,IconGooglePhotos as _0x3a3313,IconGoogleDrive as _0x3106be,IconFacebook as _0x2408ce,IconDropbox as _0x1d5f29,IconUploadcareLink as _0x2ee9cb,IconUploadcareImageUpload as _0x1aa9a8,IconError as _0x9ee271,IconUploadcareImageEdit as _0xbc9cc1}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x11240f,MenuBarMenuListItemButtonView as _0x1c88a1,View as _0x1b7c07,FocusCycler as _0x5e2378,Dialog as _0x340989,DialogViewPosition as _0x3f9f96,SpinnerView as _0x2d971b,IconView as _0x461a9a,Notification as _0x1155d4}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x3460b1,DomEmitterMixin as _0x21ad5b,global as _0xdf747f,getAncestors as _0x352aa4,ObservableMixin as _0x1e772f,uid as _0x75e638,createElement as _0x47fd77}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x40e1cf}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x1f3c53,info as _0x2ae904}from'@uploadcare/upload-client';import*as _0x1d8146 from'@uploadcare/file-uploader';var i=function(_0x237443){return _0x237443['Local']='local',_0x237443['URL']='url',_0x237443['Dropbox']='dropbox',_0x237443['GDrive']='gdrive',_0x237443['Facebook']='facebook',_0x237443['GPhotos']='gphotos',_0x237443['OneDrive']='onedrive',_0x237443;}({});function _(_0x201135,_0x4912fa,_0xf1f08d){const t=_0x201135['t'],_0x44a529=_0x201135['t'];switch(_0x4912fa){case i['Local']:return{'text':_0x44a529('Insert'===_0xf1f08d?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x44a529('From\x20computer')};case i['URL']:return{'text':'Insert'===_0xf1f08d?_0x44a529('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x44a529('Via\x20URL')};case i['Dropbox']:return{'text':t('Insert'===_0xf1f08d?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case i['Facebook']:return{'text':t('Insert'===_0xf1f08d?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case i['GDrive']:return{'text':t('Insert'===_0xf1f08d?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case i['GPhotos']:return{'text':t('Insert'===_0xf1f08d?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case i['OneDrive']:return{'text':t('Insert'===_0xf1f08d?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x4912fa;}}class e extends _0x4c40ae{['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 _0x1d448c=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x2f83c2;for(const _0x335eef in _0x1d448c){const _0x3cd8b2=_0x335eef,_0x3740f0=_0x1d448c[_0x3cd8b2];if('uploadcareLicenseKeyValid'==_0x3740f0||'uploadcareLicenseKeyInvalid'==_0x3740f0||'uploadcareLicenseKeyExpired'==_0x3740f0||'uploadcareLicenseKeyDomainLimit'==_0x3740f0||'uploadcareLicenseKeyNotAllowed'==_0x3740f0||'uploadcareLicenseKeyEvaluationLimit'==_0x3740f0||'uploadcareLicenseKeyTrialLimit'==_0x3740f0||'uploadcareLicenseKeyUsageLimit'==_0x3740f0){delete _0x1d448c[_0x3cd8b2],_0x2f83c2=_0x3740f0,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x2f83c2&&_0x1d448c['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x2f83c2&&_0x1d448c['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x2f83c2&&_0x1d448c['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x2f83c2&&_0x1d448c['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x2f83c2&&_0x1d448c['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0x2f83c2&&_0x1d448c['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0x2f83c2&&_0x1d448c['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x825c5c}=this,_0x20ad13=_0x825c5c['commands']['get']('uploadcare');if(!_0x20ad13)return;const _0x352333=this['_normalizeConfigSourceList'](_0x825c5c['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x4a66f7,_0x4d2ccc)=>{const _0x29a3a3=this['_getIntegrationKey'](_0x4d2ccc['type']);return _0x4a66f7[_0x29a3a3]||(_0x4a66f7[_0x29a3a3]=[]),_0x4a66f7[_0x29a3a3]['push'](_0x4d2ccc),_0x4a66f7;},{});_0x825c5c['plugins']['has']('ImageInsertUI')&&_0x825c5c['commands']['get']('uploadcare')&&Object['entries'](_0x352333)['forEach'](([_0xf8a6e1,_0x41eeb7])=>{_0x825c5c['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0xf8a6e1,'observable':()=>_0x20ad13,'buttonViewCreator':()=>this['_createToolbarButton'](_0x41eeb7),'formViewCreator':()=>this['_createDropdownButtons'](_0x41eeb7),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x41eeb7),'override':'assetManager'!==_0xf8a6e1});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x30573d){const {locale:_0x202e49}=this['editor'];return _0x30573d['map'](_0x1e52f2=>{const _0x2b864b=_(_0x202e49,_0x1e52f2,'Insert');switch(_0x1e52f2){case i['Local']:return{'icon':_0x1aa9a8,'type':i['Local'],..._0x2b864b};case i['URL']:return{'icon':_0x2ee9cb,'type':i['URL'],..._0x2b864b};case i['Dropbox']:return{'icon':_0x1d5f29,'type':i['Dropbox'],..._0x2b864b};case i['Facebook']:return{'icon':_0x2408ce,'type':i['Facebook'],..._0x2b864b};case i['GDrive']:return{'icon':_0x3106be,'type':i['GDrive'],..._0x2b864b};case i['GPhotos']:return{'icon':_0x3a3313,'type':i['GPhotos'],..._0x2b864b};case i['OneDrive']:return{'icon':_0x6ad19a,'type':i['OneDrive'],..._0x2b864b};}});}['_getIntegrationKey'](_0x42caff){switch(_0x42caff){case i['Local']:return'upload';case i['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x2bc9cd,_0x15b0d2){const _0x316d69=this['editor'],_0x3fc144=new _0x2bc9cd(_0x316d69['locale']),_0x5bcfbb=_0x316d69['commands']['get']('uploadcare');return _0x3fc144['bind']('isEnabled')['to'](_0x5bcfbb),_0x3fc144['on']('execute',()=>{_0x5bcfbb['execute'](_0x15b0d2);}),_0x3fc144;}['_createToolbarButton'](_0x5eb758){const {locale:_0x2f2804}=this['editor'],_0x702a17=this['editor']['plugins']['get']('ImageInsertUI'),_0x482cd2=_0x5eb758[0x0],_0xa4e6ac=this['_createButton'](_0x11240f,_0x482cd2['type']);return _0xa4e6ac['icon']=_0x482cd2['icon'],_0xa4e6ac['bind']('label')['to'](_0x702a17,'isImageSelected',_0x5e5def=>_(_0x2f2804,_0x482cd2['type'],_0x5e5def?'Replace':'Insert')['text']),_0xa4e6ac['tooltip']=!0x0,_0xa4e6ac;}['_createDropdownButtons'](_0xde42c3){const {locale:_0x1bfdc0}=this['editor'],_0x166c95=this['editor']['plugins']['get']('ImageInsertUI');return _0xde42c3['map'](_0x577d2e=>{const _0x6fa26d=this['_createButton'](_0x11240f,_0x577d2e['type']);return _0x6fa26d['withText']=!0x0,_0x6fa26d['icon']=_0x577d2e['icon'],_0x6fa26d['bind']('label')['to'](_0x166c95,'isImageSelected',_0x4cf437=>_(_0x1bfdc0,_0x577d2e['type'],_0x4cf437?'Replace':'Insert')['text']),_0x6fa26d;});}['_createMenuBarButtons'](_0x50f6da){return _0x50f6da['map'](_0x587048=>{const _0x343645=this['_createButton'](_0x1c88a1,_0x587048['type']);return _0x343645['icon']=_0x587048['icon'],_0x343645['label']=_0x587048['shortText'],_0x343645;});}}class F extends _0x1b7c07{['focusTracker'];['focusCycler'];constructor(_0x216b9f){super(_0x216b9f),this['focusTracker']=new _0x3460b1(),this['focusCycler']=new _0x5e2378({'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(_0x223dab,_0x4de796){super(_0x223dab),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-'+_0x4de796}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function C(_0x551d42,_0x1c517a){const _0xce7123=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x1d896d=>_0x1d896d<=_0x1c517a)['map'](_0x2a36e0=>_0x551d42['replace'](/\/$/,'')+'/-/resize/'+_0x2a36e0+'x/\x20'+_0x2a36e0+'w');return{'imageFallbackUrl':_0x551d42,'imageSources':[{'srcset':_0xce7123['join'](',\x20'),'sizes':'(max-width:\x20'+_0x1c517a+'px)\x20100vw,\x20'+_0x1c517a+'px','type':'image/webp'}]};}function S(_0x55891c,_0x5061ce,_0x1da3b2){const _0x594eb3=_0x55891c['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x594eb3?parseInt(_0x594eb3[0x1],0xa):_0x5061ce,'height':_0x594eb3?parseInt(_0x594eb3[0x2],0xa):_0x1da3b2};}function p(_0xb8361e,_0x14c08c){const _0x9ab334=new(_0x21ad5b())(),_0x2b15cd=_0xb8361e['plugins']['get']('ImageUtils'),_0xb73690=_0xb8361e['editing']['mapper']['toViewElement'](_0x14c08c),_0x1d606a=_0x2b15cd['findViewImgElement'](_0xb73690),_0xbc7f80=_0xb8361e['editing']['view']['domConverter']['viewToDom'](_0x1d606a),_0x28dcad=_0x14c08c['getAttribute']('width'),_0x49a8f2=_0x14c08c['getAttribute']('height'),_0x194cf9='image-processing';_0xb8361e['editing']['view']['change'](_0x17a913=>{_0x17a913['addClass'](_0x194cf9,_0xb73690),_0x17a913['setStyle']('aspect-ratio',_0x28dcad+'/'+_0x49a8f2,_0x1d606a);}),_0x9ab334['listenTo'](_0xbc7f80,'load',()=>{_0x9ab334['stopListening'](_0xbc7f80,'load'),_0xb8361e['editing']['view']['change'](_0x154615=>{_0x154615['removeClass'](_0x194cf9,_0xb73690),_0x154615['removeStyle']('aspect-ratio',_0x1d606a);});});}function G(_0x657eb6){if(Array['isArray'](_0x657eb6)){const _0xbdf746=_0x657eb6['map'](G);return _0x5602fa=>_0xbdf746['some'](_0x10fb5e=>_0x10fb5e(_0x5602fa));}if('origin'==_0x657eb6){const _0x18bb52=_0xdf747f['window']['location']['origin'];return _0x165db9=>new URL(_0x165db9,_0xdf747f['document']['baseURI'])['origin']==_0x18bb52;}return'function'==typeof _0x657eb6?_0x657eb6:_0x657eb6 instanceof RegExp?_0x5b33f1=>!(!_0x5b33f1['match'](_0x657eb6)&&!_0x5b33f1['replace'](/^https?:\/\//,'')['match'](_0x657eb6)):()=>!0x1;}function A(_0x8b4669,_0x2c6153){return _0x352aa4(_0x8b4669['target'])['includes'](_0x2c6153);}class n extends/* #__PURE__ -- @preserve */
24
- _0x1e772f(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x5692b3,_0x3b1728,_0x39cc36){super(),this['_editor']=_0x5692b3,this['_editing']=_0x3b1728,this['_dialog']=_0x5692b3['plugins']['get'](_0x340989),this['_api']=_0x3b1728['ctxElement']['getAPI'](),this['_type']=_0x39cc36,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:_0x3073ff,model:_0x28f25f}=this['_editor'],_0x417c6d=_0x28f25f['document']['selection']['getSelectedElement'](),_0x480050=_0x417c6d&&(_0x417c6d['is']('element','imageBlock')||_0x417c6d['is']('element','imageInline'));this['_formView']=new x(_0x3073ff,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':_0x1aa9a8,'title':_(_0x3073ff,this['_type'],_0x480050?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x3f9f96['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x4ca8f3=>!A(_0x4ca8f3,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x46dfce}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x46d6a6=>{const _0x33b5d3=_0x46dfce['length'];for(const _0x4b58eb of _0x46dfce){const _0x3c9f26=_0x4b58eb===_0x46dfce[_0x33b5d3-0x1],{cdnUrl:_0x38dddf,fileInfo:_0x4f321a}=_0x4b58eb;if(!_0x38dddf||!_0x4f321a)continue;const {width:_0x282322,height:_0x3e4a9f}=_0x4f321a['imageInfo'],_0x23d824=S(_0x38dddf,_0x282322,_0x3e4a9f),_0x552739=C(_0x38dddf,_0x23d824['width']),_0x1b7d97={'id':_0x4f321a['uuid'],'type':'image','attributes':{'imageDimension':_0x23d824,..._0x552739}};this['_insertAsset'](_0x1b7d97,_0x3c9f26,_0x46d6a6);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x34b24c=>{'idle'===_0x34b24c['detail']['status']&&!_0x34b24c['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===i['Local']?this['_api']['setCurrentActivity'](i['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x2c51c9,_0x50e693,_0x52611d){const _0x1b0f69=this['_editor']['model']['document']['selection'],_0xd2c1da=_0x1b0f69['getSelectedElement'](),_0x42fa89=!(!_0xd2c1da||!_0xd2c1da['is']('element','imageInline'));_0x52611d['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x2c51c9,_0x42fa89),_0x50e693||_0x52611d['setSelection'](_0x1b0f69['getLastPosition']());}['_insertImage'](_0x219175,_0x180e37){const _0x3a36f4=this['_editor'],{imageDimension:_0x319b01,imageFallbackUrl:_0xf81635,imageSources:_0x5d4423}=_0x219175['attributes'];_0x3a36f4['execute']('insertImage',{'imageType':_0x180e37?'imageInline':null,'source':{'uploadcareImageId':_0x219175['id'],'src':_0xf81635,'sources':_0x5d4423,..._0x319b01}});}}class w extends _0xf97aa3{['_editing'];['_controller']=null;static get['requires'](){return[_0x340989,o];}constructor(_0x4a85c6){super(_0x4a85c6),this['_editing']=_0x4a85c6['plugins']['get'](o);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x1577db){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new n(this['editor'],this['_editing'],_0x1577db);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class j{static['upload']({file:_0x5eaea3,..._0x33da79}){return _0x1f3c53(_0x5eaea3,_0x33da79);}static['getInfo'](_0x268a3f,_0x2e1356){return _0x2ae904(_0x268a3f,_0x2e1356);}}class f extends _0x4c40ae{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x40e1cf,o];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x372d28=this['editor'];if(!!!_0x372d28['config']['get']('uploadcare'))return;_0x372d28['plugins']['get'](_0x40e1cf)['createUploadAdapter']=_0x1cc54f=>new k(_0x1cc54f,_0x372d28),_0x372d28['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x38a09d,{imageElement:_0x205c33,data:_0x221a9e})=>{_0x372d28['model']['change'](_0x29131f=>{_0x29131f['setAttribute']('uploadcareImageId',_0x221a9e['uploadcareImageId'],_0x205c33);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x362b32,_0x182358){this['loader']=_0x362b32,this['editor']=_0x182358,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x32d5e3=await this['loader']['file'];return j['upload']({'file':_0x32d5e3,'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':_0x5a01cc=>{_0x5a01cc&&_0x5a01cc['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x5a01cc['value']);}})['then'](async _0x4e04d3=>{const {imageFallbackUrl:_0x18b3cc,imageSources:_0xa98998}=C(_0x4e04d3['cdnUrl'],_0x4e04d3['imageInfo']['width']);return{'uploadcareImageId':_0x4e04d3['uuid'],'default':_0x18b3cc,'sources':_0xa98998};})['catch'](()=>{const _0x1f2e3a=t('Cannot\x20upload\x20file:')+('\x20'+_0x32d5e3['name']+'.');return Promise['reject'](_0x1f2e3a);});}['abort'](){this['controller']['abort']();}}class o extends _0x4c40ae{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',f,_0x340989];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['ucContextId'];get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}constructor(_0x44c45a){super(_0x44c45a),this['ucContextId']=_0x75e638();}['init'](){const _0x49892c=this['editor'];_0x49892c['commands']['add']('uploadcare',new w(_0x49892c));}['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 _0x1f4c0d=_0xdf747f['document']['querySelector']('input[uploadcare-file-input]');_0x1f4c0d&&_0x1f4c0d['remove']();}),async function(_0xa90697){const _0x2d7495=_0x1da769([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]),_0x431a39=0x535f8c3a,_0x2679bc=0x5358f78a^_0x431a39,_0x53433d=window[_0x1da769([0x44,0x61,0x74,0x65])][_0x1da769([0x6e,0x6f,0x77])](),_0x108225=_0xa90697[_0x1da769([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x8436ee=new window[(_0x1da769([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xf6df44=>{_0x108225[_0x1da769([0x6f,0x6e,0x63,0x65])](_0x1da769([0x72,0x65,0x61,0x64,0x79]),_0xf6df44);}),_0x1de9c4={[_0x1da769([0x6b,0x74,0x79])]:_0x1da769([0x45,0x43]),[_0x1da769([0x75,0x73,0x65])]:_0x1da769([0x73,0x69,0x67]),[_0x1da769([0x63,0x72,0x76])]:_0x1da769([0x50,0x2d,0x32,0x35,0x36]),[_0x1da769([0x78])]:_0x1da769([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]),[_0x1da769([0x79])]:_0x1da769([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]),[_0x1da769([0x61,0x6c,0x67])]:_0x1da769([0x45,0x53,0x32,0x35,0x36])},_0x4eda15=_0x108225[_0x1da769([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x1da769([0x67,0x65,0x74])](_0x1da769([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x1c8d5d(){let _0x8f6469,_0x4cf4cc=null,_0x7f12c8=null;try{if(_0x4eda15==_0x1da769([0x47,0x50,0x4c]))return _0x1da769([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x8f6469=_0x2a9b2a(),!_0x8f6469)return _0x1da769([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x8f6469[_0x1da769([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x7f12c8=_0x2f182c(_0x8f6469[_0x1da769([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x8f6469[_0x1da769([0x6a,0x74,0x69])])),await _0x56d435()?_0x54de32()?_0x7df9b0()?_0x1da769([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x2c55c3()?(_0x8f6469[_0x1da769([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1da769([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x4cf4cc=_0x364d1f(_0x1da769([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x8f6469[_0x1da769([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1da769([0x74,0x72,0x69,0x61,0x6c])&&(_0x4cf4cc=_0x364d1f(_0x1da769([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x56c453()):_0x1da769([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x1da769([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x1da769([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x1da769([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x7df9b0(){const _0xb86d3d=[_0x1da769([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x1da769([0x74,0x72,0x69,0x61,0x6c])][_0x1da769([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x8f6469[_0x1da769([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x53433d/0x3e8:0xe10*_0x2679bc;return _0x8f6469[_0x1da769([0x65,0x78,0x70])]<_0xb86d3d;}function _0x54de32(){const _0x5cd471=_0x8f6469[_0x1da769([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x5cd471&&(!!_0x5cd471[_0x1da769([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1da769([0x2a]))||!!_0x5cd471[_0x1da769([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1da769([0x55,0x50,0x4c,0x43])));}function _0x2c55c3(){const _0x1a9f09=_0x8f6469[_0x1da769([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1a9f09||0x0==_0x1a9f09[_0x1da769([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1084dd}=new URL(window[_0x1da769([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x1a9f09[_0x1da769([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1084dd))return!0x0;const _0x3f388d=_0x1084dd[_0x1da769([0x73,0x70,0x6c,0x69,0x74])](_0x1da769([0x2e]));return _0x1a9f09[_0x1da769([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3fedc7=>_0x3fedc7[_0x1da769([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1da769([0x2a])))[_0x1da769([0x6d,0x61,0x70])](_0x52bef7=>_0x52bef7[_0x1da769([0x73,0x70,0x6c,0x69,0x74])](_0x1da769([0x2e])))[_0x1da769([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x27106a=>_0x27106a[_0x1da769([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x3f388d[_0x1da769([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1da769([0x6d,0x61,0x70])](_0x191d2e=>Array(_0x3f388d[_0x1da769([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x191d2e[_0x1da769([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1da769([0x66,0x69,0x6c,0x6c])](_0x191d2e[0x0]===_0x1da769([0x2a])?_0x1da769([0x2a]):'')[_0x1da769([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x191d2e))[_0x1da769([0x73,0x6f,0x6d,0x65])](_0xb65cc7=>_0x3f388d[_0x1da769([0x65,0x76,0x65,0x72,0x79])]((_0x180f99,_0xc61f56)=>_0xb65cc7[_0xc61f56]===_0x180f99||_0xb65cc7[_0xc61f56]===_0x1da769([0x2a])));}function _0x56c453(){return _0x4cf4cc&&_0x7f12c8?new window[(_0x1da769([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3f57f3,_0x182582)=>{_0x4cf4cc[_0x1da769([0x74,0x68,0x65,0x6e])](_0x3f57f3,_0x182582),_0x7f12c8[_0x1da769([0x74,0x68,0x65,0x6e])](_0x414692=>{_0x414692!=_0x1da769([0x56,0x61,0x6c,0x69,0x64])&&_0x3f57f3(_0x414692);},_0x182582);}):_0x4cf4cc||_0x7f12c8||_0x1da769([0x56,0x61,0x6c,0x69,0x64]);}}function _0x2f182c(_0x464ba1,_0x426274){return new window[(_0x1da769([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x41d470=>{if(_0x6b1e9())return _0x41d470(_0x1da769([0x56,0x61,0x6c,0x69,0x64]));_0x20b003(),_0x108225[_0x1da769([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x1da769([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x16f9a1=!0x1;const _0x3f3da1=_0x75e638();function _0x531321(_0x15c15c){return!!_0x15c15c&&(typeof _0x15c15c===_0x1da769([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x15c15c===_0x1da769([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x15c15c[_0x1da769([0x74,0x68,0x65,0x6e])]===_0x1da769([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x15c15c[_0x1da769([0x63,0x61,0x74,0x63,0x68])]===_0x1da769([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4774bc(_0x3439b1){_0x11a1d9(_0x3439b1)[_0x1da769([0x74,0x68,0x65,0x6e])](_0x58b45a=>{if(!_0x58b45a||_0x58b45a[_0x1da769([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x1da769([0x6f,0x6b]))return _0x1da769([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x324d35(_0x53ab85(_0x3f3da1+_0x426274))!=_0x58b45a[_0x1da769([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x1da769([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x1da769([0x56,0x61,0x6c,0x69,0x64]);})[_0x1da769([0x74,0x68,0x65,0x6e])](_0x280a4b=>(_0x3aa64f(),_0x280a4b),()=>{const _0x186ada=_0x38a8c4();return null==_0x186ada?(_0x3aa64f(),_0x1da769([0x56,0x61,0x6c,0x69,0x64])):_0x1da769(_0x53433d-_0x186ada>(0x7753083a^_0x431a39)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x1da769([0x74,0x68,0x65,0x6e])](_0x41d470)[_0x1da769([0x63,0x61,0x74,0x63,0x68])](()=>{_0x41d470(_0x1da769([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x345e51=0x536962ba^_0x431a39;function _0x3aa64f(){const _0x343076=_0x1da769([0x6c,0x6c,0x63,0x74,0x2d])+_0x324d35(_0x53ab85(_0x464ba1)),_0x59d3bb=_0xe0a02f(_0x324d35(window[_0x1da769([0x4d,0x61,0x74,0x68])][_0x1da769([0x63,0x65,0x69,0x6c])](_0x53433d/_0x345e51)));window[_0x1da769([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1da769([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x343076,_0x59d3bb);}function _0x38a8c4(){const _0x4a56cd=_0x1da769([0x6c,0x6c,0x63,0x74,0x2d])+_0x324d35(_0x53ab85(_0x464ba1)),_0x488e3b=window[_0x1da769([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1da769([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4a56cd);return _0x488e3b?window[_0x1da769([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xe0a02f(_0x488e3b),0x10)*_0x345e51:null;}function _0x11a1d9(_0x326fea){return new window[(_0x1da769([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x199350,_0x588633)=>{_0x326fea[_0x1da769([0x74,0x68,0x65,0x6e])](_0x199350,_0x588633),window[_0x1da769([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x588633,0x535e58fa^_0x431a39);});}}_0x108225[_0x1da769([0x6f,0x6e])](_0x1da769([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x24e5ce,_0x4f8e83)=>{if(_0x4f8e83[0x0]!=_0x464ba1)return _0x41d470(_0x1da769([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4f8e83[0x1]={..._0x4f8e83[0x1],[_0x1da769([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x3f3da1};},{[_0x1da769([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1da769([0x68,0x69,0x67,0x68])}),_0x108225[_0x1da769([0x6f,0x6e])](_0x1da769([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x403d10=>{_0x531321(_0x403d10[_0x1da769([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x16f9a1=!0x0,_0x4774bc(_0x403d10[_0x1da769([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x1da769([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1da769([0x6c,0x6f,0x77])}),_0x8436ee[_0x1da769([0x74,0x68,0x65,0x6e])](()=>{_0x16f9a1||_0x41d470(_0x1da769([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x6b1e9(){return _0x108225[_0x1da769([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1da769([0x76,0x69,0x65,0x77])][_0x1da769([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x1da769([0x61,0x75,0x74,0x6f]);}function _0x20b003(){_0x108225[_0x1da769([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1da769([0x76,0x69,0x65,0x77])][_0x1da769([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1da769([0x61,0x75,0x74,0x6f]);}}function _0x364d1f(_0x31f2de){const _0x1db9a4=[new window[(_0x1da769([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x40d321=>setTimeout(_0x40d321,0x5356b2f6^_0x431a39)),_0x8436ee[_0x1da769([0x74,0x68,0x65,0x6e])](()=>new window[(_0x1da769([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x589364=>{let _0x3b974a=0x0;_0x108225[_0x1da769([0x6d,0x6f,0x64,0x65,0x6c])][_0x1da769([0x6f,0x6e])](_0x1da769([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x2eb09a,_0x11fc6b)=>{_0x11fc6b[0x0][_0x1da769([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3b974a++,_0x3b974a==(0x535f8dc2^_0x431a39)&&(_0x589364(),_0x2eb09a[_0x1da769([0x6f,0x66,0x66])]());});}))];return window[_0x1da769([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1da769([0x72,0x61,0x63,0x65])](_0x1db9a4)[_0x1da769([0x74,0x68,0x65,0x6e])](()=>_0x31f2de);}async function _0x42abef(){await _0x8436ee,_0x108225[_0x1da769([0x6d,0x6f,0x64,0x65,0x6c])][_0x1da769([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xce625d,_0x108225[_0x1da769([0x6d,0x6f,0x64,0x65,0x6c])][_0x1da769([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xce625d,_0x108225[_0x1da769([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1da769([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x353dc8(_0x493936){const _0x4da0b3=_0x51ad52();_0x108225[_0x4da0b3]=_0x1da769([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x493936,_0x493936!=_0x1da769([0x56,0x61,0x6c,0x69,0x64])&&_0x42abef();}function _0x51ad52(){const _0x4567ac=window[_0x1da769([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x1da769([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1da769([0x6e,0x6f,0x77])]())[_0x1da769([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1da769([0x2e]),'');let _0x366bf9=_0x1da769([0x68]);for(let _0xa868ba=0x0;_0xa868ba<_0x4567ac[_0x1da769([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xa868ba+=0x2){let _0x15aed3=window[_0x1da769([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4567ac[_0x1da769([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xa868ba,_0xa868ba+0x2));_0x15aed3>=_0x2d7495[_0x1da769([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x15aed3-=_0x2d7495[_0x1da769([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x366bf9+=_0x2d7495[_0x15aed3];}return _0x366bf9;}function _0x2a9b2a(){const _0x2624e5=_0x4eda15[_0x1da769([0x73,0x70,0x6c,0x69,0x74])](_0x1da769([0x2e]));if(0x3!=_0x2624e5[_0x1da769([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x5d515f(_0x2624e5[0x1]);function _0x5d515f(_0x46b89e){const _0x38bafe=_0x1b7688(_0x46b89e);return _0x38bafe&&_0x56ee9e()?_0x38bafe:null;function _0x56ee9e(){const _0x344460=_0x38bafe[_0x1da769([0x6a,0x74,0x69])],_0x305dbf=window[_0x1da769([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x344460[_0x1da769([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x344460[_0x1da769([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x447a0d={..._0x38bafe,[_0x1da769([0x6a,0x74,0x69])]:_0x344460[_0x1da769([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x344460[_0x1da769([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x447a0d[_0x1da769([0x76,0x63])],_0x53ab85(_0x447a0d)==_0x305dbf;}}}async function _0x56d435(){let _0xb9e901=!0x0;try{const _0x516dea=_0x4eda15[_0x1da769([0x73,0x70,0x6c,0x69,0x74])](_0x1da769([0x2e])),[_0xf28c6e,_0x85950e,_0x5f194f]=_0x516dea;return _0x5a0c11(_0xf28c6e),await _0x449097(_0xf28c6e,_0x85950e,_0x5f194f),_0xb9e901;}catch{return!0x1;}function _0x5a0c11(_0x4587ea){const _0x59aa9=_0x1b7688(_0x4587ea);_0x59aa9&&_0x59aa9[_0x1da769([0x61,0x6c,0x67])]==_0x1da769([0x45,0x53,0x32,0x35,0x36])||(_0xb9e901=!0x1);}async function _0x449097(_0x5a081c,_0x4fd064,_0x1c5b55){const _0x212fa8=window[_0x1da769([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x1da769([0x66,0x72,0x6f,0x6d])](_0x324f6a(_0x1c5b55),_0x434614=>_0x434614[_0x1da769([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x3cd8e3=new window[(_0x1da769([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x1da769([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x5a081c+_0x1da769([0x2e])+_0x4fd064),_0x3a65e5=window[_0x1da769([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x1da769([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3a65e5)return;const _0x26f61f=await _0x3a65e5[_0x1da769([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x1da769([0x6a,0x77,0x6b]),_0x1de9c4,{[_0x1da769([0x6e,0x61,0x6d,0x65])]:_0x1da769([0x45,0x43,0x44,0x53,0x41]),[_0x1da769([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x1da769([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x1da769([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3a65e5[_0x1da769([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x1da769([0x6e,0x61,0x6d,0x65])]:_0x1da769([0x45,0x43,0x44,0x53,0x41]),[_0x1da769([0x68,0x61,0x73,0x68])]:{[_0x1da769([0x6e,0x61,0x6d,0x65])]:_0x1da769([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x26f61f,_0x212fa8,_0x3cd8e3)||(_0xb9e901=!0x1);}}function _0x1b7688(_0x1f9915){return _0x1f9915[_0x1da769([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x1da769([0x65,0x79]))?JSON[_0x1da769([0x70,0x61,0x72,0x73,0x65])](_0x324f6a(_0x1f9915)):null;}function _0x324f6a(_0x1e21bd){return window[_0x1da769([0x61,0x74,0x6f,0x62])](_0x1e21bd[_0x1da769([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x1da769([0x2b]))[_0x1da769([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x1da769([0x2f])));}function _0x53ab85(_0x555fc7){let _0x53ea12=0x1505;function _0x5561d5(_0x4e6f21){for(let _0x2d012b=0x0;_0x2d012b<_0x4e6f21[_0x1da769([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2d012b++){const _0x1d35f9=_0x4e6f21[_0x1da769([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2d012b);_0x53ea12=(_0x53ea12<<0x5)+_0x53ea12+_0x1d35f9,_0x53ea12&=_0x53ea12;}}function _0x1e952d(_0x185b45){Array[_0x1da769([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x185b45)?_0x185b45[_0x1da769([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1e952d):_0x185b45&&typeof _0x185b45==_0x1da769([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x1da769([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x185b45)[_0x1da769([0x73,0x6f,0x72,0x74])]()[_0x1da769([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x37c6f4,_0x34f446])=>{_0x5561d5(_0x37c6f4),_0x1e952d(_0x34f446);}):_0x5561d5(window[_0x1da769([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x185b45));}return _0x1e952d(_0x555fc7),_0x53ea12>>>0x0;}function _0x324d35(_0x5d263d){return _0x5d263d[_0x1da769([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x1da769([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x1da769([0x30]));}function _0xe0a02f(_0x5ecebb){return _0x5ecebb[_0x1da769([0x73,0x70,0x6c,0x69,0x74])]('')[_0x1da769([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x1da769([0x6a,0x6f,0x69,0x6e])]('');}function _0xce625d(){}function _0x1da769(_0x4b6f51){return _0x4b6f51['map'](_0x311569=>String['fromCharCode'](_0x311569))['join']('');}_0x353dc8(await _0x1c8d5d());}(this);}['_initSchema'](){const _0x1911f2=this['editor']['model']['schema'];_0x1911f2['isRegistered']('imageBlock')&&_0x1911f2['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x1911f2['isRegistered']('imageInline')&&_0x1911f2['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x327b6b=this['editor'];_0x327b6b['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x327b6b['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x2535cd=>_0x2535cd['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x4d7569=_0x327b6b['commands']['get']('replaceImageSource');_0x4d7569&&this['listenTo'](_0x4d7569,'cleanupImage',(_0x2d1b7c,[_0x85fb24,_0xf55a29])=>{_0x85fb24['removeAttribute']('uploadcareImageId',_0xf55a29);});}['_initConfig'](){const _0x50a0ff=this['editor']['config']['get']('uploadcare.uploader')||{},_0x24d8c2=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x47fd77(_0xdf747f['document'],'uc-config',{..._0x50a0ff,'pubkey':_0x24d8c2,'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']=_0x1c6b8a=>{if('closeMax'==_0x1c6b8a)return'#uc-icon-arrow-down';},_0xdf747f['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x47fd77(_0xdf747f['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),_0xdf747f['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x47a61a=this['editor']['commands']['get']('insertImage');_0x47a61a&&this['listenTo'](_0x47a61a,'execute',()=>{const _0x297504=this['editor']['model']['document']['selection']['getSelectedElement']();_0x297504&&_0x297504['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x297504);});});const _0x2f5df6=this['editor']['commands']['get']('uploadcareImageReplace');_0x2f5df6&&this['listenTo'](_0x2f5df6,'execute',()=>{const _0x5daf98=this['editor']['model']['document']['selection']['getSelectedElement']();_0x5daf98&&_0x5daf98['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x5daf98);});});}}class tt extends _0x4c40ae{static get['requires'](){return[o,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x57de63){super(_0x57de63),_0x57de63['config']['define']('uploadcare.uploader.sourceList',[i['Local'],i['URL']]),_0x1d8146['defineComponents'](_0x1d8146),this['_defineLocale']();}['_defineLocale'](){const _0x14e0ba=this['editor']['config']['get']('uploadcare.locale'),_0xb91331=this['editor']['locale']['contentLanguage'];_0x14e0ba&&_0x1d8146['defineLocale'](_0xb91331,_0x14e0ba);}}class ii extends _0x1b7c07{constructor(_0x1fe527){super(_0x1fe527);const t=_0x1fe527['t'],_0x468c06=this['bindTemplate'],_0x24b0a0=new _0x2d971b();_0x24b0a0['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':[_0x24b0a0,{'text':_0x468c06['to']('imageUploadProgress',_0x371a46=>t('Loading\x20image...')+'\x20('+(_0x371a46||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 _0x1b7c07{constructor(_0x2df179){super(_0x2df179);const t=_0x2df179['t'];this['set']('errorType',null);const _0x3a83f7=new _0x11240f(_0x2df179);_0x3a83f7['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x3a83f7['withText']=!0x0,_0x3a83f7['class']='ck-button-action',_0x3a83f7['on']('execute',()=>{this['fire']('retry');}),_0x3a83f7['bind']('isVisible')['to'](this,'errorType',_0x9f3ea9=>'NotFound'!==_0x9f3ea9);const _0x2ea5f7=new _0x461a9a();_0x2ea5f7['content']=_0x9ee271,_0x2ea5f7['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x3b1722=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':[_0x2ea5f7,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x3b1722['to']('errorType',_0x1af452=>t('NotFound'!==_0x1af452?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x3a83f7]},{'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 _0x1b7c07{constructor(_0x2c9530,_0x3dbcdb){super(_0x2c9530);const _0x5d1eac=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x3dbcdb,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x5d1eac['to']('imageSrc')}});}}class X extends F{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0xd4f072,_0x5595bd,_0x44a60b){super(_0xd4f072),this['_items']=this['createCollection'](),this['_loadingView']=new ii(_0xd4f072),this['_errorView']=new ti(_0xd4f072),this['_editingView']=new ei(_0xd4f072,_0x44a60b),this['_focusableView']=new _0x1b7c07(_0xd4f072),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x5595bd),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'],_0x5760a1=>{this['_addUploadcareImageEditorListeners'](_0x5760a1);});}),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'](_0x39f466,_0x5af628){const _0x32e8d9='uc-cloud-image-editor',_0x8370f0=_0x39f466['querySelector'](_0x32e8d9);if(_0x8370f0)return _0x5af628(_0x8370f0);const _0x35c5ae=new MutationObserver(_0xbbcac7=>{const _0x33e3ac=_0xbbcac7['filter'](_0x569736=>_0x569736['target']===_0x39f466&&_0x569736['addedNodes']['length']>0x0&&_0x569736['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x32e8d9);_0x33e3ac['length']&&(_0x35c5ae['disconnect'](),_0x5af628(_0x33e3ac[0x0]['addedNodes'][0x0]));});_0x35c5ae['observe'](_0x39f466,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x542c5d){_0x542c5d['addEventListener']('apply',_0x204a7a=>{this['fire']('apply',{'imageSrc':_0x204a7a['detail']['cdnUrl']});}),_0x542c5d['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class E extends/* #__PURE__ -- @preserve */
25
- _0x1e772f(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x5eb2cf,_0x38e88f,_0x4447b9){super(),this['_editor']=_0x5eb2cf,this['_dialog']=_0x38e88f,this['_imageElement']=_0x4447b9,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 _0x3e0e2a=this['_imageElement'],_0x153ef0=_0x3e0e2a['getAttribute']('uploadcareImageId'),_0x273cc9=_0x3e0e2a['getAttribute']('src');if(_0x153ef0)await this['_loadImageInfo'](_0x153ef0,_0x273cc9);else{if(this['_imageCache']['has'](_0x273cc9)){const _0x1e0239=this['_imageCache']['get'](_0x273cc9);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x1e0239['url'],this['imageDimension']=_0x1e0239['dimension'],this['imageId']=_0x1e0239['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x2a78ca}=this['_editor'],t=_0x2a78ca['t'],_0x3a71e0=new X(_0x2a78ca,this['imageStatus'],this['_attributes']);_0x3a71e0['bind']('status')['to'](this,'imageStatus'),_0x3a71e0['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x3a71e0['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x3a71e0['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x3a71e0,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0xbc9cc1,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x3a71e0,'position':_0x3f9f96['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x3a71e0['focus']();},'onHide':()=>{_0x3a71e0['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x3efbd7=>!A(_0x3efbd7,_0x3a71e0['element'])}});}['_loadImageInfo'](_0x36c9d8,_0x1fc0b0){return j['getInfo'](_0x36c9d8,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x214cc1=>{const {width:_0x3a6860,height:_0x3ca1b7}=_0x214cc1['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x1fc0b0,this['imageDimension']={'width':_0x3a6860,'height':_0x3ca1b7},this['imageId']=_0x36c9d8;})['catch'](_0x13daaa=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x13daaa['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x11b312,_0x4e2dd4){return this['_getImageAsFile'](_0x11b312)['then'](_0x251800=>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':_0x4e2dd4['signal'],'file':_0x251800,'onProgress':_0x19717d=>{_0x19717d&&_0x19717d['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x19717d['value']));}}))['then'](_0x25250e=>{const {width:_0x34aa9c,height:_0x1574ca}=_0x25250e['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x25250e['cdnUrl'],this['imageDimension']={'width':_0x34aa9c,'height':_0x1574ca},this['imageId']=_0x25250e['uuid'],this['imageUploadProgress']=null;const _0x24ae53=_0x11b312['getAttribute']('src');this['_imageCache']['set'](_0x24ae53,{'id':_0x25250e['uuid'],'url':_0x25250e['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x3203ba=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x3203ba['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x3b0a93,_0xdbeaa1){_0x3b0a93['on']('apply',(_0x1cf92d,_0x5b53b1)=>{this['_replaceImage'](_0xdbeaa1,_0x5b53b1['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x3b0a93['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x3b0a93['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x17839e,_0x45f613,_0x233df8){const _0x4eef9b=this['_editor'],{width:_0x18e265,height:_0x1894e3}=S(_0x45f613,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x190ed6,imageSources:_0xe9cd5}=C(_0x45f613,_0x18e265);_0x4eef9b['model']['change'](_0x4eb00c=>{if('$graveyard'===_0x17839e['root']['rootName']){_0x4eef9b['execute']('insertImage',{'imageType':_0x17839e['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x17839e['getAttributes']()),'uploadcareImageId':_0x233df8,'src':_0x190ed6,'sources':_0xe9cd5,'width':_0x18e265,'height':_0x1894e3}});const _0x3fc4ab=_0x17839e['getChildren']();_0x17839e=_0x4eef9b['model']['document']['selection']['getSelectedElement']();for(const _0x38636c of _0x3fc4ab)_0x4eb00c['append'](_0x4eb00c['cloneElement'](_0x38636c),_0x17839e);}else _0x4eb00c['setSelection'](_0x17839e,'on'),_0x4eef9b['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x17839e['getAttributes']()),'uploadcareImageId':_0x233df8,'src':_0x190ed6,'sources':_0xe9cd5,'width':_0x18e265,'height':_0x1894e3},_0x17839e);_0x4eb00c['setSelection'](_0x17839e,'on');});}async['_getImageAsFile'](_0x46d6ba){const _0x254d54=_0xdf747f['window'],_0x542099=_0xdf747f['document']['location']['href'],_0x8c142a=new _0x254d54['URL'](_0x46d6ba['getAttribute']('src'),_0x542099);if('data:'===_0x8c142a['protocol']){const _0x43ce97=_0x8c142a['href']['split'](','),_0x53657f=_0x43ce97[0x0]['match'](/:(.*?);/)[0x1],_0x103be8=_0x53657f['split']('/')[0x1],_0x486f66=_0x254d54['atob'](_0x43ce97[_0x43ce97['length']-0x1]);let _0x491345=_0x486f66['length'];const _0x3551bb=new _0x254d54['Uint8Array'](_0x491345);for(;_0x491345--;)_0x3551bb[_0x491345]=_0x486f66['charCodeAt'](_0x491345);return new _0x254d54['File']([_0x3551bb],'image.'+_0x103be8,{'type':_0x53657f});}const _0x56e795=_0x8c142a['href']['split']('/'),_0x14583d=_0x56e795[_0x56e795['length']-0x1],_0x45fa2f=_0x14583d['split']('.')[0x1];return _0x254d54['fetch'](_0x8c142a['href'])['then'](_0xd7ebbd=>_0xd7ebbd['clone']()['blob']())['then'](_0x27b70b=>new _0x254d54['File']([_0x27b70b],_0x14583d,{'type':'image/'+_0x45fa2f}));}}class O extends _0xf97aa3{['imageEditController'];static get['requires'](){return[_0x340989];}['_isEditable'];constructor(_0x56740b){super(_0x56740b),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x352a8d){const _0x503991=G(_0x352a8d);return _0x5ea9f0=>!(!_0x5ea9f0||!_0x5ea9f0['is']('element','imageBlock')&&!_0x5ea9f0['is']('element','imageInline'))&&(!!_0x5ea9f0['hasAttribute']('uploadcareImageId')||!!_0x5ea9f0['hasAttribute']('src')&&_0x503991(_0x5ea9f0['getAttribute']('src')));}(_0x56740b['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x58b94d=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x58b94d);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x264a11=this['editor']['model']['document']['selection']['getSelectedElement']();_0x264a11&&(_0x264a11['is']('element','imageBlock')||_0x264a11['is']('element','imageInline'))&&(this['imageEditController']=new E(this['editor'],this['editor']['plugins']['get'](_0x340989),_0x264a11),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class R extends _0xf97aa3{['refresh'](){const _0x302ec9=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x302ec9&&(_0x302ec9['is']('element','imageBlock')||_0x302ec9['is']('element','imageInline')));}['execute'](_0x19f50b){const _0x445185=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x330654=>{_0x330654['setAttributes'](_0x19f50b,_0x445185),_0x330654['removeAttribute']('srcset',_0x445185),_0x330654['removeAttribute']('sizes',_0x445185);});}}class m extends _0x4c40ae{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[o,_0x1155d4,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x5868fb}=this;_0x5868fb['commands']['add']('uploadcareImageEdit',new O(_0x5868fb)),_0x5868fb['commands']['add']('uploadcareImageReplace',new R(_0x5868fb));}}class g extends _0x4c40ae{['_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 _0x7f747a=this['editor'];_0x7f747a['ui']['componentFactory']['add']('uploadcareImageEdit',_0x2f2785=>{const _0x586832=_0x7f747a['commands']['get']('uploadcareImageEdit'),_0x38fc12=new _0x11240f(_0x2f2785),t=_0x2f2785['t'];return _0x38fc12['set']({'icon':_0xbc9cc1,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x38fc12['bind']('isEnabled')['to'](_0x586832),_0x38fc12['bind']('isOn')['to'](_0x586832,'isActive'),this['listenTo'](_0x38fc12,'execute',()=>{_0x7f747a['execute']('uploadcareImageEdit'),_0x7f747a['editing']['view']['focus']();}),_0x38fc12;}),this['_initConfig']();}['_initConfig'](){const _0x11906c=_0x47fd77(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x11906c),this['listenTo'](this['editor'],'destroy',()=>{_0x11906c['remove']();});}}class et extends _0x4c40ae{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};
23
+ import{Plugin as _0x4e72f8,Command as _0x398c68}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x1f010e,IconGooglePhotos as _0x11cc0c,IconGoogleDrive as _0x6368de,IconFacebook as _0x41a71e,IconDropbox as _0xe0aeb4,IconUploadcareLink as _0x2d5732,IconUploadcareImageUpload as _0x24c59d,IconError as _0x3e7822,IconUploadcareImageEdit as _0x485d1e}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x21c793,MenuBarMenuListItemButtonView as _0x3ad38e,View as _0x3a6e23,FocusCycler as _0x2e7625,Dialog as _0x53f875,DialogViewPosition as _0x3f67d1,SpinnerView as _0x26b4a6,IconView as _0x1b01da,Notification as _0x7b201}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x3b1c6d,DomEmitterMixin as _0x47fa5a,global as _0x3dc227,getAncestors as _0x536b9b,ObservableMixin as _0x2b992c,uid as _0x19c946,createElement as _0x3c126f}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x21338f}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x3a02ab,info as _0x485143}from'@uploadcare/upload-client';import*as _0x4d06f6 from'@uploadcare/file-uploader';var i=function(_0x286dd1){return _0x286dd1['Local']='local',_0x286dd1['URL']='url',_0x286dd1['Dropbox']='dropbox',_0x286dd1['GDrive']='gdrive',_0x286dd1['Facebook']='facebook',_0x286dd1['GPhotos']='gphotos',_0x286dd1['OneDrive']='onedrive',_0x286dd1;}({});function _(_0x3051ca,_0x282e82,_0x2536df){const t=_0x3051ca['t'],_0x2fbcee=_0x3051ca['t'];switch(_0x282e82){case i['Local']:return{'text':_0x2fbcee('Insert'===_0x2536df?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x2fbcee('From\x20computer')};case i['URL']:return{'text':'Insert'===_0x2536df?_0x2fbcee('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x2fbcee('Via\x20URL')};case i['Dropbox']:return{'text':t('Insert'===_0x2536df?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case i['Facebook']:return{'text':t('Insert'===_0x2536df?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case i['GDrive']:return{'text':t('Insert'===_0x2536df?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case i['GPhotos']:return{'text':t('Insert'===_0x2536df?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case i['OneDrive']:return{'text':t('Insert'===_0x2536df?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x282e82;}}class e extends _0x4e72f8{['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 _0x3eee5f=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x374cce;for(const _0x397de3 in _0x3eee5f){const _0x30bb74=_0x397de3,_0x3bdac1=_0x3eee5f[_0x30bb74];if('uploadcareLicenseKeyValid'==_0x3bdac1||'uploadcareLicenseKeyInvalid'==_0x3bdac1||'uploadcareLicenseKeyExpired'==_0x3bdac1||'uploadcareLicenseKeyDomainLimit'==_0x3bdac1||'uploadcareLicenseKeyNotAllowed'==_0x3bdac1||'uploadcareLicenseKeyEvaluationLimit'==_0x3bdac1||'uploadcareLicenseKeyTrialLimit'==_0x3bdac1||'uploadcareLicenseKeyUsageLimit'==_0x3bdac1){delete _0x3eee5f[_0x30bb74],_0x374cce=_0x3bdac1,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x374cce&&_0x3eee5f['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x374cce&&_0x3eee5f['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x374cce&&_0x3eee5f['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x374cce&&_0x3eee5f['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x374cce&&_0x3eee5f['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0x374cce&&_0x3eee5f['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0x374cce&&_0x3eee5f['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x315cf1}=this,_0x28711c=_0x315cf1['commands']['get']('uploadcare');if(!_0x28711c)return;const _0x30844c=this['_normalizeConfigSourceList'](_0x315cf1['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x2f8d87,_0x1b10d9)=>{const _0x4562a2=this['_getIntegrationKey'](_0x1b10d9['type']);return _0x2f8d87[_0x4562a2]||(_0x2f8d87[_0x4562a2]=[]),_0x2f8d87[_0x4562a2]['push'](_0x1b10d9),_0x2f8d87;},{});_0x315cf1['plugins']['has']('ImageInsertUI')&&_0x315cf1['commands']['get']('uploadcare')&&Object['entries'](_0x30844c)['forEach'](([_0x43b19d,_0x9fe88e])=>{_0x315cf1['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x43b19d,'observable':()=>_0x28711c,'buttonViewCreator':()=>this['_createToolbarButton'](_0x9fe88e),'formViewCreator':()=>this['_createDropdownButtons'](_0x9fe88e),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x9fe88e),'override':'assetManager'!==_0x43b19d});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x4db8b4){const {locale:_0x4b261b}=this['editor'];return _0x4db8b4['map'](_0x5d709f=>{const _0x37dc22=_(_0x4b261b,_0x5d709f,'Insert');switch(_0x5d709f){case i['Local']:return{'icon':_0x24c59d,'type':i['Local'],..._0x37dc22};case i['URL']:return{'icon':_0x2d5732,'type':i['URL'],..._0x37dc22};case i['Dropbox']:return{'icon':_0xe0aeb4,'type':i['Dropbox'],..._0x37dc22};case i['Facebook']:return{'icon':_0x41a71e,'type':i['Facebook'],..._0x37dc22};case i['GDrive']:return{'icon':_0x6368de,'type':i['GDrive'],..._0x37dc22};case i['GPhotos']:return{'icon':_0x11cc0c,'type':i['GPhotos'],..._0x37dc22};case i['OneDrive']:return{'icon':_0x1f010e,'type':i['OneDrive'],..._0x37dc22};}});}['_getIntegrationKey'](_0x1130c9){switch(_0x1130c9){case i['Local']:return'upload';case i['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x4c126a,_0x108835){const _0x4d2c55=this['editor'],_0x4639cc=new _0x4c126a(_0x4d2c55['locale']),_0x1a6bf9=_0x4d2c55['commands']['get']('uploadcare');return _0x4639cc['bind']('isEnabled')['to'](_0x1a6bf9),_0x4639cc['on']('execute',()=>{_0x1a6bf9['execute'](_0x108835);}),_0x4639cc;}['_createToolbarButton'](_0x401047){const {locale:_0x590426}=this['editor'],_0x1538e3=this['editor']['plugins']['get']('ImageInsertUI'),_0x5c47f4=_0x401047[0x0],_0x2ef539=this['_createButton'](_0x21c793,_0x5c47f4['type']);return _0x2ef539['icon']=_0x5c47f4['icon'],_0x2ef539['bind']('label')['to'](_0x1538e3,'isImageSelected',_0x43b962=>_(_0x590426,_0x5c47f4['type'],_0x43b962?'Replace':'Insert')['text']),_0x2ef539['tooltip']=!0x0,_0x2ef539;}['_createDropdownButtons'](_0x48d4be){const {locale:_0x47ec92}=this['editor'],_0x1b2227=this['editor']['plugins']['get']('ImageInsertUI');return _0x48d4be['map'](_0x514384=>{const _0x45e4a7=this['_createButton'](_0x21c793,_0x514384['type']);return _0x45e4a7['withText']=!0x0,_0x45e4a7['icon']=_0x514384['icon'],_0x45e4a7['bind']('label')['to'](_0x1b2227,'isImageSelected',_0x24cb4e=>_(_0x47ec92,_0x514384['type'],_0x24cb4e?'Replace':'Insert')['text']),_0x45e4a7;});}['_createMenuBarButtons'](_0x527e3d){return _0x527e3d['map'](_0x1c2af4=>{const _0x542432=this['_createButton'](_0x3ad38e,_0x1c2af4['type']);return _0x542432['icon']=_0x1c2af4['icon'],_0x542432['label']=_0x1c2af4['shortText'],_0x542432;});}}class F extends _0x3a6e23{['focusTracker'];['focusCycler'];constructor(_0x5b18cc){super(_0x5b18cc),this['focusTracker']=new _0x3b1c6d(),this['focusCycler']=new _0x2e7625({'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(_0x3d771f,_0x5ce87c){super(_0x3d771f),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-'+_0x5ce87c}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function C(_0x2850e4,_0x175ceb){const _0x179c26=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x5f1a7e=>_0x5f1a7e<=_0x175ceb)['map'](_0x4c1e92=>_0x2850e4['replace'](/\/$/,'')+'/-/resize/'+_0x4c1e92+'x/\x20'+_0x4c1e92+'w');return{'imageFallbackUrl':_0x2850e4,'imageSources':[{'srcset':_0x179c26['join'](',\x20'),'sizes':'(max-width:\x20'+_0x175ceb+'px)\x20100vw,\x20'+_0x175ceb+'px','type':'image/webp'}]};}function S(_0x5b2eda,_0x5168d4,_0x12f390){const _0x5a349b=_0x5b2eda['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x5a349b?parseInt(_0x5a349b[0x1],0xa):_0x5168d4,'height':_0x5a349b?parseInt(_0x5a349b[0x2],0xa):_0x12f390};}function p(_0x1bead7,_0x467134){const _0x5084b8=new(_0x47fa5a())(),_0x4472b6=_0x1bead7['plugins']['get']('ImageUtils'),_0x30e4fb=_0x1bead7['editing']['mapper']['toViewElement'](_0x467134),_0x341304=_0x4472b6['findViewImgElement'](_0x30e4fb),_0x4a1c36=_0x1bead7['editing']['view']['domConverter']['viewToDom'](_0x341304),_0x55e499=_0x467134['getAttribute']('width'),_0x53f2c0=_0x467134['getAttribute']('height'),_0x4ff855='image-processing';_0x1bead7['editing']['view']['change'](_0x2d0864=>{_0x2d0864['addClass'](_0x4ff855,_0x30e4fb),_0x2d0864['setStyle']('aspect-ratio',_0x55e499+'/'+_0x53f2c0,_0x341304);}),_0x5084b8['listenTo'](_0x4a1c36,'load',()=>{_0x5084b8['stopListening'](_0x4a1c36,'load'),_0x1bead7['editing']['view']['change'](_0x4b1c4d=>{_0x4b1c4d['removeClass'](_0x4ff855,_0x30e4fb),_0x4b1c4d['removeStyle']('aspect-ratio',_0x341304);});});}function z(_0x203021){if(Array['isArray'](_0x203021)){const _0xb8c7ab=_0x203021['map'](z);return _0x1cd452=>_0xb8c7ab['some'](_0xadfa92=>_0xadfa92(_0x1cd452));}if('origin'==_0x203021){const _0x5c9c62=_0x3dc227['window']['location']['origin'];return _0x25c1c2=>new URL(_0x25c1c2,_0x3dc227['document']['baseURI'])['origin']==_0x5c9c62;}return'function'==typeof _0x203021?_0x203021:_0x203021 instanceof RegExp?_0x1d7094=>!(!_0x1d7094['match'](_0x203021)&&!_0x1d7094['replace'](/^https?:\/\//,'')['match'](_0x203021)):()=>!0x1;}function A(_0x553fab,_0x917670){return _0x536b9b(_0x553fab['target'])['includes'](_0x917670);}class n extends/* #__PURE__ -- @preserve */
24
+ _0x2b992c(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x498384,_0xb248bc,_0x25fde9){super(),this['_editor']=_0x498384,this['_editing']=_0xb248bc,this['_dialog']=_0x498384['plugins']['get'](_0x53f875),this['_api']=_0xb248bc['ctxElement']['getAPI'](),this['_type']=_0x25fde9,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:_0x337da1,model:_0x1b3ec7}=this['_editor'],_0xd567b0=_0x1b3ec7['document']['selection']['getSelectedElement'](),_0x3808ec=_0xd567b0&&(_0xd567b0['is']('element','imageBlock')||_0xd567b0['is']('element','imageInline'));this['_formView']=new x(_0x337da1,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':_0x24c59d,'title':_(_0x337da1,this['_type'],_0x3808ec?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x3f67d1['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x247c26=>!A(_0x247c26,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x12e3e8}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x3b43f2=>{const _0xb0a6f3=_0x12e3e8['length'];for(const _0x1462be of _0x12e3e8){const _0x4cbbd2=_0x1462be===_0x12e3e8[_0xb0a6f3-0x1],{cdnUrl:_0x3b81b1,fileInfo:_0x597259}=_0x1462be;if(!_0x3b81b1||!_0x597259)continue;const {width:_0x35ca06,height:_0x4773c8}=_0x597259['imageInfo'],_0x543ef9=S(_0x3b81b1,_0x35ca06,_0x4773c8),_0x42553e=C(_0x3b81b1,_0x543ef9['width']),_0x3c9bd4={'id':_0x597259['uuid'],'type':'image','attributes':{'imageDimension':_0x543ef9,..._0x42553e}};this['_insertAsset'](_0x3c9bd4,_0x4cbbd2,_0x3b43f2);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x215bfb=>{'idle'===_0x215bfb['detail']['status']&&!_0x215bfb['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===i['Local']?this['_api']['setCurrentActivity'](i['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x34b5f3,_0x39ed43,_0x498277){const _0x389f42=this['_editor']['model']['document']['selection'],_0x1dc2a2=_0x389f42['getSelectedElement'](),_0x3826ed=!(!_0x1dc2a2||!_0x1dc2a2['is']('element','imageInline'));_0x498277['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x34b5f3,_0x3826ed),_0x39ed43||_0x498277['setSelection'](_0x389f42['getLastPosition']());}['_insertImage'](_0x11f9c4,_0x589edb){const _0xfab0d6=this['_editor'],{imageDimension:_0x3ebc06,imageFallbackUrl:_0x467f2b,imageSources:_0x46cb9d}=_0x11f9c4['attributes'];_0xfab0d6['execute']('insertImage',{'imageType':_0x589edb?'imageInline':null,'source':{'uploadcareImageId':_0x11f9c4['id'],'src':_0x467f2b,'sources':_0x46cb9d,..._0x3ebc06}});}}class w extends _0x398c68{['_editing'];['_controller']=null;static get['requires'](){return[_0x53f875,o];}constructor(_0x52b88e){super(_0x52b88e),this['_editing']=_0x52b88e['plugins']['get'](o);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0xdc24f1){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new n(this['editor'],this['_editing'],_0xdc24f1);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class j{static['upload']({file:_0x152255,..._0x41b94a}){return _0x3a02ab(_0x152255,_0x41b94a);}static['getInfo'](_0xa5b112,_0x3b16d2){return _0x485143(_0xa5b112,_0x3b16d2);}}class f extends _0x4e72f8{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x21338f,o];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x4bbad3=this['editor'];if(!!!_0x4bbad3['config']['get']('uploadcare'))return;_0x4bbad3['plugins']['get'](_0x21338f)['createUploadAdapter']=_0x276cc7=>new k(_0x276cc7,_0x4bbad3),_0x4bbad3['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x3a7bcb,{imageElement:_0x26c1e0,data:_0x2ef696})=>{_0x4bbad3['model']['change'](_0x233fb1=>{_0x233fb1['setAttribute']('uploadcareImageId',_0x2ef696['uploadcareImageId'],_0x26c1e0);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x210c64,_0x1c6fde){this['loader']=_0x210c64,this['editor']=_0x1c6fde,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x512016=await this['loader']['file'];return j['upload']({'file':_0x512016,'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':_0x57450e=>{_0x57450e&&_0x57450e['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x57450e['value']);}})['then'](async _0x14135f=>{const {imageFallbackUrl:_0x5807d5,imageSources:_0x2d8d77}=C(_0x14135f['cdnUrl'],_0x14135f['imageInfo']['width']);return{'uploadcareImageId':_0x14135f['uuid'],'default':_0x5807d5,'sources':_0x2d8d77};})['catch'](()=>{const _0x4112f3=t('Cannot\x20upload\x20file:')+('\x20'+_0x512016['name']+'.');return Promise['reject'](_0x4112f3);});}['abort'](){this['controller']['abort']();}}class o extends _0x4e72f8{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',f,_0x53f875];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['ucContextId'];get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}constructor(_0x13d4a8){super(_0x13d4a8),this['ucContextId']=_0x19c946();}['init'](){const _0x59ef98=this['editor'];_0x59ef98['commands']['add']('uploadcare',new w(_0x59ef98));}['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 _0x551b4d=_0x3dc227['document']['querySelector']('input[uploadcare-file-input]');_0x551b4d&&_0x551b4d['remove']();}),async function(_0x90808f){const _0x5565f3=_0x4a0972([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]),_0x9fee38=0x535f8c3a,_0x25405a=0x5358f7f2^_0x9fee38,_0x21687d=window[_0x4a0972([0x44,0x61,0x74,0x65])][_0x4a0972([0x6e,0x6f,0x77])](),_0x9bfc8b=_0x90808f[_0x4a0972([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x145b3e=new window[(_0x4a0972([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4a9521=>{_0x9bfc8b[_0x4a0972([0x6f,0x6e,0x63,0x65])](_0x4a0972([0x72,0x65,0x61,0x64,0x79]),_0x4a9521);}),_0x4192d1={[_0x4a0972([0x6b,0x74,0x79])]:_0x4a0972([0x45,0x43]),[_0x4a0972([0x75,0x73,0x65])]:_0x4a0972([0x73,0x69,0x67]),[_0x4a0972([0x63,0x72,0x76])]:_0x4a0972([0x50,0x2d,0x32,0x35,0x36]),[_0x4a0972([0x78])]:_0x4a0972([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]),[_0x4a0972([0x79])]:_0x4a0972([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]),[_0x4a0972([0x61,0x6c,0x67])]:_0x4a0972([0x45,0x53,0x32,0x35,0x36])},_0x17d8fc=_0x9bfc8b[_0x4a0972([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4a0972([0x67,0x65,0x74])](_0x4a0972([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x12382c(){let _0xd0ba77,_0x2f4124=null,_0xd0d578=null;try{if(_0x17d8fc==_0x4a0972([0x47,0x50,0x4c]))return _0x4a0972([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0xd0ba77=_0x564a8f(),!_0xd0ba77)return _0x4a0972([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0xd0ba77[_0x4a0972([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0xd0d578=_0x562f0a(_0xd0ba77[_0x4a0972([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0xd0ba77[_0x4a0972([0x6a,0x74,0x69])])),await _0x435489()?_0x41eadd()?_0x3a29dd()?_0x4a0972([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x17b58d()?(_0xd0ba77[_0x4a0972([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4a0972([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2f4124=_0x5bdb27(_0x4a0972([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0xd0ba77[_0x4a0972([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4a0972([0x74,0x72,0x69,0x61,0x6c])&&(_0x2f4124=_0x5bdb27(_0x4a0972([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x20568e()):_0x4a0972([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4a0972([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4a0972([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x4a0972([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x3a29dd(){const _0x50c262=[_0x4a0972([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4a0972([0x74,0x72,0x69,0x61,0x6c])][_0x4a0972([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xd0ba77[_0x4a0972([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x21687d/0x3e8:0xe10*_0x25405a;return _0xd0ba77[_0x4a0972([0x65,0x78,0x70])]<_0x50c262;}function _0x41eadd(){const _0x5d1a6d=_0xd0ba77[_0x4a0972([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x5d1a6d&&(!!_0x5d1a6d[_0x4a0972([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4a0972([0x2a]))||!!_0x5d1a6d[_0x4a0972([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4a0972([0x55,0x50,0x4c,0x43])));}function _0x17b58d(){const _0x225088=_0xd0ba77[_0x4a0972([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x225088||0x0==_0x225088[_0x4a0972([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3a5cef}=new URL(window[_0x4a0972([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x225088[_0x4a0972([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3a5cef))return!0x0;const _0x1f851d=_0x3a5cef[_0x4a0972([0x73,0x70,0x6c,0x69,0x74])](_0x4a0972([0x2e]));return _0x225088[_0x4a0972([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2ba945=>_0x2ba945[_0x4a0972([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4a0972([0x2a])))[_0x4a0972([0x6d,0x61,0x70])](_0x158855=>_0x158855[_0x4a0972([0x73,0x70,0x6c,0x69,0x74])](_0x4a0972([0x2e])))[_0x4a0972([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3af65f=>_0x3af65f[_0x4a0972([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x1f851d[_0x4a0972([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4a0972([0x6d,0x61,0x70])](_0x1b99b7=>Array(_0x1f851d[_0x4a0972([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x1b99b7[_0x4a0972([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4a0972([0x66,0x69,0x6c,0x6c])](_0x1b99b7[0x0]===_0x4a0972([0x2a])?_0x4a0972([0x2a]):'')[_0x4a0972([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x1b99b7))[_0x4a0972([0x73,0x6f,0x6d,0x65])](_0xa4d77f=>_0x1f851d[_0x4a0972([0x65,0x76,0x65,0x72,0x79])]((_0x474f5f,_0x43babb)=>_0xa4d77f[_0x43babb]===_0x474f5f||_0xa4d77f[_0x43babb]===_0x4a0972([0x2a])));}function _0x20568e(){return _0x2f4124&&_0xd0d578?new window[(_0x4a0972([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1c479f,_0x345134)=>{_0x2f4124[_0x4a0972([0x74,0x68,0x65,0x6e])](_0x1c479f,_0x345134),_0xd0d578[_0x4a0972([0x74,0x68,0x65,0x6e])](_0x19cda8=>{_0x19cda8!=_0x4a0972([0x56,0x61,0x6c,0x69,0x64])&&_0x1c479f(_0x19cda8);},_0x345134);}):_0x2f4124||_0xd0d578||_0x4a0972([0x56,0x61,0x6c,0x69,0x64]);}}function _0x562f0a(_0x1980c3,_0x18074c){return new window[(_0x4a0972([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x28a9ee=>{if(_0x26ae59())return _0x28a9ee(_0x4a0972([0x56,0x61,0x6c,0x69,0x64]));_0x3ab039(),_0x9bfc8b[_0x4a0972([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4a0972([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x5bd168=!0x1;const _0x3f0922=_0x19c946();function _0x26b136(_0x1d8ca7){return!!_0x1d8ca7&&(typeof _0x1d8ca7===_0x4a0972([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1d8ca7===_0x4a0972([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1d8ca7[_0x4a0972([0x74,0x68,0x65,0x6e])]===_0x4a0972([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1d8ca7[_0x4a0972([0x63,0x61,0x74,0x63,0x68])]===_0x4a0972([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x40cec4(_0x399ed5){_0x7c0b3a(_0x399ed5)[_0x4a0972([0x74,0x68,0x65,0x6e])](_0x5be9b1=>{if(!_0x5be9b1||_0x5be9b1[_0x4a0972([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4a0972([0x6f,0x6b]))return _0x4a0972([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x3335c2(_0x43b0b3(_0x3f0922+_0x18074c))!=_0x5be9b1[_0x4a0972([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4a0972([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4a0972([0x56,0x61,0x6c,0x69,0x64]);})[_0x4a0972([0x74,0x68,0x65,0x6e])](_0x2dd7f1=>(_0x6d1e6f(),_0x2dd7f1),()=>{const _0x4185a5=_0x2efef7();return null==_0x4185a5?(_0x6d1e6f(),_0x4a0972([0x56,0x61,0x6c,0x69,0x64])):_0x4a0972(_0x21687d-_0x4185a5>(0x7753083a^_0x9fee38)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4a0972([0x74,0x68,0x65,0x6e])](_0x28a9ee)[_0x4a0972([0x63,0x61,0x74,0x63,0x68])](()=>{_0x28a9ee(_0x4a0972([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x4436fe=0x536962ba^_0x9fee38;function _0x6d1e6f(){const _0x575f5e=_0x4a0972([0x6c,0x6c,0x63,0x74,0x2d])+_0x3335c2(_0x43b0b3(_0x1980c3)),_0x344f3a=_0x29ba2f(_0x3335c2(window[_0x4a0972([0x4d,0x61,0x74,0x68])][_0x4a0972([0x63,0x65,0x69,0x6c])](_0x21687d/_0x4436fe)));window[_0x4a0972([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4a0972([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x575f5e,_0x344f3a);}function _0x2efef7(){const _0x142171=_0x4a0972([0x6c,0x6c,0x63,0x74,0x2d])+_0x3335c2(_0x43b0b3(_0x1980c3)),_0x54f997=window[_0x4a0972([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4a0972([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x142171);return _0x54f997?window[_0x4a0972([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x29ba2f(_0x54f997),0x10)*_0x4436fe:null;}function _0x7c0b3a(_0x1a532e){return new window[(_0x4a0972([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5740ef,_0x172758)=>{_0x1a532e[_0x4a0972([0x74,0x68,0x65,0x6e])](_0x5740ef,_0x172758),window[_0x4a0972([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x172758,0x535e58fa^_0x9fee38);});}}_0x9bfc8b[_0x4a0972([0x6f,0x6e])](_0x4a0972([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4cc192,_0x371984)=>{if(_0x371984[0x0]!=_0x1980c3)return _0x28a9ee(_0x4a0972([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x371984[0x1]={..._0x371984[0x1],[_0x4a0972([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x3f0922};},{[_0x4a0972([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4a0972([0x68,0x69,0x67,0x68])}),_0x9bfc8b[_0x4a0972([0x6f,0x6e])](_0x4a0972([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x52aaa7=>{_0x26b136(_0x52aaa7[_0x4a0972([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x5bd168=!0x0,_0x40cec4(_0x52aaa7[_0x4a0972([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4a0972([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4a0972([0x6c,0x6f,0x77])}),_0x145b3e[_0x4a0972([0x74,0x68,0x65,0x6e])](()=>{_0x5bd168||_0x28a9ee(_0x4a0972([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x26ae59(){return _0x9bfc8b[_0x4a0972([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4a0972([0x76,0x69,0x65,0x77])][_0x4a0972([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4a0972([0x61,0x75,0x74,0x6f]);}function _0x3ab039(){_0x9bfc8b[_0x4a0972([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4a0972([0x76,0x69,0x65,0x77])][_0x4a0972([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4a0972([0x61,0x75,0x74,0x6f]);}}function _0x5bdb27(_0x3a8c29){const _0x306be5=[new window[(_0x4a0972([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5b8872=>setTimeout(_0x5b8872,0x5356b2f6^_0x9fee38)),_0x145b3e[_0x4a0972([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4a0972([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4f4d8c=>{let _0x390d66=0x0;_0x9bfc8b[_0x4a0972([0x6d,0x6f,0x64,0x65,0x6c])][_0x4a0972([0x6f,0x6e])](_0x4a0972([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5f000b,_0x4c7fdb)=>{_0x4c7fdb[0x0][_0x4a0972([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x390d66++,_0x390d66==(0x535f8dc2^_0x9fee38)&&(_0x4f4d8c(),_0x5f000b[_0x4a0972([0x6f,0x66,0x66])]());});}))];return window[_0x4a0972([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4a0972([0x72,0x61,0x63,0x65])](_0x306be5)[_0x4a0972([0x74,0x68,0x65,0x6e])](()=>_0x3a8c29);}async function _0x397fef(){await _0x145b3e,_0x9bfc8b[_0x4a0972([0x6d,0x6f,0x64,0x65,0x6c])][_0x4a0972([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x184b68,_0x9bfc8b[_0x4a0972([0x6d,0x6f,0x64,0x65,0x6c])][_0x4a0972([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x184b68,_0x9bfc8b[_0x4a0972([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4a0972([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x307298(_0x4c5388){const _0x5688e5=_0x40a2c4();_0x9bfc8b[_0x5688e5]=_0x4a0972([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x4c5388,_0x4c5388!=_0x4a0972([0x56,0x61,0x6c,0x69,0x64])&&_0x397fef();}function _0x40a2c4(){const _0x298b5d=window[_0x4a0972([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4a0972([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4a0972([0x6e,0x6f,0x77])]())[_0x4a0972([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4a0972([0x2e]),'');let _0x3de5d4=_0x4a0972([0x68]);for(let _0x1c8f31=0x0;_0x1c8f31<_0x298b5d[_0x4a0972([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1c8f31+=0x2){let _0x283764=window[_0x4a0972([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x298b5d[_0x4a0972([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1c8f31,_0x1c8f31+0x2));_0x283764>=_0x5565f3[_0x4a0972([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x283764-=_0x5565f3[_0x4a0972([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3de5d4+=_0x5565f3[_0x283764];}return _0x3de5d4;}function _0x564a8f(){const _0x3e1fba=_0x17d8fc[_0x4a0972([0x73,0x70,0x6c,0x69,0x74])](_0x4a0972([0x2e]));if(0x3!=_0x3e1fba[_0x4a0972([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x392940(_0x3e1fba[0x1]);function _0x392940(_0x1e51d8){const _0x5cdc55=_0x4837a7(_0x1e51d8);return _0x5cdc55&&_0x3a56e9()?_0x5cdc55:null;function _0x3a56e9(){const _0x10095f=_0x5cdc55[_0x4a0972([0x6a,0x74,0x69])],_0x8dc52a=window[_0x4a0972([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x10095f[_0x4a0972([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x10095f[_0x4a0972([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x14e381={..._0x5cdc55,[_0x4a0972([0x6a,0x74,0x69])]:_0x10095f[_0x4a0972([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x10095f[_0x4a0972([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x14e381[_0x4a0972([0x76,0x63])],_0x43b0b3(_0x14e381)==_0x8dc52a;}}}async function _0x435489(){let _0xfe6a79=!0x0;try{const _0x25437d=_0x17d8fc[_0x4a0972([0x73,0x70,0x6c,0x69,0x74])](_0x4a0972([0x2e])),[_0x832af3,_0x3a1d33,_0x587312]=_0x25437d;return _0x320cd7(_0x832af3),await _0x31cec7(_0x832af3,_0x3a1d33,_0x587312),_0xfe6a79;}catch{return!0x1;}function _0x320cd7(_0x77f337){const _0x330539=_0x4837a7(_0x77f337);_0x330539&&_0x330539[_0x4a0972([0x61,0x6c,0x67])]==_0x4a0972([0x45,0x53,0x32,0x35,0x36])||(_0xfe6a79=!0x1);}async function _0x31cec7(_0x20c0e7,_0x157ba8,_0x4f7060){const _0x52a43e=window[_0x4a0972([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4a0972([0x66,0x72,0x6f,0x6d])](_0x16fff4(_0x4f7060),_0xf8e825=>_0xf8e825[_0x4a0972([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x28e15e=new window[(_0x4a0972([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4a0972([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x20c0e7+_0x4a0972([0x2e])+_0x157ba8),_0x5c2143=window[_0x4a0972([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4a0972([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x5c2143)return;const _0x2b9e04=await _0x5c2143[_0x4a0972([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4a0972([0x6a,0x77,0x6b]),_0x4192d1,{[_0x4a0972([0x6e,0x61,0x6d,0x65])]:_0x4a0972([0x45,0x43,0x44,0x53,0x41]),[_0x4a0972([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4a0972([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4a0972([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x5c2143[_0x4a0972([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4a0972([0x6e,0x61,0x6d,0x65])]:_0x4a0972([0x45,0x43,0x44,0x53,0x41]),[_0x4a0972([0x68,0x61,0x73,0x68])]:{[_0x4a0972([0x6e,0x61,0x6d,0x65])]:_0x4a0972([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x2b9e04,_0x52a43e,_0x28e15e)||(_0xfe6a79=!0x1);}}function _0x4837a7(_0x4ddb62){return _0x4ddb62[_0x4a0972([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4a0972([0x65,0x79]))?JSON[_0x4a0972([0x70,0x61,0x72,0x73,0x65])](_0x16fff4(_0x4ddb62)):null;}function _0x16fff4(_0x45a220){return window[_0x4a0972([0x61,0x74,0x6f,0x62])](_0x45a220[_0x4a0972([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4a0972([0x2b]))[_0x4a0972([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4a0972([0x2f])));}function _0x43b0b3(_0x1ffbb1){let _0x2e58f0=0x1505;function _0xd67f2e(_0x5b958c){for(let _0x353a1e=0x0;_0x353a1e<_0x5b958c[_0x4a0972([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x353a1e++){const _0x90a16f=_0x5b958c[_0x4a0972([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x353a1e);_0x2e58f0=(_0x2e58f0<<0x5)+_0x2e58f0+_0x90a16f,_0x2e58f0&=_0x2e58f0;}}function _0x4c686d(_0x8e74e5){Array[_0x4a0972([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x8e74e5)?_0x8e74e5[_0x4a0972([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4c686d):_0x8e74e5&&typeof _0x8e74e5==_0x4a0972([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4a0972([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x8e74e5)[_0x4a0972([0x73,0x6f,0x72,0x74])]()[_0x4a0972([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2b442e,_0x853090])=>{_0xd67f2e(_0x2b442e),_0x4c686d(_0x853090);}):_0xd67f2e(window[_0x4a0972([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x8e74e5));}return _0x4c686d(_0x1ffbb1),_0x2e58f0>>>0x0;}function _0x3335c2(_0x3ec51c){return _0x3ec51c[_0x4a0972([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4a0972([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4a0972([0x30]));}function _0x29ba2f(_0x59427a){return _0x59427a[_0x4a0972([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4a0972([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4a0972([0x6a,0x6f,0x69,0x6e])]('');}function _0x184b68(){}function _0x4a0972(_0x6c2777){return _0x6c2777['map'](_0x3f05a7=>String['fromCharCode'](_0x3f05a7))['join']('');}_0x307298(await _0x12382c());}(this);}['_initSchema'](){const _0x1692a1=this['editor']['model']['schema'];_0x1692a1['isRegistered']('imageBlock')&&_0x1692a1['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x1692a1['isRegistered']('imageInline')&&_0x1692a1['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x2c16aa=this['editor'];_0x2c16aa['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x2c16aa['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x79cc4b=>_0x79cc4b['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x236763=_0x2c16aa['commands']['get']('replaceImageSource');_0x236763&&this['listenTo'](_0x236763,'cleanupImage',(_0x2ed227,[_0x86a72f,_0x10a1d0])=>{_0x86a72f['removeAttribute']('uploadcareImageId',_0x10a1d0);});}['_initConfig'](){const _0x3f55ec=this['editor']['config']['get']('uploadcare.uploader')||{},_0x22c217=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x3c126f(_0x3dc227['document'],'uc-config',{..._0x3f55ec,'pubkey':_0x22c217,'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']=_0x48dfda=>{if('closeMax'==_0x48dfda)return'#uc-icon-arrow-down';},_0x3dc227['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x3c126f(_0x3dc227['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),_0x3dc227['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x494d90=this['editor']['commands']['get']('insertImage');_0x494d90&&this['listenTo'](_0x494d90,'execute',()=>{const _0x4392b4=this['editor']['model']['document']['selection']['getSelectedElement']();_0x4392b4&&_0x4392b4['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x4392b4);});});const _0x3704e3=this['editor']['commands']['get']('uploadcareImageReplace');_0x3704e3&&this['listenTo'](_0x3704e3,'execute',()=>{const _0x1c6abb=this['editor']['model']['document']['selection']['getSelectedElement']();_0x1c6abb&&_0x1c6abb['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x1c6abb);});});}}class tt extends _0x4e72f8{static get['requires'](){return[o,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x2b0699){super(_0x2b0699),_0x2b0699['config']['define']('uploadcare.uploader.sourceList',[i['Local'],i['URL']]),_0x4d06f6['defineComponents'](_0x4d06f6),this['_defineLocale']();}['_defineLocale'](){const _0x43eee3=this['editor']['config']['get']('uploadcare.locale'),_0x3056a9=this['editor']['locale']['contentLanguage'];_0x43eee3&&_0x4d06f6['defineLocale'](_0x3056a9,_0x43eee3);}}class ii extends _0x3a6e23{constructor(_0x4688c9){super(_0x4688c9);const t=_0x4688c9['t'],_0x40b9ae=this['bindTemplate'],_0x7d0216=new _0x26b4a6();_0x7d0216['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':[_0x7d0216,{'text':_0x40b9ae['to']('imageUploadProgress',_0x33fe11=>t('Loading\x20image...')+'\x20('+(_0x33fe11||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 _0x3a6e23{constructor(_0x5ede1a){super(_0x5ede1a);const t=_0x5ede1a['t'];this['set']('errorType',null);const _0x5a49d2=new _0x21c793(_0x5ede1a);_0x5a49d2['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x5a49d2['withText']=!0x0,_0x5a49d2['class']='ck-button-action',_0x5a49d2['on']('execute',()=>{this['fire']('retry');}),_0x5a49d2['bind']('isVisible')['to'](this,'errorType',_0x5a1fd8=>'NotFound'!==_0x5a1fd8);const _0x2da61e=new _0x1b01da();_0x2da61e['content']=_0x3e7822,_0x2da61e['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x5bdb05=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':[_0x2da61e,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x5bdb05['to']('errorType',_0x152b19=>t('NotFound'!==_0x152b19?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x5a49d2]},{'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 _0x3a6e23{constructor(_0x45ed79,_0x257186){super(_0x45ed79);const _0x4d4ba4=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x257186,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x4d4ba4['to']('imageSrc')}});}}class X extends F{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x1ae5a0,_0x55fe88,_0x16be25){super(_0x1ae5a0),this['_items']=this['createCollection'](),this['_loadingView']=new ii(_0x1ae5a0),this['_errorView']=new ti(_0x1ae5a0),this['_editingView']=new ei(_0x1ae5a0,_0x16be25),this['_focusableView']=new _0x3a6e23(_0x1ae5a0),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x55fe88),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'],_0x54d1a6=>{this['_addUploadcareImageEditorListeners'](_0x54d1a6);});}),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'](_0x4f8303,_0x4f838d){const _0x31c302='uc-cloud-image-editor',_0x352fb5=_0x4f8303['querySelector'](_0x31c302);if(_0x352fb5)return _0x4f838d(_0x352fb5);const _0xbb7539=new MutationObserver(_0x65fc66=>{const _0x57f53d=_0x65fc66['filter'](_0x530f84=>_0x530f84['target']===_0x4f8303&&_0x530f84['addedNodes']['length']>0x0&&_0x530f84['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x31c302);_0x57f53d['length']&&(_0xbb7539['disconnect'](),_0x4f838d(_0x57f53d[0x0]['addedNodes'][0x0]));});_0xbb7539['observe'](_0x4f8303,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x5558dd){_0x5558dd['addEventListener']('apply',_0x1d8610=>{this['fire']('apply',{'imageSrc':_0x1d8610['detail']['cdnUrl']});}),_0x5558dd['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class N extends/* #__PURE__ -- @preserve */
25
+ _0x2b992c(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x553468,_0x24965f,_0x145379){super(),this['_editor']=_0x553468,this['_dialog']=_0x24965f,this['_imageElement']=_0x145379,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 _0x3bde9d=this['_imageElement'],_0x107839=_0x3bde9d['getAttribute']('uploadcareImageId'),_0x7a2325=_0x3bde9d['getAttribute']('src');if(_0x107839)await this['_loadImageInfo'](_0x107839,_0x7a2325);else{if(this['_imageCache']['has'](_0x7a2325)){const _0x418cf2=this['_imageCache']['get'](_0x7a2325);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x418cf2['url'],this['imageDimension']=_0x418cf2['dimension'],this['imageId']=_0x418cf2['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x3242ca}=this['_editor'],t=_0x3242ca['t'],_0x40a064=new X(_0x3242ca,this['imageStatus'],this['_attributes']);_0x40a064['bind']('status')['to'](this,'imageStatus'),_0x40a064['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x40a064['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x40a064['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x40a064,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x485d1e,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x40a064,'position':_0x3f67d1['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x40a064['focus']();},'onHide':()=>{_0x40a064['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x20a3b9=>!A(_0x20a3b9,_0x40a064['element'])}});}['_loadImageInfo'](_0x1fc2b5,_0x21bdd0){return j['getInfo'](_0x1fc2b5,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x44ee5d=>{const {width:_0x354651,height:_0x1aeff8}=_0x44ee5d['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x21bdd0,this['imageDimension']={'width':_0x354651,'height':_0x1aeff8},this['imageId']=_0x1fc2b5;})['catch'](_0x2d4ea7=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x2d4ea7['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x452d8b,_0x1c66ed){return this['_getImageAsFile'](_0x452d8b)['then'](_0x366d91=>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':_0x1c66ed['signal'],'file':_0x366d91,'onProgress':_0x3ec86c=>{_0x3ec86c&&_0x3ec86c['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x3ec86c['value']));}}))['then'](_0x3fb85c=>{const {width:_0x2269f4,height:_0x3c501b}=_0x3fb85c['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x3fb85c['cdnUrl'],this['imageDimension']={'width':_0x2269f4,'height':_0x3c501b},this['imageId']=_0x3fb85c['uuid'],this['imageUploadProgress']=null;const _0x24fbbd=_0x452d8b['getAttribute']('src');this['_imageCache']['set'](_0x24fbbd,{'id':_0x3fb85c['uuid'],'url':_0x3fb85c['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x2d78b8=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x2d78b8['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x1cd3f7,_0xabccdb){_0x1cd3f7['on']('apply',(_0x17ae8e,_0x205fe9)=>{this['_replaceImage'](_0xabccdb,_0x205fe9['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x1cd3f7['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x1cd3f7['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x43339d,_0x58e3d7,_0x3d7352){const _0x535df6=this['_editor'],{width:_0x105f3b,height:_0x4f863d}=S(_0x58e3d7,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x5657a4,imageSources:_0x2d9bbe}=C(_0x58e3d7,_0x105f3b);_0x535df6['model']['change'](_0x1fda35=>{if('$graveyard'===_0x43339d['root']['rootName']){_0x535df6['execute']('insertImage',{'imageType':_0x43339d['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x43339d['getAttributes']()),'uploadcareImageId':_0x3d7352,'src':_0x5657a4,'sources':_0x2d9bbe,'width':_0x105f3b,'height':_0x4f863d}});const _0x2f9b4f=_0x43339d['getChildren']();_0x43339d=_0x535df6['model']['document']['selection']['getSelectedElement']();for(const _0x54b3f3 of _0x2f9b4f)_0x1fda35['append'](_0x1fda35['cloneElement'](_0x54b3f3),_0x43339d);}else _0x1fda35['setSelection'](_0x43339d,'on'),_0x535df6['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x43339d['getAttributes']()),'uploadcareImageId':_0x3d7352,'src':_0x5657a4,'sources':_0x2d9bbe,'width':_0x105f3b,'height':_0x4f863d},_0x43339d);_0x1fda35['setSelection'](_0x43339d,'on');});}async['_getImageAsFile'](_0x22aa40){const _0x31db7c=_0x3dc227['window'],_0x35d8ae=_0x3dc227['document']['location']['href'],_0x1147e9=new _0x31db7c['URL'](_0x22aa40['getAttribute']('src'),_0x35d8ae);if('data:'===_0x1147e9['protocol']){const _0xca32e2=_0x1147e9['href']['split'](','),_0x25a915=_0xca32e2[0x0]['match'](/:(.*?);/)[0x1],_0x470fe5=_0x25a915['split']('/')[0x1],_0x48ee3b=_0x31db7c['atob'](_0xca32e2[_0xca32e2['length']-0x1]);let _0x3c18b6=_0x48ee3b['length'];const _0x25e38b=new _0x31db7c['Uint8Array'](_0x3c18b6);for(;_0x3c18b6--;)_0x25e38b[_0x3c18b6]=_0x48ee3b['charCodeAt'](_0x3c18b6);return new _0x31db7c['File']([_0x25e38b],'image.'+_0x470fe5,{'type':_0x25a915});}const _0x177535=_0x1147e9['href']['split']('/'),_0x5b912b=_0x177535[_0x177535['length']-0x1],_0x2d5504=_0x5b912b['split']('.')[0x1];return _0x31db7c['fetch'](_0x1147e9['href'])['then'](_0x146636=>_0x146636['clone']()['blob']())['then'](_0x4dfc62=>new _0x31db7c['File']([_0x4dfc62],_0x5b912b,{'type':'image/'+_0x2d5504}));}}class Q extends _0x398c68{['imageEditController'];static get['requires'](){return[_0x53f875];}['_isEditable'];constructor(_0x6aa1b9){super(_0x6aa1b9),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x210b64){const _0x30d8d7=z(_0x210b64);return _0x5387e9=>!(!_0x5387e9||!_0x5387e9['is']('element','imageBlock')&&!_0x5387e9['is']('element','imageInline'))&&(!!_0x5387e9['hasAttribute']('uploadcareImageId')||!!_0x5387e9['hasAttribute']('src')&&_0x30d8d7(_0x5387e9['getAttribute']('src')));}(_0x6aa1b9['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x3b16f4=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x3b16f4);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x1177e4=this['editor']['model']['document']['selection']['getSelectedElement']();_0x1177e4&&(_0x1177e4['is']('element','imageBlock')||_0x1177e4['is']('element','imageInline'))&&(this['imageEditController']=new N(this['editor'],this['editor']['plugins']['get'](_0x53f875),_0x1177e4),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class V extends _0x398c68{['refresh'](){const _0x12e249=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x12e249&&(_0x12e249['is']('element','imageBlock')||_0x12e249['is']('element','imageInline')));}['execute'](_0x209474){const _0x28aa2a=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0xb849d8=>{_0xb849d8['setAttributes'](_0x209474,_0x28aa2a),_0xb849d8['removeAttribute']('srcset',_0x28aa2a),_0xb849d8['removeAttribute']('sizes',_0x28aa2a);});}}class m extends _0x4e72f8{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[o,_0x7b201,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x2c75a8}=this;_0x2c75a8['commands']['add']('uploadcareImageEdit',new Q(_0x2c75a8)),_0x2c75a8['commands']['add']('uploadcareImageReplace',new V(_0x2c75a8));}}class g extends _0x4e72f8{['_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 _0x2eee33=this['editor'];_0x2eee33['ui']['componentFactory']['add']('uploadcareImageEdit',_0x15a476=>{const _0x2c1d0d=_0x2eee33['commands']['get']('uploadcareImageEdit'),_0x287aaf=new _0x21c793(_0x15a476),t=_0x15a476['t'];return _0x287aaf['set']({'icon':_0x485d1e,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x287aaf['bind']('isEnabled')['to'](_0x2c1d0d),_0x287aaf['bind']('isOn')['to'](_0x2c1d0d,'isActive'),this['listenTo'](_0x287aaf,'execute',()=>{_0x2eee33['execute']('uploadcareImageEdit'),_0x2eee33['editing']['view']['focus']();}),_0x287aaf;}),this['_initConfig']();}['_initConfig'](){const _0x49dfe9=_0x3c126f(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x49dfe9),this['listenTo'](this['editor'],'destroy',()=>{_0x49dfe9['remove']();});}}class et extends _0x4e72f8{static get['pluginName'](){return'UploadcareImageEdit';}static get['requires'](){return[m,g];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{tt as Uploadcare,w as UploadcareCommand,o as UploadcareEditing,et as UploadcareImageEdit,Q as UploadcareImageEditCommand,m as UploadcareImageEditEditing,g as UploadcareImageEditUI,e as UploadcareUI,f as UploadcareUploadAdapter};
@@ -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':_0x4af514=>0x1!=_0x4af514}};
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':_0x20293d=>0x1!=_0x20293d}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x189046=>{const {af:{dictionary:_0x16c3d4,getPluralForm:_0x494314}}={'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':_0x4c8092=>0x1!=_0x4c8092}};_0x189046['af']||={'dictionary':{},'getPluralForm':null},_0x189046['af']['dictionary']=Object['assign'](_0x189046['af']['dictionary'],_0x16c3d4),_0x189046['af']['getPluralForm']=_0x494314;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x2f695d=>{const {af:{dictionary:_0x5ca699,getPluralForm:_0x412fcc}}={'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':_0x48a971=>0x1!=_0x48a971}};_0x2f695d['af']||={'dictionary':{},'getPluralForm':null},_0x2f695d['af']['dictionary']=Object['assign'](_0x2f695d['af']['dictionary'],_0x5ca699),_0x2f695d['af']['getPluralForm']=_0x412fcc;})(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':_0x50364f=>0x0==_0x50364f?0x0:0x1==_0x50364f?0x1:0x2==_0x50364f?0x2:_0x50364f%0x64>=0x3&&_0x50364f%0x64<=0xa?0x3:_0x50364f%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':_0x4f3ecb=>0x0==_0x4f3ecb?0x0:0x1==_0x4f3ecb?0x1:0x2==_0x4f3ecb?0x2:_0x4f3ecb%0x64>=0x3&&_0x4f3ecb%0x64<=0xa?0x3:_0x4f3ecb%0x64>=0xb?0x4:0x5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x2871be=>{const {ar:{dictionary:_0x189aa5,getPluralForm:_0x4d145d}}={'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':_0x598a65=>0x0==_0x598a65?0x0:0x1==_0x598a65?0x1:0x2==_0x598a65?0x2:_0x598a65%0x64>=0x3&&_0x598a65%0x64<=0xa?0x3:_0x598a65%0x64>=0xb?0x4:0x5}};_0x2871be['ar']||={'dictionary':{},'getPluralForm':null},_0x2871be['ar']['dictionary']=Object['assign'](_0x2871be['ar']['dictionary'],_0x189aa5),_0x2871be['ar']['getPluralForm']=_0x4d145d;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x109732=>{const {ar:{dictionary:_0xfe3fff,getPluralForm:_0x354020}}={'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':_0x3187d2=>0x0==_0x3187d2?0x0:0x1==_0x3187d2?0x1:0x2==_0x3187d2?0x2:_0x3187d2%0x64>=0x3&&_0x3187d2%0x64<=0xa?0x3:_0x3187d2%0x64>=0xb?0x4:0x5}};_0x109732['ar']||={'dictionary':{},'getPluralForm':null},_0x109732['ar']['dictionary']=Object['assign'](_0x109732['ar']['dictionary'],_0xfe3fff),_0x109732['ar']['getPluralForm']=_0x354020;})(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':_0x1fed7e=>0x1!=_0x1fed7e}};
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':_0x4b2f53=>0x1!=_0x4b2f53}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x585a1b=>{const {ast:{dictionary:_0xd5934b,getPluralForm:_0x4d7f67}}={'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':_0x34c811=>0x1!=_0x34c811}};_0x585a1b['ast']||={'dictionary':{},'getPluralForm':null},_0x585a1b['ast']['dictionary']=Object['assign'](_0x585a1b['ast']['dictionary'],_0xd5934b),_0x585a1b['ast']['getPluralForm']=_0x4d7f67;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x4b3fe3=>{const {ast:{dictionary:_0x25dcb5,getPluralForm:_0x5d37bc}}={'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':_0x514288=>0x1!=_0x514288}};_0x4b3fe3['ast']||={'dictionary':{},'getPluralForm':null},_0x4b3fe3['ast']['dictionary']=Object['assign'](_0x4b3fe3['ast']['dictionary'],_0x25dcb5),_0x4b3fe3['ast']['getPluralForm']=_0x5d37bc;})(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':_0x3e47ab=>0x1!=_0x3e47ab}};
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':_0x2a074c=>0x1!=_0x2a074c}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x3fd865=>{const {az:{dictionary:_0x3649da,getPluralForm:_0x4a1938}}={'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':_0x17a155=>0x1!=_0x17a155}};_0x3fd865['az']||={'dictionary':{},'getPluralForm':null},_0x3fd865['az']['dictionary']=Object['assign'](_0x3fd865['az']['dictionary'],_0x3649da),_0x3fd865['az']['getPluralForm']=_0x4a1938;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x3634c9=>{const {az:{dictionary:_0x4ddccc,getPluralForm:_0x488f05}}={'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':_0x5983ae=>0x1!=_0x5983ae}};_0x3634c9['az']||={'dictionary':{},'getPluralForm':null},_0x3634c9['az']['dictionary']=Object['assign'](_0x3634c9['az']['dictionary'],_0x4ddccc),_0x3634c9['az']['getPluralForm']=_0x488f05;})(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':_0x3a891a=>_0x3a891a%0xa==0x1&&_0x3a891a%0x64!=0xb?0x0:_0x3a891a%0xa>=0x2&&_0x3a891a%0xa<=0x4&&(_0x3a891a%0x64<0xa||_0x3a891a%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':_0x18b9e4=>_0x18b9e4%0xa==0x1&&_0x18b9e4%0x64!=0xb?0x0:_0x18b9e4%0xa>=0x2&&_0x18b9e4%0xa<=0x4&&(_0x18b9e4%0x64<0xa||_0x18b9e4%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x26169a=>{const {be:{dictionary:_0x4482fe,getPluralForm:_0x2b1461}}={'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':_0x59cd80=>_0x59cd80%0xa==0x1&&_0x59cd80%0x64!=0xb?0x0:_0x59cd80%0xa>=0x2&&_0x59cd80%0xa<=0x4&&(_0x59cd80%0x64<0xa||_0x59cd80%0x64>=0x14)?0x1:0x2}};_0x26169a['be']||={'dictionary':{},'getPluralForm':null},_0x26169a['be']['dictionary']=Object['assign'](_0x26169a['be']['dictionary'],_0x4482fe),_0x26169a['be']['getPluralForm']=_0x2b1461;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x495368=>{const {be:{dictionary:_0x4e85ff,getPluralForm:_0x445753}}={'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':_0x2fdabc=>_0x2fdabc%0xa==0x1&&_0x2fdabc%0x64!=0xb?0x0:_0x2fdabc%0xa>=0x2&&_0x2fdabc%0xa<=0x4&&(_0x2fdabc%0x64<0xa||_0x2fdabc%0x64>=0x14)?0x1:0x2}};_0x495368['be']||={'dictionary':{},'getPluralForm':null},_0x495368['be']['dictionary']=Object['assign'](_0x495368['be']['dictionary'],_0x4e85ff),_0x495368['be']['getPluralForm']=_0x445753;})(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':_0x1e4ee8=>0x1!=_0x1e4ee8}};
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':_0x9405ae=>0x1!=_0x9405ae}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x1f2fa6=>{const {bg:{dictionary:_0x12416c,getPluralForm:_0x2dcc01}}={'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':_0x2adb70=>0x1!=_0x2adb70}};_0x1f2fa6['bg']||={'dictionary':{},'getPluralForm':null},_0x1f2fa6['bg']['dictionary']=Object['assign'](_0x1f2fa6['bg']['dictionary'],_0x12416c),_0x1f2fa6['bg']['getPluralForm']=_0x2dcc01;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x5aafb7=>{const {bg:{dictionary:_0x440359,getPluralForm:_0x12d805}}={'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':_0x2f36d1=>0x1!=_0x2f36d1}};_0x5aafb7['bg']||={'dictionary':{},'getPluralForm':null},_0x5aafb7['bg']['dictionary']=Object['assign'](_0x5aafb7['bg']['dictionary'],_0x440359),_0x5aafb7['bg']['getPluralForm']=_0x12d805;})(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':_0x44719e=>0x1!=_0x44719e}};
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':_0x4bb1f4=>0x1!=_0x4bb1f4}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0xa38eab=>{const {bn:{dictionary:_0x2f56c4,getPluralForm:_0x285287}}={'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':_0xca6117=>0x1!=_0xca6117}};_0xa38eab['bn']||={'dictionary':{},'getPluralForm':null},_0xa38eab['bn']['dictionary']=Object['assign'](_0xa38eab['bn']['dictionary'],_0x2f56c4),_0xa38eab['bn']['getPluralForm']=_0x285287;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x305ded=>{const {bn:{dictionary:_0x3855f8,getPluralForm:_0xaf29e9}}={'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':_0x596716=>0x1!=_0x596716}};_0x305ded['bn']||={'dictionary':{},'getPluralForm':null},_0x305ded['bn']['dictionary']=Object['assign'](_0x305ded['bn']['dictionary'],_0x3855f8),_0x305ded['bn']['getPluralForm']=_0xaf29e9;})(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':_0x2a2722=>_0x2a2722%0xa==0x1&&_0x2a2722%0x64!=0xb?0x0:_0x2a2722%0xa>=0x2&&_0x2a2722%0xa<=0x4&&(_0x2a2722%0x64<0xa||_0x2a2722%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':_0x13f79d=>_0x13f79d%0xa==0x1&&_0x13f79d%0x64!=0xb?0x0:_0x13f79d%0xa>=0x2&&_0x13f79d%0xa<=0x4&&(_0x13f79d%0x64<0xa||_0x13f79d%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x27f8f6=>{const {bs:{dictionary:_0x54efdc,getPluralForm:_0x51f13c}}={'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':_0x37a937=>_0x37a937%0xa==0x1&&_0x37a937%0x64!=0xb?0x0:_0x37a937%0xa>=0x2&&_0x37a937%0xa<=0x4&&(_0x37a937%0x64<0xa||_0x37a937%0x64>=0x14)?0x1:0x2}};_0x27f8f6['bs']||={'dictionary':{},'getPluralForm':null},_0x27f8f6['bs']['dictionary']=Object['assign'](_0x27f8f6['bs']['dictionary'],_0x54efdc),_0x27f8f6['bs']['getPluralForm']=_0x51f13c;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x5c8262=>{const {bs:{dictionary:_0x5476b2,getPluralForm:_0x19c6dc}}={'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':_0x4ac5de=>_0x4ac5de%0xa==0x1&&_0x4ac5de%0x64!=0xb?0x0:_0x4ac5de%0xa>=0x2&&_0x4ac5de%0xa<=0x4&&(_0x4ac5de%0x64<0xa||_0x4ac5de%0x64>=0x14)?0x1:0x2}};_0x5c8262['bs']||={'dictionary':{},'getPluralForm':null},_0x5c8262['bs']['dictionary']=Object['assign'](_0x5c8262['bs']['dictionary'],_0x5476b2),_0x5c8262['bs']['getPluralForm']=_0x19c6dc;})(window['CKEDITOR_TRANSLATIONS']||={});