@ckeditor/ckeditor5-uploadcare 47.2.0-alpha.2 → 47.2.0-alpha.3

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 _0x1ff7a1,Command as _0x231b2e}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x25234c,IconGooglePhotos as _0x3ea8d0,IconGoogleDrive as _0x4dc2af,IconFacebook as _0x282d9d,IconDropbox as _0x2afa77,IconUploadcareLink as _0x5ebafe,IconUploadcareImageUpload as _0x5e3299,IconError as _0x200074,IconUploadcareImageEdit as _0x3f79a9}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x7d21ee,MenuBarMenuListItemButtonView as _0x369baa,View as _0x10596c,FocusCycler as _0x1bc494,Dialog as _0x3b78b7,DialogViewPosition as _0x36e3c8,SpinnerView as _0x483e8b,IconView as _0x562ecc,Notification as _0x46f6e2}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0xf76853,DomEmitterMixin as _0x34b033,global as _0x2ca13c,getAncestors as _0x545605,ObservableMixin as _0x580206,uid as _0x23a04f,createElement as _0x1df8c2}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x288fbe}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x357f9d,info as _0x40ce87}from'@uploadcare/upload-client';import*as _0x4cfbf0 from'@uploadcare/file-uploader';var i=function(_0x49fe79){return _0x49fe79['Local']='local',_0x49fe79['URL']='url',_0x49fe79['Dropbox']='dropbox',_0x49fe79['GDrive']='gdrive',_0x49fe79['Facebook']='facebook',_0x49fe79['GPhotos']='gphotos',_0x49fe79['OneDrive']='onedrive',_0x49fe79;}({});function _(_0x4d454b,_0x480c54,_0x4de401){const t=_0x4d454b['t'],_0x46204c=_0x4d454b['t'];switch(_0x480c54){case i['Local']:return{'text':_0x46204c('Insert'===_0x4de401?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x46204c('From\x20computer')};case i['URL']:return{'text':'Insert'===_0x4de401?_0x46204c('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x46204c('Via\x20URL')};case i['Dropbox']:return{'text':t('Insert'===_0x4de401?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case i['Facebook']:return{'text':t('Insert'===_0x4de401?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case i['GDrive']:return{'text':t('Insert'===_0x4de401?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case i['GPhotos']:return{'text':t('Insert'===_0x4de401?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case i['OneDrive']:return{'text':t('Insert'===_0x4de401?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x480c54;}}class e extends _0x1ff7a1{['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 _0x42754f=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x4b26d0;for(const _0x266904 in _0x42754f){const _0x38a942=_0x266904,_0x1a6741=_0x42754f[_0x38a942];if('uploadcareLicenseKeyValid'==_0x1a6741||'uploadcareLicenseKeyInvalid'==_0x1a6741||'uploadcareLicenseKeyExpired'==_0x1a6741||'uploadcareLicenseKeyDomainLimit'==_0x1a6741||'uploadcareLicenseKeyNotAllowed'==_0x1a6741||'uploadcareLicenseKeyEvaluationLimit'==_0x1a6741||'uploadcareLicenseKeyTrialLimit'==_0x1a6741||'uploadcareLicenseKeyUsageLimit'==_0x1a6741){delete _0x42754f[_0x38a942],_0x4b26d0=_0x1a6741,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x4b26d0&&_0x42754f['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x4b26d0&&_0x42754f['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x4b26d0&&_0x42754f['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x4b26d0&&_0x42754f['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x4b26d0&&_0x42754f['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0x4b26d0&&_0x42754f['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0x4b26d0&&_0x42754f['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x35a45e}=this,_0x540059=_0x35a45e['commands']['get']('uploadcare');if(!_0x540059)return;const _0xdc5bb7=this['_normalizeConfigSourceList'](_0x35a45e['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x22f3bb,_0x2f2862)=>{const _0x17ff37=this['_getIntegrationKey'](_0x2f2862['type']);return _0x22f3bb[_0x17ff37]||(_0x22f3bb[_0x17ff37]=[]),_0x22f3bb[_0x17ff37]['push'](_0x2f2862),_0x22f3bb;},{});_0x35a45e['plugins']['has']('ImageInsertUI')&&_0x35a45e['commands']['get']('uploadcare')&&Object['entries'](_0xdc5bb7)['forEach'](([_0x3c4ee1,_0x1cb01d])=>{_0x35a45e['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x3c4ee1,'observable':()=>_0x540059,'buttonViewCreator':()=>this['_createToolbarButton'](_0x1cb01d),'formViewCreator':()=>this['_createDropdownButtons'](_0x1cb01d),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x1cb01d),'override':'assetManager'!==_0x3c4ee1});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x2f8d15){const {locale:_0x4dd6c6}=this['editor'];return _0x2f8d15['map'](_0x112085=>{const _0x41fcc9=_(_0x4dd6c6,_0x112085,'Insert');switch(_0x112085){case i['Local']:return{'icon':_0x5e3299,'type':i['Local'],..._0x41fcc9};case i['URL']:return{'icon':_0x5ebafe,'type':i['URL'],..._0x41fcc9};case i['Dropbox']:return{'icon':_0x2afa77,'type':i['Dropbox'],..._0x41fcc9};case i['Facebook']:return{'icon':_0x282d9d,'type':i['Facebook'],..._0x41fcc9};case i['GDrive']:return{'icon':_0x4dc2af,'type':i['GDrive'],..._0x41fcc9};case i['GPhotos']:return{'icon':_0x3ea8d0,'type':i['GPhotos'],..._0x41fcc9};case i['OneDrive']:return{'icon':_0x25234c,'type':i['OneDrive'],..._0x41fcc9};}});}['_getIntegrationKey'](_0xfbbe39){switch(_0xfbbe39){case i['Local']:return'upload';case i['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x5dee74,_0x370b93){const _0x478b93=this['editor'],_0x42a7c1=new _0x5dee74(_0x478b93['locale']),_0x3b77e1=_0x478b93['commands']['get']('uploadcare');return _0x42a7c1['bind']('isEnabled')['to'](_0x3b77e1),_0x42a7c1['on']('execute',()=>{_0x3b77e1['execute'](_0x370b93);}),_0x42a7c1;}['_createToolbarButton'](_0x494d21){const {locale:_0x99d402}=this['editor'],_0x445b04=this['editor']['plugins']['get']('ImageInsertUI'),_0x1ce2bb=_0x494d21[0x0],_0x369114=this['_createButton'](_0x7d21ee,_0x1ce2bb['type']);return _0x369114['icon']=_0x1ce2bb['icon'],_0x369114['bind']('label')['to'](_0x445b04,'isImageSelected',_0x4cf920=>_(_0x99d402,_0x1ce2bb['type'],_0x4cf920?'Replace':'Insert')['text']),_0x369114['tooltip']=!0x0,_0x369114;}['_createDropdownButtons'](_0x597be7){const {locale:_0x5b5206}=this['editor'],_0xc848c2=this['editor']['plugins']['get']('ImageInsertUI');return _0x597be7['map'](_0x35f35d=>{const _0x5b3ef1=this['_createButton'](_0x7d21ee,_0x35f35d['type']);return _0x5b3ef1['withText']=!0x0,_0x5b3ef1['icon']=_0x35f35d['icon'],_0x5b3ef1['bind']('label')['to'](_0xc848c2,'isImageSelected',_0x135846=>_(_0x5b5206,_0x35f35d['type'],_0x135846?'Replace':'Insert')['text']),_0x5b3ef1;});}['_createMenuBarButtons'](_0x273fb6){return _0x273fb6['map'](_0x466709=>{const _0x1cf8b5=this['_createButton'](_0x369baa,_0x466709['type']);return _0x1cf8b5['icon']=_0x466709['icon'],_0x1cf8b5['label']=_0x466709['shortText'],_0x1cf8b5;});}}class F extends _0x10596c{['focusTracker'];['focusCycler'];constructor(_0x11ac7c){super(_0x11ac7c),this['focusTracker']=new _0xf76853(),this['focusCycler']=new _0x1bc494({'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(_0x55b398,_0x5245a9){super(_0x55b398),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-'+_0x5245a9}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function C(_0x2c0ab7,_0x44c481){const _0x120c0c=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x2c7e6e=>_0x2c7e6e<=_0x44c481)['map'](_0x270bbf=>_0x2c0ab7['replace'](/\/$/,'')+'/-/resize/'+_0x270bbf+'x/\x20'+_0x270bbf+'w');return{'imageFallbackUrl':_0x2c0ab7,'imageSources':[{'srcset':_0x120c0c['join'](',\x20'),'sizes':'(max-width:\x20'+_0x44c481+'px)\x20100vw,\x20'+_0x44c481+'px','type':'image/webp'}]};}function S(_0x1125ee,_0x251877,_0x46567b){const _0x5a29e9=_0x1125ee['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x5a29e9?parseInt(_0x5a29e9[0x1],0xa):_0x251877,'height':_0x5a29e9?parseInt(_0x5a29e9[0x2],0xa):_0x46567b};}function p(_0x518fe2,_0x596a72){const _0x44c298=new(_0x34b033())(),_0x103212=_0x518fe2['plugins']['get']('ImageUtils'),_0x4620b8=_0x518fe2['editing']['mapper']['toViewElement'](_0x596a72),_0x25a9c6=_0x103212['findViewImgElement'](_0x4620b8),_0x5d1b43=_0x518fe2['editing']['view']['domConverter']['viewToDom'](_0x25a9c6),_0x360c21=_0x596a72['getAttribute']('width'),_0x5326b0=_0x596a72['getAttribute']('height'),_0x3de741='image-processing';_0x518fe2['editing']['view']['change'](_0xc7f188=>{_0xc7f188['addClass'](_0x3de741,_0x4620b8),_0xc7f188['setStyle']('aspect-ratio',_0x360c21+'/'+_0x5326b0,_0x25a9c6);}),_0x44c298['listenTo'](_0x5d1b43,'load',()=>{_0x44c298['stopListening'](_0x5d1b43,'load'),_0x518fe2['editing']['view']['change'](_0x56d482=>{_0x56d482['removeClass'](_0x3de741,_0x4620b8),_0x56d482['removeStyle']('aspect-ratio',_0x25a9c6);});});}function z(_0x18c4b4){if(Array['isArray'](_0x18c4b4)){const _0x117685=_0x18c4b4['map'](z);return _0x89750f=>_0x117685['some'](_0x166a25=>_0x166a25(_0x89750f));}if('origin'==_0x18c4b4){const _0x1525b2=_0x2ca13c['window']['location']['origin'];return _0x1b34db=>new URL(_0x1b34db,_0x2ca13c['document']['baseURI'])['origin']==_0x1525b2;}return'function'==typeof _0x18c4b4?_0x18c4b4:_0x18c4b4 instanceof RegExp?_0x377fff=>!(!_0x377fff['match'](_0x18c4b4)&&!_0x377fff['replace'](/^https?:\/\//,'')['match'](_0x18c4b4)):()=>!0x1;}function A(_0x2f1a07,_0x5e45b1){return _0x545605(_0x2f1a07['target'])['includes'](_0x5e45b1);}class n extends/* #__PURE__ -- @preserve */
24
- _0x580206(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x44bd45,_0x5523e5,_0x2000b6){super(),this['_editor']=_0x44bd45,this['_editing']=_0x5523e5,this['_dialog']=_0x44bd45['plugins']['get'](_0x3b78b7),this['_api']=_0x5523e5['ctxElement']['getAPI'](),this['_type']=_0x2000b6,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:_0x5df1f1,model:_0x477435}=this['_editor'],_0xd3425d=_0x477435['document']['selection']['getSelectedElement'](),_0x2014e1=_0xd3425d&&(_0xd3425d['is']('element','imageBlock')||_0xd3425d['is']('element','imageInline'));this['_formView']=new x(_0x5df1f1,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':_0x5e3299,'title':_(_0x5df1f1,this['_type'],_0x2014e1?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x36e3c8['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x48a70a=>!A(_0x48a70a,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x7b74f0}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x29ed52=>{const _0x1fbffb=_0x7b74f0['length'];for(const _0x537ed1 of _0x7b74f0){const _0x144d90=_0x537ed1===_0x7b74f0[_0x1fbffb-0x1],{cdnUrl:_0x68324f,fileInfo:_0x2e94d0}=_0x537ed1;if(!_0x68324f||!_0x2e94d0)continue;const {width:_0x2419b9,height:_0x1309d0}=_0x2e94d0['imageInfo'],_0x1043f3=S(_0x68324f,_0x2419b9,_0x1309d0),_0x727c7f=C(_0x68324f,_0x1043f3['width']),_0x1877a4={'id':_0x2e94d0['uuid'],'type':'image','attributes':{'imageDimension':_0x1043f3,..._0x727c7f}};this['_insertAsset'](_0x1877a4,_0x144d90,_0x29ed52);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x2e5307=>{'idle'===_0x2e5307['detail']['status']&&!_0x2e5307['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===i['Local']?this['_api']['setCurrentActivity'](i['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x16fcb7,_0x1ee3d0,_0x1a1563){const _0x19fca6=this['_editor']['model']['document']['selection'],_0x37eeba=_0x19fca6['getSelectedElement'](),_0x5d8622=!(!_0x37eeba||!_0x37eeba['is']('element','imageInline'));_0x1a1563['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x16fcb7,_0x5d8622),_0x1ee3d0||_0x1a1563['setSelection'](_0x19fca6['getLastPosition']());}['_insertImage'](_0xacb66a,_0x4d2a5e){const _0x28a042=this['_editor'],{imageDimension:_0x34f2f8,imageFallbackUrl:_0x477b32,imageSources:_0xca29c1}=_0xacb66a['attributes'];_0x28a042['execute']('insertImage',{'imageType':_0x4d2a5e?'imageInline':null,'source':{'uploadcareImageId':_0xacb66a['id'],'src':_0x477b32,'sources':_0xca29c1,..._0x34f2f8}});}}class w extends _0x231b2e{['_editing'];['_controller']=null;static get['requires'](){return[_0x3b78b7,o];}constructor(_0x19584f){super(_0x19584f),this['_editing']=_0x19584f['plugins']['get'](o);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x184835){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new n(this['editor'],this['_editing'],_0x184835);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class j{static['upload']({file:_0x469c54,..._0x4530c0}){return _0x357f9d(_0x469c54,_0x4530c0);}static['getInfo'](_0x58be2e,_0xfa4d4d){return _0x40ce87(_0x58be2e,_0xfa4d4d);}}class f extends _0x1ff7a1{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x288fbe,o];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x76e2a3=this['editor'];if(!!!_0x76e2a3['config']['get']('uploadcare'))return;_0x76e2a3['plugins']['get'](_0x288fbe)['createUploadAdapter']=_0x533d04=>new k(_0x533d04,_0x76e2a3),_0x76e2a3['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x59a207,{imageElement:_0x57e475,data:_0x551ae7})=>{_0x76e2a3['model']['change'](_0x5dd959=>{_0x5dd959['setAttribute']('uploadcareImageId',_0x551ae7['uploadcareImageId'],_0x57e475);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x115da8,_0x3a5dc2){this['loader']=_0x115da8,this['editor']=_0x3a5dc2,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x14226e=await this['loader']['file'];return j['upload']({'file':_0x14226e,'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':_0x2edbe3=>{_0x2edbe3&&_0x2edbe3['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x2edbe3['value']);}})['then'](async _0x372904=>{const {imageFallbackUrl:_0x3dc302,imageSources:_0x3cd4ed}=C(_0x372904['cdnUrl'],_0x372904['imageInfo']['width']);return{'uploadcareImageId':_0x372904['uuid'],'default':_0x3dc302,'sources':_0x3cd4ed};})['catch'](()=>{const _0x576960=t('Cannot\x20upload\x20file:')+('\x20'+_0x14226e['name']+'.');return Promise['reject'](_0x576960);});}['abort'](){this['controller']['abort']();}}class o extends _0x1ff7a1{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',f,_0x3b78b7];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['ucContextId'];get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}constructor(_0x55d53f){super(_0x55d53f),this['ucContextId']=_0x23a04f();}['init'](){const _0x14a9a3=this['editor'];_0x14a9a3['commands']['add']('uploadcare',new w(_0x14a9a3));}['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 _0x3f8684=_0x2ca13c['document']['querySelector']('input[uploadcare-file-input]');_0x3f8684&&_0x3f8684['remove']();}),async function(_0x41ddbb){const _0x24e80f=_0x3bffb4([0x68,0x67,0x50,0x36,0x38,0x70,0x71,0x63,0x37,0x4f,0x42,0x4a,0x78,0x39,0x75,0x33,0x7a,0x72,0x48,0x61,0x74,0x59,0x55,0x58,0x66,0x30,0x34,0x54,0x64,0x56,0x6b,0x4d,0x46,0x6d,0x77,0x43,0x73,0x35,0x53,0x44,0x41,0x76,0x6a,0x32,0x31,0x69,0x57,0x51,0x47,0x65,0x5a,0x4b,0x4c,0x79,0x52,0x6c,0x45,0x4e,0x6e,0x6f,0x49,0x62]),_0x5e7324=0x535f8c3a,_0x1b0672=0x5358fbfa^_0x5e7324,_0x30bd54=window[_0x3bffb4([0x44,0x61,0x74,0x65])][_0x3bffb4([0x6e,0x6f,0x77])](),_0x414c8b=_0x41ddbb[_0x3bffb4([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2fa080=new window[(_0x3bffb4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x27e2fd=>{_0x414c8b[_0x3bffb4([0x6f,0x6e,0x63,0x65])](_0x3bffb4([0x72,0x65,0x61,0x64,0x79]),_0x27e2fd);}),_0xb41252={[_0x3bffb4([0x6b,0x74,0x79])]:_0x3bffb4([0x45,0x43]),[_0x3bffb4([0x75,0x73,0x65])]:_0x3bffb4([0x73,0x69,0x67]),[_0x3bffb4([0x63,0x72,0x76])]:_0x3bffb4([0x50,0x2d,0x32,0x35,0x36]),[_0x3bffb4([0x78])]:_0x3bffb4([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]),[_0x3bffb4([0x79])]:_0x3bffb4([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]),[_0x3bffb4([0x61,0x6c,0x67])]:_0x3bffb4([0x45,0x53,0x32,0x35,0x36])},_0xda6bcc=_0x414c8b[_0x3bffb4([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3bffb4([0x67,0x65,0x74])](_0x3bffb4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4b2129(){let _0x440266,_0x16901f=null,_0x264aee=null;try{if(_0xda6bcc==_0x3bffb4([0x47,0x50,0x4c]))return _0x3bffb4([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x440266=_0xbf8355(),!_0x440266)return _0x3bffb4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x440266[_0x3bffb4([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x264aee=_0x5bd49a(_0x440266[_0x3bffb4([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x440266[_0x3bffb4([0x6a,0x74,0x69])])),await _0x2dabaf()?_0x1fa7d6()?_0x1108cf()?_0x3bffb4([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4f28f1()?(_0x440266[_0x3bffb4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3bffb4([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x16901f=_0x5d6bb9(_0x3bffb4([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x440266[_0x3bffb4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3bffb4([0x74,0x72,0x69,0x61,0x6c])&&(_0x16901f=_0x5d6bb9(_0x3bffb4([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x21adc7()):_0x3bffb4([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3bffb4([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3bffb4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x3bffb4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x1108cf(){const _0x34c19d=[_0x3bffb4([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3bffb4([0x74,0x72,0x69,0x61,0x6c])][_0x3bffb4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x440266[_0x3bffb4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x30bd54/0x3e8:0xe10*_0x1b0672;return _0x440266[_0x3bffb4([0x65,0x78,0x70])]<_0x34c19d;}function _0x1fa7d6(){const _0x2007ae=_0x440266[_0x3bffb4([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x2007ae&&(!!_0x2007ae[_0x3bffb4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3bffb4([0x2a]))||!!_0x2007ae[_0x3bffb4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3bffb4([0x55,0x50,0x4c,0x43])));}function _0x4f28f1(){const _0x3121df=_0x440266[_0x3bffb4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3121df||0x0==_0x3121df[_0x3bffb4([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1c09a0}=new URL(window[_0x3bffb4([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x3121df[_0x3bffb4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1c09a0))return!0x0;const _0xdcc4b1=_0x1c09a0[_0x3bffb4([0x73,0x70,0x6c,0x69,0x74])](_0x3bffb4([0x2e]));return _0x3121df[_0x3bffb4([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1771af=>_0x1771af[_0x3bffb4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3bffb4([0x2a])))[_0x3bffb4([0x6d,0x61,0x70])](_0x49f721=>_0x49f721[_0x3bffb4([0x73,0x70,0x6c,0x69,0x74])](_0x3bffb4([0x2e])))[_0x3bffb4([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x10d56a=>_0x10d56a[_0x3bffb4([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0xdcc4b1[_0x3bffb4([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3bffb4([0x6d,0x61,0x70])](_0x290e11=>Array(_0xdcc4b1[_0x3bffb4([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x290e11[_0x3bffb4([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3bffb4([0x66,0x69,0x6c,0x6c])](_0x290e11[0x0]===_0x3bffb4([0x2a])?_0x3bffb4([0x2a]):'')[_0x3bffb4([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x290e11))[_0x3bffb4([0x73,0x6f,0x6d,0x65])](_0x342328=>_0xdcc4b1[_0x3bffb4([0x65,0x76,0x65,0x72,0x79])]((_0x2ea441,_0xed83b1)=>_0x342328[_0xed83b1]===_0x2ea441||_0x342328[_0xed83b1]===_0x3bffb4([0x2a])));}function _0x21adc7(){return _0x16901f&&_0x264aee?new window[(_0x3bffb4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2d65c1,_0x37961d)=>{_0x16901f[_0x3bffb4([0x74,0x68,0x65,0x6e])](_0x2d65c1,_0x37961d),_0x264aee[_0x3bffb4([0x74,0x68,0x65,0x6e])](_0x369ffc=>{_0x369ffc!=_0x3bffb4([0x56,0x61,0x6c,0x69,0x64])&&_0x2d65c1(_0x369ffc);},_0x37961d);}):_0x16901f||_0x264aee||_0x3bffb4([0x56,0x61,0x6c,0x69,0x64]);}}function _0x5bd49a(_0x48bc05,_0x402cf8){return new window[(_0x3bffb4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2b48c1=>{if(_0x4fac34())return _0x2b48c1(_0x3bffb4([0x56,0x61,0x6c,0x69,0x64]));_0x379efe(),_0x414c8b[_0x3bffb4([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3bffb4([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x39dcec=!0x1;const _0x127754=_0x23a04f();function _0x102111(_0x1cc540){return!!_0x1cc540&&(typeof _0x1cc540===_0x3bffb4([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1cc540===_0x3bffb4([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1cc540[_0x3bffb4([0x74,0x68,0x65,0x6e])]===_0x3bffb4([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1cc540[_0x3bffb4([0x63,0x61,0x74,0x63,0x68])]===_0x3bffb4([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x149991(_0x22a706){_0x49ff5f(_0x22a706)[_0x3bffb4([0x74,0x68,0x65,0x6e])](_0x50d0c7=>{if(!_0x50d0c7||_0x50d0c7[_0x3bffb4([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3bffb4([0x6f,0x6b]))return _0x3bffb4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x3cb9f6(_0x355cbb(_0x127754+_0x402cf8))!=_0x50d0c7[_0x3bffb4([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3bffb4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3bffb4([0x56,0x61,0x6c,0x69,0x64]);})[_0x3bffb4([0x74,0x68,0x65,0x6e])](_0x3eaca3=>(_0x440293(),_0x3eaca3),()=>{const _0x22b5ef=_0x45ac2b();return null==_0x22b5ef?(_0x440293(),_0x3bffb4([0x56,0x61,0x6c,0x69,0x64])):_0x3bffb4(_0x30bd54-_0x22b5ef>(0x7753083a^_0x5e7324)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3bffb4([0x74,0x68,0x65,0x6e])](_0x2b48c1)[_0x3bffb4([0x63,0x61,0x74,0x63,0x68])](()=>{_0x2b48c1(_0x3bffb4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x43f335=0x536962ba^_0x5e7324;function _0x440293(){const _0x27185=_0x3bffb4([0x6c,0x6c,0x63,0x74,0x2d])+_0x3cb9f6(_0x355cbb(_0x48bc05)),_0x508fc9=_0x30756f(_0x3cb9f6(window[_0x3bffb4([0x4d,0x61,0x74,0x68])][_0x3bffb4([0x63,0x65,0x69,0x6c])](_0x30bd54/_0x43f335)));window[_0x3bffb4([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3bffb4([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x27185,_0x508fc9);}function _0x45ac2b(){const _0x2a7425=_0x3bffb4([0x6c,0x6c,0x63,0x74,0x2d])+_0x3cb9f6(_0x355cbb(_0x48bc05)),_0x125ca0=window[_0x3bffb4([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3bffb4([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2a7425);return _0x125ca0?window[_0x3bffb4([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x30756f(_0x125ca0),0x10)*_0x43f335:null;}function _0x49ff5f(_0x1f0b70){return new window[(_0x3bffb4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x16bd26,_0xf51602)=>{_0x1f0b70[_0x3bffb4([0x74,0x68,0x65,0x6e])](_0x16bd26,_0xf51602),window[_0x3bffb4([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0xf51602,0x535e58fa^_0x5e7324);});}}_0x414c8b[_0x3bffb4([0x6f,0x6e])](_0x3bffb4([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4e6c76,_0x4c7d02)=>{if(_0x4c7d02[0x0]!=_0x48bc05)return _0x2b48c1(_0x3bffb4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4c7d02[0x1]={..._0x4c7d02[0x1],[_0x3bffb4([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x127754};},{[_0x3bffb4([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3bffb4([0x68,0x69,0x67,0x68])}),_0x414c8b[_0x3bffb4([0x6f,0x6e])](_0x3bffb4([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x37bbb4=>{_0x102111(_0x37bbb4[_0x3bffb4([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x39dcec=!0x0,_0x149991(_0x37bbb4[_0x3bffb4([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3bffb4([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3bffb4([0x6c,0x6f,0x77])}),_0x2fa080[_0x3bffb4([0x74,0x68,0x65,0x6e])](()=>{_0x39dcec||_0x2b48c1(_0x3bffb4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4fac34(){return _0x414c8b[_0x3bffb4([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3bffb4([0x76,0x69,0x65,0x77])][_0x3bffb4([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3bffb4([0x61,0x75,0x74,0x6f]);}function _0x379efe(){_0x414c8b[_0x3bffb4([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3bffb4([0x76,0x69,0x65,0x77])][_0x3bffb4([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3bffb4([0x61,0x75,0x74,0x6f]);}}function _0x5d6bb9(_0x4ead17){const _0x4e28e5=[new window[(_0x3bffb4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3b41c6=>setTimeout(_0x3b41c6,0x5356b2f6^_0x5e7324)),_0x2fa080[_0x3bffb4([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3bffb4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xfd59ee=>{let _0x463fc5=0x0;_0x414c8b[_0x3bffb4([0x6d,0x6f,0x64,0x65,0x6c])][_0x3bffb4([0x6f,0x6e])](_0x3bffb4([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x558a61,_0x271f2f)=>{_0x271f2f[0x0][_0x3bffb4([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x463fc5++,_0x463fc5==(0x535f8dc2^_0x5e7324)&&(_0xfd59ee(),_0x558a61[_0x3bffb4([0x6f,0x66,0x66])]());});}))];return window[_0x3bffb4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3bffb4([0x72,0x61,0x63,0x65])](_0x4e28e5)[_0x3bffb4([0x74,0x68,0x65,0x6e])](()=>_0x4ead17);}async function _0x533c8d(){await _0x2fa080,_0x414c8b[_0x3bffb4([0x6d,0x6f,0x64,0x65,0x6c])][_0x3bffb4([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x12ad7a,_0x414c8b[_0x3bffb4([0x6d,0x6f,0x64,0x65,0x6c])][_0x3bffb4([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x12ad7a,_0x414c8b[_0x3bffb4([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3bffb4([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x10b993(_0x2c845a){const _0x348e51=_0xcb2600();_0x414c8b[_0x348e51]=_0x3bffb4([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x2c845a,_0x2c845a!=_0x3bffb4([0x56,0x61,0x6c,0x69,0x64])&&_0x533c8d();}function _0xcb2600(){const _0x1636de=window[_0x3bffb4([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3bffb4([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3bffb4([0x6e,0x6f,0x77])]())[_0x3bffb4([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3bffb4([0x2e]),'');let _0x5f34f0=_0x3bffb4([0x68]);for(let _0x163cd6=0x0;_0x163cd6<_0x1636de[_0x3bffb4([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x163cd6+=0x2){let _0x1e2611=window[_0x3bffb4([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1636de[_0x3bffb4([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x163cd6,_0x163cd6+0x2));_0x1e2611>=_0x24e80f[_0x3bffb4([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1e2611-=_0x24e80f[_0x3bffb4([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5f34f0+=_0x24e80f[_0x1e2611];}return _0x5f34f0;}function _0xbf8355(){const _0x2f5db3=_0xda6bcc[_0x3bffb4([0x73,0x70,0x6c,0x69,0x74])](_0x3bffb4([0x2e]));if(0x3!=_0x2f5db3[_0x3bffb4([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x2d57f1(_0x2f5db3[0x1]);function _0x2d57f1(_0x1d7079){const _0x249238=_0x2b98ff(_0x1d7079);return _0x249238&&_0x157d76()?_0x249238:null;function _0x157d76(){const _0x115142=_0x249238[_0x3bffb4([0x6a,0x74,0x69])],_0x582c2a=window[_0x3bffb4([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x115142[_0x3bffb4([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x115142[_0x3bffb4([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4bf067={..._0x249238,[_0x3bffb4([0x6a,0x74,0x69])]:_0x115142[_0x3bffb4([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x115142[_0x3bffb4([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4bf067[_0x3bffb4([0x76,0x63])],_0x355cbb(_0x4bf067)==_0x582c2a;}}}async function _0x2dabaf(){let _0x223e8c=!0x0;try{const _0x37a9c2=_0xda6bcc[_0x3bffb4([0x73,0x70,0x6c,0x69,0x74])](_0x3bffb4([0x2e])),[_0x4ef556,_0x1745ed,_0xe22c59]=_0x37a9c2;return _0x49ce99(_0x4ef556),await _0x4996aa(_0x4ef556,_0x1745ed,_0xe22c59),_0x223e8c;}catch{return!0x1;}function _0x49ce99(_0x4bae79){const _0x31f056=_0x2b98ff(_0x4bae79);_0x31f056&&_0x31f056[_0x3bffb4([0x61,0x6c,0x67])]==_0x3bffb4([0x45,0x53,0x32,0x35,0x36])||(_0x223e8c=!0x1);}async function _0x4996aa(_0x224f6c,_0x21b464,_0x4d190c){const _0x5e639c=window[_0x3bffb4([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3bffb4([0x66,0x72,0x6f,0x6d])](_0x5577fe(_0x4d190c),_0x1963f9=>_0x1963f9[_0x3bffb4([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x287c1c=new window[(_0x3bffb4([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3bffb4([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x224f6c+_0x3bffb4([0x2e])+_0x21b464),_0x3ea3a4=window[_0x3bffb4([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3bffb4([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3ea3a4)return;const _0x35c9d7=await _0x3ea3a4[_0x3bffb4([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3bffb4([0x6a,0x77,0x6b]),_0xb41252,{[_0x3bffb4([0x6e,0x61,0x6d,0x65])]:_0x3bffb4([0x45,0x43,0x44,0x53,0x41]),[_0x3bffb4([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3bffb4([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3bffb4([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3ea3a4[_0x3bffb4([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3bffb4([0x6e,0x61,0x6d,0x65])]:_0x3bffb4([0x45,0x43,0x44,0x53,0x41]),[_0x3bffb4([0x68,0x61,0x73,0x68])]:{[_0x3bffb4([0x6e,0x61,0x6d,0x65])]:_0x3bffb4([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x35c9d7,_0x5e639c,_0x287c1c)||(_0x223e8c=!0x1);}}function _0x2b98ff(_0x475739){return _0x475739[_0x3bffb4([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3bffb4([0x65,0x79]))?JSON[_0x3bffb4([0x70,0x61,0x72,0x73,0x65])](_0x5577fe(_0x475739)):null;}function _0x5577fe(_0x2651e5){return window[_0x3bffb4([0x61,0x74,0x6f,0x62])](_0x2651e5[_0x3bffb4([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3bffb4([0x2b]))[_0x3bffb4([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3bffb4([0x2f])));}function _0x355cbb(_0x18a809){let _0x1d9d40=0x1505;function _0x3658bd(_0x4e12da){for(let _0x3f84e7=0x0;_0x3f84e7<_0x4e12da[_0x3bffb4([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3f84e7++){const _0x44819c=_0x4e12da[_0x3bffb4([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x3f84e7);_0x1d9d40=(_0x1d9d40<<0x5)+_0x1d9d40+_0x44819c,_0x1d9d40&=_0x1d9d40;}}function _0x5353fe(_0x5960f0){Array[_0x3bffb4([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5960f0)?_0x5960f0[_0x3bffb4([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5353fe):_0x5960f0&&typeof _0x5960f0==_0x3bffb4([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3bffb4([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5960f0)[_0x3bffb4([0x73,0x6f,0x72,0x74])]()[_0x3bffb4([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4c2977,_0xadb231])=>{_0x3658bd(_0x4c2977),_0x5353fe(_0xadb231);}):_0x3658bd(window[_0x3bffb4([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5960f0));}return _0x5353fe(_0x18a809),_0x1d9d40>>>0x0;}function _0x3cb9f6(_0x24a5e9){return _0x24a5e9[_0x3bffb4([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3bffb4([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3bffb4([0x30]));}function _0x30756f(_0x5e5190){return _0x5e5190[_0x3bffb4([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3bffb4([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3bffb4([0x6a,0x6f,0x69,0x6e])]('');}function _0x12ad7a(){}function _0x3bffb4(_0x6d4d78){return _0x6d4d78['map'](_0x259230=>String['fromCharCode'](_0x259230))['join']('');}_0x10b993(await _0x4b2129());}(this);}['_initSchema'](){const _0x3b58a3=this['editor']['model']['schema'];_0x3b58a3['isRegistered']('imageBlock')&&_0x3b58a3['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x3b58a3['isRegistered']('imageInline')&&_0x3b58a3['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x233cdc=this['editor'];_0x233cdc['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x233cdc['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x2ec8ac=>_0x2ec8ac['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x244457=_0x233cdc['commands']['get']('replaceImageSource');_0x244457&&this['listenTo'](_0x244457,'cleanupImage',(_0x26dc3a,[_0x77577d,_0x14cba6])=>{_0x77577d['removeAttribute']('uploadcareImageId',_0x14cba6);});}['_initConfig'](){const _0x1928c8=this['editor']['config']['get']('uploadcare.uploader')||{},_0x30222e=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x1df8c2(_0x2ca13c['document'],'uc-config',{..._0x1928c8,'pubkey':_0x30222e,'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']=_0x5be51a=>{if('closeMax'==_0x5be51a)return'#uc-icon-arrow-down';},_0x2ca13c['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x1df8c2(_0x2ca13c['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),_0x2ca13c['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x38517d=this['editor']['commands']['get']('insertImage');_0x38517d&&this['listenTo'](_0x38517d,'execute',()=>{const _0x3c243d=this['editor']['model']['document']['selection']['getSelectedElement']();_0x3c243d&&_0x3c243d['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x3c243d);});});const _0x2e5cb1=this['editor']['commands']['get']('uploadcareImageReplace');_0x2e5cb1&&this['listenTo'](_0x2e5cb1,'execute',()=>{const _0x2249e9=this['editor']['model']['document']['selection']['getSelectedElement']();_0x2249e9&&_0x2249e9['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x2249e9);});});}}class tt extends _0x1ff7a1{static get['requires'](){return[o,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x27ffad){super(_0x27ffad),_0x27ffad['config']['define']('uploadcare.uploader.sourceList',[i['Local'],i['URL']]),_0x4cfbf0['defineComponents'](_0x4cfbf0),this['_defineLocale']();}['_defineLocale'](){const _0x8474db=this['editor']['config']['get']('uploadcare.locale'),_0x4393cd=this['editor']['locale']['contentLanguage'];_0x8474db&&_0x4cfbf0['defineLocale'](_0x4393cd,_0x8474db);}}class ii extends _0x10596c{constructor(_0x2ea9b9){super(_0x2ea9b9);const t=_0x2ea9b9['t'],_0xd5499f=this['bindTemplate'],_0x1e3c49=new _0x483e8b();_0x1e3c49['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':[_0x1e3c49,{'text':_0xd5499f['to']('imageUploadProgress',_0x446679=>t('Loading\x20image...')+'\x20('+(_0x446679||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 _0x10596c{constructor(_0x3ba22b){super(_0x3ba22b);const t=_0x3ba22b['t'];this['set']('errorType',null);const _0x5cf91f=new _0x7d21ee(_0x3ba22b);_0x5cf91f['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x5cf91f['withText']=!0x0,_0x5cf91f['class']='ck-button-action',_0x5cf91f['on']('execute',()=>{this['fire']('retry');}),_0x5cf91f['bind']('isVisible')['to'](this,'errorType',_0x40a2e5=>'NotFound'!==_0x40a2e5);const _0x383111=new _0x562ecc();_0x383111['content']=_0x200074,_0x383111['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x583151=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':[_0x383111,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x583151['to']('errorType',_0x10bdcf=>t('NotFound'!==_0x10bdcf?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x5cf91f]},{'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 _0x10596c{constructor(_0x1201c3,_0x4dd611){super(_0x1201c3);const _0x23ee22=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x4dd611,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x23ee22['to']('imageSrc')}});}}class X extends F{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x275b31,_0x24737d,_0x5603da){super(_0x275b31),this['_items']=this['createCollection'](),this['_loadingView']=new ii(_0x275b31),this['_errorView']=new ti(_0x275b31),this['_editingView']=new ei(_0x275b31,_0x5603da),this['_focusableView']=new _0x10596c(_0x275b31),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x24737d),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'],_0x504b50=>{this['_addUploadcareImageEditorListeners'](_0x504b50);});}),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'](_0x3f5812,_0x364b9a){const _0x591fd3='uc-cloud-image-editor',_0x8b9b53=_0x3f5812['querySelector'](_0x591fd3);if(_0x8b9b53)return _0x364b9a(_0x8b9b53);const _0x230796=new MutationObserver(_0x1e4a3f=>{const _0x5c4482=_0x1e4a3f['filter'](_0x38bd59=>_0x38bd59['target']===_0x3f5812&&_0x38bd59['addedNodes']['length']>0x0&&_0x38bd59['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x591fd3);_0x5c4482['length']&&(_0x230796['disconnect'](),_0x364b9a(_0x5c4482[0x0]['addedNodes'][0x0]));});_0x230796['observe'](_0x3f5812,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x2de57d){_0x2de57d['addEventListener']('apply',_0x3235b9=>{this['fire']('apply',{'imageSrc':_0x3235b9['detail']['cdnUrl']});}),_0x2de57d['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class N extends/* #__PURE__ -- @preserve */
25
- _0x580206(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x523d45,_0x1a033b,_0x29b3e8){super(),this['_editor']=_0x523d45,this['_dialog']=_0x1a033b,this['_imageElement']=_0x29b3e8,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 _0x457121=this['_imageElement'],_0x35fb3c=_0x457121['getAttribute']('uploadcareImageId'),_0x2747ec=_0x457121['getAttribute']('src');if(_0x35fb3c)await this['_loadImageInfo'](_0x35fb3c,_0x2747ec);else{if(this['_imageCache']['has'](_0x2747ec)){const _0x420627=this['_imageCache']['get'](_0x2747ec);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x420627['url'],this['imageDimension']=_0x420627['dimension'],this['imageId']=_0x420627['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x3bfc78}=this['_editor'],t=_0x3bfc78['t'],_0x271475=new X(_0x3bfc78,this['imageStatus'],this['_attributes']);_0x271475['bind']('status')['to'](this,'imageStatus'),_0x271475['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x271475['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x271475['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x271475,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x3f79a9,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x271475,'position':_0x36e3c8['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x271475['focus']();},'onHide':()=>{_0x271475['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x482fc1=>!A(_0x482fc1,_0x271475['element'])}});}['_loadImageInfo'](_0x470afb,_0x5d2894){return j['getInfo'](_0x470afb,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x3c7358=>{const {width:_0x3b9a88,height:_0x146da0}=_0x3c7358['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x5d2894,this['imageDimension']={'width':_0x3b9a88,'height':_0x146da0},this['imageId']=_0x470afb;})['catch'](_0x3c5217=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x3c5217['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x2d849c,_0x3fd476){return this['_getImageAsFile'](_0x2d849c)['then'](_0x2aa0a6=>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':_0x3fd476['signal'],'file':_0x2aa0a6,'onProgress':_0x358b55=>{_0x358b55&&_0x358b55['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x358b55['value']));}}))['then'](_0x59ea1c=>{const {width:_0x15a9d4,height:_0x3fc5b5}=_0x59ea1c['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x59ea1c['cdnUrl'],this['imageDimension']={'width':_0x15a9d4,'height':_0x3fc5b5},this['imageId']=_0x59ea1c['uuid'],this['imageUploadProgress']=null;const _0x1c5ddf=_0x2d849c['getAttribute']('src');this['_imageCache']['set'](_0x1c5ddf,{'id':_0x59ea1c['uuid'],'url':_0x59ea1c['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x30abad=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x30abad['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x468a8e,_0x44a0f5){_0x468a8e['on']('apply',(_0x2f7588,_0x531e36)=>{this['_replaceImage'](_0x44a0f5,_0x531e36['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x468a8e['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x468a8e['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x2b63d1,_0x1e4932,_0x3d5852){const _0x1adee5=this['_editor'],{width:_0x4d79b7,height:_0x3ab76b}=S(_0x1e4932,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x3eda5f,imageSources:_0x3024f8}=C(_0x1e4932,_0x4d79b7);_0x1adee5['model']['change'](_0x3df08c=>{if('$graveyard'===_0x2b63d1['root']['rootName']){_0x1adee5['execute']('insertImage',{'imageType':_0x2b63d1['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x2b63d1['getAttributes']()),'uploadcareImageId':_0x3d5852,'src':_0x3eda5f,'sources':_0x3024f8,'width':_0x4d79b7,'height':_0x3ab76b}});const _0x428b21=_0x2b63d1['getChildren']();_0x2b63d1=_0x1adee5['model']['document']['selection']['getSelectedElement']();for(const _0x1c8729 of _0x428b21)_0x3df08c['append'](_0x3df08c['cloneElement'](_0x1c8729),_0x2b63d1);}else _0x3df08c['setSelection'](_0x2b63d1,'on'),_0x1adee5['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x2b63d1['getAttributes']()),'uploadcareImageId':_0x3d5852,'src':_0x3eda5f,'sources':_0x3024f8,'width':_0x4d79b7,'height':_0x3ab76b},_0x2b63d1);_0x3df08c['setSelection'](_0x2b63d1,'on');});}async['_getImageAsFile'](_0x124aaa){const _0x81e6ea=_0x2ca13c['window'],_0x45b084=_0x2ca13c['document']['location']['href'],_0x8299c6=new _0x81e6ea['URL'](_0x124aaa['getAttribute']('src'),_0x45b084);if('data:'===_0x8299c6['protocol']){const _0xa6cdac=_0x8299c6['href']['split'](','),_0x1816d9=_0xa6cdac[0x0]['match'](/:(.*?);/)[0x1],_0x1593fb=_0x1816d9['split']('/')[0x1],_0x7b431d=_0x81e6ea['atob'](_0xa6cdac[_0xa6cdac['length']-0x1]);let _0x29b497=_0x7b431d['length'];const _0x5c9675=new _0x81e6ea['Uint8Array'](_0x29b497);for(;_0x29b497--;)_0x5c9675[_0x29b497]=_0x7b431d['charCodeAt'](_0x29b497);return new _0x81e6ea['File']([_0x5c9675],'image.'+_0x1593fb,{'type':_0x1816d9});}const _0x52f3c2=_0x8299c6['href']['split']('/'),_0x653c8b=_0x52f3c2[_0x52f3c2['length']-0x1],_0x5c87fe=_0x653c8b['split']('.')[0x1];return _0x81e6ea['fetch'](_0x8299c6['href'])['then'](_0x54f9ae=>_0x54f9ae['clone']()['blob']())['then'](_0x53b6b3=>new _0x81e6ea['File']([_0x53b6b3],_0x653c8b,{'type':'image/'+_0x5c87fe}));}}class Q extends _0x231b2e{['imageEditController'];static get['requires'](){return[_0x3b78b7];}['_isEditable'];constructor(_0x173401){super(_0x173401),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x4fbeed){const _0x4dabe3=z(_0x4fbeed);return _0x1f7bdc=>!(!_0x1f7bdc||!_0x1f7bdc['is']('element','imageBlock')&&!_0x1f7bdc['is']('element','imageInline'))&&(!!_0x1f7bdc['hasAttribute']('uploadcareImageId')||!!_0x1f7bdc['hasAttribute']('src')&&_0x4dabe3(_0x1f7bdc['getAttribute']('src')));}(_0x173401['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x15e246=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x15e246);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x4b5587=this['editor']['model']['document']['selection']['getSelectedElement']();_0x4b5587&&(_0x4b5587['is']('element','imageBlock')||_0x4b5587['is']('element','imageInline'))&&(this['imageEditController']=new N(this['editor'],this['editor']['plugins']['get'](_0x3b78b7),_0x4b5587),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class V extends _0x231b2e{['refresh'](){const _0x5185b0=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x5185b0&&(_0x5185b0['is']('element','imageBlock')||_0x5185b0['is']('element','imageInline')));}['execute'](_0x4a3d8d){const _0xaf853c=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x3a74e0=>{_0x3a74e0['setAttributes'](_0x4a3d8d,_0xaf853c),_0x3a74e0['removeAttribute']('srcset',_0xaf853c),_0x3a74e0['removeAttribute']('sizes',_0xaf853c);});}}class m extends _0x1ff7a1{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[o,_0x46f6e2,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x1eae8a}=this;_0x1eae8a['commands']['add']('uploadcareImageEdit',new Q(_0x1eae8a)),_0x1eae8a['commands']['add']('uploadcareImageReplace',new V(_0x1eae8a));}}class g extends _0x1ff7a1{['_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 _0x156c4b=this['editor'];_0x156c4b['ui']['componentFactory']['add']('uploadcareImageEdit',_0x2f2a9e=>{const _0x1b3a9a=_0x156c4b['commands']['get']('uploadcareImageEdit'),_0xed849f=new _0x7d21ee(_0x2f2a9e),t=_0x2f2a9e['t'];return _0xed849f['set']({'icon':_0x3f79a9,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0xed849f['bind']('isEnabled')['to'](_0x1b3a9a),_0xed849f['bind']('isOn')['to'](_0x1b3a9a,'isActive'),this['listenTo'](_0xed849f,'execute',()=>{_0x156c4b['execute']('uploadcareImageEdit'),_0x156c4b['editing']['view']['focus']();}),_0xed849f;}),this['_initConfig']();}['_initConfig'](){const _0x2654d6=_0x1df8c2(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x2654d6),this['listenTo'](this['editor'],'destroy',()=>{_0x2654d6['remove']();});}}class et extends _0x1ff7a1{static get['pluginName'](){return'UploadcareImageEdit';}static get['requires'](){return[m,g];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{tt as Uploadcare,w as UploadcareCommand,o as UploadcareEditing,et as UploadcareImageEdit,Q as UploadcareImageEditCommand,m as UploadcareImageEditEditing,g as UploadcareImageEditUI,e as UploadcareUI,f as UploadcareUploadAdapter};
23
+ import{Plugin as _0x2cfaa7,Command as _0x1d68f3}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x5250b5,IconGooglePhotos as _0x498dc7,IconGoogleDrive as _0x2cb7c4,IconFacebook as _0x2b92fc,IconDropbox as _0x5db40e,IconUploadcareLink as _0x4888d6,IconUploadcareImageUpload as _0x220966,IconError as _0x255675,IconUploadcareImageEdit as _0x2c44c4}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x737d9f,MenuBarMenuListItemButtonView as _0x31f5fe,View as _0x244207,FocusCycler as _0x230754,Dialog as _0x321c16,DialogViewPosition as _0x5b686d,SpinnerView as _0x56d19f,IconView as _0x408a9f,Notification as _0xe9e8f2}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x557a97,DomEmitterMixin as _0x25af1c,global as _0x50a0e9,getAncestors as _0x2f871b,ObservableMixin as _0x50b7af,uid as _0x538e7d,createElement as _0x57637b}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x36e701}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x1b709b,info as _0x5d63e2}from'@uploadcare/upload-client';import*as _0x5e1c81 from'@uploadcare/file-uploader';var i=function(_0x26106e){return _0x26106e['Local']='local',_0x26106e['URL']='url',_0x26106e['Dropbox']='dropbox',_0x26106e['GDrive']='gdrive',_0x26106e['Facebook']='facebook',_0x26106e['GPhotos']='gphotos',_0x26106e['OneDrive']='onedrive',_0x26106e;}({});function _(_0x3d9eae,_0x229dd4,_0x51f030){const t=_0x3d9eae['t'],_0x117fa1=_0x3d9eae['t'];switch(_0x229dd4){case i['Local']:return{'text':_0x117fa1('Insert'===_0x51f030?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x117fa1('From\x20computer')};case i['URL']:return{'text':'Insert'===_0x51f030?_0x117fa1('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x117fa1('Via\x20URL')};case i['Dropbox']:return{'text':t('Insert'===_0x51f030?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case i['Facebook']:return{'text':t('Insert'===_0x51f030?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case i['GDrive']:return{'text':t('Insert'===_0x51f030?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case i['GPhotos']:return{'text':t('Insert'===_0x51f030?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case i['OneDrive']:return{'text':t('Insert'===_0x51f030?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x229dd4;}}class e extends _0x2cfaa7{['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 _0x116cef=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x35cceb;for(const _0x18db14 in _0x116cef){const _0x3b3937=_0x18db14,_0x1d31a4=_0x116cef[_0x3b3937];if('uploadcareLicenseKeyValid'==_0x1d31a4||'uploadcareLicenseKeyInvalid'==_0x1d31a4||'uploadcareLicenseKeyExpired'==_0x1d31a4||'uploadcareLicenseKeyDomainLimit'==_0x1d31a4||'uploadcareLicenseKeyNotAllowed'==_0x1d31a4||'uploadcareLicenseKeyEvaluationLimit'==_0x1d31a4||'uploadcareLicenseKeyTrialLimit'==_0x1d31a4||'uploadcareLicenseKeyUsageLimit'==_0x1d31a4){delete _0x116cef[_0x3b3937],_0x35cceb=_0x1d31a4,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x35cceb&&_0x116cef['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x35cceb&&_0x116cef['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x35cceb&&_0x116cef['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x35cceb&&_0x116cef['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x35cceb&&_0x116cef['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0x35cceb&&_0x116cef['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0x35cceb&&_0x116cef['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x381993}=this,_0x263f74=_0x381993['commands']['get']('uploadcare');if(!_0x263f74)return;const _0x4d3653=this['_normalizeConfigSourceList'](_0x381993['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x393a6c,_0x2fa8b4)=>{const _0xbc4756=this['_getIntegrationKey'](_0x2fa8b4['type']);return _0x393a6c[_0xbc4756]||(_0x393a6c[_0xbc4756]=[]),_0x393a6c[_0xbc4756]['push'](_0x2fa8b4),_0x393a6c;},{});_0x381993['plugins']['has']('ImageInsertUI')&&_0x381993['commands']['get']('uploadcare')&&Object['entries'](_0x4d3653)['forEach'](([_0x50f29b,_0x530ca4])=>{_0x381993['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x50f29b,'observable':()=>_0x263f74,'buttonViewCreator':()=>this['_createToolbarButton'](_0x530ca4),'formViewCreator':()=>this['_createDropdownButtons'](_0x530ca4),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x530ca4),'override':'assetManager'!==_0x50f29b});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x132900){const {locale:_0x3efcf3}=this['editor'];return _0x132900['map'](_0x19c1bd=>{const _0xe9c9a1=_(_0x3efcf3,_0x19c1bd,'Insert');switch(_0x19c1bd){case i['Local']:return{'icon':_0x220966,'type':i['Local'],..._0xe9c9a1};case i['URL']:return{'icon':_0x4888d6,'type':i['URL'],..._0xe9c9a1};case i['Dropbox']:return{'icon':_0x5db40e,'type':i['Dropbox'],..._0xe9c9a1};case i['Facebook']:return{'icon':_0x2b92fc,'type':i['Facebook'],..._0xe9c9a1};case i['GDrive']:return{'icon':_0x2cb7c4,'type':i['GDrive'],..._0xe9c9a1};case i['GPhotos']:return{'icon':_0x498dc7,'type':i['GPhotos'],..._0xe9c9a1};case i['OneDrive']:return{'icon':_0x5250b5,'type':i['OneDrive'],..._0xe9c9a1};}});}['_getIntegrationKey'](_0x370b24){switch(_0x370b24){case i['Local']:return'upload';case i['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x49dd2b,_0x2f9667){const _0x35ce86=this['editor'],_0x1f06b8=new _0x49dd2b(_0x35ce86['locale']),_0x34e53d=_0x35ce86['commands']['get']('uploadcare');return _0x1f06b8['bind']('isEnabled')['to'](_0x34e53d),_0x1f06b8['on']('execute',()=>{_0x34e53d['execute'](_0x2f9667);}),_0x1f06b8;}['_createToolbarButton'](_0x2faa54){const {locale:_0x125479}=this['editor'],_0x2f4f55=this['editor']['plugins']['get']('ImageInsertUI'),_0x1b9240=_0x2faa54[0x0],_0x121934=this['_createButton'](_0x737d9f,_0x1b9240['type']);return _0x121934['icon']=_0x1b9240['icon'],_0x121934['bind']('label')['to'](_0x2f4f55,'isImageSelected',_0x4fbe2c=>_(_0x125479,_0x1b9240['type'],_0x4fbe2c?'Replace':'Insert')['text']),_0x121934['tooltip']=!0x0,_0x121934;}['_createDropdownButtons'](_0x4f7f9f){const {locale:_0x5e2fce}=this['editor'],_0x277411=this['editor']['plugins']['get']('ImageInsertUI');return _0x4f7f9f['map'](_0x3d7a21=>{const _0x2fbe32=this['_createButton'](_0x737d9f,_0x3d7a21['type']);return _0x2fbe32['withText']=!0x0,_0x2fbe32['icon']=_0x3d7a21['icon'],_0x2fbe32['bind']('label')['to'](_0x277411,'isImageSelected',_0x4d81cd=>_(_0x5e2fce,_0x3d7a21['type'],_0x4d81cd?'Replace':'Insert')['text']),_0x2fbe32;});}['_createMenuBarButtons'](_0x34b28a){return _0x34b28a['map'](_0x455e1d=>{const _0x478545=this['_createButton'](_0x31f5fe,_0x455e1d['type']);return _0x478545['icon']=_0x455e1d['icon'],_0x478545['label']=_0x455e1d['shortText'],_0x478545;});}}class F extends _0x244207{['focusTracker'];['focusCycler'];constructor(_0x84f190){super(_0x84f190),this['focusTracker']=new _0x557a97(),this['focusCycler']=new _0x230754({'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(_0x96029e,_0x576731){super(_0x96029e),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-'+_0x576731}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function C(_0x5e9cc3,_0x4a658c){const _0x1983b1=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x4ed0ca=>_0x4ed0ca<=_0x4a658c)['map'](_0x1b8f57=>_0x5e9cc3['replace'](/\/$/,'')+'/-/resize/'+_0x1b8f57+'x/\x20'+_0x1b8f57+'w');return{'imageFallbackUrl':_0x5e9cc3,'imageSources':[{'srcset':_0x1983b1['join'](',\x20'),'sizes':'(max-width:\x20'+_0x4a658c+'px)\x20100vw,\x20'+_0x4a658c+'px','type':'image/webp'}]};}function S(_0xa861a8,_0x52b6c5,_0x5229fa){const _0x25ac19=_0xa861a8['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x25ac19?parseInt(_0x25ac19[0x1],0xa):_0x52b6c5,'height':_0x25ac19?parseInt(_0x25ac19[0x2],0xa):_0x5229fa};}function p(_0x42740d,_0x1b5a37){const _0x1dfcfa=new(_0x25af1c())(),_0x579062=_0x42740d['plugins']['get']('ImageUtils'),_0x79f5b4=_0x42740d['editing']['mapper']['toViewElement'](_0x1b5a37),_0x4b54d4=_0x579062['findViewImgElement'](_0x79f5b4),_0x5616a0=_0x42740d['editing']['view']['domConverter']['viewToDom'](_0x4b54d4),_0x339bb1=_0x1b5a37['getAttribute']('width'),_0x40ed1a=_0x1b5a37['getAttribute']('height'),_0x32fa7e='image-processing';_0x42740d['editing']['view']['change'](_0x408cb5=>{_0x408cb5['addClass'](_0x32fa7e,_0x79f5b4),_0x408cb5['setStyle']('aspect-ratio',_0x339bb1+'/'+_0x40ed1a,_0x4b54d4);}),_0x1dfcfa['listenTo'](_0x5616a0,'load',()=>{_0x1dfcfa['stopListening'](_0x5616a0,'load'),_0x42740d['editing']['view']['change'](_0x2f7634=>{_0x2f7634['removeClass'](_0x32fa7e,_0x79f5b4),_0x2f7634['removeStyle']('aspect-ratio',_0x4b54d4);});});}function G(_0x379d9f){if(Array['isArray'](_0x379d9f)){const _0x74d2d1=_0x379d9f['map'](G);return _0x364aa7=>_0x74d2d1['some'](_0x4e3324=>_0x4e3324(_0x364aa7));}if('origin'==_0x379d9f){const _0xdef135=_0x50a0e9['window']['location']['origin'];return _0x1be8d2=>new URL(_0x1be8d2,_0x50a0e9['document']['baseURI'])['origin']==_0xdef135;}return'function'==typeof _0x379d9f?_0x379d9f:_0x379d9f instanceof RegExp?_0xee2cee=>!(!_0xee2cee['match'](_0x379d9f)&&!_0xee2cee['replace'](/^https?:\/\//,'')['match'](_0x379d9f)):()=>!0x1;}function A(_0x3a90cc,_0x549be4){return _0x2f871b(_0x3a90cc['target'])['includes'](_0x549be4);}class n extends/* #__PURE__ -- @preserve */
24
+ _0x50b7af(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x16991c,_0x4137f1,_0xde1f5a){super(),this['_editor']=_0x16991c,this['_editing']=_0x4137f1,this['_dialog']=_0x16991c['plugins']['get'](_0x321c16),this['_api']=_0x4137f1['ctxElement']['getAPI'](),this['_type']=_0xde1f5a,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:_0x19f783,model:_0x4457b1}=this['_editor'],_0x2f91da=_0x4457b1['document']['selection']['getSelectedElement'](),_0x57ee83=_0x2f91da&&(_0x2f91da['is']('element','imageBlock')||_0x2f91da['is']('element','imageInline'));this['_formView']=new x(_0x19f783,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':_0x220966,'title':_(_0x19f783,this['_type'],_0x57ee83?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x5b686d['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x5925c7=>!A(_0x5925c7,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0xe1db67}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x437ccd=>{const _0x31bf84=_0xe1db67['length'];for(const _0x1bdb41 of _0xe1db67){const _0x7a5497=_0x1bdb41===_0xe1db67[_0x31bf84-0x1],{cdnUrl:_0x40a3cc,fileInfo:_0x4437da}=_0x1bdb41;if(!_0x40a3cc||!_0x4437da)continue;const {width:_0x5ef3f7,height:_0x3edb67}=_0x4437da['imageInfo'],_0x3618a7=S(_0x40a3cc,_0x5ef3f7,_0x3edb67),_0x255c9d=C(_0x40a3cc,_0x3618a7['width']),_0x312964={'id':_0x4437da['uuid'],'type':'image','attributes':{'imageDimension':_0x3618a7,..._0x255c9d}};this['_insertAsset'](_0x312964,_0x7a5497,_0x437ccd);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x582b19=>{'idle'===_0x582b19['detail']['status']&&!_0x582b19['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===i['Local']?this['_api']['setCurrentActivity'](i['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x178ee2,_0xc2fb81,_0x5be414){const _0x3f6686=this['_editor']['model']['document']['selection'],_0x2a7d2b=_0x3f6686['getSelectedElement'](),_0x2db8af=!(!_0x2a7d2b||!_0x2a7d2b['is']('element','imageInline'));_0x5be414['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x178ee2,_0x2db8af),_0xc2fb81||_0x5be414['setSelection'](_0x3f6686['getLastPosition']());}['_insertImage'](_0x570195,_0x13cce6){const _0x2840aa=this['_editor'],{imageDimension:_0x3ee4ae,imageFallbackUrl:_0x52c87a,imageSources:_0x582ac2}=_0x570195['attributes'];_0x2840aa['execute']('insertImage',{'imageType':_0x13cce6?'imageInline':null,'source':{'uploadcareImageId':_0x570195['id'],'src':_0x52c87a,'sources':_0x582ac2,..._0x3ee4ae}});}}class w extends _0x1d68f3{['_editing'];['_controller']=null;static get['requires'](){return[_0x321c16,o];}constructor(_0xeae9db){super(_0xeae9db),this['_editing']=_0xeae9db['plugins']['get'](o);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x38358f){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new n(this['editor'],this['_editing'],_0x38358f);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class j{static['upload']({file:_0x45f028,..._0x75a5e4}){return _0x1b709b(_0x45f028,_0x75a5e4);}static['getInfo'](_0x57d7be,_0x20f48b){return _0x5d63e2(_0x57d7be,_0x20f48b);}}class f extends _0x2cfaa7{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x36e701,o];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x2ac63c=this['editor'];if(!!!_0x2ac63c['config']['get']('uploadcare'))return;_0x2ac63c['plugins']['get'](_0x36e701)['createUploadAdapter']=_0xf2bd6c=>new k(_0xf2bd6c,_0x2ac63c),_0x2ac63c['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x444901,{imageElement:_0xded155,data:_0x3c3c55})=>{_0x2ac63c['model']['change'](_0xd121ed=>{_0xd121ed['setAttribute']('uploadcareImageId',_0x3c3c55['uploadcareImageId'],_0xded155);});});}}class k{['loader'];['editor'];['controller'];constructor(_0xfbcdac,_0xa6e0a8){this['loader']=_0xfbcdac,this['editor']=_0xa6e0a8,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x57ad29=await this['loader']['file'];return j['upload']({'file':_0x57ad29,'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':_0x2d5a92=>{_0x2d5a92&&_0x2d5a92['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x2d5a92['value']);}})['then'](async _0x3a82bf=>{const {imageFallbackUrl:_0x4c051a,imageSources:_0x4dbc3e}=C(_0x3a82bf['cdnUrl'],_0x3a82bf['imageInfo']['width']);return{'uploadcareImageId':_0x3a82bf['uuid'],'default':_0x4c051a,'sources':_0x4dbc3e};})['catch'](()=>{const _0x1d2750=t('Cannot\x20upload\x20file:')+('\x20'+_0x57ad29['name']+'.');return Promise['reject'](_0x1d2750);});}['abort'](){this['controller']['abort']();}}class o extends _0x2cfaa7{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',f,_0x321c16];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['ucContextId'];get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}constructor(_0x150e03){super(_0x150e03),this['ucContextId']=_0x538e7d();}['init'](){const _0x658afe=this['editor'];_0x658afe['commands']['add']('uploadcare',new w(_0x658afe));}['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 _0x25d74e=_0x50a0e9['document']['querySelector']('input[uploadcare-file-input]');_0x25d74e&&_0x25d74e['remove']();}),async function(_0xc0e501){const _0x2e64b3=_0x16b07d([0x68,0x67,0x50,0x36,0x38,0x70,0x71,0x63,0x37,0x4f,0x42,0x4a,0x78,0x39,0x75,0x33,0x7a,0x72,0x48,0x61,0x74,0x59,0x55,0x58,0x66,0x30,0x34,0x54,0x64,0x56,0x6b,0x4d,0x46,0x6d,0x77,0x43,0x73,0x35,0x53,0x44,0x41,0x76,0x6a,0x32,0x31,0x69,0x57,0x51,0x47,0x65,0x5a,0x4b,0x4c,0x79,0x52,0x6c,0x45,0x4e,0x6e,0x6f,0x49,0x62]),_0x190a51=0x535f8c3a,_0x474d20=0x5358fbe2^_0x190a51,_0x130d16=window[_0x16b07d([0x44,0x61,0x74,0x65])][_0x16b07d([0x6e,0x6f,0x77])](),_0x4c2735=_0xc0e501[_0x16b07d([0x65,0x64,0x69,0x74,0x6f,0x72])],_0xfaa10f=new window[(_0x16b07d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3818fa=>{_0x4c2735[_0x16b07d([0x6f,0x6e,0x63,0x65])](_0x16b07d([0x72,0x65,0x61,0x64,0x79]),_0x3818fa);}),_0x454ce8={[_0x16b07d([0x6b,0x74,0x79])]:_0x16b07d([0x45,0x43]),[_0x16b07d([0x75,0x73,0x65])]:_0x16b07d([0x73,0x69,0x67]),[_0x16b07d([0x63,0x72,0x76])]:_0x16b07d([0x50,0x2d,0x32,0x35,0x36]),[_0x16b07d([0x78])]:_0x16b07d([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]),[_0x16b07d([0x79])]:_0x16b07d([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]),[_0x16b07d([0x61,0x6c,0x67])]:_0x16b07d([0x45,0x53,0x32,0x35,0x36])},_0x2f9028=_0x4c2735[_0x16b07d([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x16b07d([0x67,0x65,0x74])](_0x16b07d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x124fd9(){let _0x195aaa,_0x5986ed=null,_0x207bb7=null;try{if(_0x2f9028==_0x16b07d([0x47,0x50,0x4c]))return _0x16b07d([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x195aaa=_0x1a7dc8(),!_0x195aaa)return _0x16b07d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x195aaa[_0x16b07d([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x207bb7=_0x38e515(_0x195aaa[_0x16b07d([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x195aaa[_0x16b07d([0x6a,0x74,0x69])])),await _0xb5e51()?_0x29ede8()?_0x5866f0()?_0x16b07d([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x5c4c68()?(_0x195aaa[_0x16b07d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x16b07d([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x5986ed=_0x4e2189(_0x16b07d([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x195aaa[_0x16b07d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x16b07d([0x74,0x72,0x69,0x61,0x6c])&&(_0x5986ed=_0x4e2189(_0x16b07d([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4b18df()):_0x16b07d([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x16b07d([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x16b07d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x16b07d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x5866f0(){const _0x3f1b2f=[_0x16b07d([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x16b07d([0x74,0x72,0x69,0x61,0x6c])][_0x16b07d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x195aaa[_0x16b07d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x130d16/0x3e8:0xe10*_0x474d20;return _0x195aaa[_0x16b07d([0x65,0x78,0x70])]<_0x3f1b2f;}function _0x29ede8(){const _0x520574=_0x195aaa[_0x16b07d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x520574&&(!!_0x520574[_0x16b07d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x16b07d([0x2a]))||!!_0x520574[_0x16b07d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x16b07d([0x55,0x50,0x4c,0x43])));}function _0x5c4c68(){const _0x188586=_0x195aaa[_0x16b07d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x188586||0x0==_0x188586[_0x16b07d([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x82975f}=new URL(window[_0x16b07d([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x188586[_0x16b07d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x82975f))return!0x0;const _0x270bb4=_0x82975f[_0x16b07d([0x73,0x70,0x6c,0x69,0x74])](_0x16b07d([0x2e]));return _0x188586[_0x16b07d([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3c81a3=>_0x3c81a3[_0x16b07d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x16b07d([0x2a])))[_0x16b07d([0x6d,0x61,0x70])](_0x139238=>_0x139238[_0x16b07d([0x73,0x70,0x6c,0x69,0x74])](_0x16b07d([0x2e])))[_0x16b07d([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x25d3a0=>_0x25d3a0[_0x16b07d([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x270bb4[_0x16b07d([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x16b07d([0x6d,0x61,0x70])](_0x361471=>Array(_0x270bb4[_0x16b07d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x361471[_0x16b07d([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x16b07d([0x66,0x69,0x6c,0x6c])](_0x361471[0x0]===_0x16b07d([0x2a])?_0x16b07d([0x2a]):'')[_0x16b07d([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x361471))[_0x16b07d([0x73,0x6f,0x6d,0x65])](_0x344458=>_0x270bb4[_0x16b07d([0x65,0x76,0x65,0x72,0x79])]((_0x168ee5,_0x48ffc6)=>_0x344458[_0x48ffc6]===_0x168ee5||_0x344458[_0x48ffc6]===_0x16b07d([0x2a])));}function _0x4b18df(){return _0x5986ed&&_0x207bb7?new window[(_0x16b07d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4e00f9,_0x42aa0a)=>{_0x5986ed[_0x16b07d([0x74,0x68,0x65,0x6e])](_0x4e00f9,_0x42aa0a),_0x207bb7[_0x16b07d([0x74,0x68,0x65,0x6e])](_0x44cab7=>{_0x44cab7!=_0x16b07d([0x56,0x61,0x6c,0x69,0x64])&&_0x4e00f9(_0x44cab7);},_0x42aa0a);}):_0x5986ed||_0x207bb7||_0x16b07d([0x56,0x61,0x6c,0x69,0x64]);}}function _0x38e515(_0x50d49b,_0x44097){return new window[(_0x16b07d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x33b137=>{if(_0x1dae9e())return _0x33b137(_0x16b07d([0x56,0x61,0x6c,0x69,0x64]));_0x23e974(),_0x4c2735[_0x16b07d([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x16b07d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2ccf60=!0x1;const _0x5bfcb1=_0x538e7d();function _0x30de81(_0x2d122e){return!!_0x2d122e&&(typeof _0x2d122e===_0x16b07d([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2d122e===_0x16b07d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2d122e[_0x16b07d([0x74,0x68,0x65,0x6e])]===_0x16b07d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2d122e[_0x16b07d([0x63,0x61,0x74,0x63,0x68])]===_0x16b07d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3fc208(_0x55414e){_0x55dbec(_0x55414e)[_0x16b07d([0x74,0x68,0x65,0x6e])](_0x13e035=>{if(!_0x13e035||_0x13e035[_0x16b07d([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x16b07d([0x6f,0x6b]))return _0x16b07d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0xcc4c83(_0x349297(_0x5bfcb1+_0x44097))!=_0x13e035[_0x16b07d([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x16b07d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x16b07d([0x56,0x61,0x6c,0x69,0x64]);})[_0x16b07d([0x74,0x68,0x65,0x6e])](_0x369eda=>(_0x4ff8f2(),_0x369eda),()=>{const _0x2346f6=_0x354a41();return null==_0x2346f6?(_0x4ff8f2(),_0x16b07d([0x56,0x61,0x6c,0x69,0x64])):_0x16b07d(_0x130d16-_0x2346f6>(0x7753083a^_0x190a51)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x16b07d([0x74,0x68,0x65,0x6e])](_0x33b137)[_0x16b07d([0x63,0x61,0x74,0x63,0x68])](()=>{_0x33b137(_0x16b07d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1b3090=0x536962ba^_0x190a51;function _0x4ff8f2(){const _0x3929c3=_0x16b07d([0x6c,0x6c,0x63,0x74,0x2d])+_0xcc4c83(_0x349297(_0x50d49b)),_0xe58911=_0x4d5c5b(_0xcc4c83(window[_0x16b07d([0x4d,0x61,0x74,0x68])][_0x16b07d([0x63,0x65,0x69,0x6c])](_0x130d16/_0x1b3090)));window[_0x16b07d([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x16b07d([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3929c3,_0xe58911);}function _0x354a41(){const _0x2f1adc=_0x16b07d([0x6c,0x6c,0x63,0x74,0x2d])+_0xcc4c83(_0x349297(_0x50d49b)),_0x5d87ad=window[_0x16b07d([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x16b07d([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2f1adc);return _0x5d87ad?window[_0x16b07d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4d5c5b(_0x5d87ad),0x10)*_0x1b3090:null;}function _0x55dbec(_0x2647c5){return new window[(_0x16b07d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xa4b992,_0x59c3)=>{_0x2647c5[_0x16b07d([0x74,0x68,0x65,0x6e])](_0xa4b992,_0x59c3),window[_0x16b07d([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x59c3,0x535e58fa^_0x190a51);});}}_0x4c2735[_0x16b07d([0x6f,0x6e])](_0x16b07d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x18eca1,_0x4c893e)=>{if(_0x4c893e[0x0]!=_0x50d49b)return _0x33b137(_0x16b07d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4c893e[0x1]={..._0x4c893e[0x1],[_0x16b07d([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5bfcb1};},{[_0x16b07d([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x16b07d([0x68,0x69,0x67,0x68])}),_0x4c2735[_0x16b07d([0x6f,0x6e])](_0x16b07d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0xa0c8f8=>{_0x30de81(_0xa0c8f8[_0x16b07d([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2ccf60=!0x0,_0x3fc208(_0xa0c8f8[_0x16b07d([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x16b07d([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x16b07d([0x6c,0x6f,0x77])}),_0xfaa10f[_0x16b07d([0x74,0x68,0x65,0x6e])](()=>{_0x2ccf60||_0x33b137(_0x16b07d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x1dae9e(){return _0x4c2735[_0x16b07d([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x16b07d([0x76,0x69,0x65,0x77])][_0x16b07d([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x16b07d([0x61,0x75,0x74,0x6f]);}function _0x23e974(){_0x4c2735[_0x16b07d([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x16b07d([0x76,0x69,0x65,0x77])][_0x16b07d([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x16b07d([0x61,0x75,0x74,0x6f]);}}function _0x4e2189(_0x2ae1b6){const _0x3d5756=[new window[(_0x16b07d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x595615=>setTimeout(_0x595615,0x5356b2f6^_0x190a51)),_0xfaa10f[_0x16b07d([0x74,0x68,0x65,0x6e])](()=>new window[(_0x16b07d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xbc2392=>{let _0xb8ce8e=0x0;_0x4c2735[_0x16b07d([0x6d,0x6f,0x64,0x65,0x6c])][_0x16b07d([0x6f,0x6e])](_0x16b07d([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0xc49eb1,_0x34c6c8)=>{_0x34c6c8[0x0][_0x16b07d([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0xb8ce8e++,_0xb8ce8e==(0x535f8dc2^_0x190a51)&&(_0xbc2392(),_0xc49eb1[_0x16b07d([0x6f,0x66,0x66])]());});}))];return window[_0x16b07d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x16b07d([0x72,0x61,0x63,0x65])](_0x3d5756)[_0x16b07d([0x74,0x68,0x65,0x6e])](()=>_0x2ae1b6);}async function _0x148b82(){await _0xfaa10f,_0x4c2735[_0x16b07d([0x6d,0x6f,0x64,0x65,0x6c])][_0x16b07d([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x8e9dc6,_0x4c2735[_0x16b07d([0x6d,0x6f,0x64,0x65,0x6c])][_0x16b07d([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x8e9dc6,_0x4c2735[_0x16b07d([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x16b07d([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x409e71(_0x30fd09){const _0x14ee76=_0x1fdf95();_0x4c2735[_0x14ee76]=_0x16b07d([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x30fd09,_0x30fd09!=_0x16b07d([0x56,0x61,0x6c,0x69,0x64])&&_0x148b82();}function _0x1fdf95(){const _0x8deb67=window[_0x16b07d([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x16b07d([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x16b07d([0x6e,0x6f,0x77])]())[_0x16b07d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x16b07d([0x2e]),'');let _0x8817f7=_0x16b07d([0x68]);for(let _0x49fdb7=0x0;_0x49fdb7<_0x8deb67[_0x16b07d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x49fdb7+=0x2){let _0x55b46b=window[_0x16b07d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x8deb67[_0x16b07d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x49fdb7,_0x49fdb7+0x2));_0x55b46b>=_0x2e64b3[_0x16b07d([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x55b46b-=_0x2e64b3[_0x16b07d([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x8817f7+=_0x2e64b3[_0x55b46b];}return _0x8817f7;}function _0x1a7dc8(){const _0x4e3531=_0x2f9028[_0x16b07d([0x73,0x70,0x6c,0x69,0x74])](_0x16b07d([0x2e]));if(0x3!=_0x4e3531[_0x16b07d([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x3575f5(_0x4e3531[0x1]);function _0x3575f5(_0x5ee617){const _0x26fe32=_0x1f1a0e(_0x5ee617);return _0x26fe32&&_0x44d7e7()?_0x26fe32:null;function _0x44d7e7(){const _0x31ca50=_0x26fe32[_0x16b07d([0x6a,0x74,0x69])],_0x20b267=window[_0x16b07d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x31ca50[_0x16b07d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x31ca50[_0x16b07d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x5ccfe8={..._0x26fe32,[_0x16b07d([0x6a,0x74,0x69])]:_0x31ca50[_0x16b07d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x31ca50[_0x16b07d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x5ccfe8[_0x16b07d([0x76,0x63])],_0x349297(_0x5ccfe8)==_0x20b267;}}}async function _0xb5e51(){let _0x2c44b1=!0x0;try{const _0x3fc0a7=_0x2f9028[_0x16b07d([0x73,0x70,0x6c,0x69,0x74])](_0x16b07d([0x2e])),[_0x299439,_0x5aac57,_0x234139]=_0x3fc0a7;return _0x3eceb6(_0x299439),await _0x13ecf3(_0x299439,_0x5aac57,_0x234139),_0x2c44b1;}catch{return!0x1;}function _0x3eceb6(_0x232bc8){const _0x368dd2=_0x1f1a0e(_0x232bc8);_0x368dd2&&_0x368dd2[_0x16b07d([0x61,0x6c,0x67])]==_0x16b07d([0x45,0x53,0x32,0x35,0x36])||(_0x2c44b1=!0x1);}async function _0x13ecf3(_0x40fc61,_0x59340a,_0x5f3768){const _0x189763=window[_0x16b07d([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x16b07d([0x66,0x72,0x6f,0x6d])](_0x556f90(_0x5f3768),_0x54aa65=>_0x54aa65[_0x16b07d([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x299169=new window[(_0x16b07d([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x16b07d([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x40fc61+_0x16b07d([0x2e])+_0x59340a),_0x3221f8=window[_0x16b07d([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x16b07d([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3221f8)return;const _0x543dff=await _0x3221f8[_0x16b07d([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x16b07d([0x6a,0x77,0x6b]),_0x454ce8,{[_0x16b07d([0x6e,0x61,0x6d,0x65])]:_0x16b07d([0x45,0x43,0x44,0x53,0x41]),[_0x16b07d([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x16b07d([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x16b07d([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3221f8[_0x16b07d([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x16b07d([0x6e,0x61,0x6d,0x65])]:_0x16b07d([0x45,0x43,0x44,0x53,0x41]),[_0x16b07d([0x68,0x61,0x73,0x68])]:{[_0x16b07d([0x6e,0x61,0x6d,0x65])]:_0x16b07d([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x543dff,_0x189763,_0x299169)||(_0x2c44b1=!0x1);}}function _0x1f1a0e(_0x22858b){return _0x22858b[_0x16b07d([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x16b07d([0x65,0x79]))?JSON[_0x16b07d([0x70,0x61,0x72,0x73,0x65])](_0x556f90(_0x22858b)):null;}function _0x556f90(_0x112c75){return window[_0x16b07d([0x61,0x74,0x6f,0x62])](_0x112c75[_0x16b07d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x16b07d([0x2b]))[_0x16b07d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x16b07d([0x2f])));}function _0x349297(_0x16d308){let _0x3a0b11=0x1505;function _0x2d9dd6(_0x2e9654){for(let _0x2661ad=0x0;_0x2661ad<_0x2e9654[_0x16b07d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2661ad++){const _0x53b0c0=_0x2e9654[_0x16b07d([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2661ad);_0x3a0b11=(_0x3a0b11<<0x5)+_0x3a0b11+_0x53b0c0,_0x3a0b11&=_0x3a0b11;}}function _0x20bcbc(_0x1eb225){Array[_0x16b07d([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1eb225)?_0x1eb225[_0x16b07d([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x20bcbc):_0x1eb225&&typeof _0x1eb225==_0x16b07d([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x16b07d([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1eb225)[_0x16b07d([0x73,0x6f,0x72,0x74])]()[_0x16b07d([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x212ebd,_0x50a534])=>{_0x2d9dd6(_0x212ebd),_0x20bcbc(_0x50a534);}):_0x2d9dd6(window[_0x16b07d([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1eb225));}return _0x20bcbc(_0x16d308),_0x3a0b11>>>0x0;}function _0xcc4c83(_0x5ee6eb){return _0x5ee6eb[_0x16b07d([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x16b07d([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x16b07d([0x30]));}function _0x4d5c5b(_0x53d167){return _0x53d167[_0x16b07d([0x73,0x70,0x6c,0x69,0x74])]('')[_0x16b07d([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x16b07d([0x6a,0x6f,0x69,0x6e])]('');}function _0x8e9dc6(){}function _0x16b07d(_0x536ab3){return _0x536ab3['map'](_0x492c87=>String['fromCharCode'](_0x492c87))['join']('');}_0x409e71(await _0x124fd9());}(this);}['_initSchema'](){const _0x145492=this['editor']['model']['schema'];_0x145492['isRegistered']('imageBlock')&&_0x145492['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x145492['isRegistered']('imageInline')&&_0x145492['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x3718f8=this['editor'];_0x3718f8['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x3718f8['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x2f88ef=>_0x2f88ef['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x4fa49a=_0x3718f8['commands']['get']('replaceImageSource');_0x4fa49a&&this['listenTo'](_0x4fa49a,'cleanupImage',(_0x4f157f,[_0x32e731,_0x15b61b])=>{_0x32e731['removeAttribute']('uploadcareImageId',_0x15b61b);});}['_initConfig'](){const _0x52696e=this['editor']['config']['get']('uploadcare.uploader')||{},_0x129ea4=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x57637b(_0x50a0e9['document'],'uc-config',{..._0x52696e,'pubkey':_0x129ea4,'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']=_0x17a10f=>{if('closeMax'==_0x17a10f)return'#uc-icon-arrow-down';},_0x50a0e9['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x57637b(_0x50a0e9['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),_0x50a0e9['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x1a2695=this['editor']['commands']['get']('insertImage');_0x1a2695&&this['listenTo'](_0x1a2695,'execute',()=>{const _0x96e723=this['editor']['model']['document']['selection']['getSelectedElement']();_0x96e723&&_0x96e723['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x96e723);});});const _0x40ffc9=this['editor']['commands']['get']('uploadcareImageReplace');_0x40ffc9&&this['listenTo'](_0x40ffc9,'execute',()=>{const _0x5bc014=this['editor']['model']['document']['selection']['getSelectedElement']();_0x5bc014&&_0x5bc014['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x5bc014);});});}}class tt extends _0x2cfaa7{static get['requires'](){return[o,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x1c49e7){super(_0x1c49e7),_0x1c49e7['config']['define']('uploadcare.uploader.sourceList',[i['Local'],i['URL']]),_0x5e1c81['defineComponents'](_0x5e1c81),this['_defineLocale']();}['_defineLocale'](){const _0x522cd0=this['editor']['config']['get']('uploadcare.locale'),_0x48d576=this['editor']['locale']['contentLanguage'];_0x522cd0&&_0x5e1c81['defineLocale'](_0x48d576,_0x522cd0);}}class ii extends _0x244207{constructor(_0x18d5f4){super(_0x18d5f4);const t=_0x18d5f4['t'],_0x2b591e=this['bindTemplate'],_0x2ce3b2=new _0x56d19f();_0x2ce3b2['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':[_0x2ce3b2,{'text':_0x2b591e['to']('imageUploadProgress',_0x373c35=>t('Loading\x20image...')+'\x20('+(_0x373c35||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 _0x244207{constructor(_0x5de47d){super(_0x5de47d);const t=_0x5de47d['t'];this['set']('errorType',null);const _0x22d481=new _0x737d9f(_0x5de47d);_0x22d481['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x22d481['withText']=!0x0,_0x22d481['class']='ck-button-action',_0x22d481['on']('execute',()=>{this['fire']('retry');}),_0x22d481['bind']('isVisible')['to'](this,'errorType',_0x4d5124=>'NotFound'!==_0x4d5124);const _0x173210=new _0x408a9f();_0x173210['content']=_0x255675,_0x173210['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x5d7bbf=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':[_0x173210,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x5d7bbf['to']('errorType',_0x5c47f0=>t('NotFound'!==_0x5c47f0?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x22d481]},{'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 _0x244207{constructor(_0x154075,_0x377edf){super(_0x154075);const _0x20ecc5=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x377edf,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x20ecc5['to']('imageSrc')}});}}class X extends F{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x3db367,_0x204f01,_0x36ef0f){super(_0x3db367),this['_items']=this['createCollection'](),this['_loadingView']=new ii(_0x3db367),this['_errorView']=new ti(_0x3db367),this['_editingView']=new ei(_0x3db367,_0x36ef0f),this['_focusableView']=new _0x244207(_0x3db367),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x204f01),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'],_0x51fe78=>{this['_addUploadcareImageEditorListeners'](_0x51fe78);});}),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'](_0x164022,_0x2527fc){const _0xebc563='uc-cloud-image-editor',_0x92c881=_0x164022['querySelector'](_0xebc563);if(_0x92c881)return _0x2527fc(_0x92c881);const _0xd20fd3=new MutationObserver(_0x1737b8=>{const _0x53a276=_0x1737b8['filter'](_0x1a24a9=>_0x1a24a9['target']===_0x164022&&_0x1a24a9['addedNodes']['length']>0x0&&_0x1a24a9['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0xebc563);_0x53a276['length']&&(_0xd20fd3['disconnect'](),_0x2527fc(_0x53a276[0x0]['addedNodes'][0x0]));});_0xd20fd3['observe'](_0x164022,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x4e550c){_0x4e550c['addEventListener']('apply',_0x1a2198=>{this['fire']('apply',{'imageSrc':_0x1a2198['detail']['cdnUrl']});}),_0x4e550c['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class E extends/* #__PURE__ -- @preserve */
25
+ _0x50b7af(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x3515a9,_0x22ba11,_0x3ea0ae){super(),this['_editor']=_0x3515a9,this['_dialog']=_0x22ba11,this['_imageElement']=_0x3ea0ae,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 _0x5afde6=this['_imageElement'],_0x1ff508=_0x5afde6['getAttribute']('uploadcareImageId'),_0xbd0664=_0x5afde6['getAttribute']('src');if(_0x1ff508)await this['_loadImageInfo'](_0x1ff508,_0xbd0664);else{if(this['_imageCache']['has'](_0xbd0664)){const _0xd088cd=this['_imageCache']['get'](_0xbd0664);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0xd088cd['url'],this['imageDimension']=_0xd088cd['dimension'],this['imageId']=_0xd088cd['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x4f3a82}=this['_editor'],t=_0x4f3a82['t'],_0x296b46=new X(_0x4f3a82,this['imageStatus'],this['_attributes']);_0x296b46['bind']('status')['to'](this,'imageStatus'),_0x296b46['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x296b46['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x296b46['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x296b46,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x2c44c4,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x296b46,'position':_0x5b686d['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x296b46['focus']();},'onHide':()=>{_0x296b46['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x50f952=>!A(_0x50f952,_0x296b46['element'])}});}['_loadImageInfo'](_0x29fdf4,_0x342f8e){return j['getInfo'](_0x29fdf4,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x544631=>{const {width:_0x4e8318,height:_0x40df50}=_0x544631['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x342f8e,this['imageDimension']={'width':_0x4e8318,'height':_0x40df50},this['imageId']=_0x29fdf4;})['catch'](_0x44c609=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x44c609['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0xfcd0e6,_0x573050){return this['_getImageAsFile'](_0xfcd0e6)['then'](_0x4ec484=>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':_0x573050['signal'],'file':_0x4ec484,'onProgress':_0x455e4c=>{_0x455e4c&&_0x455e4c['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x455e4c['value']));}}))['then'](_0x59cbdd=>{const {width:_0x511848,height:_0x11d5b7}=_0x59cbdd['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x59cbdd['cdnUrl'],this['imageDimension']={'width':_0x511848,'height':_0x11d5b7},this['imageId']=_0x59cbdd['uuid'],this['imageUploadProgress']=null;const _0x5b93aa=_0xfcd0e6['getAttribute']('src');this['_imageCache']['set'](_0x5b93aa,{'id':_0x59cbdd['uuid'],'url':_0x59cbdd['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x5514d2=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x5514d2['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x4b0a69,_0x198129){_0x4b0a69['on']('apply',(_0x46977b,_0x6a2cea)=>{this['_replaceImage'](_0x198129,_0x6a2cea['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x4b0a69['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x4b0a69['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x5d12ac,_0x3bbe29,_0x2a7d9f){const _0x1ae1f7=this['_editor'],{width:_0x311519,height:_0x489f44}=S(_0x3bbe29,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x4a3842,imageSources:_0x16cc44}=C(_0x3bbe29,_0x311519);_0x1ae1f7['model']['change'](_0x271ea4=>{if('$graveyard'===_0x5d12ac['root']['rootName']){_0x1ae1f7['execute']('insertImage',{'imageType':_0x5d12ac['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x5d12ac['getAttributes']()),'uploadcareImageId':_0x2a7d9f,'src':_0x4a3842,'sources':_0x16cc44,'width':_0x311519,'height':_0x489f44}});const _0x8a17f5=_0x5d12ac['getChildren']();_0x5d12ac=_0x1ae1f7['model']['document']['selection']['getSelectedElement']();for(const _0x3a0fcc of _0x8a17f5)_0x271ea4['append'](_0x271ea4['cloneElement'](_0x3a0fcc),_0x5d12ac);}else _0x271ea4['setSelection'](_0x5d12ac,'on'),_0x1ae1f7['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x5d12ac['getAttributes']()),'uploadcareImageId':_0x2a7d9f,'src':_0x4a3842,'sources':_0x16cc44,'width':_0x311519,'height':_0x489f44},_0x5d12ac);_0x271ea4['setSelection'](_0x5d12ac,'on');});}async['_getImageAsFile'](_0x2c4908){const _0x5e44b4=_0x50a0e9['window'],_0x40299a=_0x50a0e9['document']['location']['href'],_0x17af67=new _0x5e44b4['URL'](_0x2c4908['getAttribute']('src'),_0x40299a);if('data:'===_0x17af67['protocol']){const _0x4f7eb8=_0x17af67['href']['split'](','),_0x1da263=_0x4f7eb8[0x0]['match'](/:(.*?);/)[0x1],_0x126ef4=_0x1da263['split']('/')[0x1],_0x2a0f92=_0x5e44b4['atob'](_0x4f7eb8[_0x4f7eb8['length']-0x1]);let _0x2bc765=_0x2a0f92['length'];const _0x5bb4a5=new _0x5e44b4['Uint8Array'](_0x2bc765);for(;_0x2bc765--;)_0x5bb4a5[_0x2bc765]=_0x2a0f92['charCodeAt'](_0x2bc765);return new _0x5e44b4['File']([_0x5bb4a5],'image.'+_0x126ef4,{'type':_0x1da263});}const _0x207c9a=_0x17af67['href']['split']('/'),_0x39bf15=_0x207c9a[_0x207c9a['length']-0x1],_0x46929c=_0x39bf15['split']('.')[0x1];return _0x5e44b4['fetch'](_0x17af67['href'])['then'](_0x43ca34=>_0x43ca34['clone']()['blob']())['then'](_0x515980=>new _0x5e44b4['File']([_0x515980],_0x39bf15,{'type':'image/'+_0x46929c}));}}class O extends _0x1d68f3{['imageEditController'];static get['requires'](){return[_0x321c16];}['_isEditable'];constructor(_0x2856c0){super(_0x2856c0),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x1be532){const _0x4c00d2=G(_0x1be532);return _0x1bc056=>!(!_0x1bc056||!_0x1bc056['is']('element','imageBlock')&&!_0x1bc056['is']('element','imageInline'))&&(!!_0x1bc056['hasAttribute']('uploadcareImageId')||!!_0x1bc056['hasAttribute']('src')&&_0x4c00d2(_0x1bc056['getAttribute']('src')));}(_0x2856c0['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x804c62=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x804c62);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x5b676c=this['editor']['model']['document']['selection']['getSelectedElement']();_0x5b676c&&(_0x5b676c['is']('element','imageBlock')||_0x5b676c['is']('element','imageInline'))&&(this['imageEditController']=new E(this['editor'],this['editor']['plugins']['get'](_0x321c16),_0x5b676c),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class R extends _0x1d68f3{['refresh'](){const _0xddad5b=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0xddad5b&&(_0xddad5b['is']('element','imageBlock')||_0xddad5b['is']('element','imageInline')));}['execute'](_0x4849e7){const _0x308fd1=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x442554=>{_0x442554['setAttributes'](_0x4849e7,_0x308fd1),_0x442554['removeAttribute']('srcset',_0x308fd1),_0x442554['removeAttribute']('sizes',_0x308fd1);});}}class m extends _0x2cfaa7{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[o,_0xe9e8f2,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x5d3ac8}=this;_0x5d3ac8['commands']['add']('uploadcareImageEdit',new O(_0x5d3ac8)),_0x5d3ac8['commands']['add']('uploadcareImageReplace',new R(_0x5d3ac8));}}class g extends _0x2cfaa7{['_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 _0x2635c1=this['editor'];_0x2635c1['ui']['componentFactory']['add']('uploadcareImageEdit',_0x420a18=>{const _0x552f67=_0x2635c1['commands']['get']('uploadcareImageEdit'),_0x3a1a49=new _0x737d9f(_0x420a18),t=_0x420a18['t'];return _0x3a1a49['set']({'icon':_0x2c44c4,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x3a1a49['bind']('isEnabled')['to'](_0x552f67),_0x3a1a49['bind']('isOn')['to'](_0x552f67,'isActive'),this['listenTo'](_0x3a1a49,'execute',()=>{_0x2635c1['execute']('uploadcareImageEdit'),_0x2635c1['editing']['view']['focus']();}),_0x3a1a49;}),this['_initConfig']();}['_initConfig'](){const _0xa1fe86=_0x57637b(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0xa1fe86),this['listenTo'](this['editor'],'destroy',()=>{_0xa1fe86['remove']();});}}class et extends _0x2cfaa7{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':_0x4a584d=>0x1!=_0x4a584d}};
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':_0xa46de9=>0x1!=_0xa46de9}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x4f207b=>{const {af:{dictionary:_0x1142b3,getPluralForm:_0x1f2167}}={'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':_0xd96376=>0x1!=_0xd96376}};_0x4f207b['af']||={'dictionary':{},'getPluralForm':null},_0x4f207b['af']['dictionary']=Object['assign'](_0x4f207b['af']['dictionary'],_0x1142b3),_0x4f207b['af']['getPluralForm']=_0x1f2167;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x5b7510=>{const {af:{dictionary:_0x537b3a,getPluralForm:_0x22b95c}}={'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':_0x50c728=>0x1!=_0x50c728}};_0x5b7510['af']||={'dictionary':{},'getPluralForm':null},_0x5b7510['af']['dictionary']=Object['assign'](_0x5b7510['af']['dictionary'],_0x537b3a),_0x5b7510['af']['getPluralForm']=_0x22b95c;})(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':_0x5626f2=>0x0==_0x5626f2?0x0:0x1==_0x5626f2?0x1:0x2==_0x5626f2?0x2:_0x5626f2%0x64>=0x3&&_0x5626f2%0x64<=0xa?0x3:_0x5626f2%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':_0x3c4db3=>0x0==_0x3c4db3?0x0:0x1==_0x3c4db3?0x1:0x2==_0x3c4db3?0x2:_0x3c4db3%0x64>=0x3&&_0x3c4db3%0x64<=0xa?0x3:_0x3c4db3%0x64>=0xb?0x4:0x5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x234d54=>{const {ar:{dictionary:_0x31af9d,getPluralForm:_0x17c1b0}}={'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':_0x2506c9=>0x0==_0x2506c9?0x0:0x1==_0x2506c9?0x1:0x2==_0x2506c9?0x2:_0x2506c9%0x64>=0x3&&_0x2506c9%0x64<=0xa?0x3:_0x2506c9%0x64>=0xb?0x4:0x5}};_0x234d54['ar']||={'dictionary':{},'getPluralForm':null},_0x234d54['ar']['dictionary']=Object['assign'](_0x234d54['ar']['dictionary'],_0x31af9d),_0x234d54['ar']['getPluralForm']=_0x17c1b0;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x25a76e=>{const {ar:{dictionary:_0x3fd4e3,getPluralForm:_0x13ca5c}}={'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':_0x4d8a94=>0x0==_0x4d8a94?0x0:0x1==_0x4d8a94?0x1:0x2==_0x4d8a94?0x2:_0x4d8a94%0x64>=0x3&&_0x4d8a94%0x64<=0xa?0x3:_0x4d8a94%0x64>=0xb?0x4:0x5}};_0x25a76e['ar']||={'dictionary':{},'getPluralForm':null},_0x25a76e['ar']['dictionary']=Object['assign'](_0x25a76e['ar']['dictionary'],_0x3fd4e3),_0x25a76e['ar']['getPluralForm']=_0x13ca5c;})(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':_0x5d5ca2=>0x1!=_0x5d5ca2}};
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':_0x5cf5ef=>0x1!=_0x5cf5ef}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x3e1cfd=>{const {ast:{dictionary:_0x272ad6,getPluralForm:_0x1005ef}}={'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':_0x22e135=>0x1!=_0x22e135}};_0x3e1cfd['ast']||={'dictionary':{},'getPluralForm':null},_0x3e1cfd['ast']['dictionary']=Object['assign'](_0x3e1cfd['ast']['dictionary'],_0x272ad6),_0x3e1cfd['ast']['getPluralForm']=_0x1005ef;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x4b8fb7=>{const {ast:{dictionary:_0x47cefd,getPluralForm:_0x27df1f}}={'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':_0x233eb3=>0x1!=_0x233eb3}};_0x4b8fb7['ast']||={'dictionary':{},'getPluralForm':null},_0x4b8fb7['ast']['dictionary']=Object['assign'](_0x4b8fb7['ast']['dictionary'],_0x47cefd),_0x4b8fb7['ast']['getPluralForm']=_0x27df1f;})(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':_0x2dbd6d=>0x1!=_0x2dbd6d}};
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':_0x223c57=>0x1!=_0x223c57}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x25d7cf=>{const {az:{dictionary:_0x13a973,getPluralForm:_0x2dd1ac}}={'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':_0x366f45=>0x1!=_0x366f45}};_0x25d7cf['az']||={'dictionary':{},'getPluralForm':null},_0x25d7cf['az']['dictionary']=Object['assign'](_0x25d7cf['az']['dictionary'],_0x13a973),_0x25d7cf['az']['getPluralForm']=_0x2dd1ac;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0xf5e2f6=>{const {az:{dictionary:_0x4c39ce,getPluralForm:_0x15dd10}}={'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':_0x21a92a=>0x1!=_0x21a92a}};_0xf5e2f6['az']||={'dictionary':{},'getPluralForm':null},_0xf5e2f6['az']['dictionary']=Object['assign'](_0xf5e2f6['az']['dictionary'],_0x4c39ce),_0xf5e2f6['az']['getPluralForm']=_0x15dd10;})(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':_0x1e911e=>_0x1e911e%0xa==0x1&&_0x1e911e%0x64!=0xb?0x0:_0x1e911e%0xa>=0x2&&_0x1e911e%0xa<=0x4&&(_0x1e911e%0x64<0xa||_0x1e911e%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':_0x3243c6=>_0x3243c6%0xa==0x1&&_0x3243c6%0x64!=0xb?0x0:_0x3243c6%0xa>=0x2&&_0x3243c6%0xa<=0x4&&(_0x3243c6%0x64<0xa||_0x3243c6%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x33f417=>{const {be:{dictionary:_0x57f516,getPluralForm:_0x1a6080}}={'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':_0x5142c1=>_0x5142c1%0xa==0x1&&_0x5142c1%0x64!=0xb?0x0:_0x5142c1%0xa>=0x2&&_0x5142c1%0xa<=0x4&&(_0x5142c1%0x64<0xa||_0x5142c1%0x64>=0x14)?0x1:0x2}};_0x33f417['be']||={'dictionary':{},'getPluralForm':null},_0x33f417['be']['dictionary']=Object['assign'](_0x33f417['be']['dictionary'],_0x57f516),_0x33f417['be']['getPluralForm']=_0x1a6080;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x30d98c=>{const {be:{dictionary:_0x12cabf,getPluralForm:_0x272349}}={'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':_0x323d0d=>_0x323d0d%0xa==0x1&&_0x323d0d%0x64!=0xb?0x0:_0x323d0d%0xa>=0x2&&_0x323d0d%0xa<=0x4&&(_0x323d0d%0x64<0xa||_0x323d0d%0x64>=0x14)?0x1:0x2}};_0x30d98c['be']||={'dictionary':{},'getPluralForm':null},_0x30d98c['be']['dictionary']=Object['assign'](_0x30d98c['be']['dictionary'],_0x12cabf),_0x30d98c['be']['getPluralForm']=_0x272349;})(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':_0xe53319=>0x1!=_0xe53319}};
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':_0x1b81fe=>0x1!=_0x1b81fe}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x44612d=>{const {bg:{dictionary:_0xb7fdd,getPluralForm:_0x4a7260}}={'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':_0x54d229=>0x1!=_0x54d229}};_0x44612d['bg']||={'dictionary':{},'getPluralForm':null},_0x44612d['bg']['dictionary']=Object['assign'](_0x44612d['bg']['dictionary'],_0xb7fdd),_0x44612d['bg']['getPluralForm']=_0x4a7260;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x1ae8bd=>{const {bg:{dictionary:_0x5f00bb,getPluralForm:_0x444445}}={'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':_0x445fc0=>0x1!=_0x445fc0}};_0x1ae8bd['bg']||={'dictionary':{},'getPluralForm':null},_0x1ae8bd['bg']['dictionary']=Object['assign'](_0x1ae8bd['bg']['dictionary'],_0x5f00bb),_0x1ae8bd['bg']['getPluralForm']=_0x444445;})(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':_0x50872a=>0x1!=_0x50872a}};
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':_0x34b21d=>0x1!=_0x34b21d}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x5113b6=>{const {bn:{dictionary:_0x24617d,getPluralForm:_0x2f0641}}={'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':_0x5b1117=>0x1!=_0x5b1117}};_0x5113b6['bn']||={'dictionary':{},'getPluralForm':null},_0x5113b6['bn']['dictionary']=Object['assign'](_0x5113b6['bn']['dictionary'],_0x24617d),_0x5113b6['bn']['getPluralForm']=_0x2f0641;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x5d7c24=>{const {bn:{dictionary:_0x448eef,getPluralForm:_0x48f74b}}={'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':_0x219cb4=>0x1!=_0x219cb4}};_0x5d7c24['bn']||={'dictionary':{},'getPluralForm':null},_0x5d7c24['bn']['dictionary']=Object['assign'](_0x5d7c24['bn']['dictionary'],_0x448eef),_0x5d7c24['bn']['getPluralForm']=_0x48f74b;})(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':_0x458d5e=>_0x458d5e%0xa==0x1&&_0x458d5e%0x64!=0xb?0x0:_0x458d5e%0xa>=0x2&&_0x458d5e%0xa<=0x4&&(_0x458d5e%0x64<0xa||_0x458d5e%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':_0x1f06dd=>_0x1f06dd%0xa==0x1&&_0x1f06dd%0x64!=0xb?0x0:_0x1f06dd%0xa>=0x2&&_0x1f06dd%0xa<=0x4&&(_0x1f06dd%0x64<0xa||_0x1f06dd%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x101d33=>{const {bs:{dictionary:_0x24ac9f,getPluralForm:_0x377cf9}}={'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':_0x5ca940=>_0x5ca940%0xa==0x1&&_0x5ca940%0x64!=0xb?0x0:_0x5ca940%0xa>=0x2&&_0x5ca940%0xa<=0x4&&(_0x5ca940%0x64<0xa||_0x5ca940%0x64>=0x14)?0x1:0x2}};_0x101d33['bs']||={'dictionary':{},'getPluralForm':null},_0x101d33['bs']['dictionary']=Object['assign'](_0x101d33['bs']['dictionary'],_0x24ac9f),_0x101d33['bs']['getPluralForm']=_0x377cf9;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x641fcc=>{const {bs:{dictionary:_0x5dd761,getPluralForm:_0x1bbafb}}={'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':_0x3e4693=>_0x3e4693%0xa==0x1&&_0x3e4693%0x64!=0xb?0x0:_0x3e4693%0xa>=0x2&&_0x3e4693%0xa<=0x4&&(_0x3e4693%0x64<0xa||_0x3e4693%0x64>=0x14)?0x1:0x2}};_0x641fcc['bs']||={'dictionary':{},'getPluralForm':null},_0x641fcc['bs']['dictionary']=Object['assign'](_0x641fcc['bs']['dictionary'],_0x5dd761),_0x641fcc['bs']['getPluralForm']=_0x1bbafb;})(window['CKEDITOR_TRANSLATIONS']||={});