@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-20250707.0 → 0.0.0-nightly-20250710.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 _0x13dee5,Command as _0x2238a1}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0xf9d2e3,IconGooglePhotos as _0x4c33a5,IconGoogleDrive as _0x2c9c0b,IconFacebook as _0x38ef7c,IconDropbox as _0xeb9bdd,IconUploadcareLink as _0x19864a,IconUploadcareImageUpload as _0x4c2a3d,IconError as _0x27f870,IconUploadcareImageEdit as _0x1a6202}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x4040c0,MenuBarMenuListItemButtonView as _0x34ecce,View as _0x1d1954,FocusCycler as _0x37b011,Dialog as _0x32df1c,DialogViewPosition as _0x44068c,SpinnerView as _0x421329,IconView as _0x37a4fe,Notification as _0x50102b}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x5e3156,DomEmitterMixin as _0x3d36c3,global as _0x3ac262,getAncestors as _0x24939d,ObservableMixin as _0x2d734c,uid as _0x1c4800,createElement as _0x564f8a}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x3ad206}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x578aab,info as _0x12117b}from'@uploadcare/upload-client';import*as _0x3ad904 from'@uploadcare/file-uploader';var i=function(_0xa1d57){return _0xa1d57['Local']='local',_0xa1d57['URL']='url',_0xa1d57['Dropbox']='dropbox',_0xa1d57['GDrive']='gdrive',_0xa1d57['Facebook']='facebook',_0xa1d57['GPhotos']='gphotos',_0xa1d57['OneDrive']='onedrive',_0xa1d57;}({});function _(_0x6a6970,_0x3b3f8d,_0x3c84e1){const t=_0x6a6970['t'],_0x5ee87c=_0x6a6970['t'];switch(_0x3b3f8d){case i['Local']:return{'text':_0x5ee87c('Insert'===_0x3c84e1?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x5ee87c('From\x20computer')};case i['URL']:return{'text':'Insert'===_0x3c84e1?_0x5ee87c('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x5ee87c('Via\x20URL')};case i['Dropbox']:return{'text':t('Insert'===_0x3c84e1?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case i['Facebook']:return{'text':t('Insert'===_0x3c84e1?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case i['GDrive']:return{'text':t('Insert'===_0x3c84e1?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case i['GPhotos']:return{'text':t('Insert'===_0x3c84e1?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case i['OneDrive']:return{'text':t('Insert'===_0x3c84e1?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x3b3f8d;}}class e extends _0x13dee5{['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 _0x4d1e65=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x5314a9;for(const _0x706f67 in _0x4d1e65){const _0x5f2dbd=_0x706f67,_0x33af65=_0x4d1e65[_0x5f2dbd];if('uploadcareLicenseKeyValid'==_0x33af65||'uploadcareLicenseKeyInvalid'==_0x33af65||'uploadcareLicenseKeyExpired'==_0x33af65||'uploadcareLicenseKeyDomainLimit'==_0x33af65||'uploadcareLicenseKeyNotAllowed'==_0x33af65||'uploadcareLicenseKeyEvaluationLimit'==_0x33af65||'uploadcareLicenseKeyTrialLimit'==_0x33af65||'uploadcareLicenseKeyUsageLimit'==_0x33af65){delete _0x4d1e65[_0x5f2dbd],_0x5314a9=_0x33af65,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x5314a9&&_0x4d1e65['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x5314a9&&_0x4d1e65['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x5314a9&&_0x4d1e65['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x5314a9&&_0x4d1e65['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x5314a9&&_0x4d1e65['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0x5314a9&&_0x4d1e65['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0x5314a9&&_0x4d1e65['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0xdd433b}=this,_0x26494b=_0xdd433b['commands']['get']('uploadcare');if(!_0x26494b)return;const _0x16b9e2=this['_normalizeConfigSourceList'](_0xdd433b['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0xb811b3,_0x30ed8a)=>{const _0x124edc=this['_getIntegrationKey'](_0x30ed8a['type']);return _0xb811b3[_0x124edc]||(_0xb811b3[_0x124edc]=[]),_0xb811b3[_0x124edc]['push'](_0x30ed8a),_0xb811b3;},{});_0xdd433b['plugins']['has']('ImageInsertUI')&&_0xdd433b['commands']['get']('uploadcare')&&Object['entries'](_0x16b9e2)['forEach'](([_0x976819,_0x4b4795])=>{_0xdd433b['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x976819,'observable':()=>_0x26494b,'buttonViewCreator':()=>this['_createToolbarButton'](_0x4b4795),'formViewCreator':()=>this['_createDropdownButtons'](_0x4b4795),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x4b4795),'override':'assetManager'!==_0x976819});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x4a4144){const {locale:_0x11ff01}=this['editor'];return _0x4a4144['map'](_0xce2f9e=>{const _0x26a929=_(_0x11ff01,_0xce2f9e,'Insert');switch(_0xce2f9e){case i['Local']:return{'icon':_0x4c2a3d,'type':i['Local'],..._0x26a929};case i['URL']:return{'icon':_0x19864a,'type':i['URL'],..._0x26a929};case i['Dropbox']:return{'icon':_0xeb9bdd,'type':i['Dropbox'],..._0x26a929};case i['Facebook']:return{'icon':_0x38ef7c,'type':i['Facebook'],..._0x26a929};case i['GDrive']:return{'icon':_0x2c9c0b,'type':i['GDrive'],..._0x26a929};case i['GPhotos']:return{'icon':_0x4c33a5,'type':i['GPhotos'],..._0x26a929};case i['OneDrive']:return{'icon':_0xf9d2e3,'type':i['OneDrive'],..._0x26a929};}});}['_getIntegrationKey'](_0x44dbb3){switch(_0x44dbb3){case i['Local']:return'upload';case i['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x965d40,_0x374ec8){const _0x375228=this['editor'],_0x1fcd6e=new _0x965d40(_0x375228['locale']),_0xe04921=_0x375228['commands']['get']('uploadcare');return _0x1fcd6e['bind']('isEnabled')['to'](_0xe04921),_0x1fcd6e['on']('execute',()=>{_0xe04921['execute'](_0x374ec8);}),_0x1fcd6e;}['_createToolbarButton'](_0x2b2e22){const {locale:_0x2fcc4f}=this['editor'],_0x5d5b4b=this['editor']['plugins']['get']('ImageInsertUI'),_0x1dc5e4=_0x2b2e22[0x0],_0xd857a4=this['_createButton'](_0x4040c0,_0x1dc5e4['type']);return _0xd857a4['icon']=_0x1dc5e4['icon'],_0xd857a4['bind']('label')['to'](_0x5d5b4b,'isImageSelected',_0x5df605=>_(_0x2fcc4f,_0x1dc5e4['type'],_0x5df605?'Replace':'Insert')['text']),_0xd857a4['tooltip']=!0x0,_0xd857a4;}['_createDropdownButtons'](_0x2c184a){const {locale:_0x56e1fd}=this['editor'],_0x51d8fd=this['editor']['plugins']['get']('ImageInsertUI');return _0x2c184a['map'](_0x2922eb=>{const _0x115d6c=this['_createButton'](_0x4040c0,_0x2922eb['type']);return _0x115d6c['withText']=!0x0,_0x115d6c['icon']=_0x2922eb['icon'],_0x115d6c['bind']('label')['to'](_0x51d8fd,'isImageSelected',_0x2ddcbd=>_(_0x56e1fd,_0x2922eb['type'],_0x2ddcbd?'Replace':'Insert')['text']),_0x115d6c;});}['_createMenuBarButtons'](_0x44426a){return _0x44426a['map'](_0x4273bb=>{const _0xb0bb16=this['_createButton'](_0x34ecce,_0x4273bb['type']);return _0xb0bb16['icon']=_0x4273bb['icon'],_0xb0bb16['label']=_0x4273bb['shortText'],_0xb0bb16;});}}class F extends _0x1d1954{['focusTracker'];['focusCycler'];constructor(_0x1ff471){super(_0x1ff471),this['focusTracker']=new _0x5e3156(),this['focusCycler']=new _0x37b011({'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(_0x16aa00,_0x29eb19){super(_0x16aa00),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-'+_0x29eb19}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function k(_0x2212c7,_0x348be0){const _0x4ece11=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x4dd4ae=>_0x4dd4ae<=_0x348be0)['map'](_0x3f59d2=>_0x2212c7['replace'](/\/$/,'')+'/-/resize/'+_0x3f59d2+'x/\x20'+_0x3f59d2+'w');return{'imageFallbackUrl':_0x2212c7,'imageSources':[{'srcset':_0x4ece11['join'](',\x20'),'sizes':'(max-width:\x20'+_0x348be0+'px)\x20100vw,\x20'+_0x348be0+'px','type':'image/webp'}]};}function C(_0x43ac45,_0x3d13bd,_0x5967a9){const _0x4f7299=_0x43ac45['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x4f7299?parseInt(_0x4f7299[0x1],0xa):_0x3d13bd,'height':_0x4f7299?parseInt(_0x4f7299[0x2],0xa):_0x5967a9};}function p(_0x56763f,_0x1ea1ab){const _0x2586a5=new(_0x3d36c3())(),_0x299a4c=_0x56763f['plugins']['get']('ImageUtils'),_0x36d2d3=_0x56763f['editing']['mapper']['toViewElement'](_0x1ea1ab),_0x37a49c=_0x299a4c['findViewImgElement'](_0x36d2d3),_0x40bba2=_0x56763f['editing']['view']['domConverter']['viewToDom'](_0x37a49c),_0x12e778=_0x1ea1ab['getAttribute']('width'),_0x110067=_0x1ea1ab['getAttribute']('height'),_0xf471ac='image-processing';_0x56763f['editing']['view']['change'](_0x63d242=>{_0x63d242['addClass'](_0xf471ac,_0x36d2d3),_0x63d242['setStyle']('aspect-ratio',_0x12e778+'/'+_0x110067,_0x37a49c);}),_0x2586a5['listenTo'](_0x40bba2,'load',()=>{_0x2586a5['stopListening'](_0x40bba2,'load'),_0x56763f['editing']['view']['change'](_0x22d220=>{_0x22d220['removeClass'](_0xf471ac,_0x36d2d3),_0x22d220['removeStyle']('aspect-ratio',_0x37a49c);});});}function G(_0x4b8659){if(Array['isArray'](_0x4b8659)){const _0x12e352=_0x4b8659['map'](G);return _0x4bba0a=>_0x12e352['some'](_0x32496a=>_0x32496a(_0x4bba0a));}if('origin'==_0x4b8659){const _0x117c6f=_0x3ac262['window']['location']['origin'];return _0x413c64=>new URL(_0x413c64,_0x3ac262['document']['baseURI'])['origin']==_0x117c6f;}return'function'==typeof _0x4b8659?_0x4b8659:_0x4b8659 instanceof RegExp?_0x49fb8d=>!(!_0x49fb8d['match'](_0x4b8659)&&!_0x49fb8d['replace'](/^https?:\/\//,'')['match'](_0x4b8659)):()=>!0x1;}function S(_0x9f79e5,_0x26b0a9){return _0x24939d(_0x9f79e5['target'])['includes'](_0x26b0a9);}class n extends/* #__PURE__ -- @preserve */
24
- _0x2d734c(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x3ad649,_0x47598c,_0x2d8912){super(),this['_editor']=_0x3ad649,this['_editing']=_0x47598c,this['_dialog']=_0x3ad649['plugins']['get'](_0x32df1c),this['_api']=_0x47598c['ctxElement']['getAPI'](),this['_type']=_0x2d8912,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:_0x227ba2,model:_0x356d61}=this['_editor'],_0x37ed57=_0x356d61['document']['selection']['getSelectedElement'](),_0x377ccd=_0x37ed57&&(_0x37ed57['is']('element','imageBlock')||_0x37ed57['is']('element','imageInline'));this['_formView']=new x(_0x227ba2,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':_0x4c2a3d,'title':_(_0x227ba2,this['_type'],_0x377ccd?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x44068c['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x180c6a=>!S(_0x180c6a,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x2dbc74}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x24e664=>{const _0x11d527=_0x2dbc74['length'];for(const _0x50adc1 of _0x2dbc74){const _0x54039f=_0x50adc1===_0x2dbc74[_0x11d527-0x1],{cdnUrl:_0x5b20ae,fileInfo:_0x4de667}=_0x50adc1;if(!_0x5b20ae||!_0x4de667)continue;const {width:_0x5280a5,height:_0x4c4d80}=_0x4de667['imageInfo'],_0x3c9069=C(_0x5b20ae,_0x5280a5,_0x4c4d80),_0x54d128=k(_0x5b20ae,_0x3c9069['width']),_0x59fab0={'id':_0x4de667['uuid'],'type':'image','attributes':{'imageDimension':_0x3c9069,..._0x54d128}};this['_insertAsset'](_0x59fab0,_0x54039f,_0x24e664);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x5f1495=>{'idle'===_0x5f1495['detail']['status']&&!_0x5f1495['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===i['Local']?this['_api']['setCurrentActivity'](i['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x557018,_0x287397,_0x1b4494){const _0x59fee6=this['_editor']['model']['document']['selection'],_0x2c0f4a=_0x59fee6['getSelectedElement'](),_0x5a7c16=!(!_0x2c0f4a||!_0x2c0f4a['is']('element','imageInline'));_0x1b4494['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x557018,_0x5a7c16),_0x287397||_0x1b4494['setSelection'](_0x59fee6['getLastPosition']());}['_insertImage'](_0x4065e6,_0x1b725e){const _0x3e0c05=this['_editor'],{imageDimension:_0x84efdc,imageFallbackUrl:_0x23efc4,imageSources:_0x847577}=_0x4065e6['attributes'];_0x3e0c05['execute']('insertImage',{'imageType':_0x1b725e?'imageInline':null,'source':{'uploadcareImageId':_0x4065e6['id'],'src':_0x23efc4,'sources':_0x847577,..._0x84efdc}});}}class w extends _0x2238a1{['_editing'];['_controller']=null;static get['requires'](){return[_0x32df1c,o];}constructor(_0x584c64){super(_0x584c64),this['_editing']=_0x584c64['plugins']['get'](o);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x4a4ceb){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new n(this['editor'],this['_editing'],_0x4a4ceb);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class j{static['upload']({file:_0x11778a,publicKey:_0x59cb2f,signal:_0x40d88e,onProgress:_0x540f56}){return _0x578aab(_0x11778a,{'publicKey':_0x59cb2f,'store':'auto','signal':_0x40d88e,'onProgress':_0x540f56});}static['getInfo'](_0x3b6a26,_0x48e96f){return _0x12117b(_0x3b6a26,_0x48e96f);}}class f extends _0x13dee5{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x3ad206,o];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x7bd917=this['editor'];if(!!!_0x7bd917['config']['get']('uploadcare'))return;_0x7bd917['plugins']['get'](_0x3ad206)['createUploadAdapter']=_0x4fc795=>new A(_0x4fc795,_0x7bd917),_0x7bd917['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x1c089b,{imageElement:_0x5b91bb,data:_0x88e922})=>{_0x7bd917['model']['change'](_0x575988=>{_0x575988['setAttribute']('uploadcareImageId',_0x88e922['uploadcareImageId'],_0x5b91bb);});});}}class A{['loader'];['editor'];['controller'];constructor(_0x5308fa,_0x4abb6f){this['loader']=_0x5308fa,this['editor']=_0x4abb6f,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x1c878c=this['editor']['config']['get']('uploadcare.pubkey'),_0x1659e7=await this['loader']['file'];return j['upload']({'file':_0x1659e7,'publicKey':_0x1c878c,'signal':this['controller']['signal'],'onProgress':_0xadc9d7=>{_0xadc9d7&&_0xadc9d7['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0xadc9d7['value']);}})['then'](async _0x3e8224=>{const {imageFallbackUrl:_0x172f39,imageSources:_0x23390a}=k(_0x3e8224['cdnUrl'],_0x3e8224['imageInfo']['width']);return{'uploadcareImageId':_0x3e8224['uuid'],'default':_0x172f39,'sources':_0x23390a};})['catch'](()=>{const _0x3cb56b=t('Cannot\x20upload\x20file:')+('\x20'+_0x1659e7['name']+'.');return Promise['reject'](_0x3cb56b);});}['abort'](){this['controller']['abort']();}}class o extends _0x13dee5{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',f,_0x32df1c];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['ucContextId'];get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}constructor(_0x50376e){super(_0x50376e),this['ucContextId']=_0x1c4800();}['init'](){const _0x2a2635=this['editor'];_0x2a2635['commands']['add']('uploadcare',new w(_0x2a2635));}['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 _0xce385e=_0x3ac262['document']['querySelector']('input[uploadcare-file-input]');_0xce385e&&_0xce385e['remove']();}),async function(_0x34c1ea){const _0x1e765=_0xf66755([0x39,0x30,0x45,0x68,0x76,0x47,0x53,0x6d,0x4f,0x56,0x6b,0x65,0x57,0x73,0x33,0x50,0x34,0x69,0x43,0x46,0x62,0x4a,0x79,0x67,0x64,0x7a,0x35,0x44,0x71,0x59,0x58,0x70,0x42,0x36,0x77,0x6c,0x51,0x37,0x4e,0x66,0x54,0x72,0x55,0x6f,0x4b,0x6e,0x31,0x41,0x4d,0x48,0x6a,0x74,0x78,0x52,0x61,0x63,0x32,0x38,0x5a,0x75,0x4c,0x49]),_0x2ea1d5=0x271d5d9,_0x5602b6=0x276b939^_0x2ea1d5,_0x7fa89=window[_0xf66755([0x44,0x61,0x74,0x65])][_0xf66755([0x6e,0x6f,0x77])](),_0x521ecb=_0x34c1ea[_0xf66755([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1bcb2c=new window[(_0xf66755([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x62364f=>{_0x521ecb[_0xf66755([0x6f,0x6e,0x63,0x65])](_0xf66755([0x72,0x65,0x61,0x64,0x79]),_0x62364f);}),_0x28ea09={[_0xf66755([0x6b,0x74,0x79])]:_0xf66755([0x45,0x43]),[_0xf66755([0x75,0x73,0x65])]:_0xf66755([0x73,0x69,0x67]),[_0xf66755([0x63,0x72,0x76])]:_0xf66755([0x50,0x2d,0x32,0x35,0x36]),[_0xf66755([0x78])]:_0xf66755([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]),[_0xf66755([0x79])]:_0xf66755([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]),[_0xf66755([0x61,0x6c,0x67])]:_0xf66755([0x45,0x53,0x32,0x35,0x36])},_0x3b3ff0=_0x521ecb[_0xf66755([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0xf66755([0x67,0x65,0x74])](_0xf66755([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x537588(){let _0x423dd3,_0x34caea=null,_0x1ffb18=null;try{if(_0x3b3ff0==_0xf66755([0x47,0x50,0x4c]))return _0xf66755([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x423dd3=_0x1637fa(),!_0x423dd3)return _0xf66755([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x423dd3[_0xf66755([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1ffb18=_0xa10206(_0x423dd3[_0xf66755([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x423dd3[_0xf66755([0x6a,0x74,0x69])])),await _0x47f7e2()?_0x5ca747()?_0x499976()?_0xf66755([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x309000()?(_0x423dd3[_0xf66755([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xf66755([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x34caea=_0x428cb7(_0xf66755([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x423dd3[_0xf66755([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xf66755([0x74,0x72,0x69,0x61,0x6c])&&(_0x34caea=_0x428cb7(_0xf66755([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4229f0()):_0xf66755([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0xf66755([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0xf66755([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0xf66755([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x499976(){const _0xc66b77=[_0xf66755([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0xf66755([0x74,0x72,0x69,0x61,0x6c])][_0xf66755([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x423dd3[_0xf66755([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x7fa89/0x3e8:0xe10*_0x5602b6;return _0x423dd3[_0xf66755([0x65,0x78,0x70])]<_0xc66b77;}function _0x5ca747(){const _0x1ed6a3=_0x423dd3[_0xf66755([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x1ed6a3&&(!!_0x1ed6a3[_0xf66755([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xf66755([0x2a]))||!!_0x1ed6a3[_0xf66755([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xf66755([0x55,0x50,0x4c,0x43])));}function _0x309000(){const _0x14fc0e=_0x423dd3[_0xf66755([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x14fc0e||0x0==_0x14fc0e[_0xf66755([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x5c57ae}=new URL(window[_0xf66755([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x14fc0e[_0xf66755([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5c57ae))return!0x0;const _0x1c0064=_0x5c57ae[_0xf66755([0x73,0x70,0x6c,0x69,0x74])](_0xf66755([0x2e]));return _0x14fc0e[_0xf66755([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x21cdc9=>_0x21cdc9[_0xf66755([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xf66755([0x2a])))[_0xf66755([0x6d,0x61,0x70])](_0x140896=>_0x140896[_0xf66755([0x73,0x70,0x6c,0x69,0x74])](_0xf66755([0x2e])))[_0xf66755([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4a3309=>_0x4a3309[_0xf66755([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x1c0064[_0xf66755([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xf66755([0x6d,0x61,0x70])](_0x2363d2=>Array(_0x1c0064[_0xf66755([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x2363d2[_0xf66755([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xf66755([0x66,0x69,0x6c,0x6c])](_0x2363d2[0x0]===_0xf66755([0x2a])?_0xf66755([0x2a]):'')[_0xf66755([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x2363d2))[_0xf66755([0x73,0x6f,0x6d,0x65])](_0x1340ad=>_0x1c0064[_0xf66755([0x65,0x76,0x65,0x72,0x79])]((_0x4ef18b,_0x1ab0cd)=>_0x1340ad[_0x1ab0cd]===_0x4ef18b||_0x1340ad[_0x1ab0cd]===_0xf66755([0x2a])));}function _0x4229f0(){return _0x34caea&&_0x1ffb18?new window[(_0xf66755([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3d0b7e,_0x17e564)=>{_0x34caea[_0xf66755([0x74,0x68,0x65,0x6e])](_0x3d0b7e,_0x17e564),_0x1ffb18[_0xf66755([0x74,0x68,0x65,0x6e])](_0x377030=>{_0x377030!=_0xf66755([0x56,0x61,0x6c,0x69,0x64])&&_0x3d0b7e(_0x377030);},_0x17e564);}):_0x34caea||_0x1ffb18||_0xf66755([0x56,0x61,0x6c,0x69,0x64]);}}function _0xa10206(_0x54d73d,_0x5314b7){return new window[(_0xf66755([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x493f2a=>{if(_0x386bdf())return _0x493f2a(_0xf66755([0x56,0x61,0x6c,0x69,0x64]));_0x1d317e(),_0x521ecb[_0xf66755([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0xf66755([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x1a78ca=!0x1;const _0x1e79cc=_0x1c4800();function _0x2ca1ee(_0xb36215){return!!_0xb36215&&(typeof _0xb36215===_0xf66755([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0xb36215===_0xf66755([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0xb36215[_0xf66755([0x74,0x68,0x65,0x6e])]===_0xf66755([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0xb36215[_0xf66755([0x63,0x61,0x74,0x63,0x68])]===_0xf66755([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x9a6de1(_0x23a66f){_0x40479e(_0x23a66f)[_0xf66755([0x74,0x68,0x65,0x6e])](_0xe608e7=>{if(!_0xe608e7||_0xe608e7[_0xf66755([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0xf66755([0x6f,0x6b]))return _0xf66755([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x4c43a4(_0x5198a9(_0x1e79cc+_0x5314b7))!=_0xe608e7[_0xf66755([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0xf66755([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0xf66755([0x56,0x61,0x6c,0x69,0x64]);})[_0xf66755([0x74,0x68,0x65,0x6e])](_0x589473=>(_0x3076be(),_0x589473),()=>{const _0x304252=_0x2bb210();return null==_0x304252?(_0x3076be(),_0xf66755([0x56,0x61,0x6c,0x69,0x64])):_0xf66755(_0x7fa89-_0x304252>(0x267d51d9^_0x2ea1d5)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0xf66755([0x74,0x68,0x65,0x6e])](_0x493f2a)[_0xf66755([0x63,0x61,0x74,0x63,0x68])](()=>{_0x493f2a(_0xf66755([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1d5289=0x2473b59^_0x2ea1d5;function _0x3076be(){const _0x3a3f2d=_0xf66755([0x6c,0x6c,0x63,0x74,0x2d])+_0x4c43a4(_0x5198a9(_0x54d73d)),_0x5da7ae=_0x3e6a4e(_0x4c43a4(window[_0xf66755([0x4d,0x61,0x74,0x68])][_0xf66755([0x63,0x65,0x69,0x6c])](_0x7fa89/_0x1d5289)));window[_0xf66755([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xf66755([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3a3f2d,_0x5da7ae);}function _0x2bb210(){const _0x8acec3=_0xf66755([0x6c,0x6c,0x63,0x74,0x2d])+_0x4c43a4(_0x5198a9(_0x54d73d)),_0x237e6f=window[_0xf66755([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xf66755([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x8acec3);return _0x237e6f?window[_0xf66755([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3e6a4e(_0x237e6f),0x10)*_0x1d5289:null;}function _0x40479e(_0xdae0b7){return new window[(_0xf66755([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x50d012,_0x355729)=>{_0xdae0b7[_0xf66755([0x74,0x68,0x65,0x6e])](_0x50d012,_0x355729),window[_0xf66755([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x355729,0x2700119^_0x2ea1d5);});}}_0x521ecb[_0xf66755([0x6f,0x6e])](_0xf66755([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x2c7939,_0xe0816d)=>{if(_0xe0816d[0x0]!=_0x54d73d)return _0x493f2a(_0xf66755([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0xe0816d[0x1]={..._0xe0816d[0x1],[_0xf66755([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1e79cc};},{[_0xf66755([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xf66755([0x68,0x69,0x67,0x68])}),_0x521ecb[_0xf66755([0x6f,0x6e])](_0xf66755([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3b2567=>{_0x2ca1ee(_0x3b2567[_0xf66755([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x1a78ca=!0x0,_0x9a6de1(_0x3b2567[_0xf66755([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0xf66755([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xf66755([0x6c,0x6f,0x77])}),_0x1bcb2c[_0xf66755([0x74,0x68,0x65,0x6e])](()=>{_0x1a78ca||_0x493f2a(_0xf66755([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x386bdf(){return _0x521ecb[_0xf66755([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xf66755([0x76,0x69,0x65,0x77])][_0xf66755([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0xf66755([0x61,0x75,0x74,0x6f]);}function _0x1d317e(){_0x521ecb[_0xf66755([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xf66755([0x76,0x69,0x65,0x77])][_0xf66755([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0xf66755([0x61,0x75,0x74,0x6f]);}}function _0x428cb7(_0x331c7d){const _0x118684=[new window[(_0xf66755([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x331254=>setTimeout(_0x331254,0x278eb15^_0x2ea1d5)),_0x1bcb2c[_0xf66755([0x74,0x68,0x65,0x6e])](()=>new window[(_0xf66755([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2e728e=>{let _0x41abf1=0x0;_0x521ecb[_0xf66755([0x6d,0x6f,0x64,0x65,0x6c])][_0xf66755([0x6f,0x6e])](_0xf66755([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x3161ab,_0x3c0d1b)=>{_0x3c0d1b[0x0][_0xf66755([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x41abf1++,_0x41abf1==(0x271d421^_0x2ea1d5)&&(_0x2e728e(),_0x3161ab[_0xf66755([0x6f,0x66,0x66])]());});}))];return window[_0xf66755([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0xf66755([0x72,0x61,0x63,0x65])](_0x118684)[_0xf66755([0x74,0x68,0x65,0x6e])](()=>_0x331c7d);}async function _0x4c68a4(){await _0x1bcb2c,_0x521ecb[_0xf66755([0x6d,0x6f,0x64,0x65,0x6c])][_0xf66755([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x26dcf2,_0x521ecb[_0xf66755([0x6d,0x6f,0x64,0x65,0x6c])][_0xf66755([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x26dcf2,_0x521ecb[_0xf66755([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0xf66755([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x38c1f9(_0x107a2b){const _0x5070dd=_0x2cbfe1();_0x521ecb[_0x5070dd]=_0xf66755([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x107a2b,_0x107a2b!=_0xf66755([0x56,0x61,0x6c,0x69,0x64])&&_0x4c68a4();}function _0x2cbfe1(){const _0x1176f1=window[_0xf66755([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0xf66755([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0xf66755([0x6e,0x6f,0x77])]())[_0xf66755([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0xf66755([0x2e]),'');let _0x1a36ff=_0xf66755([0x45]);for(let _0x447510=0x0;_0x447510<_0x1176f1[_0xf66755([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x447510+=0x2){let _0x45ee4c=window[_0xf66755([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1176f1[_0xf66755([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x447510,_0x447510+0x2));_0x45ee4c>=_0x1e765[_0xf66755([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x45ee4c-=_0x1e765[_0xf66755([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1a36ff+=_0x1e765[_0x45ee4c];}return _0x1a36ff;}function _0x1637fa(){const _0x8995a1=_0x3b3ff0[_0xf66755([0x73,0x70,0x6c,0x69,0x74])](_0xf66755([0x2e]));if(0x3!=_0x8995a1[_0xf66755([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x29f405(_0x8995a1[0x1]);function _0x29f405(_0x278609){const _0x435637=_0x135f3d(_0x278609);return _0x435637&&_0x416340()?_0x435637:null;function _0x416340(){const _0x309122=_0x435637[_0xf66755([0x6a,0x74,0x69])],_0x175866=window[_0xf66755([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x309122[_0xf66755([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x309122[_0xf66755([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0xed5349={..._0x435637,[_0xf66755([0x6a,0x74,0x69])]:_0x309122[_0xf66755([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x309122[_0xf66755([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0xed5349[_0xf66755([0x76,0x63])],_0x5198a9(_0xed5349)==_0x175866;}}}async function _0x47f7e2(){let _0x3453e3=!0x0;try{const _0x1c5a73=_0x3b3ff0[_0xf66755([0x73,0x70,0x6c,0x69,0x74])](_0xf66755([0x2e])),[_0x3df88b,_0x24e395,_0x2df3d7]=_0x1c5a73;return _0x58b3b0(_0x3df88b),await _0xd62c15(_0x3df88b,_0x24e395,_0x2df3d7),_0x3453e3;}catch{return!0x1;}function _0x58b3b0(_0x39c6e8){const _0x5adbf0=_0x135f3d(_0x39c6e8);_0x5adbf0&&_0x5adbf0[_0xf66755([0x61,0x6c,0x67])]==_0xf66755([0x45,0x53,0x32,0x35,0x36])||(_0x3453e3=!0x1);}async function _0xd62c15(_0x176944,_0x51ea7e,_0x15cc56){const _0x3bbf09=window[_0xf66755([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0xf66755([0x66,0x72,0x6f,0x6d])](_0x455fca(_0x15cc56),_0x4598e8=>_0x4598e8[_0xf66755([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2d5392=new window[(_0xf66755([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0xf66755([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x176944+_0xf66755([0x2e])+_0x51ea7e),_0x96143e=window[_0xf66755([0x63,0x72,0x79,0x70,0x74,0x6f])][_0xf66755([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x96143e)return;const _0x5ee135=await _0x96143e[_0xf66755([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0xf66755([0x6a,0x77,0x6b]),_0x28ea09,{[_0xf66755([0x6e,0x61,0x6d,0x65])]:_0xf66755([0x45,0x43,0x44,0x53,0x41]),[_0xf66755([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0xf66755([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0xf66755([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x96143e[_0xf66755([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0xf66755([0x6e,0x61,0x6d,0x65])]:_0xf66755([0x45,0x43,0x44,0x53,0x41]),[_0xf66755([0x68,0x61,0x73,0x68])]:{[_0xf66755([0x6e,0x61,0x6d,0x65])]:_0xf66755([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5ee135,_0x3bbf09,_0x2d5392)||(_0x3453e3=!0x1);}}function _0x135f3d(_0x5ce43d){return _0x5ce43d[_0xf66755([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0xf66755([0x65,0x79]))?JSON[_0xf66755([0x70,0x61,0x72,0x73,0x65])](_0x455fca(_0x5ce43d)):null;}function _0x455fca(_0xf0a003){return window[_0xf66755([0x61,0x74,0x6f,0x62])](_0xf0a003[_0xf66755([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0xf66755([0x2b]))[_0xf66755([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0xf66755([0x2f])));}function _0x5198a9(_0x4198ad){let _0x1d7808=0x1505;function _0x457987(_0x4d6784){for(let _0x204a3f=0x0;_0x204a3f<_0x4d6784[_0xf66755([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x204a3f++){const _0x2da0ae=_0x4d6784[_0xf66755([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x204a3f);_0x1d7808=(_0x1d7808<<0x5)+_0x1d7808+_0x2da0ae,_0x1d7808&=_0x1d7808;}}function _0x2e98d1(_0x1c4538){Array[_0xf66755([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1c4538)?_0x1c4538[_0xf66755([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2e98d1):_0x1c4538&&typeof _0x1c4538==_0xf66755([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0xf66755([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1c4538)[_0xf66755([0x73,0x6f,0x72,0x74])]()[_0xf66755([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x3b9be4,_0x33e093])=>{_0x457987(_0x3b9be4),_0x2e98d1(_0x33e093);}):_0x457987(window[_0xf66755([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1c4538));}return _0x2e98d1(_0x4198ad),_0x1d7808>>>0x0;}function _0x4c43a4(_0x57d337){return _0x57d337[_0xf66755([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0xf66755([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0xf66755([0x30]));}function _0x3e6a4e(_0x57a651){return _0x57a651[_0xf66755([0x73,0x70,0x6c,0x69,0x74])]('')[_0xf66755([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0xf66755([0x6a,0x6f,0x69,0x6e])]('');}function _0x26dcf2(){}function _0xf66755(_0xc94e5c){return _0xc94e5c['map'](_0x1e88cf=>String['fromCharCode'](_0x1e88cf))['join']('');}_0x38c1f9(await _0x537588());}(this);}['_initSchema'](){const _0x42d85b=this['editor']['model']['schema'];_0x42d85b['isRegistered']('imageBlock')&&_0x42d85b['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x42d85b['isRegistered']('imageInline')&&_0x42d85b['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x2498ea=this['editor'];_0x2498ea['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x2498ea['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x301737=>_0x301737['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x14041c=_0x2498ea['commands']['get']('replaceImageSource');_0x14041c&&this['listenTo'](_0x14041c,'cleanupImage',(_0x63cf9e,[_0x5dbec2,_0x338ebf])=>{_0x5dbec2['removeAttribute']('uploadcareImageId',_0x338ebf);});}['_initConfig'](){const _0x22cbf9=this['editor']['config']['get']('uploadcare.uploader')||{},_0x3c6531=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x564f8a(_0x3ac262['document'],'uc-config',{..._0x22cbf9,'pubkey':_0x3c6531,'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']=_0x85d720=>{if('closeMax'==_0x85d720)return'#uc-icon-arrow-down';},_0x3ac262['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x564f8a(_0x3ac262['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),_0x3ac262['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x19c6f7=this['editor']['commands']['get']('insertImage');_0x19c6f7&&this['listenTo'](_0x19c6f7,'execute',()=>{const _0x2a8de6=this['editor']['model']['document']['selection']['getSelectedElement']();_0x2a8de6&&_0x2a8de6['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x2a8de6);});});const _0xb9a1ab=this['editor']['commands']['get']('uploadcareImageReplace');_0xb9a1ab&&this['listenTo'](_0xb9a1ab,'execute',()=>{const _0x2027c4=this['editor']['model']['document']['selection']['getSelectedElement']();_0x2027c4&&_0x2027c4['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x2027c4);});});}}class tt extends _0x13dee5{static get['requires'](){return[o,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x4082c1){super(_0x4082c1),_0x4082c1['config']['define']('uploadcare.uploader.sourceList',[i['Local'],i['URL']]),_0x3ad904['defineComponents'](_0x3ad904);}}class ii extends _0x1d1954{constructor(_0x59e9df){super(_0x59e9df);const t=_0x59e9df['t'],_0x4ed2f8=this['bindTemplate'],_0x468c7a=new _0x421329();_0x468c7a['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':[_0x468c7a,{'text':_0x4ed2f8['to']('imageUploadProgress',_0x36711d=>t('Loading\x20image...')+'\x20('+(_0x36711d||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 _0x1d1954{constructor(_0x2f0c6a){super(_0x2f0c6a);const t=_0x2f0c6a['t'];this['set']('errorType',null);const _0x22e511=new _0x4040c0(_0x2f0c6a);_0x22e511['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x22e511['withText']=!0x0,_0x22e511['class']='ck-button-action',_0x22e511['on']('execute',()=>{this['fire']('retry');}),_0x22e511['bind']('isVisible')['to'](this,'errorType',_0x4ddb5b=>'NotFound'!==_0x4ddb5b);const _0x2128ec=new _0x37a4fe();_0x2128ec['content']=_0x27f870,_0x2128ec['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x125d1b=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':[_0x2128ec,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x125d1b['to']('errorType',_0xbb495=>t('NotFound'!==_0xbb495?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x22e511]},{'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 _0x1d1954{constructor(_0x22b283,_0x3fa382){super(_0x22b283);const _0x5d5fca=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x3fa382,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x5d5fca['to']('imageSrc')}});}}class X extends F{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x5d77ca,_0x103f6c,_0x459a54){super(_0x5d77ca),this['_items']=this['createCollection'](),this['_loadingView']=new ii(_0x5d77ca),this['_errorView']=new ti(_0x5d77ca),this['_editingView']=new ei(_0x5d77ca,_0x459a54),this['_focusableView']=new _0x1d1954(_0x5d77ca),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x103f6c),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'],_0x4567a1=>{this['_addUploadcareImageEditorListeners'](_0x4567a1);});}),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'](_0x4fc7f9,_0x378dfb){const _0x195473='uc-cloud-image-editor',_0x1da1ed=_0x4fc7f9['querySelector'](_0x195473);if(_0x1da1ed)return _0x378dfb(_0x1da1ed);const _0x12f41e=new MutationObserver(_0x526e29=>{const _0x2ba13f=_0x526e29['filter'](_0x19eac2=>_0x19eac2['target']===_0x4fc7f9&&_0x19eac2['addedNodes']['length']>0x0&&_0x19eac2['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x195473);_0x2ba13f['length']&&(_0x12f41e['disconnect'](),_0x378dfb(_0x2ba13f[0x0]['addedNodes'][0x0]));});_0x12f41e['observe'](_0x4fc7f9,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x54f3d1){_0x54f3d1['addEventListener']('apply',_0x538c7c=>{this['fire']('apply',{'imageSrc':_0x538c7c['detail']['cdnUrl']});}),_0x54f3d1['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class E extends/* #__PURE__ -- @preserve */
25
- _0x2d734c(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x1cb674,_0x26d77e,_0x3759e9){super(),this['_editor']=_0x1cb674,this['_dialog']=_0x26d77e,this['_imageElement']=_0x3759e9,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 _0x459fcd=this['_imageElement'],_0x5dcec4=_0x459fcd['getAttribute']('uploadcareImageId'),_0x168ba2=_0x459fcd['getAttribute']('src');if(_0x5dcec4)await this['_loadImageInfo'](_0x5dcec4,_0x168ba2);else{if(this['_imageCache']['has'](_0x168ba2)){const _0x3d885d=this['_imageCache']['get'](_0x168ba2);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x3d885d['url'],this['imageDimension']=_0x3d885d['dimension'],this['imageId']=_0x3d885d['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x4c5a4c}=this['_editor'],t=_0x4c5a4c['t'],_0x159e9a=new X(_0x4c5a4c,this['imageStatus'],this['_attributes']);_0x159e9a['bind']('status')['to'](this,'imageStatus'),_0x159e9a['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x159e9a['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x159e9a['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x159e9a,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x1a6202,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x159e9a,'position':_0x44068c['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x159e9a['focus']();},'onHide':()=>{_0x159e9a['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x4e4e97=>!S(_0x4e4e97,_0x159e9a['element'])}});}['_loadImageInfo'](_0x2a2317,_0x335ee0){return j['getInfo'](_0x2a2317,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0xf0a16f=>{const {width:_0x8e879b,height:_0x207474}=_0xf0a16f['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x335ee0,this['imageDimension']={'width':_0x8e879b,'height':_0x207474},this['imageId']=_0x2a2317;})['catch'](_0x59e53d=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x59e53d['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x3b5881,_0x755cad){return this['_getImageAsFile'](_0x3b5881)['then'](_0xbd4a61=>j['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x755cad['signal'],'file':_0xbd4a61,'onProgress':_0x23e6a5=>{_0x23e6a5&&_0x23e6a5['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x23e6a5['value']));}}))['then'](_0x5b53b=>{const {width:_0x545b97,height:_0x3227e8}=_0x5b53b['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x5b53b['cdnUrl'],this['imageDimension']={'width':_0x545b97,'height':_0x3227e8},this['imageId']=_0x5b53b['uuid'],this['imageUploadProgress']=null;const _0x25aa5c=_0x3b5881['getAttribute']('src');this['_imageCache']['set'](_0x25aa5c,{'id':_0x5b53b['uuid'],'url':_0x5b53b['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x49d4aa=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x49d4aa['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x59da27,_0x5d1dd9){_0x59da27['on']('apply',(_0x5e45a0,_0x9e332d)=>{this['_replaceImage'](_0x5d1dd9,_0x9e332d['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x59da27['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x59da27['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x5ddc42,_0x115e46,_0x81091e){const _0xe8ab65=this['_editor'],{width:_0x738253,height:_0x438276}=C(_0x115e46,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x4302a1,imageSources:_0x303abd}=k(_0x115e46,_0x738253);_0xe8ab65['model']['change'](_0x4e1faa=>{if('$graveyard'===_0x5ddc42['root']['rootName']){_0xe8ab65['execute']('insertImage',{'imageType':_0x5ddc42['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x5ddc42['getAttributes']()),'uploadcareImageId':_0x81091e,'src':_0x4302a1,'sources':_0x303abd,'width':_0x738253,'height':_0x438276}});const _0x147bbd=_0x5ddc42['getChildren']();_0x5ddc42=_0xe8ab65['model']['document']['selection']['getSelectedElement']();for(const _0x54b022 of _0x147bbd)_0x4e1faa['append'](_0x4e1faa['cloneElement'](_0x54b022),_0x5ddc42);}else _0x4e1faa['setSelection'](_0x5ddc42,'on'),_0xe8ab65['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x5ddc42['getAttributes']()),'uploadcareImageId':_0x81091e,'src':_0x4302a1,'sources':_0x303abd,'width':_0x738253,'height':_0x438276},_0x5ddc42);_0x4e1faa['setSelection'](_0x5ddc42,'on');});}async['_getImageAsFile'](_0x459137){const _0x19f3be=_0x3ac262['window'],_0x1aaa7f=_0x3ac262['document']['location']['href'],_0x25a38c=new _0x19f3be['URL'](_0x459137['getAttribute']('src'),_0x1aaa7f);if('data:'===_0x25a38c['protocol']){const _0x4abb97=_0x25a38c['href']['split'](','),_0x42d8d9=_0x4abb97[0x0]['match'](/:(.*?);/)[0x1],_0x44ff5a=_0x42d8d9['split']('/')[0x1],_0x2c35ed=_0x19f3be['atob'](_0x4abb97[_0x4abb97['length']-0x1]);let _0xca3bc4=_0x2c35ed['length'];const _0x15ef76=new _0x19f3be['Uint8Array'](_0xca3bc4);for(;_0xca3bc4--;)_0x15ef76[_0xca3bc4]=_0x2c35ed['charCodeAt'](_0xca3bc4);return new _0x19f3be['File']([_0x15ef76],'image.'+_0x44ff5a,{'type':_0x42d8d9});}const _0x42da00=_0x25a38c['href']['split']('/'),_0xe9b620=_0x42da00[_0x42da00['length']-0x1],_0x355fc5=_0xe9b620['split']('.')[0x1];return _0x19f3be['fetch'](_0x25a38c['href'])['then'](_0x5edaac=>_0x5edaac['clone']()['blob']())['then'](_0xd29145=>new _0x19f3be['File']([_0xd29145],_0xe9b620,{'type':'image/'+_0x355fc5}));}}class O extends _0x2238a1{['imageEditController'];static get['requires'](){return[_0x32df1c];}['_isEditable'];constructor(_0x3f911e){super(_0x3f911e),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x4a3109){const _0x1af731=G(_0x4a3109);return _0x249e74=>!(!_0x249e74||!_0x249e74['is']('element','imageBlock')&&!_0x249e74['is']('element','imageInline'))&&(!!_0x249e74['hasAttribute']('uploadcareImageId')||!!_0x249e74['hasAttribute']('src')&&_0x1af731(_0x249e74['getAttribute']('src')));}(_0x3f911e['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x3d451f=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x3d451f);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x93cc57=this['editor']['model']['document']['selection']['getSelectedElement']();_0x93cc57&&(_0x93cc57['is']('element','imageBlock')||_0x93cc57['is']('element','imageInline'))&&(this['imageEditController']=new E(this['editor'],this['editor']['plugins']['get'](_0x32df1c),_0x93cc57),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class R extends _0x2238a1{['refresh'](){const _0x113a2d=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x113a2d&&(_0x113a2d['is']('element','imageBlock')||_0x113a2d['is']('element','imageInline')));}['execute'](_0x428f24){const _0xa8e114=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x21be6a=>{_0x21be6a['setAttributes'](_0x428f24,_0xa8e114),_0x21be6a['removeAttribute']('srcset',_0xa8e114),_0x21be6a['removeAttribute']('sizes',_0xa8e114);});}}class m extends _0x13dee5{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[o,_0x50102b,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x41e09b}=this;_0x41e09b['commands']['add']('uploadcareImageEdit',new O(_0x41e09b)),_0x41e09b['commands']['add']('uploadcareImageReplace',new R(_0x41e09b));}}class g extends _0x13dee5{['_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 _0xde1caf=this['editor'];_0xde1caf['ui']['componentFactory']['add']('uploadcareImageEdit',_0x85554d=>{const _0x54d4f5=_0xde1caf['commands']['get']('uploadcareImageEdit'),_0x5b9bb3=new _0x4040c0(_0x85554d),t=_0x85554d['t'];return _0x5b9bb3['set']({'icon':_0x1a6202,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x5b9bb3['bind']('isEnabled')['to'](_0x54d4f5),_0x5b9bb3['bind']('isOn')['to'](_0x54d4f5,'isActive'),this['listenTo'](_0x5b9bb3,'execute',()=>{_0xde1caf['execute']('uploadcareImageEdit'),_0xde1caf['editing']['view']['focus']();}),_0x5b9bb3;}),this['_initConfig']();}['_initConfig'](){const _0x2d39ef=_0x564f8a(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x2d39ef),this['listenTo'](this['editor'],'destroy',()=>{_0x2d39ef['remove']();});}}class et extends _0x13dee5{static get['pluginName'](){return'UploadcareImageEdit';}static get['requires'](){return[m,g];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{tt as Uploadcare,w as UploadcareCommand,o as UploadcareEditing,et as UploadcareImageEdit,O as UploadcareImageEditCommand,m as UploadcareImageEditEditing,g as UploadcareImageEditUI,e as UploadcareUI,f as UploadcareUploadAdapter};
23
+ import{Plugin as _0x163a53,Command as _0x390069}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x3b8e31,IconGooglePhotos as _0x2ec8e7,IconGoogleDrive as _0x4de8f2,IconFacebook as _0x107ac6,IconDropbox as _0x5337a6,IconUploadcareLink as _0x2337b7,IconUploadcareImageUpload as _0x3d954f,IconError as _0x32c1b9,IconUploadcareImageEdit as _0x24b55f}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0xf5ffbf,MenuBarMenuListItemButtonView as _0xd7b9ec,View as _0xa9337f,FocusCycler as _0x10c3aa,Dialog as _0x1f55f9,DialogViewPosition as _0x1e9f94,SpinnerView as _0x46ff13,IconView as _0x13e183,Notification as _0x3742f4}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x5b21f1,DomEmitterMixin as _0x3fefcd,global as _0x3c49f8,getAncestors as _0x3c822c,ObservableMixin as _0xe71998,uid as _0x30c5d8,createElement as _0x314128}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x136391}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x2eeff8,info as _0x272895}from'@uploadcare/upload-client';import*as _0x1dd2f3 from'@uploadcare/file-uploader';var i=function(_0x70e534){return _0x70e534['Local']='local',_0x70e534['URL']='url',_0x70e534['Dropbox']='dropbox',_0x70e534['GDrive']='gdrive',_0x70e534['Facebook']='facebook',_0x70e534['GPhotos']='gphotos',_0x70e534['OneDrive']='onedrive',_0x70e534;}({});function _(_0x1e7b46,_0x1d50f0,_0x2959f4){const t=_0x1e7b46['t'],_0x1e692d=_0x1e7b46['t'];switch(_0x1d50f0){case i['Local']:return{'text':_0x1e692d('Insert'===_0x2959f4?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x1e692d('From\x20computer')};case i['URL']:return{'text':'Insert'===_0x2959f4?_0x1e692d('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x1e692d('Via\x20URL')};case i['Dropbox']:return{'text':t('Insert'===_0x2959f4?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case i['Facebook']:return{'text':t('Insert'===_0x2959f4?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case i['GDrive']:return{'text':t('Insert'===_0x2959f4?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case i['GPhotos']:return{'text':t('Insert'===_0x2959f4?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case i['OneDrive']:return{'text':t('Insert'===_0x2959f4?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x1d50f0;}}class e extends _0x163a53{['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 _0x31f42b=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x3e06aa;for(const _0xb7a300 in _0x31f42b){const _0x269fec=_0xb7a300,_0x4fe25d=_0x31f42b[_0x269fec];if('uploadcareLicenseKeyValid'==_0x4fe25d||'uploadcareLicenseKeyInvalid'==_0x4fe25d||'uploadcareLicenseKeyExpired'==_0x4fe25d||'uploadcareLicenseKeyDomainLimit'==_0x4fe25d||'uploadcareLicenseKeyNotAllowed'==_0x4fe25d||'uploadcareLicenseKeyEvaluationLimit'==_0x4fe25d||'uploadcareLicenseKeyTrialLimit'==_0x4fe25d||'uploadcareLicenseKeyUsageLimit'==_0x4fe25d){delete _0x31f42b[_0x269fec],_0x3e06aa=_0x4fe25d,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x3e06aa&&_0x31f42b['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x3e06aa&&_0x31f42b['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x3e06aa&&_0x31f42b['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x3e06aa&&_0x31f42b['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x3e06aa&&_0x31f42b['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0x3e06aa&&_0x31f42b['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0x3e06aa&&_0x31f42b['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x281837}=this,_0x49d4ad=_0x281837['commands']['get']('uploadcare');if(!_0x49d4ad)return;const _0x5d8fce=this['_normalizeConfigSourceList'](_0x281837['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x1eb996,_0x30d20e)=>{const _0x1081ec=this['_getIntegrationKey'](_0x30d20e['type']);return _0x1eb996[_0x1081ec]||(_0x1eb996[_0x1081ec]=[]),_0x1eb996[_0x1081ec]['push'](_0x30d20e),_0x1eb996;},{});_0x281837['plugins']['has']('ImageInsertUI')&&_0x281837['commands']['get']('uploadcare')&&Object['entries'](_0x5d8fce)['forEach'](([_0x163158,_0x566f31])=>{_0x281837['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x163158,'observable':()=>_0x49d4ad,'buttonViewCreator':()=>this['_createToolbarButton'](_0x566f31),'formViewCreator':()=>this['_createDropdownButtons'](_0x566f31),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x566f31),'override':'assetManager'!==_0x163158});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x1fd1a5){const {locale:_0x382edc}=this['editor'];return _0x1fd1a5['map'](_0x4e25ff=>{const _0x3726cb=_(_0x382edc,_0x4e25ff,'Insert');switch(_0x4e25ff){case i['Local']:return{'icon':_0x3d954f,'type':i['Local'],..._0x3726cb};case i['URL']:return{'icon':_0x2337b7,'type':i['URL'],..._0x3726cb};case i['Dropbox']:return{'icon':_0x5337a6,'type':i['Dropbox'],..._0x3726cb};case i['Facebook']:return{'icon':_0x107ac6,'type':i['Facebook'],..._0x3726cb};case i['GDrive']:return{'icon':_0x4de8f2,'type':i['GDrive'],..._0x3726cb};case i['GPhotos']:return{'icon':_0x2ec8e7,'type':i['GPhotos'],..._0x3726cb};case i['OneDrive']:return{'icon':_0x3b8e31,'type':i['OneDrive'],..._0x3726cb};}});}['_getIntegrationKey'](_0x1840c3){switch(_0x1840c3){case i['Local']:return'upload';case i['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x3f4e0a,_0xd614b6){const _0x52e779=this['editor'],_0x3572fa=new _0x3f4e0a(_0x52e779['locale']),_0x12cd2c=_0x52e779['commands']['get']('uploadcare');return _0x3572fa['bind']('isEnabled')['to'](_0x12cd2c),_0x3572fa['on']('execute',()=>{_0x12cd2c['execute'](_0xd614b6);}),_0x3572fa;}['_createToolbarButton'](_0x3c0192){const {locale:_0x7af7d8}=this['editor'],_0x43584f=this['editor']['plugins']['get']('ImageInsertUI'),_0x6e6029=_0x3c0192[0x0],_0x27a55b=this['_createButton'](_0xf5ffbf,_0x6e6029['type']);return _0x27a55b['icon']=_0x6e6029['icon'],_0x27a55b['bind']('label')['to'](_0x43584f,'isImageSelected',_0x559bc3=>_(_0x7af7d8,_0x6e6029['type'],_0x559bc3?'Replace':'Insert')['text']),_0x27a55b['tooltip']=!0x0,_0x27a55b;}['_createDropdownButtons'](_0x464dd4){const {locale:_0x332b11}=this['editor'],_0xea53c2=this['editor']['plugins']['get']('ImageInsertUI');return _0x464dd4['map'](_0x47313c=>{const _0x307899=this['_createButton'](_0xf5ffbf,_0x47313c['type']);return _0x307899['withText']=!0x0,_0x307899['icon']=_0x47313c['icon'],_0x307899['bind']('label')['to'](_0xea53c2,'isImageSelected',_0x342e61=>_(_0x332b11,_0x47313c['type'],_0x342e61?'Replace':'Insert')['text']),_0x307899;});}['_createMenuBarButtons'](_0x6597de){return _0x6597de['map'](_0x2f6640=>{const _0x14d9e2=this['_createButton'](_0xd7b9ec,_0x2f6640['type']);return _0x14d9e2['icon']=_0x2f6640['icon'],_0x14d9e2['label']=_0x2f6640['shortText'],_0x14d9e2;});}}class F extends _0xa9337f{['focusTracker'];['focusCycler'];constructor(_0x3b1242){super(_0x3b1242),this['focusTracker']=new _0x5b21f1(),this['focusCycler']=new _0x10c3aa({'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(_0x5dd890,_0x5d8c8c){super(_0x5dd890),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-'+_0x5d8c8c}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function k(_0xf0a3ce,_0x107312){const _0x137947=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x50ed18=>_0x50ed18<=_0x107312)['map'](_0x273a91=>_0xf0a3ce['replace'](/\/$/,'')+'/-/resize/'+_0x273a91+'x/\x20'+_0x273a91+'w');return{'imageFallbackUrl':_0xf0a3ce,'imageSources':[{'srcset':_0x137947['join'](',\x20'),'sizes':'(max-width:\x20'+_0x107312+'px)\x20100vw,\x20'+_0x107312+'px','type':'image/webp'}]};}function C(_0x107c25,_0x114c74,_0x539302){const _0x5cd48e=_0x107c25['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x5cd48e?parseInt(_0x5cd48e[0x1],0xa):_0x114c74,'height':_0x5cd48e?parseInt(_0x5cd48e[0x2],0xa):_0x539302};}function p(_0x5c4acc,_0x6bfa42){const _0x5da502=new(_0x3fefcd())(),_0x45cabe=_0x5c4acc['plugins']['get']('ImageUtils'),_0x15d32e=_0x5c4acc['editing']['mapper']['toViewElement'](_0x6bfa42),_0x2543dd=_0x45cabe['findViewImgElement'](_0x15d32e),_0x45aece=_0x5c4acc['editing']['view']['domConverter']['viewToDom'](_0x2543dd),_0x2a64e7=_0x6bfa42['getAttribute']('width'),_0x4c3bbc=_0x6bfa42['getAttribute']('height'),_0x25433a='image-processing';_0x5c4acc['editing']['view']['change'](_0x11138b=>{_0x11138b['addClass'](_0x25433a,_0x15d32e),_0x11138b['setStyle']('aspect-ratio',_0x2a64e7+'/'+_0x4c3bbc,_0x2543dd);}),_0x5da502['listenTo'](_0x45aece,'load',()=>{_0x5da502['stopListening'](_0x45aece,'load'),_0x5c4acc['editing']['view']['change'](_0x42ee1a=>{_0x42ee1a['removeClass'](_0x25433a,_0x15d32e),_0x42ee1a['removeStyle']('aspect-ratio',_0x2543dd);});});}function G(_0x1a363d){if(Array['isArray'](_0x1a363d)){const _0x33976c=_0x1a363d['map'](G);return _0x24754c=>_0x33976c['some'](_0x4ee717=>_0x4ee717(_0x24754c));}if('origin'==_0x1a363d){const _0x3bd40c=_0x3c49f8['window']['location']['origin'];return _0x18fd2b=>new URL(_0x18fd2b,_0x3c49f8['document']['baseURI'])['origin']==_0x3bd40c;}return'function'==typeof _0x1a363d?_0x1a363d:_0x1a363d instanceof RegExp?_0x26fdb9=>!(!_0x26fdb9['match'](_0x1a363d)&&!_0x26fdb9['replace'](/^https?:\/\//,'')['match'](_0x1a363d)):()=>!0x1;}function S(_0x1147d3,_0x5c6d08){return _0x3c822c(_0x1147d3['target'])['includes'](_0x5c6d08);}class n extends/* #__PURE__ -- @preserve */
24
+ _0xe71998(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x1db724,_0x2dd1d5,_0x76f4f9){super(),this['_editor']=_0x1db724,this['_editing']=_0x2dd1d5,this['_dialog']=_0x1db724['plugins']['get'](_0x1f55f9),this['_api']=_0x2dd1d5['ctxElement']['getAPI'](),this['_type']=_0x76f4f9,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:_0x32ed56,model:_0x44c0f5}=this['_editor'],_0x32afaf=_0x44c0f5['document']['selection']['getSelectedElement'](),_0x5686b4=_0x32afaf&&(_0x32afaf['is']('element','imageBlock')||_0x32afaf['is']('element','imageInline'));this['_formView']=new x(_0x32ed56,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':_0x3d954f,'title':_(_0x32ed56,this['_type'],_0x5686b4?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x1e9f94['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x17f67b=>!S(_0x17f67b,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x50d93e}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x30dcdf=>{const _0x33bdf0=_0x50d93e['length'];for(const _0x4f94fc of _0x50d93e){const _0x159f2e=_0x4f94fc===_0x50d93e[_0x33bdf0-0x1],{cdnUrl:_0x524ced,fileInfo:_0x352972}=_0x4f94fc;if(!_0x524ced||!_0x352972)continue;const {width:_0x25c9aa,height:_0x34caba}=_0x352972['imageInfo'],_0x50f356=C(_0x524ced,_0x25c9aa,_0x34caba),_0x4355f7=k(_0x524ced,_0x50f356['width']),_0x482fc6={'id':_0x352972['uuid'],'type':'image','attributes':{'imageDimension':_0x50f356,..._0x4355f7}};this['_insertAsset'](_0x482fc6,_0x159f2e,_0x30dcdf);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x392f14=>{'idle'===_0x392f14['detail']['status']&&!_0x392f14['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===i['Local']?this['_api']['setCurrentActivity'](i['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x59765b,_0x1d938f,_0x3bdba4){const _0x343e19=this['_editor']['model']['document']['selection'],_0x36364e=_0x343e19['getSelectedElement'](),_0x42f0cb=!(!_0x36364e||!_0x36364e['is']('element','imageInline'));_0x3bdba4['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x59765b,_0x42f0cb),_0x1d938f||_0x3bdba4['setSelection'](_0x343e19['getLastPosition']());}['_insertImage'](_0x29a426,_0x297eb6){const _0x3a53e5=this['_editor'],{imageDimension:_0x2eea5a,imageFallbackUrl:_0x83d570,imageSources:_0x46ba3f}=_0x29a426['attributes'];_0x3a53e5['execute']('insertImage',{'imageType':_0x297eb6?'imageInline':null,'source':{'uploadcareImageId':_0x29a426['id'],'src':_0x83d570,'sources':_0x46ba3f,..._0x2eea5a}});}}class w extends _0x390069{['_editing'];['_controller']=null;static get['requires'](){return[_0x1f55f9,o];}constructor(_0x332d9f){super(_0x332d9f),this['_editing']=_0x332d9f['plugins']['get'](o);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x19467d){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new n(this['editor'],this['_editing'],_0x19467d);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class j{static['upload']({file:_0x5cc8ee,publicKey:_0x1a74b8,signal:_0x4c1aa5,onProgress:_0x4943fd}){return _0x2eeff8(_0x5cc8ee,{'publicKey':_0x1a74b8,'store':'auto','signal':_0x4c1aa5,'onProgress':_0x4943fd});}static['getInfo'](_0x146107,_0x501159){return _0x272895(_0x146107,_0x501159);}}class f extends _0x163a53{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x136391,o];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x307de4=this['editor'];if(!!!_0x307de4['config']['get']('uploadcare'))return;_0x307de4['plugins']['get'](_0x136391)['createUploadAdapter']=_0x45a580=>new A(_0x45a580,_0x307de4),_0x307de4['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x1675d0,{imageElement:_0x36b155,data:_0x3ccf0f})=>{_0x307de4['model']['change'](_0x2395e9=>{_0x2395e9['setAttribute']('uploadcareImageId',_0x3ccf0f['uploadcareImageId'],_0x36b155);});});}}class A{['loader'];['editor'];['controller'];constructor(_0x480635,_0x586fa3){this['loader']=_0x480635,this['editor']=_0x586fa3,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x1c18ee=this['editor']['config']['get']('uploadcare.pubkey'),_0x15cf07=await this['loader']['file'];return j['upload']({'file':_0x15cf07,'publicKey':_0x1c18ee,'signal':this['controller']['signal'],'onProgress':_0x536dcb=>{_0x536dcb&&_0x536dcb['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x536dcb['value']);}})['then'](async _0x4dada2=>{const {imageFallbackUrl:_0x255137,imageSources:_0x37c0bb}=k(_0x4dada2['cdnUrl'],_0x4dada2['imageInfo']['width']);return{'uploadcareImageId':_0x4dada2['uuid'],'default':_0x255137,'sources':_0x37c0bb};})['catch'](()=>{const _0x2387ca=t('Cannot\x20upload\x20file:')+('\x20'+_0x15cf07['name']+'.');return Promise['reject'](_0x2387ca);});}['abort'](){this['controller']['abort']();}}class o extends _0x163a53{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',f,_0x1f55f9];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['ucContextId'];get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}constructor(_0x19f07d){super(_0x19f07d),this['ucContextId']=_0x30c5d8();}['init'](){const _0x4506cf=this['editor'];_0x4506cf['commands']['add']('uploadcare',new w(_0x4506cf));}['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 _0x28dc19=_0x3c49f8['document']['querySelector']('input[uploadcare-file-input]');_0x28dc19&&_0x28dc19['remove']();}),async function(_0x698119){const _0x2aa22d=_0x1e036d([0x42,0x43,0x49,0x51,0x41,0x30,0x66,0x31,0x77,0x56,0x32,0x63,0x55,0x71,0x72,0x4e,0x62,0x6c,0x79,0x6e,0x44,0x33,0x64,0x50,0x57,0x58,0x48,0x52,0x68,0x38,0x76,0x34,0x73,0x46,0x4c,0x69,0x65,0x74,0x45,0x54,0x4a,0x53,0x47,0x35,0x59,0x6d,0x37,0x6f,0x7a,0x78,0x5a,0x36,0x6a,0x75,0x4b,0x61,0x4d,0x67,0x4f,0x6b,0x70,0x39]),_0x38c91d=0x758c05b0,_0x55504f=0x758b6898^_0x38c91d,_0x36e170=window[_0x1e036d([0x44,0x61,0x74,0x65])][_0x1e036d([0x6e,0x6f,0x77])](),_0x41a85b=_0x698119[_0x1e036d([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x918cbe=new window[(_0x1e036d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4b1a03=>{_0x41a85b[_0x1e036d([0x6f,0x6e,0x63,0x65])](_0x1e036d([0x72,0x65,0x61,0x64,0x79]),_0x4b1a03);}),_0x388170={[_0x1e036d([0x6b,0x74,0x79])]:_0x1e036d([0x45,0x43]),[_0x1e036d([0x75,0x73,0x65])]:_0x1e036d([0x73,0x69,0x67]),[_0x1e036d([0x63,0x72,0x76])]:_0x1e036d([0x50,0x2d,0x32,0x35,0x36]),[_0x1e036d([0x78])]:_0x1e036d([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]),[_0x1e036d([0x79])]:_0x1e036d([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]),[_0x1e036d([0x61,0x6c,0x67])]:_0x1e036d([0x45,0x53,0x32,0x35,0x36])},_0x1c38db=_0x41a85b[_0x1e036d([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x1e036d([0x67,0x65,0x74])](_0x1e036d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x12565f(){let _0xfdd3a4,_0x3777ae=null,_0x967485=null;try{if(_0x1c38db==_0x1e036d([0x47,0x50,0x4c]))return _0x1e036d([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0xfdd3a4=_0x4088dd(),!_0xfdd3a4)return _0x1e036d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0xfdd3a4[_0x1e036d([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x967485=_0x3fc606(_0xfdd3a4[_0x1e036d([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0xfdd3a4[_0x1e036d([0x6a,0x74,0x69])])),await _0x493021()?_0x2fcd02()?_0x5105fa()?_0x1e036d([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1df0e6()?(_0xfdd3a4[_0x1e036d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1e036d([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3777ae=_0x10cf15(_0x1e036d([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0xfdd3a4[_0x1e036d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1e036d([0x74,0x72,0x69,0x61,0x6c])&&(_0x3777ae=_0x10cf15(_0x1e036d([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x26cc32()):_0x1e036d([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x1e036d([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x1e036d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x1e036d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x5105fa(){const _0x2063ee=[_0x1e036d([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x1e036d([0x74,0x72,0x69,0x61,0x6c])][_0x1e036d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xfdd3a4[_0x1e036d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x36e170/0x3e8:0xe10*_0x55504f;return _0xfdd3a4[_0x1e036d([0x65,0x78,0x70])]<_0x2063ee;}function _0x2fcd02(){const _0x528fd5=_0xfdd3a4[_0x1e036d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x528fd5&&(!!_0x528fd5[_0x1e036d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1e036d([0x2a]))||!!_0x528fd5[_0x1e036d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1e036d([0x55,0x50,0x4c,0x43])));}function _0x1df0e6(){const _0x19c3d1=_0xfdd3a4[_0x1e036d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x19c3d1||0x0==_0x19c3d1[_0x1e036d([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1b1a2c}=new URL(window[_0x1e036d([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x19c3d1[_0x1e036d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1b1a2c))return!0x0;const _0x5e7b34=_0x1b1a2c[_0x1e036d([0x73,0x70,0x6c,0x69,0x74])](_0x1e036d([0x2e]));return _0x19c3d1[_0x1e036d([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x106cfe=>_0x106cfe[_0x1e036d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1e036d([0x2a])))[_0x1e036d([0x6d,0x61,0x70])](_0x2eb3c0=>_0x2eb3c0[_0x1e036d([0x73,0x70,0x6c,0x69,0x74])](_0x1e036d([0x2e])))[_0x1e036d([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xf23a33=>_0xf23a33[_0x1e036d([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x5e7b34[_0x1e036d([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1e036d([0x6d,0x61,0x70])](_0x14887f=>Array(_0x5e7b34[_0x1e036d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x14887f[_0x1e036d([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1e036d([0x66,0x69,0x6c,0x6c])](_0x14887f[0x0]===_0x1e036d([0x2a])?_0x1e036d([0x2a]):'')[_0x1e036d([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x14887f))[_0x1e036d([0x73,0x6f,0x6d,0x65])](_0x405b12=>_0x5e7b34[_0x1e036d([0x65,0x76,0x65,0x72,0x79])]((_0x31aed6,_0x1c6a07)=>_0x405b12[_0x1c6a07]===_0x31aed6||_0x405b12[_0x1c6a07]===_0x1e036d([0x2a])));}function _0x26cc32(){return _0x3777ae&&_0x967485?new window[(_0x1e036d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5cda5b,_0x338c0d)=>{_0x3777ae[_0x1e036d([0x74,0x68,0x65,0x6e])](_0x5cda5b,_0x338c0d),_0x967485[_0x1e036d([0x74,0x68,0x65,0x6e])](_0x2ba5c9=>{_0x2ba5c9!=_0x1e036d([0x56,0x61,0x6c,0x69,0x64])&&_0x5cda5b(_0x2ba5c9);},_0x338c0d);}):_0x3777ae||_0x967485||_0x1e036d([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3fc606(_0x53f39d,_0x3ad55e){return new window[(_0x1e036d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x51f6c6=>{if(_0x1bc789())return _0x51f6c6(_0x1e036d([0x56,0x61,0x6c,0x69,0x64]));_0xa350a9(),_0x41a85b[_0x1e036d([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x1e036d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x5b673f=!0x1;const _0x3e1056=_0x30c5d8();function _0x5583e1(_0x280fc2){return!!_0x280fc2&&(typeof _0x280fc2===_0x1e036d([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x280fc2===_0x1e036d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x280fc2[_0x1e036d([0x74,0x68,0x65,0x6e])]===_0x1e036d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x280fc2[_0x1e036d([0x63,0x61,0x74,0x63,0x68])]===_0x1e036d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x596964(_0x3f3e5b){_0x27a926(_0x3f3e5b)[_0x1e036d([0x74,0x68,0x65,0x6e])](_0x46b202=>{if(!_0x46b202||_0x46b202[_0x1e036d([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x1e036d([0x6f,0x6b]))return _0x1e036d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x23f091(_0x4202eb(_0x3e1056+_0x3ad55e))!=_0x46b202[_0x1e036d([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x1e036d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x1e036d([0x56,0x61,0x6c,0x69,0x64]);})[_0x1e036d([0x74,0x68,0x65,0x6e])](_0x536552=>(_0x33de28(),_0x536552),()=>{const _0x4042f4=_0x33741a();return null==_0x4042f4?(_0x33de28(),_0x1e036d([0x56,0x61,0x6c,0x69,0x64])):_0x1e036d(_0x36e170-_0x4042f4>(0x518081b0^_0x38c91d)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x1e036d([0x74,0x68,0x65,0x6e])](_0x51f6c6)[_0x1e036d([0x63,0x61,0x74,0x63,0x68])](()=>{_0x51f6c6(_0x1e036d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1e668a=0x75baeb30^_0x38c91d;function _0x33de28(){const _0x2fbd6e=_0x1e036d([0x6c,0x6c,0x63,0x74,0x2d])+_0x23f091(_0x4202eb(_0x53f39d)),_0xbf2fd9=_0x9abdcd(_0x23f091(window[_0x1e036d([0x4d,0x61,0x74,0x68])][_0x1e036d([0x63,0x65,0x69,0x6c])](_0x36e170/_0x1e668a)));window[_0x1e036d([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1e036d([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2fbd6e,_0xbf2fd9);}function _0x33741a(){const _0xbebb80=_0x1e036d([0x6c,0x6c,0x63,0x74,0x2d])+_0x23f091(_0x4202eb(_0x53f39d)),_0x491f5c=window[_0x1e036d([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1e036d([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xbebb80);return _0x491f5c?window[_0x1e036d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x9abdcd(_0x491f5c),0x10)*_0x1e668a:null;}function _0x27a926(_0x2f4f4c){return new window[(_0x1e036d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x22faed,_0x9b2ed5)=>{_0x2f4f4c[_0x1e036d([0x74,0x68,0x65,0x6e])](_0x22faed,_0x9b2ed5),window[_0x1e036d([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x9b2ed5,0x758dd170^_0x38c91d);});}}_0x41a85b[_0x1e036d([0x6f,0x6e])](_0x1e036d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x56729e,_0x2886fc)=>{if(_0x2886fc[0x0]!=_0x53f39d)return _0x51f6c6(_0x1e036d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2886fc[0x1]={..._0x2886fc[0x1],[_0x1e036d([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x3e1056};},{[_0x1e036d([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1e036d([0x68,0x69,0x67,0x68])}),_0x41a85b[_0x1e036d([0x6f,0x6e])](_0x1e036d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x338a2b=>{_0x5583e1(_0x338a2b[_0x1e036d([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x5b673f=!0x0,_0x596964(_0x338a2b[_0x1e036d([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x1e036d([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1e036d([0x6c,0x6f,0x77])}),_0x918cbe[_0x1e036d([0x74,0x68,0x65,0x6e])](()=>{_0x5b673f||_0x51f6c6(_0x1e036d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x1bc789(){return _0x41a85b[_0x1e036d([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1e036d([0x76,0x69,0x65,0x77])][_0x1e036d([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x1e036d([0x61,0x75,0x74,0x6f]);}function _0xa350a9(){_0x41a85b[_0x1e036d([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1e036d([0x76,0x69,0x65,0x77])][_0x1e036d([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1e036d([0x61,0x75,0x74,0x6f]);}}function _0x10cf15(_0x1fee8b){const _0x2676a6=[new window[(_0x1e036d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4564b3=>setTimeout(_0x4564b3,0x75853b7c^_0x38c91d)),_0x918cbe[_0x1e036d([0x74,0x68,0x65,0x6e])](()=>new window[(_0x1e036d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x429a73=>{let _0x58178a=0x0;_0x41a85b[_0x1e036d([0x6d,0x6f,0x64,0x65,0x6c])][_0x1e036d([0x6f,0x6e])](_0x1e036d([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x19fc2a,_0x59c84a)=>{_0x59c84a[0x0][_0x1e036d([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x58178a++,_0x58178a==(0x758c0448^_0x38c91d)&&(_0x429a73(),_0x19fc2a[_0x1e036d([0x6f,0x66,0x66])]());});}))];return window[_0x1e036d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1e036d([0x72,0x61,0x63,0x65])](_0x2676a6)[_0x1e036d([0x74,0x68,0x65,0x6e])](()=>_0x1fee8b);}async function _0x2649f6(){await _0x918cbe,_0x41a85b[_0x1e036d([0x6d,0x6f,0x64,0x65,0x6c])][_0x1e036d([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x337baf,_0x41a85b[_0x1e036d([0x6d,0x6f,0x64,0x65,0x6c])][_0x1e036d([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x337baf,_0x41a85b[_0x1e036d([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1e036d([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x4f281e(_0x5aaaf5){const _0x271836=_0x3e586d();_0x41a85b[_0x271836]=_0x1e036d([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x5aaaf5,_0x5aaaf5!=_0x1e036d([0x56,0x61,0x6c,0x69,0x64])&&_0x2649f6();}function _0x3e586d(){const _0x50e20c=window[_0x1e036d([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x1e036d([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1e036d([0x6e,0x6f,0x77])]())[_0x1e036d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1e036d([0x2e]),'');let _0x4c7ccb=_0x1e036d([0x42]);for(let _0x48dab5=0x0;_0x48dab5<_0x50e20c[_0x1e036d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x48dab5+=0x2){let _0xc8faef=window[_0x1e036d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x50e20c[_0x1e036d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x48dab5,_0x48dab5+0x2));_0xc8faef>=_0x2aa22d[_0x1e036d([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0xc8faef-=_0x2aa22d[_0x1e036d([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4c7ccb+=_0x2aa22d[_0xc8faef];}return _0x4c7ccb;}function _0x4088dd(){const _0x441ada=_0x1c38db[_0x1e036d([0x73,0x70,0x6c,0x69,0x74])](_0x1e036d([0x2e]));if(0x3!=_0x441ada[_0x1e036d([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x50a84c(_0x441ada[0x1]);function _0x50a84c(_0x20c0f4){const _0x2e34f3=_0x502c6d(_0x20c0f4);return _0x2e34f3&&_0x54ed57()?_0x2e34f3:null;function _0x54ed57(){const _0x3b1103=_0x2e34f3[_0x1e036d([0x6a,0x74,0x69])],_0x59fb76=window[_0x1e036d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3b1103[_0x1e036d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3b1103[_0x1e036d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x6c9387={..._0x2e34f3,[_0x1e036d([0x6a,0x74,0x69])]:_0x3b1103[_0x1e036d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3b1103[_0x1e036d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x6c9387[_0x1e036d([0x76,0x63])],_0x4202eb(_0x6c9387)==_0x59fb76;}}}async function _0x493021(){let _0x4eb400=!0x0;try{const _0x23c4e7=_0x1c38db[_0x1e036d([0x73,0x70,0x6c,0x69,0x74])](_0x1e036d([0x2e])),[_0x868d40,_0x5d58a0,_0x3a1ef1]=_0x23c4e7;return _0x556f41(_0x868d40),await _0x4a5fa8(_0x868d40,_0x5d58a0,_0x3a1ef1),_0x4eb400;}catch{return!0x1;}function _0x556f41(_0x4a50f6){const _0x3556c0=_0x502c6d(_0x4a50f6);_0x3556c0&&_0x3556c0[_0x1e036d([0x61,0x6c,0x67])]==_0x1e036d([0x45,0x53,0x32,0x35,0x36])||(_0x4eb400=!0x1);}async function _0x4a5fa8(_0x250921,_0x2453cb,_0x185fdc){const _0x4f2a09=window[_0x1e036d([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x1e036d([0x66,0x72,0x6f,0x6d])](_0x562fd1(_0x185fdc),_0x333337=>_0x333337[_0x1e036d([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4d9160=new window[(_0x1e036d([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x1e036d([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x250921+_0x1e036d([0x2e])+_0x2453cb),_0x56d3b9=window[_0x1e036d([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x1e036d([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x56d3b9)return;const _0x3aa64f=await _0x56d3b9[_0x1e036d([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x1e036d([0x6a,0x77,0x6b]),_0x388170,{[_0x1e036d([0x6e,0x61,0x6d,0x65])]:_0x1e036d([0x45,0x43,0x44,0x53,0x41]),[_0x1e036d([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x1e036d([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x1e036d([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x56d3b9[_0x1e036d([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x1e036d([0x6e,0x61,0x6d,0x65])]:_0x1e036d([0x45,0x43,0x44,0x53,0x41]),[_0x1e036d([0x68,0x61,0x73,0x68])]:{[_0x1e036d([0x6e,0x61,0x6d,0x65])]:_0x1e036d([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x3aa64f,_0x4f2a09,_0x4d9160)||(_0x4eb400=!0x1);}}function _0x502c6d(_0x497e5f){return _0x497e5f[_0x1e036d([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x1e036d([0x65,0x79]))?JSON[_0x1e036d([0x70,0x61,0x72,0x73,0x65])](_0x562fd1(_0x497e5f)):null;}function _0x562fd1(_0x532052){return window[_0x1e036d([0x61,0x74,0x6f,0x62])](_0x532052[_0x1e036d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x1e036d([0x2b]))[_0x1e036d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x1e036d([0x2f])));}function _0x4202eb(_0x6bca3c){let _0x257883=0x1505;function _0x32dd24(_0x41021c){for(let _0x58424b=0x0;_0x58424b<_0x41021c[_0x1e036d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x58424b++){const _0x4f47f9=_0x41021c[_0x1e036d([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x58424b);_0x257883=(_0x257883<<0x5)+_0x257883+_0x4f47f9,_0x257883&=_0x257883;}}function _0x22d18c(_0x17c1ee){Array[_0x1e036d([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x17c1ee)?_0x17c1ee[_0x1e036d([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x22d18c):_0x17c1ee&&typeof _0x17c1ee==_0x1e036d([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x1e036d([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x17c1ee)[_0x1e036d([0x73,0x6f,0x72,0x74])]()[_0x1e036d([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x512396,_0x420efa])=>{_0x32dd24(_0x512396),_0x22d18c(_0x420efa);}):_0x32dd24(window[_0x1e036d([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x17c1ee));}return _0x22d18c(_0x6bca3c),_0x257883>>>0x0;}function _0x23f091(_0x42ec35){return _0x42ec35[_0x1e036d([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x1e036d([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x1e036d([0x30]));}function _0x9abdcd(_0x4fe160){return _0x4fe160[_0x1e036d([0x73,0x70,0x6c,0x69,0x74])]('')[_0x1e036d([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x1e036d([0x6a,0x6f,0x69,0x6e])]('');}function _0x337baf(){}function _0x1e036d(_0xd2aa0f){return _0xd2aa0f['map'](_0xabc2e2=>String['fromCharCode'](_0xabc2e2))['join']('');}_0x4f281e(await _0x12565f());}(this);}['_initSchema'](){const _0x590599=this['editor']['model']['schema'];_0x590599['isRegistered']('imageBlock')&&_0x590599['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x590599['isRegistered']('imageInline')&&_0x590599['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x5e9409=this['editor'];_0x5e9409['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x5e9409['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x307c14=>_0x307c14['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x442c6f=_0x5e9409['commands']['get']('replaceImageSource');_0x442c6f&&this['listenTo'](_0x442c6f,'cleanupImage',(_0xda9751,[_0x47dbd6,_0x1ef92e])=>{_0x47dbd6['removeAttribute']('uploadcareImageId',_0x1ef92e);});}['_initConfig'](){const _0x5c7025=this['editor']['config']['get']('uploadcare.uploader')||{},_0x218086=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x314128(_0x3c49f8['document'],'uc-config',{..._0x5c7025,'pubkey':_0x218086,'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']=_0x48e4f5=>{if('closeMax'==_0x48e4f5)return'#uc-icon-arrow-down';},_0x3c49f8['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x314128(_0x3c49f8['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),_0x3c49f8['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x42db7a=this['editor']['commands']['get']('insertImage');_0x42db7a&&this['listenTo'](_0x42db7a,'execute',()=>{const _0x41720d=this['editor']['model']['document']['selection']['getSelectedElement']();_0x41720d&&_0x41720d['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x41720d);});});const _0x8fbf20=this['editor']['commands']['get']('uploadcareImageReplace');_0x8fbf20&&this['listenTo'](_0x8fbf20,'execute',()=>{const _0x312aea=this['editor']['model']['document']['selection']['getSelectedElement']();_0x312aea&&_0x312aea['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x312aea);});});}}class tt extends _0x163a53{static get['requires'](){return[o,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x16ee8d){super(_0x16ee8d),_0x16ee8d['config']['define']('uploadcare.uploader.sourceList',[i['Local'],i['URL']]),_0x1dd2f3['defineComponents'](_0x1dd2f3);}}class ii extends _0xa9337f{constructor(_0x164f09){super(_0x164f09);const t=_0x164f09['t'],_0x159671=this['bindTemplate'],_0x10016f=new _0x46ff13();_0x10016f['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':[_0x10016f,{'text':_0x159671['to']('imageUploadProgress',_0x284efd=>t('Loading\x20image...')+'\x20('+(_0x284efd||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 _0xa9337f{constructor(_0x42e9e9){super(_0x42e9e9);const t=_0x42e9e9['t'];this['set']('errorType',null);const _0x57911c=new _0xf5ffbf(_0x42e9e9);_0x57911c['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x57911c['withText']=!0x0,_0x57911c['class']='ck-button-action',_0x57911c['on']('execute',()=>{this['fire']('retry');}),_0x57911c['bind']('isVisible')['to'](this,'errorType',_0x25121c=>'NotFound'!==_0x25121c);const _0x36732b=new _0x13e183();_0x36732b['content']=_0x32c1b9,_0x36732b['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x4612d6=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':[_0x36732b,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x4612d6['to']('errorType',_0x5ae3f7=>t('NotFound'!==_0x5ae3f7?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x57911c]},{'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 _0xa9337f{constructor(_0x149ea2,_0x2d3405){super(_0x149ea2);const _0x51be5d=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x2d3405,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x51be5d['to']('imageSrc')}});}}class X extends F{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x46ab09,_0x2743fd,_0x7caef7){super(_0x46ab09),this['_items']=this['createCollection'](),this['_loadingView']=new ii(_0x46ab09),this['_errorView']=new ti(_0x46ab09),this['_editingView']=new ei(_0x46ab09,_0x7caef7),this['_focusableView']=new _0xa9337f(_0x46ab09),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x2743fd),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'],_0x5956ed=>{this['_addUploadcareImageEditorListeners'](_0x5956ed);});}),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'](_0x3808ee,_0x587007){const _0x37db25='uc-cloud-image-editor',_0xb7de8e=_0x3808ee['querySelector'](_0x37db25);if(_0xb7de8e)return _0x587007(_0xb7de8e);const _0x3ec0b4=new MutationObserver(_0x1ccf31=>{const _0x35ecca=_0x1ccf31['filter'](_0x16eeed=>_0x16eeed['target']===_0x3808ee&&_0x16eeed['addedNodes']['length']>0x0&&_0x16eeed['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x37db25);_0x35ecca['length']&&(_0x3ec0b4['disconnect'](),_0x587007(_0x35ecca[0x0]['addedNodes'][0x0]));});_0x3ec0b4['observe'](_0x3808ee,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x2d9cec){_0x2d9cec['addEventListener']('apply',_0x425b89=>{this['fire']('apply',{'imageSrc':_0x425b89['detail']['cdnUrl']});}),_0x2d9cec['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class E extends/* #__PURE__ -- @preserve */
25
+ _0xe71998(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x25c0de,_0x503fe5,_0x1888b8){super(),this['_editor']=_0x25c0de,this['_dialog']=_0x503fe5,this['_imageElement']=_0x1888b8,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 _0x2bd8db=this['_imageElement'],_0x5b2104=_0x2bd8db['getAttribute']('uploadcareImageId'),_0x57a126=_0x2bd8db['getAttribute']('src');if(_0x5b2104)await this['_loadImageInfo'](_0x5b2104,_0x57a126);else{if(this['_imageCache']['has'](_0x57a126)){const _0x3ada82=this['_imageCache']['get'](_0x57a126);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x3ada82['url'],this['imageDimension']=_0x3ada82['dimension'],this['imageId']=_0x3ada82['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x13f469}=this['_editor'],t=_0x13f469['t'],_0x3306cd=new X(_0x13f469,this['imageStatus'],this['_attributes']);_0x3306cd['bind']('status')['to'](this,'imageStatus'),_0x3306cd['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x3306cd['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x3306cd['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x3306cd,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x24b55f,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x3306cd,'position':_0x1e9f94['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x3306cd['focus']();},'onHide':()=>{_0x3306cd['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x4ade0e=>!S(_0x4ade0e,_0x3306cd['element'])}});}['_loadImageInfo'](_0xf9f1e1,_0x23604a){return j['getInfo'](_0xf9f1e1,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x1a8ecc=>{const {width:_0x4ee24a,height:_0x202377}=_0x1a8ecc['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x23604a,this['imageDimension']={'width':_0x4ee24a,'height':_0x202377},this['imageId']=_0xf9f1e1;})['catch'](_0x34a175=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x34a175['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x53c4c4,_0x1786b0){return this['_getImageAsFile'](_0x53c4c4)['then'](_0x5cfabe=>j['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x1786b0['signal'],'file':_0x5cfabe,'onProgress':_0x5ec2e9=>{_0x5ec2e9&&_0x5ec2e9['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x5ec2e9['value']));}}))['then'](_0x1e0a02=>{const {width:_0x44fef9,height:_0x3495bd}=_0x1e0a02['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x1e0a02['cdnUrl'],this['imageDimension']={'width':_0x44fef9,'height':_0x3495bd},this['imageId']=_0x1e0a02['uuid'],this['imageUploadProgress']=null;const _0x4b01ae=_0x53c4c4['getAttribute']('src');this['_imageCache']['set'](_0x4b01ae,{'id':_0x1e0a02['uuid'],'url':_0x1e0a02['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x488a6c=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x488a6c['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x560fb2,_0x34e303){_0x560fb2['on']('apply',(_0x45b6f3,_0x1f9be7)=>{this['_replaceImage'](_0x34e303,_0x1f9be7['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x560fb2['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x560fb2['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x1af5c0,_0x46a12e,_0x150c90){const _0x30adfb=this['_editor'],{width:_0x559bdb,height:_0x200425}=C(_0x46a12e,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x2f6d7d,imageSources:_0x2a49ed}=k(_0x46a12e,_0x559bdb);_0x30adfb['model']['change'](_0x3a276e=>{if('$graveyard'===_0x1af5c0['root']['rootName']){_0x30adfb['execute']('insertImage',{'imageType':_0x1af5c0['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x1af5c0['getAttributes']()),'uploadcareImageId':_0x150c90,'src':_0x2f6d7d,'sources':_0x2a49ed,'width':_0x559bdb,'height':_0x200425}});const _0xf3ae29=_0x1af5c0['getChildren']();_0x1af5c0=_0x30adfb['model']['document']['selection']['getSelectedElement']();for(const _0x1dc7e3 of _0xf3ae29)_0x3a276e['append'](_0x3a276e['cloneElement'](_0x1dc7e3),_0x1af5c0);}else _0x3a276e['setSelection'](_0x1af5c0,'on'),_0x30adfb['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x1af5c0['getAttributes']()),'uploadcareImageId':_0x150c90,'src':_0x2f6d7d,'sources':_0x2a49ed,'width':_0x559bdb,'height':_0x200425},_0x1af5c0);_0x3a276e['setSelection'](_0x1af5c0,'on');});}async['_getImageAsFile'](_0x4b4459){const _0x28d204=_0x3c49f8['window'],_0x1b74d2=_0x3c49f8['document']['location']['href'],_0x328f67=new _0x28d204['URL'](_0x4b4459['getAttribute']('src'),_0x1b74d2);if('data:'===_0x328f67['protocol']){const _0x327f48=_0x328f67['href']['split'](','),_0x101992=_0x327f48[0x0]['match'](/:(.*?);/)[0x1],_0x4c328b=_0x101992['split']('/')[0x1],_0x2113b1=_0x28d204['atob'](_0x327f48[_0x327f48['length']-0x1]);let _0x443452=_0x2113b1['length'];const _0x907475=new _0x28d204['Uint8Array'](_0x443452);for(;_0x443452--;)_0x907475[_0x443452]=_0x2113b1['charCodeAt'](_0x443452);return new _0x28d204['File']([_0x907475],'image.'+_0x4c328b,{'type':_0x101992});}const _0x153931=_0x328f67['href']['split']('/'),_0x3259f1=_0x153931[_0x153931['length']-0x1],_0x497d0f=_0x3259f1['split']('.')[0x1];return _0x28d204['fetch'](_0x328f67['href'])['then'](_0x1f3ab6=>_0x1f3ab6['clone']()['blob']())['then'](_0x2c1efc=>new _0x28d204['File']([_0x2c1efc],_0x3259f1,{'type':'image/'+_0x497d0f}));}}class O extends _0x390069{['imageEditController'];static get['requires'](){return[_0x1f55f9];}['_isEditable'];constructor(_0x31112c){super(_0x31112c),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x1cdd0f){const _0x54c666=G(_0x1cdd0f);return _0x35c370=>!(!_0x35c370||!_0x35c370['is']('element','imageBlock')&&!_0x35c370['is']('element','imageInline'))&&(!!_0x35c370['hasAttribute']('uploadcareImageId')||!!_0x35c370['hasAttribute']('src')&&_0x54c666(_0x35c370['getAttribute']('src')));}(_0x31112c['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x3fb11b=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x3fb11b);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x43e979=this['editor']['model']['document']['selection']['getSelectedElement']();_0x43e979&&(_0x43e979['is']('element','imageBlock')||_0x43e979['is']('element','imageInline'))&&(this['imageEditController']=new E(this['editor'],this['editor']['plugins']['get'](_0x1f55f9),_0x43e979),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class R extends _0x390069{['refresh'](){const _0x33a4c0=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x33a4c0&&(_0x33a4c0['is']('element','imageBlock')||_0x33a4c0['is']('element','imageInline')));}['execute'](_0x461222){const _0x1a2d3a=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x21410d=>{_0x21410d['setAttributes'](_0x461222,_0x1a2d3a),_0x21410d['removeAttribute']('srcset',_0x1a2d3a),_0x21410d['removeAttribute']('sizes',_0x1a2d3a);});}}class m extends _0x163a53{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[o,_0x3742f4,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x3d211b}=this;_0x3d211b['commands']['add']('uploadcareImageEdit',new O(_0x3d211b)),_0x3d211b['commands']['add']('uploadcareImageReplace',new R(_0x3d211b));}}class g extends _0x163a53{['_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 _0x5e4670=this['editor'];_0x5e4670['ui']['componentFactory']['add']('uploadcareImageEdit',_0x54438d=>{const _0x2db42c=_0x5e4670['commands']['get']('uploadcareImageEdit'),_0x37e963=new _0xf5ffbf(_0x54438d),t=_0x54438d['t'];return _0x37e963['set']({'icon':_0x24b55f,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x37e963['bind']('isEnabled')['to'](_0x2db42c),_0x37e963['bind']('isOn')['to'](_0x2db42c,'isActive'),this['listenTo'](_0x37e963,'execute',()=>{_0x5e4670['execute']('uploadcareImageEdit'),_0x5e4670['editing']['view']['focus']();}),_0x37e963;}),this['_initConfig']();}['_initConfig'](){const _0xd1c903=_0x314128(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0xd1c903),this['listenTo'](this['editor'],'destroy',()=>{_0xd1c903['remove']();});}}class et extends _0x163a53{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':_0x104c13=>0x1!=_0x104c13}};
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':_0x143ddd=>0x1!=_0x143ddd}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x4f4556=>{const {af:{dictionary:_0x262526,getPluralForm:_0x47ade7}}={'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':_0x3d5477=>0x1!=_0x3d5477}};_0x4f4556['af']||={'dictionary':{},'getPluralForm':null},_0x4f4556['af']['dictionary']=Object['assign'](_0x4f4556['af']['dictionary'],_0x262526),_0x4f4556['af']['getPluralForm']=_0x47ade7;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x43b56e=>{const {af:{dictionary:_0x2af9d4,getPluralForm:_0x240a8c}}={'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':_0x13b083=>0x1!=_0x13b083}};_0x43b56e['af']||={'dictionary':{},'getPluralForm':null},_0x43b56e['af']['dictionary']=Object['assign'](_0x43b56e['af']['dictionary'],_0x2af9d4),_0x43b56e['af']['getPluralForm']=_0x240a8c;})(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':_0x227843=>0x0==_0x227843?0x0:0x1==_0x227843?0x1:0x2==_0x227843?0x2:_0x227843%0x64>=0x3&&_0x227843%0x64<=0xa?0x3:_0x227843%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':_0x97c228=>0x0==_0x97c228?0x0:0x1==_0x97c228?0x1:0x2==_0x97c228?0x2:_0x97c228%0x64>=0x3&&_0x97c228%0x64<=0xa?0x3:_0x97c228%0x64>=0xb?0x4:0x5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x12f26f=>{const {ar:{dictionary:_0x765954,getPluralForm:_0x11d4a8}}={'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':_0xb0b656=>0x0==_0xb0b656?0x0:0x1==_0xb0b656?0x1:0x2==_0xb0b656?0x2:_0xb0b656%0x64>=0x3&&_0xb0b656%0x64<=0xa?0x3:_0xb0b656%0x64>=0xb?0x4:0x5}};_0x12f26f['ar']||={'dictionary':{},'getPluralForm':null},_0x12f26f['ar']['dictionary']=Object['assign'](_0x12f26f['ar']['dictionary'],_0x765954),_0x12f26f['ar']['getPluralForm']=_0x11d4a8;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x330644=>{const {ar:{dictionary:_0x2e10a9,getPluralForm:_0x3dda11}}={'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':_0x14dff9=>0x0==_0x14dff9?0x0:0x1==_0x14dff9?0x1:0x2==_0x14dff9?0x2:_0x14dff9%0x64>=0x3&&_0x14dff9%0x64<=0xa?0x3:_0x14dff9%0x64>=0xb?0x4:0x5}};_0x330644['ar']||={'dictionary':{},'getPluralForm':null},_0x330644['ar']['dictionary']=Object['assign'](_0x330644['ar']['dictionary'],_0x2e10a9),_0x330644['ar']['getPluralForm']=_0x3dda11;})(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':_0x250fbd=>0x1!=_0x250fbd}};
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':_0x38a16f=>0x1!=_0x38a16f}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x1c3f68=>{const {ast:{dictionary:_0x2923b7,getPluralForm:_0x1a7e00}}={'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':_0x259189=>0x1!=_0x259189}};_0x1c3f68['ast']||={'dictionary':{},'getPluralForm':null},_0x1c3f68['ast']['dictionary']=Object['assign'](_0x1c3f68['ast']['dictionary'],_0x2923b7),_0x1c3f68['ast']['getPluralForm']=_0x1a7e00;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x37e894=>{const {ast:{dictionary:_0x444723,getPluralForm:_0x25aab5}}={'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':_0xf98114=>0x1!=_0xf98114}};_0x37e894['ast']||={'dictionary':{},'getPluralForm':null},_0x37e894['ast']['dictionary']=Object['assign'](_0x37e894['ast']['dictionary'],_0x444723),_0x37e894['ast']['getPluralForm']=_0x25aab5;})(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':_0x46ea78=>0x1!=_0x46ea78}};
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':_0x44335f=>0x1!=_0x44335f}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x1ac83e=>{const {az:{dictionary:_0x18ba62,getPluralForm:_0x2a3176}}={'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':_0x29508c=>0x1!=_0x29508c}};_0x1ac83e['az']||={'dictionary':{},'getPluralForm':null},_0x1ac83e['az']['dictionary']=Object['assign'](_0x1ac83e['az']['dictionary'],_0x18ba62),_0x1ac83e['az']['getPluralForm']=_0x2a3176;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x3972fe=>{const {az:{dictionary:_0x55c919,getPluralForm:_0x14433f}}={'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':_0x576595=>0x1!=_0x576595}};_0x3972fe['az']||={'dictionary':{},'getPluralForm':null},_0x3972fe['az']['dictionary']=Object['assign'](_0x3972fe['az']['dictionary'],_0x55c919),_0x3972fe['az']['getPluralForm']=_0x14433f;})(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':_0x2f17cc=>_0x2f17cc%0xa==0x1&&_0x2f17cc%0x64!=0xb?0x0:_0x2f17cc%0xa>=0x2&&_0x2f17cc%0xa<=0x4&&(_0x2f17cc%0x64<0xa||_0x2f17cc%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':_0x4af1e4=>_0x4af1e4%0xa==0x1&&_0x4af1e4%0x64!=0xb?0x0:_0x4af1e4%0xa>=0x2&&_0x4af1e4%0xa<=0x4&&(_0x4af1e4%0x64<0xa||_0x4af1e4%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x230c32=>{const {be:{dictionary:_0x4a852c,getPluralForm:_0x2c2300}}={'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':_0x1956d4=>_0x1956d4%0xa==0x1&&_0x1956d4%0x64!=0xb?0x0:_0x1956d4%0xa>=0x2&&_0x1956d4%0xa<=0x4&&(_0x1956d4%0x64<0xa||_0x1956d4%0x64>=0x14)?0x1:0x2}};_0x230c32['be']||={'dictionary':{},'getPluralForm':null},_0x230c32['be']['dictionary']=Object['assign'](_0x230c32['be']['dictionary'],_0x4a852c),_0x230c32['be']['getPluralForm']=_0x2c2300;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x4fa442=>{const {be:{dictionary:_0x77b3e3,getPluralForm:_0x257446}}={'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':_0x2a018b=>_0x2a018b%0xa==0x1&&_0x2a018b%0x64!=0xb?0x0:_0x2a018b%0xa>=0x2&&_0x2a018b%0xa<=0x4&&(_0x2a018b%0x64<0xa||_0x2a018b%0x64>=0x14)?0x1:0x2}};_0x4fa442['be']||={'dictionary':{},'getPluralForm':null},_0x4fa442['be']['dictionary']=Object['assign'](_0x4fa442['be']['dictionary'],_0x77b3e3),_0x4fa442['be']['getPluralForm']=_0x257446;})(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':_0x5644c2=>0x1!=_0x5644c2}};
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':_0x197ccd=>0x1!=_0x197ccd}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0xf11303=>{const {bg:{dictionary:_0x2f958f,getPluralForm:_0xe8c2d8}}={'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':_0x5eec56=>0x1!=_0x5eec56}};_0xf11303['bg']||={'dictionary':{},'getPluralForm':null},_0xf11303['bg']['dictionary']=Object['assign'](_0xf11303['bg']['dictionary'],_0x2f958f),_0xf11303['bg']['getPluralForm']=_0xe8c2d8;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x920083=>{const {bg:{dictionary:_0x586323,getPluralForm:_0x7bd46f}}={'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':_0x22de1f=>0x1!=_0x22de1f}};_0x920083['bg']||={'dictionary':{},'getPluralForm':null},_0x920083['bg']['dictionary']=Object['assign'](_0x920083['bg']['dictionary'],_0x586323),_0x920083['bg']['getPluralForm']=_0x7bd46f;})(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':_0x162917=>0x1!=_0x162917}};
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':_0x2503b8=>0x1!=_0x2503b8}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x3da785=>{const {bn:{dictionary:_0x23c48c,getPluralForm:_0x546ac3}}={'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':_0x12c996=>0x1!=_0x12c996}};_0x3da785['bn']||={'dictionary':{},'getPluralForm':null},_0x3da785['bn']['dictionary']=Object['assign'](_0x3da785['bn']['dictionary'],_0x23c48c),_0x3da785['bn']['getPluralForm']=_0x546ac3;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x883dae=>{const {bn:{dictionary:_0x8524b7,getPluralForm:_0x40f2ec}}={'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':_0x1bd8ab=>0x1!=_0x1bd8ab}};_0x883dae['bn']||={'dictionary':{},'getPluralForm':null},_0x883dae['bn']['dictionary']=Object['assign'](_0x883dae['bn']['dictionary'],_0x8524b7),_0x883dae['bn']['getPluralForm']=_0x40f2ec;})(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':_0x111344=>_0x111344%0xa==0x1&&_0x111344%0x64!=0xb?0x0:_0x111344%0xa>=0x2&&_0x111344%0xa<=0x4&&(_0x111344%0x64<0xa||_0x111344%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':_0x4247c2=>_0x4247c2%0xa==0x1&&_0x4247c2%0x64!=0xb?0x0:_0x4247c2%0xa>=0x2&&_0x4247c2%0xa<=0x4&&(_0x4247c2%0x64<0xa||_0x4247c2%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x5af806=>{const {bs:{dictionary:_0x24762a,getPluralForm:_0xdbe544}}={'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':_0x28caca=>_0x28caca%0xa==0x1&&_0x28caca%0x64!=0xb?0x0:_0x28caca%0xa>=0x2&&_0x28caca%0xa<=0x4&&(_0x28caca%0x64<0xa||_0x28caca%0x64>=0x14)?0x1:0x2}};_0x5af806['bs']||={'dictionary':{},'getPluralForm':null},_0x5af806['bs']['dictionary']=Object['assign'](_0x5af806['bs']['dictionary'],_0x24762a),_0x5af806['bs']['getPluralForm']=_0xdbe544;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x46d8e9=>{const {bs:{dictionary:_0x18cec3,getPluralForm:_0x4c1da8}}={'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':_0x2bd630=>_0x2bd630%0xa==0x1&&_0x2bd630%0x64!=0xb?0x0:_0x2bd630%0xa>=0x2&&_0x2bd630%0xa<=0x4&&(_0x2bd630%0x64<0xa||_0x2bd630%0x64>=0x14)?0x1:0x2}};_0x46d8e9['bs']||={'dictionary':{},'getPluralForm':null},_0x46d8e9['bs']['dictionary']=Object['assign'](_0x46d8e9['bs']['dictionary'],_0x18cec3),_0x46d8e9['bs']['getPluralForm']=_0x4c1da8;})(window['CKEDITOR_TRANSLATIONS']||={});