@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-20260115.0 → 0.0.0-nightly-20260116.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (173) hide show
  1. package/build/uploadcare.js +1 -1
  2. package/dist/index.js +3 -3
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +9 -9
  150. package/src/index.js +1 -1
  151. package/src/ui/uploadcarecontroller.js +2 -2
  152. package/src/ui/uploadcareformview.js +1 -1
  153. package/src/uploadcare.js +1 -1
  154. package/src/uploadcarecommand.js +1 -1
  155. package/src/uploadcareconfig.js +1 -1
  156. package/src/uploadcareediting.js +1 -1
  157. package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.js +2 -2
  158. package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.js +1 -1
  159. package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.js +1 -1
  160. package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.js +1 -1
  161. package/src/uploadcareimageedit/ui/uploadcareimageeditformview.js +1 -1
  162. package/src/uploadcareimageedit/uploadcareimageeditcommand.js +1 -1
  163. package/src/uploadcareimageedit/uploadcareimageeditediting.js +1 -1
  164. package/src/uploadcareimageedit/uploadcareimageeditui.js +1 -1
  165. package/src/uploadcareimageedit/uploadcareimagereplacecommand.js +1 -1
  166. package/src/uploadcareimageedit.js +1 -1
  167. package/src/uploadcareui.js +1 -1
  168. package/src/uploadcareuploadadapter.js +1 -1
  169. package/src/utils/common-translations.js +1 -1
  170. package/src/utils/dialogfocusmanagerview.js +1 -1
  171. package/src/utils/editingutils.js +1 -1
  172. package/src/utils/isancestor.js +1 -1
  173. package/src/utils/uploadutils.js +1 -1
package/dist/index.js CHANGED
@@ -20,6 +20,6 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x49d415,Command as _0x59f619}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x21c039,IconGooglePhotos as _0x17801f,IconGoogleDrive as _0xb632cb,IconFacebook as _0x3bdc2c,IconDropbox as _0x1db93c,IconUploadcareLink as _0x2a5c24,IconUploadcareImageUpload as _0x109118,IconError as _0x55ef73,IconUploadcareImageEdit as _0x126525}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x4892d1,MenuBarMenuListItemButtonView as _0x2617db,View as _0x5dd9c0,FocusCycler as _0x49a3d9,Dialog as _0x15ac46,DialogViewPosition as _0x173b2c,SpinnerView as _0x3bce24,IconView as _0x4c51e9,Notification as _0x2fe517}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x2bde37,DomEmitterMixin as _0x427d4f,global as _0x575fdb,getAncestors as _0x266275,ObservableMixin as _0x3af4de,uid as _0x464ed2,createElement as _0x23741f}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x114c24}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x4f62d7,info as _0x1ac862}from'@uploadcare/upload-client';import*as _0x3ef50d from'@uploadcare/file-uploader';var i=function(_0x4f40d7){return _0x4f40d7['Local']='local',_0x4f40d7['URL']='url',_0x4f40d7['Dropbox']='dropbox',_0x4f40d7['GDrive']='gdrive',_0x4f40d7['Facebook']='facebook',_0x4f40d7['GPhotos']='gphotos',_0x4f40d7['OneDrive']='onedrive',_0x4f40d7;}({});function _(_0x2ee742,_0x14c554,_0x40fe87){const t=_0x2ee742['t'],_0x3936ad=_0x2ee742['t'];switch(_0x14c554){case i['Local']:return{'text':_0x3936ad('Insert'===_0x40fe87?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x3936ad('From\x20computer')};case i['URL']:return{'text':'Insert'===_0x40fe87?_0x3936ad('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x3936ad('Via\x20URL')};case i['Dropbox']:return{'text':t('Insert'===_0x40fe87?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case i['Facebook']:return{'text':t('Insert'===_0x40fe87?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case i['GDrive']:return{'text':t('Insert'===_0x40fe87?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case i['GPhotos']:return{'text':t('Insert'===_0x40fe87?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case i['OneDrive']:return{'text':t('Insert'===_0x40fe87?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x14c554;}}class e extends _0x49d415{['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 _0x3fda92=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x2805c2;for(const _0x3a5017 in _0x3fda92){const _0x466b82=_0x3a5017,_0x6f50ed=_0x3fda92[_0x466b82];if('uploadcareLicenseKeyValid'==_0x6f50ed||'uploadcareLicenseKeyInvalid'==_0x6f50ed||'uploadcareLicenseKeyExpired'==_0x6f50ed||'uploadcareLicenseKeyDomainLimit'==_0x6f50ed||'uploadcareLicenseKeyNotAllowed'==_0x6f50ed||'uploadcareLicenseKeyEvaluationLimit'==_0x6f50ed||'uploadcareLicenseKeyUsageLimit'==_0x6f50ed){delete _0x3fda92[_0x466b82],_0x2805c2=_0x6f50ed,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x2805c2&&_0x3fda92['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x2805c2&&_0x3fda92['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x2805c2&&_0x3fda92['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x2805c2&&_0x3fda92['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x2805c2&&_0x3fda92['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyUsageLimit'==_0x2805c2&&_0x3fda92['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x3a7d92}=this,_0x332661=_0x3a7d92['commands']['get']('uploadcare');if(!_0x332661)return;const _0x26d8db=this['_normalizeConfigSourceList'](_0x3a7d92['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x2e0d00,_0x3a474c)=>{const _0x43f081=this['_getIntegrationKey'](_0x3a474c['type']);return _0x2e0d00[_0x43f081]||(_0x2e0d00[_0x43f081]=[]),_0x2e0d00[_0x43f081]['push'](_0x3a474c),_0x2e0d00;},{});_0x3a7d92['plugins']['has']('ImageInsertUI')&&_0x3a7d92['commands']['get']('uploadcare')&&Object['entries'](_0x26d8db)['forEach'](([_0x35882b,_0xec2a40])=>{_0x3a7d92['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x35882b,'observable':()=>_0x332661,'buttonViewCreator':()=>this['_createToolbarButton'](_0xec2a40),'formViewCreator':()=>this['_createDropdownButtons'](_0xec2a40),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0xec2a40),'override':'assetManager'!==_0x35882b});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x1f7d82){const {locale:_0x130da6}=this['editor'];return _0x1f7d82['map'](_0x1a9a81=>{const _0x6c0dd7=_(_0x130da6,_0x1a9a81,'Insert');switch(_0x1a9a81){case i['Local']:return{'icon':_0x109118,'type':i['Local'],..._0x6c0dd7};case i['URL']:return{'icon':_0x2a5c24,'type':i['URL'],..._0x6c0dd7};case i['Dropbox']:return{'icon':_0x1db93c,'type':i['Dropbox'],..._0x6c0dd7};case i['Facebook']:return{'icon':_0x3bdc2c,'type':i['Facebook'],..._0x6c0dd7};case i['GDrive']:return{'icon':_0xb632cb,'type':i['GDrive'],..._0x6c0dd7};case i['GPhotos']:return{'icon':_0x17801f,'type':i['GPhotos'],..._0x6c0dd7};case i['OneDrive']:return{'icon':_0x21c039,'type':i['OneDrive'],..._0x6c0dd7};}});}['_getIntegrationKey'](_0x262aaa){switch(_0x262aaa){case i['Local']:return'upload';case i['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x5becab,_0x292d33){const _0x5be939=this['editor'],_0x32bf4a=new _0x5becab(_0x5be939['locale']),_0x3a66d7=_0x5be939['commands']['get']('uploadcare');return _0x32bf4a['bind']('isEnabled')['to'](_0x3a66d7),_0x32bf4a['on']('execute',()=>{_0x3a66d7['execute'](_0x292d33);}),_0x32bf4a;}['_createToolbarButton'](_0x3b8712){const {locale:_0x5c8d16}=this['editor'],_0xa11da2=this['editor']['plugins']['get']('ImageInsertUI'),_0x159817=_0x3b8712[0x0],_0xf931a=this['_createButton'](_0x4892d1,_0x159817['type']);return _0xf931a['icon']=_0x159817['icon'],_0xf931a['bind']('label')['to'](_0xa11da2,'isImageSelected',_0x1317ab=>_(_0x5c8d16,_0x159817['type'],_0x1317ab?'Replace':'Insert')['text']),_0xf931a['tooltip']=!0x0,_0xf931a;}['_createDropdownButtons'](_0x1fcf17){const {locale:_0x491542}=this['editor'],_0x41d58b=this['editor']['plugins']['get']('ImageInsertUI');return _0x1fcf17['map'](_0x5ea1a3=>{const _0x6d1e77=this['_createButton'](_0x4892d1,_0x5ea1a3['type']);return _0x6d1e77['withText']=!0x0,_0x6d1e77['icon']=_0x5ea1a3['icon'],_0x6d1e77['bind']('label')['to'](_0x41d58b,'isImageSelected',_0x253fcf=>_(_0x491542,_0x5ea1a3['type'],_0x253fcf?'Replace':'Insert')['text']),_0x6d1e77;});}['_createMenuBarButtons'](_0xdaaf17){return _0xdaaf17['map'](_0x33b9db=>{const _0x316d23=this['_createButton'](_0x2617db,_0x33b9db['type']);return _0x316d23['icon']=_0x33b9db['icon'],_0x316d23['label']=_0x33b9db['shortText'],_0x316d23;});}}class F extends _0x5dd9c0{['focusTracker'];['focusCycler'];constructor(_0x381ebd){super(_0x381ebd),this['focusTracker']=new _0x2bde37(),this['focusCycler']=new _0x49a3d9({'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(_0x24eb95,_0x1c3e52){super(_0x24eb95),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-'+_0x1c3e52}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function C(_0x32721d,_0x463aab){const _0x268482=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x269455=>_0x269455<=_0x463aab)['map'](_0x415ac7=>_0x32721d['replace'](/\/$/,'')+'/-/resize/'+_0x415ac7+'x/\x20'+_0x415ac7+'w');return{'imageFallbackUrl':_0x32721d,'imageSources':[{'srcset':_0x268482['join'](',\x20'),'sizes':'(max-width:\x20'+_0x463aab+'px)\x20100vw,\x20'+_0x463aab+'px','type':'image/webp'}]};}function S(_0x12376b,_0x5a1a37,_0x26013d){const _0x52c28a=_0x12376b['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x52c28a?parseInt(_0x52c28a[0x1],0xa):_0x5a1a37,'height':_0x52c28a?parseInt(_0x52c28a[0x2],0xa):_0x26013d};}function p(_0x3f8daf,_0x191148){const _0x376055=new(_0x427d4f())(),_0x53d9f9=_0x3f8daf['plugins']['get']('ImageUtils'),_0x465abc=_0x3f8daf['editing']['mapper']['toViewElement'](_0x191148),_0x290120=_0x53d9f9['findViewImgElement'](_0x465abc),_0x23e30f=_0x3f8daf['editing']['view']['domConverter']['viewToDom'](_0x290120),_0x29be2c=_0x191148['getAttribute']('width'),_0x2584e2=_0x191148['getAttribute']('height'),_0x420400='image-processing';_0x3f8daf['editing']['view']['change'](_0x147300=>{_0x147300['addClass'](_0x420400,_0x465abc),_0x147300['setStyle']('aspect-ratio',_0x29be2c+'/'+_0x2584e2,_0x290120);}),_0x376055['listenTo'](_0x23e30f,'load',()=>{_0x376055['stopListening'](_0x23e30f,'load'),_0x3f8daf['editing']['view']['change'](_0x422f5e=>{_0x422f5e['removeClass'](_0x420400,_0x465abc),_0x422f5e['removeStyle']('aspect-ratio',_0x290120);});});}function G(_0xb49333){if(Array['isArray'](_0xb49333)){const _0x5c0b32=_0xb49333['map'](G);return _0x48559c=>_0x5c0b32['some'](_0x1f7d3a=>_0x1f7d3a(_0x48559c));}if('origin'==_0xb49333){const _0x4b5c8b=_0x575fdb['window']['location']['origin'];return _0x211015=>new URL(_0x211015,_0x575fdb['document']['baseURI'])['origin']==_0x4b5c8b;}return'function'==typeof _0xb49333?_0xb49333:_0xb49333 instanceof RegExp?_0x56366a=>!(!_0x56366a['match'](_0xb49333)&&!_0x56366a['replace'](/^https?:\/\//,'')['match'](_0xb49333)):()=>!0x1;}function A(_0x419002,_0x3a2f7b){return _0x266275(_0x419002['target'])['includes'](_0x3a2f7b);}class n extends/* #__PURE__ -- @preserve */
24
- _0x3af4de(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x3302ad,_0x2f114c,_0xc68ccd){super(),this['_editor']=_0x3302ad,this['_editing']=_0x2f114c,this['_dialog']=_0x3302ad['plugins']['get'](_0x15ac46),this['_api']=_0x2f114c['ctxElement']['getAPI'](),this['_type']=_0xc68ccd,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:_0x1628a1,model:_0x2557e3}=this['_editor'],_0x557ada=_0x2557e3['document']['selection']['getSelectedElement'](),_0x594638=_0x557ada&&(_0x557ada['is']('element','imageBlock')||_0x557ada['is']('element','imageInline'));this['_formView']=new x(_0x1628a1,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':_0x109118,'title':_(_0x1628a1,this['_type'],_0x594638?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x173b2c['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x4ef4c0=>!A(_0x4ef4c0,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x21b2da}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x81100a=>{const _0x623f11=_0x21b2da['length'];for(const _0x376649 of _0x21b2da){const _0x3ace86=_0x376649===_0x21b2da[_0x623f11-0x1],{cdnUrl:_0x4743bb,fileInfo:_0xe4b69b}=_0x376649;if(!_0x4743bb||!_0xe4b69b)continue;const {width:_0x4fcaa9,height:_0x522df3}=_0xe4b69b['imageInfo'],_0x114a10=S(_0x4743bb,_0x4fcaa9,_0x522df3),_0x33c626=C(_0x4743bb,_0x114a10['width']),_0x2ba41e={'id':_0xe4b69b['uuid'],'type':'image','attributes':{'imageDimension':_0x114a10,..._0x33c626}};this['_insertAsset'](_0x2ba41e,_0x3ace86,_0x81100a);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x1d418d=>{'idle'===_0x1d418d['detail']['status']&&!_0x1d418d['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===i['Local']?this['_api']['setCurrentActivity'](i['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x2a2d85,_0x276967,_0x45efc6){const _0x1c820c=this['_editor']['model']['document']['selection'],_0xd2942c=_0x1c820c['getSelectedElement'](),_0x194d02=!(!_0xd2942c||!_0xd2942c['is']('element','imageInline'));_0x45efc6['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x2a2d85,_0x194d02),_0x276967||_0x45efc6['setSelection'](_0x1c820c['getLastPosition']());}['_insertImage'](_0x2db86b,_0x4c67c4){const _0x181b2b=this['_editor'],{imageDimension:_0x5eb96a,imageFallbackUrl:_0x52bd7b,imageSources:_0x3da12c}=_0x2db86b['attributes'];_0x181b2b['execute']('insertImage',{'imageType':_0x4c67c4?'imageInline':null,'source':{'uploadcareImageId':_0x2db86b['id'],'src':_0x52bd7b,'sources':_0x3da12c,..._0x5eb96a}});}}class w extends _0x59f619{['_editing'];['_controller']=null;static get['requires'](){return[_0x15ac46,o];}constructor(_0xe93da9){super(_0xe93da9),this['_editing']=_0xe93da9['plugins']['get'](o);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x277fe2){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new n(this['editor'],this['_editing'],_0x277fe2);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class j{static['upload']({file:_0x389bae,..._0x4462a8}){return _0x4f62d7(_0x389bae,_0x4462a8);}static['getInfo'](_0x5b28d6,_0x420038){return _0x1ac862(_0x5b28d6,_0x420038);}}class f extends _0x49d415{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x114c24,o];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x3b5311=this['editor'];if(!!!_0x3b5311['config']['get']('uploadcare'))return;_0x3b5311['plugins']['get'](_0x114c24)['createUploadAdapter']=_0x263dd5=>new k(_0x263dd5,_0x3b5311),_0x3b5311['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x5ac03c,{imageElement:_0x8c915f,data:_0x43a699})=>{_0x3b5311['model']['change'](_0x1021ab=>{_0x1021ab['setAttribute']('uploadcareImageId',_0x43a699['uploadcareImageId'],_0x8c915f);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x40f427,_0x4d578d){this['loader']=_0x40f427,this['editor']=_0x4d578d,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x2ca985=await this['loader']['file'];return j['upload']({'file':_0x2ca985,'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':_0x4c01e1=>{_0x4c01e1&&_0x4c01e1['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x4c01e1['value']);}})['then'](async _0x319520=>{const {imageFallbackUrl:_0x44c58f,imageSources:_0x174c9b}=C(_0x319520['cdnUrl'],_0x319520['imageInfo']['width']);return{'uploadcareImageId':_0x319520['uuid'],'default':_0x44c58f,'sources':_0x174c9b};})['catch'](()=>{const _0x59a5d3=t('Cannot\x20upload\x20file:')+('\x20'+_0x2ca985['name']+'.');return Promise['reject'](_0x59a5d3);});}['abort'](){this['controller']['abort']();}}class o extends _0x49d415{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',f,_0x15ac46];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['ucContextId'];get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}constructor(_0x2e78cb){super(_0x2e78cb),this['ucContextId']=_0x464ed2();}['init'](){const _0xf233f2=this['editor'];_0xf233f2['commands']['add']('uploadcare',new w(_0xf233f2));}['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 _0x283504=_0x575fdb['document']['querySelector']('input[uploadcare-file-input]');_0x283504&&_0x283504['remove']();}),async function(_0x26fe42){const _0x3a0066=_0x331548([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]),_0x28e17a=0x535f8c3a,_0x2aa331=0x5358f2da^_0x28e17a,_0x1144fa=window[_0x331548([0x44,0x61,0x74,0x65])][_0x331548([0x6e,0x6f,0x77])](),_0x530763=_0x26fe42[_0x331548([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x5e812c=new window[(_0x331548([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3ca330=>{_0x530763[_0x331548([0x6f,0x6e,0x63,0x65])](_0x331548([0x72,0x65,0x61,0x64,0x79]),_0x3ca330);}),_0x42f844={[_0x331548([0x6b,0x74,0x79])]:_0x331548([0x45,0x43]),[_0x331548([0x75,0x73,0x65])]:_0x331548([0x73,0x69,0x67]),[_0x331548([0x63,0x72,0x76])]:_0x331548([0x50,0x2d,0x32,0x35,0x36]),[_0x331548([0x78])]:_0x331548([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]),[_0x331548([0x79])]:_0x331548([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]),[_0x331548([0x61,0x6c,0x67])]:_0x331548([0x45,0x53,0x32,0x35,0x36])},_0x4b5993=_0x530763[_0x331548([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x331548([0x67,0x65,0x74])](_0x331548([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x403593(){let _0x158744,_0x10e4c1=null,_0x1e5bdf=null;try{if(_0x4b5993==_0x331548([0x47,0x50,0x4c]))return _0x331548([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x158744=_0x944122(),!_0x158744)return _0x331548([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x158744[_0x331548([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1e5bdf=_0x532de0(_0x158744[_0x331548([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x158744[_0x331548([0x6a,0x74,0x69])])),await _0x116d8f()?_0x5b74d5()?_0x18d91e()?_0x331548([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x20e274()?(_0x158744[_0x331548([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x331548([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x10e4c1=_0x82d770(_0x331548([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x3380b3()):_0x331548([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x331548([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x331548([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x331548([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x18d91e(){const _0x34a00f=[_0x331548([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x331548([0x74,0x72,0x69,0x61,0x6c])][_0x331548([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x158744[_0x331548([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1144fa/0x3e8:0xe10*_0x2aa331;return _0x158744[_0x331548([0x65,0x78,0x70])]<_0x34a00f;}function _0x5b74d5(){const _0x384b12=_0x158744[_0x331548([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x384b12&&(!!_0x384b12[_0x331548([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x331548([0x2a]))||!!_0x384b12[_0x331548([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x331548([0x55,0x50,0x4c,0x43])));}function _0x20e274(){const _0x519b5c=_0x158744[_0x331548([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x519b5c||0x0==_0x519b5c[_0x331548([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3d615b}=new URL(window[_0x331548([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x519b5c[_0x331548([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3d615b))return!0x0;const _0x21cf08=_0x3d615b[_0x331548([0x73,0x70,0x6c,0x69,0x74])](_0x331548([0x2e]));return _0x519b5c[_0x331548([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1565f4=>_0x1565f4[_0x331548([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x331548([0x2a])))[_0x331548([0x6d,0x61,0x70])](_0x364587=>_0x364587[_0x331548([0x73,0x70,0x6c,0x69,0x74])](_0x331548([0x2e])))[_0x331548([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x29152e=>_0x29152e[_0x331548([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x21cf08[_0x331548([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x331548([0x6d,0x61,0x70])](_0x2f0061=>Array(_0x21cf08[_0x331548([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x2f0061[_0x331548([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x331548([0x66,0x69,0x6c,0x6c])](_0x2f0061[0x0]===_0x331548([0x2a])?_0x331548([0x2a]):'')[_0x331548([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x2f0061))[_0x331548([0x73,0x6f,0x6d,0x65])](_0x3541b1=>_0x21cf08[_0x331548([0x65,0x76,0x65,0x72,0x79])]((_0x35da0f,_0x16abb8)=>_0x3541b1[_0x16abb8]===_0x35da0f||_0x3541b1[_0x16abb8]===_0x331548([0x2a])));}function _0x3380b3(){return _0x10e4c1&&_0x1e5bdf?new window[(_0x331548([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3e46d1,_0x37a7c3)=>{_0x10e4c1[_0x331548([0x74,0x68,0x65,0x6e])](_0x3e46d1,_0x37a7c3),_0x1e5bdf[_0x331548([0x74,0x68,0x65,0x6e])](_0x36267a=>{_0x36267a!=_0x331548([0x56,0x61,0x6c,0x69,0x64])&&_0x3e46d1(_0x36267a);},_0x37a7c3);}):_0x10e4c1||_0x1e5bdf||_0x331548([0x56,0x61,0x6c,0x69,0x64]);}}function _0x532de0(_0x2e2de4,_0x3f13e1){return new window[(_0x331548([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5b5a65=>{if(_0x463a42())return _0x5b5a65(_0x331548([0x56,0x61,0x6c,0x69,0x64]));_0x4777d5(),_0x530763[_0x331548([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x331548([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x7cb4ca=!0x1;const _0x11dda5=_0x464ed2();function _0x47f3be(_0x3081bf){return!!_0x3081bf&&(typeof _0x3081bf===_0x331548([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3081bf===_0x331548([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3081bf[_0x331548([0x74,0x68,0x65,0x6e])]===_0x331548([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3081bf[_0x331548([0x63,0x61,0x74,0x63,0x68])]===_0x331548([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4f7498(_0xb02592){_0x4c5a4d(_0xb02592)[_0x331548([0x74,0x68,0x65,0x6e])](_0x347a47=>{if(!_0x347a47||_0x347a47[_0x331548([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x331548([0x6f,0x6b]))return _0x331548([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x5e757f(_0xfdb6db(_0x11dda5+_0x3f13e1))!=_0x347a47[_0x331548([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x331548([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x331548([0x56,0x61,0x6c,0x69,0x64]);})[_0x331548([0x74,0x68,0x65,0x6e])](_0x5edc40=>(_0x551468(),_0x5edc40),()=>{const _0x9b4869=_0x295b68();return null==_0x9b4869?(_0x551468(),_0x331548([0x56,0x61,0x6c,0x69,0x64])):_0x331548(_0x1144fa-_0x9b4869>(0x7753083a^_0x28e17a)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x331548([0x74,0x68,0x65,0x6e])](_0x5b5a65)[_0x331548([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5b5a65(_0x331548([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2acdef=0x536962ba^_0x28e17a;function _0x551468(){const _0x4f418e=_0x331548([0x6c,0x6c,0x63,0x74,0x2d])+_0x5e757f(_0xfdb6db(_0x2e2de4)),_0x241211=_0x325127(_0x5e757f(window[_0x331548([0x4d,0x61,0x74,0x68])][_0x331548([0x63,0x65,0x69,0x6c])](_0x1144fa/_0x2acdef)));window[_0x331548([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x331548([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4f418e,_0x241211);}function _0x295b68(){const _0x14c5a1=_0x331548([0x6c,0x6c,0x63,0x74,0x2d])+_0x5e757f(_0xfdb6db(_0x2e2de4)),_0x5c3b6e=window[_0x331548([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x331548([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x14c5a1);return _0x5c3b6e?window[_0x331548([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x325127(_0x5c3b6e),0x10)*_0x2acdef:null;}function _0x4c5a4d(_0x38d205){return new window[(_0x331548([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x498df8,_0x5b3d02)=>{_0x38d205[_0x331548([0x74,0x68,0x65,0x6e])](_0x498df8,_0x5b3d02),window[_0x331548([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5b3d02,0x535e58fa^_0x28e17a);});}}_0x530763[_0x331548([0x6f,0x6e])](_0x331548([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x240812,_0x15cd23)=>{if(_0x15cd23[0x0]!=_0x2e2de4)return _0x5b5a65(_0x331548([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x15cd23[0x1]={..._0x15cd23[0x1],[_0x331548([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x11dda5};},{[_0x331548([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x331548([0x68,0x69,0x67,0x68])}),_0x530763[_0x331548([0x6f,0x6e])](_0x331548([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3696da=>{_0x47f3be(_0x3696da[_0x331548([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x7cb4ca=!0x0,_0x4f7498(_0x3696da[_0x331548([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x331548([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x331548([0x6c,0x6f,0x77])}),_0x5e812c[_0x331548([0x74,0x68,0x65,0x6e])](()=>{_0x7cb4ca||_0x5b5a65(_0x331548([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x463a42(){return _0x530763[_0x331548([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x331548([0x76,0x69,0x65,0x77])][_0x331548([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x331548([0x61,0x75,0x74,0x6f]);}function _0x4777d5(){_0x530763[_0x331548([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x331548([0x76,0x69,0x65,0x77])][_0x331548([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x331548([0x61,0x75,0x74,0x6f]);}}function _0x82d770(_0x530d25){const _0x392aa8=[new window[(_0x331548([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2a5874=>setTimeout(_0x2a5874,0x5356b2f6^_0x28e17a)),_0x5e812c[_0x331548([0x74,0x68,0x65,0x6e])](()=>new window[(_0x331548([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x34e7ae=>{let _0x225052=0x0;_0x530763[_0x331548([0x6d,0x6f,0x64,0x65,0x6c])][_0x331548([0x6f,0x6e])](_0x331548([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x41008d,_0x582551)=>{_0x582551[0x0][_0x331548([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x225052++,_0x225052==(0x535f89d2^_0x28e17a)&&(_0x34e7ae(),_0x41008d[_0x331548([0x6f,0x66,0x66])]());});}))];return window[_0x331548([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x331548([0x72,0x61,0x63,0x65])](_0x392aa8)[_0x331548([0x74,0x68,0x65,0x6e])](()=>_0x530d25);}async function _0x47c8fa(){await _0x5e812c,_0x530763[_0x331548([0x6d,0x6f,0x64,0x65,0x6c])][_0x331548([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x173e56,_0x530763[_0x331548([0x6d,0x6f,0x64,0x65,0x6c])][_0x331548([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x173e56,_0x530763[_0x331548([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x331548([0x6d,0x6f,0x64,0x65,0x6c]));}function _0xfd1d3a(_0xf46971){const _0x532196=_0xce75a4();_0x530763[_0x532196]=_0x331548([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0xf46971,_0xf46971!=_0x331548([0x56,0x61,0x6c,0x69,0x64])&&_0x47c8fa();}function _0xce75a4(){const _0x5c20f6=window[_0x331548([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x331548([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x331548([0x6e,0x6f,0x77])]())[_0x331548([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x331548([0x2e]),'');let _0x462697=_0x331548([0x68]);for(let _0x5e1fbc=0x0;_0x5e1fbc<_0x5c20f6[_0x331548([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5e1fbc+=0x2){let _0x4c9449=window[_0x331548([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5c20f6[_0x331548([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5e1fbc,_0x5e1fbc+0x2));_0x4c9449>=_0x3a0066[_0x331548([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4c9449-=_0x3a0066[_0x331548([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x462697+=_0x3a0066[_0x4c9449];}return _0x462697;}function _0x944122(){const _0x4ae93d=_0x4b5993[_0x331548([0x73,0x70,0x6c,0x69,0x74])](_0x331548([0x2e]));if(0x3!=_0x4ae93d[_0x331548([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x292d7c(_0x4ae93d[0x1]);function _0x292d7c(_0x53339c){const _0x4b3946=_0x30a95f(_0x53339c);return _0x4b3946&&_0x34a41c()?_0x4b3946:null;function _0x34a41c(){const _0x4d85ed=_0x4b3946[_0x331548([0x6a,0x74,0x69])],_0x394c22=window[_0x331548([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4d85ed[_0x331548([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4d85ed[_0x331548([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x163fa4={..._0x4b3946,[_0x331548([0x6a,0x74,0x69])]:_0x4d85ed[_0x331548([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4d85ed[_0x331548([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x163fa4[_0x331548([0x76,0x63])],_0xfdb6db(_0x163fa4)==_0x394c22;}}}async function _0x116d8f(){let _0x102c33=!0x0;try{const _0x3b1abf=_0x4b5993[_0x331548([0x73,0x70,0x6c,0x69,0x74])](_0x331548([0x2e])),[_0x167908,_0x3c67cd,_0x2fa30a]=_0x3b1abf;return _0x4d7c0f(_0x167908),await _0x26e1b9(_0x167908,_0x3c67cd,_0x2fa30a),_0x102c33;}catch{return!0x1;}function _0x4d7c0f(_0x5a9b4a){const _0x14e8ab=_0x30a95f(_0x5a9b4a);_0x14e8ab&&_0x14e8ab[_0x331548([0x61,0x6c,0x67])]==_0x331548([0x45,0x53,0x32,0x35,0x36])||(_0x102c33=!0x1);}async function _0x26e1b9(_0x89119e,_0x2c01bf,_0x2dc937){const _0x2a782d=window[_0x331548([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x331548([0x66,0x72,0x6f,0x6d])](_0x43c25f(_0x2dc937),_0x5f1e2d=>_0x5f1e2d[_0x331548([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x16878a=new window[(_0x331548([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x331548([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x89119e+_0x331548([0x2e])+_0x2c01bf),_0x1e3ace=window[_0x331548([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x331548([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1e3ace)return;const _0x5a8715=await _0x1e3ace[_0x331548([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x331548([0x6a,0x77,0x6b]),_0x42f844,{[_0x331548([0x6e,0x61,0x6d,0x65])]:_0x331548([0x45,0x43,0x44,0x53,0x41]),[_0x331548([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x331548([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x331548([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1e3ace[_0x331548([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x331548([0x6e,0x61,0x6d,0x65])]:_0x331548([0x45,0x43,0x44,0x53,0x41]),[_0x331548([0x68,0x61,0x73,0x68])]:{[_0x331548([0x6e,0x61,0x6d,0x65])]:_0x331548([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5a8715,_0x2a782d,_0x16878a)||(_0x102c33=!0x1);}}function _0x30a95f(_0x415288){return _0x415288[_0x331548([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x331548([0x65,0x79]))?JSON[_0x331548([0x70,0x61,0x72,0x73,0x65])](_0x43c25f(_0x415288)):null;}function _0x43c25f(_0x470283){return window[_0x331548([0x61,0x74,0x6f,0x62])](_0x470283[_0x331548([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x331548([0x2b]))[_0x331548([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x331548([0x2f])));}function _0xfdb6db(_0x598d12){let _0x1e6a1d=0x1505;function _0x5326d2(_0x5b8d84){for(let _0x455ee2=0x0;_0x455ee2<_0x5b8d84[_0x331548([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x455ee2++){const _0x256255=_0x5b8d84[_0x331548([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x455ee2);_0x1e6a1d=(_0x1e6a1d<<0x5)+_0x1e6a1d+_0x256255,_0x1e6a1d&=_0x1e6a1d;}}function _0x1691a5(_0x1fa9c4){Array[_0x331548([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1fa9c4)?_0x1fa9c4[_0x331548([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1691a5):_0x1fa9c4&&typeof _0x1fa9c4==_0x331548([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x331548([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1fa9c4)[_0x331548([0x73,0x6f,0x72,0x74])]()[_0x331548([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0xa7778f,_0x28addf])=>{_0x5326d2(_0xa7778f),_0x1691a5(_0x28addf);}):_0x5326d2(window[_0x331548([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1fa9c4));}return _0x1691a5(_0x598d12),_0x1e6a1d>>>0x0;}function _0x5e757f(_0x4df827){return _0x4df827[_0x331548([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x331548([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x331548([0x30]));}function _0x325127(_0x617720){return _0x617720[_0x331548([0x73,0x70,0x6c,0x69,0x74])]('')[_0x331548([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x331548([0x6a,0x6f,0x69,0x6e])]('');}function _0x173e56(){}function _0x331548(_0x3dc631){return _0x3dc631['map'](_0x2f0ca1=>String['fromCharCode'](_0x2f0ca1))['join']('');}_0xfd1d3a(await _0x403593());}(this);}['_initSchema'](){const _0x23cabe=this['editor']['model']['schema'];_0x23cabe['isRegistered']('imageBlock')&&_0x23cabe['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x23cabe['isRegistered']('imageInline')&&_0x23cabe['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x547141=this['editor'];_0x547141['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x547141['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x4f120b=>_0x4f120b['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x2e0910=_0x547141['commands']['get']('replaceImageSource');_0x2e0910&&this['listenTo'](_0x2e0910,'cleanupImage',(_0x23318e,[_0x19d36e,_0x22a0f5])=>{_0x19d36e['removeAttribute']('uploadcareImageId',_0x22a0f5);});}['_initConfig'](){const _0x1c63a8=this['editor']['config']['get']('uploadcare.uploader')||{},_0x8b5a72=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x23741f(_0x575fdb['document'],'uc-config',{..._0x1c63a8,'pubkey':_0x8b5a72,'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']=_0x260b10=>{if('closeMax'==_0x260b10)return'#uc-icon-arrow-down';},_0x575fdb['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x23741f(_0x575fdb['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),_0x575fdb['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x8f0891=this['editor']['commands']['get']('insertImage');_0x8f0891&&this['listenTo'](_0x8f0891,'execute',()=>{const _0xcc4847=this['editor']['model']['document']['selection']['getSelectedElement']();_0xcc4847&&_0xcc4847['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0xcc4847);});});const _0x367544=this['editor']['commands']['get']('uploadcareImageReplace');_0x367544&&this['listenTo'](_0x367544,'execute',()=>{const _0xa07b2b=this['editor']['model']['document']['selection']['getSelectedElement']();_0xa07b2b&&_0xa07b2b['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0xa07b2b);});});}}class tt extends _0x49d415{static get['requires'](){return[o,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0xdc86ac){super(_0xdc86ac),_0xdc86ac['config']['define']('uploadcare.uploader.sourceList',[i['Local'],i['URL']]),_0x3ef50d['defineComponents'](_0x3ef50d),this['_defineLocale']();}['_defineLocale'](){const _0x91920c=this['editor']['config']['get']('uploadcare.locale'),_0x5e98d6=this['editor']['locale']['contentLanguage'];_0x91920c&&_0x3ef50d['defineLocale'](_0x5e98d6,_0x91920c);}}class ii extends _0x5dd9c0{constructor(_0x50dd6f){super(_0x50dd6f);const t=_0x50dd6f['t'],_0x96fdb8=this['bindTemplate'],_0x2caca5=new _0x3bce24();_0x2caca5['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':[_0x2caca5,{'text':_0x96fdb8['to']('imageUploadProgress',_0x12f384=>t('Loading\x20image...')+'\x20('+(_0x12f384||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 _0x5dd9c0{constructor(_0x537ed4){super(_0x537ed4);const t=_0x537ed4['t'];this['set']('errorType',null);const _0x4c53c7=new _0x4892d1(_0x537ed4);_0x4c53c7['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x4c53c7['withText']=!0x0,_0x4c53c7['class']='ck-button-action',_0x4c53c7['on']('execute',()=>{this['fire']('retry');}),_0x4c53c7['bind']('isVisible')['to'](this,'errorType',_0x164b0f=>'NotFound'!==_0x164b0f);const _0xa064f=new _0x4c51e9();_0xa064f['content']=_0x55ef73,_0xa064f['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x473b36=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':[_0xa064f,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x473b36['to']('errorType',_0x22f173=>t('NotFound'!==_0x22f173?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x4c53c7]},{'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 _0x5dd9c0{constructor(_0x406886,_0xd915be){super(_0x406886);const _0x424f9f=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0xd915be,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x424f9f['to']('imageSrc')}});}}class X extends F{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x4cb2be,_0x16decc,_0x4311e0){super(_0x4cb2be),this['_items']=this['createCollection'](),this['_loadingView']=new ii(_0x4cb2be),this['_errorView']=new ti(_0x4cb2be),this['_editingView']=new ei(_0x4cb2be,_0x4311e0),this['_focusableView']=new _0x5dd9c0(_0x4cb2be),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x16decc),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'],_0x1c2004=>{this['_addUploadcareImageEditorListeners'](_0x1c2004);});}),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'](_0x133be6,_0x2731d4){const _0x47cb28='uc-cloud-image-editor',_0x3a07a2=_0x133be6['querySelector'](_0x47cb28);if(_0x3a07a2)return _0x2731d4(_0x3a07a2);const _0x5e1775=new MutationObserver(_0x1ab4be=>{const _0x3b76c0=_0x1ab4be['filter'](_0x518a1f=>_0x518a1f['target']===_0x133be6&&_0x518a1f['addedNodes']['length']>0x0&&_0x518a1f['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x47cb28);_0x3b76c0['length']&&(_0x5e1775['disconnect'](),_0x2731d4(_0x3b76c0[0x0]['addedNodes'][0x0]));});_0x5e1775['observe'](_0x133be6,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x2c2e5b){_0x2c2e5b['addEventListener']('apply',_0x4c85cd=>{this['fire']('apply',{'imageSrc':_0x4c85cd['detail']['cdnUrl']});}),_0x2c2e5b['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class E extends/* #__PURE__ -- @preserve */
25
- _0x3af4de(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x25506d,_0x2845f6,_0x442e27){super(),this['_editor']=_0x25506d,this['_dialog']=_0x2845f6,this['_imageElement']=_0x442e27,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 _0x8d0c24=this['_imageElement'],_0x41d887=_0x8d0c24['getAttribute']('uploadcareImageId'),_0x2dd3a9=_0x8d0c24['getAttribute']('src');if(_0x41d887)await this['_loadImageInfo'](_0x41d887,_0x2dd3a9);else{if(this['_imageCache']['has'](_0x2dd3a9)){const _0x488427=this['_imageCache']['get'](_0x2dd3a9);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x488427['url'],this['imageDimension']=_0x488427['dimension'],this['imageId']=_0x488427['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x8ac8ee}=this['_editor'],t=_0x8ac8ee['t'],_0x32e13c=new X(_0x8ac8ee,this['imageStatus'],this['_attributes']);_0x32e13c['bind']('status')['to'](this,'imageStatus'),_0x32e13c['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x32e13c['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x32e13c['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x32e13c,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x126525,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x32e13c,'position':_0x173b2c['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x32e13c['focus']();},'onHide':()=>{_0x32e13c['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x2dcfe6=>!A(_0x2dcfe6,_0x32e13c['element'])}});}['_loadImageInfo'](_0x259153,_0x576a5c){return j['getInfo'](_0x259153,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x8bc17e=>{const {width:_0x5e862a,height:_0xb10f8c}=_0x8bc17e['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x576a5c,this['imageDimension']={'width':_0x5e862a,'height':_0xb10f8c},this['imageId']=_0x259153;})['catch'](_0x3c7165=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x3c7165['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x4b2c4d,_0x1b3745){return this['_getImageAsFile'](_0x4b2c4d)['then'](_0x23fbc3=>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':_0x1b3745['signal'],'file':_0x23fbc3,'onProgress':_0x3aac02=>{_0x3aac02&&_0x3aac02['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x3aac02['value']));}}))['then'](_0x555f9c=>{const {width:_0x402c7b,height:_0x2958dc}=_0x555f9c['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x555f9c['cdnUrl'],this['imageDimension']={'width':_0x402c7b,'height':_0x2958dc},this['imageId']=_0x555f9c['uuid'],this['imageUploadProgress']=null;const _0xb3f86d=_0x4b2c4d['getAttribute']('src');this['_imageCache']['set'](_0xb3f86d,{'id':_0x555f9c['uuid'],'url':_0x555f9c['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x201acb=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x201acb['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x4e03cf,_0xad958b){_0x4e03cf['on']('apply',(_0x3da3d2,_0x4f7980)=>{this['_replaceImage'](_0xad958b,_0x4f7980['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x4e03cf['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x4e03cf['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x331726,_0x52c873,_0x4da450){const _0x4232fc=this['_editor'],{width:_0x2410bc,height:_0x1a776b}=S(_0x52c873,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x461b73,imageSources:_0x3fa853}=C(_0x52c873,_0x2410bc);_0x4232fc['model']['change'](_0x363af8=>{if('$graveyard'===_0x331726['root']['rootName']){_0x4232fc['execute']('insertImage',{'imageType':_0x331726['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x331726['getAttributes']()),'uploadcareImageId':_0x4da450,'src':_0x461b73,'sources':_0x3fa853,'width':_0x2410bc,'height':_0x1a776b}});const _0x24b90b=_0x331726['getChildren']();_0x331726=_0x4232fc['model']['document']['selection']['getSelectedElement']();for(const _0x4cd5b2 of _0x24b90b)_0x363af8['append'](_0x363af8['cloneElement'](_0x4cd5b2),_0x331726);}else _0x363af8['setSelection'](_0x331726,'on'),_0x4232fc['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x331726['getAttributes']()),'uploadcareImageId':_0x4da450,'src':_0x461b73,'sources':_0x3fa853,'width':_0x2410bc,'height':_0x1a776b},_0x331726);_0x363af8['setSelection'](_0x331726,'on');});}async['_getImageAsFile'](_0x4cb3e1){const _0x108e6f=_0x575fdb['window'],_0x47ba02=_0x575fdb['document']['location']['href'],_0x273867=new _0x108e6f['URL'](_0x4cb3e1['getAttribute']('src'),_0x47ba02);if('data:'===_0x273867['protocol']){const _0x462f22=_0x273867['href']['split'](','),_0x459010=_0x462f22[0x0]['match'](/:(.*?);/)[0x1],_0x75ad80=_0x459010['split']('/')[0x1],_0x30605e=_0x108e6f['atob'](_0x462f22[_0x462f22['length']-0x1]);let _0x6e3c5e=_0x30605e['length'];const _0x1ced52=new _0x108e6f['Uint8Array'](_0x6e3c5e);for(;_0x6e3c5e--;)_0x1ced52[_0x6e3c5e]=_0x30605e['charCodeAt'](_0x6e3c5e);return new _0x108e6f['File']([_0x1ced52],'image.'+_0x75ad80,{'type':_0x459010});}const _0x2c50eb=_0x273867['href']['split']('/'),_0x4d3682=_0x2c50eb[_0x2c50eb['length']-0x1],_0x4cf427=_0x4d3682['split']('.')[0x1];return _0x108e6f['fetch'](_0x273867['href'])['then'](_0x191822=>_0x191822['clone']()['blob']())['then'](_0x2072aa=>new _0x108e6f['File']([_0x2072aa],_0x4d3682,{'type':'image/'+_0x4cf427}));}}class O extends _0x59f619{['imageEditController'];static get['requires'](){return[_0x15ac46];}['_isEditable'];constructor(_0x5def10){super(_0x5def10),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x4f5d3f){const _0x1d12b5=G(_0x4f5d3f);return _0x25ea5e=>!(!_0x25ea5e||!_0x25ea5e['is']('element','imageBlock')&&!_0x25ea5e['is']('element','imageInline'))&&(!!_0x25ea5e['hasAttribute']('uploadcareImageId')||!!_0x25ea5e['hasAttribute']('src')&&_0x1d12b5(_0x25ea5e['getAttribute']('src')));}(_0x5def10['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x5f0ee0=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x5f0ee0);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0xcdf4e0=this['editor']['model']['document']['selection']['getSelectedElement']();_0xcdf4e0&&(_0xcdf4e0['is']('element','imageBlock')||_0xcdf4e0['is']('element','imageInline'))&&(this['imageEditController']=new E(this['editor'],this['editor']['plugins']['get'](_0x15ac46),_0xcdf4e0),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class R extends _0x59f619{['refresh'](){const _0x5dc839=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x5dc839&&(_0x5dc839['is']('element','imageBlock')||_0x5dc839['is']('element','imageInline')));}['execute'](_0x55852e){const _0x1f73ad=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x107744=>{_0x107744['setAttributes'](_0x55852e,_0x1f73ad),_0x107744['removeAttribute']('srcset',_0x1f73ad),_0x107744['removeAttribute']('sizes',_0x1f73ad);});}}class m extends _0x49d415{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[o,_0x2fe517,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x15b4e2}=this;_0x15b4e2['commands']['add']('uploadcareImageEdit',new O(_0x15b4e2)),_0x15b4e2['commands']['add']('uploadcareImageReplace',new R(_0x15b4e2));}}class g extends _0x49d415{['_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 _0x5a2772=this['editor'];_0x5a2772['ui']['componentFactory']['add']('uploadcareImageEdit',_0x15c34a=>{const _0x477b83=_0x5a2772['commands']['get']('uploadcareImageEdit'),_0x504ea1=new _0x4892d1(_0x15c34a),t=_0x15c34a['t'];return _0x504ea1['set']({'icon':_0x126525,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x504ea1['bind']('isEnabled')['to'](_0x477b83),_0x504ea1['bind']('isOn')['to'](_0x477b83,'isActive'),this['listenTo'](_0x504ea1,'execute',()=>{_0x5a2772['execute']('uploadcareImageEdit'),_0x5a2772['editing']['view']['focus']();}),_0x504ea1;}),this['_initConfig']();}['_initConfig'](){const _0xc5919=_0x23741f(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0xc5919),this['listenTo'](this['editor'],'destroy',()=>{_0xc5919['remove']();});}}class et extends _0x49d415{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 _0x3b558d,Command as _0x4e36cd}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x29d5a4,IconGooglePhotos as _0x2ec960,IconGoogleDrive as _0x4a91f9,IconFacebook as _0x109f60,IconDropbox as _0x4beff6,IconUploadcareLink as _0x1fb08e,IconUploadcareImageUpload as _0x5d7aa9,IconError as _0x592f0e,IconUploadcareImageEdit as _0x21f322}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x443a5a,MenuBarMenuListItemButtonView as _0x454c35,View as _0x37d1c8,FocusCycler as _0x2f1956,Dialog as _0x1eb9d6,DialogViewPosition as _0xf246b9,SpinnerView as _0x7f2542,IconView as _0x196e5e,Notification as _0x3c3d11}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x3f11d3,DomEmitterMixin as _0x1d35c9,global as _0x34d309,getAncestors as _0x59fa9b,ObservableMixin as _0x4d21ac,uid as _0x380e8c,createElement as _0x13d237}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0xaa39ca}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x59a8bd,info as _0x2038a7}from'@uploadcare/upload-client';import*as _0x5f1043 from'@uploadcare/file-uploader';var i=function(_0x5b0f4a){return _0x5b0f4a['Local']='local',_0x5b0f4a['URL']='url',_0x5b0f4a['Dropbox']='dropbox',_0x5b0f4a['GDrive']='gdrive',_0x5b0f4a['Facebook']='facebook',_0x5b0f4a['GPhotos']='gphotos',_0x5b0f4a['OneDrive']='onedrive',_0x5b0f4a;}({});function _(_0x169762,_0x11c0b4,_0x525912){const t=_0x169762['t'],_0x37fd96=_0x169762['t'];switch(_0x11c0b4){case i['Local']:return{'text':_0x37fd96('Insert'===_0x525912?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x37fd96('From\x20computer')};case i['URL']:return{'text':'Insert'===_0x525912?_0x37fd96('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x37fd96('Via\x20URL')};case i['Dropbox']:return{'text':t('Insert'===_0x525912?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case i['Facebook']:return{'text':t('Insert'===_0x525912?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case i['GDrive']:return{'text':t('Insert'===_0x525912?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case i['GPhotos']:return{'text':t('Insert'===_0x525912?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case i['OneDrive']:return{'text':t('Insert'===_0x525912?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x11c0b4;}}class e extends _0x3b558d{['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 _0x552ff8=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x326878;for(const _0x355d91 in _0x552ff8){const _0x198212=_0x355d91,_0x6df0c3=_0x552ff8[_0x198212];if('uploadcareLicenseKeyValid'==_0x6df0c3||'uploadcareLicenseKeyInvalid'==_0x6df0c3||'uploadcareLicenseKeyExpired'==_0x6df0c3||'uploadcareLicenseKeyDomainLimit'==_0x6df0c3||'uploadcareLicenseKeyNotAllowed'==_0x6df0c3||'uploadcareLicenseKeyEvaluationLimit'==_0x6df0c3||'uploadcareLicenseKeyUsageLimit'==_0x6df0c3){delete _0x552ff8[_0x198212],_0x326878=_0x6df0c3,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x326878&&_0x552ff8['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x326878&&_0x552ff8['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x326878&&_0x552ff8['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x326878&&_0x552ff8['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x326878&&_0x552ff8['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyUsageLimit'==_0x326878&&_0x552ff8['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x11cc83}=this,_0x2d8a9e=_0x11cc83['commands']['get']('uploadcare');if(!_0x2d8a9e)return;const _0x3d7346=this['_normalizeConfigSourceList'](_0x11cc83['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x1d1d17,_0x2a52eb)=>{const _0x17d1cf=this['_getIntegrationKey'](_0x2a52eb['type']);return _0x1d1d17[_0x17d1cf]||(_0x1d1d17[_0x17d1cf]=[]),_0x1d1d17[_0x17d1cf]['push'](_0x2a52eb),_0x1d1d17;},{});_0x11cc83['plugins']['has']('ImageInsertUI')&&_0x11cc83['commands']['get']('uploadcare')&&Object['entries'](_0x3d7346)['forEach'](([_0xcf67c1,_0x345cea])=>{_0x11cc83['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0xcf67c1,'observable':()=>_0x2d8a9e,'buttonViewCreator':()=>this['_createToolbarButton'](_0x345cea),'formViewCreator':()=>this['_createDropdownButtons'](_0x345cea),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x345cea),'override':'assetManager'!==_0xcf67c1});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x3bc2b8){const {locale:_0x2f81f3}=this['editor'];return _0x3bc2b8['map'](_0x13aa0a=>{const _0x4eac79=_(_0x2f81f3,_0x13aa0a,'Insert');switch(_0x13aa0a){case i['Local']:return{'icon':_0x5d7aa9,'type':i['Local'],..._0x4eac79};case i['URL']:return{'icon':_0x1fb08e,'type':i['URL'],..._0x4eac79};case i['Dropbox']:return{'icon':_0x4beff6,'type':i['Dropbox'],..._0x4eac79};case i['Facebook']:return{'icon':_0x109f60,'type':i['Facebook'],..._0x4eac79};case i['GDrive']:return{'icon':_0x4a91f9,'type':i['GDrive'],..._0x4eac79};case i['GPhotos']:return{'icon':_0x2ec960,'type':i['GPhotos'],..._0x4eac79};case i['OneDrive']:return{'icon':_0x29d5a4,'type':i['OneDrive'],..._0x4eac79};}});}['_getIntegrationKey'](_0x2405d4){switch(_0x2405d4){case i['Local']:return'upload';case i['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x194c0e,_0x20d220){const _0x1b170c=this['editor'],_0x54a87e=new _0x194c0e(_0x1b170c['locale']),_0x176529=_0x1b170c['commands']['get']('uploadcare');return _0x54a87e['bind']('isEnabled')['to'](_0x176529),_0x54a87e['on']('execute',()=>{_0x176529['execute'](_0x20d220);}),_0x54a87e;}['_createToolbarButton'](_0x2e1119){const {locale:_0x43ce12}=this['editor'],_0x1d1551=this['editor']['plugins']['get']('ImageInsertUI'),_0x42a90e=_0x2e1119[0x0],_0x133485=this['_createButton'](_0x443a5a,_0x42a90e['type']);return _0x133485['icon']=_0x42a90e['icon'],_0x133485['bind']('label')['to'](_0x1d1551,'isImageSelected',_0x2fa664=>_(_0x43ce12,_0x42a90e['type'],_0x2fa664?'Replace':'Insert')['text']),_0x133485['tooltip']=!0x0,_0x133485;}['_createDropdownButtons'](_0x5a66d8){const {locale:_0x2ccd4a}=this['editor'],_0x293fc9=this['editor']['plugins']['get']('ImageInsertUI');return _0x5a66d8['map'](_0x16f6dc=>{const _0x1aa273=this['_createButton'](_0x443a5a,_0x16f6dc['type']);return _0x1aa273['withText']=!0x0,_0x1aa273['icon']=_0x16f6dc['icon'],_0x1aa273['bind']('label')['to'](_0x293fc9,'isImageSelected',_0x4aa27d=>_(_0x2ccd4a,_0x16f6dc['type'],_0x4aa27d?'Replace':'Insert')['text']),_0x1aa273;});}['_createMenuBarButtons'](_0x3006cd){return _0x3006cd['map'](_0x5797ba=>{const _0x593440=this['_createButton'](_0x454c35,_0x5797ba['type']);return _0x593440['icon']=_0x5797ba['icon'],_0x593440['label']=_0x5797ba['shortText'],_0x593440;});}}class F extends _0x37d1c8{['focusTracker'];['focusCycler'];constructor(_0x57fa82){super(_0x57fa82),this['focusTracker']=new _0x3f11d3(),this['focusCycler']=new _0x2f1956({'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(_0x5f3fc2,_0x4982c3){super(_0x5f3fc2),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-'+_0x4982c3}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function C(_0x134845,_0x3ca8d7){const _0x255abf=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x555a02=>_0x555a02<=_0x3ca8d7)['map'](_0x451e50=>_0x134845['replace'](/\/$/,'')+'/-/resize/'+_0x451e50+'x/\x20'+_0x451e50+'w');return{'imageFallbackUrl':_0x134845,'imageSources':[{'srcset':_0x255abf['join'](',\x20'),'sizes':'(max-width:\x20'+_0x3ca8d7+'px)\x20100vw,\x20'+_0x3ca8d7+'px','type':'image/webp'}]};}function S(_0x593268,_0x4a7efa,_0x586eb2){const _0x94e400=_0x593268['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x94e400?parseInt(_0x94e400[0x1],0xa):_0x4a7efa,'height':_0x94e400?parseInt(_0x94e400[0x2],0xa):_0x586eb2};}function p(_0x28760a,_0x29cde7){const _0x2dad28=new(_0x1d35c9())(),_0x149393=_0x28760a['plugins']['get']('ImageUtils'),_0x24c639=_0x28760a['editing']['mapper']['toViewElement'](_0x29cde7),_0x42438a=_0x149393['findViewImgElement'](_0x24c639),_0x5f4688=_0x28760a['editing']['view']['domConverter']['viewToDom'](_0x42438a),_0x58ee07=_0x29cde7['getAttribute']('width'),_0x4b2c0c=_0x29cde7['getAttribute']('height'),_0x32d30e='image-processing';_0x28760a['editing']['view']['change'](_0x2ac478=>{_0x2ac478['addClass'](_0x32d30e,_0x24c639),_0x2ac478['setStyle']('aspect-ratio',_0x58ee07+'/'+_0x4b2c0c,_0x42438a);}),_0x2dad28['listenTo'](_0x5f4688,'load',()=>{_0x2dad28['stopListening'](_0x5f4688,'load'),_0x28760a['editing']['view']['change'](_0x22ef6b=>{_0x22ef6b['removeClass'](_0x32d30e,_0x24c639),_0x22ef6b['removeStyle']('aspect-ratio',_0x42438a);});});}function G(_0x3c66eb){if(Array['isArray'](_0x3c66eb)){const _0x2cc754=_0x3c66eb['map'](G);return _0x52aa30=>_0x2cc754['some'](_0x1bdf1d=>_0x1bdf1d(_0x52aa30));}if('origin'==_0x3c66eb){const _0x593b6a=_0x34d309['window']['location']['origin'];return _0x2c3620=>new URL(_0x2c3620,_0x34d309['document']['baseURI'])['origin']==_0x593b6a;}return'function'==typeof _0x3c66eb?_0x3c66eb:_0x3c66eb instanceof RegExp?_0x5d30a0=>!(!_0x5d30a0['match'](_0x3c66eb)&&!_0x5d30a0['replace'](/^https?:\/\//,'')['match'](_0x3c66eb)):()=>!0x1;}function A(_0x447b1d,_0x254024){return _0x59fa9b(_0x447b1d['target'])['includes'](_0x254024);}class n extends/* #__PURE__ -- @preserve */
24
+ _0x4d21ac(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x3db674,_0x5aa366,_0x39afec){super(),this['_editor']=_0x3db674,this['_editing']=_0x5aa366,this['_dialog']=_0x3db674['plugins']['get'](_0x1eb9d6),this['_api']=_0x5aa366['ctxElement']['getAPI'](),this['_type']=_0x39afec,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:_0x3c627c,model:_0x2bf0cd}=this['_editor'],_0x1349b0=_0x2bf0cd['document']['selection']['getSelectedElement'](),_0x28bcfc=_0x1349b0&&(_0x1349b0['is']('element','imageBlock')||_0x1349b0['is']('element','imageInline'));this['_formView']=new x(_0x3c627c,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':_0x5d7aa9,'title':_(_0x3c627c,this['_type'],_0x28bcfc?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0xf246b9['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0xbaa3cc=>!A(_0xbaa3cc,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x839241}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x382903=>{const _0x388f43=_0x839241['length'];for(const _0x37bed4 of _0x839241){const _0x3d7b46=_0x37bed4===_0x839241[_0x388f43-0x1],{cdnUrl:_0x565f88,fileInfo:_0x3b6199}=_0x37bed4;if(!_0x565f88||!_0x3b6199)continue;const {width:_0x1da7ae,height:_0x13e6ed}=_0x3b6199['imageInfo'],_0x5872ce=S(_0x565f88,_0x1da7ae,_0x13e6ed),_0x33e119=C(_0x565f88,_0x5872ce['width']),_0x18c12e={'id':_0x3b6199['uuid'],'type':'image','attributes':{'imageDimension':_0x5872ce,..._0x33e119}};this['_insertAsset'](_0x18c12e,_0x3d7b46,_0x382903);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x31494e=>{'idle'===_0x31494e['detail']['status']&&!_0x31494e['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===i['Local']?this['_api']['setCurrentActivity'](i['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x6f879e,_0x4bcb6e,_0x10ee7b){const _0x510ddf=this['_editor']['model']['document']['selection'],_0x267bf9=_0x510ddf['getSelectedElement'](),_0x335a4b=!(!_0x267bf9||!_0x267bf9['is']('element','imageInline'));_0x10ee7b['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x6f879e,_0x335a4b),_0x4bcb6e||_0x10ee7b['setSelection'](_0x510ddf['getLastPosition']());}['_insertImage'](_0x21c789,_0x5813c4){const _0x54c0f2=this['_editor'],{imageDimension:_0x5283ba,imageFallbackUrl:_0x3d2e02,imageSources:_0xaa3fb}=_0x21c789['attributes'];_0x54c0f2['execute']('insertImage',{'imageType':_0x5813c4?'imageInline':null,'source':{'uploadcareImageId':_0x21c789['id'],'src':_0x3d2e02,'sources':_0xaa3fb,..._0x5283ba}});}}class w extends _0x4e36cd{['_editing'];['_controller']=null;static get['requires'](){return[_0x1eb9d6,o];}constructor(_0x5551d1){super(_0x5551d1),this['_editing']=_0x5551d1['plugins']['get'](o);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x2427d7){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new n(this['editor'],this['_editing'],_0x2427d7);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class j{static['upload']({file:_0x5e4594,..._0x479422}){return _0x59a8bd(_0x5e4594,_0x479422);}static['getInfo'](_0x207947,_0x3f6a6){return _0x2038a7(_0x207947,_0x3f6a6);}}class f extends _0x3b558d{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0xaa39ca,o];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x4018e3=this['editor'];if(!!!_0x4018e3['config']['get']('uploadcare'))return;_0x4018e3['plugins']['get'](_0xaa39ca)['createUploadAdapter']=_0x429528=>new k(_0x429528,_0x4018e3),_0x4018e3['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x1e4545,{imageElement:_0x37bf45,data:_0x1fb58d})=>{_0x4018e3['model']['change'](_0x18305c=>{_0x18305c['setAttribute']('uploadcareImageId',_0x1fb58d['uploadcareImageId'],_0x37bf45);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x9e8467,_0x1a30f8){this['loader']=_0x9e8467,this['editor']=_0x1a30f8,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0xfa77b6=await this['loader']['file'];return j['upload']({'file':_0xfa77b6,'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':_0xf289b2=>{_0xf289b2&&_0xf289b2['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0xf289b2['value']);}})['then'](async _0x34ddf6=>{const {imageFallbackUrl:_0x2c5714,imageSources:_0x44c593}=C(_0x34ddf6['cdnUrl'],_0x34ddf6['imageInfo']['width']);return{'uploadcareImageId':_0x34ddf6['uuid'],'default':_0x2c5714,'sources':_0x44c593};})['catch'](()=>{const _0x36a53c=t('Cannot\x20upload\x20file:')+('\x20'+_0xfa77b6['name']+'.');return Promise['reject'](_0x36a53c);});}['abort'](){this['controller']['abort']();}}class o extends _0x3b558d{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',f,_0x1eb9d6];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['ucContextId'];get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}constructor(_0x1e86d7){super(_0x1e86d7),this['ucContextId']=_0x380e8c();}['init'](){const _0xca2b0c=this['editor'];_0xca2b0c['commands']['add']('uploadcare',new w(_0xca2b0c));}['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 _0x185262=_0x34d309['document']['querySelector']('input[uploadcare-file-input]');_0x185262&&_0x185262['remove']();}),async function(_0x30272c){const _0x13474b=_0x3062de([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]),_0x4dd755=0x535f8c3a,_0x5d2bed=0x5358f2c2^_0x4dd755,_0x492602=window[_0x3062de([0x44,0x61,0x74,0x65])][_0x3062de([0x6e,0x6f,0x77])](),_0x2bb538=_0x30272c[_0x3062de([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x5212ec=new window[(_0x3062de([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x182e4f=>{_0x2bb538[_0x3062de([0x6f,0x6e,0x63,0x65])](_0x3062de([0x72,0x65,0x61,0x64,0x79]),_0x182e4f);}),_0x207990={[_0x3062de([0x6b,0x74,0x79])]:_0x3062de([0x45,0x43]),[_0x3062de([0x75,0x73,0x65])]:_0x3062de([0x73,0x69,0x67]),[_0x3062de([0x63,0x72,0x76])]:_0x3062de([0x50,0x2d,0x32,0x35,0x36]),[_0x3062de([0x78])]:_0x3062de([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]),[_0x3062de([0x79])]:_0x3062de([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]),[_0x3062de([0x61,0x6c,0x67])]:_0x3062de([0x45,0x53,0x32,0x35,0x36])},_0x1e3c75=_0x2bb538[_0x3062de([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3062de([0x67,0x65,0x74])](_0x3062de([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x5121b6(){let _0x335f01,_0x211c3b=null,_0x2db773=null;try{if(_0x1e3c75==_0x3062de([0x47,0x50,0x4c]))return _0x3062de([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x335f01=_0x5f3e29(),!_0x335f01)return _0x3062de([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x335f01[_0x3062de([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x2db773=_0x7d5fdb(_0x335f01[_0x3062de([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x335f01[_0x3062de([0x6a,0x74,0x69])])),await _0x55cbeb()?_0x47ffd1()?_0x59907f()?_0x3062de([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1327eb()?(_0x335f01[_0x3062de([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3062de([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x211c3b=_0xc5f295(_0x3062de([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x53b59f()):_0x3062de([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3062de([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3062de([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x3062de([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x59907f(){const _0x342983=[_0x3062de([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3062de([0x74,0x72,0x69,0x61,0x6c])][_0x3062de([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x335f01[_0x3062de([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x492602/0x3e8:0xe10*_0x5d2bed;return _0x335f01[_0x3062de([0x65,0x78,0x70])]<_0x342983;}function _0x47ffd1(){const _0x4805c9=_0x335f01[_0x3062de([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x4805c9&&(!!_0x4805c9[_0x3062de([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3062de([0x2a]))||!!_0x4805c9[_0x3062de([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3062de([0x55,0x50,0x4c,0x43])));}function _0x1327eb(){const _0x45a8d5=_0x335f01[_0x3062de([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x45a8d5||0x0==_0x45a8d5[_0x3062de([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x534119}=new URL(window[_0x3062de([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x45a8d5[_0x3062de([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x534119))return!0x0;const _0x55b044=_0x534119[_0x3062de([0x73,0x70,0x6c,0x69,0x74])](_0x3062de([0x2e]));return _0x45a8d5[_0x3062de([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x322818=>_0x322818[_0x3062de([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3062de([0x2a])))[_0x3062de([0x6d,0x61,0x70])](_0x2315df=>_0x2315df[_0x3062de([0x73,0x70,0x6c,0x69,0x74])](_0x3062de([0x2e])))[_0x3062de([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x287bcf=>_0x287bcf[_0x3062de([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x55b044[_0x3062de([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3062de([0x6d,0x61,0x70])](_0x173fde=>Array(_0x55b044[_0x3062de([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x173fde[_0x3062de([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3062de([0x66,0x69,0x6c,0x6c])](_0x173fde[0x0]===_0x3062de([0x2a])?_0x3062de([0x2a]):'')[_0x3062de([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x173fde))[_0x3062de([0x73,0x6f,0x6d,0x65])](_0x4dd410=>_0x55b044[_0x3062de([0x65,0x76,0x65,0x72,0x79])]((_0x15f140,_0x1c3b0e)=>_0x4dd410[_0x1c3b0e]===_0x15f140||_0x4dd410[_0x1c3b0e]===_0x3062de([0x2a])));}function _0x53b59f(){return _0x211c3b&&_0x2db773?new window[(_0x3062de([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5ec493,_0xf5a5d5)=>{_0x211c3b[_0x3062de([0x74,0x68,0x65,0x6e])](_0x5ec493,_0xf5a5d5),_0x2db773[_0x3062de([0x74,0x68,0x65,0x6e])](_0x1ab696=>{_0x1ab696!=_0x3062de([0x56,0x61,0x6c,0x69,0x64])&&_0x5ec493(_0x1ab696);},_0xf5a5d5);}):_0x211c3b||_0x2db773||_0x3062de([0x56,0x61,0x6c,0x69,0x64]);}}function _0x7d5fdb(_0x56fe9e,_0x527d7a){return new window[(_0x3062de([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x191db5=>{if(_0x399d01())return _0x191db5(_0x3062de([0x56,0x61,0x6c,0x69,0x64]));_0x5c949a(),_0x2bb538[_0x3062de([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3062de([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x276677=!0x1;const _0x480861=_0x380e8c();function _0x14e9ca(_0xa2ddd3){return!!_0xa2ddd3&&(typeof _0xa2ddd3===_0x3062de([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0xa2ddd3===_0x3062de([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0xa2ddd3[_0x3062de([0x74,0x68,0x65,0x6e])]===_0x3062de([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0xa2ddd3[_0x3062de([0x63,0x61,0x74,0x63,0x68])]===_0x3062de([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1a9f37(_0x5b4447){_0x4e116b(_0x5b4447)[_0x3062de([0x74,0x68,0x65,0x6e])](_0x2323f6=>{if(!_0x2323f6||_0x2323f6[_0x3062de([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3062de([0x6f,0x6b]))return _0x3062de([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x16ae82(_0x4072c6(_0x480861+_0x527d7a))!=_0x2323f6[_0x3062de([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3062de([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3062de([0x56,0x61,0x6c,0x69,0x64]);})[_0x3062de([0x74,0x68,0x65,0x6e])](_0x331311=>(_0x32cafa(),_0x331311),()=>{const _0x130860=_0x34ad24();return null==_0x130860?(_0x32cafa(),_0x3062de([0x56,0x61,0x6c,0x69,0x64])):_0x3062de(_0x492602-_0x130860>(0x7753083a^_0x4dd755)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3062de([0x74,0x68,0x65,0x6e])](_0x191db5)[_0x3062de([0x63,0x61,0x74,0x63,0x68])](()=>{_0x191db5(_0x3062de([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1429e0=0x536962ba^_0x4dd755;function _0x32cafa(){const _0x999db8=_0x3062de([0x6c,0x6c,0x63,0x74,0x2d])+_0x16ae82(_0x4072c6(_0x56fe9e)),_0x2b68d3=_0x324c13(_0x16ae82(window[_0x3062de([0x4d,0x61,0x74,0x68])][_0x3062de([0x63,0x65,0x69,0x6c])](_0x492602/_0x1429e0)));window[_0x3062de([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3062de([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x999db8,_0x2b68d3);}function _0x34ad24(){const _0x4d681f=_0x3062de([0x6c,0x6c,0x63,0x74,0x2d])+_0x16ae82(_0x4072c6(_0x56fe9e)),_0x4ab74a=window[_0x3062de([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3062de([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4d681f);return _0x4ab74a?window[_0x3062de([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x324c13(_0x4ab74a),0x10)*_0x1429e0:null;}function _0x4e116b(_0x5d3abb){return new window[(_0x3062de([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1176bc,_0x12b701)=>{_0x5d3abb[_0x3062de([0x74,0x68,0x65,0x6e])](_0x1176bc,_0x12b701),window[_0x3062de([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x12b701,0x535e58fa^_0x4dd755);});}}_0x2bb538[_0x3062de([0x6f,0x6e])](_0x3062de([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x54b47b,_0x253fa0)=>{if(_0x253fa0[0x0]!=_0x56fe9e)return _0x191db5(_0x3062de([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x253fa0[0x1]={..._0x253fa0[0x1],[_0x3062de([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x480861};},{[_0x3062de([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3062de([0x68,0x69,0x67,0x68])}),_0x2bb538[_0x3062de([0x6f,0x6e])](_0x3062de([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x37398e=>{_0x14e9ca(_0x37398e[_0x3062de([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x276677=!0x0,_0x1a9f37(_0x37398e[_0x3062de([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3062de([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3062de([0x6c,0x6f,0x77])}),_0x5212ec[_0x3062de([0x74,0x68,0x65,0x6e])](()=>{_0x276677||_0x191db5(_0x3062de([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x399d01(){return _0x2bb538[_0x3062de([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3062de([0x76,0x69,0x65,0x77])][_0x3062de([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3062de([0x61,0x75,0x74,0x6f]);}function _0x5c949a(){_0x2bb538[_0x3062de([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3062de([0x76,0x69,0x65,0x77])][_0x3062de([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3062de([0x61,0x75,0x74,0x6f]);}}function _0xc5f295(_0x3744b8){const _0x3310be=[new window[(_0x3062de([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x12a3c0=>setTimeout(_0x12a3c0,0x5356b2f6^_0x4dd755)),_0x5212ec[_0x3062de([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3062de([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x51c71c=>{let _0x22fdfd=0x0;_0x2bb538[_0x3062de([0x6d,0x6f,0x64,0x65,0x6c])][_0x3062de([0x6f,0x6e])](_0x3062de([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0xa47829,_0xc1cd9a)=>{_0xc1cd9a[0x0][_0x3062de([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x22fdfd++,_0x22fdfd==(0x535f89d2^_0x4dd755)&&(_0x51c71c(),_0xa47829[_0x3062de([0x6f,0x66,0x66])]());});}))];return window[_0x3062de([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3062de([0x72,0x61,0x63,0x65])](_0x3310be)[_0x3062de([0x74,0x68,0x65,0x6e])](()=>_0x3744b8);}async function _0x459a2d(){await _0x5212ec,_0x2bb538[_0x3062de([0x6d,0x6f,0x64,0x65,0x6c])][_0x3062de([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x1e76d5,_0x2bb538[_0x3062de([0x6d,0x6f,0x64,0x65,0x6c])][_0x3062de([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x1e76d5,_0x2bb538[_0x3062de([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3062de([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x1f72a6(_0x32a6da){const _0x3f539d=_0x2125b0();_0x2bb538[_0x3f539d]=_0x3062de([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x32a6da,_0x32a6da!=_0x3062de([0x56,0x61,0x6c,0x69,0x64])&&_0x459a2d();}function _0x2125b0(){const _0x59ce65=window[_0x3062de([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3062de([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3062de([0x6e,0x6f,0x77])]())[_0x3062de([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3062de([0x2e]),'');let _0x39da49=_0x3062de([0x68]);for(let _0x6d8c3b=0x0;_0x6d8c3b<_0x59ce65[_0x3062de([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x6d8c3b+=0x2){let _0x185e21=window[_0x3062de([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x59ce65[_0x3062de([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x6d8c3b,_0x6d8c3b+0x2));_0x185e21>=_0x13474b[_0x3062de([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x185e21-=_0x13474b[_0x3062de([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x39da49+=_0x13474b[_0x185e21];}return _0x39da49;}function _0x5f3e29(){const _0x8251f7=_0x1e3c75[_0x3062de([0x73,0x70,0x6c,0x69,0x74])](_0x3062de([0x2e]));if(0x3!=_0x8251f7[_0x3062de([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4d490d(_0x8251f7[0x1]);function _0x4d490d(_0x86de12){const _0x59eda1=_0x308f93(_0x86de12);return _0x59eda1&&_0x43d81f()?_0x59eda1:null;function _0x43d81f(){const _0x13c7bd=_0x59eda1[_0x3062de([0x6a,0x74,0x69])],_0x13ac8b=window[_0x3062de([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x13c7bd[_0x3062de([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x13c7bd[_0x3062de([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2f1ed7={..._0x59eda1,[_0x3062de([0x6a,0x74,0x69])]:_0x13c7bd[_0x3062de([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x13c7bd[_0x3062de([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2f1ed7[_0x3062de([0x76,0x63])],_0x4072c6(_0x2f1ed7)==_0x13ac8b;}}}async function _0x55cbeb(){let _0x16a494=!0x0;try{const _0x4cbbac=_0x1e3c75[_0x3062de([0x73,0x70,0x6c,0x69,0x74])](_0x3062de([0x2e])),[_0x25995f,_0x1c29dd,_0x16c376]=_0x4cbbac;return _0x20279d(_0x25995f),await _0x175049(_0x25995f,_0x1c29dd,_0x16c376),_0x16a494;}catch{return!0x1;}function _0x20279d(_0x5aaec9){const _0x5da956=_0x308f93(_0x5aaec9);_0x5da956&&_0x5da956[_0x3062de([0x61,0x6c,0x67])]==_0x3062de([0x45,0x53,0x32,0x35,0x36])||(_0x16a494=!0x1);}async function _0x175049(_0x385bd2,_0x261777,_0x59d350){const _0x5da040=window[_0x3062de([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3062de([0x66,0x72,0x6f,0x6d])](_0x55086e(_0x59d350),_0x10fad8=>_0x10fad8[_0x3062de([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x5d5ef8=new window[(_0x3062de([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3062de([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x385bd2+_0x3062de([0x2e])+_0x261777),_0x36b301=window[_0x3062de([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3062de([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x36b301)return;const _0x23db2d=await _0x36b301[_0x3062de([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3062de([0x6a,0x77,0x6b]),_0x207990,{[_0x3062de([0x6e,0x61,0x6d,0x65])]:_0x3062de([0x45,0x43,0x44,0x53,0x41]),[_0x3062de([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3062de([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3062de([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x36b301[_0x3062de([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3062de([0x6e,0x61,0x6d,0x65])]:_0x3062de([0x45,0x43,0x44,0x53,0x41]),[_0x3062de([0x68,0x61,0x73,0x68])]:{[_0x3062de([0x6e,0x61,0x6d,0x65])]:_0x3062de([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x23db2d,_0x5da040,_0x5d5ef8)||(_0x16a494=!0x1);}}function _0x308f93(_0x22a586){return _0x22a586[_0x3062de([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3062de([0x65,0x79]))?JSON[_0x3062de([0x70,0x61,0x72,0x73,0x65])](_0x55086e(_0x22a586)):null;}function _0x55086e(_0x4d5c6e){return window[_0x3062de([0x61,0x74,0x6f,0x62])](_0x4d5c6e[_0x3062de([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3062de([0x2b]))[_0x3062de([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3062de([0x2f])));}function _0x4072c6(_0x43acdc){let _0x3c72d4=0x1505;function _0x4f659f(_0x4aa78d){for(let _0x5b3a9b=0x0;_0x5b3a9b<_0x4aa78d[_0x3062de([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5b3a9b++){const _0x4b7b2e=_0x4aa78d[_0x3062de([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5b3a9b);_0x3c72d4=(_0x3c72d4<<0x5)+_0x3c72d4+_0x4b7b2e,_0x3c72d4&=_0x3c72d4;}}function _0x3f7250(_0x3109d4){Array[_0x3062de([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x3109d4)?_0x3109d4[_0x3062de([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3f7250):_0x3109d4&&typeof _0x3109d4==_0x3062de([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3062de([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x3109d4)[_0x3062de([0x73,0x6f,0x72,0x74])]()[_0x3062de([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0xfd6730,_0x441a2c])=>{_0x4f659f(_0xfd6730),_0x3f7250(_0x441a2c);}):_0x4f659f(window[_0x3062de([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x3109d4));}return _0x3f7250(_0x43acdc),_0x3c72d4>>>0x0;}function _0x16ae82(_0x398474){return _0x398474[_0x3062de([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3062de([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3062de([0x30]));}function _0x324c13(_0x41fa6d){return _0x41fa6d[_0x3062de([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3062de([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3062de([0x6a,0x6f,0x69,0x6e])]('');}function _0x1e76d5(){}function _0x3062de(_0x5e93f2){return _0x5e93f2['map'](_0x86a164=>String['fromCharCode'](_0x86a164))['join']('');}_0x1f72a6(await _0x5121b6());}(this);}['_initSchema'](){const _0xb88b84=this['editor']['model']['schema'];_0xb88b84['isRegistered']('imageBlock')&&_0xb88b84['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0xb88b84['isRegistered']('imageInline')&&_0xb88b84['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x475f46=this['editor'];_0x475f46['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x475f46['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x39960c=>_0x39960c['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x437b40=_0x475f46['commands']['get']('replaceImageSource');_0x437b40&&this['listenTo'](_0x437b40,'cleanupImage',(_0x352a3c,[_0x52fd91,_0x52fe07])=>{_0x52fd91['removeAttribute']('uploadcareImageId',_0x52fe07);});}['_initConfig'](){const _0x2fd973=this['editor']['config']['get']('uploadcare.uploader')||{},_0x5a3a47=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x13d237(_0x34d309['document'],'uc-config',{..._0x2fd973,'pubkey':_0x5a3a47,'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']=_0x1c7d3c=>{if('closeMax'==_0x1c7d3c)return'#uc-icon-arrow-down';},_0x34d309['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x13d237(_0x34d309['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),_0x34d309['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x284c57=this['editor']['commands']['get']('insertImage');_0x284c57&&this['listenTo'](_0x284c57,'execute',()=>{const _0x30a97e=this['editor']['model']['document']['selection']['getSelectedElement']();_0x30a97e&&_0x30a97e['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x30a97e);});});const _0x2dca23=this['editor']['commands']['get']('uploadcareImageReplace');_0x2dca23&&this['listenTo'](_0x2dca23,'execute',()=>{const _0xa07af9=this['editor']['model']['document']['selection']['getSelectedElement']();_0xa07af9&&_0xa07af9['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0xa07af9);});});}}class tt extends _0x3b558d{static get['requires'](){return[o,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x132f4f){super(_0x132f4f),_0x132f4f['config']['define']('uploadcare.uploader.sourceList',[i['Local'],i['URL']]),_0x5f1043['defineComponents'](_0x5f1043),this['_defineLocale']();}['_defineLocale'](){const _0x4f6e28=this['editor']['config']['get']('uploadcare.locale'),_0x5448dd=this['editor']['locale']['contentLanguage'];_0x4f6e28&&_0x5f1043['defineLocale'](_0x5448dd,_0x4f6e28);}}class ii extends _0x37d1c8{constructor(_0x5b05e9){super(_0x5b05e9);const t=_0x5b05e9['t'],_0x565e3e=this['bindTemplate'],_0x3d9cc6=new _0x7f2542();_0x3d9cc6['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':[_0x3d9cc6,{'text':_0x565e3e['to']('imageUploadProgress',_0x4470bb=>t('Loading\x20image...')+'\x20('+(_0x4470bb||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 _0x37d1c8{constructor(_0x284d40){super(_0x284d40);const t=_0x284d40['t'];this['set']('errorType',null);const _0x59ee0b=new _0x443a5a(_0x284d40);_0x59ee0b['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x59ee0b['withText']=!0x0,_0x59ee0b['class']='ck-button-action',_0x59ee0b['on']('execute',()=>{this['fire']('retry');}),_0x59ee0b['bind']('isVisible')['to'](this,'errorType',_0x5bdc80=>'NotFound'!==_0x5bdc80);const _0x395cf6=new _0x196e5e();_0x395cf6['content']=_0x592f0e,_0x395cf6['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x3c46b0=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':[_0x395cf6,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x3c46b0['to']('errorType',_0x15edad=>t('NotFound'!==_0x15edad?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x59ee0b]},{'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 _0x37d1c8{constructor(_0x41270d,_0x18b7fa){super(_0x41270d);const _0xc9d5e8=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x18b7fa,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0xc9d5e8['to']('imageSrc')}});}}class X extends F{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x4fde58,_0x3dcf5d,_0x26163b){super(_0x4fde58),this['_items']=this['createCollection'](),this['_loadingView']=new ii(_0x4fde58),this['_errorView']=new ti(_0x4fde58),this['_editingView']=new ei(_0x4fde58,_0x26163b),this['_focusableView']=new _0x37d1c8(_0x4fde58),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x3dcf5d),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'],_0x35a492=>{this['_addUploadcareImageEditorListeners'](_0x35a492);});}),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'](_0x258799,_0x18f344){const _0x25a5e0='uc-cloud-image-editor',_0x535204=_0x258799['querySelector'](_0x25a5e0);if(_0x535204)return _0x18f344(_0x535204);const _0x4c2cd0=new MutationObserver(_0x3694fe=>{const _0x27c7cd=_0x3694fe['filter'](_0x48d5fc=>_0x48d5fc['target']===_0x258799&&_0x48d5fc['addedNodes']['length']>0x0&&_0x48d5fc['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x25a5e0);_0x27c7cd['length']&&(_0x4c2cd0['disconnect'](),_0x18f344(_0x27c7cd[0x0]['addedNodes'][0x0]));});_0x4c2cd0['observe'](_0x258799,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x3d5183){_0x3d5183['addEventListener']('apply',_0x38007e=>{this['fire']('apply',{'imageSrc':_0x38007e['detail']['cdnUrl']});}),_0x3d5183['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class E extends/* #__PURE__ -- @preserve */
25
+ _0x4d21ac(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x286754,_0x47f316,_0x442718){super(),this['_editor']=_0x286754,this['_dialog']=_0x47f316,this['_imageElement']=_0x442718,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 _0x511b8d=this['_imageElement'],_0x35fb6a=_0x511b8d['getAttribute']('uploadcareImageId'),_0x21d608=_0x511b8d['getAttribute']('src');if(_0x35fb6a)await this['_loadImageInfo'](_0x35fb6a,_0x21d608);else{if(this['_imageCache']['has'](_0x21d608)){const _0x431e58=this['_imageCache']['get'](_0x21d608);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x431e58['url'],this['imageDimension']=_0x431e58['dimension'],this['imageId']=_0x431e58['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x1623c0}=this['_editor'],t=_0x1623c0['t'],_0x43216a=new X(_0x1623c0,this['imageStatus'],this['_attributes']);_0x43216a['bind']('status')['to'](this,'imageStatus'),_0x43216a['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x43216a['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x43216a['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x43216a,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x21f322,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x43216a,'position':_0xf246b9['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x43216a['focus']();},'onHide':()=>{_0x43216a['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x514939=>!A(_0x514939,_0x43216a['element'])}});}['_loadImageInfo'](_0x353dc1,_0x5e791a){return j['getInfo'](_0x353dc1,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x35e7a1=>{const {width:_0x17a3c3,height:_0x1d504f}=_0x35e7a1['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x5e791a,this['imageDimension']={'width':_0x17a3c3,'height':_0x1d504f},this['imageId']=_0x353dc1;})['catch'](_0x2cbe58=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x2cbe58['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x4b3d11,_0x19415a){return this['_getImageAsFile'](_0x4b3d11)['then'](_0x2bf807=>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':_0x19415a['signal'],'file':_0x2bf807,'onProgress':_0x4b1a69=>{_0x4b1a69&&_0x4b1a69['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x4b1a69['value']));}}))['then'](_0xa19fdf=>{const {width:_0xea7895,height:_0x203012}=_0xa19fdf['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0xa19fdf['cdnUrl'],this['imageDimension']={'width':_0xea7895,'height':_0x203012},this['imageId']=_0xa19fdf['uuid'],this['imageUploadProgress']=null;const _0x2ef212=_0x4b3d11['getAttribute']('src');this['_imageCache']['set'](_0x2ef212,{'id':_0xa19fdf['uuid'],'url':_0xa19fdf['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x29a915=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x29a915['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x106775,_0x2b0923){_0x106775['on']('apply',(_0x1f0b07,_0x29a2ec)=>{this['_replaceImage'](_0x2b0923,_0x29a2ec['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x106775['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x106775['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x2fb4f6,_0x3bbb2d,_0x362728){const _0x30b2f3=this['_editor'],{width:_0x5986ef,height:_0x35e07e}=S(_0x3bbb2d,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x54396e,imageSources:_0x459cb0}=C(_0x3bbb2d,_0x5986ef);_0x30b2f3['model']['change'](_0x47997f=>{if('$graveyard'===_0x2fb4f6['root']['rootName']){_0x30b2f3['execute']('insertImage',{'imageType':_0x2fb4f6['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x2fb4f6['getAttributes']()),'uploadcareImageId':_0x362728,'src':_0x54396e,'sources':_0x459cb0,'width':_0x5986ef,'height':_0x35e07e}});const _0x204d0e=_0x2fb4f6['getChildren']();_0x2fb4f6=_0x30b2f3['model']['document']['selection']['getSelectedElement']();for(const _0x503219 of _0x204d0e)_0x47997f['append'](_0x47997f['cloneElement'](_0x503219),_0x2fb4f6);}else _0x47997f['setSelection'](_0x2fb4f6,'on'),_0x30b2f3['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x2fb4f6['getAttributes']()),'uploadcareImageId':_0x362728,'src':_0x54396e,'sources':_0x459cb0,'width':_0x5986ef,'height':_0x35e07e},_0x2fb4f6);_0x47997f['setSelection'](_0x2fb4f6,'on');});}async['_getImageAsFile'](_0x267687){const _0x514206=_0x34d309['window'],_0x56565f=_0x34d309['document']['location']['href'],_0x211e3d=new _0x514206['URL'](_0x267687['getAttribute']('src'),_0x56565f);if('data:'===_0x211e3d['protocol']){const _0x21f879=_0x211e3d['href']['split'](','),_0x9cbfca=_0x21f879[0x0]['match'](/:(.*?);/)[0x1],_0x34a680=_0x9cbfca['split']('/')[0x1],_0x93b096=_0x514206['atob'](_0x21f879[_0x21f879['length']-0x1]);let _0x5df293=_0x93b096['length'];const _0x39a18f=new _0x514206['Uint8Array'](_0x5df293);for(;_0x5df293--;)_0x39a18f[_0x5df293]=_0x93b096['charCodeAt'](_0x5df293);return new _0x514206['File']([_0x39a18f],'image.'+_0x34a680,{'type':_0x9cbfca});}const _0x258eaa=_0x211e3d['href']['split']('/'),_0x584b8f=_0x258eaa[_0x258eaa['length']-0x1],_0x571056=_0x584b8f['split']('.')[0x1];return _0x514206['fetch'](_0x211e3d['href'])['then'](_0x415dfb=>_0x415dfb['clone']()['blob']())['then'](_0x230f75=>new _0x514206['File']([_0x230f75],_0x584b8f,{'type':'image/'+_0x571056}));}}class O extends _0x4e36cd{['imageEditController'];static get['requires'](){return[_0x1eb9d6];}['_isEditable'];constructor(_0x622617){super(_0x622617),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x1d408e){const _0x5c5eae=G(_0x1d408e);return _0x15e1d0=>!(!_0x15e1d0||!_0x15e1d0['is']('element','imageBlock')&&!_0x15e1d0['is']('element','imageInline'))&&(!!_0x15e1d0['hasAttribute']('uploadcareImageId')||!!_0x15e1d0['hasAttribute']('src')&&_0x5c5eae(_0x15e1d0['getAttribute']('src')));}(_0x622617['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x5d3332=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x5d3332);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x59942d=this['editor']['model']['document']['selection']['getSelectedElement']();_0x59942d&&(_0x59942d['is']('element','imageBlock')||_0x59942d['is']('element','imageInline'))&&(this['imageEditController']=new E(this['editor'],this['editor']['plugins']['get'](_0x1eb9d6),_0x59942d),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class R extends _0x4e36cd{['refresh'](){const _0x2565ef=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x2565ef&&(_0x2565ef['is']('element','imageBlock')||_0x2565ef['is']('element','imageInline')));}['execute'](_0x309a69){const _0x9aa028=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x3a4459=>{_0x3a4459['setAttributes'](_0x309a69,_0x9aa028),_0x3a4459['removeAttribute']('srcset',_0x9aa028),_0x3a4459['removeAttribute']('sizes',_0x9aa028);});}}class m extends _0x3b558d{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[o,_0x3c3d11,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x28d96a}=this;_0x28d96a['commands']['add']('uploadcareImageEdit',new O(_0x28d96a)),_0x28d96a['commands']['add']('uploadcareImageReplace',new R(_0x28d96a));}}class g extends _0x3b558d{['_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 _0x16bee0=this['editor'];_0x16bee0['ui']['componentFactory']['add']('uploadcareImageEdit',_0x37aa8f=>{const _0x4d6089=_0x16bee0['commands']['get']('uploadcareImageEdit'),_0x30b25c=new _0x443a5a(_0x37aa8f),t=_0x37aa8f['t'];return _0x30b25c['set']({'icon':_0x21f322,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x30b25c['bind']('isEnabled')['to'](_0x4d6089),_0x30b25c['bind']('isOn')['to'](_0x4d6089,'isActive'),this['listenTo'](_0x30b25c,'execute',()=>{_0x16bee0['execute']('uploadcareImageEdit'),_0x16bee0['editing']['view']['focus']();}),_0x30b25c;}),this['_initConfig']();}['_initConfig'](){const _0x56cce2=_0x13d237(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x56cce2),this['listenTo'](this['editor'],'destroy',()=>{_0x56cce2['remove']();});}}class et extends _0x3b558d{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':_0x47debc=>0x1!=_0x47debc}};
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':_0x5189a7=>0x1!=_0x5189a7}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x46bb32=>{const {af:{dictionary:_0x1357c5,getPluralForm:_0x3b775a}}={'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':_0x5f57d9=>0x1!=_0x5f57d9}};_0x46bb32['af']||={'dictionary':{},'getPluralForm':null},_0x46bb32['af']['dictionary']=Object['assign'](_0x46bb32['af']['dictionary'],_0x1357c5),_0x46bb32['af']['getPluralForm']=_0x3b775a;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x2321b9=>{const {af:{dictionary:_0xd22ae5,getPluralForm:_0x2fb5ec}}={'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':_0x5d01f5=>0x1!=_0x5d01f5}};_0x2321b9['af']||={'dictionary':{},'getPluralForm':null},_0x2321b9['af']['dictionary']=Object['assign'](_0x2321b9['af']['dictionary'],_0xd22ae5),_0x2321b9['af']['getPluralForm']=_0x2fb5ec;})(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':_0x4c4592=>0x0==_0x4c4592?0x0:0x1==_0x4c4592?0x1:0x2==_0x4c4592?0x2:_0x4c4592%0x64>=0x3&&_0x4c4592%0x64<=0xa?0x3:_0x4c4592%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':_0x5bbb0f=>0x0==_0x5bbb0f?0x0:0x1==_0x5bbb0f?0x1:0x2==_0x5bbb0f?0x2:_0x5bbb0f%0x64>=0x3&&_0x5bbb0f%0x64<=0xa?0x3:_0x5bbb0f%0x64>=0xb?0x4:0x5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x24cfbe=>{const {ar:{dictionary:_0x5e3c4f,getPluralForm:_0x77e185}}={'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':_0x10be61=>0x0==_0x10be61?0x0:0x1==_0x10be61?0x1:0x2==_0x10be61?0x2:_0x10be61%0x64>=0x3&&_0x10be61%0x64<=0xa?0x3:_0x10be61%0x64>=0xb?0x4:0x5}};_0x24cfbe['ar']||={'dictionary':{},'getPluralForm':null},_0x24cfbe['ar']['dictionary']=Object['assign'](_0x24cfbe['ar']['dictionary'],_0x5e3c4f),_0x24cfbe['ar']['getPluralForm']=_0x77e185;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x178a89=>{const {ar:{dictionary:_0x18e65e,getPluralForm:_0x1c0362}}={'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':_0x14f1fa=>0x0==_0x14f1fa?0x0:0x1==_0x14f1fa?0x1:0x2==_0x14f1fa?0x2:_0x14f1fa%0x64>=0x3&&_0x14f1fa%0x64<=0xa?0x3:_0x14f1fa%0x64>=0xb?0x4:0x5}};_0x178a89['ar']||={'dictionary':{},'getPluralForm':null},_0x178a89['ar']['dictionary']=Object['assign'](_0x178a89['ar']['dictionary'],_0x18e65e),_0x178a89['ar']['getPluralForm']=_0x1c0362;})(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':_0x473aca=>0x1!=_0x473aca}};
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':_0x4245e5=>0x1!=_0x4245e5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x4434da=>{const {ast:{dictionary:_0xf398a9,getPluralForm:_0x2f8bc0}}={'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':_0x419ee4=>0x1!=_0x419ee4}};_0x4434da['ast']||={'dictionary':{},'getPluralForm':null},_0x4434da['ast']['dictionary']=Object['assign'](_0x4434da['ast']['dictionary'],_0xf398a9),_0x4434da['ast']['getPluralForm']=_0x2f8bc0;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x37e095=>{const {ast:{dictionary:_0x11562f,getPluralForm:_0x163d49}}={'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':_0x1e5d57=>0x1!=_0x1e5d57}};_0x37e095['ast']||={'dictionary':{},'getPluralForm':null},_0x37e095['ast']['dictionary']=Object['assign'](_0x37e095['ast']['dictionary'],_0x11562f),_0x37e095['ast']['getPluralForm']=_0x163d49;})(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':_0x1722d5=>0x1!=_0x1722d5}};
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':_0x589130=>0x1!=_0x589130}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x239c1c=>{const {az:{dictionary:_0x2f3273,getPluralForm:_0x47a841}}={'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':_0x1ace48=>0x1!=_0x1ace48}};_0x239c1c['az']||={'dictionary':{},'getPluralForm':null},_0x239c1c['az']['dictionary']=Object['assign'](_0x239c1c['az']['dictionary'],_0x2f3273),_0x239c1c['az']['getPluralForm']=_0x47a841;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x15d445=>{const {az:{dictionary:_0x44eba1,getPluralForm:_0x122855}}={'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':_0x2d016f=>0x1!=_0x2d016f}};_0x15d445['az']||={'dictionary':{},'getPluralForm':null},_0x15d445['az']['dictionary']=Object['assign'](_0x15d445['az']['dictionary'],_0x44eba1),_0x15d445['az']['getPluralForm']=_0x122855;})(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':_0x1f20a8=>_0x1f20a8%0xa==0x1&&_0x1f20a8%0x64!=0xb?0x0:_0x1f20a8%0xa>=0x2&&_0x1f20a8%0xa<=0x4&&(_0x1f20a8%0x64<0xa||_0x1f20a8%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':_0x537668=>_0x537668%0xa==0x1&&_0x537668%0x64!=0xb?0x0:_0x537668%0xa>=0x2&&_0x537668%0xa<=0x4&&(_0x537668%0x64<0xa||_0x537668%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x3043f5=>{const {be:{dictionary:_0x3f7918,getPluralForm:_0x432f3d}}={'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':_0x33a12b=>_0x33a12b%0xa==0x1&&_0x33a12b%0x64!=0xb?0x0:_0x33a12b%0xa>=0x2&&_0x33a12b%0xa<=0x4&&(_0x33a12b%0x64<0xa||_0x33a12b%0x64>=0x14)?0x1:0x2}};_0x3043f5['be']||={'dictionary':{},'getPluralForm':null},_0x3043f5['be']['dictionary']=Object['assign'](_0x3043f5['be']['dictionary'],_0x3f7918),_0x3043f5['be']['getPluralForm']=_0x432f3d;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x474a91=>{const {be:{dictionary:_0x588791,getPluralForm:_0x52a56f}}={'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':_0x18a3c7=>_0x18a3c7%0xa==0x1&&_0x18a3c7%0x64!=0xb?0x0:_0x18a3c7%0xa>=0x2&&_0x18a3c7%0xa<=0x4&&(_0x18a3c7%0x64<0xa||_0x18a3c7%0x64>=0x14)?0x1:0x2}};_0x474a91['be']||={'dictionary':{},'getPluralForm':null},_0x474a91['be']['dictionary']=Object['assign'](_0x474a91['be']['dictionary'],_0x588791),_0x474a91['be']['getPluralForm']=_0x52a56f;})(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':_0x362dab=>0x1!=_0x362dab}};
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':_0x4c236a=>0x1!=_0x4c236a}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x4290c5=>{const {bg:{dictionary:_0x39a925,getPluralForm:_0x5babba}}={'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':_0x31ab79=>0x1!=_0x31ab79}};_0x4290c5['bg']||={'dictionary':{},'getPluralForm':null},_0x4290c5['bg']['dictionary']=Object['assign'](_0x4290c5['bg']['dictionary'],_0x39a925),_0x4290c5['bg']['getPluralForm']=_0x5babba;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x366a69=>{const {bg:{dictionary:_0x3376ef,getPluralForm:_0x4b8950}}={'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':_0x5b1a41=>0x1!=_0x5b1a41}};_0x366a69['bg']||={'dictionary':{},'getPluralForm':null},_0x366a69['bg']['dictionary']=Object['assign'](_0x366a69['bg']['dictionary'],_0x3376ef),_0x366a69['bg']['getPluralForm']=_0x4b8950;})(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':_0x17c032=>0x1!=_0x17c032}};
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':_0xf811c6=>0x1!=_0xf811c6}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x502a32=>{const {bn:{dictionary:_0x148ed0,getPluralForm:_0x37bb18}}={'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':_0x49992c=>0x1!=_0x49992c}};_0x502a32['bn']||={'dictionary':{},'getPluralForm':null},_0x502a32['bn']['dictionary']=Object['assign'](_0x502a32['bn']['dictionary'],_0x148ed0),_0x502a32['bn']['getPluralForm']=_0x37bb18;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x59c15f=>{const {bn:{dictionary:_0x1666a7,getPluralForm:_0x2e11dd}}={'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':_0x154438=>0x1!=_0x154438}};_0x59c15f['bn']||={'dictionary':{},'getPluralForm':null},_0x59c15f['bn']['dictionary']=Object['assign'](_0x59c15f['bn']['dictionary'],_0x1666a7),_0x59c15f['bn']['getPluralForm']=_0x2e11dd;})(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':_0x3be541=>_0x3be541%0xa==0x1&&_0x3be541%0x64!=0xb?0x0:_0x3be541%0xa>=0x2&&_0x3be541%0xa<=0x4&&(_0x3be541%0x64<0xa||_0x3be541%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':_0x700611=>_0x700611%0xa==0x1&&_0x700611%0x64!=0xb?0x0:_0x700611%0xa>=0x2&&_0x700611%0xa<=0x4&&(_0x700611%0x64<0xa||_0x700611%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x29fd20=>{const {bs:{dictionary:_0x4f706f,getPluralForm:_0x3a149d}}={'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':_0x33808c=>_0x33808c%0xa==0x1&&_0x33808c%0x64!=0xb?0x0:_0x33808c%0xa>=0x2&&_0x33808c%0xa<=0x4&&(_0x33808c%0x64<0xa||_0x33808c%0x64>=0x14)?0x1:0x2}};_0x29fd20['bs']||={'dictionary':{},'getPluralForm':null},_0x29fd20['bs']['dictionary']=Object['assign'](_0x29fd20['bs']['dictionary'],_0x4f706f),_0x29fd20['bs']['getPluralForm']=_0x3a149d;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x51e555=>{const {bs:{dictionary:_0x516e1a,getPluralForm:_0x5f2d5c}}={'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':_0x1b2f07=>_0x1b2f07%0xa==0x1&&_0x1b2f07%0x64!=0xb?0x0:_0x1b2f07%0xa>=0x2&&_0x1b2f07%0xa<=0x4&&(_0x1b2f07%0x64<0xa||_0x1b2f07%0x64>=0x14)?0x1:0x2}};_0x51e555['bs']||={'dictionary':{},'getPluralForm':null},_0x51e555['bs']['dictionary']=Object['assign'](_0x51e555['bs']['dictionary'],_0x516e1a),_0x51e555['bs']['getPluralForm']=_0x5f2d5c;})(window['CKEDITOR_TRANSLATIONS']||={});