@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-next-20251221.0 → 0.0.0-nightly-20251222.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (173) hide show
  1. package/build/uploadcare.js +1 -1
  2. package/dist/index.js +3 -3
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +9 -9
  150. package/src/index.js +1 -1
  151. package/src/ui/uploadcarecontroller.js +2 -2
  152. package/src/ui/uploadcareformview.js +1 -1
  153. package/src/uploadcare.js +1 -1
  154. package/src/uploadcarecommand.js +1 -1
  155. package/src/uploadcareconfig.js +1 -1
  156. package/src/uploadcareediting.js +1 -1
  157. package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.js +2 -2
  158. package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.js +1 -1
  159. package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.js +1 -1
  160. package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.js +1 -1
  161. package/src/uploadcareimageedit/ui/uploadcareimageeditformview.js +1 -1
  162. package/src/uploadcareimageedit/uploadcareimageeditcommand.js +1 -1
  163. package/src/uploadcareimageedit/uploadcareimageeditediting.js +1 -1
  164. package/src/uploadcareimageedit/uploadcareimageeditui.js +1 -1
  165. package/src/uploadcareimageedit/uploadcareimagereplacecommand.js +1 -1
  166. package/src/uploadcareimageedit.js +1 -1
  167. package/src/uploadcareui.js +1 -1
  168. package/src/uploadcareuploadadapter.js +1 -1
  169. package/src/utils/common-translations.js +1 -1
  170. package/src/utils/dialogfocusmanagerview.js +1 -1
  171. package/src/utils/editingutils.js +1 -1
  172. package/src/utils/isancestor.js +1 -1
  173. package/src/utils/uploadutils.js +1 -1
package/dist/index.js CHANGED
@@ -20,6 +20,6 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x179bd4,Command as _0x39353c}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x308422,IconGooglePhotos as _0x1d4a54,IconGoogleDrive as _0x2a72af,IconFacebook as _0xd5cff6,IconDropbox as _0x4e7d4b,IconUploadcareLink as _0x56a4b7,IconUploadcareImageUpload as _0x112a2f,IconError as _0x17fed6,IconUploadcareImageEdit as _0x10e15c}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0xa141df,MenuBarMenuListItemButtonView as _0x111bc9,View as _0x586a59,FocusCycler as _0x9b0640,Dialog as _0x4ee9dc,DialogViewPosition as _0x2141c9,SpinnerView as _0x401f5e,IconView as _0x461957,Notification as _0x586ef3}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x45e8b9,DomEmitterMixin as _0x159910,global as _0x4e3eff,getAncestors as _0x50b1e8,ObservableMixin as _0xc46a9f,uid as _0x129896,createElement as _0x1fdbaf}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x442319}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0xb5e49e,info as _0x3eeac7}from'@uploadcare/upload-client';import*as _0xa2dede from'@uploadcare/file-uploader';var i=function(_0x2f2cb9){return _0x2f2cb9['Local']='local',_0x2f2cb9['URL']='url',_0x2f2cb9['Dropbox']='dropbox',_0x2f2cb9['GDrive']='gdrive',_0x2f2cb9['Facebook']='facebook',_0x2f2cb9['GPhotos']='gphotos',_0x2f2cb9['OneDrive']='onedrive',_0x2f2cb9;}({});function _(_0x4ff800,_0x16775b,_0xae33de){const t=_0x4ff800['t'],_0x2ddcd7=_0x4ff800['t'];switch(_0x16775b){case i['Local']:return{'text':_0x2ddcd7('Insert'===_0xae33de?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x2ddcd7('From\x20computer')};case i['URL']:return{'text':'Insert'===_0xae33de?_0x2ddcd7('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x2ddcd7('Via\x20URL')};case i['Dropbox']:return{'text':t('Insert'===_0xae33de?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case i['Facebook']:return{'text':t('Insert'===_0xae33de?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case i['GDrive']:return{'text':t('Insert'===_0xae33de?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case i['GPhotos']:return{'text':t('Insert'===_0xae33de?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case i['OneDrive']:return{'text':t('Insert'===_0xae33de?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x16775b;}}class e extends _0x179bd4{['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 _0x22e778=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x488df4;for(const _0x1212b3 in _0x22e778){const _0x58083a=_0x1212b3,_0x3b363a=_0x22e778[_0x58083a];if('uploadcareLicenseKeyValid'==_0x3b363a||'uploadcareLicenseKeyInvalid'==_0x3b363a||'uploadcareLicenseKeyExpired'==_0x3b363a||'uploadcareLicenseKeyDomainLimit'==_0x3b363a||'uploadcareLicenseKeyNotAllowed'==_0x3b363a||'uploadcareLicenseKeyEvaluationLimit'==_0x3b363a||'uploadcareLicenseKeyTrialLimit'==_0x3b363a||'uploadcareLicenseKeyUsageLimit'==_0x3b363a){delete _0x22e778[_0x58083a],_0x488df4=_0x3b363a,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x488df4&&_0x22e778['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x488df4&&_0x22e778['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x488df4&&_0x22e778['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x488df4&&_0x22e778['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x488df4&&_0x22e778['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0x488df4&&_0x22e778['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0x488df4&&_0x22e778['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0xc3a325}=this,_0x2c5ac9=_0xc3a325['commands']['get']('uploadcare');if(!_0x2c5ac9)return;const _0x177547=this['_normalizeConfigSourceList'](_0xc3a325['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0xcabc06,_0x40d164)=>{const _0x32847f=this['_getIntegrationKey'](_0x40d164['type']);return _0xcabc06[_0x32847f]||(_0xcabc06[_0x32847f]=[]),_0xcabc06[_0x32847f]['push'](_0x40d164),_0xcabc06;},{});_0xc3a325['plugins']['has']('ImageInsertUI')&&_0xc3a325['commands']['get']('uploadcare')&&Object['entries'](_0x177547)['forEach'](([_0x393039,_0x4269ec])=>{_0xc3a325['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x393039,'observable':()=>_0x2c5ac9,'buttonViewCreator':()=>this['_createToolbarButton'](_0x4269ec),'formViewCreator':()=>this['_createDropdownButtons'](_0x4269ec),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x4269ec),'override':'assetManager'!==_0x393039});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x358e0d){const {locale:_0x4e9f6a}=this['editor'];return _0x358e0d['map'](_0x3dab25=>{const _0x575e22=_(_0x4e9f6a,_0x3dab25,'Insert');switch(_0x3dab25){case i['Local']:return{'icon':_0x112a2f,'type':i['Local'],..._0x575e22};case i['URL']:return{'icon':_0x56a4b7,'type':i['URL'],..._0x575e22};case i['Dropbox']:return{'icon':_0x4e7d4b,'type':i['Dropbox'],..._0x575e22};case i['Facebook']:return{'icon':_0xd5cff6,'type':i['Facebook'],..._0x575e22};case i['GDrive']:return{'icon':_0x2a72af,'type':i['GDrive'],..._0x575e22};case i['GPhotos']:return{'icon':_0x1d4a54,'type':i['GPhotos'],..._0x575e22};case i['OneDrive']:return{'icon':_0x308422,'type':i['OneDrive'],..._0x575e22};}});}['_getIntegrationKey'](_0x40fc60){switch(_0x40fc60){case i['Local']:return'upload';case i['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x45f841,_0x40e88d){const _0x12cf2c=this['editor'],_0xea4492=new _0x45f841(_0x12cf2c['locale']),_0xa64906=_0x12cf2c['commands']['get']('uploadcare');return _0xea4492['bind']('isEnabled')['to'](_0xa64906),_0xea4492['on']('execute',()=>{_0xa64906['execute'](_0x40e88d);}),_0xea4492;}['_createToolbarButton'](_0x53e2e3){const {locale:_0xcf7d7c}=this['editor'],_0x21667f=this['editor']['plugins']['get']('ImageInsertUI'),_0x3adc97=_0x53e2e3[0x0],_0x21a35a=this['_createButton'](_0xa141df,_0x3adc97['type']);return _0x21a35a['icon']=_0x3adc97['icon'],_0x21a35a['bind']('label')['to'](_0x21667f,'isImageSelected',_0x30846b=>_(_0xcf7d7c,_0x3adc97['type'],_0x30846b?'Replace':'Insert')['text']),_0x21a35a['tooltip']=!0x0,_0x21a35a;}['_createDropdownButtons'](_0xbfc068){const {locale:_0x28751a}=this['editor'],_0x1b5f53=this['editor']['plugins']['get']('ImageInsertUI');return _0xbfc068['map'](_0x571748=>{const _0x26dbc1=this['_createButton'](_0xa141df,_0x571748['type']);return _0x26dbc1['withText']=!0x0,_0x26dbc1['icon']=_0x571748['icon'],_0x26dbc1['bind']('label')['to'](_0x1b5f53,'isImageSelected',_0x29b32a=>_(_0x28751a,_0x571748['type'],_0x29b32a?'Replace':'Insert')['text']),_0x26dbc1;});}['_createMenuBarButtons'](_0x6cce71){return _0x6cce71['map'](_0xd4cfc2=>{const _0x4e94af=this['_createButton'](_0x111bc9,_0xd4cfc2['type']);return _0x4e94af['icon']=_0xd4cfc2['icon'],_0x4e94af['label']=_0xd4cfc2['shortText'],_0x4e94af;});}}class F extends _0x586a59{['focusTracker'];['focusCycler'];constructor(_0x81e29e){super(_0x81e29e),this['focusTracker']=new _0x45e8b9(),this['focusCycler']=new _0x9b0640({'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(_0x2b207f,_0x4863c9){super(_0x2b207f),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-'+_0x4863c9}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function C(_0x3b89ae,_0x58be15){const _0x2a70b8=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x218ad0=>_0x218ad0<=_0x58be15)['map'](_0x122da1=>_0x3b89ae['replace'](/\/$/,'')+'/-/resize/'+_0x122da1+'x/\x20'+_0x122da1+'w');return{'imageFallbackUrl':_0x3b89ae,'imageSources':[{'srcset':_0x2a70b8['join'](',\x20'),'sizes':'(max-width:\x20'+_0x58be15+'px)\x20100vw,\x20'+_0x58be15+'px','type':'image/webp'}]};}function S(_0x168e0a,_0x269a2a,_0x1707d1){const _0x136a3d=_0x168e0a['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x136a3d?parseInt(_0x136a3d[0x1],0xa):_0x269a2a,'height':_0x136a3d?parseInt(_0x136a3d[0x2],0xa):_0x1707d1};}function p(_0x462be9,_0xd7c9cb){const _0x34bb2f=new(_0x159910())(),_0x584b9f=_0x462be9['plugins']['get']('ImageUtils'),_0xb30983=_0x462be9['editing']['mapper']['toViewElement'](_0xd7c9cb),_0x4f8582=_0x584b9f['findViewImgElement'](_0xb30983),_0x331ce0=_0x462be9['editing']['view']['domConverter']['viewToDom'](_0x4f8582),_0x10c34d=_0xd7c9cb['getAttribute']('width'),_0x3d05c4=_0xd7c9cb['getAttribute']('height'),_0x1e5746='image-processing';_0x462be9['editing']['view']['change'](_0x144070=>{_0x144070['addClass'](_0x1e5746,_0xb30983),_0x144070['setStyle']('aspect-ratio',_0x10c34d+'/'+_0x3d05c4,_0x4f8582);}),_0x34bb2f['listenTo'](_0x331ce0,'load',()=>{_0x34bb2f['stopListening'](_0x331ce0,'load'),_0x462be9['editing']['view']['change'](_0x3eb37f=>{_0x3eb37f['removeClass'](_0x1e5746,_0xb30983),_0x3eb37f['removeStyle']('aspect-ratio',_0x4f8582);});});}function G(_0x42307d){if(Array['isArray'](_0x42307d)){const _0x1a9cca=_0x42307d['map'](G);return _0x295c85=>_0x1a9cca['some'](_0x1b59ab=>_0x1b59ab(_0x295c85));}if('origin'==_0x42307d){const _0x598ef6=_0x4e3eff['window']['location']['origin'];return _0x12ae18=>new URL(_0x12ae18,_0x4e3eff['document']['baseURI'])['origin']==_0x598ef6;}return'function'==typeof _0x42307d?_0x42307d:_0x42307d instanceof RegExp?_0x24964f=>!(!_0x24964f['match'](_0x42307d)&&!_0x24964f['replace'](/^https?:\/\//,'')['match'](_0x42307d)):()=>!0x1;}function A(_0x5d23cb,_0x469e20){return _0x50b1e8(_0x5d23cb['target'])['includes'](_0x469e20);}class n extends/* #__PURE__ -- @preserve */
24
- _0xc46a9f(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x590fcc,_0x358b19,_0x42358d){super(),this['_editor']=_0x590fcc,this['_editing']=_0x358b19,this['_dialog']=_0x590fcc['plugins']['get'](_0x4ee9dc),this['_api']=_0x358b19['ctxElement']['getAPI'](),this['_type']=_0x42358d,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:_0x130753,model:_0x495dac}=this['_editor'],_0x445e14=_0x495dac['document']['selection']['getSelectedElement'](),_0x5909a8=_0x445e14&&(_0x445e14['is']('element','imageBlock')||_0x445e14['is']('element','imageInline'));this['_formView']=new x(_0x130753,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':_0x112a2f,'title':_(_0x130753,this['_type'],_0x5909a8?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x2141c9['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x1ed3e9=>!A(_0x1ed3e9,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x145d7e}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x352021=>{const _0x38d1b2=_0x145d7e['length'];for(const _0x450211 of _0x145d7e){const _0x31a414=_0x450211===_0x145d7e[_0x38d1b2-0x1],{cdnUrl:_0x4287b8,fileInfo:_0x125200}=_0x450211;if(!_0x4287b8||!_0x125200)continue;const {width:_0x224647,height:_0x35eb48}=_0x125200['imageInfo'],_0x4cdb1b=S(_0x4287b8,_0x224647,_0x35eb48),_0x182c91=C(_0x4287b8,_0x4cdb1b['width']),_0x4b4d4f={'id':_0x125200['uuid'],'type':'image','attributes':{'imageDimension':_0x4cdb1b,..._0x182c91}};this['_insertAsset'](_0x4b4d4f,_0x31a414,_0x352021);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x6c94b3=>{'idle'===_0x6c94b3['detail']['status']&&!_0x6c94b3['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===i['Local']?this['_api']['setCurrentActivity'](i['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x57a245,_0x154d24,_0x3aaa15){const _0x5e8fc5=this['_editor']['model']['document']['selection'],_0x17c2d6=_0x5e8fc5['getSelectedElement'](),_0x5550fe=!(!_0x17c2d6||!_0x17c2d6['is']('element','imageInline'));_0x3aaa15['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x57a245,_0x5550fe),_0x154d24||_0x3aaa15['setSelection'](_0x5e8fc5['getLastPosition']());}['_insertImage'](_0x6cfebd,_0x3685a8){const _0x55ceb1=this['_editor'],{imageDimension:_0x14dc86,imageFallbackUrl:_0x1c52ae,imageSources:_0x52f65e}=_0x6cfebd['attributes'];_0x55ceb1['execute']('insertImage',{'imageType':_0x3685a8?'imageInline':null,'source':{'uploadcareImageId':_0x6cfebd['id'],'src':_0x1c52ae,'sources':_0x52f65e,..._0x14dc86}});}}class w extends _0x39353c{['_editing'];['_controller']=null;static get['requires'](){return[_0x4ee9dc,o];}constructor(_0x26357f){super(_0x26357f),this['_editing']=_0x26357f['plugins']['get'](o);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x36bb21){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new n(this['editor'],this['_editing'],_0x36bb21);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class j{static['upload']({file:_0xf422e6,..._0x4a526e}){return _0xb5e49e(_0xf422e6,_0x4a526e);}static['getInfo'](_0x4a140b,_0x1a6242){return _0x3eeac7(_0x4a140b,_0x1a6242);}}class f extends _0x179bd4{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x442319,o];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x383f83=this['editor'];if(!!!_0x383f83['config']['get']('uploadcare'))return;_0x383f83['plugins']['get'](_0x442319)['createUploadAdapter']=_0x583bcc=>new k(_0x583bcc,_0x383f83),_0x383f83['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x29ec58,{imageElement:_0x2c76f,data:_0x2f090e})=>{_0x383f83['model']['change'](_0x2180ff=>{_0x2180ff['setAttribute']('uploadcareImageId',_0x2f090e['uploadcareImageId'],_0x2c76f);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x2e5969,_0x5dd3a2){this['loader']=_0x2e5969,this['editor']=_0x5dd3a2,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x43f5e3=await this['loader']['file'];return j['upload']({'file':_0x43f5e3,'publicKey':this['editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':this['controller']['signal'],'onProgress':_0x53eef4=>{_0x53eef4&&_0x53eef4['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x53eef4['value']);}})['then'](async _0x44d527=>{const {imageFallbackUrl:_0x4557ea,imageSources:_0xba096c}=C(_0x44d527['cdnUrl'],_0x44d527['imageInfo']['width']);return{'uploadcareImageId':_0x44d527['uuid'],'default':_0x4557ea,'sources':_0xba096c};})['catch'](()=>{const _0xe930d6=t('Cannot\x20upload\x20file:')+('\x20'+_0x43f5e3['name']+'.');return Promise['reject'](_0xe930d6);});}['abort'](){this['controller']['abort']();}}class o extends _0x179bd4{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',f,_0x4ee9dc];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['ucContextId'];get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}constructor(_0x3e9238){super(_0x3e9238),this['ucContextId']=_0x129896();}['init'](){const _0x4e04b7=this['editor'];_0x4e04b7['commands']['add']('uploadcare',new w(_0x4e04b7));}['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 _0x11cf54=_0x4e3eff['document']['querySelector']('input[uploadcare-file-input]');_0x11cf54&&_0x11cf54['remove']();}),async function(_0xd3aaa0){const _0x141030=_0x5df16([0x68,0x67,0x50,0x36,0x38,0x70,0x71,0x63,0x37,0x4f,0x42,0x4a,0x78,0x39,0x75,0x33,0x7a,0x72,0x48,0x61,0x74,0x59,0x55,0x58,0x66,0x30,0x34,0x54,0x64,0x56,0x6b,0x4d,0x46,0x6d,0x77,0x43,0x73,0x35,0x53,0x44,0x41,0x76,0x6a,0x32,0x31,0x69,0x57,0x51,0x47,0x65,0x5a,0x4b,0x4c,0x79,0x52,0x6c,0x45,0x4e,0x6e,0x6f,0x49,0x62]),_0x52f253=0x535f8c3a,_0x31f5bc=0x5358f0b2^_0x52f253,_0x4cd762=window[_0x5df16([0x44,0x61,0x74,0x65])][_0x5df16([0x6e,0x6f,0x77])](),_0x18b188=_0xd3aaa0[_0x5df16([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x120448=new window[(_0x5df16([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x15ea39=>{_0x18b188[_0x5df16([0x6f,0x6e,0x63,0x65])](_0x5df16([0x72,0x65,0x61,0x64,0x79]),_0x15ea39);}),_0x1fc926={[_0x5df16([0x6b,0x74,0x79])]:_0x5df16([0x45,0x43]),[_0x5df16([0x75,0x73,0x65])]:_0x5df16([0x73,0x69,0x67]),[_0x5df16([0x63,0x72,0x76])]:_0x5df16([0x50,0x2d,0x32,0x35,0x36]),[_0x5df16([0x78])]:_0x5df16([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]),[_0x5df16([0x79])]:_0x5df16([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]),[_0x5df16([0x61,0x6c,0x67])]:_0x5df16([0x45,0x53,0x32,0x35,0x36])},_0x1d7311=_0x18b188[_0x5df16([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x5df16([0x67,0x65,0x74])](_0x5df16([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x2eb25e(){let _0x27cda2,_0x47f89d=null,_0x9671ec=null;try{if(_0x1d7311==_0x5df16([0x47,0x50,0x4c]))return _0x5df16([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x27cda2=_0x24f3a6(),!_0x27cda2)return _0x5df16([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x27cda2[_0x5df16([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x9671ec=_0x2f2c46(_0x27cda2[_0x5df16([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x27cda2[_0x5df16([0x6a,0x74,0x69])])),await _0x567b3f()?_0x337e56()?_0x5023fa()?_0x5df16([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x182d5d()?(_0x27cda2[_0x5df16([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5df16([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x47f89d=_0x13836e(_0x5df16([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x27cda2[_0x5df16([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5df16([0x74,0x72,0x69,0x61,0x6c])&&(_0x47f89d=_0x13836e(_0x5df16([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x1d8bde()):_0x5df16([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x5df16([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x5df16([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x5df16([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x5023fa(){const _0x1059b7=[_0x5df16([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x5df16([0x74,0x72,0x69,0x61,0x6c])][_0x5df16([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x27cda2[_0x5df16([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x4cd762/0x3e8:0xe10*_0x31f5bc;return _0x27cda2[_0x5df16([0x65,0x78,0x70])]<_0x1059b7;}function _0x337e56(){const _0x28c135=_0x27cda2[_0x5df16([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x28c135&&(!!_0x28c135[_0x5df16([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5df16([0x2a]))||!!_0x28c135[_0x5df16([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5df16([0x55,0x50,0x4c,0x43])));}function _0x182d5d(){const _0x30fd62=_0x27cda2[_0x5df16([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x30fd62||0x0==_0x30fd62[_0x5df16([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x535f8c}=new URL(window[_0x5df16([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x30fd62[_0x5df16([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x535f8c))return!0x0;const _0x56ffb2=_0x535f8c[_0x5df16([0x73,0x70,0x6c,0x69,0x74])](_0x5df16([0x2e]));return _0x30fd62[_0x5df16([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5026c3=>_0x5026c3[_0x5df16([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5df16([0x2a])))[_0x5df16([0x6d,0x61,0x70])](_0x3ce326=>_0x3ce326[_0x5df16([0x73,0x70,0x6c,0x69,0x74])](_0x5df16([0x2e])))[_0x5df16([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x11960c=>_0x11960c[_0x5df16([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x56ffb2[_0x5df16([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5df16([0x6d,0x61,0x70])](_0x2ffac4=>Array(_0x56ffb2[_0x5df16([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x2ffac4[_0x5df16([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5df16([0x66,0x69,0x6c,0x6c])](_0x2ffac4[0x0]===_0x5df16([0x2a])?_0x5df16([0x2a]):'')[_0x5df16([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x2ffac4))[_0x5df16([0x73,0x6f,0x6d,0x65])](_0x2e28c3=>_0x56ffb2[_0x5df16([0x65,0x76,0x65,0x72,0x79])]((_0x5898e1,_0x2b943d)=>_0x2e28c3[_0x2b943d]===_0x5898e1||_0x2e28c3[_0x2b943d]===_0x5df16([0x2a])));}function _0x1d8bde(){return _0x47f89d&&_0x9671ec?new window[(_0x5df16([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3d3c73,_0x24e6ee)=>{_0x47f89d[_0x5df16([0x74,0x68,0x65,0x6e])](_0x3d3c73,_0x24e6ee),_0x9671ec[_0x5df16([0x74,0x68,0x65,0x6e])](_0x52e1b0=>{_0x52e1b0!=_0x5df16([0x56,0x61,0x6c,0x69,0x64])&&_0x3d3c73(_0x52e1b0);},_0x24e6ee);}):_0x47f89d||_0x9671ec||_0x5df16([0x56,0x61,0x6c,0x69,0x64]);}}function _0x2f2c46(_0x49bbe3,_0x4b4ea4){return new window[(_0x5df16([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xefd03=>{if(_0x4a6460())return _0xefd03(_0x5df16([0x56,0x61,0x6c,0x69,0x64]));_0x2eddbb(),_0x18b188[_0x5df16([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x5df16([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x425490=!0x1;const _0x3804dd=_0x129896();function _0x2c8484(_0x27563d){return!!_0x27563d&&(typeof _0x27563d===_0x5df16([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x27563d===_0x5df16([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x27563d[_0x5df16([0x74,0x68,0x65,0x6e])]===_0x5df16([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x27563d[_0x5df16([0x63,0x61,0x74,0x63,0x68])]===_0x5df16([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x32eca5(_0x200e90){_0x3653c8(_0x200e90)[_0x5df16([0x74,0x68,0x65,0x6e])](_0x3d844b=>{if(!_0x3d844b||_0x3d844b[_0x5df16([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x5df16([0x6f,0x6b]))return _0x5df16([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x151226(_0x5bacfa(_0x3804dd+_0x4b4ea4))!=_0x3d844b[_0x5df16([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x5df16([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x5df16([0x56,0x61,0x6c,0x69,0x64]);})[_0x5df16([0x74,0x68,0x65,0x6e])](_0x167676=>(_0x261233(),_0x167676),()=>{const _0x370297=_0x15b9c4();return null==_0x370297?(_0x261233(),_0x5df16([0x56,0x61,0x6c,0x69,0x64])):_0x5df16(_0x4cd762-_0x370297>(0x7753083a^_0x52f253)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x5df16([0x74,0x68,0x65,0x6e])](_0xefd03)[_0x5df16([0x63,0x61,0x74,0x63,0x68])](()=>{_0xefd03(_0x5df16([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1be540=0x536962ba^_0x52f253;function _0x261233(){const _0x556ee1=_0x5df16([0x6c,0x6c,0x63,0x74,0x2d])+_0x151226(_0x5bacfa(_0x49bbe3)),_0x465938=_0x5947a3(_0x151226(window[_0x5df16([0x4d,0x61,0x74,0x68])][_0x5df16([0x63,0x65,0x69,0x6c])](_0x4cd762/_0x1be540)));window[_0x5df16([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5df16([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x556ee1,_0x465938);}function _0x15b9c4(){const _0x3a92a9=_0x5df16([0x6c,0x6c,0x63,0x74,0x2d])+_0x151226(_0x5bacfa(_0x49bbe3)),_0x1faf51=window[_0x5df16([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5df16([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3a92a9);return _0x1faf51?window[_0x5df16([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5947a3(_0x1faf51),0x10)*_0x1be540:null;}function _0x3653c8(_0x2e622d){return new window[(_0x5df16([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1d2126,_0x811ed9)=>{_0x2e622d[_0x5df16([0x74,0x68,0x65,0x6e])](_0x1d2126,_0x811ed9),window[_0x5df16([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x811ed9,0x535e58fa^_0x52f253);});}}_0x18b188[_0x5df16([0x6f,0x6e])](_0x5df16([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x3a927f,_0x47b31b)=>{if(_0x47b31b[0x0]!=_0x49bbe3)return _0xefd03(_0x5df16([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x47b31b[0x1]={..._0x47b31b[0x1],[_0x5df16([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x3804dd};},{[_0x5df16([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5df16([0x68,0x69,0x67,0x68])}),_0x18b188[_0x5df16([0x6f,0x6e])](_0x5df16([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5b3d98=>{_0x2c8484(_0x5b3d98[_0x5df16([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x425490=!0x0,_0x32eca5(_0x5b3d98[_0x5df16([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x5df16([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5df16([0x6c,0x6f,0x77])}),_0x120448[_0x5df16([0x74,0x68,0x65,0x6e])](()=>{_0x425490||_0xefd03(_0x5df16([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4a6460(){return _0x18b188[_0x5df16([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5df16([0x76,0x69,0x65,0x77])][_0x5df16([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x5df16([0x61,0x75,0x74,0x6f]);}function _0x2eddbb(){_0x18b188[_0x5df16([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5df16([0x76,0x69,0x65,0x77])][_0x5df16([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x5df16([0x61,0x75,0x74,0x6f]);}}function _0x13836e(_0x659d97){const _0x19b9e7=[new window[(_0x5df16([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x276c1a=>setTimeout(_0x276c1a,0x5356b2f6^_0x52f253)),_0x120448[_0x5df16([0x74,0x68,0x65,0x6e])](()=>new window[(_0x5df16([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x21ee08=>{let _0x2f40de=0x0;_0x18b188[_0x5df16([0x6d,0x6f,0x64,0x65,0x6c])][_0x5df16([0x6f,0x6e])](_0x5df16([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x22f048,_0x74eab6)=>{_0x74eab6[0x0][_0x5df16([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2f40de++,_0x2f40de==(0x535f89d2^_0x52f253)&&(_0x21ee08(),_0x22f048[_0x5df16([0x6f,0x66,0x66])]());});}))];return window[_0x5df16([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x5df16([0x72,0x61,0x63,0x65])](_0x19b9e7)[_0x5df16([0x74,0x68,0x65,0x6e])](()=>_0x659d97);}async function _0x4a98dc(){await _0x120448,_0x18b188[_0x5df16([0x6d,0x6f,0x64,0x65,0x6c])][_0x5df16([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x92ef7f,_0x18b188[_0x5df16([0x6d,0x6f,0x64,0x65,0x6c])][_0x5df16([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x92ef7f,_0x18b188[_0x5df16([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5df16([0x6d,0x6f,0x64,0x65,0x6c]));}function _0xeac546(_0x1ea76f){const _0x21f214=_0x3850cb();_0x18b188[_0x21f214]=_0x5df16([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x1ea76f,_0x1ea76f!=_0x5df16([0x56,0x61,0x6c,0x69,0x64])&&_0x4a98dc();}function _0x3850cb(){const _0xe393aa=window[_0x5df16([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x5df16([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5df16([0x6e,0x6f,0x77])]())[_0x5df16([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5df16([0x2e]),'');let _0x1d8db0=_0x5df16([0x68]);for(let _0x3a2a0c=0x0;_0x3a2a0c<_0xe393aa[_0x5df16([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3a2a0c+=0x2){let _0x4f16c=window[_0x5df16([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xe393aa[_0x5df16([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3a2a0c,_0x3a2a0c+0x2));_0x4f16c>=_0x141030[_0x5df16([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4f16c-=_0x141030[_0x5df16([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1d8db0+=_0x141030[_0x4f16c];}return _0x1d8db0;}function _0x24f3a6(){const _0x38fd3e=_0x1d7311[_0x5df16([0x73,0x70,0x6c,0x69,0x74])](_0x5df16([0x2e]));if(0x3!=_0x38fd3e[_0x5df16([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4fbe33(_0x38fd3e[0x1]);function _0x4fbe33(_0x9df890){const _0x4b30e6=_0x1f5b67(_0x9df890);return _0x4b30e6&&_0x44e244()?_0x4b30e6:null;function _0x44e244(){const _0xc9bfb6=_0x4b30e6[_0x5df16([0x6a,0x74,0x69])],_0x1bb48f=window[_0x5df16([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xc9bfb6[_0x5df16([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xc9bfb6[_0x5df16([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x3e857f={..._0x4b30e6,[_0x5df16([0x6a,0x74,0x69])]:_0xc9bfb6[_0x5df16([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0xc9bfb6[_0x5df16([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x3e857f[_0x5df16([0x76,0x63])],_0x5bacfa(_0x3e857f)==_0x1bb48f;}}}async function _0x567b3f(){let _0x2b6fbd=!0x0;try{const _0x2c3b7f=_0x1d7311[_0x5df16([0x73,0x70,0x6c,0x69,0x74])](_0x5df16([0x2e])),[_0x20b031,_0x1567bb,_0x5e2281]=_0x2c3b7f;return _0x1b667c(_0x20b031),await _0x55fd92(_0x20b031,_0x1567bb,_0x5e2281),_0x2b6fbd;}catch{return!0x1;}function _0x1b667c(_0x533c87){const _0x46ad72=_0x1f5b67(_0x533c87);_0x46ad72&&_0x46ad72[_0x5df16([0x61,0x6c,0x67])]==_0x5df16([0x45,0x53,0x32,0x35,0x36])||(_0x2b6fbd=!0x1);}async function _0x55fd92(_0x1d9a88,_0xa87b3e,_0x126f03){const _0x32efee=window[_0x5df16([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x5df16([0x66,0x72,0x6f,0x6d])](_0x4e51fb(_0x126f03),_0x3ece81=>_0x3ece81[_0x5df16([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x3cc56c=new window[(_0x5df16([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x5df16([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1d9a88+_0x5df16([0x2e])+_0xa87b3e),_0x50bb20=window[_0x5df16([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x5df16([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x50bb20)return;const _0x450b84=await _0x50bb20[_0x5df16([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x5df16([0x6a,0x77,0x6b]),_0x1fc926,{[_0x5df16([0x6e,0x61,0x6d,0x65])]:_0x5df16([0x45,0x43,0x44,0x53,0x41]),[_0x5df16([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x5df16([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x5df16([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x50bb20[_0x5df16([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x5df16([0x6e,0x61,0x6d,0x65])]:_0x5df16([0x45,0x43,0x44,0x53,0x41]),[_0x5df16([0x68,0x61,0x73,0x68])]:{[_0x5df16([0x6e,0x61,0x6d,0x65])]:_0x5df16([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x450b84,_0x32efee,_0x3cc56c)||(_0x2b6fbd=!0x1);}}function _0x1f5b67(_0x5ab249){return _0x5ab249[_0x5df16([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x5df16([0x65,0x79]))?JSON[_0x5df16([0x70,0x61,0x72,0x73,0x65])](_0x4e51fb(_0x5ab249)):null;}function _0x4e51fb(_0x5ba6fd){return window[_0x5df16([0x61,0x74,0x6f,0x62])](_0x5ba6fd[_0x5df16([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x5df16([0x2b]))[_0x5df16([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x5df16([0x2f])));}function _0x5bacfa(_0x101338){let _0x1db1b8=0x1505;function _0x2d3c49(_0xd3247c){for(let _0x1e0723=0x0;_0x1e0723<_0xd3247c[_0x5df16([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1e0723++){const _0x98f3e3=_0xd3247c[_0x5df16([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1e0723);_0x1db1b8=(_0x1db1b8<<0x5)+_0x1db1b8+_0x98f3e3,_0x1db1b8&=_0x1db1b8;}}function _0x2c2b0d(_0x4a5e41){Array[_0x5df16([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4a5e41)?_0x4a5e41[_0x5df16([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2c2b0d):_0x4a5e41&&typeof _0x4a5e41==_0x5df16([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x5df16([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4a5e41)[_0x5df16([0x73,0x6f,0x72,0x74])]()[_0x5df16([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2193cd,_0x6efd26])=>{_0x2d3c49(_0x2193cd),_0x2c2b0d(_0x6efd26);}):_0x2d3c49(window[_0x5df16([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4a5e41));}return _0x2c2b0d(_0x101338),_0x1db1b8>>>0x0;}function _0x151226(_0x4c5701){return _0x4c5701[_0x5df16([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x5df16([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x5df16([0x30]));}function _0x5947a3(_0xa2d853){return _0xa2d853[_0x5df16([0x73,0x70,0x6c,0x69,0x74])]('')[_0x5df16([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x5df16([0x6a,0x6f,0x69,0x6e])]('');}function _0x92ef7f(){}function _0x5df16(_0x4b97b){return _0x4b97b['map'](_0x1844d0=>String['fromCharCode'](_0x1844d0))['join']('');}_0xeac546(await _0x2eb25e());}(this);}['_initSchema'](){const _0x8c0367=this['editor']['model']['schema'];_0x8c0367['isRegistered']('imageBlock')&&_0x8c0367['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x8c0367['isRegistered']('imageInline')&&_0x8c0367['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x38ce99=this['editor'];_0x38ce99['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x38ce99['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x444cce=>_0x444cce['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x1efaac=_0x38ce99['commands']['get']('replaceImageSource');_0x1efaac&&this['listenTo'](_0x1efaac,'cleanupImage',(_0x12aa5c,[_0x155162,_0x1b06c5])=>{_0x155162['removeAttribute']('uploadcareImageId',_0x1b06c5);});}['_initConfig'](){const _0x1faea7=this['editor']['config']['get']('uploadcare.uploader')||{},_0x321801=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x1fdbaf(_0x4e3eff['document'],'uc-config',{..._0x1faea7,'pubkey':_0x321801,'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']=_0x5e0bf1=>{if('closeMax'==_0x5e0bf1)return'#uc-icon-arrow-down';},_0x4e3eff['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x1fdbaf(_0x4e3eff['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),_0x4e3eff['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x211cb4=this['editor']['commands']['get']('insertImage');_0x211cb4&&this['listenTo'](_0x211cb4,'execute',()=>{const _0x2a3ab8=this['editor']['model']['document']['selection']['getSelectedElement']();_0x2a3ab8&&_0x2a3ab8['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x2a3ab8);});});const _0x17ac24=this['editor']['commands']['get']('uploadcareImageReplace');_0x17ac24&&this['listenTo'](_0x17ac24,'execute',()=>{const _0x3f4195=this['editor']['model']['document']['selection']['getSelectedElement']();_0x3f4195&&_0x3f4195['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x3f4195);});});}}class tt extends _0x179bd4{static get['requires'](){return[o,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x4b81c0){super(_0x4b81c0),_0x4b81c0['config']['define']('uploadcare.uploader.sourceList',[i['Local'],i['URL']]),_0xa2dede['defineComponents'](_0xa2dede),this['_defineLocale']();}['_defineLocale'](){const _0xe4c22c=this['editor']['config']['get']('uploadcare.locale'),_0x388bca=this['editor']['locale']['contentLanguage'];_0xe4c22c&&_0xa2dede['defineLocale'](_0x388bca,_0xe4c22c);}}class ii extends _0x586a59{constructor(_0x1bb68d){super(_0x1bb68d);const t=_0x1bb68d['t'],_0x495008=this['bindTemplate'],_0x1cac6f=new _0x401f5e();_0x1cac6f['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':[_0x1cac6f,{'text':_0x495008['to']('imageUploadProgress',_0x226023=>t('Loading\x20image...')+'\x20('+(_0x226023||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 _0x586a59{constructor(_0xae924f){super(_0xae924f);const t=_0xae924f['t'];this['set']('errorType',null);const _0x4deb40=new _0xa141df(_0xae924f);_0x4deb40['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x4deb40['withText']=!0x0,_0x4deb40['class']='ck-button-action',_0x4deb40['on']('execute',()=>{this['fire']('retry');}),_0x4deb40['bind']('isVisible')['to'](this,'errorType',_0xa9e3e5=>'NotFound'!==_0xa9e3e5);const _0xc204e7=new _0x461957();_0xc204e7['content']=_0x17fed6,_0xc204e7['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x1c16eb=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':[_0xc204e7,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x1c16eb['to']('errorType',_0x2ff5ac=>t('NotFound'!==_0x2ff5ac?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x4deb40]},{'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 _0x586a59{constructor(_0x2b3869,_0x495ea2){super(_0x2b3869);const _0x9d2333=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x495ea2,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x9d2333['to']('imageSrc')}});}}class X extends F{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x1a7da4,_0x9553ee,_0x322417){super(_0x1a7da4),this['_items']=this['createCollection'](),this['_loadingView']=new ii(_0x1a7da4),this['_errorView']=new ti(_0x1a7da4),this['_editingView']=new ei(_0x1a7da4,_0x322417),this['_focusableView']=new _0x586a59(_0x1a7da4),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x9553ee),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'],_0x159b2b=>{this['_addUploadcareImageEditorListeners'](_0x159b2b);});}),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'](_0x1fbb6e,_0x322c1d){const _0x293c41='uc-cloud-image-editor',_0x42cca9=_0x1fbb6e['querySelector'](_0x293c41);if(_0x42cca9)return _0x322c1d(_0x42cca9);const _0x52f35f=new MutationObserver(_0x35741d=>{const _0x289632=_0x35741d['filter'](_0x87902=>_0x87902['target']===_0x1fbb6e&&_0x87902['addedNodes']['length']>0x0&&_0x87902['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x293c41);_0x289632['length']&&(_0x52f35f['disconnect'](),_0x322c1d(_0x289632[0x0]['addedNodes'][0x0]));});_0x52f35f['observe'](_0x1fbb6e,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0xf36581){_0xf36581['addEventListener']('apply',_0x2d3b1b=>{this['fire']('apply',{'imageSrc':_0x2d3b1b['detail']['cdnUrl']});}),_0xf36581['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class E extends/* #__PURE__ -- @preserve */
25
- _0xc46a9f(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x313825,_0x2bc3f9,_0x5872e3){super(),this['_editor']=_0x313825,this['_dialog']=_0x2bc3f9,this['_imageElement']=_0x5872e3,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 _0x555411=this['_imageElement'],_0x1ed20a=_0x555411['getAttribute']('uploadcareImageId'),_0x33a47d=_0x555411['getAttribute']('src');if(_0x1ed20a)await this['_loadImageInfo'](_0x1ed20a,_0x33a47d);else{if(this['_imageCache']['has'](_0x33a47d)){const _0xa3c366=this['_imageCache']['get'](_0x33a47d);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0xa3c366['url'],this['imageDimension']=_0xa3c366['dimension'],this['imageId']=_0xa3c366['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x468fa8}=this['_editor'],t=_0x468fa8['t'],_0x1015d9=new X(_0x468fa8,this['imageStatus'],this['_attributes']);_0x1015d9['bind']('status')['to'](this,'imageStatus'),_0x1015d9['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x1015d9['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x1015d9['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x1015d9,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x10e15c,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x1015d9,'position':_0x2141c9['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x1015d9['focus']();},'onHide':()=>{_0x1015d9['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x2d3f89=>!A(_0x2d3f89,_0x1015d9['element'])}});}['_loadImageInfo'](_0x2c80e3,_0x33e31b){return j['getInfo'](_0x2c80e3,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x3317b9=>{const {width:_0x1821a4,height:_0x3e17b5}=_0x3317b9['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x33e31b,this['imageDimension']={'width':_0x1821a4,'height':_0x3e17b5},this['imageId']=_0x2c80e3;})['catch'](_0x5dfe7f=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x5dfe7f['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x4d4f4e,_0x4a7f11){return this['_getImageAsFile'](_0x4d4f4e)['then'](_0x427160=>j['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['_editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':_0x4a7f11['signal'],'file':_0x427160,'onProgress':_0x3850a8=>{_0x3850a8&&_0x3850a8['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x3850a8['value']));}}))['then'](_0x4d1e66=>{const {width:_0x3a5343,height:_0x16a1ff}=_0x4d1e66['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x4d1e66['cdnUrl'],this['imageDimension']={'width':_0x3a5343,'height':_0x16a1ff},this['imageId']=_0x4d1e66['uuid'],this['imageUploadProgress']=null;const _0x3ee0f3=_0x4d4f4e['getAttribute']('src');this['_imageCache']['set'](_0x3ee0f3,{'id':_0x4d1e66['uuid'],'url':_0x4d1e66['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x431b8d=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x431b8d['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x2ac3c1,_0x57fde1){_0x2ac3c1['on']('apply',(_0x24d9f3,_0x4010be)=>{this['_replaceImage'](_0x57fde1,_0x4010be['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x2ac3c1['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x2ac3c1['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x412555,_0x404f39,_0x1ab391){const _0xc835e3=this['_editor'],{width:_0x2d5493,height:_0x12d762}=S(_0x404f39,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x269a1a,imageSources:_0x214d58}=C(_0x404f39,_0x2d5493);_0xc835e3['model']['change'](_0xc7021=>{if('$graveyard'===_0x412555['root']['rootName']){_0xc835e3['execute']('insertImage',{'imageType':_0x412555['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x412555['getAttributes']()),'uploadcareImageId':_0x1ab391,'src':_0x269a1a,'sources':_0x214d58,'width':_0x2d5493,'height':_0x12d762}});const _0x109772=_0x412555['getChildren']();_0x412555=_0xc835e3['model']['document']['selection']['getSelectedElement']();for(const _0x1a2977 of _0x109772)_0xc7021['append'](_0xc7021['cloneElement'](_0x1a2977),_0x412555);}else _0xc7021['setSelection'](_0x412555,'on'),_0xc835e3['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x412555['getAttributes']()),'uploadcareImageId':_0x1ab391,'src':_0x269a1a,'sources':_0x214d58,'width':_0x2d5493,'height':_0x12d762},_0x412555);_0xc7021['setSelection'](_0x412555,'on');});}async['_getImageAsFile'](_0x81dc2a){const _0xf9b976=_0x4e3eff['window'],_0x22d7c5=_0x4e3eff['document']['location']['href'],_0x469799=new _0xf9b976['URL'](_0x81dc2a['getAttribute']('src'),_0x22d7c5);if('data:'===_0x469799['protocol']){const _0x5da099=_0x469799['href']['split'](','),_0x38c28a=_0x5da099[0x0]['match'](/:(.*?);/)[0x1],_0x4b97cc=_0x38c28a['split']('/')[0x1],_0x5572c0=_0xf9b976['atob'](_0x5da099[_0x5da099['length']-0x1]);let _0x151902=_0x5572c0['length'];const _0x4f1840=new _0xf9b976['Uint8Array'](_0x151902);for(;_0x151902--;)_0x4f1840[_0x151902]=_0x5572c0['charCodeAt'](_0x151902);return new _0xf9b976['File']([_0x4f1840],'image.'+_0x4b97cc,{'type':_0x38c28a});}const _0x338de1=_0x469799['href']['split']('/'),_0x164f2e=_0x338de1[_0x338de1['length']-0x1],_0x1510c0=_0x164f2e['split']('.')[0x1];return _0xf9b976['fetch'](_0x469799['href'])['then'](_0x23cf0b=>_0x23cf0b['clone']()['blob']())['then'](_0x56fff2=>new _0xf9b976['File']([_0x56fff2],_0x164f2e,{'type':'image/'+_0x1510c0}));}}class O extends _0x39353c{['imageEditController'];static get['requires'](){return[_0x4ee9dc];}['_isEditable'];constructor(_0x2f98a6){super(_0x2f98a6),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x3de8fe){const _0x1754df=G(_0x3de8fe);return _0x3d5f03=>!(!_0x3d5f03||!_0x3d5f03['is']('element','imageBlock')&&!_0x3d5f03['is']('element','imageInline'))&&(!!_0x3d5f03['hasAttribute']('uploadcareImageId')||!!_0x3d5f03['hasAttribute']('src')&&_0x1754df(_0x3d5f03['getAttribute']('src')));}(_0x2f98a6['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x3e4a4b=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x3e4a4b);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x17b29b=this['editor']['model']['document']['selection']['getSelectedElement']();_0x17b29b&&(_0x17b29b['is']('element','imageBlock')||_0x17b29b['is']('element','imageInline'))&&(this['imageEditController']=new E(this['editor'],this['editor']['plugins']['get'](_0x4ee9dc),_0x17b29b),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class R extends _0x39353c{['refresh'](){const _0x54534d=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x54534d&&(_0x54534d['is']('element','imageBlock')||_0x54534d['is']('element','imageInline')));}['execute'](_0x59092e){const _0x552d20=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x46d9f3=>{_0x46d9f3['setAttributes'](_0x59092e,_0x552d20),_0x46d9f3['removeAttribute']('srcset',_0x552d20),_0x46d9f3['removeAttribute']('sizes',_0x552d20);});}}class m extends _0x179bd4{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[o,_0x586ef3,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x142c65}=this;_0x142c65['commands']['add']('uploadcareImageEdit',new O(_0x142c65)),_0x142c65['commands']['add']('uploadcareImageReplace',new R(_0x142c65));}}class g extends _0x179bd4{['_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 _0x472cb5=this['editor'];_0x472cb5['ui']['componentFactory']['add']('uploadcareImageEdit',_0x1f7696=>{const _0x3604e4=_0x472cb5['commands']['get']('uploadcareImageEdit'),_0x1b14e4=new _0xa141df(_0x1f7696),t=_0x1f7696['t'];return _0x1b14e4['set']({'icon':_0x10e15c,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x1b14e4['bind']('isEnabled')['to'](_0x3604e4),_0x1b14e4['bind']('isOn')['to'](_0x3604e4,'isActive'),this['listenTo'](_0x1b14e4,'execute',()=>{_0x472cb5['execute']('uploadcareImageEdit'),_0x472cb5['editing']['view']['focus']();}),_0x1b14e4;}),this['_initConfig']();}['_initConfig'](){const _0xd3ab90=_0x1fdbaf(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0xd3ab90),this['listenTo'](this['editor'],'destroy',()=>{_0xd3ab90['remove']();});}}class et extends _0x179bd4{static get['pluginName'](){return'UploadcareImageEdit';}static get['requires'](){return[m,g];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{tt as Uploadcare,w as UploadcareCommand,o as UploadcareEditing,et as UploadcareImageEdit,O as UploadcareImageEditCommand,m as UploadcareImageEditEditing,g as UploadcareImageEditUI,e as UploadcareUI,f as UploadcareUploadAdapter};
23
+ import{Plugin as _0x53c973,Command as _0x3ed51b}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x139b72,IconGooglePhotos as _0x56e726,IconGoogleDrive as _0x4a43b7,IconFacebook as _0x32d16f,IconDropbox as _0x588db4,IconUploadcareLink as _0x17b278,IconUploadcareImageUpload as _0x904e4a,IconError as _0x56530c,IconUploadcareImageEdit as _0x2ef421}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x4c0157,MenuBarMenuListItemButtonView as _0x1d7223,View as _0x258107,FocusCycler as _0x12715a,Dialog as _0x8856d5,DialogViewPosition as _0x385524,SpinnerView as _0x301ce6,IconView as _0xd1358d,Notification as _0x19d053}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x3b7459,DomEmitterMixin as _0xd71614,global as _0x444cad,getAncestors as _0x301c2a,ObservableMixin as _0x587fcc,uid as _0x589210,createElement as _0x2ea481}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x85773a}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x14c4a6,info as _0x45cd20}from'@uploadcare/upload-client';import*as _0x5830b0 from'@uploadcare/file-uploader';var i=function(_0x236822){return _0x236822['Local']='local',_0x236822['URL']='url',_0x236822['Dropbox']='dropbox',_0x236822['GDrive']='gdrive',_0x236822['Facebook']='facebook',_0x236822['GPhotos']='gphotos',_0x236822['OneDrive']='onedrive',_0x236822;}({});function _(_0x6b7199,_0xa5e623,_0x7381cc){const t=_0x6b7199['t'],_0x4fa797=_0x6b7199['t'];switch(_0xa5e623){case i['Local']:return{'text':_0x4fa797('Insert'===_0x7381cc?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x4fa797('From\x20computer')};case i['URL']:return{'text':'Insert'===_0x7381cc?_0x4fa797('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x4fa797('Via\x20URL')};case i['Dropbox']:return{'text':t('Insert'===_0x7381cc?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case i['Facebook']:return{'text':t('Insert'===_0x7381cc?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case i['GDrive']:return{'text':t('Insert'===_0x7381cc?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case i['GPhotos']:return{'text':t('Insert'===_0x7381cc?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case i['OneDrive']:return{'text':t('Insert'===_0x7381cc?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0xa5e623;}}class e extends _0x53c973{['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 _0x4b306a=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x3c9db0;for(const _0x28c188 in _0x4b306a){const _0x360787=_0x28c188,_0x18b80a=_0x4b306a[_0x360787];if('uploadcareLicenseKeyValid'==_0x18b80a||'uploadcareLicenseKeyInvalid'==_0x18b80a||'uploadcareLicenseKeyExpired'==_0x18b80a||'uploadcareLicenseKeyDomainLimit'==_0x18b80a||'uploadcareLicenseKeyNotAllowed'==_0x18b80a||'uploadcareLicenseKeyEvaluationLimit'==_0x18b80a||'uploadcareLicenseKeyTrialLimit'==_0x18b80a||'uploadcareLicenseKeyUsageLimit'==_0x18b80a){delete _0x4b306a[_0x360787],_0x3c9db0=_0x18b80a,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x3c9db0&&_0x4b306a['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x3c9db0&&_0x4b306a['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x3c9db0&&_0x4b306a['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x3c9db0&&_0x4b306a['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x3c9db0&&_0x4b306a['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0x3c9db0&&_0x4b306a['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0x3c9db0&&_0x4b306a['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x4b75d7}=this,_0x1b421c=_0x4b75d7['commands']['get']('uploadcare');if(!_0x1b421c)return;const _0x58cb72=this['_normalizeConfigSourceList'](_0x4b75d7['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x572e55,_0x1dcbd5)=>{const _0x2d2913=this['_getIntegrationKey'](_0x1dcbd5['type']);return _0x572e55[_0x2d2913]||(_0x572e55[_0x2d2913]=[]),_0x572e55[_0x2d2913]['push'](_0x1dcbd5),_0x572e55;},{});_0x4b75d7['plugins']['has']('ImageInsertUI')&&_0x4b75d7['commands']['get']('uploadcare')&&Object['entries'](_0x58cb72)['forEach'](([_0x468f8f,_0x29623c])=>{_0x4b75d7['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x468f8f,'observable':()=>_0x1b421c,'buttonViewCreator':()=>this['_createToolbarButton'](_0x29623c),'formViewCreator':()=>this['_createDropdownButtons'](_0x29623c),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x29623c),'override':'assetManager'!==_0x468f8f});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x434388){const {locale:_0x4998b0}=this['editor'];return _0x434388['map'](_0x442a3a=>{const _0x3b2d42=_(_0x4998b0,_0x442a3a,'Insert');switch(_0x442a3a){case i['Local']:return{'icon':_0x904e4a,'type':i['Local'],..._0x3b2d42};case i['URL']:return{'icon':_0x17b278,'type':i['URL'],..._0x3b2d42};case i['Dropbox']:return{'icon':_0x588db4,'type':i['Dropbox'],..._0x3b2d42};case i['Facebook']:return{'icon':_0x32d16f,'type':i['Facebook'],..._0x3b2d42};case i['GDrive']:return{'icon':_0x4a43b7,'type':i['GDrive'],..._0x3b2d42};case i['GPhotos']:return{'icon':_0x56e726,'type':i['GPhotos'],..._0x3b2d42};case i['OneDrive']:return{'icon':_0x139b72,'type':i['OneDrive'],..._0x3b2d42};}});}['_getIntegrationKey'](_0x3073c5){switch(_0x3073c5){case i['Local']:return'upload';case i['URL']:return'url';default:return'assetManager';}}['_createButton'](_0xe0181d,_0x2f6946){const _0x1c37a0=this['editor'],_0x3bdf38=new _0xe0181d(_0x1c37a0['locale']),_0x14ea42=_0x1c37a0['commands']['get']('uploadcare');return _0x3bdf38['bind']('isEnabled')['to'](_0x14ea42),_0x3bdf38['on']('execute',()=>{_0x14ea42['execute'](_0x2f6946);}),_0x3bdf38;}['_createToolbarButton'](_0x40abad){const {locale:_0x4b3ab5}=this['editor'],_0x29dda2=this['editor']['plugins']['get']('ImageInsertUI'),_0x59010f=_0x40abad[0x0],_0x540513=this['_createButton'](_0x4c0157,_0x59010f['type']);return _0x540513['icon']=_0x59010f['icon'],_0x540513['bind']('label')['to'](_0x29dda2,'isImageSelected',_0x4e8413=>_(_0x4b3ab5,_0x59010f['type'],_0x4e8413?'Replace':'Insert')['text']),_0x540513['tooltip']=!0x0,_0x540513;}['_createDropdownButtons'](_0x5c14e6){const {locale:_0x25e3fe}=this['editor'],_0x2a2910=this['editor']['plugins']['get']('ImageInsertUI');return _0x5c14e6['map'](_0x2431dc=>{const _0x1fe5dc=this['_createButton'](_0x4c0157,_0x2431dc['type']);return _0x1fe5dc['withText']=!0x0,_0x1fe5dc['icon']=_0x2431dc['icon'],_0x1fe5dc['bind']('label')['to'](_0x2a2910,'isImageSelected',_0x14407e=>_(_0x25e3fe,_0x2431dc['type'],_0x14407e?'Replace':'Insert')['text']),_0x1fe5dc;});}['_createMenuBarButtons'](_0x389c27){return _0x389c27['map'](_0x3bef81=>{const _0x1ba169=this['_createButton'](_0x1d7223,_0x3bef81['type']);return _0x1ba169['icon']=_0x3bef81['icon'],_0x1ba169['label']=_0x3bef81['shortText'],_0x1ba169;});}}class F extends _0x258107{['focusTracker'];['focusCycler'];constructor(_0x462e06){super(_0x462e06),this['focusTracker']=new _0x3b7459(),this['focusCycler']=new _0x12715a({'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(_0x21032f,_0x4651f1){super(_0x21032f),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-'+_0x4651f1}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function C(_0x119941,_0xd388b9){const _0xaab0df=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0xad83e1=>_0xad83e1<=_0xd388b9)['map'](_0x1eec74=>_0x119941['replace'](/\/$/,'')+'/-/resize/'+_0x1eec74+'x/\x20'+_0x1eec74+'w');return{'imageFallbackUrl':_0x119941,'imageSources':[{'srcset':_0xaab0df['join'](',\x20'),'sizes':'(max-width:\x20'+_0xd388b9+'px)\x20100vw,\x20'+_0xd388b9+'px','type':'image/webp'}]};}function S(_0x5054fa,_0x14fda7,_0x49c5b0){const _0x3d0f40=_0x5054fa['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x3d0f40?parseInt(_0x3d0f40[0x1],0xa):_0x14fda7,'height':_0x3d0f40?parseInt(_0x3d0f40[0x2],0xa):_0x49c5b0};}function p(_0x1d786e,_0x40cdf9){const _0x2e873b=new(_0xd71614())(),_0x2b24e7=_0x1d786e['plugins']['get']('ImageUtils'),_0x5a9741=_0x1d786e['editing']['mapper']['toViewElement'](_0x40cdf9),_0x4a5f08=_0x2b24e7['findViewImgElement'](_0x5a9741),_0x53400f=_0x1d786e['editing']['view']['domConverter']['viewToDom'](_0x4a5f08),_0x1368eb=_0x40cdf9['getAttribute']('width'),_0x550781=_0x40cdf9['getAttribute']('height'),_0x2437c4='image-processing';_0x1d786e['editing']['view']['change'](_0x21a8c1=>{_0x21a8c1['addClass'](_0x2437c4,_0x5a9741),_0x21a8c1['setStyle']('aspect-ratio',_0x1368eb+'/'+_0x550781,_0x4a5f08);}),_0x2e873b['listenTo'](_0x53400f,'load',()=>{_0x2e873b['stopListening'](_0x53400f,'load'),_0x1d786e['editing']['view']['change'](_0x38d76b=>{_0x38d76b['removeClass'](_0x2437c4,_0x5a9741),_0x38d76b['removeStyle']('aspect-ratio',_0x4a5f08);});});}function z(_0x912e1){if(Array['isArray'](_0x912e1)){const _0x34261f=_0x912e1['map'](z);return _0x27cc93=>_0x34261f['some'](_0x4dde62=>_0x4dde62(_0x27cc93));}if('origin'==_0x912e1){const _0x391ac1=_0x444cad['window']['location']['origin'];return _0x5b74d1=>new URL(_0x5b74d1,_0x444cad['document']['baseURI'])['origin']==_0x391ac1;}return'function'==typeof _0x912e1?_0x912e1:_0x912e1 instanceof RegExp?_0x113595=>!(!_0x113595['match'](_0x912e1)&&!_0x113595['replace'](/^https?:\/\//,'')['match'](_0x912e1)):()=>!0x1;}function A(_0x321150,_0x3b8677){return _0x301c2a(_0x321150['target'])['includes'](_0x3b8677);}class n extends/* #__PURE__ -- @preserve */
24
+ _0x587fcc(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x2b658c,_0x174ebb,_0x98b9f6){super(),this['_editor']=_0x2b658c,this['_editing']=_0x174ebb,this['_dialog']=_0x2b658c['plugins']['get'](_0x8856d5),this['_api']=_0x174ebb['ctxElement']['getAPI'](),this['_type']=_0x98b9f6,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:_0x2171b0,model:_0x535cf3}=this['_editor'],_0x3376d1=_0x535cf3['document']['selection']['getSelectedElement'](),_0x2c5372=_0x3376d1&&(_0x3376d1['is']('element','imageBlock')||_0x3376d1['is']('element','imageInline'));this['_formView']=new x(_0x2171b0,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':_0x904e4a,'title':_(_0x2171b0,this['_type'],_0x2c5372?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x385524['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x4f2c46=>!A(_0x4f2c46,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x1110a9}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x5a9c40=>{const _0x7781f5=_0x1110a9['length'];for(const _0x316d2e of _0x1110a9){const _0x231f1e=_0x316d2e===_0x1110a9[_0x7781f5-0x1],{cdnUrl:_0x20ce57,fileInfo:_0x1cab1c}=_0x316d2e;if(!_0x20ce57||!_0x1cab1c)continue;const {width:_0xd60a1,height:_0x2f316c}=_0x1cab1c['imageInfo'],_0x1a81eb=S(_0x20ce57,_0xd60a1,_0x2f316c),_0x230cb4=C(_0x20ce57,_0x1a81eb['width']),_0x354e5e={'id':_0x1cab1c['uuid'],'type':'image','attributes':{'imageDimension':_0x1a81eb,..._0x230cb4}};this['_insertAsset'](_0x354e5e,_0x231f1e,_0x5a9c40);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x1a661f=>{'idle'===_0x1a661f['detail']['status']&&!_0x1a661f['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===i['Local']?this['_api']['setCurrentActivity'](i['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x277c08,_0x181213,_0x4ab490){const _0x5dd82a=this['_editor']['model']['document']['selection'],_0x153f6b=_0x5dd82a['getSelectedElement'](),_0x210046=!(!_0x153f6b||!_0x153f6b['is']('element','imageInline'));_0x4ab490['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x277c08,_0x210046),_0x181213||_0x4ab490['setSelection'](_0x5dd82a['getLastPosition']());}['_insertImage'](_0x5ec4b2,_0xbb11df){const _0x55533c=this['_editor'],{imageDimension:_0x1420c0,imageFallbackUrl:_0x889eac,imageSources:_0x58eb0a}=_0x5ec4b2['attributes'];_0x55533c['execute']('insertImage',{'imageType':_0xbb11df?'imageInline':null,'source':{'uploadcareImageId':_0x5ec4b2['id'],'src':_0x889eac,'sources':_0x58eb0a,..._0x1420c0}});}}class w extends _0x3ed51b{['_editing'];['_controller']=null;static get['requires'](){return[_0x8856d5,o];}constructor(_0x16ba2a){super(_0x16ba2a),this['_editing']=_0x16ba2a['plugins']['get'](o);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x13574b){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new n(this['editor'],this['_editing'],_0x13574b);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class j{static['upload']({file:_0x4b0f8c,..._0x39cb7e}){return _0x14c4a6(_0x4b0f8c,_0x39cb7e);}static['getInfo'](_0x52abd2,_0x3b882a){return _0x45cd20(_0x52abd2,_0x3b882a);}}class f extends _0x53c973{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x85773a,o];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x3f919a=this['editor'];if(!!!_0x3f919a['config']['get']('uploadcare'))return;_0x3f919a['plugins']['get'](_0x85773a)['createUploadAdapter']=_0x30ff85=>new k(_0x30ff85,_0x3f919a),_0x3f919a['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x51ee0f,{imageElement:_0x58fe12,data:_0x48caed})=>{_0x3f919a['model']['change'](_0x1a8bfc=>{_0x1a8bfc['setAttribute']('uploadcareImageId',_0x48caed['uploadcareImageId'],_0x58fe12);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x5eb107,_0x14b92a){this['loader']=_0x5eb107,this['editor']=_0x14b92a,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x24aecf=await this['loader']['file'];return j['upload']({'file':_0x24aecf,'publicKey':this['editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':this['controller']['signal'],'onProgress':_0x137378=>{_0x137378&&_0x137378['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x137378['value']);}})['then'](async _0x5276e0=>{const {imageFallbackUrl:_0x35d370,imageSources:_0xe0d2b7}=C(_0x5276e0['cdnUrl'],_0x5276e0['imageInfo']['width']);return{'uploadcareImageId':_0x5276e0['uuid'],'default':_0x35d370,'sources':_0xe0d2b7};})['catch'](()=>{const _0x1f9dc9=t('Cannot\x20upload\x20file:')+('\x20'+_0x24aecf['name']+'.');return Promise['reject'](_0x1f9dc9);});}['abort'](){this['controller']['abort']();}}class o extends _0x53c973{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',f,_0x8856d5];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['ucContextId'];get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}constructor(_0x4a03ce){super(_0x4a03ce),this['ucContextId']=_0x589210();}['init'](){const _0x3c75c1=this['editor'];_0x3c75c1['commands']['add']('uploadcare',new w(_0x3c75c1));}['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 _0x419123=_0x444cad['document']['querySelector']('input[uploadcare-file-input]');_0x419123&&_0x419123['remove']();}),async function(_0x199ebc){const _0x2aa52b=_0x210d8b([0x68,0x67,0x50,0x36,0x38,0x70,0x71,0x63,0x37,0x4f,0x42,0x4a,0x78,0x39,0x75,0x33,0x7a,0x72,0x48,0x61,0x74,0x59,0x55,0x58,0x66,0x30,0x34,0x54,0x64,0x56,0x6b,0x4d,0x46,0x6d,0x77,0x43,0x73,0x35,0x53,0x44,0x41,0x76,0x6a,0x32,0x31,0x69,0x57,0x51,0x47,0x65,0x5a,0x4b,0x4c,0x79,0x52,0x6c,0x45,0x4e,0x6e,0x6f,0x49,0x62]),_0x21e510=0x535f8c3a,_0x33e995=0x5358f09a^_0x21e510,_0x4b25bd=window[_0x210d8b([0x44,0x61,0x74,0x65])][_0x210d8b([0x6e,0x6f,0x77])](),_0x5de693=_0x199ebc[_0x210d8b([0x65,0x64,0x69,0x74,0x6f,0x72])],_0xda51fc=new window[(_0x210d8b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x32b693=>{_0x5de693[_0x210d8b([0x6f,0x6e,0x63,0x65])](_0x210d8b([0x72,0x65,0x61,0x64,0x79]),_0x32b693);}),_0x5b015c={[_0x210d8b([0x6b,0x74,0x79])]:_0x210d8b([0x45,0x43]),[_0x210d8b([0x75,0x73,0x65])]:_0x210d8b([0x73,0x69,0x67]),[_0x210d8b([0x63,0x72,0x76])]:_0x210d8b([0x50,0x2d,0x32,0x35,0x36]),[_0x210d8b([0x78])]:_0x210d8b([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]),[_0x210d8b([0x79])]:_0x210d8b([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]),[_0x210d8b([0x61,0x6c,0x67])]:_0x210d8b([0x45,0x53,0x32,0x35,0x36])},_0x58161d=_0x5de693[_0x210d8b([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x210d8b([0x67,0x65,0x74])](_0x210d8b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4d7b35(){let _0x9adf9e,_0x2475de=null,_0x48d2e3=null;try{if(_0x58161d==_0x210d8b([0x47,0x50,0x4c]))return _0x210d8b([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x9adf9e=_0x3f267f(),!_0x9adf9e)return _0x210d8b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x9adf9e[_0x210d8b([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x48d2e3=_0x47866f(_0x9adf9e[_0x210d8b([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x9adf9e[_0x210d8b([0x6a,0x74,0x69])])),await _0x4ac1e2()?_0x30985f()?_0x5c1bcd()?_0x210d8b([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x51a5f1()?(_0x9adf9e[_0x210d8b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x210d8b([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2475de=_0x347d4e(_0x210d8b([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x9adf9e[_0x210d8b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x210d8b([0x74,0x72,0x69,0x61,0x6c])&&(_0x2475de=_0x347d4e(_0x210d8b([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4d258b()):_0x210d8b([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x210d8b([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x210d8b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x210d8b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x5c1bcd(){const _0x2565c7=[_0x210d8b([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x210d8b([0x74,0x72,0x69,0x61,0x6c])][_0x210d8b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x9adf9e[_0x210d8b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x4b25bd/0x3e8:0xe10*_0x33e995;return _0x9adf9e[_0x210d8b([0x65,0x78,0x70])]<_0x2565c7;}function _0x30985f(){const _0x1fc300=_0x9adf9e[_0x210d8b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x1fc300&&(!!_0x1fc300[_0x210d8b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x210d8b([0x2a]))||!!_0x1fc300[_0x210d8b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x210d8b([0x55,0x50,0x4c,0x43])));}function _0x51a5f1(){const _0x781409=_0x9adf9e[_0x210d8b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x781409||0x0==_0x781409[_0x210d8b([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x5ea41b}=new URL(window[_0x210d8b([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x781409[_0x210d8b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5ea41b))return!0x0;const _0x4a4cae=_0x5ea41b[_0x210d8b([0x73,0x70,0x6c,0x69,0x74])](_0x210d8b([0x2e]));return _0x781409[_0x210d8b([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x36fd76=>_0x36fd76[_0x210d8b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x210d8b([0x2a])))[_0x210d8b([0x6d,0x61,0x70])](_0x5eefb5=>_0x5eefb5[_0x210d8b([0x73,0x70,0x6c,0x69,0x74])](_0x210d8b([0x2e])))[_0x210d8b([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4d5210=>_0x4d5210[_0x210d8b([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x4a4cae[_0x210d8b([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x210d8b([0x6d,0x61,0x70])](_0x14f2d6=>Array(_0x4a4cae[_0x210d8b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x14f2d6[_0x210d8b([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x210d8b([0x66,0x69,0x6c,0x6c])](_0x14f2d6[0x0]===_0x210d8b([0x2a])?_0x210d8b([0x2a]):'')[_0x210d8b([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x14f2d6))[_0x210d8b([0x73,0x6f,0x6d,0x65])](_0x1a885b=>_0x4a4cae[_0x210d8b([0x65,0x76,0x65,0x72,0x79])]((_0x4fa709,_0x4e2e81)=>_0x1a885b[_0x4e2e81]===_0x4fa709||_0x1a885b[_0x4e2e81]===_0x210d8b([0x2a])));}function _0x4d258b(){return _0x2475de&&_0x48d2e3?new window[(_0x210d8b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x474868,_0xac9e3d)=>{_0x2475de[_0x210d8b([0x74,0x68,0x65,0x6e])](_0x474868,_0xac9e3d),_0x48d2e3[_0x210d8b([0x74,0x68,0x65,0x6e])](_0x3ec15c=>{_0x3ec15c!=_0x210d8b([0x56,0x61,0x6c,0x69,0x64])&&_0x474868(_0x3ec15c);},_0xac9e3d);}):_0x2475de||_0x48d2e3||_0x210d8b([0x56,0x61,0x6c,0x69,0x64]);}}function _0x47866f(_0x13f5fe,_0x5e3e1a){return new window[(_0x210d8b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1d9632=>{if(_0x2a6e48())return _0x1d9632(_0x210d8b([0x56,0x61,0x6c,0x69,0x64]));_0x523b1c(),_0x5de693[_0x210d8b([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x210d8b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x29b5af=!0x1;const _0x4dd8c4=_0x589210();function _0x3272a3(_0x3e2c40){return!!_0x3e2c40&&(typeof _0x3e2c40===_0x210d8b([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3e2c40===_0x210d8b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3e2c40[_0x210d8b([0x74,0x68,0x65,0x6e])]===_0x210d8b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3e2c40[_0x210d8b([0x63,0x61,0x74,0x63,0x68])]===_0x210d8b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x2503b2(_0x277a5a){_0xe60292(_0x277a5a)[_0x210d8b([0x74,0x68,0x65,0x6e])](_0x32f8bd=>{if(!_0x32f8bd||_0x32f8bd[_0x210d8b([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x210d8b([0x6f,0x6b]))return _0x210d8b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x49b820(_0x5e384f(_0x4dd8c4+_0x5e3e1a))!=_0x32f8bd[_0x210d8b([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x210d8b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x210d8b([0x56,0x61,0x6c,0x69,0x64]);})[_0x210d8b([0x74,0x68,0x65,0x6e])](_0x332166=>(_0x383883(),_0x332166),()=>{const _0x354837=_0xf051f4();return null==_0x354837?(_0x383883(),_0x210d8b([0x56,0x61,0x6c,0x69,0x64])):_0x210d8b(_0x4b25bd-_0x354837>(0x7753083a^_0x21e510)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x210d8b([0x74,0x68,0x65,0x6e])](_0x1d9632)[_0x210d8b([0x63,0x61,0x74,0x63,0x68])](()=>{_0x1d9632(_0x210d8b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1cc5b3=0x536962ba^_0x21e510;function _0x383883(){const _0x3e5b74=_0x210d8b([0x6c,0x6c,0x63,0x74,0x2d])+_0x49b820(_0x5e384f(_0x13f5fe)),_0x499db1=_0x14bd77(_0x49b820(window[_0x210d8b([0x4d,0x61,0x74,0x68])][_0x210d8b([0x63,0x65,0x69,0x6c])](_0x4b25bd/_0x1cc5b3)));window[_0x210d8b([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x210d8b([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3e5b74,_0x499db1);}function _0xf051f4(){const _0x5a4dbe=_0x210d8b([0x6c,0x6c,0x63,0x74,0x2d])+_0x49b820(_0x5e384f(_0x13f5fe)),_0x51856c=window[_0x210d8b([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x210d8b([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5a4dbe);return _0x51856c?window[_0x210d8b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x14bd77(_0x51856c),0x10)*_0x1cc5b3:null;}function _0xe60292(_0x1f8507){return new window[(_0x210d8b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xd5a3e0,_0x344466)=>{_0x1f8507[_0x210d8b([0x74,0x68,0x65,0x6e])](_0xd5a3e0,_0x344466),window[_0x210d8b([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x344466,0x535e58fa^_0x21e510);});}}_0x5de693[_0x210d8b([0x6f,0x6e])](_0x210d8b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x3155e2,_0x4e0eab)=>{if(_0x4e0eab[0x0]!=_0x13f5fe)return _0x1d9632(_0x210d8b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4e0eab[0x1]={..._0x4e0eab[0x1],[_0x210d8b([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x4dd8c4};},{[_0x210d8b([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x210d8b([0x68,0x69,0x67,0x68])}),_0x5de693[_0x210d8b([0x6f,0x6e])](_0x210d8b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2ae867=>{_0x3272a3(_0x2ae867[_0x210d8b([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x29b5af=!0x0,_0x2503b2(_0x2ae867[_0x210d8b([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x210d8b([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x210d8b([0x6c,0x6f,0x77])}),_0xda51fc[_0x210d8b([0x74,0x68,0x65,0x6e])](()=>{_0x29b5af||_0x1d9632(_0x210d8b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2a6e48(){return _0x5de693[_0x210d8b([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x210d8b([0x76,0x69,0x65,0x77])][_0x210d8b([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x210d8b([0x61,0x75,0x74,0x6f]);}function _0x523b1c(){_0x5de693[_0x210d8b([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x210d8b([0x76,0x69,0x65,0x77])][_0x210d8b([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x210d8b([0x61,0x75,0x74,0x6f]);}}function _0x347d4e(_0x4df3b2){const _0x11f1d7=[new window[(_0x210d8b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x270b95=>setTimeout(_0x270b95,0x5356b2f6^_0x21e510)),_0xda51fc[_0x210d8b([0x74,0x68,0x65,0x6e])](()=>new window[(_0x210d8b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x280d57=>{let _0x423b87=0x0;_0x5de693[_0x210d8b([0x6d,0x6f,0x64,0x65,0x6c])][_0x210d8b([0x6f,0x6e])](_0x210d8b([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0xcd1e13,_0x995e75)=>{_0x995e75[0x0][_0x210d8b([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x423b87++,_0x423b87==(0x535f89d2^_0x21e510)&&(_0x280d57(),_0xcd1e13[_0x210d8b([0x6f,0x66,0x66])]());});}))];return window[_0x210d8b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x210d8b([0x72,0x61,0x63,0x65])](_0x11f1d7)[_0x210d8b([0x74,0x68,0x65,0x6e])](()=>_0x4df3b2);}async function _0x5ae691(){await _0xda51fc,_0x5de693[_0x210d8b([0x6d,0x6f,0x64,0x65,0x6c])][_0x210d8b([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x42e839,_0x5de693[_0x210d8b([0x6d,0x6f,0x64,0x65,0x6c])][_0x210d8b([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x42e839,_0x5de693[_0x210d8b([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x210d8b([0x6d,0x6f,0x64,0x65,0x6c]));}function _0xd523e0(_0x108b2f){const _0x265287=_0x183e39();_0x5de693[_0x265287]=_0x210d8b([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x108b2f,_0x108b2f!=_0x210d8b([0x56,0x61,0x6c,0x69,0x64])&&_0x5ae691();}function _0x183e39(){const _0x5a208e=window[_0x210d8b([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x210d8b([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x210d8b([0x6e,0x6f,0x77])]())[_0x210d8b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x210d8b([0x2e]),'');let _0x35e538=_0x210d8b([0x68]);for(let _0x49f31f=0x0;_0x49f31f<_0x5a208e[_0x210d8b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x49f31f+=0x2){let _0x24d5ba=window[_0x210d8b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5a208e[_0x210d8b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x49f31f,_0x49f31f+0x2));_0x24d5ba>=_0x2aa52b[_0x210d8b([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x24d5ba-=_0x2aa52b[_0x210d8b([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x35e538+=_0x2aa52b[_0x24d5ba];}return _0x35e538;}function _0x3f267f(){const _0x4a74ce=_0x58161d[_0x210d8b([0x73,0x70,0x6c,0x69,0x74])](_0x210d8b([0x2e]));if(0x3!=_0x4a74ce[_0x210d8b([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x21dd2e(_0x4a74ce[0x1]);function _0x21dd2e(_0x22c870){const _0x133a5e=_0x467846(_0x22c870);return _0x133a5e&&_0x569818()?_0x133a5e:null;function _0x569818(){const _0x53048b=_0x133a5e[_0x210d8b([0x6a,0x74,0x69])],_0x4be558=window[_0x210d8b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x53048b[_0x210d8b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x53048b[_0x210d8b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0xa2be6={..._0x133a5e,[_0x210d8b([0x6a,0x74,0x69])]:_0x53048b[_0x210d8b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x53048b[_0x210d8b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0xa2be6[_0x210d8b([0x76,0x63])],_0x5e384f(_0xa2be6)==_0x4be558;}}}async function _0x4ac1e2(){let _0x5bdc31=!0x0;try{const _0x1aac5b=_0x58161d[_0x210d8b([0x73,0x70,0x6c,0x69,0x74])](_0x210d8b([0x2e])),[_0x964325,_0xab568e,_0x14f90b]=_0x1aac5b;return _0x141bba(_0x964325),await _0x467016(_0x964325,_0xab568e,_0x14f90b),_0x5bdc31;}catch{return!0x1;}function _0x141bba(_0x46459e){const _0x13ed8c=_0x467846(_0x46459e);_0x13ed8c&&_0x13ed8c[_0x210d8b([0x61,0x6c,0x67])]==_0x210d8b([0x45,0x53,0x32,0x35,0x36])||(_0x5bdc31=!0x1);}async function _0x467016(_0x8242f6,_0x31e2bf,_0x458f0d){const _0xc50619=window[_0x210d8b([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x210d8b([0x66,0x72,0x6f,0x6d])](_0x547e26(_0x458f0d),_0xdc8eb0=>_0xdc8eb0[_0x210d8b([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x213b7c=new window[(_0x210d8b([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x210d8b([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x8242f6+_0x210d8b([0x2e])+_0x31e2bf),_0x405a63=window[_0x210d8b([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x210d8b([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x405a63)return;const _0x3c16fa=await _0x405a63[_0x210d8b([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x210d8b([0x6a,0x77,0x6b]),_0x5b015c,{[_0x210d8b([0x6e,0x61,0x6d,0x65])]:_0x210d8b([0x45,0x43,0x44,0x53,0x41]),[_0x210d8b([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x210d8b([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x210d8b([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x405a63[_0x210d8b([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x210d8b([0x6e,0x61,0x6d,0x65])]:_0x210d8b([0x45,0x43,0x44,0x53,0x41]),[_0x210d8b([0x68,0x61,0x73,0x68])]:{[_0x210d8b([0x6e,0x61,0x6d,0x65])]:_0x210d8b([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x3c16fa,_0xc50619,_0x213b7c)||(_0x5bdc31=!0x1);}}function _0x467846(_0x3ba771){return _0x3ba771[_0x210d8b([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x210d8b([0x65,0x79]))?JSON[_0x210d8b([0x70,0x61,0x72,0x73,0x65])](_0x547e26(_0x3ba771)):null;}function _0x547e26(_0x4fb38b){return window[_0x210d8b([0x61,0x74,0x6f,0x62])](_0x4fb38b[_0x210d8b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x210d8b([0x2b]))[_0x210d8b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x210d8b([0x2f])));}function _0x5e384f(_0x12509c){let _0x1749f8=0x1505;function _0x1bc96c(_0x480b5f){for(let _0x83e799=0x0;_0x83e799<_0x480b5f[_0x210d8b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x83e799++){const _0xdbfb51=_0x480b5f[_0x210d8b([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x83e799);_0x1749f8=(_0x1749f8<<0x5)+_0x1749f8+_0xdbfb51,_0x1749f8&=_0x1749f8;}}function _0x44e191(_0x293c04){Array[_0x210d8b([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x293c04)?_0x293c04[_0x210d8b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x44e191):_0x293c04&&typeof _0x293c04==_0x210d8b([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x210d8b([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x293c04)[_0x210d8b([0x73,0x6f,0x72,0x74])]()[_0x210d8b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x23e99b,_0x5c7e8d])=>{_0x1bc96c(_0x23e99b),_0x44e191(_0x5c7e8d);}):_0x1bc96c(window[_0x210d8b([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x293c04));}return _0x44e191(_0x12509c),_0x1749f8>>>0x0;}function _0x49b820(_0xeb9a26){return _0xeb9a26[_0x210d8b([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x210d8b([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x210d8b([0x30]));}function _0x14bd77(_0x11be1e){return _0x11be1e[_0x210d8b([0x73,0x70,0x6c,0x69,0x74])]('')[_0x210d8b([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x210d8b([0x6a,0x6f,0x69,0x6e])]('');}function _0x42e839(){}function _0x210d8b(_0x1c448a){return _0x1c448a['map'](_0x496dfb=>String['fromCharCode'](_0x496dfb))['join']('');}_0xd523e0(await _0x4d7b35());}(this);}['_initSchema'](){const _0x46f73d=this['editor']['model']['schema'];_0x46f73d['isRegistered']('imageBlock')&&_0x46f73d['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x46f73d['isRegistered']('imageInline')&&_0x46f73d['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x33e943=this['editor'];_0x33e943['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x33e943['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x168dae=>_0x168dae['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x30a1b3=_0x33e943['commands']['get']('replaceImageSource');_0x30a1b3&&this['listenTo'](_0x30a1b3,'cleanupImage',(_0x1b2ada,[_0x16ac39,_0x18936e])=>{_0x16ac39['removeAttribute']('uploadcareImageId',_0x18936e);});}['_initConfig'](){const _0x9dbbaf=this['editor']['config']['get']('uploadcare.uploader')||{},_0x28d1b4=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x2ea481(_0x444cad['document'],'uc-config',{..._0x9dbbaf,'pubkey':_0x28d1b4,'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']=_0x1f725a=>{if('closeMax'==_0x1f725a)return'#uc-icon-arrow-down';},_0x444cad['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x2ea481(_0x444cad['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),_0x444cad['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x3e7ef0=this['editor']['commands']['get']('insertImage');_0x3e7ef0&&this['listenTo'](_0x3e7ef0,'execute',()=>{const _0x5dac16=this['editor']['model']['document']['selection']['getSelectedElement']();_0x5dac16&&_0x5dac16['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x5dac16);});});const _0x3c1a2e=this['editor']['commands']['get']('uploadcareImageReplace');_0x3c1a2e&&this['listenTo'](_0x3c1a2e,'execute',()=>{const _0x31e88f=this['editor']['model']['document']['selection']['getSelectedElement']();_0x31e88f&&_0x31e88f['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x31e88f);});});}}class tt extends _0x53c973{static get['requires'](){return[o,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x3cadb7){super(_0x3cadb7),_0x3cadb7['config']['define']('uploadcare.uploader.sourceList',[i['Local'],i['URL']]),_0x5830b0['defineComponents'](_0x5830b0),this['_defineLocale']();}['_defineLocale'](){const _0x338b14=this['editor']['config']['get']('uploadcare.locale'),_0x4d048e=this['editor']['locale']['contentLanguage'];_0x338b14&&_0x5830b0['defineLocale'](_0x4d048e,_0x338b14);}}class ii extends _0x258107{constructor(_0x41740d){super(_0x41740d);const t=_0x41740d['t'],_0xc12f05=this['bindTemplate'],_0x3c111f=new _0x301ce6();_0x3c111f['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':[_0x3c111f,{'text':_0xc12f05['to']('imageUploadProgress',_0x1d7b0c=>t('Loading\x20image...')+'\x20('+(_0x1d7b0c||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 _0x258107{constructor(_0x3c7c27){super(_0x3c7c27);const t=_0x3c7c27['t'];this['set']('errorType',null);const _0x2f73fd=new _0x4c0157(_0x3c7c27);_0x2f73fd['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x2f73fd['withText']=!0x0,_0x2f73fd['class']='ck-button-action',_0x2f73fd['on']('execute',()=>{this['fire']('retry');}),_0x2f73fd['bind']('isVisible')['to'](this,'errorType',_0xbc5056=>'NotFound'!==_0xbc5056);const _0x36d08b=new _0xd1358d();_0x36d08b['content']=_0x56530c,_0x36d08b['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x40fe46=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':[_0x36d08b,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x40fe46['to']('errorType',_0x158160=>t('NotFound'!==_0x158160?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x2f73fd]},{'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 _0x258107{constructor(_0x48fcab,_0x2f68cd){super(_0x48fcab);const _0x178ee2=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x2f68cd,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x178ee2['to']('imageSrc')}});}}class X extends F{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x17d10c,_0x5b0b69,_0x86855a){super(_0x17d10c),this['_items']=this['createCollection'](),this['_loadingView']=new ii(_0x17d10c),this['_errorView']=new ti(_0x17d10c),this['_editingView']=new ei(_0x17d10c,_0x86855a),this['_focusableView']=new _0x258107(_0x17d10c),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x5b0b69),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'],_0x5d6b7f=>{this['_addUploadcareImageEditorListeners'](_0x5d6b7f);});}),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'](_0x1c51e2,_0x313bc9){const _0x419829='uc-cloud-image-editor',_0x1be233=_0x1c51e2['querySelector'](_0x419829);if(_0x1be233)return _0x313bc9(_0x1be233);const _0x80fc=new MutationObserver(_0x2277b8=>{const _0x40643e=_0x2277b8['filter'](_0x5b005e=>_0x5b005e['target']===_0x1c51e2&&_0x5b005e['addedNodes']['length']>0x0&&_0x5b005e['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x419829);_0x40643e['length']&&(_0x80fc['disconnect'](),_0x313bc9(_0x40643e[0x0]['addedNodes'][0x0]));});_0x80fc['observe'](_0x1c51e2,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x357c26){_0x357c26['addEventListener']('apply',_0x3c4040=>{this['fire']('apply',{'imageSrc':_0x3c4040['detail']['cdnUrl']});}),_0x357c26['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class N extends/* #__PURE__ -- @preserve */
25
+ _0x587fcc(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x17880b,_0x4698c1,_0x5d4b1b){super(),this['_editor']=_0x17880b,this['_dialog']=_0x4698c1,this['_imageElement']=_0x5d4b1b,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 _0x36a491=this['_imageElement'],_0x3923af=_0x36a491['getAttribute']('uploadcareImageId'),_0x4096a2=_0x36a491['getAttribute']('src');if(_0x3923af)await this['_loadImageInfo'](_0x3923af,_0x4096a2);else{if(this['_imageCache']['has'](_0x4096a2)){const _0x517171=this['_imageCache']['get'](_0x4096a2);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x517171['url'],this['imageDimension']=_0x517171['dimension'],this['imageId']=_0x517171['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x16adb3}=this['_editor'],t=_0x16adb3['t'],_0x257eed=new X(_0x16adb3,this['imageStatus'],this['_attributes']);_0x257eed['bind']('status')['to'](this,'imageStatus'),_0x257eed['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x257eed['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x257eed['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x257eed,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x2ef421,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x257eed,'position':_0x385524['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x257eed['focus']();},'onHide':()=>{_0x257eed['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x562050=>!A(_0x562050,_0x257eed['element'])}});}['_loadImageInfo'](_0x136fee,_0x5205f9){return j['getInfo'](_0x136fee,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x11116c=>{const {width:_0xbeeec7,height:_0x1ddfc9}=_0x11116c['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x5205f9,this['imageDimension']={'width':_0xbeeec7,'height':_0x1ddfc9},this['imageId']=_0x136fee;})['catch'](_0x126cd5=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x126cd5['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x2400b5,_0x2554c8){return this['_getImageAsFile'](_0x2400b5)['then'](_0x38b9f9=>j['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['_editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':_0x2554c8['signal'],'file':_0x38b9f9,'onProgress':_0x3577c7=>{_0x3577c7&&_0x3577c7['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x3577c7['value']));}}))['then'](_0x1a4e38=>{const {width:_0xebb665,height:_0x4f5c16}=_0x1a4e38['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x1a4e38['cdnUrl'],this['imageDimension']={'width':_0xebb665,'height':_0x4f5c16},this['imageId']=_0x1a4e38['uuid'],this['imageUploadProgress']=null;const _0x535805=_0x2400b5['getAttribute']('src');this['_imageCache']['set'](_0x535805,{'id':_0x1a4e38['uuid'],'url':_0x1a4e38['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x1e67fc=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x1e67fc['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x427bb2,_0x55db96){_0x427bb2['on']('apply',(_0x16040b,_0x16cf60)=>{this['_replaceImage'](_0x55db96,_0x16cf60['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x427bb2['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x427bb2['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0xedfad2,_0x5a546a,_0x58eddf){const _0x575cbc=this['_editor'],{width:_0x5830f6,height:_0x23d1f4}=S(_0x5a546a,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x230b9f,imageSources:_0x595db5}=C(_0x5a546a,_0x5830f6);_0x575cbc['model']['change'](_0x2f856b=>{if('$graveyard'===_0xedfad2['root']['rootName']){_0x575cbc['execute']('insertImage',{'imageType':_0xedfad2['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0xedfad2['getAttributes']()),'uploadcareImageId':_0x58eddf,'src':_0x230b9f,'sources':_0x595db5,'width':_0x5830f6,'height':_0x23d1f4}});const _0x1f8257=_0xedfad2['getChildren']();_0xedfad2=_0x575cbc['model']['document']['selection']['getSelectedElement']();for(const _0x5df8d2 of _0x1f8257)_0x2f856b['append'](_0x2f856b['cloneElement'](_0x5df8d2),_0xedfad2);}else _0x2f856b['setSelection'](_0xedfad2,'on'),_0x575cbc['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0xedfad2['getAttributes']()),'uploadcareImageId':_0x58eddf,'src':_0x230b9f,'sources':_0x595db5,'width':_0x5830f6,'height':_0x23d1f4},_0xedfad2);_0x2f856b['setSelection'](_0xedfad2,'on');});}async['_getImageAsFile'](_0x2437d6){const _0xc47e7d=_0x444cad['window'],_0x14e434=_0x444cad['document']['location']['href'],_0x2198b0=new _0xc47e7d['URL'](_0x2437d6['getAttribute']('src'),_0x14e434);if('data:'===_0x2198b0['protocol']){const _0x4daa82=_0x2198b0['href']['split'](','),_0x266073=_0x4daa82[0x0]['match'](/:(.*?);/)[0x1],_0x4953d=_0x266073['split']('/')[0x1],_0x256cbd=_0xc47e7d['atob'](_0x4daa82[_0x4daa82['length']-0x1]);let _0x2dca9f=_0x256cbd['length'];const _0xc1a902=new _0xc47e7d['Uint8Array'](_0x2dca9f);for(;_0x2dca9f--;)_0xc1a902[_0x2dca9f]=_0x256cbd['charCodeAt'](_0x2dca9f);return new _0xc47e7d['File']([_0xc1a902],'image.'+_0x4953d,{'type':_0x266073});}const _0x293f7d=_0x2198b0['href']['split']('/'),_0x349bc2=_0x293f7d[_0x293f7d['length']-0x1],_0x441cf8=_0x349bc2['split']('.')[0x1];return _0xc47e7d['fetch'](_0x2198b0['href'])['then'](_0x4fc265=>_0x4fc265['clone']()['blob']())['then'](_0x49e54f=>new _0xc47e7d['File']([_0x49e54f],_0x349bc2,{'type':'image/'+_0x441cf8}));}}class Q extends _0x3ed51b{['imageEditController'];static get['requires'](){return[_0x8856d5];}['_isEditable'];constructor(_0x2f3b0b){super(_0x2f3b0b),this['imageEditController']=void 0x0,this['_isEditable']=function(_0xcee24b){const _0x117509=z(_0xcee24b);return _0x39ab62=>!(!_0x39ab62||!_0x39ab62['is']('element','imageBlock')&&!_0x39ab62['is']('element','imageInline'))&&(!!_0x39ab62['hasAttribute']('uploadcareImageId')||!!_0x39ab62['hasAttribute']('src')&&_0x117509(_0x39ab62['getAttribute']('src')));}(_0x2f3b0b['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x45d180=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x45d180);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x146d1b=this['editor']['model']['document']['selection']['getSelectedElement']();_0x146d1b&&(_0x146d1b['is']('element','imageBlock')||_0x146d1b['is']('element','imageInline'))&&(this['imageEditController']=new N(this['editor'],this['editor']['plugins']['get'](_0x8856d5),_0x146d1b),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class V extends _0x3ed51b{['refresh'](){const _0x1b1c4e=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x1b1c4e&&(_0x1b1c4e['is']('element','imageBlock')||_0x1b1c4e['is']('element','imageInline')));}['execute'](_0xce41bf){const _0x54cbe6=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x454f85=>{_0x454f85['setAttributes'](_0xce41bf,_0x54cbe6),_0x454f85['removeAttribute']('srcset',_0x54cbe6),_0x454f85['removeAttribute']('sizes',_0x54cbe6);});}}class m extends _0x53c973{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[o,_0x19d053,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x1047e9}=this;_0x1047e9['commands']['add']('uploadcareImageEdit',new Q(_0x1047e9)),_0x1047e9['commands']['add']('uploadcareImageReplace',new V(_0x1047e9));}}class g extends _0x53c973{['_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 _0x177058=this['editor'];_0x177058['ui']['componentFactory']['add']('uploadcareImageEdit',_0x477d7c=>{const _0x2fffe6=_0x177058['commands']['get']('uploadcareImageEdit'),_0x1b6b69=new _0x4c0157(_0x477d7c),t=_0x477d7c['t'];return _0x1b6b69['set']({'icon':_0x2ef421,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x1b6b69['bind']('isEnabled')['to'](_0x2fffe6),_0x1b6b69['bind']('isOn')['to'](_0x2fffe6,'isActive'),this['listenTo'](_0x1b6b69,'execute',()=>{_0x177058['execute']('uploadcareImageEdit'),_0x177058['editing']['view']['focus']();}),_0x1b6b69;}),this['_initConfig']();}['_initConfig'](){const _0x2c40a0=_0x2ea481(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x2c40a0),this['listenTo'](this['editor'],'destroy',()=>{_0x2c40a0['remove']();});}}class et extends _0x53c973{static get['pluginName'](){return'UploadcareImageEdit';}static get['requires'](){return[m,g];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{tt as Uploadcare,w as UploadcareCommand,o as UploadcareEditing,et as UploadcareImageEdit,Q as UploadcareImageEditCommand,m as UploadcareImageEditEditing,g as UploadcareImageEditUI,e as UploadcareUI,f as UploadcareUploadAdapter};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'af':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x157536=>0x1!=_0x157536}};
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':_0x2e5d4a=>0x1!=_0x2e5d4a}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x1a0edc=>{const {af:{dictionary:_0x169911,getPluralForm:_0x4b277a}}={'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':_0x44b460=>0x1!=_0x44b460}};_0x1a0edc['af']||={'dictionary':{},'getPluralForm':null},_0x1a0edc['af']['dictionary']=Object['assign'](_0x1a0edc['af']['dictionary'],_0x169911),_0x1a0edc['af']['getPluralForm']=_0x4b277a;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x7f84d2=>{const {af:{dictionary:_0x89feae,getPluralForm:_0x188e36}}={'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':_0x1053d8=>0x1!=_0x1053d8}};_0x7f84d2['af']||={'dictionary':{},'getPluralForm':null},_0x7f84d2['af']['dictionary']=Object['assign'](_0x7f84d2['af']['dictionary'],_0x89feae),_0x7f84d2['af']['getPluralForm']=_0x188e36;})(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':_0x1ad47c=>0x0==_0x1ad47c?0x0:0x1==_0x1ad47c?0x1:0x2==_0x1ad47c?0x2:_0x1ad47c%0x64>=0x3&&_0x1ad47c%0x64<=0xa?0x3:_0x1ad47c%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':_0x11448c=>0x0==_0x11448c?0x0:0x1==_0x11448c?0x1:0x2==_0x11448c?0x2:_0x11448c%0x64>=0x3&&_0x11448c%0x64<=0xa?0x3:_0x11448c%0x64>=0xb?0x4:0x5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x2c35bf=>{const {ar:{dictionary:_0x3217af,getPluralForm:_0x1356dd}}={'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':_0x22b3a9=>0x0==_0x22b3a9?0x0:0x1==_0x22b3a9?0x1:0x2==_0x22b3a9?0x2:_0x22b3a9%0x64>=0x3&&_0x22b3a9%0x64<=0xa?0x3:_0x22b3a9%0x64>=0xb?0x4:0x5}};_0x2c35bf['ar']||={'dictionary':{},'getPluralForm':null},_0x2c35bf['ar']['dictionary']=Object['assign'](_0x2c35bf['ar']['dictionary'],_0x3217af),_0x2c35bf['ar']['getPluralForm']=_0x1356dd;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x23ee9e=>{const {ar:{dictionary:_0x52baa9,getPluralForm:_0x29537d}}={'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':_0x1ee856=>0x0==_0x1ee856?0x0:0x1==_0x1ee856?0x1:0x2==_0x1ee856?0x2:_0x1ee856%0x64>=0x3&&_0x1ee856%0x64<=0xa?0x3:_0x1ee856%0x64>=0xb?0x4:0x5}};_0x23ee9e['ar']||={'dictionary':{},'getPluralForm':null},_0x23ee9e['ar']['dictionary']=Object['assign'](_0x23ee9e['ar']['dictionary'],_0x52baa9),_0x23ee9e['ar']['getPluralForm']=_0x29537d;})(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':_0x4aab68=>0x1!=_0x4aab68}};
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':_0x5c364c=>0x1!=_0x5c364c}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x633312=>{const {ast:{dictionary:_0x3f9a9d,getPluralForm:_0x347a1d}}={'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':_0x1243f7=>0x1!=_0x1243f7}};_0x633312['ast']||={'dictionary':{},'getPluralForm':null},_0x633312['ast']['dictionary']=Object['assign'](_0x633312['ast']['dictionary'],_0x3f9a9d),_0x633312['ast']['getPluralForm']=_0x347a1d;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x179281=>{const {ast:{dictionary:_0x130705,getPluralForm:_0x34f511}}={'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':_0x5f5439=>0x1!=_0x5f5439}};_0x179281['ast']||={'dictionary':{},'getPluralForm':null},_0x179281['ast']['dictionary']=Object['assign'](_0x179281['ast']['dictionary'],_0x130705),_0x179281['ast']['getPluralForm']=_0x34f511;})(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':_0x3d114a=>0x1!=_0x3d114a}};
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':_0x5d5ef0=>0x1!=_0x5d5ef0}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x3f7365=>{const {az:{dictionary:_0x470027,getPluralForm:_0x51a0ef}}={'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':_0x344f75=>0x1!=_0x344f75}};_0x3f7365['az']||={'dictionary':{},'getPluralForm':null},_0x3f7365['az']['dictionary']=Object['assign'](_0x3f7365['az']['dictionary'],_0x470027),_0x3f7365['az']['getPluralForm']=_0x51a0ef;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x5637f8=>{const {az:{dictionary:_0x5adc9f,getPluralForm:_0x1b878b}}={'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':_0x308bff=>0x1!=_0x308bff}};_0x5637f8['az']||={'dictionary':{},'getPluralForm':null},_0x5637f8['az']['dictionary']=Object['assign'](_0x5637f8['az']['dictionary'],_0x5adc9f),_0x5637f8['az']['getPluralForm']=_0x1b878b;})(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':_0x1c6a22=>_0x1c6a22%0xa==0x1&&_0x1c6a22%0x64!=0xb?0x0:_0x1c6a22%0xa>=0x2&&_0x1c6a22%0xa<=0x4&&(_0x1c6a22%0x64<0xa||_0x1c6a22%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':_0x39d683=>_0x39d683%0xa==0x1&&_0x39d683%0x64!=0xb?0x0:_0x39d683%0xa>=0x2&&_0x39d683%0xa<=0x4&&(_0x39d683%0x64<0xa||_0x39d683%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x3d569c=>{const {be:{dictionary:_0x4c85a9,getPluralForm:_0x552ae8}}={'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':_0x2f61de=>_0x2f61de%0xa==0x1&&_0x2f61de%0x64!=0xb?0x0:_0x2f61de%0xa>=0x2&&_0x2f61de%0xa<=0x4&&(_0x2f61de%0x64<0xa||_0x2f61de%0x64>=0x14)?0x1:0x2}};_0x3d569c['be']||={'dictionary':{},'getPluralForm':null},_0x3d569c['be']['dictionary']=Object['assign'](_0x3d569c['be']['dictionary'],_0x4c85a9),_0x3d569c['be']['getPluralForm']=_0x552ae8;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x3d0622=>{const {be:{dictionary:_0x2107b4,getPluralForm:_0x2e0672}}={'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':_0x45d3e2=>_0x45d3e2%0xa==0x1&&_0x45d3e2%0x64!=0xb?0x0:_0x45d3e2%0xa>=0x2&&_0x45d3e2%0xa<=0x4&&(_0x45d3e2%0x64<0xa||_0x45d3e2%0x64>=0x14)?0x1:0x2}};_0x3d0622['be']||={'dictionary':{},'getPluralForm':null},_0x3d0622['be']['dictionary']=Object['assign'](_0x3d0622['be']['dictionary'],_0x2107b4),_0x3d0622['be']['getPluralForm']=_0x2e0672;})(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':_0x51c317=>0x1!=_0x51c317}};
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':_0x1d4973=>0x1!=_0x1d4973}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x2a11e2=>{const {bg:{dictionary:_0x75bed7,getPluralForm:_0x468206}}={'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':_0x4a0ed4=>0x1!=_0x4a0ed4}};_0x2a11e2['bg']||={'dictionary':{},'getPluralForm':null},_0x2a11e2['bg']['dictionary']=Object['assign'](_0x2a11e2['bg']['dictionary'],_0x75bed7),_0x2a11e2['bg']['getPluralForm']=_0x468206;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x3e2dfe=>{const {bg:{dictionary:_0x143fcc,getPluralForm:_0x6a895}}={'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':_0x1ae39b=>0x1!=_0x1ae39b}};_0x3e2dfe['bg']||={'dictionary':{},'getPluralForm':null},_0x3e2dfe['bg']['dictionary']=Object['assign'](_0x3e2dfe['bg']['dictionary'],_0x143fcc),_0x3e2dfe['bg']['getPluralForm']=_0x6a895;})(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':_0x3ff386=>0x1!=_0x3ff386}};
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':_0xa53a3f=>0x1!=_0xa53a3f}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x31aba6=>{const {bn:{dictionary:_0x5336ed,getPluralForm:_0x189e9a}}={'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':_0x9e951e=>0x1!=_0x9e951e}};_0x31aba6['bn']||={'dictionary':{},'getPluralForm':null},_0x31aba6['bn']['dictionary']=Object['assign'](_0x31aba6['bn']['dictionary'],_0x5336ed),_0x31aba6['bn']['getPluralForm']=_0x189e9a;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x3dadfe=>{const {bn:{dictionary:_0x24c589,getPluralForm:_0x355478}}={'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':_0x290f25=>0x1!=_0x290f25}};_0x3dadfe['bn']||={'dictionary':{},'getPluralForm':null},_0x3dadfe['bn']['dictionary']=Object['assign'](_0x3dadfe['bn']['dictionary'],_0x24c589),_0x3dadfe['bn']['getPluralForm']=_0x355478;})(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':_0x39299f=>_0x39299f%0xa==0x1&&_0x39299f%0x64!=0xb?0x0:_0x39299f%0xa>=0x2&&_0x39299f%0xa<=0x4&&(_0x39299f%0x64<0xa||_0x39299f%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':_0x3b61b2=>_0x3b61b2%0xa==0x1&&_0x3b61b2%0x64!=0xb?0x0:_0x3b61b2%0xa>=0x2&&_0x3b61b2%0xa<=0x4&&(_0x3b61b2%0x64<0xa||_0x3b61b2%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x503dc1=>{const {bs:{dictionary:_0x548d18,getPluralForm:_0x470b47}}={'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':_0xe11473=>_0xe11473%0xa==0x1&&_0xe11473%0x64!=0xb?0x0:_0xe11473%0xa>=0x2&&_0xe11473%0xa<=0x4&&(_0xe11473%0x64<0xa||_0xe11473%0x64>=0x14)?0x1:0x2}};_0x503dc1['bs']||={'dictionary':{},'getPluralForm':null},_0x503dc1['bs']['dictionary']=Object['assign'](_0x503dc1['bs']['dictionary'],_0x548d18),_0x503dc1['bs']['getPluralForm']=_0x470b47;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x334fc5=>{const {bs:{dictionary:_0x56b3bf,getPluralForm:_0x787235}}={'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':_0x3471e7=>_0x3471e7%0xa==0x1&&_0x3471e7%0x64!=0xb?0x0:_0x3471e7%0xa>=0x2&&_0x3471e7%0xa<=0x4&&(_0x3471e7%0x64<0xa||_0x3471e7%0x64>=0x14)?0x1:0x2}};_0x334fc5['bs']||={'dictionary':{},'getPluralForm':null},_0x334fc5['bs']['dictionary']=Object['assign'](_0x334fc5['bs']['dictionary'],_0x56b3bf),_0x334fc5['bs']['getPluralForm']=_0x787235;})(window['CKEDITOR_TRANSLATIONS']||={});