@ckeditor/ckeditor5-uploadcare 47.5.0-alpha.5 → 47.5.0-alpha.7

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 _0x423546,Command as _0x4b357f}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x9431e0,IconGooglePhotos as _0x3460c2,IconGoogleDrive as _0xf50468,IconFacebook as _0x2a6740,IconDropbox as _0x207736,IconUploadcareLink as _0x379342,IconUploadcareImageUpload as _0x1e6fb8,IconError as _0x8b8870,IconUploadcareImageEdit as _0x248221}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x3e4e72,MenuBarMenuListItemButtonView as _0x181390,View as _0x4a380d,FocusCycler as _0x2173b1,Dialog as _0x1f1fd4,DialogViewPosition as _0x2d28de,SpinnerView as _0x2b435d,IconView as _0x408ca9,Notification as _0x1b9691}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x3de616,DomEmitterMixin as _0x1da1f2,global as _0x2ba0ee,getAncestors as _0x3adc70,ObservableMixin as _0x5a2a98,uid as _0x33b46b,createElement as _0x26271f}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x236895}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x5ce5e3,info as _0x595927}from'@uploadcare/upload-client';import*as _0x5eff54 from'@uploadcare/file-uploader';var i=function(_0x55d40f){return _0x55d40f['Local']='local',_0x55d40f['URL']='url',_0x55d40f['Dropbox']='dropbox',_0x55d40f['GDrive']='gdrive',_0x55d40f['Facebook']='facebook',_0x55d40f['GPhotos']='gphotos',_0x55d40f['OneDrive']='onedrive',_0x55d40f;}({});function _(_0x275080,_0x575a24,_0x2b7f4e){const t=_0x275080['t'],_0x44a044=_0x275080['t'];switch(_0x575a24){case i['Local']:return{'text':_0x44a044('Insert'===_0x2b7f4e?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x44a044('From\x20computer')};case i['URL']:return{'text':'Insert'===_0x2b7f4e?_0x44a044('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x44a044('Via\x20URL')};case i['Dropbox']:return{'text':t('Insert'===_0x2b7f4e?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case i['Facebook']:return{'text':t('Insert'===_0x2b7f4e?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case i['GDrive']:return{'text':t('Insert'===_0x2b7f4e?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case i['GPhotos']:return{'text':t('Insert'===_0x2b7f4e?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case i['OneDrive']:return{'text':t('Insert'===_0x2b7f4e?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x575a24;}}class e extends _0x423546{['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 _0x453684=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x1d4cd7;for(const _0x4df75e in _0x453684){const _0x4eeaca=_0x4df75e,_0x54967f=_0x453684[_0x4eeaca];if('uploadcareLicenseKeyValid'==_0x54967f||'uploadcareLicenseKeyInvalid'==_0x54967f||'uploadcareLicenseKeyExpired'==_0x54967f||'uploadcareLicenseKeyDomainLimit'==_0x54967f||'uploadcareLicenseKeyNotAllowed'==_0x54967f||'uploadcareLicenseKeyEvaluationLimit'==_0x54967f||'uploadcareLicenseKeyUsageLimit'==_0x54967f){delete _0x453684[_0x4eeaca],_0x1d4cd7=_0x54967f,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x1d4cd7&&_0x453684['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x1d4cd7&&_0x453684['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x1d4cd7&&_0x453684['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x1d4cd7&&_0x453684['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x1d4cd7&&_0x453684['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyUsageLimit'==_0x1d4cd7&&_0x453684['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0xf8f377}=this,_0x5ea223=_0xf8f377['commands']['get']('uploadcare');if(!_0x5ea223)return;const _0x1a32d9=this['_normalizeConfigSourceList'](_0xf8f377['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x155e92,_0x2f6220)=>{const _0x1b9fe0=this['_getIntegrationKey'](_0x2f6220['type']);return _0x155e92[_0x1b9fe0]||(_0x155e92[_0x1b9fe0]=[]),_0x155e92[_0x1b9fe0]['push'](_0x2f6220),_0x155e92;},{});_0xf8f377['plugins']['has']('ImageInsertUI')&&_0xf8f377['commands']['get']('uploadcare')&&Object['entries'](_0x1a32d9)['forEach'](([_0x16875d,_0x1206af])=>{_0xf8f377['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x16875d,'observable':()=>_0x5ea223,'buttonViewCreator':()=>this['_createToolbarButton'](_0x1206af),'formViewCreator':()=>this['_createDropdownButtons'](_0x1206af),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x1206af),'override':'assetManager'!==_0x16875d});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0xd026ba){const {locale:_0x43b93a}=this['editor'];return _0xd026ba['map'](_0x355ff4=>{const _0x250811=_(_0x43b93a,_0x355ff4,'Insert');switch(_0x355ff4){case i['Local']:return{'icon':_0x1e6fb8,'type':i['Local'],..._0x250811};case i['URL']:return{'icon':_0x379342,'type':i['URL'],..._0x250811};case i['Dropbox']:return{'icon':_0x207736,'type':i['Dropbox'],..._0x250811};case i['Facebook']:return{'icon':_0x2a6740,'type':i['Facebook'],..._0x250811};case i['GDrive']:return{'icon':_0xf50468,'type':i['GDrive'],..._0x250811};case i['GPhotos']:return{'icon':_0x3460c2,'type':i['GPhotos'],..._0x250811};case i['OneDrive']:return{'icon':_0x9431e0,'type':i['OneDrive'],..._0x250811};}});}['_getIntegrationKey'](_0x276092){switch(_0x276092){case i['Local']:return'upload';case i['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x52f65e,_0x38a0e6){const _0x552932=this['editor'],_0xd2803=new _0x52f65e(_0x552932['locale']),_0x409bb7=_0x552932['commands']['get']('uploadcare');return _0xd2803['bind']('isEnabled')['to'](_0x409bb7),_0xd2803['on']('execute',()=>{_0x409bb7['execute'](_0x38a0e6);}),_0xd2803;}['_createToolbarButton'](_0x4e1760){const {locale:_0x170ddd}=this['editor'],_0x2b0887=this['editor']['plugins']['get']('ImageInsertUI'),_0x49cc56=_0x4e1760[0x0],_0x2e6d73=this['_createButton'](_0x3e4e72,_0x49cc56['type']);return _0x2e6d73['icon']=_0x49cc56['icon'],_0x2e6d73['bind']('label')['to'](_0x2b0887,'isImageSelected',_0x3c9f7c=>_(_0x170ddd,_0x49cc56['type'],_0x3c9f7c?'Replace':'Insert')['text']),_0x2e6d73['tooltip']=!0x0,_0x2e6d73;}['_createDropdownButtons'](_0x51a38e){const {locale:_0x50ca04}=this['editor'],_0x3537e0=this['editor']['plugins']['get']('ImageInsertUI');return _0x51a38e['map'](_0x510d7f=>{const _0xb0c550=this['_createButton'](_0x3e4e72,_0x510d7f['type']);return _0xb0c550['withText']=!0x0,_0xb0c550['icon']=_0x510d7f['icon'],_0xb0c550['bind']('label')['to'](_0x3537e0,'isImageSelected',_0x1325b0=>_(_0x50ca04,_0x510d7f['type'],_0x1325b0?'Replace':'Insert')['text']),_0xb0c550;});}['_createMenuBarButtons'](_0x755a57){return _0x755a57['map'](_0x19bc8b=>{const _0x51dca7=this['_createButton'](_0x181390,_0x19bc8b['type']);return _0x51dca7['icon']=_0x19bc8b['icon'],_0x51dca7['label']=_0x19bc8b['shortText'],_0x51dca7;});}}class F extends _0x4a380d{['focusTracker'];['focusCycler'];constructor(_0x1c2659){super(_0x1c2659),this['focusTracker']=new _0x3de616(),this['focusCycler']=new _0x2173b1({'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(_0xcdbf4b,_0x43677a){super(_0xcdbf4b),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-'+_0x43677a}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function C(_0x25911a,_0x15ab43){const _0x2a8afa=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x3a995f=>_0x3a995f<=_0x15ab43)['map'](_0xd2f7ae=>_0x25911a['replace'](/\/$/,'')+'/-/resize/'+_0xd2f7ae+'x/\x20'+_0xd2f7ae+'w');return{'imageFallbackUrl':_0x25911a,'imageSources':[{'srcset':_0x2a8afa['join'](',\x20'),'sizes':'(max-width:\x20'+_0x15ab43+'px)\x20100vw,\x20'+_0x15ab43+'px','type':'image/webp'}]};}function S(_0x3693d7,_0x1ab8a7,_0xda8795){const _0x1df50b=_0x3693d7['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x1df50b?parseInt(_0x1df50b[0x1],0xa):_0x1ab8a7,'height':_0x1df50b?parseInt(_0x1df50b[0x2],0xa):_0xda8795};}function p(_0x2656f9,_0x199586){const _0x4d8c46=new(_0x1da1f2())(),_0x544832=_0x2656f9['plugins']['get']('ImageUtils'),_0x5dd5fa=_0x2656f9['editing']['mapper']['toViewElement'](_0x199586),_0x1852b7=_0x544832['findViewImgElement'](_0x5dd5fa),_0x310cc3=_0x2656f9['editing']['view']['domConverter']['viewToDom'](_0x1852b7),_0x1cc7da=_0x199586['getAttribute']('width'),_0x1b2fcc=_0x199586['getAttribute']('height'),_0xfe196a='image-processing';_0x2656f9['editing']['view']['change'](_0x1850d1=>{_0x1850d1['addClass'](_0xfe196a,_0x5dd5fa),_0x1850d1['setStyle']('aspect-ratio',_0x1cc7da+'/'+_0x1b2fcc,_0x1852b7);}),_0x4d8c46['listenTo'](_0x310cc3,'load',()=>{_0x4d8c46['stopListening'](_0x310cc3,'load'),_0x2656f9['editing']['view']['change'](_0x5707de=>{_0x5707de['removeClass'](_0xfe196a,_0x5dd5fa),_0x5707de['removeStyle']('aspect-ratio',_0x1852b7);});});}function G(_0x9d4559){if(Array['isArray'](_0x9d4559)){const _0x3ed449=_0x9d4559['map'](G);return _0x4d9dda=>_0x3ed449['some'](_0x481add=>_0x481add(_0x4d9dda));}if('origin'==_0x9d4559){const _0x15a92f=_0x2ba0ee['window']['location']['origin'];return _0x5edaf7=>new URL(_0x5edaf7,_0x2ba0ee['document']['baseURI'])['origin']==_0x15a92f;}return'function'==typeof _0x9d4559?_0x9d4559:_0x9d4559 instanceof RegExp?_0x4a1838=>!(!_0x4a1838['match'](_0x9d4559)&&!_0x4a1838['replace'](/^https?:\/\//,'')['match'](_0x9d4559)):()=>!0x1;}function A(_0x2aa24c,_0x268f37){return _0x3adc70(_0x2aa24c['target'])['includes'](_0x268f37);}class n extends/* #__PURE__ -- @preserve */
24
- _0x5a2a98(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x247fc1,_0x4f6771,_0x1c18f5){super(),this['_editor']=_0x247fc1,this['_editing']=_0x4f6771,this['_dialog']=_0x247fc1['plugins']['get'](_0x1f1fd4),this['_api']=_0x4f6771['ctxElement']['getAPI'](),this['_type']=_0x1c18f5,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:_0x4a4cd5,model:_0x2f5129}=this['_editor'],_0x5cc80d=_0x2f5129['document']['selection']['getSelectedElement'](),_0x5053c2=_0x5cc80d&&(_0x5cc80d['is']('element','imageBlock')||_0x5cc80d['is']('element','imageInline'));this['_formView']=new x(_0x4a4cd5,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':_0x1e6fb8,'title':_(_0x4a4cd5,this['_type'],_0x5053c2?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x2d28de['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x3d97c6=>!A(_0x3d97c6,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x431e58}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x5bf8d4=>{const _0x41f7c7=_0x431e58['length'];for(const _0x216827 of _0x431e58){const _0x1fefd9=_0x216827===_0x431e58[_0x41f7c7-0x1],{cdnUrl:_0x56ed4b,fileInfo:_0x1504f5}=_0x216827;if(!_0x56ed4b||!_0x1504f5)continue;const {width:_0x1a2209,height:_0x20644e}=_0x1504f5['imageInfo'],_0x177a18=S(_0x56ed4b,_0x1a2209,_0x20644e),_0x3e81fd=C(_0x56ed4b,_0x177a18['width']),_0x506aeb={'id':_0x1504f5['uuid'],'type':'image','attributes':{'imageDimension':_0x177a18,..._0x3e81fd}};this['_insertAsset'](_0x506aeb,_0x1fefd9,_0x5bf8d4);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x3739c1=>{'idle'===_0x3739c1['detail']['status']&&!_0x3739c1['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===i['Local']?this['_api']['setCurrentActivity'](i['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0xc9c8ac,_0x79f8bc,_0x3c4cf1){const _0x20c208=this['_editor']['model']['document']['selection'],_0x4ae65d=_0x20c208['getSelectedElement'](),_0x169b0a=!(!_0x4ae65d||!_0x4ae65d['is']('element','imageInline'));_0x3c4cf1['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0xc9c8ac,_0x169b0a),_0x79f8bc||_0x3c4cf1['setSelection'](_0x20c208['getLastPosition']());}['_insertImage'](_0x26e1f1,_0x230233){const _0x42ae40=this['_editor'],{imageDimension:_0x5395a5,imageFallbackUrl:_0x4e4c0c,imageSources:_0x48163f}=_0x26e1f1['attributes'];_0x42ae40['execute']('insertImage',{'imageType':_0x230233?'imageInline':null,'source':{'uploadcareImageId':_0x26e1f1['id'],'src':_0x4e4c0c,'sources':_0x48163f,..._0x5395a5}});}}class w extends _0x4b357f{['_editing'];['_controller']=null;static get['requires'](){return[_0x1f1fd4,o];}constructor(_0x424e5c){super(_0x424e5c),this['_editing']=_0x424e5c['plugins']['get'](o);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x4f444b){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new n(this['editor'],this['_editing'],_0x4f444b);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class j{static['upload']({file:_0x52d9ad,..._0x32bde1}){return _0x5ce5e3(_0x52d9ad,_0x32bde1);}static['getInfo'](_0x42f5ea,_0x28ee9d){return _0x595927(_0x42f5ea,_0x28ee9d);}}class f extends _0x423546{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x236895,o];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x2e5e48=this['editor'];if(!!!_0x2e5e48['config']['get']('uploadcare'))return;_0x2e5e48['plugins']['get'](_0x236895)['createUploadAdapter']=_0x348dd5=>new k(_0x348dd5,_0x2e5e48),_0x2e5e48['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0xd04f2a,{imageElement:_0x2d307d,data:_0x4520ac})=>{_0x2e5e48['model']['change'](_0x304636=>{_0x304636['setAttribute']('uploadcareImageId',_0x4520ac['uploadcareImageId'],_0x2d307d);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x386588,_0x2be2f1){this['loader']=_0x386588,this['editor']=_0x2be2f1,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x137573=await this['loader']['file'];return j['upload']({'file':_0x137573,'publicKey':this['editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':this['controller']['signal'],'onProgress':_0x321f66=>{_0x321f66&&_0x321f66['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x321f66['value']);}})['then'](async _0x38f84b=>{const {imageFallbackUrl:_0x185d77,imageSources:_0x12a111}=C(_0x38f84b['cdnUrl'],_0x38f84b['imageInfo']['width']);return{'uploadcareImageId':_0x38f84b['uuid'],'default':_0x185d77,'sources':_0x12a111};})['catch'](()=>{const _0x52b5ab=t('Cannot\x20upload\x20file:')+('\x20'+_0x137573['name']+'.');return Promise['reject'](_0x52b5ab);});}['abort'](){this['controller']['abort']();}}class o extends _0x423546{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',f,_0x1f1fd4];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['ucContextId'];get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}constructor(_0x595ca6){super(_0x595ca6),this['ucContextId']=_0x33b46b();}['init'](){const _0x4035ce=this['editor'];_0x4035ce['commands']['add']('uploadcare',new w(_0x4035ce));}['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 _0x4fa01f=_0x2ba0ee['document']['querySelector']('input[uploadcare-file-input]');_0x4fa01f&&_0x4fa01f['remove']();}),async function(_0x338d42){const _0x545409=_0x3547ae([0x68,0x67,0x50,0x36,0x38,0x70,0x71,0x63,0x37,0x4f,0x42,0x4a,0x78,0x39,0x75,0x33,0x7a,0x72,0x48,0x61,0x74,0x59,0x55,0x58,0x66,0x30,0x34,0x54,0x64,0x56,0x6b,0x4d,0x46,0x6d,0x77,0x43,0x73,0x35,0x53,0x44,0x41,0x76,0x6a,0x32,0x31,0x69,0x57,0x51,0x47,0x65,0x5a,0x4b,0x4c,0x79,0x52,0x6c,0x45,0x4e,0x6e,0x6f,0x49,0x62]),_0x52babd=0x535f8c3a,_0x42b915=0x53580d02^_0x52babd,_0x2b69bf=window[_0x3547ae([0x44,0x61,0x74,0x65])][_0x3547ae([0x6e,0x6f,0x77])](),_0x3c9e7f=_0x338d42[_0x3547ae([0x65,0x64,0x69,0x74,0x6f,0x72])],_0xb67b5=new window[(_0x3547ae([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x18205f=>{_0x3c9e7f[_0x3547ae([0x6f,0x6e,0x63,0x65])](_0x3547ae([0x72,0x65,0x61,0x64,0x79]),_0x18205f);}),_0x162b7a={[_0x3547ae([0x6b,0x74,0x79])]:_0x3547ae([0x45,0x43]),[_0x3547ae([0x75,0x73,0x65])]:_0x3547ae([0x73,0x69,0x67]),[_0x3547ae([0x63,0x72,0x76])]:_0x3547ae([0x50,0x2d,0x32,0x35,0x36]),[_0x3547ae([0x78])]:_0x3547ae([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]),[_0x3547ae([0x79])]:_0x3547ae([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]),[_0x3547ae([0x61,0x6c,0x67])]:_0x3547ae([0x45,0x53,0x32,0x35,0x36])},_0x53352a=_0x3c9e7f[_0x3547ae([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3547ae([0x67,0x65,0x74])](_0x3547ae([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x52832a(){let _0x535600,_0x50bba2=null,_0x17df1e=null;try{if(_0x53352a==_0x3547ae([0x47,0x50,0x4c]))return _0x3547ae([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x535600=_0x120149(),!_0x535600)return _0x3547ae([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x535600[_0x3547ae([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x17df1e=_0x5ed0f8(_0x535600[_0x3547ae([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x535600[_0x3547ae([0x6a,0x74,0x69])])),await _0x312c2c()?_0x40d018()?_0x445614()?_0x3547ae([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x5a9815()?(_0x535600[_0x3547ae([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3547ae([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x50bba2=_0x1d21b5(_0x3547ae([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0xdafe1d()):_0x3547ae([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3547ae([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3547ae([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x3547ae([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x445614(){const _0x565bf8=[_0x3547ae([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3547ae([0x74,0x72,0x69,0x61,0x6c])][_0x3547ae([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x535600[_0x3547ae([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2b69bf/0x3e8:0xe10*_0x42b915;return _0x535600[_0x3547ae([0x65,0x78,0x70])]<_0x565bf8;}function _0x40d018(){const _0x10f1c1=_0x535600[_0x3547ae([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x10f1c1&&(!!_0x10f1c1[_0x3547ae([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3547ae([0x2a]))||!!_0x10f1c1[_0x3547ae([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3547ae([0x55,0x50,0x4c,0x43])));}function _0x5a9815(){const _0x2e6fc5=_0x535600[_0x3547ae([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x2e6fc5||0x0==_0x2e6fc5[_0x3547ae([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x5ebafc}=new URL(window[_0x3547ae([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x2e6fc5[_0x3547ae([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5ebafc))return!0x0;const _0x216630=_0x5ebafc[_0x3547ae([0x73,0x70,0x6c,0x69,0x74])](_0x3547ae([0x2e]));return _0x2e6fc5[_0x3547ae([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x52f804=>_0x52f804[_0x3547ae([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3547ae([0x2a])))[_0x3547ae([0x6d,0x61,0x70])](_0x1f9545=>_0x1f9545[_0x3547ae([0x73,0x70,0x6c,0x69,0x74])](_0x3547ae([0x2e])))[_0x3547ae([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x44ff13=>_0x44ff13[_0x3547ae([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x216630[_0x3547ae([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3547ae([0x6d,0x61,0x70])](_0x247734=>Array(_0x216630[_0x3547ae([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x247734[_0x3547ae([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3547ae([0x66,0x69,0x6c,0x6c])](_0x247734[0x0]===_0x3547ae([0x2a])?_0x3547ae([0x2a]):'')[_0x3547ae([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x247734))[_0x3547ae([0x73,0x6f,0x6d,0x65])](_0x18e734=>_0x216630[_0x3547ae([0x65,0x76,0x65,0x72,0x79])]((_0x196e84,_0x36ea11)=>_0x18e734[_0x36ea11]===_0x196e84||_0x18e734[_0x36ea11]===_0x3547ae([0x2a])));}function _0xdafe1d(){return _0x50bba2&&_0x17df1e?new window[(_0x3547ae([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2d5d48,_0x5ed3d1)=>{_0x50bba2[_0x3547ae([0x74,0x68,0x65,0x6e])](_0x2d5d48,_0x5ed3d1),_0x17df1e[_0x3547ae([0x74,0x68,0x65,0x6e])](_0x246f73=>{_0x246f73!=_0x3547ae([0x56,0x61,0x6c,0x69,0x64])&&_0x2d5d48(_0x246f73);},_0x5ed3d1);}):_0x50bba2||_0x17df1e||_0x3547ae([0x56,0x61,0x6c,0x69,0x64]);}}function _0x5ed0f8(_0x2ba547,_0x33ec56){return new window[(_0x3547ae([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x27f70c=>{if(_0x1dd283())return _0x27f70c(_0x3547ae([0x56,0x61,0x6c,0x69,0x64]));_0x2b65d4(),_0x3c9e7f[_0x3547ae([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3547ae([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x379227=!0x1;const _0x31d5c=_0x33b46b();function _0x471531(_0x204ee1){return!!_0x204ee1&&(typeof _0x204ee1===_0x3547ae([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x204ee1===_0x3547ae([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x204ee1[_0x3547ae([0x74,0x68,0x65,0x6e])]===_0x3547ae([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x204ee1[_0x3547ae([0x63,0x61,0x74,0x63,0x68])]===_0x3547ae([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1eca66(_0x772d65){_0x39ec48(_0x772d65)[_0x3547ae([0x74,0x68,0x65,0x6e])](_0x3cd004=>{if(!_0x3cd004||_0x3cd004[_0x3547ae([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3547ae([0x6f,0x6b]))return _0x3547ae([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x3be01b(_0x100944(_0x31d5c+_0x33ec56))!=_0x3cd004[_0x3547ae([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3547ae([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3547ae([0x56,0x61,0x6c,0x69,0x64]);})[_0x3547ae([0x74,0x68,0x65,0x6e])](_0x2a4185=>(_0x1c50d0(),_0x2a4185),()=>{const _0x5ee602=_0x360a83();return null==_0x5ee602?(_0x1c50d0(),_0x3547ae([0x56,0x61,0x6c,0x69,0x64])):_0x3547ae(_0x2b69bf-_0x5ee602>(0x7753083a^_0x52babd)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3547ae([0x74,0x68,0x65,0x6e])](_0x27f70c)[_0x3547ae([0x63,0x61,0x74,0x63,0x68])](()=>{_0x27f70c(_0x3547ae([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5926da=0x536962ba^_0x52babd;function _0x1c50d0(){const _0x5918a7=_0x3547ae([0x6c,0x6c,0x63,0x74,0x2d])+_0x3be01b(_0x100944(_0x2ba547)),_0x57e75a=_0xf45ee2(_0x3be01b(window[_0x3547ae([0x4d,0x61,0x74,0x68])][_0x3547ae([0x63,0x65,0x69,0x6c])](_0x2b69bf/_0x5926da)));window[_0x3547ae([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3547ae([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5918a7,_0x57e75a);}function _0x360a83(){const _0x3c41e1=_0x3547ae([0x6c,0x6c,0x63,0x74,0x2d])+_0x3be01b(_0x100944(_0x2ba547)),_0xfa8c2d=window[_0x3547ae([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3547ae([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3c41e1);return _0xfa8c2d?window[_0x3547ae([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xf45ee2(_0xfa8c2d),0x10)*_0x5926da:null;}function _0x39ec48(_0x47736b){return new window[(_0x3547ae([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3acdae,_0x382d2f)=>{_0x47736b[_0x3547ae([0x74,0x68,0x65,0x6e])](_0x3acdae,_0x382d2f),window[_0x3547ae([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x382d2f,0x535e58fa^_0x52babd);});}}_0x3c9e7f[_0x3547ae([0x6f,0x6e])](_0x3547ae([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1c17d0,_0x28f2b2)=>{if(_0x28f2b2[0x0]!=_0x2ba547)return _0x27f70c(_0x3547ae([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x28f2b2[0x1]={..._0x28f2b2[0x1],[_0x3547ae([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x31d5c};},{[_0x3547ae([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3547ae([0x68,0x69,0x67,0x68])}),_0x3c9e7f[_0x3547ae([0x6f,0x6e])](_0x3547ae([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5642d1=>{_0x471531(_0x5642d1[_0x3547ae([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x379227=!0x0,_0x1eca66(_0x5642d1[_0x3547ae([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3547ae([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3547ae([0x6c,0x6f,0x77])}),_0xb67b5[_0x3547ae([0x74,0x68,0x65,0x6e])](()=>{_0x379227||_0x27f70c(_0x3547ae([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x1dd283(){return _0x3c9e7f[_0x3547ae([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3547ae([0x76,0x69,0x65,0x77])][_0x3547ae([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3547ae([0x61,0x75,0x74,0x6f]);}function _0x2b65d4(){_0x3c9e7f[_0x3547ae([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3547ae([0x76,0x69,0x65,0x77])][_0x3547ae([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3547ae([0x61,0x75,0x74,0x6f]);}}function _0x1d21b5(_0x3628a1){const _0x274b90=[new window[(_0x3547ae([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x39ab97=>setTimeout(_0x39ab97,0x5356b2f6^_0x52babd)),_0xb67b5[_0x3547ae([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3547ae([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1b8da1=>{let _0x2028df=0x0;_0x3c9e7f[_0x3547ae([0x6d,0x6f,0x64,0x65,0x6c])][_0x3547ae([0x6f,0x6e])](_0x3547ae([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x220ea1,_0x4cbea3)=>{_0x4cbea3[0x0][_0x3547ae([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2028df++,_0x2028df==(0x535f89d2^_0x52babd)&&(_0x1b8da1(),_0x220ea1[_0x3547ae([0x6f,0x66,0x66])]());});}))];return window[_0x3547ae([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3547ae([0x72,0x61,0x63,0x65])](_0x274b90)[_0x3547ae([0x74,0x68,0x65,0x6e])](()=>_0x3628a1);}async function _0x3aecfd(){await _0xb67b5,_0x3c9e7f[_0x3547ae([0x6d,0x6f,0x64,0x65,0x6c])][_0x3547ae([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x1920ff,_0x3c9e7f[_0x3547ae([0x6d,0x6f,0x64,0x65,0x6c])][_0x3547ae([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x1920ff,_0x3c9e7f[_0x3547ae([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3547ae([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x98b640(_0x43b065){const _0x18d8a8=_0x357fd0();_0x3c9e7f[_0x18d8a8]=_0x3547ae([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x43b065,_0x43b065!=_0x3547ae([0x56,0x61,0x6c,0x69,0x64])&&_0x3aecfd();}function _0x357fd0(){const _0x5896ea=window[_0x3547ae([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3547ae([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3547ae([0x6e,0x6f,0x77])]())[_0x3547ae([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3547ae([0x2e]),'');let _0x5937ab=_0x3547ae([0x68]);for(let _0x16c7aa=0x0;_0x16c7aa<_0x5896ea[_0x3547ae([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x16c7aa+=0x2){let _0x482888=window[_0x3547ae([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5896ea[_0x3547ae([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x16c7aa,_0x16c7aa+0x2));_0x482888>=_0x545409[_0x3547ae([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x482888-=_0x545409[_0x3547ae([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5937ab+=_0x545409[_0x482888];}return _0x5937ab;}function _0x120149(){const _0x5b6e70=_0x53352a[_0x3547ae([0x73,0x70,0x6c,0x69,0x74])](_0x3547ae([0x2e]));if(0x3!=_0x5b6e70[_0x3547ae([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4b475f(_0x5b6e70[0x1]);function _0x4b475f(_0x2fb026){const _0x419a0c=_0x43baed(_0x2fb026);return _0x419a0c&&_0x554eb6()?_0x419a0c:null;function _0x554eb6(){const _0x475fdd=_0x419a0c[_0x3547ae([0x6a,0x74,0x69])],_0x30ecf7=window[_0x3547ae([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x475fdd[_0x3547ae([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x475fdd[_0x3547ae([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x135620={..._0x419a0c,[_0x3547ae([0x6a,0x74,0x69])]:_0x475fdd[_0x3547ae([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x475fdd[_0x3547ae([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x135620[_0x3547ae([0x76,0x63])],_0x100944(_0x135620)==_0x30ecf7;}}}async function _0x312c2c(){let _0x294c7f=!0x0;try{const _0x54b087=_0x53352a[_0x3547ae([0x73,0x70,0x6c,0x69,0x74])](_0x3547ae([0x2e])),[_0x28469c,_0x38ca2c,_0x2656a4]=_0x54b087;return _0x3a6a46(_0x28469c),await _0x35e5f3(_0x28469c,_0x38ca2c,_0x2656a4),_0x294c7f;}catch{return!0x1;}function _0x3a6a46(_0x2682e0){const _0x479d6c=_0x43baed(_0x2682e0);_0x479d6c&&_0x479d6c[_0x3547ae([0x61,0x6c,0x67])]==_0x3547ae([0x45,0x53,0x32,0x35,0x36])||(_0x294c7f=!0x1);}async function _0x35e5f3(_0x53942e,_0x2c5a0e,_0x5e98c9){const _0x6cc790=window[_0x3547ae([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3547ae([0x66,0x72,0x6f,0x6d])](_0x43e180(_0x5e98c9),_0x2c7f37=>_0x2c7f37[_0x3547ae([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1eeb54=new window[(_0x3547ae([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3547ae([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x53942e+_0x3547ae([0x2e])+_0x2c5a0e),_0x1f1cde=window[_0x3547ae([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3547ae([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1f1cde)return;const _0x5ac52b=await _0x1f1cde[_0x3547ae([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3547ae([0x6a,0x77,0x6b]),_0x162b7a,{[_0x3547ae([0x6e,0x61,0x6d,0x65])]:_0x3547ae([0x45,0x43,0x44,0x53,0x41]),[_0x3547ae([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3547ae([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3547ae([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1f1cde[_0x3547ae([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3547ae([0x6e,0x61,0x6d,0x65])]:_0x3547ae([0x45,0x43,0x44,0x53,0x41]),[_0x3547ae([0x68,0x61,0x73,0x68])]:{[_0x3547ae([0x6e,0x61,0x6d,0x65])]:_0x3547ae([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5ac52b,_0x6cc790,_0x1eeb54)||(_0x294c7f=!0x1);}}function _0x43baed(_0x251069){return _0x251069[_0x3547ae([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3547ae([0x65,0x79]))?JSON[_0x3547ae([0x70,0x61,0x72,0x73,0x65])](_0x43e180(_0x251069)):null;}function _0x43e180(_0x15bd92){return window[_0x3547ae([0x61,0x74,0x6f,0x62])](_0x15bd92[_0x3547ae([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3547ae([0x2b]))[_0x3547ae([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3547ae([0x2f])));}function _0x100944(_0x8ed877){let _0x16da16=0x1505;function _0x2fbfc4(_0xca3a3b){for(let _0x5baec7=0x0;_0x5baec7<_0xca3a3b[_0x3547ae([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5baec7++){const _0x4b9e80=_0xca3a3b[_0x3547ae([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5baec7);_0x16da16=(_0x16da16<<0x5)+_0x16da16+_0x4b9e80,_0x16da16&=_0x16da16;}}function _0x2cb596(_0x456c4d){Array[_0x3547ae([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x456c4d)?_0x456c4d[_0x3547ae([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2cb596):_0x456c4d&&typeof _0x456c4d==_0x3547ae([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3547ae([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x456c4d)[_0x3547ae([0x73,0x6f,0x72,0x74])]()[_0x3547ae([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x25fa96,_0x59aed3])=>{_0x2fbfc4(_0x25fa96),_0x2cb596(_0x59aed3);}):_0x2fbfc4(window[_0x3547ae([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x456c4d));}return _0x2cb596(_0x8ed877),_0x16da16>>>0x0;}function _0x3be01b(_0x3646fc){return _0x3646fc[_0x3547ae([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3547ae([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3547ae([0x30]));}function _0xf45ee2(_0x22c9af){return _0x22c9af[_0x3547ae([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3547ae([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3547ae([0x6a,0x6f,0x69,0x6e])]('');}function _0x1920ff(){}function _0x3547ae(_0x1410ce){return _0x1410ce['map'](_0x3fcab2=>String['fromCharCode'](_0x3fcab2))['join']('');}_0x98b640(await _0x52832a());}(this);}['_initSchema'](){const _0xda62d9=this['editor']['model']['schema'];_0xda62d9['isRegistered']('imageBlock')&&_0xda62d9['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0xda62d9['isRegistered']('imageInline')&&_0xda62d9['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x1ba710=this['editor'];_0x1ba710['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x1ba710['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x1503ba=>_0x1503ba['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x1bf285=_0x1ba710['commands']['get']('replaceImageSource');_0x1bf285&&this['listenTo'](_0x1bf285,'cleanupImage',(_0x5b211a,[_0x453f10,_0x2b97d6])=>{_0x453f10['removeAttribute']('uploadcareImageId',_0x2b97d6);});}['_initConfig'](){const _0x212e17=this['editor']['config']['get']('uploadcare.uploader')||{},_0x37ce15=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x26271f(_0x2ba0ee['document'],'uc-config',{..._0x212e17,'pubkey':_0x37ce15,'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']=_0x4814b1=>{if('closeMax'==_0x4814b1)return'#uc-icon-arrow-down';},_0x2ba0ee['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x26271f(_0x2ba0ee['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),_0x2ba0ee['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x4dcc57=this['editor']['commands']['get']('insertImage');_0x4dcc57&&this['listenTo'](_0x4dcc57,'execute',()=>{const _0x3d6e69=this['editor']['model']['document']['selection']['getSelectedElement']();_0x3d6e69&&_0x3d6e69['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x3d6e69);});});const _0x29a2de=this['editor']['commands']['get']('uploadcareImageReplace');_0x29a2de&&this['listenTo'](_0x29a2de,'execute',()=>{const _0x1b1d89=this['editor']['model']['document']['selection']['getSelectedElement']();_0x1b1d89&&_0x1b1d89['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x1b1d89);});});}}class tt extends _0x423546{static get['requires'](){return[o,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x238a43){super(_0x238a43),_0x238a43['config']['define']('uploadcare.uploader.sourceList',[i['Local'],i['URL']]),_0x5eff54['defineComponents'](_0x5eff54),this['_defineLocale']();}['_defineLocale'](){const _0x241279=this['editor']['config']['get']('uploadcare.locale'),_0x4c464b=this['editor']['locale']['contentLanguage'];_0x241279&&_0x5eff54['defineLocale'](_0x4c464b,_0x241279);}}class ii extends _0x4a380d{constructor(_0x230d78){super(_0x230d78);const t=_0x230d78['t'],_0x246c40=this['bindTemplate'],_0x4681cc=new _0x2b435d();_0x4681cc['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':[_0x4681cc,{'text':_0x246c40['to']('imageUploadProgress',_0x8957c8=>t('Loading\x20image...')+'\x20('+(_0x8957c8||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 _0x4a380d{constructor(_0x1dd6ef){super(_0x1dd6ef);const t=_0x1dd6ef['t'];this['set']('errorType',null);const _0x52de20=new _0x3e4e72(_0x1dd6ef);_0x52de20['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x52de20['withText']=!0x0,_0x52de20['class']='ck-button-action',_0x52de20['on']('execute',()=>{this['fire']('retry');}),_0x52de20['bind']('isVisible')['to'](this,'errorType',_0x441c33=>'NotFound'!==_0x441c33);const _0x1b89f8=new _0x408ca9();_0x1b89f8['content']=_0x8b8870,_0x1b89f8['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x3f64a5=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':[_0x1b89f8,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x3f64a5['to']('errorType',_0x50fe1a=>t('NotFound'!==_0x50fe1a?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x52de20]},{'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 _0x4a380d{constructor(_0x568471,_0x1efed9){super(_0x568471);const _0x4d747f=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x1efed9,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x4d747f['to']('imageSrc')}});}}class X extends F{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x49c1f2,_0x398101,_0x56c6d0){super(_0x49c1f2),this['_items']=this['createCollection'](),this['_loadingView']=new ii(_0x49c1f2),this['_errorView']=new ti(_0x49c1f2),this['_editingView']=new ei(_0x49c1f2,_0x56c6d0),this['_focusableView']=new _0x4a380d(_0x49c1f2),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x398101),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'],_0x233e9e=>{this['_addUploadcareImageEditorListeners'](_0x233e9e);});}),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'](_0xc9c89,_0x570fd1){const _0x3f5d24='uc-cloud-image-editor',_0x51d43b=_0xc9c89['querySelector'](_0x3f5d24);if(_0x51d43b)return _0x570fd1(_0x51d43b);const _0x4602a4=new MutationObserver(_0x54ef3c=>{const _0x2c6860=_0x54ef3c['filter'](_0x587c1e=>_0x587c1e['target']===_0xc9c89&&_0x587c1e['addedNodes']['length']>0x0&&_0x587c1e['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x3f5d24);_0x2c6860['length']&&(_0x4602a4['disconnect'](),_0x570fd1(_0x2c6860[0x0]['addedNodes'][0x0]));});_0x4602a4['observe'](_0xc9c89,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x4b951b){_0x4b951b['addEventListener']('apply',_0x3f710d=>{this['fire']('apply',{'imageSrc':_0x3f710d['detail']['cdnUrl']});}),_0x4b951b['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class E extends/* #__PURE__ -- @preserve */
25
- _0x5a2a98(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x430051,_0x4a4a00,_0x488d1e){super(),this['_editor']=_0x430051,this['_dialog']=_0x4a4a00,this['_imageElement']=_0x488d1e,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 _0x28a5b4=this['_imageElement'],_0x934528=_0x28a5b4['getAttribute']('uploadcareImageId'),_0x343f9d=_0x28a5b4['getAttribute']('src');if(_0x934528)await this['_loadImageInfo'](_0x934528,_0x343f9d);else{if(this['_imageCache']['has'](_0x343f9d)){const _0x43fa6d=this['_imageCache']['get'](_0x343f9d);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x43fa6d['url'],this['imageDimension']=_0x43fa6d['dimension'],this['imageId']=_0x43fa6d['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x59ca47}=this['_editor'],t=_0x59ca47['t'],_0x606e24=new X(_0x59ca47,this['imageStatus'],this['_attributes']);_0x606e24['bind']('status')['to'](this,'imageStatus'),_0x606e24['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x606e24['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x606e24['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x606e24,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x248221,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x606e24,'position':_0x2d28de['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x606e24['focus']();},'onHide':()=>{_0x606e24['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x235913=>!A(_0x235913,_0x606e24['element'])}});}['_loadImageInfo'](_0x10b598,_0x42314e){return j['getInfo'](_0x10b598,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x4177b9=>{const {width:_0x23ef25,height:_0x5ec089}=_0x4177b9['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x42314e,this['imageDimension']={'width':_0x23ef25,'height':_0x5ec089},this['imageId']=_0x10b598;})['catch'](_0x205d65=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x205d65['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x2468be,_0x4c8f4e){return this['_getImageAsFile'](_0x2468be)['then'](_0x46584e=>j['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['_editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':_0x4c8f4e['signal'],'file':_0x46584e,'onProgress':_0x3674ec=>{_0x3674ec&&_0x3674ec['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x3674ec['value']));}}))['then'](_0x1d10a4=>{const {width:_0x475185,height:_0x2f4a95}=_0x1d10a4['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x1d10a4['cdnUrl'],this['imageDimension']={'width':_0x475185,'height':_0x2f4a95},this['imageId']=_0x1d10a4['uuid'],this['imageUploadProgress']=null;const _0xba5ba9=_0x2468be['getAttribute']('src');this['_imageCache']['set'](_0xba5ba9,{'id':_0x1d10a4['uuid'],'url':_0x1d10a4['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x2ece21=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x2ece21['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x4301c3,_0x123c19){_0x4301c3['on']('apply',(_0x4e2c14,_0x45d210)=>{this['_replaceImage'](_0x123c19,_0x45d210['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x4301c3['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x4301c3['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x36a83b,_0x4ac535,_0xc0b717){const _0x11fc21=this['_editor'],{width:_0x297786,height:_0x555887}=S(_0x4ac535,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x59a900,imageSources:_0x691319}=C(_0x4ac535,_0x297786);_0x11fc21['model']['change'](_0xb9f453=>{if('$graveyard'===_0x36a83b['root']['rootName']){_0x11fc21['execute']('insertImage',{'imageType':_0x36a83b['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x36a83b['getAttributes']()),'uploadcareImageId':_0xc0b717,'src':_0x59a900,'sources':_0x691319,'width':_0x297786,'height':_0x555887}});const _0x349a3a=_0x36a83b['getChildren']();_0x36a83b=_0x11fc21['model']['document']['selection']['getSelectedElement']();for(const _0x138bda of _0x349a3a)_0xb9f453['append'](_0xb9f453['cloneElement'](_0x138bda),_0x36a83b);}else _0xb9f453['setSelection'](_0x36a83b,'on'),_0x11fc21['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x36a83b['getAttributes']()),'uploadcareImageId':_0xc0b717,'src':_0x59a900,'sources':_0x691319,'width':_0x297786,'height':_0x555887},_0x36a83b);_0xb9f453['setSelection'](_0x36a83b,'on');});}async['_getImageAsFile'](_0x2e552c){const _0x57341f=_0x2ba0ee['window'],_0x399c=_0x2ba0ee['document']['location']['href'],_0x163dfa=new _0x57341f['URL'](_0x2e552c['getAttribute']('src'),_0x399c);if('data:'===_0x163dfa['protocol']){const _0x2f3101=_0x163dfa['href']['split'](','),_0x31dfb3=_0x2f3101[0x0]['match'](/:(.*?);/)[0x1],_0x2ec320=_0x31dfb3['split']('/')[0x1],_0x67a2a3=_0x57341f['atob'](_0x2f3101[_0x2f3101['length']-0x1]);let _0xdf4e92=_0x67a2a3['length'];const _0x2eaa39=new _0x57341f['Uint8Array'](_0xdf4e92);for(;_0xdf4e92--;)_0x2eaa39[_0xdf4e92]=_0x67a2a3['charCodeAt'](_0xdf4e92);return new _0x57341f['File']([_0x2eaa39],'image.'+_0x2ec320,{'type':_0x31dfb3});}const _0x57b6b8=_0x163dfa['href']['split']('/'),_0x57ca73=_0x57b6b8[_0x57b6b8['length']-0x1],_0x6c8963=_0x57ca73['split']('.')[0x1];return _0x57341f['fetch'](_0x163dfa['href'])['then'](_0x119d0f=>_0x119d0f['clone']()['blob']())['then'](_0x2bd675=>new _0x57341f['File']([_0x2bd675],_0x57ca73,{'type':'image/'+_0x6c8963}));}}class O extends _0x4b357f{['imageEditController'];static get['requires'](){return[_0x1f1fd4];}['_isEditable'];constructor(_0x481c0c){super(_0x481c0c),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x5bf9c9){const _0xf6ccd6=G(_0x5bf9c9);return _0x3aba99=>!(!_0x3aba99||!_0x3aba99['is']('element','imageBlock')&&!_0x3aba99['is']('element','imageInline'))&&(!!_0x3aba99['hasAttribute']('uploadcareImageId')||!!_0x3aba99['hasAttribute']('src')&&_0xf6ccd6(_0x3aba99['getAttribute']('src')));}(_0x481c0c['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x257afe=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x257afe);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x3d017c=this['editor']['model']['document']['selection']['getSelectedElement']();_0x3d017c&&(_0x3d017c['is']('element','imageBlock')||_0x3d017c['is']('element','imageInline'))&&(this['imageEditController']=new E(this['editor'],this['editor']['plugins']['get'](_0x1f1fd4),_0x3d017c),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class R extends _0x4b357f{['refresh'](){const _0x34073f=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x34073f&&(_0x34073f['is']('element','imageBlock')||_0x34073f['is']('element','imageInline')));}['execute'](_0x36c3b1){const _0x596e27=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x203f7a=>{_0x203f7a['setAttributes'](_0x36c3b1,_0x596e27),_0x203f7a['removeAttribute']('srcset',_0x596e27),_0x203f7a['removeAttribute']('sizes',_0x596e27);});}}class m extends _0x423546{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[o,_0x1b9691,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x536aad}=this;_0x536aad['commands']['add']('uploadcareImageEdit',new O(_0x536aad)),_0x536aad['commands']['add']('uploadcareImageReplace',new R(_0x536aad));}}class g extends _0x423546{['_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 _0x3682de=this['editor'];_0x3682de['ui']['componentFactory']['add']('uploadcareImageEdit',_0x1a2bfd=>{const _0x1d570d=_0x3682de['commands']['get']('uploadcareImageEdit'),_0x48cc7b=new _0x3e4e72(_0x1a2bfd),t=_0x1a2bfd['t'];return _0x48cc7b['set']({'icon':_0x248221,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x48cc7b['bind']('isEnabled')['to'](_0x1d570d),_0x48cc7b['bind']('isOn')['to'](_0x1d570d,'isActive'),this['listenTo'](_0x48cc7b,'execute',()=>{_0x3682de['execute']('uploadcareImageEdit'),_0x3682de['editing']['view']['focus']();}),_0x48cc7b;}),this['_initConfig']();}['_initConfig'](){const _0x34b114=_0x26271f(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x34b114),this['listenTo'](this['editor'],'destroy',()=>{_0x34b114['remove']();});}}class et extends _0x423546{static get['pluginName'](){return'UploadcareImageEdit';}static get['requires'](){return[m,g];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{tt as Uploadcare,w as UploadcareCommand,o as UploadcareEditing,et as UploadcareImageEdit,O as UploadcareImageEditCommand,m as UploadcareImageEditEditing,g as UploadcareImageEditUI,e as UploadcareUI,f as UploadcareUploadAdapter};
23
+ import{Plugin as _0x2a82e0,Command as _0x18500d}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0xf9d971,IconGooglePhotos as _0xfbbe4f,IconGoogleDrive as _0x5af63b,IconFacebook as _0x22e9cd,IconDropbox as _0x26f181,IconUploadcareLink as _0x26fd2b,IconUploadcareImageUpload as _0x1dc000,IconError as _0x264661,IconUploadcareImageEdit as _0x50046d}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x469c63,MenuBarMenuListItemButtonView as _0x5402e3,View as _0x2f993d,FocusCycler as _0x41e57d,Dialog as _0x305b47,DialogViewPosition as _0x48b700,SpinnerView as _0x55dbe6,IconView as _0x5e6efd,Notification as _0x540fe3}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x3bb554,DomEmitterMixin as _0x131c3c,global as _0x44c20a,getAncestors as _0x2e2453,ObservableMixin as _0x51bd87,uid as _0x4ef61a,createElement as _0x1cc28e}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x46e556}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x1e8380,info as _0x3cf899}from'@uploadcare/upload-client';import*as _0x3c4042 from'@uploadcare/file-uploader';var i=function(_0x3bf822){return _0x3bf822['Local']='local',_0x3bf822['URL']='url',_0x3bf822['Dropbox']='dropbox',_0x3bf822['GDrive']='gdrive',_0x3bf822['Facebook']='facebook',_0x3bf822['GPhotos']='gphotos',_0x3bf822['OneDrive']='onedrive',_0x3bf822;}({});function _(_0x3d42c0,_0x15bbc0,_0xda1097){const t=_0x3d42c0['t'],_0x52ba26=_0x3d42c0['t'];switch(_0x15bbc0){case i['Local']:return{'text':_0x52ba26('Insert'===_0xda1097?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x52ba26('From\x20computer')};case i['URL']:return{'text':'Insert'===_0xda1097?_0x52ba26('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x52ba26('Via\x20URL')};case i['Dropbox']:return{'text':t('Insert'===_0xda1097?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case i['Facebook']:return{'text':t('Insert'===_0xda1097?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case i['GDrive']:return{'text':t('Insert'===_0xda1097?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case i['GPhotos']:return{'text':t('Insert'===_0xda1097?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case i['OneDrive']:return{'text':t('Insert'===_0xda1097?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x15bbc0;}}class e extends _0x2a82e0{['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 _0x259d15=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x413881;for(const _0x313d1b in _0x259d15){const _0x3adf10=_0x313d1b,_0x1c2d8b=_0x259d15[_0x3adf10];if('uploadcareLicenseKeyValid'==_0x1c2d8b||'uploadcareLicenseKeyInvalid'==_0x1c2d8b||'uploadcareLicenseKeyExpired'==_0x1c2d8b||'uploadcareLicenseKeyDomainLimit'==_0x1c2d8b||'uploadcareLicenseKeyNotAllowed'==_0x1c2d8b||'uploadcareLicenseKeyEvaluationLimit'==_0x1c2d8b||'uploadcareLicenseKeyUsageLimit'==_0x1c2d8b){delete _0x259d15[_0x3adf10],_0x413881=_0x1c2d8b,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x413881&&_0x259d15['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x413881&&_0x259d15['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x413881&&_0x259d15['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x413881&&_0x259d15['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x413881&&_0x259d15['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyUsageLimit'==_0x413881&&_0x259d15['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x14ce44}=this,_0x4f9b18=_0x14ce44['commands']['get']('uploadcare');if(!_0x4f9b18)return;const _0x57561c=this['_normalizeConfigSourceList'](_0x14ce44['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x376278,_0x4e395a)=>{const _0x11dd9e=this['_getIntegrationKey'](_0x4e395a['type']);return _0x376278[_0x11dd9e]||(_0x376278[_0x11dd9e]=[]),_0x376278[_0x11dd9e]['push'](_0x4e395a),_0x376278;},{});_0x14ce44['plugins']['has']('ImageInsertUI')&&_0x14ce44['commands']['get']('uploadcare')&&Object['entries'](_0x57561c)['forEach'](([_0xe68a2d,_0x4e1784])=>{_0x14ce44['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0xe68a2d,'observable':()=>_0x4f9b18,'buttonViewCreator':()=>this['_createToolbarButton'](_0x4e1784),'formViewCreator':()=>this['_createDropdownButtons'](_0x4e1784),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x4e1784),'override':'assetManager'!==_0xe68a2d});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x477d9c){const {locale:_0x1663ec}=this['editor'];return _0x477d9c['map'](_0x2f3c2d=>{const _0x3e6f65=_(_0x1663ec,_0x2f3c2d,'Insert');switch(_0x2f3c2d){case i['Local']:return{'icon':_0x1dc000,'type':i['Local'],..._0x3e6f65};case i['URL']:return{'icon':_0x26fd2b,'type':i['URL'],..._0x3e6f65};case i['Dropbox']:return{'icon':_0x26f181,'type':i['Dropbox'],..._0x3e6f65};case i['Facebook']:return{'icon':_0x22e9cd,'type':i['Facebook'],..._0x3e6f65};case i['GDrive']:return{'icon':_0x5af63b,'type':i['GDrive'],..._0x3e6f65};case i['GPhotos']:return{'icon':_0xfbbe4f,'type':i['GPhotos'],..._0x3e6f65};case i['OneDrive']:return{'icon':_0xf9d971,'type':i['OneDrive'],..._0x3e6f65};}});}['_getIntegrationKey'](_0x3c4f63){switch(_0x3c4f63){case i['Local']:return'upload';case i['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x4e0014,_0x3d96da){const _0x34ddd4=this['editor'],_0x4656bf=new _0x4e0014(_0x34ddd4['locale']),_0x44a74a=_0x34ddd4['commands']['get']('uploadcare');return _0x4656bf['bind']('isEnabled')['to'](_0x44a74a),_0x4656bf['on']('execute',()=>{_0x44a74a['execute'](_0x3d96da);}),_0x4656bf;}['_createToolbarButton'](_0x34deb8){const {locale:_0xc4e4a1}=this['editor'],_0x7c6ab2=this['editor']['plugins']['get']('ImageInsertUI'),_0x2387e2=_0x34deb8[0x0],_0x1c290d=this['_createButton'](_0x469c63,_0x2387e2['type']);return _0x1c290d['icon']=_0x2387e2['icon'],_0x1c290d['bind']('label')['to'](_0x7c6ab2,'isImageSelected',_0x5a18f2=>_(_0xc4e4a1,_0x2387e2['type'],_0x5a18f2?'Replace':'Insert')['text']),_0x1c290d['tooltip']=!0x0,_0x1c290d;}['_createDropdownButtons'](_0x12d944){const {locale:_0x4be842}=this['editor'],_0x58a22f=this['editor']['plugins']['get']('ImageInsertUI');return _0x12d944['map'](_0x9ecdae=>{const _0x3e000e=this['_createButton'](_0x469c63,_0x9ecdae['type']);return _0x3e000e['withText']=!0x0,_0x3e000e['icon']=_0x9ecdae['icon'],_0x3e000e['bind']('label')['to'](_0x58a22f,'isImageSelected',_0x3b989e=>_(_0x4be842,_0x9ecdae['type'],_0x3b989e?'Replace':'Insert')['text']),_0x3e000e;});}['_createMenuBarButtons'](_0x400297){return _0x400297['map'](_0x75812f=>{const _0x5993f4=this['_createButton'](_0x5402e3,_0x75812f['type']);return _0x5993f4['icon']=_0x75812f['icon'],_0x5993f4['label']=_0x75812f['shortText'],_0x5993f4;});}}class F extends _0x2f993d{['focusTracker'];['focusCycler'];constructor(_0x5dd8fb){super(_0x5dd8fb),this['focusTracker']=new _0x3bb554(),this['focusCycler']=new _0x41e57d({'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(_0x2d2d49,_0x2397da){super(_0x2d2d49),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-'+_0x2397da}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function C(_0x5eb243,_0x487acf){const _0x1013b9=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x21ea8e=>_0x21ea8e<=_0x487acf)['map'](_0x2221a7=>_0x5eb243['replace'](/\/$/,'')+'/-/resize/'+_0x2221a7+'x/\x20'+_0x2221a7+'w');return{'imageFallbackUrl':_0x5eb243,'imageSources':[{'srcset':_0x1013b9['join'](',\x20'),'sizes':'(max-width:\x20'+_0x487acf+'px)\x20100vw,\x20'+_0x487acf+'px','type':'image/webp'}]};}function S(_0x263a9c,_0x53396f,_0x719370){const _0x4f4d2e=_0x263a9c['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x4f4d2e?parseInt(_0x4f4d2e[0x1],0xa):_0x53396f,'height':_0x4f4d2e?parseInt(_0x4f4d2e[0x2],0xa):_0x719370};}function p(_0x1d9cb3,_0x72b626){const _0x19e618=new(_0x131c3c())(),_0x5e934a=_0x1d9cb3['plugins']['get']('ImageUtils'),_0x549cab=_0x1d9cb3['editing']['mapper']['toViewElement'](_0x72b626),_0x5625f2=_0x5e934a['findViewImgElement'](_0x549cab),_0x1c9174=_0x1d9cb3['editing']['view']['domConverter']['viewToDom'](_0x5625f2),_0x4b74dd=_0x72b626['getAttribute']('width'),_0x154519=_0x72b626['getAttribute']('height'),_0x2fef0e='image-processing';_0x1d9cb3['editing']['view']['change'](_0x49cc3f=>{_0x49cc3f['addClass'](_0x2fef0e,_0x549cab),_0x49cc3f['setStyle']('aspect-ratio',_0x4b74dd+'/'+_0x154519,_0x5625f2);}),_0x19e618['listenTo'](_0x1c9174,'load',()=>{_0x19e618['stopListening'](_0x1c9174,'load'),_0x1d9cb3['editing']['view']['change'](_0x412362=>{_0x412362['removeClass'](_0x2fef0e,_0x549cab),_0x412362['removeStyle']('aspect-ratio',_0x5625f2);});});}function G(_0xc01a62){if(Array['isArray'](_0xc01a62)){const _0xf819e5=_0xc01a62['map'](G);return _0xbcf4b9=>_0xf819e5['some'](_0x120af9=>_0x120af9(_0xbcf4b9));}if('origin'==_0xc01a62){const _0x2b1e6d=_0x44c20a['window']['location']['origin'];return _0x4a151f=>new URL(_0x4a151f,_0x44c20a['document']['baseURI'])['origin']==_0x2b1e6d;}return'function'==typeof _0xc01a62?_0xc01a62:_0xc01a62 instanceof RegExp?_0x49d490=>!(!_0x49d490['match'](_0xc01a62)&&!_0x49d490['replace'](/^https?:\/\//,'')['match'](_0xc01a62)):()=>!0x1;}function A(_0x25d43b,_0x3e07a5){return _0x2e2453(_0x25d43b['target'])['includes'](_0x3e07a5);}class n extends/* #__PURE__ -- @preserve */
24
+ _0x51bd87(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x5a783b,_0xb4bfb,_0x2a0e54){super(),this['_editor']=_0x5a783b,this['_editing']=_0xb4bfb,this['_dialog']=_0x5a783b['plugins']['get'](_0x305b47),this['_api']=_0xb4bfb['ctxElement']['getAPI'](),this['_type']=_0x2a0e54,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:_0x3feacb,model:_0x41850d}=this['_editor'],_0x56c145=_0x41850d['document']['selection']['getSelectedElement'](),_0x52740a=_0x56c145&&(_0x56c145['is']('element','imageBlock')||_0x56c145['is']('element','imageInline'));this['_formView']=new x(_0x3feacb,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':_0x1dc000,'title':_(_0x3feacb,this['_type'],_0x52740a?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x48b700['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x5706d4=>!A(_0x5706d4,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x59d62a}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x521d7d=>{const _0x55490f=_0x59d62a['length'];for(const _0x3823c7 of _0x59d62a){const _0x2090b8=_0x3823c7===_0x59d62a[_0x55490f-0x1],{cdnUrl:_0xfad2bf,fileInfo:_0x2e0c1f}=_0x3823c7;if(!_0xfad2bf||!_0x2e0c1f)continue;const {width:_0x52e278,height:_0x37e5f8}=_0x2e0c1f['imageInfo'],_0x19898a=S(_0xfad2bf,_0x52e278,_0x37e5f8),_0x3e2ce7=C(_0xfad2bf,_0x19898a['width']),_0x4ad8f9={'id':_0x2e0c1f['uuid'],'type':'image','attributes':{'imageDimension':_0x19898a,..._0x3e2ce7}};this['_insertAsset'](_0x4ad8f9,_0x2090b8,_0x521d7d);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0xcdf7e9=>{'idle'===_0xcdf7e9['detail']['status']&&!_0xcdf7e9['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===i['Local']?this['_api']['setCurrentActivity'](i['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x4c0bf7,_0x1d937b,_0x203fb0){const _0x4ced92=this['_editor']['model']['document']['selection'],_0x5b6bc8=_0x4ced92['getSelectedElement'](),_0x498596=!(!_0x5b6bc8||!_0x5b6bc8['is']('element','imageInline'));_0x203fb0['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x4c0bf7,_0x498596),_0x1d937b||_0x203fb0['setSelection'](_0x4ced92['getLastPosition']());}['_insertImage'](_0x47c69e,_0x5a8458){const _0xacaff9=this['_editor'],{imageDimension:_0x46ae61,imageFallbackUrl:_0x9d97cf,imageSources:_0x1d25df}=_0x47c69e['attributes'];_0xacaff9['execute']('insertImage',{'imageType':_0x5a8458?'imageInline':null,'source':{'uploadcareImageId':_0x47c69e['id'],'src':_0x9d97cf,'sources':_0x1d25df,..._0x46ae61}});}}class w extends _0x18500d{['_editing'];['_controller']=null;static get['requires'](){return[_0x305b47,o];}constructor(_0x45506b){super(_0x45506b),this['_editing']=_0x45506b['plugins']['get'](o);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x2d30ab){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new n(this['editor'],this['_editing'],_0x2d30ab);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class j{static['upload']({file:_0x3a52dd,..._0x4683e6}){return _0x1e8380(_0x3a52dd,_0x4683e6);}static['getInfo'](_0x37f613,_0x44bf6e){return _0x3cf899(_0x37f613,_0x44bf6e);}}class f extends _0x2a82e0{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x46e556,o];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x585716=this['editor'];if(!!!_0x585716['config']['get']('uploadcare'))return;_0x585716['plugins']['get'](_0x46e556)['createUploadAdapter']=_0x70c244=>new k(_0x70c244,_0x585716),_0x585716['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x303b15,{imageElement:_0x549a96,data:_0x56ccb7})=>{_0x585716['model']['change'](_0x37f000=>{_0x37f000['setAttribute']('uploadcareImageId',_0x56ccb7['uploadcareImageId'],_0x549a96);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x4e32dc,_0x17f6c1){this['loader']=_0x4e32dc,this['editor']=_0x17f6c1,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x47630b=await this['loader']['file'];return j['upload']({'file':_0x47630b,'publicKey':this['editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':this['controller']['signal'],'onProgress':_0x324b19=>{_0x324b19&&_0x324b19['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x324b19['value']);}})['then'](async _0x393d27=>{const {imageFallbackUrl:_0x5a458a,imageSources:_0xdcd8e}=C(_0x393d27['cdnUrl'],_0x393d27['imageInfo']['width']);return{'uploadcareImageId':_0x393d27['uuid'],'default':_0x5a458a,'sources':_0xdcd8e};})['catch'](()=>{const _0x3c7fdc=t('Cannot\x20upload\x20file:')+('\x20'+_0x47630b['name']+'.');return Promise['reject'](_0x3c7fdc);});}['abort'](){this['controller']['abort']();}}class o extends _0x2a82e0{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',f,_0x305b47];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['ucContextId'];get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}constructor(_0x22ad73){super(_0x22ad73),this['ucContextId']=_0x4ef61a();}['init'](){const _0x142869=this['editor'];_0x142869['commands']['add']('uploadcare',new w(_0x142869));}['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 _0x5d7e7b=_0x44c20a['document']['querySelector']('input[uploadcare-file-input]');_0x5d7e7b&&_0x5d7e7b['remove']();}),async function(_0x2ad37){const _0x323c8c=_0x2bd56a([0x68,0x67,0x50,0x36,0x38,0x70,0x71,0x63,0x37,0x4f,0x42,0x4a,0x78,0x39,0x75,0x33,0x7a,0x72,0x48,0x61,0x74,0x59,0x55,0x58,0x66,0x30,0x34,0x54,0x64,0x56,0x6b,0x4d,0x46,0x6d,0x77,0x43,0x73,0x35,0x53,0x44,0x41,0x76,0x6a,0x32,0x31,0x69,0x57,0x51,0x47,0x65,0x5a,0x4b,0x4c,0x79,0x52,0x6c,0x45,0x4e,0x6e,0x6f,0x49,0x62]),_0x23f068=0x535f8c3a,_0x16f8d0=0x53580d6a^_0x23f068,_0x315d74=window[_0x2bd56a([0x44,0x61,0x74,0x65])][_0x2bd56a([0x6e,0x6f,0x77])](),_0x51a676=_0x2ad37[_0x2bd56a([0x65,0x64,0x69,0x74,0x6f,0x72])],_0xb8c974=new window[(_0x2bd56a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3f7acf=>{_0x51a676[_0x2bd56a([0x6f,0x6e,0x63,0x65])](_0x2bd56a([0x72,0x65,0x61,0x64,0x79]),_0x3f7acf);}),_0x281aef={[_0x2bd56a([0x6b,0x74,0x79])]:_0x2bd56a([0x45,0x43]),[_0x2bd56a([0x75,0x73,0x65])]:_0x2bd56a([0x73,0x69,0x67]),[_0x2bd56a([0x63,0x72,0x76])]:_0x2bd56a([0x50,0x2d,0x32,0x35,0x36]),[_0x2bd56a([0x78])]:_0x2bd56a([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]),[_0x2bd56a([0x79])]:_0x2bd56a([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]),[_0x2bd56a([0x61,0x6c,0x67])]:_0x2bd56a([0x45,0x53,0x32,0x35,0x36])},_0x54bd94=_0x51a676[_0x2bd56a([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2bd56a([0x67,0x65,0x74])](_0x2bd56a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x378a71(){let _0x4da85e,_0x2fbfae=null,_0x8a90ca=null;try{if(_0x54bd94==_0x2bd56a([0x47,0x50,0x4c]))return _0x2bd56a([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x4da85e=_0x3a88ef(),!_0x4da85e)return _0x2bd56a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x4da85e[_0x2bd56a([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x8a90ca=_0x1349b2(_0x4da85e[_0x2bd56a([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x4da85e[_0x2bd56a([0x6a,0x74,0x69])])),await _0x1159b3()?_0x37b8cd()?_0x1abc86()?_0x2bd56a([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x7d2356()?(_0x4da85e[_0x2bd56a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2bd56a([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2fbfae=_0x27f26f(_0x2bd56a([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x49f9ef()):_0x2bd56a([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2bd56a([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2bd56a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x2bd56a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x1abc86(){const _0x34919a=[_0x2bd56a([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2bd56a([0x74,0x72,0x69,0x61,0x6c])][_0x2bd56a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4da85e[_0x2bd56a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x315d74/0x3e8:0xe10*_0x16f8d0;return _0x4da85e[_0x2bd56a([0x65,0x78,0x70])]<_0x34919a;}function _0x37b8cd(){const _0x3bf96f=_0x4da85e[_0x2bd56a([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x3bf96f&&(!!_0x3bf96f[_0x2bd56a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2bd56a([0x2a]))||!!_0x3bf96f[_0x2bd56a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2bd56a([0x55,0x50,0x4c,0x43])));}function _0x7d2356(){const _0x5bb2de=_0x4da85e[_0x2bd56a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5bb2de||0x0==_0x5bb2de[_0x2bd56a([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3cf8fb}=new URL(window[_0x2bd56a([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x5bb2de[_0x2bd56a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3cf8fb))return!0x0;const _0x408f91=_0x3cf8fb[_0x2bd56a([0x73,0x70,0x6c,0x69,0x74])](_0x2bd56a([0x2e]));return _0x5bb2de[_0x2bd56a([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3bbc1f=>_0x3bbc1f[_0x2bd56a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2bd56a([0x2a])))[_0x2bd56a([0x6d,0x61,0x70])](_0x301c68=>_0x301c68[_0x2bd56a([0x73,0x70,0x6c,0x69,0x74])](_0x2bd56a([0x2e])))[_0x2bd56a([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xfa7174=>_0xfa7174[_0x2bd56a([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x408f91[_0x2bd56a([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2bd56a([0x6d,0x61,0x70])](_0x13b153=>Array(_0x408f91[_0x2bd56a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x13b153[_0x2bd56a([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2bd56a([0x66,0x69,0x6c,0x6c])](_0x13b153[0x0]===_0x2bd56a([0x2a])?_0x2bd56a([0x2a]):'')[_0x2bd56a([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x13b153))[_0x2bd56a([0x73,0x6f,0x6d,0x65])](_0x453a82=>_0x408f91[_0x2bd56a([0x65,0x76,0x65,0x72,0x79])]((_0x5f2289,_0x46ff0a)=>_0x453a82[_0x46ff0a]===_0x5f2289||_0x453a82[_0x46ff0a]===_0x2bd56a([0x2a])));}function _0x49f9ef(){return _0x2fbfae&&_0x8a90ca?new window[(_0x2bd56a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5b1301,_0x584ff9)=>{_0x2fbfae[_0x2bd56a([0x74,0x68,0x65,0x6e])](_0x5b1301,_0x584ff9),_0x8a90ca[_0x2bd56a([0x74,0x68,0x65,0x6e])](_0x2e39a2=>{_0x2e39a2!=_0x2bd56a([0x56,0x61,0x6c,0x69,0x64])&&_0x5b1301(_0x2e39a2);},_0x584ff9);}):_0x2fbfae||_0x8a90ca||_0x2bd56a([0x56,0x61,0x6c,0x69,0x64]);}}function _0x1349b2(_0x5bd1e4,_0x223c1f){return new window[(_0x2bd56a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x423457=>{if(_0x4ddd95())return _0x423457(_0x2bd56a([0x56,0x61,0x6c,0x69,0x64]));_0x5cc786(),_0x51a676[_0x2bd56a([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2bd56a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x139820=!0x1;const _0x249e66=_0x4ef61a();function _0x1091f4(_0x49b581){return!!_0x49b581&&(typeof _0x49b581===_0x2bd56a([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x49b581===_0x2bd56a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x49b581[_0x2bd56a([0x74,0x68,0x65,0x6e])]===_0x2bd56a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x49b581[_0x2bd56a([0x63,0x61,0x74,0x63,0x68])]===_0x2bd56a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x43bc9f(_0x129bd4){_0x4e4f45(_0x129bd4)[_0x2bd56a([0x74,0x68,0x65,0x6e])](_0x3f59a6=>{if(!_0x3f59a6||_0x3f59a6[_0x2bd56a([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2bd56a([0x6f,0x6b]))return _0x2bd56a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x39cd64(_0x29ea4f(_0x249e66+_0x223c1f))!=_0x3f59a6[_0x2bd56a([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2bd56a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2bd56a([0x56,0x61,0x6c,0x69,0x64]);})[_0x2bd56a([0x74,0x68,0x65,0x6e])](_0x17f1b6=>(_0x4722b2(),_0x17f1b6),()=>{const _0xa5694d=_0x49ef02();return null==_0xa5694d?(_0x4722b2(),_0x2bd56a([0x56,0x61,0x6c,0x69,0x64])):_0x2bd56a(_0x315d74-_0xa5694d>(0x7753083a^_0x23f068)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2bd56a([0x74,0x68,0x65,0x6e])](_0x423457)[_0x2bd56a([0x63,0x61,0x74,0x63,0x68])](()=>{_0x423457(_0x2bd56a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x568ccb=0x536962ba^_0x23f068;function _0x4722b2(){const _0xeffff6=_0x2bd56a([0x6c,0x6c,0x63,0x74,0x2d])+_0x39cd64(_0x29ea4f(_0x5bd1e4)),_0x8f8724=_0x48b680(_0x39cd64(window[_0x2bd56a([0x4d,0x61,0x74,0x68])][_0x2bd56a([0x63,0x65,0x69,0x6c])](_0x315d74/_0x568ccb)));window[_0x2bd56a([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2bd56a([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xeffff6,_0x8f8724);}function _0x49ef02(){const _0x1696ae=_0x2bd56a([0x6c,0x6c,0x63,0x74,0x2d])+_0x39cd64(_0x29ea4f(_0x5bd1e4)),_0x5f0c95=window[_0x2bd56a([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2bd56a([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1696ae);return _0x5f0c95?window[_0x2bd56a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x48b680(_0x5f0c95),0x10)*_0x568ccb:null;}function _0x4e4f45(_0x12ba74){return new window[(_0x2bd56a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4ae03f,_0x4b745e)=>{_0x12ba74[_0x2bd56a([0x74,0x68,0x65,0x6e])](_0x4ae03f,_0x4b745e),window[_0x2bd56a([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x4b745e,0x535e58fa^_0x23f068);});}}_0x51a676[_0x2bd56a([0x6f,0x6e])](_0x2bd56a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x44d4eb,_0x3b92fc)=>{if(_0x3b92fc[0x0]!=_0x5bd1e4)return _0x423457(_0x2bd56a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3b92fc[0x1]={..._0x3b92fc[0x1],[_0x2bd56a([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x249e66};},{[_0x2bd56a([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2bd56a([0x68,0x69,0x67,0x68])}),_0x51a676[_0x2bd56a([0x6f,0x6e])](_0x2bd56a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x269776=>{_0x1091f4(_0x269776[_0x2bd56a([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x139820=!0x0,_0x43bc9f(_0x269776[_0x2bd56a([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2bd56a([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2bd56a([0x6c,0x6f,0x77])}),_0xb8c974[_0x2bd56a([0x74,0x68,0x65,0x6e])](()=>{_0x139820||_0x423457(_0x2bd56a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4ddd95(){return _0x51a676[_0x2bd56a([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2bd56a([0x76,0x69,0x65,0x77])][_0x2bd56a([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2bd56a([0x61,0x75,0x74,0x6f]);}function _0x5cc786(){_0x51a676[_0x2bd56a([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2bd56a([0x76,0x69,0x65,0x77])][_0x2bd56a([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2bd56a([0x61,0x75,0x74,0x6f]);}}function _0x27f26f(_0x5c1f61){const _0x54cced=[new window[(_0x2bd56a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3ca274=>setTimeout(_0x3ca274,0x5356b2f6^_0x23f068)),_0xb8c974[_0x2bd56a([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2bd56a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x403548=>{let _0x3cd3c3=0x0;_0x51a676[_0x2bd56a([0x6d,0x6f,0x64,0x65,0x6c])][_0x2bd56a([0x6f,0x6e])](_0x2bd56a([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4c3530,_0x579cc5)=>{_0x579cc5[0x0][_0x2bd56a([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3cd3c3++,_0x3cd3c3==(0x535f89d2^_0x23f068)&&(_0x403548(),_0x4c3530[_0x2bd56a([0x6f,0x66,0x66])]());});}))];return window[_0x2bd56a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2bd56a([0x72,0x61,0x63,0x65])](_0x54cced)[_0x2bd56a([0x74,0x68,0x65,0x6e])](()=>_0x5c1f61);}async function _0x38a94a(){await _0xb8c974,_0x51a676[_0x2bd56a([0x6d,0x6f,0x64,0x65,0x6c])][_0x2bd56a([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3dad64,_0x51a676[_0x2bd56a([0x6d,0x6f,0x64,0x65,0x6c])][_0x2bd56a([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3dad64,_0x51a676[_0x2bd56a([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2bd56a([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x4e4425(_0xb2b5bb){const _0x48e9ce=_0x1309cf();_0x51a676[_0x48e9ce]=_0x2bd56a([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0xb2b5bb,_0xb2b5bb!=_0x2bd56a([0x56,0x61,0x6c,0x69,0x64])&&_0x38a94a();}function _0x1309cf(){const _0xb218bc=window[_0x2bd56a([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2bd56a([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2bd56a([0x6e,0x6f,0x77])]())[_0x2bd56a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2bd56a([0x2e]),'');let _0x42ccf1=_0x2bd56a([0x68]);for(let _0x3f38a4=0x0;_0x3f38a4<_0xb218bc[_0x2bd56a([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3f38a4+=0x2){let _0x50b390=window[_0x2bd56a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xb218bc[_0x2bd56a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3f38a4,_0x3f38a4+0x2));_0x50b390>=_0x323c8c[_0x2bd56a([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x50b390-=_0x323c8c[_0x2bd56a([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x42ccf1+=_0x323c8c[_0x50b390];}return _0x42ccf1;}function _0x3a88ef(){const _0xa120b=_0x54bd94[_0x2bd56a([0x73,0x70,0x6c,0x69,0x74])](_0x2bd56a([0x2e]));if(0x3!=_0xa120b[_0x2bd56a([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x5cdd5b(_0xa120b[0x1]);function _0x5cdd5b(_0x26504a){const _0x42c75d=_0x156845(_0x26504a);return _0x42c75d&&_0x58af5a()?_0x42c75d:null;function _0x58af5a(){const _0xaf328b=_0x42c75d[_0x2bd56a([0x6a,0x74,0x69])],_0x58a4a9=window[_0x2bd56a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xaf328b[_0x2bd56a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xaf328b[_0x2bd56a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x253724={..._0x42c75d,[_0x2bd56a([0x6a,0x74,0x69])]:_0xaf328b[_0x2bd56a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0xaf328b[_0x2bd56a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x253724[_0x2bd56a([0x76,0x63])],_0x29ea4f(_0x253724)==_0x58a4a9;}}}async function _0x1159b3(){let _0x2cfb16=!0x0;try{const _0x5ce7f1=_0x54bd94[_0x2bd56a([0x73,0x70,0x6c,0x69,0x74])](_0x2bd56a([0x2e])),[_0x1a213c,_0x16eb08,_0x11caf7]=_0x5ce7f1;return _0x2a2520(_0x1a213c),await _0x4cc36e(_0x1a213c,_0x16eb08,_0x11caf7),_0x2cfb16;}catch{return!0x1;}function _0x2a2520(_0x3e6a67){const _0x367b8f=_0x156845(_0x3e6a67);_0x367b8f&&_0x367b8f[_0x2bd56a([0x61,0x6c,0x67])]==_0x2bd56a([0x45,0x53,0x32,0x35,0x36])||(_0x2cfb16=!0x1);}async function _0x4cc36e(_0x5e8d31,_0x39a6b0,_0x13583b){const _0x595462=window[_0x2bd56a([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2bd56a([0x66,0x72,0x6f,0x6d])](_0x12163d(_0x13583b),_0x32c431=>_0x32c431[_0x2bd56a([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0xbc95a7=new window[(_0x2bd56a([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2bd56a([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x5e8d31+_0x2bd56a([0x2e])+_0x39a6b0),_0xd84a62=window[_0x2bd56a([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2bd56a([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0xd84a62)return;const _0xfa7729=await _0xd84a62[_0x2bd56a([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2bd56a([0x6a,0x77,0x6b]),_0x281aef,{[_0x2bd56a([0x6e,0x61,0x6d,0x65])]:_0x2bd56a([0x45,0x43,0x44,0x53,0x41]),[_0x2bd56a([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2bd56a([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2bd56a([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0xd84a62[_0x2bd56a([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2bd56a([0x6e,0x61,0x6d,0x65])]:_0x2bd56a([0x45,0x43,0x44,0x53,0x41]),[_0x2bd56a([0x68,0x61,0x73,0x68])]:{[_0x2bd56a([0x6e,0x61,0x6d,0x65])]:_0x2bd56a([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0xfa7729,_0x595462,_0xbc95a7)||(_0x2cfb16=!0x1);}}function _0x156845(_0x1e74e5){return _0x1e74e5[_0x2bd56a([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2bd56a([0x65,0x79]))?JSON[_0x2bd56a([0x70,0x61,0x72,0x73,0x65])](_0x12163d(_0x1e74e5)):null;}function _0x12163d(_0x5546c7){return window[_0x2bd56a([0x61,0x74,0x6f,0x62])](_0x5546c7[_0x2bd56a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2bd56a([0x2b]))[_0x2bd56a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2bd56a([0x2f])));}function _0x29ea4f(_0x173919){let _0x1fa103=0x1505;function _0x7ec3a3(_0x4f7cec){for(let _0x239060=0x0;_0x239060<_0x4f7cec[_0x2bd56a([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x239060++){const _0x47b9a0=_0x4f7cec[_0x2bd56a([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x239060);_0x1fa103=(_0x1fa103<<0x5)+_0x1fa103+_0x47b9a0,_0x1fa103&=_0x1fa103;}}function _0x303ba6(_0x54e8a8){Array[_0x2bd56a([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x54e8a8)?_0x54e8a8[_0x2bd56a([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x303ba6):_0x54e8a8&&typeof _0x54e8a8==_0x2bd56a([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2bd56a([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x54e8a8)[_0x2bd56a([0x73,0x6f,0x72,0x74])]()[_0x2bd56a([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x35099f,_0x501d25])=>{_0x7ec3a3(_0x35099f),_0x303ba6(_0x501d25);}):_0x7ec3a3(window[_0x2bd56a([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x54e8a8));}return _0x303ba6(_0x173919),_0x1fa103>>>0x0;}function _0x39cd64(_0x4a30a9){return _0x4a30a9[_0x2bd56a([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2bd56a([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2bd56a([0x30]));}function _0x48b680(_0x16e53d){return _0x16e53d[_0x2bd56a([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2bd56a([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2bd56a([0x6a,0x6f,0x69,0x6e])]('');}function _0x3dad64(){}function _0x2bd56a(_0xe1f2c8){return _0xe1f2c8['map'](_0x43e0c8=>String['fromCharCode'](_0x43e0c8))['join']('');}_0x4e4425(await _0x378a71());}(this);}['_initSchema'](){const _0x5892ce=this['editor']['model']['schema'];_0x5892ce['isRegistered']('imageBlock')&&_0x5892ce['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x5892ce['isRegistered']('imageInline')&&_0x5892ce['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x2f3fe2=this['editor'];_0x2f3fe2['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x2f3fe2['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x2eb818=>_0x2eb818['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x129858=_0x2f3fe2['commands']['get']('replaceImageSource');_0x129858&&this['listenTo'](_0x129858,'cleanupImage',(_0x6f6265,[_0x541777,_0x265743])=>{_0x541777['removeAttribute']('uploadcareImageId',_0x265743);});}['_initConfig'](){const _0x1e0efa=this['editor']['config']['get']('uploadcare.uploader')||{},_0x326b79=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x1cc28e(_0x44c20a['document'],'uc-config',{..._0x1e0efa,'pubkey':_0x326b79,'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']=_0x280d06=>{if('closeMax'==_0x280d06)return'#uc-icon-arrow-down';},_0x44c20a['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x1cc28e(_0x44c20a['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),_0x44c20a['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0xd514d1=this['editor']['commands']['get']('insertImage');_0xd514d1&&this['listenTo'](_0xd514d1,'execute',()=>{const _0x417f38=this['editor']['model']['document']['selection']['getSelectedElement']();_0x417f38&&_0x417f38['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x417f38);});});const _0x492828=this['editor']['commands']['get']('uploadcareImageReplace');_0x492828&&this['listenTo'](_0x492828,'execute',()=>{const _0x5e5423=this['editor']['model']['document']['selection']['getSelectedElement']();_0x5e5423&&_0x5e5423['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x5e5423);});});}}class tt extends _0x2a82e0{static get['requires'](){return[o,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0xf33539){super(_0xf33539),_0xf33539['config']['define']('uploadcare.uploader.sourceList',[i['Local'],i['URL']]),_0x3c4042['defineComponents'](_0x3c4042),this['_defineLocale']();}['_defineLocale'](){const _0x24f73e=this['editor']['config']['get']('uploadcare.locale'),_0x1b994a=this['editor']['locale']['contentLanguage'];_0x24f73e&&_0x3c4042['defineLocale'](_0x1b994a,_0x24f73e);}}class ii extends _0x2f993d{constructor(_0x53c4c4){super(_0x53c4c4);const t=_0x53c4c4['t'],_0x39c63d=this['bindTemplate'],_0x36304a=new _0x55dbe6();_0x36304a['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':[_0x36304a,{'text':_0x39c63d['to']('imageUploadProgress',_0x1b17d2=>t('Loading\x20image...')+'\x20('+(_0x1b17d2||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 _0x2f993d{constructor(_0x57d250){super(_0x57d250);const t=_0x57d250['t'];this['set']('errorType',null);const _0x1c59d2=new _0x469c63(_0x57d250);_0x1c59d2['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x1c59d2['withText']=!0x0,_0x1c59d2['class']='ck-button-action',_0x1c59d2['on']('execute',()=>{this['fire']('retry');}),_0x1c59d2['bind']('isVisible')['to'](this,'errorType',_0x40508a=>'NotFound'!==_0x40508a);const _0x4d8eed=new _0x5e6efd();_0x4d8eed['content']=_0x264661,_0x4d8eed['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x2a8478=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':[_0x4d8eed,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x2a8478['to']('errorType',_0x506811=>t('NotFound'!==_0x506811?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x1c59d2]},{'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 _0x2f993d{constructor(_0x4e442b,_0xbb8a27){super(_0x4e442b);const _0x5ed233=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0xbb8a27,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x5ed233['to']('imageSrc')}});}}class X extends F{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x1c6875,_0x8ac0e4,_0x46f548){super(_0x1c6875),this['_items']=this['createCollection'](),this['_loadingView']=new ii(_0x1c6875),this['_errorView']=new ti(_0x1c6875),this['_editingView']=new ei(_0x1c6875,_0x46f548),this['_focusableView']=new _0x2f993d(_0x1c6875),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x8ac0e4),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'],_0x145f75=>{this['_addUploadcareImageEditorListeners'](_0x145f75);});}),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'](_0x2e3893,_0x37e4ea){const _0x48f6c4='uc-cloud-image-editor',_0xcde4c0=_0x2e3893['querySelector'](_0x48f6c4);if(_0xcde4c0)return _0x37e4ea(_0xcde4c0);const _0x823ce4=new MutationObserver(_0xd96aca=>{const _0x506718=_0xd96aca['filter'](_0x429ba0=>_0x429ba0['target']===_0x2e3893&&_0x429ba0['addedNodes']['length']>0x0&&_0x429ba0['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x48f6c4);_0x506718['length']&&(_0x823ce4['disconnect'](),_0x37e4ea(_0x506718[0x0]['addedNodes'][0x0]));});_0x823ce4['observe'](_0x2e3893,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x42a3ab){_0x42a3ab['addEventListener']('apply',_0x59705f=>{this['fire']('apply',{'imageSrc':_0x59705f['detail']['cdnUrl']});}),_0x42a3ab['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class E extends/* #__PURE__ -- @preserve */
25
+ _0x51bd87(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x337042,_0x45f5a6,_0x34925d){super(),this['_editor']=_0x337042,this['_dialog']=_0x45f5a6,this['_imageElement']=_0x34925d,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 _0x10eee1=this['_imageElement'],_0x343be5=_0x10eee1['getAttribute']('uploadcareImageId'),_0xe36147=_0x10eee1['getAttribute']('src');if(_0x343be5)await this['_loadImageInfo'](_0x343be5,_0xe36147);else{if(this['_imageCache']['has'](_0xe36147)){const _0x11ecaa=this['_imageCache']['get'](_0xe36147);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x11ecaa['url'],this['imageDimension']=_0x11ecaa['dimension'],this['imageId']=_0x11ecaa['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x49dbca}=this['_editor'],t=_0x49dbca['t'],_0x2a2ff3=new X(_0x49dbca,this['imageStatus'],this['_attributes']);_0x2a2ff3['bind']('status')['to'](this,'imageStatus'),_0x2a2ff3['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x2a2ff3['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x2a2ff3['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x2a2ff3,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x50046d,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x2a2ff3,'position':_0x48b700['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x2a2ff3['focus']();},'onHide':()=>{_0x2a2ff3['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x2fee66=>!A(_0x2fee66,_0x2a2ff3['element'])}});}['_loadImageInfo'](_0x2aae16,_0x57362f){return j['getInfo'](_0x2aae16,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x44bff6=>{const {width:_0x9deaa9,height:_0x5d2b58}=_0x44bff6['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x57362f,this['imageDimension']={'width':_0x9deaa9,'height':_0x5d2b58},this['imageId']=_0x2aae16;})['catch'](_0x54fb94=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x54fb94['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x42b510,_0x2a94b2){return this['_getImageAsFile'](_0x42b510)['then'](_0x2896ba=>j['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['_editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':_0x2a94b2['signal'],'file':_0x2896ba,'onProgress':_0x6ae211=>{_0x6ae211&&_0x6ae211['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x6ae211['value']));}}))['then'](_0x4be166=>{const {width:_0x48e560,height:_0x2f3b7c}=_0x4be166['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x4be166['cdnUrl'],this['imageDimension']={'width':_0x48e560,'height':_0x2f3b7c},this['imageId']=_0x4be166['uuid'],this['imageUploadProgress']=null;const _0x21ea0b=_0x42b510['getAttribute']('src');this['_imageCache']['set'](_0x21ea0b,{'id':_0x4be166['uuid'],'url':_0x4be166['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x434659=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x434659['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x1b1a77,_0x4e81e4){_0x1b1a77['on']('apply',(_0x312cf7,_0x163111)=>{this['_replaceImage'](_0x4e81e4,_0x163111['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x1b1a77['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x1b1a77['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x464f7e,_0x4f915e,_0x57e51b){const _0x3e96ce=this['_editor'],{width:_0x11d2ee,height:_0x8c4cf}=S(_0x4f915e,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x4866bc,imageSources:_0x26d5df}=C(_0x4f915e,_0x11d2ee);_0x3e96ce['model']['change'](_0x1f6a8c=>{if('$graveyard'===_0x464f7e['root']['rootName']){_0x3e96ce['execute']('insertImage',{'imageType':_0x464f7e['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x464f7e['getAttributes']()),'uploadcareImageId':_0x57e51b,'src':_0x4866bc,'sources':_0x26d5df,'width':_0x11d2ee,'height':_0x8c4cf}});const _0x5cfef9=_0x464f7e['getChildren']();_0x464f7e=_0x3e96ce['model']['document']['selection']['getSelectedElement']();for(const _0x16fdca of _0x5cfef9)_0x1f6a8c['append'](_0x1f6a8c['cloneElement'](_0x16fdca),_0x464f7e);}else _0x1f6a8c['setSelection'](_0x464f7e,'on'),_0x3e96ce['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x464f7e['getAttributes']()),'uploadcareImageId':_0x57e51b,'src':_0x4866bc,'sources':_0x26d5df,'width':_0x11d2ee,'height':_0x8c4cf},_0x464f7e);_0x1f6a8c['setSelection'](_0x464f7e,'on');});}async['_getImageAsFile'](_0x3fc52c){const _0x5b7aa2=_0x44c20a['window'],_0x17075d=_0x44c20a['document']['location']['href'],_0x362021=new _0x5b7aa2['URL'](_0x3fc52c['getAttribute']('src'),_0x17075d);if('data:'===_0x362021['protocol']){const _0x2d8ae3=_0x362021['href']['split'](','),_0x33495d=_0x2d8ae3[0x0]['match'](/:(.*?);/)[0x1],_0xa9a1da=_0x33495d['split']('/')[0x1],_0x58e30c=_0x5b7aa2['atob'](_0x2d8ae3[_0x2d8ae3['length']-0x1]);let _0x320764=_0x58e30c['length'];const _0x109577=new _0x5b7aa2['Uint8Array'](_0x320764);for(;_0x320764--;)_0x109577[_0x320764]=_0x58e30c['charCodeAt'](_0x320764);return new _0x5b7aa2['File']([_0x109577],'image.'+_0xa9a1da,{'type':_0x33495d});}const _0x218c25=_0x362021['href']['split']('/'),_0x1db749=_0x218c25[_0x218c25['length']-0x1],_0x4bd0c6=_0x1db749['split']('.')[0x1];return _0x5b7aa2['fetch'](_0x362021['href'])['then'](_0x412eb3=>_0x412eb3['clone']()['blob']())['then'](_0x2cc6ad=>new _0x5b7aa2['File']([_0x2cc6ad],_0x1db749,{'type':'image/'+_0x4bd0c6}));}}class O extends _0x18500d{['imageEditController'];static get['requires'](){return[_0x305b47];}['_isEditable'];constructor(_0x59528d){super(_0x59528d),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x356563){const _0x52a158=G(_0x356563);return _0x22a2b4=>!(!_0x22a2b4||!_0x22a2b4['is']('element','imageBlock')&&!_0x22a2b4['is']('element','imageInline'))&&(!!_0x22a2b4['hasAttribute']('uploadcareImageId')||!!_0x22a2b4['hasAttribute']('src')&&_0x52a158(_0x22a2b4['getAttribute']('src')));}(_0x59528d['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x30a9ad=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x30a9ad);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x5a1585=this['editor']['model']['document']['selection']['getSelectedElement']();_0x5a1585&&(_0x5a1585['is']('element','imageBlock')||_0x5a1585['is']('element','imageInline'))&&(this['imageEditController']=new E(this['editor'],this['editor']['plugins']['get'](_0x305b47),_0x5a1585),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class R extends _0x18500d{['refresh'](){const _0x3150da=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x3150da&&(_0x3150da['is']('element','imageBlock')||_0x3150da['is']('element','imageInline')));}['execute'](_0x4ae99d){const _0x549841=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x49fdb1=>{_0x49fdb1['setAttributes'](_0x4ae99d,_0x549841),_0x49fdb1['removeAttribute']('srcset',_0x549841),_0x49fdb1['removeAttribute']('sizes',_0x549841);});}}class m extends _0x2a82e0{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[o,_0x540fe3,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x42369b}=this;_0x42369b['commands']['add']('uploadcareImageEdit',new O(_0x42369b)),_0x42369b['commands']['add']('uploadcareImageReplace',new R(_0x42369b));}}class g extends _0x2a82e0{['_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 _0x430305=this['editor'];_0x430305['ui']['componentFactory']['add']('uploadcareImageEdit',_0x29251d=>{const _0x4f2c9e=_0x430305['commands']['get']('uploadcareImageEdit'),_0x7797d9=new _0x469c63(_0x29251d),t=_0x29251d['t'];return _0x7797d9['set']({'icon':_0x50046d,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x7797d9['bind']('isEnabled')['to'](_0x4f2c9e),_0x7797d9['bind']('isOn')['to'](_0x4f2c9e,'isActive'),this['listenTo'](_0x7797d9,'execute',()=>{_0x430305['execute']('uploadcareImageEdit'),_0x430305['editing']['view']['focus']();}),_0x7797d9;}),this['_initConfig']();}['_initConfig'](){const _0x2d6c1f=_0x1cc28e(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x2d6c1f),this['listenTo'](this['editor'],'destroy',()=>{_0x2d6c1f['remove']();});}}class et extends _0x2a82e0{static get['pluginName'](){return'UploadcareImageEdit';}static get['requires'](){return[m,g];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{tt as Uploadcare,w as UploadcareCommand,o as UploadcareEditing,et as UploadcareImageEdit,O as UploadcareImageEditCommand,m as UploadcareImageEditEditing,g as UploadcareImageEditUI,e as UploadcareUI,f as UploadcareUploadAdapter};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'af':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x1205e0=>0x1!=_0x1205e0}};
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':_0x1f191b=>0x1!=_0x1f191b}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x9e5bdc=>{const {af:{dictionary:_0x2612cc,getPluralForm:_0x5e632d}}={'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':_0x3361c8=>0x1!=_0x3361c8}};_0x9e5bdc['af']||={'dictionary':{},'getPluralForm':null},_0x9e5bdc['af']['dictionary']=Object['assign'](_0x9e5bdc['af']['dictionary'],_0x2612cc),_0x9e5bdc['af']['getPluralForm']=_0x5e632d;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x45c6bb=>{const {af:{dictionary:_0x35af0c,getPluralForm:_0x23b34e}}={'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':_0x4d7979=>0x1!=_0x4d7979}};_0x45c6bb['af']||={'dictionary':{},'getPluralForm':null},_0x45c6bb['af']['dictionary']=Object['assign'](_0x45c6bb['af']['dictionary'],_0x35af0c),_0x45c6bb['af']['getPluralForm']=_0x23b34e;})(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':_0x10868f=>0x0==_0x10868f?0x0:0x1==_0x10868f?0x1:0x2==_0x10868f?0x2:_0x10868f%0x64>=0x3&&_0x10868f%0x64<=0xa?0x3:_0x10868f%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':_0x242e1e=>0x0==_0x242e1e?0x0:0x1==_0x242e1e?0x1:0x2==_0x242e1e?0x2:_0x242e1e%0x64>=0x3&&_0x242e1e%0x64<=0xa?0x3:_0x242e1e%0x64>=0xb?0x4:0x5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x57381c=>{const {ar:{dictionary:_0x2d9548,getPluralForm:_0x5018e1}}={'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':_0xb802f=>0x0==_0xb802f?0x0:0x1==_0xb802f?0x1:0x2==_0xb802f?0x2:_0xb802f%0x64>=0x3&&_0xb802f%0x64<=0xa?0x3:_0xb802f%0x64>=0xb?0x4:0x5}};_0x57381c['ar']||={'dictionary':{},'getPluralForm':null},_0x57381c['ar']['dictionary']=Object['assign'](_0x57381c['ar']['dictionary'],_0x2d9548),_0x57381c['ar']['getPluralForm']=_0x5018e1;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x578806=>{const {ar:{dictionary:_0xd62fb0,getPluralForm:_0xe138ca}}={'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':_0x50ad6f=>0x0==_0x50ad6f?0x0:0x1==_0x50ad6f?0x1:0x2==_0x50ad6f?0x2:_0x50ad6f%0x64>=0x3&&_0x50ad6f%0x64<=0xa?0x3:_0x50ad6f%0x64>=0xb?0x4:0x5}};_0x578806['ar']||={'dictionary':{},'getPluralForm':null},_0x578806['ar']['dictionary']=Object['assign'](_0x578806['ar']['dictionary'],_0xd62fb0),_0x578806['ar']['getPluralForm']=_0xe138ca;})(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':_0x1488fb=>0x1!=_0x1488fb}};
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':_0x2c7f71=>0x1!=_0x2c7f71}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0xd44cc8=>{const {ast:{dictionary:_0x18a825,getPluralForm:_0x8e9976}}={'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':_0x5e92a8=>0x1!=_0x5e92a8}};_0xd44cc8['ast']||={'dictionary':{},'getPluralForm':null},_0xd44cc8['ast']['dictionary']=Object['assign'](_0xd44cc8['ast']['dictionary'],_0x18a825),_0xd44cc8['ast']['getPluralForm']=_0x8e9976;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x213915=>{const {ast:{dictionary:_0x3006cd,getPluralForm:_0xcbb461}}={'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':_0x3547bb=>0x1!=_0x3547bb}};_0x213915['ast']||={'dictionary':{},'getPluralForm':null},_0x213915['ast']['dictionary']=Object['assign'](_0x213915['ast']['dictionary'],_0x3006cd),_0x213915['ast']['getPluralForm']=_0xcbb461;})(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':_0x1a019=>0x1!=_0x1a019}};
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':_0x7aa566=>0x1!=_0x7aa566}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0xadb40a=>{const {az:{dictionary:_0x407855,getPluralForm:_0x56aa83}}={'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':_0x31abbf=>0x1!=_0x31abbf}};_0xadb40a['az']||={'dictionary':{},'getPluralForm':null},_0xadb40a['az']['dictionary']=Object['assign'](_0xadb40a['az']['dictionary'],_0x407855),_0xadb40a['az']['getPluralForm']=_0x56aa83;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x24d5ee=>{const {az:{dictionary:_0x32402c,getPluralForm:_0x30f829}}={'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':_0x5859b2=>0x1!=_0x5859b2}};_0x24d5ee['az']||={'dictionary':{},'getPluralForm':null},_0x24d5ee['az']['dictionary']=Object['assign'](_0x24d5ee['az']['dictionary'],_0x32402c),_0x24d5ee['az']['getPluralForm']=_0x30f829;})(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':_0x1fede5=>_0x1fede5%0xa==0x1&&_0x1fede5%0x64!=0xb?0x0:_0x1fede5%0xa>=0x2&&_0x1fede5%0xa<=0x4&&(_0x1fede5%0x64<0xa||_0x1fede5%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':_0x234cdf=>_0x234cdf%0xa==0x1&&_0x234cdf%0x64!=0xb?0x0:_0x234cdf%0xa>=0x2&&_0x234cdf%0xa<=0x4&&(_0x234cdf%0x64<0xa||_0x234cdf%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x162e85=>{const {be:{dictionary:_0x10cfdb,getPluralForm:_0x1e3448}}={'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':_0x515b89=>_0x515b89%0xa==0x1&&_0x515b89%0x64!=0xb?0x0:_0x515b89%0xa>=0x2&&_0x515b89%0xa<=0x4&&(_0x515b89%0x64<0xa||_0x515b89%0x64>=0x14)?0x1:0x2}};_0x162e85['be']||={'dictionary':{},'getPluralForm':null},_0x162e85['be']['dictionary']=Object['assign'](_0x162e85['be']['dictionary'],_0x10cfdb),_0x162e85['be']['getPluralForm']=_0x1e3448;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x27714e=>{const {be:{dictionary:_0xd8d37a,getPluralForm:_0xf2482}}={'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':_0x158ea4=>_0x158ea4%0xa==0x1&&_0x158ea4%0x64!=0xb?0x0:_0x158ea4%0xa>=0x2&&_0x158ea4%0xa<=0x4&&(_0x158ea4%0x64<0xa||_0x158ea4%0x64>=0x14)?0x1:0x2}};_0x27714e['be']||={'dictionary':{},'getPluralForm':null},_0x27714e['be']['dictionary']=Object['assign'](_0x27714e['be']['dictionary'],_0xd8d37a),_0x27714e['be']['getPluralForm']=_0xf2482;})(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':_0x65b40f=>0x1!=_0x65b40f}};
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':_0x3c8ff9=>0x1!=_0x3c8ff9}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x442331=>{const {bg:{dictionary:_0x233981,getPluralForm:_0x53f3ed}}={'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':_0x1de18b=>0x1!=_0x1de18b}};_0x442331['bg']||={'dictionary':{},'getPluralForm':null},_0x442331['bg']['dictionary']=Object['assign'](_0x442331['bg']['dictionary'],_0x233981),_0x442331['bg']['getPluralForm']=_0x53f3ed;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x43ee10=>{const {bg:{dictionary:_0x1bfbe7,getPluralForm:_0xdfb49}}={'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':_0x4895ae=>0x1!=_0x4895ae}};_0x43ee10['bg']||={'dictionary':{},'getPluralForm':null},_0x43ee10['bg']['dictionary']=Object['assign'](_0x43ee10['bg']['dictionary'],_0x1bfbe7),_0x43ee10['bg']['getPluralForm']=_0xdfb49;})(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':_0x4dcc6b=>0x1!=_0x4dcc6b}};
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':_0x645875=>0x1!=_0x645875}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x31b783=>{const {bn:{dictionary:_0x39f7a6,getPluralForm:_0x307dfd}}={'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':_0x189cf8=>0x1!=_0x189cf8}};_0x31b783['bn']||={'dictionary':{},'getPluralForm':null},_0x31b783['bn']['dictionary']=Object['assign'](_0x31b783['bn']['dictionary'],_0x39f7a6),_0x31b783['bn']['getPluralForm']=_0x307dfd;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0xbd97f1=>{const {bn:{dictionary:_0x41876e,getPluralForm:_0x1311d6}}={'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':_0x4331a5=>0x1!=_0x4331a5}};_0xbd97f1['bn']||={'dictionary':{},'getPluralForm':null},_0xbd97f1['bn']['dictionary']=Object['assign'](_0xbd97f1['bn']['dictionary'],_0x41876e),_0xbd97f1['bn']['getPluralForm']=_0x1311d6;})(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':_0x39e14e=>_0x39e14e%0xa==0x1&&_0x39e14e%0x64!=0xb?0x0:_0x39e14e%0xa>=0x2&&_0x39e14e%0xa<=0x4&&(_0x39e14e%0x64<0xa||_0x39e14e%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':_0x2fd9e1=>_0x2fd9e1%0xa==0x1&&_0x2fd9e1%0x64!=0xb?0x0:_0x2fd9e1%0xa>=0x2&&_0x2fd9e1%0xa<=0x4&&(_0x2fd9e1%0x64<0xa||_0x2fd9e1%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x18bef4=>{const {bs:{dictionary:_0xbd9964,getPluralForm:_0x2a3c3b}}={'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':_0x342e08=>_0x342e08%0xa==0x1&&_0x342e08%0x64!=0xb?0x0:_0x342e08%0xa>=0x2&&_0x342e08%0xa<=0x4&&(_0x342e08%0x64<0xa||_0x342e08%0x64>=0x14)?0x1:0x2}};_0x18bef4['bs']||={'dictionary':{},'getPluralForm':null},_0x18bef4['bs']['dictionary']=Object['assign'](_0x18bef4['bs']['dictionary'],_0xbd9964),_0x18bef4['bs']['getPluralForm']=_0x2a3c3b;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x121019=>{const {bs:{dictionary:_0x2af1f7,getPluralForm:_0x216b5d}}={'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':_0x2e9c47=>_0x2e9c47%0xa==0x1&&_0x2e9c47%0x64!=0xb?0x0:_0x2e9c47%0xa>=0x2&&_0x2e9c47%0xa<=0x4&&(_0x2e9c47%0x64<0xa||_0x2e9c47%0x64>=0x14)?0x1:0x2}};_0x121019['bs']||={'dictionary':{},'getPluralForm':null},_0x121019['bs']['dictionary']=Object['assign'](_0x121019['bs']['dictionary'],_0x2af1f7),_0x121019['bs']['getPluralForm']=_0x216b5d;})(window['CKEDITOR_TRANSLATIONS']||={});