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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (173) hide show
  1. package/build/uploadcare.js +1 -1
  2. package/dist/index.js +3 -3
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +9 -9
  150. package/src/index.js +1 -1
  151. package/src/ui/uploadcarecontroller.js +2 -2
  152. package/src/ui/uploadcareformview.js +1 -1
  153. package/src/uploadcare.js +1 -1
  154. package/src/uploadcarecommand.js +1 -1
  155. package/src/uploadcareconfig.js +1 -1
  156. package/src/uploadcareediting.js +1 -1
  157. package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.js +2 -2
  158. package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.js +1 -1
  159. package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.js +1 -1
  160. package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.js +1 -1
  161. package/src/uploadcareimageedit/ui/uploadcareimageeditformview.js +1 -1
  162. package/src/uploadcareimageedit/uploadcareimageeditcommand.js +1 -1
  163. package/src/uploadcareimageedit/uploadcareimageeditediting.js +1 -1
  164. package/src/uploadcareimageedit/uploadcareimageeditui.js +1 -1
  165. package/src/uploadcareimageedit/uploadcareimagereplacecommand.js +1 -1
  166. package/src/uploadcareimageedit.js +1 -1
  167. package/src/uploadcareui.js +1 -1
  168. package/src/uploadcareuploadadapter.js +1 -1
  169. package/src/utils/common-translations.js +1 -1
  170. package/src/utils/dialogfocusmanagerview.js +1 -1
  171. package/src/utils/editingutils.js +1 -1
  172. package/src/utils/isancestor.js +1 -1
  173. package/src/utils/uploadutils.js +1 -1
package/dist/index.js CHANGED
@@ -20,6 +20,6 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x1d0c01,Command as _0x354615}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x3b361e,IconGooglePhotos as _0x4b3915,IconGoogleDrive as _0x503873,IconFacebook as _0x13c8cc,IconDropbox as _0xde1ce6,IconUploadcareLink as _0x555464,IconUploadcareImageUpload as _0xe52790,IconError as _0x34a476,IconUploadcareImageEdit as _0xc60ae9}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x196f4e,MenuBarMenuListItemButtonView as _0x24d36f,View as _0x4e50d6,FocusCycler as _0x27bc8d,Dialog as _0x4ea138,DialogViewPosition as _0x2dddc8,SpinnerView as _0x18b7bf,IconView as _0x59bed7,Notification as _0x4f7ca8}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x232457,DomEmitterMixin as _0xb269bb,global as _0x3b326e,getAncestors as _0xe8c29b,ObservableMixin as _0x3240bb,uid as _0x120607,createElement as _0x28e51d}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x11fdc5}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0xf38f60,info as _0x4e712f}from'@uploadcare/upload-client';import*as _0x4dcea5 from'@uploadcare/file-uploader';var i=function(_0x10c53d){return _0x10c53d['Local']='local',_0x10c53d['URL']='url',_0x10c53d['Dropbox']='dropbox',_0x10c53d['GDrive']='gdrive',_0x10c53d['Facebook']='facebook',_0x10c53d['GPhotos']='gphotos',_0x10c53d['OneDrive']='onedrive',_0x10c53d;}({});function _(_0x5205ff,_0x34e938,_0x1a9f38){const t=_0x5205ff['t'],_0x316442=_0x5205ff['t'];switch(_0x34e938){case i['Local']:return{'text':_0x316442('Insert'===_0x1a9f38?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x316442('From\x20computer')};case i['URL']:return{'text':'Insert'===_0x1a9f38?_0x316442('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x316442('Via\x20URL')};case i['Dropbox']:return{'text':t('Insert'===_0x1a9f38?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case i['Facebook']:return{'text':t('Insert'===_0x1a9f38?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case i['GDrive']:return{'text':t('Insert'===_0x1a9f38?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case i['GPhotos']:return{'text':t('Insert'===_0x1a9f38?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case i['OneDrive']:return{'text':t('Insert'===_0x1a9f38?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x34e938;}}class e extends _0x1d0c01{['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 _0x2debb0=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x4e02a5;for(const _0x46f3a1 in _0x2debb0){const _0x5d3784=_0x46f3a1,_0x2952e6=_0x2debb0[_0x5d3784];if('uploadcareLicenseKeyValid'==_0x2952e6||'uploadcareLicenseKeyInvalid'==_0x2952e6||'uploadcareLicenseKeyExpired'==_0x2952e6||'uploadcareLicenseKeyDomainLimit'==_0x2952e6||'uploadcareLicenseKeyNotAllowed'==_0x2952e6||'uploadcareLicenseKeyEvaluationLimit'==_0x2952e6||'uploadcareLicenseKeyTrialLimit'==_0x2952e6||'uploadcareLicenseKeyUsageLimit'==_0x2952e6){delete _0x2debb0[_0x5d3784],_0x4e02a5=_0x2952e6,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x4e02a5&&_0x2debb0['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x4e02a5&&_0x2debb0['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x4e02a5&&_0x2debb0['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x4e02a5&&_0x2debb0['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x4e02a5&&_0x2debb0['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0x4e02a5&&_0x2debb0['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0x4e02a5&&_0x2debb0['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x5c94d9}=this,_0x47e74d=_0x5c94d9['commands']['get']('uploadcare');if(!_0x47e74d)return;const _0x5d6c02=this['_normalizeConfigSourceList'](_0x5c94d9['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x33f1d6,_0x5bf5e9)=>{const _0x1d4363=this['_getIntegrationKey'](_0x5bf5e9['type']);return _0x33f1d6[_0x1d4363]||(_0x33f1d6[_0x1d4363]=[]),_0x33f1d6[_0x1d4363]['push'](_0x5bf5e9),_0x33f1d6;},{});_0x5c94d9['plugins']['has']('ImageInsertUI')&&_0x5c94d9['commands']['get']('uploadcare')&&Object['entries'](_0x5d6c02)['forEach'](([_0x5b1d6b,_0x1996e8])=>{_0x5c94d9['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x5b1d6b,'observable':()=>_0x47e74d,'buttonViewCreator':()=>this['_createToolbarButton'](_0x1996e8),'formViewCreator':()=>this['_createDropdownButtons'](_0x1996e8),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x1996e8),'override':'assetManager'!==_0x5b1d6b});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x5ba706){const {locale:_0x105862}=this['editor'];return _0x5ba706['map'](_0x3c8146=>{const _0x186ec4=_(_0x105862,_0x3c8146,'Insert');switch(_0x3c8146){case i['Local']:return{'icon':_0xe52790,'type':i['Local'],..._0x186ec4};case i['URL']:return{'icon':_0x555464,'type':i['URL'],..._0x186ec4};case i['Dropbox']:return{'icon':_0xde1ce6,'type':i['Dropbox'],..._0x186ec4};case i['Facebook']:return{'icon':_0x13c8cc,'type':i['Facebook'],..._0x186ec4};case i['GDrive']:return{'icon':_0x503873,'type':i['GDrive'],..._0x186ec4};case i['GPhotos']:return{'icon':_0x4b3915,'type':i['GPhotos'],..._0x186ec4};case i['OneDrive']:return{'icon':_0x3b361e,'type':i['OneDrive'],..._0x186ec4};}});}['_getIntegrationKey'](_0x34bc06){switch(_0x34bc06){case i['Local']:return'upload';case i['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x2d5bd5,_0x4c2aa8){const _0x69612a=this['editor'],_0x503a6b=new _0x2d5bd5(_0x69612a['locale']),_0x38e42f=_0x69612a['commands']['get']('uploadcare');return _0x503a6b['bind']('isEnabled')['to'](_0x38e42f),_0x503a6b['on']('execute',()=>{_0x38e42f['execute'](_0x4c2aa8);}),_0x503a6b;}['_createToolbarButton'](_0x1c3ac4){const {locale:_0x39867a}=this['editor'],_0x308942=this['editor']['plugins']['get']('ImageInsertUI'),_0x1907b2=_0x1c3ac4[0x0],_0x4b9ca0=this['_createButton'](_0x196f4e,_0x1907b2['type']);return _0x4b9ca0['icon']=_0x1907b2['icon'],_0x4b9ca0['bind']('label')['to'](_0x308942,'isImageSelected',_0x2af4aa=>_(_0x39867a,_0x1907b2['type'],_0x2af4aa?'Replace':'Insert')['text']),_0x4b9ca0['tooltip']=!0x0,_0x4b9ca0;}['_createDropdownButtons'](_0x5a2621){const {locale:_0x404c76}=this['editor'],_0x3e479b=this['editor']['plugins']['get']('ImageInsertUI');return _0x5a2621['map'](_0x4f5789=>{const _0x8d4713=this['_createButton'](_0x196f4e,_0x4f5789['type']);return _0x8d4713['withText']=!0x0,_0x8d4713['icon']=_0x4f5789['icon'],_0x8d4713['bind']('label')['to'](_0x3e479b,'isImageSelected',_0x51783f=>_(_0x404c76,_0x4f5789['type'],_0x51783f?'Replace':'Insert')['text']),_0x8d4713;});}['_createMenuBarButtons'](_0x217e28){return _0x217e28['map'](_0x407f71=>{const _0x338944=this['_createButton'](_0x24d36f,_0x407f71['type']);return _0x338944['icon']=_0x407f71['icon'],_0x338944['label']=_0x407f71['shortText'],_0x338944;});}}class V extends _0x4e50d6{['focusTracker'];['focusCycler'];constructor(_0x3021f7){super(_0x3021f7),this['focusTracker']=new _0x232457(),this['focusCycler']=new _0x27bc8d({'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 S extends V{constructor(_0x35f86b,_0x43494c){super(_0x35f86b),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-'+_0x43494c}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function k(_0x2efc44,_0x49a031){const _0xc75741=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x29af0e=>_0x29af0e<=_0x49a031)['map'](_0x22f7dd=>_0x2efc44['replace'](/\/$/,'')+'/-/resize/'+_0x22f7dd+'x/\x20'+_0x22f7dd+'w');return{'imageFallbackUrl':_0x2efc44,'imageSources':[{'srcset':_0xc75741['join'](',\x20'),'sizes':'(max-width:\x20'+_0x49a031+'px)\x20100vw,\x20'+_0x49a031+'px','type':'image/webp'}]};}function F(_0x57598f,_0x4eb3ba,_0x2ac9d0){const _0x2b0cfd=_0x57598f['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x2b0cfd?parseInt(_0x2b0cfd[0x1],0xa):_0x4eb3ba,'height':_0x2b0cfd?parseInt(_0x2b0cfd[0x2],0xa):_0x2ac9d0};}function p(_0x44ef27,_0x1e6984){const _0x2c2a97=new(_0xb269bb())(),_0x32bad7=_0x44ef27['plugins']['get']('ImageUtils'),_0x2e762c=_0x44ef27['editing']['mapper']['toViewElement'](_0x1e6984),_0x1b256b=_0x32bad7['findViewImgElement'](_0x2e762c),_0x32ec82=_0x44ef27['editing']['view']['domConverter']['viewToDom'](_0x1b256b),_0x2bc026=_0x1e6984['getAttribute']('width'),_0x1dc8dd=_0x1e6984['getAttribute']('height'),_0x4e06b9='image-processing';_0x44ef27['editing']['view']['change'](_0x2f5109=>{_0x2f5109['addClass'](_0x4e06b9,_0x2e762c),_0x2f5109['setStyle']('aspect-ratio',_0x2bc026+'/'+_0x1dc8dd,_0x1b256b);}),_0x2c2a97['listenTo'](_0x32ec82,'load',()=>{_0x2c2a97['stopListening'](_0x32ec82,'load'),_0x44ef27['editing']['view']['change'](_0x5db943=>{_0x5db943['removeClass'](_0x4e06b9,_0x2e762c),_0x5db943['removeStyle']('aspect-ratio',_0x1b256b);});});}function R(_0xd82e2f){if(Array['isArray'](_0xd82e2f)){const _0x16386b=_0xd82e2f['map'](R);return _0x5cf226=>_0x16386b['some'](_0x5b0762=>_0x5b0762(_0x5cf226));}if('origin'==_0xd82e2f){const _0x5d2ae6=_0x3b326e['window']['location']['origin'];return _0x36a3aa=>new URL(_0x36a3aa,_0x3b326e['document']['baseURI'])['origin']==_0x5d2ae6;}return'function'==typeof _0xd82e2f?_0xd82e2f:_0xd82e2f instanceof RegExp?_0x5842a5=>!(!_0x5842a5['match'](_0xd82e2f)&&!_0x5842a5['replace'](/^https?:\/\//,'')['match'](_0xd82e2f)):()=>!0x1;}function M(_0xd4ba1d,_0x3709e4){return _0xe8c29b(_0xd4ba1d['target'])['includes'](_0x3709e4);}class n extends/* #__PURE__ -- @preserve */
24
- _0x3240bb(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x4044b2,_0x58224f,_0x465c3f){super(),this['_editor']=_0x4044b2,this['_editing']=_0x58224f,this['_dialog']=_0x4044b2['plugins']['get'](_0x4ea138),this['_api']=_0x58224f['ctxElement']['getAPI'](),this['_type']=_0x465c3f,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:_0x5a0ad6,model:_0x19c0b5}=this['_editor'],_0x2fde30=_0x19c0b5['document']['selection']['getSelectedElement'](),_0x2674d1=_0x2fde30&&(_0x2fde30['is']('element','imageBlock')||_0x2fde30['is']('element','imageInline'));this['_formView']=new S(_0x5a0ad6,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':_0xe52790,'title':_(_0x5a0ad6,this['_type'],_0x2674d1?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x2dddc8['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0xfdf86c=>!M(_0xfdf86c,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x1810bf}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x4198ca=>{const _0x53982e=_0x1810bf['length'];for(const _0x221530 of _0x1810bf){const _0x467bcc=_0x221530===_0x1810bf[_0x53982e-0x1],{cdnUrl:_0x2875d0,fileInfo:_0x1b295c}=_0x221530;if(!_0x2875d0||!_0x1b295c)continue;const {width:_0x19d8f8,height:_0x16571c}=_0x1b295c['imageInfo'],_0x219024=F(_0x2875d0,_0x19d8f8,_0x16571c),_0x5d33ba=k(_0x2875d0,_0x219024['width']),_0x39a24a={'id':_0x1b295c['uuid'],'type':'image','attributes':{'imageDimension':_0x219024,..._0x5d33ba}};this['_insertAsset'](_0x39a24a,_0x467bcc,_0x4198ca);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x1af7c5=>{'idle'===_0x1af7c5['detail']['status']&&!_0x1af7c5['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===i['Local']?this['_api']['setCurrentActivity'](i['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x216e6d,_0x130e7c,_0x5f41f7){const _0x40338c=this['_editor']['model']['document']['selection'],_0x55e460=_0x40338c['getSelectedElement'](),_0x119fc6=!(!_0x55e460||!_0x55e460['is']('element','imageInline'));_0x5f41f7['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x216e6d,_0x119fc6),_0x130e7c||_0x5f41f7['setSelection'](_0x40338c['getLastPosition']());}['_insertImage'](_0x43779a,_0x189f8e){const _0x5cd102=this['_editor'],{imageDimension:_0x5aa24f,imageFallbackUrl:_0x2ec953,imageSources:_0xf4b6b}=_0x43779a['attributes'];_0x5cd102['execute']('insertImage',{'imageType':_0x189f8e?'imageInline':null,'source':{'uploadcareImageId':_0x43779a['id'],'src':_0x2ec953,'sources':_0xf4b6b,..._0x5aa24f}});}}class w extends _0x354615{['_editing'];['_controller']=null;static get['requires'](){return[_0x4ea138,o];}constructor(_0x4992e8){super(_0x4992e8),this['_editing']=_0x4992e8['plugins']['get'](o);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x5e2349){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new n(this['editor'],this['_editing'],_0x5e2349);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class j{static['upload']({file:_0x2b2b2f,publicKey:_0x5cfcde,signal:_0x2db8c4,onProgress:_0x186c11}){return _0xf38f60(_0x2b2b2f,{'publicKey':_0x5cfcde,'store':'auto','signal':_0x2db8c4,'onProgress':_0x186c11});}static['getInfo'](_0x58b325,_0x3682ce){return _0x4e712f(_0x58b325,_0x3682ce);}}class f extends _0x1d0c01{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x11fdc5,o];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x3f3a39=this['editor'];if(!!!_0x3f3a39['config']['get']('uploadcare'))return;_0x3f3a39['plugins']['get'](_0x11fdc5)['createUploadAdapter']=_0x3e308e=>new A(_0x3e308e,_0x3f3a39),_0x3f3a39['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x30e6b9,{imageElement:_0x499334,data:_0x55c923})=>{_0x3f3a39['model']['change'](_0xbbdf1a=>{_0xbbdf1a['setAttribute']('uploadcareImageId',_0x55c923['uploadcareImageId'],_0x499334);});});}}class A{['loader'];['editor'];['controller'];constructor(_0x7276f5,_0x674dd0){this['loader']=_0x7276f5,this['editor']=_0x674dd0,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x371dcd=this['editor']['config']['get']('uploadcare.pubkey'),_0x43ae78=await this['loader']['file'];return j['upload']({'file':_0x43ae78,'publicKey':_0x371dcd,'signal':this['controller']['signal'],'onProgress':_0x17c7ce=>{_0x17c7ce&&_0x17c7ce['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x17c7ce['value']);}})['then'](async _0x5cf511=>{const {imageFallbackUrl:_0x3a9092,imageSources:_0x429247}=k(_0x5cf511['cdnUrl'],_0x5cf511['imageInfo']['width']);return{'uploadcareImageId':_0x5cf511['uuid'],'default':_0x3a9092,'sources':_0x429247};})['catch'](()=>{const _0x10974d=t('Cannot\x20upload\x20file:')+('\x20'+_0x43ae78['name']+'.');return Promise['reject'](_0x10974d);});}['abort'](){this['controller']['abort']();}}class o extends _0x1d0c01{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',f,_0x4ea138];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['ucContextId'];get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}constructor(_0x3e61e5){super(_0x3e61e5),this['ucContextId']=_0x120607();}['init'](){const _0x4978f0=this['editor'];_0x4978f0['commands']['add']('uploadcare',new w(_0x4978f0));}['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 _0x428831=_0x3b326e['document']['querySelector']('input[uploadcare-file-input]');_0x428831&&_0x428831['remove']();}),async function(_0x59af33){const _0x5c2fcb=_0x3c609d([0x72,0x5a,0x63,0x57,0x69,0x59,0x46,0x4f,0x54,0x48,0x31,0x73,0x50,0x55,0x70,0x51,0x58,0x4b,0x67,0x41,0x6b,0x64,0x77,0x53,0x33,0x49,0x74,0x45,0x6e,0x32,0x61,0x30,0x47,0x4c,0x34,0x36,0x37,0x65,0x6d,0x38,0x79,0x66,0x7a,0x4d,0x52,0x62,0x75,0x76,0x35,0x78,0x43,0x44,0x68,0x39,0x6a,0x6f,0x6c,0x71,0x4a,0x4e,0x42,0x56]),_0x14fa3c=0x54354444,_0x58576c=0x54322bc4^_0x14fa3c,_0x3884b0=window[_0x3c609d([0x44,0x61,0x74,0x65])][_0x3c609d([0x6e,0x6f,0x77])](),_0x8083a8=_0x59af33[_0x3c609d([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x12c3bc=new window[(_0x3c609d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x50298a=>{_0x8083a8[_0x3c609d([0x6f,0x6e,0x63,0x65])](_0x3c609d([0x72,0x65,0x61,0x64,0x79]),_0x50298a);}),_0x11b775={[_0x3c609d([0x6b,0x74,0x79])]:_0x3c609d([0x45,0x43]),[_0x3c609d([0x75,0x73,0x65])]:_0x3c609d([0x73,0x69,0x67]),[_0x3c609d([0x63,0x72,0x76])]:_0x3c609d([0x50,0x2d,0x32,0x35,0x36]),[_0x3c609d([0x78])]:_0x3c609d([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]),[_0x3c609d([0x79])]:_0x3c609d([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]),[_0x3c609d([0x61,0x6c,0x67])]:_0x3c609d([0x45,0x53,0x32,0x35,0x36])},_0x22000d=_0x8083a8[_0x3c609d([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3c609d([0x67,0x65,0x74])](_0x3c609d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x577b2f(){let _0x433e29,_0x357954=null,_0x2840c3=null;try{if(_0x22000d==_0x3c609d([0x47,0x50,0x4c]))return _0x3c609d([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x433e29=_0x14d616(),!_0x433e29)return _0x3c609d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x433e29[_0x3c609d([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x2840c3=_0x340707(_0x433e29[_0x3c609d([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x433e29[_0x3c609d([0x6a,0x74,0x69])])),await _0x1ae326()?_0x4a66b5()?_0xc3f466()?_0x3c609d([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x2bd5fb()?(_0x433e29[_0x3c609d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3c609d([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x357954=_0x369905(_0x3c609d([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x433e29[_0x3c609d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3c609d([0x74,0x72,0x69,0x61,0x6c])&&(_0x357954=_0x369905(_0x3c609d([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x1ee408()):_0x3c609d([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3c609d([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3c609d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x3c609d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0xc3f466(){const _0x9d4c82=[_0x3c609d([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3c609d([0x74,0x72,0x69,0x61,0x6c])][_0x3c609d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x433e29[_0x3c609d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3884b0/0x3e8:0xe10*_0x58576c;return _0x433e29[_0x3c609d([0x65,0x78,0x70])]<_0x9d4c82;}function _0x4a66b5(){const _0x2e810c=_0x433e29[_0x3c609d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x2e810c&&(!!_0x2e810c[_0x3c609d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3c609d([0x2a]))||!!_0x2e810c[_0x3c609d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3c609d([0x55,0x50,0x4c,0x43])));}function _0x2bd5fb(){const _0x350c68=_0x433e29[_0x3c609d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x350c68||0x0==_0x350c68[_0x3c609d([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x268415}=new URL(window[_0x3c609d([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x350c68[_0x3c609d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x268415))return!0x0;const _0x384954=_0x268415[_0x3c609d([0x73,0x70,0x6c,0x69,0x74])](_0x3c609d([0x2e]));return _0x350c68[_0x3c609d([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3bbad2=>_0x3bbad2[_0x3c609d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3c609d([0x2a])))[_0x3c609d([0x6d,0x61,0x70])](_0x4eca23=>_0x4eca23[_0x3c609d([0x73,0x70,0x6c,0x69,0x74])](_0x3c609d([0x2e])))[_0x3c609d([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x284b97=>_0x284b97[_0x3c609d([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x384954[_0x3c609d([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3c609d([0x6d,0x61,0x70])](_0x3fad96=>Array(_0x384954[_0x3c609d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x3fad96[_0x3c609d([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3c609d([0x66,0x69,0x6c,0x6c])](_0x3fad96[0x0]===_0x3c609d([0x2a])?_0x3c609d([0x2a]):'')[_0x3c609d([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x3fad96))[_0x3c609d([0x73,0x6f,0x6d,0x65])](_0x75dc0c=>_0x384954[_0x3c609d([0x65,0x76,0x65,0x72,0x79])]((_0x1989bb,_0x3d4656)=>_0x75dc0c[_0x3d4656]===_0x1989bb||_0x75dc0c[_0x3d4656]===_0x3c609d([0x2a])));}function _0x1ee408(){return _0x357954&&_0x2840c3?new window[(_0x3c609d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4d5818,_0x55be73)=>{_0x357954[_0x3c609d([0x74,0x68,0x65,0x6e])](_0x4d5818,_0x55be73),_0x2840c3[_0x3c609d([0x74,0x68,0x65,0x6e])](_0x41a24f=>{_0x41a24f!=_0x3c609d([0x56,0x61,0x6c,0x69,0x64])&&_0x4d5818(_0x41a24f);},_0x55be73);}):_0x357954||_0x2840c3||_0x3c609d([0x56,0x61,0x6c,0x69,0x64]);}}function _0x340707(_0x310625,_0x4e9d98){return new window[(_0x3c609d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1aaaca=>{if(_0x4147b2())return _0x1aaaca(_0x3c609d([0x56,0x61,0x6c,0x69,0x64]));_0x93aa6(),_0x8083a8[_0x3c609d([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3c609d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x210f03=!0x1;const _0xb76aa6=_0x120607();function _0x5b02ae(_0x330897){return!!_0x330897&&(typeof _0x330897===_0x3c609d([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x330897===_0x3c609d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x330897[_0x3c609d([0x74,0x68,0x65,0x6e])]===_0x3c609d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x330897[_0x3c609d([0x63,0x61,0x74,0x63,0x68])]===_0x3c609d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x88cdf8(_0x14762d){_0x30e1d0(_0x14762d)[_0x3c609d([0x74,0x68,0x65,0x6e])](_0x166105=>{if(!_0x166105||_0x166105[_0x3c609d([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3c609d([0x6f,0x6b]))return _0x3c609d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0xe1a617(_0xb5c823(_0xb76aa6+_0x4e9d98))!=_0x166105[_0x3c609d([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3c609d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3c609d([0x56,0x61,0x6c,0x69,0x64]);})[_0x3c609d([0x74,0x68,0x65,0x6e])](_0x3ba330=>(_0x5b1e39(),_0x3ba330),()=>{const _0x979e80=_0x1e2bca();return null==_0x979e80?(_0x5b1e39(),_0x3c609d([0x56,0x61,0x6c,0x69,0x64])):_0x3c609d(_0x3884b0-_0x979e80>(0x7039c044^_0x14fa3c)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3c609d([0x74,0x68,0x65,0x6e])](_0x1aaaca)[_0x3c609d([0x63,0x61,0x74,0x63,0x68])](()=>{_0x1aaaca(_0x3c609d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5d4863=0x5403aac4^_0x14fa3c;function _0x5b1e39(){const _0x4d48fb=_0x3c609d([0x6c,0x6c,0x63,0x74,0x2d])+_0xe1a617(_0xb5c823(_0x310625)),_0x52e2a1=_0x3c0fa8(_0xe1a617(window[_0x3c609d([0x4d,0x61,0x74,0x68])][_0x3c609d([0x63,0x65,0x69,0x6c])](_0x3884b0/_0x5d4863)));window[_0x3c609d([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3c609d([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4d48fb,_0x52e2a1);}function _0x1e2bca(){const _0x3d0fa3=_0x3c609d([0x6c,0x6c,0x63,0x74,0x2d])+_0xe1a617(_0xb5c823(_0x310625)),_0x2377ed=window[_0x3c609d([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3c609d([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3d0fa3);return _0x2377ed?window[_0x3c609d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3c0fa8(_0x2377ed),0x10)*_0x5d4863:null;}function _0x30e1d0(_0x1938b5){return new window[(_0x3c609d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x422966,_0x19b9f0)=>{_0x1938b5[_0x3c609d([0x74,0x68,0x65,0x6e])](_0x422966,_0x19b9f0),window[_0x3c609d([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x19b9f0,0x54349084^_0x14fa3c);});}}_0x8083a8[_0x3c609d([0x6f,0x6e])](_0x3c609d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4cccc8,_0x1d85ff)=>{if(_0x1d85ff[0x0]!=_0x310625)return _0x1aaaca(_0x3c609d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1d85ff[0x1]={..._0x1d85ff[0x1],[_0x3c609d([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0xb76aa6};},{[_0x3c609d([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3c609d([0x68,0x69,0x67,0x68])}),_0x8083a8[_0x3c609d([0x6f,0x6e])](_0x3c609d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4f4b81=>{_0x5b02ae(_0x4f4b81[_0x3c609d([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x210f03=!0x0,_0x88cdf8(_0x4f4b81[_0x3c609d([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3c609d([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3c609d([0x6c,0x6f,0x77])}),_0x12c3bc[_0x3c609d([0x74,0x68,0x65,0x6e])](()=>{_0x210f03||_0x1aaaca(_0x3c609d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4147b2(){return _0x8083a8[_0x3c609d([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3c609d([0x76,0x69,0x65,0x77])][_0x3c609d([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3c609d([0x61,0x75,0x74,0x6f]);}function _0x93aa6(){_0x8083a8[_0x3c609d([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3c609d([0x76,0x69,0x65,0x77])][_0x3c609d([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3c609d([0x61,0x75,0x74,0x6f]);}}function _0x369905(_0x1c99fb){const _0x258725=[new window[(_0x3c609d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x29f269=>setTimeout(_0x29f269,0x543c7a88^_0x14fa3c)),_0x12c3bc[_0x3c609d([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3c609d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3b8941=>{let _0x390246=0x0;_0x8083a8[_0x3c609d([0x6d,0x6f,0x64,0x65,0x6c])][_0x3c609d([0x6f,0x6e])](_0x3c609d([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x2bd241,_0x4e7435)=>{_0x4e7435[0x0][_0x3c609d([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x390246++,_0x390246==(0x543545bc^_0x14fa3c)&&(_0x3b8941(),_0x2bd241[_0x3c609d([0x6f,0x66,0x66])]());});}))];return window[_0x3c609d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3c609d([0x72,0x61,0x63,0x65])](_0x258725)[_0x3c609d([0x74,0x68,0x65,0x6e])](()=>_0x1c99fb);}async function _0x1ba093(){await _0x12c3bc,_0x8083a8[_0x3c609d([0x6d,0x6f,0x64,0x65,0x6c])][_0x3c609d([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5bb40b,_0x8083a8[_0x3c609d([0x6d,0x6f,0x64,0x65,0x6c])][_0x3c609d([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5bb40b,_0x8083a8[_0x3c609d([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3c609d([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x200cc0(_0x3daf4f){const _0x5b5b5f=_0x58e285();_0x8083a8[_0x5b5b5f]=_0x3c609d([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x3daf4f,_0x3daf4f!=_0x3c609d([0x56,0x61,0x6c,0x69,0x64])&&_0x1ba093();}function _0x58e285(){const _0x279b03=window[_0x3c609d([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3c609d([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3c609d([0x6e,0x6f,0x77])]())[_0x3c609d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3c609d([0x2e]),'');let _0x44b262=_0x3c609d([0x72]);for(let _0x46fb24=0x0;_0x46fb24<_0x279b03[_0x3c609d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x46fb24+=0x2){let _0xed30e7=window[_0x3c609d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x279b03[_0x3c609d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x46fb24,_0x46fb24+0x2));_0xed30e7>=_0x5c2fcb[_0x3c609d([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0xed30e7-=_0x5c2fcb[_0x3c609d([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x44b262+=_0x5c2fcb[_0xed30e7];}return _0x44b262;}function _0x14d616(){const _0x55917c=_0x22000d[_0x3c609d([0x73,0x70,0x6c,0x69,0x74])](_0x3c609d([0x2e]));if(0x3!=_0x55917c[_0x3c609d([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x575e91(_0x55917c[0x1]);function _0x575e91(_0x3e067d){const _0xe1ad08=_0xc2a9dd(_0x3e067d);return _0xe1ad08&&_0x1b13c8()?_0xe1ad08:null;function _0x1b13c8(){const _0xc0b2d1=_0xe1ad08[_0x3c609d([0x6a,0x74,0x69])],_0x423eb6=window[_0x3c609d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xc0b2d1[_0x3c609d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xc0b2d1[_0x3c609d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x44a25b={..._0xe1ad08,[_0x3c609d([0x6a,0x74,0x69])]:_0xc0b2d1[_0x3c609d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0xc0b2d1[_0x3c609d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x44a25b[_0x3c609d([0x76,0x63])],_0xb5c823(_0x44a25b)==_0x423eb6;}}}async function _0x1ae326(){let _0x823ed1=!0x0;try{const _0x15f31b=_0x22000d[_0x3c609d([0x73,0x70,0x6c,0x69,0x74])](_0x3c609d([0x2e])),[_0x4f10e8,_0x297c77,_0x4f568a]=_0x15f31b;return _0x39d5b3(_0x4f10e8),await _0x4ec4f7(_0x4f10e8,_0x297c77,_0x4f568a),_0x823ed1;}catch{return!0x1;}function _0x39d5b3(_0x19d9ee){const _0x1dc740=_0xc2a9dd(_0x19d9ee);_0x1dc740&&_0x1dc740[_0x3c609d([0x61,0x6c,0x67])]==_0x3c609d([0x45,0x53,0x32,0x35,0x36])||(_0x823ed1=!0x1);}async function _0x4ec4f7(_0x4969af,_0x2cef0c,_0x54dc3e){const _0x3397d4=window[_0x3c609d([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3c609d([0x66,0x72,0x6f,0x6d])](_0x4c444(_0x54dc3e),_0x3143d7=>_0x3143d7[_0x3c609d([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x450514=new window[(_0x3c609d([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3c609d([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4969af+_0x3c609d([0x2e])+_0x2cef0c),_0xc4d997=window[_0x3c609d([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3c609d([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0xc4d997)return;const _0x200373=await _0xc4d997[_0x3c609d([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3c609d([0x6a,0x77,0x6b]),_0x11b775,{[_0x3c609d([0x6e,0x61,0x6d,0x65])]:_0x3c609d([0x45,0x43,0x44,0x53,0x41]),[_0x3c609d([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3c609d([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3c609d([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0xc4d997[_0x3c609d([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3c609d([0x6e,0x61,0x6d,0x65])]:_0x3c609d([0x45,0x43,0x44,0x53,0x41]),[_0x3c609d([0x68,0x61,0x73,0x68])]:{[_0x3c609d([0x6e,0x61,0x6d,0x65])]:_0x3c609d([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x200373,_0x3397d4,_0x450514)||(_0x823ed1=!0x1);}}function _0xc2a9dd(_0x52c140){return _0x52c140[_0x3c609d([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3c609d([0x65,0x79]))?JSON[_0x3c609d([0x70,0x61,0x72,0x73,0x65])](_0x4c444(_0x52c140)):null;}function _0x4c444(_0x1a9e27){return window[_0x3c609d([0x61,0x74,0x6f,0x62])](_0x1a9e27[_0x3c609d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3c609d([0x2b]))[_0x3c609d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3c609d([0x2f])));}function _0xb5c823(_0x2792fa){let _0x17edb2=0x1505;function _0x3547f3(_0x4a92b4){for(let _0x41a61c=0x0;_0x41a61c<_0x4a92b4[_0x3c609d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x41a61c++){const _0x9071a9=_0x4a92b4[_0x3c609d([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x41a61c);_0x17edb2=(_0x17edb2<<0x5)+_0x17edb2+_0x9071a9,_0x17edb2&=_0x17edb2;}}function _0x41b9f7(_0x69f112){Array[_0x3c609d([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x69f112)?_0x69f112[_0x3c609d([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x41b9f7):_0x69f112&&typeof _0x69f112==_0x3c609d([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3c609d([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x69f112)[_0x3c609d([0x73,0x6f,0x72,0x74])]()[_0x3c609d([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x259554,_0x541d3e])=>{_0x3547f3(_0x259554),_0x41b9f7(_0x541d3e);}):_0x3547f3(window[_0x3c609d([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x69f112));}return _0x41b9f7(_0x2792fa),_0x17edb2>>>0x0;}function _0xe1a617(_0x19a011){return _0x19a011[_0x3c609d([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3c609d([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3c609d([0x30]));}function _0x3c0fa8(_0x57b706){return _0x57b706[_0x3c609d([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3c609d([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3c609d([0x6a,0x6f,0x69,0x6e])]('');}function _0x5bb40b(){}function _0x3c609d(_0x49f9e0){return _0x49f9e0['map'](_0x3f845e=>String['fromCharCode'](_0x3f845e))['join']('');}_0x200cc0(await _0x577b2f());}(this);}['_initSchema'](){const _0x4ec85a=this['editor']['model']['schema'];_0x4ec85a['isRegistered']('imageBlock')&&_0x4ec85a['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x4ec85a['isRegistered']('imageInline')&&_0x4ec85a['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x24f52b=this['editor'];_0x24f52b['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x24f52b['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x46c6bc=>_0x46c6bc['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x2f3777=_0x24f52b['commands']['get']('replaceImageSource');_0x2f3777&&this['listenTo'](_0x2f3777,'cleanupImage',(_0x10bec8,[_0x2c48ce,_0x21e26f])=>{_0x2c48ce['removeAttribute']('uploadcareImageId',_0x21e26f);});}['_initConfig'](){const _0x1e1e5a=this['editor']['config']['get']('uploadcare.uploader')||{},_0x1e601f=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x28e51d(_0x3b326e['document'],'uc-config',{..._0x1e1e5a,'pubkey':_0x1e601f,'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']=_0x4e68ce=>{if('closeMax'==_0x4e68ce)return'#uc-icon-arrow-down';},_0x3b326e['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x28e51d(_0x3b326e['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),_0x3b326e['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x881ca2=this['editor']['commands']['get']('insertImage');_0x881ca2&&this['listenTo'](_0x881ca2,'execute',()=>{const _0x3c045f=this['editor']['model']['document']['selection']['getSelectedElement']();_0x3c045f&&_0x3c045f['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x3c045f);});});const _0x49605d=this['editor']['commands']['get']('uploadcareImageReplace');_0x49605d&&this['listenTo'](_0x49605d,'execute',()=>{const _0x3235f9=this['editor']['model']['document']['selection']['getSelectedElement']();_0x3235f9&&_0x3235f9['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x3235f9);});});}}class tt extends _0x1d0c01{static get['requires'](){return[o,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x5898b3){super(_0x5898b3),_0x5898b3['config']['define']('uploadcare.uploader.sourceList',[i['Local'],i['URL']]),_0x4dcea5['defineComponents'](_0x4dcea5);}}class ii extends _0x4e50d6{constructor(_0x5b5e72){super(_0x5b5e72);const t=_0x5b5e72['t'],_0x2dec53=this['bindTemplate'],_0x25e0f8=new _0x18b7bf();_0x25e0f8['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':[_0x25e0f8,{'text':_0x2dec53['to']('imageUploadProgress',_0xe1089d=>t('Loading\x20image...')+'\x20('+(_0xe1089d||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 _0x4e50d6{constructor(_0x4c83a4){super(_0x4c83a4);const t=_0x4c83a4['t'];this['set']('errorType',null);const _0x194aa6=new _0x196f4e(_0x4c83a4);_0x194aa6['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x194aa6['withText']=!0x0,_0x194aa6['class']='ck-button-action',_0x194aa6['on']('execute',()=>{this['fire']('retry');}),_0x194aa6['bind']('isVisible')['to'](this,'errorType',_0xd7fae0=>'NotFound'!==_0xd7fae0);const _0x35b4e3=new _0x59bed7();_0x35b4e3['content']=_0x34a476,_0x35b4e3['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0xe23ae=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':[_0x35b4e3,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0xe23ae['to']('errorType',_0x141418=>t('NotFound'!==_0x141418?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x194aa6]},{'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 _0x4e50d6{constructor(_0x5a9544,_0x1a5446){super(_0x5a9544);const _0x1efb7d=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x1a5446,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x1efb7d['to']('imageSrc')}});}}class X extends V{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x46ba90,_0x17e4e6,_0x35208c){super(_0x46ba90),this['_items']=this['createCollection'](),this['_loadingView']=new ii(_0x46ba90),this['_errorView']=new ti(_0x46ba90),this['_editingView']=new ei(_0x46ba90,_0x35208c),this['_focusableView']=new _0x4e50d6(_0x46ba90),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x17e4e6),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'],_0x4b7778=>{this['_addUploadcareImageEditorListeners'](_0x4b7778);});}),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'](_0x33ed96,_0x5bf275){const _0x357371='uc-cloud-image-editor',_0x5ede14=_0x33ed96['querySelector'](_0x357371);if(_0x5ede14)return _0x5bf275(_0x5ede14);const _0x157972=new MutationObserver(_0x5c07b1=>{const _0x6f0779=_0x5c07b1['filter'](_0x53fb98=>_0x53fb98['target']===_0x33ed96&&_0x53fb98['addedNodes']['length']>0x0&&_0x53fb98['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x357371);_0x6f0779['length']&&(_0x157972['disconnect'](),_0x5bf275(_0x6f0779[0x0]['addedNodes'][0x0]));});_0x157972['observe'](_0x33ed96,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x549afc){_0x549afc['addEventListener']('apply',_0x41cb7f=>{this['fire']('apply',{'imageSrc':_0x41cb7f['detail']['cdnUrl']});}),_0x549afc['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class E extends/* #__PURE__ -- @preserve */
25
- _0x3240bb(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x49788b,_0x2ff404,_0x584e4b){super(),this['_editor']=_0x49788b,this['_dialog']=_0x2ff404,this['_imageElement']=_0x584e4b,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 _0x107f78=this['_imageElement'],_0x439dba=_0x107f78['getAttribute']('uploadcareImageId'),_0x3cb05b=_0x107f78['getAttribute']('src');if(_0x439dba)await this['_loadImageInfo'](_0x439dba,_0x3cb05b);else{if(this['_imageCache']['has'](_0x3cb05b)){const _0x1e25b9=this['_imageCache']['get'](_0x3cb05b);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x1e25b9['url'],this['imageDimension']=_0x1e25b9['dimension'],this['imageId']=_0x1e25b9['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x4e652d}=this['_editor'],t=_0x4e652d['t'],_0x2a6d80=new X(_0x4e652d,this['imageStatus'],this['_attributes']);_0x2a6d80['bind']('status')['to'](this,'imageStatus'),_0x2a6d80['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x2a6d80['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x2a6d80['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x2a6d80,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0xc60ae9,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x2a6d80,'position':_0x2dddc8['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x2a6d80['focus']();},'onHide':()=>{_0x2a6d80['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x114c02=>!M(_0x114c02,_0x2a6d80['element'])}});}['_loadImageInfo'](_0x4ca147,_0x2d35b6){return j['getInfo'](_0x4ca147,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x1bee12=>{const {width:_0x12db0a,height:_0x4a8902}=_0x1bee12['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x2d35b6,this['imageDimension']={'width':_0x12db0a,'height':_0x4a8902},this['imageId']=_0x4ca147;})['catch'](_0x262fc1=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x262fc1['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x22ba78,_0x377e43){return this['_getImageAsFile'](_0x22ba78)['then'](_0x4d2dff=>j['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x377e43['signal'],'file':_0x4d2dff,'onProgress':_0x5c83f7=>{_0x5c83f7&&_0x5c83f7['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x5c83f7['value']));}}))['then'](_0x5c58b1=>{const {width:_0x3af86b,height:_0x277a8d}=_0x5c58b1['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x5c58b1['cdnUrl'],this['imageDimension']={'width':_0x3af86b,'height':_0x277a8d},this['imageId']=_0x5c58b1['uuid'],this['imageUploadProgress']=null;const _0x4f0ba4=_0x22ba78['getAttribute']('src');this['_imageCache']['set'](_0x4f0ba4,{'id':_0x5c58b1['uuid'],'url':_0x5c58b1['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x38e0ad=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x38e0ad['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x3d2358,_0x3ce10b){_0x3d2358['on']('apply',(_0x4ee1cc,_0x133641)=>{this['_replaceImage'](_0x3ce10b,_0x133641['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x3d2358['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x3d2358['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x12556c,_0x1f11c1,_0x435859){const _0x1c71ef=this['_editor'],{width:_0x472f52,height:_0x5c2e1b}=F(_0x1f11c1,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x10478c,imageSources:_0x3490ff}=k(_0x1f11c1,_0x472f52);_0x1c71ef['model']['change'](_0x2ef53c=>{if('$graveyard'===_0x12556c['root']['rootName']){_0x1c71ef['execute']('insertImage',{'imageType':_0x12556c['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x12556c['getAttributes']()),'uploadcareImageId':_0x435859,'src':_0x10478c,'sources':_0x3490ff,'width':_0x472f52,'height':_0x5c2e1b}});const _0x1fd40f=_0x12556c['getChildren']();_0x12556c=_0x1c71ef['model']['document']['selection']['getSelectedElement']();for(const _0x1ff2c8 of _0x1fd40f)_0x2ef53c['append'](_0x2ef53c['cloneElement'](_0x1ff2c8),_0x12556c);}else _0x2ef53c['setSelection'](_0x12556c,'on'),_0x1c71ef['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x12556c['getAttributes']()),'uploadcareImageId':_0x435859,'src':_0x10478c,'sources':_0x3490ff,'width':_0x472f52,'height':_0x5c2e1b},_0x12556c);_0x2ef53c['setSelection'](_0x12556c,'on');});}async['_getImageAsFile'](_0x500df6){const _0x40beef=_0x3b326e['window'],_0xe54fbd=_0x3b326e['document']['location']['href'],_0x18eb84=new _0x40beef['URL'](_0x500df6['getAttribute']('src'),_0xe54fbd);if('data:'===_0x18eb84['protocol']){const _0x4ba7a6=_0x18eb84['href']['split'](','),_0x3b47d5=_0x4ba7a6[0x0]['match'](/:(.*?);/)[0x1],_0x4a6eed=_0x3b47d5['split']('/')[0x1],_0x429bf3=_0x40beef['atob'](_0x4ba7a6[_0x4ba7a6['length']-0x1]);let _0x3b856a=_0x429bf3['length'];const _0x12d215=new _0x40beef['Uint8Array'](_0x3b856a);for(;_0x3b856a--;)_0x12d215[_0x3b856a]=_0x429bf3['charCodeAt'](_0x3b856a);return new _0x40beef['File']([_0x12d215],'image.'+_0x4a6eed,{'type':_0x3b47d5});}const _0x47f4fb=_0x18eb84['href']['split']('/'),_0x9697f5=_0x47f4fb[_0x47f4fb['length']-0x1],_0x59c943=_0x9697f5['split']('.')[0x1];return _0x40beef['fetch'](_0x18eb84['href'])['then'](_0x29ae6c=>_0x29ae6c['clone']()['blob']())['then'](_0x386616=>new _0x40beef['File']([_0x386616],_0x9697f5,{'type':'image/'+_0x59c943}));}}class N extends _0x354615{['imageEditController'];static get['requires'](){return[_0x4ea138];}['_isEditable'];constructor(_0x11d306){super(_0x11d306),this['imageEditController']=void 0x0,this['_isEditable']=function(_0xa0a7c7){const _0x6c2d34=R(_0xa0a7c7);return _0x564b47=>!(!_0x564b47||!_0x564b47['is']('element','imageBlock')&&!_0x564b47['is']('element','imageInline'))&&(!!_0x564b47['hasAttribute']('uploadcareImageId')||!!_0x564b47['hasAttribute']('src')&&_0x6c2d34(_0x564b47['getAttribute']('src')));}(_0x11d306['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x2849d9=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x2849d9);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x1a904b=this['editor']['model']['document']['selection']['getSelectedElement']();_0x1a904b&&(_0x1a904b['is']('element','imageBlock')||_0x1a904b['is']('element','imageInline'))&&(this['imageEditController']=new E(this['editor'],this['editor']['plugins']['get'](_0x4ea138),_0x1a904b),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class O extends _0x354615{['refresh'](){const _0x151ab0=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x151ab0&&(_0x151ab0['is']('element','imageBlock')||_0x151ab0['is']('element','imageInline')));}['execute'](_0xe9706b){const _0x24a9ea=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x1009d6=>{_0x1009d6['setAttributes'](_0xe9706b,_0x24a9ea),_0x1009d6['removeAttribute']('srcset',_0x24a9ea),_0x1009d6['removeAttribute']('sizes',_0x24a9ea);});}}class m extends _0x1d0c01{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[o,_0x4f7ca8,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x4a24f4}=this;_0x4a24f4['commands']['add']('uploadcareImageEdit',new N(_0x4a24f4)),_0x4a24f4['commands']['add']('uploadcareImageReplace',new O(_0x4a24f4));}}class g extends _0x1d0c01{['_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 _0x17ca68=this['editor'];_0x17ca68['ui']['componentFactory']['add']('uploadcareImageEdit',_0x157fb0=>{const _0x45fd68=_0x17ca68['commands']['get']('uploadcareImageEdit'),_0x29f035=new _0x196f4e(_0x157fb0),t=_0x157fb0['t'];return _0x29f035['set']({'icon':_0xc60ae9,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x29f035['bind']('isEnabled')['to'](_0x45fd68),_0x29f035['bind']('isOn')['to'](_0x45fd68,'isActive'),this['listenTo'](_0x29f035,'execute',()=>{_0x17ca68['execute']('uploadcareImageEdit'),_0x17ca68['editing']['view']['focus']();}),_0x29f035;}),this['_initConfig']();}['_initConfig'](){const _0x315de5=_0x28e51d(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x315de5),this['listenTo'](this['editor'],'destroy',()=>{_0x315de5['remove']();});}}class et extends _0x1d0c01{static get['pluginName'](){return'UploadcareImageEdit';}static get['requires'](){return[m,g];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{tt as Uploadcare,w as UploadcareCommand,o as UploadcareEditing,et as UploadcareImageEdit,N as UploadcareImageEditCommand,m as UploadcareImageEditEditing,g as UploadcareImageEditUI,e as UploadcareUI,f as UploadcareUploadAdapter};
23
+ import{Plugin as _0x5933e8,Command as _0x450d17}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x1d6bcf,IconGooglePhotos as _0x3ccb44,IconGoogleDrive as _0x53c432,IconFacebook as _0x1a8522,IconDropbox as _0x1f14d7,IconUploadcareLink as _0x4fc3a0,IconUploadcareImageUpload as _0x5ed800,IconError as _0x4445e7,IconUploadcareImageEdit as _0x1b2ca2}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x4be5bc,MenuBarMenuListItemButtonView as _0x5787a3,View as _0xca7813,FocusCycler as _0x985cb6,Dialog as _0x4ce859,DialogViewPosition as _0x1c5766,SpinnerView as _0x4055b6,IconView as _0x459cd1,Notification as _0x31ddf3}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x4a82d5,DomEmitterMixin as _0xb236a5,global as _0x516205,getAncestors as _0x436dab,ObservableMixin as _0x14f426,uid as _0x55252a,createElement as _0x14cb5a}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x56c01b}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x5bfe38,info as _0xbabb46}from'@uploadcare/upload-client';import*as _0x3313f0 from'@uploadcare/file-uploader';var i=function(_0x52258b){return _0x52258b['Local']='local',_0x52258b['URL']='url',_0x52258b['Dropbox']='dropbox',_0x52258b['GDrive']='gdrive',_0x52258b['Facebook']='facebook',_0x52258b['GPhotos']='gphotos',_0x52258b['OneDrive']='onedrive',_0x52258b;}({});function _(_0x4d7c0e,_0x503609,_0x14a92c){const t=_0x4d7c0e['t'],_0x4afbdf=_0x4d7c0e['t'];switch(_0x503609){case i['Local']:return{'text':_0x4afbdf('Insert'===_0x14a92c?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x4afbdf('From\x20computer')};case i['URL']:return{'text':'Insert'===_0x14a92c?_0x4afbdf('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x4afbdf('Via\x20URL')};case i['Dropbox']:return{'text':t('Insert'===_0x14a92c?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case i['Facebook']:return{'text':t('Insert'===_0x14a92c?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case i['GDrive']:return{'text':t('Insert'===_0x14a92c?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case i['GPhotos']:return{'text':t('Insert'===_0x14a92c?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case i['OneDrive']:return{'text':t('Insert'===_0x14a92c?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x503609;}}class e extends _0x5933e8{['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 _0x3c308d=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x5f1a91;for(const _0x5cb6b2 in _0x3c308d){const _0x165849=_0x5cb6b2,_0x50d5f3=_0x3c308d[_0x165849];if('uploadcareLicenseKeyValid'==_0x50d5f3||'uploadcareLicenseKeyInvalid'==_0x50d5f3||'uploadcareLicenseKeyExpired'==_0x50d5f3||'uploadcareLicenseKeyDomainLimit'==_0x50d5f3||'uploadcareLicenseKeyNotAllowed'==_0x50d5f3||'uploadcareLicenseKeyEvaluationLimit'==_0x50d5f3||'uploadcareLicenseKeyTrialLimit'==_0x50d5f3||'uploadcareLicenseKeyUsageLimit'==_0x50d5f3){delete _0x3c308d[_0x165849],_0x5f1a91=_0x50d5f3,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x5f1a91&&_0x3c308d['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x5f1a91&&_0x3c308d['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x5f1a91&&_0x3c308d['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x5f1a91&&_0x3c308d['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x5f1a91&&_0x3c308d['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0x5f1a91&&_0x3c308d['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0x5f1a91&&_0x3c308d['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x3eefaa}=this,_0x66aada=_0x3eefaa['commands']['get']('uploadcare');if(!_0x66aada)return;const _0x156bed=this['_normalizeConfigSourceList'](_0x3eefaa['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x35921b,_0x1ac504)=>{const _0x1fd4b5=this['_getIntegrationKey'](_0x1ac504['type']);return _0x35921b[_0x1fd4b5]||(_0x35921b[_0x1fd4b5]=[]),_0x35921b[_0x1fd4b5]['push'](_0x1ac504),_0x35921b;},{});_0x3eefaa['plugins']['has']('ImageInsertUI')&&_0x3eefaa['commands']['get']('uploadcare')&&Object['entries'](_0x156bed)['forEach'](([_0x13f37d,_0x23146b])=>{_0x3eefaa['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x13f37d,'observable':()=>_0x66aada,'buttonViewCreator':()=>this['_createToolbarButton'](_0x23146b),'formViewCreator':()=>this['_createDropdownButtons'](_0x23146b),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x23146b),'override':'assetManager'!==_0x13f37d});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x2b75ec){const {locale:_0x47675e}=this['editor'];return _0x2b75ec['map'](_0x2bf3a2=>{const _0x3b81aa=_(_0x47675e,_0x2bf3a2,'Insert');switch(_0x2bf3a2){case i['Local']:return{'icon':_0x5ed800,'type':i['Local'],..._0x3b81aa};case i['URL']:return{'icon':_0x4fc3a0,'type':i['URL'],..._0x3b81aa};case i['Dropbox']:return{'icon':_0x1f14d7,'type':i['Dropbox'],..._0x3b81aa};case i['Facebook']:return{'icon':_0x1a8522,'type':i['Facebook'],..._0x3b81aa};case i['GDrive']:return{'icon':_0x53c432,'type':i['GDrive'],..._0x3b81aa};case i['GPhotos']:return{'icon':_0x3ccb44,'type':i['GPhotos'],..._0x3b81aa};case i['OneDrive']:return{'icon':_0x1d6bcf,'type':i['OneDrive'],..._0x3b81aa};}});}['_getIntegrationKey'](_0x2f75a0){switch(_0x2f75a0){case i['Local']:return'upload';case i['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x1b52c5,_0x41ca94){const _0x5795b5=this['editor'],_0x361cc6=new _0x1b52c5(_0x5795b5['locale']),_0x58d09f=_0x5795b5['commands']['get']('uploadcare');return _0x361cc6['bind']('isEnabled')['to'](_0x58d09f),_0x361cc6['on']('execute',()=>{_0x58d09f['execute'](_0x41ca94);}),_0x361cc6;}['_createToolbarButton'](_0x59d4d3){const {locale:_0x15f704}=this['editor'],_0x31462c=this['editor']['plugins']['get']('ImageInsertUI'),_0x44915e=_0x59d4d3[0x0],_0x2d9325=this['_createButton'](_0x4be5bc,_0x44915e['type']);return _0x2d9325['icon']=_0x44915e['icon'],_0x2d9325['bind']('label')['to'](_0x31462c,'isImageSelected',_0xf0aeb5=>_(_0x15f704,_0x44915e['type'],_0xf0aeb5?'Replace':'Insert')['text']),_0x2d9325['tooltip']=!0x0,_0x2d9325;}['_createDropdownButtons'](_0x1b48d2){const {locale:_0x5c2f79}=this['editor'],_0x4464b3=this['editor']['plugins']['get']('ImageInsertUI');return _0x1b48d2['map'](_0x46a244=>{const _0x39c83a=this['_createButton'](_0x4be5bc,_0x46a244['type']);return _0x39c83a['withText']=!0x0,_0x39c83a['icon']=_0x46a244['icon'],_0x39c83a['bind']('label')['to'](_0x4464b3,'isImageSelected',_0x17fd57=>_(_0x5c2f79,_0x46a244['type'],_0x17fd57?'Replace':'Insert')['text']),_0x39c83a;});}['_createMenuBarButtons'](_0x30561f){return _0x30561f['map'](_0x2874ff=>{const _0x1f04f7=this['_createButton'](_0x5787a3,_0x2874ff['type']);return _0x1f04f7['icon']=_0x2874ff['icon'],_0x1f04f7['label']=_0x2874ff['shortText'],_0x1f04f7;});}}class F extends _0xca7813{['focusTracker'];['focusCycler'];constructor(_0x2a40ff){super(_0x2a40ff),this['focusTracker']=new _0x4a82d5(),this['focusCycler']=new _0x985cb6({'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(_0x1b082d,_0x6711cb){super(_0x1b082d),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-'+_0x6711cb}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function k(_0x125c89,_0x1c550d){const _0x13898a=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x12c229=>_0x12c229<=_0x1c550d)['map'](_0x45c23f=>_0x125c89['replace'](/\/$/,'')+'/-/resize/'+_0x45c23f+'x/\x20'+_0x45c23f+'w');return{'imageFallbackUrl':_0x125c89,'imageSources':[{'srcset':_0x13898a['join'](',\x20'),'sizes':'(max-width:\x20'+_0x1c550d+'px)\x20100vw,\x20'+_0x1c550d+'px','type':'image/webp'}]};}function C(_0x94d61f,_0x52f624,_0x875bdd){const _0x58ce41=_0x94d61f['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x58ce41?parseInt(_0x58ce41[0x1],0xa):_0x52f624,'height':_0x58ce41?parseInt(_0x58ce41[0x2],0xa):_0x875bdd};}function p(_0x402d10,_0x5933dc){const _0x3a6788=new(_0xb236a5())(),_0x1da029=_0x402d10['plugins']['get']('ImageUtils'),_0x418544=_0x402d10['editing']['mapper']['toViewElement'](_0x5933dc),_0xf8c9b1=_0x1da029['findViewImgElement'](_0x418544),_0x4f1a67=_0x402d10['editing']['view']['domConverter']['viewToDom'](_0xf8c9b1),_0x4cb583=_0x5933dc['getAttribute']('width'),_0x150ea0=_0x5933dc['getAttribute']('height'),_0x575404='image-processing';_0x402d10['editing']['view']['change'](_0x55c6f5=>{_0x55c6f5['addClass'](_0x575404,_0x418544),_0x55c6f5['setStyle']('aspect-ratio',_0x4cb583+'/'+_0x150ea0,_0xf8c9b1);}),_0x3a6788['listenTo'](_0x4f1a67,'load',()=>{_0x3a6788['stopListening'](_0x4f1a67,'load'),_0x402d10['editing']['view']['change'](_0x57e971=>{_0x57e971['removeClass'](_0x575404,_0x418544),_0x57e971['removeStyle']('aspect-ratio',_0xf8c9b1);});});}function G(_0xada97b){if(Array['isArray'](_0xada97b)){const _0xe89c94=_0xada97b['map'](G);return _0x2c2d01=>_0xe89c94['some'](_0x10c243=>_0x10c243(_0x2c2d01));}if('origin'==_0xada97b){const _0x13258d=_0x516205['window']['location']['origin'];return _0x176023=>new URL(_0x176023,_0x516205['document']['baseURI'])['origin']==_0x13258d;}return'function'==typeof _0xada97b?_0xada97b:_0xada97b instanceof RegExp?_0x5ef0d9=>!(!_0x5ef0d9['match'](_0xada97b)&&!_0x5ef0d9['replace'](/^https?:\/\//,'')['match'](_0xada97b)):()=>!0x1;}function S(_0x59f432,_0x431a29){return _0x436dab(_0x59f432['target'])['includes'](_0x431a29);}class n extends/* #__PURE__ -- @preserve */
24
+ _0x14f426(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x4e9583,_0x25afd9,_0x165e69){super(),this['_editor']=_0x4e9583,this['_editing']=_0x25afd9,this['_dialog']=_0x4e9583['plugins']['get'](_0x4ce859),this['_api']=_0x25afd9['ctxElement']['getAPI'](),this['_type']=_0x165e69,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:_0x43b579,model:_0x5b196a}=this['_editor'],_0x4b0883=_0x5b196a['document']['selection']['getSelectedElement'](),_0x3238d9=_0x4b0883&&(_0x4b0883['is']('element','imageBlock')||_0x4b0883['is']('element','imageInline'));this['_formView']=new x(_0x43b579,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':_0x5ed800,'title':_(_0x43b579,this['_type'],_0x3238d9?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x1c5766['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x114e03=>!S(_0x114e03,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x5200ca}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x6db82c=>{const _0x13e6af=_0x5200ca['length'];for(const _0x4bf91f of _0x5200ca){const _0x17cea9=_0x4bf91f===_0x5200ca[_0x13e6af-0x1],{cdnUrl:_0x184cb3,fileInfo:_0x1ff926}=_0x4bf91f;if(!_0x184cb3||!_0x1ff926)continue;const {width:_0x317c12,height:_0x4476c0}=_0x1ff926['imageInfo'],_0x2d8a63=C(_0x184cb3,_0x317c12,_0x4476c0),_0x3c4c24=k(_0x184cb3,_0x2d8a63['width']),_0x57e889={'id':_0x1ff926['uuid'],'type':'image','attributes':{'imageDimension':_0x2d8a63,..._0x3c4c24}};this['_insertAsset'](_0x57e889,_0x17cea9,_0x6db82c);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x1f89e3=>{'idle'===_0x1f89e3['detail']['status']&&!_0x1f89e3['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===i['Local']?this['_api']['setCurrentActivity'](i['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x57c716,_0x1bbaf5,_0x2d40a7){const _0x866668=this['_editor']['model']['document']['selection'],_0x195ea7=_0x866668['getSelectedElement'](),_0x57bdc7=!(!_0x195ea7||!_0x195ea7['is']('element','imageInline'));_0x2d40a7['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x57c716,_0x57bdc7),_0x1bbaf5||_0x2d40a7['setSelection'](_0x866668['getLastPosition']());}['_insertImage'](_0x1b1bc2,_0x2776d6){const _0x4d6ced=this['_editor'],{imageDimension:_0x3f9715,imageFallbackUrl:_0x2657fb,imageSources:_0x47841b}=_0x1b1bc2['attributes'];_0x4d6ced['execute']('insertImage',{'imageType':_0x2776d6?'imageInline':null,'source':{'uploadcareImageId':_0x1b1bc2['id'],'src':_0x2657fb,'sources':_0x47841b,..._0x3f9715}});}}class w extends _0x450d17{['_editing'];['_controller']=null;static get['requires'](){return[_0x4ce859,o];}constructor(_0x1ba1b4){super(_0x1ba1b4),this['_editing']=_0x1ba1b4['plugins']['get'](o);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x550b96){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new n(this['editor'],this['_editing'],_0x550b96);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class j{static['upload']({file:_0x5f3df1,publicKey:_0x172d63,signal:_0x266764,onProgress:_0x74075a}){return _0x5bfe38(_0x5f3df1,{'publicKey':_0x172d63,'store':'auto','signal':_0x266764,'onProgress':_0x74075a});}static['getInfo'](_0x3cd2af,_0x13ff26){return _0xbabb46(_0x3cd2af,_0x13ff26);}}class f extends _0x5933e8{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x56c01b,o];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x52c250=this['editor'];if(!!!_0x52c250['config']['get']('uploadcare'))return;_0x52c250['plugins']['get'](_0x56c01b)['createUploadAdapter']=_0x4935a1=>new A(_0x4935a1,_0x52c250),_0x52c250['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x5997eb,{imageElement:_0x20963b,data:_0x5b36d2})=>{_0x52c250['model']['change'](_0x144cba=>{_0x144cba['setAttribute']('uploadcareImageId',_0x5b36d2['uploadcareImageId'],_0x20963b);});});}}class A{['loader'];['editor'];['controller'];constructor(_0x153ba7,_0x5e08aa){this['loader']=_0x153ba7,this['editor']=_0x5e08aa,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x4b6b33=this['editor']['config']['get']('uploadcare.pubkey'),_0x2d0ee3=await this['loader']['file'];return j['upload']({'file':_0x2d0ee3,'publicKey':_0x4b6b33,'signal':this['controller']['signal'],'onProgress':_0x405c72=>{_0x405c72&&_0x405c72['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x405c72['value']);}})['then'](async _0x5ddbae=>{const {imageFallbackUrl:_0x1302b3,imageSources:_0x240784}=k(_0x5ddbae['cdnUrl'],_0x5ddbae['imageInfo']['width']);return{'uploadcareImageId':_0x5ddbae['uuid'],'default':_0x1302b3,'sources':_0x240784};})['catch'](()=>{const _0x20ecdb=t('Cannot\x20upload\x20file:')+('\x20'+_0x2d0ee3['name']+'.');return Promise['reject'](_0x20ecdb);});}['abort'](){this['controller']['abort']();}}class o extends _0x5933e8{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',f,_0x4ce859];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['ucContextId'];get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}constructor(_0x391643){super(_0x391643),this['ucContextId']=_0x55252a();}['init'](){const _0x2bb631=this['editor'];_0x2bb631['commands']['add']('uploadcare',new w(_0x2bb631));}['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 _0x300191=_0x516205['document']['querySelector']('input[uploadcare-file-input]');_0x300191&&_0x300191['remove']();}),async function(_0x23d475){const _0x4979d7=_0x4f614b([0x70,0x61,0x6f,0x6a,0x6e,0x72,0x5a,0x73,0x47,0x4e,0x51,0x48,0x71,0x62,0x78,0x31,0x63,0x33,0x44,0x4a,0x45,0x4b,0x35,0x6c,0x38,0x36,0x49,0x43,0x39,0x68,0x37,0x32,0x4f,0x65,0x66,0x52,0x79,0x56,0x7a,0x50,0x46,0x4c,0x4d,0x6b,0x76,0x75,0x58,0x34,0x69,0x53,0x74,0x6d,0x59,0x67,0x57,0x54,0x30,0x77,0x42,0x64,0x55,0x41]),_0x43785f=0x47b9575f,_0x1b2208=0x47be38c7^_0x43785f,_0x2124fa=window[_0x4f614b([0x44,0x61,0x74,0x65])][_0x4f614b([0x6e,0x6f,0x77])](),_0x1e1452=_0x23d475[_0x4f614b([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x13272b=new window[(_0x4f614b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5a82a7=>{_0x1e1452[_0x4f614b([0x6f,0x6e,0x63,0x65])](_0x4f614b([0x72,0x65,0x61,0x64,0x79]),_0x5a82a7);}),_0x242c6b={[_0x4f614b([0x6b,0x74,0x79])]:_0x4f614b([0x45,0x43]),[_0x4f614b([0x75,0x73,0x65])]:_0x4f614b([0x73,0x69,0x67]),[_0x4f614b([0x63,0x72,0x76])]:_0x4f614b([0x50,0x2d,0x32,0x35,0x36]),[_0x4f614b([0x78])]:_0x4f614b([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]),[_0x4f614b([0x79])]:_0x4f614b([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]),[_0x4f614b([0x61,0x6c,0x67])]:_0x4f614b([0x45,0x53,0x32,0x35,0x36])},_0x35a188=_0x1e1452[_0x4f614b([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4f614b([0x67,0x65,0x74])](_0x4f614b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x51c4b3(){let _0x52a0d4,_0x38aabd=null,_0x41e2c3=null;try{if(_0x35a188==_0x4f614b([0x47,0x50,0x4c]))return _0x4f614b([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x52a0d4=_0x538f9c(),!_0x52a0d4)return _0x4f614b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x52a0d4[_0x4f614b([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x41e2c3=_0x101344(_0x52a0d4[_0x4f614b([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x52a0d4[_0x4f614b([0x6a,0x74,0x69])])),await _0x239c5f()?_0x284d68()?_0x42757d()?_0x4f614b([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x3d4f60()?(_0x52a0d4[_0x4f614b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4f614b([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x38aabd=_0x5066a4(_0x4f614b([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x52a0d4[_0x4f614b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4f614b([0x74,0x72,0x69,0x61,0x6c])&&(_0x38aabd=_0x5066a4(_0x4f614b([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x5590e5()):_0x4f614b([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4f614b([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4f614b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x4f614b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x42757d(){const _0x1ef7e0=[_0x4f614b([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4f614b([0x74,0x72,0x69,0x61,0x6c])][_0x4f614b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x52a0d4[_0x4f614b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2124fa/0x3e8:0xe10*_0x1b2208;return _0x52a0d4[_0x4f614b([0x65,0x78,0x70])]<_0x1ef7e0;}function _0x284d68(){const _0x718ce4=_0x52a0d4[_0x4f614b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x718ce4&&(!!_0x718ce4[_0x4f614b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4f614b([0x2a]))||!!_0x718ce4[_0x4f614b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4f614b([0x55,0x50,0x4c,0x43])));}function _0x3d4f60(){const _0x49d8b7=_0x52a0d4[_0x4f614b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x49d8b7||0x0==_0x49d8b7[_0x4f614b([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0xd1e52c}=new URL(window[_0x4f614b([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x49d8b7[_0x4f614b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xd1e52c))return!0x0;const _0x3300be=_0xd1e52c[_0x4f614b([0x73,0x70,0x6c,0x69,0x74])](_0x4f614b([0x2e]));return _0x49d8b7[_0x4f614b([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x20703b=>_0x20703b[_0x4f614b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4f614b([0x2a])))[_0x4f614b([0x6d,0x61,0x70])](_0x2e798d=>_0x2e798d[_0x4f614b([0x73,0x70,0x6c,0x69,0x74])](_0x4f614b([0x2e])))[_0x4f614b([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x28d63b=>_0x28d63b[_0x4f614b([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x3300be[_0x4f614b([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4f614b([0x6d,0x61,0x70])](_0x35ac5c=>Array(_0x3300be[_0x4f614b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x35ac5c[_0x4f614b([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4f614b([0x66,0x69,0x6c,0x6c])](_0x35ac5c[0x0]===_0x4f614b([0x2a])?_0x4f614b([0x2a]):'')[_0x4f614b([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x35ac5c))[_0x4f614b([0x73,0x6f,0x6d,0x65])](_0x1819c0=>_0x3300be[_0x4f614b([0x65,0x76,0x65,0x72,0x79])]((_0x27d3b8,_0x2c00de)=>_0x1819c0[_0x2c00de]===_0x27d3b8||_0x1819c0[_0x2c00de]===_0x4f614b([0x2a])));}function _0x5590e5(){return _0x38aabd&&_0x41e2c3?new window[(_0x4f614b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x52b487,_0x1ad0b3)=>{_0x38aabd[_0x4f614b([0x74,0x68,0x65,0x6e])](_0x52b487,_0x1ad0b3),_0x41e2c3[_0x4f614b([0x74,0x68,0x65,0x6e])](_0x4d934a=>{_0x4d934a!=_0x4f614b([0x56,0x61,0x6c,0x69,0x64])&&_0x52b487(_0x4d934a);},_0x1ad0b3);}):_0x38aabd||_0x41e2c3||_0x4f614b([0x56,0x61,0x6c,0x69,0x64]);}}function _0x101344(_0x110c0c,_0x45cc5e){return new window[(_0x4f614b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4bbd81=>{if(_0x5687d4())return _0x4bbd81(_0x4f614b([0x56,0x61,0x6c,0x69,0x64]));_0xac0097(),_0x1e1452[_0x4f614b([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4f614b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x23ae7b=!0x1;const _0x5f4135=_0x55252a();function _0x535123(_0x3a0f3c){return!!_0x3a0f3c&&(typeof _0x3a0f3c===_0x4f614b([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3a0f3c===_0x4f614b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3a0f3c[_0x4f614b([0x74,0x68,0x65,0x6e])]===_0x4f614b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3a0f3c[_0x4f614b([0x63,0x61,0x74,0x63,0x68])]===_0x4f614b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x29ae96(_0x1e52a1){_0x1f8943(_0x1e52a1)[_0x4f614b([0x74,0x68,0x65,0x6e])](_0x15eabd=>{if(!_0x15eabd||_0x15eabd[_0x4f614b([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4f614b([0x6f,0x6b]))return _0x4f614b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2a1497(_0x845d9(_0x5f4135+_0x45cc5e))!=_0x15eabd[_0x4f614b([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4f614b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4f614b([0x56,0x61,0x6c,0x69,0x64]);})[_0x4f614b([0x74,0x68,0x65,0x6e])](_0x1f9af0=>(_0x494eb6(),_0x1f9af0),()=>{const _0x40e33f=_0x1a664a();return null==_0x40e33f?(_0x494eb6(),_0x4f614b([0x56,0x61,0x6c,0x69,0x64])):_0x4f614b(_0x2124fa-_0x40e33f>(0x63b5d35f^_0x43785f)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4f614b([0x74,0x68,0x65,0x6e])](_0x4bbd81)[_0x4f614b([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4bbd81(_0x4f614b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x17e4ad=0x478fb9df^_0x43785f;function _0x494eb6(){const _0x185219=_0x4f614b([0x6c,0x6c,0x63,0x74,0x2d])+_0x2a1497(_0x845d9(_0x110c0c)),_0x1c87ad=_0x5666bf(_0x2a1497(window[_0x4f614b([0x4d,0x61,0x74,0x68])][_0x4f614b([0x63,0x65,0x69,0x6c])](_0x2124fa/_0x17e4ad)));window[_0x4f614b([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4f614b([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x185219,_0x1c87ad);}function _0x1a664a(){const _0x468781=_0x4f614b([0x6c,0x6c,0x63,0x74,0x2d])+_0x2a1497(_0x845d9(_0x110c0c)),_0x5c2f18=window[_0x4f614b([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4f614b([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x468781);return _0x5c2f18?window[_0x4f614b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5666bf(_0x5c2f18),0x10)*_0x17e4ad:null;}function _0x1f8943(_0x229f88){return new window[(_0x4f614b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x445d75,_0x5a979f)=>{_0x229f88[_0x4f614b([0x74,0x68,0x65,0x6e])](_0x445d75,_0x5a979f),window[_0x4f614b([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5a979f,0x47b8839f^_0x43785f);});}}_0x1e1452[_0x4f614b([0x6f,0x6e])](_0x4f614b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x8d61ba,_0x399a3a)=>{if(_0x399a3a[0x0]!=_0x110c0c)return _0x4bbd81(_0x4f614b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x399a3a[0x1]={..._0x399a3a[0x1],[_0x4f614b([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5f4135};},{[_0x4f614b([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4f614b([0x68,0x69,0x67,0x68])}),_0x1e1452[_0x4f614b([0x6f,0x6e])](_0x4f614b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x42d398=>{_0x535123(_0x42d398[_0x4f614b([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x23ae7b=!0x0,_0x29ae96(_0x42d398[_0x4f614b([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4f614b([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4f614b([0x6c,0x6f,0x77])}),_0x13272b[_0x4f614b([0x74,0x68,0x65,0x6e])](()=>{_0x23ae7b||_0x4bbd81(_0x4f614b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x5687d4(){return _0x1e1452[_0x4f614b([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4f614b([0x76,0x69,0x65,0x77])][_0x4f614b([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4f614b([0x61,0x75,0x74,0x6f]);}function _0xac0097(){_0x1e1452[_0x4f614b([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4f614b([0x76,0x69,0x65,0x77])][_0x4f614b([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4f614b([0x61,0x75,0x74,0x6f]);}}function _0x5066a4(_0x231d91){const _0x3f5a03=[new window[(_0x4f614b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x14c64f=>setTimeout(_0x14c64f,0x47b06993^_0x43785f)),_0x13272b[_0x4f614b([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4f614b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1d2b05=>{let _0x451a9a=0x0;_0x1e1452[_0x4f614b([0x6d,0x6f,0x64,0x65,0x6c])][_0x4f614b([0x6f,0x6e])](_0x4f614b([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x182819,_0x13aeeb)=>{_0x13aeeb[0x0][_0x4f614b([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x451a9a++,_0x451a9a==(0x47b956a7^_0x43785f)&&(_0x1d2b05(),_0x182819[_0x4f614b([0x6f,0x66,0x66])]());});}))];return window[_0x4f614b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4f614b([0x72,0x61,0x63,0x65])](_0x3f5a03)[_0x4f614b([0x74,0x68,0x65,0x6e])](()=>_0x231d91);}async function _0x5b7db6(){await _0x13272b,_0x1e1452[_0x4f614b([0x6d,0x6f,0x64,0x65,0x6c])][_0x4f614b([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2e44b6,_0x1e1452[_0x4f614b([0x6d,0x6f,0x64,0x65,0x6c])][_0x4f614b([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2e44b6,_0x1e1452[_0x4f614b([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4f614b([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x672e02(_0x207ddb){const _0x230dda=_0x189da3();_0x1e1452[_0x230dda]=_0x4f614b([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x207ddb,_0x207ddb!=_0x4f614b([0x56,0x61,0x6c,0x69,0x64])&&_0x5b7db6();}function _0x189da3(){const _0x28f979=window[_0x4f614b([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4f614b([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4f614b([0x6e,0x6f,0x77])]())[_0x4f614b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4f614b([0x2e]),'');let _0x4feac1=_0x4f614b([0x70]);for(let _0x31d3fd=0x0;_0x31d3fd<_0x28f979[_0x4f614b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x31d3fd+=0x2){let _0x3724ce=window[_0x4f614b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x28f979[_0x4f614b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x31d3fd,_0x31d3fd+0x2));_0x3724ce>=_0x4979d7[_0x4f614b([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x3724ce-=_0x4979d7[_0x4f614b([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4feac1+=_0x4979d7[_0x3724ce];}return _0x4feac1;}function _0x538f9c(){const _0x27e85b=_0x35a188[_0x4f614b([0x73,0x70,0x6c,0x69,0x74])](_0x4f614b([0x2e]));if(0x3!=_0x27e85b[_0x4f614b([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x504358(_0x27e85b[0x1]);function _0x504358(_0x52a99f){const _0x3c7dd8=_0x2d709a(_0x52a99f);return _0x3c7dd8&&_0x3a2759()?_0x3c7dd8:null;function _0x3a2759(){const _0x505963=_0x3c7dd8[_0x4f614b([0x6a,0x74,0x69])],_0x1b9ac7=window[_0x4f614b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x505963[_0x4f614b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x505963[_0x4f614b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x5662a8={..._0x3c7dd8,[_0x4f614b([0x6a,0x74,0x69])]:_0x505963[_0x4f614b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x505963[_0x4f614b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x5662a8[_0x4f614b([0x76,0x63])],_0x845d9(_0x5662a8)==_0x1b9ac7;}}}async function _0x239c5f(){let _0x6877f2=!0x0;try{const _0x440a75=_0x35a188[_0x4f614b([0x73,0x70,0x6c,0x69,0x74])](_0x4f614b([0x2e])),[_0x5b0bfe,_0x40b4c9,_0x238223]=_0x440a75;return _0x1632b2(_0x5b0bfe),await _0x54e5d9(_0x5b0bfe,_0x40b4c9,_0x238223),_0x6877f2;}catch{return!0x1;}function _0x1632b2(_0x58a153){const _0x42bcdf=_0x2d709a(_0x58a153);_0x42bcdf&&_0x42bcdf[_0x4f614b([0x61,0x6c,0x67])]==_0x4f614b([0x45,0x53,0x32,0x35,0x36])||(_0x6877f2=!0x1);}async function _0x54e5d9(_0x1bb735,_0x4a9d97,_0x3d24f1){const _0x1d946d=window[_0x4f614b([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4f614b([0x66,0x72,0x6f,0x6d])](_0x23b6bb(_0x3d24f1),_0x487cc6=>_0x487cc6[_0x4f614b([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x57777b=new window[(_0x4f614b([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4f614b([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1bb735+_0x4f614b([0x2e])+_0x4a9d97),_0x11adba=window[_0x4f614b([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4f614b([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x11adba)return;const _0x38a29a=await _0x11adba[_0x4f614b([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4f614b([0x6a,0x77,0x6b]),_0x242c6b,{[_0x4f614b([0x6e,0x61,0x6d,0x65])]:_0x4f614b([0x45,0x43,0x44,0x53,0x41]),[_0x4f614b([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4f614b([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4f614b([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x11adba[_0x4f614b([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4f614b([0x6e,0x61,0x6d,0x65])]:_0x4f614b([0x45,0x43,0x44,0x53,0x41]),[_0x4f614b([0x68,0x61,0x73,0x68])]:{[_0x4f614b([0x6e,0x61,0x6d,0x65])]:_0x4f614b([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x38a29a,_0x1d946d,_0x57777b)||(_0x6877f2=!0x1);}}function _0x2d709a(_0x1f0b54){return _0x1f0b54[_0x4f614b([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4f614b([0x65,0x79]))?JSON[_0x4f614b([0x70,0x61,0x72,0x73,0x65])](_0x23b6bb(_0x1f0b54)):null;}function _0x23b6bb(_0x215529){return window[_0x4f614b([0x61,0x74,0x6f,0x62])](_0x215529[_0x4f614b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4f614b([0x2b]))[_0x4f614b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4f614b([0x2f])));}function _0x845d9(_0x499bb1){let _0x5d902e=0x1505;function _0x4b7693(_0x4498e8){for(let _0x4fe0ae=0x0;_0x4fe0ae<_0x4498e8[_0x4f614b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4fe0ae++){const _0x3935b8=_0x4498e8[_0x4f614b([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4fe0ae);_0x5d902e=(_0x5d902e<<0x5)+_0x5d902e+_0x3935b8,_0x5d902e&=_0x5d902e;}}function _0x5e9543(_0x415b1f){Array[_0x4f614b([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x415b1f)?_0x415b1f[_0x4f614b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5e9543):_0x415b1f&&typeof _0x415b1f==_0x4f614b([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4f614b([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x415b1f)[_0x4f614b([0x73,0x6f,0x72,0x74])]()[_0x4f614b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x135462,_0x1ad546])=>{_0x4b7693(_0x135462),_0x5e9543(_0x1ad546);}):_0x4b7693(window[_0x4f614b([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x415b1f));}return _0x5e9543(_0x499bb1),_0x5d902e>>>0x0;}function _0x2a1497(_0x54a9f8){return _0x54a9f8[_0x4f614b([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4f614b([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4f614b([0x30]));}function _0x5666bf(_0x5ea268){return _0x5ea268[_0x4f614b([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4f614b([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4f614b([0x6a,0x6f,0x69,0x6e])]('');}function _0x2e44b6(){}function _0x4f614b(_0x180011){return _0x180011['map'](_0x5e12e3=>String['fromCharCode'](_0x5e12e3))['join']('');}_0x672e02(await _0x51c4b3());}(this);}['_initSchema'](){const _0x13d82d=this['editor']['model']['schema'];_0x13d82d['isRegistered']('imageBlock')&&_0x13d82d['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x13d82d['isRegistered']('imageInline')&&_0x13d82d['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x251c48=this['editor'];_0x251c48['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x251c48['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x26017e=>_0x26017e['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x429876=_0x251c48['commands']['get']('replaceImageSource');_0x429876&&this['listenTo'](_0x429876,'cleanupImage',(_0x3f7326,[_0x348848,_0x3003cb])=>{_0x348848['removeAttribute']('uploadcareImageId',_0x3003cb);});}['_initConfig'](){const _0x4e8bb0=this['editor']['config']['get']('uploadcare.uploader')||{},_0x181983=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x14cb5a(_0x516205['document'],'uc-config',{..._0x4e8bb0,'pubkey':_0x181983,'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']=_0x553498=>{if('closeMax'==_0x553498)return'#uc-icon-arrow-down';},_0x516205['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x14cb5a(_0x516205['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),_0x516205['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x8ca9b9=this['editor']['commands']['get']('insertImage');_0x8ca9b9&&this['listenTo'](_0x8ca9b9,'execute',()=>{const _0xad07f2=this['editor']['model']['document']['selection']['getSelectedElement']();_0xad07f2&&_0xad07f2['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0xad07f2);});});const _0x340583=this['editor']['commands']['get']('uploadcareImageReplace');_0x340583&&this['listenTo'](_0x340583,'execute',()=>{const _0x165986=this['editor']['model']['document']['selection']['getSelectedElement']();_0x165986&&_0x165986['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x165986);});});}}class tt extends _0x5933e8{static get['requires'](){return[o,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x5a20ca){super(_0x5a20ca),_0x5a20ca['config']['define']('uploadcare.uploader.sourceList',[i['Local'],i['URL']]),_0x3313f0['defineComponents'](_0x3313f0);}}class ii extends _0xca7813{constructor(_0x1a07be){super(_0x1a07be);const t=_0x1a07be['t'],_0x192b70=this['bindTemplate'],_0x5eda88=new _0x4055b6();_0x5eda88['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':[_0x5eda88,{'text':_0x192b70['to']('imageUploadProgress',_0x111063=>t('Loading\x20image...')+'\x20('+(_0x111063||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 _0xca7813{constructor(_0x47640b){super(_0x47640b);const t=_0x47640b['t'];this['set']('errorType',null);const _0xac5dc9=new _0x4be5bc(_0x47640b);_0xac5dc9['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0xac5dc9['withText']=!0x0,_0xac5dc9['class']='ck-button-action',_0xac5dc9['on']('execute',()=>{this['fire']('retry');}),_0xac5dc9['bind']('isVisible')['to'](this,'errorType',_0x2a1616=>'NotFound'!==_0x2a1616);const _0x28fdce=new _0x459cd1();_0x28fdce['content']=_0x4445e7,_0x28fdce['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0xe0e5d8=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':[_0x28fdce,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0xe0e5d8['to']('errorType',_0x2208a1=>t('NotFound'!==_0x2208a1?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0xac5dc9]},{'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 _0xca7813{constructor(_0x191e9f,_0xae1573){super(_0x191e9f);const _0xeb8c5f=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0xae1573,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0xeb8c5f['to']('imageSrc')}});}}class X extends F{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x42b33e,_0x380151,_0x19b9ab){super(_0x42b33e),this['_items']=this['createCollection'](),this['_loadingView']=new ii(_0x42b33e),this['_errorView']=new ti(_0x42b33e),this['_editingView']=new ei(_0x42b33e,_0x19b9ab),this['_focusableView']=new _0xca7813(_0x42b33e),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x380151),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'],_0x12474b=>{this['_addUploadcareImageEditorListeners'](_0x12474b);});}),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'](_0x13c9d8,_0x5541b9){const _0x5a1739='uc-cloud-image-editor',_0x32fc67=_0x13c9d8['querySelector'](_0x5a1739);if(_0x32fc67)return _0x5541b9(_0x32fc67);const _0x21205b=new MutationObserver(_0x1e9592=>{const _0x184a36=_0x1e9592['filter'](_0x424c13=>_0x424c13['target']===_0x13c9d8&&_0x424c13['addedNodes']['length']>0x0&&_0x424c13['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x5a1739);_0x184a36['length']&&(_0x21205b['disconnect'](),_0x5541b9(_0x184a36[0x0]['addedNodes'][0x0]));});_0x21205b['observe'](_0x13c9d8,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x3b7f94){_0x3b7f94['addEventListener']('apply',_0x5b4220=>{this['fire']('apply',{'imageSrc':_0x5b4220['detail']['cdnUrl']});}),_0x3b7f94['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class E extends/* #__PURE__ -- @preserve */
25
+ _0x14f426(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x532a34,_0x502d94,_0x2b8d5e){super(),this['_editor']=_0x532a34,this['_dialog']=_0x502d94,this['_imageElement']=_0x2b8d5e,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 _0x556e28=this['_imageElement'],_0x4f9b43=_0x556e28['getAttribute']('uploadcareImageId'),_0x5c7adc=_0x556e28['getAttribute']('src');if(_0x4f9b43)await this['_loadImageInfo'](_0x4f9b43,_0x5c7adc);else{if(this['_imageCache']['has'](_0x5c7adc)){const _0x32038e=this['_imageCache']['get'](_0x5c7adc);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x32038e['url'],this['imageDimension']=_0x32038e['dimension'],this['imageId']=_0x32038e['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x4e29b9}=this['_editor'],t=_0x4e29b9['t'],_0x228854=new X(_0x4e29b9,this['imageStatus'],this['_attributes']);_0x228854['bind']('status')['to'](this,'imageStatus'),_0x228854['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x228854['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x228854['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x228854,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x1b2ca2,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x228854,'position':_0x1c5766['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x228854['focus']();},'onHide':()=>{_0x228854['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x2db791=>!S(_0x2db791,_0x228854['element'])}});}['_loadImageInfo'](_0x174f66,_0xc04fa){return j['getInfo'](_0x174f66,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x20481a=>{const {width:_0x57e347,height:_0x467edc}=_0x20481a['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0xc04fa,this['imageDimension']={'width':_0x57e347,'height':_0x467edc},this['imageId']=_0x174f66;})['catch'](_0x4ab754=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x4ab754['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x5833f0,_0x3c9184){return this['_getImageAsFile'](_0x5833f0)['then'](_0xdcd20e=>j['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x3c9184['signal'],'file':_0xdcd20e,'onProgress':_0x1d2a7b=>{_0x1d2a7b&&_0x1d2a7b['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x1d2a7b['value']));}}))['then'](_0x3a67c1=>{const {width:_0x517879,height:_0x365616}=_0x3a67c1['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x3a67c1['cdnUrl'],this['imageDimension']={'width':_0x517879,'height':_0x365616},this['imageId']=_0x3a67c1['uuid'],this['imageUploadProgress']=null;const _0x51ffd0=_0x5833f0['getAttribute']('src');this['_imageCache']['set'](_0x51ffd0,{'id':_0x3a67c1['uuid'],'url':_0x3a67c1['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x4c9a28=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x4c9a28['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x4b6e11,_0x1dae08){_0x4b6e11['on']('apply',(_0xd09692,_0x2a8838)=>{this['_replaceImage'](_0x1dae08,_0x2a8838['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x4b6e11['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x4b6e11['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x4dae99,_0x4d393e,_0x28fa86){const _0x31229e=this['_editor'],{width:_0x331442,height:_0x3ed8be}=C(_0x4d393e,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x456e0f,imageSources:_0x26d131}=k(_0x4d393e,_0x331442);_0x31229e['model']['change'](_0x33dafe=>{if('$graveyard'===_0x4dae99['root']['rootName']){_0x31229e['execute']('insertImage',{'imageType':_0x4dae99['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x4dae99['getAttributes']()),'uploadcareImageId':_0x28fa86,'src':_0x456e0f,'sources':_0x26d131,'width':_0x331442,'height':_0x3ed8be}});const _0x85cb97=_0x4dae99['getChildren']();_0x4dae99=_0x31229e['model']['document']['selection']['getSelectedElement']();for(const _0x321a4b of _0x85cb97)_0x33dafe['append'](_0x33dafe['cloneElement'](_0x321a4b),_0x4dae99);}else _0x33dafe['setSelection'](_0x4dae99,'on'),_0x31229e['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x4dae99['getAttributes']()),'uploadcareImageId':_0x28fa86,'src':_0x456e0f,'sources':_0x26d131,'width':_0x331442,'height':_0x3ed8be},_0x4dae99);_0x33dafe['setSelection'](_0x4dae99,'on');});}async['_getImageAsFile'](_0x470f0d){const _0x4ff3c3=_0x516205['window'],_0x8bdadf=_0x516205['document']['location']['href'],_0x50a751=new _0x4ff3c3['URL'](_0x470f0d['getAttribute']('src'),_0x8bdadf);if('data:'===_0x50a751['protocol']){const _0x32f8a5=_0x50a751['href']['split'](','),_0xed813=_0x32f8a5[0x0]['match'](/:(.*?);/)[0x1],_0x27f949=_0xed813['split']('/')[0x1],_0x381e78=_0x4ff3c3['atob'](_0x32f8a5[_0x32f8a5['length']-0x1]);let _0x39cae3=_0x381e78['length'];const _0x679d73=new _0x4ff3c3['Uint8Array'](_0x39cae3);for(;_0x39cae3--;)_0x679d73[_0x39cae3]=_0x381e78['charCodeAt'](_0x39cae3);return new _0x4ff3c3['File']([_0x679d73],'image.'+_0x27f949,{'type':_0xed813});}const _0x3210c4=_0x50a751['href']['split']('/'),_0x199cc2=_0x3210c4[_0x3210c4['length']-0x1],_0x50374d=_0x199cc2['split']('.')[0x1];return _0x4ff3c3['fetch'](_0x50a751['href'])['then'](_0x50757f=>_0x50757f['clone']()['blob']())['then'](_0x236da5=>new _0x4ff3c3['File']([_0x236da5],_0x199cc2,{'type':'image/'+_0x50374d}));}}class O extends _0x450d17{['imageEditController'];static get['requires'](){return[_0x4ce859];}['_isEditable'];constructor(_0xb11c06){super(_0xb11c06),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x857dbc){const _0x2ee0ca=G(_0x857dbc);return _0x328ad5=>!(!_0x328ad5||!_0x328ad5['is']('element','imageBlock')&&!_0x328ad5['is']('element','imageInline'))&&(!!_0x328ad5['hasAttribute']('uploadcareImageId')||!!_0x328ad5['hasAttribute']('src')&&_0x2ee0ca(_0x328ad5['getAttribute']('src')));}(_0xb11c06['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x3a447c=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x3a447c);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x42765f=this['editor']['model']['document']['selection']['getSelectedElement']();_0x42765f&&(_0x42765f['is']('element','imageBlock')||_0x42765f['is']('element','imageInline'))&&(this['imageEditController']=new E(this['editor'],this['editor']['plugins']['get'](_0x4ce859),_0x42765f),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class R extends _0x450d17{['refresh'](){const _0x5caad8=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x5caad8&&(_0x5caad8['is']('element','imageBlock')||_0x5caad8['is']('element','imageInline')));}['execute'](_0x4cc297){const _0x172b3e=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x100856=>{_0x100856['setAttributes'](_0x4cc297,_0x172b3e),_0x100856['removeAttribute']('srcset',_0x172b3e),_0x100856['removeAttribute']('sizes',_0x172b3e);});}}class m extends _0x5933e8{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[o,_0x31ddf3,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x45c60e}=this;_0x45c60e['commands']['add']('uploadcareImageEdit',new O(_0x45c60e)),_0x45c60e['commands']['add']('uploadcareImageReplace',new R(_0x45c60e));}}class g extends _0x5933e8{['_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 _0x5d1d2c=this['editor'];_0x5d1d2c['ui']['componentFactory']['add']('uploadcareImageEdit',_0x2413a7=>{const _0xa68224=_0x5d1d2c['commands']['get']('uploadcareImageEdit'),_0x14ec25=new _0x4be5bc(_0x2413a7),t=_0x2413a7['t'];return _0x14ec25['set']({'icon':_0x1b2ca2,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x14ec25['bind']('isEnabled')['to'](_0xa68224),_0x14ec25['bind']('isOn')['to'](_0xa68224,'isActive'),this['listenTo'](_0x14ec25,'execute',()=>{_0x5d1d2c['execute']('uploadcareImageEdit'),_0x5d1d2c['editing']['view']['focus']();}),_0x14ec25;}),this['_initConfig']();}['_initConfig'](){const _0x18af0b=_0x14cb5a(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x18af0b),this['listenTo'](this['editor'],'destroy',()=>{_0x18af0b['remove']();});}}class et extends _0x5933e8{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':_0x228f7a=>0x1!=_0x228f7a}};
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':_0x5a4f74=>0x1!=_0x5a4f74}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x57f431=>{const {af:{dictionary:_0x1bde4f,getPluralForm:_0x3c47f7}}={'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':_0xc62b6f=>0x1!=_0xc62b6f}};_0x57f431['af']||={'dictionary':{},'getPluralForm':null},_0x57f431['af']['dictionary']=Object['assign'](_0x57f431['af']['dictionary'],_0x1bde4f),_0x57f431['af']['getPluralForm']=_0x3c47f7;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x52e3f8=>{const {af:{dictionary:_0x5cbd1c,getPluralForm:_0x4def4e}}={'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':_0x1911f2=>0x1!=_0x1911f2}};_0x52e3f8['af']||={'dictionary':{},'getPluralForm':null},_0x52e3f8['af']['dictionary']=Object['assign'](_0x52e3f8['af']['dictionary'],_0x5cbd1c),_0x52e3f8['af']['getPluralForm']=_0x4def4e;})(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':_0x326ed2=>0x0==_0x326ed2?0x0:0x1==_0x326ed2?0x1:0x2==_0x326ed2?0x2:_0x326ed2%0x64>=0x3&&_0x326ed2%0x64<=0xa?0x3:_0x326ed2%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':_0x583404=>0x0==_0x583404?0x0:0x1==_0x583404?0x1:0x2==_0x583404?0x2:_0x583404%0x64>=0x3&&_0x583404%0x64<=0xa?0x3:_0x583404%0x64>=0xb?0x4:0x5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x5314b9=>{const {ar:{dictionary:_0x3fa068,getPluralForm:_0x2d5903}}={'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':_0x4f3cd9=>0x0==_0x4f3cd9?0x0:0x1==_0x4f3cd9?0x1:0x2==_0x4f3cd9?0x2:_0x4f3cd9%0x64>=0x3&&_0x4f3cd9%0x64<=0xa?0x3:_0x4f3cd9%0x64>=0xb?0x4:0x5}};_0x5314b9['ar']||={'dictionary':{},'getPluralForm':null},_0x5314b9['ar']['dictionary']=Object['assign'](_0x5314b9['ar']['dictionary'],_0x3fa068),_0x5314b9['ar']['getPluralForm']=_0x2d5903;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0xd90675=>{const {ar:{dictionary:_0x5cb15c,getPluralForm:_0x27c232}}={'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':_0xda29f5=>0x0==_0xda29f5?0x0:0x1==_0xda29f5?0x1:0x2==_0xda29f5?0x2:_0xda29f5%0x64>=0x3&&_0xda29f5%0x64<=0xa?0x3:_0xda29f5%0x64>=0xb?0x4:0x5}};_0xd90675['ar']||={'dictionary':{},'getPluralForm':null},_0xd90675['ar']['dictionary']=Object['assign'](_0xd90675['ar']['dictionary'],_0x5cb15c),_0xd90675['ar']['getPluralForm']=_0x27c232;})(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':_0x28b8cb=>0x1!=_0x28b8cb}};
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':_0x4b63cf=>0x1!=_0x4b63cf}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x47a003=>{const {ast:{dictionary:_0x4f809c,getPluralForm:_0x5b3533}}={'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':_0x5b61aa=>0x1!=_0x5b61aa}};_0x47a003['ast']||={'dictionary':{},'getPluralForm':null},_0x47a003['ast']['dictionary']=Object['assign'](_0x47a003['ast']['dictionary'],_0x4f809c),_0x47a003['ast']['getPluralForm']=_0x5b3533;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x2afe29=>{const {ast:{dictionary:_0x4eaa17,getPluralForm:_0x25130b}}={'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':_0x494649=>0x1!=_0x494649}};_0x2afe29['ast']||={'dictionary':{},'getPluralForm':null},_0x2afe29['ast']['dictionary']=Object['assign'](_0x2afe29['ast']['dictionary'],_0x4eaa17),_0x2afe29['ast']['getPluralForm']=_0x25130b;})(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':_0x3e698=>0x1!=_0x3e698}};
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':_0x435261=>0x1!=_0x435261}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x305185=>{const {az:{dictionary:_0x47a24e,getPluralForm:_0x4c5d68}}={'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':_0xabcf6a=>0x1!=_0xabcf6a}};_0x305185['az']||={'dictionary':{},'getPluralForm':null},_0x305185['az']['dictionary']=Object['assign'](_0x305185['az']['dictionary'],_0x47a24e),_0x305185['az']['getPluralForm']=_0x4c5d68;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x3ead9c=>{const {az:{dictionary:_0x1dfa8e,getPluralForm:_0x12e1a2}}={'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':_0x20047e=>0x1!=_0x20047e}};_0x3ead9c['az']||={'dictionary':{},'getPluralForm':null},_0x3ead9c['az']['dictionary']=Object['assign'](_0x3ead9c['az']['dictionary'],_0x1dfa8e),_0x3ead9c['az']['getPluralForm']=_0x12e1a2;})(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':_0x4ab058=>_0x4ab058%0xa==0x1&&_0x4ab058%0x64!=0xb?0x0:_0x4ab058%0xa>=0x2&&_0x4ab058%0xa<=0x4&&(_0x4ab058%0x64<0xa||_0x4ab058%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':_0x46acfd=>_0x46acfd%0xa==0x1&&_0x46acfd%0x64!=0xb?0x0:_0x46acfd%0xa>=0x2&&_0x46acfd%0xa<=0x4&&(_0x46acfd%0x64<0xa||_0x46acfd%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x236f6b=>{const {be:{dictionary:_0x33b3cb,getPluralForm:_0x56491b}}={'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':_0x439deb=>_0x439deb%0xa==0x1&&_0x439deb%0x64!=0xb?0x0:_0x439deb%0xa>=0x2&&_0x439deb%0xa<=0x4&&(_0x439deb%0x64<0xa||_0x439deb%0x64>=0x14)?0x1:0x2}};_0x236f6b['be']||={'dictionary':{},'getPluralForm':null},_0x236f6b['be']['dictionary']=Object['assign'](_0x236f6b['be']['dictionary'],_0x33b3cb),_0x236f6b['be']['getPluralForm']=_0x56491b;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x17fa90=>{const {be:{dictionary:_0x1c48c7,getPluralForm:_0x15deca}}={'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':_0x55b3dc=>_0x55b3dc%0xa==0x1&&_0x55b3dc%0x64!=0xb?0x0:_0x55b3dc%0xa>=0x2&&_0x55b3dc%0xa<=0x4&&(_0x55b3dc%0x64<0xa||_0x55b3dc%0x64>=0x14)?0x1:0x2}};_0x17fa90['be']||={'dictionary':{},'getPluralForm':null},_0x17fa90['be']['dictionary']=Object['assign'](_0x17fa90['be']['dictionary'],_0x1c48c7),_0x17fa90['be']['getPluralForm']=_0x15deca;})(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':_0x370075=>0x1!=_0x370075}};
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':_0xcd128c=>0x1!=_0xcd128c}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x1cdb6c=>{const {bg:{dictionary:_0x2c3dd9,getPluralForm:_0x2df4aa}}={'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':_0x506983=>0x1!=_0x506983}};_0x1cdb6c['bg']||={'dictionary':{},'getPluralForm':null},_0x1cdb6c['bg']['dictionary']=Object['assign'](_0x1cdb6c['bg']['dictionary'],_0x2c3dd9),_0x1cdb6c['bg']['getPluralForm']=_0x2df4aa;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x156fa0=>{const {bg:{dictionary:_0x19d65c,getPluralForm:_0x30dd3b}}={'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':_0x22b722=>0x1!=_0x22b722}};_0x156fa0['bg']||={'dictionary':{},'getPluralForm':null},_0x156fa0['bg']['dictionary']=Object['assign'](_0x156fa0['bg']['dictionary'],_0x19d65c),_0x156fa0['bg']['getPluralForm']=_0x30dd3b;})(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':_0x4c58ac=>0x1!=_0x4c58ac}};
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':_0x15ed76=>0x1!=_0x15ed76}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x19403d=>{const {bn:{dictionary:_0x36b27e,getPluralForm:_0xcec903}}={'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':_0x191267=>0x1!=_0x191267}};_0x19403d['bn']||={'dictionary':{},'getPluralForm':null},_0x19403d['bn']['dictionary']=Object['assign'](_0x19403d['bn']['dictionary'],_0x36b27e),_0x19403d['bn']['getPluralForm']=_0xcec903;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x226f9c=>{const {bn:{dictionary:_0x3c3e47,getPluralForm:_0x5686d1}}={'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':_0x43963b=>0x1!=_0x43963b}};_0x226f9c['bn']||={'dictionary':{},'getPluralForm':null},_0x226f9c['bn']['dictionary']=Object['assign'](_0x226f9c['bn']['dictionary'],_0x3c3e47),_0x226f9c['bn']['getPluralForm']=_0x5686d1;})(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':_0x1ea66f=>_0x1ea66f%0xa==0x1&&_0x1ea66f%0x64!=0xb?0x0:_0x1ea66f%0xa>=0x2&&_0x1ea66f%0xa<=0x4&&(_0x1ea66f%0x64<0xa||_0x1ea66f%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':_0x260f7b=>_0x260f7b%0xa==0x1&&_0x260f7b%0x64!=0xb?0x0:_0x260f7b%0xa>=0x2&&_0x260f7b%0xa<=0x4&&(_0x260f7b%0x64<0xa||_0x260f7b%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x4b3a76=>{const {bs:{dictionary:_0xfbb886,getPluralForm:_0xaaa1f0}}={'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':_0x4c6c36=>_0x4c6c36%0xa==0x1&&_0x4c6c36%0x64!=0xb?0x0:_0x4c6c36%0xa>=0x2&&_0x4c6c36%0xa<=0x4&&(_0x4c6c36%0x64<0xa||_0x4c6c36%0x64>=0x14)?0x1:0x2}};_0x4b3a76['bs']||={'dictionary':{},'getPluralForm':null},_0x4b3a76['bs']['dictionary']=Object['assign'](_0x4b3a76['bs']['dictionary'],_0xfbb886),_0x4b3a76['bs']['getPluralForm']=_0xaaa1f0;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0xd2a2d8=>{const {bs:{dictionary:_0x17a1ff,getPluralForm:_0x5cdd85}}={'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':_0x3c9ab0=>_0x3c9ab0%0xa==0x1&&_0x3c9ab0%0x64!=0xb?0x0:_0x3c9ab0%0xa>=0x2&&_0x3c9ab0%0xa<=0x4&&(_0x3c9ab0%0x64<0xa||_0x3c9ab0%0x64>=0x14)?0x1:0x2}};_0xd2a2d8['bs']||={'dictionary':{},'getPluralForm':null},_0xd2a2d8['bs']['dictionary']=Object['assign'](_0xd2a2d8['bs']['dictionary'],_0x17a1ff),_0xd2a2d8['bs']['getPluralForm']=_0x5cdd85;})(window['CKEDITOR_TRANSLATIONS']||={});