@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-20250925.0 → 0.0.0-nightly-20250927.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 _0x463790,Command as _0x23ff3b}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x184843,IconGooglePhotos as _0x86abf1,IconGoogleDrive as _0x252752,IconFacebook as _0x5effbb,IconDropbox as _0x3234b7,IconUploadcareLink as _0x555792,IconUploadcareImageUpload as _0x336531,IconError as _0x1770e2,IconUploadcareImageEdit as _0x44df01}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x399e1a,MenuBarMenuListItemButtonView as _0xfd7464,View as _0x538d2e,FocusCycler as _0x10befc,Dialog as _0x44e484,DialogViewPosition as _0x5f10af,SpinnerView as _0x1a678d,IconView as _0x217450,Notification as _0x3490dc}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x5e356b,DomEmitterMixin as _0x5079de,global as _0x7b029a,getAncestors as _0x52dcf8,ObservableMixin as _0x56c2cd,uid as _0x48f024,createElement as _0x1bf8e9}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x5d61d8}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x1a1e5a,info as _0x439403}from'@uploadcare/upload-client';import*as _0x19409 from'@uploadcare/file-uploader';var i=function(_0x360336){return _0x360336['Local']='local',_0x360336['URL']='url',_0x360336['Dropbox']='dropbox',_0x360336['GDrive']='gdrive',_0x360336['Facebook']='facebook',_0x360336['GPhotos']='gphotos',_0x360336['OneDrive']='onedrive',_0x360336;}({});function _(_0x24485f,_0x5135e0,_0x196b33){const t=_0x24485f['t'],_0x60814c=_0x24485f['t'];switch(_0x5135e0){case i['Local']:return{'text':_0x60814c('Insert'===_0x196b33?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x60814c('From\x20computer')};case i['URL']:return{'text':'Insert'===_0x196b33?_0x60814c('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x60814c('Via\x20URL')};case i['Dropbox']:return{'text':t('Insert'===_0x196b33?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case i['Facebook']:return{'text':t('Insert'===_0x196b33?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case i['GDrive']:return{'text':t('Insert'===_0x196b33?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case i['GPhotos']:return{'text':t('Insert'===_0x196b33?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case i['OneDrive']:return{'text':t('Insert'===_0x196b33?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x5135e0;}}class e extends _0x463790{['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 _0x2c2b6b=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x52c9b8;for(const _0x4278a9 in _0x2c2b6b){const _0x246fa3=_0x4278a9,_0x9cb441=_0x2c2b6b[_0x246fa3];if('uploadcareLicenseKeyValid'==_0x9cb441||'uploadcareLicenseKeyInvalid'==_0x9cb441||'uploadcareLicenseKeyExpired'==_0x9cb441||'uploadcareLicenseKeyDomainLimit'==_0x9cb441||'uploadcareLicenseKeyNotAllowed'==_0x9cb441||'uploadcareLicenseKeyEvaluationLimit'==_0x9cb441||'uploadcareLicenseKeyTrialLimit'==_0x9cb441||'uploadcareLicenseKeyUsageLimit'==_0x9cb441){delete _0x2c2b6b[_0x246fa3],_0x52c9b8=_0x9cb441,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x52c9b8&&_0x2c2b6b['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x52c9b8&&_0x2c2b6b['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x52c9b8&&_0x2c2b6b['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x52c9b8&&_0x2c2b6b['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x52c9b8&&_0x2c2b6b['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0x52c9b8&&_0x2c2b6b['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0x52c9b8&&_0x2c2b6b['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x29b78b}=this,_0x3409c1=_0x29b78b['commands']['get']('uploadcare');if(!_0x3409c1)return;const _0xbf5c=this['_normalizeConfigSourceList'](_0x29b78b['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x36b85a,_0x43d6f4)=>{const _0xf89e62=this['_getIntegrationKey'](_0x43d6f4['type']);return _0x36b85a[_0xf89e62]||(_0x36b85a[_0xf89e62]=[]),_0x36b85a[_0xf89e62]['push'](_0x43d6f4),_0x36b85a;},{});_0x29b78b['plugins']['has']('ImageInsertUI')&&_0x29b78b['commands']['get']('uploadcare')&&Object['entries'](_0xbf5c)['forEach'](([_0xf31ab6,_0x36bf41])=>{_0x29b78b['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0xf31ab6,'observable':()=>_0x3409c1,'buttonViewCreator':()=>this['_createToolbarButton'](_0x36bf41),'formViewCreator':()=>this['_createDropdownButtons'](_0x36bf41),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x36bf41),'override':'assetManager'!==_0xf31ab6});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x42b5b5){const {locale:_0x14cadd}=this['editor'];return _0x42b5b5['map'](_0x4fe4bf=>{const _0x40335c=_(_0x14cadd,_0x4fe4bf,'Insert');switch(_0x4fe4bf){case i['Local']:return{'icon':_0x336531,'type':i['Local'],..._0x40335c};case i['URL']:return{'icon':_0x555792,'type':i['URL'],..._0x40335c};case i['Dropbox']:return{'icon':_0x3234b7,'type':i['Dropbox'],..._0x40335c};case i['Facebook']:return{'icon':_0x5effbb,'type':i['Facebook'],..._0x40335c};case i['GDrive']:return{'icon':_0x252752,'type':i['GDrive'],..._0x40335c};case i['GPhotos']:return{'icon':_0x86abf1,'type':i['GPhotos'],..._0x40335c};case i['OneDrive']:return{'icon':_0x184843,'type':i['OneDrive'],..._0x40335c};}});}['_getIntegrationKey'](_0xe76588){switch(_0xe76588){case i['Local']:return'upload';case i['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x142be9,_0xa14f59){const _0x423ca9=this['editor'],_0x2ef5b2=new _0x142be9(_0x423ca9['locale']),_0x2cfaa4=_0x423ca9['commands']['get']('uploadcare');return _0x2ef5b2['bind']('isEnabled')['to'](_0x2cfaa4),_0x2ef5b2['on']('execute',()=>{_0x2cfaa4['execute'](_0xa14f59);}),_0x2ef5b2;}['_createToolbarButton'](_0x6b25b7){const {locale:_0x5e2d19}=this['editor'],_0x3bff72=this['editor']['plugins']['get']('ImageInsertUI'),_0x26702f=_0x6b25b7[0x0],_0x298176=this['_createButton'](_0x399e1a,_0x26702f['type']);return _0x298176['icon']=_0x26702f['icon'],_0x298176['bind']('label')['to'](_0x3bff72,'isImageSelected',_0x3fb7f0=>_(_0x5e2d19,_0x26702f['type'],_0x3fb7f0?'Replace':'Insert')['text']),_0x298176['tooltip']=!0x0,_0x298176;}['_createDropdownButtons'](_0x5e6e37){const {locale:_0xa23890}=this['editor'],_0x433990=this['editor']['plugins']['get']('ImageInsertUI');return _0x5e6e37['map'](_0x60f1c6=>{const _0xb96889=this['_createButton'](_0x399e1a,_0x60f1c6['type']);return _0xb96889['withText']=!0x0,_0xb96889['icon']=_0x60f1c6['icon'],_0xb96889['bind']('label')['to'](_0x433990,'isImageSelected',_0x5ac64b=>_(_0xa23890,_0x60f1c6['type'],_0x5ac64b?'Replace':'Insert')['text']),_0xb96889;});}['_createMenuBarButtons'](_0x4602b2){return _0x4602b2['map'](_0x5d0c13=>{const _0xcadb93=this['_createButton'](_0xfd7464,_0x5d0c13['type']);return _0xcadb93['icon']=_0x5d0c13['icon'],_0xcadb93['label']=_0x5d0c13['shortText'],_0xcadb93;});}}class F extends _0x538d2e{['focusTracker'];['focusCycler'];constructor(_0x2f5799){super(_0x2f5799),this['focusTracker']=new _0x5e356b(),this['focusCycler']=new _0x10befc({'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(_0x3194be,_0x384e33){super(_0x3194be),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-'+_0x384e33}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function C(_0x4a818d,_0xb49e4d){const _0x4d6bf1=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x2dcdb8=>_0x2dcdb8<=_0xb49e4d)['map'](_0x5cb320=>_0x4a818d['replace'](/\/$/,'')+'/-/resize/'+_0x5cb320+'x/\x20'+_0x5cb320+'w');return{'imageFallbackUrl':_0x4a818d,'imageSources':[{'srcset':_0x4d6bf1['join'](',\x20'),'sizes':'(max-width:\x20'+_0xb49e4d+'px)\x20100vw,\x20'+_0xb49e4d+'px','type':'image/webp'}]};}function S(_0xa39fb7,_0x454261,_0x4db555){const _0x2f8c9b=_0xa39fb7['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x2f8c9b?parseInt(_0x2f8c9b[0x1],0xa):_0x454261,'height':_0x2f8c9b?parseInt(_0x2f8c9b[0x2],0xa):_0x4db555};}function p(_0x16e27e,_0x2d9e43){const _0x438ec4=new(_0x5079de())(),_0x2efbfb=_0x16e27e['plugins']['get']('ImageUtils'),_0x274ba5=_0x16e27e['editing']['mapper']['toViewElement'](_0x2d9e43),_0x5bde3b=_0x2efbfb['findViewImgElement'](_0x274ba5),_0x3feb09=_0x16e27e['editing']['view']['domConverter']['viewToDom'](_0x5bde3b),_0x191202=_0x2d9e43['getAttribute']('width'),_0x727d66=_0x2d9e43['getAttribute']('height'),_0x38588e='image-processing';_0x16e27e['editing']['view']['change'](_0x3bf70a=>{_0x3bf70a['addClass'](_0x38588e,_0x274ba5),_0x3bf70a['setStyle']('aspect-ratio',_0x191202+'/'+_0x727d66,_0x5bde3b);}),_0x438ec4['listenTo'](_0x3feb09,'load',()=>{_0x438ec4['stopListening'](_0x3feb09,'load'),_0x16e27e['editing']['view']['change'](_0x18fc4c=>{_0x18fc4c['removeClass'](_0x38588e,_0x274ba5),_0x18fc4c['removeStyle']('aspect-ratio',_0x5bde3b);});});}function z(_0x4ade8d){if(Array['isArray'](_0x4ade8d)){const _0x1a3a50=_0x4ade8d['map'](z);return _0xc2ac07=>_0x1a3a50['some'](_0x45e32e=>_0x45e32e(_0xc2ac07));}if('origin'==_0x4ade8d){const _0x49bc85=_0x7b029a['window']['location']['origin'];return _0x34eeab=>new URL(_0x34eeab,_0x7b029a['document']['baseURI'])['origin']==_0x49bc85;}return'function'==typeof _0x4ade8d?_0x4ade8d:_0x4ade8d instanceof RegExp?_0x57dc78=>!(!_0x57dc78['match'](_0x4ade8d)&&!_0x57dc78['replace'](/^https?:\/\//,'')['match'](_0x4ade8d)):()=>!0x1;}function A(_0xd419f7,_0x47b020){return _0x52dcf8(_0xd419f7['target'])['includes'](_0x47b020);}class n extends/* #__PURE__ -- @preserve */
24
- _0x56c2cd(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x12f181,_0x3f00e1,_0x3abd4f){super(),this['_editor']=_0x12f181,this['_editing']=_0x3f00e1,this['_dialog']=_0x12f181['plugins']['get'](_0x44e484),this['_api']=_0x3f00e1['ctxElement']['getAPI'](),this['_type']=_0x3abd4f,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:_0x3ad932,model:_0x28d09f}=this['_editor'],_0x18b90e=_0x28d09f['document']['selection']['getSelectedElement'](),_0x155d76=_0x18b90e&&(_0x18b90e['is']('element','imageBlock')||_0x18b90e['is']('element','imageInline'));this['_formView']=new x(_0x3ad932,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':_0x336531,'title':_(_0x3ad932,this['_type'],_0x155d76?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x5f10af['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x34f92a=>!A(_0x34f92a,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x146775}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x102e36=>{const _0x508cc9=_0x146775['length'];for(const _0x585dc1 of _0x146775){const _0xa37a61=_0x585dc1===_0x146775[_0x508cc9-0x1],{cdnUrl:_0x254c05,fileInfo:_0x36f2bc}=_0x585dc1;if(!_0x254c05||!_0x36f2bc)continue;const {width:_0xeb1bfc,height:_0x2917d8}=_0x36f2bc['imageInfo'],_0x327767=S(_0x254c05,_0xeb1bfc,_0x2917d8),_0x29928a=C(_0x254c05,_0x327767['width']),_0xd6209d={'id':_0x36f2bc['uuid'],'type':'image','attributes':{'imageDimension':_0x327767,..._0x29928a}};this['_insertAsset'](_0xd6209d,_0xa37a61,_0x102e36);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x36a1cc=>{'idle'===_0x36a1cc['detail']['status']&&!_0x36a1cc['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===i['Local']?this['_api']['setCurrentActivity'](i['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x3b3933,_0xae80a9,_0x4ab739){const _0xc708ca=this['_editor']['model']['document']['selection'],_0x49096b=_0xc708ca['getSelectedElement'](),_0x3b600f=!(!_0x49096b||!_0x49096b['is']('element','imageInline'));_0x4ab739['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x3b3933,_0x3b600f),_0xae80a9||_0x4ab739['setSelection'](_0xc708ca['getLastPosition']());}['_insertImage'](_0x1723b3,_0x3b1d9d){const _0xa15a4b=this['_editor'],{imageDimension:_0x2f17f4,imageFallbackUrl:_0x55845a,imageSources:_0x371bc4}=_0x1723b3['attributes'];_0xa15a4b['execute']('insertImage',{'imageType':_0x3b1d9d?'imageInline':null,'source':{'uploadcareImageId':_0x1723b3['id'],'src':_0x55845a,'sources':_0x371bc4,..._0x2f17f4}});}}class w extends _0x23ff3b{['_editing'];['_controller']=null;static get['requires'](){return[_0x44e484,o];}constructor(_0x4e1cb8){super(_0x4e1cb8),this['_editing']=_0x4e1cb8['plugins']['get'](o);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x11bd25){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new n(this['editor'],this['_editing'],_0x11bd25);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class j{static['upload']({file:_0x56fcfd,..._0xaa43e3}){return _0x1a1e5a(_0x56fcfd,_0xaa43e3);}static['getInfo'](_0x52c5c6,_0x56ab11){return _0x439403(_0x52c5c6,_0x56ab11);}}class f extends _0x463790{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x5d61d8,o];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x53de0a=this['editor'];if(!!!_0x53de0a['config']['get']('uploadcare'))return;_0x53de0a['plugins']['get'](_0x5d61d8)['createUploadAdapter']=_0x367fe0=>new k(_0x367fe0,_0x53de0a),_0x53de0a['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x19d875,{imageElement:_0x401f3e,data:_0x23685d})=>{_0x53de0a['model']['change'](_0x1ebba1=>{_0x1ebba1['setAttribute']('uploadcareImageId',_0x23685d['uploadcareImageId'],_0x401f3e);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x13d98c,_0x36bdec){this['loader']=_0x13d98c,this['editor']=_0x36bdec,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x6a079b=await this['loader']['file'];return j['upload']({'file':_0x6a079b,'publicKey':this['editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':this['controller']['signal'],'onProgress':_0x470942=>{_0x470942&&_0x470942['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x470942['value']);}})['then'](async _0x4810d5=>{const {imageFallbackUrl:_0x39fe4a,imageSources:_0x138b48}=C(_0x4810d5['cdnUrl'],_0x4810d5['imageInfo']['width']);return{'uploadcareImageId':_0x4810d5['uuid'],'default':_0x39fe4a,'sources':_0x138b48};})['catch'](()=>{const _0x511aff=t('Cannot\x20upload\x20file:')+('\x20'+_0x6a079b['name']+'.');return Promise['reject'](_0x511aff);});}['abort'](){this['controller']['abort']();}}class o extends _0x463790{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',f,_0x44e484];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['ucContextId'];get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}constructor(_0xcd878a){super(_0xcd878a),this['ucContextId']=_0x48f024();}['init'](){const _0x2d66af=this['editor'];_0x2d66af['commands']['add']('uploadcare',new w(_0x2d66af));}['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 _0x14de68=_0x7b029a['document']['querySelector']('input[uploadcare-file-input]');_0x14de68&&_0x14de68['remove']();}),async function(_0x14f0fb){const _0x3383be=_0x7cfc51([0x52,0x42,0x63,0x58,0x64,0x47,0x66,0x35,0x36,0x37,0x6d,0x4e,0x6a,0x4b,0x39,0x44,0x54,0x70,0x50,0x30,0x49,0x79,0x69,0x33,0x67,0x65,0x61,0x38,0x5a,0x76,0x7a,0x6c,0x45,0x34,0x62,0x46,0x75,0x57,0x72,0x77,0x73,0x48,0x31,0x68,0x6e,0x4f,0x53,0x4c,0x71,0x6b,0x59,0x32,0x4d,0x51,0x4a,0x78,0x6f,0x56,0x41,0x55,0x74,0x43]),_0x539fe2=0x3d8d0df,_0x34ae51=0x3dfa4bf^_0x539fe2,_0xbe3ab8=window[_0x7cfc51([0x44,0x61,0x74,0x65])][_0x7cfc51([0x6e,0x6f,0x77])](),_0x10f06a=_0x14f0fb[_0x7cfc51([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x4beb30=new window[(_0x7cfc51([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x74cb8c=>{_0x10f06a[_0x7cfc51([0x6f,0x6e,0x63,0x65])](_0x7cfc51([0x72,0x65,0x61,0x64,0x79]),_0x74cb8c);}),_0x586c84={[_0x7cfc51([0x6b,0x74,0x79])]:_0x7cfc51([0x45,0x43]),[_0x7cfc51([0x75,0x73,0x65])]:_0x7cfc51([0x73,0x69,0x67]),[_0x7cfc51([0x63,0x72,0x76])]:_0x7cfc51([0x50,0x2d,0x32,0x35,0x36]),[_0x7cfc51([0x78])]:_0x7cfc51([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]),[_0x7cfc51([0x79])]:_0x7cfc51([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]),[_0x7cfc51([0x61,0x6c,0x67])]:_0x7cfc51([0x45,0x53,0x32,0x35,0x36])},_0x5ca372=_0x10f06a[_0x7cfc51([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x7cfc51([0x67,0x65,0x74])](_0x7cfc51([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x1ce0eb(){let _0x565a27,_0x1e0bd6=null,_0x416a6e=null;try{if(_0x5ca372==_0x7cfc51([0x47,0x50,0x4c]))return _0x7cfc51([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x565a27=_0xc4563f(),!_0x565a27)return _0x7cfc51([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x565a27[_0x7cfc51([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x416a6e=_0x549c46(_0x565a27[_0x7cfc51([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x565a27[_0x7cfc51([0x6a,0x74,0x69])])),await _0x2c4fda()?_0x11fe4c()?_0x180a01()?_0x7cfc51([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x48c165()?(_0x565a27[_0x7cfc51([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x7cfc51([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1e0bd6=_0xd08bb(_0x7cfc51([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x565a27[_0x7cfc51([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x7cfc51([0x74,0x72,0x69,0x61,0x6c])&&(_0x1e0bd6=_0xd08bb(_0x7cfc51([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0xd252f9()):_0x7cfc51([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x7cfc51([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x7cfc51([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x7cfc51([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x180a01(){const _0x38316a=[_0x7cfc51([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x7cfc51([0x74,0x72,0x69,0x61,0x6c])][_0x7cfc51([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x565a27[_0x7cfc51([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0xbe3ab8/0x3e8:0xe10*_0x34ae51;return _0x565a27[_0x7cfc51([0x65,0x78,0x70])]<_0x38316a;}function _0x11fe4c(){const _0x4cff06=_0x565a27[_0x7cfc51([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x4cff06&&(!!_0x4cff06[_0x7cfc51([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x7cfc51([0x2a]))||!!_0x4cff06[_0x7cfc51([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x7cfc51([0x55,0x50,0x4c,0x43])));}function _0x48c165(){const _0x501202=_0x565a27[_0x7cfc51([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x501202||0x0==_0x501202[_0x7cfc51([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x27ca1f}=new URL(window[_0x7cfc51([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x501202[_0x7cfc51([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x27ca1f))return!0x0;const _0x3bf58f=_0x27ca1f[_0x7cfc51([0x73,0x70,0x6c,0x69,0x74])](_0x7cfc51([0x2e]));return _0x501202[_0x7cfc51([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3478c5=>_0x3478c5[_0x7cfc51([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x7cfc51([0x2a])))[_0x7cfc51([0x6d,0x61,0x70])](_0x30ecac=>_0x30ecac[_0x7cfc51([0x73,0x70,0x6c,0x69,0x74])](_0x7cfc51([0x2e])))[_0x7cfc51([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5546e7=>_0x5546e7[_0x7cfc51([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x3bf58f[_0x7cfc51([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x7cfc51([0x6d,0x61,0x70])](_0x1b6937=>Array(_0x3bf58f[_0x7cfc51([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x1b6937[_0x7cfc51([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x7cfc51([0x66,0x69,0x6c,0x6c])](_0x1b6937[0x0]===_0x7cfc51([0x2a])?_0x7cfc51([0x2a]):'')[_0x7cfc51([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x1b6937))[_0x7cfc51([0x73,0x6f,0x6d,0x65])](_0x463693=>_0x3bf58f[_0x7cfc51([0x65,0x76,0x65,0x72,0x79])]((_0x1233bf,_0x1242dc)=>_0x463693[_0x1242dc]===_0x1233bf||_0x463693[_0x1242dc]===_0x7cfc51([0x2a])));}function _0xd252f9(){return _0x1e0bd6&&_0x416a6e?new window[(_0x7cfc51([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x20294b,_0x2e5ec1)=>{_0x1e0bd6[_0x7cfc51([0x74,0x68,0x65,0x6e])](_0x20294b,_0x2e5ec1),_0x416a6e[_0x7cfc51([0x74,0x68,0x65,0x6e])](_0x39f035=>{_0x39f035!=_0x7cfc51([0x56,0x61,0x6c,0x69,0x64])&&_0x20294b(_0x39f035);},_0x2e5ec1);}):_0x1e0bd6||_0x416a6e||_0x7cfc51([0x56,0x61,0x6c,0x69,0x64]);}}function _0x549c46(_0x139b39,_0xe8f083){return new window[(_0x7cfc51([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x10b1ab=>{if(_0x249100())return _0x10b1ab(_0x7cfc51([0x56,0x61,0x6c,0x69,0x64]));_0x4f1893(),_0x10f06a[_0x7cfc51([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x7cfc51([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2121ec=!0x1;const _0x13fdf8=_0x48f024();function _0x457619(_0x2faa2f){return!!_0x2faa2f&&(typeof _0x2faa2f===_0x7cfc51([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2faa2f===_0x7cfc51([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2faa2f[_0x7cfc51([0x74,0x68,0x65,0x6e])]===_0x7cfc51([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2faa2f[_0x7cfc51([0x63,0x61,0x74,0x63,0x68])]===_0x7cfc51([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x121cd5(_0x1a7588){_0x5486e1(_0x1a7588)[_0x7cfc51([0x74,0x68,0x65,0x6e])](_0x100bbe=>{if(!_0x100bbe||_0x100bbe[_0x7cfc51([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x7cfc51([0x6f,0x6b]))return _0x7cfc51([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x38cb51(_0x34423c(_0x13fdf8+_0xe8f083))!=_0x100bbe[_0x7cfc51([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x7cfc51([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x7cfc51([0x56,0x61,0x6c,0x69,0x64]);})[_0x7cfc51([0x74,0x68,0x65,0x6e])](_0x2573d8=>(_0x385f8f(),_0x2573d8),()=>{const _0x2d2029=_0x530e90();return null==_0x2d2029?(_0x385f8f(),_0x7cfc51([0x56,0x61,0x6c,0x69,0x64])):_0x7cfc51(_0xbe3ab8-_0x2d2029>(0x27d454df^_0x539fe2)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x7cfc51([0x74,0x68,0x65,0x6e])](_0x10b1ab)[_0x7cfc51([0x63,0x61,0x74,0x63,0x68])](()=>{_0x10b1ab(_0x7cfc51([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2a836e=0x3ee3e5f^_0x539fe2;function _0x385f8f(){const _0x1aff00=_0x7cfc51([0x6c,0x6c,0x63,0x74,0x2d])+_0x38cb51(_0x34423c(_0x139b39)),_0x486390=_0x27e87b(_0x38cb51(window[_0x7cfc51([0x4d,0x61,0x74,0x68])][_0x7cfc51([0x63,0x65,0x69,0x6c])](_0xbe3ab8/_0x2a836e)));window[_0x7cfc51([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x7cfc51([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1aff00,_0x486390);}function _0x530e90(){const _0x2a486c=_0x7cfc51([0x6c,0x6c,0x63,0x74,0x2d])+_0x38cb51(_0x34423c(_0x139b39)),_0x3335c4=window[_0x7cfc51([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x7cfc51([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2a486c);return _0x3335c4?window[_0x7cfc51([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x27e87b(_0x3335c4),0x10)*_0x2a836e:null;}function _0x5486e1(_0x2652ca){return new window[(_0x7cfc51([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x586ef5,_0x2996de)=>{_0x2652ca[_0x7cfc51([0x74,0x68,0x65,0x6e])](_0x586ef5,_0x2996de),window[_0x7cfc51([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2996de,0x3d9041f^_0x539fe2);});}}_0x10f06a[_0x7cfc51([0x6f,0x6e])](_0x7cfc51([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x3275df,_0x16601e)=>{if(_0x16601e[0x0]!=_0x139b39)return _0x10b1ab(_0x7cfc51([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x16601e[0x1]={..._0x16601e[0x1],[_0x7cfc51([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x13fdf8};},{[_0x7cfc51([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x7cfc51([0x68,0x69,0x67,0x68])}),_0x10f06a[_0x7cfc51([0x6f,0x6e])](_0x7cfc51([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x542b3f=>{_0x457619(_0x542b3f[_0x7cfc51([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2121ec=!0x0,_0x121cd5(_0x542b3f[_0x7cfc51([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x7cfc51([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x7cfc51([0x6c,0x6f,0x77])}),_0x4beb30[_0x7cfc51([0x74,0x68,0x65,0x6e])](()=>{_0x2121ec||_0x10b1ab(_0x7cfc51([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x249100(){return _0x10f06a[_0x7cfc51([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x7cfc51([0x76,0x69,0x65,0x77])][_0x7cfc51([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x7cfc51([0x61,0x75,0x74,0x6f]);}function _0x4f1893(){_0x10f06a[_0x7cfc51([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x7cfc51([0x76,0x69,0x65,0x77])][_0x7cfc51([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x7cfc51([0x61,0x75,0x74,0x6f]);}}function _0xd08bb(_0x44b956){const _0x3ef6da=[new window[(_0x7cfc51([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x37a21b=>setTimeout(_0x37a21b,0x3d1ee13^_0x539fe2)),_0x4beb30[_0x7cfc51([0x74,0x68,0x65,0x6e])](()=>new window[(_0x7cfc51([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xfc0cbf=>{let _0x341ec9=0x0;_0x10f06a[_0x7cfc51([0x6d,0x6f,0x64,0x65,0x6c])][_0x7cfc51([0x6f,0x6e])](_0x7cfc51([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5b06cc,_0x172228)=>{_0x172228[0x0][_0x7cfc51([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x341ec9++,_0x341ec9==(0x3d8d127^_0x539fe2)&&(_0xfc0cbf(),_0x5b06cc[_0x7cfc51([0x6f,0x66,0x66])]());});}))];return window[_0x7cfc51([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x7cfc51([0x72,0x61,0x63,0x65])](_0x3ef6da)[_0x7cfc51([0x74,0x68,0x65,0x6e])](()=>_0x44b956);}async function _0x12667e(){await _0x4beb30,_0x10f06a[_0x7cfc51([0x6d,0x6f,0x64,0x65,0x6c])][_0x7cfc51([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3fa0f7,_0x10f06a[_0x7cfc51([0x6d,0x6f,0x64,0x65,0x6c])][_0x7cfc51([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3fa0f7,_0x10f06a[_0x7cfc51([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x7cfc51([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x29cfbd(_0x2942af){const _0x3153de=_0x485bfe();_0x10f06a[_0x3153de]=_0x7cfc51([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x2942af,_0x2942af!=_0x7cfc51([0x56,0x61,0x6c,0x69,0x64])&&_0x12667e();}function _0x485bfe(){const _0x3cf271=window[_0x7cfc51([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x7cfc51([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x7cfc51([0x6e,0x6f,0x77])]())[_0x7cfc51([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x7cfc51([0x2e]),'');let _0x2a314b=_0x7cfc51([0x52]);for(let _0x273223=0x0;_0x273223<_0x3cf271[_0x7cfc51([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x273223+=0x2){let _0x3a54b8=window[_0x7cfc51([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3cf271[_0x7cfc51([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x273223,_0x273223+0x2));_0x3a54b8>=_0x3383be[_0x7cfc51([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x3a54b8-=_0x3383be[_0x7cfc51([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2a314b+=_0x3383be[_0x3a54b8];}return _0x2a314b;}function _0xc4563f(){const _0x33f55a=_0x5ca372[_0x7cfc51([0x73,0x70,0x6c,0x69,0x74])](_0x7cfc51([0x2e]));if(0x3!=_0x33f55a[_0x7cfc51([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x3a5183(_0x33f55a[0x1]);function _0x3a5183(_0x198149){const _0x3f992a=_0x106aa1(_0x198149);return _0x3f992a&&_0x2fdeb4()?_0x3f992a:null;function _0x2fdeb4(){const _0x1731c4=_0x3f992a[_0x7cfc51([0x6a,0x74,0x69])],_0xd0b360=window[_0x7cfc51([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1731c4[_0x7cfc51([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1731c4[_0x7cfc51([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x404414={..._0x3f992a,[_0x7cfc51([0x6a,0x74,0x69])]:_0x1731c4[_0x7cfc51([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1731c4[_0x7cfc51([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x404414[_0x7cfc51([0x76,0x63])],_0x34423c(_0x404414)==_0xd0b360;}}}async function _0x2c4fda(){let _0x4184ff=!0x0;try{const _0x42a105=_0x5ca372[_0x7cfc51([0x73,0x70,0x6c,0x69,0x74])](_0x7cfc51([0x2e])),[_0x5e5faa,_0x55b2a2,_0x1a2832]=_0x42a105;return _0x142be4(_0x5e5faa),await _0x45f056(_0x5e5faa,_0x55b2a2,_0x1a2832),_0x4184ff;}catch{return!0x1;}function _0x142be4(_0x1c1a82){const _0x5483ec=_0x106aa1(_0x1c1a82);_0x5483ec&&_0x5483ec[_0x7cfc51([0x61,0x6c,0x67])]==_0x7cfc51([0x45,0x53,0x32,0x35,0x36])||(_0x4184ff=!0x1);}async function _0x45f056(_0x1d092c,_0x9c0b2c,_0x1759db){const _0x540b46=window[_0x7cfc51([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x7cfc51([0x66,0x72,0x6f,0x6d])](_0xf10d56(_0x1759db),_0x14ca07=>_0x14ca07[_0x7cfc51([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0xef443f=new window[(_0x7cfc51([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x7cfc51([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1d092c+_0x7cfc51([0x2e])+_0x9c0b2c),_0xafd53c=window[_0x7cfc51([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x7cfc51([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0xafd53c)return;const _0x4655fa=await _0xafd53c[_0x7cfc51([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x7cfc51([0x6a,0x77,0x6b]),_0x586c84,{[_0x7cfc51([0x6e,0x61,0x6d,0x65])]:_0x7cfc51([0x45,0x43,0x44,0x53,0x41]),[_0x7cfc51([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x7cfc51([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x7cfc51([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0xafd53c[_0x7cfc51([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x7cfc51([0x6e,0x61,0x6d,0x65])]:_0x7cfc51([0x45,0x43,0x44,0x53,0x41]),[_0x7cfc51([0x68,0x61,0x73,0x68])]:{[_0x7cfc51([0x6e,0x61,0x6d,0x65])]:_0x7cfc51([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4655fa,_0x540b46,_0xef443f)||(_0x4184ff=!0x1);}}function _0x106aa1(_0x20aa16){return _0x20aa16[_0x7cfc51([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x7cfc51([0x65,0x79]))?JSON[_0x7cfc51([0x70,0x61,0x72,0x73,0x65])](_0xf10d56(_0x20aa16)):null;}function _0xf10d56(_0x13513a){return window[_0x7cfc51([0x61,0x74,0x6f,0x62])](_0x13513a[_0x7cfc51([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x7cfc51([0x2b]))[_0x7cfc51([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x7cfc51([0x2f])));}function _0x34423c(_0x407967){let _0x3b70fa=0x1505;function _0x17f11d(_0x244aaa){for(let _0x26235e=0x0;_0x26235e<_0x244aaa[_0x7cfc51([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x26235e++){const _0x493d4d=_0x244aaa[_0x7cfc51([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x26235e);_0x3b70fa=(_0x3b70fa<<0x5)+_0x3b70fa+_0x493d4d,_0x3b70fa&=_0x3b70fa;}}function _0x59a78c(_0x59fc5b){Array[_0x7cfc51([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x59fc5b)?_0x59fc5b[_0x7cfc51([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x59a78c):_0x59fc5b&&typeof _0x59fc5b==_0x7cfc51([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x7cfc51([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x59fc5b)[_0x7cfc51([0x73,0x6f,0x72,0x74])]()[_0x7cfc51([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5a2427,_0xced853])=>{_0x17f11d(_0x5a2427),_0x59a78c(_0xced853);}):_0x17f11d(window[_0x7cfc51([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x59fc5b));}return _0x59a78c(_0x407967),_0x3b70fa>>>0x0;}function _0x38cb51(_0x535e86){return _0x535e86[_0x7cfc51([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x7cfc51([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x7cfc51([0x30]));}function _0x27e87b(_0x1294cf){return _0x1294cf[_0x7cfc51([0x73,0x70,0x6c,0x69,0x74])]('')[_0x7cfc51([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x7cfc51([0x6a,0x6f,0x69,0x6e])]('');}function _0x3fa0f7(){}function _0x7cfc51(_0x59a943){return _0x59a943['map'](_0x109608=>String['fromCharCode'](_0x109608))['join']('');}_0x29cfbd(await _0x1ce0eb());}(this);}['_initSchema'](){const _0x3374e6=this['editor']['model']['schema'];_0x3374e6['isRegistered']('imageBlock')&&_0x3374e6['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x3374e6['isRegistered']('imageInline')&&_0x3374e6['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x3549a5=this['editor'];_0x3549a5['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x3549a5['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x3706c6=>_0x3706c6['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x607eaa=_0x3549a5['commands']['get']('replaceImageSource');_0x607eaa&&this['listenTo'](_0x607eaa,'cleanupImage',(_0x95e39c,[_0x226ed1,_0x363bcd])=>{_0x226ed1['removeAttribute']('uploadcareImageId',_0x363bcd);});}['_initConfig'](){const _0x301b2f=this['editor']['config']['get']('uploadcare.uploader')||{},_0x5bfdcf=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x1bf8e9(_0x7b029a['document'],'uc-config',{..._0x301b2f,'pubkey':_0x5bfdcf,'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']=_0x243daa=>{if('closeMax'==_0x243daa)return'#uc-icon-arrow-down';},_0x7b029a['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x1bf8e9(_0x7b029a['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),_0x7b029a['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x17f176=this['editor']['commands']['get']('insertImage');_0x17f176&&this['listenTo'](_0x17f176,'execute',()=>{const _0x8b8091=this['editor']['model']['document']['selection']['getSelectedElement']();_0x8b8091&&_0x8b8091['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x8b8091);});});const _0x5d9b54=this['editor']['commands']['get']('uploadcareImageReplace');_0x5d9b54&&this['listenTo'](_0x5d9b54,'execute',()=>{const _0x5bbfb1=this['editor']['model']['document']['selection']['getSelectedElement']();_0x5bbfb1&&_0x5bbfb1['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x5bbfb1);});});}}class tt extends _0x463790{static get['requires'](){return[o,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x444038){super(_0x444038),_0x444038['config']['define']('uploadcare.uploader.sourceList',[i['Local'],i['URL']]),_0x19409['defineComponents'](_0x19409);}}class ii extends _0x538d2e{constructor(_0x3e896d){super(_0x3e896d);const t=_0x3e896d['t'],_0x41365b=this['bindTemplate'],_0x4e72c9=new _0x1a678d();_0x4e72c9['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':[_0x4e72c9,{'text':_0x41365b['to']('imageUploadProgress',_0x30557d=>t('Loading\x20image...')+'\x20('+(_0x30557d||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 _0x538d2e{constructor(_0xbc1207){super(_0xbc1207);const t=_0xbc1207['t'];this['set']('errorType',null);const _0x5e9ed7=new _0x399e1a(_0xbc1207);_0x5e9ed7['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x5e9ed7['withText']=!0x0,_0x5e9ed7['class']='ck-button-action',_0x5e9ed7['on']('execute',()=>{this['fire']('retry');}),_0x5e9ed7['bind']('isVisible')['to'](this,'errorType',_0x582e3b=>'NotFound'!==_0x582e3b);const _0x513850=new _0x217450();_0x513850['content']=_0x1770e2,_0x513850['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x4f1405=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':[_0x513850,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x4f1405['to']('errorType',_0x5d4249=>t('NotFound'!==_0x5d4249?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x5e9ed7]},{'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 _0x538d2e{constructor(_0x31b3a5,_0x4ad3dd){super(_0x31b3a5);const _0x808543=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x4ad3dd,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x808543['to']('imageSrc')}});}}class X extends F{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x1837bb,_0x419bc5,_0x4821f0){super(_0x1837bb),this['_items']=this['createCollection'](),this['_loadingView']=new ii(_0x1837bb),this['_errorView']=new ti(_0x1837bb),this['_editingView']=new ei(_0x1837bb,_0x4821f0),this['_focusableView']=new _0x538d2e(_0x1837bb),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x419bc5),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'],_0x46e5f6=>{this['_addUploadcareImageEditorListeners'](_0x46e5f6);});}),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'](_0x31731f,_0xcfc88b){const _0x50e2ab='uc-cloud-image-editor',_0x52adcf=_0x31731f['querySelector'](_0x50e2ab);if(_0x52adcf)return _0xcfc88b(_0x52adcf);const _0x4fe0d3=new MutationObserver(_0x8bd3fb=>{const _0x56781f=_0x8bd3fb['filter'](_0x388ae2=>_0x388ae2['target']===_0x31731f&&_0x388ae2['addedNodes']['length']>0x0&&_0x388ae2['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x50e2ab);_0x56781f['length']&&(_0x4fe0d3['disconnect'](),_0xcfc88b(_0x56781f[0x0]['addedNodes'][0x0]));});_0x4fe0d3['observe'](_0x31731f,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0xbfb563){_0xbfb563['addEventListener']('apply',_0x10860a=>{this['fire']('apply',{'imageSrc':_0x10860a['detail']['cdnUrl']});}),_0xbfb563['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class N extends/* #__PURE__ -- @preserve */
25
- _0x56c2cd(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x5d6b39,_0x4d7471,_0x205ea6){super(),this['_editor']=_0x5d6b39,this['_dialog']=_0x4d7471,this['_imageElement']=_0x205ea6,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 _0x217d16=this['_imageElement'],_0xef08ef=_0x217d16['getAttribute']('uploadcareImageId'),_0x7e148e=_0x217d16['getAttribute']('src');if(_0xef08ef)await this['_loadImageInfo'](_0xef08ef,_0x7e148e);else{if(this['_imageCache']['has'](_0x7e148e)){const _0x415de1=this['_imageCache']['get'](_0x7e148e);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x415de1['url'],this['imageDimension']=_0x415de1['dimension'],this['imageId']=_0x415de1['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x4e6029}=this['_editor'],t=_0x4e6029['t'],_0x2a72c7=new X(_0x4e6029,this['imageStatus'],this['_attributes']);_0x2a72c7['bind']('status')['to'](this,'imageStatus'),_0x2a72c7['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x2a72c7['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x2a72c7['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x2a72c7,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x44df01,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x2a72c7,'position':_0x5f10af['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x2a72c7['focus']();},'onHide':()=>{_0x2a72c7['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x5b190b=>!A(_0x5b190b,_0x2a72c7['element'])}});}['_loadImageInfo'](_0x51751f,_0x246197){return j['getInfo'](_0x51751f,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x1966fd=>{const {width:_0x459cc4,height:_0x373190}=_0x1966fd['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x246197,this['imageDimension']={'width':_0x459cc4,'height':_0x373190},this['imageId']=_0x51751f;})['catch'](_0x2ee77a=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x2ee77a['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0xc5795f,_0x63e156){return this['_getImageAsFile'](_0xc5795f)['then'](_0x46a1fa=>j['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['_editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':_0x63e156['signal'],'file':_0x46a1fa,'onProgress':_0x4e9209=>{_0x4e9209&&_0x4e9209['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x4e9209['value']));}}))['then'](_0x465316=>{const {width:_0x3626c2,height:_0x31a55f}=_0x465316['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x465316['cdnUrl'],this['imageDimension']={'width':_0x3626c2,'height':_0x31a55f},this['imageId']=_0x465316['uuid'],this['imageUploadProgress']=null;const _0x14f570=_0xc5795f['getAttribute']('src');this['_imageCache']['set'](_0x14f570,{'id':_0x465316['uuid'],'url':_0x465316['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x99cfa8=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x99cfa8['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x38a902,_0x437828){_0x38a902['on']('apply',(_0x5f4172,_0xaa1cf5)=>{this['_replaceImage'](_0x437828,_0xaa1cf5['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x38a902['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x38a902['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x366fd9,_0x4ffc97,_0x374115){const _0x1b9bdf=this['_editor'],{width:_0x5a2559,height:_0xf8a308}=S(_0x4ffc97,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x2bf766,imageSources:_0x4af9f6}=C(_0x4ffc97,_0x5a2559);_0x1b9bdf['model']['change'](_0x444bb7=>{if('$graveyard'===_0x366fd9['root']['rootName']){_0x1b9bdf['execute']('insertImage',{'imageType':_0x366fd9['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x366fd9['getAttributes']()),'uploadcareImageId':_0x374115,'src':_0x2bf766,'sources':_0x4af9f6,'width':_0x5a2559,'height':_0xf8a308}});const _0x45ee5c=_0x366fd9['getChildren']();_0x366fd9=_0x1b9bdf['model']['document']['selection']['getSelectedElement']();for(const _0x259bdd of _0x45ee5c)_0x444bb7['append'](_0x444bb7['cloneElement'](_0x259bdd),_0x366fd9);}else _0x444bb7['setSelection'](_0x366fd9,'on'),_0x1b9bdf['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x366fd9['getAttributes']()),'uploadcareImageId':_0x374115,'src':_0x2bf766,'sources':_0x4af9f6,'width':_0x5a2559,'height':_0xf8a308},_0x366fd9);_0x444bb7['setSelection'](_0x366fd9,'on');});}async['_getImageAsFile'](_0x5b6ff8){const _0x3b59f3=_0x7b029a['window'],_0xbc0432=_0x7b029a['document']['location']['href'],_0x3c8922=new _0x3b59f3['URL'](_0x5b6ff8['getAttribute']('src'),_0xbc0432);if('data:'===_0x3c8922['protocol']){const _0x35d65a=_0x3c8922['href']['split'](','),_0x13a666=_0x35d65a[0x0]['match'](/:(.*?);/)[0x1],_0x332f83=_0x13a666['split']('/')[0x1],_0x31fbe9=_0x3b59f3['atob'](_0x35d65a[_0x35d65a['length']-0x1]);let _0x4e484b=_0x31fbe9['length'];const _0x12a09d=new _0x3b59f3['Uint8Array'](_0x4e484b);for(;_0x4e484b--;)_0x12a09d[_0x4e484b]=_0x31fbe9['charCodeAt'](_0x4e484b);return new _0x3b59f3['File']([_0x12a09d],'image.'+_0x332f83,{'type':_0x13a666});}const _0x5a6104=_0x3c8922['href']['split']('/'),_0x52ef2c=_0x5a6104[_0x5a6104['length']-0x1],_0x5c254b=_0x52ef2c['split']('.')[0x1];return _0x3b59f3['fetch'](_0x3c8922['href'])['then'](_0x1530db=>_0x1530db['clone']()['blob']())['then'](_0x484831=>new _0x3b59f3['File']([_0x484831],_0x52ef2c,{'type':'image/'+_0x5c254b}));}}class Q extends _0x23ff3b{['imageEditController'];static get['requires'](){return[_0x44e484];}['_isEditable'];constructor(_0x10b748){super(_0x10b748),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x155e59){const _0x38bf82=z(_0x155e59);return _0x3d4b4a=>!(!_0x3d4b4a||!_0x3d4b4a['is']('element','imageBlock')&&!_0x3d4b4a['is']('element','imageInline'))&&(!!_0x3d4b4a['hasAttribute']('uploadcareImageId')||!!_0x3d4b4a['hasAttribute']('src')&&_0x38bf82(_0x3d4b4a['getAttribute']('src')));}(_0x10b748['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x5a92e6=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x5a92e6);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x1537c4=this['editor']['model']['document']['selection']['getSelectedElement']();_0x1537c4&&(_0x1537c4['is']('element','imageBlock')||_0x1537c4['is']('element','imageInline'))&&(this['imageEditController']=new N(this['editor'],this['editor']['plugins']['get'](_0x44e484),_0x1537c4),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class V extends _0x23ff3b{['refresh'](){const _0x2abaf2=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x2abaf2&&(_0x2abaf2['is']('element','imageBlock')||_0x2abaf2['is']('element','imageInline')));}['execute'](_0x21556e){const _0x466d12=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x51fb18=>{_0x51fb18['setAttributes'](_0x21556e,_0x466d12),_0x51fb18['removeAttribute']('srcset',_0x466d12),_0x51fb18['removeAttribute']('sizes',_0x466d12);});}}class m extends _0x463790{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[o,_0x3490dc,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x47eb2b}=this;_0x47eb2b['commands']['add']('uploadcareImageEdit',new Q(_0x47eb2b)),_0x47eb2b['commands']['add']('uploadcareImageReplace',new V(_0x47eb2b));}}class g extends _0x463790{['_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 _0x28dc0d=this['editor'];_0x28dc0d['ui']['componentFactory']['add']('uploadcareImageEdit',_0x592e0a=>{const _0x33b4d5=_0x28dc0d['commands']['get']('uploadcareImageEdit'),_0x2e2ca0=new _0x399e1a(_0x592e0a),t=_0x592e0a['t'];return _0x2e2ca0['set']({'icon':_0x44df01,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x2e2ca0['bind']('isEnabled')['to'](_0x33b4d5),_0x2e2ca0['bind']('isOn')['to'](_0x33b4d5,'isActive'),this['listenTo'](_0x2e2ca0,'execute',()=>{_0x28dc0d['execute']('uploadcareImageEdit'),_0x28dc0d['editing']['view']['focus']();}),_0x2e2ca0;}),this['_initConfig']();}['_initConfig'](){const _0x25f487=_0x1bf8e9(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x25f487),this['listenTo'](this['editor'],'destroy',()=>{_0x25f487['remove']();});}}class et extends _0x463790{static get['pluginName'](){return'UploadcareImageEdit';}static get['requires'](){return[m,g];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{tt as Uploadcare,w as UploadcareCommand,o as UploadcareEditing,et as UploadcareImageEdit,Q as UploadcareImageEditCommand,m as UploadcareImageEditEditing,g as UploadcareImageEditUI,e as UploadcareUI,f as UploadcareUploadAdapter};
23
+ import{Plugin as _0x481859,Command as _0x56b3e8}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x28a41f,IconGooglePhotos as _0x4d2066,IconGoogleDrive as _0xf0a951,IconFacebook as _0x471aed,IconDropbox as _0x33897d,IconUploadcareLink as _0x41af93,IconUploadcareImageUpload as _0x1186fd,IconError as _0x1d5d30,IconUploadcareImageEdit as _0x3d5a23}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x179ab7,MenuBarMenuListItemButtonView as _0x126fb7,View as _0x55e9d9,FocusCycler as _0x223a8d,Dialog as _0xb1d847,DialogViewPosition as _0x21ba63,SpinnerView as _0x1e9c45,IconView as _0x18dc60,Notification as _0x1fbd27}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x22811f,DomEmitterMixin as _0xc8b654,global as _0x48f01f,getAncestors as _0x3979ec,ObservableMixin as _0x3c9e46,uid as _0x120f32,createElement as _0x3197f6}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x5d2e89}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x2fa61c,info as _0xd351bb}from'@uploadcare/upload-client';import*as _0x43efdd from'@uploadcare/file-uploader';var i=function(_0x4d8657){return _0x4d8657['Local']='local',_0x4d8657['URL']='url',_0x4d8657['Dropbox']='dropbox',_0x4d8657['GDrive']='gdrive',_0x4d8657['Facebook']='facebook',_0x4d8657['GPhotos']='gphotos',_0x4d8657['OneDrive']='onedrive',_0x4d8657;}({});function _(_0x61c3ee,_0x19abb1,_0xa41a38){const t=_0x61c3ee['t'],_0x1963c5=_0x61c3ee['t'];switch(_0x19abb1){case i['Local']:return{'text':_0x1963c5('Insert'===_0xa41a38?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x1963c5('From\x20computer')};case i['URL']:return{'text':'Insert'===_0xa41a38?_0x1963c5('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x1963c5('Via\x20URL')};case i['Dropbox']:return{'text':t('Insert'===_0xa41a38?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case i['Facebook']:return{'text':t('Insert'===_0xa41a38?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case i['GDrive']:return{'text':t('Insert'===_0xa41a38?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case i['GPhotos']:return{'text':t('Insert'===_0xa41a38?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case i['OneDrive']:return{'text':t('Insert'===_0xa41a38?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x19abb1;}}class e extends _0x481859{['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 _0x131a7d=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x497bab;for(const _0xc81d68 in _0x131a7d){const _0x43d4be=_0xc81d68,_0xebaa65=_0x131a7d[_0x43d4be];if('uploadcareLicenseKeyValid'==_0xebaa65||'uploadcareLicenseKeyInvalid'==_0xebaa65||'uploadcareLicenseKeyExpired'==_0xebaa65||'uploadcareLicenseKeyDomainLimit'==_0xebaa65||'uploadcareLicenseKeyNotAllowed'==_0xebaa65||'uploadcareLicenseKeyEvaluationLimit'==_0xebaa65||'uploadcareLicenseKeyTrialLimit'==_0xebaa65||'uploadcareLicenseKeyUsageLimit'==_0xebaa65){delete _0x131a7d[_0x43d4be],_0x497bab=_0xebaa65,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x497bab&&_0x131a7d['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x497bab&&_0x131a7d['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x497bab&&_0x131a7d['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x497bab&&_0x131a7d['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x497bab&&_0x131a7d['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0x497bab&&_0x131a7d['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0x497bab&&_0x131a7d['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x34a994}=this,_0x49c9df=_0x34a994['commands']['get']('uploadcare');if(!_0x49c9df)return;const _0x2df07a=this['_normalizeConfigSourceList'](_0x34a994['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x5b83c3,_0x4fdf23)=>{const _0x1fdefd=this['_getIntegrationKey'](_0x4fdf23['type']);return _0x5b83c3[_0x1fdefd]||(_0x5b83c3[_0x1fdefd]=[]),_0x5b83c3[_0x1fdefd]['push'](_0x4fdf23),_0x5b83c3;},{});_0x34a994['plugins']['has']('ImageInsertUI')&&_0x34a994['commands']['get']('uploadcare')&&Object['entries'](_0x2df07a)['forEach'](([_0x22c5c8,_0x50fda8])=>{_0x34a994['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x22c5c8,'observable':()=>_0x49c9df,'buttonViewCreator':()=>this['_createToolbarButton'](_0x50fda8),'formViewCreator':()=>this['_createDropdownButtons'](_0x50fda8),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x50fda8),'override':'assetManager'!==_0x22c5c8});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0xb77ffa){const {locale:_0x282ea6}=this['editor'];return _0xb77ffa['map'](_0x28236a=>{const _0x89dfa5=_(_0x282ea6,_0x28236a,'Insert');switch(_0x28236a){case i['Local']:return{'icon':_0x1186fd,'type':i['Local'],..._0x89dfa5};case i['URL']:return{'icon':_0x41af93,'type':i['URL'],..._0x89dfa5};case i['Dropbox']:return{'icon':_0x33897d,'type':i['Dropbox'],..._0x89dfa5};case i['Facebook']:return{'icon':_0x471aed,'type':i['Facebook'],..._0x89dfa5};case i['GDrive']:return{'icon':_0xf0a951,'type':i['GDrive'],..._0x89dfa5};case i['GPhotos']:return{'icon':_0x4d2066,'type':i['GPhotos'],..._0x89dfa5};case i['OneDrive']:return{'icon':_0x28a41f,'type':i['OneDrive'],..._0x89dfa5};}});}['_getIntegrationKey'](_0x5cecca){switch(_0x5cecca){case i['Local']:return'upload';case i['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x2b6b86,_0x512eea){const _0x24305=this['editor'],_0x4882f7=new _0x2b6b86(_0x24305['locale']),_0x20e10e=_0x24305['commands']['get']('uploadcare');return _0x4882f7['bind']('isEnabled')['to'](_0x20e10e),_0x4882f7['on']('execute',()=>{_0x20e10e['execute'](_0x512eea);}),_0x4882f7;}['_createToolbarButton'](_0x26bfd8){const {locale:_0x551322}=this['editor'],_0x1be361=this['editor']['plugins']['get']('ImageInsertUI'),_0x5c8408=_0x26bfd8[0x0],_0x39d76a=this['_createButton'](_0x179ab7,_0x5c8408['type']);return _0x39d76a['icon']=_0x5c8408['icon'],_0x39d76a['bind']('label')['to'](_0x1be361,'isImageSelected',_0x5c59c3=>_(_0x551322,_0x5c8408['type'],_0x5c59c3?'Replace':'Insert')['text']),_0x39d76a['tooltip']=!0x0,_0x39d76a;}['_createDropdownButtons'](_0x562ee4){const {locale:_0xa82ad3}=this['editor'],_0x151343=this['editor']['plugins']['get']('ImageInsertUI');return _0x562ee4['map'](_0x3e2245=>{const _0x3f8499=this['_createButton'](_0x179ab7,_0x3e2245['type']);return _0x3f8499['withText']=!0x0,_0x3f8499['icon']=_0x3e2245['icon'],_0x3f8499['bind']('label')['to'](_0x151343,'isImageSelected',_0x2cd18f=>_(_0xa82ad3,_0x3e2245['type'],_0x2cd18f?'Replace':'Insert')['text']),_0x3f8499;});}['_createMenuBarButtons'](_0x26c045){return _0x26c045['map'](_0x37f38f=>{const _0x97efe0=this['_createButton'](_0x126fb7,_0x37f38f['type']);return _0x97efe0['icon']=_0x37f38f['icon'],_0x97efe0['label']=_0x37f38f['shortText'],_0x97efe0;});}}class F extends _0x55e9d9{['focusTracker'];['focusCycler'];constructor(_0x137b7d){super(_0x137b7d),this['focusTracker']=new _0x22811f(),this['focusCycler']=new _0x223a8d({'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(_0x34df5f,_0x4b694b){super(_0x34df5f),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-'+_0x4b694b}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function C(_0x83166c,_0x1f85b4){const _0x1529a1=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x1746d6=>_0x1746d6<=_0x1f85b4)['map'](_0x51687c=>_0x83166c['replace'](/\/$/,'')+'/-/resize/'+_0x51687c+'x/\x20'+_0x51687c+'w');return{'imageFallbackUrl':_0x83166c,'imageSources':[{'srcset':_0x1529a1['join'](',\x20'),'sizes':'(max-width:\x20'+_0x1f85b4+'px)\x20100vw,\x20'+_0x1f85b4+'px','type':'image/webp'}]};}function S(_0x3c9933,_0x1becd5,_0x14e39a){const _0x5cf03=_0x3c9933['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x5cf03?parseInt(_0x5cf03[0x1],0xa):_0x1becd5,'height':_0x5cf03?parseInt(_0x5cf03[0x2],0xa):_0x14e39a};}function p(_0x4dc068,_0x330c95){const _0x5d6284=new(_0xc8b654())(),_0x2306ff=_0x4dc068['plugins']['get']('ImageUtils'),_0x39536d=_0x4dc068['editing']['mapper']['toViewElement'](_0x330c95),_0x5c3fc6=_0x2306ff['findViewImgElement'](_0x39536d),_0x37b13e=_0x4dc068['editing']['view']['domConverter']['viewToDom'](_0x5c3fc6),_0x2a9496=_0x330c95['getAttribute']('width'),_0x25aa72=_0x330c95['getAttribute']('height'),_0x5c9e8e='image-processing';_0x4dc068['editing']['view']['change'](_0x41d7f8=>{_0x41d7f8['addClass'](_0x5c9e8e,_0x39536d),_0x41d7f8['setStyle']('aspect-ratio',_0x2a9496+'/'+_0x25aa72,_0x5c3fc6);}),_0x5d6284['listenTo'](_0x37b13e,'load',()=>{_0x5d6284['stopListening'](_0x37b13e,'load'),_0x4dc068['editing']['view']['change'](_0x1e7c33=>{_0x1e7c33['removeClass'](_0x5c9e8e,_0x39536d),_0x1e7c33['removeStyle']('aspect-ratio',_0x5c3fc6);});});}function G(_0x165b88){if(Array['isArray'](_0x165b88)){const _0x5ca9bc=_0x165b88['map'](G);return _0x3761a=>_0x5ca9bc['some'](_0x40ba23=>_0x40ba23(_0x3761a));}if('origin'==_0x165b88){const _0x38f91b=_0x48f01f['window']['location']['origin'];return _0x174511=>new URL(_0x174511,_0x48f01f['document']['baseURI'])['origin']==_0x38f91b;}return'function'==typeof _0x165b88?_0x165b88:_0x165b88 instanceof RegExp?_0x3ca7b1=>!(!_0x3ca7b1['match'](_0x165b88)&&!_0x3ca7b1['replace'](/^https?:\/\//,'')['match'](_0x165b88)):()=>!0x1;}function A(_0x472164,_0x140328){return _0x3979ec(_0x472164['target'])['includes'](_0x140328);}class n extends/* #__PURE__ -- @preserve */
24
+ _0x3c9e46(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x4e0bb9,_0x1235a7,_0x41ccc5){super(),this['_editor']=_0x4e0bb9,this['_editing']=_0x1235a7,this['_dialog']=_0x4e0bb9['plugins']['get'](_0xb1d847),this['_api']=_0x1235a7['ctxElement']['getAPI'](),this['_type']=_0x41ccc5,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:_0x3ff0c7,model:_0x1e1a73}=this['_editor'],_0x185f4f=_0x1e1a73['document']['selection']['getSelectedElement'](),_0x419218=_0x185f4f&&(_0x185f4f['is']('element','imageBlock')||_0x185f4f['is']('element','imageInline'));this['_formView']=new x(_0x3ff0c7,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':_0x1186fd,'title':_(_0x3ff0c7,this['_type'],_0x419218?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x21ba63['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x111d01=>!A(_0x111d01,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0xcbe319}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x228f12=>{const _0x1e7a8a=_0xcbe319['length'];for(const _0x20f273 of _0xcbe319){const _0x5c7dc3=_0x20f273===_0xcbe319[_0x1e7a8a-0x1],{cdnUrl:_0x578005,fileInfo:_0x1e53fd}=_0x20f273;if(!_0x578005||!_0x1e53fd)continue;const {width:_0x5c8eda,height:_0x243e13}=_0x1e53fd['imageInfo'],_0x3cb884=S(_0x578005,_0x5c8eda,_0x243e13),_0x45843a=C(_0x578005,_0x3cb884['width']),_0x45efe9={'id':_0x1e53fd['uuid'],'type':'image','attributes':{'imageDimension':_0x3cb884,..._0x45843a}};this['_insertAsset'](_0x45efe9,_0x5c7dc3,_0x228f12);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x468772=>{'idle'===_0x468772['detail']['status']&&!_0x468772['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===i['Local']?this['_api']['setCurrentActivity'](i['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x416848,_0x1a5ca2,_0x3e484a){const _0x4e536a=this['_editor']['model']['document']['selection'],_0x4bcf0b=_0x4e536a['getSelectedElement'](),_0x42b172=!(!_0x4bcf0b||!_0x4bcf0b['is']('element','imageInline'));_0x3e484a['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x416848,_0x42b172),_0x1a5ca2||_0x3e484a['setSelection'](_0x4e536a['getLastPosition']());}['_insertImage'](_0x2ec182,_0x2c3081){const _0x36709b=this['_editor'],{imageDimension:_0x15e6ff,imageFallbackUrl:_0x8d2ad5,imageSources:_0x2c8465}=_0x2ec182['attributes'];_0x36709b['execute']('insertImage',{'imageType':_0x2c3081?'imageInline':null,'source':{'uploadcareImageId':_0x2ec182['id'],'src':_0x8d2ad5,'sources':_0x2c8465,..._0x15e6ff}});}}class w extends _0x56b3e8{['_editing'];['_controller']=null;static get['requires'](){return[_0xb1d847,o];}constructor(_0x55aae9){super(_0x55aae9),this['_editing']=_0x55aae9['plugins']['get'](o);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x4b93e7){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new n(this['editor'],this['_editing'],_0x4b93e7);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class j{static['upload']({file:_0x3e3ef8,..._0x3f62c9}){return _0x2fa61c(_0x3e3ef8,_0x3f62c9);}static['getInfo'](_0x11d969,_0x5354f3){return _0xd351bb(_0x11d969,_0x5354f3);}}class f extends _0x481859{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x5d2e89,o];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x26c54e=this['editor'];if(!!!_0x26c54e['config']['get']('uploadcare'))return;_0x26c54e['plugins']['get'](_0x5d2e89)['createUploadAdapter']=_0xef465b=>new k(_0xef465b,_0x26c54e),_0x26c54e['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x32eff9,{imageElement:_0x5a0eef,data:_0x519459})=>{_0x26c54e['model']['change'](_0x4b2dc1=>{_0x4b2dc1['setAttribute']('uploadcareImageId',_0x519459['uploadcareImageId'],_0x5a0eef);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x3c69cc,_0x3a8548){this['loader']=_0x3c69cc,this['editor']=_0x3a8548,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x1d01e8=await this['loader']['file'];return j['upload']({'file':_0x1d01e8,'publicKey':this['editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':this['controller']['signal'],'onProgress':_0xd53b2b=>{_0xd53b2b&&_0xd53b2b['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0xd53b2b['value']);}})['then'](async _0x1a0989=>{const {imageFallbackUrl:_0x5bbb08,imageSources:_0x4cfc9e}=C(_0x1a0989['cdnUrl'],_0x1a0989['imageInfo']['width']);return{'uploadcareImageId':_0x1a0989['uuid'],'default':_0x5bbb08,'sources':_0x4cfc9e};})['catch'](()=>{const _0x25fe1c=t('Cannot\x20upload\x20file:')+('\x20'+_0x1d01e8['name']+'.');return Promise['reject'](_0x25fe1c);});}['abort'](){this['controller']['abort']();}}class o extends _0x481859{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',f,_0xb1d847];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['ucContextId'];get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}constructor(_0x2889a1){super(_0x2889a1),this['ucContextId']=_0x120f32();}['init'](){const _0x40c153=this['editor'];_0x40c153['commands']['add']('uploadcare',new w(_0x40c153));}['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 _0x253b0d=_0x48f01f['document']['querySelector']('input[uploadcare-file-input]');_0x253b0d&&_0x253b0d['remove']();}),async function(_0x16c71d){const _0x218acb=_0x2269e6([0x52,0x42,0x63,0x58,0x64,0x47,0x66,0x35,0x36,0x37,0x6d,0x4e,0x6a,0x4b,0x39,0x44,0x54,0x70,0x50,0x30,0x49,0x79,0x69,0x33,0x67,0x65,0x61,0x38,0x5a,0x76,0x7a,0x6c,0x45,0x34,0x62,0x46,0x75,0x57,0x72,0x77,0x73,0x48,0x31,0x68,0x6e,0x4f,0x53,0x4c,0x71,0x6b,0x59,0x32,0x4d,0x51,0x4a,0x78,0x6f,0x56,0x41,0x55,0x74,0x43]),_0x421dd4=0x3d8d0df,_0x357632=0x3dfa44f^_0x421dd4,_0x1d674d=window[_0x2269e6([0x44,0x61,0x74,0x65])][_0x2269e6([0x6e,0x6f,0x77])](),_0x416e80=_0x16c71d[_0x2269e6([0x65,0x64,0x69,0x74,0x6f,0x72])],_0xc365ea=new window[(_0x2269e6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x345ada=>{_0x416e80[_0x2269e6([0x6f,0x6e,0x63,0x65])](_0x2269e6([0x72,0x65,0x61,0x64,0x79]),_0x345ada);}),_0x5c5f80={[_0x2269e6([0x6b,0x74,0x79])]:_0x2269e6([0x45,0x43]),[_0x2269e6([0x75,0x73,0x65])]:_0x2269e6([0x73,0x69,0x67]),[_0x2269e6([0x63,0x72,0x76])]:_0x2269e6([0x50,0x2d,0x32,0x35,0x36]),[_0x2269e6([0x78])]:_0x2269e6([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]),[_0x2269e6([0x79])]:_0x2269e6([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]),[_0x2269e6([0x61,0x6c,0x67])]:_0x2269e6([0x45,0x53,0x32,0x35,0x36])},_0x10711c=_0x416e80[_0x2269e6([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2269e6([0x67,0x65,0x74])](_0x2269e6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x153a66(){let _0x43d7a0,_0x2841d6=null,_0x33c532=null;try{if(_0x10711c==_0x2269e6([0x47,0x50,0x4c]))return _0x2269e6([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x43d7a0=_0x57333a(),!_0x43d7a0)return _0x2269e6([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x43d7a0[_0x2269e6([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x33c532=_0x4c91f5(_0x43d7a0[_0x2269e6([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x43d7a0[_0x2269e6([0x6a,0x74,0x69])])),await _0x1a38ad()?_0x56487a()?_0x7ea982()?_0x2269e6([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x2eece3()?(_0x43d7a0[_0x2269e6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2269e6([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2841d6=_0x541ff1(_0x2269e6([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x43d7a0[_0x2269e6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2269e6([0x74,0x72,0x69,0x61,0x6c])&&(_0x2841d6=_0x541ff1(_0x2269e6([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x2b1b34()):_0x2269e6([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2269e6([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2269e6([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x2269e6([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x7ea982(){const _0x31b13c=[_0x2269e6([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2269e6([0x74,0x72,0x69,0x61,0x6c])][_0x2269e6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x43d7a0[_0x2269e6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1d674d/0x3e8:0xe10*_0x357632;return _0x43d7a0[_0x2269e6([0x65,0x78,0x70])]<_0x31b13c;}function _0x56487a(){const _0x1bae9f=_0x43d7a0[_0x2269e6([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x1bae9f&&(!!_0x1bae9f[_0x2269e6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2269e6([0x2a]))||!!_0x1bae9f[_0x2269e6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2269e6([0x55,0x50,0x4c,0x43])));}function _0x2eece3(){const _0x2637af=_0x43d7a0[_0x2269e6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x2637af||0x0==_0x2637af[_0x2269e6([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x57225d}=new URL(window[_0x2269e6([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x2637af[_0x2269e6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x57225d))return!0x0;const _0xd84b15=_0x57225d[_0x2269e6([0x73,0x70,0x6c,0x69,0x74])](_0x2269e6([0x2e]));return _0x2637af[_0x2269e6([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x267077=>_0x267077[_0x2269e6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2269e6([0x2a])))[_0x2269e6([0x6d,0x61,0x70])](_0x3e61b5=>_0x3e61b5[_0x2269e6([0x73,0x70,0x6c,0x69,0x74])](_0x2269e6([0x2e])))[_0x2269e6([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2dead0=>_0x2dead0[_0x2269e6([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0xd84b15[_0x2269e6([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2269e6([0x6d,0x61,0x70])](_0x51a4c5=>Array(_0xd84b15[_0x2269e6([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x51a4c5[_0x2269e6([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2269e6([0x66,0x69,0x6c,0x6c])](_0x51a4c5[0x0]===_0x2269e6([0x2a])?_0x2269e6([0x2a]):'')[_0x2269e6([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x51a4c5))[_0x2269e6([0x73,0x6f,0x6d,0x65])](_0x4f7325=>_0xd84b15[_0x2269e6([0x65,0x76,0x65,0x72,0x79])]((_0x1d576a,_0x475ae2)=>_0x4f7325[_0x475ae2]===_0x1d576a||_0x4f7325[_0x475ae2]===_0x2269e6([0x2a])));}function _0x2b1b34(){return _0x2841d6&&_0x33c532?new window[(_0x2269e6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x280f47,_0x48e50d)=>{_0x2841d6[_0x2269e6([0x74,0x68,0x65,0x6e])](_0x280f47,_0x48e50d),_0x33c532[_0x2269e6([0x74,0x68,0x65,0x6e])](_0x4485d9=>{_0x4485d9!=_0x2269e6([0x56,0x61,0x6c,0x69,0x64])&&_0x280f47(_0x4485d9);},_0x48e50d);}):_0x2841d6||_0x33c532||_0x2269e6([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4c91f5(_0x4612df,_0x1bb92a){return new window[(_0x2269e6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x41afd9=>{if(_0xfb7112())return _0x41afd9(_0x2269e6([0x56,0x61,0x6c,0x69,0x64]));_0x15a7cc(),_0x416e80[_0x2269e6([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2269e6([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x1568bd=!0x1;const _0x24e7c9=_0x120f32();function _0xb7d641(_0x328474){return!!_0x328474&&(typeof _0x328474===_0x2269e6([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x328474===_0x2269e6([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x328474[_0x2269e6([0x74,0x68,0x65,0x6e])]===_0x2269e6([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x328474[_0x2269e6([0x63,0x61,0x74,0x63,0x68])]===_0x2269e6([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x10c0b1(_0xddfa7){_0x6b8a70(_0xddfa7)[_0x2269e6([0x74,0x68,0x65,0x6e])](_0x481e34=>{if(!_0x481e34||_0x481e34[_0x2269e6([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2269e6([0x6f,0x6b]))return _0x2269e6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x317431(_0x2e5ff5(_0x24e7c9+_0x1bb92a))!=_0x481e34[_0x2269e6([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2269e6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2269e6([0x56,0x61,0x6c,0x69,0x64]);})[_0x2269e6([0x74,0x68,0x65,0x6e])](_0x1e4247=>(_0x2db8d(),_0x1e4247),()=>{const _0xfd831=_0x959928();return null==_0xfd831?(_0x2db8d(),_0x2269e6([0x56,0x61,0x6c,0x69,0x64])):_0x2269e6(_0x1d674d-_0xfd831>(0x27d454df^_0x421dd4)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2269e6([0x74,0x68,0x65,0x6e])](_0x41afd9)[_0x2269e6([0x63,0x61,0x74,0x63,0x68])](()=>{_0x41afd9(_0x2269e6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x469b75=0x3ee3e5f^_0x421dd4;function _0x2db8d(){const _0x4ba676=_0x2269e6([0x6c,0x6c,0x63,0x74,0x2d])+_0x317431(_0x2e5ff5(_0x4612df)),_0x2a9f44=_0x23934b(_0x317431(window[_0x2269e6([0x4d,0x61,0x74,0x68])][_0x2269e6([0x63,0x65,0x69,0x6c])](_0x1d674d/_0x469b75)));window[_0x2269e6([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2269e6([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4ba676,_0x2a9f44);}function _0x959928(){const _0x2ba456=_0x2269e6([0x6c,0x6c,0x63,0x74,0x2d])+_0x317431(_0x2e5ff5(_0x4612df)),_0x153d3e=window[_0x2269e6([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2269e6([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2ba456);return _0x153d3e?window[_0x2269e6([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x23934b(_0x153d3e),0x10)*_0x469b75:null;}function _0x6b8a70(_0x316a2b){return new window[(_0x2269e6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x143025,_0x3486d5)=>{_0x316a2b[_0x2269e6([0x74,0x68,0x65,0x6e])](_0x143025,_0x3486d5),window[_0x2269e6([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3486d5,0x3d9041f^_0x421dd4);});}}_0x416e80[_0x2269e6([0x6f,0x6e])](_0x2269e6([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x330b9d,_0x1414ec)=>{if(_0x1414ec[0x0]!=_0x4612df)return _0x41afd9(_0x2269e6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1414ec[0x1]={..._0x1414ec[0x1],[_0x2269e6([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x24e7c9};},{[_0x2269e6([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2269e6([0x68,0x69,0x67,0x68])}),_0x416e80[_0x2269e6([0x6f,0x6e])](_0x2269e6([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x564407=>{_0xb7d641(_0x564407[_0x2269e6([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x1568bd=!0x0,_0x10c0b1(_0x564407[_0x2269e6([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2269e6([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2269e6([0x6c,0x6f,0x77])}),_0xc365ea[_0x2269e6([0x74,0x68,0x65,0x6e])](()=>{_0x1568bd||_0x41afd9(_0x2269e6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0xfb7112(){return _0x416e80[_0x2269e6([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2269e6([0x76,0x69,0x65,0x77])][_0x2269e6([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2269e6([0x61,0x75,0x74,0x6f]);}function _0x15a7cc(){_0x416e80[_0x2269e6([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2269e6([0x76,0x69,0x65,0x77])][_0x2269e6([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2269e6([0x61,0x75,0x74,0x6f]);}}function _0x541ff1(_0xe6e370){const _0x132b0b=[new window[(_0x2269e6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xc4b8f2=>setTimeout(_0xc4b8f2,0x3d1ee13^_0x421dd4)),_0xc365ea[_0x2269e6([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2269e6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x949371=>{let _0x15960f=0x0;_0x416e80[_0x2269e6([0x6d,0x6f,0x64,0x65,0x6c])][_0x2269e6([0x6f,0x6e])](_0x2269e6([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x2c1114,_0x38da6a)=>{_0x38da6a[0x0][_0x2269e6([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x15960f++,_0x15960f==(0x3d8d127^_0x421dd4)&&(_0x949371(),_0x2c1114[_0x2269e6([0x6f,0x66,0x66])]());});}))];return window[_0x2269e6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2269e6([0x72,0x61,0x63,0x65])](_0x132b0b)[_0x2269e6([0x74,0x68,0x65,0x6e])](()=>_0xe6e370);}async function _0x47063f(){await _0xc365ea,_0x416e80[_0x2269e6([0x6d,0x6f,0x64,0x65,0x6c])][_0x2269e6([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x1da67e,_0x416e80[_0x2269e6([0x6d,0x6f,0x64,0x65,0x6c])][_0x2269e6([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x1da67e,_0x416e80[_0x2269e6([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2269e6([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3bb21a(_0x191ff6){const _0x4292bc=_0x291411();_0x416e80[_0x4292bc]=_0x2269e6([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x191ff6,_0x191ff6!=_0x2269e6([0x56,0x61,0x6c,0x69,0x64])&&_0x47063f();}function _0x291411(){const _0x246fc2=window[_0x2269e6([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2269e6([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2269e6([0x6e,0x6f,0x77])]())[_0x2269e6([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2269e6([0x2e]),'');let _0x1498a9=_0x2269e6([0x52]);for(let _0x4f2fb0=0x0;_0x4f2fb0<_0x246fc2[_0x2269e6([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4f2fb0+=0x2){let _0xcddd7b=window[_0x2269e6([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x246fc2[_0x2269e6([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4f2fb0,_0x4f2fb0+0x2));_0xcddd7b>=_0x218acb[_0x2269e6([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0xcddd7b-=_0x218acb[_0x2269e6([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1498a9+=_0x218acb[_0xcddd7b];}return _0x1498a9;}function _0x57333a(){const _0x29687b=_0x10711c[_0x2269e6([0x73,0x70,0x6c,0x69,0x74])](_0x2269e6([0x2e]));if(0x3!=_0x29687b[_0x2269e6([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x48b10a(_0x29687b[0x1]);function _0x48b10a(_0x461d65){const _0x318fbf=_0x574f14(_0x461d65);return _0x318fbf&&_0xb1c5bb()?_0x318fbf:null;function _0xb1c5bb(){const _0x15609c=_0x318fbf[_0x2269e6([0x6a,0x74,0x69])],_0x35d9b7=window[_0x2269e6([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x15609c[_0x2269e6([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x15609c[_0x2269e6([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4a9675={..._0x318fbf,[_0x2269e6([0x6a,0x74,0x69])]:_0x15609c[_0x2269e6([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x15609c[_0x2269e6([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4a9675[_0x2269e6([0x76,0x63])],_0x2e5ff5(_0x4a9675)==_0x35d9b7;}}}async function _0x1a38ad(){let _0x59c34b=!0x0;try{const _0x578f61=_0x10711c[_0x2269e6([0x73,0x70,0x6c,0x69,0x74])](_0x2269e6([0x2e])),[_0x5b28e3,_0x1bb720,_0x3731fb]=_0x578f61;return _0x8dbb(_0x5b28e3),await _0x4ed5af(_0x5b28e3,_0x1bb720,_0x3731fb),_0x59c34b;}catch{return!0x1;}function _0x8dbb(_0x31c87e){const _0x4ecf7c=_0x574f14(_0x31c87e);_0x4ecf7c&&_0x4ecf7c[_0x2269e6([0x61,0x6c,0x67])]==_0x2269e6([0x45,0x53,0x32,0x35,0x36])||(_0x59c34b=!0x1);}async function _0x4ed5af(_0x31c686,_0x1b7108,_0xe57324){const _0x72d617=window[_0x2269e6([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2269e6([0x66,0x72,0x6f,0x6d])](_0x2e07aa(_0xe57324),_0x2c0bdf=>_0x2c0bdf[_0x2269e6([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x8968eb=new window[(_0x2269e6([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2269e6([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x31c686+_0x2269e6([0x2e])+_0x1b7108),_0x4085f2=window[_0x2269e6([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2269e6([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4085f2)return;const _0x4fd8ab=await _0x4085f2[_0x2269e6([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2269e6([0x6a,0x77,0x6b]),_0x5c5f80,{[_0x2269e6([0x6e,0x61,0x6d,0x65])]:_0x2269e6([0x45,0x43,0x44,0x53,0x41]),[_0x2269e6([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2269e6([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2269e6([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4085f2[_0x2269e6([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2269e6([0x6e,0x61,0x6d,0x65])]:_0x2269e6([0x45,0x43,0x44,0x53,0x41]),[_0x2269e6([0x68,0x61,0x73,0x68])]:{[_0x2269e6([0x6e,0x61,0x6d,0x65])]:_0x2269e6([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4fd8ab,_0x72d617,_0x8968eb)||(_0x59c34b=!0x1);}}function _0x574f14(_0x203f18){return _0x203f18[_0x2269e6([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2269e6([0x65,0x79]))?JSON[_0x2269e6([0x70,0x61,0x72,0x73,0x65])](_0x2e07aa(_0x203f18)):null;}function _0x2e07aa(_0x70854a){return window[_0x2269e6([0x61,0x74,0x6f,0x62])](_0x70854a[_0x2269e6([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2269e6([0x2b]))[_0x2269e6([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2269e6([0x2f])));}function _0x2e5ff5(_0x2d7a57){let _0x489eba=0x1505;function _0x246b7c(_0x455273){for(let _0xd082de=0x0;_0xd082de<_0x455273[_0x2269e6([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xd082de++){const _0xe5bdd4=_0x455273[_0x2269e6([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0xd082de);_0x489eba=(_0x489eba<<0x5)+_0x489eba+_0xe5bdd4,_0x489eba&=_0x489eba;}}function _0x32511c(_0x5527d8){Array[_0x2269e6([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5527d8)?_0x5527d8[_0x2269e6([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x32511c):_0x5527d8&&typeof _0x5527d8==_0x2269e6([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2269e6([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5527d8)[_0x2269e6([0x73,0x6f,0x72,0x74])]()[_0x2269e6([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2d4a74,_0x389ad4])=>{_0x246b7c(_0x2d4a74),_0x32511c(_0x389ad4);}):_0x246b7c(window[_0x2269e6([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5527d8));}return _0x32511c(_0x2d7a57),_0x489eba>>>0x0;}function _0x317431(_0x945704){return _0x945704[_0x2269e6([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2269e6([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2269e6([0x30]));}function _0x23934b(_0x293ae1){return _0x293ae1[_0x2269e6([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2269e6([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2269e6([0x6a,0x6f,0x69,0x6e])]('');}function _0x1da67e(){}function _0x2269e6(_0x2712cc){return _0x2712cc['map'](_0x1e4371=>String['fromCharCode'](_0x1e4371))['join']('');}_0x3bb21a(await _0x153a66());}(this);}['_initSchema'](){const _0x76e538=this['editor']['model']['schema'];_0x76e538['isRegistered']('imageBlock')&&_0x76e538['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x76e538['isRegistered']('imageInline')&&_0x76e538['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x5816b9=this['editor'];_0x5816b9['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x5816b9['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0xbadfe3=>_0xbadfe3['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x1c95b3=_0x5816b9['commands']['get']('replaceImageSource');_0x1c95b3&&this['listenTo'](_0x1c95b3,'cleanupImage',(_0x2bd3ad,[_0x332f04,_0x16aea9])=>{_0x332f04['removeAttribute']('uploadcareImageId',_0x16aea9);});}['_initConfig'](){const _0x459353=this['editor']['config']['get']('uploadcare.uploader')||{},_0x5efe31=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x3197f6(_0x48f01f['document'],'uc-config',{..._0x459353,'pubkey':_0x5efe31,'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']=_0x17a56b=>{if('closeMax'==_0x17a56b)return'#uc-icon-arrow-down';},_0x48f01f['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x3197f6(_0x48f01f['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),_0x48f01f['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x1924f2=this['editor']['commands']['get']('insertImage');_0x1924f2&&this['listenTo'](_0x1924f2,'execute',()=>{const _0x3dd70d=this['editor']['model']['document']['selection']['getSelectedElement']();_0x3dd70d&&_0x3dd70d['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x3dd70d);});});const _0xfa08ae=this['editor']['commands']['get']('uploadcareImageReplace');_0xfa08ae&&this['listenTo'](_0xfa08ae,'execute',()=>{const _0x60f3b=this['editor']['model']['document']['selection']['getSelectedElement']();_0x60f3b&&_0x60f3b['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x60f3b);});});}}class tt extends _0x481859{static get['requires'](){return[o,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x1f6c9d){super(_0x1f6c9d),_0x1f6c9d['config']['define']('uploadcare.uploader.sourceList',[i['Local'],i['URL']]),_0x43efdd['defineComponents'](_0x43efdd);}}class ii extends _0x55e9d9{constructor(_0x25f2d8){super(_0x25f2d8);const t=_0x25f2d8['t'],_0x2894dd=this['bindTemplate'],_0x41354a=new _0x1e9c45();_0x41354a['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':[_0x41354a,{'text':_0x2894dd['to']('imageUploadProgress',_0x27a9c6=>t('Loading\x20image...')+'\x20('+(_0x27a9c6||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 _0x55e9d9{constructor(_0x34cc8a){super(_0x34cc8a);const t=_0x34cc8a['t'];this['set']('errorType',null);const _0x5ba9df=new _0x179ab7(_0x34cc8a);_0x5ba9df['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x5ba9df['withText']=!0x0,_0x5ba9df['class']='ck-button-action',_0x5ba9df['on']('execute',()=>{this['fire']('retry');}),_0x5ba9df['bind']('isVisible')['to'](this,'errorType',_0x445bfc=>'NotFound'!==_0x445bfc);const _0x59eebc=new _0x18dc60();_0x59eebc['content']=_0x1d5d30,_0x59eebc['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x2528f3=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':[_0x59eebc,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x2528f3['to']('errorType',_0x1b77bb=>t('NotFound'!==_0x1b77bb?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x5ba9df]},{'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 _0x55e9d9{constructor(_0x19db00,_0x5e1e8f){super(_0x19db00);const _0xb5f342=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x5e1e8f,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0xb5f342['to']('imageSrc')}});}}class X extends F{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x5154d8,_0x3966db,_0x3169d6){super(_0x5154d8),this['_items']=this['createCollection'](),this['_loadingView']=new ii(_0x5154d8),this['_errorView']=new ti(_0x5154d8),this['_editingView']=new ei(_0x5154d8,_0x3169d6),this['_focusableView']=new _0x55e9d9(_0x5154d8),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x3966db),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'],_0x951251=>{this['_addUploadcareImageEditorListeners'](_0x951251);});}),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'](_0x4c3989,_0x1eb9d1){const _0x495217='uc-cloud-image-editor',_0xa9958e=_0x4c3989['querySelector'](_0x495217);if(_0xa9958e)return _0x1eb9d1(_0xa9958e);const _0x52de78=new MutationObserver(_0x37826d=>{const _0x179bd5=_0x37826d['filter'](_0x21ef10=>_0x21ef10['target']===_0x4c3989&&_0x21ef10['addedNodes']['length']>0x0&&_0x21ef10['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x495217);_0x179bd5['length']&&(_0x52de78['disconnect'](),_0x1eb9d1(_0x179bd5[0x0]['addedNodes'][0x0]));});_0x52de78['observe'](_0x4c3989,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x11d1c7){_0x11d1c7['addEventListener']('apply',_0x2b4ba4=>{this['fire']('apply',{'imageSrc':_0x2b4ba4['detail']['cdnUrl']});}),_0x11d1c7['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class E extends/* #__PURE__ -- @preserve */
25
+ _0x3c9e46(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x4a1d3c,_0x4e3f4a,_0x51da72){super(),this['_editor']=_0x4a1d3c,this['_dialog']=_0x4e3f4a,this['_imageElement']=_0x51da72,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 _0x288352=this['_imageElement'],_0x37e11a=_0x288352['getAttribute']('uploadcareImageId'),_0x54f0ce=_0x288352['getAttribute']('src');if(_0x37e11a)await this['_loadImageInfo'](_0x37e11a,_0x54f0ce);else{if(this['_imageCache']['has'](_0x54f0ce)){const _0x18bce1=this['_imageCache']['get'](_0x54f0ce);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x18bce1['url'],this['imageDimension']=_0x18bce1['dimension'],this['imageId']=_0x18bce1['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x288bc3}=this['_editor'],t=_0x288bc3['t'],_0x14157b=new X(_0x288bc3,this['imageStatus'],this['_attributes']);_0x14157b['bind']('status')['to'](this,'imageStatus'),_0x14157b['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x14157b['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x14157b['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x14157b,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x3d5a23,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x14157b,'position':_0x21ba63['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x14157b['focus']();},'onHide':()=>{_0x14157b['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x4bcbae=>!A(_0x4bcbae,_0x14157b['element'])}});}['_loadImageInfo'](_0x7f296f,_0x480256){return j['getInfo'](_0x7f296f,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x435c68=>{const {width:_0x2f0acb,height:_0x4b25d3}=_0x435c68['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x480256,this['imageDimension']={'width':_0x2f0acb,'height':_0x4b25d3},this['imageId']=_0x7f296f;})['catch'](_0x223bf1=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x223bf1['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x3d00e5,_0x1a8fc8){return this['_getImageAsFile'](_0x3d00e5)['then'](_0x4f3986=>j['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['_editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':_0x1a8fc8['signal'],'file':_0x4f3986,'onProgress':_0x118f95=>{_0x118f95&&_0x118f95['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x118f95['value']));}}))['then'](_0x2bc737=>{const {width:_0x3d95e8,height:_0x5c0ecc}=_0x2bc737['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x2bc737['cdnUrl'],this['imageDimension']={'width':_0x3d95e8,'height':_0x5c0ecc},this['imageId']=_0x2bc737['uuid'],this['imageUploadProgress']=null;const _0x57db37=_0x3d00e5['getAttribute']('src');this['_imageCache']['set'](_0x57db37,{'id':_0x2bc737['uuid'],'url':_0x2bc737['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x4d157a=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x4d157a['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x272e88,_0x553d77){_0x272e88['on']('apply',(_0x400842,_0x6c9936)=>{this['_replaceImage'](_0x553d77,_0x6c9936['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x272e88['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x272e88['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x2e7997,_0x33a815,_0x432316){const _0x4d1d7c=this['_editor'],{width:_0x565fd3,height:_0x1e477f}=S(_0x33a815,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x37c55e,imageSources:_0x174608}=C(_0x33a815,_0x565fd3);_0x4d1d7c['model']['change'](_0x50b3d4=>{if('$graveyard'===_0x2e7997['root']['rootName']){_0x4d1d7c['execute']('insertImage',{'imageType':_0x2e7997['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x2e7997['getAttributes']()),'uploadcareImageId':_0x432316,'src':_0x37c55e,'sources':_0x174608,'width':_0x565fd3,'height':_0x1e477f}});const _0x1e171d=_0x2e7997['getChildren']();_0x2e7997=_0x4d1d7c['model']['document']['selection']['getSelectedElement']();for(const _0x262734 of _0x1e171d)_0x50b3d4['append'](_0x50b3d4['cloneElement'](_0x262734),_0x2e7997);}else _0x50b3d4['setSelection'](_0x2e7997,'on'),_0x4d1d7c['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x2e7997['getAttributes']()),'uploadcareImageId':_0x432316,'src':_0x37c55e,'sources':_0x174608,'width':_0x565fd3,'height':_0x1e477f},_0x2e7997);_0x50b3d4['setSelection'](_0x2e7997,'on');});}async['_getImageAsFile'](_0x40a40e){const _0x304eb5=_0x48f01f['window'],_0x31433b=_0x48f01f['document']['location']['href'],_0x1e3924=new _0x304eb5['URL'](_0x40a40e['getAttribute']('src'),_0x31433b);if('data:'===_0x1e3924['protocol']){const _0x277ca8=_0x1e3924['href']['split'](','),_0xc18e23=_0x277ca8[0x0]['match'](/:(.*?);/)[0x1],_0x47f840=_0xc18e23['split']('/')[0x1],_0x2dea0a=_0x304eb5['atob'](_0x277ca8[_0x277ca8['length']-0x1]);let _0x57c4c1=_0x2dea0a['length'];const _0x12db05=new _0x304eb5['Uint8Array'](_0x57c4c1);for(;_0x57c4c1--;)_0x12db05[_0x57c4c1]=_0x2dea0a['charCodeAt'](_0x57c4c1);return new _0x304eb5['File']([_0x12db05],'image.'+_0x47f840,{'type':_0xc18e23});}const _0x354c23=_0x1e3924['href']['split']('/'),_0x1c011c=_0x354c23[_0x354c23['length']-0x1],_0x332caf=_0x1c011c['split']('.')[0x1];return _0x304eb5['fetch'](_0x1e3924['href'])['then'](_0x4f64b3=>_0x4f64b3['clone']()['blob']())['then'](_0x665c3f=>new _0x304eb5['File']([_0x665c3f],_0x1c011c,{'type':'image/'+_0x332caf}));}}class O extends _0x56b3e8{['imageEditController'];static get['requires'](){return[_0xb1d847];}['_isEditable'];constructor(_0x99e75c){super(_0x99e75c),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x479e9c){const _0x3a1b6c=G(_0x479e9c);return _0x5434ff=>!(!_0x5434ff||!_0x5434ff['is']('element','imageBlock')&&!_0x5434ff['is']('element','imageInline'))&&(!!_0x5434ff['hasAttribute']('uploadcareImageId')||!!_0x5434ff['hasAttribute']('src')&&_0x3a1b6c(_0x5434ff['getAttribute']('src')));}(_0x99e75c['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x58d054=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x58d054);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x66afe=this['editor']['model']['document']['selection']['getSelectedElement']();_0x66afe&&(_0x66afe['is']('element','imageBlock')||_0x66afe['is']('element','imageInline'))&&(this['imageEditController']=new E(this['editor'],this['editor']['plugins']['get'](_0xb1d847),_0x66afe),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class R extends _0x56b3e8{['refresh'](){const _0x587338=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x587338&&(_0x587338['is']('element','imageBlock')||_0x587338['is']('element','imageInline')));}['execute'](_0x3fb149){const _0x1923c0=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x49609e=>{_0x49609e['setAttributes'](_0x3fb149,_0x1923c0),_0x49609e['removeAttribute']('srcset',_0x1923c0),_0x49609e['removeAttribute']('sizes',_0x1923c0);});}}class m extends _0x481859{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[o,_0x1fbd27,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0xf450c6}=this;_0xf450c6['commands']['add']('uploadcareImageEdit',new O(_0xf450c6)),_0xf450c6['commands']['add']('uploadcareImageReplace',new R(_0xf450c6));}}class g extends _0x481859{['_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 _0x246b74=this['editor'];_0x246b74['ui']['componentFactory']['add']('uploadcareImageEdit',_0x51d38e=>{const _0x3a3c6d=_0x246b74['commands']['get']('uploadcareImageEdit'),_0x334645=new _0x179ab7(_0x51d38e),t=_0x51d38e['t'];return _0x334645['set']({'icon':_0x3d5a23,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x334645['bind']('isEnabled')['to'](_0x3a3c6d),_0x334645['bind']('isOn')['to'](_0x3a3c6d,'isActive'),this['listenTo'](_0x334645,'execute',()=>{_0x246b74['execute']('uploadcareImageEdit'),_0x246b74['editing']['view']['focus']();}),_0x334645;}),this['_initConfig']();}['_initConfig'](){const _0xdfd8aa=_0x3197f6(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0xdfd8aa),this['listenTo'](this['editor'],'destroy',()=>{_0xdfd8aa['remove']();});}}class et extends _0x481859{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':_0x5e1a6a=>0x1!=_0x5e1a6a}};
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':_0x2e066f=>0x1!=_0x2e066f}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x29a88b=>{const {af:{dictionary:_0x3ec862,getPluralForm:_0xacccc7}}={'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':_0x596c7d=>0x1!=_0x596c7d}};_0x29a88b['af']||={'dictionary':{},'getPluralForm':null},_0x29a88b['af']['dictionary']=Object['assign'](_0x29a88b['af']['dictionary'],_0x3ec862),_0x29a88b['af']['getPluralForm']=_0xacccc7;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x5248f3=>{const {af:{dictionary:_0x3cddc7,getPluralForm:_0x2aad07}}={'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':_0x361ab5=>0x1!=_0x361ab5}};_0x5248f3['af']||={'dictionary':{},'getPluralForm':null},_0x5248f3['af']['dictionary']=Object['assign'](_0x5248f3['af']['dictionary'],_0x3cddc7),_0x5248f3['af']['getPluralForm']=_0x2aad07;})(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':_0x23cb93=>0x0==_0x23cb93?0x0:0x1==_0x23cb93?0x1:0x2==_0x23cb93?0x2:_0x23cb93%0x64>=0x3&&_0x23cb93%0x64<=0xa?0x3:_0x23cb93%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':_0x5e155d=>0x0==_0x5e155d?0x0:0x1==_0x5e155d?0x1:0x2==_0x5e155d?0x2:_0x5e155d%0x64>=0x3&&_0x5e155d%0x64<=0xa?0x3:_0x5e155d%0x64>=0xb?0x4:0x5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x4989cc=>{const {ar:{dictionary:_0x116e99,getPluralForm:_0x3b1fbe}}={'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':_0x306481=>0x0==_0x306481?0x0:0x1==_0x306481?0x1:0x2==_0x306481?0x2:_0x306481%0x64>=0x3&&_0x306481%0x64<=0xa?0x3:_0x306481%0x64>=0xb?0x4:0x5}};_0x4989cc['ar']||={'dictionary':{},'getPluralForm':null},_0x4989cc['ar']['dictionary']=Object['assign'](_0x4989cc['ar']['dictionary'],_0x116e99),_0x4989cc['ar']['getPluralForm']=_0x3b1fbe;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x170513=>{const {ar:{dictionary:_0x5c7a8a,getPluralForm:_0x17c4f6}}={'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':_0x5b14f=>0x0==_0x5b14f?0x0:0x1==_0x5b14f?0x1:0x2==_0x5b14f?0x2:_0x5b14f%0x64>=0x3&&_0x5b14f%0x64<=0xa?0x3:_0x5b14f%0x64>=0xb?0x4:0x5}};_0x170513['ar']||={'dictionary':{},'getPluralForm':null},_0x170513['ar']['dictionary']=Object['assign'](_0x170513['ar']['dictionary'],_0x5c7a8a),_0x170513['ar']['getPluralForm']=_0x17c4f6;})(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':_0x4e918c=>0x1!=_0x4e918c}};
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':_0x4f229d=>0x1!=_0x4f229d}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x4abafe=>{const {ast:{dictionary:_0x4be627,getPluralForm:_0x1bfa04}}={'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':_0x47ceba=>0x1!=_0x47ceba}};_0x4abafe['ast']||={'dictionary':{},'getPluralForm':null},_0x4abafe['ast']['dictionary']=Object['assign'](_0x4abafe['ast']['dictionary'],_0x4be627),_0x4abafe['ast']['getPluralForm']=_0x1bfa04;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x5e6a84=>{const {ast:{dictionary:_0x57f174,getPluralForm:_0x14c6fa}}={'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':_0xb9e3e6=>0x1!=_0xb9e3e6}};_0x5e6a84['ast']||={'dictionary':{},'getPluralForm':null},_0x5e6a84['ast']['dictionary']=Object['assign'](_0x5e6a84['ast']['dictionary'],_0x57f174),_0x5e6a84['ast']['getPluralForm']=_0x14c6fa;})(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':_0x174a40=>0x1!=_0x174a40}};
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':_0xc021f1=>0x1!=_0xc021f1}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x675a04=>{const {az:{dictionary:_0x5266f1,getPluralForm:_0x540637}}={'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':_0x3961ce=>0x1!=_0x3961ce}};_0x675a04['az']||={'dictionary':{},'getPluralForm':null},_0x675a04['az']['dictionary']=Object['assign'](_0x675a04['az']['dictionary'],_0x5266f1),_0x675a04['az']['getPluralForm']=_0x540637;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x4937ff=>{const {az:{dictionary:_0x5c34ac,getPluralForm:_0x46ccec}}={'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':_0x337400=>0x1!=_0x337400}};_0x4937ff['az']||={'dictionary':{},'getPluralForm':null},_0x4937ff['az']['dictionary']=Object['assign'](_0x4937ff['az']['dictionary'],_0x5c34ac),_0x4937ff['az']['getPluralForm']=_0x46ccec;})(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':_0x56fe54=>_0x56fe54%0xa==0x1&&_0x56fe54%0x64!=0xb?0x0:_0x56fe54%0xa>=0x2&&_0x56fe54%0xa<=0x4&&(_0x56fe54%0x64<0xa||_0x56fe54%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':_0x287023=>_0x287023%0xa==0x1&&_0x287023%0x64!=0xb?0x0:_0x287023%0xa>=0x2&&_0x287023%0xa<=0x4&&(_0x287023%0x64<0xa||_0x287023%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x30f493=>{const {be:{dictionary:_0x55e307,getPluralForm:_0x38f162}}={'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':_0x4c6501=>_0x4c6501%0xa==0x1&&_0x4c6501%0x64!=0xb?0x0:_0x4c6501%0xa>=0x2&&_0x4c6501%0xa<=0x4&&(_0x4c6501%0x64<0xa||_0x4c6501%0x64>=0x14)?0x1:0x2}};_0x30f493['be']||={'dictionary':{},'getPluralForm':null},_0x30f493['be']['dictionary']=Object['assign'](_0x30f493['be']['dictionary'],_0x55e307),_0x30f493['be']['getPluralForm']=_0x38f162;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x22e2cf=>{const {be:{dictionary:_0x31bd80,getPluralForm:_0x219afb}}={'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':_0x55a333=>_0x55a333%0xa==0x1&&_0x55a333%0x64!=0xb?0x0:_0x55a333%0xa>=0x2&&_0x55a333%0xa<=0x4&&(_0x55a333%0x64<0xa||_0x55a333%0x64>=0x14)?0x1:0x2}};_0x22e2cf['be']||={'dictionary':{},'getPluralForm':null},_0x22e2cf['be']['dictionary']=Object['assign'](_0x22e2cf['be']['dictionary'],_0x31bd80),_0x22e2cf['be']['getPluralForm']=_0x219afb;})(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':_0xbd2ee2=>0x1!=_0xbd2ee2}};
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':_0x2c9b9d=>0x1!=_0x2c9b9d}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x1eaf2d=>{const {bg:{dictionary:_0x41f8d4,getPluralForm:_0x485274}}={'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':_0x3b436d=>0x1!=_0x3b436d}};_0x1eaf2d['bg']||={'dictionary':{},'getPluralForm':null},_0x1eaf2d['bg']['dictionary']=Object['assign'](_0x1eaf2d['bg']['dictionary'],_0x41f8d4),_0x1eaf2d['bg']['getPluralForm']=_0x485274;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x31d644=>{const {bg:{dictionary:_0x3f6ba7,getPluralForm:_0x196905}}={'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':_0x12dd06=>0x1!=_0x12dd06}};_0x31d644['bg']||={'dictionary':{},'getPluralForm':null},_0x31d644['bg']['dictionary']=Object['assign'](_0x31d644['bg']['dictionary'],_0x3f6ba7),_0x31d644['bg']['getPluralForm']=_0x196905;})(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':_0x47ffe1=>0x1!=_0x47ffe1}};
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':_0x4d6275=>0x1!=_0x4d6275}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x44061c=>{const {bn:{dictionary:_0x19d6af,getPluralForm:_0x1a3be9}}={'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':_0x12333b=>0x1!=_0x12333b}};_0x44061c['bn']||={'dictionary':{},'getPluralForm':null},_0x44061c['bn']['dictionary']=Object['assign'](_0x44061c['bn']['dictionary'],_0x19d6af),_0x44061c['bn']['getPluralForm']=_0x1a3be9;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x14dc7d=>{const {bn:{dictionary:_0x3579ee,getPluralForm:_0x1adaf4}}={'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':_0x23dbbd=>0x1!=_0x23dbbd}};_0x14dc7d['bn']||={'dictionary':{},'getPluralForm':null},_0x14dc7d['bn']['dictionary']=Object['assign'](_0x14dc7d['bn']['dictionary'],_0x3579ee),_0x14dc7d['bn']['getPluralForm']=_0x1adaf4;})(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':_0x1dbcc7=>_0x1dbcc7%0xa==0x1&&_0x1dbcc7%0x64!=0xb?0x0:_0x1dbcc7%0xa>=0x2&&_0x1dbcc7%0xa<=0x4&&(_0x1dbcc7%0x64<0xa||_0x1dbcc7%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':_0x33709c=>_0x33709c%0xa==0x1&&_0x33709c%0x64!=0xb?0x0:_0x33709c%0xa>=0x2&&_0x33709c%0xa<=0x4&&(_0x33709c%0x64<0xa||_0x33709c%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x2be705=>{const {bs:{dictionary:_0x1b232e,getPluralForm:_0x59e91a}}={'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':_0x2e7c36=>_0x2e7c36%0xa==0x1&&_0x2e7c36%0x64!=0xb?0x0:_0x2e7c36%0xa>=0x2&&_0x2e7c36%0xa<=0x4&&(_0x2e7c36%0x64<0xa||_0x2e7c36%0x64>=0x14)?0x1:0x2}};_0x2be705['bs']||={'dictionary':{},'getPluralForm':null},_0x2be705['bs']['dictionary']=Object['assign'](_0x2be705['bs']['dictionary'],_0x1b232e),_0x2be705['bs']['getPluralForm']=_0x59e91a;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x4e4f33=>{const {bs:{dictionary:_0x589c89,getPluralForm:_0x2d2e98}}={'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':_0x4b3dfd=>_0x4b3dfd%0xa==0x1&&_0x4b3dfd%0x64!=0xb?0x0:_0x4b3dfd%0xa>=0x2&&_0x4b3dfd%0xa<=0x4&&(_0x4b3dfd%0x64<0xa||_0x4b3dfd%0x64>=0x14)?0x1:0x2}};_0x4e4f33['bs']||={'dictionary':{},'getPluralForm':null},_0x4e4f33['bs']['dictionary']=Object['assign'](_0x4e4f33['bs']['dictionary'],_0x589c89),_0x4e4f33['bs']['getPluralForm']=_0x2d2e98;})(window['CKEDITOR_TRANSLATIONS']||={});