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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (173) hide show
  1. package/build/uploadcare.js +1 -1
  2. package/dist/index.js +3 -3
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +9 -9
  150. package/src/index.js +1 -1
  151. package/src/ui/uploadcarecontroller.js +2 -2
  152. package/src/ui/uploadcareformview.js +1 -1
  153. package/src/uploadcare.js +1 -1
  154. package/src/uploadcarecommand.js +1 -1
  155. package/src/uploadcareconfig.js +1 -1
  156. package/src/uploadcareediting.js +1 -1
  157. package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.js +2 -2
  158. package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.js +1 -1
  159. package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.js +1 -1
  160. package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.js +1 -1
  161. package/src/uploadcareimageedit/ui/uploadcareimageeditformview.js +1 -1
  162. package/src/uploadcareimageedit/uploadcareimageeditcommand.js +1 -1
  163. package/src/uploadcareimageedit/uploadcareimageeditediting.js +1 -1
  164. package/src/uploadcareimageedit/uploadcareimageeditui.js +1 -1
  165. package/src/uploadcareimageedit/uploadcareimagereplacecommand.js +1 -1
  166. package/src/uploadcareimageedit.js +1 -1
  167. package/src/uploadcareui.js +1 -1
  168. package/src/uploadcareuploadadapter.js +1 -1
  169. package/src/utils/common-translations.js +1 -1
  170. package/src/utils/dialogfocusmanagerview.js +1 -1
  171. package/src/utils/editingutils.js +1 -1
  172. package/src/utils/isancestor.js +1 -1
  173. package/src/utils/uploadutils.js +1 -1
package/dist/index.js CHANGED
@@ -20,6 +20,6 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x393f5e,Command as _0x22407d}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x33362e,IconGooglePhotos as _0x16a8ef,IconGoogleDrive as _0x22758c,IconFacebook as _0x28d6c8,IconDropbox as _0x278095,IconUploadcareLink as _0x1050a9,IconUploadcareImageUpload as _0x447a3a,IconError as _0x5f0bc8,IconUploadcareImageEdit as _0x51afd3}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x4717b3,MenuBarMenuListItemButtonView as _0x36722e,View as _0x4fc319,FocusCycler as _0x4188c2,Dialog as _0x4d34b1,DialogViewPosition as _0x53c55b,SpinnerView as _0x343ed6,IconView as _0xa664d4,Notification as _0x2c1d1b}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x528859,DomEmitterMixin as _0x3a136c,global as _0x552c00,getAncestors as _0xdfd015,ObservableMixin as _0x2968aa,uid as _0x1d6523,createElement as _0x2a8339}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x2b5d9b}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x5463a0,info as _0x53e47f}from'@uploadcare/upload-client';import*as _0x4f1954 from'@uploadcare/file-uploader';var i=function(_0x5e686f){return _0x5e686f['Local']='local',_0x5e686f['URL']='url',_0x5e686f['Dropbox']='dropbox',_0x5e686f['GDrive']='gdrive',_0x5e686f['Facebook']='facebook',_0x5e686f['GPhotos']='gphotos',_0x5e686f['OneDrive']='onedrive',_0x5e686f;}({});function _(_0x277e9a,_0x342976,_0x4853ed){const t=_0x277e9a['t'],_0x58f822=_0x277e9a['t'];switch(_0x342976){case i['Local']:return{'text':_0x58f822('Insert'===_0x4853ed?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x58f822('From\x20computer')};case i['URL']:return{'text':'Insert'===_0x4853ed?_0x58f822('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x58f822('Via\x20URL')};case i['Dropbox']:return{'text':t('Insert'===_0x4853ed?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case i['Facebook']:return{'text':t('Insert'===_0x4853ed?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case i['GDrive']:return{'text':t('Insert'===_0x4853ed?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case i['GPhotos']:return{'text':t('Insert'===_0x4853ed?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case i['OneDrive']:return{'text':t('Insert'===_0x4853ed?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x342976;}}class e extends _0x393f5e{['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 _0x30a488=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x221467;for(const _0x445106 in _0x30a488){const _0x3a8407=_0x445106,_0x17ec02=_0x30a488[_0x3a8407];if('uploadcareLicenseKeyValid'==_0x17ec02||'uploadcareLicenseKeyInvalid'==_0x17ec02||'uploadcareLicenseKeyExpired'==_0x17ec02||'uploadcareLicenseKeyDomainLimit'==_0x17ec02||'uploadcareLicenseKeyNotAllowed'==_0x17ec02||'uploadcareLicenseKeyEvaluationLimit'==_0x17ec02||'uploadcareLicenseKeyTrialLimit'==_0x17ec02||'uploadcareLicenseKeyUsageLimit'==_0x17ec02){delete _0x30a488[_0x3a8407],_0x221467=_0x17ec02,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x221467&&_0x30a488['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x221467&&_0x30a488['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x221467&&_0x30a488['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x221467&&_0x30a488['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x221467&&_0x30a488['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0x221467&&_0x30a488['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0x221467&&_0x30a488['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x2d2a84}=this,_0x552fe1=_0x2d2a84['commands']['get']('uploadcare');if(!_0x552fe1)return;const _0x20711e=this['_normalizeConfigSourceList'](_0x2d2a84['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x5ebd60,_0x48eb40)=>{const _0x9e72ad=this['_getIntegrationKey'](_0x48eb40['type']);return _0x5ebd60[_0x9e72ad]||(_0x5ebd60[_0x9e72ad]=[]),_0x5ebd60[_0x9e72ad]['push'](_0x48eb40),_0x5ebd60;},{});_0x2d2a84['plugins']['has']('ImageInsertUI')&&_0x2d2a84['commands']['get']('uploadcare')&&Object['entries'](_0x20711e)['forEach'](([_0x5a853f,_0x3d45f6])=>{_0x2d2a84['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x5a853f,'observable':()=>_0x552fe1,'buttonViewCreator':()=>this['_createToolbarButton'](_0x3d45f6),'formViewCreator':()=>this['_createDropdownButtons'](_0x3d45f6),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x3d45f6),'override':'assetManager'!==_0x5a853f});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x9b577f){const {locale:_0x43f2af}=this['editor'];return _0x9b577f['map'](_0x4ecb5a=>{const _0x48b014=_(_0x43f2af,_0x4ecb5a,'Insert');switch(_0x4ecb5a){case i['Local']:return{'icon':_0x447a3a,'type':i['Local'],..._0x48b014};case i['URL']:return{'icon':_0x1050a9,'type':i['URL'],..._0x48b014};case i['Dropbox']:return{'icon':_0x278095,'type':i['Dropbox'],..._0x48b014};case i['Facebook']:return{'icon':_0x28d6c8,'type':i['Facebook'],..._0x48b014};case i['GDrive']:return{'icon':_0x22758c,'type':i['GDrive'],..._0x48b014};case i['GPhotos']:return{'icon':_0x16a8ef,'type':i['GPhotos'],..._0x48b014};case i['OneDrive']:return{'icon':_0x33362e,'type':i['OneDrive'],..._0x48b014};}});}['_getIntegrationKey'](_0x1fe1b6){switch(_0x1fe1b6){case i['Local']:return'upload';case i['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x136f9f,_0x215a4c){const _0x28ad16=this['editor'],_0x5f122d=new _0x136f9f(_0x28ad16['locale']),_0xa5de4e=_0x28ad16['commands']['get']('uploadcare');return _0x5f122d['bind']('isEnabled')['to'](_0xa5de4e),_0x5f122d['on']('execute',()=>{_0xa5de4e['execute'](_0x215a4c);}),_0x5f122d;}['_createToolbarButton'](_0x45aa43){const {locale:_0x4252a8}=this['editor'],_0x23941b=this['editor']['plugins']['get']('ImageInsertUI'),_0x2be48a=_0x45aa43[0x0],_0x5821fd=this['_createButton'](_0x4717b3,_0x2be48a['type']);return _0x5821fd['icon']=_0x2be48a['icon'],_0x5821fd['bind']('label')['to'](_0x23941b,'isImageSelected',_0x21a305=>_(_0x4252a8,_0x2be48a['type'],_0x21a305?'Replace':'Insert')['text']),_0x5821fd['tooltip']=!0x0,_0x5821fd;}['_createDropdownButtons'](_0x4c154b){const {locale:_0x26ef41}=this['editor'],_0xa30727=this['editor']['plugins']['get']('ImageInsertUI');return _0x4c154b['map'](_0x37b754=>{const _0x232331=this['_createButton'](_0x4717b3,_0x37b754['type']);return _0x232331['withText']=!0x0,_0x232331['icon']=_0x37b754['icon'],_0x232331['bind']('label')['to'](_0xa30727,'isImageSelected',_0xa4a716=>_(_0x26ef41,_0x37b754['type'],_0xa4a716?'Replace':'Insert')['text']),_0x232331;});}['_createMenuBarButtons'](_0x55d083){return _0x55d083['map'](_0x3b9c19=>{const _0x544e9c=this['_createButton'](_0x36722e,_0x3b9c19['type']);return _0x544e9c['icon']=_0x3b9c19['icon'],_0x544e9c['label']=_0x3b9c19['shortText'],_0x544e9c;});}}class F extends _0x4fc319{['focusTracker'];['focusCycler'];constructor(_0x5104f9){super(_0x5104f9),this['focusTracker']=new _0x528859(),this['focusCycler']=new _0x4188c2({'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(_0x21cd09,_0xcb4946){super(_0x21cd09),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-'+_0xcb4946}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function C(_0x4f5670,_0x314a7f){const _0x2599bb=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x32cbd5=>_0x32cbd5<=_0x314a7f)['map'](_0x369fd7=>_0x4f5670['replace'](/\/$/,'')+'/-/resize/'+_0x369fd7+'x/\x20'+_0x369fd7+'w');return{'imageFallbackUrl':_0x4f5670,'imageSources':[{'srcset':_0x2599bb['join'](',\x20'),'sizes':'(max-width:\x20'+_0x314a7f+'px)\x20100vw,\x20'+_0x314a7f+'px','type':'image/webp'}]};}function S(_0x3cf65c,_0x26187e,_0x3fdc62){const _0x45c761=_0x3cf65c['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x45c761?parseInt(_0x45c761[0x1],0xa):_0x26187e,'height':_0x45c761?parseInt(_0x45c761[0x2],0xa):_0x3fdc62};}function p(_0x32bd05,_0x1efcdc){const _0x499f42=new(_0x3a136c())(),_0x5c091d=_0x32bd05['plugins']['get']('ImageUtils'),_0x7b0bba=_0x32bd05['editing']['mapper']['toViewElement'](_0x1efcdc),_0x4210cc=_0x5c091d['findViewImgElement'](_0x7b0bba),_0x5a1c57=_0x32bd05['editing']['view']['domConverter']['viewToDom'](_0x4210cc),_0x55e8e7=_0x1efcdc['getAttribute']('width'),_0x2dbc0f=_0x1efcdc['getAttribute']('height'),_0x245403='image-processing';_0x32bd05['editing']['view']['change'](_0x49ce81=>{_0x49ce81['addClass'](_0x245403,_0x7b0bba),_0x49ce81['setStyle']('aspect-ratio',_0x55e8e7+'/'+_0x2dbc0f,_0x4210cc);}),_0x499f42['listenTo'](_0x5a1c57,'load',()=>{_0x499f42['stopListening'](_0x5a1c57,'load'),_0x32bd05['editing']['view']['change'](_0xecfc7b=>{_0xecfc7b['removeClass'](_0x245403,_0x7b0bba),_0xecfc7b['removeStyle']('aspect-ratio',_0x4210cc);});});}function G(_0x10a3bd){if(Array['isArray'](_0x10a3bd)){const _0x39bc60=_0x10a3bd['map'](G);return _0x1be87a=>_0x39bc60['some'](_0x442f7b=>_0x442f7b(_0x1be87a));}if('origin'==_0x10a3bd){const _0x66ecb6=_0x552c00['window']['location']['origin'];return _0x3dc255=>new URL(_0x3dc255,_0x552c00['document']['baseURI'])['origin']==_0x66ecb6;}return'function'==typeof _0x10a3bd?_0x10a3bd:_0x10a3bd instanceof RegExp?_0x5260da=>!(!_0x5260da['match'](_0x10a3bd)&&!_0x5260da['replace'](/^https?:\/\//,'')['match'](_0x10a3bd)):()=>!0x1;}function A(_0x40395f,_0x18b120){return _0xdfd015(_0x40395f['target'])['includes'](_0x18b120);}class n extends/* #__PURE__ -- @preserve */
24
- _0x2968aa(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x53782f,_0x31e71c,_0x304022){super(),this['_editor']=_0x53782f,this['_editing']=_0x31e71c,this['_dialog']=_0x53782f['plugins']['get'](_0x4d34b1),this['_api']=_0x31e71c['ctxElement']['getAPI'](),this['_type']=_0x304022,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:_0x2e6492,model:_0x4bff3d}=this['_editor'],_0x428d3d=_0x4bff3d['document']['selection']['getSelectedElement'](),_0x5d9f3f=_0x428d3d&&(_0x428d3d['is']('element','imageBlock')||_0x428d3d['is']('element','imageInline'));this['_formView']=new x(_0x2e6492,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':_0x447a3a,'title':_(_0x2e6492,this['_type'],_0x5d9f3f?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x53c55b['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x3f56c2=>!A(_0x3f56c2,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x542cf2}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x5daf2d=>{const _0x26c4b6=_0x542cf2['length'];for(const _0x38e779 of _0x542cf2){const _0x2ef52e=_0x38e779===_0x542cf2[_0x26c4b6-0x1],{cdnUrl:_0x19d36e,fileInfo:_0x862328}=_0x38e779;if(!_0x19d36e||!_0x862328)continue;const {width:_0x4c06c0,height:_0x582226}=_0x862328['imageInfo'],_0x415a89=S(_0x19d36e,_0x4c06c0,_0x582226),_0x37d989=C(_0x19d36e,_0x415a89['width']),_0x5b2be9={'id':_0x862328['uuid'],'type':'image','attributes':{'imageDimension':_0x415a89,..._0x37d989}};this['_insertAsset'](_0x5b2be9,_0x2ef52e,_0x5daf2d);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x3b8549=>{'idle'===_0x3b8549['detail']['status']&&!_0x3b8549['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===i['Local']?this['_api']['setCurrentActivity'](i['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x3a6125,_0x2b67bc,_0x2b863b){const _0x569797=this['_editor']['model']['document']['selection'],_0x108a58=_0x569797['getSelectedElement'](),_0x355601=!(!_0x108a58||!_0x108a58['is']('element','imageInline'));_0x2b863b['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x3a6125,_0x355601),_0x2b67bc||_0x2b863b['setSelection'](_0x569797['getLastPosition']());}['_insertImage'](_0x59eff6,_0x2a6937){const _0x15c004=this['_editor'],{imageDimension:_0x4a6c2a,imageFallbackUrl:_0x43b929,imageSources:_0x357e08}=_0x59eff6['attributes'];_0x15c004['execute']('insertImage',{'imageType':_0x2a6937?'imageInline':null,'source':{'uploadcareImageId':_0x59eff6['id'],'src':_0x43b929,'sources':_0x357e08,..._0x4a6c2a}});}}class w extends _0x22407d{['_editing'];['_controller']=null;static get['requires'](){return[_0x4d34b1,o];}constructor(_0x33e544){super(_0x33e544),this['_editing']=_0x33e544['plugins']['get'](o);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x1beec1){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new n(this['editor'],this['_editing'],_0x1beec1);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class j{static['upload']({file:_0x44096d,..._0x160deb}){return _0x5463a0(_0x44096d,_0x160deb);}static['getInfo'](_0x510dc9,_0x19247c){return _0x53e47f(_0x510dc9,_0x19247c);}}class f extends _0x393f5e{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x2b5d9b,o];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x5e67c7=this['editor'];if(!!!_0x5e67c7['config']['get']('uploadcare'))return;_0x5e67c7['plugins']['get'](_0x2b5d9b)['createUploadAdapter']=_0x4e7f7c=>new k(_0x4e7f7c,_0x5e67c7),_0x5e67c7['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x3fca8b,{imageElement:_0xba10dc,data:_0x263980})=>{_0x5e67c7['model']['change'](_0x4a0793=>{_0x4a0793['setAttribute']('uploadcareImageId',_0x263980['uploadcareImageId'],_0xba10dc);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x1722f5,_0x3c8ab7){this['loader']=_0x1722f5,this['editor']=_0x3c8ab7,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0xf0c89d=await this['loader']['file'];return j['upload']({'file':_0xf0c89d,'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':_0xcfb64a=>{_0xcfb64a&&_0xcfb64a['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0xcfb64a['value']);}})['then'](async _0x55656b=>{const {imageFallbackUrl:_0xd8d4b9,imageSources:_0x5d3392}=C(_0x55656b['cdnUrl'],_0x55656b['imageInfo']['width']);return{'uploadcareImageId':_0x55656b['uuid'],'default':_0xd8d4b9,'sources':_0x5d3392};})['catch'](()=>{const _0xe073c3=t('Cannot\x20upload\x20file:')+('\x20'+_0xf0c89d['name']+'.');return Promise['reject'](_0xe073c3);});}['abort'](){this['controller']['abort']();}}class o extends _0x393f5e{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',f,_0x4d34b1];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['ucContextId'];get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}constructor(_0x46ebef){super(_0x46ebef),this['ucContextId']=_0x1d6523();}['init'](){const _0x4bef2b=this['editor'];_0x4bef2b['commands']['add']('uploadcare',new w(_0x4bef2b));}['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 _0x2fd3fa=_0x552c00['document']['querySelector']('input[uploadcare-file-input]');_0x2fd3fa&&_0x2fd3fa['remove']();}),async function(_0x1dba8e){const _0x194bff=_0x3ebc94([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]),_0xaa130d=0x3d8d0df,_0x2ea174=0x3dfa497^_0xaa130d,_0x27e27f=window[_0x3ebc94([0x44,0x61,0x74,0x65])][_0x3ebc94([0x6e,0x6f,0x77])](),_0x10c852=_0x1dba8e[_0x3ebc94([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x5b7354=new window[(_0x3ebc94([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x149642=>{_0x10c852[_0x3ebc94([0x6f,0x6e,0x63,0x65])](_0x3ebc94([0x72,0x65,0x61,0x64,0x79]),_0x149642);}),_0x3819db={[_0x3ebc94([0x6b,0x74,0x79])]:_0x3ebc94([0x45,0x43]),[_0x3ebc94([0x75,0x73,0x65])]:_0x3ebc94([0x73,0x69,0x67]),[_0x3ebc94([0x63,0x72,0x76])]:_0x3ebc94([0x50,0x2d,0x32,0x35,0x36]),[_0x3ebc94([0x78])]:_0x3ebc94([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]),[_0x3ebc94([0x79])]:_0x3ebc94([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]),[_0x3ebc94([0x61,0x6c,0x67])]:_0x3ebc94([0x45,0x53,0x32,0x35,0x36])},_0x418ae6=_0x10c852[_0x3ebc94([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3ebc94([0x67,0x65,0x74])](_0x3ebc94([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x2cc79a(){let _0x341444,_0x1d3532=null,_0x4fa10d=null;try{if(_0x418ae6==_0x3ebc94([0x47,0x50,0x4c]))return _0x3ebc94([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x341444=_0x5caabc(),!_0x341444)return _0x3ebc94([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x341444[_0x3ebc94([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4fa10d=_0x4f9655(_0x341444[_0x3ebc94([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x341444[_0x3ebc94([0x6a,0x74,0x69])])),await _0x2ce041()?_0x3bca6c()?_0x1b1c02()?_0x3ebc94([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x226a9a()?(_0x341444[_0x3ebc94([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3ebc94([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1d3532=_0x1a7c37(_0x3ebc94([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x341444[_0x3ebc94([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3ebc94([0x74,0x72,0x69,0x61,0x6c])&&(_0x1d3532=_0x1a7c37(_0x3ebc94([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x14d328()):_0x3ebc94([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3ebc94([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3ebc94([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x3ebc94([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x1b1c02(){const _0x32f891=[_0x3ebc94([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3ebc94([0x74,0x72,0x69,0x61,0x6c])][_0x3ebc94([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x341444[_0x3ebc94([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x27e27f/0x3e8:0xe10*_0x2ea174;return _0x341444[_0x3ebc94([0x65,0x78,0x70])]<_0x32f891;}function _0x3bca6c(){const _0x101a1e=_0x341444[_0x3ebc94([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x101a1e&&(!!_0x101a1e[_0x3ebc94([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3ebc94([0x2a]))||!!_0x101a1e[_0x3ebc94([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3ebc94([0x55,0x50,0x4c,0x43])));}function _0x226a9a(){const _0x21c51f=_0x341444[_0x3ebc94([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x21c51f||0x0==_0x21c51f[_0x3ebc94([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1a9a02}=new URL(window[_0x3ebc94([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x21c51f[_0x3ebc94([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1a9a02))return!0x0;const _0x1ebe64=_0x1a9a02[_0x3ebc94([0x73,0x70,0x6c,0x69,0x74])](_0x3ebc94([0x2e]));return _0x21c51f[_0x3ebc94([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x43edd7=>_0x43edd7[_0x3ebc94([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3ebc94([0x2a])))[_0x3ebc94([0x6d,0x61,0x70])](_0x39c615=>_0x39c615[_0x3ebc94([0x73,0x70,0x6c,0x69,0x74])](_0x3ebc94([0x2e])))[_0x3ebc94([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x40b502=>_0x40b502[_0x3ebc94([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x1ebe64[_0x3ebc94([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3ebc94([0x6d,0x61,0x70])](_0x498ac7=>Array(_0x1ebe64[_0x3ebc94([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x498ac7[_0x3ebc94([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3ebc94([0x66,0x69,0x6c,0x6c])](_0x498ac7[0x0]===_0x3ebc94([0x2a])?_0x3ebc94([0x2a]):'')[_0x3ebc94([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x498ac7))[_0x3ebc94([0x73,0x6f,0x6d,0x65])](_0xd06bd5=>_0x1ebe64[_0x3ebc94([0x65,0x76,0x65,0x72,0x79])]((_0x12e1a4,_0x3470e2)=>_0xd06bd5[_0x3470e2]===_0x12e1a4||_0xd06bd5[_0x3470e2]===_0x3ebc94([0x2a])));}function _0x14d328(){return _0x1d3532&&_0x4fa10d?new window[(_0x3ebc94([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x43868f,_0x22b0f0)=>{_0x1d3532[_0x3ebc94([0x74,0x68,0x65,0x6e])](_0x43868f,_0x22b0f0),_0x4fa10d[_0x3ebc94([0x74,0x68,0x65,0x6e])](_0x43051c=>{_0x43051c!=_0x3ebc94([0x56,0x61,0x6c,0x69,0x64])&&_0x43868f(_0x43051c);},_0x22b0f0);}):_0x1d3532||_0x4fa10d||_0x3ebc94([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4f9655(_0x1248cc,_0x36aab2){return new window[(_0x3ebc94([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2de14b=>{if(_0x5b6d3b())return _0x2de14b(_0x3ebc94([0x56,0x61,0x6c,0x69,0x64]));_0x4871a8(),_0x10c852[_0x3ebc94([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3ebc94([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x5bb9fc=!0x1;const _0x1fa1f3=_0x1d6523();function _0x199f5e(_0x39b050){return!!_0x39b050&&(typeof _0x39b050===_0x3ebc94([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x39b050===_0x3ebc94([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x39b050[_0x3ebc94([0x74,0x68,0x65,0x6e])]===_0x3ebc94([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x39b050[_0x3ebc94([0x63,0x61,0x74,0x63,0x68])]===_0x3ebc94([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x15bbfc(_0x1e273b){_0x3f18e7(_0x1e273b)[_0x3ebc94([0x74,0x68,0x65,0x6e])](_0x16d1e6=>{if(!_0x16d1e6||_0x16d1e6[_0x3ebc94([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3ebc94([0x6f,0x6b]))return _0x3ebc94([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x14a438(_0x5ba063(_0x1fa1f3+_0x36aab2))!=_0x16d1e6[_0x3ebc94([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3ebc94([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3ebc94([0x56,0x61,0x6c,0x69,0x64]);})[_0x3ebc94([0x74,0x68,0x65,0x6e])](_0x5da9b1=>(_0x29e087(),_0x5da9b1),()=>{const _0x55c451=_0xb05d12();return null==_0x55c451?(_0x29e087(),_0x3ebc94([0x56,0x61,0x6c,0x69,0x64])):_0x3ebc94(_0x27e27f-_0x55c451>(0x27d454df^_0xaa130d)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3ebc94([0x74,0x68,0x65,0x6e])](_0x2de14b)[_0x3ebc94([0x63,0x61,0x74,0x63,0x68])](()=>{_0x2de14b(_0x3ebc94([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x263f37=0x3ee3e5f^_0xaa130d;function _0x29e087(){const _0x55131b=_0x3ebc94([0x6c,0x6c,0x63,0x74,0x2d])+_0x14a438(_0x5ba063(_0x1248cc)),_0x50133c=_0x4d0d78(_0x14a438(window[_0x3ebc94([0x4d,0x61,0x74,0x68])][_0x3ebc94([0x63,0x65,0x69,0x6c])](_0x27e27f/_0x263f37)));window[_0x3ebc94([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3ebc94([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x55131b,_0x50133c);}function _0xb05d12(){const _0x3a493c=_0x3ebc94([0x6c,0x6c,0x63,0x74,0x2d])+_0x14a438(_0x5ba063(_0x1248cc)),_0x1af90e=window[_0x3ebc94([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3ebc94([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3a493c);return _0x1af90e?window[_0x3ebc94([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4d0d78(_0x1af90e),0x10)*_0x263f37:null;}function _0x3f18e7(_0xc9b6ab){return new window[(_0x3ebc94([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1fff01,_0x348a89)=>{_0xc9b6ab[_0x3ebc94([0x74,0x68,0x65,0x6e])](_0x1fff01,_0x348a89),window[_0x3ebc94([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x348a89,0x3d9041f^_0xaa130d);});}}_0x10c852[_0x3ebc94([0x6f,0x6e])](_0x3ebc94([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0xff03b8,_0x4630e6)=>{if(_0x4630e6[0x0]!=_0x1248cc)return _0x2de14b(_0x3ebc94([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4630e6[0x1]={..._0x4630e6[0x1],[_0x3ebc94([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1fa1f3};},{[_0x3ebc94([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3ebc94([0x68,0x69,0x67,0x68])}),_0x10c852[_0x3ebc94([0x6f,0x6e])](_0x3ebc94([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3faca8=>{_0x199f5e(_0x3faca8[_0x3ebc94([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x5bb9fc=!0x0,_0x15bbfc(_0x3faca8[_0x3ebc94([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3ebc94([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3ebc94([0x6c,0x6f,0x77])}),_0x5b7354[_0x3ebc94([0x74,0x68,0x65,0x6e])](()=>{_0x5bb9fc||_0x2de14b(_0x3ebc94([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x5b6d3b(){return _0x10c852[_0x3ebc94([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3ebc94([0x76,0x69,0x65,0x77])][_0x3ebc94([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3ebc94([0x61,0x75,0x74,0x6f]);}function _0x4871a8(){_0x10c852[_0x3ebc94([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3ebc94([0x76,0x69,0x65,0x77])][_0x3ebc94([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3ebc94([0x61,0x75,0x74,0x6f]);}}function _0x1a7c37(_0x3683d7){const _0x3e49b8=[new window[(_0x3ebc94([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3acde9=>setTimeout(_0x3acde9,0x3d1ee13^_0xaa130d)),_0x5b7354[_0x3ebc94([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3ebc94([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x196858=>{let _0x381280=0x0;_0x10c852[_0x3ebc94([0x6d,0x6f,0x64,0x65,0x6c])][_0x3ebc94([0x6f,0x6e])](_0x3ebc94([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x12548b,_0x32dc41)=>{_0x32dc41[0x0][_0x3ebc94([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x381280++,_0x381280==(0x3d8d127^_0xaa130d)&&(_0x196858(),_0x12548b[_0x3ebc94([0x6f,0x66,0x66])]());});}))];return window[_0x3ebc94([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3ebc94([0x72,0x61,0x63,0x65])](_0x3e49b8)[_0x3ebc94([0x74,0x68,0x65,0x6e])](()=>_0x3683d7);}async function _0x16207b(){await _0x5b7354,_0x10c852[_0x3ebc94([0x6d,0x6f,0x64,0x65,0x6c])][_0x3ebc94([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2b814e,_0x10c852[_0x3ebc94([0x6d,0x6f,0x64,0x65,0x6c])][_0x3ebc94([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2b814e,_0x10c852[_0x3ebc94([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3ebc94([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x70cec3(_0x594cf9){const _0x4994c8=_0x5771a7();_0x10c852[_0x4994c8]=_0x3ebc94([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x594cf9,_0x594cf9!=_0x3ebc94([0x56,0x61,0x6c,0x69,0x64])&&_0x16207b();}function _0x5771a7(){const _0x4fcc71=window[_0x3ebc94([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3ebc94([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3ebc94([0x6e,0x6f,0x77])]())[_0x3ebc94([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3ebc94([0x2e]),'');let _0x2d9a20=_0x3ebc94([0x52]);for(let _0x1d90cb=0x0;_0x1d90cb<_0x4fcc71[_0x3ebc94([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1d90cb+=0x2){let _0x488339=window[_0x3ebc94([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4fcc71[_0x3ebc94([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1d90cb,_0x1d90cb+0x2));_0x488339>=_0x194bff[_0x3ebc94([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x488339-=_0x194bff[_0x3ebc94([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2d9a20+=_0x194bff[_0x488339];}return _0x2d9a20;}function _0x5caabc(){const _0x4d5608=_0x418ae6[_0x3ebc94([0x73,0x70,0x6c,0x69,0x74])](_0x3ebc94([0x2e]));if(0x3!=_0x4d5608[_0x3ebc94([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x18ab31(_0x4d5608[0x1]);function _0x18ab31(_0x46a9c){const _0xdf9a6b=_0x4659f7(_0x46a9c);return _0xdf9a6b&&_0x4359e6()?_0xdf9a6b:null;function _0x4359e6(){const _0x4f10ba=_0xdf9a6b[_0x3ebc94([0x6a,0x74,0x69])],_0x116c7b=window[_0x3ebc94([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4f10ba[_0x3ebc94([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4f10ba[_0x3ebc94([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x175225={..._0xdf9a6b,[_0x3ebc94([0x6a,0x74,0x69])]:_0x4f10ba[_0x3ebc94([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4f10ba[_0x3ebc94([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x175225[_0x3ebc94([0x76,0x63])],_0x5ba063(_0x175225)==_0x116c7b;}}}async function _0x2ce041(){let _0x201d7d=!0x0;try{const _0x97573f=_0x418ae6[_0x3ebc94([0x73,0x70,0x6c,0x69,0x74])](_0x3ebc94([0x2e])),[_0x6f906d,_0x5a4be9,_0x57623b]=_0x97573f;return _0x3e51fa(_0x6f906d),await _0x1d3d77(_0x6f906d,_0x5a4be9,_0x57623b),_0x201d7d;}catch{return!0x1;}function _0x3e51fa(_0x1de630){const _0x22542d=_0x4659f7(_0x1de630);_0x22542d&&_0x22542d[_0x3ebc94([0x61,0x6c,0x67])]==_0x3ebc94([0x45,0x53,0x32,0x35,0x36])||(_0x201d7d=!0x1);}async function _0x1d3d77(_0x1ac747,_0x4645cc,_0x1f7be){const _0x2ce896=window[_0x3ebc94([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3ebc94([0x66,0x72,0x6f,0x6d])](_0x294a2c(_0x1f7be),_0x3ab825=>_0x3ab825[_0x3ebc94([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x3de746=new window[(_0x3ebc94([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3ebc94([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1ac747+_0x3ebc94([0x2e])+_0x4645cc),_0x2784f0=window[_0x3ebc94([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3ebc94([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2784f0)return;const _0x28b842=await _0x2784f0[_0x3ebc94([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3ebc94([0x6a,0x77,0x6b]),_0x3819db,{[_0x3ebc94([0x6e,0x61,0x6d,0x65])]:_0x3ebc94([0x45,0x43,0x44,0x53,0x41]),[_0x3ebc94([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3ebc94([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3ebc94([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2784f0[_0x3ebc94([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3ebc94([0x6e,0x61,0x6d,0x65])]:_0x3ebc94([0x45,0x43,0x44,0x53,0x41]),[_0x3ebc94([0x68,0x61,0x73,0x68])]:{[_0x3ebc94([0x6e,0x61,0x6d,0x65])]:_0x3ebc94([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x28b842,_0x2ce896,_0x3de746)||(_0x201d7d=!0x1);}}function _0x4659f7(_0x23a54d){return _0x23a54d[_0x3ebc94([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3ebc94([0x65,0x79]))?JSON[_0x3ebc94([0x70,0x61,0x72,0x73,0x65])](_0x294a2c(_0x23a54d)):null;}function _0x294a2c(_0x1e2b3f){return window[_0x3ebc94([0x61,0x74,0x6f,0x62])](_0x1e2b3f[_0x3ebc94([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3ebc94([0x2b]))[_0x3ebc94([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3ebc94([0x2f])));}function _0x5ba063(_0x4bce94){let _0x3dc291=0x1505;function _0x5d4802(_0x1610dc){for(let _0x1e41ce=0x0;_0x1e41ce<_0x1610dc[_0x3ebc94([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1e41ce++){const _0xec3437=_0x1610dc[_0x3ebc94([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1e41ce);_0x3dc291=(_0x3dc291<<0x5)+_0x3dc291+_0xec3437,_0x3dc291&=_0x3dc291;}}function _0x57f91d(_0x4d8ffe){Array[_0x3ebc94([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4d8ffe)?_0x4d8ffe[_0x3ebc94([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x57f91d):_0x4d8ffe&&typeof _0x4d8ffe==_0x3ebc94([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3ebc94([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4d8ffe)[_0x3ebc94([0x73,0x6f,0x72,0x74])]()[_0x3ebc94([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5499a1,_0x437881])=>{_0x5d4802(_0x5499a1),_0x57f91d(_0x437881);}):_0x5d4802(window[_0x3ebc94([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4d8ffe));}return _0x57f91d(_0x4bce94),_0x3dc291>>>0x0;}function _0x14a438(_0xc776f2){return _0xc776f2[_0x3ebc94([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3ebc94([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3ebc94([0x30]));}function _0x4d0d78(_0x47cb79){return _0x47cb79[_0x3ebc94([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3ebc94([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3ebc94([0x6a,0x6f,0x69,0x6e])]('');}function _0x2b814e(){}function _0x3ebc94(_0x52255c){return _0x52255c['map'](_0x5b4986=>String['fromCharCode'](_0x5b4986))['join']('');}_0x70cec3(await _0x2cc79a());}(this);}['_initSchema'](){const _0x30541f=this['editor']['model']['schema'];_0x30541f['isRegistered']('imageBlock')&&_0x30541f['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x30541f['isRegistered']('imageInline')&&_0x30541f['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x40ce76=this['editor'];_0x40ce76['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x40ce76['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x481014=>_0x481014['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x4cd1de=_0x40ce76['commands']['get']('replaceImageSource');_0x4cd1de&&this['listenTo'](_0x4cd1de,'cleanupImage',(_0x5eaeb5,[_0x1945c7,_0x59c5b3])=>{_0x1945c7['removeAttribute']('uploadcareImageId',_0x59c5b3);});}['_initConfig'](){const _0x29e83d=this['editor']['config']['get']('uploadcare.uploader')||{},_0x59757f=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x2a8339(_0x552c00['document'],'uc-config',{..._0x29e83d,'pubkey':_0x59757f,'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']=_0xe8d76b=>{if('closeMax'==_0xe8d76b)return'#uc-icon-arrow-down';},_0x552c00['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x2a8339(_0x552c00['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),_0x552c00['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x31d0ab=this['editor']['commands']['get']('insertImage');_0x31d0ab&&this['listenTo'](_0x31d0ab,'execute',()=>{const _0x161682=this['editor']['model']['document']['selection']['getSelectedElement']();_0x161682&&_0x161682['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x161682);});});const _0x47213d=this['editor']['commands']['get']('uploadcareImageReplace');_0x47213d&&this['listenTo'](_0x47213d,'execute',()=>{const _0x97e8ba=this['editor']['model']['document']['selection']['getSelectedElement']();_0x97e8ba&&_0x97e8ba['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x97e8ba);});});}}class tt extends _0x393f5e{static get['requires'](){return[o,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x59027d){super(_0x59027d),_0x59027d['config']['define']('uploadcare.uploader.sourceList',[i['Local'],i['URL']]),_0x4f1954['defineComponents'](_0x4f1954);}}class ii extends _0x4fc319{constructor(_0x6bea0b){super(_0x6bea0b);const t=_0x6bea0b['t'],_0x4b230b=this['bindTemplate'],_0x2b736c=new _0x343ed6();_0x2b736c['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':[_0x2b736c,{'text':_0x4b230b['to']('imageUploadProgress',_0x1b0039=>t('Loading\x20image...')+'\x20('+(_0x1b0039||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 _0x4fc319{constructor(_0x5d0200){super(_0x5d0200);const t=_0x5d0200['t'];this['set']('errorType',null);const _0xc9caf3=new _0x4717b3(_0x5d0200);_0xc9caf3['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0xc9caf3['withText']=!0x0,_0xc9caf3['class']='ck-button-action',_0xc9caf3['on']('execute',()=>{this['fire']('retry');}),_0xc9caf3['bind']('isVisible')['to'](this,'errorType',_0xd4c831=>'NotFound'!==_0xd4c831);const _0x127735=new _0xa664d4();_0x127735['content']=_0x5f0bc8,_0x127735['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x318f5f=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':[_0x127735,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x318f5f['to']('errorType',_0x52ea02=>t('NotFound'!==_0x52ea02?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0xc9caf3]},{'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 _0x4fc319{constructor(_0x431433,_0x44adef){super(_0x431433);const _0x5e7446=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x44adef,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x5e7446['to']('imageSrc')}});}}class X extends F{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x1206ee,_0x48f444,_0x1b6b9e){super(_0x1206ee),this['_items']=this['createCollection'](),this['_loadingView']=new ii(_0x1206ee),this['_errorView']=new ti(_0x1206ee),this['_editingView']=new ei(_0x1206ee,_0x1b6b9e),this['_focusableView']=new _0x4fc319(_0x1206ee),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x48f444),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'],_0x59073e=>{this['_addUploadcareImageEditorListeners'](_0x59073e);});}),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'](_0x16bccb,_0x1b909e){const _0x26d82f='uc-cloud-image-editor',_0x37f2e9=_0x16bccb['querySelector'](_0x26d82f);if(_0x37f2e9)return _0x1b909e(_0x37f2e9);const _0x2d43cf=new MutationObserver(_0x3dbe8c=>{const _0x5b9e02=_0x3dbe8c['filter'](_0x344bff=>_0x344bff['target']===_0x16bccb&&_0x344bff['addedNodes']['length']>0x0&&_0x344bff['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x26d82f);_0x5b9e02['length']&&(_0x2d43cf['disconnect'](),_0x1b909e(_0x5b9e02[0x0]['addedNodes'][0x0]));});_0x2d43cf['observe'](_0x16bccb,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x1b5f19){_0x1b5f19['addEventListener']('apply',_0x1448e4=>{this['fire']('apply',{'imageSrc':_0x1448e4['detail']['cdnUrl']});}),_0x1b5f19['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class E extends/* #__PURE__ -- @preserve */
25
- _0x2968aa(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x1a85f5,_0x58bed6,_0x2c0cf5){super(),this['_editor']=_0x1a85f5,this['_dialog']=_0x58bed6,this['_imageElement']=_0x2c0cf5,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 _0x157c32=this['_imageElement'],_0x37a5a9=_0x157c32['getAttribute']('uploadcareImageId'),_0x3d9328=_0x157c32['getAttribute']('src');if(_0x37a5a9)await this['_loadImageInfo'](_0x37a5a9,_0x3d9328);else{if(this['_imageCache']['has'](_0x3d9328)){const _0x297b68=this['_imageCache']['get'](_0x3d9328);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x297b68['url'],this['imageDimension']=_0x297b68['dimension'],this['imageId']=_0x297b68['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0xa590b}=this['_editor'],t=_0xa590b['t'],_0x36af25=new X(_0xa590b,this['imageStatus'],this['_attributes']);_0x36af25['bind']('status')['to'](this,'imageStatus'),_0x36af25['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x36af25['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x36af25['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x36af25,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x51afd3,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x36af25,'position':_0x53c55b['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x36af25['focus']();},'onHide':()=>{_0x36af25['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x112449=>!A(_0x112449,_0x36af25['element'])}});}['_loadImageInfo'](_0x4a097e,_0x1fbddf){return j['getInfo'](_0x4a097e,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x242cb8=>{const {width:_0xb27a98,height:_0x27b8d8}=_0x242cb8['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x1fbddf,this['imageDimension']={'width':_0xb27a98,'height':_0x27b8d8},this['imageId']=_0x4a097e;})['catch'](_0x3ac1c6=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x3ac1c6['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x5abbbd,_0x3989a8){return this['_getImageAsFile'](_0x5abbbd)['then'](_0x2c24d6=>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':_0x3989a8['signal'],'file':_0x2c24d6,'onProgress':_0x133dfa=>{_0x133dfa&&_0x133dfa['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x133dfa['value']));}}))['then'](_0x561bb3=>{const {width:_0x383c5c,height:_0x29d5aa}=_0x561bb3['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x561bb3['cdnUrl'],this['imageDimension']={'width':_0x383c5c,'height':_0x29d5aa},this['imageId']=_0x561bb3['uuid'],this['imageUploadProgress']=null;const _0x3d553c=_0x5abbbd['getAttribute']('src');this['_imageCache']['set'](_0x3d553c,{'id':_0x561bb3['uuid'],'url':_0x561bb3['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0xa7a920=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0xa7a920['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x4d29b7,_0x5abf2a){_0x4d29b7['on']('apply',(_0x446381,_0x47f74b)=>{this['_replaceImage'](_0x5abf2a,_0x47f74b['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x4d29b7['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x4d29b7['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x108f0a,_0x1268b2,_0x156cab){const _0x225d06=this['_editor'],{width:_0x253cfe,height:_0x502e26}=S(_0x1268b2,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x13d47b,imageSources:_0xd09f13}=C(_0x1268b2,_0x253cfe);_0x225d06['model']['change'](_0x529eea=>{if('$graveyard'===_0x108f0a['root']['rootName']){_0x225d06['execute']('insertImage',{'imageType':_0x108f0a['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x108f0a['getAttributes']()),'uploadcareImageId':_0x156cab,'src':_0x13d47b,'sources':_0xd09f13,'width':_0x253cfe,'height':_0x502e26}});const _0xdc6db1=_0x108f0a['getChildren']();_0x108f0a=_0x225d06['model']['document']['selection']['getSelectedElement']();for(const _0x230e0b of _0xdc6db1)_0x529eea['append'](_0x529eea['cloneElement'](_0x230e0b),_0x108f0a);}else _0x529eea['setSelection'](_0x108f0a,'on'),_0x225d06['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x108f0a['getAttributes']()),'uploadcareImageId':_0x156cab,'src':_0x13d47b,'sources':_0xd09f13,'width':_0x253cfe,'height':_0x502e26},_0x108f0a);_0x529eea['setSelection'](_0x108f0a,'on');});}async['_getImageAsFile'](_0x6065ad){const _0x224a12=_0x552c00['window'],_0x17824e=_0x552c00['document']['location']['href'],_0xce718a=new _0x224a12['URL'](_0x6065ad['getAttribute']('src'),_0x17824e);if('data:'===_0xce718a['protocol']){const _0x3584dd=_0xce718a['href']['split'](','),_0xb6e76b=_0x3584dd[0x0]['match'](/:(.*?);/)[0x1],_0x4bc9d8=_0xb6e76b['split']('/')[0x1],_0x50b4aa=_0x224a12['atob'](_0x3584dd[_0x3584dd['length']-0x1]);let _0x342fcb=_0x50b4aa['length'];const _0x438341=new _0x224a12['Uint8Array'](_0x342fcb);for(;_0x342fcb--;)_0x438341[_0x342fcb]=_0x50b4aa['charCodeAt'](_0x342fcb);return new _0x224a12['File']([_0x438341],'image.'+_0x4bc9d8,{'type':_0xb6e76b});}const _0xba46c6=_0xce718a['href']['split']('/'),_0x50e5c7=_0xba46c6[_0xba46c6['length']-0x1],_0x3b7e0d=_0x50e5c7['split']('.')[0x1];return _0x224a12['fetch'](_0xce718a['href'])['then'](_0xa4d235=>_0xa4d235['clone']()['blob']())['then'](_0x2ffa11=>new _0x224a12['File']([_0x2ffa11],_0x50e5c7,{'type':'image/'+_0x3b7e0d}));}}class O extends _0x22407d{['imageEditController'];static get['requires'](){return[_0x4d34b1];}['_isEditable'];constructor(_0x8b46a){super(_0x8b46a),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x303811){const _0x375d04=G(_0x303811);return _0xd004c=>!(!_0xd004c||!_0xd004c['is']('element','imageBlock')&&!_0xd004c['is']('element','imageInline'))&&(!!_0xd004c['hasAttribute']('uploadcareImageId')||!!_0xd004c['hasAttribute']('src')&&_0x375d04(_0xd004c['getAttribute']('src')));}(_0x8b46a['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x2c8402=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x2c8402);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x30419a=this['editor']['model']['document']['selection']['getSelectedElement']();_0x30419a&&(_0x30419a['is']('element','imageBlock')||_0x30419a['is']('element','imageInline'))&&(this['imageEditController']=new E(this['editor'],this['editor']['plugins']['get'](_0x4d34b1),_0x30419a),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class R extends _0x22407d{['refresh'](){const _0x1c5ef3=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x1c5ef3&&(_0x1c5ef3['is']('element','imageBlock')||_0x1c5ef3['is']('element','imageInline')));}['execute'](_0x27d6b6){const _0x39934a=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x5ce1a9=>{_0x5ce1a9['setAttributes'](_0x27d6b6,_0x39934a),_0x5ce1a9['removeAttribute']('srcset',_0x39934a),_0x5ce1a9['removeAttribute']('sizes',_0x39934a);});}}class m extends _0x393f5e{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[o,_0x2c1d1b,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x82aea1}=this;_0x82aea1['commands']['add']('uploadcareImageEdit',new O(_0x82aea1)),_0x82aea1['commands']['add']('uploadcareImageReplace',new R(_0x82aea1));}}class g extends _0x393f5e{['_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 _0x11c308=this['editor'];_0x11c308['ui']['componentFactory']['add']('uploadcareImageEdit',_0x53faba=>{const _0x56ac03=_0x11c308['commands']['get']('uploadcareImageEdit'),_0x769a1b=new _0x4717b3(_0x53faba),t=_0x53faba['t'];return _0x769a1b['set']({'icon':_0x51afd3,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x769a1b['bind']('isEnabled')['to'](_0x56ac03),_0x769a1b['bind']('isOn')['to'](_0x56ac03,'isActive'),this['listenTo'](_0x769a1b,'execute',()=>{_0x11c308['execute']('uploadcareImageEdit'),_0x11c308['editing']['view']['focus']();}),_0x769a1b;}),this['_initConfig']();}['_initConfig'](){const _0x13ff35=_0x2a8339(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x13ff35),this['listenTo'](this['editor'],'destroy',()=>{_0x13ff35['remove']();});}}class et extends _0x393f5e{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 _0x129cca,Command as _0x3c6f3b}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x1d0440,IconGooglePhotos as _0x1ea842,IconGoogleDrive as _0xc5438c,IconFacebook as _0x166e0f,IconDropbox as _0x3c3e73,IconUploadcareLink as _0x139fe1,IconUploadcareImageUpload as _0x51295a,IconError as _0x2b016c,IconUploadcareImageEdit as _0x11b7f3}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x449e3c,MenuBarMenuListItemButtonView as _0x307662,View as _0x1306c7,FocusCycler as _0x480f60,Dialog as _0x4f6a07,DialogViewPosition as _0x1de759,SpinnerView as _0x54d76c,IconView as _0x498488,Notification as _0x4925ea}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x21d01f,DomEmitterMixin as _0x23b1a6,global as _0x448e9a,getAncestors as _0x4de147,ObservableMixin as _0xc94b25,uid as _0x240e55,createElement as _0x5f44ba}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x39dae3}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x271616,info as _0x4b27e2}from'@uploadcare/upload-client';import*as _0x18c5f5 from'@uploadcare/file-uploader';var i=function(_0x3aa685){return _0x3aa685['Local']='local',_0x3aa685['URL']='url',_0x3aa685['Dropbox']='dropbox',_0x3aa685['GDrive']='gdrive',_0x3aa685['Facebook']='facebook',_0x3aa685['GPhotos']='gphotos',_0x3aa685['OneDrive']='onedrive',_0x3aa685;}({});function _(_0x51cf54,_0x58300c,_0xc4c92b){const t=_0x51cf54['t'],_0x12c021=_0x51cf54['t'];switch(_0x58300c){case i['Local']:return{'text':_0x12c021('Insert'===_0xc4c92b?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x12c021('From\x20computer')};case i['URL']:return{'text':'Insert'===_0xc4c92b?_0x12c021('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x12c021('Via\x20URL')};case i['Dropbox']:return{'text':t('Insert'===_0xc4c92b?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case i['Facebook']:return{'text':t('Insert'===_0xc4c92b?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case i['GDrive']:return{'text':t('Insert'===_0xc4c92b?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case i['GPhotos']:return{'text':t('Insert'===_0xc4c92b?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case i['OneDrive']:return{'text':t('Insert'===_0xc4c92b?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x58300c;}}class e extends _0x129cca{['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 _0x8367d9=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x506cc8;for(const _0x5ac44a in _0x8367d9){const _0x15b1b0=_0x5ac44a,_0x599e66=_0x8367d9[_0x15b1b0];if('uploadcareLicenseKeyValid'==_0x599e66||'uploadcareLicenseKeyInvalid'==_0x599e66||'uploadcareLicenseKeyExpired'==_0x599e66||'uploadcareLicenseKeyDomainLimit'==_0x599e66||'uploadcareLicenseKeyNotAllowed'==_0x599e66||'uploadcareLicenseKeyEvaluationLimit'==_0x599e66||'uploadcareLicenseKeyTrialLimit'==_0x599e66||'uploadcareLicenseKeyUsageLimit'==_0x599e66){delete _0x8367d9[_0x15b1b0],_0x506cc8=_0x599e66,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x506cc8&&_0x8367d9['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x506cc8&&_0x8367d9['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x506cc8&&_0x8367d9['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x506cc8&&_0x8367d9['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x506cc8&&_0x8367d9['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0x506cc8&&_0x8367d9['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0x506cc8&&_0x8367d9['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x2aa172}=this,_0x532328=_0x2aa172['commands']['get']('uploadcare');if(!_0x532328)return;const _0x4376eb=this['_normalizeConfigSourceList'](_0x2aa172['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x4a1427,_0x1f2656)=>{const _0xc5bbbb=this['_getIntegrationKey'](_0x1f2656['type']);return _0x4a1427[_0xc5bbbb]||(_0x4a1427[_0xc5bbbb]=[]),_0x4a1427[_0xc5bbbb]['push'](_0x1f2656),_0x4a1427;},{});_0x2aa172['plugins']['has']('ImageInsertUI')&&_0x2aa172['commands']['get']('uploadcare')&&Object['entries'](_0x4376eb)['forEach'](([_0x4c4694,_0x4e0332])=>{_0x2aa172['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x4c4694,'observable':()=>_0x532328,'buttonViewCreator':()=>this['_createToolbarButton'](_0x4e0332),'formViewCreator':()=>this['_createDropdownButtons'](_0x4e0332),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x4e0332),'override':'assetManager'!==_0x4c4694});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x5386fb){const {locale:_0x4d4293}=this['editor'];return _0x5386fb['map'](_0x435ca8=>{const _0x16cb87=_(_0x4d4293,_0x435ca8,'Insert');switch(_0x435ca8){case i['Local']:return{'icon':_0x51295a,'type':i['Local'],..._0x16cb87};case i['URL']:return{'icon':_0x139fe1,'type':i['URL'],..._0x16cb87};case i['Dropbox']:return{'icon':_0x3c3e73,'type':i['Dropbox'],..._0x16cb87};case i['Facebook']:return{'icon':_0x166e0f,'type':i['Facebook'],..._0x16cb87};case i['GDrive']:return{'icon':_0xc5438c,'type':i['GDrive'],..._0x16cb87};case i['GPhotos']:return{'icon':_0x1ea842,'type':i['GPhotos'],..._0x16cb87};case i['OneDrive']:return{'icon':_0x1d0440,'type':i['OneDrive'],..._0x16cb87};}});}['_getIntegrationKey'](_0x186393){switch(_0x186393){case i['Local']:return'upload';case i['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x52fb59,_0x295b60){const _0x5508ca=this['editor'],_0x3b680e=new _0x52fb59(_0x5508ca['locale']),_0x332825=_0x5508ca['commands']['get']('uploadcare');return _0x3b680e['bind']('isEnabled')['to'](_0x332825),_0x3b680e['on']('execute',()=>{_0x332825['execute'](_0x295b60);}),_0x3b680e;}['_createToolbarButton'](_0x435386){const {locale:_0x73acf3}=this['editor'],_0x119b92=this['editor']['plugins']['get']('ImageInsertUI'),_0x439209=_0x435386[0x0],_0x53d28f=this['_createButton'](_0x449e3c,_0x439209['type']);return _0x53d28f['icon']=_0x439209['icon'],_0x53d28f['bind']('label')['to'](_0x119b92,'isImageSelected',_0x1a6ea9=>_(_0x73acf3,_0x439209['type'],_0x1a6ea9?'Replace':'Insert')['text']),_0x53d28f['tooltip']=!0x0,_0x53d28f;}['_createDropdownButtons'](_0x3ee870){const {locale:_0x576156}=this['editor'],_0xc3ca32=this['editor']['plugins']['get']('ImageInsertUI');return _0x3ee870['map'](_0x3fdc87=>{const _0x2385da=this['_createButton'](_0x449e3c,_0x3fdc87['type']);return _0x2385da['withText']=!0x0,_0x2385da['icon']=_0x3fdc87['icon'],_0x2385da['bind']('label')['to'](_0xc3ca32,'isImageSelected',_0x5612e3=>_(_0x576156,_0x3fdc87['type'],_0x5612e3?'Replace':'Insert')['text']),_0x2385da;});}['_createMenuBarButtons'](_0x3cb692){return _0x3cb692['map'](_0xaf679d=>{const _0x299b92=this['_createButton'](_0x307662,_0xaf679d['type']);return _0x299b92['icon']=_0xaf679d['icon'],_0x299b92['label']=_0xaf679d['shortText'],_0x299b92;});}}class F extends _0x1306c7{['focusTracker'];['focusCycler'];constructor(_0x5982d4){super(_0x5982d4),this['focusTracker']=new _0x21d01f(),this['focusCycler']=new _0x480f60({'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(_0x71c8ef,_0x336ed9){super(_0x71c8ef),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-'+_0x336ed9}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function C(_0x296c00,_0xa3dfc1){const _0x1adb6a=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x2e690c=>_0x2e690c<=_0xa3dfc1)['map'](_0x24bdaa=>_0x296c00['replace'](/\/$/,'')+'/-/resize/'+_0x24bdaa+'x/\x20'+_0x24bdaa+'w');return{'imageFallbackUrl':_0x296c00,'imageSources':[{'srcset':_0x1adb6a['join'](',\x20'),'sizes':'(max-width:\x20'+_0xa3dfc1+'px)\x20100vw,\x20'+_0xa3dfc1+'px','type':'image/webp'}]};}function S(_0x2a1f90,_0x4c550f,_0x25fa1b){const _0x447706=_0x2a1f90['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x447706?parseInt(_0x447706[0x1],0xa):_0x4c550f,'height':_0x447706?parseInt(_0x447706[0x2],0xa):_0x25fa1b};}function p(_0x57f4b3,_0x2d7a83){const _0x3d3e3f=new(_0x23b1a6())(),_0x16c295=_0x57f4b3['plugins']['get']('ImageUtils'),_0x31ebc2=_0x57f4b3['editing']['mapper']['toViewElement'](_0x2d7a83),_0x47d1e6=_0x16c295['findViewImgElement'](_0x31ebc2),_0x4291ce=_0x57f4b3['editing']['view']['domConverter']['viewToDom'](_0x47d1e6),_0x21f5c9=_0x2d7a83['getAttribute']('width'),_0x2003f0=_0x2d7a83['getAttribute']('height'),_0x578ad3='image-processing';_0x57f4b3['editing']['view']['change'](_0xd3300e=>{_0xd3300e['addClass'](_0x578ad3,_0x31ebc2),_0xd3300e['setStyle']('aspect-ratio',_0x21f5c9+'/'+_0x2003f0,_0x47d1e6);}),_0x3d3e3f['listenTo'](_0x4291ce,'load',()=>{_0x3d3e3f['stopListening'](_0x4291ce,'load'),_0x57f4b3['editing']['view']['change'](_0x2697f2=>{_0x2697f2['removeClass'](_0x578ad3,_0x31ebc2),_0x2697f2['removeStyle']('aspect-ratio',_0x47d1e6);});});}function G(_0x12257e){if(Array['isArray'](_0x12257e)){const _0x107a2d=_0x12257e['map'](G);return _0x403760=>_0x107a2d['some'](_0x561fc1=>_0x561fc1(_0x403760));}if('origin'==_0x12257e){const _0x54699d=_0x448e9a['window']['location']['origin'];return _0x2c7bcc=>new URL(_0x2c7bcc,_0x448e9a['document']['baseURI'])['origin']==_0x54699d;}return'function'==typeof _0x12257e?_0x12257e:_0x12257e instanceof RegExp?_0x3d4d6d=>!(!_0x3d4d6d['match'](_0x12257e)&&!_0x3d4d6d['replace'](/^https?:\/\//,'')['match'](_0x12257e)):()=>!0x1;}function A(_0x25f53f,_0x3038ec){return _0x4de147(_0x25f53f['target'])['includes'](_0x3038ec);}class n extends/* #__PURE__ -- @preserve */
24
+ _0xc94b25(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x11102a,_0xf57047,_0x3176a4){super(),this['_editor']=_0x11102a,this['_editing']=_0xf57047,this['_dialog']=_0x11102a['plugins']['get'](_0x4f6a07),this['_api']=_0xf57047['ctxElement']['getAPI'](),this['_type']=_0x3176a4,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:_0x1899bd,model:_0xecadaf}=this['_editor'],_0x3c0535=_0xecadaf['document']['selection']['getSelectedElement'](),_0x2e3bab=_0x3c0535&&(_0x3c0535['is']('element','imageBlock')||_0x3c0535['is']('element','imageInline'));this['_formView']=new x(_0x1899bd,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':_0x51295a,'title':_(_0x1899bd,this['_type'],_0x2e3bab?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x1de759['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x39cb87=>!A(_0x39cb87,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x73fc69}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x57658a=>{const _0x35ab24=_0x73fc69['length'];for(const _0x5e6099 of _0x73fc69){const _0x29cbf1=_0x5e6099===_0x73fc69[_0x35ab24-0x1],{cdnUrl:_0x46d3cd,fileInfo:_0x49ee7e}=_0x5e6099;if(!_0x46d3cd||!_0x49ee7e)continue;const {width:_0x410e4c,height:_0x1e59f4}=_0x49ee7e['imageInfo'],_0x5dc1cc=S(_0x46d3cd,_0x410e4c,_0x1e59f4),_0x57c09a=C(_0x46d3cd,_0x5dc1cc['width']),_0xe77114={'id':_0x49ee7e['uuid'],'type':'image','attributes':{'imageDimension':_0x5dc1cc,..._0x57c09a}};this['_insertAsset'](_0xe77114,_0x29cbf1,_0x57658a);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x711a45=>{'idle'===_0x711a45['detail']['status']&&!_0x711a45['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===i['Local']?this['_api']['setCurrentActivity'](i['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x10efbf,_0x2820f9,_0x8b3805){const _0x261fa4=this['_editor']['model']['document']['selection'],_0x37325a=_0x261fa4['getSelectedElement'](),_0x182d19=!(!_0x37325a||!_0x37325a['is']('element','imageInline'));_0x8b3805['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x10efbf,_0x182d19),_0x2820f9||_0x8b3805['setSelection'](_0x261fa4['getLastPosition']());}['_insertImage'](_0x4cac78,_0x300f9a){const _0x12c1b9=this['_editor'],{imageDimension:_0x4b1737,imageFallbackUrl:_0x5a0b90,imageSources:_0x273556}=_0x4cac78['attributes'];_0x12c1b9['execute']('insertImage',{'imageType':_0x300f9a?'imageInline':null,'source':{'uploadcareImageId':_0x4cac78['id'],'src':_0x5a0b90,'sources':_0x273556,..._0x4b1737}});}}class w extends _0x3c6f3b{['_editing'];['_controller']=null;static get['requires'](){return[_0x4f6a07,o];}constructor(_0xa86250){super(_0xa86250),this['_editing']=_0xa86250['plugins']['get'](o);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x5aa792){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new n(this['editor'],this['_editing'],_0x5aa792);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class j{static['upload']({file:_0x6b3a4d,..._0x145d30}){return _0x271616(_0x6b3a4d,_0x145d30);}static['getInfo'](_0x1f7b13,_0x1a36f2){return _0x4b27e2(_0x1f7b13,_0x1a36f2);}}class f extends _0x129cca{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x39dae3,o];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x330742=this['editor'];if(!!!_0x330742['config']['get']('uploadcare'))return;_0x330742['plugins']['get'](_0x39dae3)['createUploadAdapter']=_0x3d8f92=>new k(_0x3d8f92,_0x330742),_0x330742['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x539ef3,{imageElement:_0x2f08b7,data:_0x1aabb6})=>{_0x330742['model']['change'](_0x235e64=>{_0x235e64['setAttribute']('uploadcareImageId',_0x1aabb6['uploadcareImageId'],_0x2f08b7);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x4f0cf2,_0x49eb08){this['loader']=_0x4f0cf2,this['editor']=_0x49eb08,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x5ed3cb=await this['loader']['file'];return j['upload']({'file':_0x5ed3cb,'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':_0x56273f=>{_0x56273f&&_0x56273f['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x56273f['value']);}})['then'](async _0x31b684=>{const {imageFallbackUrl:_0x202183,imageSources:_0x420a3a}=C(_0x31b684['cdnUrl'],_0x31b684['imageInfo']['width']);return{'uploadcareImageId':_0x31b684['uuid'],'default':_0x202183,'sources':_0x420a3a};})['catch'](()=>{const _0xd6edde=t('Cannot\x20upload\x20file:')+('\x20'+_0x5ed3cb['name']+'.');return Promise['reject'](_0xd6edde);});}['abort'](){this['controller']['abort']();}}class o extends _0x129cca{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',f,_0x4f6a07];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['ucContextId'];get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}constructor(_0x4b1292){super(_0x4b1292),this['ucContextId']=_0x240e55();}['init'](){const _0x4de9f5=this['editor'];_0x4de9f5['commands']['add']('uploadcare',new w(_0x4de9f5));}['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 _0x5d67cf=_0x448e9a['document']['querySelector']('input[uploadcare-file-input]');_0x5d67cf&&_0x5d67cf['remove']();}),async function(_0x2caf69){const _0xbb5228=_0x2cd116([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]),_0x31d394=0x3d8d0df,_0x25143d=0x3dfa4bf^_0x31d394,_0x2c8121=window[_0x2cd116([0x44,0x61,0x74,0x65])][_0x2cd116([0x6e,0x6f,0x77])](),_0x257130=_0x2caf69[_0x2cd116([0x65,0x64,0x69,0x74,0x6f,0x72])],_0xd3af9c=new window[(_0x2cd116([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x33b86d=>{_0x257130[_0x2cd116([0x6f,0x6e,0x63,0x65])](_0x2cd116([0x72,0x65,0x61,0x64,0x79]),_0x33b86d);}),_0x28a156={[_0x2cd116([0x6b,0x74,0x79])]:_0x2cd116([0x45,0x43]),[_0x2cd116([0x75,0x73,0x65])]:_0x2cd116([0x73,0x69,0x67]),[_0x2cd116([0x63,0x72,0x76])]:_0x2cd116([0x50,0x2d,0x32,0x35,0x36]),[_0x2cd116([0x78])]:_0x2cd116([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]),[_0x2cd116([0x79])]:_0x2cd116([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]),[_0x2cd116([0x61,0x6c,0x67])]:_0x2cd116([0x45,0x53,0x32,0x35,0x36])},_0x411f59=_0x257130[_0x2cd116([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2cd116([0x67,0x65,0x74])](_0x2cd116([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x2e2592(){let _0x30a147,_0x177b49=null,_0x3903f4=null;try{if(_0x411f59==_0x2cd116([0x47,0x50,0x4c]))return _0x2cd116([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x30a147=_0x3c6463(),!_0x30a147)return _0x2cd116([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x30a147[_0x2cd116([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x3903f4=_0x3181c5(_0x30a147[_0x2cd116([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x30a147[_0x2cd116([0x6a,0x74,0x69])])),await _0x10a37b()?_0x414ffd()?_0x553544()?_0x2cd116([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1ecedc()?(_0x30a147[_0x2cd116([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2cd116([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x177b49=_0x473123(_0x2cd116([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x30a147[_0x2cd116([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2cd116([0x74,0x72,0x69,0x61,0x6c])&&(_0x177b49=_0x473123(_0x2cd116([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x1b137f()):_0x2cd116([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2cd116([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2cd116([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x2cd116([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x553544(){const _0x56396a=[_0x2cd116([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2cd116([0x74,0x72,0x69,0x61,0x6c])][_0x2cd116([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x30a147[_0x2cd116([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2c8121/0x3e8:0xe10*_0x25143d;return _0x30a147[_0x2cd116([0x65,0x78,0x70])]<_0x56396a;}function _0x414ffd(){const _0x133f69=_0x30a147[_0x2cd116([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x133f69&&(!!_0x133f69[_0x2cd116([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2cd116([0x2a]))||!!_0x133f69[_0x2cd116([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2cd116([0x55,0x50,0x4c,0x43])));}function _0x1ecedc(){const _0x591cac=_0x30a147[_0x2cd116([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x591cac||0x0==_0x591cac[_0x2cd116([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x13bf9f}=new URL(window[_0x2cd116([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x591cac[_0x2cd116([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x13bf9f))return!0x0;const _0x25e5b2=_0x13bf9f[_0x2cd116([0x73,0x70,0x6c,0x69,0x74])](_0x2cd116([0x2e]));return _0x591cac[_0x2cd116([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3aba1e=>_0x3aba1e[_0x2cd116([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2cd116([0x2a])))[_0x2cd116([0x6d,0x61,0x70])](_0x20f964=>_0x20f964[_0x2cd116([0x73,0x70,0x6c,0x69,0x74])](_0x2cd116([0x2e])))[_0x2cd116([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1528b8=>_0x1528b8[_0x2cd116([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x25e5b2[_0x2cd116([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2cd116([0x6d,0x61,0x70])](_0x1d53e3=>Array(_0x25e5b2[_0x2cd116([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x1d53e3[_0x2cd116([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2cd116([0x66,0x69,0x6c,0x6c])](_0x1d53e3[0x0]===_0x2cd116([0x2a])?_0x2cd116([0x2a]):'')[_0x2cd116([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x1d53e3))[_0x2cd116([0x73,0x6f,0x6d,0x65])](_0x29803a=>_0x25e5b2[_0x2cd116([0x65,0x76,0x65,0x72,0x79])]((_0x140184,_0x340874)=>_0x29803a[_0x340874]===_0x140184||_0x29803a[_0x340874]===_0x2cd116([0x2a])));}function _0x1b137f(){return _0x177b49&&_0x3903f4?new window[(_0x2cd116([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x59a8e2,_0x4458e6)=>{_0x177b49[_0x2cd116([0x74,0x68,0x65,0x6e])](_0x59a8e2,_0x4458e6),_0x3903f4[_0x2cd116([0x74,0x68,0x65,0x6e])](_0x17ba95=>{_0x17ba95!=_0x2cd116([0x56,0x61,0x6c,0x69,0x64])&&_0x59a8e2(_0x17ba95);},_0x4458e6);}):_0x177b49||_0x3903f4||_0x2cd116([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3181c5(_0x64a111,_0x5c0b65){return new window[(_0x2cd116([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x346088=>{if(_0x588e72())return _0x346088(_0x2cd116([0x56,0x61,0x6c,0x69,0x64]));_0x4ac0f6(),_0x257130[_0x2cd116([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2cd116([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x38aad7=!0x1;const _0x274a3f=_0x240e55();function _0x5eef6b(_0x235e3a){return!!_0x235e3a&&(typeof _0x235e3a===_0x2cd116([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x235e3a===_0x2cd116([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x235e3a[_0x2cd116([0x74,0x68,0x65,0x6e])]===_0x2cd116([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x235e3a[_0x2cd116([0x63,0x61,0x74,0x63,0x68])]===_0x2cd116([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1e4ac7(_0x38fa44){_0x53c5e9(_0x38fa44)[_0x2cd116([0x74,0x68,0x65,0x6e])](_0x514f16=>{if(!_0x514f16||_0x514f16[_0x2cd116([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2cd116([0x6f,0x6b]))return _0x2cd116([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x569270(_0x26cd5f(_0x274a3f+_0x5c0b65))!=_0x514f16[_0x2cd116([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2cd116([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2cd116([0x56,0x61,0x6c,0x69,0x64]);})[_0x2cd116([0x74,0x68,0x65,0x6e])](_0x57f0bf=>(_0x2e26df(),_0x57f0bf),()=>{const _0x60da87=_0x281e09();return null==_0x60da87?(_0x2e26df(),_0x2cd116([0x56,0x61,0x6c,0x69,0x64])):_0x2cd116(_0x2c8121-_0x60da87>(0x27d454df^_0x31d394)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2cd116([0x74,0x68,0x65,0x6e])](_0x346088)[_0x2cd116([0x63,0x61,0x74,0x63,0x68])](()=>{_0x346088(_0x2cd116([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x904697=0x3ee3e5f^_0x31d394;function _0x2e26df(){const _0x3fbf03=_0x2cd116([0x6c,0x6c,0x63,0x74,0x2d])+_0x569270(_0x26cd5f(_0x64a111)),_0x4f4880=_0x44e5b0(_0x569270(window[_0x2cd116([0x4d,0x61,0x74,0x68])][_0x2cd116([0x63,0x65,0x69,0x6c])](_0x2c8121/_0x904697)));window[_0x2cd116([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2cd116([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3fbf03,_0x4f4880);}function _0x281e09(){const _0x4ee03d=_0x2cd116([0x6c,0x6c,0x63,0x74,0x2d])+_0x569270(_0x26cd5f(_0x64a111)),_0x3ecfb6=window[_0x2cd116([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2cd116([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4ee03d);return _0x3ecfb6?window[_0x2cd116([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x44e5b0(_0x3ecfb6),0x10)*_0x904697:null;}function _0x53c5e9(_0x1ae19c){return new window[(_0x2cd116([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5c0669,_0x44cdfd)=>{_0x1ae19c[_0x2cd116([0x74,0x68,0x65,0x6e])](_0x5c0669,_0x44cdfd),window[_0x2cd116([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x44cdfd,0x3d9041f^_0x31d394);});}}_0x257130[_0x2cd116([0x6f,0x6e])](_0x2cd116([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x5817c1,_0x16d01a)=>{if(_0x16d01a[0x0]!=_0x64a111)return _0x346088(_0x2cd116([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x16d01a[0x1]={..._0x16d01a[0x1],[_0x2cd116([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x274a3f};},{[_0x2cd116([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2cd116([0x68,0x69,0x67,0x68])}),_0x257130[_0x2cd116([0x6f,0x6e])](_0x2cd116([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x19a9e7=>{_0x5eef6b(_0x19a9e7[_0x2cd116([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x38aad7=!0x0,_0x1e4ac7(_0x19a9e7[_0x2cd116([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2cd116([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2cd116([0x6c,0x6f,0x77])}),_0xd3af9c[_0x2cd116([0x74,0x68,0x65,0x6e])](()=>{_0x38aad7||_0x346088(_0x2cd116([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x588e72(){return _0x257130[_0x2cd116([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2cd116([0x76,0x69,0x65,0x77])][_0x2cd116([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2cd116([0x61,0x75,0x74,0x6f]);}function _0x4ac0f6(){_0x257130[_0x2cd116([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2cd116([0x76,0x69,0x65,0x77])][_0x2cd116([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2cd116([0x61,0x75,0x74,0x6f]);}}function _0x473123(_0x4e0b22){const _0x11b517=[new window[(_0x2cd116([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3498b7=>setTimeout(_0x3498b7,0x3d1ee13^_0x31d394)),_0xd3af9c[_0x2cd116([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2cd116([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x50e87b=>{let _0x24fb52=0x0;_0x257130[_0x2cd116([0x6d,0x6f,0x64,0x65,0x6c])][_0x2cd116([0x6f,0x6e])](_0x2cd116([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x3f5d4c,_0x4ee2aa)=>{_0x4ee2aa[0x0][_0x2cd116([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x24fb52++,_0x24fb52==(0x3d8d127^_0x31d394)&&(_0x50e87b(),_0x3f5d4c[_0x2cd116([0x6f,0x66,0x66])]());});}))];return window[_0x2cd116([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2cd116([0x72,0x61,0x63,0x65])](_0x11b517)[_0x2cd116([0x74,0x68,0x65,0x6e])](()=>_0x4e0b22);}async function _0x123cef(){await _0xd3af9c,_0x257130[_0x2cd116([0x6d,0x6f,0x64,0x65,0x6c])][_0x2cd116([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x428d3d,_0x257130[_0x2cd116([0x6d,0x6f,0x64,0x65,0x6c])][_0x2cd116([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x428d3d,_0x257130[_0x2cd116([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2cd116([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x36234b(_0x3fe112){const _0x2fc1db=_0x1f1a51();_0x257130[_0x2fc1db]=_0x2cd116([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x3fe112,_0x3fe112!=_0x2cd116([0x56,0x61,0x6c,0x69,0x64])&&_0x123cef();}function _0x1f1a51(){const _0x1393ef=window[_0x2cd116([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2cd116([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2cd116([0x6e,0x6f,0x77])]())[_0x2cd116([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2cd116([0x2e]),'');let _0x321af0=_0x2cd116([0x52]);for(let _0x512e7b=0x0;_0x512e7b<_0x1393ef[_0x2cd116([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x512e7b+=0x2){let _0x76e4cf=window[_0x2cd116([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1393ef[_0x2cd116([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x512e7b,_0x512e7b+0x2));_0x76e4cf>=_0xbb5228[_0x2cd116([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x76e4cf-=_0xbb5228[_0x2cd116([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x321af0+=_0xbb5228[_0x76e4cf];}return _0x321af0;}function _0x3c6463(){const _0x5a5bc2=_0x411f59[_0x2cd116([0x73,0x70,0x6c,0x69,0x74])](_0x2cd116([0x2e]));if(0x3!=_0x5a5bc2[_0x2cd116([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x188951(_0x5a5bc2[0x1]);function _0x188951(_0x26aece){const _0x845019=_0x1ce867(_0x26aece);return _0x845019&&_0x50e9c6()?_0x845019:null;function _0x50e9c6(){const _0x33002d=_0x845019[_0x2cd116([0x6a,0x74,0x69])],_0x7a70b5=window[_0x2cd116([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x33002d[_0x2cd116([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x33002d[_0x2cd116([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x5f0a91={..._0x845019,[_0x2cd116([0x6a,0x74,0x69])]:_0x33002d[_0x2cd116([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x33002d[_0x2cd116([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x5f0a91[_0x2cd116([0x76,0x63])],_0x26cd5f(_0x5f0a91)==_0x7a70b5;}}}async function _0x10a37b(){let _0x1a6d0e=!0x0;try{const _0x4e56b2=_0x411f59[_0x2cd116([0x73,0x70,0x6c,0x69,0x74])](_0x2cd116([0x2e])),[_0x234270,_0x1d0b4c,_0x4bf9d0]=_0x4e56b2;return _0x182789(_0x234270),await _0x2e035b(_0x234270,_0x1d0b4c,_0x4bf9d0),_0x1a6d0e;}catch{return!0x1;}function _0x182789(_0x17fcc3){const _0xb60312=_0x1ce867(_0x17fcc3);_0xb60312&&_0xb60312[_0x2cd116([0x61,0x6c,0x67])]==_0x2cd116([0x45,0x53,0x32,0x35,0x36])||(_0x1a6d0e=!0x1);}async function _0x2e035b(_0x1bec2d,_0xeb6403,_0x940502){const _0x2ed798=window[_0x2cd116([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2cd116([0x66,0x72,0x6f,0x6d])](_0x1e49ba(_0x940502),_0x116704=>_0x116704[_0x2cd116([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x48fc15=new window[(_0x2cd116([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2cd116([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1bec2d+_0x2cd116([0x2e])+_0xeb6403),_0x4c0807=window[_0x2cd116([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2cd116([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4c0807)return;const _0x386c82=await _0x4c0807[_0x2cd116([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2cd116([0x6a,0x77,0x6b]),_0x28a156,{[_0x2cd116([0x6e,0x61,0x6d,0x65])]:_0x2cd116([0x45,0x43,0x44,0x53,0x41]),[_0x2cd116([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2cd116([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2cd116([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4c0807[_0x2cd116([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2cd116([0x6e,0x61,0x6d,0x65])]:_0x2cd116([0x45,0x43,0x44,0x53,0x41]),[_0x2cd116([0x68,0x61,0x73,0x68])]:{[_0x2cd116([0x6e,0x61,0x6d,0x65])]:_0x2cd116([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x386c82,_0x2ed798,_0x48fc15)||(_0x1a6d0e=!0x1);}}function _0x1ce867(_0x188a36){return _0x188a36[_0x2cd116([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2cd116([0x65,0x79]))?JSON[_0x2cd116([0x70,0x61,0x72,0x73,0x65])](_0x1e49ba(_0x188a36)):null;}function _0x1e49ba(_0x58e282){return window[_0x2cd116([0x61,0x74,0x6f,0x62])](_0x58e282[_0x2cd116([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2cd116([0x2b]))[_0x2cd116([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2cd116([0x2f])));}function _0x26cd5f(_0x5afd5c){let _0x507f44=0x1505;function _0x4fbbfe(_0x11aaf5){for(let _0x19f18b=0x0;_0x19f18b<_0x11aaf5[_0x2cd116([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x19f18b++){const _0x1c48c6=_0x11aaf5[_0x2cd116([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x19f18b);_0x507f44=(_0x507f44<<0x5)+_0x507f44+_0x1c48c6,_0x507f44&=_0x507f44;}}function _0x322195(_0x34a0c8){Array[_0x2cd116([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x34a0c8)?_0x34a0c8[_0x2cd116([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x322195):_0x34a0c8&&typeof _0x34a0c8==_0x2cd116([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2cd116([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x34a0c8)[_0x2cd116([0x73,0x6f,0x72,0x74])]()[_0x2cd116([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x44c27a,_0x13b84d])=>{_0x4fbbfe(_0x44c27a),_0x322195(_0x13b84d);}):_0x4fbbfe(window[_0x2cd116([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x34a0c8));}return _0x322195(_0x5afd5c),_0x507f44>>>0x0;}function _0x569270(_0x46ca55){return _0x46ca55[_0x2cd116([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2cd116([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2cd116([0x30]));}function _0x44e5b0(_0x6e9062){return _0x6e9062[_0x2cd116([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2cd116([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2cd116([0x6a,0x6f,0x69,0x6e])]('');}function _0x428d3d(){}function _0x2cd116(_0xc1c992){return _0xc1c992['map'](_0x42b629=>String['fromCharCode'](_0x42b629))['join']('');}_0x36234b(await _0x2e2592());}(this);}['_initSchema'](){const _0x5907fe=this['editor']['model']['schema'];_0x5907fe['isRegistered']('imageBlock')&&_0x5907fe['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x5907fe['isRegistered']('imageInline')&&_0x5907fe['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x511d1f=this['editor'];_0x511d1f['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x511d1f['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x38413f=>_0x38413f['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x40e542=_0x511d1f['commands']['get']('replaceImageSource');_0x40e542&&this['listenTo'](_0x40e542,'cleanupImage',(_0x4e01c4,[_0x4d04f2,_0x4dd3b9])=>{_0x4d04f2['removeAttribute']('uploadcareImageId',_0x4dd3b9);});}['_initConfig'](){const _0x267e4b=this['editor']['config']['get']('uploadcare.uploader')||{},_0x52494f=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x5f44ba(_0x448e9a['document'],'uc-config',{..._0x267e4b,'pubkey':_0x52494f,'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']=_0x1d8d76=>{if('closeMax'==_0x1d8d76)return'#uc-icon-arrow-down';},_0x448e9a['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x5f44ba(_0x448e9a['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),_0x448e9a['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x1248d4=this['editor']['commands']['get']('insertImage');_0x1248d4&&this['listenTo'](_0x1248d4,'execute',()=>{const _0x38e877=this['editor']['model']['document']['selection']['getSelectedElement']();_0x38e877&&_0x38e877['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x38e877);});});const _0x5b4d96=this['editor']['commands']['get']('uploadcareImageReplace');_0x5b4d96&&this['listenTo'](_0x5b4d96,'execute',()=>{const _0x3d4aab=this['editor']['model']['document']['selection']['getSelectedElement']();_0x3d4aab&&_0x3d4aab['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x3d4aab);});});}}class tt extends _0x129cca{static get['requires'](){return[o,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x31ba38){super(_0x31ba38),_0x31ba38['config']['define']('uploadcare.uploader.sourceList',[i['Local'],i['URL']]),_0x18c5f5['defineComponents'](_0x18c5f5);}}class ii extends _0x1306c7{constructor(_0x152d55){super(_0x152d55);const t=_0x152d55['t'],_0x3d6c82=this['bindTemplate'],_0x252a1e=new _0x54d76c();_0x252a1e['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':[_0x252a1e,{'text':_0x3d6c82['to']('imageUploadProgress',_0x4b96a9=>t('Loading\x20image...')+'\x20('+(_0x4b96a9||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 _0x1306c7{constructor(_0x48a62a){super(_0x48a62a);const t=_0x48a62a['t'];this['set']('errorType',null);const _0x1aac3d=new _0x449e3c(_0x48a62a);_0x1aac3d['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x1aac3d['withText']=!0x0,_0x1aac3d['class']='ck-button-action',_0x1aac3d['on']('execute',()=>{this['fire']('retry');}),_0x1aac3d['bind']('isVisible')['to'](this,'errorType',_0x212884=>'NotFound'!==_0x212884);const _0x3f610a=new _0x498488();_0x3f610a['content']=_0x2b016c,_0x3f610a['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x3431ea=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':[_0x3f610a,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x3431ea['to']('errorType',_0x550ea9=>t('NotFound'!==_0x550ea9?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x1aac3d]},{'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 _0x1306c7{constructor(_0x43cc52,_0x4c1bb1){super(_0x43cc52);const _0x46e49e=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x4c1bb1,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x46e49e['to']('imageSrc')}});}}class X extends F{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x21eca3,_0x202e55,_0x283ee9){super(_0x21eca3),this['_items']=this['createCollection'](),this['_loadingView']=new ii(_0x21eca3),this['_errorView']=new ti(_0x21eca3),this['_editingView']=new ei(_0x21eca3,_0x283ee9),this['_focusableView']=new _0x1306c7(_0x21eca3),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x202e55),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'],_0x5c957d=>{this['_addUploadcareImageEditorListeners'](_0x5c957d);});}),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'](_0x4c5ee2,_0x5c1d12){const _0x1d047b='uc-cloud-image-editor',_0x14d196=_0x4c5ee2['querySelector'](_0x1d047b);if(_0x14d196)return _0x5c1d12(_0x14d196);const _0x3f3956=new MutationObserver(_0x3a25aa=>{const _0x89ee8=_0x3a25aa['filter'](_0x5a11c4=>_0x5a11c4['target']===_0x4c5ee2&&_0x5a11c4['addedNodes']['length']>0x0&&_0x5a11c4['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x1d047b);_0x89ee8['length']&&(_0x3f3956['disconnect'](),_0x5c1d12(_0x89ee8[0x0]['addedNodes'][0x0]));});_0x3f3956['observe'](_0x4c5ee2,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x3120ba){_0x3120ba['addEventListener']('apply',_0x4875a1=>{this['fire']('apply',{'imageSrc':_0x4875a1['detail']['cdnUrl']});}),_0x3120ba['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class E extends/* #__PURE__ -- @preserve */
25
+ _0xc94b25(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x323c67,_0x28496f,_0x1d7c1d){super(),this['_editor']=_0x323c67,this['_dialog']=_0x28496f,this['_imageElement']=_0x1d7c1d,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 _0x165b0b=this['_imageElement'],_0x2290bd=_0x165b0b['getAttribute']('uploadcareImageId'),_0x39dfc4=_0x165b0b['getAttribute']('src');if(_0x2290bd)await this['_loadImageInfo'](_0x2290bd,_0x39dfc4);else{if(this['_imageCache']['has'](_0x39dfc4)){const _0x149100=this['_imageCache']['get'](_0x39dfc4);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x149100['url'],this['imageDimension']=_0x149100['dimension'],this['imageId']=_0x149100['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x32a39d}=this['_editor'],t=_0x32a39d['t'],_0x453af6=new X(_0x32a39d,this['imageStatus'],this['_attributes']);_0x453af6['bind']('status')['to'](this,'imageStatus'),_0x453af6['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x453af6['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x453af6['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x453af6,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x11b7f3,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x453af6,'position':_0x1de759['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x453af6['focus']();},'onHide':()=>{_0x453af6['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x364afc=>!A(_0x364afc,_0x453af6['element'])}});}['_loadImageInfo'](_0x54a512,_0x59b2d4){return j['getInfo'](_0x54a512,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x53985a=>{const {width:_0x5e53e5,height:_0x523ac2}=_0x53985a['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x59b2d4,this['imageDimension']={'width':_0x5e53e5,'height':_0x523ac2},this['imageId']=_0x54a512;})['catch'](_0x52539f=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x52539f['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x591273,_0x3ec0a5){return this['_getImageAsFile'](_0x591273)['then'](_0x1a9c7d=>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':_0x3ec0a5['signal'],'file':_0x1a9c7d,'onProgress':_0x1d510e=>{_0x1d510e&&_0x1d510e['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x1d510e['value']));}}))['then'](_0x773c87=>{const {width:_0x2ed1c4,height:_0x4314dc}=_0x773c87['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x773c87['cdnUrl'],this['imageDimension']={'width':_0x2ed1c4,'height':_0x4314dc},this['imageId']=_0x773c87['uuid'],this['imageUploadProgress']=null;const _0x387f42=_0x591273['getAttribute']('src');this['_imageCache']['set'](_0x387f42,{'id':_0x773c87['uuid'],'url':_0x773c87['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x3b230a=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x3b230a['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0xfbb40e,_0x1ddcc8){_0xfbb40e['on']('apply',(_0x4565e0,_0x34e147)=>{this['_replaceImage'](_0x1ddcc8,_0x34e147['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0xfbb40e['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0xfbb40e['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x148ad3,_0x775ec,_0x101315){const _0x25c27b=this['_editor'],{width:_0x2925e3,height:_0x4ed2c8}=S(_0x775ec,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x2a372d,imageSources:_0x58d8b5}=C(_0x775ec,_0x2925e3);_0x25c27b['model']['change'](_0x742410=>{if('$graveyard'===_0x148ad3['root']['rootName']){_0x25c27b['execute']('insertImage',{'imageType':_0x148ad3['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x148ad3['getAttributes']()),'uploadcareImageId':_0x101315,'src':_0x2a372d,'sources':_0x58d8b5,'width':_0x2925e3,'height':_0x4ed2c8}});const _0x1e2c3c=_0x148ad3['getChildren']();_0x148ad3=_0x25c27b['model']['document']['selection']['getSelectedElement']();for(const _0x3706f6 of _0x1e2c3c)_0x742410['append'](_0x742410['cloneElement'](_0x3706f6),_0x148ad3);}else _0x742410['setSelection'](_0x148ad3,'on'),_0x25c27b['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x148ad3['getAttributes']()),'uploadcareImageId':_0x101315,'src':_0x2a372d,'sources':_0x58d8b5,'width':_0x2925e3,'height':_0x4ed2c8},_0x148ad3);_0x742410['setSelection'](_0x148ad3,'on');});}async['_getImageAsFile'](_0x5df641){const _0x5c8ec8=_0x448e9a['window'],_0x470c60=_0x448e9a['document']['location']['href'],_0xd1346f=new _0x5c8ec8['URL'](_0x5df641['getAttribute']('src'),_0x470c60);if('data:'===_0xd1346f['protocol']){const _0x28c296=_0xd1346f['href']['split'](','),_0x1c1d54=_0x28c296[0x0]['match'](/:(.*?);/)[0x1],_0x2b7d08=_0x1c1d54['split']('/')[0x1],_0x2e92ad=_0x5c8ec8['atob'](_0x28c296[_0x28c296['length']-0x1]);let _0x147c2a=_0x2e92ad['length'];const _0x4b1872=new _0x5c8ec8['Uint8Array'](_0x147c2a);for(;_0x147c2a--;)_0x4b1872[_0x147c2a]=_0x2e92ad['charCodeAt'](_0x147c2a);return new _0x5c8ec8['File']([_0x4b1872],'image.'+_0x2b7d08,{'type':_0x1c1d54});}const _0x540b00=_0xd1346f['href']['split']('/'),_0x2f8bb6=_0x540b00[_0x540b00['length']-0x1],_0xcb270=_0x2f8bb6['split']('.')[0x1];return _0x5c8ec8['fetch'](_0xd1346f['href'])['then'](_0x38acbc=>_0x38acbc['clone']()['blob']())['then'](_0x2b1328=>new _0x5c8ec8['File']([_0x2b1328],_0x2f8bb6,{'type':'image/'+_0xcb270}));}}class O extends _0x3c6f3b{['imageEditController'];static get['requires'](){return[_0x4f6a07];}['_isEditable'];constructor(_0x31317a){super(_0x31317a),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x468c8b){const _0x1a35f8=G(_0x468c8b);return _0x56d398=>!(!_0x56d398||!_0x56d398['is']('element','imageBlock')&&!_0x56d398['is']('element','imageInline'))&&(!!_0x56d398['hasAttribute']('uploadcareImageId')||!!_0x56d398['hasAttribute']('src')&&_0x1a35f8(_0x56d398['getAttribute']('src')));}(_0x31317a['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x34aa99=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x34aa99);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x1209b6=this['editor']['model']['document']['selection']['getSelectedElement']();_0x1209b6&&(_0x1209b6['is']('element','imageBlock')||_0x1209b6['is']('element','imageInline'))&&(this['imageEditController']=new E(this['editor'],this['editor']['plugins']['get'](_0x4f6a07),_0x1209b6),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class R extends _0x3c6f3b{['refresh'](){const _0x494936=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x494936&&(_0x494936['is']('element','imageBlock')||_0x494936['is']('element','imageInline')));}['execute'](_0x3825f7){const _0x5856a7=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x32e621=>{_0x32e621['setAttributes'](_0x3825f7,_0x5856a7),_0x32e621['removeAttribute']('srcset',_0x5856a7),_0x32e621['removeAttribute']('sizes',_0x5856a7);});}}class m extends _0x129cca{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[o,_0x4925ea,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x232a95}=this;_0x232a95['commands']['add']('uploadcareImageEdit',new O(_0x232a95)),_0x232a95['commands']['add']('uploadcareImageReplace',new R(_0x232a95));}}class g extends _0x129cca{['_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 _0x46ebc5=this['editor'];_0x46ebc5['ui']['componentFactory']['add']('uploadcareImageEdit',_0x4f65f6=>{const _0x4f1505=_0x46ebc5['commands']['get']('uploadcareImageEdit'),_0xd75cd5=new _0x449e3c(_0x4f65f6),t=_0x4f65f6['t'];return _0xd75cd5['set']({'icon':_0x11b7f3,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0xd75cd5['bind']('isEnabled')['to'](_0x4f1505),_0xd75cd5['bind']('isOn')['to'](_0x4f1505,'isActive'),this['listenTo'](_0xd75cd5,'execute',()=>{_0x46ebc5['execute']('uploadcareImageEdit'),_0x46ebc5['editing']['view']['focus']();}),_0xd75cd5;}),this['_initConfig']();}['_initConfig'](){const _0x4ccf90=_0x5f44ba(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x4ccf90),this['listenTo'](this['editor'],'destroy',()=>{_0x4ccf90['remove']();});}}class et extends _0x129cca{static get['pluginName'](){return'UploadcareImageEdit';}static get['requires'](){return[m,g];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{tt as Uploadcare,w as UploadcareCommand,o as UploadcareEditing,et as UploadcareImageEdit,O as UploadcareImageEditCommand,m as UploadcareImageEditEditing,g as UploadcareImageEditUI,e as UploadcareUI,f as UploadcareUploadAdapter};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'af':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x2f795d=>0x1!=_0x2f795d}};
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':_0x2a8d9e=>0x1!=_0x2a8d9e}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x57cd73=>{const {af:{dictionary:_0x17d840,getPluralForm:_0x436200}}={'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':_0x2d345b=>0x1!=_0x2d345b}};_0x57cd73['af']||={'dictionary':{},'getPluralForm':null},_0x57cd73['af']['dictionary']=Object['assign'](_0x57cd73['af']['dictionary'],_0x17d840),_0x57cd73['af']['getPluralForm']=_0x436200;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x5b301=>{const {af:{dictionary:_0x53f293,getPluralForm:_0x3d7355}}={'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':_0x20cb1f=>0x1!=_0x20cb1f}};_0x5b301['af']||={'dictionary':{},'getPluralForm':null},_0x5b301['af']['dictionary']=Object['assign'](_0x5b301['af']['dictionary'],_0x53f293),_0x5b301['af']['getPluralForm']=_0x3d7355;})(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':_0x57a937=>0x0==_0x57a937?0x0:0x1==_0x57a937?0x1:0x2==_0x57a937?0x2:_0x57a937%0x64>=0x3&&_0x57a937%0x64<=0xa?0x3:_0x57a937%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':_0x6fc26a=>0x0==_0x6fc26a?0x0:0x1==_0x6fc26a?0x1:0x2==_0x6fc26a?0x2:_0x6fc26a%0x64>=0x3&&_0x6fc26a%0x64<=0xa?0x3:_0x6fc26a%0x64>=0xb?0x4:0x5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x534188=>{const {ar:{dictionary:_0x1a6dc4,getPluralForm:_0xc05cb1}}={'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':_0x1f9ad2=>0x0==_0x1f9ad2?0x0:0x1==_0x1f9ad2?0x1:0x2==_0x1f9ad2?0x2:_0x1f9ad2%0x64>=0x3&&_0x1f9ad2%0x64<=0xa?0x3:_0x1f9ad2%0x64>=0xb?0x4:0x5}};_0x534188['ar']||={'dictionary':{},'getPluralForm':null},_0x534188['ar']['dictionary']=Object['assign'](_0x534188['ar']['dictionary'],_0x1a6dc4),_0x534188['ar']['getPluralForm']=_0xc05cb1;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x51894b=>{const {ar:{dictionary:_0xec1001,getPluralForm:_0x29c020}}={'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':_0x516061=>0x0==_0x516061?0x0:0x1==_0x516061?0x1:0x2==_0x516061?0x2:_0x516061%0x64>=0x3&&_0x516061%0x64<=0xa?0x3:_0x516061%0x64>=0xb?0x4:0x5}};_0x51894b['ar']||={'dictionary':{},'getPluralForm':null},_0x51894b['ar']['dictionary']=Object['assign'](_0x51894b['ar']['dictionary'],_0xec1001),_0x51894b['ar']['getPluralForm']=_0x29c020;})(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':_0x5c9720=>0x1!=_0x5c9720}};
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':_0x35dc8a=>0x1!=_0x35dc8a}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x1b90af=>{const {ast:{dictionary:_0x13593c,getPluralForm:_0x3802b3}}={'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':_0x123061=>0x1!=_0x123061}};_0x1b90af['ast']||={'dictionary':{},'getPluralForm':null},_0x1b90af['ast']['dictionary']=Object['assign'](_0x1b90af['ast']['dictionary'],_0x13593c),_0x1b90af['ast']['getPluralForm']=_0x3802b3;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x374de7=>{const {ast:{dictionary:_0x3da137,getPluralForm:_0x4efc44}}={'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':_0x4e429a=>0x1!=_0x4e429a}};_0x374de7['ast']||={'dictionary':{},'getPluralForm':null},_0x374de7['ast']['dictionary']=Object['assign'](_0x374de7['ast']['dictionary'],_0x3da137),_0x374de7['ast']['getPluralForm']=_0x4efc44;})(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':_0x27a579=>0x1!=_0x27a579}};
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':_0x4b4556=>0x1!=_0x4b4556}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x32e3d8=>{const {az:{dictionary:_0x183f46,getPluralForm:_0x48c56d}}={'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':_0x22d321=>0x1!=_0x22d321}};_0x32e3d8['az']||={'dictionary':{},'getPluralForm':null},_0x32e3d8['az']['dictionary']=Object['assign'](_0x32e3d8['az']['dictionary'],_0x183f46),_0x32e3d8['az']['getPluralForm']=_0x48c56d;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x18c168=>{const {az:{dictionary:_0x1945ce,getPluralForm:_0x2e475d}}={'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':_0x377b1a=>0x1!=_0x377b1a}};_0x18c168['az']||={'dictionary':{},'getPluralForm':null},_0x18c168['az']['dictionary']=Object['assign'](_0x18c168['az']['dictionary'],_0x1945ce),_0x18c168['az']['getPluralForm']=_0x2e475d;})(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':_0x4ae363=>_0x4ae363%0xa==0x1&&_0x4ae363%0x64!=0xb?0x0:_0x4ae363%0xa>=0x2&&_0x4ae363%0xa<=0x4&&(_0x4ae363%0x64<0xa||_0x4ae363%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':_0x5199bb=>_0x5199bb%0xa==0x1&&_0x5199bb%0x64!=0xb?0x0:_0x5199bb%0xa>=0x2&&_0x5199bb%0xa<=0x4&&(_0x5199bb%0x64<0xa||_0x5199bb%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0xe1a425=>{const {be:{dictionary:_0x293e18,getPluralForm:_0x4f5b83}}={'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':_0x4e1e5f=>_0x4e1e5f%0xa==0x1&&_0x4e1e5f%0x64!=0xb?0x0:_0x4e1e5f%0xa>=0x2&&_0x4e1e5f%0xa<=0x4&&(_0x4e1e5f%0x64<0xa||_0x4e1e5f%0x64>=0x14)?0x1:0x2}};_0xe1a425['be']||={'dictionary':{},'getPluralForm':null},_0xe1a425['be']['dictionary']=Object['assign'](_0xe1a425['be']['dictionary'],_0x293e18),_0xe1a425['be']['getPluralForm']=_0x4f5b83;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x449c89=>{const {be:{dictionary:_0x33bc19,getPluralForm:_0x360751}}={'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':_0x7135df=>_0x7135df%0xa==0x1&&_0x7135df%0x64!=0xb?0x0:_0x7135df%0xa>=0x2&&_0x7135df%0xa<=0x4&&(_0x7135df%0x64<0xa||_0x7135df%0x64>=0x14)?0x1:0x2}};_0x449c89['be']||={'dictionary':{},'getPluralForm':null},_0x449c89['be']['dictionary']=Object['assign'](_0x449c89['be']['dictionary'],_0x33bc19),_0x449c89['be']['getPluralForm']=_0x360751;})(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':_0x7f76ef=>0x1!=_0x7f76ef}};
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':_0x3dc922=>0x1!=_0x3dc922}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x52169c=>{const {bg:{dictionary:_0x34fcfe,getPluralForm:_0x59e8a2}}={'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':_0x358357=>0x1!=_0x358357}};_0x52169c['bg']||={'dictionary':{},'getPluralForm':null},_0x52169c['bg']['dictionary']=Object['assign'](_0x52169c['bg']['dictionary'],_0x34fcfe),_0x52169c['bg']['getPluralForm']=_0x59e8a2;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x2ca4fc=>{const {bg:{dictionary:_0x5c8d99,getPluralForm:_0x413344}}={'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':_0x2fd2ab=>0x1!=_0x2fd2ab}};_0x2ca4fc['bg']||={'dictionary':{},'getPluralForm':null},_0x2ca4fc['bg']['dictionary']=Object['assign'](_0x2ca4fc['bg']['dictionary'],_0x5c8d99),_0x2ca4fc['bg']['getPluralForm']=_0x413344;})(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':_0x30ec6f=>0x1!=_0x30ec6f}};
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':_0xff3d=>0x1!=_0xff3d}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x37c064=>{const {bn:{dictionary:_0x33941a,getPluralForm:_0x18ea16}}={'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':_0x5b3835=>0x1!=_0x5b3835}};_0x37c064['bn']||={'dictionary':{},'getPluralForm':null},_0x37c064['bn']['dictionary']=Object['assign'](_0x37c064['bn']['dictionary'],_0x33941a),_0x37c064['bn']['getPluralForm']=_0x18ea16;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x1fd7ed=>{const {bn:{dictionary:_0x3f5f58,getPluralForm:_0x3c3890}}={'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':_0x27e448=>0x1!=_0x27e448}};_0x1fd7ed['bn']||={'dictionary':{},'getPluralForm':null},_0x1fd7ed['bn']['dictionary']=Object['assign'](_0x1fd7ed['bn']['dictionary'],_0x3f5f58),_0x1fd7ed['bn']['getPluralForm']=_0x3c3890;})(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':_0x12d218=>_0x12d218%0xa==0x1&&_0x12d218%0x64!=0xb?0x0:_0x12d218%0xa>=0x2&&_0x12d218%0xa<=0x4&&(_0x12d218%0x64<0xa||_0x12d218%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':_0x326af4=>_0x326af4%0xa==0x1&&_0x326af4%0x64!=0xb?0x0:_0x326af4%0xa>=0x2&&_0x326af4%0xa<=0x4&&(_0x326af4%0x64<0xa||_0x326af4%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x305669=>{const {bs:{dictionary:_0xfec54a,getPluralForm:_0x4cfaec}}={'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':_0x751133=>_0x751133%0xa==0x1&&_0x751133%0x64!=0xb?0x0:_0x751133%0xa>=0x2&&_0x751133%0xa<=0x4&&(_0x751133%0x64<0xa||_0x751133%0x64>=0x14)?0x1:0x2}};_0x305669['bs']||={'dictionary':{},'getPluralForm':null},_0x305669['bs']['dictionary']=Object['assign'](_0x305669['bs']['dictionary'],_0xfec54a),_0x305669['bs']['getPluralForm']=_0x4cfaec;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x51f177=>{const {bs:{dictionary:_0x56e8bf,getPluralForm:_0x41e1c8}}={'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':_0x145793=>_0x145793%0xa==0x1&&_0x145793%0x64!=0xb?0x0:_0x145793%0xa>=0x2&&_0x145793%0xa<=0x4&&(_0x145793%0x64<0xa||_0x145793%0x64>=0x14)?0x1:0x2}};_0x51f177['bs']||={'dictionary':{},'getPluralForm':null},_0x51f177['bs']['dictionary']=Object['assign'](_0x51f177['bs']['dictionary'],_0x56e8bf),_0x51f177['bs']['getPluralForm']=_0x41e1c8;})(window['CKEDITOR_TRANSLATIONS']||={});