@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-20250626.0 → 0.0.0-nightly-20250628.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 _0x5e7e00,Command as _0xa35d86}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x39bbf7,IconGooglePhotos as _0x372ac0,IconGoogleDrive as _0x41d2ef,IconFacebook as _0xe6f4d,IconDropbox as _0x40a2f4,IconUploadcareLink as _0x371e8b,IconUploadcareImageUpload as _0xf18bf2,IconError as _0x18ea75,IconUploadcareImageEdit as _0x2b321f}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0xa01402,MenuBarMenuListItemButtonView as _0x233cdf,View as _0x1e1b02,FocusCycler as _0x2d31ed,Dialog as _0x556bd0,DialogViewPosition as _0x4ad8ae,SpinnerView as _0x41e205,IconView as _0x22c476,Notification as _0xe1e20b}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x1e2444,DomEmitterMixin as _0xc248e3,global as _0x6882ce,getAncestors as _0x31e316,ObservableMixin as _0x3295c9,uid as _0x53d404,createElement as _0x2ed9f6}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x34c783}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x145abf,info as _0x539113}from'@uploadcare/upload-client';import*as _0x147322 from'@uploadcare/file-uploader';var i=function(_0x50e1e8){return _0x50e1e8['Local']='local',_0x50e1e8['URL']='url',_0x50e1e8['Dropbox']='dropbox',_0x50e1e8['GDrive']='gdrive',_0x50e1e8['Facebook']='facebook',_0x50e1e8['GPhotos']='gphotos',_0x50e1e8['OneDrive']='onedrive',_0x50e1e8;}({});function _(_0x567a26,_0x4895f6,_0x30e998){const t=_0x567a26['t'],_0x43d952=_0x567a26['t'];switch(_0x4895f6){case i['Local']:return{'text':_0x43d952('Insert'===_0x30e998?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x43d952('From\x20computer')};case i['URL']:return{'text':'Insert'===_0x30e998?_0x43d952('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x43d952('Via\x20URL')};case i['Dropbox']:return{'text':t('Insert'===_0x30e998?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case i['Facebook']:return{'text':t('Insert'===_0x30e998?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case i['GDrive']:return{'text':t('Insert'===_0x30e998?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case i['GPhotos']:return{'text':t('Insert'===_0x30e998?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case i['OneDrive']:return{'text':t('Insert'===_0x30e998?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x4895f6;}}class e extends _0x5e7e00{['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 _0x52cc6c=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x2e638b;for(const _0x47f1dc in _0x52cc6c){const _0x30ea14=_0x47f1dc,_0x45f3ff=_0x52cc6c[_0x30ea14];if('uploadcareLicenseKeyValid'==_0x45f3ff||'uploadcareLicenseKeyInvalid'==_0x45f3ff||'uploadcareLicenseKeyExpired'==_0x45f3ff||'uploadcareLicenseKeyDomainLimit'==_0x45f3ff||'uploadcareLicenseKeyNotAllowed'==_0x45f3ff||'uploadcareLicenseKeyEvaluationLimit'==_0x45f3ff||'uploadcareLicenseKeyTrialLimit'==_0x45f3ff||'uploadcareLicenseKeyUsageLimit'==_0x45f3ff){delete _0x52cc6c[_0x30ea14],_0x2e638b=_0x45f3ff,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x2e638b&&_0x52cc6c['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x2e638b&&_0x52cc6c['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x2e638b&&_0x52cc6c['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x2e638b&&_0x52cc6c['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x2e638b&&_0x52cc6c['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0x2e638b&&_0x52cc6c['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0x2e638b&&_0x52cc6c['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x1d4e81}=this,_0x19a14b=_0x1d4e81['commands']['get']('uploadcare');if(!_0x19a14b)return;const _0x5b4c57=this['_normalizeConfigSourceList'](_0x1d4e81['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x180f46,_0x5bae0f)=>{const _0x2e0a4f=this['_getIntegrationKey'](_0x5bae0f['type']);return _0x180f46[_0x2e0a4f]||(_0x180f46[_0x2e0a4f]=[]),_0x180f46[_0x2e0a4f]['push'](_0x5bae0f),_0x180f46;},{});_0x1d4e81['plugins']['has']('ImageInsertUI')&&_0x1d4e81['commands']['get']('uploadcare')&&Object['entries'](_0x5b4c57)['forEach'](([_0x523192,_0x229d65])=>{_0x1d4e81['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x523192,'observable':()=>_0x19a14b,'buttonViewCreator':()=>this['_createToolbarButton'](_0x229d65),'formViewCreator':()=>this['_createDropdownButtons'](_0x229d65),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x229d65),'override':'assetManager'!==_0x523192});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0xa482ae){const {locale:_0x3d3da4}=this['editor'];return _0xa482ae['map'](_0x522b1a=>{const _0x27d806=_(_0x3d3da4,_0x522b1a,'Insert');switch(_0x522b1a){case i['Local']:return{'icon':_0xf18bf2,'type':i['Local'],..._0x27d806};case i['URL']:return{'icon':_0x371e8b,'type':i['URL'],..._0x27d806};case i['Dropbox']:return{'icon':_0x40a2f4,'type':i['Dropbox'],..._0x27d806};case i['Facebook']:return{'icon':_0xe6f4d,'type':i['Facebook'],..._0x27d806};case i['GDrive']:return{'icon':_0x41d2ef,'type':i['GDrive'],..._0x27d806};case i['GPhotos']:return{'icon':_0x372ac0,'type':i['GPhotos'],..._0x27d806};case i['OneDrive']:return{'icon':_0x39bbf7,'type':i['OneDrive'],..._0x27d806};}});}['_getIntegrationKey'](_0x22d702){switch(_0x22d702){case i['Local']:return'upload';case i['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x561474,_0x5dd6c8){const _0x349f64=this['editor'],_0x3729c4=new _0x561474(_0x349f64['locale']),_0x41c144=_0x349f64['commands']['get']('uploadcare');return _0x3729c4['bind']('isEnabled')['to'](_0x41c144),_0x3729c4['on']('execute',()=>{_0x41c144['execute'](_0x5dd6c8);}),_0x3729c4;}['_createToolbarButton'](_0xb219b){const {locale:_0xba79b7}=this['editor'],_0x3255cd=this['editor']['plugins']['get']('ImageInsertUI'),_0x43ba71=_0xb219b[0x0],_0x5a0f9d=this['_createButton'](_0xa01402,_0x43ba71['type']);return _0x5a0f9d['icon']=_0x43ba71['icon'],_0x5a0f9d['bind']('label')['to'](_0x3255cd,'isImageSelected',_0x1b9d0e=>_(_0xba79b7,_0x43ba71['type'],_0x1b9d0e?'Replace':'Insert')['text']),_0x5a0f9d['tooltip']=!0x0,_0x5a0f9d;}['_createDropdownButtons'](_0x107821){const {locale:_0x226f16}=this['editor'],_0x2bcf5d=this['editor']['plugins']['get']('ImageInsertUI');return _0x107821['map'](_0x47325a=>{const _0x248a82=this['_createButton'](_0xa01402,_0x47325a['type']);return _0x248a82['withText']=!0x0,_0x248a82['icon']=_0x47325a['icon'],_0x248a82['bind']('label')['to'](_0x2bcf5d,'isImageSelected',_0x29c715=>_(_0x226f16,_0x47325a['type'],_0x29c715?'Replace':'Insert')['text']),_0x248a82;});}['_createMenuBarButtons'](_0x49f18f){return _0x49f18f['map'](_0x55bf7f=>{const _0x36803f=this['_createButton'](_0x233cdf,_0x55bf7f['type']);return _0x36803f['icon']=_0x55bf7f['icon'],_0x36803f['label']=_0x55bf7f['shortText'],_0x36803f;});}}class F extends _0x1e1b02{['focusTracker'];['focusCycler'];constructor(_0x127373){super(_0x127373),this['focusTracker']=new _0x1e2444(),this['focusCycler']=new _0x2d31ed({'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(_0x5ca72d,_0x49a887){super(_0x5ca72d),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-'+_0x49a887}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function k(_0x4638a6,_0x1b80f0){const _0x3f3277=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x162426=>_0x162426<=_0x1b80f0)['map'](_0x2853b7=>_0x4638a6['replace'](/\/$/,'')+'/-/resize/'+_0x2853b7+'x/\x20'+_0x2853b7+'w');return{'imageFallbackUrl':_0x4638a6,'imageSources':[{'srcset':_0x3f3277['join'](',\x20'),'sizes':'(max-width:\x20'+_0x1b80f0+'px)\x20100vw,\x20'+_0x1b80f0+'px','type':'image/webp'}]};}function C(_0x48ba05,_0x2079b5,_0x1bb460){const _0x36eaaa=_0x48ba05['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x36eaaa?parseInt(_0x36eaaa[0x1],0xa):_0x2079b5,'height':_0x36eaaa?parseInt(_0x36eaaa[0x2],0xa):_0x1bb460};}function p(_0x1c219e,_0x4e73bc){const _0xabf469=new(_0xc248e3())(),_0x449f58=_0x1c219e['plugins']['get']('ImageUtils'),_0x493180=_0x1c219e['editing']['mapper']['toViewElement'](_0x4e73bc),_0x5de678=_0x449f58['findViewImgElement'](_0x493180),_0x2fd7f0=_0x1c219e['editing']['view']['domConverter']['viewToDom'](_0x5de678),_0x332e4c=_0x4e73bc['getAttribute']('width'),_0x2d72b0=_0x4e73bc['getAttribute']('height'),_0x416f52='image-processing';_0x1c219e['editing']['view']['change'](_0x3eec0a=>{_0x3eec0a['addClass'](_0x416f52,_0x493180),_0x3eec0a['setStyle']('aspect-ratio',_0x332e4c+'/'+_0x2d72b0,_0x5de678);}),_0xabf469['listenTo'](_0x2fd7f0,'load',()=>{_0xabf469['stopListening'](_0x2fd7f0,'load'),_0x1c219e['editing']['view']['change'](_0xf190e=>{_0xf190e['removeClass'](_0x416f52,_0x493180),_0xf190e['removeStyle']('aspect-ratio',_0x5de678);});});}function G(_0x558e53){if(Array['isArray'](_0x558e53)){const _0x5f2180=_0x558e53['map'](G);return _0x811355=>_0x5f2180['some'](_0x1381f7=>_0x1381f7(_0x811355));}if('origin'==_0x558e53){const _0x1089a5=_0x6882ce['window']['location']['origin'];return _0x48a4f2=>new URL(_0x48a4f2,_0x6882ce['document']['baseURI'])['origin']==_0x1089a5;}return'function'==typeof _0x558e53?_0x558e53:_0x558e53 instanceof RegExp?_0x37ab7e=>!(!_0x37ab7e['match'](_0x558e53)&&!_0x37ab7e['replace'](/^https?:\/\//,'')['match'](_0x558e53)):()=>!0x1;}function S(_0x3f4913,_0x3a8259){return _0x31e316(_0x3f4913['target'])['includes'](_0x3a8259);}class n extends/* #__PURE__ -- @preserve */
24
- _0x3295c9(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x5a47de,_0x2d2b67,_0x16a207){super(),this['_editor']=_0x5a47de,this['_editing']=_0x2d2b67,this['_dialog']=_0x5a47de['plugins']['get'](_0x556bd0),this['_api']=_0x2d2b67['ctxElement']['getAPI'](),this['_type']=_0x16a207,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:_0x3936d0,model:_0x84d63f}=this['_editor'],_0x5db9e7=_0x84d63f['document']['selection']['getSelectedElement'](),_0x66d8e2=_0x5db9e7&&(_0x5db9e7['is']('element','imageBlock')||_0x5db9e7['is']('element','imageInline'));this['_formView']=new x(_0x3936d0,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':_0xf18bf2,'title':_(_0x3936d0,this['_type'],_0x66d8e2?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x4ad8ae['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x1731a1=>!S(_0x1731a1,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x489981}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x342152=>{const _0x2cd402=_0x489981['length'];for(const _0x2cdbdc of _0x489981){const _0x5aaa3f=_0x2cdbdc===_0x489981[_0x2cd402-0x1],{cdnUrl:_0x3bed9b,fileInfo:_0x444b7c}=_0x2cdbdc;if(!_0x3bed9b||!_0x444b7c)continue;const {width:_0x3e7f96,height:_0x299732}=_0x444b7c['imageInfo'],_0x50cb01=C(_0x3bed9b,_0x3e7f96,_0x299732),_0x39ae6c=k(_0x3bed9b,_0x50cb01['width']),_0x2ce08d={'id':_0x444b7c['uuid'],'type':'image','attributes':{'imageDimension':_0x50cb01,..._0x39ae6c}};this['_insertAsset'](_0x2ce08d,_0x5aaa3f,_0x342152);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x11171f=>{'idle'===_0x11171f['detail']['status']&&!_0x11171f['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===i['Local']?this['_api']['setCurrentActivity'](i['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x13af67,_0x28a182,_0x432d08){const _0x324198=this['_editor']['model']['document']['selection'],_0x41cd89=_0x324198['getSelectedElement'](),_0x5171f9=!(!_0x41cd89||!_0x41cd89['is']('element','imageInline'));_0x432d08['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x13af67,_0x5171f9),_0x28a182||_0x432d08['setSelection'](_0x324198['getLastPosition']());}['_insertImage'](_0x463c40,_0x45a385){const _0x27ce92=this['_editor'],{imageDimension:_0x2f1f94,imageFallbackUrl:_0x5152ca,imageSources:_0xa6155c}=_0x463c40['attributes'];_0x27ce92['execute']('insertImage',{'imageType':_0x45a385?'imageInline':null,'source':{'uploadcareImageId':_0x463c40['id'],'src':_0x5152ca,'sources':_0xa6155c,..._0x2f1f94}});}}class w extends _0xa35d86{['_editing'];['_controller']=null;static get['requires'](){return[_0x556bd0,o];}constructor(_0xb97670){super(_0xb97670),this['_editing']=_0xb97670['plugins']['get'](o);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x1c7c5e){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new n(this['editor'],this['_editing'],_0x1c7c5e);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class j{static['upload']({file:_0x5c9af9,publicKey:_0x29e059,signal:_0x3ce47c,onProgress:_0x3638f1}){return _0x145abf(_0x5c9af9,{'publicKey':_0x29e059,'store':'auto','signal':_0x3ce47c,'onProgress':_0x3638f1});}static['getInfo'](_0x15f4a1,_0x2554d1){return _0x539113(_0x15f4a1,_0x2554d1);}}class f extends _0x5e7e00{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x34c783,o];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x11ee8b=this['editor'];if(!!!_0x11ee8b['config']['get']('uploadcare'))return;_0x11ee8b['plugins']['get'](_0x34c783)['createUploadAdapter']=_0x5f5940=>new A(_0x5f5940,_0x11ee8b),_0x11ee8b['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x2ce61a,{imageElement:_0x87d934,data:_0x5b63ff})=>{_0x11ee8b['model']['change'](_0xc7e77c=>{_0xc7e77c['setAttribute']('uploadcareImageId',_0x5b63ff['uploadcareImageId'],_0x87d934);});});}}class A{['loader'];['editor'];['controller'];constructor(_0x17b130,_0x26f237){this['loader']=_0x17b130,this['editor']=_0x26f237,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0xad9401=this['editor']['config']['get']('uploadcare.pubkey'),_0x190f17=await this['loader']['file'];return j['upload']({'file':_0x190f17,'publicKey':_0xad9401,'signal':this['controller']['signal'],'onProgress':_0x398c25=>{_0x398c25&&_0x398c25['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x398c25['value']);}})['then'](async _0x4a4d5a=>{const {imageFallbackUrl:_0x2e786c,imageSources:_0x73ac98}=k(_0x4a4d5a['cdnUrl'],_0x4a4d5a['imageInfo']['width']);return{'uploadcareImageId':_0x4a4d5a['uuid'],'default':_0x2e786c,'sources':_0x73ac98};})['catch'](()=>{const _0x863c89=t('Cannot\x20upload\x20file:')+('\x20'+_0x190f17['name']+'.');return Promise['reject'](_0x863c89);});}['abort'](){this['controller']['abort']();}}class o extends _0x5e7e00{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',f,_0x556bd0];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['ucContextId'];get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}constructor(_0x17cf1a){super(_0x17cf1a),this['ucContextId']=_0x53d404();}['init'](){const _0x57d3a7=this['editor'];_0x57d3a7['commands']['add']('uploadcare',new w(_0x57d3a7));}['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 _0x3ad516=_0x6882ce['document']['querySelector']('input[uploadcare-file-input]');_0x3ad516&&_0x3ad516['remove']();}),async function(_0x4eb0fc){const _0x320da4=_0x9690a4([0x4c,0x6d,0x56,0x69,0x54,0x44,0x74,0x68,0x6b,0x30,0x5a,0x43,0x4d,0x49,0x72,0x4e,0x71,0x79,0x32,0x47,0x51,0x48,0x64,0x7a,0x53,0x59,0x6c,0x62,0x6e,0x50,0x57,0x35,0x77,0x31,0x6a,0x39,0x58,0x65,0x36,0x76,0x41,0x34,0x33,0x61,0x73,0x70,0x63,0x4a,0x4f,0x4b,0x66,0x67,0x52,0x46,0x55,0x45,0x75,0x6f,0x38,0x42,0x78,0x37]),_0x185edf=0x34c1e6a1,_0x275484=0x34c68d79^_0x185edf,_0x544712=window[_0x9690a4([0x44,0x61,0x74,0x65])][_0x9690a4([0x6e,0x6f,0x77])](),_0x25d87e=_0x4eb0fc[_0x9690a4([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x396414=new window[(_0x9690a4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x42fab8=>{_0x25d87e[_0x9690a4([0x6f,0x6e,0x63,0x65])](_0x9690a4([0x72,0x65,0x61,0x64,0x79]),_0x42fab8);}),_0x27a049={[_0x9690a4([0x6b,0x74,0x79])]:_0x9690a4([0x45,0x43]),[_0x9690a4([0x75,0x73,0x65])]:_0x9690a4([0x73,0x69,0x67]),[_0x9690a4([0x63,0x72,0x76])]:_0x9690a4([0x50,0x2d,0x32,0x35,0x36]),[_0x9690a4([0x78])]:_0x9690a4([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]),[_0x9690a4([0x79])]:_0x9690a4([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]),[_0x9690a4([0x61,0x6c,0x67])]:_0x9690a4([0x45,0x53,0x32,0x35,0x36])},_0x585017=_0x25d87e[_0x9690a4([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x9690a4([0x67,0x65,0x74])](_0x9690a4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x43f558(){let _0x25d78f,_0x495cd3=null,_0x578c27=null;try{if(_0x585017==_0x9690a4([0x47,0x50,0x4c]))return _0x9690a4([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x25d78f=_0x4596d3(),!_0x25d78f)return _0x9690a4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x25d78f[_0x9690a4([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x578c27=_0x2aff42(_0x25d78f[_0x9690a4([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x25d78f[_0x9690a4([0x6a,0x74,0x69])])),await _0x203abc()?_0xc22d90()?_0x41a0f1()?_0x9690a4([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x112a07()?(_0x25d78f[_0x9690a4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x9690a4([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x495cd3=_0x43a2bb(_0x9690a4([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x25d78f[_0x9690a4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x9690a4([0x74,0x72,0x69,0x61,0x6c])&&(_0x495cd3=_0x43a2bb(_0x9690a4([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x184ed0()):_0x9690a4([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x9690a4([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x9690a4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x9690a4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x41a0f1(){const _0x3c5c33=[_0x9690a4([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x9690a4([0x74,0x72,0x69,0x61,0x6c])][_0x9690a4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x25d78f[_0x9690a4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x544712/0x3e8:0xe10*_0x275484;return _0x25d78f[_0x9690a4([0x65,0x78,0x70])]<_0x3c5c33;}function _0xc22d90(){const _0x1730c7=_0x25d78f[_0x9690a4([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x1730c7&&(!!_0x1730c7[_0x9690a4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x9690a4([0x2a]))||!!_0x1730c7[_0x9690a4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x9690a4([0x55,0x50,0x4c,0x43])));}function _0x112a07(){const _0x52860d=_0x25d78f[_0x9690a4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x52860d||0x0==_0x52860d[_0x9690a4([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0xbf5909}=new URL(window[_0x9690a4([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x52860d[_0x9690a4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xbf5909))return!0x0;const _0x19ceec=_0xbf5909[_0x9690a4([0x73,0x70,0x6c,0x69,0x74])](_0x9690a4([0x2e]));return _0x52860d[_0x9690a4([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5316e5=>_0x5316e5[_0x9690a4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x9690a4([0x2a])))[_0x9690a4([0x6d,0x61,0x70])](_0x4d5214=>_0x4d5214[_0x9690a4([0x73,0x70,0x6c,0x69,0x74])](_0x9690a4([0x2e])))[_0x9690a4([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3b62ee=>_0x3b62ee[_0x9690a4([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x19ceec[_0x9690a4([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x9690a4([0x6d,0x61,0x70])](_0x210c86=>Array(_0x19ceec[_0x9690a4([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x210c86[_0x9690a4([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x9690a4([0x66,0x69,0x6c,0x6c])](_0x210c86[0x0]===_0x9690a4([0x2a])?_0x9690a4([0x2a]):'')[_0x9690a4([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x210c86))[_0x9690a4([0x73,0x6f,0x6d,0x65])](_0x7e43c8=>_0x19ceec[_0x9690a4([0x65,0x76,0x65,0x72,0x79])]((_0x5ca20e,_0x3821a2)=>_0x7e43c8[_0x3821a2]===_0x5ca20e||_0x7e43c8[_0x3821a2]===_0x9690a4([0x2a])));}function _0x184ed0(){return _0x495cd3&&_0x578c27?new window[(_0x9690a4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3c55be,_0x4dd982)=>{_0x495cd3[_0x9690a4([0x74,0x68,0x65,0x6e])](_0x3c55be,_0x4dd982),_0x578c27[_0x9690a4([0x74,0x68,0x65,0x6e])](_0x4cb1d4=>{_0x4cb1d4!=_0x9690a4([0x56,0x61,0x6c,0x69,0x64])&&_0x3c55be(_0x4cb1d4);},_0x4dd982);}):_0x495cd3||_0x578c27||_0x9690a4([0x56,0x61,0x6c,0x69,0x64]);}}function _0x2aff42(_0x16020c,_0x413d35){return new window[(_0x9690a4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4186ee=>{if(_0x3aad71())return _0x4186ee(_0x9690a4([0x56,0x61,0x6c,0x69,0x64]));_0x55d29e(),_0x25d87e[_0x9690a4([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x9690a4([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x242ed5=!0x1;const _0x3b9611=_0x53d404();function _0x1d7827(_0x22553e){return!!_0x22553e&&(typeof _0x22553e===_0x9690a4([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x22553e===_0x9690a4([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x22553e[_0x9690a4([0x74,0x68,0x65,0x6e])]===_0x9690a4([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x22553e[_0x9690a4([0x63,0x61,0x74,0x63,0x68])]===_0x9690a4([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x28fb51(_0x3f40d3){_0x2a95da(_0x3f40d3)[_0x9690a4([0x74,0x68,0x65,0x6e])](_0x541b8b=>{if(!_0x541b8b||_0x541b8b[_0x9690a4([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x9690a4([0x6f,0x6b]))return _0x9690a4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x4a5168(_0x29bc26(_0x3b9611+_0x413d35))!=_0x541b8b[_0x9690a4([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x9690a4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x9690a4([0x56,0x61,0x6c,0x69,0x64]);})[_0x9690a4([0x74,0x68,0x65,0x6e])](_0x441d53=>(_0x59adaf(),_0x441d53),()=>{const _0x4ea616=_0x16c982();return null==_0x4ea616?(_0x59adaf(),_0x9690a4([0x56,0x61,0x6c,0x69,0x64])):_0x9690a4(_0x544712-_0x4ea616>(0x10cd62a1^_0x185edf)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x9690a4([0x74,0x68,0x65,0x6e])](_0x4186ee)[_0x9690a4([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4186ee(_0x9690a4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x10df3b=0x34f70821^_0x185edf;function _0x59adaf(){const _0x3ece23=_0x9690a4([0x6c,0x6c,0x63,0x74,0x2d])+_0x4a5168(_0x29bc26(_0x16020c)),_0x5d9008=_0x58d9e2(_0x4a5168(window[_0x9690a4([0x4d,0x61,0x74,0x68])][_0x9690a4([0x63,0x65,0x69,0x6c])](_0x544712/_0x10df3b)));window[_0x9690a4([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x9690a4([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3ece23,_0x5d9008);}function _0x16c982(){const _0x251c14=_0x9690a4([0x6c,0x6c,0x63,0x74,0x2d])+_0x4a5168(_0x29bc26(_0x16020c)),_0x4747cd=window[_0x9690a4([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x9690a4([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x251c14);return _0x4747cd?window[_0x9690a4([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x58d9e2(_0x4747cd),0x10)*_0x10df3b:null;}function _0x2a95da(_0x67a860){return new window[(_0x9690a4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x538e7e,_0x54df03)=>{_0x67a860[_0x9690a4([0x74,0x68,0x65,0x6e])](_0x538e7e,_0x54df03),window[_0x9690a4([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x54df03,0x34c03261^_0x185edf);});}}_0x25d87e[_0x9690a4([0x6f,0x6e])](_0x9690a4([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1550af,_0x22fdc8)=>{if(_0x22fdc8[0x0]!=_0x16020c)return _0x4186ee(_0x9690a4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x22fdc8[0x1]={..._0x22fdc8[0x1],[_0x9690a4([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x3b9611};},{[_0x9690a4([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x9690a4([0x68,0x69,0x67,0x68])}),_0x25d87e[_0x9690a4([0x6f,0x6e])](_0x9690a4([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x456ac9=>{_0x1d7827(_0x456ac9[_0x9690a4([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x242ed5=!0x0,_0x28fb51(_0x456ac9[_0x9690a4([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x9690a4([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x9690a4([0x6c,0x6f,0x77])}),_0x396414[_0x9690a4([0x74,0x68,0x65,0x6e])](()=>{_0x242ed5||_0x4186ee(_0x9690a4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3aad71(){return _0x25d87e[_0x9690a4([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x9690a4([0x76,0x69,0x65,0x77])][_0x9690a4([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x9690a4([0x61,0x75,0x74,0x6f]);}function _0x55d29e(){_0x25d87e[_0x9690a4([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x9690a4([0x76,0x69,0x65,0x77])][_0x9690a4([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x9690a4([0x61,0x75,0x74,0x6f]);}}function _0x43a2bb(_0x434441){const _0x2a29bd=[new window[(_0x9690a4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3416f4=>setTimeout(_0x3416f4,0x34c8d86d^_0x185edf)),_0x396414[_0x9690a4([0x74,0x68,0x65,0x6e])](()=>new window[(_0x9690a4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x15fc20=>{let _0x28642a=0x0;_0x25d87e[_0x9690a4([0x6d,0x6f,0x64,0x65,0x6c])][_0x9690a4([0x6f,0x6e])](_0x9690a4([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4c8a86,_0x2be4ba)=>{_0x2be4ba[0x0][_0x9690a4([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x28642a++,_0x28642a==(0x34c1e759^_0x185edf)&&(_0x15fc20(),_0x4c8a86[_0x9690a4([0x6f,0x66,0x66])]());});}))];return window[_0x9690a4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x9690a4([0x72,0x61,0x63,0x65])](_0x2a29bd)[_0x9690a4([0x74,0x68,0x65,0x6e])](()=>_0x434441);}async function _0x350c47(){await _0x396414,_0x25d87e[_0x9690a4([0x6d,0x6f,0x64,0x65,0x6c])][_0x9690a4([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4e0f42,_0x25d87e[_0x9690a4([0x6d,0x6f,0x64,0x65,0x6c])][_0x9690a4([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4e0f42,_0x25d87e[_0x9690a4([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x9690a4([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x8af971(_0x237cdd){const _0x2271d2=_0x2e7f3b();_0x25d87e[_0x2271d2]=_0x9690a4([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x237cdd,_0x237cdd!=_0x9690a4([0x56,0x61,0x6c,0x69,0x64])&&_0x350c47();}function _0x2e7f3b(){const _0x3c3bc2=window[_0x9690a4([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x9690a4([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x9690a4([0x6e,0x6f,0x77])]())[_0x9690a4([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x9690a4([0x2e]),'');let _0x3f0109=_0x9690a4([0x4c]);for(let _0x442112=0x0;_0x442112<_0x3c3bc2[_0x9690a4([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x442112+=0x2){let _0x11f9b8=window[_0x9690a4([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3c3bc2[_0x9690a4([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x442112,_0x442112+0x2));_0x11f9b8>=_0x320da4[_0x9690a4([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x11f9b8-=_0x320da4[_0x9690a4([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3f0109+=_0x320da4[_0x11f9b8];}return _0x3f0109;}function _0x4596d3(){const _0x4e5f1d=_0x585017[_0x9690a4([0x73,0x70,0x6c,0x69,0x74])](_0x9690a4([0x2e]));if(0x3!=_0x4e5f1d[_0x9690a4([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x548beb(_0x4e5f1d[0x1]);function _0x548beb(_0x4e93c7){const _0x56a2c4=_0x2f3d54(_0x4e93c7);return _0x56a2c4&&_0x2eb893()?_0x56a2c4:null;function _0x2eb893(){const _0x33e3ef=_0x56a2c4[_0x9690a4([0x6a,0x74,0x69])],_0xf71b48=window[_0x9690a4([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x33e3ef[_0x9690a4([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x33e3ef[_0x9690a4([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2280cf={..._0x56a2c4,[_0x9690a4([0x6a,0x74,0x69])]:_0x33e3ef[_0x9690a4([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x33e3ef[_0x9690a4([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2280cf[_0x9690a4([0x76,0x63])],_0x29bc26(_0x2280cf)==_0xf71b48;}}}async function _0x203abc(){let _0x16e087=!0x0;try{const _0x3f2cdf=_0x585017[_0x9690a4([0x73,0x70,0x6c,0x69,0x74])](_0x9690a4([0x2e])),[_0xee3d1d,_0x313104,_0x3a93c6]=_0x3f2cdf;return _0x2823e9(_0xee3d1d),await _0x467b1d(_0xee3d1d,_0x313104,_0x3a93c6),_0x16e087;}catch{return!0x1;}function _0x2823e9(_0xfd1b53){const _0x363420=_0x2f3d54(_0xfd1b53);_0x363420&&_0x363420[_0x9690a4([0x61,0x6c,0x67])]==_0x9690a4([0x45,0x53,0x32,0x35,0x36])||(_0x16e087=!0x1);}async function _0x467b1d(_0x565de9,_0x326cbe,_0x117926){const _0x53e83c=window[_0x9690a4([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x9690a4([0x66,0x72,0x6f,0x6d])](_0x3e4c21(_0x117926),_0x2b9412=>_0x2b9412[_0x9690a4([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x25d24c=new window[(_0x9690a4([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x9690a4([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x565de9+_0x9690a4([0x2e])+_0x326cbe),_0x2ea53f=window[_0x9690a4([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x9690a4([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2ea53f)return;const _0x1cae56=await _0x2ea53f[_0x9690a4([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x9690a4([0x6a,0x77,0x6b]),_0x27a049,{[_0x9690a4([0x6e,0x61,0x6d,0x65])]:_0x9690a4([0x45,0x43,0x44,0x53,0x41]),[_0x9690a4([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x9690a4([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x9690a4([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2ea53f[_0x9690a4([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x9690a4([0x6e,0x61,0x6d,0x65])]:_0x9690a4([0x45,0x43,0x44,0x53,0x41]),[_0x9690a4([0x68,0x61,0x73,0x68])]:{[_0x9690a4([0x6e,0x61,0x6d,0x65])]:_0x9690a4([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1cae56,_0x53e83c,_0x25d24c)||(_0x16e087=!0x1);}}function _0x2f3d54(_0xc62093){return _0xc62093[_0x9690a4([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x9690a4([0x65,0x79]))?JSON[_0x9690a4([0x70,0x61,0x72,0x73,0x65])](_0x3e4c21(_0xc62093)):null;}function _0x3e4c21(_0x31e060){return window[_0x9690a4([0x61,0x74,0x6f,0x62])](_0x31e060[_0x9690a4([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x9690a4([0x2b]))[_0x9690a4([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x9690a4([0x2f])));}function _0x29bc26(_0x4c1bb2){let _0x49372a=0x1505;function _0x22b630(_0xb079d2){for(let _0x5e3295=0x0;_0x5e3295<_0xb079d2[_0x9690a4([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5e3295++){const _0x2bfb00=_0xb079d2[_0x9690a4([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5e3295);_0x49372a=(_0x49372a<<0x5)+_0x49372a+_0x2bfb00,_0x49372a&=_0x49372a;}}function _0x5e8b99(_0x54c4ff){Array[_0x9690a4([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x54c4ff)?_0x54c4ff[_0x9690a4([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5e8b99):_0x54c4ff&&typeof _0x54c4ff==_0x9690a4([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x9690a4([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x54c4ff)[_0x9690a4([0x73,0x6f,0x72,0x74])]()[_0x9690a4([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x52f02c,_0xe70a32])=>{_0x22b630(_0x52f02c),_0x5e8b99(_0xe70a32);}):_0x22b630(window[_0x9690a4([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x54c4ff));}return _0x5e8b99(_0x4c1bb2),_0x49372a>>>0x0;}function _0x4a5168(_0x4fe586){return _0x4fe586[_0x9690a4([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x9690a4([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x9690a4([0x30]));}function _0x58d9e2(_0x68a21f){return _0x68a21f[_0x9690a4([0x73,0x70,0x6c,0x69,0x74])]('')[_0x9690a4([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x9690a4([0x6a,0x6f,0x69,0x6e])]('');}function _0x4e0f42(){}function _0x9690a4(_0x1ca5b2){return _0x1ca5b2['map'](_0x459632=>String['fromCharCode'](_0x459632))['join']('');}_0x8af971(await _0x43f558());}(this);}['_initSchema'](){const _0x5395cb=this['editor']['model']['schema'];_0x5395cb['isRegistered']('imageBlock')&&_0x5395cb['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x5395cb['isRegistered']('imageInline')&&_0x5395cb['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x167915=this['editor'];_0x167915['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x167915['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x5b43c2=>_0x5b43c2['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0xb07c15=_0x167915['commands']['get']('replaceImageSource');_0xb07c15&&this['listenTo'](_0xb07c15,'cleanupImage',(_0x2cf467,[_0xdd79,_0x4b6652])=>{_0xdd79['removeAttribute']('uploadcareImageId',_0x4b6652);});}['_initConfig'](){const _0x1272f0=this['editor']['config']['get']('uploadcare.uploader')||{},_0x1d0e26=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x2ed9f6(_0x6882ce['document'],'uc-config',{..._0x1272f0,'pubkey':_0x1d0e26,'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']=_0x1bb855=>{if('closeMax'==_0x1bb855)return'#uc-icon-arrow-down';},_0x6882ce['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x2ed9f6(_0x6882ce['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),_0x6882ce['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0xc2b611=this['editor']['commands']['get']('insertImage');_0xc2b611&&this['listenTo'](_0xc2b611,'execute',()=>{const _0x171ae4=this['editor']['model']['document']['selection']['getSelectedElement']();_0x171ae4&&_0x171ae4['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x171ae4);});});const _0x2837a6=this['editor']['commands']['get']('uploadcareImageReplace');_0x2837a6&&this['listenTo'](_0x2837a6,'execute',()=>{const _0x2f4294=this['editor']['model']['document']['selection']['getSelectedElement']();_0x2f4294&&_0x2f4294['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x2f4294);});});}}class tt extends _0x5e7e00{static get['requires'](){return[o,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x2e5c43){super(_0x2e5c43),_0x2e5c43['config']['define']('uploadcare.uploader.sourceList',[i['Local'],i['URL']]),_0x147322['defineComponents'](_0x147322);}}class ii extends _0x1e1b02{constructor(_0x118e73){super(_0x118e73);const t=_0x118e73['t'],_0x2be2eb=this['bindTemplate'],_0x34a085=new _0x41e205();_0x34a085['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':[_0x34a085,{'text':_0x2be2eb['to']('imageUploadProgress',_0x2f825b=>t('Loading\x20image...')+'\x20('+(_0x2f825b||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 _0x1e1b02{constructor(_0x3d4696){super(_0x3d4696);const t=_0x3d4696['t'];this['set']('errorType',null);const _0x3c2671=new _0xa01402(_0x3d4696);_0x3c2671['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x3c2671['withText']=!0x0,_0x3c2671['class']='ck-button-action',_0x3c2671['on']('execute',()=>{this['fire']('retry');}),_0x3c2671['bind']('isVisible')['to'](this,'errorType',_0x26cf4c=>'NotFound'!==_0x26cf4c);const _0x15aa8c=new _0x22c476();_0x15aa8c['content']=_0x18ea75,_0x15aa8c['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x29c91e=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':[_0x15aa8c,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x29c91e['to']('errorType',_0x50c6bf=>t('NotFound'!==_0x50c6bf?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x3c2671]},{'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 _0x1e1b02{constructor(_0x29b906,_0x558027){super(_0x29b906);const _0x14e68c=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x558027,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x14e68c['to']('imageSrc')}});}}class X extends F{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x37935f,_0x370323,_0x236787){super(_0x37935f),this['_items']=this['createCollection'](),this['_loadingView']=new ii(_0x37935f),this['_errorView']=new ti(_0x37935f),this['_editingView']=new ei(_0x37935f,_0x236787),this['_focusableView']=new _0x1e1b02(_0x37935f),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x370323),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'],_0x2f8bab=>{this['_addUploadcareImageEditorListeners'](_0x2f8bab);});}),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'](_0x5ddeee,_0x21e643){const _0x534797='uc-cloud-image-editor',_0x580c7f=_0x5ddeee['querySelector'](_0x534797);if(_0x580c7f)return _0x21e643(_0x580c7f);const _0x2ab5cd=new MutationObserver(_0x2cb201=>{const _0x156929=_0x2cb201['filter'](_0x231e5b=>_0x231e5b['target']===_0x5ddeee&&_0x231e5b['addedNodes']['length']>0x0&&_0x231e5b['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x534797);_0x156929['length']&&(_0x2ab5cd['disconnect'](),_0x21e643(_0x156929[0x0]['addedNodes'][0x0]));});_0x2ab5cd['observe'](_0x5ddeee,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x2bdf70){_0x2bdf70['addEventListener']('apply',_0x2f4315=>{this['fire']('apply',{'imageSrc':_0x2f4315['detail']['cdnUrl']});}),_0x2bdf70['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class E extends/* #__PURE__ -- @preserve */
25
- _0x3295c9(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x1ec746,_0x59b90b,_0x3d15a3){super(),this['_editor']=_0x1ec746,this['_dialog']=_0x59b90b,this['_imageElement']=_0x3d15a3,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 _0x3568cc=this['_imageElement'],_0xd963c2=_0x3568cc['getAttribute']('uploadcareImageId'),_0x57f34f=_0x3568cc['getAttribute']('src');if(_0xd963c2)await this['_loadImageInfo'](_0xd963c2,_0x57f34f);else{if(this['_imageCache']['has'](_0x57f34f)){const _0x30f055=this['_imageCache']['get'](_0x57f34f);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x30f055['url'],this['imageDimension']=_0x30f055['dimension'],this['imageId']=_0x30f055['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x3d34de}=this['_editor'],t=_0x3d34de['t'],_0xe2fc2b=new X(_0x3d34de,this['imageStatus'],this['_attributes']);_0xe2fc2b['bind']('status')['to'](this,'imageStatus'),_0xe2fc2b['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0xe2fc2b['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0xe2fc2b['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0xe2fc2b,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x2b321f,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0xe2fc2b,'position':_0x4ad8ae['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0xe2fc2b['focus']();},'onHide':()=>{_0xe2fc2b['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x3aabd9=>!S(_0x3aabd9,_0xe2fc2b['element'])}});}['_loadImageInfo'](_0x440285,_0x15c581){return j['getInfo'](_0x440285,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0xa5632b=>{const {width:_0x1bf1ca,height:_0x436c94}=_0xa5632b['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x15c581,this['imageDimension']={'width':_0x1bf1ca,'height':_0x436c94},this['imageId']=_0x440285;})['catch'](_0x103ddf=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x103ddf['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x4b9d0b,_0x2a5c34){return this['_getImageAsFile'](_0x4b9d0b)['then'](_0x1a24e8=>j['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x2a5c34['signal'],'file':_0x1a24e8,'onProgress':_0x3be697=>{_0x3be697&&_0x3be697['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x3be697['value']));}}))['then'](_0x1a11b0=>{const {width:_0xd91ad8,height:_0x27f1f8}=_0x1a11b0['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x1a11b0['cdnUrl'],this['imageDimension']={'width':_0xd91ad8,'height':_0x27f1f8},this['imageId']=_0x1a11b0['uuid'],this['imageUploadProgress']=null;const _0x12dc08=_0x4b9d0b['getAttribute']('src');this['_imageCache']['set'](_0x12dc08,{'id':_0x1a11b0['uuid'],'url':_0x1a11b0['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x36c291=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x36c291['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x136c0c,_0x4a3e4c){_0x136c0c['on']('apply',(_0x58da9b,_0x2caa5f)=>{this['_replaceImage'](_0x4a3e4c,_0x2caa5f['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x136c0c['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x136c0c['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x5e0a35,_0x47aa52,_0x79df0d){const _0x3b440a=this['_editor'],{width:_0xaf445c,height:_0x28daca}=C(_0x47aa52,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x5d76fb,imageSources:_0x1edfbb}=k(_0x47aa52,_0xaf445c);_0x3b440a['model']['change'](_0xfc110e=>{if('$graveyard'===_0x5e0a35['root']['rootName']){_0x3b440a['execute']('insertImage',{'imageType':_0x5e0a35['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x5e0a35['getAttributes']()),'uploadcareImageId':_0x79df0d,'src':_0x5d76fb,'sources':_0x1edfbb,'width':_0xaf445c,'height':_0x28daca}});const _0x8e2b40=_0x5e0a35['getChildren']();_0x5e0a35=_0x3b440a['model']['document']['selection']['getSelectedElement']();for(const _0x1261d8 of _0x8e2b40)_0xfc110e['append'](_0xfc110e['cloneElement'](_0x1261d8),_0x5e0a35);}else _0xfc110e['setSelection'](_0x5e0a35,'on'),_0x3b440a['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x5e0a35['getAttributes']()),'uploadcareImageId':_0x79df0d,'src':_0x5d76fb,'sources':_0x1edfbb,'width':_0xaf445c,'height':_0x28daca},_0x5e0a35);_0xfc110e['setSelection'](_0x5e0a35,'on');});}async['_getImageAsFile'](_0x27ba06){const _0x5831eb=_0x6882ce['window'],_0x2dae73=_0x6882ce['document']['location']['href'],_0x4be42d=new _0x5831eb['URL'](_0x27ba06['getAttribute']('src'),_0x2dae73);if('data:'===_0x4be42d['protocol']){const _0x2e5c3a=_0x4be42d['href']['split'](','),_0x240966=_0x2e5c3a[0x0]['match'](/:(.*?);/)[0x1],_0x1e2ef9=_0x240966['split']('/')[0x1],_0x1e4558=_0x5831eb['atob'](_0x2e5c3a[_0x2e5c3a['length']-0x1]);let _0x6e9985=_0x1e4558['length'];const _0x3334b5=new _0x5831eb['Uint8Array'](_0x6e9985);for(;_0x6e9985--;)_0x3334b5[_0x6e9985]=_0x1e4558['charCodeAt'](_0x6e9985);return new _0x5831eb['File']([_0x3334b5],'image.'+_0x1e2ef9,{'type':_0x240966});}const _0x3654ae=_0x4be42d['href']['split']('/'),_0x1fe947=_0x3654ae[_0x3654ae['length']-0x1],_0x2ca40b=_0x1fe947['split']('.')[0x1];return _0x5831eb['fetch'](_0x4be42d['href'])['then'](_0xe026de=>_0xe026de['clone']()['blob']())['then'](_0x4f2989=>new _0x5831eb['File']([_0x4f2989],_0x1fe947,{'type':'image/'+_0x2ca40b}));}}class O extends _0xa35d86{['imageEditController'];static get['requires'](){return[_0x556bd0];}['_isEditable'];constructor(_0x2c8d6e){super(_0x2c8d6e),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x23b7ef){const _0x36b801=G(_0x23b7ef);return _0x482173=>!(!_0x482173||!_0x482173['is']('element','imageBlock')&&!_0x482173['is']('element','imageInline'))&&(!!_0x482173['hasAttribute']('uploadcareImageId')||!!_0x482173['hasAttribute']('src')&&_0x36b801(_0x482173['getAttribute']('src')));}(_0x2c8d6e['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x451f68=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x451f68);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x37f9cf=this['editor']['model']['document']['selection']['getSelectedElement']();_0x37f9cf&&(_0x37f9cf['is']('element','imageBlock')||_0x37f9cf['is']('element','imageInline'))&&(this['imageEditController']=new E(this['editor'],this['editor']['plugins']['get'](_0x556bd0),_0x37f9cf),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class R extends _0xa35d86{['refresh'](){const _0x164471=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x164471&&(_0x164471['is']('element','imageBlock')||_0x164471['is']('element','imageInline')));}['execute'](_0x150872){const _0x5c5092=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x33e0b1=>{_0x33e0b1['setAttributes'](_0x150872,_0x5c5092),_0x33e0b1['removeAttribute']('srcset',_0x5c5092),_0x33e0b1['removeAttribute']('sizes',_0x5c5092);});}}class m extends _0x5e7e00{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[o,_0xe1e20b,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x35d7d2}=this;_0x35d7d2['commands']['add']('uploadcareImageEdit',new O(_0x35d7d2)),_0x35d7d2['commands']['add']('uploadcareImageReplace',new R(_0x35d7d2));}}class g extends _0x5e7e00{['_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 _0x5c4197=this['editor'];_0x5c4197['ui']['componentFactory']['add']('uploadcareImageEdit',_0x21e766=>{const _0x4ae4ae=_0x5c4197['commands']['get']('uploadcareImageEdit'),_0x4a33ac=new _0xa01402(_0x21e766),t=_0x21e766['t'];return _0x4a33ac['set']({'icon':_0x2b321f,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x4a33ac['bind']('isEnabled')['to'](_0x4ae4ae),_0x4a33ac['bind']('isOn')['to'](_0x4ae4ae,'isActive'),this['listenTo'](_0x4a33ac,'execute',()=>{_0x5c4197['execute']('uploadcareImageEdit'),_0x5c4197['editing']['view']['focus']();}),_0x4a33ac;}),this['_initConfig']();}['_initConfig'](){const _0x2b81fb=_0x2ed9f6(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x2b81fb),this['listenTo'](this['editor'],'destroy',()=>{_0x2b81fb['remove']();});}}class et extends _0x5e7e00{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 _0x5c1fd7,Command as _0x1ceaf8}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x1dec5b,IconGooglePhotos as _0x555626,IconGoogleDrive as _0x20ed83,IconFacebook as _0x4921f3,IconDropbox as _0xe3ce6c,IconUploadcareLink as _0xa94e2a,IconUploadcareImageUpload as _0x4dde00,IconError as _0x31f124,IconUploadcareImageEdit as _0x41ee57}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0xe36893,MenuBarMenuListItemButtonView as _0x185e18,View as _0x435f57,FocusCycler as _0x17bf92,Dialog as _0xc45072,DialogViewPosition as _0x2d5004,SpinnerView as _0x4aa4c0,IconView as _0x1af99c,Notification as _0x78b19c}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x2a802e,DomEmitterMixin as _0x45791b,global as _0x1b28e5,getAncestors as _0x1bf414,ObservableMixin as _0x1c0941,uid as _0x285ee3,createElement as _0x5f1045}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x528a6e}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x48a22d,info as _0x57a15d}from'@uploadcare/upload-client';import*as _0x3d9e79 from'@uploadcare/file-uploader';var i=function(_0x307a9f){return _0x307a9f['Local']='local',_0x307a9f['URL']='url',_0x307a9f['Dropbox']='dropbox',_0x307a9f['GDrive']='gdrive',_0x307a9f['Facebook']='facebook',_0x307a9f['GPhotos']='gphotos',_0x307a9f['OneDrive']='onedrive',_0x307a9f;}({});function _(_0x41288d,_0x340d25,_0x32cfea){const t=_0x41288d['t'],_0x2dc83f=_0x41288d['t'];switch(_0x340d25){case i['Local']:return{'text':_0x2dc83f('Insert'===_0x32cfea?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x2dc83f('From\x20computer')};case i['URL']:return{'text':'Insert'===_0x32cfea?_0x2dc83f('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x2dc83f('Via\x20URL')};case i['Dropbox']:return{'text':t('Insert'===_0x32cfea?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case i['Facebook']:return{'text':t('Insert'===_0x32cfea?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case i['GDrive']:return{'text':t('Insert'===_0x32cfea?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case i['GPhotos']:return{'text':t('Insert'===_0x32cfea?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case i['OneDrive']:return{'text':t('Insert'===_0x32cfea?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x340d25;}}class e extends _0x5c1fd7{['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 _0x52224e=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x414b4a;for(const _0x42f73e in _0x52224e){const _0x59faed=_0x42f73e,_0x5d5333=_0x52224e[_0x59faed];if('uploadcareLicenseKeyValid'==_0x5d5333||'uploadcareLicenseKeyInvalid'==_0x5d5333||'uploadcareLicenseKeyExpired'==_0x5d5333||'uploadcareLicenseKeyDomainLimit'==_0x5d5333||'uploadcareLicenseKeyNotAllowed'==_0x5d5333||'uploadcareLicenseKeyEvaluationLimit'==_0x5d5333||'uploadcareLicenseKeyTrialLimit'==_0x5d5333||'uploadcareLicenseKeyUsageLimit'==_0x5d5333){delete _0x52224e[_0x59faed],_0x414b4a=_0x5d5333,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x414b4a&&_0x52224e['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x414b4a&&_0x52224e['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x414b4a&&_0x52224e['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x414b4a&&_0x52224e['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x414b4a&&_0x52224e['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0x414b4a&&_0x52224e['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0x414b4a&&_0x52224e['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x1fc312}=this,_0x52d8f9=_0x1fc312['commands']['get']('uploadcare');if(!_0x52d8f9)return;const _0x279060=this['_normalizeConfigSourceList'](_0x1fc312['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x4d7e82,_0x38a18d)=>{const _0x21622f=this['_getIntegrationKey'](_0x38a18d['type']);return _0x4d7e82[_0x21622f]||(_0x4d7e82[_0x21622f]=[]),_0x4d7e82[_0x21622f]['push'](_0x38a18d),_0x4d7e82;},{});_0x1fc312['plugins']['has']('ImageInsertUI')&&_0x1fc312['commands']['get']('uploadcare')&&Object['entries'](_0x279060)['forEach'](([_0x4081d3,_0x179a73])=>{_0x1fc312['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x4081d3,'observable':()=>_0x52d8f9,'buttonViewCreator':()=>this['_createToolbarButton'](_0x179a73),'formViewCreator':()=>this['_createDropdownButtons'](_0x179a73),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x179a73),'override':'assetManager'!==_0x4081d3});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x31350c){const {locale:_0x451130}=this['editor'];return _0x31350c['map'](_0x49a4f1=>{const _0x4ba888=_(_0x451130,_0x49a4f1,'Insert');switch(_0x49a4f1){case i['Local']:return{'icon':_0x4dde00,'type':i['Local'],..._0x4ba888};case i['URL']:return{'icon':_0xa94e2a,'type':i['URL'],..._0x4ba888};case i['Dropbox']:return{'icon':_0xe3ce6c,'type':i['Dropbox'],..._0x4ba888};case i['Facebook']:return{'icon':_0x4921f3,'type':i['Facebook'],..._0x4ba888};case i['GDrive']:return{'icon':_0x20ed83,'type':i['GDrive'],..._0x4ba888};case i['GPhotos']:return{'icon':_0x555626,'type':i['GPhotos'],..._0x4ba888};case i['OneDrive']:return{'icon':_0x1dec5b,'type':i['OneDrive'],..._0x4ba888};}});}['_getIntegrationKey'](_0x1b161b){switch(_0x1b161b){case i['Local']:return'upload';case i['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x1ea842,_0x132fdd){const _0x552581=this['editor'],_0x21758b=new _0x1ea842(_0x552581['locale']),_0xa4197f=_0x552581['commands']['get']('uploadcare');return _0x21758b['bind']('isEnabled')['to'](_0xa4197f),_0x21758b['on']('execute',()=>{_0xa4197f['execute'](_0x132fdd);}),_0x21758b;}['_createToolbarButton'](_0x908611){const {locale:_0x57e1bd}=this['editor'],_0xab0679=this['editor']['plugins']['get']('ImageInsertUI'),_0x210b79=_0x908611[0x0],_0x56f368=this['_createButton'](_0xe36893,_0x210b79['type']);return _0x56f368['icon']=_0x210b79['icon'],_0x56f368['bind']('label')['to'](_0xab0679,'isImageSelected',_0x4c7306=>_(_0x57e1bd,_0x210b79['type'],_0x4c7306?'Replace':'Insert')['text']),_0x56f368['tooltip']=!0x0,_0x56f368;}['_createDropdownButtons'](_0x1de5f4){const {locale:_0x3efe03}=this['editor'],_0x1ced4c=this['editor']['plugins']['get']('ImageInsertUI');return _0x1de5f4['map'](_0x250581=>{const _0x3e5256=this['_createButton'](_0xe36893,_0x250581['type']);return _0x3e5256['withText']=!0x0,_0x3e5256['icon']=_0x250581['icon'],_0x3e5256['bind']('label')['to'](_0x1ced4c,'isImageSelected',_0x38b65d=>_(_0x3efe03,_0x250581['type'],_0x38b65d?'Replace':'Insert')['text']),_0x3e5256;});}['_createMenuBarButtons'](_0x5c54df){return _0x5c54df['map'](_0x9a2bd9=>{const _0x23019e=this['_createButton'](_0x185e18,_0x9a2bd9['type']);return _0x23019e['icon']=_0x9a2bd9['icon'],_0x23019e['label']=_0x9a2bd9['shortText'],_0x23019e;});}}class F extends _0x435f57{['focusTracker'];['focusCycler'];constructor(_0x576229){super(_0x576229),this['focusTracker']=new _0x2a802e(),this['focusCycler']=new _0x17bf92({'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(_0x467200,_0xc8ceaf){super(_0x467200),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-'+_0xc8ceaf}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function k(_0x2a342e,_0x56490d){const _0xc0ad7f=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x42bd16=>_0x42bd16<=_0x56490d)['map'](_0x14ca8c=>_0x2a342e['replace'](/\/$/,'')+'/-/resize/'+_0x14ca8c+'x/\x20'+_0x14ca8c+'w');return{'imageFallbackUrl':_0x2a342e,'imageSources':[{'srcset':_0xc0ad7f['join'](',\x20'),'sizes':'(max-width:\x20'+_0x56490d+'px)\x20100vw,\x20'+_0x56490d+'px','type':'image/webp'}]};}function C(_0x415f67,_0xf3d90f,_0x4250ad){const _0x2de8df=_0x415f67['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x2de8df?parseInt(_0x2de8df[0x1],0xa):_0xf3d90f,'height':_0x2de8df?parseInt(_0x2de8df[0x2],0xa):_0x4250ad};}function p(_0x241d31,_0x4794c5){const _0x2ffa93=new(_0x45791b())(),_0x58c362=_0x241d31['plugins']['get']('ImageUtils'),_0x5e725b=_0x241d31['editing']['mapper']['toViewElement'](_0x4794c5),_0xc3a90c=_0x58c362['findViewImgElement'](_0x5e725b),_0x5a0869=_0x241d31['editing']['view']['domConverter']['viewToDom'](_0xc3a90c),_0x12ba87=_0x4794c5['getAttribute']('width'),_0xc410bc=_0x4794c5['getAttribute']('height'),_0x29dcf1='image-processing';_0x241d31['editing']['view']['change'](_0xefd0a1=>{_0xefd0a1['addClass'](_0x29dcf1,_0x5e725b),_0xefd0a1['setStyle']('aspect-ratio',_0x12ba87+'/'+_0xc410bc,_0xc3a90c);}),_0x2ffa93['listenTo'](_0x5a0869,'load',()=>{_0x2ffa93['stopListening'](_0x5a0869,'load'),_0x241d31['editing']['view']['change'](_0x250e8a=>{_0x250e8a['removeClass'](_0x29dcf1,_0x5e725b),_0x250e8a['removeStyle']('aspect-ratio',_0xc3a90c);});});}function G(_0x2844d7){if(Array['isArray'](_0x2844d7)){const _0x499ce4=_0x2844d7['map'](G);return _0x47d706=>_0x499ce4['some'](_0x32b998=>_0x32b998(_0x47d706));}if('origin'==_0x2844d7){const _0x2b682d=_0x1b28e5['window']['location']['origin'];return _0x3ce0db=>new URL(_0x3ce0db,_0x1b28e5['document']['baseURI'])['origin']==_0x2b682d;}return'function'==typeof _0x2844d7?_0x2844d7:_0x2844d7 instanceof RegExp?_0x5b61a6=>!(!_0x5b61a6['match'](_0x2844d7)&&!_0x5b61a6['replace'](/^https?:\/\//,'')['match'](_0x2844d7)):()=>!0x1;}function S(_0x245f2e,_0x238145){return _0x1bf414(_0x245f2e['target'])['includes'](_0x238145);}class n extends/* #__PURE__ -- @preserve */
24
+ _0x1c0941(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x2367e1,_0x2ca59b,_0x4ce2d4){super(),this['_editor']=_0x2367e1,this['_editing']=_0x2ca59b,this['_dialog']=_0x2367e1['plugins']['get'](_0xc45072),this['_api']=_0x2ca59b['ctxElement']['getAPI'](),this['_type']=_0x4ce2d4,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:_0x387f82,model:_0x434f2b}=this['_editor'],_0x5d55ee=_0x434f2b['document']['selection']['getSelectedElement'](),_0x52f257=_0x5d55ee&&(_0x5d55ee['is']('element','imageBlock')||_0x5d55ee['is']('element','imageInline'));this['_formView']=new x(_0x387f82,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':_0x4dde00,'title':_(_0x387f82,this['_type'],_0x52f257?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x2d5004['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x5a0a83=>!S(_0x5a0a83,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x124169}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x363c0c=>{const _0x293a75=_0x124169['length'];for(const _0x27efbc of _0x124169){const _0x1e4219=_0x27efbc===_0x124169[_0x293a75-0x1],{cdnUrl:_0x7e5de7,fileInfo:_0x5555d9}=_0x27efbc;if(!_0x7e5de7||!_0x5555d9)continue;const {width:_0x3288c1,height:_0xc50808}=_0x5555d9['imageInfo'],_0x37198e=C(_0x7e5de7,_0x3288c1,_0xc50808),_0x475b8d=k(_0x7e5de7,_0x37198e['width']),_0x4a594c={'id':_0x5555d9['uuid'],'type':'image','attributes':{'imageDimension':_0x37198e,..._0x475b8d}};this['_insertAsset'](_0x4a594c,_0x1e4219,_0x363c0c);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0xb7584c=>{'idle'===_0xb7584c['detail']['status']&&!_0xb7584c['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===i['Local']?this['_api']['setCurrentActivity'](i['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x17cfde,_0x2d5acf,_0x5e259c){const _0x4bde30=this['_editor']['model']['document']['selection'],_0x27f5c8=_0x4bde30['getSelectedElement'](),_0x4ff082=!(!_0x27f5c8||!_0x27f5c8['is']('element','imageInline'));_0x5e259c['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x17cfde,_0x4ff082),_0x2d5acf||_0x5e259c['setSelection'](_0x4bde30['getLastPosition']());}['_insertImage'](_0x4d62c6,_0x5853ac){const _0x2a820c=this['_editor'],{imageDimension:_0xd01c4a,imageFallbackUrl:_0x2090f1,imageSources:_0x28d5d4}=_0x4d62c6['attributes'];_0x2a820c['execute']('insertImage',{'imageType':_0x5853ac?'imageInline':null,'source':{'uploadcareImageId':_0x4d62c6['id'],'src':_0x2090f1,'sources':_0x28d5d4,..._0xd01c4a}});}}class w extends _0x1ceaf8{['_editing'];['_controller']=null;static get['requires'](){return[_0xc45072,o];}constructor(_0x339feb){super(_0x339feb),this['_editing']=_0x339feb['plugins']['get'](o);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x229c64){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new n(this['editor'],this['_editing'],_0x229c64);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class j{static['upload']({file:_0x4f7131,publicKey:_0x50fe9b,signal:_0x247f59,onProgress:_0x59b47d}){return _0x48a22d(_0x4f7131,{'publicKey':_0x50fe9b,'store':'auto','signal':_0x247f59,'onProgress':_0x59b47d});}static['getInfo'](_0x26e34f,_0x5c4bab){return _0x57a15d(_0x26e34f,_0x5c4bab);}}class f extends _0x5c1fd7{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x528a6e,o];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x1538ba=this['editor'];if(!!!_0x1538ba['config']['get']('uploadcare'))return;_0x1538ba['plugins']['get'](_0x528a6e)['createUploadAdapter']=_0x19404f=>new A(_0x19404f,_0x1538ba),_0x1538ba['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x44133d,{imageElement:_0x216c65,data:_0x499a0e})=>{_0x1538ba['model']['change'](_0xbdf28c=>{_0xbdf28c['setAttribute']('uploadcareImageId',_0x499a0e['uploadcareImageId'],_0x216c65);});});}}class A{['loader'];['editor'];['controller'];constructor(_0x5e2426,_0x235882){this['loader']=_0x5e2426,this['editor']=_0x235882,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x21eb91=this['editor']['config']['get']('uploadcare.pubkey'),_0x1d9c0a=await this['loader']['file'];return j['upload']({'file':_0x1d9c0a,'publicKey':_0x21eb91,'signal':this['controller']['signal'],'onProgress':_0x5588e8=>{_0x5588e8&&_0x5588e8['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x5588e8['value']);}})['then'](async _0x408e30=>{const {imageFallbackUrl:_0x45cbc8,imageSources:_0x180001}=k(_0x408e30['cdnUrl'],_0x408e30['imageInfo']['width']);return{'uploadcareImageId':_0x408e30['uuid'],'default':_0x45cbc8,'sources':_0x180001};})['catch'](()=>{const _0x398aaa=t('Cannot\x20upload\x20file:')+('\x20'+_0x1d9c0a['name']+'.');return Promise['reject'](_0x398aaa);});}['abort'](){this['controller']['abort']();}}class o extends _0x5c1fd7{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',f,_0xc45072];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['ucContextId'];get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}constructor(_0x369464){super(_0x369464),this['ucContextId']=_0x285ee3();}['init'](){const _0x3d5cc4=this['editor'];_0x3d5cc4['commands']['add']('uploadcare',new w(_0x3d5cc4));}['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 _0x28f1e7=_0x1b28e5['document']['querySelector']('input[uploadcare-file-input]');_0x28f1e7&&_0x28f1e7['remove']();}),async function(_0x5cbd3c){const _0x3a812d=_0x489f85([0x77,0x36,0x37,0x42,0x41,0x6d,0x6f,0x4c,0x53,0x52,0x30,0x78,0x4e,0x32,0x63,0x6b,0x55,0x69,0x79,0x6a,0x66,0x67,0x6c,0x31,0x38,0x64,0x72,0x65,0x35,0x58,0x44,0x5a,0x4a,0x59,0x48,0x56,0x75,0x51,0x43,0x4b,0x6e,0x73,0x7a,0x68,0x46,0x74,0x47,0x4f,0x70,0x50,0x62,0x49,0x54,0x45,0x71,0x39,0x76,0x61,0x34,0x33,0x4d,0x57]),_0x29640c=0x3368afbd,_0x2dbcfa=0x336fc3b5^_0x29640c,_0x18e4bb=window[_0x489f85([0x44,0x61,0x74,0x65])][_0x489f85([0x6e,0x6f,0x77])](),_0xe54d47=_0x5cbd3c[_0x489f85([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x5b01c5=new window[(_0x489f85([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x23316d=>{_0xe54d47[_0x489f85([0x6f,0x6e,0x63,0x65])](_0x489f85([0x72,0x65,0x61,0x64,0x79]),_0x23316d);}),_0x5c1463={[_0x489f85([0x6b,0x74,0x79])]:_0x489f85([0x45,0x43]),[_0x489f85([0x75,0x73,0x65])]:_0x489f85([0x73,0x69,0x67]),[_0x489f85([0x63,0x72,0x76])]:_0x489f85([0x50,0x2d,0x32,0x35,0x36]),[_0x489f85([0x78])]:_0x489f85([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]),[_0x489f85([0x79])]:_0x489f85([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]),[_0x489f85([0x61,0x6c,0x67])]:_0x489f85([0x45,0x53,0x32,0x35,0x36])},_0x18c726=_0xe54d47[_0x489f85([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x489f85([0x67,0x65,0x74])](_0x489f85([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x125a49(){let _0x5bcce6,_0x48365c=null,_0x29f538=null;try{if(_0x18c726==_0x489f85([0x47,0x50,0x4c]))return _0x489f85([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x5bcce6=_0x190e08(),!_0x5bcce6)return _0x489f85([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x5bcce6[_0x489f85([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x29f538=_0x4cb0d9(_0x5bcce6[_0x489f85([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x5bcce6[_0x489f85([0x6a,0x74,0x69])])),await _0x4924ec()?_0x708a62()?_0xe6df8()?_0x489f85([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0xc62ea0()?(_0x5bcce6[_0x489f85([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x489f85([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x48365c=_0x1a61be(_0x489f85([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x5bcce6[_0x489f85([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x489f85([0x74,0x72,0x69,0x61,0x6c])&&(_0x48365c=_0x1a61be(_0x489f85([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x2cd1b8()):_0x489f85([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x489f85([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x489f85([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x489f85([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0xe6df8(){const _0x367677=[_0x489f85([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x489f85([0x74,0x72,0x69,0x61,0x6c])][_0x489f85([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5bcce6[_0x489f85([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x18e4bb/0x3e8:0xe10*_0x2dbcfa;return _0x5bcce6[_0x489f85([0x65,0x78,0x70])]<_0x367677;}function _0x708a62(){const _0x241358=_0x5bcce6[_0x489f85([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x241358&&(!!_0x241358[_0x489f85([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x489f85([0x2a]))||!!_0x241358[_0x489f85([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x489f85([0x55,0x50,0x4c,0x43])));}function _0xc62ea0(){const _0x2b2001=_0x5bcce6[_0x489f85([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x2b2001||0x0==_0x2b2001[_0x489f85([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x528e1b}=new URL(window[_0x489f85([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x2b2001[_0x489f85([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x528e1b))return!0x0;const _0x1b656c=_0x528e1b[_0x489f85([0x73,0x70,0x6c,0x69,0x74])](_0x489f85([0x2e]));return _0x2b2001[_0x489f85([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xb94505=>_0xb94505[_0x489f85([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x489f85([0x2a])))[_0x489f85([0x6d,0x61,0x70])](_0x488d12=>_0x488d12[_0x489f85([0x73,0x70,0x6c,0x69,0x74])](_0x489f85([0x2e])))[_0x489f85([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x292846=>_0x292846[_0x489f85([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x1b656c[_0x489f85([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x489f85([0x6d,0x61,0x70])](_0x394373=>Array(_0x1b656c[_0x489f85([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x394373[_0x489f85([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x489f85([0x66,0x69,0x6c,0x6c])](_0x394373[0x0]===_0x489f85([0x2a])?_0x489f85([0x2a]):'')[_0x489f85([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x394373))[_0x489f85([0x73,0x6f,0x6d,0x65])](_0x283706=>_0x1b656c[_0x489f85([0x65,0x76,0x65,0x72,0x79])]((_0x55b100,_0x59e1b7)=>_0x283706[_0x59e1b7]===_0x55b100||_0x283706[_0x59e1b7]===_0x489f85([0x2a])));}function _0x2cd1b8(){return _0x48365c&&_0x29f538?new window[(_0x489f85([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x556aea,_0x1ad903)=>{_0x48365c[_0x489f85([0x74,0x68,0x65,0x6e])](_0x556aea,_0x1ad903),_0x29f538[_0x489f85([0x74,0x68,0x65,0x6e])](_0x30c74b=>{_0x30c74b!=_0x489f85([0x56,0x61,0x6c,0x69,0x64])&&_0x556aea(_0x30c74b);},_0x1ad903);}):_0x48365c||_0x29f538||_0x489f85([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4cb0d9(_0x2c9e87,_0x4e5aa3){return new window[(_0x489f85([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xb4950a=>{if(_0x590216())return _0xb4950a(_0x489f85([0x56,0x61,0x6c,0x69,0x64]));_0x5b29d7(),_0xe54d47[_0x489f85([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x489f85([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x23f1c3=!0x1;const _0x324038=_0x285ee3();function _0x5e20f4(_0x4db04f){return!!_0x4db04f&&(typeof _0x4db04f===_0x489f85([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x4db04f===_0x489f85([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x4db04f[_0x489f85([0x74,0x68,0x65,0x6e])]===_0x489f85([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x4db04f[_0x489f85([0x63,0x61,0x74,0x63,0x68])]===_0x489f85([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x47e4b1(_0x592d54){_0xf2e2f(_0x592d54)[_0x489f85([0x74,0x68,0x65,0x6e])](_0x741f4e=>{if(!_0x741f4e||_0x741f4e[_0x489f85([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x489f85([0x6f,0x6b]))return _0x489f85([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x16c4cd(_0x521396(_0x324038+_0x4e5aa3))!=_0x741f4e[_0x489f85([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x489f85([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x489f85([0x56,0x61,0x6c,0x69,0x64]);})[_0x489f85([0x74,0x68,0x65,0x6e])](_0x3e9626=>(_0x737643(),_0x3e9626),()=>{const _0x2b0d30=_0x243db4();return null==_0x2b0d30?(_0x737643(),_0x489f85([0x56,0x61,0x6c,0x69,0x64])):_0x489f85(_0x18e4bb-_0x2b0d30>(0x17642bbd^_0x29640c)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x489f85([0x74,0x68,0x65,0x6e])](_0xb4950a)[_0x489f85([0x63,0x61,0x74,0x63,0x68])](()=>{_0xb4950a(_0x489f85([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x59ca8b=0x335e413d^_0x29640c;function _0x737643(){const _0x137ee5=_0x489f85([0x6c,0x6c,0x63,0x74,0x2d])+_0x16c4cd(_0x521396(_0x2c9e87)),_0xa5d4d3=_0x4a21bf(_0x16c4cd(window[_0x489f85([0x4d,0x61,0x74,0x68])][_0x489f85([0x63,0x65,0x69,0x6c])](_0x18e4bb/_0x59ca8b)));window[_0x489f85([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x489f85([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x137ee5,_0xa5d4d3);}function _0x243db4(){const _0x28029a=_0x489f85([0x6c,0x6c,0x63,0x74,0x2d])+_0x16c4cd(_0x521396(_0x2c9e87)),_0x39a776=window[_0x489f85([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x489f85([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x28029a);return _0x39a776?window[_0x489f85([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4a21bf(_0x39a776),0x10)*_0x59ca8b:null;}function _0xf2e2f(_0x3dd990){return new window[(_0x489f85([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x47820e,_0x2e77fd)=>{_0x3dd990[_0x489f85([0x74,0x68,0x65,0x6e])](_0x47820e,_0x2e77fd),window[_0x489f85([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2e77fd,0x33697b7d^_0x29640c);});}}_0xe54d47[_0x489f85([0x6f,0x6e])](_0x489f85([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x418ae4,_0x3d53b8)=>{if(_0x3d53b8[0x0]!=_0x2c9e87)return _0xb4950a(_0x489f85([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3d53b8[0x1]={..._0x3d53b8[0x1],[_0x489f85([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x324038};},{[_0x489f85([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x489f85([0x68,0x69,0x67,0x68])}),_0xe54d47[_0x489f85([0x6f,0x6e])](_0x489f85([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4c24c0=>{_0x5e20f4(_0x4c24c0[_0x489f85([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x23f1c3=!0x0,_0x47e4b1(_0x4c24c0[_0x489f85([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x489f85([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x489f85([0x6c,0x6f,0x77])}),_0x5b01c5[_0x489f85([0x74,0x68,0x65,0x6e])](()=>{_0x23f1c3||_0xb4950a(_0x489f85([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x590216(){return _0xe54d47[_0x489f85([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x489f85([0x76,0x69,0x65,0x77])][_0x489f85([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x489f85([0x61,0x75,0x74,0x6f]);}function _0x5b29d7(){_0xe54d47[_0x489f85([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x489f85([0x76,0x69,0x65,0x77])][_0x489f85([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x489f85([0x61,0x75,0x74,0x6f]);}}function _0x1a61be(_0x4fc4d0){const _0x22e76d=[new window[(_0x489f85([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x49c1c3=>setTimeout(_0x49c1c3,0x33619171^_0x29640c)),_0x5b01c5[_0x489f85([0x74,0x68,0x65,0x6e])](()=>new window[(_0x489f85([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2787c5=>{let _0x25d2d8=0x0;_0xe54d47[_0x489f85([0x6d,0x6f,0x64,0x65,0x6c])][_0x489f85([0x6f,0x6e])](_0x489f85([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0xf7a5a0,_0x18a34a)=>{_0x18a34a[0x0][_0x489f85([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x25d2d8++,_0x25d2d8==(0x3368ae45^_0x29640c)&&(_0x2787c5(),_0xf7a5a0[_0x489f85([0x6f,0x66,0x66])]());});}))];return window[_0x489f85([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x489f85([0x72,0x61,0x63,0x65])](_0x22e76d)[_0x489f85([0x74,0x68,0x65,0x6e])](()=>_0x4fc4d0);}async function _0x1be196(){await _0x5b01c5,_0xe54d47[_0x489f85([0x6d,0x6f,0x64,0x65,0x6c])][_0x489f85([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5d6e08,_0xe54d47[_0x489f85([0x6d,0x6f,0x64,0x65,0x6c])][_0x489f85([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5d6e08,_0xe54d47[_0x489f85([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x489f85([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x239d08(_0x875570){const _0x57622c=_0x434f9f();_0xe54d47[_0x57622c]=_0x489f85([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x875570,_0x875570!=_0x489f85([0x56,0x61,0x6c,0x69,0x64])&&_0x1be196();}function _0x434f9f(){const _0x3fae2d=window[_0x489f85([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x489f85([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x489f85([0x6e,0x6f,0x77])]())[_0x489f85([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x489f85([0x2e]),'');let _0x3ce6a5=_0x489f85([0x77]);for(let _0x24be94=0x0;_0x24be94<_0x3fae2d[_0x489f85([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x24be94+=0x2){let _0x493191=window[_0x489f85([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3fae2d[_0x489f85([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x24be94,_0x24be94+0x2));_0x493191>=_0x3a812d[_0x489f85([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x493191-=_0x3a812d[_0x489f85([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3ce6a5+=_0x3a812d[_0x493191];}return _0x3ce6a5;}function _0x190e08(){const _0x488690=_0x18c726[_0x489f85([0x73,0x70,0x6c,0x69,0x74])](_0x489f85([0x2e]));if(0x3!=_0x488690[_0x489f85([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x2d7da9(_0x488690[0x1]);function _0x2d7da9(_0x21ab7b){const _0x59f9a6=_0x485c4b(_0x21ab7b);return _0x59f9a6&&_0x588b18()?_0x59f9a6:null;function _0x588b18(){const _0x39ea5e=_0x59f9a6[_0x489f85([0x6a,0x74,0x69])],_0x1e3599=window[_0x489f85([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x39ea5e[_0x489f85([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x39ea5e[_0x489f85([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x532082={..._0x59f9a6,[_0x489f85([0x6a,0x74,0x69])]:_0x39ea5e[_0x489f85([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x39ea5e[_0x489f85([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x532082[_0x489f85([0x76,0x63])],_0x521396(_0x532082)==_0x1e3599;}}}async function _0x4924ec(){let _0xd154a=!0x0;try{const _0x429e5f=_0x18c726[_0x489f85([0x73,0x70,0x6c,0x69,0x74])](_0x489f85([0x2e])),[_0x372259,_0x59bf67,_0x347a06]=_0x429e5f;return _0x2f7b99(_0x372259),await _0x3cf723(_0x372259,_0x59bf67,_0x347a06),_0xd154a;}catch{return!0x1;}function _0x2f7b99(_0x1b7da0){const _0x490b73=_0x485c4b(_0x1b7da0);_0x490b73&&_0x490b73[_0x489f85([0x61,0x6c,0x67])]==_0x489f85([0x45,0x53,0x32,0x35,0x36])||(_0xd154a=!0x1);}async function _0x3cf723(_0x5257c9,_0x1bbe21,_0x4ff135){const _0x51ece3=window[_0x489f85([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x489f85([0x66,0x72,0x6f,0x6d])](_0x3b13f3(_0x4ff135),_0x4ba28c=>_0x4ba28c[_0x489f85([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2c37c0=new window[(_0x489f85([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x489f85([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x5257c9+_0x489f85([0x2e])+_0x1bbe21),_0x28965a=window[_0x489f85([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x489f85([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x28965a)return;const _0x47eff0=await _0x28965a[_0x489f85([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x489f85([0x6a,0x77,0x6b]),_0x5c1463,{[_0x489f85([0x6e,0x61,0x6d,0x65])]:_0x489f85([0x45,0x43,0x44,0x53,0x41]),[_0x489f85([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x489f85([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x489f85([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x28965a[_0x489f85([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x489f85([0x6e,0x61,0x6d,0x65])]:_0x489f85([0x45,0x43,0x44,0x53,0x41]),[_0x489f85([0x68,0x61,0x73,0x68])]:{[_0x489f85([0x6e,0x61,0x6d,0x65])]:_0x489f85([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x47eff0,_0x51ece3,_0x2c37c0)||(_0xd154a=!0x1);}}function _0x485c4b(_0xec77c4){return _0xec77c4[_0x489f85([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x489f85([0x65,0x79]))?JSON[_0x489f85([0x70,0x61,0x72,0x73,0x65])](_0x3b13f3(_0xec77c4)):null;}function _0x3b13f3(_0xf33bf5){return window[_0x489f85([0x61,0x74,0x6f,0x62])](_0xf33bf5[_0x489f85([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x489f85([0x2b]))[_0x489f85([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x489f85([0x2f])));}function _0x521396(_0x33165b){let _0x17445b=0x1505;function _0x1c992d(_0x24b464){for(let _0x5a638b=0x0;_0x5a638b<_0x24b464[_0x489f85([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5a638b++){const _0x5c890e=_0x24b464[_0x489f85([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5a638b);_0x17445b=(_0x17445b<<0x5)+_0x17445b+_0x5c890e,_0x17445b&=_0x17445b;}}function _0x51f99d(_0x51b765){Array[_0x489f85([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x51b765)?_0x51b765[_0x489f85([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x51f99d):_0x51b765&&typeof _0x51b765==_0x489f85([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x489f85([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x51b765)[_0x489f85([0x73,0x6f,0x72,0x74])]()[_0x489f85([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4ebb94,_0x169600])=>{_0x1c992d(_0x4ebb94),_0x51f99d(_0x169600);}):_0x1c992d(window[_0x489f85([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x51b765));}return _0x51f99d(_0x33165b),_0x17445b>>>0x0;}function _0x16c4cd(_0x4e7d17){return _0x4e7d17[_0x489f85([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x489f85([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x489f85([0x30]));}function _0x4a21bf(_0x2f4bba){return _0x2f4bba[_0x489f85([0x73,0x70,0x6c,0x69,0x74])]('')[_0x489f85([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x489f85([0x6a,0x6f,0x69,0x6e])]('');}function _0x5d6e08(){}function _0x489f85(_0x1b579b){return _0x1b579b['map'](_0x10a0f4=>String['fromCharCode'](_0x10a0f4))['join']('');}_0x239d08(await _0x125a49());}(this);}['_initSchema'](){const _0x5c3fa1=this['editor']['model']['schema'];_0x5c3fa1['isRegistered']('imageBlock')&&_0x5c3fa1['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x5c3fa1['isRegistered']('imageInline')&&_0x5c3fa1['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x5663c9=this['editor'];_0x5663c9['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x5663c9['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x4755d2=>_0x4755d2['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x527fe5=_0x5663c9['commands']['get']('replaceImageSource');_0x527fe5&&this['listenTo'](_0x527fe5,'cleanupImage',(_0x49f8ee,[_0x5c09ea,_0x573358])=>{_0x5c09ea['removeAttribute']('uploadcareImageId',_0x573358);});}['_initConfig'](){const _0x2b72e7=this['editor']['config']['get']('uploadcare.uploader')||{},_0x283275=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x5f1045(_0x1b28e5['document'],'uc-config',{..._0x2b72e7,'pubkey':_0x283275,'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']=_0x37825f=>{if('closeMax'==_0x37825f)return'#uc-icon-arrow-down';},_0x1b28e5['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x5f1045(_0x1b28e5['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),_0x1b28e5['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x2b9689=this['editor']['commands']['get']('insertImage');_0x2b9689&&this['listenTo'](_0x2b9689,'execute',()=>{const _0x4634d0=this['editor']['model']['document']['selection']['getSelectedElement']();_0x4634d0&&_0x4634d0['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x4634d0);});});const _0x5bb1c0=this['editor']['commands']['get']('uploadcareImageReplace');_0x5bb1c0&&this['listenTo'](_0x5bb1c0,'execute',()=>{const _0x2ae8df=this['editor']['model']['document']['selection']['getSelectedElement']();_0x2ae8df&&_0x2ae8df['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x2ae8df);});});}}class tt extends _0x5c1fd7{static get['requires'](){return[o,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x2a6fdc){super(_0x2a6fdc),_0x2a6fdc['config']['define']('uploadcare.uploader.sourceList',[i['Local'],i['URL']]),_0x3d9e79['defineComponents'](_0x3d9e79);}}class ii extends _0x435f57{constructor(_0x5c11c7){super(_0x5c11c7);const t=_0x5c11c7['t'],_0x519c2e=this['bindTemplate'],_0x1e45c5=new _0x4aa4c0();_0x1e45c5['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':[_0x1e45c5,{'text':_0x519c2e['to']('imageUploadProgress',_0x472611=>t('Loading\x20image...')+'\x20('+(_0x472611||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 _0x435f57{constructor(_0x5cf60a){super(_0x5cf60a);const t=_0x5cf60a['t'];this['set']('errorType',null);const _0x21c9ff=new _0xe36893(_0x5cf60a);_0x21c9ff['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x21c9ff['withText']=!0x0,_0x21c9ff['class']='ck-button-action',_0x21c9ff['on']('execute',()=>{this['fire']('retry');}),_0x21c9ff['bind']('isVisible')['to'](this,'errorType',_0x302bf5=>'NotFound'!==_0x302bf5);const _0x3dcfd8=new _0x1af99c();_0x3dcfd8['content']=_0x31f124,_0x3dcfd8['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x53a9b4=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':[_0x3dcfd8,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x53a9b4['to']('errorType',_0x1608bc=>t('NotFound'!==_0x1608bc?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x21c9ff]},{'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 _0x435f57{constructor(_0x2341fd,_0x118063){super(_0x2341fd);const _0x3a0815=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x118063,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x3a0815['to']('imageSrc')}});}}class X extends F{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0xff0e91,_0x252d23,_0x1c7902){super(_0xff0e91),this['_items']=this['createCollection'](),this['_loadingView']=new ii(_0xff0e91),this['_errorView']=new ti(_0xff0e91),this['_editingView']=new ei(_0xff0e91,_0x1c7902),this['_focusableView']=new _0x435f57(_0xff0e91),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x252d23),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'],_0x36565f=>{this['_addUploadcareImageEditorListeners'](_0x36565f);});}),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'](_0x17749e,_0x25c302){const _0x11935a='uc-cloud-image-editor',_0x228d6e=_0x17749e['querySelector'](_0x11935a);if(_0x228d6e)return _0x25c302(_0x228d6e);const _0x3ff139=new MutationObserver(_0x6ddf50=>{const _0x410388=_0x6ddf50['filter'](_0x62c61a=>_0x62c61a['target']===_0x17749e&&_0x62c61a['addedNodes']['length']>0x0&&_0x62c61a['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x11935a);_0x410388['length']&&(_0x3ff139['disconnect'](),_0x25c302(_0x410388[0x0]['addedNodes'][0x0]));});_0x3ff139['observe'](_0x17749e,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x20d1d0){_0x20d1d0['addEventListener']('apply',_0x22a6d2=>{this['fire']('apply',{'imageSrc':_0x22a6d2['detail']['cdnUrl']});}),_0x20d1d0['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class E extends/* #__PURE__ -- @preserve */
25
+ _0x1c0941(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x337a9b,_0x313d39,_0x292448){super(),this['_editor']=_0x337a9b,this['_dialog']=_0x313d39,this['_imageElement']=_0x292448,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 _0x2736a5=this['_imageElement'],_0x176f8b=_0x2736a5['getAttribute']('uploadcareImageId'),_0x5cf14b=_0x2736a5['getAttribute']('src');if(_0x176f8b)await this['_loadImageInfo'](_0x176f8b,_0x5cf14b);else{if(this['_imageCache']['has'](_0x5cf14b)){const _0x40355f=this['_imageCache']['get'](_0x5cf14b);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x40355f['url'],this['imageDimension']=_0x40355f['dimension'],this['imageId']=_0x40355f['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x42534e}=this['_editor'],t=_0x42534e['t'],_0x2f0893=new X(_0x42534e,this['imageStatus'],this['_attributes']);_0x2f0893['bind']('status')['to'](this,'imageStatus'),_0x2f0893['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x2f0893['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x2f0893['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x2f0893,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x41ee57,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x2f0893,'position':_0x2d5004['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x2f0893['focus']();},'onHide':()=>{_0x2f0893['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x98f1bf=>!S(_0x98f1bf,_0x2f0893['element'])}});}['_loadImageInfo'](_0x272b1c,_0x14ae33){return j['getInfo'](_0x272b1c,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x431ccb=>{const {width:_0x136390,height:_0x1556b8}=_0x431ccb['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x14ae33,this['imageDimension']={'width':_0x136390,'height':_0x1556b8},this['imageId']=_0x272b1c;})['catch'](_0x438649=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x438649['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x3b041c,_0x12a218){return this['_getImageAsFile'](_0x3b041c)['then'](_0x19a90c=>j['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x12a218['signal'],'file':_0x19a90c,'onProgress':_0x652ef=>{_0x652ef&&_0x652ef['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x652ef['value']));}}))['then'](_0x3a9bf9=>{const {width:_0x352db4,height:_0x5751a3}=_0x3a9bf9['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x3a9bf9['cdnUrl'],this['imageDimension']={'width':_0x352db4,'height':_0x5751a3},this['imageId']=_0x3a9bf9['uuid'],this['imageUploadProgress']=null;const _0x33c61c=_0x3b041c['getAttribute']('src');this['_imageCache']['set'](_0x33c61c,{'id':_0x3a9bf9['uuid'],'url':_0x3a9bf9['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x201ce1=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x201ce1['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x5dca72,_0x26c1ad){_0x5dca72['on']('apply',(_0x5dfc16,_0x1669ab)=>{this['_replaceImage'](_0x26c1ad,_0x1669ab['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x5dca72['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x5dca72['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x5e551d,_0x90896c,_0x17ba93){const _0x264759=this['_editor'],{width:_0x598a8d,height:_0x4f22e9}=C(_0x90896c,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x53cf32,imageSources:_0x2d1b45}=k(_0x90896c,_0x598a8d);_0x264759['model']['change'](_0x5c2827=>{if('$graveyard'===_0x5e551d['root']['rootName']){_0x264759['execute']('insertImage',{'imageType':_0x5e551d['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x5e551d['getAttributes']()),'uploadcareImageId':_0x17ba93,'src':_0x53cf32,'sources':_0x2d1b45,'width':_0x598a8d,'height':_0x4f22e9}});const _0xebd191=_0x5e551d['getChildren']();_0x5e551d=_0x264759['model']['document']['selection']['getSelectedElement']();for(const _0x4cc18a of _0xebd191)_0x5c2827['append'](_0x5c2827['cloneElement'](_0x4cc18a),_0x5e551d);}else _0x5c2827['setSelection'](_0x5e551d,'on'),_0x264759['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x5e551d['getAttributes']()),'uploadcareImageId':_0x17ba93,'src':_0x53cf32,'sources':_0x2d1b45,'width':_0x598a8d,'height':_0x4f22e9},_0x5e551d);_0x5c2827['setSelection'](_0x5e551d,'on');});}async['_getImageAsFile'](_0x618775){const _0x22ebf0=_0x1b28e5['window'],_0x381abe=_0x1b28e5['document']['location']['href'],_0x4b5825=new _0x22ebf0['URL'](_0x618775['getAttribute']('src'),_0x381abe);if('data:'===_0x4b5825['protocol']){const _0x2ef431=_0x4b5825['href']['split'](','),_0x421b8a=_0x2ef431[0x0]['match'](/:(.*?);/)[0x1],_0x2fb4ea=_0x421b8a['split']('/')[0x1],_0x37991d=_0x22ebf0['atob'](_0x2ef431[_0x2ef431['length']-0x1]);let _0x23cf22=_0x37991d['length'];const _0x53b2de=new _0x22ebf0['Uint8Array'](_0x23cf22);for(;_0x23cf22--;)_0x53b2de[_0x23cf22]=_0x37991d['charCodeAt'](_0x23cf22);return new _0x22ebf0['File']([_0x53b2de],'image.'+_0x2fb4ea,{'type':_0x421b8a});}const _0x310533=_0x4b5825['href']['split']('/'),_0x42b298=_0x310533[_0x310533['length']-0x1],_0x1ae2b6=_0x42b298['split']('.')[0x1];return _0x22ebf0['fetch'](_0x4b5825['href'])['then'](_0x4f872a=>_0x4f872a['clone']()['blob']())['then'](_0x21918a=>new _0x22ebf0['File']([_0x21918a],_0x42b298,{'type':'image/'+_0x1ae2b6}));}}class O extends _0x1ceaf8{['imageEditController'];static get['requires'](){return[_0xc45072];}['_isEditable'];constructor(_0x266e65){super(_0x266e65),this['imageEditController']=void 0x0,this['_isEditable']=function(_0xa258fc){const _0x3232da=G(_0xa258fc);return _0x57226f=>!(!_0x57226f||!_0x57226f['is']('element','imageBlock')&&!_0x57226f['is']('element','imageInline'))&&(!!_0x57226f['hasAttribute']('uploadcareImageId')||!!_0x57226f['hasAttribute']('src')&&_0x3232da(_0x57226f['getAttribute']('src')));}(_0x266e65['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x1fcbdf=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x1fcbdf);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x37f5c6=this['editor']['model']['document']['selection']['getSelectedElement']();_0x37f5c6&&(_0x37f5c6['is']('element','imageBlock')||_0x37f5c6['is']('element','imageInline'))&&(this['imageEditController']=new E(this['editor'],this['editor']['plugins']['get'](_0xc45072),_0x37f5c6),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class R extends _0x1ceaf8{['refresh'](){const _0x2e3237=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x2e3237&&(_0x2e3237['is']('element','imageBlock')||_0x2e3237['is']('element','imageInline')));}['execute'](_0x3dd7db){const _0x54fe09=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x422035=>{_0x422035['setAttributes'](_0x3dd7db,_0x54fe09),_0x422035['removeAttribute']('srcset',_0x54fe09),_0x422035['removeAttribute']('sizes',_0x54fe09);});}}class m extends _0x5c1fd7{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[o,_0x78b19c,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0xb5330e}=this;_0xb5330e['commands']['add']('uploadcareImageEdit',new O(_0xb5330e)),_0xb5330e['commands']['add']('uploadcareImageReplace',new R(_0xb5330e));}}class g extends _0x5c1fd7{['_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 _0xea1df7=this['editor'];_0xea1df7['ui']['componentFactory']['add']('uploadcareImageEdit',_0x5c8d2f=>{const _0x580731=_0xea1df7['commands']['get']('uploadcareImageEdit'),_0x552938=new _0xe36893(_0x5c8d2f),t=_0x5c8d2f['t'];return _0x552938['set']({'icon':_0x41ee57,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x552938['bind']('isEnabled')['to'](_0x580731),_0x552938['bind']('isOn')['to'](_0x580731,'isActive'),this['listenTo'](_0x552938,'execute',()=>{_0xea1df7['execute']('uploadcareImageEdit'),_0xea1df7['editing']['view']['focus']();}),_0x552938;}),this['_initConfig']();}['_initConfig'](){const _0x405c72=_0x5f1045(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x405c72),this['listenTo'](this['editor'],'destroy',()=>{_0x405c72['remove']();});}}class et extends _0x5c1fd7{static get['pluginName'](){return'UploadcareImageEdit';}static get['requires'](){return[m,g];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{tt as Uploadcare,w as UploadcareCommand,o as UploadcareEditing,et as UploadcareImageEdit,O as UploadcareImageEditCommand,m as UploadcareImageEditEditing,g as UploadcareImageEditUI,e as UploadcareUI,f as UploadcareUploadAdapter};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'af':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x2fbe5d=>0x1!=_0x2fbe5d}};
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':_0x2af032=>0x1!=_0x2af032}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x1acdf4=>{const {af:{dictionary:_0x394c8f,getPluralForm:_0x29885c}}={'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':_0x14b0c5=>0x1!=_0x14b0c5}};_0x1acdf4['af']||={'dictionary':{},'getPluralForm':null},_0x1acdf4['af']['dictionary']=Object['assign'](_0x1acdf4['af']['dictionary'],_0x394c8f),_0x1acdf4['af']['getPluralForm']=_0x29885c;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x237b5c=>{const {af:{dictionary:_0x263f1f,getPluralForm:_0xca6807}}={'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':_0x3c9b9f=>0x1!=_0x3c9b9f}};_0x237b5c['af']||={'dictionary':{},'getPluralForm':null},_0x237b5c['af']['dictionary']=Object['assign'](_0x237b5c['af']['dictionary'],_0x263f1f),_0x237b5c['af']['getPluralForm']=_0xca6807;})(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':_0x217b1f=>0x0==_0x217b1f?0x0:0x1==_0x217b1f?0x1:0x2==_0x217b1f?0x2:_0x217b1f%0x64>=0x3&&_0x217b1f%0x64<=0xa?0x3:_0x217b1f%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':_0x5aed39=>0x0==_0x5aed39?0x0:0x1==_0x5aed39?0x1:0x2==_0x5aed39?0x2:_0x5aed39%0x64>=0x3&&_0x5aed39%0x64<=0xa?0x3:_0x5aed39%0x64>=0xb?0x4:0x5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0xd0083c=>{const {ar:{dictionary:_0x3a6124,getPluralForm:_0x2f4257}}={'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':_0x403668=>0x0==_0x403668?0x0:0x1==_0x403668?0x1:0x2==_0x403668?0x2:_0x403668%0x64>=0x3&&_0x403668%0x64<=0xa?0x3:_0x403668%0x64>=0xb?0x4:0x5}};_0xd0083c['ar']||={'dictionary':{},'getPluralForm':null},_0xd0083c['ar']['dictionary']=Object['assign'](_0xd0083c['ar']['dictionary'],_0x3a6124),_0xd0083c['ar']['getPluralForm']=_0x2f4257;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x760ecf=>{const {ar:{dictionary:_0x5ceecf,getPluralForm:_0x3316df}}={'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':_0x3fd042=>0x0==_0x3fd042?0x0:0x1==_0x3fd042?0x1:0x2==_0x3fd042?0x2:_0x3fd042%0x64>=0x3&&_0x3fd042%0x64<=0xa?0x3:_0x3fd042%0x64>=0xb?0x4:0x5}};_0x760ecf['ar']||={'dictionary':{},'getPluralForm':null},_0x760ecf['ar']['dictionary']=Object['assign'](_0x760ecf['ar']['dictionary'],_0x5ceecf),_0x760ecf['ar']['getPluralForm']=_0x3316df;})(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':_0x25a87b=>0x1!=_0x25a87b}};
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':_0x4a58c2=>0x1!=_0x4a58c2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x23e701=>{const {ast:{dictionary:_0x501cfb,getPluralForm:_0x4d3d3d}}={'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':_0x499d4e=>0x1!=_0x499d4e}};_0x23e701['ast']||={'dictionary':{},'getPluralForm':null},_0x23e701['ast']['dictionary']=Object['assign'](_0x23e701['ast']['dictionary'],_0x501cfb),_0x23e701['ast']['getPluralForm']=_0x4d3d3d;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x540831=>{const {ast:{dictionary:_0x364509,getPluralForm:_0x292633}}={'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':_0x2e247e=>0x1!=_0x2e247e}};_0x540831['ast']||={'dictionary':{},'getPluralForm':null},_0x540831['ast']['dictionary']=Object['assign'](_0x540831['ast']['dictionary'],_0x364509),_0x540831['ast']['getPluralForm']=_0x292633;})(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':_0x4c8d49=>0x1!=_0x4c8d49}};
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':_0xa405bd=>0x1!=_0xa405bd}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x18061c=>{const {az:{dictionary:_0x3f3e19,getPluralForm:_0x39bf11}}={'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':_0x4ef0b6=>0x1!=_0x4ef0b6}};_0x18061c['az']||={'dictionary':{},'getPluralForm':null},_0x18061c['az']['dictionary']=Object['assign'](_0x18061c['az']['dictionary'],_0x3f3e19),_0x18061c['az']['getPluralForm']=_0x39bf11;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x32d382=>{const {az:{dictionary:_0x4f7231,getPluralForm:_0x2c6d6b}}={'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':_0x17401f=>0x1!=_0x17401f}};_0x32d382['az']||={'dictionary':{},'getPluralForm':null},_0x32d382['az']['dictionary']=Object['assign'](_0x32d382['az']['dictionary'],_0x4f7231),_0x32d382['az']['getPluralForm']=_0x2c6d6b;})(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':_0x7f21c9=>_0x7f21c9%0xa==0x1&&_0x7f21c9%0x64!=0xb?0x0:_0x7f21c9%0xa>=0x2&&_0x7f21c9%0xa<=0x4&&(_0x7f21c9%0x64<0xa||_0x7f21c9%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':_0x4e2eac=>_0x4e2eac%0xa==0x1&&_0x4e2eac%0x64!=0xb?0x0:_0x4e2eac%0xa>=0x2&&_0x4e2eac%0xa<=0x4&&(_0x4e2eac%0x64<0xa||_0x4e2eac%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x21c2ef=>{const {be:{dictionary:_0x14faca,getPluralForm:_0x577649}}={'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':_0x24408c=>_0x24408c%0xa==0x1&&_0x24408c%0x64!=0xb?0x0:_0x24408c%0xa>=0x2&&_0x24408c%0xa<=0x4&&(_0x24408c%0x64<0xa||_0x24408c%0x64>=0x14)?0x1:0x2}};_0x21c2ef['be']||={'dictionary':{},'getPluralForm':null},_0x21c2ef['be']['dictionary']=Object['assign'](_0x21c2ef['be']['dictionary'],_0x14faca),_0x21c2ef['be']['getPluralForm']=_0x577649;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x16e8ea=>{const {be:{dictionary:_0x29ea95,getPluralForm:_0x44b478}}={'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':_0x133c9c=>_0x133c9c%0xa==0x1&&_0x133c9c%0x64!=0xb?0x0:_0x133c9c%0xa>=0x2&&_0x133c9c%0xa<=0x4&&(_0x133c9c%0x64<0xa||_0x133c9c%0x64>=0x14)?0x1:0x2}};_0x16e8ea['be']||={'dictionary':{},'getPluralForm':null},_0x16e8ea['be']['dictionary']=Object['assign'](_0x16e8ea['be']['dictionary'],_0x29ea95),_0x16e8ea['be']['getPluralForm']=_0x44b478;})(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':_0x27c5d7=>0x1!=_0x27c5d7}};
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':_0x2e4d17=>0x1!=_0x2e4d17}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x5e3138=>{const {bg:{dictionary:_0x27de7c,getPluralForm:_0x4dee6c}}={'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':_0x184207=>0x1!=_0x184207}};_0x5e3138['bg']||={'dictionary':{},'getPluralForm':null},_0x5e3138['bg']['dictionary']=Object['assign'](_0x5e3138['bg']['dictionary'],_0x27de7c),_0x5e3138['bg']['getPluralForm']=_0x4dee6c;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x5e62ff=>{const {bg:{dictionary:_0x523903,getPluralForm:_0x5acbaa}}={'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':_0x2c1a23=>0x1!=_0x2c1a23}};_0x5e62ff['bg']||={'dictionary':{},'getPluralForm':null},_0x5e62ff['bg']['dictionary']=Object['assign'](_0x5e62ff['bg']['dictionary'],_0x523903),_0x5e62ff['bg']['getPluralForm']=_0x5acbaa;})(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':_0x3fa820=>0x1!=_0x3fa820}};
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':_0x20355e=>0x1!=_0x20355e}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x1f948a=>{const {bn:{dictionary:_0x1353a9,getPluralForm:_0xa87d53}}={'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':_0x41041e=>0x1!=_0x41041e}};_0x1f948a['bn']||={'dictionary':{},'getPluralForm':null},_0x1f948a['bn']['dictionary']=Object['assign'](_0x1f948a['bn']['dictionary'],_0x1353a9),_0x1f948a['bn']['getPluralForm']=_0xa87d53;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x311f12=>{const {bn:{dictionary:_0x3642f8,getPluralForm:_0x16a497}}={'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':_0x5a22d9=>0x1!=_0x5a22d9}};_0x311f12['bn']||={'dictionary':{},'getPluralForm':null},_0x311f12['bn']['dictionary']=Object['assign'](_0x311f12['bn']['dictionary'],_0x3642f8),_0x311f12['bn']['getPluralForm']=_0x16a497;})(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':_0x212cdb=>_0x212cdb%0xa==0x1&&_0x212cdb%0x64!=0xb?0x0:_0x212cdb%0xa>=0x2&&_0x212cdb%0xa<=0x4&&(_0x212cdb%0x64<0xa||_0x212cdb%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':_0x29a555=>_0x29a555%0xa==0x1&&_0x29a555%0x64!=0xb?0x0:_0x29a555%0xa>=0x2&&_0x29a555%0xa<=0x4&&(_0x29a555%0x64<0xa||_0x29a555%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x260e4d=>{const {bs:{dictionary:_0x5c925e,getPluralForm:_0x40f96b}}={'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':_0x4fbabc=>_0x4fbabc%0xa==0x1&&_0x4fbabc%0x64!=0xb?0x0:_0x4fbabc%0xa>=0x2&&_0x4fbabc%0xa<=0x4&&(_0x4fbabc%0x64<0xa||_0x4fbabc%0x64>=0x14)?0x1:0x2}};_0x260e4d['bs']||={'dictionary':{},'getPluralForm':null},_0x260e4d['bs']['dictionary']=Object['assign'](_0x260e4d['bs']['dictionary'],_0x5c925e),_0x260e4d['bs']['getPluralForm']=_0x40f96b;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x2327ff=>{const {bs:{dictionary:_0x1a39f7,getPluralForm:_0x58830b}}={'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':_0xa8e447=>_0xa8e447%0xa==0x1&&_0xa8e447%0x64!=0xb?0x0:_0xa8e447%0xa>=0x2&&_0xa8e447%0xa<=0x4&&(_0xa8e447%0x64<0xa||_0xa8e447%0x64>=0x14)?0x1:0x2}};_0x2327ff['bs']||={'dictionary':{},'getPluralForm':null},_0x2327ff['bs']['dictionary']=Object['assign'](_0x2327ff['bs']['dictionary'],_0x1a39f7),_0x2327ff['bs']['getPluralForm']=_0x58830b;})(window['CKEDITOR_TRANSLATIONS']||={});