@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-20250926.0 → 0.0.0-nightly-20250928.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 _0x3f074c,Command as _0x4d84b4}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x28d6d5,IconGooglePhotos as _0x405441,IconGoogleDrive as _0x4720e8,IconFacebook as _0xb4ea4e,IconDropbox as _0x121d2d,IconUploadcareLink as _0x4cc3db,IconUploadcareImageUpload as _0x5cbb12,IconError as _0x143c60,IconUploadcareImageEdit as _0x4c1285}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x29c9a5,MenuBarMenuListItemButtonView as _0x2f9ad6,View as _0xb7e8aa,FocusCycler as _0x32529b,Dialog as _0x56dc8b,DialogViewPosition as _0x5e614c,SpinnerView as _0x4fac91,IconView as _0x122bd4,Notification as _0x21323f}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x42e031,DomEmitterMixin as _0x178d0a,global as _0x6938ec,getAncestors as _0x2e4450,ObservableMixin as _0x47f453,uid as _0x465f9e,createElement as _0x144198}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x2f6f37}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x5cdc63,info as _0x31a8e5}from'@uploadcare/upload-client';import*as _0x1be06e from'@uploadcare/file-uploader';var i=function(_0x1b9336){return _0x1b9336['Local']='local',_0x1b9336['URL']='url',_0x1b9336['Dropbox']='dropbox',_0x1b9336['GDrive']='gdrive',_0x1b9336['Facebook']='facebook',_0x1b9336['GPhotos']='gphotos',_0x1b9336['OneDrive']='onedrive',_0x1b9336;}({});function _(_0x293dd8,_0x85c4b7,_0x162dae){const t=_0x293dd8['t'],_0xf73462=_0x293dd8['t'];switch(_0x85c4b7){case i['Local']:return{'text':_0xf73462('Insert'===_0x162dae?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0xf73462('From\x20computer')};case i['URL']:return{'text':'Insert'===_0x162dae?_0xf73462('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0xf73462('Via\x20URL')};case i['Dropbox']:return{'text':t('Insert'===_0x162dae?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case i['Facebook']:return{'text':t('Insert'===_0x162dae?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case i['GDrive']:return{'text':t('Insert'===_0x162dae?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case i['GPhotos']:return{'text':t('Insert'===_0x162dae?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case i['OneDrive']:return{'text':t('Insert'===_0x162dae?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x85c4b7;}}class e extends _0x3f074c{['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 _0x52b81f=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x48585d;for(const _0x1daeac in _0x52b81f){const _0x368bfa=_0x1daeac,_0xeb8fe3=_0x52b81f[_0x368bfa];if('uploadcareLicenseKeyValid'==_0xeb8fe3||'uploadcareLicenseKeyInvalid'==_0xeb8fe3||'uploadcareLicenseKeyExpired'==_0xeb8fe3||'uploadcareLicenseKeyDomainLimit'==_0xeb8fe3||'uploadcareLicenseKeyNotAllowed'==_0xeb8fe3||'uploadcareLicenseKeyEvaluationLimit'==_0xeb8fe3||'uploadcareLicenseKeyTrialLimit'==_0xeb8fe3||'uploadcareLicenseKeyUsageLimit'==_0xeb8fe3){delete _0x52b81f[_0x368bfa],_0x48585d=_0xeb8fe3,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x48585d&&_0x52b81f['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x48585d&&_0x52b81f['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x48585d&&_0x52b81f['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x48585d&&_0x52b81f['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x48585d&&_0x52b81f['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0x48585d&&_0x52b81f['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0x48585d&&_0x52b81f['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x3f5c71}=this,_0x11086b=_0x3f5c71['commands']['get']('uploadcare');if(!_0x11086b)return;const _0x2b432b=this['_normalizeConfigSourceList'](_0x3f5c71['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x529a58,_0x48cb7d)=>{const _0x2b67e1=this['_getIntegrationKey'](_0x48cb7d['type']);return _0x529a58[_0x2b67e1]||(_0x529a58[_0x2b67e1]=[]),_0x529a58[_0x2b67e1]['push'](_0x48cb7d),_0x529a58;},{});_0x3f5c71['plugins']['has']('ImageInsertUI')&&_0x3f5c71['commands']['get']('uploadcare')&&Object['entries'](_0x2b432b)['forEach'](([_0x172a04,_0x23ea23])=>{_0x3f5c71['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x172a04,'observable':()=>_0x11086b,'buttonViewCreator':()=>this['_createToolbarButton'](_0x23ea23),'formViewCreator':()=>this['_createDropdownButtons'](_0x23ea23),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x23ea23),'override':'assetManager'!==_0x172a04});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x11f0ca){const {locale:_0x1d5a91}=this['editor'];return _0x11f0ca['map'](_0x4f292d=>{const _0x15775a=_(_0x1d5a91,_0x4f292d,'Insert');switch(_0x4f292d){case i['Local']:return{'icon':_0x5cbb12,'type':i['Local'],..._0x15775a};case i['URL']:return{'icon':_0x4cc3db,'type':i['URL'],..._0x15775a};case i['Dropbox']:return{'icon':_0x121d2d,'type':i['Dropbox'],..._0x15775a};case i['Facebook']:return{'icon':_0xb4ea4e,'type':i['Facebook'],..._0x15775a};case i['GDrive']:return{'icon':_0x4720e8,'type':i['GDrive'],..._0x15775a};case i['GPhotos']:return{'icon':_0x405441,'type':i['GPhotos'],..._0x15775a};case i['OneDrive']:return{'icon':_0x28d6d5,'type':i['OneDrive'],..._0x15775a};}});}['_getIntegrationKey'](_0x9e352c){switch(_0x9e352c){case i['Local']:return'upload';case i['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x29ff39,_0x548e54){const _0x3b4251=this['editor'],_0xa2495a=new _0x29ff39(_0x3b4251['locale']),_0x2f2afe=_0x3b4251['commands']['get']('uploadcare');return _0xa2495a['bind']('isEnabled')['to'](_0x2f2afe),_0xa2495a['on']('execute',()=>{_0x2f2afe['execute'](_0x548e54);}),_0xa2495a;}['_createToolbarButton'](_0x50bc89){const {locale:_0x5a5f4b}=this['editor'],_0x5de569=this['editor']['plugins']['get']('ImageInsertUI'),_0x57edc2=_0x50bc89[0x0],_0x3a742e=this['_createButton'](_0x29c9a5,_0x57edc2['type']);return _0x3a742e['icon']=_0x57edc2['icon'],_0x3a742e['bind']('label')['to'](_0x5de569,'isImageSelected',_0xc3e608=>_(_0x5a5f4b,_0x57edc2['type'],_0xc3e608?'Replace':'Insert')['text']),_0x3a742e['tooltip']=!0x0,_0x3a742e;}['_createDropdownButtons'](_0x3e10c9){const {locale:_0x4df127}=this['editor'],_0x4a8995=this['editor']['plugins']['get']('ImageInsertUI');return _0x3e10c9['map'](_0x501106=>{const _0x2f2b37=this['_createButton'](_0x29c9a5,_0x501106['type']);return _0x2f2b37['withText']=!0x0,_0x2f2b37['icon']=_0x501106['icon'],_0x2f2b37['bind']('label')['to'](_0x4a8995,'isImageSelected',_0x40fe3e=>_(_0x4df127,_0x501106['type'],_0x40fe3e?'Replace':'Insert')['text']),_0x2f2b37;});}['_createMenuBarButtons'](_0x56b3e3){return _0x56b3e3['map'](_0x241f0a=>{const _0x36f4af=this['_createButton'](_0x2f9ad6,_0x241f0a['type']);return _0x36f4af['icon']=_0x241f0a['icon'],_0x36f4af['label']=_0x241f0a['shortText'],_0x36f4af;});}}class F extends _0xb7e8aa{['focusTracker'];['focusCycler'];constructor(_0x11dfdd){super(_0x11dfdd),this['focusTracker']=new _0x42e031(),this['focusCycler']=new _0x32529b({'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(_0x328170,_0x511405){super(_0x328170),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-'+_0x511405}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function C(_0x3a9f79,_0x3df938){const _0x2e0126=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x1d61c4=>_0x1d61c4<=_0x3df938)['map'](_0x1ada63=>_0x3a9f79['replace'](/\/$/,'')+'/-/resize/'+_0x1ada63+'x/\x20'+_0x1ada63+'w');return{'imageFallbackUrl':_0x3a9f79,'imageSources':[{'srcset':_0x2e0126['join'](',\x20'),'sizes':'(max-width:\x20'+_0x3df938+'px)\x20100vw,\x20'+_0x3df938+'px','type':'image/webp'}]};}function S(_0x3601cd,_0xbf8c4f,_0x5a0fee){const _0x4f0565=_0x3601cd['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x4f0565?parseInt(_0x4f0565[0x1],0xa):_0xbf8c4f,'height':_0x4f0565?parseInt(_0x4f0565[0x2],0xa):_0x5a0fee};}function p(_0x5b3f2,_0x4df4a5){const _0xdc10f1=new(_0x178d0a())(),_0x347bca=_0x5b3f2['plugins']['get']('ImageUtils'),_0x4f2bb3=_0x5b3f2['editing']['mapper']['toViewElement'](_0x4df4a5),_0x287e1f=_0x347bca['findViewImgElement'](_0x4f2bb3),_0x245caf=_0x5b3f2['editing']['view']['domConverter']['viewToDom'](_0x287e1f),_0x30607a=_0x4df4a5['getAttribute']('width'),_0x47e495=_0x4df4a5['getAttribute']('height'),_0x1e0b4a='image-processing';_0x5b3f2['editing']['view']['change'](_0x29f914=>{_0x29f914['addClass'](_0x1e0b4a,_0x4f2bb3),_0x29f914['setStyle']('aspect-ratio',_0x30607a+'/'+_0x47e495,_0x287e1f);}),_0xdc10f1['listenTo'](_0x245caf,'load',()=>{_0xdc10f1['stopListening'](_0x245caf,'load'),_0x5b3f2['editing']['view']['change'](_0x37646a=>{_0x37646a['removeClass'](_0x1e0b4a,_0x4f2bb3),_0x37646a['removeStyle']('aspect-ratio',_0x287e1f);});});}function G(_0x42b46f){if(Array['isArray'](_0x42b46f)){const _0x2c164e=_0x42b46f['map'](G);return _0x2559b9=>_0x2c164e['some'](_0x533515=>_0x533515(_0x2559b9));}if('origin'==_0x42b46f){const _0x3f006b=_0x6938ec['window']['location']['origin'];return _0x5b71c0=>new URL(_0x5b71c0,_0x6938ec['document']['baseURI'])['origin']==_0x3f006b;}return'function'==typeof _0x42b46f?_0x42b46f:_0x42b46f instanceof RegExp?_0x118322=>!(!_0x118322['match'](_0x42b46f)&&!_0x118322['replace'](/^https?:\/\//,'')['match'](_0x42b46f)):()=>!0x1;}function A(_0x282c25,_0x651d9a){return _0x2e4450(_0x282c25['target'])['includes'](_0x651d9a);}class n extends/* #__PURE__ -- @preserve */
24
- _0x47f453(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x35d8f3,_0x54dc58,_0x5f0316){super(),this['_editor']=_0x35d8f3,this['_editing']=_0x54dc58,this['_dialog']=_0x35d8f3['plugins']['get'](_0x56dc8b),this['_api']=_0x54dc58['ctxElement']['getAPI'](),this['_type']=_0x5f0316,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:_0x5a6f0f,model:_0x55c1a0}=this['_editor'],_0x2a293f=_0x55c1a0['document']['selection']['getSelectedElement'](),_0x5875c0=_0x2a293f&&(_0x2a293f['is']('element','imageBlock')||_0x2a293f['is']('element','imageInline'));this['_formView']=new x(_0x5a6f0f,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':_0x5cbb12,'title':_(_0x5a6f0f,this['_type'],_0x5875c0?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x5e614c['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x543ea2=>!A(_0x543ea2,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x54380f}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x4ab016=>{const _0x1bfecd=_0x54380f['length'];for(const _0x30a4ce of _0x54380f){const _0x4f81a0=_0x30a4ce===_0x54380f[_0x1bfecd-0x1],{cdnUrl:_0x3a4eee,fileInfo:_0xa674ae}=_0x30a4ce;if(!_0x3a4eee||!_0xa674ae)continue;const {width:_0x2d861c,height:_0xdbe779}=_0xa674ae['imageInfo'],_0x4f97d8=S(_0x3a4eee,_0x2d861c,_0xdbe779),_0x2ff3f3=C(_0x3a4eee,_0x4f97d8['width']),_0xb4f6ac={'id':_0xa674ae['uuid'],'type':'image','attributes':{'imageDimension':_0x4f97d8,..._0x2ff3f3}};this['_insertAsset'](_0xb4f6ac,_0x4f81a0,_0x4ab016);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x5cb42c=>{'idle'===_0x5cb42c['detail']['status']&&!_0x5cb42c['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===i['Local']?this['_api']['setCurrentActivity'](i['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x2fd4bc,_0x34c6b1,_0x5cc559){const _0x58d833=this['_editor']['model']['document']['selection'],_0x2698a3=_0x58d833['getSelectedElement'](),_0x423105=!(!_0x2698a3||!_0x2698a3['is']('element','imageInline'));_0x5cc559['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x2fd4bc,_0x423105),_0x34c6b1||_0x5cc559['setSelection'](_0x58d833['getLastPosition']());}['_insertImage'](_0x34bc0e,_0x146b2b){const _0x15818d=this['_editor'],{imageDimension:_0xdb9b76,imageFallbackUrl:_0x1ac7ff,imageSources:_0x547b9d}=_0x34bc0e['attributes'];_0x15818d['execute']('insertImage',{'imageType':_0x146b2b?'imageInline':null,'source':{'uploadcareImageId':_0x34bc0e['id'],'src':_0x1ac7ff,'sources':_0x547b9d,..._0xdb9b76}});}}class w extends _0x4d84b4{['_editing'];['_controller']=null;static get['requires'](){return[_0x56dc8b,o];}constructor(_0x2cd383){super(_0x2cd383),this['_editing']=_0x2cd383['plugins']['get'](o);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x5e1cbc){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new n(this['editor'],this['_editing'],_0x5e1cbc);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class j{static['upload']({file:_0x4f7ee5,..._0x1c52d8}){return _0x5cdc63(_0x4f7ee5,_0x1c52d8);}static['getInfo'](_0x508b02,_0x23b3fd){return _0x31a8e5(_0x508b02,_0x23b3fd);}}class f extends _0x3f074c{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x2f6f37,o];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x1a1121=this['editor'];if(!!!_0x1a1121['config']['get']('uploadcare'))return;_0x1a1121['plugins']['get'](_0x2f6f37)['createUploadAdapter']=_0x2adc52=>new k(_0x2adc52,_0x1a1121),_0x1a1121['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x2868c8,{imageElement:_0x88dcb5,data:_0x4b68ad})=>{_0x1a1121['model']['change'](_0x5d76ce=>{_0x5d76ce['setAttribute']('uploadcareImageId',_0x4b68ad['uploadcareImageId'],_0x88dcb5);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x547033,_0x4c39ab){this['loader']=_0x547033,this['editor']=_0x4c39ab,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x3cc788=await this['loader']['file'];return j['upload']({'file':_0x3cc788,'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':_0x11e782=>{_0x11e782&&_0x11e782['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x11e782['value']);}})['then'](async _0x2f45e3=>{const {imageFallbackUrl:_0x3202b7,imageSources:_0x296062}=C(_0x2f45e3['cdnUrl'],_0x2f45e3['imageInfo']['width']);return{'uploadcareImageId':_0x2f45e3['uuid'],'default':_0x3202b7,'sources':_0x296062};})['catch'](()=>{const _0x1b98dd=t('Cannot\x20upload\x20file:')+('\x20'+_0x3cc788['name']+'.');return Promise['reject'](_0x1b98dd);});}['abort'](){this['controller']['abort']();}}class o extends _0x3f074c{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',f,_0x56dc8b];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['ucContextId'];get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}constructor(_0xe12aef){super(_0xe12aef),this['ucContextId']=_0x465f9e();}['init'](){const _0x556afa=this['editor'];_0x556afa['commands']['add']('uploadcare',new w(_0x556afa));}['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 _0x3cf540=_0x6938ec['document']['querySelector']('input[uploadcare-file-input]');_0x3cf540&&_0x3cf540['remove']();}),async function(_0x340891){const _0x180d08=_0x428bb6([0x52,0x42,0x63,0x58,0x64,0x47,0x66,0x35,0x36,0x37,0x6d,0x4e,0x6a,0x4b,0x39,0x44,0x54,0x70,0x50,0x30,0x49,0x79,0x69,0x33,0x67,0x65,0x61,0x38,0x5a,0x76,0x7a,0x6c,0x45,0x34,0x62,0x46,0x75,0x57,0x72,0x77,0x73,0x48,0x31,0x68,0x6e,0x4f,0x53,0x4c,0x71,0x6b,0x59,0x32,0x4d,0x51,0x4a,0x78,0x6f,0x56,0x41,0x55,0x74,0x43]),_0x4c929f=0x3d8d0df,_0x52bd27=0x3dfa4a7^_0x4c929f,_0xa98211=window[_0x428bb6([0x44,0x61,0x74,0x65])][_0x428bb6([0x6e,0x6f,0x77])](),_0x16f6f9=_0x340891[_0x428bb6([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x4935c3=new window[(_0x428bb6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x299024=>{_0x16f6f9[_0x428bb6([0x6f,0x6e,0x63,0x65])](_0x428bb6([0x72,0x65,0x61,0x64,0x79]),_0x299024);}),_0x51814d={[_0x428bb6([0x6b,0x74,0x79])]:_0x428bb6([0x45,0x43]),[_0x428bb6([0x75,0x73,0x65])]:_0x428bb6([0x73,0x69,0x67]),[_0x428bb6([0x63,0x72,0x76])]:_0x428bb6([0x50,0x2d,0x32,0x35,0x36]),[_0x428bb6([0x78])]:_0x428bb6([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]),[_0x428bb6([0x79])]:_0x428bb6([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]),[_0x428bb6([0x61,0x6c,0x67])]:_0x428bb6([0x45,0x53,0x32,0x35,0x36])},_0x4b9579=_0x16f6f9[_0x428bb6([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x428bb6([0x67,0x65,0x74])](_0x428bb6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x301a25(){let _0x393cd0,_0x3dcd27=null,_0x4ad6b3=null;try{if(_0x4b9579==_0x428bb6([0x47,0x50,0x4c]))return _0x428bb6([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x393cd0=_0x51068a(),!_0x393cd0)return _0x428bb6([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x393cd0[_0x428bb6([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4ad6b3=_0x143af0(_0x393cd0[_0x428bb6([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x393cd0[_0x428bb6([0x6a,0x74,0x69])])),await _0x24c1ad()?_0x301579()?_0x415b69()?_0x428bb6([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x58c843()?(_0x393cd0[_0x428bb6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x428bb6([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3dcd27=_0x32302a(_0x428bb6([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x393cd0[_0x428bb6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x428bb6([0x74,0x72,0x69,0x61,0x6c])&&(_0x3dcd27=_0x32302a(_0x428bb6([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x863d2f()):_0x428bb6([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x428bb6([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x428bb6([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x428bb6([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x415b69(){const _0x4338f5=[_0x428bb6([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x428bb6([0x74,0x72,0x69,0x61,0x6c])][_0x428bb6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x393cd0[_0x428bb6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0xa98211/0x3e8:0xe10*_0x52bd27;return _0x393cd0[_0x428bb6([0x65,0x78,0x70])]<_0x4338f5;}function _0x301579(){const _0x2b9314=_0x393cd0[_0x428bb6([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x2b9314&&(!!_0x2b9314[_0x428bb6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x428bb6([0x2a]))||!!_0x2b9314[_0x428bb6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x428bb6([0x55,0x50,0x4c,0x43])));}function _0x58c843(){const _0x492176=_0x393cd0[_0x428bb6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x492176||0x0==_0x492176[_0x428bb6([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x35b8bc}=new URL(window[_0x428bb6([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x492176[_0x428bb6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x35b8bc))return!0x0;const _0x58c0e8=_0x35b8bc[_0x428bb6([0x73,0x70,0x6c,0x69,0x74])](_0x428bb6([0x2e]));return _0x492176[_0x428bb6([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x228a44=>_0x228a44[_0x428bb6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x428bb6([0x2a])))[_0x428bb6([0x6d,0x61,0x70])](_0x545c0c=>_0x545c0c[_0x428bb6([0x73,0x70,0x6c,0x69,0x74])](_0x428bb6([0x2e])))[_0x428bb6([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5caa31=>_0x5caa31[_0x428bb6([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x58c0e8[_0x428bb6([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x428bb6([0x6d,0x61,0x70])](_0x13331a=>Array(_0x58c0e8[_0x428bb6([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x13331a[_0x428bb6([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x428bb6([0x66,0x69,0x6c,0x6c])](_0x13331a[0x0]===_0x428bb6([0x2a])?_0x428bb6([0x2a]):'')[_0x428bb6([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x13331a))[_0x428bb6([0x73,0x6f,0x6d,0x65])](_0x238988=>_0x58c0e8[_0x428bb6([0x65,0x76,0x65,0x72,0x79])]((_0x4a5abf,_0x4da641)=>_0x238988[_0x4da641]===_0x4a5abf||_0x238988[_0x4da641]===_0x428bb6([0x2a])));}function _0x863d2f(){return _0x3dcd27&&_0x4ad6b3?new window[(_0x428bb6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x36b4fc,_0x308721)=>{_0x3dcd27[_0x428bb6([0x74,0x68,0x65,0x6e])](_0x36b4fc,_0x308721),_0x4ad6b3[_0x428bb6([0x74,0x68,0x65,0x6e])](_0x381657=>{_0x381657!=_0x428bb6([0x56,0x61,0x6c,0x69,0x64])&&_0x36b4fc(_0x381657);},_0x308721);}):_0x3dcd27||_0x4ad6b3||_0x428bb6([0x56,0x61,0x6c,0x69,0x64]);}}function _0x143af0(_0x19df38,_0x3add7b){return new window[(_0x428bb6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x43bdfe=>{if(_0x5a28f9())return _0x43bdfe(_0x428bb6([0x56,0x61,0x6c,0x69,0x64]));_0x4a1f04(),_0x16f6f9[_0x428bb6([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x428bb6([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x51ae6a=!0x1;const _0x2e543f=_0x465f9e();function _0x417572(_0x3b0e30){return!!_0x3b0e30&&(typeof _0x3b0e30===_0x428bb6([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3b0e30===_0x428bb6([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3b0e30[_0x428bb6([0x74,0x68,0x65,0x6e])]===_0x428bb6([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3b0e30[_0x428bb6([0x63,0x61,0x74,0x63,0x68])]===_0x428bb6([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3a54a6(_0x52dc38){_0x4e8644(_0x52dc38)[_0x428bb6([0x74,0x68,0x65,0x6e])](_0x5a7e33=>{if(!_0x5a7e33||_0x5a7e33[_0x428bb6([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x428bb6([0x6f,0x6b]))return _0x428bb6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x20d42a(_0xc395a(_0x2e543f+_0x3add7b))!=_0x5a7e33[_0x428bb6([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x428bb6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x428bb6([0x56,0x61,0x6c,0x69,0x64]);})[_0x428bb6([0x74,0x68,0x65,0x6e])](_0x2aaee0=>(_0x2bbf08(),_0x2aaee0),()=>{const _0x2bef8e=_0x351939();return null==_0x2bef8e?(_0x2bbf08(),_0x428bb6([0x56,0x61,0x6c,0x69,0x64])):_0x428bb6(_0xa98211-_0x2bef8e>(0x27d454df^_0x4c929f)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x428bb6([0x74,0x68,0x65,0x6e])](_0x43bdfe)[_0x428bb6([0x63,0x61,0x74,0x63,0x68])](()=>{_0x43bdfe(_0x428bb6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2a10d1=0x3ee3e5f^_0x4c929f;function _0x2bbf08(){const _0x34d1b6=_0x428bb6([0x6c,0x6c,0x63,0x74,0x2d])+_0x20d42a(_0xc395a(_0x19df38)),_0x168f94=_0xf0f548(_0x20d42a(window[_0x428bb6([0x4d,0x61,0x74,0x68])][_0x428bb6([0x63,0x65,0x69,0x6c])](_0xa98211/_0x2a10d1)));window[_0x428bb6([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x428bb6([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x34d1b6,_0x168f94);}function _0x351939(){const _0x2e9321=_0x428bb6([0x6c,0x6c,0x63,0x74,0x2d])+_0x20d42a(_0xc395a(_0x19df38)),_0x4221af=window[_0x428bb6([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x428bb6([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2e9321);return _0x4221af?window[_0x428bb6([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xf0f548(_0x4221af),0x10)*_0x2a10d1:null;}function _0x4e8644(_0x8088e){return new window[(_0x428bb6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x400990,_0x1c1f8c)=>{_0x8088e[_0x428bb6([0x74,0x68,0x65,0x6e])](_0x400990,_0x1c1f8c),window[_0x428bb6([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x1c1f8c,0x3d9041f^_0x4c929f);});}}_0x16f6f9[_0x428bb6([0x6f,0x6e])](_0x428bb6([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1aa167,_0x13f029)=>{if(_0x13f029[0x0]!=_0x19df38)return _0x43bdfe(_0x428bb6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x13f029[0x1]={..._0x13f029[0x1],[_0x428bb6([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2e543f};},{[_0x428bb6([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x428bb6([0x68,0x69,0x67,0x68])}),_0x16f6f9[_0x428bb6([0x6f,0x6e])](_0x428bb6([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x313138=>{_0x417572(_0x313138[_0x428bb6([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x51ae6a=!0x0,_0x3a54a6(_0x313138[_0x428bb6([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x428bb6([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x428bb6([0x6c,0x6f,0x77])}),_0x4935c3[_0x428bb6([0x74,0x68,0x65,0x6e])](()=>{_0x51ae6a||_0x43bdfe(_0x428bb6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x5a28f9(){return _0x16f6f9[_0x428bb6([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x428bb6([0x76,0x69,0x65,0x77])][_0x428bb6([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x428bb6([0x61,0x75,0x74,0x6f]);}function _0x4a1f04(){_0x16f6f9[_0x428bb6([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x428bb6([0x76,0x69,0x65,0x77])][_0x428bb6([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x428bb6([0x61,0x75,0x74,0x6f]);}}function _0x32302a(_0x4f2df7){const _0x39c5bb=[new window[(_0x428bb6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x289a12=>setTimeout(_0x289a12,0x3d1ee13^_0x4c929f)),_0x4935c3[_0x428bb6([0x74,0x68,0x65,0x6e])](()=>new window[(_0x428bb6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2554b8=>{let _0xae6ee9=0x0;_0x16f6f9[_0x428bb6([0x6d,0x6f,0x64,0x65,0x6c])][_0x428bb6([0x6f,0x6e])](_0x428bb6([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x50811f,_0x3c98b8)=>{_0x3c98b8[0x0][_0x428bb6([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0xae6ee9++,_0xae6ee9==(0x3d8d127^_0x4c929f)&&(_0x2554b8(),_0x50811f[_0x428bb6([0x6f,0x66,0x66])]());});}))];return window[_0x428bb6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x428bb6([0x72,0x61,0x63,0x65])](_0x39c5bb)[_0x428bb6([0x74,0x68,0x65,0x6e])](()=>_0x4f2df7);}async function _0x3b74d8(){await _0x4935c3,_0x16f6f9[_0x428bb6([0x6d,0x6f,0x64,0x65,0x6c])][_0x428bb6([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x1cca83,_0x16f6f9[_0x428bb6([0x6d,0x6f,0x64,0x65,0x6c])][_0x428bb6([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x1cca83,_0x16f6f9[_0x428bb6([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x428bb6([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x5aa517(_0x360a0e){const _0x3794a0=_0x32734b();_0x16f6f9[_0x3794a0]=_0x428bb6([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x360a0e,_0x360a0e!=_0x428bb6([0x56,0x61,0x6c,0x69,0x64])&&_0x3b74d8();}function _0x32734b(){const _0x450003=window[_0x428bb6([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x428bb6([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x428bb6([0x6e,0x6f,0x77])]())[_0x428bb6([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x428bb6([0x2e]),'');let _0x142245=_0x428bb6([0x52]);for(let _0x554d5c=0x0;_0x554d5c<_0x450003[_0x428bb6([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x554d5c+=0x2){let _0x5a3374=window[_0x428bb6([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x450003[_0x428bb6([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x554d5c,_0x554d5c+0x2));_0x5a3374>=_0x180d08[_0x428bb6([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5a3374-=_0x180d08[_0x428bb6([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x142245+=_0x180d08[_0x5a3374];}return _0x142245;}function _0x51068a(){const _0x3f5d26=_0x4b9579[_0x428bb6([0x73,0x70,0x6c,0x69,0x74])](_0x428bb6([0x2e]));if(0x3!=_0x3f5d26[_0x428bb6([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x1d58ec(_0x3f5d26[0x1]);function _0x1d58ec(_0x3a72d5){const _0x428a57=_0x2f9d73(_0x3a72d5);return _0x428a57&&_0x3f3418()?_0x428a57:null;function _0x3f3418(){const _0x47cc4d=_0x428a57[_0x428bb6([0x6a,0x74,0x69])],_0x1e3547=window[_0x428bb6([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x47cc4d[_0x428bb6([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x47cc4d[_0x428bb6([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x28a6f5={..._0x428a57,[_0x428bb6([0x6a,0x74,0x69])]:_0x47cc4d[_0x428bb6([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x47cc4d[_0x428bb6([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x28a6f5[_0x428bb6([0x76,0x63])],_0xc395a(_0x28a6f5)==_0x1e3547;}}}async function _0x24c1ad(){let _0x260161=!0x0;try{const _0x2040d5=_0x4b9579[_0x428bb6([0x73,0x70,0x6c,0x69,0x74])](_0x428bb6([0x2e])),[_0xb69401,_0x3d4894,_0x5a3353]=_0x2040d5;return _0x571f56(_0xb69401),await _0x4d2fae(_0xb69401,_0x3d4894,_0x5a3353),_0x260161;}catch{return!0x1;}function _0x571f56(_0x3696f7){const _0x2b431d=_0x2f9d73(_0x3696f7);_0x2b431d&&_0x2b431d[_0x428bb6([0x61,0x6c,0x67])]==_0x428bb6([0x45,0x53,0x32,0x35,0x36])||(_0x260161=!0x1);}async function _0x4d2fae(_0x3ac803,_0x1e1494,_0x318d7e){const _0x3037b5=window[_0x428bb6([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x428bb6([0x66,0x72,0x6f,0x6d])](_0x360723(_0x318d7e),_0x4f80cf=>_0x4f80cf[_0x428bb6([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1e9b0a=new window[(_0x428bb6([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x428bb6([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x3ac803+_0x428bb6([0x2e])+_0x1e1494),_0x1bf34c=window[_0x428bb6([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x428bb6([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1bf34c)return;const _0x1c165b=await _0x1bf34c[_0x428bb6([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x428bb6([0x6a,0x77,0x6b]),_0x51814d,{[_0x428bb6([0x6e,0x61,0x6d,0x65])]:_0x428bb6([0x45,0x43,0x44,0x53,0x41]),[_0x428bb6([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x428bb6([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x428bb6([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1bf34c[_0x428bb6([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x428bb6([0x6e,0x61,0x6d,0x65])]:_0x428bb6([0x45,0x43,0x44,0x53,0x41]),[_0x428bb6([0x68,0x61,0x73,0x68])]:{[_0x428bb6([0x6e,0x61,0x6d,0x65])]:_0x428bb6([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1c165b,_0x3037b5,_0x1e9b0a)||(_0x260161=!0x1);}}function _0x2f9d73(_0x38c0d2){return _0x38c0d2[_0x428bb6([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x428bb6([0x65,0x79]))?JSON[_0x428bb6([0x70,0x61,0x72,0x73,0x65])](_0x360723(_0x38c0d2)):null;}function _0x360723(_0xc0bdf1){return window[_0x428bb6([0x61,0x74,0x6f,0x62])](_0xc0bdf1[_0x428bb6([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x428bb6([0x2b]))[_0x428bb6([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x428bb6([0x2f])));}function _0xc395a(_0x976e72){let _0x2e3f44=0x1505;function _0x3eca75(_0x526508){for(let _0x575bce=0x0;_0x575bce<_0x526508[_0x428bb6([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x575bce++){const _0x2cce6b=_0x526508[_0x428bb6([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x575bce);_0x2e3f44=(_0x2e3f44<<0x5)+_0x2e3f44+_0x2cce6b,_0x2e3f44&=_0x2e3f44;}}function _0x137df1(_0x2467cb){Array[_0x428bb6([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2467cb)?_0x2467cb[_0x428bb6([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x137df1):_0x2467cb&&typeof _0x2467cb==_0x428bb6([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x428bb6([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2467cb)[_0x428bb6([0x73,0x6f,0x72,0x74])]()[_0x428bb6([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x1b2326,_0x54e3ca])=>{_0x3eca75(_0x1b2326),_0x137df1(_0x54e3ca);}):_0x3eca75(window[_0x428bb6([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2467cb));}return _0x137df1(_0x976e72),_0x2e3f44>>>0x0;}function _0x20d42a(_0x5292e1){return _0x5292e1[_0x428bb6([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x428bb6([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x428bb6([0x30]));}function _0xf0f548(_0x27d40f){return _0x27d40f[_0x428bb6([0x73,0x70,0x6c,0x69,0x74])]('')[_0x428bb6([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x428bb6([0x6a,0x6f,0x69,0x6e])]('');}function _0x1cca83(){}function _0x428bb6(_0x26fe2e){return _0x26fe2e['map'](_0x2560c8=>String['fromCharCode'](_0x2560c8))['join']('');}_0x5aa517(await _0x301a25());}(this);}['_initSchema'](){const _0x477786=this['editor']['model']['schema'];_0x477786['isRegistered']('imageBlock')&&_0x477786['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x477786['isRegistered']('imageInline')&&_0x477786['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x141b97=this['editor'];_0x141b97['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x141b97['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x2036f4=>_0x2036f4['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x9560cb=_0x141b97['commands']['get']('replaceImageSource');_0x9560cb&&this['listenTo'](_0x9560cb,'cleanupImage',(_0x25cb26,[_0x20855b,_0x3720c4])=>{_0x20855b['removeAttribute']('uploadcareImageId',_0x3720c4);});}['_initConfig'](){const _0x27e2f6=this['editor']['config']['get']('uploadcare.uploader')||{},_0x22e4c2=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x144198(_0x6938ec['document'],'uc-config',{..._0x27e2f6,'pubkey':_0x22e4c2,'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']=_0x13bb24=>{if('closeMax'==_0x13bb24)return'#uc-icon-arrow-down';},_0x6938ec['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x144198(_0x6938ec['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),_0x6938ec['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x21a317=this['editor']['commands']['get']('insertImage');_0x21a317&&this['listenTo'](_0x21a317,'execute',()=>{const _0x5ee468=this['editor']['model']['document']['selection']['getSelectedElement']();_0x5ee468&&_0x5ee468['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x5ee468);});});const _0x5d7337=this['editor']['commands']['get']('uploadcareImageReplace');_0x5d7337&&this['listenTo'](_0x5d7337,'execute',()=>{const _0x5993d6=this['editor']['model']['document']['selection']['getSelectedElement']();_0x5993d6&&_0x5993d6['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x5993d6);});});}}class tt extends _0x3f074c{static get['requires'](){return[o,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0xc8c595){super(_0xc8c595),_0xc8c595['config']['define']('uploadcare.uploader.sourceList',[i['Local'],i['URL']]),_0x1be06e['defineComponents'](_0x1be06e);}}class ii extends _0xb7e8aa{constructor(_0x4369c2){super(_0x4369c2);const t=_0x4369c2['t'],_0xe808d=this['bindTemplate'],_0x273415=new _0x4fac91();_0x273415['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':[_0x273415,{'text':_0xe808d['to']('imageUploadProgress',_0x53912e=>t('Loading\x20image...')+'\x20('+(_0x53912e||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 _0xb7e8aa{constructor(_0x2a29f4){super(_0x2a29f4);const t=_0x2a29f4['t'];this['set']('errorType',null);const _0x1be882=new _0x29c9a5(_0x2a29f4);_0x1be882['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x1be882['withText']=!0x0,_0x1be882['class']='ck-button-action',_0x1be882['on']('execute',()=>{this['fire']('retry');}),_0x1be882['bind']('isVisible')['to'](this,'errorType',_0x28d0e0=>'NotFound'!==_0x28d0e0);const _0x549439=new _0x122bd4();_0x549439['content']=_0x143c60,_0x549439['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x4c6c54=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':[_0x549439,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x4c6c54['to']('errorType',_0x328509=>t('NotFound'!==_0x328509?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x1be882]},{'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 _0xb7e8aa{constructor(_0x45d7c4,_0x4e21e6){super(_0x45d7c4);const _0x330266=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x4e21e6,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x330266['to']('imageSrc')}});}}class X extends F{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x5b4766,_0x519997,_0x5f591f){super(_0x5b4766),this['_items']=this['createCollection'](),this['_loadingView']=new ii(_0x5b4766),this['_errorView']=new ti(_0x5b4766),this['_editingView']=new ei(_0x5b4766,_0x5f591f),this['_focusableView']=new _0xb7e8aa(_0x5b4766),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x519997),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'],_0x55da2c=>{this['_addUploadcareImageEditorListeners'](_0x55da2c);});}),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'](_0x3e0898,_0x103076){const _0xd57f40='uc-cloud-image-editor',_0x730785=_0x3e0898['querySelector'](_0xd57f40);if(_0x730785)return _0x103076(_0x730785);const _0x49ed75=new MutationObserver(_0x24aecb=>{const _0x136f06=_0x24aecb['filter'](_0x7aa3de=>_0x7aa3de['target']===_0x3e0898&&_0x7aa3de['addedNodes']['length']>0x0&&_0x7aa3de['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0xd57f40);_0x136f06['length']&&(_0x49ed75['disconnect'](),_0x103076(_0x136f06[0x0]['addedNodes'][0x0]));});_0x49ed75['observe'](_0x3e0898,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x956ce9){_0x956ce9['addEventListener']('apply',_0x4b8545=>{this['fire']('apply',{'imageSrc':_0x4b8545['detail']['cdnUrl']});}),_0x956ce9['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class E extends/* #__PURE__ -- @preserve */
25
- _0x47f453(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x3a78c5,_0x507392,_0x4d73f1){super(),this['_editor']=_0x3a78c5,this['_dialog']=_0x507392,this['_imageElement']=_0x4d73f1,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 _0x1327a7=this['_imageElement'],_0x46bf48=_0x1327a7['getAttribute']('uploadcareImageId'),_0x3a0a35=_0x1327a7['getAttribute']('src');if(_0x46bf48)await this['_loadImageInfo'](_0x46bf48,_0x3a0a35);else{if(this['_imageCache']['has'](_0x3a0a35)){const _0x1b3900=this['_imageCache']['get'](_0x3a0a35);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x1b3900['url'],this['imageDimension']=_0x1b3900['dimension'],this['imageId']=_0x1b3900['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x56404f}=this['_editor'],t=_0x56404f['t'],_0x163c2b=new X(_0x56404f,this['imageStatus'],this['_attributes']);_0x163c2b['bind']('status')['to'](this,'imageStatus'),_0x163c2b['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x163c2b['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x163c2b['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x163c2b,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x4c1285,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x163c2b,'position':_0x5e614c['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x163c2b['focus']();},'onHide':()=>{_0x163c2b['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x2f7ee5=>!A(_0x2f7ee5,_0x163c2b['element'])}});}['_loadImageInfo'](_0x495a46,_0x38e14f){return j['getInfo'](_0x495a46,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x1a0a33=>{const {width:_0x45ba83,height:_0x5dcbcc}=_0x1a0a33['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x38e14f,this['imageDimension']={'width':_0x45ba83,'height':_0x5dcbcc},this['imageId']=_0x495a46;})['catch'](_0x648b9c=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x648b9c['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0xcbb247,_0x275346){return this['_getImageAsFile'](_0xcbb247)['then'](_0x3ec831=>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':_0x275346['signal'],'file':_0x3ec831,'onProgress':_0x55c265=>{_0x55c265&&_0x55c265['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x55c265['value']));}}))['then'](_0x43bbab=>{const {width:_0x238d15,height:_0x4e01e2}=_0x43bbab['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x43bbab['cdnUrl'],this['imageDimension']={'width':_0x238d15,'height':_0x4e01e2},this['imageId']=_0x43bbab['uuid'],this['imageUploadProgress']=null;const _0x57d065=_0xcbb247['getAttribute']('src');this['_imageCache']['set'](_0x57d065,{'id':_0x43bbab['uuid'],'url':_0x43bbab['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x264df7=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x264df7['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x5e8958,_0x2fab94){_0x5e8958['on']('apply',(_0x536d89,_0x55d118)=>{this['_replaceImage'](_0x2fab94,_0x55d118['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x5e8958['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x5e8958['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x1cd397,_0x35d253,_0xc27889){const _0x4e964a=this['_editor'],{width:_0x49dea1,height:_0x583b36}=S(_0x35d253,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0xbf9bcf,imageSources:_0x75532e}=C(_0x35d253,_0x49dea1);_0x4e964a['model']['change'](_0x585fdd=>{if('$graveyard'===_0x1cd397['root']['rootName']){_0x4e964a['execute']('insertImage',{'imageType':_0x1cd397['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x1cd397['getAttributes']()),'uploadcareImageId':_0xc27889,'src':_0xbf9bcf,'sources':_0x75532e,'width':_0x49dea1,'height':_0x583b36}});const _0x50d5fc=_0x1cd397['getChildren']();_0x1cd397=_0x4e964a['model']['document']['selection']['getSelectedElement']();for(const _0x4db02e of _0x50d5fc)_0x585fdd['append'](_0x585fdd['cloneElement'](_0x4db02e),_0x1cd397);}else _0x585fdd['setSelection'](_0x1cd397,'on'),_0x4e964a['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x1cd397['getAttributes']()),'uploadcareImageId':_0xc27889,'src':_0xbf9bcf,'sources':_0x75532e,'width':_0x49dea1,'height':_0x583b36},_0x1cd397);_0x585fdd['setSelection'](_0x1cd397,'on');});}async['_getImageAsFile'](_0x134410){const _0x17aabd=_0x6938ec['window'],_0x15fa31=_0x6938ec['document']['location']['href'],_0x156e39=new _0x17aabd['URL'](_0x134410['getAttribute']('src'),_0x15fa31);if('data:'===_0x156e39['protocol']){const _0x18543e=_0x156e39['href']['split'](','),_0x303bde=_0x18543e[0x0]['match'](/:(.*?);/)[0x1],_0x2aa41b=_0x303bde['split']('/')[0x1],_0x45e0f4=_0x17aabd['atob'](_0x18543e[_0x18543e['length']-0x1]);let _0x4db822=_0x45e0f4['length'];const _0x36928c=new _0x17aabd['Uint8Array'](_0x4db822);for(;_0x4db822--;)_0x36928c[_0x4db822]=_0x45e0f4['charCodeAt'](_0x4db822);return new _0x17aabd['File']([_0x36928c],'image.'+_0x2aa41b,{'type':_0x303bde});}const _0x5b0ddc=_0x156e39['href']['split']('/'),_0x539856=_0x5b0ddc[_0x5b0ddc['length']-0x1],_0x495a67=_0x539856['split']('.')[0x1];return _0x17aabd['fetch'](_0x156e39['href'])['then'](_0x274f0c=>_0x274f0c['clone']()['blob']())['then'](_0x29f7ea=>new _0x17aabd['File']([_0x29f7ea],_0x539856,{'type':'image/'+_0x495a67}));}}class O extends _0x4d84b4{['imageEditController'];static get['requires'](){return[_0x56dc8b];}['_isEditable'];constructor(_0x37abd6){super(_0x37abd6),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x2f9120){const _0x5448ff=G(_0x2f9120);return _0x576e26=>!(!_0x576e26||!_0x576e26['is']('element','imageBlock')&&!_0x576e26['is']('element','imageInline'))&&(!!_0x576e26['hasAttribute']('uploadcareImageId')||!!_0x576e26['hasAttribute']('src')&&_0x5448ff(_0x576e26['getAttribute']('src')));}(_0x37abd6['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0xa10e60=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0xa10e60);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x42153a=this['editor']['model']['document']['selection']['getSelectedElement']();_0x42153a&&(_0x42153a['is']('element','imageBlock')||_0x42153a['is']('element','imageInline'))&&(this['imageEditController']=new E(this['editor'],this['editor']['plugins']['get'](_0x56dc8b),_0x42153a),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class R extends _0x4d84b4{['refresh'](){const _0x492b00=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x492b00&&(_0x492b00['is']('element','imageBlock')||_0x492b00['is']('element','imageInline')));}['execute'](_0x41176f){const _0x2b7847=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x4930eb=>{_0x4930eb['setAttributes'](_0x41176f,_0x2b7847),_0x4930eb['removeAttribute']('srcset',_0x2b7847),_0x4930eb['removeAttribute']('sizes',_0x2b7847);});}}class m extends _0x3f074c{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[o,_0x21323f,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x94a008}=this;_0x94a008['commands']['add']('uploadcareImageEdit',new O(_0x94a008)),_0x94a008['commands']['add']('uploadcareImageReplace',new R(_0x94a008));}}class g extends _0x3f074c{['_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 _0x5b2a5b=this['editor'];_0x5b2a5b['ui']['componentFactory']['add']('uploadcareImageEdit',_0x1416d8=>{const _0x43ee4f=_0x5b2a5b['commands']['get']('uploadcareImageEdit'),_0xa90675=new _0x29c9a5(_0x1416d8),t=_0x1416d8['t'];return _0xa90675['set']({'icon':_0x4c1285,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0xa90675['bind']('isEnabled')['to'](_0x43ee4f),_0xa90675['bind']('isOn')['to'](_0x43ee4f,'isActive'),this['listenTo'](_0xa90675,'execute',()=>{_0x5b2a5b['execute']('uploadcareImageEdit'),_0x5b2a5b['editing']['view']['focus']();}),_0xa90675;}),this['_initConfig']();}['_initConfig'](){const _0x5a0582=_0x144198(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x5a0582),this['listenTo'](this['editor'],'destroy',()=>{_0x5a0582['remove']();});}}class et extends _0x3f074c{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 _0x1e91e8,Command as _0x675ccf}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x150383,IconGooglePhotos as _0x15e753,IconGoogleDrive as _0x4c9299,IconFacebook as _0x1cb55d,IconDropbox as _0x31f808,IconUploadcareLink as _0x1cfdb0,IconUploadcareImageUpload as _0x1efaf2,IconError as _0x56ce9c,IconUploadcareImageEdit as _0x2e681b}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x9344ac,MenuBarMenuListItemButtonView as _0x50c131,View as _0x50fd7d,FocusCycler as _0x3f2aa2,Dialog as _0x2bd7d1,DialogViewPosition as _0x250ecd,SpinnerView as _0x498898,IconView as _0x2f99ea,Notification as _0x1f8b0c}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x6e056d,DomEmitterMixin as _0x37231c,global as _0x38b285,getAncestors as _0x99fc32,ObservableMixin as _0x4e5dd9,uid as _0x5ae685,createElement as _0x4643d5}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x4fe5cc}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x486c41,info as _0x52d94a}from'@uploadcare/upload-client';import*as _0x141e5c from'@uploadcare/file-uploader';var i=function(_0x5f4ae3){return _0x5f4ae3['Local']='local',_0x5f4ae3['URL']='url',_0x5f4ae3['Dropbox']='dropbox',_0x5f4ae3['GDrive']='gdrive',_0x5f4ae3['Facebook']='facebook',_0x5f4ae3['GPhotos']='gphotos',_0x5f4ae3['OneDrive']='onedrive',_0x5f4ae3;}({});function _(_0x30a056,_0x41a751,_0x12f699){const t=_0x30a056['t'],_0x82141e=_0x30a056['t'];switch(_0x41a751){case i['Local']:return{'text':_0x82141e('Insert'===_0x12f699?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x82141e('From\x20computer')};case i['URL']:return{'text':'Insert'===_0x12f699?_0x82141e('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x82141e('Via\x20URL')};case i['Dropbox']:return{'text':t('Insert'===_0x12f699?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case i['Facebook']:return{'text':t('Insert'===_0x12f699?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case i['GDrive']:return{'text':t('Insert'===_0x12f699?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case i['GPhotos']:return{'text':t('Insert'===_0x12f699?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case i['OneDrive']:return{'text':t('Insert'===_0x12f699?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x41a751;}}class e extends _0x1e91e8{['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 _0x715227=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x1556a6;for(const _0x12044f in _0x715227){const _0x132e2e=_0x12044f,_0x46601a=_0x715227[_0x132e2e];if('uploadcareLicenseKeyValid'==_0x46601a||'uploadcareLicenseKeyInvalid'==_0x46601a||'uploadcareLicenseKeyExpired'==_0x46601a||'uploadcareLicenseKeyDomainLimit'==_0x46601a||'uploadcareLicenseKeyNotAllowed'==_0x46601a||'uploadcareLicenseKeyEvaluationLimit'==_0x46601a||'uploadcareLicenseKeyTrialLimit'==_0x46601a||'uploadcareLicenseKeyUsageLimit'==_0x46601a){delete _0x715227[_0x132e2e],_0x1556a6=_0x46601a,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x1556a6&&_0x715227['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x1556a6&&_0x715227['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x1556a6&&_0x715227['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x1556a6&&_0x715227['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x1556a6&&_0x715227['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0x1556a6&&_0x715227['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0x1556a6&&_0x715227['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x3384df}=this,_0x1cfef0=_0x3384df['commands']['get']('uploadcare');if(!_0x1cfef0)return;const _0x5d111a=this['_normalizeConfigSourceList'](_0x3384df['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x5a4ccc,_0x54afef)=>{const _0x48147d=this['_getIntegrationKey'](_0x54afef['type']);return _0x5a4ccc[_0x48147d]||(_0x5a4ccc[_0x48147d]=[]),_0x5a4ccc[_0x48147d]['push'](_0x54afef),_0x5a4ccc;},{});_0x3384df['plugins']['has']('ImageInsertUI')&&_0x3384df['commands']['get']('uploadcare')&&Object['entries'](_0x5d111a)['forEach'](([_0xf75be2,_0x5810d9])=>{_0x3384df['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0xf75be2,'observable':()=>_0x1cfef0,'buttonViewCreator':()=>this['_createToolbarButton'](_0x5810d9),'formViewCreator':()=>this['_createDropdownButtons'](_0x5810d9),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x5810d9),'override':'assetManager'!==_0xf75be2});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x7b6dfa){const {locale:_0x1df9a0}=this['editor'];return _0x7b6dfa['map'](_0x37a5b7=>{const _0x1e13d1=_(_0x1df9a0,_0x37a5b7,'Insert');switch(_0x37a5b7){case i['Local']:return{'icon':_0x1efaf2,'type':i['Local'],..._0x1e13d1};case i['URL']:return{'icon':_0x1cfdb0,'type':i['URL'],..._0x1e13d1};case i['Dropbox']:return{'icon':_0x31f808,'type':i['Dropbox'],..._0x1e13d1};case i['Facebook']:return{'icon':_0x1cb55d,'type':i['Facebook'],..._0x1e13d1};case i['GDrive']:return{'icon':_0x4c9299,'type':i['GDrive'],..._0x1e13d1};case i['GPhotos']:return{'icon':_0x15e753,'type':i['GPhotos'],..._0x1e13d1};case i['OneDrive']:return{'icon':_0x150383,'type':i['OneDrive'],..._0x1e13d1};}});}['_getIntegrationKey'](_0x82fbbe){switch(_0x82fbbe){case i['Local']:return'upload';case i['URL']:return'url';default:return'assetManager';}}['_createButton'](_0xae68d3,_0x470e6e){const _0x38d306=this['editor'],_0x2bd675=new _0xae68d3(_0x38d306['locale']),_0x47723d=_0x38d306['commands']['get']('uploadcare');return _0x2bd675['bind']('isEnabled')['to'](_0x47723d),_0x2bd675['on']('execute',()=>{_0x47723d['execute'](_0x470e6e);}),_0x2bd675;}['_createToolbarButton'](_0x11278c){const {locale:_0x298b41}=this['editor'],_0x3cc603=this['editor']['plugins']['get']('ImageInsertUI'),_0x527793=_0x11278c[0x0],_0x5adfc1=this['_createButton'](_0x9344ac,_0x527793['type']);return _0x5adfc1['icon']=_0x527793['icon'],_0x5adfc1['bind']('label')['to'](_0x3cc603,'isImageSelected',_0x3c151e=>_(_0x298b41,_0x527793['type'],_0x3c151e?'Replace':'Insert')['text']),_0x5adfc1['tooltip']=!0x0,_0x5adfc1;}['_createDropdownButtons'](_0x5a99b1){const {locale:_0x1cc4b5}=this['editor'],_0x477500=this['editor']['plugins']['get']('ImageInsertUI');return _0x5a99b1['map'](_0x1dfaf8=>{const _0x475f41=this['_createButton'](_0x9344ac,_0x1dfaf8['type']);return _0x475f41['withText']=!0x0,_0x475f41['icon']=_0x1dfaf8['icon'],_0x475f41['bind']('label')['to'](_0x477500,'isImageSelected',_0xee8943=>_(_0x1cc4b5,_0x1dfaf8['type'],_0xee8943?'Replace':'Insert')['text']),_0x475f41;});}['_createMenuBarButtons'](_0x3996b1){return _0x3996b1['map'](_0x3ed1a9=>{const _0x1e754c=this['_createButton'](_0x50c131,_0x3ed1a9['type']);return _0x1e754c['icon']=_0x3ed1a9['icon'],_0x1e754c['label']=_0x3ed1a9['shortText'],_0x1e754c;});}}class F extends _0x50fd7d{['focusTracker'];['focusCycler'];constructor(_0x579488){super(_0x579488),this['focusTracker']=new _0x6e056d(),this['focusCycler']=new _0x3f2aa2({'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(_0x58e5e0,_0x52e8eb){super(_0x58e5e0),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-'+_0x52e8eb}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function C(_0x120c27,_0x4ead9b){const _0x39bcb3=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x2f4e5d=>_0x2f4e5d<=_0x4ead9b)['map'](_0x3a2d73=>_0x120c27['replace'](/\/$/,'')+'/-/resize/'+_0x3a2d73+'x/\x20'+_0x3a2d73+'w');return{'imageFallbackUrl':_0x120c27,'imageSources':[{'srcset':_0x39bcb3['join'](',\x20'),'sizes':'(max-width:\x20'+_0x4ead9b+'px)\x20100vw,\x20'+_0x4ead9b+'px','type':'image/webp'}]};}function S(_0x4a91c9,_0x234793,_0x10a67f){const _0xcdde0d=_0x4a91c9['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0xcdde0d?parseInt(_0xcdde0d[0x1],0xa):_0x234793,'height':_0xcdde0d?parseInt(_0xcdde0d[0x2],0xa):_0x10a67f};}function p(_0xdd303f,_0x4793b6){const _0x1cb562=new(_0x37231c())(),_0x21970f=_0xdd303f['plugins']['get']('ImageUtils'),_0x1bb043=_0xdd303f['editing']['mapper']['toViewElement'](_0x4793b6),_0x36478d=_0x21970f['findViewImgElement'](_0x1bb043),_0x478217=_0xdd303f['editing']['view']['domConverter']['viewToDom'](_0x36478d),_0x197590=_0x4793b6['getAttribute']('width'),_0x4dd18e=_0x4793b6['getAttribute']('height'),_0x35c250='image-processing';_0xdd303f['editing']['view']['change'](_0x39da5c=>{_0x39da5c['addClass'](_0x35c250,_0x1bb043),_0x39da5c['setStyle']('aspect-ratio',_0x197590+'/'+_0x4dd18e,_0x36478d);}),_0x1cb562['listenTo'](_0x478217,'load',()=>{_0x1cb562['stopListening'](_0x478217,'load'),_0xdd303f['editing']['view']['change'](_0x3de9f5=>{_0x3de9f5['removeClass'](_0x35c250,_0x1bb043),_0x3de9f5['removeStyle']('aspect-ratio',_0x36478d);});});}function z(_0xd192ea){if(Array['isArray'](_0xd192ea)){const _0x3181fa=_0xd192ea['map'](z);return _0x10f0eb=>_0x3181fa['some'](_0x1055a0=>_0x1055a0(_0x10f0eb));}if('origin'==_0xd192ea){const _0x36a0d9=_0x38b285['window']['location']['origin'];return _0x523ada=>new URL(_0x523ada,_0x38b285['document']['baseURI'])['origin']==_0x36a0d9;}return'function'==typeof _0xd192ea?_0xd192ea:_0xd192ea instanceof RegExp?_0x22a2ae=>!(!_0x22a2ae['match'](_0xd192ea)&&!_0x22a2ae['replace'](/^https?:\/\//,'')['match'](_0xd192ea)):()=>!0x1;}function A(_0x458b7f,_0x378f24){return _0x99fc32(_0x458b7f['target'])['includes'](_0x378f24);}class n extends/* #__PURE__ -- @preserve */
24
+ _0x4e5dd9(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x7f1357,_0xb137c3,_0x24152d){super(),this['_editor']=_0x7f1357,this['_editing']=_0xb137c3,this['_dialog']=_0x7f1357['plugins']['get'](_0x2bd7d1),this['_api']=_0xb137c3['ctxElement']['getAPI'](),this['_type']=_0x24152d,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:_0x41d075,model:_0x4c3aea}=this['_editor'],_0x1cc86b=_0x4c3aea['document']['selection']['getSelectedElement'](),_0x3762a7=_0x1cc86b&&(_0x1cc86b['is']('element','imageBlock')||_0x1cc86b['is']('element','imageInline'));this['_formView']=new x(_0x41d075,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':_0x1efaf2,'title':_(_0x41d075,this['_type'],_0x3762a7?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x250ecd['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x242534=>!A(_0x242534,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x4e37c4}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x51a134=>{const _0x536791=_0x4e37c4['length'];for(const _0x5ea7c8 of _0x4e37c4){const _0x2dca1c=_0x5ea7c8===_0x4e37c4[_0x536791-0x1],{cdnUrl:_0x51de04,fileInfo:_0x3184fd}=_0x5ea7c8;if(!_0x51de04||!_0x3184fd)continue;const {width:_0x540cf4,height:_0x1d1b01}=_0x3184fd['imageInfo'],_0x455c3c=S(_0x51de04,_0x540cf4,_0x1d1b01),_0x496072=C(_0x51de04,_0x455c3c['width']),_0x502368={'id':_0x3184fd['uuid'],'type':'image','attributes':{'imageDimension':_0x455c3c,..._0x496072}};this['_insertAsset'](_0x502368,_0x2dca1c,_0x51a134);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x5b6b43=>{'idle'===_0x5b6b43['detail']['status']&&!_0x5b6b43['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===i['Local']?this['_api']['setCurrentActivity'](i['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x33f3fb,_0x16b4f8,_0x4f9758){const _0x4a2ffe=this['_editor']['model']['document']['selection'],_0x9712bb=_0x4a2ffe['getSelectedElement'](),_0x3a4081=!(!_0x9712bb||!_0x9712bb['is']('element','imageInline'));_0x4f9758['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x33f3fb,_0x3a4081),_0x16b4f8||_0x4f9758['setSelection'](_0x4a2ffe['getLastPosition']());}['_insertImage'](_0x58d041,_0x5d4c9f){const _0x292106=this['_editor'],{imageDimension:_0x40c178,imageFallbackUrl:_0x866e7a,imageSources:_0x1bede3}=_0x58d041['attributes'];_0x292106['execute']('insertImage',{'imageType':_0x5d4c9f?'imageInline':null,'source':{'uploadcareImageId':_0x58d041['id'],'src':_0x866e7a,'sources':_0x1bede3,..._0x40c178}});}}class w extends _0x675ccf{['_editing'];['_controller']=null;static get['requires'](){return[_0x2bd7d1,o];}constructor(_0x51499a){super(_0x51499a),this['_editing']=_0x51499a['plugins']['get'](o);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x2eb112){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new n(this['editor'],this['_editing'],_0x2eb112);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class j{static['upload']({file:_0x10881a,..._0x5f5386}){return _0x486c41(_0x10881a,_0x5f5386);}static['getInfo'](_0x3aa618,_0xd7d5de){return _0x52d94a(_0x3aa618,_0xd7d5de);}}class f extends _0x1e91e8{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x4fe5cc,o];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x7e3876=this['editor'];if(!!!_0x7e3876['config']['get']('uploadcare'))return;_0x7e3876['plugins']['get'](_0x4fe5cc)['createUploadAdapter']=_0x5be795=>new k(_0x5be795,_0x7e3876),_0x7e3876['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x265f46,{imageElement:_0x52f01f,data:_0x4ebbf6})=>{_0x7e3876['model']['change'](_0x558ab6=>{_0x558ab6['setAttribute']('uploadcareImageId',_0x4ebbf6['uploadcareImageId'],_0x52f01f);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x302658,_0x4f245c){this['loader']=_0x302658,this['editor']=_0x4f245c,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x189cb9=await this['loader']['file'];return j['upload']({'file':_0x189cb9,'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':_0x207f4d=>{_0x207f4d&&_0x207f4d['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x207f4d['value']);}})['then'](async _0x21d59d=>{const {imageFallbackUrl:_0x865207,imageSources:_0x2f43a6}=C(_0x21d59d['cdnUrl'],_0x21d59d['imageInfo']['width']);return{'uploadcareImageId':_0x21d59d['uuid'],'default':_0x865207,'sources':_0x2f43a6};})['catch'](()=>{const _0x3f6f1c=t('Cannot\x20upload\x20file:')+('\x20'+_0x189cb9['name']+'.');return Promise['reject'](_0x3f6f1c);});}['abort'](){this['controller']['abort']();}}class o extends _0x1e91e8{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',f,_0x2bd7d1];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['ucContextId'];get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}constructor(_0x4a0138){super(_0x4a0138),this['ucContextId']=_0x5ae685();}['init'](){const _0x425bac=this['editor'];_0x425bac['commands']['add']('uploadcare',new w(_0x425bac));}['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 _0x5879a9=_0x38b285['document']['querySelector']('input[uploadcare-file-input]');_0x5879a9&&_0x5879a9['remove']();}),async function(_0x5c2c10){const _0x90c985=_0x388f44([0x52,0x42,0x63,0x58,0x64,0x47,0x66,0x35,0x36,0x37,0x6d,0x4e,0x6a,0x4b,0x39,0x44,0x54,0x70,0x50,0x30,0x49,0x79,0x69,0x33,0x67,0x65,0x61,0x38,0x5a,0x76,0x7a,0x6c,0x45,0x34,0x62,0x46,0x75,0x57,0x72,0x77,0x73,0x48,0x31,0x68,0x6e,0x4f,0x53,0x4c,0x71,0x6b,0x59,0x32,0x4d,0x51,0x4a,0x78,0x6f,0x56,0x41,0x55,0x74,0x43]),_0x1b689b=0x3d8d0df,_0x38f046=0x3dfa477^_0x1b689b,_0x5a9008=window[_0x388f44([0x44,0x61,0x74,0x65])][_0x388f44([0x6e,0x6f,0x77])](),_0x2a7bb9=_0x5c2c10[_0x388f44([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x5c3c79=new window[(_0x388f44([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x59611a=>{_0x2a7bb9[_0x388f44([0x6f,0x6e,0x63,0x65])](_0x388f44([0x72,0x65,0x61,0x64,0x79]),_0x59611a);}),_0x9f67ae={[_0x388f44([0x6b,0x74,0x79])]:_0x388f44([0x45,0x43]),[_0x388f44([0x75,0x73,0x65])]:_0x388f44([0x73,0x69,0x67]),[_0x388f44([0x63,0x72,0x76])]:_0x388f44([0x50,0x2d,0x32,0x35,0x36]),[_0x388f44([0x78])]:_0x388f44([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]),[_0x388f44([0x79])]:_0x388f44([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]),[_0x388f44([0x61,0x6c,0x67])]:_0x388f44([0x45,0x53,0x32,0x35,0x36])},_0xcfa436=_0x2a7bb9[_0x388f44([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x388f44([0x67,0x65,0x74])](_0x388f44([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x5baa85(){let _0x52480c,_0x3b9603=null,_0x5cb220=null;try{if(_0xcfa436==_0x388f44([0x47,0x50,0x4c]))return _0x388f44([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x52480c=_0x56a34d(),!_0x52480c)return _0x388f44([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x52480c[_0x388f44([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x5cb220=_0x33da6c(_0x52480c[_0x388f44([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x52480c[_0x388f44([0x6a,0x74,0x69])])),await _0x35bc92()?_0x964c6a()?_0x180c41()?_0x388f44([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4710b6()?(_0x52480c[_0x388f44([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x388f44([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3b9603=_0x30e41a(_0x388f44([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x52480c[_0x388f44([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x388f44([0x74,0x72,0x69,0x61,0x6c])&&(_0x3b9603=_0x30e41a(_0x388f44([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x3d3be4()):_0x388f44([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x388f44([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x388f44([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x388f44([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x180c41(){const _0x13d9e3=[_0x388f44([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x388f44([0x74,0x72,0x69,0x61,0x6c])][_0x388f44([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x52480c[_0x388f44([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x5a9008/0x3e8:0xe10*_0x38f046;return _0x52480c[_0x388f44([0x65,0x78,0x70])]<_0x13d9e3;}function _0x964c6a(){const _0x29d7bb=_0x52480c[_0x388f44([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x29d7bb&&(!!_0x29d7bb[_0x388f44([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x388f44([0x2a]))||!!_0x29d7bb[_0x388f44([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x388f44([0x55,0x50,0x4c,0x43])));}function _0x4710b6(){const _0x1c6923=_0x52480c[_0x388f44([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1c6923||0x0==_0x1c6923[_0x388f44([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x13c772}=new URL(window[_0x388f44([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x1c6923[_0x388f44([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x13c772))return!0x0;const _0x2f099b=_0x13c772[_0x388f44([0x73,0x70,0x6c,0x69,0x74])](_0x388f44([0x2e]));return _0x1c6923[_0x388f44([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x246333=>_0x246333[_0x388f44([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x388f44([0x2a])))[_0x388f44([0x6d,0x61,0x70])](_0x52a4c4=>_0x52a4c4[_0x388f44([0x73,0x70,0x6c,0x69,0x74])](_0x388f44([0x2e])))[_0x388f44([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x19b854=>_0x19b854[_0x388f44([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x2f099b[_0x388f44([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x388f44([0x6d,0x61,0x70])](_0x4d9e21=>Array(_0x2f099b[_0x388f44([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x4d9e21[_0x388f44([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x388f44([0x66,0x69,0x6c,0x6c])](_0x4d9e21[0x0]===_0x388f44([0x2a])?_0x388f44([0x2a]):'')[_0x388f44([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x4d9e21))[_0x388f44([0x73,0x6f,0x6d,0x65])](_0x52ab08=>_0x2f099b[_0x388f44([0x65,0x76,0x65,0x72,0x79])]((_0x251b2c,_0x561928)=>_0x52ab08[_0x561928]===_0x251b2c||_0x52ab08[_0x561928]===_0x388f44([0x2a])));}function _0x3d3be4(){return _0x3b9603&&_0x5cb220?new window[(_0x388f44([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x403730,_0x4662b0)=>{_0x3b9603[_0x388f44([0x74,0x68,0x65,0x6e])](_0x403730,_0x4662b0),_0x5cb220[_0x388f44([0x74,0x68,0x65,0x6e])](_0x4b0ffc=>{_0x4b0ffc!=_0x388f44([0x56,0x61,0x6c,0x69,0x64])&&_0x403730(_0x4b0ffc);},_0x4662b0);}):_0x3b9603||_0x5cb220||_0x388f44([0x56,0x61,0x6c,0x69,0x64]);}}function _0x33da6c(_0x133597,_0x460dfc){return new window[(_0x388f44([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x191431=>{if(_0x8e33c2())return _0x191431(_0x388f44([0x56,0x61,0x6c,0x69,0x64]));_0x56ab3e(),_0x2a7bb9[_0x388f44([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x388f44([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x386f32=!0x1;const _0x4776fd=_0x5ae685();function _0x5d0ee8(_0x56eeb6){return!!_0x56eeb6&&(typeof _0x56eeb6===_0x388f44([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x56eeb6===_0x388f44([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x56eeb6[_0x388f44([0x74,0x68,0x65,0x6e])]===_0x388f44([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x56eeb6[_0x388f44([0x63,0x61,0x74,0x63,0x68])]===_0x388f44([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x333f3d(_0x206d74){_0x64854b(_0x206d74)[_0x388f44([0x74,0x68,0x65,0x6e])](_0x3280c6=>{if(!_0x3280c6||_0x3280c6[_0x388f44([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x388f44([0x6f,0x6b]))return _0x388f44([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0xf1e76d(_0x1dfad9(_0x4776fd+_0x460dfc))!=_0x3280c6[_0x388f44([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x388f44([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x388f44([0x56,0x61,0x6c,0x69,0x64]);})[_0x388f44([0x74,0x68,0x65,0x6e])](_0xfbc68f=>(_0x28e332(),_0xfbc68f),()=>{const _0x4f4920=_0x15d05d();return null==_0x4f4920?(_0x28e332(),_0x388f44([0x56,0x61,0x6c,0x69,0x64])):_0x388f44(_0x5a9008-_0x4f4920>(0x27d454df^_0x1b689b)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x388f44([0x74,0x68,0x65,0x6e])](_0x191431)[_0x388f44([0x63,0x61,0x74,0x63,0x68])](()=>{_0x191431(_0x388f44([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x176a13=0x3ee3e5f^_0x1b689b;function _0x28e332(){const _0x45cd2e=_0x388f44([0x6c,0x6c,0x63,0x74,0x2d])+_0xf1e76d(_0x1dfad9(_0x133597)),_0x4eeaa0=_0x4968f0(_0xf1e76d(window[_0x388f44([0x4d,0x61,0x74,0x68])][_0x388f44([0x63,0x65,0x69,0x6c])](_0x5a9008/_0x176a13)));window[_0x388f44([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x388f44([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x45cd2e,_0x4eeaa0);}function _0x15d05d(){const _0x47bc4f=_0x388f44([0x6c,0x6c,0x63,0x74,0x2d])+_0xf1e76d(_0x1dfad9(_0x133597)),_0x1fe83c=window[_0x388f44([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x388f44([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x47bc4f);return _0x1fe83c?window[_0x388f44([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4968f0(_0x1fe83c),0x10)*_0x176a13:null;}function _0x64854b(_0x5eefaa){return new window[(_0x388f44([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x32934b,_0xb0880e)=>{_0x5eefaa[_0x388f44([0x74,0x68,0x65,0x6e])](_0x32934b,_0xb0880e),window[_0x388f44([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0xb0880e,0x3d9041f^_0x1b689b);});}}_0x2a7bb9[_0x388f44([0x6f,0x6e])](_0x388f44([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x620562,_0x550a06)=>{if(_0x550a06[0x0]!=_0x133597)return _0x191431(_0x388f44([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x550a06[0x1]={..._0x550a06[0x1],[_0x388f44([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x4776fd};},{[_0x388f44([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x388f44([0x68,0x69,0x67,0x68])}),_0x2a7bb9[_0x388f44([0x6f,0x6e])](_0x388f44([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x218efe=>{_0x5d0ee8(_0x218efe[_0x388f44([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x386f32=!0x0,_0x333f3d(_0x218efe[_0x388f44([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x388f44([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x388f44([0x6c,0x6f,0x77])}),_0x5c3c79[_0x388f44([0x74,0x68,0x65,0x6e])](()=>{_0x386f32||_0x191431(_0x388f44([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x8e33c2(){return _0x2a7bb9[_0x388f44([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x388f44([0x76,0x69,0x65,0x77])][_0x388f44([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x388f44([0x61,0x75,0x74,0x6f]);}function _0x56ab3e(){_0x2a7bb9[_0x388f44([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x388f44([0x76,0x69,0x65,0x77])][_0x388f44([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x388f44([0x61,0x75,0x74,0x6f]);}}function _0x30e41a(_0x149593){const _0x40b1f3=[new window[(_0x388f44([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4cc773=>setTimeout(_0x4cc773,0x3d1ee13^_0x1b689b)),_0x5c3c79[_0x388f44([0x74,0x68,0x65,0x6e])](()=>new window[(_0x388f44([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x23a487=>{let _0x30b2f5=0x0;_0x2a7bb9[_0x388f44([0x6d,0x6f,0x64,0x65,0x6c])][_0x388f44([0x6f,0x6e])](_0x388f44([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4fba38,_0x27b426)=>{_0x27b426[0x0][_0x388f44([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x30b2f5++,_0x30b2f5==(0x3d8d127^_0x1b689b)&&(_0x23a487(),_0x4fba38[_0x388f44([0x6f,0x66,0x66])]());});}))];return window[_0x388f44([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x388f44([0x72,0x61,0x63,0x65])](_0x40b1f3)[_0x388f44([0x74,0x68,0x65,0x6e])](()=>_0x149593);}async function _0x1b9d5c(){await _0x5c3c79,_0x2a7bb9[_0x388f44([0x6d,0x6f,0x64,0x65,0x6c])][_0x388f44([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xbbb3f1,_0x2a7bb9[_0x388f44([0x6d,0x6f,0x64,0x65,0x6c])][_0x388f44([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xbbb3f1,_0x2a7bb9[_0x388f44([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x388f44([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x2d4454(_0x1a8aef){const _0x36fc22=_0x3a12c2();_0x2a7bb9[_0x36fc22]=_0x388f44([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x1a8aef,_0x1a8aef!=_0x388f44([0x56,0x61,0x6c,0x69,0x64])&&_0x1b9d5c();}function _0x3a12c2(){const _0x44fa3b=window[_0x388f44([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x388f44([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x388f44([0x6e,0x6f,0x77])]())[_0x388f44([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x388f44([0x2e]),'');let _0xceaeb3=_0x388f44([0x52]);for(let _0x262ab8=0x0;_0x262ab8<_0x44fa3b[_0x388f44([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x262ab8+=0x2){let _0x3109b0=window[_0x388f44([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x44fa3b[_0x388f44([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x262ab8,_0x262ab8+0x2));_0x3109b0>=_0x90c985[_0x388f44([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x3109b0-=_0x90c985[_0x388f44([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0xceaeb3+=_0x90c985[_0x3109b0];}return _0xceaeb3;}function _0x56a34d(){const _0x16b7d4=_0xcfa436[_0x388f44([0x73,0x70,0x6c,0x69,0x74])](_0x388f44([0x2e]));if(0x3!=_0x16b7d4[_0x388f44([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x31ba8c(_0x16b7d4[0x1]);function _0x31ba8c(_0x33ce71){const _0x2ad78a=_0x1c1aa7(_0x33ce71);return _0x2ad78a&&_0x499173()?_0x2ad78a:null;function _0x499173(){const _0x17fd57=_0x2ad78a[_0x388f44([0x6a,0x74,0x69])],_0x3a51c8=window[_0x388f44([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x17fd57[_0x388f44([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x17fd57[_0x388f44([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x56e01b={..._0x2ad78a,[_0x388f44([0x6a,0x74,0x69])]:_0x17fd57[_0x388f44([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x17fd57[_0x388f44([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x56e01b[_0x388f44([0x76,0x63])],_0x1dfad9(_0x56e01b)==_0x3a51c8;}}}async function _0x35bc92(){let _0x441dd6=!0x0;try{const _0x289bb0=_0xcfa436[_0x388f44([0x73,0x70,0x6c,0x69,0x74])](_0x388f44([0x2e])),[_0x48e8d4,_0x89813e,_0x3587d8]=_0x289bb0;return _0xc6cfed(_0x48e8d4),await _0x4b4b15(_0x48e8d4,_0x89813e,_0x3587d8),_0x441dd6;}catch{return!0x1;}function _0xc6cfed(_0x2b386c){const _0x51d635=_0x1c1aa7(_0x2b386c);_0x51d635&&_0x51d635[_0x388f44([0x61,0x6c,0x67])]==_0x388f44([0x45,0x53,0x32,0x35,0x36])||(_0x441dd6=!0x1);}async function _0x4b4b15(_0x33e233,_0x40cfdf,_0x196826){const _0x19bdde=window[_0x388f44([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x388f44([0x66,0x72,0x6f,0x6d])](_0x2eb520(_0x196826),_0x3cd440=>_0x3cd440[_0x388f44([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x54726f=new window[(_0x388f44([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x388f44([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x33e233+_0x388f44([0x2e])+_0x40cfdf),_0x4d0f38=window[_0x388f44([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x388f44([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4d0f38)return;const _0x4a3cc1=await _0x4d0f38[_0x388f44([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x388f44([0x6a,0x77,0x6b]),_0x9f67ae,{[_0x388f44([0x6e,0x61,0x6d,0x65])]:_0x388f44([0x45,0x43,0x44,0x53,0x41]),[_0x388f44([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x388f44([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x388f44([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4d0f38[_0x388f44([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x388f44([0x6e,0x61,0x6d,0x65])]:_0x388f44([0x45,0x43,0x44,0x53,0x41]),[_0x388f44([0x68,0x61,0x73,0x68])]:{[_0x388f44([0x6e,0x61,0x6d,0x65])]:_0x388f44([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4a3cc1,_0x19bdde,_0x54726f)||(_0x441dd6=!0x1);}}function _0x1c1aa7(_0x378383){return _0x378383[_0x388f44([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x388f44([0x65,0x79]))?JSON[_0x388f44([0x70,0x61,0x72,0x73,0x65])](_0x2eb520(_0x378383)):null;}function _0x2eb520(_0xf8db86){return window[_0x388f44([0x61,0x74,0x6f,0x62])](_0xf8db86[_0x388f44([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x388f44([0x2b]))[_0x388f44([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x388f44([0x2f])));}function _0x1dfad9(_0x4efa9f){let _0x556ba4=0x1505;function _0x1ce5ed(_0xf54af2){for(let _0x2ed665=0x0;_0x2ed665<_0xf54af2[_0x388f44([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2ed665++){const _0x2dbab2=_0xf54af2[_0x388f44([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2ed665);_0x556ba4=(_0x556ba4<<0x5)+_0x556ba4+_0x2dbab2,_0x556ba4&=_0x556ba4;}}function _0x296164(_0x5582f2){Array[_0x388f44([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5582f2)?_0x5582f2[_0x388f44([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x296164):_0x5582f2&&typeof _0x5582f2==_0x388f44([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x388f44([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5582f2)[_0x388f44([0x73,0x6f,0x72,0x74])]()[_0x388f44([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x412448,_0x15e1f2])=>{_0x1ce5ed(_0x412448),_0x296164(_0x15e1f2);}):_0x1ce5ed(window[_0x388f44([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5582f2));}return _0x296164(_0x4efa9f),_0x556ba4>>>0x0;}function _0xf1e76d(_0xfae8ca){return _0xfae8ca[_0x388f44([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x388f44([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x388f44([0x30]));}function _0x4968f0(_0x201f8e){return _0x201f8e[_0x388f44([0x73,0x70,0x6c,0x69,0x74])]('')[_0x388f44([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x388f44([0x6a,0x6f,0x69,0x6e])]('');}function _0xbbb3f1(){}function _0x388f44(_0x28c410){return _0x28c410['map'](_0x25a89a=>String['fromCharCode'](_0x25a89a))['join']('');}_0x2d4454(await _0x5baa85());}(this);}['_initSchema'](){const _0x51ec9f=this['editor']['model']['schema'];_0x51ec9f['isRegistered']('imageBlock')&&_0x51ec9f['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x51ec9f['isRegistered']('imageInline')&&_0x51ec9f['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x3d8569=this['editor'];_0x3d8569['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x3d8569['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0xd54ba0=>_0xd54ba0['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0xbf1404=_0x3d8569['commands']['get']('replaceImageSource');_0xbf1404&&this['listenTo'](_0xbf1404,'cleanupImage',(_0x3f44bf,[_0x5daea2,_0x284bf0])=>{_0x5daea2['removeAttribute']('uploadcareImageId',_0x284bf0);});}['_initConfig'](){const _0x28f06a=this['editor']['config']['get']('uploadcare.uploader')||{},_0x22e10b=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x4643d5(_0x38b285['document'],'uc-config',{..._0x28f06a,'pubkey':_0x22e10b,'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']=_0x5d35f9=>{if('closeMax'==_0x5d35f9)return'#uc-icon-arrow-down';},_0x38b285['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x4643d5(_0x38b285['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),_0x38b285['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x295363=this['editor']['commands']['get']('insertImage');_0x295363&&this['listenTo'](_0x295363,'execute',()=>{const _0x3b7959=this['editor']['model']['document']['selection']['getSelectedElement']();_0x3b7959&&_0x3b7959['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x3b7959);});});const _0x3e40ca=this['editor']['commands']['get']('uploadcareImageReplace');_0x3e40ca&&this['listenTo'](_0x3e40ca,'execute',()=>{const _0x53c0af=this['editor']['model']['document']['selection']['getSelectedElement']();_0x53c0af&&_0x53c0af['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x53c0af);});});}}class tt extends _0x1e91e8{static get['requires'](){return[o,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x18e8ac){super(_0x18e8ac),_0x18e8ac['config']['define']('uploadcare.uploader.sourceList',[i['Local'],i['URL']]),_0x141e5c['defineComponents'](_0x141e5c);}}class ii extends _0x50fd7d{constructor(_0xa9cf6c){super(_0xa9cf6c);const t=_0xa9cf6c['t'],_0x82efda=this['bindTemplate'],_0x3ae328=new _0x498898();_0x3ae328['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':[_0x3ae328,{'text':_0x82efda['to']('imageUploadProgress',_0x4e72b5=>t('Loading\x20image...')+'\x20('+(_0x4e72b5||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 _0x50fd7d{constructor(_0x57a8b0){super(_0x57a8b0);const t=_0x57a8b0['t'];this['set']('errorType',null);const _0xd1c0d1=new _0x9344ac(_0x57a8b0);_0xd1c0d1['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0xd1c0d1['withText']=!0x0,_0xd1c0d1['class']='ck-button-action',_0xd1c0d1['on']('execute',()=>{this['fire']('retry');}),_0xd1c0d1['bind']('isVisible')['to'](this,'errorType',_0x4afcbf=>'NotFound'!==_0x4afcbf);const _0x51c646=new _0x2f99ea();_0x51c646['content']=_0x56ce9c,_0x51c646['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x4dc242=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':[_0x51c646,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x4dc242['to']('errorType',_0x2ac609=>t('NotFound'!==_0x2ac609?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0xd1c0d1]},{'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 _0x50fd7d{constructor(_0x303757,_0x1ce522){super(_0x303757);const _0xea30d3=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x1ce522,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0xea30d3['to']('imageSrc')}});}}class X extends F{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x135472,_0x9d3986,_0x53282f){super(_0x135472),this['_items']=this['createCollection'](),this['_loadingView']=new ii(_0x135472),this['_errorView']=new ti(_0x135472),this['_editingView']=new ei(_0x135472,_0x53282f),this['_focusableView']=new _0x50fd7d(_0x135472),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x9d3986),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'],_0x56f748=>{this['_addUploadcareImageEditorListeners'](_0x56f748);});}),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'](_0x420c22,_0x2de4ca){const _0x4354ae='uc-cloud-image-editor',_0x17bfd1=_0x420c22['querySelector'](_0x4354ae);if(_0x17bfd1)return _0x2de4ca(_0x17bfd1);const _0x511c8c=new MutationObserver(_0xddf335=>{const _0x4a45de=_0xddf335['filter'](_0x198151=>_0x198151['target']===_0x420c22&&_0x198151['addedNodes']['length']>0x0&&_0x198151['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x4354ae);_0x4a45de['length']&&(_0x511c8c['disconnect'](),_0x2de4ca(_0x4a45de[0x0]['addedNodes'][0x0]));});_0x511c8c['observe'](_0x420c22,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x4d9cf7){_0x4d9cf7['addEventListener']('apply',_0x5a9666=>{this['fire']('apply',{'imageSrc':_0x5a9666['detail']['cdnUrl']});}),_0x4d9cf7['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class N extends/* #__PURE__ -- @preserve */
25
+ _0x4e5dd9(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x1c7d91,_0x2c8b30,_0x103d69){super(),this['_editor']=_0x1c7d91,this['_dialog']=_0x2c8b30,this['_imageElement']=_0x103d69,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 _0x1f6a61=this['_imageElement'],_0x30d3c2=_0x1f6a61['getAttribute']('uploadcareImageId'),_0xa97b5e=_0x1f6a61['getAttribute']('src');if(_0x30d3c2)await this['_loadImageInfo'](_0x30d3c2,_0xa97b5e);else{if(this['_imageCache']['has'](_0xa97b5e)){const _0x2ae8d9=this['_imageCache']['get'](_0xa97b5e);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x2ae8d9['url'],this['imageDimension']=_0x2ae8d9['dimension'],this['imageId']=_0x2ae8d9['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0xc0319b}=this['_editor'],t=_0xc0319b['t'],_0x3c47a5=new X(_0xc0319b,this['imageStatus'],this['_attributes']);_0x3c47a5['bind']('status')['to'](this,'imageStatus'),_0x3c47a5['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x3c47a5['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x3c47a5['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x3c47a5,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x2e681b,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x3c47a5,'position':_0x250ecd['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x3c47a5['focus']();},'onHide':()=>{_0x3c47a5['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x4e4a40=>!A(_0x4e4a40,_0x3c47a5['element'])}});}['_loadImageInfo'](_0x7a4435,_0x57a818){return j['getInfo'](_0x7a4435,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0xe9cb0=>{const {width:_0x46dcc6,height:_0x16ff90}=_0xe9cb0['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x57a818,this['imageDimension']={'width':_0x46dcc6,'height':_0x16ff90},this['imageId']=_0x7a4435;})['catch'](_0x49fe08=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x49fe08['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x30b505,_0x955d63){return this['_getImageAsFile'](_0x30b505)['then'](_0x3c0cc7=>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':_0x955d63['signal'],'file':_0x3c0cc7,'onProgress':_0x1ad97c=>{_0x1ad97c&&_0x1ad97c['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x1ad97c['value']));}}))['then'](_0x5c2236=>{const {width:_0x482301,height:_0x3fe18a}=_0x5c2236['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x5c2236['cdnUrl'],this['imageDimension']={'width':_0x482301,'height':_0x3fe18a},this['imageId']=_0x5c2236['uuid'],this['imageUploadProgress']=null;const _0x37407d=_0x30b505['getAttribute']('src');this['_imageCache']['set'](_0x37407d,{'id':_0x5c2236['uuid'],'url':_0x5c2236['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x144d0f=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x144d0f['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x11220e,_0x2253fd){_0x11220e['on']('apply',(_0x424ea4,_0xb0f5a2)=>{this['_replaceImage'](_0x2253fd,_0xb0f5a2['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x11220e['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x11220e['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x21a64c,_0x42cbf1,_0x40b26){const _0x4c86bf=this['_editor'],{width:_0x159f78,height:_0x476c82}=S(_0x42cbf1,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x3852b8,imageSources:_0x5824e3}=C(_0x42cbf1,_0x159f78);_0x4c86bf['model']['change'](_0x5bab4a=>{if('$graveyard'===_0x21a64c['root']['rootName']){_0x4c86bf['execute']('insertImage',{'imageType':_0x21a64c['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x21a64c['getAttributes']()),'uploadcareImageId':_0x40b26,'src':_0x3852b8,'sources':_0x5824e3,'width':_0x159f78,'height':_0x476c82}});const _0x426f53=_0x21a64c['getChildren']();_0x21a64c=_0x4c86bf['model']['document']['selection']['getSelectedElement']();for(const _0x5c864e of _0x426f53)_0x5bab4a['append'](_0x5bab4a['cloneElement'](_0x5c864e),_0x21a64c);}else _0x5bab4a['setSelection'](_0x21a64c,'on'),_0x4c86bf['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x21a64c['getAttributes']()),'uploadcareImageId':_0x40b26,'src':_0x3852b8,'sources':_0x5824e3,'width':_0x159f78,'height':_0x476c82},_0x21a64c);_0x5bab4a['setSelection'](_0x21a64c,'on');});}async['_getImageAsFile'](_0x4eca32){const _0x13d5f1=_0x38b285['window'],_0x4d0f81=_0x38b285['document']['location']['href'],_0x241c78=new _0x13d5f1['URL'](_0x4eca32['getAttribute']('src'),_0x4d0f81);if('data:'===_0x241c78['protocol']){const _0x407a69=_0x241c78['href']['split'](','),_0x3e828f=_0x407a69[0x0]['match'](/:(.*?);/)[0x1],_0x3dfe57=_0x3e828f['split']('/')[0x1],_0x7f7eee=_0x13d5f1['atob'](_0x407a69[_0x407a69['length']-0x1]);let _0x3e5d24=_0x7f7eee['length'];const _0x1c6708=new _0x13d5f1['Uint8Array'](_0x3e5d24);for(;_0x3e5d24--;)_0x1c6708[_0x3e5d24]=_0x7f7eee['charCodeAt'](_0x3e5d24);return new _0x13d5f1['File']([_0x1c6708],'image.'+_0x3dfe57,{'type':_0x3e828f});}const _0x2e2eb3=_0x241c78['href']['split']('/'),_0x25d9c2=_0x2e2eb3[_0x2e2eb3['length']-0x1],_0x3f519b=_0x25d9c2['split']('.')[0x1];return _0x13d5f1['fetch'](_0x241c78['href'])['then'](_0x57725f=>_0x57725f['clone']()['blob']())['then'](_0x32fa19=>new _0x13d5f1['File']([_0x32fa19],_0x25d9c2,{'type':'image/'+_0x3f519b}));}}class Q extends _0x675ccf{['imageEditController'];static get['requires'](){return[_0x2bd7d1];}['_isEditable'];constructor(_0x5c4deb){super(_0x5c4deb),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x38d777){const _0x190d6b=z(_0x38d777);return _0xf86042=>!(!_0xf86042||!_0xf86042['is']('element','imageBlock')&&!_0xf86042['is']('element','imageInline'))&&(!!_0xf86042['hasAttribute']('uploadcareImageId')||!!_0xf86042['hasAttribute']('src')&&_0x190d6b(_0xf86042['getAttribute']('src')));}(_0x5c4deb['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x186b66=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x186b66);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x97c48d=this['editor']['model']['document']['selection']['getSelectedElement']();_0x97c48d&&(_0x97c48d['is']('element','imageBlock')||_0x97c48d['is']('element','imageInline'))&&(this['imageEditController']=new N(this['editor'],this['editor']['plugins']['get'](_0x2bd7d1),_0x97c48d),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class V extends _0x675ccf{['refresh'](){const _0x351436=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x351436&&(_0x351436['is']('element','imageBlock')||_0x351436['is']('element','imageInline')));}['execute'](_0x1c7fdf){const _0x525efc=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x109e8e=>{_0x109e8e['setAttributes'](_0x1c7fdf,_0x525efc),_0x109e8e['removeAttribute']('srcset',_0x525efc),_0x109e8e['removeAttribute']('sizes',_0x525efc);});}}class m extends _0x1e91e8{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[o,_0x1f8b0c,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x8fd2f8}=this;_0x8fd2f8['commands']['add']('uploadcareImageEdit',new Q(_0x8fd2f8)),_0x8fd2f8['commands']['add']('uploadcareImageReplace',new V(_0x8fd2f8));}}class g extends _0x1e91e8{['_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 _0x233913=this['editor'];_0x233913['ui']['componentFactory']['add']('uploadcareImageEdit',_0x54c005=>{const _0x590159=_0x233913['commands']['get']('uploadcareImageEdit'),_0x169117=new _0x9344ac(_0x54c005),t=_0x54c005['t'];return _0x169117['set']({'icon':_0x2e681b,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x169117['bind']('isEnabled')['to'](_0x590159),_0x169117['bind']('isOn')['to'](_0x590159,'isActive'),this['listenTo'](_0x169117,'execute',()=>{_0x233913['execute']('uploadcareImageEdit'),_0x233913['editing']['view']['focus']();}),_0x169117;}),this['_initConfig']();}['_initConfig'](){const _0x4603cb=_0x4643d5(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x4603cb),this['listenTo'](this['editor'],'destroy',()=>{_0x4603cb['remove']();});}}class et extends _0x1e91e8{static get['pluginName'](){return'UploadcareImageEdit';}static get['requires'](){return[m,g];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{tt as Uploadcare,w as UploadcareCommand,o as UploadcareEditing,et as UploadcareImageEdit,Q as UploadcareImageEditCommand,m as UploadcareImageEditEditing,g as UploadcareImageEditUI,e as UploadcareUI,f as UploadcareUploadAdapter};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'af':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x36faec=>0x1!=_0x36faec}};
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':_0x2e066f=>0x1!=_0x2e066f}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x472cc5=>{const {af:{dictionary:_0x21ae9c,getPluralForm:_0x470498}}={'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':_0x4c9aa6=>0x1!=_0x4c9aa6}};_0x472cc5['af']||={'dictionary':{},'getPluralForm':null},_0x472cc5['af']['dictionary']=Object['assign'](_0x472cc5['af']['dictionary'],_0x21ae9c),_0x472cc5['af']['getPluralForm']=_0x470498;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x5248f3=>{const {af:{dictionary:_0x3cddc7,getPluralForm:_0x2aad07}}={'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':_0x361ab5=>0x1!=_0x361ab5}};_0x5248f3['af']||={'dictionary':{},'getPluralForm':null},_0x5248f3['af']['dictionary']=Object['assign'](_0x5248f3['af']['dictionary'],_0x3cddc7),_0x5248f3['af']['getPluralForm']=_0x2aad07;})(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':_0x3960e4=>0x0==_0x3960e4?0x0:0x1==_0x3960e4?0x1:0x2==_0x3960e4?0x2:_0x3960e4%0x64>=0x3&&_0x3960e4%0x64<=0xa?0x3:_0x3960e4%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':_0x5e155d=>0x0==_0x5e155d?0x0:0x1==_0x5e155d?0x1:0x2==_0x5e155d?0x2:_0x5e155d%0x64>=0x3&&_0x5e155d%0x64<=0xa?0x3:_0x5e155d%0x64>=0xb?0x4:0x5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x4c0f1b=>{const {ar:{dictionary:_0x25c03d,getPluralForm:_0x17e62d}}={'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':_0x210ca9=>0x0==_0x210ca9?0x0:0x1==_0x210ca9?0x1:0x2==_0x210ca9?0x2:_0x210ca9%0x64>=0x3&&_0x210ca9%0x64<=0xa?0x3:_0x210ca9%0x64>=0xb?0x4:0x5}};_0x4c0f1b['ar']||={'dictionary':{},'getPluralForm':null},_0x4c0f1b['ar']['dictionary']=Object['assign'](_0x4c0f1b['ar']['dictionary'],_0x25c03d),_0x4c0f1b['ar']['getPluralForm']=_0x17e62d;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x170513=>{const {ar:{dictionary:_0x5c7a8a,getPluralForm:_0x17c4f6}}={'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':_0x5b14f=>0x0==_0x5b14f?0x0:0x1==_0x5b14f?0x1:0x2==_0x5b14f?0x2:_0x5b14f%0x64>=0x3&&_0x5b14f%0x64<=0xa?0x3:_0x5b14f%0x64>=0xb?0x4:0x5}};_0x170513['ar']||={'dictionary':{},'getPluralForm':null},_0x170513['ar']['dictionary']=Object['assign'](_0x170513['ar']['dictionary'],_0x5c7a8a),_0x170513['ar']['getPluralForm']=_0x17c4f6;})(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':_0x321ea8=>0x1!=_0x321ea8}};
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':_0x4f229d=>0x1!=_0x4f229d}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x426be0=>{const {ast:{dictionary:_0x3176f0,getPluralForm:_0x131fb6}}={'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':_0x4909ed=>0x1!=_0x4909ed}};_0x426be0['ast']||={'dictionary':{},'getPluralForm':null},_0x426be0['ast']['dictionary']=Object['assign'](_0x426be0['ast']['dictionary'],_0x3176f0),_0x426be0['ast']['getPluralForm']=_0x131fb6;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x5e6a84=>{const {ast:{dictionary:_0x57f174,getPluralForm:_0x14c6fa}}={'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':_0xb9e3e6=>0x1!=_0xb9e3e6}};_0x5e6a84['ast']||={'dictionary':{},'getPluralForm':null},_0x5e6a84['ast']['dictionary']=Object['assign'](_0x5e6a84['ast']['dictionary'],_0x57f174),_0x5e6a84['ast']['getPluralForm']=_0x14c6fa;})(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':_0x934295=>0x1!=_0x934295}};
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':_0xc021f1=>0x1!=_0xc021f1}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x4f17c0=>{const {az:{dictionary:_0x33feac,getPluralForm:_0x4fe44b}}={'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':_0x2144f9=>0x1!=_0x2144f9}};_0x4f17c0['az']||={'dictionary':{},'getPluralForm':null},_0x4f17c0['az']['dictionary']=Object['assign'](_0x4f17c0['az']['dictionary'],_0x33feac),_0x4f17c0['az']['getPluralForm']=_0x4fe44b;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x4937ff=>{const {az:{dictionary:_0x5c34ac,getPluralForm:_0x46ccec}}={'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':_0x337400=>0x1!=_0x337400}};_0x4937ff['az']||={'dictionary':{},'getPluralForm':null},_0x4937ff['az']['dictionary']=Object['assign'](_0x4937ff['az']['dictionary'],_0x5c34ac),_0x4937ff['az']['getPluralForm']=_0x46ccec;})(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':_0x301080=>_0x301080%0xa==0x1&&_0x301080%0x64!=0xb?0x0:_0x301080%0xa>=0x2&&_0x301080%0xa<=0x4&&(_0x301080%0x64<0xa||_0x301080%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':_0x287023=>_0x287023%0xa==0x1&&_0x287023%0x64!=0xb?0x0:_0x287023%0xa>=0x2&&_0x287023%0xa<=0x4&&(_0x287023%0x64<0xa||_0x287023%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x5bdc69=>{const {be:{dictionary:_0x53ef20,getPluralForm:_0x2aacb2}}={'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':_0x1e929a=>_0x1e929a%0xa==0x1&&_0x1e929a%0x64!=0xb?0x0:_0x1e929a%0xa>=0x2&&_0x1e929a%0xa<=0x4&&(_0x1e929a%0x64<0xa||_0x1e929a%0x64>=0x14)?0x1:0x2}};_0x5bdc69['be']||={'dictionary':{},'getPluralForm':null},_0x5bdc69['be']['dictionary']=Object['assign'](_0x5bdc69['be']['dictionary'],_0x53ef20),_0x5bdc69['be']['getPluralForm']=_0x2aacb2;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x22e2cf=>{const {be:{dictionary:_0x31bd80,getPluralForm:_0x219afb}}={'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':_0x55a333=>_0x55a333%0xa==0x1&&_0x55a333%0x64!=0xb?0x0:_0x55a333%0xa>=0x2&&_0x55a333%0xa<=0x4&&(_0x55a333%0x64<0xa||_0x55a333%0x64>=0x14)?0x1:0x2}};_0x22e2cf['be']||={'dictionary':{},'getPluralForm':null},_0x22e2cf['be']['dictionary']=Object['assign'](_0x22e2cf['be']['dictionary'],_0x31bd80),_0x22e2cf['be']['getPluralForm']=_0x219afb;})(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':_0x42cab3=>0x1!=_0x42cab3}};
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':_0x2c9b9d=>0x1!=_0x2c9b9d}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x4e06d8=>{const {bg:{dictionary:_0x1bcf61,getPluralForm:_0x2b44d1}}={'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':_0xf31f6c=>0x1!=_0xf31f6c}};_0x4e06d8['bg']||={'dictionary':{},'getPluralForm':null},_0x4e06d8['bg']['dictionary']=Object['assign'](_0x4e06d8['bg']['dictionary'],_0x1bcf61),_0x4e06d8['bg']['getPluralForm']=_0x2b44d1;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x31d644=>{const {bg:{dictionary:_0x3f6ba7,getPluralForm:_0x196905}}={'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':_0x12dd06=>0x1!=_0x12dd06}};_0x31d644['bg']||={'dictionary':{},'getPluralForm':null},_0x31d644['bg']['dictionary']=Object['assign'](_0x31d644['bg']['dictionary'],_0x3f6ba7),_0x31d644['bg']['getPluralForm']=_0x196905;})(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':_0x2522ec=>0x1!=_0x2522ec}};
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':_0x4d6275=>0x1!=_0x4d6275}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x1b8067=>{const {bn:{dictionary:_0x2cb2ff,getPluralForm:_0x331ee7}}={'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':_0x5c3943=>0x1!=_0x5c3943}};_0x1b8067['bn']||={'dictionary':{},'getPluralForm':null},_0x1b8067['bn']['dictionary']=Object['assign'](_0x1b8067['bn']['dictionary'],_0x2cb2ff),_0x1b8067['bn']['getPluralForm']=_0x331ee7;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x14dc7d=>{const {bn:{dictionary:_0x3579ee,getPluralForm:_0x1adaf4}}={'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':_0x23dbbd=>0x1!=_0x23dbbd}};_0x14dc7d['bn']||={'dictionary':{},'getPluralForm':null},_0x14dc7d['bn']['dictionary']=Object['assign'](_0x14dc7d['bn']['dictionary'],_0x3579ee),_0x14dc7d['bn']['getPluralForm']=_0x1adaf4;})(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':_0x41a0be=>_0x41a0be%0xa==0x1&&_0x41a0be%0x64!=0xb?0x0:_0x41a0be%0xa>=0x2&&_0x41a0be%0xa<=0x4&&(_0x41a0be%0x64<0xa||_0x41a0be%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':_0x33709c=>_0x33709c%0xa==0x1&&_0x33709c%0x64!=0xb?0x0:_0x33709c%0xa>=0x2&&_0x33709c%0xa<=0x4&&(_0x33709c%0x64<0xa||_0x33709c%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x8e65db=>{const {bs:{dictionary:_0x47252d,getPluralForm:_0x472927}}={'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':_0x36e4b0=>_0x36e4b0%0xa==0x1&&_0x36e4b0%0x64!=0xb?0x0:_0x36e4b0%0xa>=0x2&&_0x36e4b0%0xa<=0x4&&(_0x36e4b0%0x64<0xa||_0x36e4b0%0x64>=0x14)?0x1:0x2}};_0x8e65db['bs']||={'dictionary':{},'getPluralForm':null},_0x8e65db['bs']['dictionary']=Object['assign'](_0x8e65db['bs']['dictionary'],_0x47252d),_0x8e65db['bs']['getPluralForm']=_0x472927;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x4e4f33=>{const {bs:{dictionary:_0x589c89,getPluralForm:_0x2d2e98}}={'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':_0x4b3dfd=>_0x4b3dfd%0xa==0x1&&_0x4b3dfd%0x64!=0xb?0x0:_0x4b3dfd%0xa>=0x2&&_0x4b3dfd%0xa<=0x4&&(_0x4b3dfd%0x64<0xa||_0x4b3dfd%0x64>=0x14)?0x1:0x2}};_0x4e4f33['bs']||={'dictionary':{},'getPluralForm':null},_0x4e4f33['bs']['dictionary']=Object['assign'](_0x4e4f33['bs']['dictionary'],_0x589c89),_0x4e4f33['bs']['getPluralForm']=_0x2d2e98;})(window['CKEDITOR_TRANSLATIONS']||={});