@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-20250923.0 → 0.0.0-nightly-20250924.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (173) hide show
  1. package/build/uploadcare.js +1 -1
  2. package/dist/index.js +3 -3
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +9 -9
  150. package/src/index.js +1 -1
  151. package/src/ui/uploadcarecontroller.js +2 -2
  152. package/src/ui/uploadcareformview.js +1 -1
  153. package/src/uploadcare.js +1 -1
  154. package/src/uploadcarecommand.js +1 -1
  155. package/src/uploadcareconfig.js +1 -1
  156. package/src/uploadcareediting.js +1 -1
  157. package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.js +2 -2
  158. package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.js +1 -1
  159. package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.js +1 -1
  160. package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.js +1 -1
  161. package/src/uploadcareimageedit/ui/uploadcareimageeditformview.js +1 -1
  162. package/src/uploadcareimageedit/uploadcareimageeditcommand.js +1 -1
  163. package/src/uploadcareimageedit/uploadcareimageeditediting.js +1 -1
  164. package/src/uploadcareimageedit/uploadcareimageeditui.js +1 -1
  165. package/src/uploadcareimageedit/uploadcareimagereplacecommand.js +1 -1
  166. package/src/uploadcareimageedit.js +1 -1
  167. package/src/uploadcareui.js +1 -1
  168. package/src/uploadcareuploadadapter.js +1 -1
  169. package/src/utils/common-translations.js +1 -1
  170. package/src/utils/dialogfocusmanagerview.js +1 -1
  171. package/src/utils/editingutils.js +1 -1
  172. package/src/utils/isancestor.js +1 -1
  173. package/src/utils/uploadutils.js +1 -1
package/dist/index.js CHANGED
@@ -20,6 +20,6 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x3ad936,Command as _0x1c7c22}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x12a02c,IconGooglePhotos as _0x572fe5,IconGoogleDrive as _0x2f131c,IconFacebook as _0x32abb1,IconDropbox as _0x445698,IconUploadcareLink as _0xcde004,IconUploadcareImageUpload as _0x3f7744,IconError as _0x4d8c89,IconUploadcareImageEdit as _0x1a61f4}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x5b769b,MenuBarMenuListItemButtonView as _0x58f688,View as _0x674baf,FocusCycler as _0xffdcc6,Dialog as _0x2e2ee7,DialogViewPosition as _0x2aad81,SpinnerView as _0x152b24,IconView as _0x4f6f74,Notification as _0xa064c}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x171d5c,DomEmitterMixin as _0x52b990,global as _0x1b4645,getAncestors as _0x3ceb32,ObservableMixin as _0x18fd75,uid as _0x540d62,createElement as _0x4dff7e}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x497321}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0xadb038,info as _0x2020f0}from'@uploadcare/upload-client';import*as _0x33a522 from'@uploadcare/file-uploader';var i=function(_0x28b766){return _0x28b766['Local']='local',_0x28b766['URL']='url',_0x28b766['Dropbox']='dropbox',_0x28b766['GDrive']='gdrive',_0x28b766['Facebook']='facebook',_0x28b766['GPhotos']='gphotos',_0x28b766['OneDrive']='onedrive',_0x28b766;}({});function _(_0x277285,_0x3074b8,_0x5a3ee1){const t=_0x277285['t'],_0x317c0b=_0x277285['t'];switch(_0x3074b8){case i['Local']:return{'text':_0x317c0b('Insert'===_0x5a3ee1?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x317c0b('From\x20computer')};case i['URL']:return{'text':'Insert'===_0x5a3ee1?_0x317c0b('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x317c0b('Via\x20URL')};case i['Dropbox']:return{'text':t('Insert'===_0x5a3ee1?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case i['Facebook']:return{'text':t('Insert'===_0x5a3ee1?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case i['GDrive']:return{'text':t('Insert'===_0x5a3ee1?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case i['GPhotos']:return{'text':t('Insert'===_0x5a3ee1?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case i['OneDrive']:return{'text':t('Insert'===_0x5a3ee1?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x3074b8;}}class e extends _0x3ad936{['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 _0x5d1114=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x43f565;for(const _0x4cc2fb in _0x5d1114){const _0xb49b96=_0x4cc2fb,_0x3e705f=_0x5d1114[_0xb49b96];if('uploadcareLicenseKeyValid'==_0x3e705f||'uploadcareLicenseKeyInvalid'==_0x3e705f||'uploadcareLicenseKeyExpired'==_0x3e705f||'uploadcareLicenseKeyDomainLimit'==_0x3e705f||'uploadcareLicenseKeyNotAllowed'==_0x3e705f||'uploadcareLicenseKeyEvaluationLimit'==_0x3e705f||'uploadcareLicenseKeyTrialLimit'==_0x3e705f||'uploadcareLicenseKeyUsageLimit'==_0x3e705f){delete _0x5d1114[_0xb49b96],_0x43f565=_0x3e705f,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x43f565&&_0x5d1114['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x43f565&&_0x5d1114['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x43f565&&_0x5d1114['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x43f565&&_0x5d1114['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x43f565&&_0x5d1114['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0x43f565&&_0x5d1114['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0x43f565&&_0x5d1114['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x3f1c5d}=this,_0x2afc92=_0x3f1c5d['commands']['get']('uploadcare');if(!_0x2afc92)return;const _0x46a4b6=this['_normalizeConfigSourceList'](_0x3f1c5d['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x5847a3,_0x3e60eb)=>{const _0x1512de=this['_getIntegrationKey'](_0x3e60eb['type']);return _0x5847a3[_0x1512de]||(_0x5847a3[_0x1512de]=[]),_0x5847a3[_0x1512de]['push'](_0x3e60eb),_0x5847a3;},{});_0x3f1c5d['plugins']['has']('ImageInsertUI')&&_0x3f1c5d['commands']['get']('uploadcare')&&Object['entries'](_0x46a4b6)['forEach'](([_0x38e94b,_0xe2cbbe])=>{_0x3f1c5d['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x38e94b,'observable':()=>_0x2afc92,'buttonViewCreator':()=>this['_createToolbarButton'](_0xe2cbbe),'formViewCreator':()=>this['_createDropdownButtons'](_0xe2cbbe),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0xe2cbbe),'override':'assetManager'!==_0x38e94b});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x22e4ca){const {locale:_0x2a1129}=this['editor'];return _0x22e4ca['map'](_0x16614d=>{const _0x1f66e8=_(_0x2a1129,_0x16614d,'Insert');switch(_0x16614d){case i['Local']:return{'icon':_0x3f7744,'type':i['Local'],..._0x1f66e8};case i['URL']:return{'icon':_0xcde004,'type':i['URL'],..._0x1f66e8};case i['Dropbox']:return{'icon':_0x445698,'type':i['Dropbox'],..._0x1f66e8};case i['Facebook']:return{'icon':_0x32abb1,'type':i['Facebook'],..._0x1f66e8};case i['GDrive']:return{'icon':_0x2f131c,'type':i['GDrive'],..._0x1f66e8};case i['GPhotos']:return{'icon':_0x572fe5,'type':i['GPhotos'],..._0x1f66e8};case i['OneDrive']:return{'icon':_0x12a02c,'type':i['OneDrive'],..._0x1f66e8};}});}['_getIntegrationKey'](_0x44d292){switch(_0x44d292){case i['Local']:return'upload';case i['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x3530b3,_0x29b961){const _0x5be4fa=this['editor'],_0x1dad88=new _0x3530b3(_0x5be4fa['locale']),_0x142f02=_0x5be4fa['commands']['get']('uploadcare');return _0x1dad88['bind']('isEnabled')['to'](_0x142f02),_0x1dad88['on']('execute',()=>{_0x142f02['execute'](_0x29b961);}),_0x1dad88;}['_createToolbarButton'](_0x5b9f72){const {locale:_0x3429be}=this['editor'],_0x1ea271=this['editor']['plugins']['get']('ImageInsertUI'),_0x53431a=_0x5b9f72[0x0],_0x41eaf2=this['_createButton'](_0x5b769b,_0x53431a['type']);return _0x41eaf2['icon']=_0x53431a['icon'],_0x41eaf2['bind']('label')['to'](_0x1ea271,'isImageSelected',_0xd20a3d=>_(_0x3429be,_0x53431a['type'],_0xd20a3d?'Replace':'Insert')['text']),_0x41eaf2['tooltip']=!0x0,_0x41eaf2;}['_createDropdownButtons'](_0x17fedb){const {locale:_0x503f6e}=this['editor'],_0x5dead4=this['editor']['plugins']['get']('ImageInsertUI');return _0x17fedb['map'](_0x125791=>{const _0x5df7d9=this['_createButton'](_0x5b769b,_0x125791['type']);return _0x5df7d9['withText']=!0x0,_0x5df7d9['icon']=_0x125791['icon'],_0x5df7d9['bind']('label')['to'](_0x5dead4,'isImageSelected',_0x2e5ba6=>_(_0x503f6e,_0x125791['type'],_0x2e5ba6?'Replace':'Insert')['text']),_0x5df7d9;});}['_createMenuBarButtons'](_0x22fa38){return _0x22fa38['map'](_0x56edcb=>{const _0x3e5ae5=this['_createButton'](_0x58f688,_0x56edcb['type']);return _0x3e5ae5['icon']=_0x56edcb['icon'],_0x3e5ae5['label']=_0x56edcb['shortText'],_0x3e5ae5;});}}class F extends _0x674baf{['focusTracker'];['focusCycler'];constructor(_0x5243c5){super(_0x5243c5),this['focusTracker']=new _0x171d5c(),this['focusCycler']=new _0xffdcc6({'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(_0x3bdee8,_0x4ed138){super(_0x3bdee8),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-'+_0x4ed138}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function C(_0x3900ab,_0x4c7589){const _0x4aac76=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x456329=>_0x456329<=_0x4c7589)['map'](_0x276610=>_0x3900ab['replace'](/\/$/,'')+'/-/resize/'+_0x276610+'x/\x20'+_0x276610+'w');return{'imageFallbackUrl':_0x3900ab,'imageSources':[{'srcset':_0x4aac76['join'](',\x20'),'sizes':'(max-width:\x20'+_0x4c7589+'px)\x20100vw,\x20'+_0x4c7589+'px','type':'image/webp'}]};}function S(_0x322900,_0x5ef938,_0x42b36b){const _0x4a7909=_0x322900['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x4a7909?parseInt(_0x4a7909[0x1],0xa):_0x5ef938,'height':_0x4a7909?parseInt(_0x4a7909[0x2],0xa):_0x42b36b};}function p(_0x59d028,_0x49ec60){const _0x27600a=new(_0x52b990())(),_0x1694eb=_0x59d028['plugins']['get']('ImageUtils'),_0x26a661=_0x59d028['editing']['mapper']['toViewElement'](_0x49ec60),_0x3d9cea=_0x1694eb['findViewImgElement'](_0x26a661),_0x51c704=_0x59d028['editing']['view']['domConverter']['viewToDom'](_0x3d9cea),_0x44ae99=_0x49ec60['getAttribute']('width'),_0x387425=_0x49ec60['getAttribute']('height'),_0x14c44a='image-processing';_0x59d028['editing']['view']['change'](_0x368100=>{_0x368100['addClass'](_0x14c44a,_0x26a661),_0x368100['setStyle']('aspect-ratio',_0x44ae99+'/'+_0x387425,_0x3d9cea);}),_0x27600a['listenTo'](_0x51c704,'load',()=>{_0x27600a['stopListening'](_0x51c704,'load'),_0x59d028['editing']['view']['change'](_0x1b19ee=>{_0x1b19ee['removeClass'](_0x14c44a,_0x26a661),_0x1b19ee['removeStyle']('aspect-ratio',_0x3d9cea);});});}function G(_0x2b0a13){if(Array['isArray'](_0x2b0a13)){const _0x399c61=_0x2b0a13['map'](G);return _0x3ebb5f=>_0x399c61['some'](_0x4c1385=>_0x4c1385(_0x3ebb5f));}if('origin'==_0x2b0a13){const _0x4e7d8c=_0x1b4645['window']['location']['origin'];return _0x10dd96=>new URL(_0x10dd96,_0x1b4645['document']['baseURI'])['origin']==_0x4e7d8c;}return'function'==typeof _0x2b0a13?_0x2b0a13:_0x2b0a13 instanceof RegExp?_0x18de08=>!(!_0x18de08['match'](_0x2b0a13)&&!_0x18de08['replace'](/^https?:\/\//,'')['match'](_0x2b0a13)):()=>!0x1;}function A(_0x4f7759,_0x590adc){return _0x3ceb32(_0x4f7759['target'])['includes'](_0x590adc);}class n extends/* #__PURE__ -- @preserve */
24
- _0x18fd75(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x47a7a9,_0x36a819,_0x4d91ca){super(),this['_editor']=_0x47a7a9,this['_editing']=_0x36a819,this['_dialog']=_0x47a7a9['plugins']['get'](_0x2e2ee7),this['_api']=_0x36a819['ctxElement']['getAPI'](),this['_type']=_0x4d91ca,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:_0x1afa85,model:_0x4fca9b}=this['_editor'],_0x24712c=_0x4fca9b['document']['selection']['getSelectedElement'](),_0x24e537=_0x24712c&&(_0x24712c['is']('element','imageBlock')||_0x24712c['is']('element','imageInline'));this['_formView']=new x(_0x1afa85,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':_0x3f7744,'title':_(_0x1afa85,this['_type'],_0x24e537?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x2aad81['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x496f43=>!A(_0x496f43,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x3dba68}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x61a50b=>{const _0x47e1d7=_0x3dba68['length'];for(const _0xe6b411 of _0x3dba68){const _0xbfed93=_0xe6b411===_0x3dba68[_0x47e1d7-0x1],{cdnUrl:_0xf6f186,fileInfo:_0x2875ac}=_0xe6b411;if(!_0xf6f186||!_0x2875ac)continue;const {width:_0x3fc341,height:_0x152a35}=_0x2875ac['imageInfo'],_0xda3903=S(_0xf6f186,_0x3fc341,_0x152a35),_0x562a71=C(_0xf6f186,_0xda3903['width']),_0x1c68c4={'id':_0x2875ac['uuid'],'type':'image','attributes':{'imageDimension':_0xda3903,..._0x562a71}};this['_insertAsset'](_0x1c68c4,_0xbfed93,_0x61a50b);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x54b336=>{'idle'===_0x54b336['detail']['status']&&!_0x54b336['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===i['Local']?this['_api']['setCurrentActivity'](i['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x717931,_0x16f896,_0x5a6046){const _0x38ea1d=this['_editor']['model']['document']['selection'],_0xb677fe=_0x38ea1d['getSelectedElement'](),_0xc38f06=!(!_0xb677fe||!_0xb677fe['is']('element','imageInline'));_0x5a6046['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x717931,_0xc38f06),_0x16f896||_0x5a6046['setSelection'](_0x38ea1d['getLastPosition']());}['_insertImage'](_0x4de0a2,_0x1d073e){const _0xa0a369=this['_editor'],{imageDimension:_0xc92839,imageFallbackUrl:_0x14cd13,imageSources:_0x41fb0d}=_0x4de0a2['attributes'];_0xa0a369['execute']('insertImage',{'imageType':_0x1d073e?'imageInline':null,'source':{'uploadcareImageId':_0x4de0a2['id'],'src':_0x14cd13,'sources':_0x41fb0d,..._0xc92839}});}}class w extends _0x1c7c22{['_editing'];['_controller']=null;static get['requires'](){return[_0x2e2ee7,o];}constructor(_0x1ecf66){super(_0x1ecf66),this['_editing']=_0x1ecf66['plugins']['get'](o);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x3d6d69){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new n(this['editor'],this['_editing'],_0x3d6d69);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class j{static['upload']({file:_0x242a16,..._0x181f99}){return _0xadb038(_0x242a16,_0x181f99);}static['getInfo'](_0x43d2ee,_0x39ecd7){return _0x2020f0(_0x43d2ee,_0x39ecd7);}}class f extends _0x3ad936{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x497321,o];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x356195=this['editor'];if(!!!_0x356195['config']['get']('uploadcare'))return;_0x356195['plugins']['get'](_0x497321)['createUploadAdapter']=_0x330fe2=>new k(_0x330fe2,_0x356195),_0x356195['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x499a6c,{imageElement:_0x545776,data:_0x184ca8})=>{_0x356195['model']['change'](_0x26303b=>{_0x26303b['setAttribute']('uploadcareImageId',_0x184ca8['uploadcareImageId'],_0x545776);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x1b924a,_0x3648ce){this['loader']=_0x1b924a,this['editor']=_0x3648ce,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x58cfb0=await this['loader']['file'];return j['upload']({'file':_0x58cfb0,'publicKey':this['editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':this['controller']['signal'],'onProgress':_0x223a58=>{_0x223a58&&_0x223a58['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x223a58['value']);}})['then'](async _0x16b8e7=>{const {imageFallbackUrl:_0x9bfb9b,imageSources:_0x208326}=C(_0x16b8e7['cdnUrl'],_0x16b8e7['imageInfo']['width']);return{'uploadcareImageId':_0x16b8e7['uuid'],'default':_0x9bfb9b,'sources':_0x208326};})['catch'](()=>{const _0x32a3fe=t('Cannot\x20upload\x20file:')+('\x20'+_0x58cfb0['name']+'.');return Promise['reject'](_0x32a3fe);});}['abort'](){this['controller']['abort']();}}class o extends _0x3ad936{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',f,_0x2e2ee7];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['ucContextId'];get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}constructor(_0x160dd0){super(_0x160dd0),this['ucContextId']=_0x540d62();}['init'](){const _0x5eae8e=this['editor'];_0x5eae8e['commands']['add']('uploadcare',new w(_0x5eae8e));}['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 _0x516cb5=_0x1b4645['document']['querySelector']('input[uploadcare-file-input]');_0x516cb5&&_0x516cb5['remove']();}),async function(_0x2408f4){const _0x4af364=_0x3579ae([0x52,0x42,0x63,0x58,0x64,0x47,0x66,0x35,0x36,0x37,0x6d,0x4e,0x6a,0x4b,0x39,0x44,0x54,0x70,0x50,0x30,0x49,0x79,0x69,0x33,0x67,0x65,0x61,0x38,0x5a,0x76,0x7a,0x6c,0x45,0x34,0x62,0x46,0x75,0x57,0x72,0x77,0x73,0x48,0x31,0x68,0x6e,0x4f,0x53,0x4c,0x71,0x6b,0x59,0x32,0x4d,0x51,0x4a,0x78,0x6f,0x56,0x41,0x55,0x74,0x43]),_0x5e8916=0x3d8d0df,_0x14583d=0x3dfa4ef^_0x5e8916,_0x4fa145=window[_0x3579ae([0x44,0x61,0x74,0x65])][_0x3579ae([0x6e,0x6f,0x77])](),_0x4f3d60=_0x2408f4[_0x3579ae([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3a5121=new window[(_0x3579ae([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x374548=>{_0x4f3d60[_0x3579ae([0x6f,0x6e,0x63,0x65])](_0x3579ae([0x72,0x65,0x61,0x64,0x79]),_0x374548);}),_0x18ff1d={[_0x3579ae([0x6b,0x74,0x79])]:_0x3579ae([0x45,0x43]),[_0x3579ae([0x75,0x73,0x65])]:_0x3579ae([0x73,0x69,0x67]),[_0x3579ae([0x63,0x72,0x76])]:_0x3579ae([0x50,0x2d,0x32,0x35,0x36]),[_0x3579ae([0x78])]:_0x3579ae([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]),[_0x3579ae([0x79])]:_0x3579ae([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]),[_0x3579ae([0x61,0x6c,0x67])]:_0x3579ae([0x45,0x53,0x32,0x35,0x36])},_0xe1ed74=_0x4f3d60[_0x3579ae([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3579ae([0x67,0x65,0x74])](_0x3579ae([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x140b96(){let _0x5064e9,_0x2cd365=null,_0xef7a5b=null;try{if(_0xe1ed74==_0x3579ae([0x47,0x50,0x4c]))return _0x3579ae([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x5064e9=_0xf6fe3c(),!_0x5064e9)return _0x3579ae([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x5064e9[_0x3579ae([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0xef7a5b=_0x4754ad(_0x5064e9[_0x3579ae([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x5064e9[_0x3579ae([0x6a,0x74,0x69])])),await _0x65a26e()?_0x107184()?_0x5963a6()?_0x3579ae([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x39797a()?(_0x5064e9[_0x3579ae([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3579ae([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2cd365=_0x1276c4(_0x3579ae([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x5064e9[_0x3579ae([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3579ae([0x74,0x72,0x69,0x61,0x6c])&&(_0x2cd365=_0x1276c4(_0x3579ae([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0xbb755a()):_0x3579ae([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3579ae([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3579ae([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x3579ae([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x5963a6(){const _0x449c79=[_0x3579ae([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3579ae([0x74,0x72,0x69,0x61,0x6c])][_0x3579ae([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5064e9[_0x3579ae([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x4fa145/0x3e8:0xe10*_0x14583d;return _0x5064e9[_0x3579ae([0x65,0x78,0x70])]<_0x449c79;}function _0x107184(){const _0x982c4b=_0x5064e9[_0x3579ae([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x982c4b&&(!!_0x982c4b[_0x3579ae([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3579ae([0x2a]))||!!_0x982c4b[_0x3579ae([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3579ae([0x55,0x50,0x4c,0x43])));}function _0x39797a(){const _0x3335b4=_0x5064e9[_0x3579ae([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3335b4||0x0==_0x3335b4[_0x3579ae([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x52c655}=new URL(window[_0x3579ae([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x3335b4[_0x3579ae([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x52c655))return!0x0;const _0x1010b1=_0x52c655[_0x3579ae([0x73,0x70,0x6c,0x69,0x74])](_0x3579ae([0x2e]));return _0x3335b4[_0x3579ae([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4cced=>_0x4cced[_0x3579ae([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3579ae([0x2a])))[_0x3579ae([0x6d,0x61,0x70])](_0x14785b=>_0x14785b[_0x3579ae([0x73,0x70,0x6c,0x69,0x74])](_0x3579ae([0x2e])))[_0x3579ae([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x195af6=>_0x195af6[_0x3579ae([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x1010b1[_0x3579ae([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3579ae([0x6d,0x61,0x70])](_0x358fcb=>Array(_0x1010b1[_0x3579ae([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x358fcb[_0x3579ae([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3579ae([0x66,0x69,0x6c,0x6c])](_0x358fcb[0x0]===_0x3579ae([0x2a])?_0x3579ae([0x2a]):'')[_0x3579ae([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x358fcb))[_0x3579ae([0x73,0x6f,0x6d,0x65])](_0x9e3f66=>_0x1010b1[_0x3579ae([0x65,0x76,0x65,0x72,0x79])]((_0x30b706,_0x3e7b04)=>_0x9e3f66[_0x3e7b04]===_0x30b706||_0x9e3f66[_0x3e7b04]===_0x3579ae([0x2a])));}function _0xbb755a(){return _0x2cd365&&_0xef7a5b?new window[(_0x3579ae([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2a849c,_0x23ad92)=>{_0x2cd365[_0x3579ae([0x74,0x68,0x65,0x6e])](_0x2a849c,_0x23ad92),_0xef7a5b[_0x3579ae([0x74,0x68,0x65,0x6e])](_0x431f49=>{_0x431f49!=_0x3579ae([0x56,0x61,0x6c,0x69,0x64])&&_0x2a849c(_0x431f49);},_0x23ad92);}):_0x2cd365||_0xef7a5b||_0x3579ae([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4754ad(_0x236836,_0x367c21){return new window[(_0x3579ae([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x204892=>{if(_0x10051d())return _0x204892(_0x3579ae([0x56,0x61,0x6c,0x69,0x64]));_0x8e0cbb(),_0x4f3d60[_0x3579ae([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3579ae([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x255fec=!0x1;const _0x479b92=_0x540d62();function _0x2d806e(_0x273092){return!!_0x273092&&(typeof _0x273092===_0x3579ae([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x273092===_0x3579ae([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x273092[_0x3579ae([0x74,0x68,0x65,0x6e])]===_0x3579ae([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x273092[_0x3579ae([0x63,0x61,0x74,0x63,0x68])]===_0x3579ae([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4c3d97(_0x2de4c3){_0x33aec1(_0x2de4c3)[_0x3579ae([0x74,0x68,0x65,0x6e])](_0x4a5de6=>{if(!_0x4a5de6||_0x4a5de6[_0x3579ae([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3579ae([0x6f,0x6b]))return _0x3579ae([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x4492ce(_0x1e0df0(_0x479b92+_0x367c21))!=_0x4a5de6[_0x3579ae([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3579ae([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3579ae([0x56,0x61,0x6c,0x69,0x64]);})[_0x3579ae([0x74,0x68,0x65,0x6e])](_0x42f1b3=>(_0x5464f2(),_0x42f1b3),()=>{const _0x25f60e=_0x395913();return null==_0x25f60e?(_0x5464f2(),_0x3579ae([0x56,0x61,0x6c,0x69,0x64])):_0x3579ae(_0x4fa145-_0x25f60e>(0x27d454df^_0x5e8916)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3579ae([0x74,0x68,0x65,0x6e])](_0x204892)[_0x3579ae([0x63,0x61,0x74,0x63,0x68])](()=>{_0x204892(_0x3579ae([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x248370=0x3ee3e5f^_0x5e8916;function _0x5464f2(){const _0xec2657=_0x3579ae([0x6c,0x6c,0x63,0x74,0x2d])+_0x4492ce(_0x1e0df0(_0x236836)),_0x7a4834=_0x14663a(_0x4492ce(window[_0x3579ae([0x4d,0x61,0x74,0x68])][_0x3579ae([0x63,0x65,0x69,0x6c])](_0x4fa145/_0x248370)));window[_0x3579ae([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3579ae([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xec2657,_0x7a4834);}function _0x395913(){const _0x1ffad5=_0x3579ae([0x6c,0x6c,0x63,0x74,0x2d])+_0x4492ce(_0x1e0df0(_0x236836)),_0x1a6be1=window[_0x3579ae([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3579ae([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1ffad5);return _0x1a6be1?window[_0x3579ae([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x14663a(_0x1a6be1),0x10)*_0x248370:null;}function _0x33aec1(_0x22c882){return new window[(_0x3579ae([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2a77d5,_0x42196a)=>{_0x22c882[_0x3579ae([0x74,0x68,0x65,0x6e])](_0x2a77d5,_0x42196a),window[_0x3579ae([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x42196a,0x3d9041f^_0x5e8916);});}}_0x4f3d60[_0x3579ae([0x6f,0x6e])](_0x3579ae([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x222507,_0x3116ea)=>{if(_0x3116ea[0x0]!=_0x236836)return _0x204892(_0x3579ae([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3116ea[0x1]={..._0x3116ea[0x1],[_0x3579ae([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x479b92};},{[_0x3579ae([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3579ae([0x68,0x69,0x67,0x68])}),_0x4f3d60[_0x3579ae([0x6f,0x6e])](_0x3579ae([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4e9a03=>{_0x2d806e(_0x4e9a03[_0x3579ae([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x255fec=!0x0,_0x4c3d97(_0x4e9a03[_0x3579ae([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3579ae([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3579ae([0x6c,0x6f,0x77])}),_0x3a5121[_0x3579ae([0x74,0x68,0x65,0x6e])](()=>{_0x255fec||_0x204892(_0x3579ae([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x10051d(){return _0x4f3d60[_0x3579ae([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3579ae([0x76,0x69,0x65,0x77])][_0x3579ae([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3579ae([0x61,0x75,0x74,0x6f]);}function _0x8e0cbb(){_0x4f3d60[_0x3579ae([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3579ae([0x76,0x69,0x65,0x77])][_0x3579ae([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3579ae([0x61,0x75,0x74,0x6f]);}}function _0x1276c4(_0x5d44b6){const _0xcbc1fb=[new window[(_0x3579ae([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x428b6e=>setTimeout(_0x428b6e,0x3d1ee13^_0x5e8916)),_0x3a5121[_0x3579ae([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3579ae([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4b3b75=>{let _0x227ae2=0x0;_0x4f3d60[_0x3579ae([0x6d,0x6f,0x64,0x65,0x6c])][_0x3579ae([0x6f,0x6e])](_0x3579ae([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4813a5,_0x1815a7)=>{_0x1815a7[0x0][_0x3579ae([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x227ae2++,_0x227ae2==(0x3d8d127^_0x5e8916)&&(_0x4b3b75(),_0x4813a5[_0x3579ae([0x6f,0x66,0x66])]());});}))];return window[_0x3579ae([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3579ae([0x72,0x61,0x63,0x65])](_0xcbc1fb)[_0x3579ae([0x74,0x68,0x65,0x6e])](()=>_0x5d44b6);}async function _0x46bfcc(){await _0x3a5121,_0x4f3d60[_0x3579ae([0x6d,0x6f,0x64,0x65,0x6c])][_0x3579ae([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x106215,_0x4f3d60[_0x3579ae([0x6d,0x6f,0x64,0x65,0x6c])][_0x3579ae([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x106215,_0x4f3d60[_0x3579ae([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3579ae([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x34f085(_0x276230){const _0x710067=_0x3f3df7();_0x4f3d60[_0x710067]=_0x3579ae([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x276230,_0x276230!=_0x3579ae([0x56,0x61,0x6c,0x69,0x64])&&_0x46bfcc();}function _0x3f3df7(){const _0x4e1d6b=window[_0x3579ae([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3579ae([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3579ae([0x6e,0x6f,0x77])]())[_0x3579ae([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3579ae([0x2e]),'');let _0x1c648a=_0x3579ae([0x52]);for(let _0x453b7c=0x0;_0x453b7c<_0x4e1d6b[_0x3579ae([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x453b7c+=0x2){let _0x2883a4=window[_0x3579ae([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4e1d6b[_0x3579ae([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x453b7c,_0x453b7c+0x2));_0x2883a4>=_0x4af364[_0x3579ae([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2883a4-=_0x4af364[_0x3579ae([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1c648a+=_0x4af364[_0x2883a4];}return _0x1c648a;}function _0xf6fe3c(){const _0x21923c=_0xe1ed74[_0x3579ae([0x73,0x70,0x6c,0x69,0x74])](_0x3579ae([0x2e]));if(0x3!=_0x21923c[_0x3579ae([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x1e6a08(_0x21923c[0x1]);function _0x1e6a08(_0x3e9f08){const _0x38c728=_0x18a5a5(_0x3e9f08);return _0x38c728&&_0x106934()?_0x38c728:null;function _0x106934(){const _0x5106f3=_0x38c728[_0x3579ae([0x6a,0x74,0x69])],_0x1578e5=window[_0x3579ae([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5106f3[_0x3579ae([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5106f3[_0x3579ae([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x11d7aa={..._0x38c728,[_0x3579ae([0x6a,0x74,0x69])]:_0x5106f3[_0x3579ae([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x5106f3[_0x3579ae([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x11d7aa[_0x3579ae([0x76,0x63])],_0x1e0df0(_0x11d7aa)==_0x1578e5;}}}async function _0x65a26e(){let _0x1135f2=!0x0;try{const _0x473c4b=_0xe1ed74[_0x3579ae([0x73,0x70,0x6c,0x69,0x74])](_0x3579ae([0x2e])),[_0x42c477,_0x8f49b8,_0x52a186]=_0x473c4b;return _0x173eee(_0x42c477),await _0x4dd47a(_0x42c477,_0x8f49b8,_0x52a186),_0x1135f2;}catch{return!0x1;}function _0x173eee(_0x3afa04){const _0xb7443d=_0x18a5a5(_0x3afa04);_0xb7443d&&_0xb7443d[_0x3579ae([0x61,0x6c,0x67])]==_0x3579ae([0x45,0x53,0x32,0x35,0x36])||(_0x1135f2=!0x1);}async function _0x4dd47a(_0x1598f5,_0x4068a2,_0x7c2a66){const _0x393af3=window[_0x3579ae([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3579ae([0x66,0x72,0x6f,0x6d])](_0x123d5d(_0x7c2a66),_0x2b3277=>_0x2b3277[_0x3579ae([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2fd0a6=new window[(_0x3579ae([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3579ae([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1598f5+_0x3579ae([0x2e])+_0x4068a2),_0x3e093e=window[_0x3579ae([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3579ae([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3e093e)return;const _0x1ba8d2=await _0x3e093e[_0x3579ae([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3579ae([0x6a,0x77,0x6b]),_0x18ff1d,{[_0x3579ae([0x6e,0x61,0x6d,0x65])]:_0x3579ae([0x45,0x43,0x44,0x53,0x41]),[_0x3579ae([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3579ae([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3579ae([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3e093e[_0x3579ae([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3579ae([0x6e,0x61,0x6d,0x65])]:_0x3579ae([0x45,0x43,0x44,0x53,0x41]),[_0x3579ae([0x68,0x61,0x73,0x68])]:{[_0x3579ae([0x6e,0x61,0x6d,0x65])]:_0x3579ae([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1ba8d2,_0x393af3,_0x2fd0a6)||(_0x1135f2=!0x1);}}function _0x18a5a5(_0x2154b2){return _0x2154b2[_0x3579ae([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3579ae([0x65,0x79]))?JSON[_0x3579ae([0x70,0x61,0x72,0x73,0x65])](_0x123d5d(_0x2154b2)):null;}function _0x123d5d(_0x5e55d0){return window[_0x3579ae([0x61,0x74,0x6f,0x62])](_0x5e55d0[_0x3579ae([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3579ae([0x2b]))[_0x3579ae([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3579ae([0x2f])));}function _0x1e0df0(_0x3d5d5f){let _0x99719c=0x1505;function _0x1a118c(_0xc94fd8){for(let _0x3b6228=0x0;_0x3b6228<_0xc94fd8[_0x3579ae([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3b6228++){const _0xd45afc=_0xc94fd8[_0x3579ae([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x3b6228);_0x99719c=(_0x99719c<<0x5)+_0x99719c+_0xd45afc,_0x99719c&=_0x99719c;}}function _0x29700d(_0x3826a7){Array[_0x3579ae([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x3826a7)?_0x3826a7[_0x3579ae([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x29700d):_0x3826a7&&typeof _0x3826a7==_0x3579ae([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3579ae([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x3826a7)[_0x3579ae([0x73,0x6f,0x72,0x74])]()[_0x3579ae([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x3d4b00,_0x4016a2])=>{_0x1a118c(_0x3d4b00),_0x29700d(_0x4016a2);}):_0x1a118c(window[_0x3579ae([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x3826a7));}return _0x29700d(_0x3d5d5f),_0x99719c>>>0x0;}function _0x4492ce(_0x2d32af){return _0x2d32af[_0x3579ae([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3579ae([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3579ae([0x30]));}function _0x14663a(_0x22897a){return _0x22897a[_0x3579ae([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3579ae([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3579ae([0x6a,0x6f,0x69,0x6e])]('');}function _0x106215(){}function _0x3579ae(_0xc086a9){return _0xc086a9['map'](_0x19de64=>String['fromCharCode'](_0x19de64))['join']('');}_0x34f085(await _0x140b96());}(this);}['_initSchema'](){const _0x580499=this['editor']['model']['schema'];_0x580499['isRegistered']('imageBlock')&&_0x580499['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x580499['isRegistered']('imageInline')&&_0x580499['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x4c9f84=this['editor'];_0x4c9f84['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x4c9f84['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x38602b=>_0x38602b['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x206eed=_0x4c9f84['commands']['get']('replaceImageSource');_0x206eed&&this['listenTo'](_0x206eed,'cleanupImage',(_0x1645db,[_0x27c2c0,_0x5684d5])=>{_0x27c2c0['removeAttribute']('uploadcareImageId',_0x5684d5);});}['_initConfig'](){const _0xd8107f=this['editor']['config']['get']('uploadcare.uploader')||{},_0xa164d0=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x4dff7e(_0x1b4645['document'],'uc-config',{..._0xd8107f,'pubkey':_0xa164d0,'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']=_0x471071=>{if('closeMax'==_0x471071)return'#uc-icon-arrow-down';},_0x1b4645['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x4dff7e(_0x1b4645['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),_0x1b4645['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x6a68af=this['editor']['commands']['get']('insertImage');_0x6a68af&&this['listenTo'](_0x6a68af,'execute',()=>{const _0x3aa439=this['editor']['model']['document']['selection']['getSelectedElement']();_0x3aa439&&_0x3aa439['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x3aa439);});});const _0x604d75=this['editor']['commands']['get']('uploadcareImageReplace');_0x604d75&&this['listenTo'](_0x604d75,'execute',()=>{const _0x5ecaef=this['editor']['model']['document']['selection']['getSelectedElement']();_0x5ecaef&&_0x5ecaef['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x5ecaef);});});}}class tt extends _0x3ad936{static get['requires'](){return[o,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x26043b){super(_0x26043b),_0x26043b['config']['define']('uploadcare.uploader.sourceList',[i['Local'],i['URL']]),_0x33a522['defineComponents'](_0x33a522);}}class ii extends _0x674baf{constructor(_0x4961bd){super(_0x4961bd);const t=_0x4961bd['t'],_0x402d04=this['bindTemplate'],_0x8a86b9=new _0x152b24();_0x8a86b9['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':[_0x8a86b9,{'text':_0x402d04['to']('imageUploadProgress',_0x14de68=>t('Loading\x20image...')+'\x20('+(_0x14de68||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 _0x674baf{constructor(_0x3e2532){super(_0x3e2532);const t=_0x3e2532['t'];this['set']('errorType',null);const _0x542734=new _0x5b769b(_0x3e2532);_0x542734['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x542734['withText']=!0x0,_0x542734['class']='ck-button-action',_0x542734['on']('execute',()=>{this['fire']('retry');}),_0x542734['bind']('isVisible')['to'](this,'errorType',_0x4ac87c=>'NotFound'!==_0x4ac87c);const _0x5159ec=new _0x4f6f74();_0x5159ec['content']=_0x4d8c89,_0x5159ec['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x526997=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':[_0x5159ec,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x526997['to']('errorType',_0x3bdd8e=>t('NotFound'!==_0x3bdd8e?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x542734]},{'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 _0x674baf{constructor(_0x318cb3,_0x47bfc1){super(_0x318cb3);const _0x2bd4ff=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x47bfc1,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x2bd4ff['to']('imageSrc')}});}}class X extends F{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x178bf9,_0x42d5ae,_0x240231){super(_0x178bf9),this['_items']=this['createCollection'](),this['_loadingView']=new ii(_0x178bf9),this['_errorView']=new ti(_0x178bf9),this['_editingView']=new ei(_0x178bf9,_0x240231),this['_focusableView']=new _0x674baf(_0x178bf9),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x42d5ae),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'],_0x251bb9=>{this['_addUploadcareImageEditorListeners'](_0x251bb9);});}),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'](_0x47b3c2,_0x523666){const _0xf6aa71='uc-cloud-image-editor',_0xf9c34e=_0x47b3c2['querySelector'](_0xf6aa71);if(_0xf9c34e)return _0x523666(_0xf9c34e);const _0x41b7a8=new MutationObserver(_0x355ac9=>{const _0x34e3ce=_0x355ac9['filter'](_0x53a4ca=>_0x53a4ca['target']===_0x47b3c2&&_0x53a4ca['addedNodes']['length']>0x0&&_0x53a4ca['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0xf6aa71);_0x34e3ce['length']&&(_0x41b7a8['disconnect'](),_0x523666(_0x34e3ce[0x0]['addedNodes'][0x0]));});_0x41b7a8['observe'](_0x47b3c2,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x14cdd5){_0x14cdd5['addEventListener']('apply',_0x128edb=>{this['fire']('apply',{'imageSrc':_0x128edb['detail']['cdnUrl']});}),_0x14cdd5['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class E extends/* #__PURE__ -- @preserve */
25
- _0x18fd75(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x1f72be,_0x109772,_0x3e00d5){super(),this['_editor']=_0x1f72be,this['_dialog']=_0x109772,this['_imageElement']=_0x3e00d5,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 _0x2c514c=this['_imageElement'],_0x3bf48d=_0x2c514c['getAttribute']('uploadcareImageId'),_0x20b709=_0x2c514c['getAttribute']('src');if(_0x3bf48d)await this['_loadImageInfo'](_0x3bf48d,_0x20b709);else{if(this['_imageCache']['has'](_0x20b709)){const _0x37d118=this['_imageCache']['get'](_0x20b709);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x37d118['url'],this['imageDimension']=_0x37d118['dimension'],this['imageId']=_0x37d118['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x174596}=this['_editor'],t=_0x174596['t'],_0x879d83=new X(_0x174596,this['imageStatus'],this['_attributes']);_0x879d83['bind']('status')['to'](this,'imageStatus'),_0x879d83['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x879d83['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x879d83['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x879d83,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x1a61f4,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x879d83,'position':_0x2aad81['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x879d83['focus']();},'onHide':()=>{_0x879d83['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x5387a6=>!A(_0x5387a6,_0x879d83['element'])}});}['_loadImageInfo'](_0x285ac1,_0x10b21b){return j['getInfo'](_0x285ac1,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x1c28d4=>{const {width:_0x627942,height:_0x469927}=_0x1c28d4['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x10b21b,this['imageDimension']={'width':_0x627942,'height':_0x469927},this['imageId']=_0x285ac1;})['catch'](_0x2b3f79=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x2b3f79['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x66b45e,_0x1e682e){return this['_getImageAsFile'](_0x66b45e)['then'](_0x5452e0=>j['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['_editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':_0x1e682e['signal'],'file':_0x5452e0,'onProgress':_0x11721d=>{_0x11721d&&_0x11721d['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x11721d['value']));}}))['then'](_0xed2198=>{const {width:_0x2b9bc1,height:_0x1c5c8f}=_0xed2198['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0xed2198['cdnUrl'],this['imageDimension']={'width':_0x2b9bc1,'height':_0x1c5c8f},this['imageId']=_0xed2198['uuid'],this['imageUploadProgress']=null;const _0x38523a=_0x66b45e['getAttribute']('src');this['_imageCache']['set'](_0x38523a,{'id':_0xed2198['uuid'],'url':_0xed2198['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x1d9d92=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x1d9d92['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x20f031,_0x26b37f){_0x20f031['on']('apply',(_0x3ea10d,_0x167d0b)=>{this['_replaceImage'](_0x26b37f,_0x167d0b['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x20f031['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x20f031['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x5f22b7,_0x4679f3,_0x570f9f){const _0x513a3b=this['_editor'],{width:_0x9d0bdd,height:_0x500422}=S(_0x4679f3,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x2d919a,imageSources:_0x427beb}=C(_0x4679f3,_0x9d0bdd);_0x513a3b['model']['change'](_0x3b1024=>{if('$graveyard'===_0x5f22b7['root']['rootName']){_0x513a3b['execute']('insertImage',{'imageType':_0x5f22b7['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x5f22b7['getAttributes']()),'uploadcareImageId':_0x570f9f,'src':_0x2d919a,'sources':_0x427beb,'width':_0x9d0bdd,'height':_0x500422}});const _0x51147a=_0x5f22b7['getChildren']();_0x5f22b7=_0x513a3b['model']['document']['selection']['getSelectedElement']();for(const _0x5b8a52 of _0x51147a)_0x3b1024['append'](_0x3b1024['cloneElement'](_0x5b8a52),_0x5f22b7);}else _0x3b1024['setSelection'](_0x5f22b7,'on'),_0x513a3b['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x5f22b7['getAttributes']()),'uploadcareImageId':_0x570f9f,'src':_0x2d919a,'sources':_0x427beb,'width':_0x9d0bdd,'height':_0x500422},_0x5f22b7);_0x3b1024['setSelection'](_0x5f22b7,'on');});}async['_getImageAsFile'](_0x19ecbc){const _0x54e747=_0x1b4645['window'],_0x4dac7b=_0x1b4645['document']['location']['href'],_0x273deb=new _0x54e747['URL'](_0x19ecbc['getAttribute']('src'),_0x4dac7b);if('data:'===_0x273deb['protocol']){const _0x395e76=_0x273deb['href']['split'](','),_0x20c4ff=_0x395e76[0x0]['match'](/:(.*?);/)[0x1],_0x5cae90=_0x20c4ff['split']('/')[0x1],_0x1965d5=_0x54e747['atob'](_0x395e76[_0x395e76['length']-0x1]);let _0x274731=_0x1965d5['length'];const _0x2617dc=new _0x54e747['Uint8Array'](_0x274731);for(;_0x274731--;)_0x2617dc[_0x274731]=_0x1965d5['charCodeAt'](_0x274731);return new _0x54e747['File']([_0x2617dc],'image.'+_0x5cae90,{'type':_0x20c4ff});}const _0x51ea2f=_0x273deb['href']['split']('/'),_0x2f5008=_0x51ea2f[_0x51ea2f['length']-0x1],_0x3f7de7=_0x2f5008['split']('.')[0x1];return _0x54e747['fetch'](_0x273deb['href'])['then'](_0x2585d1=>_0x2585d1['clone']()['blob']())['then'](_0x364a96=>new _0x54e747['File']([_0x364a96],_0x2f5008,{'type':'image/'+_0x3f7de7}));}}class O extends _0x1c7c22{['imageEditController'];static get['requires'](){return[_0x2e2ee7];}['_isEditable'];constructor(_0x5d2acd){super(_0x5d2acd),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x2a48cb){const _0x2e574b=G(_0x2a48cb);return _0x17dbef=>!(!_0x17dbef||!_0x17dbef['is']('element','imageBlock')&&!_0x17dbef['is']('element','imageInline'))&&(!!_0x17dbef['hasAttribute']('uploadcareImageId')||!!_0x17dbef['hasAttribute']('src')&&_0x2e574b(_0x17dbef['getAttribute']('src')));}(_0x5d2acd['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x276a1d=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x276a1d);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x16ad45=this['editor']['model']['document']['selection']['getSelectedElement']();_0x16ad45&&(_0x16ad45['is']('element','imageBlock')||_0x16ad45['is']('element','imageInline'))&&(this['imageEditController']=new E(this['editor'],this['editor']['plugins']['get'](_0x2e2ee7),_0x16ad45),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class R extends _0x1c7c22{['refresh'](){const _0x19b732=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x19b732&&(_0x19b732['is']('element','imageBlock')||_0x19b732['is']('element','imageInline')));}['execute'](_0x29211b){const _0x16d1b6=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0xd6720f=>{_0xd6720f['setAttributes'](_0x29211b,_0x16d1b6),_0xd6720f['removeAttribute']('srcset',_0x16d1b6),_0xd6720f['removeAttribute']('sizes',_0x16d1b6);});}}class m extends _0x3ad936{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[o,_0xa064c,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0xd331b7}=this;_0xd331b7['commands']['add']('uploadcareImageEdit',new O(_0xd331b7)),_0xd331b7['commands']['add']('uploadcareImageReplace',new R(_0xd331b7));}}class g extends _0x3ad936{['_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 _0x42ad33=this['editor'];_0x42ad33['ui']['componentFactory']['add']('uploadcareImageEdit',_0x196e87=>{const _0x30cd5c=_0x42ad33['commands']['get']('uploadcareImageEdit'),_0x502cb1=new _0x5b769b(_0x196e87),t=_0x196e87['t'];return _0x502cb1['set']({'icon':_0x1a61f4,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x502cb1['bind']('isEnabled')['to'](_0x30cd5c),_0x502cb1['bind']('isOn')['to'](_0x30cd5c,'isActive'),this['listenTo'](_0x502cb1,'execute',()=>{_0x42ad33['execute']('uploadcareImageEdit'),_0x42ad33['editing']['view']['focus']();}),_0x502cb1;}),this['_initConfig']();}['_initConfig'](){const _0xb525ec=_0x4dff7e(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0xb525ec),this['listenTo'](this['editor'],'destroy',()=>{_0xb525ec['remove']();});}}class et extends _0x3ad936{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 _0x1180c3,Command as _0x543520}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x42620b,IconGooglePhotos as _0x876b9e,IconGoogleDrive as _0x15740e,IconFacebook as _0x3ece3b,IconDropbox as _0x3a727f,IconUploadcareLink as _0x25e534,IconUploadcareImageUpload as _0x4b97fb,IconError as _0x4e120b,IconUploadcareImageEdit as _0x1b41c1}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0xc66bc4,MenuBarMenuListItemButtonView as _0x300c00,View as _0x50dd7b,FocusCycler as _0x3308e6,Dialog as _0x11d4dd,DialogViewPosition as _0x1c52e5,SpinnerView as _0x4faba4,IconView as _0x380740,Notification as _0x6ff17a}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x442d44,DomEmitterMixin as _0x30a286,global as _0x5eca4b,getAncestors as _0x178f91,ObservableMixin as _0x416d28,uid as _0x45c898,createElement as _0x1dd6c2}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x36c7b2}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x4c700d,info as _0x79e439}from'@uploadcare/upload-client';import*as _0x2a0391 from'@uploadcare/file-uploader';var i=function(_0x2a3c75){return _0x2a3c75['Local']='local',_0x2a3c75['URL']='url',_0x2a3c75['Dropbox']='dropbox',_0x2a3c75['GDrive']='gdrive',_0x2a3c75['Facebook']='facebook',_0x2a3c75['GPhotos']='gphotos',_0x2a3c75['OneDrive']='onedrive',_0x2a3c75;}({});function _(_0x34e2e4,_0x16d91d,_0x27fedd){const t=_0x34e2e4['t'],_0x2c8e73=_0x34e2e4['t'];switch(_0x16d91d){case i['Local']:return{'text':_0x2c8e73('Insert'===_0x27fedd?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x2c8e73('From\x20computer')};case i['URL']:return{'text':'Insert'===_0x27fedd?_0x2c8e73('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x2c8e73('Via\x20URL')};case i['Dropbox']:return{'text':t('Insert'===_0x27fedd?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case i['Facebook']:return{'text':t('Insert'===_0x27fedd?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case i['GDrive']:return{'text':t('Insert'===_0x27fedd?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case i['GPhotos']:return{'text':t('Insert'===_0x27fedd?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case i['OneDrive']:return{'text':t('Insert'===_0x27fedd?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x16d91d;}}class e extends _0x1180c3{['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 _0x5c9f26=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x204dde;for(const _0x274eae in _0x5c9f26){const _0x5a35e8=_0x274eae,_0x3976f3=_0x5c9f26[_0x5a35e8];if('uploadcareLicenseKeyValid'==_0x3976f3||'uploadcareLicenseKeyInvalid'==_0x3976f3||'uploadcareLicenseKeyExpired'==_0x3976f3||'uploadcareLicenseKeyDomainLimit'==_0x3976f3||'uploadcareLicenseKeyNotAllowed'==_0x3976f3||'uploadcareLicenseKeyEvaluationLimit'==_0x3976f3||'uploadcareLicenseKeyTrialLimit'==_0x3976f3||'uploadcareLicenseKeyUsageLimit'==_0x3976f3){delete _0x5c9f26[_0x5a35e8],_0x204dde=_0x3976f3,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x204dde&&_0x5c9f26['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x204dde&&_0x5c9f26['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x204dde&&_0x5c9f26['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x204dde&&_0x5c9f26['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x204dde&&_0x5c9f26['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0x204dde&&_0x5c9f26['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0x204dde&&_0x5c9f26['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x258f9e}=this,_0x550219=_0x258f9e['commands']['get']('uploadcare');if(!_0x550219)return;const _0x47f178=this['_normalizeConfigSourceList'](_0x258f9e['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x146669,_0x521770)=>{const _0x1af233=this['_getIntegrationKey'](_0x521770['type']);return _0x146669[_0x1af233]||(_0x146669[_0x1af233]=[]),_0x146669[_0x1af233]['push'](_0x521770),_0x146669;},{});_0x258f9e['plugins']['has']('ImageInsertUI')&&_0x258f9e['commands']['get']('uploadcare')&&Object['entries'](_0x47f178)['forEach'](([_0x254ad4,_0x3d1a81])=>{_0x258f9e['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x254ad4,'observable':()=>_0x550219,'buttonViewCreator':()=>this['_createToolbarButton'](_0x3d1a81),'formViewCreator':()=>this['_createDropdownButtons'](_0x3d1a81),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x3d1a81),'override':'assetManager'!==_0x254ad4});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x4ffb22){const {locale:_0x5a41db}=this['editor'];return _0x4ffb22['map'](_0x4a29d0=>{const _0x33453e=_(_0x5a41db,_0x4a29d0,'Insert');switch(_0x4a29d0){case i['Local']:return{'icon':_0x4b97fb,'type':i['Local'],..._0x33453e};case i['URL']:return{'icon':_0x25e534,'type':i['URL'],..._0x33453e};case i['Dropbox']:return{'icon':_0x3a727f,'type':i['Dropbox'],..._0x33453e};case i['Facebook']:return{'icon':_0x3ece3b,'type':i['Facebook'],..._0x33453e};case i['GDrive']:return{'icon':_0x15740e,'type':i['GDrive'],..._0x33453e};case i['GPhotos']:return{'icon':_0x876b9e,'type':i['GPhotos'],..._0x33453e};case i['OneDrive']:return{'icon':_0x42620b,'type':i['OneDrive'],..._0x33453e};}});}['_getIntegrationKey'](_0xa8eb67){switch(_0xa8eb67){case i['Local']:return'upload';case i['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x564cf3,_0x1d8e9d){const _0x103bce=this['editor'],_0x1f2994=new _0x564cf3(_0x103bce['locale']),_0x4ee9f2=_0x103bce['commands']['get']('uploadcare');return _0x1f2994['bind']('isEnabled')['to'](_0x4ee9f2),_0x1f2994['on']('execute',()=>{_0x4ee9f2['execute'](_0x1d8e9d);}),_0x1f2994;}['_createToolbarButton'](_0x2fe799){const {locale:_0x4f53a4}=this['editor'],_0x489e4c=this['editor']['plugins']['get']('ImageInsertUI'),_0x18d22f=_0x2fe799[0x0],_0x52dd66=this['_createButton'](_0xc66bc4,_0x18d22f['type']);return _0x52dd66['icon']=_0x18d22f['icon'],_0x52dd66['bind']('label')['to'](_0x489e4c,'isImageSelected',_0x5ef73c=>_(_0x4f53a4,_0x18d22f['type'],_0x5ef73c?'Replace':'Insert')['text']),_0x52dd66['tooltip']=!0x0,_0x52dd66;}['_createDropdownButtons'](_0x2773d3){const {locale:_0xa7aaa6}=this['editor'],_0x264271=this['editor']['plugins']['get']('ImageInsertUI');return _0x2773d3['map'](_0x2e5597=>{const _0x3379c5=this['_createButton'](_0xc66bc4,_0x2e5597['type']);return _0x3379c5['withText']=!0x0,_0x3379c5['icon']=_0x2e5597['icon'],_0x3379c5['bind']('label')['to'](_0x264271,'isImageSelected',_0x298b0d=>_(_0xa7aaa6,_0x2e5597['type'],_0x298b0d?'Replace':'Insert')['text']),_0x3379c5;});}['_createMenuBarButtons'](_0x2a4cef){return _0x2a4cef['map'](_0xf5878f=>{const _0x9ab0e3=this['_createButton'](_0x300c00,_0xf5878f['type']);return _0x9ab0e3['icon']=_0xf5878f['icon'],_0x9ab0e3['label']=_0xf5878f['shortText'],_0x9ab0e3;});}}class F extends _0x50dd7b{['focusTracker'];['focusCycler'];constructor(_0x305d7b){super(_0x305d7b),this['focusTracker']=new _0x442d44(),this['focusCycler']=new _0x3308e6({'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(_0x3fe227,_0x43fb39){super(_0x3fe227),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-'+_0x43fb39}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function C(_0x29e1e2,_0x52ad37){const _0x542101=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x5b78d3=>_0x5b78d3<=_0x52ad37)['map'](_0x24306d=>_0x29e1e2['replace'](/\/$/,'')+'/-/resize/'+_0x24306d+'x/\x20'+_0x24306d+'w');return{'imageFallbackUrl':_0x29e1e2,'imageSources':[{'srcset':_0x542101['join'](',\x20'),'sizes':'(max-width:\x20'+_0x52ad37+'px)\x20100vw,\x20'+_0x52ad37+'px','type':'image/webp'}]};}function S(_0x46b7df,_0x9b5dc3,_0x4d7a26){const _0x214f26=_0x46b7df['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x214f26?parseInt(_0x214f26[0x1],0xa):_0x9b5dc3,'height':_0x214f26?parseInt(_0x214f26[0x2],0xa):_0x4d7a26};}function p(_0x409ed6,_0x33456d){const _0x49afbb=new(_0x30a286())(),_0x16099c=_0x409ed6['plugins']['get']('ImageUtils'),_0x18ad48=_0x409ed6['editing']['mapper']['toViewElement'](_0x33456d),_0x4b01c6=_0x16099c['findViewImgElement'](_0x18ad48),_0x583ac7=_0x409ed6['editing']['view']['domConverter']['viewToDom'](_0x4b01c6),_0x49b6c8=_0x33456d['getAttribute']('width'),_0x59ae3f=_0x33456d['getAttribute']('height'),_0x5a06ec='image-processing';_0x409ed6['editing']['view']['change'](_0x4564a6=>{_0x4564a6['addClass'](_0x5a06ec,_0x18ad48),_0x4564a6['setStyle']('aspect-ratio',_0x49b6c8+'/'+_0x59ae3f,_0x4b01c6);}),_0x49afbb['listenTo'](_0x583ac7,'load',()=>{_0x49afbb['stopListening'](_0x583ac7,'load'),_0x409ed6['editing']['view']['change'](_0x16ccbc=>{_0x16ccbc['removeClass'](_0x5a06ec,_0x18ad48),_0x16ccbc['removeStyle']('aspect-ratio',_0x4b01c6);});});}function G(_0x17c4b6){if(Array['isArray'](_0x17c4b6)){const _0x4e3e11=_0x17c4b6['map'](G);return _0x25e82c=>_0x4e3e11['some'](_0x1be583=>_0x1be583(_0x25e82c));}if('origin'==_0x17c4b6){const _0x3fb6a9=_0x5eca4b['window']['location']['origin'];return _0x35fa6e=>new URL(_0x35fa6e,_0x5eca4b['document']['baseURI'])['origin']==_0x3fb6a9;}return'function'==typeof _0x17c4b6?_0x17c4b6:_0x17c4b6 instanceof RegExp?_0x27a4db=>!(!_0x27a4db['match'](_0x17c4b6)&&!_0x27a4db['replace'](/^https?:\/\//,'')['match'](_0x17c4b6)):()=>!0x1;}function A(_0xf0c320,_0x204514){return _0x178f91(_0xf0c320['target'])['includes'](_0x204514);}class n extends/* #__PURE__ -- @preserve */
24
+ _0x416d28(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x4dd57f,_0x5e3ece,_0x509122){super(),this['_editor']=_0x4dd57f,this['_editing']=_0x5e3ece,this['_dialog']=_0x4dd57f['plugins']['get'](_0x11d4dd),this['_api']=_0x5e3ece['ctxElement']['getAPI'](),this['_type']=_0x509122,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:_0xb3aa3f,model:_0x240ff1}=this['_editor'],_0x161730=_0x240ff1['document']['selection']['getSelectedElement'](),_0x4dbc45=_0x161730&&(_0x161730['is']('element','imageBlock')||_0x161730['is']('element','imageInline'));this['_formView']=new x(_0xb3aa3f,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':_0x4b97fb,'title':_(_0xb3aa3f,this['_type'],_0x4dbc45?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x1c52e5['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x1b8c08=>!A(_0x1b8c08,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x2f92d5}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x2cf7ba=>{const _0x2ee000=_0x2f92d5['length'];for(const _0x3da28e of _0x2f92d5){const _0x4776a9=_0x3da28e===_0x2f92d5[_0x2ee000-0x1],{cdnUrl:_0x1c9b5e,fileInfo:_0x49f2f0}=_0x3da28e;if(!_0x1c9b5e||!_0x49f2f0)continue;const {width:_0x5b1fa1,height:_0x548d57}=_0x49f2f0['imageInfo'],_0x1f9017=S(_0x1c9b5e,_0x5b1fa1,_0x548d57),_0x19e2e9=C(_0x1c9b5e,_0x1f9017['width']),_0x433488={'id':_0x49f2f0['uuid'],'type':'image','attributes':{'imageDimension':_0x1f9017,..._0x19e2e9}};this['_insertAsset'](_0x433488,_0x4776a9,_0x2cf7ba);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x18c792=>{'idle'===_0x18c792['detail']['status']&&!_0x18c792['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===i['Local']?this['_api']['setCurrentActivity'](i['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x1f2790,_0x2b597e,_0x59b229){const _0x4baa1b=this['_editor']['model']['document']['selection'],_0x5d6c11=_0x4baa1b['getSelectedElement'](),_0x47303d=!(!_0x5d6c11||!_0x5d6c11['is']('element','imageInline'));_0x59b229['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x1f2790,_0x47303d),_0x2b597e||_0x59b229['setSelection'](_0x4baa1b['getLastPosition']());}['_insertImage'](_0x14c7e3,_0x27a220){const _0x2ab135=this['_editor'],{imageDimension:_0x4ac330,imageFallbackUrl:_0x3052a6,imageSources:_0x395370}=_0x14c7e3['attributes'];_0x2ab135['execute']('insertImage',{'imageType':_0x27a220?'imageInline':null,'source':{'uploadcareImageId':_0x14c7e3['id'],'src':_0x3052a6,'sources':_0x395370,..._0x4ac330}});}}class w extends _0x543520{['_editing'];['_controller']=null;static get['requires'](){return[_0x11d4dd,o];}constructor(_0x2c42ce){super(_0x2c42ce),this['_editing']=_0x2c42ce['plugins']['get'](o);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x269757){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new n(this['editor'],this['_editing'],_0x269757);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class j{static['upload']({file:_0x258c4d,..._0x29db32}){return _0x4c700d(_0x258c4d,_0x29db32);}static['getInfo'](_0x151918,_0x4294bd){return _0x79e439(_0x151918,_0x4294bd);}}class f extends _0x1180c3{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x36c7b2,o];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x593212=this['editor'];if(!!!_0x593212['config']['get']('uploadcare'))return;_0x593212['plugins']['get'](_0x36c7b2)['createUploadAdapter']=_0x14c27b=>new k(_0x14c27b,_0x593212),_0x593212['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x17c689,{imageElement:_0x353c34,data:_0x1dc8a3})=>{_0x593212['model']['change'](_0x1224a8=>{_0x1224a8['setAttribute']('uploadcareImageId',_0x1dc8a3['uploadcareImageId'],_0x353c34);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x5a7857,_0x4c0a5d){this['loader']=_0x5a7857,this['editor']=_0x4c0a5d,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x34566f=await this['loader']['file'];return j['upload']({'file':_0x34566f,'publicKey':this['editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':this['controller']['signal'],'onProgress':_0x2bb26e=>{_0x2bb26e&&_0x2bb26e['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x2bb26e['value']);}})['then'](async _0x181ca1=>{const {imageFallbackUrl:_0x52a779,imageSources:_0x301f63}=C(_0x181ca1['cdnUrl'],_0x181ca1['imageInfo']['width']);return{'uploadcareImageId':_0x181ca1['uuid'],'default':_0x52a779,'sources':_0x301f63};})['catch'](()=>{const _0x33f681=t('Cannot\x20upload\x20file:')+('\x20'+_0x34566f['name']+'.');return Promise['reject'](_0x33f681);});}['abort'](){this['controller']['abort']();}}class o extends _0x1180c3{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',f,_0x11d4dd];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['ucContextId'];get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}constructor(_0x47c80b){super(_0x47c80b),this['ucContextId']=_0x45c898();}['init'](){const _0x4a9603=this['editor'];_0x4a9603['commands']['add']('uploadcare',new w(_0x4a9603));}['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 _0x13c40b=_0x5eca4b['document']['querySelector']('input[uploadcare-file-input]');_0x13c40b&&_0x13c40b['remove']();}),async function(_0x4cc649){const _0x2981c2=_0x55a3ba([0x52,0x42,0x63,0x58,0x64,0x47,0x66,0x35,0x36,0x37,0x6d,0x4e,0x6a,0x4b,0x39,0x44,0x54,0x70,0x50,0x30,0x49,0x79,0x69,0x33,0x67,0x65,0x61,0x38,0x5a,0x76,0x7a,0x6c,0x45,0x34,0x62,0x46,0x75,0x57,0x72,0x77,0x73,0x48,0x31,0x68,0x6e,0x4f,0x53,0x4c,0x71,0x6b,0x59,0x32,0x4d,0x51,0x4a,0x78,0x6f,0x56,0x41,0x55,0x74,0x43]),_0xe54ded=0x3d8d0df,_0x431776=0x3dfa497^_0xe54ded,_0xa10e0b=window[_0x55a3ba([0x44,0x61,0x74,0x65])][_0x55a3ba([0x6e,0x6f,0x77])](),_0x1fa68e=_0x4cc649[_0x55a3ba([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x4e257a=new window[(_0x55a3ba([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5e434f=>{_0x1fa68e[_0x55a3ba([0x6f,0x6e,0x63,0x65])](_0x55a3ba([0x72,0x65,0x61,0x64,0x79]),_0x5e434f);}),_0x5a11e4={[_0x55a3ba([0x6b,0x74,0x79])]:_0x55a3ba([0x45,0x43]),[_0x55a3ba([0x75,0x73,0x65])]:_0x55a3ba([0x73,0x69,0x67]),[_0x55a3ba([0x63,0x72,0x76])]:_0x55a3ba([0x50,0x2d,0x32,0x35,0x36]),[_0x55a3ba([0x78])]:_0x55a3ba([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]),[_0x55a3ba([0x79])]:_0x55a3ba([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]),[_0x55a3ba([0x61,0x6c,0x67])]:_0x55a3ba([0x45,0x53,0x32,0x35,0x36])},_0x9bd0f=_0x1fa68e[_0x55a3ba([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x55a3ba([0x67,0x65,0x74])](_0x55a3ba([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x192d98(){let _0x4dedcc,_0x3648d3=null,_0x5ca810=null;try{if(_0x9bd0f==_0x55a3ba([0x47,0x50,0x4c]))return _0x55a3ba([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x4dedcc=_0x59d966(),!_0x4dedcc)return _0x55a3ba([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x4dedcc[_0x55a3ba([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x5ca810=_0x565d08(_0x4dedcc[_0x55a3ba([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x4dedcc[_0x55a3ba([0x6a,0x74,0x69])])),await _0x98e775()?_0x2ece1f()?_0x471b7f()?_0x55a3ba([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4dd867()?(_0x4dedcc[_0x55a3ba([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x55a3ba([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3648d3=_0x52a082(_0x55a3ba([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x4dedcc[_0x55a3ba([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x55a3ba([0x74,0x72,0x69,0x61,0x6c])&&(_0x3648d3=_0x52a082(_0x55a3ba([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x11074c()):_0x55a3ba([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x55a3ba([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x55a3ba([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x55a3ba([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x471b7f(){const _0x299e24=[_0x55a3ba([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x55a3ba([0x74,0x72,0x69,0x61,0x6c])][_0x55a3ba([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4dedcc[_0x55a3ba([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0xa10e0b/0x3e8:0xe10*_0x431776;return _0x4dedcc[_0x55a3ba([0x65,0x78,0x70])]<_0x299e24;}function _0x2ece1f(){const _0x8e3aa=_0x4dedcc[_0x55a3ba([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x8e3aa&&(!!_0x8e3aa[_0x55a3ba([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x55a3ba([0x2a]))||!!_0x8e3aa[_0x55a3ba([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x55a3ba([0x55,0x50,0x4c,0x43])));}function _0x4dd867(){const _0xa0296c=_0x4dedcc[_0x55a3ba([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0xa0296c||0x0==_0xa0296c[_0x55a3ba([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3553c9}=new URL(window[_0x55a3ba([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0xa0296c[_0x55a3ba([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3553c9))return!0x0;const _0x528beb=_0x3553c9[_0x55a3ba([0x73,0x70,0x6c,0x69,0x74])](_0x55a3ba([0x2e]));return _0xa0296c[_0x55a3ba([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5adff4=>_0x5adff4[_0x55a3ba([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x55a3ba([0x2a])))[_0x55a3ba([0x6d,0x61,0x70])](_0x4563ab=>_0x4563ab[_0x55a3ba([0x73,0x70,0x6c,0x69,0x74])](_0x55a3ba([0x2e])))[_0x55a3ba([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4a19ad=>_0x4a19ad[_0x55a3ba([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x528beb[_0x55a3ba([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x55a3ba([0x6d,0x61,0x70])](_0x2cced0=>Array(_0x528beb[_0x55a3ba([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x2cced0[_0x55a3ba([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x55a3ba([0x66,0x69,0x6c,0x6c])](_0x2cced0[0x0]===_0x55a3ba([0x2a])?_0x55a3ba([0x2a]):'')[_0x55a3ba([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x2cced0))[_0x55a3ba([0x73,0x6f,0x6d,0x65])](_0x3a669e=>_0x528beb[_0x55a3ba([0x65,0x76,0x65,0x72,0x79])]((_0x681e1a,_0x9902f4)=>_0x3a669e[_0x9902f4]===_0x681e1a||_0x3a669e[_0x9902f4]===_0x55a3ba([0x2a])));}function _0x11074c(){return _0x3648d3&&_0x5ca810?new window[(_0x55a3ba([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x12a1b5,_0x51695f)=>{_0x3648d3[_0x55a3ba([0x74,0x68,0x65,0x6e])](_0x12a1b5,_0x51695f),_0x5ca810[_0x55a3ba([0x74,0x68,0x65,0x6e])](_0x132400=>{_0x132400!=_0x55a3ba([0x56,0x61,0x6c,0x69,0x64])&&_0x12a1b5(_0x132400);},_0x51695f);}):_0x3648d3||_0x5ca810||_0x55a3ba([0x56,0x61,0x6c,0x69,0x64]);}}function _0x565d08(_0x403a25,_0x1dd79f){return new window[(_0x55a3ba([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x43fd79=>{if(_0x117d8c())return _0x43fd79(_0x55a3ba([0x56,0x61,0x6c,0x69,0x64]));_0x4ec69b(),_0x1fa68e[_0x55a3ba([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x55a3ba([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x390322=!0x1;const _0x2758b5=_0x45c898();function _0x511237(_0x1a9046){return!!_0x1a9046&&(typeof _0x1a9046===_0x55a3ba([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1a9046===_0x55a3ba([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1a9046[_0x55a3ba([0x74,0x68,0x65,0x6e])]===_0x55a3ba([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1a9046[_0x55a3ba([0x63,0x61,0x74,0x63,0x68])]===_0x55a3ba([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x5c01f5(_0x2dfb64){_0x91e735(_0x2dfb64)[_0x55a3ba([0x74,0x68,0x65,0x6e])](_0x1db24f=>{if(!_0x1db24f||_0x1db24f[_0x55a3ba([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x55a3ba([0x6f,0x6b]))return _0x55a3ba([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x4c50df(_0x3a2fc6(_0x2758b5+_0x1dd79f))!=_0x1db24f[_0x55a3ba([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x55a3ba([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x55a3ba([0x56,0x61,0x6c,0x69,0x64]);})[_0x55a3ba([0x74,0x68,0x65,0x6e])](_0x4daf39=>(_0x27698d(),_0x4daf39),()=>{const _0x2c69e8=_0x4aeb0e();return null==_0x2c69e8?(_0x27698d(),_0x55a3ba([0x56,0x61,0x6c,0x69,0x64])):_0x55a3ba(_0xa10e0b-_0x2c69e8>(0x27d454df^_0xe54ded)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x55a3ba([0x74,0x68,0x65,0x6e])](_0x43fd79)[_0x55a3ba([0x63,0x61,0x74,0x63,0x68])](()=>{_0x43fd79(_0x55a3ba([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2cf09e=0x3ee3e5f^_0xe54ded;function _0x27698d(){const _0x1cba6a=_0x55a3ba([0x6c,0x6c,0x63,0x74,0x2d])+_0x4c50df(_0x3a2fc6(_0x403a25)),_0x567c1e=_0x177d76(_0x4c50df(window[_0x55a3ba([0x4d,0x61,0x74,0x68])][_0x55a3ba([0x63,0x65,0x69,0x6c])](_0xa10e0b/_0x2cf09e)));window[_0x55a3ba([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x55a3ba([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1cba6a,_0x567c1e);}function _0x4aeb0e(){const _0x4e8673=_0x55a3ba([0x6c,0x6c,0x63,0x74,0x2d])+_0x4c50df(_0x3a2fc6(_0x403a25)),_0x4c4b0e=window[_0x55a3ba([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x55a3ba([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4e8673);return _0x4c4b0e?window[_0x55a3ba([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x177d76(_0x4c4b0e),0x10)*_0x2cf09e:null;}function _0x91e735(_0x5259e4){return new window[(_0x55a3ba([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x141cbe,_0x55201e)=>{_0x5259e4[_0x55a3ba([0x74,0x68,0x65,0x6e])](_0x141cbe,_0x55201e),window[_0x55a3ba([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x55201e,0x3d9041f^_0xe54ded);});}}_0x1fa68e[_0x55a3ba([0x6f,0x6e])](_0x55a3ba([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x31f112,_0x3026f6)=>{if(_0x3026f6[0x0]!=_0x403a25)return _0x43fd79(_0x55a3ba([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3026f6[0x1]={..._0x3026f6[0x1],[_0x55a3ba([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2758b5};},{[_0x55a3ba([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x55a3ba([0x68,0x69,0x67,0x68])}),_0x1fa68e[_0x55a3ba([0x6f,0x6e])](_0x55a3ba([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x11f05b=>{_0x511237(_0x11f05b[_0x55a3ba([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x390322=!0x0,_0x5c01f5(_0x11f05b[_0x55a3ba([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x55a3ba([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x55a3ba([0x6c,0x6f,0x77])}),_0x4e257a[_0x55a3ba([0x74,0x68,0x65,0x6e])](()=>{_0x390322||_0x43fd79(_0x55a3ba([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x117d8c(){return _0x1fa68e[_0x55a3ba([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x55a3ba([0x76,0x69,0x65,0x77])][_0x55a3ba([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x55a3ba([0x61,0x75,0x74,0x6f]);}function _0x4ec69b(){_0x1fa68e[_0x55a3ba([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x55a3ba([0x76,0x69,0x65,0x77])][_0x55a3ba([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x55a3ba([0x61,0x75,0x74,0x6f]);}}function _0x52a082(_0x64359d){const _0x464df7=[new window[(_0x55a3ba([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x168dea=>setTimeout(_0x168dea,0x3d1ee13^_0xe54ded)),_0x4e257a[_0x55a3ba([0x74,0x68,0x65,0x6e])](()=>new window[(_0x55a3ba([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1aea1c=>{let _0x2b951f=0x0;_0x1fa68e[_0x55a3ba([0x6d,0x6f,0x64,0x65,0x6c])][_0x55a3ba([0x6f,0x6e])](_0x55a3ba([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x15c467,_0x540fda)=>{_0x540fda[0x0][_0x55a3ba([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2b951f++,_0x2b951f==(0x3d8d127^_0xe54ded)&&(_0x1aea1c(),_0x15c467[_0x55a3ba([0x6f,0x66,0x66])]());});}))];return window[_0x55a3ba([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x55a3ba([0x72,0x61,0x63,0x65])](_0x464df7)[_0x55a3ba([0x74,0x68,0x65,0x6e])](()=>_0x64359d);}async function _0x2012ca(){await _0x4e257a,_0x1fa68e[_0x55a3ba([0x6d,0x6f,0x64,0x65,0x6c])][_0x55a3ba([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4b7984,_0x1fa68e[_0x55a3ba([0x6d,0x6f,0x64,0x65,0x6c])][_0x55a3ba([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4b7984,_0x1fa68e[_0x55a3ba([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x55a3ba([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x551ab1(_0x2f3980){const _0x3a7b9a=_0x226263();_0x1fa68e[_0x3a7b9a]=_0x55a3ba([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x2f3980,_0x2f3980!=_0x55a3ba([0x56,0x61,0x6c,0x69,0x64])&&_0x2012ca();}function _0x226263(){const _0x2b265f=window[_0x55a3ba([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x55a3ba([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x55a3ba([0x6e,0x6f,0x77])]())[_0x55a3ba([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x55a3ba([0x2e]),'');let _0xca9183=_0x55a3ba([0x52]);for(let _0x125a04=0x0;_0x125a04<_0x2b265f[_0x55a3ba([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x125a04+=0x2){let _0x1d1709=window[_0x55a3ba([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2b265f[_0x55a3ba([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x125a04,_0x125a04+0x2));_0x1d1709>=_0x2981c2[_0x55a3ba([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1d1709-=_0x2981c2[_0x55a3ba([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0xca9183+=_0x2981c2[_0x1d1709];}return _0xca9183;}function _0x59d966(){const _0x2f624e=_0x9bd0f[_0x55a3ba([0x73,0x70,0x6c,0x69,0x74])](_0x55a3ba([0x2e]));if(0x3!=_0x2f624e[_0x55a3ba([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x43027d(_0x2f624e[0x1]);function _0x43027d(_0x56afae){const _0x219555=_0x138403(_0x56afae);return _0x219555&&_0xa60aca()?_0x219555:null;function _0xa60aca(){const _0x2f2a10=_0x219555[_0x55a3ba([0x6a,0x74,0x69])],_0x1f9a3d=window[_0x55a3ba([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2f2a10[_0x55a3ba([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2f2a10[_0x55a3ba([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2671ec={..._0x219555,[_0x55a3ba([0x6a,0x74,0x69])]:_0x2f2a10[_0x55a3ba([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x2f2a10[_0x55a3ba([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2671ec[_0x55a3ba([0x76,0x63])],_0x3a2fc6(_0x2671ec)==_0x1f9a3d;}}}async function _0x98e775(){let _0x466cfc=!0x0;try{const _0x4e9c3b=_0x9bd0f[_0x55a3ba([0x73,0x70,0x6c,0x69,0x74])](_0x55a3ba([0x2e])),[_0x158dcc,_0x5d4190,_0x4abaf8]=_0x4e9c3b;return _0x270453(_0x158dcc),await _0x599e4e(_0x158dcc,_0x5d4190,_0x4abaf8),_0x466cfc;}catch{return!0x1;}function _0x270453(_0x2ee24c){const _0x4beffc=_0x138403(_0x2ee24c);_0x4beffc&&_0x4beffc[_0x55a3ba([0x61,0x6c,0x67])]==_0x55a3ba([0x45,0x53,0x32,0x35,0x36])||(_0x466cfc=!0x1);}async function _0x599e4e(_0x5b9bdf,_0x4f04c2,_0x4ae992){const _0x5911a5=window[_0x55a3ba([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x55a3ba([0x66,0x72,0x6f,0x6d])](_0x400081(_0x4ae992),_0x2cbdb2=>_0x2cbdb2[_0x55a3ba([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x38ff4b=new window[(_0x55a3ba([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x55a3ba([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x5b9bdf+_0x55a3ba([0x2e])+_0x4f04c2),_0x296dda=window[_0x55a3ba([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x55a3ba([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x296dda)return;const _0xcbb242=await _0x296dda[_0x55a3ba([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x55a3ba([0x6a,0x77,0x6b]),_0x5a11e4,{[_0x55a3ba([0x6e,0x61,0x6d,0x65])]:_0x55a3ba([0x45,0x43,0x44,0x53,0x41]),[_0x55a3ba([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x55a3ba([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x55a3ba([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x296dda[_0x55a3ba([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x55a3ba([0x6e,0x61,0x6d,0x65])]:_0x55a3ba([0x45,0x43,0x44,0x53,0x41]),[_0x55a3ba([0x68,0x61,0x73,0x68])]:{[_0x55a3ba([0x6e,0x61,0x6d,0x65])]:_0x55a3ba([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0xcbb242,_0x5911a5,_0x38ff4b)||(_0x466cfc=!0x1);}}function _0x138403(_0x17d3de){return _0x17d3de[_0x55a3ba([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x55a3ba([0x65,0x79]))?JSON[_0x55a3ba([0x70,0x61,0x72,0x73,0x65])](_0x400081(_0x17d3de)):null;}function _0x400081(_0x4b069a){return window[_0x55a3ba([0x61,0x74,0x6f,0x62])](_0x4b069a[_0x55a3ba([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x55a3ba([0x2b]))[_0x55a3ba([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x55a3ba([0x2f])));}function _0x3a2fc6(_0x7ed20d){let _0x4951da=0x1505;function _0x48e1f3(_0x215ba8){for(let _0x4788d1=0x0;_0x4788d1<_0x215ba8[_0x55a3ba([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4788d1++){const _0x3bf5c9=_0x215ba8[_0x55a3ba([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4788d1);_0x4951da=(_0x4951da<<0x5)+_0x4951da+_0x3bf5c9,_0x4951da&=_0x4951da;}}function _0x39a2b0(_0x27224a){Array[_0x55a3ba([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x27224a)?_0x27224a[_0x55a3ba([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x39a2b0):_0x27224a&&typeof _0x27224a==_0x55a3ba([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x55a3ba([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x27224a)[_0x55a3ba([0x73,0x6f,0x72,0x74])]()[_0x55a3ba([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0xba79a0,_0x2de217])=>{_0x48e1f3(_0xba79a0),_0x39a2b0(_0x2de217);}):_0x48e1f3(window[_0x55a3ba([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x27224a));}return _0x39a2b0(_0x7ed20d),_0x4951da>>>0x0;}function _0x4c50df(_0x282410){return _0x282410[_0x55a3ba([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x55a3ba([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x55a3ba([0x30]));}function _0x177d76(_0x4e542d){return _0x4e542d[_0x55a3ba([0x73,0x70,0x6c,0x69,0x74])]('')[_0x55a3ba([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x55a3ba([0x6a,0x6f,0x69,0x6e])]('');}function _0x4b7984(){}function _0x55a3ba(_0x22ac46){return _0x22ac46['map'](_0x20d25d=>String['fromCharCode'](_0x20d25d))['join']('');}_0x551ab1(await _0x192d98());}(this);}['_initSchema'](){const _0x32336a=this['editor']['model']['schema'];_0x32336a['isRegistered']('imageBlock')&&_0x32336a['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x32336a['isRegistered']('imageInline')&&_0x32336a['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x297726=this['editor'];_0x297726['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x297726['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0xd8004b=>_0xd8004b['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x23fe2e=_0x297726['commands']['get']('replaceImageSource');_0x23fe2e&&this['listenTo'](_0x23fe2e,'cleanupImage',(_0x575b8f,[_0x45b302,_0x2ffbb7])=>{_0x45b302['removeAttribute']('uploadcareImageId',_0x2ffbb7);});}['_initConfig'](){const _0x438a51=this['editor']['config']['get']('uploadcare.uploader')||{},_0x415d8d=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x1dd6c2(_0x5eca4b['document'],'uc-config',{..._0x438a51,'pubkey':_0x415d8d,'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']=_0x14ac46=>{if('closeMax'==_0x14ac46)return'#uc-icon-arrow-down';},_0x5eca4b['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x1dd6c2(_0x5eca4b['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),_0x5eca4b['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x33d2b3=this['editor']['commands']['get']('insertImage');_0x33d2b3&&this['listenTo'](_0x33d2b3,'execute',()=>{const _0x55c5c5=this['editor']['model']['document']['selection']['getSelectedElement']();_0x55c5c5&&_0x55c5c5['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x55c5c5);});});const _0x42b8b4=this['editor']['commands']['get']('uploadcareImageReplace');_0x42b8b4&&this['listenTo'](_0x42b8b4,'execute',()=>{const _0x503a1b=this['editor']['model']['document']['selection']['getSelectedElement']();_0x503a1b&&_0x503a1b['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x503a1b);});});}}class tt extends _0x1180c3{static get['requires'](){return[o,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x729ef6){super(_0x729ef6),_0x729ef6['config']['define']('uploadcare.uploader.sourceList',[i['Local'],i['URL']]),_0x2a0391['defineComponents'](_0x2a0391);}}class ii extends _0x50dd7b{constructor(_0x46187b){super(_0x46187b);const t=_0x46187b['t'],_0x5c44bf=this['bindTemplate'],_0x332f14=new _0x4faba4();_0x332f14['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':[_0x332f14,{'text':_0x5c44bf['to']('imageUploadProgress',_0x4146b2=>t('Loading\x20image...')+'\x20('+(_0x4146b2||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 _0x50dd7b{constructor(_0xe2be7c){super(_0xe2be7c);const t=_0xe2be7c['t'];this['set']('errorType',null);const _0x542ebf=new _0xc66bc4(_0xe2be7c);_0x542ebf['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x542ebf['withText']=!0x0,_0x542ebf['class']='ck-button-action',_0x542ebf['on']('execute',()=>{this['fire']('retry');}),_0x542ebf['bind']('isVisible')['to'](this,'errorType',_0x13ab52=>'NotFound'!==_0x13ab52);const _0x3ff9fa=new _0x380740();_0x3ff9fa['content']=_0x4e120b,_0x3ff9fa['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x1c12c9=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':[_0x3ff9fa,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x1c12c9['to']('errorType',_0x561aa2=>t('NotFound'!==_0x561aa2?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x542ebf]},{'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 _0x50dd7b{constructor(_0x18e932,_0x321fa7){super(_0x18e932);const _0x196c9e=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x321fa7,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x196c9e['to']('imageSrc')}});}}class X extends F{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x51a179,_0x619200,_0x1def66){super(_0x51a179),this['_items']=this['createCollection'](),this['_loadingView']=new ii(_0x51a179),this['_errorView']=new ti(_0x51a179),this['_editingView']=new ei(_0x51a179,_0x1def66),this['_focusableView']=new _0x50dd7b(_0x51a179),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x619200),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'],_0x445ab9=>{this['_addUploadcareImageEditorListeners'](_0x445ab9);});}),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'](_0x2865e3,_0x5445a7){const _0x5459d2='uc-cloud-image-editor',_0x4b3eb5=_0x2865e3['querySelector'](_0x5459d2);if(_0x4b3eb5)return _0x5445a7(_0x4b3eb5);const _0x45ff45=new MutationObserver(_0x57098e=>{const _0x5726a9=_0x57098e['filter'](_0xbebfc9=>_0xbebfc9['target']===_0x2865e3&&_0xbebfc9['addedNodes']['length']>0x0&&_0xbebfc9['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x5459d2);_0x5726a9['length']&&(_0x45ff45['disconnect'](),_0x5445a7(_0x5726a9[0x0]['addedNodes'][0x0]));});_0x45ff45['observe'](_0x2865e3,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x71a45c){_0x71a45c['addEventListener']('apply',_0x3b3b3b=>{this['fire']('apply',{'imageSrc':_0x3b3b3b['detail']['cdnUrl']});}),_0x71a45c['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class E extends/* #__PURE__ -- @preserve */
25
+ _0x416d28(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x4d7bd3,_0x581abb,_0x14a534){super(),this['_editor']=_0x4d7bd3,this['_dialog']=_0x581abb,this['_imageElement']=_0x14a534,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 _0x4700ae=this['_imageElement'],_0x304906=_0x4700ae['getAttribute']('uploadcareImageId'),_0x165893=_0x4700ae['getAttribute']('src');if(_0x304906)await this['_loadImageInfo'](_0x304906,_0x165893);else{if(this['_imageCache']['has'](_0x165893)){const _0x24d574=this['_imageCache']['get'](_0x165893);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x24d574['url'],this['imageDimension']=_0x24d574['dimension'],this['imageId']=_0x24d574['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x237eda}=this['_editor'],t=_0x237eda['t'],_0x1f0fe1=new X(_0x237eda,this['imageStatus'],this['_attributes']);_0x1f0fe1['bind']('status')['to'](this,'imageStatus'),_0x1f0fe1['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x1f0fe1['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x1f0fe1['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x1f0fe1,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x1b41c1,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x1f0fe1,'position':_0x1c52e5['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x1f0fe1['focus']();},'onHide':()=>{_0x1f0fe1['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x17bce4=>!A(_0x17bce4,_0x1f0fe1['element'])}});}['_loadImageInfo'](_0x42e7cf,_0x24df41){return j['getInfo'](_0x42e7cf,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x484806=>{const {width:_0x4e75ad,height:_0x15d334}=_0x484806['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x24df41,this['imageDimension']={'width':_0x4e75ad,'height':_0x15d334},this['imageId']=_0x42e7cf;})['catch'](_0xa812c2=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0xa812c2['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x301410,_0x2b20cf){return this['_getImageAsFile'](_0x301410)['then'](_0x3fe0ef=>j['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['_editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':_0x2b20cf['signal'],'file':_0x3fe0ef,'onProgress':_0x4a53ee=>{_0x4a53ee&&_0x4a53ee['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x4a53ee['value']));}}))['then'](_0x13a28a=>{const {width:_0x715676,height:_0x1aeec6}=_0x13a28a['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x13a28a['cdnUrl'],this['imageDimension']={'width':_0x715676,'height':_0x1aeec6},this['imageId']=_0x13a28a['uuid'],this['imageUploadProgress']=null;const _0x47215b=_0x301410['getAttribute']('src');this['_imageCache']['set'](_0x47215b,{'id':_0x13a28a['uuid'],'url':_0x13a28a['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x3fc4b7=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x3fc4b7['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x262d27,_0x3ef2df){_0x262d27['on']('apply',(_0x3cd114,_0x4e9bc5)=>{this['_replaceImage'](_0x3ef2df,_0x4e9bc5['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x262d27['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x262d27['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x398dff,_0x54936d,_0x590e96){const _0x936075=this['_editor'],{width:_0x696c2d,height:_0x4e69d4}=S(_0x54936d,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x2d2385,imageSources:_0x8b0680}=C(_0x54936d,_0x696c2d);_0x936075['model']['change'](_0x389231=>{if('$graveyard'===_0x398dff['root']['rootName']){_0x936075['execute']('insertImage',{'imageType':_0x398dff['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x398dff['getAttributes']()),'uploadcareImageId':_0x590e96,'src':_0x2d2385,'sources':_0x8b0680,'width':_0x696c2d,'height':_0x4e69d4}});const _0x145320=_0x398dff['getChildren']();_0x398dff=_0x936075['model']['document']['selection']['getSelectedElement']();for(const _0x60f1e6 of _0x145320)_0x389231['append'](_0x389231['cloneElement'](_0x60f1e6),_0x398dff);}else _0x389231['setSelection'](_0x398dff,'on'),_0x936075['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x398dff['getAttributes']()),'uploadcareImageId':_0x590e96,'src':_0x2d2385,'sources':_0x8b0680,'width':_0x696c2d,'height':_0x4e69d4},_0x398dff);_0x389231['setSelection'](_0x398dff,'on');});}async['_getImageAsFile'](_0x185deb){const _0x988956=_0x5eca4b['window'],_0x4fe363=_0x5eca4b['document']['location']['href'],_0x1dda55=new _0x988956['URL'](_0x185deb['getAttribute']('src'),_0x4fe363);if('data:'===_0x1dda55['protocol']){const _0x5195ca=_0x1dda55['href']['split'](','),_0x10d52f=_0x5195ca[0x0]['match'](/:(.*?);/)[0x1],_0x343ef3=_0x10d52f['split']('/')[0x1],_0x562cda=_0x988956['atob'](_0x5195ca[_0x5195ca['length']-0x1]);let _0x385f84=_0x562cda['length'];const _0x6fc902=new _0x988956['Uint8Array'](_0x385f84);for(;_0x385f84--;)_0x6fc902[_0x385f84]=_0x562cda['charCodeAt'](_0x385f84);return new _0x988956['File']([_0x6fc902],'image.'+_0x343ef3,{'type':_0x10d52f});}const _0x4d4462=_0x1dda55['href']['split']('/'),_0xacf7ec=_0x4d4462[_0x4d4462['length']-0x1],_0x20d4b5=_0xacf7ec['split']('.')[0x1];return _0x988956['fetch'](_0x1dda55['href'])['then'](_0x2380d5=>_0x2380d5['clone']()['blob']())['then'](_0x581213=>new _0x988956['File']([_0x581213],_0xacf7ec,{'type':'image/'+_0x20d4b5}));}}class O extends _0x543520{['imageEditController'];static get['requires'](){return[_0x11d4dd];}['_isEditable'];constructor(_0x253dd3){super(_0x253dd3),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x25f4e9){const _0x1e9fc2=G(_0x25f4e9);return _0x79395c=>!(!_0x79395c||!_0x79395c['is']('element','imageBlock')&&!_0x79395c['is']('element','imageInline'))&&(!!_0x79395c['hasAttribute']('uploadcareImageId')||!!_0x79395c['hasAttribute']('src')&&_0x1e9fc2(_0x79395c['getAttribute']('src')));}(_0x253dd3['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x27a957=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x27a957);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x1e5826=this['editor']['model']['document']['selection']['getSelectedElement']();_0x1e5826&&(_0x1e5826['is']('element','imageBlock')||_0x1e5826['is']('element','imageInline'))&&(this['imageEditController']=new E(this['editor'],this['editor']['plugins']['get'](_0x11d4dd),_0x1e5826),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class R extends _0x543520{['refresh'](){const _0x300542=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x300542&&(_0x300542['is']('element','imageBlock')||_0x300542['is']('element','imageInline')));}['execute'](_0x17ba05){const _0x2e7bdd=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x3583e9=>{_0x3583e9['setAttributes'](_0x17ba05,_0x2e7bdd),_0x3583e9['removeAttribute']('srcset',_0x2e7bdd),_0x3583e9['removeAttribute']('sizes',_0x2e7bdd);});}}class m extends _0x1180c3{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[o,_0x6ff17a,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x3ab015}=this;_0x3ab015['commands']['add']('uploadcareImageEdit',new O(_0x3ab015)),_0x3ab015['commands']['add']('uploadcareImageReplace',new R(_0x3ab015));}}class g extends _0x1180c3{['_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 _0x3720b3=this['editor'];_0x3720b3['ui']['componentFactory']['add']('uploadcareImageEdit',_0x31e721=>{const _0x32e7f7=_0x3720b3['commands']['get']('uploadcareImageEdit'),_0x5887b9=new _0xc66bc4(_0x31e721),t=_0x31e721['t'];return _0x5887b9['set']({'icon':_0x1b41c1,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x5887b9['bind']('isEnabled')['to'](_0x32e7f7),_0x5887b9['bind']('isOn')['to'](_0x32e7f7,'isActive'),this['listenTo'](_0x5887b9,'execute',()=>{_0x3720b3['execute']('uploadcareImageEdit'),_0x3720b3['editing']['view']['focus']();}),_0x5887b9;}),this['_initConfig']();}['_initConfig'](){const _0x15679c=_0x1dd6c2(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x15679c),this['listenTo'](this['editor'],'destroy',()=>{_0x15679c['remove']();});}}class et extends _0x1180c3{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':_0xd1d3ad=>0x1!=_0xd1d3ad}};
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':_0x4dd299=>0x1!=_0x4dd299}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x37e145=>{const {af:{dictionary:_0x2685d6,getPluralForm:_0x27df8f}}={'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':_0x4abff7=>0x1!=_0x4abff7}};_0x37e145['af']||={'dictionary':{},'getPluralForm':null},_0x37e145['af']['dictionary']=Object['assign'](_0x37e145['af']['dictionary'],_0x2685d6),_0x37e145['af']['getPluralForm']=_0x27df8f;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x2dec62=>{const {af:{dictionary:_0x4cd78f,getPluralForm:_0x4a9daa}}={'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':_0x3f301b=>0x1!=_0x3f301b}};_0x2dec62['af']||={'dictionary':{},'getPluralForm':null},_0x2dec62['af']['dictionary']=Object['assign'](_0x2dec62['af']['dictionary'],_0x4cd78f),_0x2dec62['af']['getPluralForm']=_0x4a9daa;})(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':_0x4ca885=>0x0==_0x4ca885?0x0:0x1==_0x4ca885?0x1:0x2==_0x4ca885?0x2:_0x4ca885%0x64>=0x3&&_0x4ca885%0x64<=0xa?0x3:_0x4ca885%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':_0x741644=>0x0==_0x741644?0x0:0x1==_0x741644?0x1:0x2==_0x741644?0x2:_0x741644%0x64>=0x3&&_0x741644%0x64<=0xa?0x3:_0x741644%0x64>=0xb?0x4:0x5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x54f66d=>{const {ar:{dictionary:_0x5aa139,getPluralForm:_0x348f53}}={'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':_0x1e04c5=>0x0==_0x1e04c5?0x0:0x1==_0x1e04c5?0x1:0x2==_0x1e04c5?0x2:_0x1e04c5%0x64>=0x3&&_0x1e04c5%0x64<=0xa?0x3:_0x1e04c5%0x64>=0xb?0x4:0x5}};_0x54f66d['ar']||={'dictionary':{},'getPluralForm':null},_0x54f66d['ar']['dictionary']=Object['assign'](_0x54f66d['ar']['dictionary'],_0x5aa139),_0x54f66d['ar']['getPluralForm']=_0x348f53;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x14318f=>{const {ar:{dictionary:_0x183bb2,getPluralForm:_0x23f47a}}={'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':_0xce6ded=>0x0==_0xce6ded?0x0:0x1==_0xce6ded?0x1:0x2==_0xce6ded?0x2:_0xce6ded%0x64>=0x3&&_0xce6ded%0x64<=0xa?0x3:_0xce6ded%0x64>=0xb?0x4:0x5}};_0x14318f['ar']||={'dictionary':{},'getPluralForm':null},_0x14318f['ar']['dictionary']=Object['assign'](_0x14318f['ar']['dictionary'],_0x183bb2),_0x14318f['ar']['getPluralForm']=_0x23f47a;})(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':_0x4781f9=>0x1!=_0x4781f9}};
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':_0x4d4e1d=>0x1!=_0x4d4e1d}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x2d15f8=>{const {ast:{dictionary:_0x28ecb4,getPluralForm:_0xc93b84}}={'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':_0x1483d1=>0x1!=_0x1483d1}};_0x2d15f8['ast']||={'dictionary':{},'getPluralForm':null},_0x2d15f8['ast']['dictionary']=Object['assign'](_0x2d15f8['ast']['dictionary'],_0x28ecb4),_0x2d15f8['ast']['getPluralForm']=_0xc93b84;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x535799=>{const {ast:{dictionary:_0x53497a,getPluralForm:_0x3dd3d8}}={'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':_0x6b374c=>0x1!=_0x6b374c}};_0x535799['ast']||={'dictionary':{},'getPluralForm':null},_0x535799['ast']['dictionary']=Object['assign'](_0x535799['ast']['dictionary'],_0x53497a),_0x535799['ast']['getPluralForm']=_0x3dd3d8;})(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':_0x231181=>0x1!=_0x231181}};
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':_0x5b6ee2=>0x1!=_0x5b6ee2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x4d238b=>{const {az:{dictionary:_0x65333d,getPluralForm:_0x52d562}}={'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':_0x59a570=>0x1!=_0x59a570}};_0x4d238b['az']||={'dictionary':{},'getPluralForm':null},_0x4d238b['az']['dictionary']=Object['assign'](_0x4d238b['az']['dictionary'],_0x65333d),_0x4d238b['az']['getPluralForm']=_0x52d562;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x13ac4e=>{const {az:{dictionary:_0x170b3b,getPluralForm:_0x16dbb7}}={'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':_0x2ff0e7=>0x1!=_0x2ff0e7}};_0x13ac4e['az']||={'dictionary':{},'getPluralForm':null},_0x13ac4e['az']['dictionary']=Object['assign'](_0x13ac4e['az']['dictionary'],_0x170b3b),_0x13ac4e['az']['getPluralForm']=_0x16dbb7;})(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':_0x1f2d78=>_0x1f2d78%0xa==0x1&&_0x1f2d78%0x64!=0xb?0x0:_0x1f2d78%0xa>=0x2&&_0x1f2d78%0xa<=0x4&&(_0x1f2d78%0x64<0xa||_0x1f2d78%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':_0x50a306=>_0x50a306%0xa==0x1&&_0x50a306%0x64!=0xb?0x0:_0x50a306%0xa>=0x2&&_0x50a306%0xa<=0x4&&(_0x50a306%0x64<0xa||_0x50a306%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x407210=>{const {be:{dictionary:_0x2147ea,getPluralForm:_0x3f3451}}={'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':_0x87b6ad=>_0x87b6ad%0xa==0x1&&_0x87b6ad%0x64!=0xb?0x0:_0x87b6ad%0xa>=0x2&&_0x87b6ad%0xa<=0x4&&(_0x87b6ad%0x64<0xa||_0x87b6ad%0x64>=0x14)?0x1:0x2}};_0x407210['be']||={'dictionary':{},'getPluralForm':null},_0x407210['be']['dictionary']=Object['assign'](_0x407210['be']['dictionary'],_0x2147ea),_0x407210['be']['getPluralForm']=_0x3f3451;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x3d39e5=>{const {be:{dictionary:_0x3310f5,getPluralForm:_0x55c597}}={'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':_0x3bbba0=>_0x3bbba0%0xa==0x1&&_0x3bbba0%0x64!=0xb?0x0:_0x3bbba0%0xa>=0x2&&_0x3bbba0%0xa<=0x4&&(_0x3bbba0%0x64<0xa||_0x3bbba0%0x64>=0x14)?0x1:0x2}};_0x3d39e5['be']||={'dictionary':{},'getPluralForm':null},_0x3d39e5['be']['dictionary']=Object['assign'](_0x3d39e5['be']['dictionary'],_0x3310f5),_0x3d39e5['be']['getPluralForm']=_0x55c597;})(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':_0x1a0b52=>0x1!=_0x1a0b52}};
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':_0x4bbcdc=>0x1!=_0x4bbcdc}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x371d65=>{const {bg:{dictionary:_0x2fb078,getPluralForm:_0x43c01f}}={'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':_0x1c6ad3=>0x1!=_0x1c6ad3}};_0x371d65['bg']||={'dictionary':{},'getPluralForm':null},_0x371d65['bg']['dictionary']=Object['assign'](_0x371d65['bg']['dictionary'],_0x2fb078),_0x371d65['bg']['getPluralForm']=_0x43c01f;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x449100=>{const {bg:{dictionary:_0x29786a,getPluralForm:_0x491965}}={'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':_0x486dc1=>0x1!=_0x486dc1}};_0x449100['bg']||={'dictionary':{},'getPluralForm':null},_0x449100['bg']['dictionary']=Object['assign'](_0x449100['bg']['dictionary'],_0x29786a),_0x449100['bg']['getPluralForm']=_0x491965;})(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':_0x4a8ed8=>0x1!=_0x4a8ed8}};
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':_0x31dbc2=>0x1!=_0x31dbc2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x272e5e=>{const {bn:{dictionary:_0x2cf2fb,getPluralForm:_0x9319d3}}={'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':_0x26c5aa=>0x1!=_0x26c5aa}};_0x272e5e['bn']||={'dictionary':{},'getPluralForm':null},_0x272e5e['bn']['dictionary']=Object['assign'](_0x272e5e['bn']['dictionary'],_0x2cf2fb),_0x272e5e['bn']['getPluralForm']=_0x9319d3;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x337543=>{const {bn:{dictionary:_0x4de2a5,getPluralForm:_0x3033cb}}={'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':_0x2b41b6=>0x1!=_0x2b41b6}};_0x337543['bn']||={'dictionary':{},'getPluralForm':null},_0x337543['bn']['dictionary']=Object['assign'](_0x337543['bn']['dictionary'],_0x4de2a5),_0x337543['bn']['getPluralForm']=_0x3033cb;})(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':_0x9e06d8=>_0x9e06d8%0xa==0x1&&_0x9e06d8%0x64!=0xb?0x0:_0x9e06d8%0xa>=0x2&&_0x9e06d8%0xa<=0x4&&(_0x9e06d8%0x64<0xa||_0x9e06d8%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':_0x1b8c8b=>_0x1b8c8b%0xa==0x1&&_0x1b8c8b%0x64!=0xb?0x0:_0x1b8c8b%0xa>=0x2&&_0x1b8c8b%0xa<=0x4&&(_0x1b8c8b%0x64<0xa||_0x1b8c8b%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x5e9570=>{const {bs:{dictionary:_0x2501fd,getPluralForm:_0x364cfc}}={'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':_0x31d145=>_0x31d145%0xa==0x1&&_0x31d145%0x64!=0xb?0x0:_0x31d145%0xa>=0x2&&_0x31d145%0xa<=0x4&&(_0x31d145%0x64<0xa||_0x31d145%0x64>=0x14)?0x1:0x2}};_0x5e9570['bs']||={'dictionary':{},'getPluralForm':null},_0x5e9570['bs']['dictionary']=Object['assign'](_0x5e9570['bs']['dictionary'],_0x2501fd),_0x5e9570['bs']['getPluralForm']=_0x364cfc;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x8e5aaf=>{const {bs:{dictionary:_0x3a1795,getPluralForm:_0x460694}}={'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':_0x5c59f6=>_0x5c59f6%0xa==0x1&&_0x5c59f6%0x64!=0xb?0x0:_0x5c59f6%0xa>=0x2&&_0x5c59f6%0xa<=0x4&&(_0x5c59f6%0x64<0xa||_0x5c59f6%0x64>=0x14)?0x1:0x2}};_0x8e5aaf['bs']||={'dictionary':{},'getPluralForm':null},_0x8e5aaf['bs']['dictionary']=Object['assign'](_0x8e5aaf['bs']['dictionary'],_0x3a1795),_0x8e5aaf['bs']['getPluralForm']=_0x460694;})(window['CKEDITOR_TRANSLATIONS']||={});