@ckeditor/ckeditor5-uploadcare 46.0.0-alpha.0 → 46.0.0-alpha.2

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 _0x2b631a,Command as _0x5474e0}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x29c00d,IconGooglePhotos as _0x599ef3,IconGoogleDrive as _0x2e4200,IconFacebook as _0x2bb54e,IconDropbox as _0xd59dfd,IconUploadcareLink as _0x35bc73,IconUploadcareImageUpload as _0x4fe539,IconError as _0x1ded43,IconUploadcareImageEdit as _0x364002}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x3e512e,MenuBarMenuListItemButtonView as _0x8eee56,View as _0x2fe1b2,FocusCycler as _0x1ba751,Dialog as _0x170bfe,DialogViewPosition as _0x182982,SpinnerView as _0x2bff5a,IconView as _0x48209c,Notification as _0x27de56}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x54daa3,DomEmitterMixin as _0x36a661,global as _0x3a53c9,getAncestors as _0x5a21d7,ObservableMixin as _0x5cf3c6,uid as _0x276b8e,createElement as _0x4b8c50}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x22d3f3}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x122436,info as _0x4ce6a4}from'@uploadcare/upload-client';import*as _0x26078e from'@uploadcare/file-uploader';var i=function(_0x38a265){return _0x38a265['Local']='local',_0x38a265['URL']='url',_0x38a265['Dropbox']='dropbox',_0x38a265['GDrive']='gdrive',_0x38a265['Facebook']='facebook',_0x38a265['GPhotos']='gphotos',_0x38a265['OneDrive']='onedrive',_0x38a265;}({});function _(_0x5dedcd,_0x622201,_0x12e798){const t=_0x5dedcd['t'],_0x4391e8=_0x5dedcd['t'];switch(_0x622201){case i['Local']:return{'text':_0x4391e8('Insert'===_0x12e798?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x4391e8('From\x20computer')};case i['URL']:return{'text':'Insert'===_0x12e798?_0x4391e8('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x4391e8('Via\x20URL')};case i['Dropbox']:return{'text':t('Insert'===_0x12e798?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case i['Facebook']:return{'text':t('Insert'===_0x12e798?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case i['GDrive']:return{'text':t('Insert'===_0x12e798?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case i['GPhotos']:return{'text':t('Insert'===_0x12e798?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case i['OneDrive']:return{'text':t('Insert'===_0x12e798?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x622201;}}class e extends _0x2b631a{['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 _0x12b802=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x3062ae;for(const _0x4aec2c in _0x12b802){const _0x3bf031=_0x4aec2c,_0x5b2866=_0x12b802[_0x3bf031];if('uploadcareLicenseKeyValid'==_0x5b2866||'uploadcareLicenseKeyInvalid'==_0x5b2866||'uploadcareLicenseKeyExpired'==_0x5b2866||'uploadcareLicenseKeyDomainLimit'==_0x5b2866||'uploadcareLicenseKeyNotAllowed'==_0x5b2866||'uploadcareLicenseKeyEvaluationLimit'==_0x5b2866||'uploadcareLicenseKeyTrialLimit'==_0x5b2866||'uploadcareLicenseKeyUsageLimit'==_0x5b2866){delete _0x12b802[_0x3bf031],_0x3062ae=_0x5b2866,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x3062ae&&_0x12b802['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x3062ae&&_0x12b802['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x3062ae&&_0x12b802['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x3062ae&&_0x12b802['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x3062ae&&_0x12b802['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0x3062ae&&_0x12b802['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0x3062ae&&_0x12b802['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x18c6f4}=this,_0x240096=_0x18c6f4['commands']['get']('uploadcare');if(!_0x240096)return;const _0x8a8af9=this['_normalizeConfigSourceList'](_0x18c6f4['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x30176b,_0x3c9899)=>{const _0x13c207=this['_getIntegrationKey'](_0x3c9899['type']);return _0x30176b[_0x13c207]||(_0x30176b[_0x13c207]=[]),_0x30176b[_0x13c207]['push'](_0x3c9899),_0x30176b;},{});_0x18c6f4['plugins']['has']('ImageInsertUI')&&_0x18c6f4['commands']['get']('uploadcare')&&Object['entries'](_0x8a8af9)['forEach'](([_0x228761,_0x16fb32])=>{_0x18c6f4['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x228761,'observable':()=>_0x240096,'buttonViewCreator':()=>this['_createToolbarButton'](_0x16fb32),'formViewCreator':()=>this['_createDropdownButtons'](_0x16fb32),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x16fb32),'override':'assetManager'!==_0x228761});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x4fb9ad){const {locale:_0x508712}=this['editor'];return _0x4fb9ad['map'](_0x2c6aa2=>{const _0xf57001=_(_0x508712,_0x2c6aa2,'Insert');switch(_0x2c6aa2){case i['Local']:return{'icon':_0x4fe539,'type':i['Local'],..._0xf57001};case i['URL']:return{'icon':_0x35bc73,'type':i['URL'],..._0xf57001};case i['Dropbox']:return{'icon':_0xd59dfd,'type':i['Dropbox'],..._0xf57001};case i['Facebook']:return{'icon':_0x2bb54e,'type':i['Facebook'],..._0xf57001};case i['GDrive']:return{'icon':_0x2e4200,'type':i['GDrive'],..._0xf57001};case i['GPhotos']:return{'icon':_0x599ef3,'type':i['GPhotos'],..._0xf57001};case i['OneDrive']:return{'icon':_0x29c00d,'type':i['OneDrive'],..._0xf57001};}});}['_getIntegrationKey'](_0x218154){switch(_0x218154){case i['Local']:return'upload';case i['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x23a77f,_0x19ec2b){const _0x67947d=this['editor'],_0x3fca76=new _0x23a77f(_0x67947d['locale']),_0x28f812=_0x67947d['commands']['get']('uploadcare');return _0x3fca76['bind']('isEnabled')['to'](_0x28f812),_0x3fca76['on']('execute',()=>{_0x28f812['execute'](_0x19ec2b);}),_0x3fca76;}['_createToolbarButton'](_0x3947aa){const {locale:_0x505b3a}=this['editor'],_0x2d693f=this['editor']['plugins']['get']('ImageInsertUI'),_0x327f2b=_0x3947aa[0x0],_0x3838a9=this['_createButton'](_0x3e512e,_0x327f2b['type']);return _0x3838a9['icon']=_0x327f2b['icon'],_0x3838a9['bind']('label')['to'](_0x2d693f,'isImageSelected',_0xdc6bc6=>_(_0x505b3a,_0x327f2b['type'],_0xdc6bc6?'Replace':'Insert')['text']),_0x3838a9['tooltip']=!0x0,_0x3838a9;}['_createDropdownButtons'](_0x594208){const {locale:_0x1b2028}=this['editor'],_0x4648af=this['editor']['plugins']['get']('ImageInsertUI');return _0x594208['map'](_0x587e3d=>{const _0x32303b=this['_createButton'](_0x3e512e,_0x587e3d['type']);return _0x32303b['withText']=!0x0,_0x32303b['icon']=_0x587e3d['icon'],_0x32303b['bind']('label')['to'](_0x4648af,'isImageSelected',_0x38dd36=>_(_0x1b2028,_0x587e3d['type'],_0x38dd36?'Replace':'Insert')['text']),_0x32303b;});}['_createMenuBarButtons'](_0x15c5b7){return _0x15c5b7['map'](_0x306ff2=>{const _0x26ba56=this['_createButton'](_0x8eee56,_0x306ff2['type']);return _0x26ba56['icon']=_0x306ff2['icon'],_0x26ba56['label']=_0x306ff2['shortText'],_0x26ba56;});}}class F extends _0x2fe1b2{['focusTracker'];['focusCycler'];constructor(_0x121953){super(_0x121953),this['focusTracker']=new _0x54daa3(),this['focusCycler']=new _0x1ba751({'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(_0x3a01f1,_0x384133){super(_0x3a01f1),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-'+_0x384133}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function k(_0x421f29,_0x431718){const _0x5b6621=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x28bcb4=>_0x28bcb4<=_0x431718)['map'](_0x43a795=>_0x421f29['replace'](/\/$/,'')+'/-/resize/'+_0x43a795+'x/\x20'+_0x43a795+'w');return{'imageFallbackUrl':_0x421f29,'imageSources':[{'srcset':_0x5b6621['join'](',\x20'),'sizes':'(max-width:\x20'+_0x431718+'px)\x20100vw,\x20'+_0x431718+'px','type':'image/webp'}]};}function C(_0x18604c,_0x3a4567,_0x3078b1){const _0x40a6cc=_0x18604c['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x40a6cc?parseInt(_0x40a6cc[0x1],0xa):_0x3a4567,'height':_0x40a6cc?parseInt(_0x40a6cc[0x2],0xa):_0x3078b1};}function p(_0x2dc99c,_0x54d725){const _0xd55a71=new(_0x36a661())(),_0x9ba812=_0x2dc99c['plugins']['get']('ImageUtils'),_0x5ed198=_0x2dc99c['editing']['mapper']['toViewElement'](_0x54d725),_0x2abb9d=_0x9ba812['findViewImgElement'](_0x5ed198),_0xa565f9=_0x2dc99c['editing']['view']['domConverter']['viewToDom'](_0x2abb9d),_0x28a106=_0x54d725['getAttribute']('width'),_0x1e5e24=_0x54d725['getAttribute']('height'),_0x58be0b='image-processing';_0x2dc99c['editing']['view']['change'](_0x3a3e64=>{_0x3a3e64['addClass'](_0x58be0b,_0x5ed198),_0x3a3e64['setStyle']('aspect-ratio',_0x28a106+'/'+_0x1e5e24,_0x2abb9d);}),_0xd55a71['listenTo'](_0xa565f9,'load',()=>{_0xd55a71['stopListening'](_0xa565f9,'load'),_0x2dc99c['editing']['view']['change'](_0x30b5e3=>{_0x30b5e3['removeClass'](_0x58be0b,_0x5ed198),_0x30b5e3['removeStyle']('aspect-ratio',_0x2abb9d);});});}function G(_0x584b3c){if(Array['isArray'](_0x584b3c)){const _0x21c4b7=_0x584b3c['map'](G);return _0x40fc63=>_0x21c4b7['some'](_0x10b387=>_0x10b387(_0x40fc63));}if('origin'==_0x584b3c){const _0x2b5dd6=_0x3a53c9['window']['location']['origin'];return _0x2683bb=>new URL(_0x2683bb,_0x3a53c9['document']['baseURI'])['origin']==_0x2b5dd6;}return'function'==typeof _0x584b3c?_0x584b3c:_0x584b3c instanceof RegExp?_0xb71455=>!(!_0xb71455['match'](_0x584b3c)&&!_0xb71455['replace'](/^https?:\/\//,'')['match'](_0x584b3c)):()=>!0x1;}function S(_0x406d04,_0x37da22){return _0x5a21d7(_0x406d04['target'])['includes'](_0x37da22);}class n extends/* #__PURE__ -- @preserve */
24
- _0x5cf3c6(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x54a28b,_0x602667,_0x55b594){super(),this['_editor']=_0x54a28b,this['_editing']=_0x602667,this['_dialog']=_0x54a28b['plugins']['get'](_0x170bfe),this['_api']=_0x602667['ctxElement']['getAPI'](),this['_type']=_0x55b594,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:_0x4c0622,model:_0xb70fad}=this['_editor'],_0x1f4014=_0xb70fad['document']['selection']['getSelectedElement'](),_0x36def8=_0x1f4014&&(_0x1f4014['is']('element','imageBlock')||_0x1f4014['is']('element','imageInline'));this['_formView']=new x(_0x4c0622,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':_0x4fe539,'title':_(_0x4c0622,this['_type'],_0x36def8?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x182982['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x5f2672=>!S(_0x5f2672,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x365c94}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x3d9a18=>{const _0x5f33e5=_0x365c94['length'];for(const _0x5ea2c0 of _0x365c94){const _0x43e005=_0x5ea2c0===_0x365c94[_0x5f33e5-0x1],{cdnUrl:_0x8250bc,fileInfo:_0x394983}=_0x5ea2c0;if(!_0x8250bc||!_0x394983)continue;const {width:_0x4a55ff,height:_0x36cfb8}=_0x394983['imageInfo'],_0x36e683=C(_0x8250bc,_0x4a55ff,_0x36cfb8),_0x2877c9=k(_0x8250bc,_0x36e683['width']),_0x263221={'id':_0x394983['uuid'],'type':'image','attributes':{'imageDimension':_0x36e683,..._0x2877c9}};this['_insertAsset'](_0x263221,_0x43e005,_0x3d9a18);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x5d63af=>{'idle'===_0x5d63af['detail']['status']&&!_0x5d63af['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===i['Local']?this['_api']['setCurrentActivity'](i['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x500e50,_0x2527f2,_0x4ba3bc){const _0x5566d1=this['_editor']['model']['document']['selection'],_0x4145d3=_0x5566d1['getSelectedElement'](),_0x31608b=!(!_0x4145d3||!_0x4145d3['is']('element','imageInline'));_0x4ba3bc['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x500e50,_0x31608b),_0x2527f2||_0x4ba3bc['setSelection'](_0x5566d1['getLastPosition']());}['_insertImage'](_0x32677a,_0x1f7b01){const _0x1dfed3=this['_editor'],{imageDimension:_0x466fae,imageFallbackUrl:_0x4e7372,imageSources:_0x53e98a}=_0x32677a['attributes'];_0x1dfed3['execute']('insertImage',{'imageType':_0x1f7b01?'imageInline':null,'source':{'uploadcareImageId':_0x32677a['id'],'src':_0x4e7372,'sources':_0x53e98a,..._0x466fae}});}}class w extends _0x5474e0{['_editing'];['_controller']=null;static get['requires'](){return[_0x170bfe,o];}constructor(_0x50596c){super(_0x50596c),this['_editing']=_0x50596c['plugins']['get'](o);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x5d1e6e){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new n(this['editor'],this['_editing'],_0x5d1e6e);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class j{static['upload']({file:_0x3658ce,publicKey:_0x4c6f4e,signal:_0x5056af,onProgress:_0x4d7ecf}){return _0x122436(_0x3658ce,{'publicKey':_0x4c6f4e,'store':'auto','signal':_0x5056af,'onProgress':_0x4d7ecf});}static['getInfo'](_0x1f1333,_0x2448ee){return _0x4ce6a4(_0x1f1333,_0x2448ee);}}class f extends _0x2b631a{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x22d3f3,o];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x860dc4=this['editor'];if(!!!_0x860dc4['config']['get']('uploadcare'))return;_0x860dc4['plugins']['get'](_0x22d3f3)['createUploadAdapter']=_0x697768=>new A(_0x697768,_0x860dc4),_0x860dc4['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x3a8327,{imageElement:_0x535ed0,data:_0x2fe19e})=>{_0x860dc4['model']['change'](_0x5b988d=>{_0x5b988d['setAttribute']('uploadcareImageId',_0x2fe19e['uploadcareImageId'],_0x535ed0);});});}}class A{['loader'];['editor'];['controller'];constructor(_0x668d25,_0x129a9f){this['loader']=_0x668d25,this['editor']=_0x129a9f,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x3e48d4=this['editor']['config']['get']('uploadcare.pubkey'),_0x98b19b=await this['loader']['file'];return j['upload']({'file':_0x98b19b,'publicKey':_0x3e48d4,'signal':this['controller']['signal'],'onProgress':_0x4778fc=>{_0x4778fc&&_0x4778fc['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x4778fc['value']);}})['then'](async _0x3469ee=>{const {imageFallbackUrl:_0x5a782b,imageSources:_0x58312b}=k(_0x3469ee['cdnUrl'],_0x3469ee['imageInfo']['width']);return{'uploadcareImageId':_0x3469ee['uuid'],'default':_0x5a782b,'sources':_0x58312b};})['catch'](()=>{const _0x4ae32d=t('Cannot\x20upload\x20file:')+('\x20'+_0x98b19b['name']+'.');return Promise['reject'](_0x4ae32d);});}['abort'](){this['controller']['abort']();}}class o extends _0x2b631a{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',f,_0x170bfe];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['ucContextId'];get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}constructor(_0x2af21d){super(_0x2af21d),this['ucContextId']=_0x276b8e();}['init'](){const _0x5807dc=this['editor'];_0x5807dc['commands']['add']('uploadcare',new w(_0x5807dc));}['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 _0x4b010e=_0x3a53c9['document']['querySelector']('input[uploadcare-file-input]');_0x4b010e&&_0x4b010e['remove']();}),async function(_0x1bb8fc){const _0xe9be80=_0x22b2b5([0x6a,0x68,0x62,0x52,0x4e,0x6f,0x58,0x39,0x42,0x6b,0x7a,0x78,0x6c,0x67,0x37,0x54,0x64,0x47,0x77,0x34,0x75,0x56,0x66,0x48,0x73,0x4a,0x6e,0x53,0x31,0x46,0x45,0x38,0x51,0x36,0x70,0x6d,0x59,0x69,0x65,0x63,0x71,0x61,0x43,0x30,0x57,0x32,0x76,0x5a,0x4b,0x4c,0x4f,0x35,0x72,0x50,0x55,0x41,0x79,0x49,0x74,0x4d,0x44,0x33]),_0x18ed54=0x16f2b914,_0x37a81d=0x16f5d544^_0x18ed54,_0x4cf758=window[_0x22b2b5([0x44,0x61,0x74,0x65])][_0x22b2b5([0x6e,0x6f,0x77])](),_0x45e7a0=_0x1bb8fc[_0x22b2b5([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x103627=new window[(_0x22b2b5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x57e07b=>{_0x45e7a0[_0x22b2b5([0x6f,0x6e,0x63,0x65])](_0x22b2b5([0x72,0x65,0x61,0x64,0x79]),_0x57e07b);}),_0x2a39ae={[_0x22b2b5([0x6b,0x74,0x79])]:_0x22b2b5([0x45,0x43]),[_0x22b2b5([0x75,0x73,0x65])]:_0x22b2b5([0x73,0x69,0x67]),[_0x22b2b5([0x63,0x72,0x76])]:_0x22b2b5([0x50,0x2d,0x32,0x35,0x36]),[_0x22b2b5([0x78])]:_0x22b2b5([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]),[_0x22b2b5([0x79])]:_0x22b2b5([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]),[_0x22b2b5([0x61,0x6c,0x67])]:_0x22b2b5([0x45,0x53,0x32,0x35,0x36])},_0x2dd82b=_0x45e7a0[_0x22b2b5([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x22b2b5([0x67,0x65,0x74])](_0x22b2b5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x36b227(){let _0x40b1e1,_0x57bd05=null,_0x57ede0=null;try{if(_0x2dd82b==_0x22b2b5([0x47,0x50,0x4c]))return _0x22b2b5([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x40b1e1=_0x5b91f8(),!_0x40b1e1)return _0x22b2b5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x40b1e1[_0x22b2b5([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x57ede0=_0x771b72(_0x40b1e1[_0x22b2b5([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x40b1e1[_0x22b2b5([0x6a,0x74,0x69])])),await _0x31b7cc()?_0xb6baaa()?_0x1aebfc()?_0x22b2b5([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x130f51()?(_0x40b1e1[_0x22b2b5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x22b2b5([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x57bd05=_0x2affe9(_0x22b2b5([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x40b1e1[_0x22b2b5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x22b2b5([0x74,0x72,0x69,0x61,0x6c])&&(_0x57bd05=_0x2affe9(_0x22b2b5([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x3b177e()):_0x22b2b5([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x22b2b5([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x22b2b5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x22b2b5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x1aebfc(){const _0x3407f4=[_0x22b2b5([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x22b2b5([0x74,0x72,0x69,0x61,0x6c])][_0x22b2b5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x40b1e1[_0x22b2b5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x4cf758/0x3e8:0xe10*_0x37a81d;return _0x40b1e1[_0x22b2b5([0x65,0x78,0x70])]<_0x3407f4;}function _0xb6baaa(){const _0x831b10=_0x40b1e1[_0x22b2b5([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x831b10&&(!!_0x831b10[_0x22b2b5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x22b2b5([0x2a]))||!!_0x831b10[_0x22b2b5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x22b2b5([0x55,0x50,0x4c,0x43])));}function _0x130f51(){const _0x5d23cd=_0x40b1e1[_0x22b2b5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5d23cd||0x0==_0x5d23cd[_0x22b2b5([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x59e693}=new URL(window[_0x22b2b5([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x5d23cd[_0x22b2b5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x59e693))return!0x0;const _0x373b4e=_0x59e693[_0x22b2b5([0x73,0x70,0x6c,0x69,0x74])](_0x22b2b5([0x2e]));return _0x5d23cd[_0x22b2b5([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x303d03=>_0x303d03[_0x22b2b5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x22b2b5([0x2a])))[_0x22b2b5([0x6d,0x61,0x70])](_0x427156=>_0x427156[_0x22b2b5([0x73,0x70,0x6c,0x69,0x74])](_0x22b2b5([0x2e])))[_0x22b2b5([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x35fb04=>_0x35fb04[_0x22b2b5([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x373b4e[_0x22b2b5([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x22b2b5([0x6d,0x61,0x70])](_0xb10372=>Array(_0x373b4e[_0x22b2b5([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0xb10372[_0x22b2b5([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x22b2b5([0x66,0x69,0x6c,0x6c])](_0xb10372[0x0]===_0x22b2b5([0x2a])?_0x22b2b5([0x2a]):'')[_0x22b2b5([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0xb10372))[_0x22b2b5([0x73,0x6f,0x6d,0x65])](_0x162a67=>_0x373b4e[_0x22b2b5([0x65,0x76,0x65,0x72,0x79])]((_0x41137e,_0x4a344e)=>_0x162a67[_0x4a344e]===_0x41137e||_0x162a67[_0x4a344e]===_0x22b2b5([0x2a])));}function _0x3b177e(){return _0x57bd05&&_0x57ede0?new window[(_0x22b2b5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x9d5c49,_0x575d7f)=>{_0x57bd05[_0x22b2b5([0x74,0x68,0x65,0x6e])](_0x9d5c49,_0x575d7f),_0x57ede0[_0x22b2b5([0x74,0x68,0x65,0x6e])](_0x30e95b=>{_0x30e95b!=_0x22b2b5([0x56,0x61,0x6c,0x69,0x64])&&_0x9d5c49(_0x30e95b);},_0x575d7f);}):_0x57bd05||_0x57ede0||_0x22b2b5([0x56,0x61,0x6c,0x69,0x64]);}}function _0x771b72(_0x44c416,_0x2ab1bd){return new window[(_0x22b2b5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x53e450=>{if(_0xd10f2a())return _0x53e450(_0x22b2b5([0x56,0x61,0x6c,0x69,0x64]));_0x5c7354(),_0x45e7a0[_0x22b2b5([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x22b2b5([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x3c5a4d=!0x1;const _0x1be945=_0x276b8e();function _0x4e2e72(_0x5cd7cc){return!!_0x5cd7cc&&(typeof _0x5cd7cc===_0x22b2b5([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x5cd7cc===_0x22b2b5([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x5cd7cc[_0x22b2b5([0x74,0x68,0x65,0x6e])]===_0x22b2b5([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x5cd7cc[_0x22b2b5([0x63,0x61,0x74,0x63,0x68])]===_0x22b2b5([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x2f13a4(_0x204c85){_0x4c2867(_0x204c85)[_0x22b2b5([0x74,0x68,0x65,0x6e])](_0x179717=>{if(!_0x179717||_0x179717[_0x22b2b5([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x22b2b5([0x6f,0x6b]))return _0x22b2b5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x41409a(_0xe1d9d(_0x1be945+_0x2ab1bd))!=_0x179717[_0x22b2b5([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x22b2b5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x22b2b5([0x56,0x61,0x6c,0x69,0x64]);})[_0x22b2b5([0x74,0x68,0x65,0x6e])](_0x44f52a=>(_0x3124bf(),_0x44f52a),()=>{const _0x399612=_0x46f564();return null==_0x399612?(_0x3124bf(),_0x22b2b5([0x56,0x61,0x6c,0x69,0x64])):_0x22b2b5(_0x4cf758-_0x399612>(0x32fe3d14^_0x18ed54)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x22b2b5([0x74,0x68,0x65,0x6e])](_0x53e450)[_0x22b2b5([0x63,0x61,0x74,0x63,0x68])](()=>{_0x53e450(_0x22b2b5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2ad9f1=0x16c45794^_0x18ed54;function _0x3124bf(){const _0x59ca0e=_0x22b2b5([0x6c,0x6c,0x63,0x74,0x2d])+_0x41409a(_0xe1d9d(_0x44c416)),_0x18ed95=_0x293107(_0x41409a(window[_0x22b2b5([0x4d,0x61,0x74,0x68])][_0x22b2b5([0x63,0x65,0x69,0x6c])](_0x4cf758/_0x2ad9f1)));window[_0x22b2b5([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x22b2b5([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x59ca0e,_0x18ed95);}function _0x46f564(){const _0x43ff64=_0x22b2b5([0x6c,0x6c,0x63,0x74,0x2d])+_0x41409a(_0xe1d9d(_0x44c416)),_0x25c40c=window[_0x22b2b5([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x22b2b5([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x43ff64);return _0x25c40c?window[_0x22b2b5([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x293107(_0x25c40c),0x10)*_0x2ad9f1:null;}function _0x4c2867(_0x32e8f5){return new window[(_0x22b2b5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x59f2f7,_0x533d27)=>{_0x32e8f5[_0x22b2b5([0x74,0x68,0x65,0x6e])](_0x59f2f7,_0x533d27),window[_0x22b2b5([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x533d27,0x16f36dd4^_0x18ed54);});}}_0x45e7a0[_0x22b2b5([0x6f,0x6e])](_0x22b2b5([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1b171a,_0xabd800)=>{if(_0xabd800[0x0]!=_0x44c416)return _0x53e450(_0x22b2b5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0xabd800[0x1]={..._0xabd800[0x1],[_0x22b2b5([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1be945};},{[_0x22b2b5([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x22b2b5([0x68,0x69,0x67,0x68])}),_0x45e7a0[_0x22b2b5([0x6f,0x6e])](_0x22b2b5([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5aff92=>{_0x4e2e72(_0x5aff92[_0x22b2b5([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x3c5a4d=!0x0,_0x2f13a4(_0x5aff92[_0x22b2b5([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x22b2b5([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x22b2b5([0x6c,0x6f,0x77])}),_0x103627[_0x22b2b5([0x74,0x68,0x65,0x6e])](()=>{_0x3c5a4d||_0x53e450(_0x22b2b5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0xd10f2a(){return _0x45e7a0[_0x22b2b5([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x22b2b5([0x76,0x69,0x65,0x77])][_0x22b2b5([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x22b2b5([0x61,0x75,0x74,0x6f]);}function _0x5c7354(){_0x45e7a0[_0x22b2b5([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x22b2b5([0x76,0x69,0x65,0x77])][_0x22b2b5([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x22b2b5([0x61,0x75,0x74,0x6f]);}}function _0x2affe9(_0x34b2ae){const _0xb6dd82=[new window[(_0x22b2b5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3513c7=>setTimeout(_0x3513c7,0x16fb87d8^_0x18ed54)),_0x103627[_0x22b2b5([0x74,0x68,0x65,0x6e])](()=>new window[(_0x22b2b5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2f6fef=>{let _0x2986e1=0x0;_0x45e7a0[_0x22b2b5([0x6d,0x6f,0x64,0x65,0x6c])][_0x22b2b5([0x6f,0x6e])](_0x22b2b5([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x3fc192,_0x321b3e)=>{_0x321b3e[0x0][_0x22b2b5([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2986e1++,_0x2986e1==(0x16f2b8ec^_0x18ed54)&&(_0x2f6fef(),_0x3fc192[_0x22b2b5([0x6f,0x66,0x66])]());});}))];return window[_0x22b2b5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x22b2b5([0x72,0x61,0x63,0x65])](_0xb6dd82)[_0x22b2b5([0x74,0x68,0x65,0x6e])](()=>_0x34b2ae);}async function _0x25f872(){await _0x103627,_0x45e7a0[_0x22b2b5([0x6d,0x6f,0x64,0x65,0x6c])][_0x22b2b5([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x182fb0,_0x45e7a0[_0x22b2b5([0x6d,0x6f,0x64,0x65,0x6c])][_0x22b2b5([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x182fb0,_0x45e7a0[_0x22b2b5([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x22b2b5([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x440e9a(_0x28baaf){const _0x47f206=_0x2b5548();_0x45e7a0[_0x47f206]=_0x22b2b5([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x28baaf,_0x28baaf!=_0x22b2b5([0x56,0x61,0x6c,0x69,0x64])&&_0x25f872();}function _0x2b5548(){const _0x164efe=window[_0x22b2b5([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x22b2b5([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x22b2b5([0x6e,0x6f,0x77])]())[_0x22b2b5([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x22b2b5([0x2e]),'');let _0x3d647c=_0x22b2b5([0x6a]);for(let _0x4a792a=0x0;_0x4a792a<_0x164efe[_0x22b2b5([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4a792a+=0x2){let _0x5420dd=window[_0x22b2b5([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x164efe[_0x22b2b5([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4a792a,_0x4a792a+0x2));_0x5420dd>=_0xe9be80[_0x22b2b5([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5420dd-=_0xe9be80[_0x22b2b5([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3d647c+=_0xe9be80[_0x5420dd];}return _0x3d647c;}function _0x5b91f8(){const _0x4bd16c=_0x2dd82b[_0x22b2b5([0x73,0x70,0x6c,0x69,0x74])](_0x22b2b5([0x2e]));if(0x3!=_0x4bd16c[_0x22b2b5([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x949fa4(_0x4bd16c[0x1]);function _0x949fa4(_0x476df5){const _0x2c1836=_0x57b91f(_0x476df5);return _0x2c1836&&_0x47d63f()?_0x2c1836:null;function _0x47d63f(){const _0x528bdb=_0x2c1836[_0x22b2b5([0x6a,0x74,0x69])],_0x289594=window[_0x22b2b5([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x528bdb[_0x22b2b5([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x528bdb[_0x22b2b5([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x3ca9c9={..._0x2c1836,[_0x22b2b5([0x6a,0x74,0x69])]:_0x528bdb[_0x22b2b5([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x528bdb[_0x22b2b5([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x3ca9c9[_0x22b2b5([0x76,0x63])],_0xe1d9d(_0x3ca9c9)==_0x289594;}}}async function _0x31b7cc(){let _0x174ab5=!0x0;try{const _0x757486=_0x2dd82b[_0x22b2b5([0x73,0x70,0x6c,0x69,0x74])](_0x22b2b5([0x2e])),[_0x43bea4,_0x351d02,_0x4f41ac]=_0x757486;return _0x17a6c7(_0x43bea4),await _0x532935(_0x43bea4,_0x351d02,_0x4f41ac),_0x174ab5;}catch{return!0x1;}function _0x17a6c7(_0x10a474){const _0x2db94e=_0x57b91f(_0x10a474);_0x2db94e&&_0x2db94e[_0x22b2b5([0x61,0x6c,0x67])]==_0x22b2b5([0x45,0x53,0x32,0x35,0x36])||(_0x174ab5=!0x1);}async function _0x532935(_0x1e2255,_0x54372a,_0x4deae4){const _0x33e604=window[_0x22b2b5([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x22b2b5([0x66,0x72,0x6f,0x6d])](_0x3b5174(_0x4deae4),_0x416c4c=>_0x416c4c[_0x22b2b5([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x522487=new window[(_0x22b2b5([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x22b2b5([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1e2255+_0x22b2b5([0x2e])+_0x54372a),_0x487716=window[_0x22b2b5([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x22b2b5([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x487716)return;const _0x350488=await _0x487716[_0x22b2b5([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x22b2b5([0x6a,0x77,0x6b]),_0x2a39ae,{[_0x22b2b5([0x6e,0x61,0x6d,0x65])]:_0x22b2b5([0x45,0x43,0x44,0x53,0x41]),[_0x22b2b5([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x22b2b5([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x22b2b5([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x487716[_0x22b2b5([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x22b2b5([0x6e,0x61,0x6d,0x65])]:_0x22b2b5([0x45,0x43,0x44,0x53,0x41]),[_0x22b2b5([0x68,0x61,0x73,0x68])]:{[_0x22b2b5([0x6e,0x61,0x6d,0x65])]:_0x22b2b5([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x350488,_0x33e604,_0x522487)||(_0x174ab5=!0x1);}}function _0x57b91f(_0x2ba567){return _0x2ba567[_0x22b2b5([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x22b2b5([0x65,0x79]))?JSON[_0x22b2b5([0x70,0x61,0x72,0x73,0x65])](_0x3b5174(_0x2ba567)):null;}function _0x3b5174(_0x16ec44){return window[_0x22b2b5([0x61,0x74,0x6f,0x62])](_0x16ec44[_0x22b2b5([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x22b2b5([0x2b]))[_0x22b2b5([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x22b2b5([0x2f])));}function _0xe1d9d(_0x38a391){let _0x20d35c=0x1505;function _0x14c95c(_0x3cd352){for(let _0x4d48ca=0x0;_0x4d48ca<_0x3cd352[_0x22b2b5([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4d48ca++){const _0x44def0=_0x3cd352[_0x22b2b5([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4d48ca);_0x20d35c=(_0x20d35c<<0x5)+_0x20d35c+_0x44def0,_0x20d35c&=_0x20d35c;}}function _0x122c52(_0x592038){Array[_0x22b2b5([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x592038)?_0x592038[_0x22b2b5([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x122c52):_0x592038&&typeof _0x592038==_0x22b2b5([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x22b2b5([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x592038)[_0x22b2b5([0x73,0x6f,0x72,0x74])]()[_0x22b2b5([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x48ff64,_0x5aa0c3])=>{_0x14c95c(_0x48ff64),_0x122c52(_0x5aa0c3);}):_0x14c95c(window[_0x22b2b5([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x592038));}return _0x122c52(_0x38a391),_0x20d35c>>>0x0;}function _0x41409a(_0x1da4fd){return _0x1da4fd[_0x22b2b5([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x22b2b5([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x22b2b5([0x30]));}function _0x293107(_0x520717){return _0x520717[_0x22b2b5([0x73,0x70,0x6c,0x69,0x74])]('')[_0x22b2b5([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x22b2b5([0x6a,0x6f,0x69,0x6e])]('');}function _0x182fb0(){}function _0x22b2b5(_0xa3a134){return _0xa3a134['map'](_0x1bee64=>String['fromCharCode'](_0x1bee64))['join']('');}_0x440e9a(await _0x36b227());}(this);}['_initSchema'](){const _0x50cd86=this['editor']['model']['schema'];_0x50cd86['isRegistered']('imageBlock')&&_0x50cd86['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x50cd86['isRegistered']('imageInline')&&_0x50cd86['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x5af2b3=this['editor'];_0x5af2b3['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x5af2b3['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x412172=>_0x412172['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x36e982=_0x5af2b3['commands']['get']('replaceImageSource');_0x36e982&&this['listenTo'](_0x36e982,'cleanupImage',(_0x1e695e,[_0x1f8c22,_0x3eebda])=>{_0x1f8c22['removeAttribute']('uploadcareImageId',_0x3eebda);});}['_initConfig'](){const _0xfa572c=this['editor']['config']['get']('uploadcare.uploader')||{},_0x364ffb=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x4b8c50(_0x3a53c9['document'],'uc-config',{..._0xfa572c,'pubkey':_0x364ffb,'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']=_0x411e6d=>{if('closeMax'==_0x411e6d)return'#uc-icon-arrow-down';},_0x3a53c9['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x4b8c50(_0x3a53c9['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),_0x3a53c9['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0xf0fa4b=this['editor']['commands']['get']('insertImage');_0xf0fa4b&&this['listenTo'](_0xf0fa4b,'execute',()=>{const _0x1e1afb=this['editor']['model']['document']['selection']['getSelectedElement']();_0x1e1afb&&_0x1e1afb['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x1e1afb);});});const _0x16cdf4=this['editor']['commands']['get']('uploadcareImageReplace');_0x16cdf4&&this['listenTo'](_0x16cdf4,'execute',()=>{const _0x30af27=this['editor']['model']['document']['selection']['getSelectedElement']();_0x30af27&&_0x30af27['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x30af27);});});}}class tt extends _0x2b631a{static get['requires'](){return[o,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x4d9090){super(_0x4d9090),_0x4d9090['config']['define']('uploadcare.uploader.sourceList',[i['Local'],i['URL']]),_0x26078e['defineComponents'](_0x26078e);}}class ii extends _0x2fe1b2{constructor(_0x46333a){super(_0x46333a);const t=_0x46333a['t'],_0x31a088=this['bindTemplate'],_0x368d5c=new _0x2bff5a();_0x368d5c['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':[_0x368d5c,{'text':_0x31a088['to']('imageUploadProgress',_0x25458c=>t('Loading\x20image...')+'\x20('+(_0x25458c||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 _0x2fe1b2{constructor(_0x4d7739){super(_0x4d7739);const t=_0x4d7739['t'];this['set']('errorType',null);const _0x322b48=new _0x3e512e(_0x4d7739);_0x322b48['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x322b48['withText']=!0x0,_0x322b48['class']='ck-button-action',_0x322b48['on']('execute',()=>{this['fire']('retry');}),_0x322b48['bind']('isVisible')['to'](this,'errorType',_0x3026cf=>'NotFound'!==_0x3026cf);const _0xc333d0=new _0x48209c();_0xc333d0['content']=_0x1ded43,_0xc333d0['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x1746f8=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':[_0xc333d0,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x1746f8['to']('errorType',_0x4d0322=>t('NotFound'!==_0x4d0322?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x322b48]},{'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 _0x2fe1b2{constructor(_0x4c41d8,_0xfe2cce){super(_0x4c41d8);const _0x19f90b=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0xfe2cce,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x19f90b['to']('imageSrc')}});}}class X extends F{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x367d3e,_0x27d354,_0xe441f5){super(_0x367d3e),this['_items']=this['createCollection'](),this['_loadingView']=new ii(_0x367d3e),this['_errorView']=new ti(_0x367d3e),this['_editingView']=new ei(_0x367d3e,_0xe441f5),this['_focusableView']=new _0x2fe1b2(_0x367d3e),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x27d354),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'],_0x3b0e03=>{this['_addUploadcareImageEditorListeners'](_0x3b0e03);});}),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'](_0x454974,_0x43087){const _0xc894d3='uc-cloud-image-editor',_0x10eeaa=_0x454974['querySelector'](_0xc894d3);if(_0x10eeaa)return _0x43087(_0x10eeaa);const _0x45abf1=new MutationObserver(_0x437f79=>{const _0x3b4f4c=_0x437f79['filter'](_0x10a572=>_0x10a572['target']===_0x454974&&_0x10a572['addedNodes']['length']>0x0&&_0x10a572['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0xc894d3);_0x3b4f4c['length']&&(_0x45abf1['disconnect'](),_0x43087(_0x3b4f4c[0x0]['addedNodes'][0x0]));});_0x45abf1['observe'](_0x454974,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x4746df){_0x4746df['addEventListener']('apply',_0xd43554=>{this['fire']('apply',{'imageSrc':_0xd43554['detail']['cdnUrl']});}),_0x4746df['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class E extends/* #__PURE__ -- @preserve */
25
- _0x5cf3c6(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x23e94b,_0x5cd2a7,_0x3d0a39){super(),this['_editor']=_0x23e94b,this['_dialog']=_0x5cd2a7,this['_imageElement']=_0x3d0a39,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 _0x13e129=this['_imageElement'],_0x42bac7=_0x13e129['getAttribute']('uploadcareImageId'),_0x7e112b=_0x13e129['getAttribute']('src');if(_0x42bac7)await this['_loadImageInfo'](_0x42bac7,_0x7e112b);else{if(this['_imageCache']['has'](_0x7e112b)){const _0x49bbbd=this['_imageCache']['get'](_0x7e112b);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x49bbbd['url'],this['imageDimension']=_0x49bbbd['dimension'],this['imageId']=_0x49bbbd['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x2cd3e3}=this['_editor'],t=_0x2cd3e3['t'],_0x40fedf=new X(_0x2cd3e3,this['imageStatus'],this['_attributes']);_0x40fedf['bind']('status')['to'](this,'imageStatus'),_0x40fedf['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x40fedf['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x40fedf['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x40fedf,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x364002,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x40fedf,'position':_0x182982['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x40fedf['focus']();},'onHide':()=>{_0x40fedf['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x2f0300=>!S(_0x2f0300,_0x40fedf['element'])}});}['_loadImageInfo'](_0x587256,_0xa663f){return j['getInfo'](_0x587256,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x5b942a=>{const {width:_0x2ca7fa,height:_0x3995ed}=_0x5b942a['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0xa663f,this['imageDimension']={'width':_0x2ca7fa,'height':_0x3995ed},this['imageId']=_0x587256;})['catch'](_0x279eef=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x279eef['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x35ccba,_0x2650d7){return this['_getImageAsFile'](_0x35ccba)['then'](_0x3a22b4=>j['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x2650d7['signal'],'file':_0x3a22b4,'onProgress':_0x585957=>{_0x585957&&_0x585957['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x585957['value']));}}))['then'](_0x54f6a0=>{const {width:_0x271171,height:_0x43a4ca}=_0x54f6a0['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x54f6a0['cdnUrl'],this['imageDimension']={'width':_0x271171,'height':_0x43a4ca},this['imageId']=_0x54f6a0['uuid'],this['imageUploadProgress']=null;const _0x5ce116=_0x35ccba['getAttribute']('src');this['_imageCache']['set'](_0x5ce116,{'id':_0x54f6a0['uuid'],'url':_0x54f6a0['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x5b6a2c=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x5b6a2c['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x46fb89,_0x3c4cb9){_0x46fb89['on']('apply',(_0x529120,_0x1c475a)=>{this['_replaceImage'](_0x3c4cb9,_0x1c475a['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x46fb89['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x46fb89['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x1f5a76,_0x2fd969,_0x2d0a5c){const _0x321884=this['_editor'],{width:_0x2179a7,height:_0x36ea91}=C(_0x2fd969,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x304bca,imageSources:_0x510222}=k(_0x2fd969,_0x2179a7);_0x321884['model']['change'](_0x7f0d09=>{if('$graveyard'===_0x1f5a76['root']['rootName']){_0x321884['execute']('insertImage',{'imageType':_0x1f5a76['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x1f5a76['getAttributes']()),'uploadcareImageId':_0x2d0a5c,'src':_0x304bca,'sources':_0x510222,'width':_0x2179a7,'height':_0x36ea91}});const _0x1761c9=_0x1f5a76['getChildren']();_0x1f5a76=_0x321884['model']['document']['selection']['getSelectedElement']();for(const _0x4c6434 of _0x1761c9)_0x7f0d09['append'](_0x7f0d09['cloneElement'](_0x4c6434),_0x1f5a76);}else _0x7f0d09['setSelection'](_0x1f5a76,'on'),_0x321884['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x1f5a76['getAttributes']()),'uploadcareImageId':_0x2d0a5c,'src':_0x304bca,'sources':_0x510222,'width':_0x2179a7,'height':_0x36ea91},_0x1f5a76);_0x7f0d09['setSelection'](_0x1f5a76,'on');});}async['_getImageAsFile'](_0x2f9cc7){const _0x11fd74=_0x3a53c9['window'],_0x44a5a2=_0x3a53c9['document']['location']['href'],_0xb42a08=new _0x11fd74['URL'](_0x2f9cc7['getAttribute']('src'),_0x44a5a2);if('data:'===_0xb42a08['protocol']){const _0x1e73fd=_0xb42a08['href']['split'](','),_0x436fa2=_0x1e73fd[0x0]['match'](/:(.*?);/)[0x1],_0x4f552f=_0x436fa2['split']('/')[0x1],_0x2dc1aa=_0x11fd74['atob'](_0x1e73fd[_0x1e73fd['length']-0x1]);let _0x2822b2=_0x2dc1aa['length'];const _0x57a20e=new _0x11fd74['Uint8Array'](_0x2822b2);for(;_0x2822b2--;)_0x57a20e[_0x2822b2]=_0x2dc1aa['charCodeAt'](_0x2822b2);return new _0x11fd74['File']([_0x57a20e],'image.'+_0x4f552f,{'type':_0x436fa2});}const _0x5e8c8f=_0xb42a08['href']['split']('/'),_0x45e5ca=_0x5e8c8f[_0x5e8c8f['length']-0x1],_0x5dcdec=_0x45e5ca['split']('.')[0x1];return _0x11fd74['fetch'](_0xb42a08['href'])['then'](_0x20ecbe=>_0x20ecbe['clone']()['blob']())['then'](_0x2adcf4=>new _0x11fd74['File']([_0x2adcf4],_0x45e5ca,{'type':'image/'+_0x5dcdec}));}}class O extends _0x5474e0{['imageEditController'];static get['requires'](){return[_0x170bfe];}['_isEditable'];constructor(_0x5bb8db){super(_0x5bb8db),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x560784){const _0x4b0a88=G(_0x560784);return _0x4fce29=>!(!_0x4fce29||!_0x4fce29['is']('element','imageBlock')&&!_0x4fce29['is']('element','imageInline'))&&(!!_0x4fce29['hasAttribute']('uploadcareImageId')||!!_0x4fce29['hasAttribute']('src')&&_0x4b0a88(_0x4fce29['getAttribute']('src')));}(_0x5bb8db['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0xc6feb2=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0xc6feb2);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x5a5e64=this['editor']['model']['document']['selection']['getSelectedElement']();_0x5a5e64&&(_0x5a5e64['is']('element','imageBlock')||_0x5a5e64['is']('element','imageInline'))&&(this['imageEditController']=new E(this['editor'],this['editor']['plugins']['get'](_0x170bfe),_0x5a5e64),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class R extends _0x5474e0{['refresh'](){const _0x2ccf23=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x2ccf23&&(_0x2ccf23['is']('element','imageBlock')||_0x2ccf23['is']('element','imageInline')));}['execute'](_0x40c87e){const _0x107e04=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x2f6746=>{_0x2f6746['setAttributes'](_0x40c87e,_0x107e04),_0x2f6746['removeAttribute']('srcset',_0x107e04),_0x2f6746['removeAttribute']('sizes',_0x107e04);});}}class m extends _0x2b631a{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[o,_0x27de56,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x45ba2e}=this;_0x45ba2e['commands']['add']('uploadcareImageEdit',new O(_0x45ba2e)),_0x45ba2e['commands']['add']('uploadcareImageReplace',new R(_0x45ba2e));}}class g extends _0x2b631a{['_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 _0x43b2d2=this['editor'];_0x43b2d2['ui']['componentFactory']['add']('uploadcareImageEdit',_0x3abe1b=>{const _0x33a9b0=_0x43b2d2['commands']['get']('uploadcareImageEdit'),_0x4802b9=new _0x3e512e(_0x3abe1b),t=_0x3abe1b['t'];return _0x4802b9['set']({'icon':_0x364002,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x4802b9['bind']('isEnabled')['to'](_0x33a9b0),_0x4802b9['bind']('isOn')['to'](_0x33a9b0,'isActive'),this['listenTo'](_0x4802b9,'execute',()=>{_0x43b2d2['execute']('uploadcareImageEdit'),_0x43b2d2['editing']['view']['focus']();}),_0x4802b9;}),this['_initConfig']();}['_initConfig'](){const _0x5386f5=_0x4b8c50(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x5386f5),this['listenTo'](this['editor'],'destroy',()=>{_0x5386f5['remove']();});}}class et extends _0x2b631a{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 _0x14c503,Command as _0x56a976}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x1721ee,IconGooglePhotos as _0x1fe223,IconGoogleDrive as _0x8e6ef2,IconFacebook as _0x386acd,IconDropbox as _0x4071f5,IconUploadcareLink as _0x42598a,IconUploadcareImageUpload as _0x19d022,IconError as _0x52ceee,IconUploadcareImageEdit as _0x24ac9e}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x5b8724,MenuBarMenuListItemButtonView as _0x33c3f7,View as _0x1ed597,FocusCycler as _0x47783c,Dialog as _0x8d3994,DialogViewPosition as _0x29d0bb,SpinnerView as _0x2290a6,IconView as _0x568869,Notification as _0xf8c991}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x120477,DomEmitterMixin as _0x586d5d,global as _0x435765,getAncestors as _0x2066e4,ObservableMixin as _0x17defa,uid as _0x1d3487,createElement as _0x452da8}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x3e5c6e}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x2824a9,info as _0x1e1bab}from'@uploadcare/upload-client';import*as _0x27d70a from'@uploadcare/file-uploader';var i=function(_0x30c09c){return _0x30c09c['Local']='local',_0x30c09c['URL']='url',_0x30c09c['Dropbox']='dropbox',_0x30c09c['GDrive']='gdrive',_0x30c09c['Facebook']='facebook',_0x30c09c['GPhotos']='gphotos',_0x30c09c['OneDrive']='onedrive',_0x30c09c;}({});function _(_0x28a713,_0x17d1fa,_0x47a2d0){const t=_0x28a713['t'],_0x3c78be=_0x28a713['t'];switch(_0x17d1fa){case i['Local']:return{'text':_0x3c78be('Insert'===_0x47a2d0?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x3c78be('From\x20computer')};case i['URL']:return{'text':'Insert'===_0x47a2d0?_0x3c78be('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x3c78be('Via\x20URL')};case i['Dropbox']:return{'text':t('Insert'===_0x47a2d0?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case i['Facebook']:return{'text':t('Insert'===_0x47a2d0?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case i['GDrive']:return{'text':t('Insert'===_0x47a2d0?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case i['GPhotos']:return{'text':t('Insert'===_0x47a2d0?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case i['OneDrive']:return{'text':t('Insert'===_0x47a2d0?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x17d1fa;}}class e extends _0x14c503{['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 _0x1399b2=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x5cd9b8;for(const _0x517814 in _0x1399b2){const _0x59d1d4=_0x517814,_0x4c6248=_0x1399b2[_0x59d1d4];if('uploadcareLicenseKeyValid'==_0x4c6248||'uploadcareLicenseKeyInvalid'==_0x4c6248||'uploadcareLicenseKeyExpired'==_0x4c6248||'uploadcareLicenseKeyDomainLimit'==_0x4c6248||'uploadcareLicenseKeyNotAllowed'==_0x4c6248||'uploadcareLicenseKeyEvaluationLimit'==_0x4c6248||'uploadcareLicenseKeyTrialLimit'==_0x4c6248||'uploadcareLicenseKeyUsageLimit'==_0x4c6248){delete _0x1399b2[_0x59d1d4],_0x5cd9b8=_0x4c6248,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x5cd9b8&&_0x1399b2['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x5cd9b8&&_0x1399b2['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x5cd9b8&&_0x1399b2['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x5cd9b8&&_0x1399b2['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x5cd9b8&&_0x1399b2['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0x5cd9b8&&_0x1399b2['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0x5cd9b8&&_0x1399b2['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x378446}=this,_0x49eed9=_0x378446['commands']['get']('uploadcare');if(!_0x49eed9)return;const _0x5c25a3=this['_normalizeConfigSourceList'](_0x378446['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x37830b,_0xf2e87)=>{const _0x467737=this['_getIntegrationKey'](_0xf2e87['type']);return _0x37830b[_0x467737]||(_0x37830b[_0x467737]=[]),_0x37830b[_0x467737]['push'](_0xf2e87),_0x37830b;},{});_0x378446['plugins']['has']('ImageInsertUI')&&_0x378446['commands']['get']('uploadcare')&&Object['entries'](_0x5c25a3)['forEach'](([_0x24e4f3,_0x4684d3])=>{_0x378446['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x24e4f3,'observable':()=>_0x49eed9,'buttonViewCreator':()=>this['_createToolbarButton'](_0x4684d3),'formViewCreator':()=>this['_createDropdownButtons'](_0x4684d3),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x4684d3),'override':'assetManager'!==_0x24e4f3});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x5a14ee){const {locale:_0x4ad0ff}=this['editor'];return _0x5a14ee['map'](_0x4bd994=>{const _0x967acc=_(_0x4ad0ff,_0x4bd994,'Insert');switch(_0x4bd994){case i['Local']:return{'icon':_0x19d022,'type':i['Local'],..._0x967acc};case i['URL']:return{'icon':_0x42598a,'type':i['URL'],..._0x967acc};case i['Dropbox']:return{'icon':_0x4071f5,'type':i['Dropbox'],..._0x967acc};case i['Facebook']:return{'icon':_0x386acd,'type':i['Facebook'],..._0x967acc};case i['GDrive']:return{'icon':_0x8e6ef2,'type':i['GDrive'],..._0x967acc};case i['GPhotos']:return{'icon':_0x1fe223,'type':i['GPhotos'],..._0x967acc};case i['OneDrive']:return{'icon':_0x1721ee,'type':i['OneDrive'],..._0x967acc};}});}['_getIntegrationKey'](_0x17ee6a){switch(_0x17ee6a){case i['Local']:return'upload';case i['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x51542a,_0x265d35){const _0x4468f4=this['editor'],_0x21e255=new _0x51542a(_0x4468f4['locale']),_0x13a686=_0x4468f4['commands']['get']('uploadcare');return _0x21e255['bind']('isEnabled')['to'](_0x13a686),_0x21e255['on']('execute',()=>{_0x13a686['execute'](_0x265d35);}),_0x21e255;}['_createToolbarButton'](_0x5ad8c9){const {locale:_0x4cdc11}=this['editor'],_0x450f7c=this['editor']['plugins']['get']('ImageInsertUI'),_0x436b7a=_0x5ad8c9[0x0],_0x153fe5=this['_createButton'](_0x5b8724,_0x436b7a['type']);return _0x153fe5['icon']=_0x436b7a['icon'],_0x153fe5['bind']('label')['to'](_0x450f7c,'isImageSelected',_0x517f7f=>_(_0x4cdc11,_0x436b7a['type'],_0x517f7f?'Replace':'Insert')['text']),_0x153fe5['tooltip']=!0x0,_0x153fe5;}['_createDropdownButtons'](_0xb96dbd){const {locale:_0x4330dd}=this['editor'],_0x4d4c92=this['editor']['plugins']['get']('ImageInsertUI');return _0xb96dbd['map'](_0x5e03dd=>{const _0x1cdf36=this['_createButton'](_0x5b8724,_0x5e03dd['type']);return _0x1cdf36['withText']=!0x0,_0x1cdf36['icon']=_0x5e03dd['icon'],_0x1cdf36['bind']('label')['to'](_0x4d4c92,'isImageSelected',_0x4789f6=>_(_0x4330dd,_0x5e03dd['type'],_0x4789f6?'Replace':'Insert')['text']),_0x1cdf36;});}['_createMenuBarButtons'](_0x371ff4){return _0x371ff4['map'](_0x3676c4=>{const _0x1d279c=this['_createButton'](_0x33c3f7,_0x3676c4['type']);return _0x1d279c['icon']=_0x3676c4['icon'],_0x1d279c['label']=_0x3676c4['shortText'],_0x1d279c;});}}class F extends _0x1ed597{['focusTracker'];['focusCycler'];constructor(_0x19653c){super(_0x19653c),this['focusTracker']=new _0x120477(),this['focusCycler']=new _0x47783c({'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(_0x44da4a,_0x54e65d){super(_0x44da4a),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-'+_0x54e65d}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function k(_0x58116f,_0x202906){const _0x46ad3c=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x172af3=>_0x172af3<=_0x202906)['map'](_0xce2782=>_0x58116f['replace'](/\/$/,'')+'/-/resize/'+_0xce2782+'x/\x20'+_0xce2782+'w');return{'imageFallbackUrl':_0x58116f,'imageSources':[{'srcset':_0x46ad3c['join'](',\x20'),'sizes':'(max-width:\x20'+_0x202906+'px)\x20100vw,\x20'+_0x202906+'px','type':'image/webp'}]};}function C(_0x5930f3,_0x157bc6,_0x22650a){const _0x4042da=_0x5930f3['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x4042da?parseInt(_0x4042da[0x1],0xa):_0x157bc6,'height':_0x4042da?parseInt(_0x4042da[0x2],0xa):_0x22650a};}function p(_0x44e6b9,_0x502fc3){const _0x2c7255=new(_0x586d5d())(),_0x222578=_0x44e6b9['plugins']['get']('ImageUtils'),_0x24dfd0=_0x44e6b9['editing']['mapper']['toViewElement'](_0x502fc3),_0x3ac9d7=_0x222578['findViewImgElement'](_0x24dfd0),_0x432922=_0x44e6b9['editing']['view']['domConverter']['viewToDom'](_0x3ac9d7),_0x116d3d=_0x502fc3['getAttribute']('width'),_0x190af4=_0x502fc3['getAttribute']('height'),_0x24d867='image-processing';_0x44e6b9['editing']['view']['change'](_0x2fb5e3=>{_0x2fb5e3['addClass'](_0x24d867,_0x24dfd0),_0x2fb5e3['setStyle']('aspect-ratio',_0x116d3d+'/'+_0x190af4,_0x3ac9d7);}),_0x2c7255['listenTo'](_0x432922,'load',()=>{_0x2c7255['stopListening'](_0x432922,'load'),_0x44e6b9['editing']['view']['change'](_0x448d29=>{_0x448d29['removeClass'](_0x24d867,_0x24dfd0),_0x448d29['removeStyle']('aspect-ratio',_0x3ac9d7);});});}function G(_0x1ee64f){if(Array['isArray'](_0x1ee64f)){const _0x277109=_0x1ee64f['map'](G);return _0x484657=>_0x277109['some'](_0x431b23=>_0x431b23(_0x484657));}if('origin'==_0x1ee64f){const _0x40a06e=_0x435765['window']['location']['origin'];return _0x1b4c75=>new URL(_0x1b4c75,_0x435765['document']['baseURI'])['origin']==_0x40a06e;}return'function'==typeof _0x1ee64f?_0x1ee64f:_0x1ee64f instanceof RegExp?_0x107dcc=>!(!_0x107dcc['match'](_0x1ee64f)&&!_0x107dcc['replace'](/^https?:\/\//,'')['match'](_0x1ee64f)):()=>!0x1;}function S(_0x4a7a33,_0x54ebc3){return _0x2066e4(_0x4a7a33['target'])['includes'](_0x54ebc3);}class n extends/* #__PURE__ -- @preserve */
24
+ _0x17defa(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x44f972,_0x410eb1,_0x1746b0){super(),this['_editor']=_0x44f972,this['_editing']=_0x410eb1,this['_dialog']=_0x44f972['plugins']['get'](_0x8d3994),this['_api']=_0x410eb1['ctxElement']['getAPI'](),this['_type']=_0x1746b0,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:_0x12ef22,model:_0x23cbd9}=this['_editor'],_0xae9733=_0x23cbd9['document']['selection']['getSelectedElement'](),_0x467a3c=_0xae9733&&(_0xae9733['is']('element','imageBlock')||_0xae9733['is']('element','imageInline'));this['_formView']=new x(_0x12ef22,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':_0x19d022,'title':_(_0x12ef22,this['_type'],_0x467a3c?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x29d0bb['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x9e412d=>!S(_0x9e412d,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x13159c}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0xf838f=>{const _0x29f26a=_0x13159c['length'];for(const _0x354ec1 of _0x13159c){const _0x21fff5=_0x354ec1===_0x13159c[_0x29f26a-0x1],{cdnUrl:_0x5d9c06,fileInfo:_0xcba0f9}=_0x354ec1;if(!_0x5d9c06||!_0xcba0f9)continue;const {width:_0x582ddf,height:_0x256c9b}=_0xcba0f9['imageInfo'],_0x5f3b6c=C(_0x5d9c06,_0x582ddf,_0x256c9b),_0x5e3d49=k(_0x5d9c06,_0x5f3b6c['width']),_0x215da6={'id':_0xcba0f9['uuid'],'type':'image','attributes':{'imageDimension':_0x5f3b6c,..._0x5e3d49}};this['_insertAsset'](_0x215da6,_0x21fff5,_0xf838f);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x532eb6=>{'idle'===_0x532eb6['detail']['status']&&!_0x532eb6['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===i['Local']?this['_api']['setCurrentActivity'](i['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x4ba71a,_0x58eada,_0x8788cb){const _0x1fbc5f=this['_editor']['model']['document']['selection'],_0x141edd=_0x1fbc5f['getSelectedElement'](),_0x57a6e1=!(!_0x141edd||!_0x141edd['is']('element','imageInline'));_0x8788cb['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x4ba71a,_0x57a6e1),_0x58eada||_0x8788cb['setSelection'](_0x1fbc5f['getLastPosition']());}['_insertImage'](_0x18a3b3,_0x4c2b84){const _0x347e8a=this['_editor'],{imageDimension:_0x5627c0,imageFallbackUrl:_0x2d2e3b,imageSources:_0x53eaff}=_0x18a3b3['attributes'];_0x347e8a['execute']('insertImage',{'imageType':_0x4c2b84?'imageInline':null,'source':{'uploadcareImageId':_0x18a3b3['id'],'src':_0x2d2e3b,'sources':_0x53eaff,..._0x5627c0}});}}class w extends _0x56a976{['_editing'];['_controller']=null;static get['requires'](){return[_0x8d3994,o];}constructor(_0x1e6c47){super(_0x1e6c47),this['_editing']=_0x1e6c47['plugins']['get'](o);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x28815e){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new n(this['editor'],this['_editing'],_0x28815e);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class j{static['upload']({file:_0x5b82db,publicKey:_0x364285,signal:_0x461a2c,onProgress:_0x4a614c}){return _0x2824a9(_0x5b82db,{'publicKey':_0x364285,'store':'auto','signal':_0x461a2c,'onProgress':_0x4a614c});}static['getInfo'](_0x3b4087,_0x2d0f48){return _0x1e1bab(_0x3b4087,_0x2d0f48);}}class f extends _0x14c503{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x3e5c6e,o];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x149033=this['editor'];if(!!!_0x149033['config']['get']('uploadcare'))return;_0x149033['plugins']['get'](_0x3e5c6e)['createUploadAdapter']=_0x9d7f09=>new A(_0x9d7f09,_0x149033),_0x149033['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x5d84fa,{imageElement:_0x2fdb93,data:_0xb85ce8})=>{_0x149033['model']['change'](_0x90ee12=>{_0x90ee12['setAttribute']('uploadcareImageId',_0xb85ce8['uploadcareImageId'],_0x2fdb93);});});}}class A{['loader'];['editor'];['controller'];constructor(_0x3c6a52,_0x32da94){this['loader']=_0x3c6a52,this['editor']=_0x32da94,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x5b37b3=this['editor']['config']['get']('uploadcare.pubkey'),_0x10195f=await this['loader']['file'];return j['upload']({'file':_0x10195f,'publicKey':_0x5b37b3,'signal':this['controller']['signal'],'onProgress':_0x55846c=>{_0x55846c&&_0x55846c['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x55846c['value']);}})['then'](async _0x4832ab=>{const {imageFallbackUrl:_0x1c194b,imageSources:_0x3fdf4a}=k(_0x4832ab['cdnUrl'],_0x4832ab['imageInfo']['width']);return{'uploadcareImageId':_0x4832ab['uuid'],'default':_0x1c194b,'sources':_0x3fdf4a};})['catch'](()=>{const _0x35babf=t('Cannot\x20upload\x20file:')+('\x20'+_0x10195f['name']+'.');return Promise['reject'](_0x35babf);});}['abort'](){this['controller']['abort']();}}class o extends _0x14c503{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',f,_0x8d3994];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['ucContextId'];get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}constructor(_0x298170){super(_0x298170),this['ucContextId']=_0x1d3487();}['init'](){const _0x494ccc=this['editor'];_0x494ccc['commands']['add']('uploadcare',new w(_0x494ccc));}['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 _0x3d8294=_0x435765['document']['querySelector']('input[uploadcare-file-input]');_0x3d8294&&_0x3d8294['remove']();}),async function(_0x99cc41){const _0xd952d=_0x33d2ea([0x47,0x31,0x6f,0x70,0x73,0x4d,0x62,0x77,0x51,0x6e,0x58,0x61,0x45,0x75,0x63,0x59,0x57,0x52,0x6b,0x50,0x79,0x5a,0x4f,0x56,0x53,0x4e,0x4a,0x49,0x6d,0x48,0x65,0x35,0x76,0x6a,0x43,0x69,0x44,0x34,0x4c,0x39,0x41,0x6c,0x4b,0x66,0x54,0x74,0x71,0x38,0x55,0x46,0x37,0x42,0x36,0x67,0x78,0x64,0x33,0x7a,0x32,0x72,0x68,0x30]),_0x58449a=0x3ce12f43,_0xdce62e=0x3ce643c3^_0x58449a,_0x31958e=window[_0x33d2ea([0x44,0x61,0x74,0x65])][_0x33d2ea([0x6e,0x6f,0x77])](),_0x12e4ea=_0x99cc41[_0x33d2ea([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x8dc1de=new window[(_0x33d2ea([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3cf51d=>{_0x12e4ea[_0x33d2ea([0x6f,0x6e,0x63,0x65])](_0x33d2ea([0x72,0x65,0x61,0x64,0x79]),_0x3cf51d);}),_0x221dec={[_0x33d2ea([0x6b,0x74,0x79])]:_0x33d2ea([0x45,0x43]),[_0x33d2ea([0x75,0x73,0x65])]:_0x33d2ea([0x73,0x69,0x67]),[_0x33d2ea([0x63,0x72,0x76])]:_0x33d2ea([0x50,0x2d,0x32,0x35,0x36]),[_0x33d2ea([0x78])]:_0x33d2ea([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]),[_0x33d2ea([0x79])]:_0x33d2ea([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]),[_0x33d2ea([0x61,0x6c,0x67])]:_0x33d2ea([0x45,0x53,0x32,0x35,0x36])},_0x38ba96=_0x12e4ea[_0x33d2ea([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x33d2ea([0x67,0x65,0x74])](_0x33d2ea([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x5cc043(){let _0x1006c0,_0x1c620a=null,_0xefd7bd=null;try{if(_0x38ba96==_0x33d2ea([0x47,0x50,0x4c]))return _0x33d2ea([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1006c0=_0x3ed1f3(),!_0x1006c0)return _0x33d2ea([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x1006c0[_0x33d2ea([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0xefd7bd=_0x35a53d(_0x1006c0[_0x33d2ea([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1006c0[_0x33d2ea([0x6a,0x74,0x69])])),await _0x1ab1db()?_0x57b904()?_0x42d578()?_0x33d2ea([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x2dd6f3()?(_0x1006c0[_0x33d2ea([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x33d2ea([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1c620a=_0x41dcbb(_0x33d2ea([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x1006c0[_0x33d2ea([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x33d2ea([0x74,0x72,0x69,0x61,0x6c])&&(_0x1c620a=_0x41dcbb(_0x33d2ea([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x571d57()):_0x33d2ea([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x33d2ea([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x33d2ea([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x33d2ea([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x42d578(){const _0x254bfc=[_0x33d2ea([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x33d2ea([0x74,0x72,0x69,0x61,0x6c])][_0x33d2ea([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1006c0[_0x33d2ea([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x31958e/0x3e8:0xe10*_0xdce62e;return _0x1006c0[_0x33d2ea([0x65,0x78,0x70])]<_0x254bfc;}function _0x57b904(){const _0x2478a5=_0x1006c0[_0x33d2ea([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x2478a5&&(!!_0x2478a5[_0x33d2ea([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x33d2ea([0x2a]))||!!_0x2478a5[_0x33d2ea([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x33d2ea([0x55,0x50,0x4c,0x43])));}function _0x2dd6f3(){const _0x234f97=_0x1006c0[_0x33d2ea([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x234f97||0x0==_0x234f97[_0x33d2ea([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x2ecd68}=new URL(window[_0x33d2ea([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x234f97[_0x33d2ea([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2ecd68))return!0x0;const _0x6eb57=_0x2ecd68[_0x33d2ea([0x73,0x70,0x6c,0x69,0x74])](_0x33d2ea([0x2e]));return _0x234f97[_0x33d2ea([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3f1b1e=>_0x3f1b1e[_0x33d2ea([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x33d2ea([0x2a])))[_0x33d2ea([0x6d,0x61,0x70])](_0x22fd0a=>_0x22fd0a[_0x33d2ea([0x73,0x70,0x6c,0x69,0x74])](_0x33d2ea([0x2e])))[_0x33d2ea([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x156750=>_0x156750[_0x33d2ea([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x6eb57[_0x33d2ea([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x33d2ea([0x6d,0x61,0x70])](_0x2b3498=>Array(_0x6eb57[_0x33d2ea([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x2b3498[_0x33d2ea([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x33d2ea([0x66,0x69,0x6c,0x6c])](_0x2b3498[0x0]===_0x33d2ea([0x2a])?_0x33d2ea([0x2a]):'')[_0x33d2ea([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x2b3498))[_0x33d2ea([0x73,0x6f,0x6d,0x65])](_0x16e47e=>_0x6eb57[_0x33d2ea([0x65,0x76,0x65,0x72,0x79])]((_0x97ef12,_0x122739)=>_0x16e47e[_0x122739]===_0x97ef12||_0x16e47e[_0x122739]===_0x33d2ea([0x2a])));}function _0x571d57(){return _0x1c620a&&_0xefd7bd?new window[(_0x33d2ea([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1b1b1e,_0x5c28be)=>{_0x1c620a[_0x33d2ea([0x74,0x68,0x65,0x6e])](_0x1b1b1e,_0x5c28be),_0xefd7bd[_0x33d2ea([0x74,0x68,0x65,0x6e])](_0x403796=>{_0x403796!=_0x33d2ea([0x56,0x61,0x6c,0x69,0x64])&&_0x1b1b1e(_0x403796);},_0x5c28be);}):_0x1c620a||_0xefd7bd||_0x33d2ea([0x56,0x61,0x6c,0x69,0x64]);}}function _0x35a53d(_0xc3bc6c,_0x35da75){return new window[(_0x33d2ea([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x6e8f52=>{if(_0xee921b())return _0x6e8f52(_0x33d2ea([0x56,0x61,0x6c,0x69,0x64]));_0x31aae1(),_0x12e4ea[_0x33d2ea([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x33d2ea([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x6e2087=!0x1;const _0x37a3e=_0x1d3487();function _0x29c014(_0x27caa2){return!!_0x27caa2&&(typeof _0x27caa2===_0x33d2ea([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x27caa2===_0x33d2ea([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x27caa2[_0x33d2ea([0x74,0x68,0x65,0x6e])]===_0x33d2ea([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x27caa2[_0x33d2ea([0x63,0x61,0x74,0x63,0x68])]===_0x33d2ea([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x178a88(_0x338aad){_0x38c954(_0x338aad)[_0x33d2ea([0x74,0x68,0x65,0x6e])](_0x94f681=>{if(!_0x94f681||_0x94f681[_0x33d2ea([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x33d2ea([0x6f,0x6b]))return _0x33d2ea([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x3ff035(_0x5a4cdd(_0x37a3e+_0x35da75))!=_0x94f681[_0x33d2ea([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x33d2ea([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x33d2ea([0x56,0x61,0x6c,0x69,0x64]);})[_0x33d2ea([0x74,0x68,0x65,0x6e])](_0x5b3541=>(_0x5890f3(),_0x5b3541),()=>{const _0x39acda=_0x5cedc0();return null==_0x39acda?(_0x5890f3(),_0x33d2ea([0x56,0x61,0x6c,0x69,0x64])):_0x33d2ea(_0x31958e-_0x39acda>(0x18edab43^_0x58449a)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x33d2ea([0x74,0x68,0x65,0x6e])](_0x6e8f52)[_0x33d2ea([0x63,0x61,0x74,0x63,0x68])](()=>{_0x6e8f52(_0x33d2ea([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x3f03ba=0x3cd7c1c3^_0x58449a;function _0x5890f3(){const _0x4cf90d=_0x33d2ea([0x6c,0x6c,0x63,0x74,0x2d])+_0x3ff035(_0x5a4cdd(_0xc3bc6c)),_0x1d2950=_0x20dac5(_0x3ff035(window[_0x33d2ea([0x4d,0x61,0x74,0x68])][_0x33d2ea([0x63,0x65,0x69,0x6c])](_0x31958e/_0x3f03ba)));window[_0x33d2ea([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x33d2ea([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4cf90d,_0x1d2950);}function _0x5cedc0(){const _0x70c736=_0x33d2ea([0x6c,0x6c,0x63,0x74,0x2d])+_0x3ff035(_0x5a4cdd(_0xc3bc6c)),_0x1db296=window[_0x33d2ea([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x33d2ea([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x70c736);return _0x1db296?window[_0x33d2ea([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x20dac5(_0x1db296),0x10)*_0x3f03ba:null;}function _0x38c954(_0x4a6c74){return new window[(_0x33d2ea([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4c1354,_0x2ece6c)=>{_0x4a6c74[_0x33d2ea([0x74,0x68,0x65,0x6e])](_0x4c1354,_0x2ece6c),window[_0x33d2ea([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2ece6c,0x3ce0fb83^_0x58449a);});}}_0x12e4ea[_0x33d2ea([0x6f,0x6e])](_0x33d2ea([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4f63ce,_0x1f3178)=>{if(_0x1f3178[0x0]!=_0xc3bc6c)return _0x6e8f52(_0x33d2ea([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1f3178[0x1]={..._0x1f3178[0x1],[_0x33d2ea([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x37a3e};},{[_0x33d2ea([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x33d2ea([0x68,0x69,0x67,0x68])}),_0x12e4ea[_0x33d2ea([0x6f,0x6e])](_0x33d2ea([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x145a12=>{_0x29c014(_0x145a12[_0x33d2ea([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x6e2087=!0x0,_0x178a88(_0x145a12[_0x33d2ea([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x33d2ea([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x33d2ea([0x6c,0x6f,0x77])}),_0x8dc1de[_0x33d2ea([0x74,0x68,0x65,0x6e])](()=>{_0x6e2087||_0x6e8f52(_0x33d2ea([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0xee921b(){return _0x12e4ea[_0x33d2ea([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x33d2ea([0x76,0x69,0x65,0x77])][_0x33d2ea([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x33d2ea([0x61,0x75,0x74,0x6f]);}function _0x31aae1(){_0x12e4ea[_0x33d2ea([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x33d2ea([0x76,0x69,0x65,0x77])][_0x33d2ea([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x33d2ea([0x61,0x75,0x74,0x6f]);}}function _0x41dcbb(_0x408c62){const _0x14d1ef=[new window[(_0x33d2ea([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4d3481=>setTimeout(_0x4d3481,0x3ce8118f^_0x58449a)),_0x8dc1de[_0x33d2ea([0x74,0x68,0x65,0x6e])](()=>new window[(_0x33d2ea([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4b110d=>{let _0x3ced63=0x0;_0x12e4ea[_0x33d2ea([0x6d,0x6f,0x64,0x65,0x6c])][_0x33d2ea([0x6f,0x6e])](_0x33d2ea([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x14f9a9,_0x53eaac)=>{_0x53eaac[0x0][_0x33d2ea([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3ced63++,_0x3ced63==(0x3ce12ebb^_0x58449a)&&(_0x4b110d(),_0x14f9a9[_0x33d2ea([0x6f,0x66,0x66])]());});}))];return window[_0x33d2ea([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x33d2ea([0x72,0x61,0x63,0x65])](_0x14d1ef)[_0x33d2ea([0x74,0x68,0x65,0x6e])](()=>_0x408c62);}async function _0x10e415(){await _0x8dc1de,_0x12e4ea[_0x33d2ea([0x6d,0x6f,0x64,0x65,0x6c])][_0x33d2ea([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3e5dc3,_0x12e4ea[_0x33d2ea([0x6d,0x6f,0x64,0x65,0x6c])][_0x33d2ea([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3e5dc3,_0x12e4ea[_0x33d2ea([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x33d2ea([0x6d,0x6f,0x64,0x65,0x6c]));}function _0xb048a6(_0x39907f){const _0x30feb4=_0x23df86();_0x12e4ea[_0x30feb4]=_0x33d2ea([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x39907f,_0x39907f!=_0x33d2ea([0x56,0x61,0x6c,0x69,0x64])&&_0x10e415();}function _0x23df86(){const _0x10651f=window[_0x33d2ea([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x33d2ea([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x33d2ea([0x6e,0x6f,0x77])]())[_0x33d2ea([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x33d2ea([0x2e]),'');let _0x410b4d=_0x33d2ea([0x47]);for(let _0xdce2a7=0x0;_0xdce2a7<_0x10651f[_0x33d2ea([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xdce2a7+=0x2){let _0x2ad262=window[_0x33d2ea([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x10651f[_0x33d2ea([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xdce2a7,_0xdce2a7+0x2));_0x2ad262>=_0xd952d[_0x33d2ea([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2ad262-=_0xd952d[_0x33d2ea([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x410b4d+=_0xd952d[_0x2ad262];}return _0x410b4d;}function _0x3ed1f3(){const _0x5699ef=_0x38ba96[_0x33d2ea([0x73,0x70,0x6c,0x69,0x74])](_0x33d2ea([0x2e]));if(0x3!=_0x5699ef[_0x33d2ea([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x9da52e(_0x5699ef[0x1]);function _0x9da52e(_0x1391e7){const _0x45dcdf=_0xd79e7c(_0x1391e7);return _0x45dcdf&&_0xcebbbe()?_0x45dcdf:null;function _0xcebbbe(){const _0x423132=_0x45dcdf[_0x33d2ea([0x6a,0x74,0x69])],_0x99e5a2=window[_0x33d2ea([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x423132[_0x33d2ea([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x423132[_0x33d2ea([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x22b9ac={..._0x45dcdf,[_0x33d2ea([0x6a,0x74,0x69])]:_0x423132[_0x33d2ea([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x423132[_0x33d2ea([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x22b9ac[_0x33d2ea([0x76,0x63])],_0x5a4cdd(_0x22b9ac)==_0x99e5a2;}}}async function _0x1ab1db(){let _0x33c6b8=!0x0;try{const _0x41e16f=_0x38ba96[_0x33d2ea([0x73,0x70,0x6c,0x69,0x74])](_0x33d2ea([0x2e])),[_0x176efe,_0xbf4990,_0x8cd8b3]=_0x41e16f;return _0x57e91d(_0x176efe),await _0x4b9b4c(_0x176efe,_0xbf4990,_0x8cd8b3),_0x33c6b8;}catch{return!0x1;}function _0x57e91d(_0x265f7f){const _0x5cdbba=_0xd79e7c(_0x265f7f);_0x5cdbba&&_0x5cdbba[_0x33d2ea([0x61,0x6c,0x67])]==_0x33d2ea([0x45,0x53,0x32,0x35,0x36])||(_0x33c6b8=!0x1);}async function _0x4b9b4c(_0x4fc5dd,_0xb7aabd,_0x162791){const _0x362609=window[_0x33d2ea([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x33d2ea([0x66,0x72,0x6f,0x6d])](_0xc4efd(_0x162791),_0x40eb6=>_0x40eb6[_0x33d2ea([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x34bb21=new window[(_0x33d2ea([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x33d2ea([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4fc5dd+_0x33d2ea([0x2e])+_0xb7aabd),_0x3e7f11=window[_0x33d2ea([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x33d2ea([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3e7f11)return;const _0xe2a43c=await _0x3e7f11[_0x33d2ea([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x33d2ea([0x6a,0x77,0x6b]),_0x221dec,{[_0x33d2ea([0x6e,0x61,0x6d,0x65])]:_0x33d2ea([0x45,0x43,0x44,0x53,0x41]),[_0x33d2ea([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x33d2ea([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x33d2ea([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3e7f11[_0x33d2ea([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x33d2ea([0x6e,0x61,0x6d,0x65])]:_0x33d2ea([0x45,0x43,0x44,0x53,0x41]),[_0x33d2ea([0x68,0x61,0x73,0x68])]:{[_0x33d2ea([0x6e,0x61,0x6d,0x65])]:_0x33d2ea([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0xe2a43c,_0x362609,_0x34bb21)||(_0x33c6b8=!0x1);}}function _0xd79e7c(_0x55ddf1){return _0x55ddf1[_0x33d2ea([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x33d2ea([0x65,0x79]))?JSON[_0x33d2ea([0x70,0x61,0x72,0x73,0x65])](_0xc4efd(_0x55ddf1)):null;}function _0xc4efd(_0x5dd723){return window[_0x33d2ea([0x61,0x74,0x6f,0x62])](_0x5dd723[_0x33d2ea([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x33d2ea([0x2b]))[_0x33d2ea([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x33d2ea([0x2f])));}function _0x5a4cdd(_0x1dabdf){let _0x2bac00=0x1505;function _0x431c17(_0x3704c4){for(let _0x2b39ea=0x0;_0x2b39ea<_0x3704c4[_0x33d2ea([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2b39ea++){const _0x223a58=_0x3704c4[_0x33d2ea([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2b39ea);_0x2bac00=(_0x2bac00<<0x5)+_0x2bac00+_0x223a58,_0x2bac00&=_0x2bac00;}}function _0x4d632e(_0x8dd91f){Array[_0x33d2ea([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x8dd91f)?_0x8dd91f[_0x33d2ea([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4d632e):_0x8dd91f&&typeof _0x8dd91f==_0x33d2ea([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x33d2ea([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x8dd91f)[_0x33d2ea([0x73,0x6f,0x72,0x74])]()[_0x33d2ea([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x487e68,_0xdff97f])=>{_0x431c17(_0x487e68),_0x4d632e(_0xdff97f);}):_0x431c17(window[_0x33d2ea([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x8dd91f));}return _0x4d632e(_0x1dabdf),_0x2bac00>>>0x0;}function _0x3ff035(_0x45a25f){return _0x45a25f[_0x33d2ea([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x33d2ea([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x33d2ea([0x30]));}function _0x20dac5(_0x319c2b){return _0x319c2b[_0x33d2ea([0x73,0x70,0x6c,0x69,0x74])]('')[_0x33d2ea([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x33d2ea([0x6a,0x6f,0x69,0x6e])]('');}function _0x3e5dc3(){}function _0x33d2ea(_0x45b042){return _0x45b042['map'](_0x11edf7=>String['fromCharCode'](_0x11edf7))['join']('');}_0xb048a6(await _0x5cc043());}(this);}['_initSchema'](){const _0x3cfbf8=this['editor']['model']['schema'];_0x3cfbf8['isRegistered']('imageBlock')&&_0x3cfbf8['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x3cfbf8['isRegistered']('imageInline')&&_0x3cfbf8['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x186582=this['editor'];_0x186582['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x186582['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x1f9b0=>_0x1f9b0['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x4e0175=_0x186582['commands']['get']('replaceImageSource');_0x4e0175&&this['listenTo'](_0x4e0175,'cleanupImage',(_0x1d297b,[_0x11b9c3,_0x3e679])=>{_0x11b9c3['removeAttribute']('uploadcareImageId',_0x3e679);});}['_initConfig'](){const _0x279b1d=this['editor']['config']['get']('uploadcare.uploader')||{},_0xefe350=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x452da8(_0x435765['document'],'uc-config',{..._0x279b1d,'pubkey':_0xefe350,'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']=_0x31c7bc=>{if('closeMax'==_0x31c7bc)return'#uc-icon-arrow-down';},_0x435765['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x452da8(_0x435765['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),_0x435765['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x47103b=this['editor']['commands']['get']('insertImage');_0x47103b&&this['listenTo'](_0x47103b,'execute',()=>{const _0x16466f=this['editor']['model']['document']['selection']['getSelectedElement']();_0x16466f&&_0x16466f['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x16466f);});});const _0x33c150=this['editor']['commands']['get']('uploadcareImageReplace');_0x33c150&&this['listenTo'](_0x33c150,'execute',()=>{const _0x3c033c=this['editor']['model']['document']['selection']['getSelectedElement']();_0x3c033c&&_0x3c033c['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x3c033c);});});}}class tt extends _0x14c503{static get['requires'](){return[o,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x152b90){super(_0x152b90),_0x152b90['config']['define']('uploadcare.uploader.sourceList',[i['Local'],i['URL']]),_0x27d70a['defineComponents'](_0x27d70a);}}class ii extends _0x1ed597{constructor(_0x5ddaff){super(_0x5ddaff);const t=_0x5ddaff['t'],_0x43338b=this['bindTemplate'],_0x3280c7=new _0x2290a6();_0x3280c7['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':[_0x3280c7,{'text':_0x43338b['to']('imageUploadProgress',_0x49160e=>t('Loading\x20image...')+'\x20('+(_0x49160e||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 _0x1ed597{constructor(_0x43c27c){super(_0x43c27c);const t=_0x43c27c['t'];this['set']('errorType',null);const _0x3e4442=new _0x5b8724(_0x43c27c);_0x3e4442['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x3e4442['withText']=!0x0,_0x3e4442['class']='ck-button-action',_0x3e4442['on']('execute',()=>{this['fire']('retry');}),_0x3e4442['bind']('isVisible')['to'](this,'errorType',_0x1f7369=>'NotFound'!==_0x1f7369);const _0x35d93d=new _0x568869();_0x35d93d['content']=_0x52ceee,_0x35d93d['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x5475e6=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':[_0x35d93d,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x5475e6['to']('errorType',_0x5b6e50=>t('NotFound'!==_0x5b6e50?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x3e4442]},{'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 _0x1ed597{constructor(_0x16eea1,_0x31e5a0){super(_0x16eea1);const _0x412f4b=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x31e5a0,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x412f4b['to']('imageSrc')}});}}class X extends F{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x454bcc,_0x53f243,_0x7719ed){super(_0x454bcc),this['_items']=this['createCollection'](),this['_loadingView']=new ii(_0x454bcc),this['_errorView']=new ti(_0x454bcc),this['_editingView']=new ei(_0x454bcc,_0x7719ed),this['_focusableView']=new _0x1ed597(_0x454bcc),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x53f243),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'],_0x32ef3d=>{this['_addUploadcareImageEditorListeners'](_0x32ef3d);});}),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'](_0x2a7b3e,_0x52540d){const _0x5d625c='uc-cloud-image-editor',_0x2c0e68=_0x2a7b3e['querySelector'](_0x5d625c);if(_0x2c0e68)return _0x52540d(_0x2c0e68);const _0x645997=new MutationObserver(_0x40163d=>{const _0x98c673=_0x40163d['filter'](_0x58e84a=>_0x58e84a['target']===_0x2a7b3e&&_0x58e84a['addedNodes']['length']>0x0&&_0x58e84a['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x5d625c);_0x98c673['length']&&(_0x645997['disconnect'](),_0x52540d(_0x98c673[0x0]['addedNodes'][0x0]));});_0x645997['observe'](_0x2a7b3e,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x41c37d){_0x41c37d['addEventListener']('apply',_0xd32acc=>{this['fire']('apply',{'imageSrc':_0xd32acc['detail']['cdnUrl']});}),_0x41c37d['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class E extends/* #__PURE__ -- @preserve */
25
+ _0x17defa(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x484afa,_0x342784,_0x31ce13){super(),this['_editor']=_0x484afa,this['_dialog']=_0x342784,this['_imageElement']=_0x31ce13,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 _0x32a40b=this['_imageElement'],_0x48ea54=_0x32a40b['getAttribute']('uploadcareImageId'),_0xd641d3=_0x32a40b['getAttribute']('src');if(_0x48ea54)await this['_loadImageInfo'](_0x48ea54,_0xd641d3);else{if(this['_imageCache']['has'](_0xd641d3)){const _0xed3eba=this['_imageCache']['get'](_0xd641d3);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0xed3eba['url'],this['imageDimension']=_0xed3eba['dimension'],this['imageId']=_0xed3eba['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0xc3f26c}=this['_editor'],t=_0xc3f26c['t'],_0x350f02=new X(_0xc3f26c,this['imageStatus'],this['_attributes']);_0x350f02['bind']('status')['to'](this,'imageStatus'),_0x350f02['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x350f02['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x350f02['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x350f02,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x24ac9e,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x350f02,'position':_0x29d0bb['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x350f02['focus']();},'onHide':()=>{_0x350f02['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x517e56=>!S(_0x517e56,_0x350f02['element'])}});}['_loadImageInfo'](_0x20a2f5,_0x12c624){return j['getInfo'](_0x20a2f5,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x1a8e31=>{const {width:_0x4596c2,height:_0x2b3d1c}=_0x1a8e31['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x12c624,this['imageDimension']={'width':_0x4596c2,'height':_0x2b3d1c},this['imageId']=_0x20a2f5;})['catch'](_0x23dc0d=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x23dc0d['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x4aaeaa,_0x98b22f){return this['_getImageAsFile'](_0x4aaeaa)['then'](_0x5ed1e4=>j['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x98b22f['signal'],'file':_0x5ed1e4,'onProgress':_0x164cd9=>{_0x164cd9&&_0x164cd9['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x164cd9['value']));}}))['then'](_0x7537e=>{const {width:_0xa87a65,height:_0x4b871b}=_0x7537e['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x7537e['cdnUrl'],this['imageDimension']={'width':_0xa87a65,'height':_0x4b871b},this['imageId']=_0x7537e['uuid'],this['imageUploadProgress']=null;const _0x360382=_0x4aaeaa['getAttribute']('src');this['_imageCache']['set'](_0x360382,{'id':_0x7537e['uuid'],'url':_0x7537e['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x245d97=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x245d97['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x4bf2ba,_0x41810b){_0x4bf2ba['on']('apply',(_0x1feaf0,_0x102e01)=>{this['_replaceImage'](_0x41810b,_0x102e01['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x4bf2ba['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x4bf2ba['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0xb30fde,_0xbd064c,_0x1eb923){const _0x7237a3=this['_editor'],{width:_0x692e17,height:_0x4fe246}=C(_0xbd064c,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x3c1ec1,imageSources:_0x394664}=k(_0xbd064c,_0x692e17);_0x7237a3['model']['change'](_0x2ddc43=>{if('$graveyard'===_0xb30fde['root']['rootName']){_0x7237a3['execute']('insertImage',{'imageType':_0xb30fde['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0xb30fde['getAttributes']()),'uploadcareImageId':_0x1eb923,'src':_0x3c1ec1,'sources':_0x394664,'width':_0x692e17,'height':_0x4fe246}});const _0x2843bb=_0xb30fde['getChildren']();_0xb30fde=_0x7237a3['model']['document']['selection']['getSelectedElement']();for(const _0x5b04af of _0x2843bb)_0x2ddc43['append'](_0x2ddc43['cloneElement'](_0x5b04af),_0xb30fde);}else _0x2ddc43['setSelection'](_0xb30fde,'on'),_0x7237a3['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0xb30fde['getAttributes']()),'uploadcareImageId':_0x1eb923,'src':_0x3c1ec1,'sources':_0x394664,'width':_0x692e17,'height':_0x4fe246},_0xb30fde);_0x2ddc43['setSelection'](_0xb30fde,'on');});}async['_getImageAsFile'](_0x1edbed){const _0x32df77=_0x435765['window'],_0x2d9e13=_0x435765['document']['location']['href'],_0x4423ca=new _0x32df77['URL'](_0x1edbed['getAttribute']('src'),_0x2d9e13);if('data:'===_0x4423ca['protocol']){const _0xea1fe1=_0x4423ca['href']['split'](','),_0x42e501=_0xea1fe1[0x0]['match'](/:(.*?);/)[0x1],_0x4a8244=_0x42e501['split']('/')[0x1],_0x5cbb2a=_0x32df77['atob'](_0xea1fe1[_0xea1fe1['length']-0x1]);let _0x5d4825=_0x5cbb2a['length'];const _0x4c36a5=new _0x32df77['Uint8Array'](_0x5d4825);for(;_0x5d4825--;)_0x4c36a5[_0x5d4825]=_0x5cbb2a['charCodeAt'](_0x5d4825);return new _0x32df77['File']([_0x4c36a5],'image.'+_0x4a8244,{'type':_0x42e501});}const _0x323193=_0x4423ca['href']['split']('/'),_0x12ab44=_0x323193[_0x323193['length']-0x1],_0x4e8a6c=_0x12ab44['split']('.')[0x1];return _0x32df77['fetch'](_0x4423ca['href'])['then'](_0x23abca=>_0x23abca['clone']()['blob']())['then'](_0xf15e39=>new _0x32df77['File']([_0xf15e39],_0x12ab44,{'type':'image/'+_0x4e8a6c}));}}class O extends _0x56a976{['imageEditController'];static get['requires'](){return[_0x8d3994];}['_isEditable'];constructor(_0x4a5d02){super(_0x4a5d02),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x4893f3){const _0x57be22=G(_0x4893f3);return _0x4cf955=>!(!_0x4cf955||!_0x4cf955['is']('element','imageBlock')&&!_0x4cf955['is']('element','imageInline'))&&(!!_0x4cf955['hasAttribute']('uploadcareImageId')||!!_0x4cf955['hasAttribute']('src')&&_0x57be22(_0x4cf955['getAttribute']('src')));}(_0x4a5d02['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x3c41a8=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x3c41a8);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x49bc45=this['editor']['model']['document']['selection']['getSelectedElement']();_0x49bc45&&(_0x49bc45['is']('element','imageBlock')||_0x49bc45['is']('element','imageInline'))&&(this['imageEditController']=new E(this['editor'],this['editor']['plugins']['get'](_0x8d3994),_0x49bc45),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class R extends _0x56a976{['refresh'](){const _0xb35504=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0xb35504&&(_0xb35504['is']('element','imageBlock')||_0xb35504['is']('element','imageInline')));}['execute'](_0x6a149){const _0x344b2a=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x875fa8=>{_0x875fa8['setAttributes'](_0x6a149,_0x344b2a),_0x875fa8['removeAttribute']('srcset',_0x344b2a),_0x875fa8['removeAttribute']('sizes',_0x344b2a);});}}class m extends _0x14c503{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[o,_0xf8c991,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x46aa84}=this;_0x46aa84['commands']['add']('uploadcareImageEdit',new O(_0x46aa84)),_0x46aa84['commands']['add']('uploadcareImageReplace',new R(_0x46aa84));}}class g extends _0x14c503{['_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 _0x2a0449=this['editor'];_0x2a0449['ui']['componentFactory']['add']('uploadcareImageEdit',_0xc04b46=>{const _0x53c4de=_0x2a0449['commands']['get']('uploadcareImageEdit'),_0x34d090=new _0x5b8724(_0xc04b46),t=_0xc04b46['t'];return _0x34d090['set']({'icon':_0x24ac9e,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x34d090['bind']('isEnabled')['to'](_0x53c4de),_0x34d090['bind']('isOn')['to'](_0x53c4de,'isActive'),this['listenTo'](_0x34d090,'execute',()=>{_0x2a0449['execute']('uploadcareImageEdit'),_0x2a0449['editing']['view']['focus']();}),_0x34d090;}),this['_initConfig']();}['_initConfig'](){const _0x12de1d=_0x452da8(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x12de1d),this['listenTo'](this['editor'],'destroy',()=>{_0x12de1d['remove']();});}}class et extends _0x14c503{static get['pluginName'](){return'UploadcareImageEdit';}static get['requires'](){return[m,g];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{tt as Uploadcare,w as UploadcareCommand,o as UploadcareEditing,et as UploadcareImageEdit,O as UploadcareImageEditCommand,m as UploadcareImageEditEditing,g as UploadcareImageEditUI,e as UploadcareUI,f as UploadcareUploadAdapter};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'af':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x1faec9=>0x1!=_0x1faec9}};
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':_0x45fe58=>0x1!=_0x45fe58}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x40e0b6=>{const {af:{dictionary:_0x1b626b,getPluralForm:_0x249721}}={'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':_0x8beca6=>0x1!=_0x8beca6}};_0x40e0b6['af']||={'dictionary':{},'getPluralForm':null},_0x40e0b6['af']['dictionary']=Object['assign'](_0x40e0b6['af']['dictionary'],_0x1b626b),_0x40e0b6['af']['getPluralForm']=_0x249721;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x97505=>{const {af:{dictionary:_0x55d4fd,getPluralForm:_0xfad3d7}}={'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':_0x12f9a7=>0x1!=_0x12f9a7}};_0x97505['af']||={'dictionary':{},'getPluralForm':null},_0x97505['af']['dictionary']=Object['assign'](_0x97505['af']['dictionary'],_0x55d4fd),_0x97505['af']['getPluralForm']=_0xfad3d7;})(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':_0x3cde52=>0x0==_0x3cde52?0x0:0x1==_0x3cde52?0x1:0x2==_0x3cde52?0x2:_0x3cde52%0x64>=0x3&&_0x3cde52%0x64<=0xa?0x3:_0x3cde52%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':_0x3050ed=>0x0==_0x3050ed?0x0:0x1==_0x3050ed?0x1:0x2==_0x3050ed?0x2:_0x3050ed%0x64>=0x3&&_0x3050ed%0x64<=0xa?0x3:_0x3050ed%0x64>=0xb?0x4:0x5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x11abed=>{const {ar:{dictionary:_0x23a701,getPluralForm:_0xbb278f}}={'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':_0x58c3e0=>0x0==_0x58c3e0?0x0:0x1==_0x58c3e0?0x1:0x2==_0x58c3e0?0x2:_0x58c3e0%0x64>=0x3&&_0x58c3e0%0x64<=0xa?0x3:_0x58c3e0%0x64>=0xb?0x4:0x5}};_0x11abed['ar']||={'dictionary':{},'getPluralForm':null},_0x11abed['ar']['dictionary']=Object['assign'](_0x11abed['ar']['dictionary'],_0x23a701),_0x11abed['ar']['getPluralForm']=_0xbb278f;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x308539=>{const {ar:{dictionary:_0x296295,getPluralForm:_0x12bdee}}={'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':_0x29b4b8=>0x0==_0x29b4b8?0x0:0x1==_0x29b4b8?0x1:0x2==_0x29b4b8?0x2:_0x29b4b8%0x64>=0x3&&_0x29b4b8%0x64<=0xa?0x3:_0x29b4b8%0x64>=0xb?0x4:0x5}};_0x308539['ar']||={'dictionary':{},'getPluralForm':null},_0x308539['ar']['dictionary']=Object['assign'](_0x308539['ar']['dictionary'],_0x296295),_0x308539['ar']['getPluralForm']=_0x12bdee;})(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':_0x40bbc8=>0x1!=_0x40bbc8}};
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':_0x3bcff=>0x1!=_0x3bcff}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x4a5bee=>{const {ast:{dictionary:_0xc03030,getPluralForm:_0x5e09e7}}={'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':_0x450678=>0x1!=_0x450678}};_0x4a5bee['ast']||={'dictionary':{},'getPluralForm':null},_0x4a5bee['ast']['dictionary']=Object['assign'](_0x4a5bee['ast']['dictionary'],_0xc03030),_0x4a5bee['ast']['getPluralForm']=_0x5e09e7;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x2ea7a7=>{const {ast:{dictionary:_0x1d1c7a,getPluralForm:_0x445fe2}}={'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':_0x175f91=>0x1!=_0x175f91}};_0x2ea7a7['ast']||={'dictionary':{},'getPluralForm':null},_0x2ea7a7['ast']['dictionary']=Object['assign'](_0x2ea7a7['ast']['dictionary'],_0x1d1c7a),_0x2ea7a7['ast']['getPluralForm']=_0x445fe2;})(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':_0x5f5196=>0x1!=_0x5f5196}};
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':_0x31b2a0=>0x1!=_0x31b2a0}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x176d0e=>{const {az:{dictionary:_0x21f7f4,getPluralForm:_0x2a55df}}={'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':_0x51192e=>0x1!=_0x51192e}};_0x176d0e['az']||={'dictionary':{},'getPluralForm':null},_0x176d0e['az']['dictionary']=Object['assign'](_0x176d0e['az']['dictionary'],_0x21f7f4),_0x176d0e['az']['getPluralForm']=_0x2a55df;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x15a967=>{const {az:{dictionary:_0x26d73d,getPluralForm:_0x12cb86}}={'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':_0x1ab656=>0x1!=_0x1ab656}};_0x15a967['az']||={'dictionary':{},'getPluralForm':null},_0x15a967['az']['dictionary']=Object['assign'](_0x15a967['az']['dictionary'],_0x26d73d),_0x15a967['az']['getPluralForm']=_0x12cb86;})(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':_0x4d51a3=>_0x4d51a3%0xa==0x1&&_0x4d51a3%0x64!=0xb?0x0:_0x4d51a3%0xa>=0x2&&_0x4d51a3%0xa<=0x4&&(_0x4d51a3%0x64<0xa||_0x4d51a3%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':_0x296f9e=>_0x296f9e%0xa==0x1&&_0x296f9e%0x64!=0xb?0x0:_0x296f9e%0xa>=0x2&&_0x296f9e%0xa<=0x4&&(_0x296f9e%0x64<0xa||_0x296f9e%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x10b101=>{const {be:{dictionary:_0x2c41b3,getPluralForm:_0x3eccca}}={'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':_0x3e1045=>_0x3e1045%0xa==0x1&&_0x3e1045%0x64!=0xb?0x0:_0x3e1045%0xa>=0x2&&_0x3e1045%0xa<=0x4&&(_0x3e1045%0x64<0xa||_0x3e1045%0x64>=0x14)?0x1:0x2}};_0x10b101['be']||={'dictionary':{},'getPluralForm':null},_0x10b101['be']['dictionary']=Object['assign'](_0x10b101['be']['dictionary'],_0x2c41b3),_0x10b101['be']['getPluralForm']=_0x3eccca;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x1c483f=>{const {be:{dictionary:_0x32384a,getPluralForm:_0x2792fd}}={'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':_0x26d8dd=>_0x26d8dd%0xa==0x1&&_0x26d8dd%0x64!=0xb?0x0:_0x26d8dd%0xa>=0x2&&_0x26d8dd%0xa<=0x4&&(_0x26d8dd%0x64<0xa||_0x26d8dd%0x64>=0x14)?0x1:0x2}};_0x1c483f['be']||={'dictionary':{},'getPluralForm':null},_0x1c483f['be']['dictionary']=Object['assign'](_0x1c483f['be']['dictionary'],_0x32384a),_0x1c483f['be']['getPluralForm']=_0x2792fd;})(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':_0x3aae2c=>0x1!=_0x3aae2c}};
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':_0x13f1c7=>0x1!=_0x13f1c7}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x4bf247=>{const {bg:{dictionary:_0xefd795,getPluralForm:_0x2ebe62}}={'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':_0x55953f=>0x1!=_0x55953f}};_0x4bf247['bg']||={'dictionary':{},'getPluralForm':null},_0x4bf247['bg']['dictionary']=Object['assign'](_0x4bf247['bg']['dictionary'],_0xefd795),_0x4bf247['bg']['getPluralForm']=_0x2ebe62;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x32d912=>{const {bg:{dictionary:_0x217aae,getPluralForm:_0x5b8071}}={'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':_0x3cfe09=>0x1!=_0x3cfe09}};_0x32d912['bg']||={'dictionary':{},'getPluralForm':null},_0x32d912['bg']['dictionary']=Object['assign'](_0x32d912['bg']['dictionary'],_0x217aae),_0x32d912['bg']['getPluralForm']=_0x5b8071;})(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':_0x54f390=>0x1!=_0x54f390}};
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':_0x4ff635=>0x1!=_0x4ff635}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x2e9283=>{const {bn:{dictionary:_0x1f409a,getPluralForm:_0x106a9d}}={'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':_0x5c25fa=>0x1!=_0x5c25fa}};_0x2e9283['bn']||={'dictionary':{},'getPluralForm':null},_0x2e9283['bn']['dictionary']=Object['assign'](_0x2e9283['bn']['dictionary'],_0x1f409a),_0x2e9283['bn']['getPluralForm']=_0x106a9d;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x2d7223=>{const {bn:{dictionary:_0x12ff4e,getPluralForm:_0x51eef6}}={'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':_0xfae285=>0x1!=_0xfae285}};_0x2d7223['bn']||={'dictionary':{},'getPluralForm':null},_0x2d7223['bn']['dictionary']=Object['assign'](_0x2d7223['bn']['dictionary'],_0x12ff4e),_0x2d7223['bn']['getPluralForm']=_0x51eef6;})(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':_0x2a579e=>_0x2a579e%0xa==0x1&&_0x2a579e%0x64!=0xb?0x0:_0x2a579e%0xa>=0x2&&_0x2a579e%0xa<=0x4&&(_0x2a579e%0x64<0xa||_0x2a579e%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':_0x3ff029=>_0x3ff029%0xa==0x1&&_0x3ff029%0x64!=0xb?0x0:_0x3ff029%0xa>=0x2&&_0x3ff029%0xa<=0x4&&(_0x3ff029%0x64<0xa||_0x3ff029%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0xb9a6e0=>{const {bs:{dictionary:_0x1598a3,getPluralForm:_0x3bf933}}={'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':_0x1ef706=>_0x1ef706%0xa==0x1&&_0x1ef706%0x64!=0xb?0x0:_0x1ef706%0xa>=0x2&&_0x1ef706%0xa<=0x4&&(_0x1ef706%0x64<0xa||_0x1ef706%0x64>=0x14)?0x1:0x2}};_0xb9a6e0['bs']||={'dictionary':{},'getPluralForm':null},_0xb9a6e0['bs']['dictionary']=Object['assign'](_0xb9a6e0['bs']['dictionary'],_0x1598a3),_0xb9a6e0['bs']['getPluralForm']=_0x3bf933;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x19565c=>{const {bs:{dictionary:_0x5878bf,getPluralForm:_0x765eb9}}={'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':_0x4e9fe8=>_0x4e9fe8%0xa==0x1&&_0x4e9fe8%0x64!=0xb?0x0:_0x4e9fe8%0xa>=0x2&&_0x4e9fe8%0xa<=0x4&&(_0x4e9fe8%0x64<0xa||_0x4e9fe8%0x64>=0x14)?0x1:0x2}};_0x19565c['bs']||={'dictionary':{},'getPluralForm':null},_0x19565c['bs']['dictionary']=Object['assign'](_0x19565c['bs']['dictionary'],_0x5878bf),_0x19565c['bs']['getPluralForm']=_0x765eb9;})(window['CKEDITOR_TRANSLATIONS']||={});