@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-20251106.0 → 0.0.0-nightly-20251108.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (173) hide show
  1. package/build/uploadcare.js +1 -1
  2. package/dist/index.js +3 -3
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +9 -9
  150. package/src/index.js +1 -1
  151. package/src/ui/uploadcarecontroller.js +2 -2
  152. package/src/ui/uploadcareformview.js +1 -1
  153. package/src/uploadcare.js +1 -1
  154. package/src/uploadcarecommand.js +1 -1
  155. package/src/uploadcareconfig.js +1 -1
  156. package/src/uploadcareediting.js +1 -1
  157. package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.js +2 -2
  158. package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.js +1 -1
  159. package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.js +1 -1
  160. package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.js +1 -1
  161. package/src/uploadcareimageedit/ui/uploadcareimageeditformview.js +1 -1
  162. package/src/uploadcareimageedit/uploadcareimageeditcommand.js +1 -1
  163. package/src/uploadcareimageedit/uploadcareimageeditediting.js +1 -1
  164. package/src/uploadcareimageedit/uploadcareimageeditui.js +1 -1
  165. package/src/uploadcareimageedit/uploadcareimagereplacecommand.js +1 -1
  166. package/src/uploadcareimageedit.js +1 -1
  167. package/src/uploadcareui.js +1 -1
  168. package/src/uploadcareuploadadapter.js +1 -1
  169. package/src/utils/common-translations.js +1 -1
  170. package/src/utils/dialogfocusmanagerview.js +1 -1
  171. package/src/utils/editingutils.js +1 -1
  172. package/src/utils/isancestor.js +1 -1
  173. package/src/utils/uploadutils.js +1 -1
package/dist/index.js CHANGED
@@ -20,6 +20,6 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x513efc,Command as _0x5835b9}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x33d336,IconGooglePhotos as _0x36de51,IconGoogleDrive as _0x55a42e,IconFacebook as _0x1d2220,IconDropbox as _0x7bdbe0,IconUploadcareLink as _0x5b1c59,IconUploadcareImageUpload as _0x343cad,IconError as _0xcf73f,IconUploadcareImageEdit as _0x10759f}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x4a11ec,MenuBarMenuListItemButtonView as _0x4517f4,View as _0x308d51,FocusCycler as _0x25294b,Dialog as _0xbb71ee,DialogViewPosition as _0x4562f0,SpinnerView as _0x1cc497,IconView as _0x1ee166,Notification as _0x54a156}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x50defc,DomEmitterMixin as _0x24fe55,global as _0x36810d,getAncestors as _0x463f24,ObservableMixin as _0xf43130,uid as _0x4b68bd,createElement as _0x1aa4d9}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x46651d}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x5fcb8d,info as _0x2754a7}from'@uploadcare/upload-client';import*as _0x44aa37 from'@uploadcare/file-uploader';var i=function(_0xb5c12a){return _0xb5c12a['Local']='local',_0xb5c12a['URL']='url',_0xb5c12a['Dropbox']='dropbox',_0xb5c12a['GDrive']='gdrive',_0xb5c12a['Facebook']='facebook',_0xb5c12a['GPhotos']='gphotos',_0xb5c12a['OneDrive']='onedrive',_0xb5c12a;}({});function _(_0x5675d3,_0xc9e184,_0x2a7ea4){const t=_0x5675d3['t'],_0x874760=_0x5675d3['t'];switch(_0xc9e184){case i['Local']:return{'text':_0x874760('Insert'===_0x2a7ea4?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x874760('From\x20computer')};case i['URL']:return{'text':'Insert'===_0x2a7ea4?_0x874760('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x874760('Via\x20URL')};case i['Dropbox']:return{'text':t('Insert'===_0x2a7ea4?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case i['Facebook']:return{'text':t('Insert'===_0x2a7ea4?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case i['GDrive']:return{'text':t('Insert'===_0x2a7ea4?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case i['GPhotos']:return{'text':t('Insert'===_0x2a7ea4?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case i['OneDrive']:return{'text':t('Insert'===_0x2a7ea4?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0xc9e184;}}class e extends _0x513efc{['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 _0xc5f564=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x45dcf9;for(const _0x226f13 in _0xc5f564){const _0x37238a=_0x226f13,_0x184606=_0xc5f564[_0x37238a];if('uploadcareLicenseKeyValid'==_0x184606||'uploadcareLicenseKeyInvalid'==_0x184606||'uploadcareLicenseKeyExpired'==_0x184606||'uploadcareLicenseKeyDomainLimit'==_0x184606||'uploadcareLicenseKeyNotAllowed'==_0x184606||'uploadcareLicenseKeyEvaluationLimit'==_0x184606||'uploadcareLicenseKeyTrialLimit'==_0x184606||'uploadcareLicenseKeyUsageLimit'==_0x184606){delete _0xc5f564[_0x37238a],_0x45dcf9=_0x184606,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x45dcf9&&_0xc5f564['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x45dcf9&&_0xc5f564['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x45dcf9&&_0xc5f564['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x45dcf9&&_0xc5f564['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x45dcf9&&_0xc5f564['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0x45dcf9&&_0xc5f564['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0x45dcf9&&_0xc5f564['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x4b9928}=this,_0x18a218=_0x4b9928['commands']['get']('uploadcare');if(!_0x18a218)return;const _0x3ff8b3=this['_normalizeConfigSourceList'](_0x4b9928['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x3cb547,_0x5ad728)=>{const _0x26f523=this['_getIntegrationKey'](_0x5ad728['type']);return _0x3cb547[_0x26f523]||(_0x3cb547[_0x26f523]=[]),_0x3cb547[_0x26f523]['push'](_0x5ad728),_0x3cb547;},{});_0x4b9928['plugins']['has']('ImageInsertUI')&&_0x4b9928['commands']['get']('uploadcare')&&Object['entries'](_0x3ff8b3)['forEach'](([_0x2088a0,_0x32cf10])=>{_0x4b9928['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x2088a0,'observable':()=>_0x18a218,'buttonViewCreator':()=>this['_createToolbarButton'](_0x32cf10),'formViewCreator':()=>this['_createDropdownButtons'](_0x32cf10),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x32cf10),'override':'assetManager'!==_0x2088a0});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x486858){const {locale:_0x1f96ab}=this['editor'];return _0x486858['map'](_0x5f3746=>{const _0x119d85=_(_0x1f96ab,_0x5f3746,'Insert');switch(_0x5f3746){case i['Local']:return{'icon':_0x343cad,'type':i['Local'],..._0x119d85};case i['URL']:return{'icon':_0x5b1c59,'type':i['URL'],..._0x119d85};case i['Dropbox']:return{'icon':_0x7bdbe0,'type':i['Dropbox'],..._0x119d85};case i['Facebook']:return{'icon':_0x1d2220,'type':i['Facebook'],..._0x119d85};case i['GDrive']:return{'icon':_0x55a42e,'type':i['GDrive'],..._0x119d85};case i['GPhotos']:return{'icon':_0x36de51,'type':i['GPhotos'],..._0x119d85};case i['OneDrive']:return{'icon':_0x33d336,'type':i['OneDrive'],..._0x119d85};}});}['_getIntegrationKey'](_0x5e09e4){switch(_0x5e09e4){case i['Local']:return'upload';case i['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x186905,_0x11920b){const _0x225be0=this['editor'],_0x1d67e5=new _0x186905(_0x225be0['locale']),_0x506cd3=_0x225be0['commands']['get']('uploadcare');return _0x1d67e5['bind']('isEnabled')['to'](_0x506cd3),_0x1d67e5['on']('execute',()=>{_0x506cd3['execute'](_0x11920b);}),_0x1d67e5;}['_createToolbarButton'](_0x45585a){const {locale:_0x58682f}=this['editor'],_0x2f4375=this['editor']['plugins']['get']('ImageInsertUI'),_0x3d31d2=_0x45585a[0x0],_0x293883=this['_createButton'](_0x4a11ec,_0x3d31d2['type']);return _0x293883['icon']=_0x3d31d2['icon'],_0x293883['bind']('label')['to'](_0x2f4375,'isImageSelected',_0x1cc637=>_(_0x58682f,_0x3d31d2['type'],_0x1cc637?'Replace':'Insert')['text']),_0x293883['tooltip']=!0x0,_0x293883;}['_createDropdownButtons'](_0x563e84){const {locale:_0x3770fb}=this['editor'],_0x7eb65c=this['editor']['plugins']['get']('ImageInsertUI');return _0x563e84['map'](_0x314382=>{const _0x48b25f=this['_createButton'](_0x4a11ec,_0x314382['type']);return _0x48b25f['withText']=!0x0,_0x48b25f['icon']=_0x314382['icon'],_0x48b25f['bind']('label')['to'](_0x7eb65c,'isImageSelected',_0x101505=>_(_0x3770fb,_0x314382['type'],_0x101505?'Replace':'Insert')['text']),_0x48b25f;});}['_createMenuBarButtons'](_0x5ece1d){return _0x5ece1d['map'](_0x354982=>{const _0x5e1896=this['_createButton'](_0x4517f4,_0x354982['type']);return _0x5e1896['icon']=_0x354982['icon'],_0x5e1896['label']=_0x354982['shortText'],_0x5e1896;});}}class F extends _0x308d51{['focusTracker'];['focusCycler'];constructor(_0x252b43){super(_0x252b43),this['focusTracker']=new _0x50defc(),this['focusCycler']=new _0x25294b({'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(_0x20e80a,_0x1d9593){super(_0x20e80a),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-'+_0x1d9593}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function C(_0x44ad6c,_0x49e9f2){const _0x2d3f60=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x4e1fcb=>_0x4e1fcb<=_0x49e9f2)['map'](_0x179f82=>_0x44ad6c['replace'](/\/$/,'')+'/-/resize/'+_0x179f82+'x/\x20'+_0x179f82+'w');return{'imageFallbackUrl':_0x44ad6c,'imageSources':[{'srcset':_0x2d3f60['join'](',\x20'),'sizes':'(max-width:\x20'+_0x49e9f2+'px)\x20100vw,\x20'+_0x49e9f2+'px','type':'image/webp'}]};}function S(_0x5047e2,_0x307c3b,_0x2ecccc){const _0xba9435=_0x5047e2['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0xba9435?parseInt(_0xba9435[0x1],0xa):_0x307c3b,'height':_0xba9435?parseInt(_0xba9435[0x2],0xa):_0x2ecccc};}function p(_0x349a1c,_0x188fd8){const _0x29e87b=new(_0x24fe55())(),_0x44024d=_0x349a1c['plugins']['get']('ImageUtils'),_0x520fd3=_0x349a1c['editing']['mapper']['toViewElement'](_0x188fd8),_0xcbd865=_0x44024d['findViewImgElement'](_0x520fd3),_0x1b5738=_0x349a1c['editing']['view']['domConverter']['viewToDom'](_0xcbd865),_0x3d20fa=_0x188fd8['getAttribute']('width'),_0x47b015=_0x188fd8['getAttribute']('height'),_0xf5d3bb='image-processing';_0x349a1c['editing']['view']['change'](_0xd50e9e=>{_0xd50e9e['addClass'](_0xf5d3bb,_0x520fd3),_0xd50e9e['setStyle']('aspect-ratio',_0x3d20fa+'/'+_0x47b015,_0xcbd865);}),_0x29e87b['listenTo'](_0x1b5738,'load',()=>{_0x29e87b['stopListening'](_0x1b5738,'load'),_0x349a1c['editing']['view']['change'](_0xe943b2=>{_0xe943b2['removeClass'](_0xf5d3bb,_0x520fd3),_0xe943b2['removeStyle']('aspect-ratio',_0xcbd865);});});}function G(_0x4c04a3){if(Array['isArray'](_0x4c04a3)){const _0x5d1852=_0x4c04a3['map'](G);return _0x22c164=>_0x5d1852['some'](_0x17b5e8=>_0x17b5e8(_0x22c164));}if('origin'==_0x4c04a3){const _0x222466=_0x36810d['window']['location']['origin'];return _0x21892f=>new URL(_0x21892f,_0x36810d['document']['baseURI'])['origin']==_0x222466;}return'function'==typeof _0x4c04a3?_0x4c04a3:_0x4c04a3 instanceof RegExp?_0x2b7608=>!(!_0x2b7608['match'](_0x4c04a3)&&!_0x2b7608['replace'](/^https?:\/\//,'')['match'](_0x4c04a3)):()=>!0x1;}function A(_0x143aea,_0x1700b){return _0x463f24(_0x143aea['target'])['includes'](_0x1700b);}class n extends/* #__PURE__ -- @preserve */
24
- _0xf43130(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x4fcfed,_0xb7cb5,_0x454947){super(),this['_editor']=_0x4fcfed,this['_editing']=_0xb7cb5,this['_dialog']=_0x4fcfed['plugins']['get'](_0xbb71ee),this['_api']=_0xb7cb5['ctxElement']['getAPI'](),this['_type']=_0x454947,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:_0x2f68e9,model:_0x33d96c}=this['_editor'],_0x59640a=_0x33d96c['document']['selection']['getSelectedElement'](),_0x5e7b6b=_0x59640a&&(_0x59640a['is']('element','imageBlock')||_0x59640a['is']('element','imageInline'));this['_formView']=new x(_0x2f68e9,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':_0x343cad,'title':_(_0x2f68e9,this['_type'],_0x5e7b6b?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x4562f0['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0xd46dbf=>!A(_0xd46dbf,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x1c0eea}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x12db4c=>{const _0x58c658=_0x1c0eea['length'];for(const _0x5e4a6c of _0x1c0eea){const _0x3c6772=_0x5e4a6c===_0x1c0eea[_0x58c658-0x1],{cdnUrl:_0x797b5e,fileInfo:_0x4f0a39}=_0x5e4a6c;if(!_0x797b5e||!_0x4f0a39)continue;const {width:_0x22a973,height:_0x3377ff}=_0x4f0a39['imageInfo'],_0x44d48d=S(_0x797b5e,_0x22a973,_0x3377ff),_0x36ac95=C(_0x797b5e,_0x44d48d['width']),_0x59a4e7={'id':_0x4f0a39['uuid'],'type':'image','attributes':{'imageDimension':_0x44d48d,..._0x36ac95}};this['_insertAsset'](_0x59a4e7,_0x3c6772,_0x12db4c);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x55b9a6=>{'idle'===_0x55b9a6['detail']['status']&&!_0x55b9a6['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===i['Local']?this['_api']['setCurrentActivity'](i['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x273299,_0x154dc5,_0x30ab0e){const _0x4d3658=this['_editor']['model']['document']['selection'],_0x2efcd3=_0x4d3658['getSelectedElement'](),_0x369d3d=!(!_0x2efcd3||!_0x2efcd3['is']('element','imageInline'));_0x30ab0e['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x273299,_0x369d3d),_0x154dc5||_0x30ab0e['setSelection'](_0x4d3658['getLastPosition']());}['_insertImage'](_0x57a490,_0x1e84fb){const _0x53b97f=this['_editor'],{imageDimension:_0x3cc1fe,imageFallbackUrl:_0x35f7e2,imageSources:_0x5c8452}=_0x57a490['attributes'];_0x53b97f['execute']('insertImage',{'imageType':_0x1e84fb?'imageInline':null,'source':{'uploadcareImageId':_0x57a490['id'],'src':_0x35f7e2,'sources':_0x5c8452,..._0x3cc1fe}});}}class w extends _0x5835b9{['_editing'];['_controller']=null;static get['requires'](){return[_0xbb71ee,o];}constructor(_0x14f1db){super(_0x14f1db),this['_editing']=_0x14f1db['plugins']['get'](o);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x575e0a){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new n(this['editor'],this['_editing'],_0x575e0a);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class j{static['upload']({file:_0x1a7c84,..._0x4311c4}){return _0x5fcb8d(_0x1a7c84,_0x4311c4);}static['getInfo'](_0x171945,_0x447288){return _0x2754a7(_0x171945,_0x447288);}}class f extends _0x513efc{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x46651d,o];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0xdce19e=this['editor'];if(!!!_0xdce19e['config']['get']('uploadcare'))return;_0xdce19e['plugins']['get'](_0x46651d)['createUploadAdapter']=_0x3b332c=>new k(_0x3b332c,_0xdce19e),_0xdce19e['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x22b0a6,{imageElement:_0x4c7291,data:_0x795a89})=>{_0xdce19e['model']['change'](_0x3dc823=>{_0x3dc823['setAttribute']('uploadcareImageId',_0x795a89['uploadcareImageId'],_0x4c7291);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x34ceda,_0x26f178){this['loader']=_0x34ceda,this['editor']=_0x26f178,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x216472=await this['loader']['file'];return j['upload']({'file':_0x216472,'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':_0x2f2629=>{_0x2f2629&&_0x2f2629['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x2f2629['value']);}})['then'](async _0x148eca=>{const {imageFallbackUrl:_0x47628f,imageSources:_0x188887}=C(_0x148eca['cdnUrl'],_0x148eca['imageInfo']['width']);return{'uploadcareImageId':_0x148eca['uuid'],'default':_0x47628f,'sources':_0x188887};})['catch'](()=>{const _0x3d68b2=t('Cannot\x20upload\x20file:')+('\x20'+_0x216472['name']+'.');return Promise['reject'](_0x3d68b2);});}['abort'](){this['controller']['abort']();}}class o extends _0x513efc{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',f,_0xbb71ee];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['ucContextId'];get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}constructor(_0x3678ca){super(_0x3678ca),this['ucContextId']=_0x4b68bd();}['init'](){const _0x18b9d5=this['editor'];_0x18b9d5['commands']['add']('uploadcare',new w(_0x18b9d5));}['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 _0x43a910=_0x36810d['document']['querySelector']('input[uploadcare-file-input]');_0x43a910&&_0x43a910['remove']();}),async function(_0x4e41e7){const _0x42fe6f=_0x2846be([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]),_0x5dceb7=0x535f8c3a,_0x3cf1d9=0x5358f46a^_0x5dceb7,_0x27cffa=window[_0x2846be([0x44,0x61,0x74,0x65])][_0x2846be([0x6e,0x6f,0x77])](),_0x5a2dd6=_0x4e41e7[_0x2846be([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x59c1f2=new window[(_0x2846be([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1b8029=>{_0x5a2dd6[_0x2846be([0x6f,0x6e,0x63,0x65])](_0x2846be([0x72,0x65,0x61,0x64,0x79]),_0x1b8029);}),_0x35318d={[_0x2846be([0x6b,0x74,0x79])]:_0x2846be([0x45,0x43]),[_0x2846be([0x75,0x73,0x65])]:_0x2846be([0x73,0x69,0x67]),[_0x2846be([0x63,0x72,0x76])]:_0x2846be([0x50,0x2d,0x32,0x35,0x36]),[_0x2846be([0x78])]:_0x2846be([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]),[_0x2846be([0x79])]:_0x2846be([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]),[_0x2846be([0x61,0x6c,0x67])]:_0x2846be([0x45,0x53,0x32,0x35,0x36])},_0x587c98=_0x5a2dd6[_0x2846be([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2846be([0x67,0x65,0x74])](_0x2846be([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0xf37c8(){let _0x58e22f,_0x39e0a1=null,_0x22c178=null;try{if(_0x587c98==_0x2846be([0x47,0x50,0x4c]))return _0x2846be([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x58e22f=_0x2bd3cb(),!_0x58e22f)return _0x2846be([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x58e22f[_0x2846be([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x22c178=_0x4a10ca(_0x58e22f[_0x2846be([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x58e22f[_0x2846be([0x6a,0x74,0x69])])),await _0xd251eb()?_0x1957f4()?_0x2037f8()?_0x2846be([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1ee3d2()?(_0x58e22f[_0x2846be([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2846be([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x39e0a1=_0x4ba1d8(_0x2846be([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x58e22f[_0x2846be([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2846be([0x74,0x72,0x69,0x61,0x6c])&&(_0x39e0a1=_0x4ba1d8(_0x2846be([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x18658c()):_0x2846be([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2846be([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2846be([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x2846be([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2037f8(){const _0x5895e7=[_0x2846be([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2846be([0x74,0x72,0x69,0x61,0x6c])][_0x2846be([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x58e22f[_0x2846be([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x27cffa/0x3e8:0xe10*_0x3cf1d9;return _0x58e22f[_0x2846be([0x65,0x78,0x70])]<_0x5895e7;}function _0x1957f4(){const _0x2f69a9=_0x58e22f[_0x2846be([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x2f69a9&&(!!_0x2f69a9[_0x2846be([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2846be([0x2a]))||!!_0x2f69a9[_0x2846be([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2846be([0x55,0x50,0x4c,0x43])));}function _0x1ee3d2(){const _0x46bac8=_0x58e22f[_0x2846be([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x46bac8||0x0==_0x46bac8[_0x2846be([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x436758}=new URL(window[_0x2846be([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x46bac8[_0x2846be([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x436758))return!0x0;const _0x1c3f2f=_0x436758[_0x2846be([0x73,0x70,0x6c,0x69,0x74])](_0x2846be([0x2e]));return _0x46bac8[_0x2846be([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x42b646=>_0x42b646[_0x2846be([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2846be([0x2a])))[_0x2846be([0x6d,0x61,0x70])](_0x38df64=>_0x38df64[_0x2846be([0x73,0x70,0x6c,0x69,0x74])](_0x2846be([0x2e])))[_0x2846be([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x52c902=>_0x52c902[_0x2846be([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x1c3f2f[_0x2846be([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2846be([0x6d,0x61,0x70])](_0x231ed6=>Array(_0x1c3f2f[_0x2846be([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x231ed6[_0x2846be([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2846be([0x66,0x69,0x6c,0x6c])](_0x231ed6[0x0]===_0x2846be([0x2a])?_0x2846be([0x2a]):'')[_0x2846be([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x231ed6))[_0x2846be([0x73,0x6f,0x6d,0x65])](_0xe7775b=>_0x1c3f2f[_0x2846be([0x65,0x76,0x65,0x72,0x79])]((_0x2d4a9e,_0x5833d6)=>_0xe7775b[_0x5833d6]===_0x2d4a9e||_0xe7775b[_0x5833d6]===_0x2846be([0x2a])));}function _0x18658c(){return _0x39e0a1&&_0x22c178?new window[(_0x2846be([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x432e45,_0x20daaa)=>{_0x39e0a1[_0x2846be([0x74,0x68,0x65,0x6e])](_0x432e45,_0x20daaa),_0x22c178[_0x2846be([0x74,0x68,0x65,0x6e])](_0x450861=>{_0x450861!=_0x2846be([0x56,0x61,0x6c,0x69,0x64])&&_0x432e45(_0x450861);},_0x20daaa);}):_0x39e0a1||_0x22c178||_0x2846be([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4a10ca(_0x19c1ce,_0x3c4069){return new window[(_0x2846be([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x329cac=>{if(_0x198d2b())return _0x329cac(_0x2846be([0x56,0x61,0x6c,0x69,0x64]));_0x5d657c(),_0x5a2dd6[_0x2846be([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2846be([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x44d3e0=!0x1;const _0x1fb3ea=_0x4b68bd();function _0x2c5cb9(_0x10a070){return!!_0x10a070&&(typeof _0x10a070===_0x2846be([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x10a070===_0x2846be([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x10a070[_0x2846be([0x74,0x68,0x65,0x6e])]===_0x2846be([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x10a070[_0x2846be([0x63,0x61,0x74,0x63,0x68])]===_0x2846be([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0xf099cf(_0xf72a32){_0x401805(_0xf72a32)[_0x2846be([0x74,0x68,0x65,0x6e])](_0x595578=>{if(!_0x595578||_0x595578[_0x2846be([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2846be([0x6f,0x6b]))return _0x2846be([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1b72cc(_0x502ac1(_0x1fb3ea+_0x3c4069))!=_0x595578[_0x2846be([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2846be([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2846be([0x56,0x61,0x6c,0x69,0x64]);})[_0x2846be([0x74,0x68,0x65,0x6e])](_0x19cceb=>(_0x364dcc(),_0x19cceb),()=>{const _0xbf6f7d=_0x8a24c5();return null==_0xbf6f7d?(_0x364dcc(),_0x2846be([0x56,0x61,0x6c,0x69,0x64])):_0x2846be(_0x27cffa-_0xbf6f7d>(0x7753083a^_0x5dceb7)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2846be([0x74,0x68,0x65,0x6e])](_0x329cac)[_0x2846be([0x63,0x61,0x74,0x63,0x68])](()=>{_0x329cac(_0x2846be([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x59fc17=0x536962ba^_0x5dceb7;function _0x364dcc(){const _0x391af9=_0x2846be([0x6c,0x6c,0x63,0x74,0x2d])+_0x1b72cc(_0x502ac1(_0x19c1ce)),_0x2b8bd9=_0x996a12(_0x1b72cc(window[_0x2846be([0x4d,0x61,0x74,0x68])][_0x2846be([0x63,0x65,0x69,0x6c])](_0x27cffa/_0x59fc17)));window[_0x2846be([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2846be([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x391af9,_0x2b8bd9);}function _0x8a24c5(){const _0xd67486=_0x2846be([0x6c,0x6c,0x63,0x74,0x2d])+_0x1b72cc(_0x502ac1(_0x19c1ce)),_0x5bbb38=window[_0x2846be([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2846be([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xd67486);return _0x5bbb38?window[_0x2846be([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x996a12(_0x5bbb38),0x10)*_0x59fc17:null;}function _0x401805(_0x3645c2){return new window[(_0x2846be([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x12c034,_0x399dd6)=>{_0x3645c2[_0x2846be([0x74,0x68,0x65,0x6e])](_0x12c034,_0x399dd6),window[_0x2846be([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x399dd6,0x535e58fa^_0x5dceb7);});}}_0x5a2dd6[_0x2846be([0x6f,0x6e])](_0x2846be([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x379183,_0x32a16a)=>{if(_0x32a16a[0x0]!=_0x19c1ce)return _0x329cac(_0x2846be([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x32a16a[0x1]={..._0x32a16a[0x1],[_0x2846be([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1fb3ea};},{[_0x2846be([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2846be([0x68,0x69,0x67,0x68])}),_0x5a2dd6[_0x2846be([0x6f,0x6e])](_0x2846be([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x58f6ad=>{_0x2c5cb9(_0x58f6ad[_0x2846be([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x44d3e0=!0x0,_0xf099cf(_0x58f6ad[_0x2846be([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2846be([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2846be([0x6c,0x6f,0x77])}),_0x59c1f2[_0x2846be([0x74,0x68,0x65,0x6e])](()=>{_0x44d3e0||_0x329cac(_0x2846be([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x198d2b(){return _0x5a2dd6[_0x2846be([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2846be([0x76,0x69,0x65,0x77])][_0x2846be([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2846be([0x61,0x75,0x74,0x6f]);}function _0x5d657c(){_0x5a2dd6[_0x2846be([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2846be([0x76,0x69,0x65,0x77])][_0x2846be([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2846be([0x61,0x75,0x74,0x6f]);}}function _0x4ba1d8(_0x4b48ef){const _0x39f8db=[new window[(_0x2846be([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1685d8=>setTimeout(_0x1685d8,0x5356b2f6^_0x5dceb7)),_0x59c1f2[_0x2846be([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2846be([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4eb3a0=>{let _0x559a2e=0x0;_0x5a2dd6[_0x2846be([0x6d,0x6f,0x64,0x65,0x6c])][_0x2846be([0x6f,0x6e])](_0x2846be([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0xe3f678,_0x4f1ebc)=>{_0x4f1ebc[0x0][_0x2846be([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x559a2e++,_0x559a2e==(0x535f8dc2^_0x5dceb7)&&(_0x4eb3a0(),_0xe3f678[_0x2846be([0x6f,0x66,0x66])]());});}))];return window[_0x2846be([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2846be([0x72,0x61,0x63,0x65])](_0x39f8db)[_0x2846be([0x74,0x68,0x65,0x6e])](()=>_0x4b48ef);}async function _0x1d4d09(){await _0x59c1f2,_0x5a2dd6[_0x2846be([0x6d,0x6f,0x64,0x65,0x6c])][_0x2846be([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x255aa3,_0x5a2dd6[_0x2846be([0x6d,0x6f,0x64,0x65,0x6c])][_0x2846be([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x255aa3,_0x5a2dd6[_0x2846be([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2846be([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x1f2fec(_0x992900){const _0x5167fc=_0x57da9();_0x5a2dd6[_0x5167fc]=_0x2846be([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x992900,_0x992900!=_0x2846be([0x56,0x61,0x6c,0x69,0x64])&&_0x1d4d09();}function _0x57da9(){const _0x489dba=window[_0x2846be([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2846be([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2846be([0x6e,0x6f,0x77])]())[_0x2846be([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2846be([0x2e]),'');let _0x2642c6=_0x2846be([0x68]);for(let _0x327cba=0x0;_0x327cba<_0x489dba[_0x2846be([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x327cba+=0x2){let _0x2c0441=window[_0x2846be([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x489dba[_0x2846be([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x327cba,_0x327cba+0x2));_0x2c0441>=_0x42fe6f[_0x2846be([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2c0441-=_0x42fe6f[_0x2846be([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2642c6+=_0x42fe6f[_0x2c0441];}return _0x2642c6;}function _0x2bd3cb(){const _0x14c9a6=_0x587c98[_0x2846be([0x73,0x70,0x6c,0x69,0x74])](_0x2846be([0x2e]));if(0x3!=_0x14c9a6[_0x2846be([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4de5dc(_0x14c9a6[0x1]);function _0x4de5dc(_0x583556){const _0x47f08d=_0x24eed9(_0x583556);return _0x47f08d&&_0x2aa798()?_0x47f08d:null;function _0x2aa798(){const _0x270bf8=_0x47f08d[_0x2846be([0x6a,0x74,0x69])],_0x80385d=window[_0x2846be([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x270bf8[_0x2846be([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x270bf8[_0x2846be([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x3f983a={..._0x47f08d,[_0x2846be([0x6a,0x74,0x69])]:_0x270bf8[_0x2846be([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x270bf8[_0x2846be([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x3f983a[_0x2846be([0x76,0x63])],_0x502ac1(_0x3f983a)==_0x80385d;}}}async function _0xd251eb(){let _0x3d32fc=!0x0;try{const _0x519908=_0x587c98[_0x2846be([0x73,0x70,0x6c,0x69,0x74])](_0x2846be([0x2e])),[_0xab7d0a,_0x13cfcf,_0x4e8fd4]=_0x519908;return _0x1aa03c(_0xab7d0a),await _0x4c7977(_0xab7d0a,_0x13cfcf,_0x4e8fd4),_0x3d32fc;}catch{return!0x1;}function _0x1aa03c(_0x355422){const _0xfb9a0b=_0x24eed9(_0x355422);_0xfb9a0b&&_0xfb9a0b[_0x2846be([0x61,0x6c,0x67])]==_0x2846be([0x45,0x53,0x32,0x35,0x36])||(_0x3d32fc=!0x1);}async function _0x4c7977(_0x5b3538,_0x4521b1,_0x44276d){const _0x1205f6=window[_0x2846be([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2846be([0x66,0x72,0x6f,0x6d])](_0x388ee0(_0x44276d),_0x1bc77d=>_0x1bc77d[_0x2846be([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x28d6ba=new window[(_0x2846be([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2846be([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x5b3538+_0x2846be([0x2e])+_0x4521b1),_0x39646e=window[_0x2846be([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2846be([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x39646e)return;const _0x1e4067=await _0x39646e[_0x2846be([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2846be([0x6a,0x77,0x6b]),_0x35318d,{[_0x2846be([0x6e,0x61,0x6d,0x65])]:_0x2846be([0x45,0x43,0x44,0x53,0x41]),[_0x2846be([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2846be([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2846be([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x39646e[_0x2846be([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2846be([0x6e,0x61,0x6d,0x65])]:_0x2846be([0x45,0x43,0x44,0x53,0x41]),[_0x2846be([0x68,0x61,0x73,0x68])]:{[_0x2846be([0x6e,0x61,0x6d,0x65])]:_0x2846be([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1e4067,_0x1205f6,_0x28d6ba)||(_0x3d32fc=!0x1);}}function _0x24eed9(_0x18d389){return _0x18d389[_0x2846be([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2846be([0x65,0x79]))?JSON[_0x2846be([0x70,0x61,0x72,0x73,0x65])](_0x388ee0(_0x18d389)):null;}function _0x388ee0(_0x401cc5){return window[_0x2846be([0x61,0x74,0x6f,0x62])](_0x401cc5[_0x2846be([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2846be([0x2b]))[_0x2846be([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2846be([0x2f])));}function _0x502ac1(_0xb535a4){let _0x3e631b=0x1505;function _0x123f9(_0x55f3c4){for(let _0x59c216=0x0;_0x59c216<_0x55f3c4[_0x2846be([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x59c216++){const _0x5c4583=_0x55f3c4[_0x2846be([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x59c216);_0x3e631b=(_0x3e631b<<0x5)+_0x3e631b+_0x5c4583,_0x3e631b&=_0x3e631b;}}function _0x124e0c(_0x4b0867){Array[_0x2846be([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4b0867)?_0x4b0867[_0x2846be([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x124e0c):_0x4b0867&&typeof _0x4b0867==_0x2846be([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2846be([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4b0867)[_0x2846be([0x73,0x6f,0x72,0x74])]()[_0x2846be([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4973fa,_0x5aa30b])=>{_0x123f9(_0x4973fa),_0x124e0c(_0x5aa30b);}):_0x123f9(window[_0x2846be([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4b0867));}return _0x124e0c(_0xb535a4),_0x3e631b>>>0x0;}function _0x1b72cc(_0xc1e859){return _0xc1e859[_0x2846be([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2846be([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2846be([0x30]));}function _0x996a12(_0x4f1521){return _0x4f1521[_0x2846be([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2846be([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2846be([0x6a,0x6f,0x69,0x6e])]('');}function _0x255aa3(){}function _0x2846be(_0x2f32ab){return _0x2f32ab['map'](_0x537aa5=>String['fromCharCode'](_0x537aa5))['join']('');}_0x1f2fec(await _0xf37c8());}(this);}['_initSchema'](){const _0x7f0022=this['editor']['model']['schema'];_0x7f0022['isRegistered']('imageBlock')&&_0x7f0022['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x7f0022['isRegistered']('imageInline')&&_0x7f0022['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x1b2606=this['editor'];_0x1b2606['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x1b2606['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0xf681=>_0xf681['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x57d0dd=_0x1b2606['commands']['get']('replaceImageSource');_0x57d0dd&&this['listenTo'](_0x57d0dd,'cleanupImage',(_0x28eb1b,[_0x4dc30f,_0x1f6ee6])=>{_0x4dc30f['removeAttribute']('uploadcareImageId',_0x1f6ee6);});}['_initConfig'](){const _0x4fdfdb=this['editor']['config']['get']('uploadcare.uploader')||{},_0x4361f4=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x1aa4d9(_0x36810d['document'],'uc-config',{..._0x4fdfdb,'pubkey':_0x4361f4,'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']=_0x1f7747=>{if('closeMax'==_0x1f7747)return'#uc-icon-arrow-down';},_0x36810d['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x1aa4d9(_0x36810d['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),_0x36810d['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x30fc9d=this['editor']['commands']['get']('insertImage');_0x30fc9d&&this['listenTo'](_0x30fc9d,'execute',()=>{const _0x261bde=this['editor']['model']['document']['selection']['getSelectedElement']();_0x261bde&&_0x261bde['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x261bde);});});const _0x23e5b4=this['editor']['commands']['get']('uploadcareImageReplace');_0x23e5b4&&this['listenTo'](_0x23e5b4,'execute',()=>{const _0x40cc05=this['editor']['model']['document']['selection']['getSelectedElement']();_0x40cc05&&_0x40cc05['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x40cc05);});});}}class tt extends _0x513efc{static get['requires'](){return[o,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x5f40ce){super(_0x5f40ce),_0x5f40ce['config']['define']('uploadcare.uploader.sourceList',[i['Local'],i['URL']]),_0x44aa37['defineComponents'](_0x44aa37),this['_defineLocale']();}['_defineLocale'](){const _0x4c0d85=this['editor']['config']['get']('uploadcare.locale'),_0x36c70b=this['editor']['locale']['contentLanguage'];_0x4c0d85&&_0x44aa37['defineLocale'](_0x36c70b,_0x4c0d85);}}class ii extends _0x308d51{constructor(_0x411d88){super(_0x411d88);const t=_0x411d88['t'],_0x353b1f=this['bindTemplate'],_0x391c87=new _0x1cc497();_0x391c87['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':[_0x391c87,{'text':_0x353b1f['to']('imageUploadProgress',_0x3c26a3=>t('Loading\x20image...')+'\x20('+(_0x3c26a3||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 _0x308d51{constructor(_0x43a4df){super(_0x43a4df);const t=_0x43a4df['t'];this['set']('errorType',null);const _0x4610b3=new _0x4a11ec(_0x43a4df);_0x4610b3['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x4610b3['withText']=!0x0,_0x4610b3['class']='ck-button-action',_0x4610b3['on']('execute',()=>{this['fire']('retry');}),_0x4610b3['bind']('isVisible')['to'](this,'errorType',_0x2cff4d=>'NotFound'!==_0x2cff4d);const _0x28c4a3=new _0x1ee166();_0x28c4a3['content']=_0xcf73f,_0x28c4a3['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x26d297=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':[_0x28c4a3,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x26d297['to']('errorType',_0x172569=>t('NotFound'!==_0x172569?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x4610b3]},{'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 _0x308d51{constructor(_0x5aa583,_0x52c42e){super(_0x5aa583);const _0x304b69=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x52c42e,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x304b69['to']('imageSrc')}});}}class X extends F{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x2870cd,_0x3b6211,_0x28b04a){super(_0x2870cd),this['_items']=this['createCollection'](),this['_loadingView']=new ii(_0x2870cd),this['_errorView']=new ti(_0x2870cd),this['_editingView']=new ei(_0x2870cd,_0x28b04a),this['_focusableView']=new _0x308d51(_0x2870cd),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x3b6211),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'],_0x4eb467=>{this['_addUploadcareImageEditorListeners'](_0x4eb467);});}),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'](_0x3fedf6,_0x583970){const _0x2380d2='uc-cloud-image-editor',_0x33c65c=_0x3fedf6['querySelector'](_0x2380d2);if(_0x33c65c)return _0x583970(_0x33c65c);const _0x141e5b=new MutationObserver(_0x48f17e=>{const _0x46a175=_0x48f17e['filter'](_0x55197b=>_0x55197b['target']===_0x3fedf6&&_0x55197b['addedNodes']['length']>0x0&&_0x55197b['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x2380d2);_0x46a175['length']&&(_0x141e5b['disconnect'](),_0x583970(_0x46a175[0x0]['addedNodes'][0x0]));});_0x141e5b['observe'](_0x3fedf6,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x17f7a3){_0x17f7a3['addEventListener']('apply',_0x10400e=>{this['fire']('apply',{'imageSrc':_0x10400e['detail']['cdnUrl']});}),_0x17f7a3['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class E extends/* #__PURE__ -- @preserve */
25
- _0xf43130(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x1c05ed,_0x531120,_0x1bc8bc){super(),this['_editor']=_0x1c05ed,this['_dialog']=_0x531120,this['_imageElement']=_0x1bc8bc,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 _0x1b3367=this['_imageElement'],_0x460f4d=_0x1b3367['getAttribute']('uploadcareImageId'),_0xc7cd87=_0x1b3367['getAttribute']('src');if(_0x460f4d)await this['_loadImageInfo'](_0x460f4d,_0xc7cd87);else{if(this['_imageCache']['has'](_0xc7cd87)){const _0x394360=this['_imageCache']['get'](_0xc7cd87);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x394360['url'],this['imageDimension']=_0x394360['dimension'],this['imageId']=_0x394360['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x48a9ec}=this['_editor'],t=_0x48a9ec['t'],_0x36c02b=new X(_0x48a9ec,this['imageStatus'],this['_attributes']);_0x36c02b['bind']('status')['to'](this,'imageStatus'),_0x36c02b['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x36c02b['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x36c02b['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x36c02b,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x10759f,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x36c02b,'position':_0x4562f0['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x36c02b['focus']();},'onHide':()=>{_0x36c02b['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x30769e=>!A(_0x30769e,_0x36c02b['element'])}});}['_loadImageInfo'](_0x451984,_0x1cc2cb){return j['getInfo'](_0x451984,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x4144f5=>{const {width:_0x592109,height:_0x394237}=_0x4144f5['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x1cc2cb,this['imageDimension']={'width':_0x592109,'height':_0x394237},this['imageId']=_0x451984;})['catch'](_0x3732b5=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x3732b5['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x496be5,_0xb2c636){return this['_getImageAsFile'](_0x496be5)['then'](_0x19734f=>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':_0xb2c636['signal'],'file':_0x19734f,'onProgress':_0x5e2c13=>{_0x5e2c13&&_0x5e2c13['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x5e2c13['value']));}}))['then'](_0x2588c4=>{const {width:_0x4700dc,height:_0x2f845b}=_0x2588c4['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x2588c4['cdnUrl'],this['imageDimension']={'width':_0x4700dc,'height':_0x2f845b},this['imageId']=_0x2588c4['uuid'],this['imageUploadProgress']=null;const _0x21b293=_0x496be5['getAttribute']('src');this['_imageCache']['set'](_0x21b293,{'id':_0x2588c4['uuid'],'url':_0x2588c4['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x58488c=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x58488c['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x18c83e,_0x4c0784){_0x18c83e['on']('apply',(_0x18863d,_0x3e4df0)=>{this['_replaceImage'](_0x4c0784,_0x3e4df0['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x18c83e['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x18c83e['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x49cc30,_0xf4f660,_0x34f2b6){const _0x194051=this['_editor'],{width:_0xc7c332,height:_0x31d147}=S(_0xf4f660,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x537699,imageSources:_0x46ba3d}=C(_0xf4f660,_0xc7c332);_0x194051['model']['change'](_0xdad421=>{if('$graveyard'===_0x49cc30['root']['rootName']){_0x194051['execute']('insertImage',{'imageType':_0x49cc30['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x49cc30['getAttributes']()),'uploadcareImageId':_0x34f2b6,'src':_0x537699,'sources':_0x46ba3d,'width':_0xc7c332,'height':_0x31d147}});const _0x160cf6=_0x49cc30['getChildren']();_0x49cc30=_0x194051['model']['document']['selection']['getSelectedElement']();for(const _0x2ad6d0 of _0x160cf6)_0xdad421['append'](_0xdad421['cloneElement'](_0x2ad6d0),_0x49cc30);}else _0xdad421['setSelection'](_0x49cc30,'on'),_0x194051['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x49cc30['getAttributes']()),'uploadcareImageId':_0x34f2b6,'src':_0x537699,'sources':_0x46ba3d,'width':_0xc7c332,'height':_0x31d147},_0x49cc30);_0xdad421['setSelection'](_0x49cc30,'on');});}async['_getImageAsFile'](_0x4fd9a2){const _0x42125d=_0x36810d['window'],_0x536d5c=_0x36810d['document']['location']['href'],_0x34e0ac=new _0x42125d['URL'](_0x4fd9a2['getAttribute']('src'),_0x536d5c);if('data:'===_0x34e0ac['protocol']){const _0x3de6af=_0x34e0ac['href']['split'](','),_0x106526=_0x3de6af[0x0]['match'](/:(.*?);/)[0x1],_0x4bac88=_0x106526['split']('/')[0x1],_0x1f4a78=_0x42125d['atob'](_0x3de6af[_0x3de6af['length']-0x1]);let _0xaa90=_0x1f4a78['length'];const _0x1c020e=new _0x42125d['Uint8Array'](_0xaa90);for(;_0xaa90--;)_0x1c020e[_0xaa90]=_0x1f4a78['charCodeAt'](_0xaa90);return new _0x42125d['File']([_0x1c020e],'image.'+_0x4bac88,{'type':_0x106526});}const _0x31a7b8=_0x34e0ac['href']['split']('/'),_0x3b6c64=_0x31a7b8[_0x31a7b8['length']-0x1],_0x5bfa80=_0x3b6c64['split']('.')[0x1];return _0x42125d['fetch'](_0x34e0ac['href'])['then'](_0x235ef7=>_0x235ef7['clone']()['blob']())['then'](_0x1cc54d=>new _0x42125d['File']([_0x1cc54d],_0x3b6c64,{'type':'image/'+_0x5bfa80}));}}class O extends _0x5835b9{['imageEditController'];static get['requires'](){return[_0xbb71ee];}['_isEditable'];constructor(_0x5a3326){super(_0x5a3326),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x1730db){const _0x597b1e=G(_0x1730db);return _0x53e1ef=>!(!_0x53e1ef||!_0x53e1ef['is']('element','imageBlock')&&!_0x53e1ef['is']('element','imageInline'))&&(!!_0x53e1ef['hasAttribute']('uploadcareImageId')||!!_0x53e1ef['hasAttribute']('src')&&_0x597b1e(_0x53e1ef['getAttribute']('src')));}(_0x5a3326['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x50dcb0=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x50dcb0);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x265027=this['editor']['model']['document']['selection']['getSelectedElement']();_0x265027&&(_0x265027['is']('element','imageBlock')||_0x265027['is']('element','imageInline'))&&(this['imageEditController']=new E(this['editor'],this['editor']['plugins']['get'](_0xbb71ee),_0x265027),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class R extends _0x5835b9{['refresh'](){const _0x4083de=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x4083de&&(_0x4083de['is']('element','imageBlock')||_0x4083de['is']('element','imageInline')));}['execute'](_0x189d8c){const _0x26b43c=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x562ae4=>{_0x562ae4['setAttributes'](_0x189d8c,_0x26b43c),_0x562ae4['removeAttribute']('srcset',_0x26b43c),_0x562ae4['removeAttribute']('sizes',_0x26b43c);});}}class m extends _0x513efc{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[o,_0x54a156,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x1b8bc6}=this;_0x1b8bc6['commands']['add']('uploadcareImageEdit',new O(_0x1b8bc6)),_0x1b8bc6['commands']['add']('uploadcareImageReplace',new R(_0x1b8bc6));}}class g extends _0x513efc{['_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 _0x4b92f1=this['editor'];_0x4b92f1['ui']['componentFactory']['add']('uploadcareImageEdit',_0x42b136=>{const _0x3f5e79=_0x4b92f1['commands']['get']('uploadcareImageEdit'),_0x2799c4=new _0x4a11ec(_0x42b136),t=_0x42b136['t'];return _0x2799c4['set']({'icon':_0x10759f,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x2799c4['bind']('isEnabled')['to'](_0x3f5e79),_0x2799c4['bind']('isOn')['to'](_0x3f5e79,'isActive'),this['listenTo'](_0x2799c4,'execute',()=>{_0x4b92f1['execute']('uploadcareImageEdit'),_0x4b92f1['editing']['view']['focus']();}),_0x2799c4;}),this['_initConfig']();}['_initConfig'](){const _0x905bb=_0x1aa4d9(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x905bb),this['listenTo'](this['editor'],'destroy',()=>{_0x905bb['remove']();});}}class et extends _0x513efc{static get['pluginName'](){return'UploadcareImageEdit';}static get['requires'](){return[m,g];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{tt as Uploadcare,w as UploadcareCommand,o as UploadcareEditing,et as UploadcareImageEdit,O as UploadcareImageEditCommand,m as UploadcareImageEditEditing,g as UploadcareImageEditUI,e as UploadcareUI,f as UploadcareUploadAdapter};
23
+ import{Plugin as _0x47677f,Command as _0x557747}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x57ad23,IconGooglePhotos as _0x175904,IconGoogleDrive as _0x43c613,IconFacebook as _0x11223c,IconDropbox as _0x3ff723,IconUploadcareLink as _0x4a1f55,IconUploadcareImageUpload as _0x1d24ab,IconError as _0x1c126d,IconUploadcareImageEdit as _0x2bff6e}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x4bd808,MenuBarMenuListItemButtonView as _0x5a704f,View as _0xf79a67,FocusCycler as _0x43173,Dialog as _0x2a7e1a,DialogViewPosition as _0x5006c0,SpinnerView as _0x15f1f0,IconView as _0x1c43c7,Notification as _0x46fe69}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x14ef31,DomEmitterMixin as _0x212838,global as _0x1d624a,getAncestors as _0x29fa4c,ObservableMixin as _0xc01041,uid as _0x44c743,createElement as _0x51a047}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x2d7b6f}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0xe505e3,info as _0x58b02e}from'@uploadcare/upload-client';import*as _0x486e4a from'@uploadcare/file-uploader';var i=function(_0x4efacd){return _0x4efacd['Local']='local',_0x4efacd['URL']='url',_0x4efacd['Dropbox']='dropbox',_0x4efacd['GDrive']='gdrive',_0x4efacd['Facebook']='facebook',_0x4efacd['GPhotos']='gphotos',_0x4efacd['OneDrive']='onedrive',_0x4efacd;}({});function _(_0x24c260,_0x19c457,_0x362e3f){const t=_0x24c260['t'],_0x5c690e=_0x24c260['t'];switch(_0x19c457){case i['Local']:return{'text':_0x5c690e('Insert'===_0x362e3f?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x5c690e('From\x20computer')};case i['URL']:return{'text':'Insert'===_0x362e3f?_0x5c690e('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x5c690e('Via\x20URL')};case i['Dropbox']:return{'text':t('Insert'===_0x362e3f?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case i['Facebook']:return{'text':t('Insert'===_0x362e3f?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case i['GDrive']:return{'text':t('Insert'===_0x362e3f?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case i['GPhotos']:return{'text':t('Insert'===_0x362e3f?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case i['OneDrive']:return{'text':t('Insert'===_0x362e3f?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x19c457;}}class e extends _0x47677f{['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 _0x3fdc33=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x1e6685;for(const _0x5c9717 in _0x3fdc33){const _0xf15101=_0x5c9717,_0x1a71ea=_0x3fdc33[_0xf15101];if('uploadcareLicenseKeyValid'==_0x1a71ea||'uploadcareLicenseKeyInvalid'==_0x1a71ea||'uploadcareLicenseKeyExpired'==_0x1a71ea||'uploadcareLicenseKeyDomainLimit'==_0x1a71ea||'uploadcareLicenseKeyNotAllowed'==_0x1a71ea||'uploadcareLicenseKeyEvaluationLimit'==_0x1a71ea||'uploadcareLicenseKeyTrialLimit'==_0x1a71ea||'uploadcareLicenseKeyUsageLimit'==_0x1a71ea){delete _0x3fdc33[_0xf15101],_0x1e6685=_0x1a71ea,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x1e6685&&_0x3fdc33['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x1e6685&&_0x3fdc33['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x1e6685&&_0x3fdc33['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x1e6685&&_0x3fdc33['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x1e6685&&_0x3fdc33['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0x1e6685&&_0x3fdc33['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0x1e6685&&_0x3fdc33['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x5857eb}=this,_0x5160a6=_0x5857eb['commands']['get']('uploadcare');if(!_0x5160a6)return;const _0x405655=this['_normalizeConfigSourceList'](_0x5857eb['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0xdef213,_0x16b0fc)=>{const _0x26816a=this['_getIntegrationKey'](_0x16b0fc['type']);return _0xdef213[_0x26816a]||(_0xdef213[_0x26816a]=[]),_0xdef213[_0x26816a]['push'](_0x16b0fc),_0xdef213;},{});_0x5857eb['plugins']['has']('ImageInsertUI')&&_0x5857eb['commands']['get']('uploadcare')&&Object['entries'](_0x405655)['forEach'](([_0x216ca1,_0x512f3e])=>{_0x5857eb['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x216ca1,'observable':()=>_0x5160a6,'buttonViewCreator':()=>this['_createToolbarButton'](_0x512f3e),'formViewCreator':()=>this['_createDropdownButtons'](_0x512f3e),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x512f3e),'override':'assetManager'!==_0x216ca1});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x4217c1){const {locale:_0x2119dc}=this['editor'];return _0x4217c1['map'](_0xbf695d=>{const _0x37a211=_(_0x2119dc,_0xbf695d,'Insert');switch(_0xbf695d){case i['Local']:return{'icon':_0x1d24ab,'type':i['Local'],..._0x37a211};case i['URL']:return{'icon':_0x4a1f55,'type':i['URL'],..._0x37a211};case i['Dropbox']:return{'icon':_0x3ff723,'type':i['Dropbox'],..._0x37a211};case i['Facebook']:return{'icon':_0x11223c,'type':i['Facebook'],..._0x37a211};case i['GDrive']:return{'icon':_0x43c613,'type':i['GDrive'],..._0x37a211};case i['GPhotos']:return{'icon':_0x175904,'type':i['GPhotos'],..._0x37a211};case i['OneDrive']:return{'icon':_0x57ad23,'type':i['OneDrive'],..._0x37a211};}});}['_getIntegrationKey'](_0x9f5bfd){switch(_0x9f5bfd){case i['Local']:return'upload';case i['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x3f2a03,_0x432538){const _0x278425=this['editor'],_0xa39b11=new _0x3f2a03(_0x278425['locale']),_0x3c2b4e=_0x278425['commands']['get']('uploadcare');return _0xa39b11['bind']('isEnabled')['to'](_0x3c2b4e),_0xa39b11['on']('execute',()=>{_0x3c2b4e['execute'](_0x432538);}),_0xa39b11;}['_createToolbarButton'](_0x510cb3){const {locale:_0x8db50b}=this['editor'],_0x3b36ba=this['editor']['plugins']['get']('ImageInsertUI'),_0xdb4db1=_0x510cb3[0x0],_0x568c52=this['_createButton'](_0x4bd808,_0xdb4db1['type']);return _0x568c52['icon']=_0xdb4db1['icon'],_0x568c52['bind']('label')['to'](_0x3b36ba,'isImageSelected',_0x12e78d=>_(_0x8db50b,_0xdb4db1['type'],_0x12e78d?'Replace':'Insert')['text']),_0x568c52['tooltip']=!0x0,_0x568c52;}['_createDropdownButtons'](_0x3127b0){const {locale:_0x2ad465}=this['editor'],_0x43da1f=this['editor']['plugins']['get']('ImageInsertUI');return _0x3127b0['map'](_0x569afb=>{const _0x5d2d61=this['_createButton'](_0x4bd808,_0x569afb['type']);return _0x5d2d61['withText']=!0x0,_0x5d2d61['icon']=_0x569afb['icon'],_0x5d2d61['bind']('label')['to'](_0x43da1f,'isImageSelected',_0x13b8cc=>_(_0x2ad465,_0x569afb['type'],_0x13b8cc?'Replace':'Insert')['text']),_0x5d2d61;});}['_createMenuBarButtons'](_0x397ca7){return _0x397ca7['map'](_0x47df3b=>{const _0x27588a=this['_createButton'](_0x5a704f,_0x47df3b['type']);return _0x27588a['icon']=_0x47df3b['icon'],_0x27588a['label']=_0x47df3b['shortText'],_0x27588a;});}}class F extends _0xf79a67{['focusTracker'];['focusCycler'];constructor(_0x81f8c0){super(_0x81f8c0),this['focusTracker']=new _0x14ef31(),this['focusCycler']=new _0x43173({'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(_0x224257,_0x122fa3){super(_0x224257),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-'+_0x122fa3}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function C(_0x5cbd95,_0x49a58b){const _0x7a6514=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x17c364=>_0x17c364<=_0x49a58b)['map'](_0x343c4b=>_0x5cbd95['replace'](/\/$/,'')+'/-/resize/'+_0x343c4b+'x/\x20'+_0x343c4b+'w');return{'imageFallbackUrl':_0x5cbd95,'imageSources':[{'srcset':_0x7a6514['join'](',\x20'),'sizes':'(max-width:\x20'+_0x49a58b+'px)\x20100vw,\x20'+_0x49a58b+'px','type':'image/webp'}]};}function S(_0x82198,_0x35211c,_0x366de3){const _0x4d265c=_0x82198['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x4d265c?parseInt(_0x4d265c[0x1],0xa):_0x35211c,'height':_0x4d265c?parseInt(_0x4d265c[0x2],0xa):_0x366de3};}function p(_0x1366a5,_0x34fbed){const _0x19d348=new(_0x212838())(),_0x43e786=_0x1366a5['plugins']['get']('ImageUtils'),_0x1cea71=_0x1366a5['editing']['mapper']['toViewElement'](_0x34fbed),_0x290de5=_0x43e786['findViewImgElement'](_0x1cea71),_0x490e6e=_0x1366a5['editing']['view']['domConverter']['viewToDom'](_0x290de5),_0xb3804b=_0x34fbed['getAttribute']('width'),_0x2d1523=_0x34fbed['getAttribute']('height'),_0x14503b='image-processing';_0x1366a5['editing']['view']['change'](_0x5e3c39=>{_0x5e3c39['addClass'](_0x14503b,_0x1cea71),_0x5e3c39['setStyle']('aspect-ratio',_0xb3804b+'/'+_0x2d1523,_0x290de5);}),_0x19d348['listenTo'](_0x490e6e,'load',()=>{_0x19d348['stopListening'](_0x490e6e,'load'),_0x1366a5['editing']['view']['change'](_0x53922c=>{_0x53922c['removeClass'](_0x14503b,_0x1cea71),_0x53922c['removeStyle']('aspect-ratio',_0x290de5);});});}function z(_0x1efa5c){if(Array['isArray'](_0x1efa5c)){const _0x5558ca=_0x1efa5c['map'](z);return _0x48263d=>_0x5558ca['some'](_0x5314df=>_0x5314df(_0x48263d));}if('origin'==_0x1efa5c){const _0x56d837=_0x1d624a['window']['location']['origin'];return _0x5a979b=>new URL(_0x5a979b,_0x1d624a['document']['baseURI'])['origin']==_0x56d837;}return'function'==typeof _0x1efa5c?_0x1efa5c:_0x1efa5c instanceof RegExp?_0x5e4c55=>!(!_0x5e4c55['match'](_0x1efa5c)&&!_0x5e4c55['replace'](/^https?:\/\//,'')['match'](_0x1efa5c)):()=>!0x1;}function A(_0x5768ab,_0x491b2){return _0x29fa4c(_0x5768ab['target'])['includes'](_0x491b2);}class n extends/* #__PURE__ -- @preserve */
24
+ _0xc01041(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x351d23,_0x264df3,_0x18e35c){super(),this['_editor']=_0x351d23,this['_editing']=_0x264df3,this['_dialog']=_0x351d23['plugins']['get'](_0x2a7e1a),this['_api']=_0x264df3['ctxElement']['getAPI'](),this['_type']=_0x18e35c,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:_0x2ae471,model:_0x4349cc}=this['_editor'],_0xc40d0e=_0x4349cc['document']['selection']['getSelectedElement'](),_0x57a72c=_0xc40d0e&&(_0xc40d0e['is']('element','imageBlock')||_0xc40d0e['is']('element','imageInline'));this['_formView']=new x(_0x2ae471,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':_0x1d24ab,'title':_(_0x2ae471,this['_type'],_0x57a72c?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x5006c0['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x59ca93=>!A(_0x59ca93,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x4392e9}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x47648e=>{const _0x30d49f=_0x4392e9['length'];for(const _0x4a7308 of _0x4392e9){const _0x554242=_0x4a7308===_0x4392e9[_0x30d49f-0x1],{cdnUrl:_0x19b604,fileInfo:_0x1abb6d}=_0x4a7308;if(!_0x19b604||!_0x1abb6d)continue;const {width:_0x130a42,height:_0x1db58}=_0x1abb6d['imageInfo'],_0xb12832=S(_0x19b604,_0x130a42,_0x1db58),_0xcc596c=C(_0x19b604,_0xb12832['width']),_0x236ee6={'id':_0x1abb6d['uuid'],'type':'image','attributes':{'imageDimension':_0xb12832,..._0xcc596c}};this['_insertAsset'](_0x236ee6,_0x554242,_0x47648e);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x30132c=>{'idle'===_0x30132c['detail']['status']&&!_0x30132c['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===i['Local']?this['_api']['setCurrentActivity'](i['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0xe097ac,_0x4c0e81,_0x46c292){const _0x55c50e=this['_editor']['model']['document']['selection'],_0x1dee20=_0x55c50e['getSelectedElement'](),_0x78de8e=!(!_0x1dee20||!_0x1dee20['is']('element','imageInline'));_0x46c292['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0xe097ac,_0x78de8e),_0x4c0e81||_0x46c292['setSelection'](_0x55c50e['getLastPosition']());}['_insertImage'](_0x29be69,_0x5d35a2){const _0x14b523=this['_editor'],{imageDimension:_0x431608,imageFallbackUrl:_0x454748,imageSources:_0x4cbf2b}=_0x29be69['attributes'];_0x14b523['execute']('insertImage',{'imageType':_0x5d35a2?'imageInline':null,'source':{'uploadcareImageId':_0x29be69['id'],'src':_0x454748,'sources':_0x4cbf2b,..._0x431608}});}}class w extends _0x557747{['_editing'];['_controller']=null;static get['requires'](){return[_0x2a7e1a,o];}constructor(_0x54f996){super(_0x54f996),this['_editing']=_0x54f996['plugins']['get'](o);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x10c580){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new n(this['editor'],this['_editing'],_0x10c580);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class j{static['upload']({file:_0xfc7d94,..._0x3ae5c1}){return _0xe505e3(_0xfc7d94,_0x3ae5c1);}static['getInfo'](_0x49ac86,_0xdc06d5){return _0x58b02e(_0x49ac86,_0xdc06d5);}}class f extends _0x47677f{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x2d7b6f,o];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x16d5bb=this['editor'];if(!!!_0x16d5bb['config']['get']('uploadcare'))return;_0x16d5bb['plugins']['get'](_0x2d7b6f)['createUploadAdapter']=_0xde5137=>new k(_0xde5137,_0x16d5bb),_0x16d5bb['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x4c9cc2,{imageElement:_0x103c5c,data:_0x497949})=>{_0x16d5bb['model']['change'](_0x1a5d6b=>{_0x1a5d6b['setAttribute']('uploadcareImageId',_0x497949['uploadcareImageId'],_0x103c5c);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x2f6a68,_0x58e187){this['loader']=_0x2f6a68,this['editor']=_0x58e187,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x2440fb=await this['loader']['file'];return j['upload']({'file':_0x2440fb,'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':_0xe1d277=>{_0xe1d277&&_0xe1d277['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0xe1d277['value']);}})['then'](async _0x2cc1da=>{const {imageFallbackUrl:_0x1a225c,imageSources:_0x5763e7}=C(_0x2cc1da['cdnUrl'],_0x2cc1da['imageInfo']['width']);return{'uploadcareImageId':_0x2cc1da['uuid'],'default':_0x1a225c,'sources':_0x5763e7};})['catch'](()=>{const _0x28e923=t('Cannot\x20upload\x20file:')+('\x20'+_0x2440fb['name']+'.');return Promise['reject'](_0x28e923);});}['abort'](){this['controller']['abort']();}}class o extends _0x47677f{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',f,_0x2a7e1a];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['ucContextId'];get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}constructor(_0x5526ee){super(_0x5526ee),this['ucContextId']=_0x44c743();}['init'](){const _0x1e8dab=this['editor'];_0x1e8dab['commands']['add']('uploadcare',new w(_0x1e8dab));}['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 _0x3c526f=_0x1d624a['document']['querySelector']('input[uploadcare-file-input]');_0x3c526f&&_0x3c526f['remove']();}),async function(_0x13be50){const _0x464613=_0x355351([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]),_0x5d5453=0x535f8c3a,_0x2b7085=0x5358f4ba^_0x5d5453,_0x282d41=window[_0x355351([0x44,0x61,0x74,0x65])][_0x355351([0x6e,0x6f,0x77])](),_0x2d8535=_0x13be50[_0x355351([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x57d4c6=new window[(_0x355351([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2ffc5c=>{_0x2d8535[_0x355351([0x6f,0x6e,0x63,0x65])](_0x355351([0x72,0x65,0x61,0x64,0x79]),_0x2ffc5c);}),_0x11ea98={[_0x355351([0x6b,0x74,0x79])]:_0x355351([0x45,0x43]),[_0x355351([0x75,0x73,0x65])]:_0x355351([0x73,0x69,0x67]),[_0x355351([0x63,0x72,0x76])]:_0x355351([0x50,0x2d,0x32,0x35,0x36]),[_0x355351([0x78])]:_0x355351([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]),[_0x355351([0x79])]:_0x355351([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]),[_0x355351([0x61,0x6c,0x67])]:_0x355351([0x45,0x53,0x32,0x35,0x36])},_0x405fa9=_0x2d8535[_0x355351([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x355351([0x67,0x65,0x74])](_0x355351([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x2067c3(){let _0x3d8ff2,_0x1f51de=null,_0x15765a=null;try{if(_0x405fa9==_0x355351([0x47,0x50,0x4c]))return _0x355351([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3d8ff2=_0x4c922e(),!_0x3d8ff2)return _0x355351([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x3d8ff2[_0x355351([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x15765a=_0x287ae3(_0x3d8ff2[_0x355351([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3d8ff2[_0x355351([0x6a,0x74,0x69])])),await _0x2d67e4()?_0x3324d2()?_0x53b3c2()?_0x355351([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x27e20c()?(_0x3d8ff2[_0x355351([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x355351([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1f51de=_0x1f0e8b(_0x355351([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x3d8ff2[_0x355351([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x355351([0x74,0x72,0x69,0x61,0x6c])&&(_0x1f51de=_0x1f0e8b(_0x355351([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x2d9c10()):_0x355351([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x355351([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x355351([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x355351([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x53b3c2(){const _0x2ac231=[_0x355351([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x355351([0x74,0x72,0x69,0x61,0x6c])][_0x355351([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3d8ff2[_0x355351([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x282d41/0x3e8:0xe10*_0x2b7085;return _0x3d8ff2[_0x355351([0x65,0x78,0x70])]<_0x2ac231;}function _0x3324d2(){const _0x5cb4fb=_0x3d8ff2[_0x355351([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x5cb4fb&&(!!_0x5cb4fb[_0x355351([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x355351([0x2a]))||!!_0x5cb4fb[_0x355351([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x355351([0x55,0x50,0x4c,0x43])));}function _0x27e20c(){const _0x260bda=_0x3d8ff2[_0x355351([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x260bda||0x0==_0x260bda[_0x355351([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x2a7d34}=new URL(window[_0x355351([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x260bda[_0x355351([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2a7d34))return!0x0;const _0x392b5f=_0x2a7d34[_0x355351([0x73,0x70,0x6c,0x69,0x74])](_0x355351([0x2e]));return _0x260bda[_0x355351([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3b016d=>_0x3b016d[_0x355351([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x355351([0x2a])))[_0x355351([0x6d,0x61,0x70])](_0x27a783=>_0x27a783[_0x355351([0x73,0x70,0x6c,0x69,0x74])](_0x355351([0x2e])))[_0x355351([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xd92d19=>_0xd92d19[_0x355351([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x392b5f[_0x355351([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x355351([0x6d,0x61,0x70])](_0x5d8b90=>Array(_0x392b5f[_0x355351([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x5d8b90[_0x355351([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x355351([0x66,0x69,0x6c,0x6c])](_0x5d8b90[0x0]===_0x355351([0x2a])?_0x355351([0x2a]):'')[_0x355351([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x5d8b90))[_0x355351([0x73,0x6f,0x6d,0x65])](_0x3e6858=>_0x392b5f[_0x355351([0x65,0x76,0x65,0x72,0x79])]((_0x2a7bc3,_0x40a504)=>_0x3e6858[_0x40a504]===_0x2a7bc3||_0x3e6858[_0x40a504]===_0x355351([0x2a])));}function _0x2d9c10(){return _0x1f51de&&_0x15765a?new window[(_0x355351([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3bccb6,_0x813d1f)=>{_0x1f51de[_0x355351([0x74,0x68,0x65,0x6e])](_0x3bccb6,_0x813d1f),_0x15765a[_0x355351([0x74,0x68,0x65,0x6e])](_0x10a8e5=>{_0x10a8e5!=_0x355351([0x56,0x61,0x6c,0x69,0x64])&&_0x3bccb6(_0x10a8e5);},_0x813d1f);}):_0x1f51de||_0x15765a||_0x355351([0x56,0x61,0x6c,0x69,0x64]);}}function _0x287ae3(_0x102e80,_0x51f00a){return new window[(_0x355351([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x938e32=>{if(_0x2f3deb())return _0x938e32(_0x355351([0x56,0x61,0x6c,0x69,0x64]));_0x1bdf15(),_0x2d8535[_0x355351([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x355351([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x24e0af=!0x1;const _0x3f9d34=_0x44c743();function _0x38a666(_0x475c92){return!!_0x475c92&&(typeof _0x475c92===_0x355351([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x475c92===_0x355351([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x475c92[_0x355351([0x74,0x68,0x65,0x6e])]===_0x355351([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x475c92[_0x355351([0x63,0x61,0x74,0x63,0x68])]===_0x355351([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0xcfdf6f(_0x1f642e){_0x608c6d(_0x1f642e)[_0x355351([0x74,0x68,0x65,0x6e])](_0x3828de=>{if(!_0x3828de||_0x3828de[_0x355351([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x355351([0x6f,0x6b]))return _0x355351([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x105cb7(_0x3b4bef(_0x3f9d34+_0x51f00a))!=_0x3828de[_0x355351([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x355351([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x355351([0x56,0x61,0x6c,0x69,0x64]);})[_0x355351([0x74,0x68,0x65,0x6e])](_0x5dd4b7=>(_0x56e596(),_0x5dd4b7),()=>{const _0x51e2a9=_0xc5af77();return null==_0x51e2a9?(_0x56e596(),_0x355351([0x56,0x61,0x6c,0x69,0x64])):_0x355351(_0x282d41-_0x51e2a9>(0x7753083a^_0x5d5453)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x355351([0x74,0x68,0x65,0x6e])](_0x938e32)[_0x355351([0x63,0x61,0x74,0x63,0x68])](()=>{_0x938e32(_0x355351([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x575974=0x536962ba^_0x5d5453;function _0x56e596(){const _0x43e34c=_0x355351([0x6c,0x6c,0x63,0x74,0x2d])+_0x105cb7(_0x3b4bef(_0x102e80)),_0x4c1df9=_0x5e21ad(_0x105cb7(window[_0x355351([0x4d,0x61,0x74,0x68])][_0x355351([0x63,0x65,0x69,0x6c])](_0x282d41/_0x575974)));window[_0x355351([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x355351([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x43e34c,_0x4c1df9);}function _0xc5af77(){const _0x12f117=_0x355351([0x6c,0x6c,0x63,0x74,0x2d])+_0x105cb7(_0x3b4bef(_0x102e80)),_0x2b4d34=window[_0x355351([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x355351([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x12f117);return _0x2b4d34?window[_0x355351([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5e21ad(_0x2b4d34),0x10)*_0x575974:null;}function _0x608c6d(_0x1f08bd){return new window[(_0x355351([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x18964c,_0x2dec04)=>{_0x1f08bd[_0x355351([0x74,0x68,0x65,0x6e])](_0x18964c,_0x2dec04),window[_0x355351([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2dec04,0x535e58fa^_0x5d5453);});}}_0x2d8535[_0x355351([0x6f,0x6e])](_0x355351([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x374630,_0x2596f4)=>{if(_0x2596f4[0x0]!=_0x102e80)return _0x938e32(_0x355351([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2596f4[0x1]={..._0x2596f4[0x1],[_0x355351([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x3f9d34};},{[_0x355351([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x355351([0x68,0x69,0x67,0x68])}),_0x2d8535[_0x355351([0x6f,0x6e])](_0x355351([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5d9394=>{_0x38a666(_0x5d9394[_0x355351([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x24e0af=!0x0,_0xcfdf6f(_0x5d9394[_0x355351([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x355351([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x355351([0x6c,0x6f,0x77])}),_0x57d4c6[_0x355351([0x74,0x68,0x65,0x6e])](()=>{_0x24e0af||_0x938e32(_0x355351([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2f3deb(){return _0x2d8535[_0x355351([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x355351([0x76,0x69,0x65,0x77])][_0x355351([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x355351([0x61,0x75,0x74,0x6f]);}function _0x1bdf15(){_0x2d8535[_0x355351([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x355351([0x76,0x69,0x65,0x77])][_0x355351([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x355351([0x61,0x75,0x74,0x6f]);}}function _0x1f0e8b(_0x2b2fdf){const _0x2e2892=[new window[(_0x355351([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3fd283=>setTimeout(_0x3fd283,0x5356b2f6^_0x5d5453)),_0x57d4c6[_0x355351([0x74,0x68,0x65,0x6e])](()=>new window[(_0x355351([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1dcb01=>{let _0x580e39=0x0;_0x2d8535[_0x355351([0x6d,0x6f,0x64,0x65,0x6c])][_0x355351([0x6f,0x6e])](_0x355351([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x36e9ab,_0x2ed36b)=>{_0x2ed36b[0x0][_0x355351([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x580e39++,_0x580e39==(0x535f8dc2^_0x5d5453)&&(_0x1dcb01(),_0x36e9ab[_0x355351([0x6f,0x66,0x66])]());});}))];return window[_0x355351([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x355351([0x72,0x61,0x63,0x65])](_0x2e2892)[_0x355351([0x74,0x68,0x65,0x6e])](()=>_0x2b2fdf);}async function _0x45adf3(){await _0x57d4c6,_0x2d8535[_0x355351([0x6d,0x6f,0x64,0x65,0x6c])][_0x355351([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x349011,_0x2d8535[_0x355351([0x6d,0x6f,0x64,0x65,0x6c])][_0x355351([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x349011,_0x2d8535[_0x355351([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x355351([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x2a52c1(_0x536c49){const _0x59936f=_0x5301b1();_0x2d8535[_0x59936f]=_0x355351([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x536c49,_0x536c49!=_0x355351([0x56,0x61,0x6c,0x69,0x64])&&_0x45adf3();}function _0x5301b1(){const _0x4e87aa=window[_0x355351([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x355351([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x355351([0x6e,0x6f,0x77])]())[_0x355351([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x355351([0x2e]),'');let _0x54360c=_0x355351([0x68]);for(let _0x184ad0=0x0;_0x184ad0<_0x4e87aa[_0x355351([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x184ad0+=0x2){let _0x20ce58=window[_0x355351([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4e87aa[_0x355351([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x184ad0,_0x184ad0+0x2));_0x20ce58>=_0x464613[_0x355351([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x20ce58-=_0x464613[_0x355351([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x54360c+=_0x464613[_0x20ce58];}return _0x54360c;}function _0x4c922e(){const _0x4a1368=_0x405fa9[_0x355351([0x73,0x70,0x6c,0x69,0x74])](_0x355351([0x2e]));if(0x3!=_0x4a1368[_0x355351([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x529440(_0x4a1368[0x1]);function _0x529440(_0x44083e){const _0x503fec=_0x53b94e(_0x44083e);return _0x503fec&&_0x5aa2c9()?_0x503fec:null;function _0x5aa2c9(){const _0x1d5cf8=_0x503fec[_0x355351([0x6a,0x74,0x69])],_0x4abfd4=window[_0x355351([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1d5cf8[_0x355351([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1d5cf8[_0x355351([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x32e713={..._0x503fec,[_0x355351([0x6a,0x74,0x69])]:_0x1d5cf8[_0x355351([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1d5cf8[_0x355351([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x32e713[_0x355351([0x76,0x63])],_0x3b4bef(_0x32e713)==_0x4abfd4;}}}async function _0x2d67e4(){let _0x1ac478=!0x0;try{const _0x313222=_0x405fa9[_0x355351([0x73,0x70,0x6c,0x69,0x74])](_0x355351([0x2e])),[_0x4cf784,_0x16b0f3,_0x5581b0]=_0x313222;return _0x24ad25(_0x4cf784),await _0x54c288(_0x4cf784,_0x16b0f3,_0x5581b0),_0x1ac478;}catch{return!0x1;}function _0x24ad25(_0x440865){const _0x275686=_0x53b94e(_0x440865);_0x275686&&_0x275686[_0x355351([0x61,0x6c,0x67])]==_0x355351([0x45,0x53,0x32,0x35,0x36])||(_0x1ac478=!0x1);}async function _0x54c288(_0x3b1002,_0x1e5164,_0x2cab3f){const _0x537d0b=window[_0x355351([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x355351([0x66,0x72,0x6f,0x6d])](_0x34fd77(_0x2cab3f),_0x32a4b7=>_0x32a4b7[_0x355351([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x29bab1=new window[(_0x355351([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x355351([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x3b1002+_0x355351([0x2e])+_0x1e5164),_0x323b31=window[_0x355351([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x355351([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x323b31)return;const _0x32ffe5=await _0x323b31[_0x355351([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x355351([0x6a,0x77,0x6b]),_0x11ea98,{[_0x355351([0x6e,0x61,0x6d,0x65])]:_0x355351([0x45,0x43,0x44,0x53,0x41]),[_0x355351([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x355351([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x355351([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x323b31[_0x355351([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x355351([0x6e,0x61,0x6d,0x65])]:_0x355351([0x45,0x43,0x44,0x53,0x41]),[_0x355351([0x68,0x61,0x73,0x68])]:{[_0x355351([0x6e,0x61,0x6d,0x65])]:_0x355351([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x32ffe5,_0x537d0b,_0x29bab1)||(_0x1ac478=!0x1);}}function _0x53b94e(_0x2ed6c6){return _0x2ed6c6[_0x355351([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x355351([0x65,0x79]))?JSON[_0x355351([0x70,0x61,0x72,0x73,0x65])](_0x34fd77(_0x2ed6c6)):null;}function _0x34fd77(_0x42bcb2){return window[_0x355351([0x61,0x74,0x6f,0x62])](_0x42bcb2[_0x355351([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x355351([0x2b]))[_0x355351([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x355351([0x2f])));}function _0x3b4bef(_0x14c4c5){let _0x1999a0=0x1505;function _0x34a1e1(_0x29e5a4){for(let _0x36253d=0x0;_0x36253d<_0x29e5a4[_0x355351([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x36253d++){const _0x53f437=_0x29e5a4[_0x355351([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x36253d);_0x1999a0=(_0x1999a0<<0x5)+_0x1999a0+_0x53f437,_0x1999a0&=_0x1999a0;}}function _0x4b9814(_0x21ea82){Array[_0x355351([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x21ea82)?_0x21ea82[_0x355351([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4b9814):_0x21ea82&&typeof _0x21ea82==_0x355351([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x355351([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x21ea82)[_0x355351([0x73,0x6f,0x72,0x74])]()[_0x355351([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x409dc5,_0x5a5557])=>{_0x34a1e1(_0x409dc5),_0x4b9814(_0x5a5557);}):_0x34a1e1(window[_0x355351([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x21ea82));}return _0x4b9814(_0x14c4c5),_0x1999a0>>>0x0;}function _0x105cb7(_0x1c54cc){return _0x1c54cc[_0x355351([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x355351([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x355351([0x30]));}function _0x5e21ad(_0x26f5bf){return _0x26f5bf[_0x355351([0x73,0x70,0x6c,0x69,0x74])]('')[_0x355351([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x355351([0x6a,0x6f,0x69,0x6e])]('');}function _0x349011(){}function _0x355351(_0x174fd1){return _0x174fd1['map'](_0xb532f1=>String['fromCharCode'](_0xb532f1))['join']('');}_0x2a52c1(await _0x2067c3());}(this);}['_initSchema'](){const _0x42944e=this['editor']['model']['schema'];_0x42944e['isRegistered']('imageBlock')&&_0x42944e['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x42944e['isRegistered']('imageInline')&&_0x42944e['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x3e2dd3=this['editor'];_0x3e2dd3['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x3e2dd3['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x3a4ee4=>_0x3a4ee4['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x20e8ab=_0x3e2dd3['commands']['get']('replaceImageSource');_0x20e8ab&&this['listenTo'](_0x20e8ab,'cleanupImage',(_0x3d2beb,[_0x12b579,_0x23d7b2])=>{_0x12b579['removeAttribute']('uploadcareImageId',_0x23d7b2);});}['_initConfig'](){const _0x2f2702=this['editor']['config']['get']('uploadcare.uploader')||{},_0x538201=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x51a047(_0x1d624a['document'],'uc-config',{..._0x2f2702,'pubkey':_0x538201,'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']=_0x3afcfa=>{if('closeMax'==_0x3afcfa)return'#uc-icon-arrow-down';},_0x1d624a['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x51a047(_0x1d624a['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),_0x1d624a['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x29b294=this['editor']['commands']['get']('insertImage');_0x29b294&&this['listenTo'](_0x29b294,'execute',()=>{const _0x4c27b=this['editor']['model']['document']['selection']['getSelectedElement']();_0x4c27b&&_0x4c27b['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x4c27b);});});const _0x32eab3=this['editor']['commands']['get']('uploadcareImageReplace');_0x32eab3&&this['listenTo'](_0x32eab3,'execute',()=>{const _0x2fbd12=this['editor']['model']['document']['selection']['getSelectedElement']();_0x2fbd12&&_0x2fbd12['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x2fbd12);});});}}class tt extends _0x47677f{static get['requires'](){return[o,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x34c179){super(_0x34c179),_0x34c179['config']['define']('uploadcare.uploader.sourceList',[i['Local'],i['URL']]),_0x486e4a['defineComponents'](_0x486e4a),this['_defineLocale']();}['_defineLocale'](){const _0x40d62a=this['editor']['config']['get']('uploadcare.locale'),_0x11040a=this['editor']['locale']['contentLanguage'];_0x40d62a&&_0x486e4a['defineLocale'](_0x11040a,_0x40d62a);}}class ii extends _0xf79a67{constructor(_0x306cc8){super(_0x306cc8);const t=_0x306cc8['t'],_0x3448a9=this['bindTemplate'],_0x5413d7=new _0x15f1f0();_0x5413d7['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':[_0x5413d7,{'text':_0x3448a9['to']('imageUploadProgress',_0x1de4b0=>t('Loading\x20image...')+'\x20('+(_0x1de4b0||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 _0xf79a67{constructor(_0x423426){super(_0x423426);const t=_0x423426['t'];this['set']('errorType',null);const _0xc9ebc1=new _0x4bd808(_0x423426);_0xc9ebc1['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0xc9ebc1['withText']=!0x0,_0xc9ebc1['class']='ck-button-action',_0xc9ebc1['on']('execute',()=>{this['fire']('retry');}),_0xc9ebc1['bind']('isVisible')['to'](this,'errorType',_0x5eb724=>'NotFound'!==_0x5eb724);const _0x2dace7=new _0x1c43c7();_0x2dace7['content']=_0x1c126d,_0x2dace7['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0xe1e3e9=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':[_0x2dace7,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0xe1e3e9['to']('errorType',_0x588d96=>t('NotFound'!==_0x588d96?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0xc9ebc1]},{'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 _0xf79a67{constructor(_0x1aa529,_0x46601d){super(_0x1aa529);const _0x51fd69=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x46601d,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x51fd69['to']('imageSrc')}});}}class X extends F{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x5b52d7,_0x5034c2,_0x2ca640){super(_0x5b52d7),this['_items']=this['createCollection'](),this['_loadingView']=new ii(_0x5b52d7),this['_errorView']=new ti(_0x5b52d7),this['_editingView']=new ei(_0x5b52d7,_0x2ca640),this['_focusableView']=new _0xf79a67(_0x5b52d7),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x5034c2),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'],_0x58f370=>{this['_addUploadcareImageEditorListeners'](_0x58f370);});}),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'](_0x1b98f1,_0x294b6b){const _0x15dab4='uc-cloud-image-editor',_0xab3aeb=_0x1b98f1['querySelector'](_0x15dab4);if(_0xab3aeb)return _0x294b6b(_0xab3aeb);const _0x3549cc=new MutationObserver(_0x318cb8=>{const _0x1b633b=_0x318cb8['filter'](_0x53e821=>_0x53e821['target']===_0x1b98f1&&_0x53e821['addedNodes']['length']>0x0&&_0x53e821['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x15dab4);_0x1b633b['length']&&(_0x3549cc['disconnect'](),_0x294b6b(_0x1b633b[0x0]['addedNodes'][0x0]));});_0x3549cc['observe'](_0x1b98f1,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x36f079){_0x36f079['addEventListener']('apply',_0x1d7270=>{this['fire']('apply',{'imageSrc':_0x1d7270['detail']['cdnUrl']});}),_0x36f079['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class N extends/* #__PURE__ -- @preserve */
25
+ _0xc01041(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0xedee8e,_0x3512f1,_0x2d77ba){super(),this['_editor']=_0xedee8e,this['_dialog']=_0x3512f1,this['_imageElement']=_0x2d77ba,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 _0x11e7b6=this['_imageElement'],_0xda01dd=_0x11e7b6['getAttribute']('uploadcareImageId'),_0x4487d8=_0x11e7b6['getAttribute']('src');if(_0xda01dd)await this['_loadImageInfo'](_0xda01dd,_0x4487d8);else{if(this['_imageCache']['has'](_0x4487d8)){const _0x3decf8=this['_imageCache']['get'](_0x4487d8);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x3decf8['url'],this['imageDimension']=_0x3decf8['dimension'],this['imageId']=_0x3decf8['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x31b0fd}=this['_editor'],t=_0x31b0fd['t'],_0x44fb4b=new X(_0x31b0fd,this['imageStatus'],this['_attributes']);_0x44fb4b['bind']('status')['to'](this,'imageStatus'),_0x44fb4b['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x44fb4b['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x44fb4b['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x44fb4b,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x2bff6e,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x44fb4b,'position':_0x5006c0['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x44fb4b['focus']();},'onHide':()=>{_0x44fb4b['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x4d95b6=>!A(_0x4d95b6,_0x44fb4b['element'])}});}['_loadImageInfo'](_0x43e736,_0x1eb1c7){return j['getInfo'](_0x43e736,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x3e7293=>{const {width:_0x49af04,height:_0xaed2cb}=_0x3e7293['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x1eb1c7,this['imageDimension']={'width':_0x49af04,'height':_0xaed2cb},this['imageId']=_0x43e736;})['catch'](_0x3b6857=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x3b6857['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x5b514b,_0x4a333d){return this['_getImageAsFile'](_0x5b514b)['then'](_0x2a3d55=>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':_0x4a333d['signal'],'file':_0x2a3d55,'onProgress':_0x3140c6=>{_0x3140c6&&_0x3140c6['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x3140c6['value']));}}))['then'](_0x376cc8=>{const {width:_0x534139,height:_0x3c0100}=_0x376cc8['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x376cc8['cdnUrl'],this['imageDimension']={'width':_0x534139,'height':_0x3c0100},this['imageId']=_0x376cc8['uuid'],this['imageUploadProgress']=null;const _0xf40fcc=_0x5b514b['getAttribute']('src');this['_imageCache']['set'](_0xf40fcc,{'id':_0x376cc8['uuid'],'url':_0x376cc8['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x3e1991=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x3e1991['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x3c2e82,_0x4dfeb5){_0x3c2e82['on']('apply',(_0x581433,_0xcf5c24)=>{this['_replaceImage'](_0x4dfeb5,_0xcf5c24['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x3c2e82['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x3c2e82['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x95e41d,_0x4e6feb,_0x31f16a){const _0x29a05a=this['_editor'],{width:_0x41ad89,height:_0x2a40b9}=S(_0x4e6feb,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x168beb,imageSources:_0x503974}=C(_0x4e6feb,_0x41ad89);_0x29a05a['model']['change'](_0x2e87a5=>{if('$graveyard'===_0x95e41d['root']['rootName']){_0x29a05a['execute']('insertImage',{'imageType':_0x95e41d['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x95e41d['getAttributes']()),'uploadcareImageId':_0x31f16a,'src':_0x168beb,'sources':_0x503974,'width':_0x41ad89,'height':_0x2a40b9}});const _0x905446=_0x95e41d['getChildren']();_0x95e41d=_0x29a05a['model']['document']['selection']['getSelectedElement']();for(const _0x602029 of _0x905446)_0x2e87a5['append'](_0x2e87a5['cloneElement'](_0x602029),_0x95e41d);}else _0x2e87a5['setSelection'](_0x95e41d,'on'),_0x29a05a['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x95e41d['getAttributes']()),'uploadcareImageId':_0x31f16a,'src':_0x168beb,'sources':_0x503974,'width':_0x41ad89,'height':_0x2a40b9},_0x95e41d);_0x2e87a5['setSelection'](_0x95e41d,'on');});}async['_getImageAsFile'](_0x106bf6){const _0x332ca8=_0x1d624a['window'],_0x4a1577=_0x1d624a['document']['location']['href'],_0x2a60c9=new _0x332ca8['URL'](_0x106bf6['getAttribute']('src'),_0x4a1577);if('data:'===_0x2a60c9['protocol']){const _0x70793e=_0x2a60c9['href']['split'](','),_0x18aa47=_0x70793e[0x0]['match'](/:(.*?);/)[0x1],_0x590756=_0x18aa47['split']('/')[0x1],_0x30020e=_0x332ca8['atob'](_0x70793e[_0x70793e['length']-0x1]);let _0x844ffd=_0x30020e['length'];const _0x35e3ce=new _0x332ca8['Uint8Array'](_0x844ffd);for(;_0x844ffd--;)_0x35e3ce[_0x844ffd]=_0x30020e['charCodeAt'](_0x844ffd);return new _0x332ca8['File']([_0x35e3ce],'image.'+_0x590756,{'type':_0x18aa47});}const _0x89cffb=_0x2a60c9['href']['split']('/'),_0x91129c=_0x89cffb[_0x89cffb['length']-0x1],_0x14053c=_0x91129c['split']('.')[0x1];return _0x332ca8['fetch'](_0x2a60c9['href'])['then'](_0x2773e4=>_0x2773e4['clone']()['blob']())['then'](_0x4aa6fc=>new _0x332ca8['File']([_0x4aa6fc],_0x91129c,{'type':'image/'+_0x14053c}));}}class Q extends _0x557747{['imageEditController'];static get['requires'](){return[_0x2a7e1a];}['_isEditable'];constructor(_0x639054){super(_0x639054),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x4f9c64){const _0x85385e=z(_0x4f9c64);return _0x38de43=>!(!_0x38de43||!_0x38de43['is']('element','imageBlock')&&!_0x38de43['is']('element','imageInline'))&&(!!_0x38de43['hasAttribute']('uploadcareImageId')||!!_0x38de43['hasAttribute']('src')&&_0x85385e(_0x38de43['getAttribute']('src')));}(_0x639054['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x299473=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x299473);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0xc24193=this['editor']['model']['document']['selection']['getSelectedElement']();_0xc24193&&(_0xc24193['is']('element','imageBlock')||_0xc24193['is']('element','imageInline'))&&(this['imageEditController']=new N(this['editor'],this['editor']['plugins']['get'](_0x2a7e1a),_0xc24193),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class V extends _0x557747{['refresh'](){const _0x4313eb=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x4313eb&&(_0x4313eb['is']('element','imageBlock')||_0x4313eb['is']('element','imageInline')));}['execute'](_0x36926a){const _0x15cb5a=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x553e9d=>{_0x553e9d['setAttributes'](_0x36926a,_0x15cb5a),_0x553e9d['removeAttribute']('srcset',_0x15cb5a),_0x553e9d['removeAttribute']('sizes',_0x15cb5a);});}}class m extends _0x47677f{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[o,_0x46fe69,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x49168c}=this;_0x49168c['commands']['add']('uploadcareImageEdit',new Q(_0x49168c)),_0x49168c['commands']['add']('uploadcareImageReplace',new V(_0x49168c));}}class g extends _0x47677f{['_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 _0x39becf=this['editor'];_0x39becf['ui']['componentFactory']['add']('uploadcareImageEdit',_0x1f9b86=>{const _0x19c151=_0x39becf['commands']['get']('uploadcareImageEdit'),_0x2307bc=new _0x4bd808(_0x1f9b86),t=_0x1f9b86['t'];return _0x2307bc['set']({'icon':_0x2bff6e,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x2307bc['bind']('isEnabled')['to'](_0x19c151),_0x2307bc['bind']('isOn')['to'](_0x19c151,'isActive'),this['listenTo'](_0x2307bc,'execute',()=>{_0x39becf['execute']('uploadcareImageEdit'),_0x39becf['editing']['view']['focus']();}),_0x2307bc;}),this['_initConfig']();}['_initConfig'](){const _0xf973d=_0x51a047(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0xf973d),this['listenTo'](this['editor'],'destroy',()=>{_0xf973d['remove']();});}}class et extends _0x47677f{static get['pluginName'](){return'UploadcareImageEdit';}static get['requires'](){return[m,g];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{tt as Uploadcare,w as UploadcareCommand,o as UploadcareEditing,et as UploadcareImageEdit,Q as UploadcareImageEditCommand,m as UploadcareImageEditEditing,g as UploadcareImageEditUI,e as UploadcareUI,f as UploadcareUploadAdapter};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'af':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x241526=>0x1!=_0x241526}};
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':_0x157506=>0x1!=_0x157506}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x2c0ce1=>{const {af:{dictionary:_0xe56e11,getPluralForm:_0x3a0c68}}={'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':_0x550e88=>0x1!=_0x550e88}};_0x2c0ce1['af']||={'dictionary':{},'getPluralForm':null},_0x2c0ce1['af']['dictionary']=Object['assign'](_0x2c0ce1['af']['dictionary'],_0xe56e11),_0x2c0ce1['af']['getPluralForm']=_0x3a0c68;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x2fe5a8=>{const {af:{dictionary:_0x2153c1,getPluralForm:_0x3bc93e}}={'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':_0x54afab=>0x1!=_0x54afab}};_0x2fe5a8['af']||={'dictionary':{},'getPluralForm':null},_0x2fe5a8['af']['dictionary']=Object['assign'](_0x2fe5a8['af']['dictionary'],_0x2153c1),_0x2fe5a8['af']['getPluralForm']=_0x3bc93e;})(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':_0x1d576d=>0x0==_0x1d576d?0x0:0x1==_0x1d576d?0x1:0x2==_0x1d576d?0x2:_0x1d576d%0x64>=0x3&&_0x1d576d%0x64<=0xa?0x3:_0x1d576d%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':_0x32a8f3=>0x0==_0x32a8f3?0x0:0x1==_0x32a8f3?0x1:0x2==_0x32a8f3?0x2:_0x32a8f3%0x64>=0x3&&_0x32a8f3%0x64<=0xa?0x3:_0x32a8f3%0x64>=0xb?0x4:0x5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x43b693=>{const {ar:{dictionary:_0x2c9175,getPluralForm:_0x4f4ade}}={'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':_0x10e239=>0x0==_0x10e239?0x0:0x1==_0x10e239?0x1:0x2==_0x10e239?0x2:_0x10e239%0x64>=0x3&&_0x10e239%0x64<=0xa?0x3:_0x10e239%0x64>=0xb?0x4:0x5}};_0x43b693['ar']||={'dictionary':{},'getPluralForm':null},_0x43b693['ar']['dictionary']=Object['assign'](_0x43b693['ar']['dictionary'],_0x2c9175),_0x43b693['ar']['getPluralForm']=_0x4f4ade;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x102558=>{const {ar:{dictionary:_0x7c5a03,getPluralForm:_0x312243}}={'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':_0x45bc62=>0x0==_0x45bc62?0x0:0x1==_0x45bc62?0x1:0x2==_0x45bc62?0x2:_0x45bc62%0x64>=0x3&&_0x45bc62%0x64<=0xa?0x3:_0x45bc62%0x64>=0xb?0x4:0x5}};_0x102558['ar']||={'dictionary':{},'getPluralForm':null},_0x102558['ar']['dictionary']=Object['assign'](_0x102558['ar']['dictionary'],_0x7c5a03),_0x102558['ar']['getPluralForm']=_0x312243;})(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':_0x2f3461=>0x1!=_0x2f3461}};
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':_0x147dec=>0x1!=_0x147dec}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x47fcce=>{const {ast:{dictionary:_0x13f7a6,getPluralForm:_0x2a9047}}={'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':_0x41c069=>0x1!=_0x41c069}};_0x47fcce['ast']||={'dictionary':{},'getPluralForm':null},_0x47fcce['ast']['dictionary']=Object['assign'](_0x47fcce['ast']['dictionary'],_0x13f7a6),_0x47fcce['ast']['getPluralForm']=_0x2a9047;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x318527=>{const {ast:{dictionary:_0x29e790,getPluralForm:_0x43b885}}={'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':_0x3f3e95=>0x1!=_0x3f3e95}};_0x318527['ast']||={'dictionary':{},'getPluralForm':null},_0x318527['ast']['dictionary']=Object['assign'](_0x318527['ast']['dictionary'],_0x29e790),_0x318527['ast']['getPluralForm']=_0x43b885;})(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':_0xc686e6=>0x1!=_0xc686e6}};
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':_0x5a8f18=>0x1!=_0x5a8f18}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x14c95a=>{const {az:{dictionary:_0x154ae9,getPluralForm:_0x1e855a}}={'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':_0x588643=>0x1!=_0x588643}};_0x14c95a['az']||={'dictionary':{},'getPluralForm':null},_0x14c95a['az']['dictionary']=Object['assign'](_0x14c95a['az']['dictionary'],_0x154ae9),_0x14c95a['az']['getPluralForm']=_0x1e855a;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x8675e1=>{const {az:{dictionary:_0x34108e,getPluralForm:_0x18f944}}={'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':_0x2b3537=>0x1!=_0x2b3537}};_0x8675e1['az']||={'dictionary':{},'getPluralForm':null},_0x8675e1['az']['dictionary']=Object['assign'](_0x8675e1['az']['dictionary'],_0x34108e),_0x8675e1['az']['getPluralForm']=_0x18f944;})(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':_0x35696c=>_0x35696c%0xa==0x1&&_0x35696c%0x64!=0xb?0x0:_0x35696c%0xa>=0x2&&_0x35696c%0xa<=0x4&&(_0x35696c%0x64<0xa||_0x35696c%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':_0x4af444=>_0x4af444%0xa==0x1&&_0x4af444%0x64!=0xb?0x0:_0x4af444%0xa>=0x2&&_0x4af444%0xa<=0x4&&(_0x4af444%0x64<0xa||_0x4af444%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x4508dc=>{const {be:{dictionary:_0x5a90a7,getPluralForm:_0x244a79}}={'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':_0x103e0e=>_0x103e0e%0xa==0x1&&_0x103e0e%0x64!=0xb?0x0:_0x103e0e%0xa>=0x2&&_0x103e0e%0xa<=0x4&&(_0x103e0e%0x64<0xa||_0x103e0e%0x64>=0x14)?0x1:0x2}};_0x4508dc['be']||={'dictionary':{},'getPluralForm':null},_0x4508dc['be']['dictionary']=Object['assign'](_0x4508dc['be']['dictionary'],_0x5a90a7),_0x4508dc['be']['getPluralForm']=_0x244a79;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x1ab4b1=>{const {be:{dictionary:_0xa52d08,getPluralForm:_0x483575}}={'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':_0x1adc7b=>_0x1adc7b%0xa==0x1&&_0x1adc7b%0x64!=0xb?0x0:_0x1adc7b%0xa>=0x2&&_0x1adc7b%0xa<=0x4&&(_0x1adc7b%0x64<0xa||_0x1adc7b%0x64>=0x14)?0x1:0x2}};_0x1ab4b1['be']||={'dictionary':{},'getPluralForm':null},_0x1ab4b1['be']['dictionary']=Object['assign'](_0x1ab4b1['be']['dictionary'],_0xa52d08),_0x1ab4b1['be']['getPluralForm']=_0x483575;})(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':_0x127483=>0x1!=_0x127483}};
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':_0x11ddda=>0x1!=_0x11ddda}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x1a6a70=>{const {bg:{dictionary:_0x11e0a0,getPluralForm:_0x323c1b}}={'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':_0x5d4a23=>0x1!=_0x5d4a23}};_0x1a6a70['bg']||={'dictionary':{},'getPluralForm':null},_0x1a6a70['bg']['dictionary']=Object['assign'](_0x1a6a70['bg']['dictionary'],_0x11e0a0),_0x1a6a70['bg']['getPluralForm']=_0x323c1b;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x782378=>{const {bg:{dictionary:_0x1702ff,getPluralForm:_0x31faf0}}={'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':_0x5581ee=>0x1!=_0x5581ee}};_0x782378['bg']||={'dictionary':{},'getPluralForm':null},_0x782378['bg']['dictionary']=Object['assign'](_0x782378['bg']['dictionary'],_0x1702ff),_0x782378['bg']['getPluralForm']=_0x31faf0;})(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':_0x91cae9=>0x1!=_0x91cae9}};
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':_0x37cdcc=>0x1!=_0x37cdcc}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x5519d7=>{const {bn:{dictionary:_0x3f969a,getPluralForm:_0x15ea6d}}={'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':_0xe634e=>0x1!=_0xe634e}};_0x5519d7['bn']||={'dictionary':{},'getPluralForm':null},_0x5519d7['bn']['dictionary']=Object['assign'](_0x5519d7['bn']['dictionary'],_0x3f969a),_0x5519d7['bn']['getPluralForm']=_0x15ea6d;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x49a909=>{const {bn:{dictionary:_0xffb607,getPluralForm:_0x5ad9ae}}={'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':_0x3e0051=>0x1!=_0x3e0051}};_0x49a909['bn']||={'dictionary':{},'getPluralForm':null},_0x49a909['bn']['dictionary']=Object['assign'](_0x49a909['bn']['dictionary'],_0xffb607),_0x49a909['bn']['getPluralForm']=_0x5ad9ae;})(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':_0x324450=>_0x324450%0xa==0x1&&_0x324450%0x64!=0xb?0x0:_0x324450%0xa>=0x2&&_0x324450%0xa<=0x4&&(_0x324450%0x64<0xa||_0x324450%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':_0x289eed=>_0x289eed%0xa==0x1&&_0x289eed%0x64!=0xb?0x0:_0x289eed%0xa>=0x2&&_0x289eed%0xa<=0x4&&(_0x289eed%0x64<0xa||_0x289eed%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x2debff=>{const {bs:{dictionary:_0x292a9f,getPluralForm:_0x299079}}={'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':_0x1ce198=>_0x1ce198%0xa==0x1&&_0x1ce198%0x64!=0xb?0x0:_0x1ce198%0xa>=0x2&&_0x1ce198%0xa<=0x4&&(_0x1ce198%0x64<0xa||_0x1ce198%0x64>=0x14)?0x1:0x2}};_0x2debff['bs']||={'dictionary':{},'getPluralForm':null},_0x2debff['bs']['dictionary']=Object['assign'](_0x2debff['bs']['dictionary'],_0x292a9f),_0x2debff['bs']['getPluralForm']=_0x299079;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x52a88f=>{const {bs:{dictionary:_0x4e6458,getPluralForm:_0x40524d}}={'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':_0x158d1d=>_0x158d1d%0xa==0x1&&_0x158d1d%0x64!=0xb?0x0:_0x158d1d%0xa>=0x2&&_0x158d1d%0xa<=0x4&&(_0x158d1d%0x64<0xa||_0x158d1d%0x64>=0x14)?0x1:0x2}};_0x52a88f['bs']||={'dictionary':{},'getPluralForm':null},_0x52a88f['bs']['dictionary']=Object['assign'](_0x52a88f['bs']['dictionary'],_0x4e6458),_0x52a88f['bs']['getPluralForm']=_0x40524d;})(window['CKEDITOR_TRANSLATIONS']||={});