@ckeditor/ckeditor5-uploadcare 47.5.0-alpha.0 → 47.5.0-alpha.1

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 _0x168184,Command as _0x66d3f7}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x41d7b3,IconGooglePhotos as _0x23dac6,IconGoogleDrive as _0x39e411,IconFacebook as _0x3e2228,IconDropbox as _0x3868b0,IconUploadcareLink as _0x253ea0,IconUploadcareImageUpload as _0x11577d,IconError as _0x3f40e6,IconUploadcareImageEdit as _0x588cc0}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x3781e7,MenuBarMenuListItemButtonView as _0x303229,View as _0x46d68b,FocusCycler as _0x205f0d,Dialog as _0xf68484,DialogViewPosition as _0x53db0e,SpinnerView as _0x5963e6,IconView as _0x4a7fc1,Notification as _0x5a1895}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x3e0d75,DomEmitterMixin as _0x217e55,global as _0xf8f836,getAncestors as _0x443ed0,ObservableMixin as _0x5075bd,uid as _0x14a539,createElement as _0x4d4d0e}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x1bd276}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x52340d,info as _0x55fe80}from'@uploadcare/upload-client';import*as _0x1b8e6e from'@uploadcare/file-uploader';var i=function(_0x35bc0e){return _0x35bc0e['Local']='local',_0x35bc0e['URL']='url',_0x35bc0e['Dropbox']='dropbox',_0x35bc0e['GDrive']='gdrive',_0x35bc0e['Facebook']='facebook',_0x35bc0e['GPhotos']='gphotos',_0x35bc0e['OneDrive']='onedrive',_0x35bc0e;}({});function _(_0x3992d1,_0x593985,_0x518272){const t=_0x3992d1['t'],_0x293f5a=_0x3992d1['t'];switch(_0x593985){case i['Local']:return{'text':_0x293f5a('Insert'===_0x518272?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x293f5a('From\x20computer')};case i['URL']:return{'text':'Insert'===_0x518272?_0x293f5a('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x293f5a('Via\x20URL')};case i['Dropbox']:return{'text':t('Insert'===_0x518272?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case i['Facebook']:return{'text':t('Insert'===_0x518272?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case i['GDrive']:return{'text':t('Insert'===_0x518272?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case i['GPhotos']:return{'text':t('Insert'===_0x518272?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case i['OneDrive']:return{'text':t('Insert'===_0x518272?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x593985;}}class e extends _0x168184{['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 _0x4bf36d=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x27cb92;for(const _0x545d72 in _0x4bf36d){const _0x376f79=_0x545d72,_0x1234aa=_0x4bf36d[_0x376f79];if('uploadcareLicenseKeyValid'==_0x1234aa||'uploadcareLicenseKeyInvalid'==_0x1234aa||'uploadcareLicenseKeyExpired'==_0x1234aa||'uploadcareLicenseKeyDomainLimit'==_0x1234aa||'uploadcareLicenseKeyNotAllowed'==_0x1234aa||'uploadcareLicenseKeyEvaluationLimit'==_0x1234aa||'uploadcareLicenseKeyUsageLimit'==_0x1234aa){delete _0x4bf36d[_0x376f79],_0x27cb92=_0x1234aa,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x27cb92&&_0x4bf36d['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x27cb92&&_0x4bf36d['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x27cb92&&_0x4bf36d['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x27cb92&&_0x4bf36d['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x27cb92&&_0x4bf36d['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyUsageLimit'==_0x27cb92&&_0x4bf36d['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x5f5759}=this,_0x9480cd=_0x5f5759['commands']['get']('uploadcare');if(!_0x9480cd)return;const _0x5a4c3a=this['_normalizeConfigSourceList'](_0x5f5759['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x92f3e4,_0x3315a6)=>{const _0x3969c2=this['_getIntegrationKey'](_0x3315a6['type']);return _0x92f3e4[_0x3969c2]||(_0x92f3e4[_0x3969c2]=[]),_0x92f3e4[_0x3969c2]['push'](_0x3315a6),_0x92f3e4;},{});_0x5f5759['plugins']['has']('ImageInsertUI')&&_0x5f5759['commands']['get']('uploadcare')&&Object['entries'](_0x5a4c3a)['forEach'](([_0x2b121d,_0x2fa9eb])=>{_0x5f5759['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x2b121d,'observable':()=>_0x9480cd,'buttonViewCreator':()=>this['_createToolbarButton'](_0x2fa9eb),'formViewCreator':()=>this['_createDropdownButtons'](_0x2fa9eb),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x2fa9eb),'override':'assetManager'!==_0x2b121d});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x5cb839){const {locale:_0x4a1597}=this['editor'];return _0x5cb839['map'](_0x138815=>{const _0x52de9d=_(_0x4a1597,_0x138815,'Insert');switch(_0x138815){case i['Local']:return{'icon':_0x11577d,'type':i['Local'],..._0x52de9d};case i['URL']:return{'icon':_0x253ea0,'type':i['URL'],..._0x52de9d};case i['Dropbox']:return{'icon':_0x3868b0,'type':i['Dropbox'],..._0x52de9d};case i['Facebook']:return{'icon':_0x3e2228,'type':i['Facebook'],..._0x52de9d};case i['GDrive']:return{'icon':_0x39e411,'type':i['GDrive'],..._0x52de9d};case i['GPhotos']:return{'icon':_0x23dac6,'type':i['GPhotos'],..._0x52de9d};case i['OneDrive']:return{'icon':_0x41d7b3,'type':i['OneDrive'],..._0x52de9d};}});}['_getIntegrationKey'](_0xd3c8ad){switch(_0xd3c8ad){case i['Local']:return'upload';case i['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x4c3c5d,_0x48a865){const _0xdf00cf=this['editor'],_0x9c2ef=new _0x4c3c5d(_0xdf00cf['locale']),_0x159671=_0xdf00cf['commands']['get']('uploadcare');return _0x9c2ef['bind']('isEnabled')['to'](_0x159671),_0x9c2ef['on']('execute',()=>{_0x159671['execute'](_0x48a865);}),_0x9c2ef;}['_createToolbarButton'](_0x3c8249){const {locale:_0x209d75}=this['editor'],_0x188c1a=this['editor']['plugins']['get']('ImageInsertUI'),_0x5605a6=_0x3c8249[0x0],_0x5c11df=this['_createButton'](_0x3781e7,_0x5605a6['type']);return _0x5c11df['icon']=_0x5605a6['icon'],_0x5c11df['bind']('label')['to'](_0x188c1a,'isImageSelected',_0x56d1c3=>_(_0x209d75,_0x5605a6['type'],_0x56d1c3?'Replace':'Insert')['text']),_0x5c11df['tooltip']=!0x0,_0x5c11df;}['_createDropdownButtons'](_0x4534fc){const {locale:_0x99054d}=this['editor'],_0x2b9386=this['editor']['plugins']['get']('ImageInsertUI');return _0x4534fc['map'](_0x35c4a6=>{const _0x4a5904=this['_createButton'](_0x3781e7,_0x35c4a6['type']);return _0x4a5904['withText']=!0x0,_0x4a5904['icon']=_0x35c4a6['icon'],_0x4a5904['bind']('label')['to'](_0x2b9386,'isImageSelected',_0x85410c=>_(_0x99054d,_0x35c4a6['type'],_0x85410c?'Replace':'Insert')['text']),_0x4a5904;});}['_createMenuBarButtons'](_0x3b4639){return _0x3b4639['map'](_0x163e23=>{const _0x110423=this['_createButton'](_0x303229,_0x163e23['type']);return _0x110423['icon']=_0x163e23['icon'],_0x110423['label']=_0x163e23['shortText'],_0x110423;});}}class F extends _0x46d68b{['focusTracker'];['focusCycler'];constructor(_0x5ee153){super(_0x5ee153),this['focusTracker']=new _0x3e0d75(),this['focusCycler']=new _0x205f0d({'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(_0xc598b8,_0x558a29){super(_0xc598b8),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-'+_0x558a29}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function C(_0x49938f,_0x5e7265){const _0x5ed36f=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x4bfe78=>_0x4bfe78<=_0x5e7265)['map'](_0x18bcc2=>_0x49938f['replace'](/\/$/,'')+'/-/resize/'+_0x18bcc2+'x/\x20'+_0x18bcc2+'w');return{'imageFallbackUrl':_0x49938f,'imageSources':[{'srcset':_0x5ed36f['join'](',\x20'),'sizes':'(max-width:\x20'+_0x5e7265+'px)\x20100vw,\x20'+_0x5e7265+'px','type':'image/webp'}]};}function S(_0x26ac76,_0x5554d2,_0x3503ca){const _0x1126e6=_0x26ac76['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x1126e6?parseInt(_0x1126e6[0x1],0xa):_0x5554d2,'height':_0x1126e6?parseInt(_0x1126e6[0x2],0xa):_0x3503ca};}function p(_0x217d11,_0x55a92d){const _0x4769af=new(_0x217e55())(),_0x37bfad=_0x217d11['plugins']['get']('ImageUtils'),_0x1f7409=_0x217d11['editing']['mapper']['toViewElement'](_0x55a92d),_0xef01b0=_0x37bfad['findViewImgElement'](_0x1f7409),_0x5a3e54=_0x217d11['editing']['view']['domConverter']['viewToDom'](_0xef01b0),_0x2bc51f=_0x55a92d['getAttribute']('width'),_0x282d64=_0x55a92d['getAttribute']('height'),_0x44c755='image-processing';_0x217d11['editing']['view']['change'](_0x543161=>{_0x543161['addClass'](_0x44c755,_0x1f7409),_0x543161['setStyle']('aspect-ratio',_0x2bc51f+'/'+_0x282d64,_0xef01b0);}),_0x4769af['listenTo'](_0x5a3e54,'load',()=>{_0x4769af['stopListening'](_0x5a3e54,'load'),_0x217d11['editing']['view']['change'](_0x1d87a9=>{_0x1d87a9['removeClass'](_0x44c755,_0x1f7409),_0x1d87a9['removeStyle']('aspect-ratio',_0xef01b0);});});}function z(_0x33e9a4){if(Array['isArray'](_0x33e9a4)){const _0x1a754b=_0x33e9a4['map'](z);return _0x4a8aee=>_0x1a754b['some'](_0x4a0ba0=>_0x4a0ba0(_0x4a8aee));}if('origin'==_0x33e9a4){const _0x37b533=_0xf8f836['window']['location']['origin'];return _0x53d48b=>new URL(_0x53d48b,_0xf8f836['document']['baseURI'])['origin']==_0x37b533;}return'function'==typeof _0x33e9a4?_0x33e9a4:_0x33e9a4 instanceof RegExp?_0x5eb7a1=>!(!_0x5eb7a1['match'](_0x33e9a4)&&!_0x5eb7a1['replace'](/^https?:\/\//,'')['match'](_0x33e9a4)):()=>!0x1;}function A(_0x53c3b5,_0x42c14b){return _0x443ed0(_0x53c3b5['target'])['includes'](_0x42c14b);}class n extends/* #__PURE__ -- @preserve */
24
- _0x5075bd(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x52bacf,_0x35b9d7,_0x42385b){super(),this['_editor']=_0x52bacf,this['_editing']=_0x35b9d7,this['_dialog']=_0x52bacf['plugins']['get'](_0xf68484),this['_api']=_0x35b9d7['ctxElement']['getAPI'](),this['_type']=_0x42385b,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:_0x2daf11,model:_0x598eff}=this['_editor'],_0x5a385b=_0x598eff['document']['selection']['getSelectedElement'](),_0x4e8038=_0x5a385b&&(_0x5a385b['is']('element','imageBlock')||_0x5a385b['is']('element','imageInline'));this['_formView']=new x(_0x2daf11,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':_0x11577d,'title':_(_0x2daf11,this['_type'],_0x4e8038?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x53db0e['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x193b34=>!A(_0x193b34,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x457356}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x462c3a=>{const _0x150b47=_0x457356['length'];for(const _0xb96932 of _0x457356){const _0x4ff319=_0xb96932===_0x457356[_0x150b47-0x1],{cdnUrl:_0x2b1a13,fileInfo:_0x3f310d}=_0xb96932;if(!_0x2b1a13||!_0x3f310d)continue;const {width:_0x294aab,height:_0x1850cc}=_0x3f310d['imageInfo'],_0x17cb8c=S(_0x2b1a13,_0x294aab,_0x1850cc),_0x598dab=C(_0x2b1a13,_0x17cb8c['width']),_0x285247={'id':_0x3f310d['uuid'],'type':'image','attributes':{'imageDimension':_0x17cb8c,..._0x598dab}};this['_insertAsset'](_0x285247,_0x4ff319,_0x462c3a);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x1d94b0=>{'idle'===_0x1d94b0['detail']['status']&&!_0x1d94b0['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===i['Local']?this['_api']['setCurrentActivity'](i['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x48e8ce,_0x2b20ae,_0xe5c435){const _0x1f1bb3=this['_editor']['model']['document']['selection'],_0x28704f=_0x1f1bb3['getSelectedElement'](),_0x20f092=!(!_0x28704f||!_0x28704f['is']('element','imageInline'));_0xe5c435['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x48e8ce,_0x20f092),_0x2b20ae||_0xe5c435['setSelection'](_0x1f1bb3['getLastPosition']());}['_insertImage'](_0x24a173,_0x5ab413){const _0x3e1968=this['_editor'],{imageDimension:_0x235c13,imageFallbackUrl:_0x70c9aa,imageSources:_0x1fb015}=_0x24a173['attributes'];_0x3e1968['execute']('insertImage',{'imageType':_0x5ab413?'imageInline':null,'source':{'uploadcareImageId':_0x24a173['id'],'src':_0x70c9aa,'sources':_0x1fb015,..._0x235c13}});}}class w extends _0x66d3f7{['_editing'];['_controller']=null;static get['requires'](){return[_0xf68484,o];}constructor(_0x3b8e1c){super(_0x3b8e1c),this['_editing']=_0x3b8e1c['plugins']['get'](o);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x30c921){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new n(this['editor'],this['_editing'],_0x30c921);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class j{static['upload']({file:_0x329262,..._0x11f186}){return _0x52340d(_0x329262,_0x11f186);}static['getInfo'](_0x53b91a,_0x20706e){return _0x55fe80(_0x53b91a,_0x20706e);}}class f extends _0x168184{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x1bd276,o];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x119105=this['editor'];if(!!!_0x119105['config']['get']('uploadcare'))return;_0x119105['plugins']['get'](_0x1bd276)['createUploadAdapter']=_0x43f3bd=>new k(_0x43f3bd,_0x119105),_0x119105['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x46cfd1,{imageElement:_0x2d966b,data:_0x1c4949})=>{_0x119105['model']['change'](_0x5864e8=>{_0x5864e8['setAttribute']('uploadcareImageId',_0x1c4949['uploadcareImageId'],_0x2d966b);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x3b2de5,_0x3cbfb1){this['loader']=_0x3b2de5,this['editor']=_0x3cbfb1,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x2ed219=await this['loader']['file'];return j['upload']({'file':_0x2ed219,'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':_0x3154f0=>{_0x3154f0&&_0x3154f0['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x3154f0['value']);}})['then'](async _0x3895e4=>{const {imageFallbackUrl:_0x1979d8,imageSources:_0x256b90}=C(_0x3895e4['cdnUrl'],_0x3895e4['imageInfo']['width']);return{'uploadcareImageId':_0x3895e4['uuid'],'default':_0x1979d8,'sources':_0x256b90};})['catch'](()=>{const _0x2558b8=t('Cannot\x20upload\x20file:')+('\x20'+_0x2ed219['name']+'.');return Promise['reject'](_0x2558b8);});}['abort'](){this['controller']['abort']();}}class o extends _0x168184{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',f,_0xf68484];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['ucContextId'];get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}constructor(_0x4eb9a8){super(_0x4eb9a8),this['ucContextId']=_0x14a539();}['init'](){const _0x1bf58f=this['editor'];_0x1bf58f['commands']['add']('uploadcare',new w(_0x1bf58f));}['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 _0x5ac02a=_0xf8f836['document']['querySelector']('input[uploadcare-file-input]');_0x5ac02a&&_0x5ac02a['remove']();}),async function(_0x53343c){const _0x283f67=_0x2de29a([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]),_0x26d0ac=0x535f8c3a,_0x407cf6=0x53580cfa^_0x26d0ac,_0x31a3c4=window[_0x2de29a([0x44,0x61,0x74,0x65])][_0x2de29a([0x6e,0x6f,0x77])](),_0x4a059d=_0x53343c[_0x2de29a([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x164760=new window[(_0x2de29a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x29ed28=>{_0x4a059d[_0x2de29a([0x6f,0x6e,0x63,0x65])](_0x2de29a([0x72,0x65,0x61,0x64,0x79]),_0x29ed28);}),_0x3d858e={[_0x2de29a([0x6b,0x74,0x79])]:_0x2de29a([0x45,0x43]),[_0x2de29a([0x75,0x73,0x65])]:_0x2de29a([0x73,0x69,0x67]),[_0x2de29a([0x63,0x72,0x76])]:_0x2de29a([0x50,0x2d,0x32,0x35,0x36]),[_0x2de29a([0x78])]:_0x2de29a([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]),[_0x2de29a([0x79])]:_0x2de29a([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]),[_0x2de29a([0x61,0x6c,0x67])]:_0x2de29a([0x45,0x53,0x32,0x35,0x36])},_0x33693a=_0x4a059d[_0x2de29a([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2de29a([0x67,0x65,0x74])](_0x2de29a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x3fe82b(){let _0xb2d8b1,_0x357816=null,_0x2aef43=null;try{if(_0x33693a==_0x2de29a([0x47,0x50,0x4c]))return _0x2de29a([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0xb2d8b1=_0x5e890b(),!_0xb2d8b1)return _0x2de29a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0xb2d8b1[_0x2de29a([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x2aef43=_0x2bba7b(_0xb2d8b1[_0x2de29a([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0xb2d8b1[_0x2de29a([0x6a,0x74,0x69])])),await _0x3534f1()?_0x55e545()?_0x458558()?_0x2de29a([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x5042d5()?(_0xb2d8b1[_0x2de29a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2de29a([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x357816=_0x36b5b9(_0x2de29a([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4d8aed()):_0x2de29a([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2de29a([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2de29a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x2de29a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x458558(){const _0x542a31=[_0x2de29a([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2de29a([0x74,0x72,0x69,0x61,0x6c])][_0x2de29a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xb2d8b1[_0x2de29a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x31a3c4/0x3e8:0xe10*_0x407cf6;return _0xb2d8b1[_0x2de29a([0x65,0x78,0x70])]<_0x542a31;}function _0x55e545(){const _0x2d495c=_0xb2d8b1[_0x2de29a([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x2d495c&&(!!_0x2d495c[_0x2de29a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2de29a([0x2a]))||!!_0x2d495c[_0x2de29a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2de29a([0x55,0x50,0x4c,0x43])));}function _0x5042d5(){const _0x5c7a79=_0xb2d8b1[_0x2de29a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5c7a79||0x0==_0x5c7a79[_0x2de29a([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1aaa42}=new URL(window[_0x2de29a([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x5c7a79[_0x2de29a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1aaa42))return!0x0;const _0x12dbe8=_0x1aaa42[_0x2de29a([0x73,0x70,0x6c,0x69,0x74])](_0x2de29a([0x2e]));return _0x5c7a79[_0x2de29a([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2e4704=>_0x2e4704[_0x2de29a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2de29a([0x2a])))[_0x2de29a([0x6d,0x61,0x70])](_0x4b7717=>_0x4b7717[_0x2de29a([0x73,0x70,0x6c,0x69,0x74])](_0x2de29a([0x2e])))[_0x2de29a([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x458687=>_0x458687[_0x2de29a([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x12dbe8[_0x2de29a([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2de29a([0x6d,0x61,0x70])](_0x313001=>Array(_0x12dbe8[_0x2de29a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x313001[_0x2de29a([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2de29a([0x66,0x69,0x6c,0x6c])](_0x313001[0x0]===_0x2de29a([0x2a])?_0x2de29a([0x2a]):'')[_0x2de29a([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x313001))[_0x2de29a([0x73,0x6f,0x6d,0x65])](_0x16dcc8=>_0x12dbe8[_0x2de29a([0x65,0x76,0x65,0x72,0x79])]((_0x33102e,_0x2ff061)=>_0x16dcc8[_0x2ff061]===_0x33102e||_0x16dcc8[_0x2ff061]===_0x2de29a([0x2a])));}function _0x4d8aed(){return _0x357816&&_0x2aef43?new window[(_0x2de29a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x572757,_0x34730e)=>{_0x357816[_0x2de29a([0x74,0x68,0x65,0x6e])](_0x572757,_0x34730e),_0x2aef43[_0x2de29a([0x74,0x68,0x65,0x6e])](_0x4e6869=>{_0x4e6869!=_0x2de29a([0x56,0x61,0x6c,0x69,0x64])&&_0x572757(_0x4e6869);},_0x34730e);}):_0x357816||_0x2aef43||_0x2de29a([0x56,0x61,0x6c,0x69,0x64]);}}function _0x2bba7b(_0x598e8d,_0xe661d5){return new window[(_0x2de29a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x9e34e3=>{if(_0x22e496())return _0x9e34e3(_0x2de29a([0x56,0x61,0x6c,0x69,0x64]));_0x26eabe(),_0x4a059d[_0x2de29a([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2de29a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x49e227=!0x1;const _0xee94c7=_0x14a539();function _0x236f30(_0x4688c5){return!!_0x4688c5&&(typeof _0x4688c5===_0x2de29a([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x4688c5===_0x2de29a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x4688c5[_0x2de29a([0x74,0x68,0x65,0x6e])]===_0x2de29a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x4688c5[_0x2de29a([0x63,0x61,0x74,0x63,0x68])]===_0x2de29a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1a5aa0(_0x5eb30f){_0x147160(_0x5eb30f)[_0x2de29a([0x74,0x68,0x65,0x6e])](_0x42d2=>{if(!_0x42d2||_0x42d2[_0x2de29a([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2de29a([0x6f,0x6b]))return _0x2de29a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x4f21cc(_0x152112(_0xee94c7+_0xe661d5))!=_0x42d2[_0x2de29a([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2de29a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2de29a([0x56,0x61,0x6c,0x69,0x64]);})[_0x2de29a([0x74,0x68,0x65,0x6e])](_0xda23f6=>(_0x2ed3d6(),_0xda23f6),()=>{const _0xbf3810=_0xc9f47b();return null==_0xbf3810?(_0x2ed3d6(),_0x2de29a([0x56,0x61,0x6c,0x69,0x64])):_0x2de29a(_0x31a3c4-_0xbf3810>(0x7753083a^_0x26d0ac)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2de29a([0x74,0x68,0x65,0x6e])](_0x9e34e3)[_0x2de29a([0x63,0x61,0x74,0x63,0x68])](()=>{_0x9e34e3(_0x2de29a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x539782=0x536962ba^_0x26d0ac;function _0x2ed3d6(){const _0x427722=_0x2de29a([0x6c,0x6c,0x63,0x74,0x2d])+_0x4f21cc(_0x152112(_0x598e8d)),_0x1d4916=_0x2eadbc(_0x4f21cc(window[_0x2de29a([0x4d,0x61,0x74,0x68])][_0x2de29a([0x63,0x65,0x69,0x6c])](_0x31a3c4/_0x539782)));window[_0x2de29a([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2de29a([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x427722,_0x1d4916);}function _0xc9f47b(){const _0x18d0db=_0x2de29a([0x6c,0x6c,0x63,0x74,0x2d])+_0x4f21cc(_0x152112(_0x598e8d)),_0x59f8f2=window[_0x2de29a([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2de29a([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x18d0db);return _0x59f8f2?window[_0x2de29a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2eadbc(_0x59f8f2),0x10)*_0x539782:null;}function _0x147160(_0x450010){return new window[(_0x2de29a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x32ed56,_0x1894c6)=>{_0x450010[_0x2de29a([0x74,0x68,0x65,0x6e])](_0x32ed56,_0x1894c6),window[_0x2de29a([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x1894c6,0x535e58fa^_0x26d0ac);});}}_0x4a059d[_0x2de29a([0x6f,0x6e])](_0x2de29a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x134536,_0x4b781a)=>{if(_0x4b781a[0x0]!=_0x598e8d)return _0x9e34e3(_0x2de29a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4b781a[0x1]={..._0x4b781a[0x1],[_0x2de29a([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0xee94c7};},{[_0x2de29a([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2de29a([0x68,0x69,0x67,0x68])}),_0x4a059d[_0x2de29a([0x6f,0x6e])](_0x2de29a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x26dca4=>{_0x236f30(_0x26dca4[_0x2de29a([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x49e227=!0x0,_0x1a5aa0(_0x26dca4[_0x2de29a([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2de29a([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2de29a([0x6c,0x6f,0x77])}),_0x164760[_0x2de29a([0x74,0x68,0x65,0x6e])](()=>{_0x49e227||_0x9e34e3(_0x2de29a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x22e496(){return _0x4a059d[_0x2de29a([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2de29a([0x76,0x69,0x65,0x77])][_0x2de29a([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2de29a([0x61,0x75,0x74,0x6f]);}function _0x26eabe(){_0x4a059d[_0x2de29a([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2de29a([0x76,0x69,0x65,0x77])][_0x2de29a([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2de29a([0x61,0x75,0x74,0x6f]);}}function _0x36b5b9(_0x41329c){const _0x4bb2cd=[new window[(_0x2de29a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1b90b7=>setTimeout(_0x1b90b7,0x5356b2f6^_0x26d0ac)),_0x164760[_0x2de29a([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2de29a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x588f41=>{let _0xbeac48=0x0;_0x4a059d[_0x2de29a([0x6d,0x6f,0x64,0x65,0x6c])][_0x2de29a([0x6f,0x6e])](_0x2de29a([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5a0696,_0x1d3b64)=>{_0x1d3b64[0x0][_0x2de29a([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0xbeac48++,_0xbeac48==(0x535f89d2^_0x26d0ac)&&(_0x588f41(),_0x5a0696[_0x2de29a([0x6f,0x66,0x66])]());});}))];return window[_0x2de29a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2de29a([0x72,0x61,0x63,0x65])](_0x4bb2cd)[_0x2de29a([0x74,0x68,0x65,0x6e])](()=>_0x41329c);}async function _0x28010b(){await _0x164760,_0x4a059d[_0x2de29a([0x6d,0x6f,0x64,0x65,0x6c])][_0x2de29a([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2170d3,_0x4a059d[_0x2de29a([0x6d,0x6f,0x64,0x65,0x6c])][_0x2de29a([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2170d3,_0x4a059d[_0x2de29a([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2de29a([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x27ed13(_0x549a13){const _0x44d9ef=_0x1e27cd();_0x4a059d[_0x44d9ef]=_0x2de29a([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x549a13,_0x549a13!=_0x2de29a([0x56,0x61,0x6c,0x69,0x64])&&_0x28010b();}function _0x1e27cd(){const _0x79b465=window[_0x2de29a([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2de29a([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2de29a([0x6e,0x6f,0x77])]())[_0x2de29a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2de29a([0x2e]),'');let _0x3ffd08=_0x2de29a([0x68]);for(let _0x168e73=0x0;_0x168e73<_0x79b465[_0x2de29a([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x168e73+=0x2){let _0x42d114=window[_0x2de29a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x79b465[_0x2de29a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x168e73,_0x168e73+0x2));_0x42d114>=_0x283f67[_0x2de29a([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x42d114-=_0x283f67[_0x2de29a([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3ffd08+=_0x283f67[_0x42d114];}return _0x3ffd08;}function _0x5e890b(){const _0x47c81b=_0x33693a[_0x2de29a([0x73,0x70,0x6c,0x69,0x74])](_0x2de29a([0x2e]));if(0x3!=_0x47c81b[_0x2de29a([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x32db31(_0x47c81b[0x1]);function _0x32db31(_0x41a0b6){const _0x3347d2=_0xca3595(_0x41a0b6);return _0x3347d2&&_0x3e2fab()?_0x3347d2:null;function _0x3e2fab(){const _0x581c9a=_0x3347d2[_0x2de29a([0x6a,0x74,0x69])],_0x33b37d=window[_0x2de29a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x581c9a[_0x2de29a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x581c9a[_0x2de29a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x5881f5={..._0x3347d2,[_0x2de29a([0x6a,0x74,0x69])]:_0x581c9a[_0x2de29a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x581c9a[_0x2de29a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x5881f5[_0x2de29a([0x76,0x63])],_0x152112(_0x5881f5)==_0x33b37d;}}}async function _0x3534f1(){let _0x7f7cbf=!0x0;try{const _0x104a28=_0x33693a[_0x2de29a([0x73,0x70,0x6c,0x69,0x74])](_0x2de29a([0x2e])),[_0x232bad,_0x5d5279,_0xc6b52a]=_0x104a28;return _0x3fac07(_0x232bad),await _0x36ea5b(_0x232bad,_0x5d5279,_0xc6b52a),_0x7f7cbf;}catch{return!0x1;}function _0x3fac07(_0x46fff0){const _0x2dc587=_0xca3595(_0x46fff0);_0x2dc587&&_0x2dc587[_0x2de29a([0x61,0x6c,0x67])]==_0x2de29a([0x45,0x53,0x32,0x35,0x36])||(_0x7f7cbf=!0x1);}async function _0x36ea5b(_0x9e667,_0x326559,_0x14b485){const _0x4b51ba=window[_0x2de29a([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2de29a([0x66,0x72,0x6f,0x6d])](_0x67d967(_0x14b485),_0x17b26e=>_0x17b26e[_0x2de29a([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x448b69=new window[(_0x2de29a([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2de29a([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x9e667+_0x2de29a([0x2e])+_0x326559),_0x4ac756=window[_0x2de29a([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2de29a([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4ac756)return;const _0x47b072=await _0x4ac756[_0x2de29a([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2de29a([0x6a,0x77,0x6b]),_0x3d858e,{[_0x2de29a([0x6e,0x61,0x6d,0x65])]:_0x2de29a([0x45,0x43,0x44,0x53,0x41]),[_0x2de29a([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2de29a([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2de29a([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4ac756[_0x2de29a([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2de29a([0x6e,0x61,0x6d,0x65])]:_0x2de29a([0x45,0x43,0x44,0x53,0x41]),[_0x2de29a([0x68,0x61,0x73,0x68])]:{[_0x2de29a([0x6e,0x61,0x6d,0x65])]:_0x2de29a([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x47b072,_0x4b51ba,_0x448b69)||(_0x7f7cbf=!0x1);}}function _0xca3595(_0x2309de){return _0x2309de[_0x2de29a([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2de29a([0x65,0x79]))?JSON[_0x2de29a([0x70,0x61,0x72,0x73,0x65])](_0x67d967(_0x2309de)):null;}function _0x67d967(_0x50fc8d){return window[_0x2de29a([0x61,0x74,0x6f,0x62])](_0x50fc8d[_0x2de29a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2de29a([0x2b]))[_0x2de29a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2de29a([0x2f])));}function _0x152112(_0x5721b7){let _0x361f5f=0x1505;function _0x4e6ad6(_0x5d2f94){for(let _0x204469=0x0;_0x204469<_0x5d2f94[_0x2de29a([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x204469++){const _0x537c08=_0x5d2f94[_0x2de29a([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x204469);_0x361f5f=(_0x361f5f<<0x5)+_0x361f5f+_0x537c08,_0x361f5f&=_0x361f5f;}}function _0x5f5dc3(_0x38c627){Array[_0x2de29a([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x38c627)?_0x38c627[_0x2de29a([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5f5dc3):_0x38c627&&typeof _0x38c627==_0x2de29a([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2de29a([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x38c627)[_0x2de29a([0x73,0x6f,0x72,0x74])]()[_0x2de29a([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x3dbed2,_0x31530c])=>{_0x4e6ad6(_0x3dbed2),_0x5f5dc3(_0x31530c);}):_0x4e6ad6(window[_0x2de29a([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x38c627));}return _0x5f5dc3(_0x5721b7),_0x361f5f>>>0x0;}function _0x4f21cc(_0x5aa22e){return _0x5aa22e[_0x2de29a([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2de29a([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2de29a([0x30]));}function _0x2eadbc(_0x5dee62){return _0x5dee62[_0x2de29a([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2de29a([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2de29a([0x6a,0x6f,0x69,0x6e])]('');}function _0x2170d3(){}function _0x2de29a(_0x5b32bf){return _0x5b32bf['map'](_0x56b51e=>String['fromCharCode'](_0x56b51e))['join']('');}_0x27ed13(await _0x3fe82b());}(this);}['_initSchema'](){const _0x3b7672=this['editor']['model']['schema'];_0x3b7672['isRegistered']('imageBlock')&&_0x3b7672['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x3b7672['isRegistered']('imageInline')&&_0x3b7672['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x45bc0e=this['editor'];_0x45bc0e['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x45bc0e['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x23ee26=>_0x23ee26['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x490101=_0x45bc0e['commands']['get']('replaceImageSource');_0x490101&&this['listenTo'](_0x490101,'cleanupImage',(_0x38e564,[_0x3e197f,_0x4910a0])=>{_0x3e197f['removeAttribute']('uploadcareImageId',_0x4910a0);});}['_initConfig'](){const _0x16afe9=this['editor']['config']['get']('uploadcare.uploader')||{},_0x4c6b24=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x4d4d0e(_0xf8f836['document'],'uc-config',{..._0x16afe9,'pubkey':_0x4c6b24,'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']=_0xc5f191=>{if('closeMax'==_0xc5f191)return'#uc-icon-arrow-down';},_0xf8f836['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x4d4d0e(_0xf8f836['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),_0xf8f836['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x54801e=this['editor']['commands']['get']('insertImage');_0x54801e&&this['listenTo'](_0x54801e,'execute',()=>{const _0x2bf83e=this['editor']['model']['document']['selection']['getSelectedElement']();_0x2bf83e&&_0x2bf83e['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x2bf83e);});});const _0x35b9f3=this['editor']['commands']['get']('uploadcareImageReplace');_0x35b9f3&&this['listenTo'](_0x35b9f3,'execute',()=>{const _0x241187=this['editor']['model']['document']['selection']['getSelectedElement']();_0x241187&&_0x241187['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x241187);});});}}class tt extends _0x168184{static get['requires'](){return[o,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x4d4936){super(_0x4d4936),_0x4d4936['config']['define']('uploadcare.uploader.sourceList',[i['Local'],i['URL']]),_0x1b8e6e['defineComponents'](_0x1b8e6e),this['_defineLocale']();}['_defineLocale'](){const _0x1ac803=this['editor']['config']['get']('uploadcare.locale'),_0x25e329=this['editor']['locale']['contentLanguage'];_0x1ac803&&_0x1b8e6e['defineLocale'](_0x25e329,_0x1ac803);}}class ii extends _0x46d68b{constructor(_0x76b221){super(_0x76b221);const t=_0x76b221['t'],_0x37f8dc=this['bindTemplate'],_0x5ab8c6=new _0x5963e6();_0x5ab8c6['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':[_0x5ab8c6,{'text':_0x37f8dc['to']('imageUploadProgress',_0x4c8c2c=>t('Loading\x20image...')+'\x20('+(_0x4c8c2c||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 _0x46d68b{constructor(_0x39e589){super(_0x39e589);const t=_0x39e589['t'];this['set']('errorType',null);const _0x58d6f3=new _0x3781e7(_0x39e589);_0x58d6f3['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x58d6f3['withText']=!0x0,_0x58d6f3['class']='ck-button-action',_0x58d6f3['on']('execute',()=>{this['fire']('retry');}),_0x58d6f3['bind']('isVisible')['to'](this,'errorType',_0x227b25=>'NotFound'!==_0x227b25);const _0xb7347=new _0x4a7fc1();_0xb7347['content']=_0x3f40e6,_0xb7347['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x4d9912=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':[_0xb7347,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x4d9912['to']('errorType',_0x38ebf5=>t('NotFound'!==_0x38ebf5?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x58d6f3]},{'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 _0x46d68b{constructor(_0x62aaa4,_0x3a6a57){super(_0x62aaa4);const _0x3ab7cf=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x3a6a57,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x3ab7cf['to']('imageSrc')}});}}class X extends F{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x29ddf9,_0x45b7b2,_0x2a5851){super(_0x29ddf9),this['_items']=this['createCollection'](),this['_loadingView']=new ii(_0x29ddf9),this['_errorView']=new ti(_0x29ddf9),this['_editingView']=new ei(_0x29ddf9,_0x2a5851),this['_focusableView']=new _0x46d68b(_0x29ddf9),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x45b7b2),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'],_0x3a1894=>{this['_addUploadcareImageEditorListeners'](_0x3a1894);});}),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'](_0x523957,_0x5c7b31){const _0x49099e='uc-cloud-image-editor',_0x28089d=_0x523957['querySelector'](_0x49099e);if(_0x28089d)return _0x5c7b31(_0x28089d);const _0x12d76d=new MutationObserver(_0x505db0=>{const _0x181978=_0x505db0['filter'](_0x7afcc=>_0x7afcc['target']===_0x523957&&_0x7afcc['addedNodes']['length']>0x0&&_0x7afcc['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x49099e);_0x181978['length']&&(_0x12d76d['disconnect'](),_0x5c7b31(_0x181978[0x0]['addedNodes'][0x0]));});_0x12d76d['observe'](_0x523957,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x484066){_0x484066['addEventListener']('apply',_0x168f17=>{this['fire']('apply',{'imageSrc':_0x168f17['detail']['cdnUrl']});}),_0x484066['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class N extends/* #__PURE__ -- @preserve */
25
- _0x5075bd(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x1e63d2,_0x4286ff,_0xcc2f18){super(),this['_editor']=_0x1e63d2,this['_dialog']=_0x4286ff,this['_imageElement']=_0xcc2f18,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 _0x41e16c=this['_imageElement'],_0x1b826a=_0x41e16c['getAttribute']('uploadcareImageId'),_0x4211f9=_0x41e16c['getAttribute']('src');if(_0x1b826a)await this['_loadImageInfo'](_0x1b826a,_0x4211f9);else{if(this['_imageCache']['has'](_0x4211f9)){const _0x5741c8=this['_imageCache']['get'](_0x4211f9);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x5741c8['url'],this['imageDimension']=_0x5741c8['dimension'],this['imageId']=_0x5741c8['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x503af5}=this['_editor'],t=_0x503af5['t'],_0x335788=new X(_0x503af5,this['imageStatus'],this['_attributes']);_0x335788['bind']('status')['to'](this,'imageStatus'),_0x335788['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x335788['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x335788['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x335788,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x588cc0,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x335788,'position':_0x53db0e['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x335788['focus']();},'onHide':()=>{_0x335788['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x38937d=>!A(_0x38937d,_0x335788['element'])}});}['_loadImageInfo'](_0x4e193a,_0x9a1813){return j['getInfo'](_0x4e193a,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x2dd5cc=>{const {width:_0x2ad730,height:_0x2b866f}=_0x2dd5cc['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x9a1813,this['imageDimension']={'width':_0x2ad730,'height':_0x2b866f},this['imageId']=_0x4e193a;})['catch'](_0x5dd116=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x5dd116['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x3db076,_0x4b9138){return this['_getImageAsFile'](_0x3db076)['then'](_0x389a7f=>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':_0x4b9138['signal'],'file':_0x389a7f,'onProgress':_0x354897=>{_0x354897&&_0x354897['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x354897['value']));}}))['then'](_0x422e69=>{const {width:_0x4bc562,height:_0x196ec2}=_0x422e69['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x422e69['cdnUrl'],this['imageDimension']={'width':_0x4bc562,'height':_0x196ec2},this['imageId']=_0x422e69['uuid'],this['imageUploadProgress']=null;const _0x5ba197=_0x3db076['getAttribute']('src');this['_imageCache']['set'](_0x5ba197,{'id':_0x422e69['uuid'],'url':_0x422e69['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x350a70=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x350a70['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0xa16254,_0x553386){_0xa16254['on']('apply',(_0x7644f3,_0x208c34)=>{this['_replaceImage'](_0x553386,_0x208c34['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0xa16254['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0xa16254['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x4bb200,_0x44bf12,_0x14e7a3){const _0x47e012=this['_editor'],{width:_0x341f73,height:_0x18e4f7}=S(_0x44bf12,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x5447c2,imageSources:_0x335fa1}=C(_0x44bf12,_0x341f73);_0x47e012['model']['change'](_0x3d5ea9=>{if('$graveyard'===_0x4bb200['root']['rootName']){_0x47e012['execute']('insertImage',{'imageType':_0x4bb200['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x4bb200['getAttributes']()),'uploadcareImageId':_0x14e7a3,'src':_0x5447c2,'sources':_0x335fa1,'width':_0x341f73,'height':_0x18e4f7}});const _0x9fe936=_0x4bb200['getChildren']();_0x4bb200=_0x47e012['model']['document']['selection']['getSelectedElement']();for(const _0x400b6c of _0x9fe936)_0x3d5ea9['append'](_0x3d5ea9['cloneElement'](_0x400b6c),_0x4bb200);}else _0x3d5ea9['setSelection'](_0x4bb200,'on'),_0x47e012['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x4bb200['getAttributes']()),'uploadcareImageId':_0x14e7a3,'src':_0x5447c2,'sources':_0x335fa1,'width':_0x341f73,'height':_0x18e4f7},_0x4bb200);_0x3d5ea9['setSelection'](_0x4bb200,'on');});}async['_getImageAsFile'](_0x4e8bed){const _0x191c6c=_0xf8f836['window'],_0x5e93e4=_0xf8f836['document']['location']['href'],_0x573267=new _0x191c6c['URL'](_0x4e8bed['getAttribute']('src'),_0x5e93e4);if('data:'===_0x573267['protocol']){const _0x129b86=_0x573267['href']['split'](','),_0x38c814=_0x129b86[0x0]['match'](/:(.*?);/)[0x1],_0x17f4df=_0x38c814['split']('/')[0x1],_0x4f3d77=_0x191c6c['atob'](_0x129b86[_0x129b86['length']-0x1]);let _0x365f5d=_0x4f3d77['length'];const _0x5cb616=new _0x191c6c['Uint8Array'](_0x365f5d);for(;_0x365f5d--;)_0x5cb616[_0x365f5d]=_0x4f3d77['charCodeAt'](_0x365f5d);return new _0x191c6c['File']([_0x5cb616],'image.'+_0x17f4df,{'type':_0x38c814});}const _0x740367=_0x573267['href']['split']('/'),_0x4d9e4c=_0x740367[_0x740367['length']-0x1],_0x72b50a=_0x4d9e4c['split']('.')[0x1];return _0x191c6c['fetch'](_0x573267['href'])['then'](_0x33ed52=>_0x33ed52['clone']()['blob']())['then'](_0x2a8597=>new _0x191c6c['File']([_0x2a8597],_0x4d9e4c,{'type':'image/'+_0x72b50a}));}}class Q extends _0x66d3f7{['imageEditController'];static get['requires'](){return[_0xf68484];}['_isEditable'];constructor(_0x3e62d3){super(_0x3e62d3),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x5c36dd){const _0x1bcf12=z(_0x5c36dd);return _0x180b78=>!(!_0x180b78||!_0x180b78['is']('element','imageBlock')&&!_0x180b78['is']('element','imageInline'))&&(!!_0x180b78['hasAttribute']('uploadcareImageId')||!!_0x180b78['hasAttribute']('src')&&_0x1bcf12(_0x180b78['getAttribute']('src')));}(_0x3e62d3['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x41076d=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x41076d);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x4f7f63=this['editor']['model']['document']['selection']['getSelectedElement']();_0x4f7f63&&(_0x4f7f63['is']('element','imageBlock')||_0x4f7f63['is']('element','imageInline'))&&(this['imageEditController']=new N(this['editor'],this['editor']['plugins']['get'](_0xf68484),_0x4f7f63),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class V extends _0x66d3f7{['refresh'](){const _0x56e886=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x56e886&&(_0x56e886['is']('element','imageBlock')||_0x56e886['is']('element','imageInline')));}['execute'](_0x5e7d6f){const _0x4b40ef=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x1286aa=>{_0x1286aa['setAttributes'](_0x5e7d6f,_0x4b40ef),_0x1286aa['removeAttribute']('srcset',_0x4b40ef),_0x1286aa['removeAttribute']('sizes',_0x4b40ef);});}}class m extends _0x168184{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[o,_0x5a1895,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x13d939}=this;_0x13d939['commands']['add']('uploadcareImageEdit',new Q(_0x13d939)),_0x13d939['commands']['add']('uploadcareImageReplace',new V(_0x13d939));}}class g extends _0x168184{['_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 _0x47fea9=this['editor'];_0x47fea9['ui']['componentFactory']['add']('uploadcareImageEdit',_0x26bec3=>{const _0x405f7b=_0x47fea9['commands']['get']('uploadcareImageEdit'),_0x38de3d=new _0x3781e7(_0x26bec3),t=_0x26bec3['t'];return _0x38de3d['set']({'icon':_0x588cc0,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x38de3d['bind']('isEnabled')['to'](_0x405f7b),_0x38de3d['bind']('isOn')['to'](_0x405f7b,'isActive'),this['listenTo'](_0x38de3d,'execute',()=>{_0x47fea9['execute']('uploadcareImageEdit'),_0x47fea9['editing']['view']['focus']();}),_0x38de3d;}),this['_initConfig']();}['_initConfig'](){const _0x1a02ad=_0x4d4d0e(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x1a02ad),this['listenTo'](this['editor'],'destroy',()=>{_0x1a02ad['remove']();});}}class et extends _0x168184{static get['pluginName'](){return'UploadcareImageEdit';}static get['requires'](){return[m,g];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{tt as Uploadcare,w as UploadcareCommand,o as UploadcareEditing,et as UploadcareImageEdit,Q as UploadcareImageEditCommand,m as UploadcareImageEditEditing,g as UploadcareImageEditUI,e as UploadcareUI,f as UploadcareUploadAdapter};
23
+ import{Plugin as _0x5a8815,Command as _0x469b81}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x2a4ad6,IconGooglePhotos as _0x13a7f3,IconGoogleDrive as _0x4e3e82,IconFacebook as _0x5e9906,IconDropbox as _0x1081f1,IconUploadcareLink as _0x114ace,IconUploadcareImageUpload as _0x4ca41f,IconError as _0x319005,IconUploadcareImageEdit as _0x11de94}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x3477a2,MenuBarMenuListItemButtonView as _0x31be37,View as _0x427a63,FocusCycler as _0x3fb149,Dialog as _0x4ec9d2,DialogViewPosition as _0x1ebf92,SpinnerView as _0x1bddd5,IconView as _0x31f3fc,Notification as _0xc94730}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x12cbb2,DomEmitterMixin as _0x10a8c4,global as _0x3a4f7b,getAncestors as _0x349729,ObservableMixin as _0xa9ba1a,uid as _0x461b04,createElement as _0x3855cc}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x31b648}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x566409,info as _0x56a570}from'@uploadcare/upload-client';import*as _0x3906b0 from'@uploadcare/file-uploader';var i=function(_0x432d4e){return _0x432d4e['Local']='local',_0x432d4e['URL']='url',_0x432d4e['Dropbox']='dropbox',_0x432d4e['GDrive']='gdrive',_0x432d4e['Facebook']='facebook',_0x432d4e['GPhotos']='gphotos',_0x432d4e['OneDrive']='onedrive',_0x432d4e;}({});function _(_0x147de4,_0x51e40c,_0x43abc6){const t=_0x147de4['t'],_0x27a8b6=_0x147de4['t'];switch(_0x51e40c){case i['Local']:return{'text':_0x27a8b6('Insert'===_0x43abc6?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x27a8b6('From\x20computer')};case i['URL']:return{'text':'Insert'===_0x43abc6?_0x27a8b6('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x27a8b6('Via\x20URL')};case i['Dropbox']:return{'text':t('Insert'===_0x43abc6?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case i['Facebook']:return{'text':t('Insert'===_0x43abc6?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case i['GDrive']:return{'text':t('Insert'===_0x43abc6?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case i['GPhotos']:return{'text':t('Insert'===_0x43abc6?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case i['OneDrive']:return{'text':t('Insert'===_0x43abc6?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x51e40c;}}class e extends _0x5a8815{['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 _0x1bcadf=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x46a777;for(const _0x5ed89a in _0x1bcadf){const _0x19c7b5=_0x5ed89a,_0xfafb82=_0x1bcadf[_0x19c7b5];if('uploadcareLicenseKeyValid'==_0xfafb82||'uploadcareLicenseKeyInvalid'==_0xfafb82||'uploadcareLicenseKeyExpired'==_0xfafb82||'uploadcareLicenseKeyDomainLimit'==_0xfafb82||'uploadcareLicenseKeyNotAllowed'==_0xfafb82||'uploadcareLicenseKeyEvaluationLimit'==_0xfafb82||'uploadcareLicenseKeyUsageLimit'==_0xfafb82){delete _0x1bcadf[_0x19c7b5],_0x46a777=_0xfafb82,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x46a777&&_0x1bcadf['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x46a777&&_0x1bcadf['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x46a777&&_0x1bcadf['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x46a777&&_0x1bcadf['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x46a777&&_0x1bcadf['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyUsageLimit'==_0x46a777&&_0x1bcadf['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x38d428}=this,_0x10fb28=_0x38d428['commands']['get']('uploadcare');if(!_0x10fb28)return;const _0x5639b2=this['_normalizeConfigSourceList'](_0x38d428['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x4b7dc1,_0x7c0459)=>{const _0x15516a=this['_getIntegrationKey'](_0x7c0459['type']);return _0x4b7dc1[_0x15516a]||(_0x4b7dc1[_0x15516a]=[]),_0x4b7dc1[_0x15516a]['push'](_0x7c0459),_0x4b7dc1;},{});_0x38d428['plugins']['has']('ImageInsertUI')&&_0x38d428['commands']['get']('uploadcare')&&Object['entries'](_0x5639b2)['forEach'](([_0x20f112,_0x38f3b5])=>{_0x38d428['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x20f112,'observable':()=>_0x10fb28,'buttonViewCreator':()=>this['_createToolbarButton'](_0x38f3b5),'formViewCreator':()=>this['_createDropdownButtons'](_0x38f3b5),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x38f3b5),'override':'assetManager'!==_0x20f112});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x4bae56){const {locale:_0x46c675}=this['editor'];return _0x4bae56['map'](_0x2f381b=>{const _0x3d2df3=_(_0x46c675,_0x2f381b,'Insert');switch(_0x2f381b){case i['Local']:return{'icon':_0x4ca41f,'type':i['Local'],..._0x3d2df3};case i['URL']:return{'icon':_0x114ace,'type':i['URL'],..._0x3d2df3};case i['Dropbox']:return{'icon':_0x1081f1,'type':i['Dropbox'],..._0x3d2df3};case i['Facebook']:return{'icon':_0x5e9906,'type':i['Facebook'],..._0x3d2df3};case i['GDrive']:return{'icon':_0x4e3e82,'type':i['GDrive'],..._0x3d2df3};case i['GPhotos']:return{'icon':_0x13a7f3,'type':i['GPhotos'],..._0x3d2df3};case i['OneDrive']:return{'icon':_0x2a4ad6,'type':i['OneDrive'],..._0x3d2df3};}});}['_getIntegrationKey'](_0x22708a){switch(_0x22708a){case i['Local']:return'upload';case i['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x3dc66c,_0x3f4148){const _0xecdb61=this['editor'],_0xdcc2b4=new _0x3dc66c(_0xecdb61['locale']),_0x1adb54=_0xecdb61['commands']['get']('uploadcare');return _0xdcc2b4['bind']('isEnabled')['to'](_0x1adb54),_0xdcc2b4['on']('execute',()=>{_0x1adb54['execute'](_0x3f4148);}),_0xdcc2b4;}['_createToolbarButton'](_0x1899cd){const {locale:_0xfa9b12}=this['editor'],_0x13201b=this['editor']['plugins']['get']('ImageInsertUI'),_0x4cdd8c=_0x1899cd[0x0],_0x2d789c=this['_createButton'](_0x3477a2,_0x4cdd8c['type']);return _0x2d789c['icon']=_0x4cdd8c['icon'],_0x2d789c['bind']('label')['to'](_0x13201b,'isImageSelected',_0x46ac9b=>_(_0xfa9b12,_0x4cdd8c['type'],_0x46ac9b?'Replace':'Insert')['text']),_0x2d789c['tooltip']=!0x0,_0x2d789c;}['_createDropdownButtons'](_0x274edd){const {locale:_0x5455ae}=this['editor'],_0x408377=this['editor']['plugins']['get']('ImageInsertUI');return _0x274edd['map'](_0x4f5a84=>{const _0x4f3379=this['_createButton'](_0x3477a2,_0x4f5a84['type']);return _0x4f3379['withText']=!0x0,_0x4f3379['icon']=_0x4f5a84['icon'],_0x4f3379['bind']('label')['to'](_0x408377,'isImageSelected',_0xf75d53=>_(_0x5455ae,_0x4f5a84['type'],_0xf75d53?'Replace':'Insert')['text']),_0x4f3379;});}['_createMenuBarButtons'](_0x15ee97){return _0x15ee97['map'](_0x922065=>{const _0x1e055b=this['_createButton'](_0x31be37,_0x922065['type']);return _0x1e055b['icon']=_0x922065['icon'],_0x1e055b['label']=_0x922065['shortText'],_0x1e055b;});}}class F extends _0x427a63{['focusTracker'];['focusCycler'];constructor(_0x3c5716){super(_0x3c5716),this['focusTracker']=new _0x12cbb2(),this['focusCycler']=new _0x3fb149({'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(_0x596b68,_0x3ce0bb){super(_0x596b68),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-'+_0x3ce0bb}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function C(_0x569f68,_0x474261){const _0x1617ff=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x3dbe4d=>_0x3dbe4d<=_0x474261)['map'](_0x5704bf=>_0x569f68['replace'](/\/$/,'')+'/-/resize/'+_0x5704bf+'x/\x20'+_0x5704bf+'w');return{'imageFallbackUrl':_0x569f68,'imageSources':[{'srcset':_0x1617ff['join'](',\x20'),'sizes':'(max-width:\x20'+_0x474261+'px)\x20100vw,\x20'+_0x474261+'px','type':'image/webp'}]};}function S(_0x55b804,_0x37ba27,_0x3d187c){const _0x475373=_0x55b804['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x475373?parseInt(_0x475373[0x1],0xa):_0x37ba27,'height':_0x475373?parseInt(_0x475373[0x2],0xa):_0x3d187c};}function p(_0x208844,_0x4c88a3){const _0x4583ec=new(_0x10a8c4())(),_0x1c7d86=_0x208844['plugins']['get']('ImageUtils'),_0xf42d83=_0x208844['editing']['mapper']['toViewElement'](_0x4c88a3),_0x1e9883=_0x1c7d86['findViewImgElement'](_0xf42d83),_0x5d186a=_0x208844['editing']['view']['domConverter']['viewToDom'](_0x1e9883),_0x3b8f2a=_0x4c88a3['getAttribute']('width'),_0x42b98f=_0x4c88a3['getAttribute']('height'),_0x315072='image-processing';_0x208844['editing']['view']['change'](_0x10ea72=>{_0x10ea72['addClass'](_0x315072,_0xf42d83),_0x10ea72['setStyle']('aspect-ratio',_0x3b8f2a+'/'+_0x42b98f,_0x1e9883);}),_0x4583ec['listenTo'](_0x5d186a,'load',()=>{_0x4583ec['stopListening'](_0x5d186a,'load'),_0x208844['editing']['view']['change'](_0x568993=>{_0x568993['removeClass'](_0x315072,_0xf42d83),_0x568993['removeStyle']('aspect-ratio',_0x1e9883);});});}function G(_0x2580d9){if(Array['isArray'](_0x2580d9)){const _0x232f25=_0x2580d9['map'](G);return _0x488dce=>_0x232f25['some'](_0x474070=>_0x474070(_0x488dce));}if('origin'==_0x2580d9){const _0x4a9f20=_0x3a4f7b['window']['location']['origin'];return _0x102bef=>new URL(_0x102bef,_0x3a4f7b['document']['baseURI'])['origin']==_0x4a9f20;}return'function'==typeof _0x2580d9?_0x2580d9:_0x2580d9 instanceof RegExp?_0x636c01=>!(!_0x636c01['match'](_0x2580d9)&&!_0x636c01['replace'](/^https?:\/\//,'')['match'](_0x2580d9)):()=>!0x1;}function A(_0x542fb4,_0x201c3f){return _0x349729(_0x542fb4['target'])['includes'](_0x201c3f);}class n extends/* #__PURE__ -- @preserve */
24
+ _0xa9ba1a(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x58fe40,_0x13d4d0,_0x2910e6){super(),this['_editor']=_0x58fe40,this['_editing']=_0x13d4d0,this['_dialog']=_0x58fe40['plugins']['get'](_0x4ec9d2),this['_api']=_0x13d4d0['ctxElement']['getAPI'](),this['_type']=_0x2910e6,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:_0x58cfb7,model:_0x418197}=this['_editor'],_0x51ad4a=_0x418197['document']['selection']['getSelectedElement'](),_0x47532f=_0x51ad4a&&(_0x51ad4a['is']('element','imageBlock')||_0x51ad4a['is']('element','imageInline'));this['_formView']=new x(_0x58cfb7,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':_0x4ca41f,'title':_(_0x58cfb7,this['_type'],_0x47532f?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x1ebf92['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x8e0f25=>!A(_0x8e0f25,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x56a717}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x586f69=>{const _0xe27f99=_0x56a717['length'];for(const _0x3ec13f of _0x56a717){const _0x454db6=_0x3ec13f===_0x56a717[_0xe27f99-0x1],{cdnUrl:_0x2de462,fileInfo:_0x51e5a1}=_0x3ec13f;if(!_0x2de462||!_0x51e5a1)continue;const {width:_0x28589a,height:_0x1efe71}=_0x51e5a1['imageInfo'],_0x2be93e=S(_0x2de462,_0x28589a,_0x1efe71),_0x2a5fe0=C(_0x2de462,_0x2be93e['width']),_0x504436={'id':_0x51e5a1['uuid'],'type':'image','attributes':{'imageDimension':_0x2be93e,..._0x2a5fe0}};this['_insertAsset'](_0x504436,_0x454db6,_0x586f69);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x3ea632=>{'idle'===_0x3ea632['detail']['status']&&!_0x3ea632['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===i['Local']?this['_api']['setCurrentActivity'](i['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0xf6d0fa,_0x195d02,_0x2acc07){const _0x170f21=this['_editor']['model']['document']['selection'],_0x365a5c=_0x170f21['getSelectedElement'](),_0x2c3830=!(!_0x365a5c||!_0x365a5c['is']('element','imageInline'));_0x2acc07['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0xf6d0fa,_0x2c3830),_0x195d02||_0x2acc07['setSelection'](_0x170f21['getLastPosition']());}['_insertImage'](_0xb660ae,_0x111ada){const _0x41f023=this['_editor'],{imageDimension:_0xf86b35,imageFallbackUrl:_0x31c586,imageSources:_0x1f8afd}=_0xb660ae['attributes'];_0x41f023['execute']('insertImage',{'imageType':_0x111ada?'imageInline':null,'source':{'uploadcareImageId':_0xb660ae['id'],'src':_0x31c586,'sources':_0x1f8afd,..._0xf86b35}});}}class w extends _0x469b81{['_editing'];['_controller']=null;static get['requires'](){return[_0x4ec9d2,o];}constructor(_0x5023cb){super(_0x5023cb),this['_editing']=_0x5023cb['plugins']['get'](o);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x21a3de){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new n(this['editor'],this['_editing'],_0x21a3de);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class j{static['upload']({file:_0x527d38,..._0x37b492}){return _0x566409(_0x527d38,_0x37b492);}static['getInfo'](_0x21ef9f,_0x5fb7ba){return _0x56a570(_0x21ef9f,_0x5fb7ba);}}class f extends _0x5a8815{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x31b648,o];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x1a68d5=this['editor'];if(!!!_0x1a68d5['config']['get']('uploadcare'))return;_0x1a68d5['plugins']['get'](_0x31b648)['createUploadAdapter']=_0x3d5e33=>new k(_0x3d5e33,_0x1a68d5),_0x1a68d5['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0xefa5e5,{imageElement:_0x75f5e7,data:_0x55116a})=>{_0x1a68d5['model']['change'](_0x40302a=>{_0x40302a['setAttribute']('uploadcareImageId',_0x55116a['uploadcareImageId'],_0x75f5e7);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x2c7ec3,_0x2cfc39){this['loader']=_0x2c7ec3,this['editor']=_0x2cfc39,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0xc29e14=await this['loader']['file'];return j['upload']({'file':_0xc29e14,'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':_0x52b395=>{_0x52b395&&_0x52b395['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x52b395['value']);}})['then'](async _0x8b47d3=>{const {imageFallbackUrl:_0x576b44,imageSources:_0x5144dc}=C(_0x8b47d3['cdnUrl'],_0x8b47d3['imageInfo']['width']);return{'uploadcareImageId':_0x8b47d3['uuid'],'default':_0x576b44,'sources':_0x5144dc};})['catch'](()=>{const _0x367ea8=t('Cannot\x20upload\x20file:')+('\x20'+_0xc29e14['name']+'.');return Promise['reject'](_0x367ea8);});}['abort'](){this['controller']['abort']();}}class o extends _0x5a8815{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',f,_0x4ec9d2];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['ucContextId'];get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}constructor(_0x260ac6){super(_0x260ac6),this['ucContextId']=_0x461b04();}['init'](){const _0x2e9e09=this['editor'];_0x2e9e09['commands']['add']('uploadcare',new w(_0x2e9e09));}['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 _0x4690a1=_0x3a4f7b['document']['querySelector']('input[uploadcare-file-input]');_0x4690a1&&_0x4690a1['remove']();}),async function(_0x1783d6){const _0x3680be=_0x29b892([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]),_0x4782f8=0x535f8c3a,_0x4332c2=0x53580ce2^_0x4782f8,_0x2fdbfa=window[_0x29b892([0x44,0x61,0x74,0x65])][_0x29b892([0x6e,0x6f,0x77])](),_0x135608=_0x1783d6[_0x29b892([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x4217d4=new window[(_0x29b892([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x106806=>{_0x135608[_0x29b892([0x6f,0x6e,0x63,0x65])](_0x29b892([0x72,0x65,0x61,0x64,0x79]),_0x106806);}),_0x1a1829={[_0x29b892([0x6b,0x74,0x79])]:_0x29b892([0x45,0x43]),[_0x29b892([0x75,0x73,0x65])]:_0x29b892([0x73,0x69,0x67]),[_0x29b892([0x63,0x72,0x76])]:_0x29b892([0x50,0x2d,0x32,0x35,0x36]),[_0x29b892([0x78])]:_0x29b892([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]),[_0x29b892([0x79])]:_0x29b892([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]),[_0x29b892([0x61,0x6c,0x67])]:_0x29b892([0x45,0x53,0x32,0x35,0x36])},_0x53b63a=_0x135608[_0x29b892([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x29b892([0x67,0x65,0x74])](_0x29b892([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x28a1dd(){let _0x31eac6,_0x57cda1=null,_0x2ebee2=null;try{if(_0x53b63a==_0x29b892([0x47,0x50,0x4c]))return _0x29b892([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x31eac6=_0x2fea30(),!_0x31eac6)return _0x29b892([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x31eac6[_0x29b892([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x2ebee2=_0x5661ba(_0x31eac6[_0x29b892([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x31eac6[_0x29b892([0x6a,0x74,0x69])])),await _0x39f383()?_0x23d9e3()?_0x1b3403()?_0x29b892([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x2d0b9c()?(_0x31eac6[_0x29b892([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x29b892([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x57cda1=_0x417c72(_0x29b892([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x48866d()):_0x29b892([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x29b892([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x29b892([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x29b892([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x1b3403(){const _0x31ad0f=[_0x29b892([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x29b892([0x74,0x72,0x69,0x61,0x6c])][_0x29b892([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x31eac6[_0x29b892([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2fdbfa/0x3e8:0xe10*_0x4332c2;return _0x31eac6[_0x29b892([0x65,0x78,0x70])]<_0x31ad0f;}function _0x23d9e3(){const _0x3495ba=_0x31eac6[_0x29b892([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x3495ba&&(!!_0x3495ba[_0x29b892([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x29b892([0x2a]))||!!_0x3495ba[_0x29b892([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x29b892([0x55,0x50,0x4c,0x43])));}function _0x2d0b9c(){const _0x34daa1=_0x31eac6[_0x29b892([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x34daa1||0x0==_0x34daa1[_0x29b892([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x297109}=new URL(window[_0x29b892([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x34daa1[_0x29b892([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x297109))return!0x0;const _0x35a1c3=_0x297109[_0x29b892([0x73,0x70,0x6c,0x69,0x74])](_0x29b892([0x2e]));return _0x34daa1[_0x29b892([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x513bc8=>_0x513bc8[_0x29b892([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x29b892([0x2a])))[_0x29b892([0x6d,0x61,0x70])](_0x5a2eb5=>_0x5a2eb5[_0x29b892([0x73,0x70,0x6c,0x69,0x74])](_0x29b892([0x2e])))[_0x29b892([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x336d58=>_0x336d58[_0x29b892([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x35a1c3[_0x29b892([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x29b892([0x6d,0x61,0x70])](_0x191e24=>Array(_0x35a1c3[_0x29b892([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x191e24[_0x29b892([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x29b892([0x66,0x69,0x6c,0x6c])](_0x191e24[0x0]===_0x29b892([0x2a])?_0x29b892([0x2a]):'')[_0x29b892([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x191e24))[_0x29b892([0x73,0x6f,0x6d,0x65])](_0x411c05=>_0x35a1c3[_0x29b892([0x65,0x76,0x65,0x72,0x79])]((_0x29d9f1,_0x162137)=>_0x411c05[_0x162137]===_0x29d9f1||_0x411c05[_0x162137]===_0x29b892([0x2a])));}function _0x48866d(){return _0x57cda1&&_0x2ebee2?new window[(_0x29b892([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x504f26,_0x39bcc9)=>{_0x57cda1[_0x29b892([0x74,0x68,0x65,0x6e])](_0x504f26,_0x39bcc9),_0x2ebee2[_0x29b892([0x74,0x68,0x65,0x6e])](_0x5f52cf=>{_0x5f52cf!=_0x29b892([0x56,0x61,0x6c,0x69,0x64])&&_0x504f26(_0x5f52cf);},_0x39bcc9);}):_0x57cda1||_0x2ebee2||_0x29b892([0x56,0x61,0x6c,0x69,0x64]);}}function _0x5661ba(_0x5b78ca,_0x2a943e){return new window[(_0x29b892([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1c3599=>{if(_0x301387())return _0x1c3599(_0x29b892([0x56,0x61,0x6c,0x69,0x64]));_0x5b74da(),_0x135608[_0x29b892([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x29b892([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2bc525=!0x1;const _0x34d74c=_0x461b04();function _0x2c697e(_0x342ae2){return!!_0x342ae2&&(typeof _0x342ae2===_0x29b892([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x342ae2===_0x29b892([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x342ae2[_0x29b892([0x74,0x68,0x65,0x6e])]===_0x29b892([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x342ae2[_0x29b892([0x63,0x61,0x74,0x63,0x68])]===_0x29b892([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0xebef6(_0x3bd9e7){_0x30d606(_0x3bd9e7)[_0x29b892([0x74,0x68,0x65,0x6e])](_0x4bd75c=>{if(!_0x4bd75c||_0x4bd75c[_0x29b892([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x29b892([0x6f,0x6b]))return _0x29b892([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x11ecb7(_0x31e00a(_0x34d74c+_0x2a943e))!=_0x4bd75c[_0x29b892([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x29b892([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x29b892([0x56,0x61,0x6c,0x69,0x64]);})[_0x29b892([0x74,0x68,0x65,0x6e])](_0x31113a=>(_0x214056(),_0x31113a),()=>{const _0x33714b=_0x44edb6();return null==_0x33714b?(_0x214056(),_0x29b892([0x56,0x61,0x6c,0x69,0x64])):_0x29b892(_0x2fdbfa-_0x33714b>(0x7753083a^_0x4782f8)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x29b892([0x74,0x68,0x65,0x6e])](_0x1c3599)[_0x29b892([0x63,0x61,0x74,0x63,0x68])](()=>{_0x1c3599(_0x29b892([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5e8a7d=0x536962ba^_0x4782f8;function _0x214056(){const _0x54c2c5=_0x29b892([0x6c,0x6c,0x63,0x74,0x2d])+_0x11ecb7(_0x31e00a(_0x5b78ca)),_0x57310e=_0x5d105f(_0x11ecb7(window[_0x29b892([0x4d,0x61,0x74,0x68])][_0x29b892([0x63,0x65,0x69,0x6c])](_0x2fdbfa/_0x5e8a7d)));window[_0x29b892([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x29b892([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x54c2c5,_0x57310e);}function _0x44edb6(){const _0x163b58=_0x29b892([0x6c,0x6c,0x63,0x74,0x2d])+_0x11ecb7(_0x31e00a(_0x5b78ca)),_0x4f237a=window[_0x29b892([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x29b892([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x163b58);return _0x4f237a?window[_0x29b892([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5d105f(_0x4f237a),0x10)*_0x5e8a7d:null;}function _0x30d606(_0x496825){return new window[(_0x29b892([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x577823,_0x25a278)=>{_0x496825[_0x29b892([0x74,0x68,0x65,0x6e])](_0x577823,_0x25a278),window[_0x29b892([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x25a278,0x535e58fa^_0x4782f8);});}}_0x135608[_0x29b892([0x6f,0x6e])](_0x29b892([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x3bb012,_0x1ad111)=>{if(_0x1ad111[0x0]!=_0x5b78ca)return _0x1c3599(_0x29b892([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1ad111[0x1]={..._0x1ad111[0x1],[_0x29b892([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x34d74c};},{[_0x29b892([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x29b892([0x68,0x69,0x67,0x68])}),_0x135608[_0x29b892([0x6f,0x6e])](_0x29b892([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x295e50=>{_0x2c697e(_0x295e50[_0x29b892([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2bc525=!0x0,_0xebef6(_0x295e50[_0x29b892([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x29b892([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x29b892([0x6c,0x6f,0x77])}),_0x4217d4[_0x29b892([0x74,0x68,0x65,0x6e])](()=>{_0x2bc525||_0x1c3599(_0x29b892([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x301387(){return _0x135608[_0x29b892([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x29b892([0x76,0x69,0x65,0x77])][_0x29b892([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x29b892([0x61,0x75,0x74,0x6f]);}function _0x5b74da(){_0x135608[_0x29b892([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x29b892([0x76,0x69,0x65,0x77])][_0x29b892([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x29b892([0x61,0x75,0x74,0x6f]);}}function _0x417c72(_0x451ac9){const _0x6bf937=[new window[(_0x29b892([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5f5c21=>setTimeout(_0x5f5c21,0x5356b2f6^_0x4782f8)),_0x4217d4[_0x29b892([0x74,0x68,0x65,0x6e])](()=>new window[(_0x29b892([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x48c848=>{let _0x3de9e5=0x0;_0x135608[_0x29b892([0x6d,0x6f,0x64,0x65,0x6c])][_0x29b892([0x6f,0x6e])](_0x29b892([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x26f6aa,_0x25accf)=>{_0x25accf[0x0][_0x29b892([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3de9e5++,_0x3de9e5==(0x535f89d2^_0x4782f8)&&(_0x48c848(),_0x26f6aa[_0x29b892([0x6f,0x66,0x66])]());});}))];return window[_0x29b892([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x29b892([0x72,0x61,0x63,0x65])](_0x6bf937)[_0x29b892([0x74,0x68,0x65,0x6e])](()=>_0x451ac9);}async function _0x4544c8(){await _0x4217d4,_0x135608[_0x29b892([0x6d,0x6f,0x64,0x65,0x6c])][_0x29b892([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x20f07c,_0x135608[_0x29b892([0x6d,0x6f,0x64,0x65,0x6c])][_0x29b892([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x20f07c,_0x135608[_0x29b892([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x29b892([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x186ff8(_0x1e07cb){const _0x73bc10=_0xb3a370();_0x135608[_0x73bc10]=_0x29b892([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x1e07cb,_0x1e07cb!=_0x29b892([0x56,0x61,0x6c,0x69,0x64])&&_0x4544c8();}function _0xb3a370(){const _0x10ac14=window[_0x29b892([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x29b892([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x29b892([0x6e,0x6f,0x77])]())[_0x29b892([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x29b892([0x2e]),'');let _0x4e1efd=_0x29b892([0x68]);for(let _0x4a56b9=0x0;_0x4a56b9<_0x10ac14[_0x29b892([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4a56b9+=0x2){let _0x5dc0f1=window[_0x29b892([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x10ac14[_0x29b892([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4a56b9,_0x4a56b9+0x2));_0x5dc0f1>=_0x3680be[_0x29b892([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5dc0f1-=_0x3680be[_0x29b892([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4e1efd+=_0x3680be[_0x5dc0f1];}return _0x4e1efd;}function _0x2fea30(){const _0x422846=_0x53b63a[_0x29b892([0x73,0x70,0x6c,0x69,0x74])](_0x29b892([0x2e]));if(0x3!=_0x422846[_0x29b892([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x31dbac(_0x422846[0x1]);function _0x31dbac(_0x23374d){const _0x5ee3ce=_0x2ff250(_0x23374d);return _0x5ee3ce&&_0x105ade()?_0x5ee3ce:null;function _0x105ade(){const _0x23265f=_0x5ee3ce[_0x29b892([0x6a,0x74,0x69])],_0x17c49b=window[_0x29b892([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x23265f[_0x29b892([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x23265f[_0x29b892([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x44662d={..._0x5ee3ce,[_0x29b892([0x6a,0x74,0x69])]:_0x23265f[_0x29b892([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x23265f[_0x29b892([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x44662d[_0x29b892([0x76,0x63])],_0x31e00a(_0x44662d)==_0x17c49b;}}}async function _0x39f383(){let _0x2af6dd=!0x0;try{const _0x501597=_0x53b63a[_0x29b892([0x73,0x70,0x6c,0x69,0x74])](_0x29b892([0x2e])),[_0x4d5e66,_0x4ef275,_0x329358]=_0x501597;return _0x229361(_0x4d5e66),await _0x3aac68(_0x4d5e66,_0x4ef275,_0x329358),_0x2af6dd;}catch{return!0x1;}function _0x229361(_0x70bc0a){const _0x25682f=_0x2ff250(_0x70bc0a);_0x25682f&&_0x25682f[_0x29b892([0x61,0x6c,0x67])]==_0x29b892([0x45,0x53,0x32,0x35,0x36])||(_0x2af6dd=!0x1);}async function _0x3aac68(_0x4fcb69,_0x4195d3,_0x4352a8){const _0x3c8bc0=window[_0x29b892([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x29b892([0x66,0x72,0x6f,0x6d])](_0x584eea(_0x4352a8),_0x45c57d=>_0x45c57d[_0x29b892([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x194b60=new window[(_0x29b892([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x29b892([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4fcb69+_0x29b892([0x2e])+_0x4195d3),_0xceb4=window[_0x29b892([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x29b892([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0xceb4)return;const _0x22a865=await _0xceb4[_0x29b892([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x29b892([0x6a,0x77,0x6b]),_0x1a1829,{[_0x29b892([0x6e,0x61,0x6d,0x65])]:_0x29b892([0x45,0x43,0x44,0x53,0x41]),[_0x29b892([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x29b892([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x29b892([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0xceb4[_0x29b892([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x29b892([0x6e,0x61,0x6d,0x65])]:_0x29b892([0x45,0x43,0x44,0x53,0x41]),[_0x29b892([0x68,0x61,0x73,0x68])]:{[_0x29b892([0x6e,0x61,0x6d,0x65])]:_0x29b892([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x22a865,_0x3c8bc0,_0x194b60)||(_0x2af6dd=!0x1);}}function _0x2ff250(_0x29685a){return _0x29685a[_0x29b892([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x29b892([0x65,0x79]))?JSON[_0x29b892([0x70,0x61,0x72,0x73,0x65])](_0x584eea(_0x29685a)):null;}function _0x584eea(_0x3bca4a){return window[_0x29b892([0x61,0x74,0x6f,0x62])](_0x3bca4a[_0x29b892([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x29b892([0x2b]))[_0x29b892([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x29b892([0x2f])));}function _0x31e00a(_0x5511c2){let _0xddd459=0x1505;function _0x2bc7a3(_0x1acaef){for(let _0x309ad0=0x0;_0x309ad0<_0x1acaef[_0x29b892([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x309ad0++){const _0x43c483=_0x1acaef[_0x29b892([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x309ad0);_0xddd459=(_0xddd459<<0x5)+_0xddd459+_0x43c483,_0xddd459&=_0xddd459;}}function _0x4edbcc(_0x2e10fa){Array[_0x29b892([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2e10fa)?_0x2e10fa[_0x29b892([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4edbcc):_0x2e10fa&&typeof _0x2e10fa==_0x29b892([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x29b892([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2e10fa)[_0x29b892([0x73,0x6f,0x72,0x74])]()[_0x29b892([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x562722,_0x1723c1])=>{_0x2bc7a3(_0x562722),_0x4edbcc(_0x1723c1);}):_0x2bc7a3(window[_0x29b892([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2e10fa));}return _0x4edbcc(_0x5511c2),_0xddd459>>>0x0;}function _0x11ecb7(_0x44366f){return _0x44366f[_0x29b892([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x29b892([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x29b892([0x30]));}function _0x5d105f(_0x238096){return _0x238096[_0x29b892([0x73,0x70,0x6c,0x69,0x74])]('')[_0x29b892([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x29b892([0x6a,0x6f,0x69,0x6e])]('');}function _0x20f07c(){}function _0x29b892(_0x2f78e1){return _0x2f78e1['map'](_0x56ff73=>String['fromCharCode'](_0x56ff73))['join']('');}_0x186ff8(await _0x28a1dd());}(this);}['_initSchema'](){const _0x1ff027=this['editor']['model']['schema'];_0x1ff027['isRegistered']('imageBlock')&&_0x1ff027['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x1ff027['isRegistered']('imageInline')&&_0x1ff027['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x1a6ecb=this['editor'];_0x1a6ecb['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x1a6ecb['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x49877f=>_0x49877f['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x54886a=_0x1a6ecb['commands']['get']('replaceImageSource');_0x54886a&&this['listenTo'](_0x54886a,'cleanupImage',(_0x4ca8d9,[_0x37d43e,_0x50633])=>{_0x37d43e['removeAttribute']('uploadcareImageId',_0x50633);});}['_initConfig'](){const _0x4ebe41=this['editor']['config']['get']('uploadcare.uploader')||{},_0x42be7f=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x3855cc(_0x3a4f7b['document'],'uc-config',{..._0x4ebe41,'pubkey':_0x42be7f,'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']=_0x131e11=>{if('closeMax'==_0x131e11)return'#uc-icon-arrow-down';},_0x3a4f7b['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x3855cc(_0x3a4f7b['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),_0x3a4f7b['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x426d3d=this['editor']['commands']['get']('insertImage');_0x426d3d&&this['listenTo'](_0x426d3d,'execute',()=>{const _0x504368=this['editor']['model']['document']['selection']['getSelectedElement']();_0x504368&&_0x504368['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x504368);});});const _0x232d3e=this['editor']['commands']['get']('uploadcareImageReplace');_0x232d3e&&this['listenTo'](_0x232d3e,'execute',()=>{const _0x28c34b=this['editor']['model']['document']['selection']['getSelectedElement']();_0x28c34b&&_0x28c34b['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x28c34b);});});}}class tt extends _0x5a8815{static get['requires'](){return[o,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x22e65d){super(_0x22e65d),_0x22e65d['config']['define']('uploadcare.uploader.sourceList',[i['Local'],i['URL']]),_0x3906b0['defineComponents'](_0x3906b0),this['_defineLocale']();}['_defineLocale'](){const _0x3e5da6=this['editor']['config']['get']('uploadcare.locale'),_0x5e3361=this['editor']['locale']['contentLanguage'];_0x3e5da6&&_0x3906b0['defineLocale'](_0x5e3361,_0x3e5da6);}}class ii extends _0x427a63{constructor(_0x1a2628){super(_0x1a2628);const t=_0x1a2628['t'],_0x2f1ce9=this['bindTemplate'],_0x23e589=new _0x1bddd5();_0x23e589['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':[_0x23e589,{'text':_0x2f1ce9['to']('imageUploadProgress',_0x56713c=>t('Loading\x20image...')+'\x20('+(_0x56713c||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 _0x427a63{constructor(_0x60022c){super(_0x60022c);const t=_0x60022c['t'];this['set']('errorType',null);const _0x2655f0=new _0x3477a2(_0x60022c);_0x2655f0['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x2655f0['withText']=!0x0,_0x2655f0['class']='ck-button-action',_0x2655f0['on']('execute',()=>{this['fire']('retry');}),_0x2655f0['bind']('isVisible')['to'](this,'errorType',_0x5e1342=>'NotFound'!==_0x5e1342);const _0x538bac=new _0x31f3fc();_0x538bac['content']=_0x319005,_0x538bac['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x15d266=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':[_0x538bac,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x15d266['to']('errorType',_0x202a27=>t('NotFound'!==_0x202a27?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x2655f0]},{'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 _0x427a63{constructor(_0x4b56a6,_0x5cf772){super(_0x4b56a6);const _0x306a24=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x5cf772,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x306a24['to']('imageSrc')}});}}class X extends F{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x5b524a,_0x58cb4a,_0x5d6638){super(_0x5b524a),this['_items']=this['createCollection'](),this['_loadingView']=new ii(_0x5b524a),this['_errorView']=new ti(_0x5b524a),this['_editingView']=new ei(_0x5b524a,_0x5d6638),this['_focusableView']=new _0x427a63(_0x5b524a),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x58cb4a),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'],_0x1ae8f3=>{this['_addUploadcareImageEditorListeners'](_0x1ae8f3);});}),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'](_0x199f4c,_0x2049b0){const _0x508d97='uc-cloud-image-editor',_0x510cb1=_0x199f4c['querySelector'](_0x508d97);if(_0x510cb1)return _0x2049b0(_0x510cb1);const _0x550d68=new MutationObserver(_0x322512=>{const _0xc6338=_0x322512['filter'](_0x4fef06=>_0x4fef06['target']===_0x199f4c&&_0x4fef06['addedNodes']['length']>0x0&&_0x4fef06['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x508d97);_0xc6338['length']&&(_0x550d68['disconnect'](),_0x2049b0(_0xc6338[0x0]['addedNodes'][0x0]));});_0x550d68['observe'](_0x199f4c,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x235d75){_0x235d75['addEventListener']('apply',_0x4dd13b=>{this['fire']('apply',{'imageSrc':_0x4dd13b['detail']['cdnUrl']});}),_0x235d75['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class E extends/* #__PURE__ -- @preserve */
25
+ _0xa9ba1a(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x37ef41,_0x1b537e,_0x3cc592){super(),this['_editor']=_0x37ef41,this['_dialog']=_0x1b537e,this['_imageElement']=_0x3cc592,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 _0x4c9fdb=this['_imageElement'],_0x1fb358=_0x4c9fdb['getAttribute']('uploadcareImageId'),_0x51954d=_0x4c9fdb['getAttribute']('src');if(_0x1fb358)await this['_loadImageInfo'](_0x1fb358,_0x51954d);else{if(this['_imageCache']['has'](_0x51954d)){const _0x5cd51c=this['_imageCache']['get'](_0x51954d);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x5cd51c['url'],this['imageDimension']=_0x5cd51c['dimension'],this['imageId']=_0x5cd51c['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x3de175}=this['_editor'],t=_0x3de175['t'],_0x4118ec=new X(_0x3de175,this['imageStatus'],this['_attributes']);_0x4118ec['bind']('status')['to'](this,'imageStatus'),_0x4118ec['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x4118ec['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x4118ec['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x4118ec,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x11de94,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x4118ec,'position':_0x1ebf92['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x4118ec['focus']();},'onHide':()=>{_0x4118ec['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x2dead7=>!A(_0x2dead7,_0x4118ec['element'])}});}['_loadImageInfo'](_0x63ecf3,_0x303134){return j['getInfo'](_0x63ecf3,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x27990e=>{const {width:_0x347acd,height:_0x2f11db}=_0x27990e['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x303134,this['imageDimension']={'width':_0x347acd,'height':_0x2f11db},this['imageId']=_0x63ecf3;})['catch'](_0xcb1789=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0xcb1789['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x3ae051,_0x5591a1){return this['_getImageAsFile'](_0x3ae051)['then'](_0x260817=>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':_0x5591a1['signal'],'file':_0x260817,'onProgress':_0x329063=>{_0x329063&&_0x329063['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x329063['value']));}}))['then'](_0x1215eb=>{const {width:_0x23fd88,height:_0x14c86f}=_0x1215eb['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x1215eb['cdnUrl'],this['imageDimension']={'width':_0x23fd88,'height':_0x14c86f},this['imageId']=_0x1215eb['uuid'],this['imageUploadProgress']=null;const _0x466fdb=_0x3ae051['getAttribute']('src');this['_imageCache']['set'](_0x466fdb,{'id':_0x1215eb['uuid'],'url':_0x1215eb['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x1533e7=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x1533e7['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x16cc97,_0x525f70){_0x16cc97['on']('apply',(_0x22b74c,_0x389a9e)=>{this['_replaceImage'](_0x525f70,_0x389a9e['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x16cc97['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x16cc97['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x33ebba,_0x22c590,_0x547043){const _0x59a7c7=this['_editor'],{width:_0x14b353,height:_0x32fd4e}=S(_0x22c590,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x55bbc2,imageSources:_0x4cbfde}=C(_0x22c590,_0x14b353);_0x59a7c7['model']['change'](_0x5ee408=>{if('$graveyard'===_0x33ebba['root']['rootName']){_0x59a7c7['execute']('insertImage',{'imageType':_0x33ebba['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x33ebba['getAttributes']()),'uploadcareImageId':_0x547043,'src':_0x55bbc2,'sources':_0x4cbfde,'width':_0x14b353,'height':_0x32fd4e}});const _0xf7c728=_0x33ebba['getChildren']();_0x33ebba=_0x59a7c7['model']['document']['selection']['getSelectedElement']();for(const _0x1aca84 of _0xf7c728)_0x5ee408['append'](_0x5ee408['cloneElement'](_0x1aca84),_0x33ebba);}else _0x5ee408['setSelection'](_0x33ebba,'on'),_0x59a7c7['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x33ebba['getAttributes']()),'uploadcareImageId':_0x547043,'src':_0x55bbc2,'sources':_0x4cbfde,'width':_0x14b353,'height':_0x32fd4e},_0x33ebba);_0x5ee408['setSelection'](_0x33ebba,'on');});}async['_getImageAsFile'](_0x96c7a4){const _0x3368fe=_0x3a4f7b['window'],_0x4b8531=_0x3a4f7b['document']['location']['href'],_0x290e12=new _0x3368fe['URL'](_0x96c7a4['getAttribute']('src'),_0x4b8531);if('data:'===_0x290e12['protocol']){const _0x36ab3e=_0x290e12['href']['split'](','),_0x19a77c=_0x36ab3e[0x0]['match'](/:(.*?);/)[0x1],_0x5ec130=_0x19a77c['split']('/')[0x1],_0x18aec5=_0x3368fe['atob'](_0x36ab3e[_0x36ab3e['length']-0x1]);let _0x1e44f6=_0x18aec5['length'];const _0x4aed61=new _0x3368fe['Uint8Array'](_0x1e44f6);for(;_0x1e44f6--;)_0x4aed61[_0x1e44f6]=_0x18aec5['charCodeAt'](_0x1e44f6);return new _0x3368fe['File']([_0x4aed61],'image.'+_0x5ec130,{'type':_0x19a77c});}const _0xd3b68f=_0x290e12['href']['split']('/'),_0x5bf70d=_0xd3b68f[_0xd3b68f['length']-0x1],_0x7ff061=_0x5bf70d['split']('.')[0x1];return _0x3368fe['fetch'](_0x290e12['href'])['then'](_0x385221=>_0x385221['clone']()['blob']())['then'](_0x5b4218=>new _0x3368fe['File']([_0x5b4218],_0x5bf70d,{'type':'image/'+_0x7ff061}));}}class O extends _0x469b81{['imageEditController'];static get['requires'](){return[_0x4ec9d2];}['_isEditable'];constructor(_0x38bbb1){super(_0x38bbb1),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x2ca26c){const _0x2e5002=G(_0x2ca26c);return _0x3134f9=>!(!_0x3134f9||!_0x3134f9['is']('element','imageBlock')&&!_0x3134f9['is']('element','imageInline'))&&(!!_0x3134f9['hasAttribute']('uploadcareImageId')||!!_0x3134f9['hasAttribute']('src')&&_0x2e5002(_0x3134f9['getAttribute']('src')));}(_0x38bbb1['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x2497a8=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x2497a8);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0xaefb8b=this['editor']['model']['document']['selection']['getSelectedElement']();_0xaefb8b&&(_0xaefb8b['is']('element','imageBlock')||_0xaefb8b['is']('element','imageInline'))&&(this['imageEditController']=new E(this['editor'],this['editor']['plugins']['get'](_0x4ec9d2),_0xaefb8b),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class R extends _0x469b81{['refresh'](){const _0x6186a=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x6186a&&(_0x6186a['is']('element','imageBlock')||_0x6186a['is']('element','imageInline')));}['execute'](_0x4b0d4e){const _0x5705b1=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x8cbf11=>{_0x8cbf11['setAttributes'](_0x4b0d4e,_0x5705b1),_0x8cbf11['removeAttribute']('srcset',_0x5705b1),_0x8cbf11['removeAttribute']('sizes',_0x5705b1);});}}class m extends _0x5a8815{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[o,_0xc94730,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0xd7d99e}=this;_0xd7d99e['commands']['add']('uploadcareImageEdit',new O(_0xd7d99e)),_0xd7d99e['commands']['add']('uploadcareImageReplace',new R(_0xd7d99e));}}class g extends _0x5a8815{['_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 _0xfa91d8=this['editor'];_0xfa91d8['ui']['componentFactory']['add']('uploadcareImageEdit',_0x4662f1=>{const _0x2a615a=_0xfa91d8['commands']['get']('uploadcareImageEdit'),_0x5113d0=new _0x3477a2(_0x4662f1),t=_0x4662f1['t'];return _0x5113d0['set']({'icon':_0x11de94,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x5113d0['bind']('isEnabled')['to'](_0x2a615a),_0x5113d0['bind']('isOn')['to'](_0x2a615a,'isActive'),this['listenTo'](_0x5113d0,'execute',()=>{_0xfa91d8['execute']('uploadcareImageEdit'),_0xfa91d8['editing']['view']['focus']();}),_0x5113d0;}),this['_initConfig']();}['_initConfig'](){const _0x3bdaa8=_0x3855cc(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x3bdaa8),this['listenTo'](this['editor'],'destroy',()=>{_0x3bdaa8['remove']();});}}class et extends _0x5a8815{static get['pluginName'](){return'UploadcareImageEdit';}static get['requires'](){return[m,g];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{tt as Uploadcare,w as UploadcareCommand,o as UploadcareEditing,et as UploadcareImageEdit,O as UploadcareImageEditCommand,m as UploadcareImageEditEditing,g as UploadcareImageEditUI,e as UploadcareUI,f as UploadcareUploadAdapter};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'af':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x8f11c6=>0x1!=_0x8f11c6}};
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':_0x303768=>0x1!=_0x303768}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x1e05e1=>{const {af:{dictionary:_0x5c0ea7,getPluralForm:_0x5037ae}}={'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':_0xdd8c0e=>0x1!=_0xdd8c0e}};_0x1e05e1['af']||={'dictionary':{},'getPluralForm':null},_0x1e05e1['af']['dictionary']=Object['assign'](_0x1e05e1['af']['dictionary'],_0x5c0ea7),_0x1e05e1['af']['getPluralForm']=_0x5037ae;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x76f9c9=>{const {af:{dictionary:_0x9918ed,getPluralForm:_0x5793f4}}={'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':_0x1b8028=>0x1!=_0x1b8028}};_0x76f9c9['af']||={'dictionary':{},'getPluralForm':null},_0x76f9c9['af']['dictionary']=Object['assign'](_0x76f9c9['af']['dictionary'],_0x9918ed),_0x76f9c9['af']['getPluralForm']=_0x5793f4;})(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':_0x3e6abd=>0x0==_0x3e6abd?0x0:0x1==_0x3e6abd?0x1:0x2==_0x3e6abd?0x2:_0x3e6abd%0x64>=0x3&&_0x3e6abd%0x64<=0xa?0x3:_0x3e6abd%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':_0x3e6bb6=>0x0==_0x3e6bb6?0x0:0x1==_0x3e6bb6?0x1:0x2==_0x3e6bb6?0x2:_0x3e6bb6%0x64>=0x3&&_0x3e6bb6%0x64<=0xa?0x3:_0x3e6bb6%0x64>=0xb?0x4:0x5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0xa6572a=>{const {ar:{dictionary:_0x27e790,getPluralForm:_0x3358f3}}={'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':_0xc2e16f=>0x0==_0xc2e16f?0x0:0x1==_0xc2e16f?0x1:0x2==_0xc2e16f?0x2:_0xc2e16f%0x64>=0x3&&_0xc2e16f%0x64<=0xa?0x3:_0xc2e16f%0x64>=0xb?0x4:0x5}};_0xa6572a['ar']||={'dictionary':{},'getPluralForm':null},_0xa6572a['ar']['dictionary']=Object['assign'](_0xa6572a['ar']['dictionary'],_0x27e790),_0xa6572a['ar']['getPluralForm']=_0x3358f3;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x33ca03=>{const {ar:{dictionary:_0x39153e,getPluralForm:_0x4ddf40}}={'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':_0x4c0557=>0x0==_0x4c0557?0x0:0x1==_0x4c0557?0x1:0x2==_0x4c0557?0x2:_0x4c0557%0x64>=0x3&&_0x4c0557%0x64<=0xa?0x3:_0x4c0557%0x64>=0xb?0x4:0x5}};_0x33ca03['ar']||={'dictionary':{},'getPluralForm':null},_0x33ca03['ar']['dictionary']=Object['assign'](_0x33ca03['ar']['dictionary'],_0x39153e),_0x33ca03['ar']['getPluralForm']=_0x4ddf40;})(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':_0x474579=>0x1!=_0x474579}};
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':_0xf92a6a=>0x1!=_0xf92a6a}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x456541=>{const {ast:{dictionary:_0x255fa0,getPluralForm:_0x29041d}}={'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':_0x25398f=>0x1!=_0x25398f}};_0x456541['ast']||={'dictionary':{},'getPluralForm':null},_0x456541['ast']['dictionary']=Object['assign'](_0x456541['ast']['dictionary'],_0x255fa0),_0x456541['ast']['getPluralForm']=_0x29041d;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x5d1ae3=>{const {ast:{dictionary:_0x33859f,getPluralForm:_0xb04b15}}={'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':_0x50b12b=>0x1!=_0x50b12b}};_0x5d1ae3['ast']||={'dictionary':{},'getPluralForm':null},_0x5d1ae3['ast']['dictionary']=Object['assign'](_0x5d1ae3['ast']['dictionary'],_0x33859f),_0x5d1ae3['ast']['getPluralForm']=_0xb04b15;})(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':_0x25dd6b=>0x1!=_0x25dd6b}};
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':_0x158008=>0x1!=_0x158008}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0xf8da0f=>{const {az:{dictionary:_0x299e8c,getPluralForm:_0x349c5c}}={'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':_0x2c0274=>0x1!=_0x2c0274}};_0xf8da0f['az']||={'dictionary':{},'getPluralForm':null},_0xf8da0f['az']['dictionary']=Object['assign'](_0xf8da0f['az']['dictionary'],_0x299e8c),_0xf8da0f['az']['getPluralForm']=_0x349c5c;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x16bd12=>{const {az:{dictionary:_0x35a164,getPluralForm:_0x316e0e}}={'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':_0xb13368=>0x1!=_0xb13368}};_0x16bd12['az']||={'dictionary':{},'getPluralForm':null},_0x16bd12['az']['dictionary']=Object['assign'](_0x16bd12['az']['dictionary'],_0x35a164),_0x16bd12['az']['getPluralForm']=_0x316e0e;})(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':_0x3fe8e7=>_0x3fe8e7%0xa==0x1&&_0x3fe8e7%0x64!=0xb?0x0:_0x3fe8e7%0xa>=0x2&&_0x3fe8e7%0xa<=0x4&&(_0x3fe8e7%0x64<0xa||_0x3fe8e7%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':_0x5cc9c2=>_0x5cc9c2%0xa==0x1&&_0x5cc9c2%0x64!=0xb?0x0:_0x5cc9c2%0xa>=0x2&&_0x5cc9c2%0xa<=0x4&&(_0x5cc9c2%0x64<0xa||_0x5cc9c2%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x2d4c31=>{const {be:{dictionary:_0x50c540,getPluralForm:_0x381637}}={'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':_0x24113d=>_0x24113d%0xa==0x1&&_0x24113d%0x64!=0xb?0x0:_0x24113d%0xa>=0x2&&_0x24113d%0xa<=0x4&&(_0x24113d%0x64<0xa||_0x24113d%0x64>=0x14)?0x1:0x2}};_0x2d4c31['be']||={'dictionary':{},'getPluralForm':null},_0x2d4c31['be']['dictionary']=Object['assign'](_0x2d4c31['be']['dictionary'],_0x50c540),_0x2d4c31['be']['getPluralForm']=_0x381637;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x38de16=>{const {be:{dictionary:_0x1bd11c,getPluralForm:_0x20706f}}={'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':_0x32a4c5=>_0x32a4c5%0xa==0x1&&_0x32a4c5%0x64!=0xb?0x0:_0x32a4c5%0xa>=0x2&&_0x32a4c5%0xa<=0x4&&(_0x32a4c5%0x64<0xa||_0x32a4c5%0x64>=0x14)?0x1:0x2}};_0x38de16['be']||={'dictionary':{},'getPluralForm':null},_0x38de16['be']['dictionary']=Object['assign'](_0x38de16['be']['dictionary'],_0x1bd11c),_0x38de16['be']['getPluralForm']=_0x20706f;})(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':_0x4feb43=>0x1!=_0x4feb43}};
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':_0x38fbc7=>0x1!=_0x38fbc7}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x44a7e9=>{const {bg:{dictionary:_0x361986,getPluralForm:_0x564c0d}}={'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':_0x3edd1b=>0x1!=_0x3edd1b}};_0x44a7e9['bg']||={'dictionary':{},'getPluralForm':null},_0x44a7e9['bg']['dictionary']=Object['assign'](_0x44a7e9['bg']['dictionary'],_0x361986),_0x44a7e9['bg']['getPluralForm']=_0x564c0d;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x53e2e5=>{const {bg:{dictionary:_0x482d27,getPluralForm:_0x15bd7a}}={'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':_0x429141=>0x1!=_0x429141}};_0x53e2e5['bg']||={'dictionary':{},'getPluralForm':null},_0x53e2e5['bg']['dictionary']=Object['assign'](_0x53e2e5['bg']['dictionary'],_0x482d27),_0x53e2e5['bg']['getPluralForm']=_0x15bd7a;})(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':_0x275125=>0x1!=_0x275125}};
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':_0x256e61=>0x1!=_0x256e61}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0xaa7498=>{const {bn:{dictionary:_0x54aa58,getPluralForm:_0x25cfb7}}={'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':_0x6a857e=>0x1!=_0x6a857e}};_0xaa7498['bn']||={'dictionary':{},'getPluralForm':null},_0xaa7498['bn']['dictionary']=Object['assign'](_0xaa7498['bn']['dictionary'],_0x54aa58),_0xaa7498['bn']['getPluralForm']=_0x25cfb7;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x1be3ab=>{const {bn:{dictionary:_0x44eb2c,getPluralForm:_0x2ce132}}={'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':_0x96e388=>0x1!=_0x96e388}};_0x1be3ab['bn']||={'dictionary':{},'getPluralForm':null},_0x1be3ab['bn']['dictionary']=Object['assign'](_0x1be3ab['bn']['dictionary'],_0x44eb2c),_0x1be3ab['bn']['getPluralForm']=_0x2ce132;})(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':_0xb24862=>_0xb24862%0xa==0x1&&_0xb24862%0x64!=0xb?0x0:_0xb24862%0xa>=0x2&&_0xb24862%0xa<=0x4&&(_0xb24862%0x64<0xa||_0xb24862%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':_0x5940ca=>_0x5940ca%0xa==0x1&&_0x5940ca%0x64!=0xb?0x0:_0x5940ca%0xa>=0x2&&_0x5940ca%0xa<=0x4&&(_0x5940ca%0x64<0xa||_0x5940ca%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x405eba=>{const {bs:{dictionary:_0x21f6a9,getPluralForm:_0x31e4bb}}={'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':_0x5b0abd=>_0x5b0abd%0xa==0x1&&_0x5b0abd%0x64!=0xb?0x0:_0x5b0abd%0xa>=0x2&&_0x5b0abd%0xa<=0x4&&(_0x5b0abd%0x64<0xa||_0x5b0abd%0x64>=0x14)?0x1:0x2}};_0x405eba['bs']||={'dictionary':{},'getPluralForm':null},_0x405eba['bs']['dictionary']=Object['assign'](_0x405eba['bs']['dictionary'],_0x21f6a9),_0x405eba['bs']['getPluralForm']=_0x31e4bb;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x3b1ae7=>{const {bs:{dictionary:_0x476af3,getPluralForm:_0x241755}}={'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':_0x4d9b72=>_0x4d9b72%0xa==0x1&&_0x4d9b72%0x64!=0xb?0x0:_0x4d9b72%0xa>=0x2&&_0x4d9b72%0xa<=0x4&&(_0x4d9b72%0x64<0xa||_0x4d9b72%0x64>=0x14)?0x1:0x2}};_0x3b1ae7['bs']||={'dictionary':{},'getPluralForm':null},_0x3b1ae7['bs']['dictionary']=Object['assign'](_0x3b1ae7['bs']['dictionary'],_0x476af3),_0x3b1ae7['bs']['getPluralForm']=_0x241755;})(window['CKEDITOR_TRANSLATIONS']||={});