@ckeditor/ckeditor5-uploadcare 46.0.2 → 46.0.3

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 _0x4f7446,Command as _0x3ee3d2}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x424d88,IconGooglePhotos as _0x3c9c60,IconGoogleDrive as _0x32ebc5,IconFacebook as _0x51676f,IconDropbox as _0x385a84,IconUploadcareLink as _0x19db34,IconUploadcareImageUpload as _0x49ed03,IconError as _0xca020d,IconUploadcareImageEdit as _0x4fa5d8}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x4dd829,MenuBarMenuListItemButtonView as _0x1c3f18,View as _0x109d61,FocusCycler as _0x5c0dff,Dialog as _0xe36578,DialogViewPosition as _0x3d1f50,SpinnerView as _0xd149cf,IconView as _0x47ff6a,Notification as _0x50e187}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x3018b3,DomEmitterMixin as _0x4b432f,global as _0x155dda,getAncestors as _0x5bacdc,ObservableMixin as _0x28aecd,uid as _0x782983,createElement as _0x38b357}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x1b56fb}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x2b215d,info as _0x23d54c}from'@uploadcare/upload-client';import*as _0xbf4ebd from'@uploadcare/file-uploader';var i=function(_0x548a4f){return _0x548a4f['Local']='local',_0x548a4f['URL']='url',_0x548a4f['Dropbox']='dropbox',_0x548a4f['GDrive']='gdrive',_0x548a4f['Facebook']='facebook',_0x548a4f['GPhotos']='gphotos',_0x548a4f['OneDrive']='onedrive',_0x548a4f;}({});function _(_0x14b957,_0x199e86,_0x33d21e){const t=_0x14b957['t'],_0x11e91b=_0x14b957['t'];switch(_0x199e86){case i['Local']:return{'text':_0x11e91b('Insert'===_0x33d21e?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x11e91b('From\x20computer')};case i['URL']:return{'text':'Insert'===_0x33d21e?_0x11e91b('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x11e91b('Via\x20URL')};case i['Dropbox']:return{'text':t('Insert'===_0x33d21e?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case i['Facebook']:return{'text':t('Insert'===_0x33d21e?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case i['GDrive']:return{'text':t('Insert'===_0x33d21e?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case i['GPhotos']:return{'text':t('Insert'===_0x33d21e?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case i['OneDrive']:return{'text':t('Insert'===_0x33d21e?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x199e86;}}class e extends _0x4f7446{['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 _0x275f96=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x25ff3b;for(const _0x36c1c7 in _0x275f96){const _0x57ed42=_0x36c1c7,_0x40b47d=_0x275f96[_0x57ed42];if('uploadcareLicenseKeyValid'==_0x40b47d||'uploadcareLicenseKeyInvalid'==_0x40b47d||'uploadcareLicenseKeyExpired'==_0x40b47d||'uploadcareLicenseKeyDomainLimit'==_0x40b47d||'uploadcareLicenseKeyNotAllowed'==_0x40b47d||'uploadcareLicenseKeyEvaluationLimit'==_0x40b47d||'uploadcareLicenseKeyTrialLimit'==_0x40b47d||'uploadcareLicenseKeyUsageLimit'==_0x40b47d){delete _0x275f96[_0x57ed42],_0x25ff3b=_0x40b47d,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x25ff3b&&_0x275f96['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x25ff3b&&_0x275f96['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x25ff3b&&_0x275f96['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x25ff3b&&_0x275f96['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x25ff3b&&_0x275f96['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0x25ff3b&&_0x275f96['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0x25ff3b&&_0x275f96['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x56b99e}=this,_0x4c6388=_0x56b99e['commands']['get']('uploadcare');if(!_0x4c6388)return;const _0x1d2058=this['_normalizeConfigSourceList'](_0x56b99e['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x4dcae5,_0x18df8c)=>{const _0x20150a=this['_getIntegrationKey'](_0x18df8c['type']);return _0x4dcae5[_0x20150a]||(_0x4dcae5[_0x20150a]=[]),_0x4dcae5[_0x20150a]['push'](_0x18df8c),_0x4dcae5;},{});_0x56b99e['plugins']['has']('ImageInsertUI')&&_0x56b99e['commands']['get']('uploadcare')&&Object['entries'](_0x1d2058)['forEach'](([_0x5bb816,_0x42c486])=>{_0x56b99e['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x5bb816,'observable':()=>_0x4c6388,'buttonViewCreator':()=>this['_createToolbarButton'](_0x42c486),'formViewCreator':()=>this['_createDropdownButtons'](_0x42c486),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x42c486),'override':'assetManager'!==_0x5bb816});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x142dd5){const {locale:_0x443ebb}=this['editor'];return _0x142dd5['map'](_0x5249a2=>{const _0x17eb44=_(_0x443ebb,_0x5249a2,'Insert');switch(_0x5249a2){case i['Local']:return{'icon':_0x49ed03,'type':i['Local'],..._0x17eb44};case i['URL']:return{'icon':_0x19db34,'type':i['URL'],..._0x17eb44};case i['Dropbox']:return{'icon':_0x385a84,'type':i['Dropbox'],..._0x17eb44};case i['Facebook']:return{'icon':_0x51676f,'type':i['Facebook'],..._0x17eb44};case i['GDrive']:return{'icon':_0x32ebc5,'type':i['GDrive'],..._0x17eb44};case i['GPhotos']:return{'icon':_0x3c9c60,'type':i['GPhotos'],..._0x17eb44};case i['OneDrive']:return{'icon':_0x424d88,'type':i['OneDrive'],..._0x17eb44};}});}['_getIntegrationKey'](_0x2a456e){switch(_0x2a456e){case i['Local']:return'upload';case i['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x39bb3e,_0x5d64b3){const _0x2dac9f=this['editor'],_0x1a0a65=new _0x39bb3e(_0x2dac9f['locale']),_0x56c31a=_0x2dac9f['commands']['get']('uploadcare');return _0x1a0a65['bind']('isEnabled')['to'](_0x56c31a),_0x1a0a65['on']('execute',()=>{_0x56c31a['execute'](_0x5d64b3);}),_0x1a0a65;}['_createToolbarButton'](_0x282459){const {locale:_0x1acaae}=this['editor'],_0x516e80=this['editor']['plugins']['get']('ImageInsertUI'),_0x1afaa2=_0x282459[0x0],_0x3a489d=this['_createButton'](_0x4dd829,_0x1afaa2['type']);return _0x3a489d['icon']=_0x1afaa2['icon'],_0x3a489d['bind']('label')['to'](_0x516e80,'isImageSelected',_0x156dd6=>_(_0x1acaae,_0x1afaa2['type'],_0x156dd6?'Replace':'Insert')['text']),_0x3a489d['tooltip']=!0x0,_0x3a489d;}['_createDropdownButtons'](_0x48bfd0){const {locale:_0x568614}=this['editor'],_0x44811e=this['editor']['plugins']['get']('ImageInsertUI');return _0x48bfd0['map'](_0x23327b=>{const _0x522bcc=this['_createButton'](_0x4dd829,_0x23327b['type']);return _0x522bcc['withText']=!0x0,_0x522bcc['icon']=_0x23327b['icon'],_0x522bcc['bind']('label')['to'](_0x44811e,'isImageSelected',_0x690e9d=>_(_0x568614,_0x23327b['type'],_0x690e9d?'Replace':'Insert')['text']),_0x522bcc;});}['_createMenuBarButtons'](_0x39ca7f){return _0x39ca7f['map'](_0x1963cd=>{const _0x2d8860=this['_createButton'](_0x1c3f18,_0x1963cd['type']);return _0x2d8860['icon']=_0x1963cd['icon'],_0x2d8860['label']=_0x1963cd['shortText'],_0x2d8860;});}}class F extends _0x109d61{['focusTracker'];['focusCycler'];constructor(_0x19f593){super(_0x19f593),this['focusTracker']=new _0x3018b3(),this['focusCycler']=new _0x5c0dff({'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(_0x1b4562,_0x20bbd7){super(_0x1b4562),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-'+_0x20bbd7}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function k(_0x58ca2b,_0x4515f6){const _0x13cb89=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x26babe=>_0x26babe<=_0x4515f6)['map'](_0x18d7d9=>_0x58ca2b['replace'](/\/$/,'')+'/-/resize/'+_0x18d7d9+'x/\x20'+_0x18d7d9+'w');return{'imageFallbackUrl':_0x58ca2b,'imageSources':[{'srcset':_0x13cb89['join'](',\x20'),'sizes':'(max-width:\x20'+_0x4515f6+'px)\x20100vw,\x20'+_0x4515f6+'px','type':'image/webp'}]};}function C(_0x309708,_0x3324b9,_0x166377){const _0x3795ab=_0x309708['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x3795ab?parseInt(_0x3795ab[0x1],0xa):_0x3324b9,'height':_0x3795ab?parseInt(_0x3795ab[0x2],0xa):_0x166377};}function p(_0xf48e36,_0x32f3b4){const _0x37315c=new(_0x4b432f())(),_0xfbd63b=_0xf48e36['plugins']['get']('ImageUtils'),_0x5d7033=_0xf48e36['editing']['mapper']['toViewElement'](_0x32f3b4),_0x2610eb=_0xfbd63b['findViewImgElement'](_0x5d7033),_0x5b21aa=_0xf48e36['editing']['view']['domConverter']['viewToDom'](_0x2610eb),_0x4bdaa4=_0x32f3b4['getAttribute']('width'),_0x49e044=_0x32f3b4['getAttribute']('height'),_0x4d166b='image-processing';_0xf48e36['editing']['view']['change'](_0x5040e5=>{_0x5040e5['addClass'](_0x4d166b,_0x5d7033),_0x5040e5['setStyle']('aspect-ratio',_0x4bdaa4+'/'+_0x49e044,_0x2610eb);}),_0x37315c['listenTo'](_0x5b21aa,'load',()=>{_0x37315c['stopListening'](_0x5b21aa,'load'),_0xf48e36['editing']['view']['change'](_0x2785d6=>{_0x2785d6['removeClass'](_0x4d166b,_0x5d7033),_0x2785d6['removeStyle']('aspect-ratio',_0x2610eb);});});}function z(_0x37bf84){if(Array['isArray'](_0x37bf84)){const _0x543612=_0x37bf84['map'](z);return _0x148cb6=>_0x543612['some'](_0x3e5ed4=>_0x3e5ed4(_0x148cb6));}if('origin'==_0x37bf84){const _0x489e56=_0x155dda['window']['location']['origin'];return _0x561f10=>new URL(_0x561f10,_0x155dda['document']['baseURI'])['origin']==_0x489e56;}return'function'==typeof _0x37bf84?_0x37bf84:_0x37bf84 instanceof RegExp?_0x5dbdd6=>!(!_0x5dbdd6['match'](_0x37bf84)&&!_0x5dbdd6['replace'](/^https?:\/\//,'')['match'](_0x37bf84)):()=>!0x1;}function S(_0x9c85a5,_0x3578a6){return _0x5bacdc(_0x9c85a5['target'])['includes'](_0x3578a6);}class n extends/* #__PURE__ -- @preserve */
24
- _0x28aecd(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x2a45fd,_0x21eca5,_0x207b25){super(),this['_editor']=_0x2a45fd,this['_editing']=_0x21eca5,this['_dialog']=_0x2a45fd['plugins']['get'](_0xe36578),this['_api']=_0x21eca5['ctxElement']['getAPI'](),this['_type']=_0x207b25,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:_0x1a25e3,model:_0xf1092c}=this['_editor'],_0x5c8a4f=_0xf1092c['document']['selection']['getSelectedElement'](),_0x3b2609=_0x5c8a4f&&(_0x5c8a4f['is']('element','imageBlock')||_0x5c8a4f['is']('element','imageInline'));this['_formView']=new x(_0x1a25e3,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':_0x49ed03,'title':_(_0x1a25e3,this['_type'],_0x3b2609?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x3d1f50['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x2408af=>!S(_0x2408af,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x2e1515}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x4bb3cf=>{const _0x33d1a6=_0x2e1515['length'];for(const _0x166803 of _0x2e1515){const _0x27dc0a=_0x166803===_0x2e1515[_0x33d1a6-0x1],{cdnUrl:_0x9da278,fileInfo:_0xb563df}=_0x166803;if(!_0x9da278||!_0xb563df)continue;const {width:_0xfea1d1,height:_0x4e84e9}=_0xb563df['imageInfo'],_0x1129fa=C(_0x9da278,_0xfea1d1,_0x4e84e9),_0xfd1151=k(_0x9da278,_0x1129fa['width']),_0xc77bc8={'id':_0xb563df['uuid'],'type':'image','attributes':{'imageDimension':_0x1129fa,..._0xfd1151}};this['_insertAsset'](_0xc77bc8,_0x27dc0a,_0x4bb3cf);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x5bc72d=>{'idle'===_0x5bc72d['detail']['status']&&!_0x5bc72d['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===i['Local']?this['_api']['setCurrentActivity'](i['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x384090,_0x136654,_0x24c4a8){const _0x5b7ccd=this['_editor']['model']['document']['selection'],_0x4b58ef=_0x5b7ccd['getSelectedElement'](),_0x243c04=!(!_0x4b58ef||!_0x4b58ef['is']('element','imageInline'));_0x24c4a8['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x384090,_0x243c04),_0x136654||_0x24c4a8['setSelection'](_0x5b7ccd['getLastPosition']());}['_insertImage'](_0x1dd9fe,_0x37bf4d){const _0x5eef01=this['_editor'],{imageDimension:_0x3a678a,imageFallbackUrl:_0x15be5e,imageSources:_0x24fee1}=_0x1dd9fe['attributes'];_0x5eef01['execute']('insertImage',{'imageType':_0x37bf4d?'imageInline':null,'source':{'uploadcareImageId':_0x1dd9fe['id'],'src':_0x15be5e,'sources':_0x24fee1,..._0x3a678a}});}}class w extends _0x3ee3d2{['_editing'];['_controller']=null;static get['requires'](){return[_0xe36578,o];}constructor(_0x1d231d){super(_0x1d231d),this['_editing']=_0x1d231d['plugins']['get'](o);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x3d54dd){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new n(this['editor'],this['_editing'],_0x3d54dd);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class j{static['upload']({file:_0x520c39,publicKey:_0x5f5c54,signal:_0x182c84,onProgress:_0x134b65}){return _0x2b215d(_0x520c39,{'publicKey':_0x5f5c54,'store':'auto','signal':_0x182c84,'onProgress':_0x134b65});}static['getInfo'](_0x144f06,_0x2f0f32){return _0x23d54c(_0x144f06,_0x2f0f32);}}class f extends _0x4f7446{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x1b56fb,o];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x587dbe=this['editor'];if(!!!_0x587dbe['config']['get']('uploadcare'))return;_0x587dbe['plugins']['get'](_0x1b56fb)['createUploadAdapter']=_0x125e70=>new A(_0x125e70,_0x587dbe),_0x587dbe['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x564550,{imageElement:_0x3c5a48,data:_0x5100a1})=>{_0x587dbe['model']['change'](_0x45ec2c=>{_0x45ec2c['setAttribute']('uploadcareImageId',_0x5100a1['uploadcareImageId'],_0x3c5a48);});});}}class A{['loader'];['editor'];['controller'];constructor(_0x37d78d,_0x546754){this['loader']=_0x37d78d,this['editor']=_0x546754,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x107e7d=this['editor']['config']['get']('uploadcare.pubkey'),_0x59f611=await this['loader']['file'];return j['upload']({'file':_0x59f611,'publicKey':_0x107e7d,'signal':this['controller']['signal'],'onProgress':_0x3c0114=>{_0x3c0114&&_0x3c0114['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x3c0114['value']);}})['then'](async _0x2e39e8=>{const {imageFallbackUrl:_0x4c6f33,imageSources:_0x2ea054}=k(_0x2e39e8['cdnUrl'],_0x2e39e8['imageInfo']['width']);return{'uploadcareImageId':_0x2e39e8['uuid'],'default':_0x4c6f33,'sources':_0x2ea054};})['catch'](()=>{const _0x186a52=t('Cannot\x20upload\x20file:')+('\x20'+_0x59f611['name']+'.');return Promise['reject'](_0x186a52);});}['abort'](){this['controller']['abort']();}}class o extends _0x4f7446{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',f,_0xe36578];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['ucContextId'];get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}constructor(_0x276076){super(_0x276076),this['ucContextId']=_0x782983();}['init'](){const _0x1206b7=this['editor'];_0x1206b7['commands']['add']('uploadcare',new w(_0x1206b7));}['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 _0x5141a3=_0x155dda['document']['querySelector']('input[uploadcare-file-input]');_0x5141a3&&_0x5141a3['remove']();}),async function(_0x3a926a){const _0x2cb628=_0x321ff3([0x46,0x73,0x79,0x69,0x71,0x61,0x30,0x72,0x62,0x58,0x45,0x47,0x4f,0x67,0x52,0x55,0x38,0x6d,0x59,0x32,0x76,0x65,0x51,0x77,0x43,0x78,0x4d,0x66,0x6e,0x4b,0x36,0x63,0x31,0x39,0x6b,0x74,0x7a,0x34,0x57,0x44,0x6a,0x37,0x48,0x5a,0x4e,0x54,0x6f,0x33,0x64,0x50,0x49,0x41,0x68,0x35,0x6c,0x53,0x75,0x4c,0x4a,0x56,0x42,0x70]),_0x585fa7=0x2cbbfe0c,_0x12e8f0=0x2cbc8ee4^_0x585fa7,_0x11d4cd=window[_0x321ff3([0x44,0x61,0x74,0x65])][_0x321ff3([0x6e,0x6f,0x77])](),_0x495465=_0x3a926a[_0x321ff3([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x543dac=new window[(_0x321ff3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2060bf=>{_0x495465[_0x321ff3([0x6f,0x6e,0x63,0x65])](_0x321ff3([0x72,0x65,0x61,0x64,0x79]),_0x2060bf);}),_0xb8959b={[_0x321ff3([0x6b,0x74,0x79])]:_0x321ff3([0x45,0x43]),[_0x321ff3([0x75,0x73,0x65])]:_0x321ff3([0x73,0x69,0x67]),[_0x321ff3([0x63,0x72,0x76])]:_0x321ff3([0x50,0x2d,0x32,0x35,0x36]),[_0x321ff3([0x78])]:_0x321ff3([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]),[_0x321ff3([0x79])]:_0x321ff3([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]),[_0x321ff3([0x61,0x6c,0x67])]:_0x321ff3([0x45,0x53,0x32,0x35,0x36])},_0x377520=_0x495465[_0x321ff3([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x321ff3([0x67,0x65,0x74])](_0x321ff3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x54f51a(){let _0x3d8c96,_0x487c31=null,_0x13c5bf=null;try{if(_0x377520==_0x321ff3([0x47,0x50,0x4c]))return _0x321ff3([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3d8c96=_0x127be6(),!_0x3d8c96)return _0x321ff3([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x3d8c96[_0x321ff3([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x13c5bf=_0x3ac1f0(_0x3d8c96[_0x321ff3([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3d8c96[_0x321ff3([0x6a,0x74,0x69])])),await _0x3df6ba()?_0x1862de()?_0x45a187()?_0x321ff3([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x412ece()?(_0x3d8c96[_0x321ff3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x321ff3([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x487c31=_0x364531(_0x321ff3([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x3d8c96[_0x321ff3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x321ff3([0x74,0x72,0x69,0x61,0x6c])&&(_0x487c31=_0x364531(_0x321ff3([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x510da5()):_0x321ff3([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x321ff3([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x321ff3([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x321ff3([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x45a187(){const _0x5c54d8=[_0x321ff3([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x321ff3([0x74,0x72,0x69,0x61,0x6c])][_0x321ff3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3d8c96[_0x321ff3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x11d4cd/0x3e8:0xe10*_0x12e8f0;return _0x3d8c96[_0x321ff3([0x65,0x78,0x70])]<_0x5c54d8;}function _0x1862de(){const _0x1383e5=_0x3d8c96[_0x321ff3([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x1383e5&&(!!_0x1383e5[_0x321ff3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x321ff3([0x2a]))||!!_0x1383e5[_0x321ff3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x321ff3([0x55,0x50,0x4c,0x43])));}function _0x412ece(){const _0x4bb961=_0x3d8c96[_0x321ff3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x4bb961||0x0==_0x4bb961[_0x321ff3([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x2c883e}=new URL(window[_0x321ff3([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x4bb961[_0x321ff3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2c883e))return!0x0;const _0xc5b2cd=_0x2c883e[_0x321ff3([0x73,0x70,0x6c,0x69,0x74])](_0x321ff3([0x2e]));return _0x4bb961[_0x321ff3([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xeb2623=>_0xeb2623[_0x321ff3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x321ff3([0x2a])))[_0x321ff3([0x6d,0x61,0x70])](_0x24f380=>_0x24f380[_0x321ff3([0x73,0x70,0x6c,0x69,0x74])](_0x321ff3([0x2e])))[_0x321ff3([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x30df76=>_0x30df76[_0x321ff3([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0xc5b2cd[_0x321ff3([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x321ff3([0x6d,0x61,0x70])](_0x16baef=>Array(_0xc5b2cd[_0x321ff3([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x16baef[_0x321ff3([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x321ff3([0x66,0x69,0x6c,0x6c])](_0x16baef[0x0]===_0x321ff3([0x2a])?_0x321ff3([0x2a]):'')[_0x321ff3([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x16baef))[_0x321ff3([0x73,0x6f,0x6d,0x65])](_0x352516=>_0xc5b2cd[_0x321ff3([0x65,0x76,0x65,0x72,0x79])]((_0x27a84d,_0x4fbce6)=>_0x352516[_0x4fbce6]===_0x27a84d||_0x352516[_0x4fbce6]===_0x321ff3([0x2a])));}function _0x510da5(){return _0x487c31&&_0x13c5bf?new window[(_0x321ff3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x74197,_0x4a15b6)=>{_0x487c31[_0x321ff3([0x74,0x68,0x65,0x6e])](_0x74197,_0x4a15b6),_0x13c5bf[_0x321ff3([0x74,0x68,0x65,0x6e])](_0x1858aa=>{_0x1858aa!=_0x321ff3([0x56,0x61,0x6c,0x69,0x64])&&_0x74197(_0x1858aa);},_0x4a15b6);}):_0x487c31||_0x13c5bf||_0x321ff3([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3ac1f0(_0x54f846,_0x663429){return new window[(_0x321ff3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2e73a9=>{if(_0x3c0f56())return _0x2e73a9(_0x321ff3([0x56,0x61,0x6c,0x69,0x64]));_0x2aa54b(),_0x495465[_0x321ff3([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x321ff3([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x5deac3=!0x1;const _0x45b7d2=_0x782983();function _0x3fd66a(_0x2cc3dc){return!!_0x2cc3dc&&(typeof _0x2cc3dc===_0x321ff3([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2cc3dc===_0x321ff3([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2cc3dc[_0x321ff3([0x74,0x68,0x65,0x6e])]===_0x321ff3([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2cc3dc[_0x321ff3([0x63,0x61,0x74,0x63,0x68])]===_0x321ff3([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x431c72(_0x1d9e68){_0x5f5bdf(_0x1d9e68)[_0x321ff3([0x74,0x68,0x65,0x6e])](_0x1fab78=>{if(!_0x1fab78||_0x1fab78[_0x321ff3([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x321ff3([0x6f,0x6b]))return _0x321ff3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x318851(_0x57cfbf(_0x45b7d2+_0x663429))!=_0x1fab78[_0x321ff3([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x321ff3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x321ff3([0x56,0x61,0x6c,0x69,0x64]);})[_0x321ff3([0x74,0x68,0x65,0x6e])](_0x3b90b0=>(_0x490d1b(),_0x3b90b0),()=>{const _0x5a2299=_0x485154();return null==_0x5a2299?(_0x490d1b(),_0x321ff3([0x56,0x61,0x6c,0x69,0x64])):_0x321ff3(_0x11d4cd-_0x5a2299>(0x8b77a0c^_0x585fa7)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x321ff3([0x74,0x68,0x65,0x6e])](_0x2e73a9)[_0x321ff3([0x63,0x61,0x74,0x63,0x68])](()=>{_0x2e73a9(_0x321ff3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5cfdbf=0x2c8d108c^_0x585fa7;function _0x490d1b(){const _0x490390=_0x321ff3([0x6c,0x6c,0x63,0x74,0x2d])+_0x318851(_0x57cfbf(_0x54f846)),_0x17656a=_0x2c6179(_0x318851(window[_0x321ff3([0x4d,0x61,0x74,0x68])][_0x321ff3([0x63,0x65,0x69,0x6c])](_0x11d4cd/_0x5cfdbf)));window[_0x321ff3([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x321ff3([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x490390,_0x17656a);}function _0x485154(){const _0x293dba=_0x321ff3([0x6c,0x6c,0x63,0x74,0x2d])+_0x318851(_0x57cfbf(_0x54f846)),_0x4e51d1=window[_0x321ff3([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x321ff3([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x293dba);return _0x4e51d1?window[_0x321ff3([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2c6179(_0x4e51d1),0x10)*_0x5cfdbf:null;}function _0x5f5bdf(_0x190f02){return new window[(_0x321ff3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x135bed,_0x465cc4)=>{_0x190f02[_0x321ff3([0x74,0x68,0x65,0x6e])](_0x135bed,_0x465cc4),window[_0x321ff3([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x465cc4,0x2cba2acc^_0x585fa7);});}}_0x495465[_0x321ff3([0x6f,0x6e])](_0x321ff3([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x31da2b,_0x4b66cd)=>{if(_0x4b66cd[0x0]!=_0x54f846)return _0x2e73a9(_0x321ff3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4b66cd[0x1]={..._0x4b66cd[0x1],[_0x321ff3([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x45b7d2};},{[_0x321ff3([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x321ff3([0x68,0x69,0x67,0x68])}),_0x495465[_0x321ff3([0x6f,0x6e])](_0x321ff3([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x122871=>{_0x3fd66a(_0x122871[_0x321ff3([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x5deac3=!0x0,_0x431c72(_0x122871[_0x321ff3([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x321ff3([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x321ff3([0x6c,0x6f,0x77])}),_0x543dac[_0x321ff3([0x74,0x68,0x65,0x6e])](()=>{_0x5deac3||_0x2e73a9(_0x321ff3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3c0f56(){return _0x495465[_0x321ff3([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x321ff3([0x76,0x69,0x65,0x77])][_0x321ff3([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x321ff3([0x61,0x75,0x74,0x6f]);}function _0x2aa54b(){_0x495465[_0x321ff3([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x321ff3([0x76,0x69,0x65,0x77])][_0x321ff3([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x321ff3([0x61,0x75,0x74,0x6f]);}}function _0x364531(_0x2a2110){const _0x1a6c6e=[new window[(_0x321ff3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x21a110=>setTimeout(_0x21a110,0x2cb2c0c0^_0x585fa7)),_0x543dac[_0x321ff3([0x74,0x68,0x65,0x6e])](()=>new window[(_0x321ff3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x348876=>{let _0xfbc017=0x0;_0x495465[_0x321ff3([0x6d,0x6f,0x64,0x65,0x6c])][_0x321ff3([0x6f,0x6e])](_0x321ff3([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x304994,_0x5ca642)=>{_0x5ca642[0x0][_0x321ff3([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0xfbc017++,_0xfbc017==(0x2cbbfff4^_0x585fa7)&&(_0x348876(),_0x304994[_0x321ff3([0x6f,0x66,0x66])]());});}))];return window[_0x321ff3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x321ff3([0x72,0x61,0x63,0x65])](_0x1a6c6e)[_0x321ff3([0x74,0x68,0x65,0x6e])](()=>_0x2a2110);}async function _0x551dd5(){await _0x543dac,_0x495465[_0x321ff3([0x6d,0x6f,0x64,0x65,0x6c])][_0x321ff3([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x17b49c,_0x495465[_0x321ff3([0x6d,0x6f,0x64,0x65,0x6c])][_0x321ff3([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x17b49c,_0x495465[_0x321ff3([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x321ff3([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x35109e(_0x92bfcd){const _0x4aca0f=_0x598d70();_0x495465[_0x4aca0f]=_0x321ff3([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x92bfcd,_0x92bfcd!=_0x321ff3([0x56,0x61,0x6c,0x69,0x64])&&_0x551dd5();}function _0x598d70(){const _0x2a9aeb=window[_0x321ff3([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x321ff3([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x321ff3([0x6e,0x6f,0x77])]())[_0x321ff3([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x321ff3([0x2e]),'');let _0x17cab2=_0x321ff3([0x46]);for(let _0x2a2ee8=0x0;_0x2a2ee8<_0x2a9aeb[_0x321ff3([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2a2ee8+=0x2){let _0x400d89=window[_0x321ff3([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2a9aeb[_0x321ff3([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2a2ee8,_0x2a2ee8+0x2));_0x400d89>=_0x2cb628[_0x321ff3([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x400d89-=_0x2cb628[_0x321ff3([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x17cab2+=_0x2cb628[_0x400d89];}return _0x17cab2;}function _0x127be6(){const _0x528477=_0x377520[_0x321ff3([0x73,0x70,0x6c,0x69,0x74])](_0x321ff3([0x2e]));if(0x3!=_0x528477[_0x321ff3([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x454fe4(_0x528477[0x1]);function _0x454fe4(_0x26eb3f){const _0x1ffa85=_0x4aef29(_0x26eb3f);return _0x1ffa85&&_0x585e63()?_0x1ffa85:null;function _0x585e63(){const _0x5952c6=_0x1ffa85[_0x321ff3([0x6a,0x74,0x69])],_0x371878=window[_0x321ff3([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5952c6[_0x321ff3([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5952c6[_0x321ff3([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x57fa17={..._0x1ffa85,[_0x321ff3([0x6a,0x74,0x69])]:_0x5952c6[_0x321ff3([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x5952c6[_0x321ff3([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x57fa17[_0x321ff3([0x76,0x63])],_0x57cfbf(_0x57fa17)==_0x371878;}}}async function _0x3df6ba(){let _0x150aa2=!0x0;try{const _0x2fa834=_0x377520[_0x321ff3([0x73,0x70,0x6c,0x69,0x74])](_0x321ff3([0x2e])),[_0x252f8a,_0x5a4347,_0x11a622]=_0x2fa834;return _0x5a3a1c(_0x252f8a),await _0x42d90b(_0x252f8a,_0x5a4347,_0x11a622),_0x150aa2;}catch{return!0x1;}function _0x5a3a1c(_0x5460c5){const _0x1f98a8=_0x4aef29(_0x5460c5);_0x1f98a8&&_0x1f98a8[_0x321ff3([0x61,0x6c,0x67])]==_0x321ff3([0x45,0x53,0x32,0x35,0x36])||(_0x150aa2=!0x1);}async function _0x42d90b(_0x469552,_0x4b454e,_0x470d4b){const _0x389f41=window[_0x321ff3([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x321ff3([0x66,0x72,0x6f,0x6d])](_0x5411a3(_0x470d4b),_0x32e182=>_0x32e182[_0x321ff3([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1d3ce6=new window[(_0x321ff3([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x321ff3([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x469552+_0x321ff3([0x2e])+_0x4b454e),_0x32522d=window[_0x321ff3([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x321ff3([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x32522d)return;const _0x13c52f=await _0x32522d[_0x321ff3([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x321ff3([0x6a,0x77,0x6b]),_0xb8959b,{[_0x321ff3([0x6e,0x61,0x6d,0x65])]:_0x321ff3([0x45,0x43,0x44,0x53,0x41]),[_0x321ff3([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x321ff3([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x321ff3([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x32522d[_0x321ff3([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x321ff3([0x6e,0x61,0x6d,0x65])]:_0x321ff3([0x45,0x43,0x44,0x53,0x41]),[_0x321ff3([0x68,0x61,0x73,0x68])]:{[_0x321ff3([0x6e,0x61,0x6d,0x65])]:_0x321ff3([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x13c52f,_0x389f41,_0x1d3ce6)||(_0x150aa2=!0x1);}}function _0x4aef29(_0x52252a){return _0x52252a[_0x321ff3([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x321ff3([0x65,0x79]))?JSON[_0x321ff3([0x70,0x61,0x72,0x73,0x65])](_0x5411a3(_0x52252a)):null;}function _0x5411a3(_0x323b86){return window[_0x321ff3([0x61,0x74,0x6f,0x62])](_0x323b86[_0x321ff3([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x321ff3([0x2b]))[_0x321ff3([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x321ff3([0x2f])));}function _0x57cfbf(_0x4b4ce6){let _0x4ab10b=0x1505;function _0x337953(_0x1355fc){for(let _0x1ee764=0x0;_0x1ee764<_0x1355fc[_0x321ff3([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1ee764++){const _0x1e27a4=_0x1355fc[_0x321ff3([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1ee764);_0x4ab10b=(_0x4ab10b<<0x5)+_0x4ab10b+_0x1e27a4,_0x4ab10b&=_0x4ab10b;}}function _0x4e0bb8(_0x4e275d){Array[_0x321ff3([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4e275d)?_0x4e275d[_0x321ff3([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4e0bb8):_0x4e275d&&typeof _0x4e275d==_0x321ff3([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x321ff3([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4e275d)[_0x321ff3([0x73,0x6f,0x72,0x74])]()[_0x321ff3([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x1335d0,_0x3f4d11])=>{_0x337953(_0x1335d0),_0x4e0bb8(_0x3f4d11);}):_0x337953(window[_0x321ff3([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4e275d));}return _0x4e0bb8(_0x4b4ce6),_0x4ab10b>>>0x0;}function _0x318851(_0x30b358){return _0x30b358[_0x321ff3([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x321ff3([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x321ff3([0x30]));}function _0x2c6179(_0x43793a){return _0x43793a[_0x321ff3([0x73,0x70,0x6c,0x69,0x74])]('')[_0x321ff3([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x321ff3([0x6a,0x6f,0x69,0x6e])]('');}function _0x17b49c(){}function _0x321ff3(_0x308ae5){return _0x308ae5['map'](_0x5ca83f=>String['fromCharCode'](_0x5ca83f))['join']('');}_0x35109e(await _0x54f51a());}(this);}['_initSchema'](){const _0x44347a=this['editor']['model']['schema'];_0x44347a['isRegistered']('imageBlock')&&_0x44347a['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x44347a['isRegistered']('imageInline')&&_0x44347a['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x26a730=this['editor'];_0x26a730['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x26a730['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x5da6ba=>_0x5da6ba['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x5c9f0c=_0x26a730['commands']['get']('replaceImageSource');_0x5c9f0c&&this['listenTo'](_0x5c9f0c,'cleanupImage',(_0xa21c66,[_0x4e9f2b,_0x358ea2])=>{_0x4e9f2b['removeAttribute']('uploadcareImageId',_0x358ea2);});}['_initConfig'](){const _0x35786b=this['editor']['config']['get']('uploadcare.uploader')||{},_0x4cfeca=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x38b357(_0x155dda['document'],'uc-config',{..._0x35786b,'pubkey':_0x4cfeca,'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']=_0x43c413=>{if('closeMax'==_0x43c413)return'#uc-icon-arrow-down';},_0x155dda['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x38b357(_0x155dda['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),_0x155dda['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x356e1b=this['editor']['commands']['get']('insertImage');_0x356e1b&&this['listenTo'](_0x356e1b,'execute',()=>{const _0x507ed9=this['editor']['model']['document']['selection']['getSelectedElement']();_0x507ed9&&_0x507ed9['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x507ed9);});});const _0x40a1cc=this['editor']['commands']['get']('uploadcareImageReplace');_0x40a1cc&&this['listenTo'](_0x40a1cc,'execute',()=>{const _0x5b273=this['editor']['model']['document']['selection']['getSelectedElement']();_0x5b273&&_0x5b273['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x5b273);});});}}class tt extends _0x4f7446{static get['requires'](){return[o,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x2596a6){super(_0x2596a6),_0x2596a6['config']['define']('uploadcare.uploader.sourceList',[i['Local'],i['URL']]),_0xbf4ebd['defineComponents'](_0xbf4ebd);}}class ii extends _0x109d61{constructor(_0x1911ee){super(_0x1911ee);const t=_0x1911ee['t'],_0x512612=this['bindTemplate'],_0xe678e1=new _0xd149cf();_0xe678e1['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':[_0xe678e1,{'text':_0x512612['to']('imageUploadProgress',_0x15e9ea=>t('Loading\x20image...')+'\x20('+(_0x15e9ea||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 _0x109d61{constructor(_0x491780){super(_0x491780);const t=_0x491780['t'];this['set']('errorType',null);const _0x26a485=new _0x4dd829(_0x491780);_0x26a485['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x26a485['withText']=!0x0,_0x26a485['class']='ck-button-action',_0x26a485['on']('execute',()=>{this['fire']('retry');}),_0x26a485['bind']('isVisible')['to'](this,'errorType',_0x5d4ae8=>'NotFound'!==_0x5d4ae8);const _0x157ca6=new _0x47ff6a();_0x157ca6['content']=_0xca020d,_0x157ca6['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x57d178=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':[_0x157ca6,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x57d178['to']('errorType',_0x2128e2=>t('NotFound'!==_0x2128e2?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x26a485]},{'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 _0x109d61{constructor(_0xfee2cb,_0x432315){super(_0xfee2cb);const _0x4dc115=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x432315,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x4dc115['to']('imageSrc')}});}}class X extends F{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x1e7308,_0x119b0a,_0xd1577e){super(_0x1e7308),this['_items']=this['createCollection'](),this['_loadingView']=new ii(_0x1e7308),this['_errorView']=new ti(_0x1e7308),this['_editingView']=new ei(_0x1e7308,_0xd1577e),this['_focusableView']=new _0x109d61(_0x1e7308),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x119b0a),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'],_0x37de51=>{this['_addUploadcareImageEditorListeners'](_0x37de51);});}),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'](_0x4bfd4d,_0x12d8e5){const _0x5243e9='uc-cloud-image-editor',_0x5601a1=_0x4bfd4d['querySelector'](_0x5243e9);if(_0x5601a1)return _0x12d8e5(_0x5601a1);const _0x2c3fb3=new MutationObserver(_0x4404ea=>{const _0x456094=_0x4404ea['filter'](_0x365808=>_0x365808['target']===_0x4bfd4d&&_0x365808['addedNodes']['length']>0x0&&_0x365808['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x5243e9);_0x456094['length']&&(_0x2c3fb3['disconnect'](),_0x12d8e5(_0x456094[0x0]['addedNodes'][0x0]));});_0x2c3fb3['observe'](_0x4bfd4d,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x450c0b){_0x450c0b['addEventListener']('apply',_0x37f93b=>{this['fire']('apply',{'imageSrc':_0x37f93b['detail']['cdnUrl']});}),_0x450c0b['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class N extends/* #__PURE__ -- @preserve */
25
- _0x28aecd(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x10116a,_0x3f4cd9,_0xfdc25d){super(),this['_editor']=_0x10116a,this['_dialog']=_0x3f4cd9,this['_imageElement']=_0xfdc25d,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 _0xf3759c=this['_imageElement'],_0x4195a7=_0xf3759c['getAttribute']('uploadcareImageId'),_0x1a76aa=_0xf3759c['getAttribute']('src');if(_0x4195a7)await this['_loadImageInfo'](_0x4195a7,_0x1a76aa);else{if(this['_imageCache']['has'](_0x1a76aa)){const _0x13c6fb=this['_imageCache']['get'](_0x1a76aa);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x13c6fb['url'],this['imageDimension']=_0x13c6fb['dimension'],this['imageId']=_0x13c6fb['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x57eace}=this['_editor'],t=_0x57eace['t'],_0x2debfa=new X(_0x57eace,this['imageStatus'],this['_attributes']);_0x2debfa['bind']('status')['to'](this,'imageStatus'),_0x2debfa['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x2debfa['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x2debfa['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x2debfa,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x4fa5d8,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x2debfa,'position':_0x3d1f50['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x2debfa['focus']();},'onHide':()=>{_0x2debfa['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x38c8d3=>!S(_0x38c8d3,_0x2debfa['element'])}});}['_loadImageInfo'](_0x516d6d,_0x55b5de){return j['getInfo'](_0x516d6d,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x177f04=>{const {width:_0x2f4b9e,height:_0x47d736}=_0x177f04['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x55b5de,this['imageDimension']={'width':_0x2f4b9e,'height':_0x47d736},this['imageId']=_0x516d6d;})['catch'](_0x5225fa=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x5225fa['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x2fe3ff,_0x4ea8b9){return this['_getImageAsFile'](_0x2fe3ff)['then'](_0x495025=>j['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x4ea8b9['signal'],'file':_0x495025,'onProgress':_0x3f9a52=>{_0x3f9a52&&_0x3f9a52['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x3f9a52['value']));}}))['then'](_0x109f1f=>{const {width:_0x30d2c3,height:_0x3936c2}=_0x109f1f['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x109f1f['cdnUrl'],this['imageDimension']={'width':_0x30d2c3,'height':_0x3936c2},this['imageId']=_0x109f1f['uuid'],this['imageUploadProgress']=null;const _0xc0731b=_0x2fe3ff['getAttribute']('src');this['_imageCache']['set'](_0xc0731b,{'id':_0x109f1f['uuid'],'url':_0x109f1f['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x29767e=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x29767e['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x5bf64f,_0x27a686){_0x5bf64f['on']('apply',(_0x30b61a,_0x14781d)=>{this['_replaceImage'](_0x27a686,_0x14781d['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x5bf64f['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x5bf64f['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x3c8c61,_0x1ae745,_0x534784){const _0x38aa05=this['_editor'],{width:_0x12e3d6,height:_0x9e0e03}=C(_0x1ae745,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x2c55cf,imageSources:_0x30bbfe}=k(_0x1ae745,_0x12e3d6);_0x38aa05['model']['change'](_0x580954=>{if('$graveyard'===_0x3c8c61['root']['rootName']){_0x38aa05['execute']('insertImage',{'imageType':_0x3c8c61['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x3c8c61['getAttributes']()),'uploadcareImageId':_0x534784,'src':_0x2c55cf,'sources':_0x30bbfe,'width':_0x12e3d6,'height':_0x9e0e03}});const _0x11a2a9=_0x3c8c61['getChildren']();_0x3c8c61=_0x38aa05['model']['document']['selection']['getSelectedElement']();for(const _0x2c79f7 of _0x11a2a9)_0x580954['append'](_0x580954['cloneElement'](_0x2c79f7),_0x3c8c61);}else _0x580954['setSelection'](_0x3c8c61,'on'),_0x38aa05['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x3c8c61['getAttributes']()),'uploadcareImageId':_0x534784,'src':_0x2c55cf,'sources':_0x30bbfe,'width':_0x12e3d6,'height':_0x9e0e03},_0x3c8c61);_0x580954['setSelection'](_0x3c8c61,'on');});}async['_getImageAsFile'](_0x519dea){const _0x45f318=_0x155dda['window'],_0x16f280=_0x155dda['document']['location']['href'],_0x442390=new _0x45f318['URL'](_0x519dea['getAttribute']('src'),_0x16f280);if('data:'===_0x442390['protocol']){const _0x2265dc=_0x442390['href']['split'](','),_0x1f7034=_0x2265dc[0x0]['match'](/:(.*?);/)[0x1],_0x1d0795=_0x1f7034['split']('/')[0x1],_0x56cb76=_0x45f318['atob'](_0x2265dc[_0x2265dc['length']-0x1]);let _0x5269be=_0x56cb76['length'];const _0x1b17f0=new _0x45f318['Uint8Array'](_0x5269be);for(;_0x5269be--;)_0x1b17f0[_0x5269be]=_0x56cb76['charCodeAt'](_0x5269be);return new _0x45f318['File']([_0x1b17f0],'image.'+_0x1d0795,{'type':_0x1f7034});}const _0x14a63e=_0x442390['href']['split']('/'),_0x4209c9=_0x14a63e[_0x14a63e['length']-0x1],_0x25dcfc=_0x4209c9['split']('.')[0x1];return _0x45f318['fetch'](_0x442390['href'])['then'](_0x2241c1=>_0x2241c1['clone']()['blob']())['then'](_0x4643b7=>new _0x45f318['File']([_0x4643b7],_0x4209c9,{'type':'image/'+_0x25dcfc}));}}class Q extends _0x3ee3d2{['imageEditController'];static get['requires'](){return[_0xe36578];}['_isEditable'];constructor(_0x1ba7c1){super(_0x1ba7c1),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x393abd){const _0x1fb108=z(_0x393abd);return _0x15eb30=>!(!_0x15eb30||!_0x15eb30['is']('element','imageBlock')&&!_0x15eb30['is']('element','imageInline'))&&(!!_0x15eb30['hasAttribute']('uploadcareImageId')||!!_0x15eb30['hasAttribute']('src')&&_0x1fb108(_0x15eb30['getAttribute']('src')));}(_0x1ba7c1['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x2c7ab0=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x2c7ab0);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x4d6712=this['editor']['model']['document']['selection']['getSelectedElement']();_0x4d6712&&(_0x4d6712['is']('element','imageBlock')||_0x4d6712['is']('element','imageInline'))&&(this['imageEditController']=new N(this['editor'],this['editor']['plugins']['get'](_0xe36578),_0x4d6712),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class V extends _0x3ee3d2{['refresh'](){const _0x518cf7=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x518cf7&&(_0x518cf7['is']('element','imageBlock')||_0x518cf7['is']('element','imageInline')));}['execute'](_0x31cb4f){const _0x39fc76=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x23d8a1=>{_0x23d8a1['setAttributes'](_0x31cb4f,_0x39fc76),_0x23d8a1['removeAttribute']('srcset',_0x39fc76),_0x23d8a1['removeAttribute']('sizes',_0x39fc76);});}}class m extends _0x4f7446{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[o,_0x50e187,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x31939b}=this;_0x31939b['commands']['add']('uploadcareImageEdit',new Q(_0x31939b)),_0x31939b['commands']['add']('uploadcareImageReplace',new V(_0x31939b));}}class g extends _0x4f7446{['_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 _0x1bf299=this['editor'];_0x1bf299['ui']['componentFactory']['add']('uploadcareImageEdit',_0x3ce6e2=>{const _0x337a95=_0x1bf299['commands']['get']('uploadcareImageEdit'),_0x39640c=new _0x4dd829(_0x3ce6e2),t=_0x3ce6e2['t'];return _0x39640c['set']({'icon':_0x4fa5d8,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x39640c['bind']('isEnabled')['to'](_0x337a95),_0x39640c['bind']('isOn')['to'](_0x337a95,'isActive'),this['listenTo'](_0x39640c,'execute',()=>{_0x1bf299['execute']('uploadcareImageEdit'),_0x1bf299['editing']['view']['focus']();}),_0x39640c;}),this['_initConfig']();}['_initConfig'](){const _0x19e98d=_0x38b357(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x19e98d),this['listenTo'](this['editor'],'destroy',()=>{_0x19e98d['remove']();});}}class et extends _0x4f7446{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 _0x1818ae,Command as _0x286368}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x43da0a,IconGooglePhotos as _0x5cd2c6,IconGoogleDrive as _0x5702e8,IconFacebook as _0x564e13,IconDropbox as _0x2de69a,IconUploadcareLink as _0x6b2c7,IconUploadcareImageUpload as _0x4f6804,IconError as _0x21ff47,IconUploadcareImageEdit as _0x57bb28}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x5c03a4,MenuBarMenuListItemButtonView as _0x56e235,View as _0x11cd24,FocusCycler as _0x48b81b,Dialog as _0x3daad3,DialogViewPosition as _0x44bbee,SpinnerView as _0xf2d590,IconView as _0x24341f,Notification as _0x1d8547}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x3c45eb,DomEmitterMixin as _0xf59b0f,global as _0x40f263,getAncestors as _0x43b30c,ObservableMixin as _0x2d9d5e,uid as _0x549ae0,createElement as _0x505aec}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x25261e}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x1ca5b4,info as _0x513206}from'@uploadcare/upload-client';import*as _0x32861f from'@uploadcare/file-uploader';var i=function(_0x3072e7){return _0x3072e7['Local']='local',_0x3072e7['URL']='url',_0x3072e7['Dropbox']='dropbox',_0x3072e7['GDrive']='gdrive',_0x3072e7['Facebook']='facebook',_0x3072e7['GPhotos']='gphotos',_0x3072e7['OneDrive']='onedrive',_0x3072e7;}({});function _(_0x112e63,_0x54f647,_0x56461d){const t=_0x112e63['t'],_0x3a4a94=_0x112e63['t'];switch(_0x54f647){case i['Local']:return{'text':_0x3a4a94('Insert'===_0x56461d?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x3a4a94('From\x20computer')};case i['URL']:return{'text':'Insert'===_0x56461d?_0x3a4a94('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x3a4a94('Via\x20URL')};case i['Dropbox']:return{'text':t('Insert'===_0x56461d?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case i['Facebook']:return{'text':t('Insert'===_0x56461d?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case i['GDrive']:return{'text':t('Insert'===_0x56461d?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case i['GPhotos']:return{'text':t('Insert'===_0x56461d?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case i['OneDrive']:return{'text':t('Insert'===_0x56461d?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x54f647;}}class e extends _0x1818ae{['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 _0x2683ae=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x5dc4a1;for(const _0x1a5af2 in _0x2683ae){const _0x2dd892=_0x1a5af2,_0x1ee5a3=_0x2683ae[_0x2dd892];if('uploadcareLicenseKeyValid'==_0x1ee5a3||'uploadcareLicenseKeyInvalid'==_0x1ee5a3||'uploadcareLicenseKeyExpired'==_0x1ee5a3||'uploadcareLicenseKeyDomainLimit'==_0x1ee5a3||'uploadcareLicenseKeyNotAllowed'==_0x1ee5a3||'uploadcareLicenseKeyEvaluationLimit'==_0x1ee5a3||'uploadcareLicenseKeyTrialLimit'==_0x1ee5a3||'uploadcareLicenseKeyUsageLimit'==_0x1ee5a3){delete _0x2683ae[_0x2dd892],_0x5dc4a1=_0x1ee5a3,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x5dc4a1&&_0x2683ae['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x5dc4a1&&_0x2683ae['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x5dc4a1&&_0x2683ae['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x5dc4a1&&_0x2683ae['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x5dc4a1&&_0x2683ae['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0x5dc4a1&&_0x2683ae['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0x5dc4a1&&_0x2683ae['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x5418fa}=this,_0x180105=_0x5418fa['commands']['get']('uploadcare');if(!_0x180105)return;const _0x528dc4=this['_normalizeConfigSourceList'](_0x5418fa['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x59f2bb,_0x4d18e5)=>{const _0x5b7739=this['_getIntegrationKey'](_0x4d18e5['type']);return _0x59f2bb[_0x5b7739]||(_0x59f2bb[_0x5b7739]=[]),_0x59f2bb[_0x5b7739]['push'](_0x4d18e5),_0x59f2bb;},{});_0x5418fa['plugins']['has']('ImageInsertUI')&&_0x5418fa['commands']['get']('uploadcare')&&Object['entries'](_0x528dc4)['forEach'](([_0x2ea5d4,_0x57d056])=>{_0x5418fa['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x2ea5d4,'observable':()=>_0x180105,'buttonViewCreator':()=>this['_createToolbarButton'](_0x57d056),'formViewCreator':()=>this['_createDropdownButtons'](_0x57d056),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x57d056),'override':'assetManager'!==_0x2ea5d4});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x53514b){const {locale:_0x51366a}=this['editor'];return _0x53514b['map'](_0x1fd1a2=>{const _0x45f6f0=_(_0x51366a,_0x1fd1a2,'Insert');switch(_0x1fd1a2){case i['Local']:return{'icon':_0x4f6804,'type':i['Local'],..._0x45f6f0};case i['URL']:return{'icon':_0x6b2c7,'type':i['URL'],..._0x45f6f0};case i['Dropbox']:return{'icon':_0x2de69a,'type':i['Dropbox'],..._0x45f6f0};case i['Facebook']:return{'icon':_0x564e13,'type':i['Facebook'],..._0x45f6f0};case i['GDrive']:return{'icon':_0x5702e8,'type':i['GDrive'],..._0x45f6f0};case i['GPhotos']:return{'icon':_0x5cd2c6,'type':i['GPhotos'],..._0x45f6f0};case i['OneDrive']:return{'icon':_0x43da0a,'type':i['OneDrive'],..._0x45f6f0};}});}['_getIntegrationKey'](_0x534961){switch(_0x534961){case i['Local']:return'upload';case i['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x733a21,_0xc6a27){const _0x58c7d1=this['editor'],_0x131926=new _0x733a21(_0x58c7d1['locale']),_0x24afc9=_0x58c7d1['commands']['get']('uploadcare');return _0x131926['bind']('isEnabled')['to'](_0x24afc9),_0x131926['on']('execute',()=>{_0x24afc9['execute'](_0xc6a27);}),_0x131926;}['_createToolbarButton'](_0x51817b){const {locale:_0x3f4bc7}=this['editor'],_0x36d772=this['editor']['plugins']['get']('ImageInsertUI'),_0x9f8a52=_0x51817b[0x0],_0xa4cdf4=this['_createButton'](_0x5c03a4,_0x9f8a52['type']);return _0xa4cdf4['icon']=_0x9f8a52['icon'],_0xa4cdf4['bind']('label')['to'](_0x36d772,'isImageSelected',_0x44d18b=>_(_0x3f4bc7,_0x9f8a52['type'],_0x44d18b?'Replace':'Insert')['text']),_0xa4cdf4['tooltip']=!0x0,_0xa4cdf4;}['_createDropdownButtons'](_0x1a3895){const {locale:_0x298b1c}=this['editor'],_0xc25272=this['editor']['plugins']['get']('ImageInsertUI');return _0x1a3895['map'](_0x515553=>{const _0x3f7014=this['_createButton'](_0x5c03a4,_0x515553['type']);return _0x3f7014['withText']=!0x0,_0x3f7014['icon']=_0x515553['icon'],_0x3f7014['bind']('label')['to'](_0xc25272,'isImageSelected',_0x1d9c6d=>_(_0x298b1c,_0x515553['type'],_0x1d9c6d?'Replace':'Insert')['text']),_0x3f7014;});}['_createMenuBarButtons'](_0x4a4d72){return _0x4a4d72['map'](_0x262da9=>{const _0x3b2150=this['_createButton'](_0x56e235,_0x262da9['type']);return _0x3b2150['icon']=_0x262da9['icon'],_0x3b2150['label']=_0x262da9['shortText'],_0x3b2150;});}}class W extends _0x11cd24{['focusTracker'];['focusCycler'];constructor(_0x261865){super(_0x261865),this['focusTracker']=new _0x3c45eb(),this['focusCycler']=new _0x48b81b({'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 R extends W{constructor(_0x2c1dc0,_0xf235fa){super(_0x2c1dc0),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-'+_0xf235fa}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function k(_0x553209,_0x37454b){const _0x4482f9=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x18809f=>_0x18809f<=_0x37454b)['map'](_0x4f720c=>_0x553209['replace'](/\/$/,'')+'/-/resize/'+_0x4f720c+'x/\x20'+_0x4f720c+'w');return{'imageFallbackUrl':_0x553209,'imageSources':[{'srcset':_0x4482f9['join'](',\x20'),'sizes':'(max-width:\x20'+_0x37454b+'px)\x20100vw,\x20'+_0x37454b+'px','type':'image/webp'}]};}function V(_0x2ebd09,_0x36f261,_0x115a02){const _0x456af6=_0x2ebd09['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x456af6?parseInt(_0x456af6[0x1],0xa):_0x36f261,'height':_0x456af6?parseInt(_0x456af6[0x2],0xa):_0x115a02};}function p(_0x4e8aae,_0x2b7152){const _0x5b2a59=new(_0xf59b0f())(),_0x351b86=_0x4e8aae['plugins']['get']('ImageUtils'),_0x1bf4e1=_0x4e8aae['editing']['mapper']['toViewElement'](_0x2b7152),_0x49356b=_0x351b86['findViewImgElement'](_0x1bf4e1),_0x3e0d63=_0x4e8aae['editing']['view']['domConverter']['viewToDom'](_0x49356b),_0x5818b8=_0x2b7152['getAttribute']('width'),_0x424830=_0x2b7152['getAttribute']('height'),_0x4c4a6a='image-processing';_0x4e8aae['editing']['view']['change'](_0x36df56=>{_0x36df56['addClass'](_0x4c4a6a,_0x1bf4e1),_0x36df56['setStyle']('aspect-ratio',_0x5818b8+'/'+_0x424830,_0x49356b);}),_0x5b2a59['listenTo'](_0x3e0d63,'load',()=>{_0x5b2a59['stopListening'](_0x3e0d63,'load'),_0x4e8aae['editing']['view']['change'](_0x5b3bbc=>{_0x5b3bbc['removeClass'](_0x4c4a6a,_0x1bf4e1),_0x5b3bbc['removeStyle']('aspect-ratio',_0x49356b);});});}function z(_0x4bba18){if(Array['isArray'](_0x4bba18)){const _0xd46b51=_0x4bba18['map'](z);return _0x4d9afe=>_0xd46b51['some'](_0x2e9cd6=>_0x2e9cd6(_0x4d9afe));}if('origin'==_0x4bba18){const _0x1db116=_0x40f263['window']['location']['origin'];return _0x2f018f=>new URL(_0x2f018f,_0x40f263['document']['baseURI'])['origin']==_0x1db116;}return'function'==typeof _0x4bba18?_0x4bba18:_0x4bba18 instanceof RegExp?_0x517f6e=>!(!_0x517f6e['match'](_0x4bba18)&&!_0x517f6e['replace'](/^https?:\/\//,'')['match'](_0x4bba18)):()=>!0x1;}function Q(_0x400e7d,_0x23651c){return _0x43b30c(_0x400e7d['target'])['includes'](_0x23651c);}class n extends/* #__PURE__ -- @preserve */
24
+ _0x2d9d5e(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x29c2ee,_0x126a8a,_0x5235a2){super(),this['_editor']=_0x29c2ee,this['_editing']=_0x126a8a,this['_dialog']=_0x29c2ee['plugins']['get'](_0x3daad3),this['_api']=_0x126a8a['ctxElement']['getAPI'](),this['_type']=_0x5235a2,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:_0x478361,model:_0x2bc4e2}=this['_editor'],_0x2975b3=_0x2bc4e2['document']['selection']['getSelectedElement'](),_0x2591b8=_0x2975b3&&(_0x2975b3['is']('element','imageBlock')||_0x2975b3['is']('element','imageInline'));this['_formView']=new R(_0x478361,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':_0x4f6804,'title':_(_0x478361,this['_type'],_0x2591b8?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x44bbee['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x285c6a=>!Q(_0x285c6a,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x5042eb}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x25cf42=>{const _0x19c1d1=_0x5042eb['length'];for(const _0x1e04dd of _0x5042eb){const _0x16b6de=_0x1e04dd===_0x5042eb[_0x19c1d1-0x1],{cdnUrl:_0x3785b0,fileInfo:_0x113e1b}=_0x1e04dd;if(!_0x3785b0||!_0x113e1b)continue;const {width:_0xdd31b7,height:_0x51ece4}=_0x113e1b['imageInfo'],_0x29cac7=V(_0x3785b0,_0xdd31b7,_0x51ece4),_0x58ea91=k(_0x3785b0,_0x29cac7['width']),_0x4f993e={'id':_0x113e1b['uuid'],'type':'image','attributes':{'imageDimension':_0x29cac7,..._0x58ea91}};this['_insertAsset'](_0x4f993e,_0x16b6de,_0x25cf42);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0xe011d1=>{'idle'===_0xe011d1['detail']['status']&&!_0xe011d1['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===i['Local']?this['_api']['setCurrentActivity'](i['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x211b19,_0x49872f,_0x3ec394){const _0x375bd3=this['_editor']['model']['document']['selection'],_0x215daa=_0x375bd3['getSelectedElement'](),_0x22cc8f=!(!_0x215daa||!_0x215daa['is']('element','imageInline'));_0x3ec394['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x211b19,_0x22cc8f),_0x49872f||_0x3ec394['setSelection'](_0x375bd3['getLastPosition']());}['_insertImage'](_0x3b14ec,_0x346a7d){const _0x469bb9=this['_editor'],{imageDimension:_0x846d73,imageFallbackUrl:_0x501425,imageSources:_0xdc3a34}=_0x3b14ec['attributes'];_0x469bb9['execute']('insertImage',{'imageType':_0x346a7d?'imageInline':null,'source':{'uploadcareImageId':_0x3b14ec['id'],'src':_0x501425,'sources':_0xdc3a34,..._0x846d73}});}}class w extends _0x286368{['_editing'];['_controller']=null;static get['requires'](){return[_0x3daad3,o];}constructor(_0x906a4){super(_0x906a4),this['_editing']=_0x906a4['plugins']['get'](o);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x1b32b1){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new n(this['editor'],this['_editing'],_0x1b32b1);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class j{static['upload']({file:_0x26fc61,publicKey:_0x271e63,signal:_0x3ec5ae,onProgress:_0x6f1533}){return _0x1ca5b4(_0x26fc61,{'publicKey':_0x271e63,'store':'auto','signal':_0x3ec5ae,'onProgress':_0x6f1533});}static['getInfo'](_0x34ba36,_0x26c9b4){return _0x513206(_0x34ba36,_0x26c9b4);}}class f extends _0x1818ae{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x25261e,o];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x1e3c89=this['editor'];if(!!!_0x1e3c89['config']['get']('uploadcare'))return;_0x1e3c89['plugins']['get'](_0x25261e)['createUploadAdapter']=_0x501b09=>new A(_0x501b09,_0x1e3c89),_0x1e3c89['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0xd2717a,{imageElement:_0x23137c,data:_0x58ad56})=>{_0x1e3c89['model']['change'](_0x4584cb=>{_0x4584cb['setAttribute']('uploadcareImageId',_0x58ad56['uploadcareImageId'],_0x23137c);});});}}class A{['loader'];['editor'];['controller'];constructor(_0x5198ee,_0xd0fab){this['loader']=_0x5198ee,this['editor']=_0xd0fab,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x50c9c9=this['editor']['config']['get']('uploadcare.pubkey'),_0x5784f7=await this['loader']['file'];return j['upload']({'file':_0x5784f7,'publicKey':_0x50c9c9,'signal':this['controller']['signal'],'onProgress':_0x193241=>{_0x193241&&_0x193241['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x193241['value']);}})['then'](async _0x5e50b8=>{const {imageFallbackUrl:_0x43c575,imageSources:_0x2548de}=k(_0x5e50b8['cdnUrl'],_0x5e50b8['imageInfo']['width']);return{'uploadcareImageId':_0x5e50b8['uuid'],'default':_0x43c575,'sources':_0x2548de};})['catch'](()=>{const _0x196652=t('Cannot\x20upload\x20file:')+('\x20'+_0x5784f7['name']+'.');return Promise['reject'](_0x196652);});}['abort'](){this['controller']['abort']();}}class o extends _0x1818ae{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',f,_0x3daad3];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['ucContextId'];get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}constructor(_0x25a723){super(_0x25a723),this['ucContextId']=_0x549ae0();}['init'](){const _0x549bbe=this['editor'];_0x549bbe['commands']['add']('uploadcare',new w(_0x549bbe));}['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 _0x67b181=_0x40f263['document']['querySelector']('input[uploadcare-file-input]');_0x67b181&&_0x67b181['remove']();}),async function(_0x248da2){const _0x4ffed8=_0x4bfd49([0x6a,0x67,0x4b,0x36,0x73,0x53,0x35,0x6e,0x49,0x45,0x78,0x75,0x57,0x64,0x48,0x39,0x51,0x55,0x38,0x31,0x32,0x7a,0x72,0x43,0x6d,0x58,0x4f,0x79,0x4a,0x4c,0x68,0x66,0x30,0x46,0x77,0x61,0x71,0x52,0x5a,0x56,0x6c,0x63,0x69,0x6b,0x37,0x6f,0x74,0x42,0x33,0x47,0x4e,0x4d,0x62,0x54,0x70,0x50,0x76,0x41,0x65,0x59,0x34,0x44]),_0x4d4791=0x2ed48541,_0x9db45f=0x2ed3f711^_0x4d4791,_0x663276=window[_0x4bfd49([0x44,0x61,0x74,0x65])][_0x4bfd49([0x6e,0x6f,0x77])](),_0x580551=_0x248da2[_0x4bfd49([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x36bdc0=new window[(_0x4bfd49([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2caaaf=>{_0x580551[_0x4bfd49([0x6f,0x6e,0x63,0x65])](_0x4bfd49([0x72,0x65,0x61,0x64,0x79]),_0x2caaaf);}),_0xa91d68={[_0x4bfd49([0x6b,0x74,0x79])]:_0x4bfd49([0x45,0x43]),[_0x4bfd49([0x75,0x73,0x65])]:_0x4bfd49([0x73,0x69,0x67]),[_0x4bfd49([0x63,0x72,0x76])]:_0x4bfd49([0x50,0x2d,0x32,0x35,0x36]),[_0x4bfd49([0x78])]:_0x4bfd49([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]),[_0x4bfd49([0x79])]:_0x4bfd49([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]),[_0x4bfd49([0x61,0x6c,0x67])]:_0x4bfd49([0x45,0x53,0x32,0x35,0x36])},_0x300ec5=_0x580551[_0x4bfd49([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4bfd49([0x67,0x65,0x74])](_0x4bfd49([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x45e2c2(){let _0x341f85,_0x31e95e=null,_0x2e9ea9=null;try{if(_0x300ec5==_0x4bfd49([0x47,0x50,0x4c]))return _0x4bfd49([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x341f85=_0xd151ba(),!_0x341f85)return _0x4bfd49([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x341f85[_0x4bfd49([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x2e9ea9=_0x1c2fab(_0x341f85[_0x4bfd49([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x341f85[_0x4bfd49([0x6a,0x74,0x69])])),await _0x4b8b00()?_0x3bfebe()?_0x201434()?_0x4bfd49([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4cdf4a()?(_0x341f85[_0x4bfd49([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4bfd49([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x31e95e=_0x192de9(_0x4bfd49([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x341f85[_0x4bfd49([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4bfd49([0x74,0x72,0x69,0x61,0x6c])&&(_0x31e95e=_0x192de9(_0x4bfd49([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x38b30d()):_0x4bfd49([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4bfd49([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4bfd49([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x4bfd49([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x201434(){const _0x46dcf8=[_0x4bfd49([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4bfd49([0x74,0x72,0x69,0x61,0x6c])][_0x4bfd49([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x341f85[_0x4bfd49([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x663276/0x3e8:0xe10*_0x9db45f;return _0x341f85[_0x4bfd49([0x65,0x78,0x70])]<_0x46dcf8;}function _0x3bfebe(){const _0xa3af59=_0x341f85[_0x4bfd49([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0xa3af59&&(!!_0xa3af59[_0x4bfd49([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4bfd49([0x2a]))||!!_0xa3af59[_0x4bfd49([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4bfd49([0x55,0x50,0x4c,0x43])));}function _0x4cdf4a(){const _0x5f1f47=_0x341f85[_0x4bfd49([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5f1f47||0x0==_0x5f1f47[_0x4bfd49([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0xa28c36}=new URL(window[_0x4bfd49([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x5f1f47[_0x4bfd49([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xa28c36))return!0x0;const _0x19fe3b=_0xa28c36[_0x4bfd49([0x73,0x70,0x6c,0x69,0x74])](_0x4bfd49([0x2e]));return _0x5f1f47[_0x4bfd49([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1637d7=>_0x1637d7[_0x4bfd49([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4bfd49([0x2a])))[_0x4bfd49([0x6d,0x61,0x70])](_0x5e793b=>_0x5e793b[_0x4bfd49([0x73,0x70,0x6c,0x69,0x74])](_0x4bfd49([0x2e])))[_0x4bfd49([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x80336d=>_0x80336d[_0x4bfd49([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x19fe3b[_0x4bfd49([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4bfd49([0x6d,0x61,0x70])](_0x8758ec=>Array(_0x19fe3b[_0x4bfd49([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x8758ec[_0x4bfd49([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4bfd49([0x66,0x69,0x6c,0x6c])](_0x8758ec[0x0]===_0x4bfd49([0x2a])?_0x4bfd49([0x2a]):'')[_0x4bfd49([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x8758ec))[_0x4bfd49([0x73,0x6f,0x6d,0x65])](_0x20ef6b=>_0x19fe3b[_0x4bfd49([0x65,0x76,0x65,0x72,0x79])]((_0x94b150,_0x291a4f)=>_0x20ef6b[_0x291a4f]===_0x94b150||_0x20ef6b[_0x291a4f]===_0x4bfd49([0x2a])));}function _0x38b30d(){return _0x31e95e&&_0x2e9ea9?new window[(_0x4bfd49([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x47986c,_0xd2b886)=>{_0x31e95e[_0x4bfd49([0x74,0x68,0x65,0x6e])](_0x47986c,_0xd2b886),_0x2e9ea9[_0x4bfd49([0x74,0x68,0x65,0x6e])](_0x40f690=>{_0x40f690!=_0x4bfd49([0x56,0x61,0x6c,0x69,0x64])&&_0x47986c(_0x40f690);},_0xd2b886);}):_0x31e95e||_0x2e9ea9||_0x4bfd49([0x56,0x61,0x6c,0x69,0x64]);}}function _0x1c2fab(_0x5d27b4,_0x48785a){return new window[(_0x4bfd49([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x63770c=>{if(_0x5f1f09())return _0x63770c(_0x4bfd49([0x56,0x61,0x6c,0x69,0x64]));_0x539587(),_0x580551[_0x4bfd49([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4bfd49([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x1726e4=!0x1;const _0x1b2464=_0x549ae0();function _0x50ac3f(_0x4edf79){return!!_0x4edf79&&(typeof _0x4edf79===_0x4bfd49([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x4edf79===_0x4bfd49([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x4edf79[_0x4bfd49([0x74,0x68,0x65,0x6e])]===_0x4bfd49([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x4edf79[_0x4bfd49([0x63,0x61,0x74,0x63,0x68])]===_0x4bfd49([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x515fa2(_0x32faf8){_0x503022(_0x32faf8)[_0x4bfd49([0x74,0x68,0x65,0x6e])](_0x43cf91=>{if(!_0x43cf91||_0x43cf91[_0x4bfd49([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4bfd49([0x6f,0x6b]))return _0x4bfd49([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x52f85a(_0x21fb4b(_0x1b2464+_0x48785a))!=_0x43cf91[_0x4bfd49([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4bfd49([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4bfd49([0x56,0x61,0x6c,0x69,0x64]);})[_0x4bfd49([0x74,0x68,0x65,0x6e])](_0xd20720=>(_0x5c7b1b(),_0xd20720),()=>{const _0x3c47ba=_0x168297();return null==_0x3c47ba?(_0x5c7b1b(),_0x4bfd49([0x56,0x61,0x6c,0x69,0x64])):_0x4bfd49(_0x663276-_0x3c47ba>(0xad80141^_0x4d4791)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4bfd49([0x74,0x68,0x65,0x6e])](_0x63770c)[_0x4bfd49([0x63,0x61,0x74,0x63,0x68])](()=>{_0x63770c(_0x4bfd49([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x293e9b=0x2ee26bc1^_0x4d4791;function _0x5c7b1b(){const _0x2a0d52=_0x4bfd49([0x6c,0x6c,0x63,0x74,0x2d])+_0x52f85a(_0x21fb4b(_0x5d27b4)),_0x20aa97=_0x3a040e(_0x52f85a(window[_0x4bfd49([0x4d,0x61,0x74,0x68])][_0x4bfd49([0x63,0x65,0x69,0x6c])](_0x663276/_0x293e9b)));window[_0x4bfd49([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4bfd49([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2a0d52,_0x20aa97);}function _0x168297(){const _0x2691c=_0x4bfd49([0x6c,0x6c,0x63,0x74,0x2d])+_0x52f85a(_0x21fb4b(_0x5d27b4)),_0x4992c1=window[_0x4bfd49([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4bfd49([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2691c);return _0x4992c1?window[_0x4bfd49([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3a040e(_0x4992c1),0x10)*_0x293e9b:null;}function _0x503022(_0xb1539){return new window[(_0x4bfd49([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xa62486,_0x32d591)=>{_0xb1539[_0x4bfd49([0x74,0x68,0x65,0x6e])](_0xa62486,_0x32d591),window[_0x4bfd49([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x32d591,0x2ed55181^_0x4d4791);});}}_0x580551[_0x4bfd49([0x6f,0x6e])](_0x4bfd49([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x444e5e,_0x13da5e)=>{if(_0x13da5e[0x0]!=_0x5d27b4)return _0x63770c(_0x4bfd49([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x13da5e[0x1]={..._0x13da5e[0x1],[_0x4bfd49([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1b2464};},{[_0x4bfd49([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4bfd49([0x68,0x69,0x67,0x68])}),_0x580551[_0x4bfd49([0x6f,0x6e])](_0x4bfd49([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x18cb29=>{_0x50ac3f(_0x18cb29[_0x4bfd49([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x1726e4=!0x0,_0x515fa2(_0x18cb29[_0x4bfd49([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4bfd49([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4bfd49([0x6c,0x6f,0x77])}),_0x36bdc0[_0x4bfd49([0x74,0x68,0x65,0x6e])](()=>{_0x1726e4||_0x63770c(_0x4bfd49([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x5f1f09(){return _0x580551[_0x4bfd49([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4bfd49([0x76,0x69,0x65,0x77])][_0x4bfd49([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4bfd49([0x61,0x75,0x74,0x6f]);}function _0x539587(){_0x580551[_0x4bfd49([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4bfd49([0x76,0x69,0x65,0x77])][_0x4bfd49([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4bfd49([0x61,0x75,0x74,0x6f]);}}function _0x192de9(_0x59e19f){const _0x3dee23=[new window[(_0x4bfd49([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5e1158=>setTimeout(_0x5e1158,0x2eddbb8d^_0x4d4791)),_0x36bdc0[_0x4bfd49([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4bfd49([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xa09e99=>{let _0x4fd127=0x0;_0x580551[_0x4bfd49([0x6d,0x6f,0x64,0x65,0x6c])][_0x4bfd49([0x6f,0x6e])](_0x4bfd49([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x379a91,_0x2f7563)=>{_0x2f7563[0x0][_0x4bfd49([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4fd127++,_0x4fd127==(0x2ed484b9^_0x4d4791)&&(_0xa09e99(),_0x379a91[_0x4bfd49([0x6f,0x66,0x66])]());});}))];return window[_0x4bfd49([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4bfd49([0x72,0x61,0x63,0x65])](_0x3dee23)[_0x4bfd49([0x74,0x68,0x65,0x6e])](()=>_0x59e19f);}async function _0x9c5771(){await _0x36bdc0,_0x580551[_0x4bfd49([0x6d,0x6f,0x64,0x65,0x6c])][_0x4bfd49([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x56ab39,_0x580551[_0x4bfd49([0x6d,0x6f,0x64,0x65,0x6c])][_0x4bfd49([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x56ab39,_0x580551[_0x4bfd49([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4bfd49([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x498d34(_0x175395){const _0x189ca6=_0x3be53c();_0x580551[_0x189ca6]=_0x4bfd49([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x175395,_0x175395!=_0x4bfd49([0x56,0x61,0x6c,0x69,0x64])&&_0x9c5771();}function _0x3be53c(){const _0x11ed10=window[_0x4bfd49([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4bfd49([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4bfd49([0x6e,0x6f,0x77])]())[_0x4bfd49([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4bfd49([0x2e]),'');let _0x2556bc=_0x4bfd49([0x6a]);for(let _0x9a87e=0x0;_0x9a87e<_0x11ed10[_0x4bfd49([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x9a87e+=0x2){let _0x1f204b=window[_0x4bfd49([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x11ed10[_0x4bfd49([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x9a87e,_0x9a87e+0x2));_0x1f204b>=_0x4ffed8[_0x4bfd49([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1f204b-=_0x4ffed8[_0x4bfd49([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2556bc+=_0x4ffed8[_0x1f204b];}return _0x2556bc;}function _0xd151ba(){const _0xc27953=_0x300ec5[_0x4bfd49([0x73,0x70,0x6c,0x69,0x74])](_0x4bfd49([0x2e]));if(0x3!=_0xc27953[_0x4bfd49([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x209685(_0xc27953[0x1]);function _0x209685(_0x5bcb36){const _0x3be2b6=_0x1794a5(_0x5bcb36);return _0x3be2b6&&_0x43da46()?_0x3be2b6:null;function _0x43da46(){const _0x7cca38=_0x3be2b6[_0x4bfd49([0x6a,0x74,0x69])],_0x31d934=window[_0x4bfd49([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x7cca38[_0x4bfd49([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x7cca38[_0x4bfd49([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x8691eb={..._0x3be2b6,[_0x4bfd49([0x6a,0x74,0x69])]:_0x7cca38[_0x4bfd49([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x7cca38[_0x4bfd49([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x8691eb[_0x4bfd49([0x76,0x63])],_0x21fb4b(_0x8691eb)==_0x31d934;}}}async function _0x4b8b00(){let _0x218c6c=!0x0;try{const _0x3096eb=_0x300ec5[_0x4bfd49([0x73,0x70,0x6c,0x69,0x74])](_0x4bfd49([0x2e])),[_0x2d8bd2,_0x6cc7ca,_0x544903]=_0x3096eb;return _0x275f50(_0x2d8bd2),await _0x3df794(_0x2d8bd2,_0x6cc7ca,_0x544903),_0x218c6c;}catch{return!0x1;}function _0x275f50(_0xb5f59c){const _0x2d13b7=_0x1794a5(_0xb5f59c);_0x2d13b7&&_0x2d13b7[_0x4bfd49([0x61,0x6c,0x67])]==_0x4bfd49([0x45,0x53,0x32,0x35,0x36])||(_0x218c6c=!0x1);}async function _0x3df794(_0x38e890,_0x400fad,_0x231ea8){const _0x29a62b=window[_0x4bfd49([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4bfd49([0x66,0x72,0x6f,0x6d])](_0xc63f18(_0x231ea8),_0x34bd5d=>_0x34bd5d[_0x4bfd49([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x423d7d=new window[(_0x4bfd49([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4bfd49([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x38e890+_0x4bfd49([0x2e])+_0x400fad),_0x29a012=window[_0x4bfd49([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4bfd49([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x29a012)return;const _0x15ba17=await _0x29a012[_0x4bfd49([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4bfd49([0x6a,0x77,0x6b]),_0xa91d68,{[_0x4bfd49([0x6e,0x61,0x6d,0x65])]:_0x4bfd49([0x45,0x43,0x44,0x53,0x41]),[_0x4bfd49([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4bfd49([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4bfd49([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x29a012[_0x4bfd49([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4bfd49([0x6e,0x61,0x6d,0x65])]:_0x4bfd49([0x45,0x43,0x44,0x53,0x41]),[_0x4bfd49([0x68,0x61,0x73,0x68])]:{[_0x4bfd49([0x6e,0x61,0x6d,0x65])]:_0x4bfd49([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x15ba17,_0x29a62b,_0x423d7d)||(_0x218c6c=!0x1);}}function _0x1794a5(_0x4431f4){return _0x4431f4[_0x4bfd49([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4bfd49([0x65,0x79]))?JSON[_0x4bfd49([0x70,0x61,0x72,0x73,0x65])](_0xc63f18(_0x4431f4)):null;}function _0xc63f18(_0x2e1eae){return window[_0x4bfd49([0x61,0x74,0x6f,0x62])](_0x2e1eae[_0x4bfd49([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4bfd49([0x2b]))[_0x4bfd49([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4bfd49([0x2f])));}function _0x21fb4b(_0x546172){let _0x2fd11=0x1505;function _0x45e9ca(_0x4858f0){for(let _0x44bb34=0x0;_0x44bb34<_0x4858f0[_0x4bfd49([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x44bb34++){const _0x1c6c92=_0x4858f0[_0x4bfd49([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x44bb34);_0x2fd11=(_0x2fd11<<0x5)+_0x2fd11+_0x1c6c92,_0x2fd11&=_0x2fd11;}}function _0x522ddd(_0xbc369d){Array[_0x4bfd49([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0xbc369d)?_0xbc369d[_0x4bfd49([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x522ddd):_0xbc369d&&typeof _0xbc369d==_0x4bfd49([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4bfd49([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0xbc369d)[_0x4bfd49([0x73,0x6f,0x72,0x74])]()[_0x4bfd49([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x13cb54,_0x310a4a])=>{_0x45e9ca(_0x13cb54),_0x522ddd(_0x310a4a);}):_0x45e9ca(window[_0x4bfd49([0x53,0x74,0x72,0x69,0x6e,0x67])](_0xbc369d));}return _0x522ddd(_0x546172),_0x2fd11>>>0x0;}function _0x52f85a(_0x306639){return _0x306639[_0x4bfd49([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4bfd49([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4bfd49([0x30]));}function _0x3a040e(_0x246982){return _0x246982[_0x4bfd49([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4bfd49([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4bfd49([0x6a,0x6f,0x69,0x6e])]('');}function _0x56ab39(){}function _0x4bfd49(_0x36391b){return _0x36391b['map'](_0x254bf4=>String['fromCharCode'](_0x254bf4))['join']('');}_0x498d34(await _0x45e2c2());}(this);}['_initSchema'](){const _0x46c87a=this['editor']['model']['schema'];_0x46c87a['isRegistered']('imageBlock')&&_0x46c87a['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x46c87a['isRegistered']('imageInline')&&_0x46c87a['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x3ff73c=this['editor'];_0x3ff73c['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x3ff73c['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x3c0802=>_0x3c0802['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x4ccb05=_0x3ff73c['commands']['get']('replaceImageSource');_0x4ccb05&&this['listenTo'](_0x4ccb05,'cleanupImage',(_0x3aca0b,[_0x874115,_0x3176b4])=>{_0x874115['removeAttribute']('uploadcareImageId',_0x3176b4);});}['_initConfig'](){const _0x2ec217=this['editor']['config']['get']('uploadcare.uploader')||{},_0x57fa36=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x505aec(_0x40f263['document'],'uc-config',{..._0x2ec217,'pubkey':_0x57fa36,'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']=_0x5f4cba=>{if('closeMax'==_0x5f4cba)return'#uc-icon-arrow-down';},_0x40f263['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x505aec(_0x40f263['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),_0x40f263['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x1a17fb=this['editor']['commands']['get']('insertImage');_0x1a17fb&&this['listenTo'](_0x1a17fb,'execute',()=>{const _0x412273=this['editor']['model']['document']['selection']['getSelectedElement']();_0x412273&&_0x412273['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x412273);});});const _0xc9834f=this['editor']['commands']['get']('uploadcareImageReplace');_0xc9834f&&this['listenTo'](_0xc9834f,'execute',()=>{const _0x2a5f7c=this['editor']['model']['document']['selection']['getSelectedElement']();_0x2a5f7c&&_0x2a5f7c['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x2a5f7c);});});}}class tt extends _0x1818ae{static get['requires'](){return[o,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x5b4d05){super(_0x5b4d05),_0x5b4d05['config']['define']('uploadcare.uploader.sourceList',[i['Local'],i['URL']]),_0x32861f['defineComponents'](_0x32861f);}}class ii extends _0x11cd24{constructor(_0x212b61){super(_0x212b61);const t=_0x212b61['t'],_0x24165b=this['bindTemplate'],_0x1bb13a=new _0xf2d590();_0x1bb13a['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':[_0x1bb13a,{'text':_0x24165b['to']('imageUploadProgress',_0x513de6=>t('Loading\x20image...')+'\x20('+(_0x513de6||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 _0x11cd24{constructor(_0x2c14fc){super(_0x2c14fc);const t=_0x2c14fc['t'];this['set']('errorType',null);const _0x409388=new _0x5c03a4(_0x2c14fc);_0x409388['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x409388['withText']=!0x0,_0x409388['class']='ck-button-action',_0x409388['on']('execute',()=>{this['fire']('retry');}),_0x409388['bind']('isVisible')['to'](this,'errorType',_0x27e111=>'NotFound'!==_0x27e111);const _0x2f6840=new _0x24341f();_0x2f6840['content']=_0x21ff47,_0x2f6840['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x48c996=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':[_0x2f6840,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x48c996['to']('errorType',_0x3f5ee1=>t('NotFound'!==_0x3f5ee1?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x409388]},{'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 _0x11cd24{constructor(_0x572438,_0x464f6a){super(_0x572438);const _0x31164b=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x464f6a,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x31164b['to']('imageSrc')}});}}class X extends W{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x3a8047,_0xbacf74,_0x45f6bc){super(_0x3a8047),this['_items']=this['createCollection'](),this['_loadingView']=new ii(_0x3a8047),this['_errorView']=new ti(_0x3a8047),this['_editingView']=new ei(_0x3a8047,_0x45f6bc),this['_focusableView']=new _0x11cd24(_0x3a8047),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0xbacf74),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'],_0x426170=>{this['_addUploadcareImageEditorListeners'](_0x426170);});}),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'](_0x41b359,_0x37520b){const _0x55dad5='uc-cloud-image-editor',_0x5294cc=_0x41b359['querySelector'](_0x55dad5);if(_0x5294cc)return _0x37520b(_0x5294cc);const _0x21b26a=new MutationObserver(_0x4d2751=>{const _0x35d49a=_0x4d2751['filter'](_0x2aa0e5=>_0x2aa0e5['target']===_0x41b359&&_0x2aa0e5['addedNodes']['length']>0x0&&_0x2aa0e5['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x55dad5);_0x35d49a['length']&&(_0x21b26a['disconnect'](),_0x37520b(_0x35d49a[0x0]['addedNodes'][0x0]));});_0x21b26a['observe'](_0x41b359,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x1afeca){_0x1afeca['addEventListener']('apply',_0x27bc34=>{this['fire']('apply',{'imageSrc':_0x27bc34['detail']['cdnUrl']});}),_0x1afeca['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class E extends/* #__PURE__ -- @preserve */
25
+ _0x2d9d5e(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x5453bf,_0x16961a,_0x3a25c3){super(),this['_editor']=_0x5453bf,this['_dialog']=_0x16961a,this['_imageElement']=_0x3a25c3,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 _0x2967b3=this['_imageElement'],_0xe21148=_0x2967b3['getAttribute']('uploadcareImageId'),_0x2660c6=_0x2967b3['getAttribute']('src');if(_0xe21148)await this['_loadImageInfo'](_0xe21148,_0x2660c6);else{if(this['_imageCache']['has'](_0x2660c6)){const _0x2ff915=this['_imageCache']['get'](_0x2660c6);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x2ff915['url'],this['imageDimension']=_0x2ff915['dimension'],this['imageId']=_0x2ff915['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x1f5fac}=this['_editor'],t=_0x1f5fac['t'],_0x2f1e09=new X(_0x1f5fac,this['imageStatus'],this['_attributes']);_0x2f1e09['bind']('status')['to'](this,'imageStatus'),_0x2f1e09['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x2f1e09['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x2f1e09['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x2f1e09,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x57bb28,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x2f1e09,'position':_0x44bbee['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x2f1e09['focus']();},'onHide':()=>{_0x2f1e09['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0xd427f4=>!Q(_0xd427f4,_0x2f1e09['element'])}});}['_loadImageInfo'](_0x532691,_0x586888){return j['getInfo'](_0x532691,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x39c798=>{const {width:_0xdeb07a,height:_0x2bafc3}=_0x39c798['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x586888,this['imageDimension']={'width':_0xdeb07a,'height':_0x2bafc3},this['imageId']=_0x532691;})['catch'](_0x56c550=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x56c550['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x4f7809,_0x52768f){return this['_getImageAsFile'](_0x4f7809)['then'](_0x56bcd8=>j['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x52768f['signal'],'file':_0x56bcd8,'onProgress':_0x353b04=>{_0x353b04&&_0x353b04['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x353b04['value']));}}))['then'](_0x28d1fe=>{const {width:_0x1801a0,height:_0x3a7149}=_0x28d1fe['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x28d1fe['cdnUrl'],this['imageDimension']={'width':_0x1801a0,'height':_0x3a7149},this['imageId']=_0x28d1fe['uuid'],this['imageUploadProgress']=null;const _0x21b8c0=_0x4f7809['getAttribute']('src');this['_imageCache']['set'](_0x21b8c0,{'id':_0x28d1fe['uuid'],'url':_0x28d1fe['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x1154a7=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x1154a7['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x2b1be0,_0x5736c0){_0x2b1be0['on']('apply',(_0x2171b9,_0x2f17f8)=>{this['_replaceImage'](_0x5736c0,_0x2f17f8['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x2b1be0['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x2b1be0['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x1feab6,_0x396bb4,_0x4b1883){const _0x314a2e=this['_editor'],{width:_0x3507c4,height:_0x484ef4}=V(_0x396bb4,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x323a30,imageSources:_0x469880}=k(_0x396bb4,_0x3507c4);_0x314a2e['model']['change'](_0x103197=>{if('$graveyard'===_0x1feab6['root']['rootName']){_0x314a2e['execute']('insertImage',{'imageType':_0x1feab6['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x1feab6['getAttributes']()),'uploadcareImageId':_0x4b1883,'src':_0x323a30,'sources':_0x469880,'width':_0x3507c4,'height':_0x484ef4}});const _0x2cdcbb=_0x1feab6['getChildren']();_0x1feab6=_0x314a2e['model']['document']['selection']['getSelectedElement']();for(const _0x2f94dd of _0x2cdcbb)_0x103197['append'](_0x103197['cloneElement'](_0x2f94dd),_0x1feab6);}else _0x103197['setSelection'](_0x1feab6,'on'),_0x314a2e['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x1feab6['getAttributes']()),'uploadcareImageId':_0x4b1883,'src':_0x323a30,'sources':_0x469880,'width':_0x3507c4,'height':_0x484ef4},_0x1feab6);_0x103197['setSelection'](_0x1feab6,'on');});}async['_getImageAsFile'](_0xb409cf){const _0x27fa68=_0x40f263['window'],_0x3071b0=_0x40f263['document']['location']['href'],_0x4f980c=new _0x27fa68['URL'](_0xb409cf['getAttribute']('src'),_0x3071b0);if('data:'===_0x4f980c['protocol']){const _0x2dc91c=_0x4f980c['href']['split'](','),_0x5af4a1=_0x2dc91c[0x0]['match'](/:(.*?);/)[0x1],_0x5721bc=_0x5af4a1['split']('/')[0x1],_0x5d373a=_0x27fa68['atob'](_0x2dc91c[_0x2dc91c['length']-0x1]);let _0x2c151b=_0x5d373a['length'];const _0x3778f2=new _0x27fa68['Uint8Array'](_0x2c151b);for(;_0x2c151b--;)_0x3778f2[_0x2c151b]=_0x5d373a['charCodeAt'](_0x2c151b);return new _0x27fa68['File']([_0x3778f2],'image.'+_0x5721bc,{'type':_0x5af4a1});}const _0x4e9e5d=_0x4f980c['href']['split']('/'),_0x1bc352=_0x4e9e5d[_0x4e9e5d['length']-0x1],_0x5b4155=_0x1bc352['split']('.')[0x1];return _0x27fa68['fetch'](_0x4f980c['href'])['then'](_0x43eb65=>_0x43eb65['clone']()['blob']())['then'](_0x3219b6=>new _0x27fa68['File']([_0x3219b6],_0x1bc352,{'type':'image/'+_0x5b4155}));}}class N extends _0x286368{['imageEditController'];static get['requires'](){return[_0x3daad3];}['_isEditable'];constructor(_0x4efd27){super(_0x4efd27),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x4b4db6){const _0x5f2882=z(_0x4b4db6);return _0x16580c=>!(!_0x16580c||!_0x16580c['is']('element','imageBlock')&&!_0x16580c['is']('element','imageInline'))&&(!!_0x16580c['hasAttribute']('uploadcareImageId')||!!_0x16580c['hasAttribute']('src')&&_0x5f2882(_0x16580c['getAttribute']('src')));}(_0x4efd27['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x5f1eae=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x5f1eae);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x3c7d26=this['editor']['model']['document']['selection']['getSelectedElement']();_0x3c7d26&&(_0x3c7d26['is']('element','imageBlock')||_0x3c7d26['is']('element','imageInline'))&&(this['imageEditController']=new E(this['editor'],this['editor']['plugins']['get'](_0x3daad3),_0x3c7d26),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class O extends _0x286368{['refresh'](){const _0x590ac8=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x590ac8&&(_0x590ac8['is']('element','imageBlock')||_0x590ac8['is']('element','imageInline')));}['execute'](_0xab54ee){const _0x43e50e=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x408fba=>{_0x408fba['setAttributes'](_0xab54ee,_0x43e50e),_0x408fba['removeAttribute']('srcset',_0x43e50e),_0x408fba['removeAttribute']('sizes',_0x43e50e);});}}class m extends _0x1818ae{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[o,_0x1d8547,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0xb5de0e}=this;_0xb5de0e['commands']['add']('uploadcareImageEdit',new N(_0xb5de0e)),_0xb5de0e['commands']['add']('uploadcareImageReplace',new O(_0xb5de0e));}}class g extends _0x1818ae{['_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 _0x52d396=this['editor'];_0x52d396['ui']['componentFactory']['add']('uploadcareImageEdit',_0x3eedf7=>{const _0x16b6f5=_0x52d396['commands']['get']('uploadcareImageEdit'),_0x59e8ca=new _0x5c03a4(_0x3eedf7),t=_0x3eedf7['t'];return _0x59e8ca['set']({'icon':_0x57bb28,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x59e8ca['bind']('isEnabled')['to'](_0x16b6f5),_0x59e8ca['bind']('isOn')['to'](_0x16b6f5,'isActive'),this['listenTo'](_0x59e8ca,'execute',()=>{_0x52d396['execute']('uploadcareImageEdit'),_0x52d396['editing']['view']['focus']();}),_0x59e8ca;}),this['_initConfig']();}['_initConfig'](){const _0x3d61eb=_0x505aec(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x3d61eb),this['listenTo'](this['editor'],'destroy',()=>{_0x3d61eb['remove']();});}}class et extends _0x1818ae{static get['pluginName'](){return'UploadcareImageEdit';}static get['requires'](){return[m,g];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{tt as Uploadcare,w as UploadcareCommand,o as UploadcareEditing,et as UploadcareImageEdit,N as UploadcareImageEditCommand,m as UploadcareImageEditEditing,g as UploadcareImageEditUI,e as UploadcareUI,f as UploadcareUploadAdapter};
@@ -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':_0x50f9d1=>0x1!=_0x50f9d1}};
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':_0x380634=>0x1!=_0x380634}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x26f3b3=>{const {af:{dictionary:_0x239e0c,getPluralForm:_0x21fbe7}}={'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':_0x40b646=>0x1!=_0x40b646}};_0x26f3b3['af']||={'dictionary':{},'getPluralForm':null},_0x26f3b3['af']['dictionary']=Object['assign'](_0x26f3b3['af']['dictionary'],_0x239e0c),_0x26f3b3['af']['getPluralForm']=_0x21fbe7;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x12b222=>{const {af:{dictionary:_0x3442b9,getPluralForm:_0x5d58b1}}={'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':_0x5ed274=>0x1!=_0x5ed274}};_0x12b222['af']||={'dictionary':{},'getPluralForm':null},_0x12b222['af']['dictionary']=Object['assign'](_0x12b222['af']['dictionary'],_0x3442b9),_0x12b222['af']['getPluralForm']=_0x5d58b1;})(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':_0x55a9f3=>0x0==_0x55a9f3?0x0:0x1==_0x55a9f3?0x1:0x2==_0x55a9f3?0x2:_0x55a9f3%0x64>=0x3&&_0x55a9f3%0x64<=0xa?0x3:_0x55a9f3%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':_0x1d6b5e=>0x0==_0x1d6b5e?0x0:0x1==_0x1d6b5e?0x1:0x2==_0x1d6b5e?0x2:_0x1d6b5e%0x64>=0x3&&_0x1d6b5e%0x64<=0xa?0x3:_0x1d6b5e%0x64>=0xb?0x4:0x5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x15b81d=>{const {ar:{dictionary:_0x7f7952,getPluralForm:_0x28cb1e}}={'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':_0x21fcd5=>0x0==_0x21fcd5?0x0:0x1==_0x21fcd5?0x1:0x2==_0x21fcd5?0x2:_0x21fcd5%0x64>=0x3&&_0x21fcd5%0x64<=0xa?0x3:_0x21fcd5%0x64>=0xb?0x4:0x5}};_0x15b81d['ar']||={'dictionary':{},'getPluralForm':null},_0x15b81d['ar']['dictionary']=Object['assign'](_0x15b81d['ar']['dictionary'],_0x7f7952),_0x15b81d['ar']['getPluralForm']=_0x28cb1e;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x139149=>{const {ar:{dictionary:_0x1f2c28,getPluralForm:_0x5a1eae}}={'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':_0xb1eddb=>0x0==_0xb1eddb?0x0:0x1==_0xb1eddb?0x1:0x2==_0xb1eddb?0x2:_0xb1eddb%0x64>=0x3&&_0xb1eddb%0x64<=0xa?0x3:_0xb1eddb%0x64>=0xb?0x4:0x5}};_0x139149['ar']||={'dictionary':{},'getPluralForm':null},_0x139149['ar']['dictionary']=Object['assign'](_0x139149['ar']['dictionary'],_0x1f2c28),_0x139149['ar']['getPluralForm']=_0x5a1eae;})(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':_0x2a7e41=>0x1!=_0x2a7e41}};
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':_0x11267b=>0x1!=_0x11267b}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x11dac5=>{const {ast:{dictionary:_0x5f34e1,getPluralForm:_0x315f31}}={'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':_0x53be28=>0x1!=_0x53be28}};_0x11dac5['ast']||={'dictionary':{},'getPluralForm':null},_0x11dac5['ast']['dictionary']=Object['assign'](_0x11dac5['ast']['dictionary'],_0x5f34e1),_0x11dac5['ast']['getPluralForm']=_0x315f31;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x205f3a=>{const {ast:{dictionary:_0x22f814,getPluralForm:_0x3898a8}}={'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':_0x527803=>0x1!=_0x527803}};_0x205f3a['ast']||={'dictionary':{},'getPluralForm':null},_0x205f3a['ast']['dictionary']=Object['assign'](_0x205f3a['ast']['dictionary'],_0x22f814),_0x205f3a['ast']['getPluralForm']=_0x3898a8;})(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':_0x3242ab=>0x1!=_0x3242ab}};
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':_0x25e5a2=>0x1!=_0x25e5a2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x400b28=>{const {az:{dictionary:_0x7fe63d,getPluralForm:_0x1bd306}}={'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':_0x8b5c7a=>0x1!=_0x8b5c7a}};_0x400b28['az']||={'dictionary':{},'getPluralForm':null},_0x400b28['az']['dictionary']=Object['assign'](_0x400b28['az']['dictionary'],_0x7fe63d),_0x400b28['az']['getPluralForm']=_0x1bd306;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x128cde=>{const {az:{dictionary:_0x3aa4e0,getPluralForm:_0x26cd97}}={'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':_0x7377b8=>0x1!=_0x7377b8}};_0x128cde['az']||={'dictionary':{},'getPluralForm':null},_0x128cde['az']['dictionary']=Object['assign'](_0x128cde['az']['dictionary'],_0x3aa4e0),_0x128cde['az']['getPluralForm']=_0x26cd97;})(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':_0x19e288=>_0x19e288%0xa==0x1&&_0x19e288%0x64!=0xb?0x0:_0x19e288%0xa>=0x2&&_0x19e288%0xa<=0x4&&(_0x19e288%0x64<0xa||_0x19e288%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':_0x236f82=>_0x236f82%0xa==0x1&&_0x236f82%0x64!=0xb?0x0:_0x236f82%0xa>=0x2&&_0x236f82%0xa<=0x4&&(_0x236f82%0x64<0xa||_0x236f82%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x2485fa=>{const {be:{dictionary:_0x596b59,getPluralForm:_0x38fadd}}={'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':_0x5272e2=>_0x5272e2%0xa==0x1&&_0x5272e2%0x64!=0xb?0x0:_0x5272e2%0xa>=0x2&&_0x5272e2%0xa<=0x4&&(_0x5272e2%0x64<0xa||_0x5272e2%0x64>=0x14)?0x1:0x2}};_0x2485fa['be']||={'dictionary':{},'getPluralForm':null},_0x2485fa['be']['dictionary']=Object['assign'](_0x2485fa['be']['dictionary'],_0x596b59),_0x2485fa['be']['getPluralForm']=_0x38fadd;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x238288=>{const {be:{dictionary:_0x4d9ab3,getPluralForm:_0xebf9e}}={'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':_0x123141=>_0x123141%0xa==0x1&&_0x123141%0x64!=0xb?0x0:_0x123141%0xa>=0x2&&_0x123141%0xa<=0x4&&(_0x123141%0x64<0xa||_0x123141%0x64>=0x14)?0x1:0x2}};_0x238288['be']||={'dictionary':{},'getPluralForm':null},_0x238288['be']['dictionary']=Object['assign'](_0x238288['be']['dictionary'],_0x4d9ab3),_0x238288['be']['getPluralForm']=_0xebf9e;})(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':_0x2e6a88=>0x1!=_0x2e6a88}};
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':_0xd80851=>0x1!=_0xd80851}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x44495c=>{const {bg:{dictionary:_0x210255,getPluralForm:_0x1f118b}}={'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':_0x3c5b78=>0x1!=_0x3c5b78}};_0x44495c['bg']||={'dictionary':{},'getPluralForm':null},_0x44495c['bg']['dictionary']=Object['assign'](_0x44495c['bg']['dictionary'],_0x210255),_0x44495c['bg']['getPluralForm']=_0x1f118b;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x588b8a=>{const {bg:{dictionary:_0x4401f,getPluralForm:_0x440a0f}}={'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':_0x2c32b6=>0x1!=_0x2c32b6}};_0x588b8a['bg']||={'dictionary':{},'getPluralForm':null},_0x588b8a['bg']['dictionary']=Object['assign'](_0x588b8a['bg']['dictionary'],_0x4401f),_0x588b8a['bg']['getPluralForm']=_0x440a0f;})(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':_0x2e32cb=>0x1!=_0x2e32cb}};
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':_0x242b68=>0x1!=_0x242b68}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x2760e9=>{const {bn:{dictionary:_0x2a5481,getPluralForm:_0xcce2e4}}={'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':_0x4321f3=>0x1!=_0x4321f3}};_0x2760e9['bn']||={'dictionary':{},'getPluralForm':null},_0x2760e9['bn']['dictionary']=Object['assign'](_0x2760e9['bn']['dictionary'],_0x2a5481),_0x2760e9['bn']['getPluralForm']=_0xcce2e4;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x44a33f=>{const {bn:{dictionary:_0x5f0667,getPluralForm:_0x179eee}}={'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':_0x3255b0=>0x1!=_0x3255b0}};_0x44a33f['bn']||={'dictionary':{},'getPluralForm':null},_0x44a33f['bn']['dictionary']=Object['assign'](_0x44a33f['bn']['dictionary'],_0x5f0667),_0x44a33f['bn']['getPluralForm']=_0x179eee;})(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':_0x18f9e2=>_0x18f9e2%0xa==0x1&&_0x18f9e2%0x64!=0xb?0x0:_0x18f9e2%0xa>=0x2&&_0x18f9e2%0xa<=0x4&&(_0x18f9e2%0x64<0xa||_0x18f9e2%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':_0x528e6e=>_0x528e6e%0xa==0x1&&_0x528e6e%0x64!=0xb?0x0:_0x528e6e%0xa>=0x2&&_0x528e6e%0xa<=0x4&&(_0x528e6e%0x64<0xa||_0x528e6e%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x3fd7a1=>{const {bs:{dictionary:_0x5342d6,getPluralForm:_0x4a2194}}={'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':_0x31a791=>_0x31a791%0xa==0x1&&_0x31a791%0x64!=0xb?0x0:_0x31a791%0xa>=0x2&&_0x31a791%0xa<=0x4&&(_0x31a791%0x64<0xa||_0x31a791%0x64>=0x14)?0x1:0x2}};_0x3fd7a1['bs']||={'dictionary':{},'getPluralForm':null},_0x3fd7a1['bs']['dictionary']=Object['assign'](_0x3fd7a1['bs']['dictionary'],_0x5342d6),_0x3fd7a1['bs']['getPluralForm']=_0x4a2194;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x19607b=>{const {bs:{dictionary:_0x599d7c,getPluralForm:_0x536eb7}}={'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':_0x354232=>_0x354232%0xa==0x1&&_0x354232%0x64!=0xb?0x0:_0x354232%0xa>=0x2&&_0x354232%0xa<=0x4&&(_0x354232%0x64<0xa||_0x354232%0x64>=0x14)?0x1:0x2}};_0x19607b['bs']||={'dictionary':{},'getPluralForm':null},_0x19607b['bs']['dictionary']=Object['assign'](_0x19607b['bs']['dictionary'],_0x599d7c),_0x19607b['bs']['getPluralForm']=_0x536eb7;})(window['CKEDITOR_TRANSLATIONS']||={});