@ckeditor/ckeditor5-uploadcare 47.0.0-alpha.4 → 47.0.0-alpha.5

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 _0x1bae7e,Command as _0x28c4b4}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x5ee4f1,IconGooglePhotos as _0x23ee03,IconGoogleDrive as _0x1834ed,IconFacebook as _0x54324f,IconDropbox as _0x20cf40,IconUploadcareLink as _0x243198,IconUploadcareImageUpload as _0x46b15b,IconError as _0x5dcfc2,IconUploadcareImageEdit as _0x3d8c3a}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x3f01e9,MenuBarMenuListItemButtonView as _0x10c3d0,View as _0x141753,FocusCycler as _0x267c9f,Dialog as _0x2f3d2e,DialogViewPosition as _0x20fb12,SpinnerView as _0x3b0e3c,IconView as _0x5239a3,Notification as _0x12d5af}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x40dffd,DomEmitterMixin as _0x1050d9,global as _0x2b470d,getAncestors as _0x3ffdd6,ObservableMixin as _0x13bc85,uid as _0x1c76e0,createElement as _0x228c9f}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x57b69b}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0xd25e25,info as _0x17ca5c}from'@uploadcare/upload-client';import*as _0x1600e9 from'@uploadcare/file-uploader';var i=function(_0x5ae17b){return _0x5ae17b['Local']='local',_0x5ae17b['URL']='url',_0x5ae17b['Dropbox']='dropbox',_0x5ae17b['GDrive']='gdrive',_0x5ae17b['Facebook']='facebook',_0x5ae17b['GPhotos']='gphotos',_0x5ae17b['OneDrive']='onedrive',_0x5ae17b;}({});function _(_0x15422b,_0x4ae625,_0x428398){const t=_0x15422b['t'],_0xdb9e1=_0x15422b['t'];switch(_0x4ae625){case i['Local']:return{'text':_0xdb9e1('Insert'===_0x428398?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0xdb9e1('From\x20computer')};case i['URL']:return{'text':'Insert'===_0x428398?_0xdb9e1('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0xdb9e1('Via\x20URL')};case i['Dropbox']:return{'text':t('Insert'===_0x428398?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case i['Facebook']:return{'text':t('Insert'===_0x428398?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case i['GDrive']:return{'text':t('Insert'===_0x428398?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case i['GPhotos']:return{'text':t('Insert'===_0x428398?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case i['OneDrive']:return{'text':t('Insert'===_0x428398?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x4ae625;}}class e extends _0x1bae7e{['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 _0x216933=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x5c7b1c;for(const _0x5e146f in _0x216933){const _0x1cd7da=_0x5e146f,_0x3ec604=_0x216933[_0x1cd7da];if('uploadcareLicenseKeyValid'==_0x3ec604||'uploadcareLicenseKeyInvalid'==_0x3ec604||'uploadcareLicenseKeyExpired'==_0x3ec604||'uploadcareLicenseKeyDomainLimit'==_0x3ec604||'uploadcareLicenseKeyNotAllowed'==_0x3ec604||'uploadcareLicenseKeyEvaluationLimit'==_0x3ec604||'uploadcareLicenseKeyTrialLimit'==_0x3ec604||'uploadcareLicenseKeyUsageLimit'==_0x3ec604){delete _0x216933[_0x1cd7da],_0x5c7b1c=_0x3ec604,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x5c7b1c&&_0x216933['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x5c7b1c&&_0x216933['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x5c7b1c&&_0x216933['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x5c7b1c&&_0x216933['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x5c7b1c&&_0x216933['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0x5c7b1c&&_0x216933['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0x5c7b1c&&_0x216933['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x4ce636}=this,_0x51e385=_0x4ce636['commands']['get']('uploadcare');if(!_0x51e385)return;const _0x55b421=this['_normalizeConfigSourceList'](_0x4ce636['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x4f227b,_0x474793)=>{const _0xe9e91=this['_getIntegrationKey'](_0x474793['type']);return _0x4f227b[_0xe9e91]||(_0x4f227b[_0xe9e91]=[]),_0x4f227b[_0xe9e91]['push'](_0x474793),_0x4f227b;},{});_0x4ce636['plugins']['has']('ImageInsertUI')&&_0x4ce636['commands']['get']('uploadcare')&&Object['entries'](_0x55b421)['forEach'](([_0x1240da,_0x516af4])=>{_0x4ce636['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x1240da,'observable':()=>_0x51e385,'buttonViewCreator':()=>this['_createToolbarButton'](_0x516af4),'formViewCreator':()=>this['_createDropdownButtons'](_0x516af4),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x516af4),'override':'assetManager'!==_0x1240da});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x451db8){const {locale:_0x41c2e0}=this['editor'];return _0x451db8['map'](_0x2afbdd=>{const _0x5c26ad=_(_0x41c2e0,_0x2afbdd,'Insert');switch(_0x2afbdd){case i['Local']:return{'icon':_0x46b15b,'type':i['Local'],..._0x5c26ad};case i['URL']:return{'icon':_0x243198,'type':i['URL'],..._0x5c26ad};case i['Dropbox']:return{'icon':_0x20cf40,'type':i['Dropbox'],..._0x5c26ad};case i['Facebook']:return{'icon':_0x54324f,'type':i['Facebook'],..._0x5c26ad};case i['GDrive']:return{'icon':_0x1834ed,'type':i['GDrive'],..._0x5c26ad};case i['GPhotos']:return{'icon':_0x23ee03,'type':i['GPhotos'],..._0x5c26ad};case i['OneDrive']:return{'icon':_0x5ee4f1,'type':i['OneDrive'],..._0x5c26ad};}});}['_getIntegrationKey'](_0x5ea770){switch(_0x5ea770){case i['Local']:return'upload';case i['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x39ca41,_0x3b972a){const _0x30196c=this['editor'],_0x41a14f=new _0x39ca41(_0x30196c['locale']),_0x11725d=_0x30196c['commands']['get']('uploadcare');return _0x41a14f['bind']('isEnabled')['to'](_0x11725d),_0x41a14f['on']('execute',()=>{_0x11725d['execute'](_0x3b972a);}),_0x41a14f;}['_createToolbarButton'](_0x4d3710){const {locale:_0x1d1caf}=this['editor'],_0x3f2a3f=this['editor']['plugins']['get']('ImageInsertUI'),_0x1b8ede=_0x4d3710[0x0],_0x55dfa3=this['_createButton'](_0x3f01e9,_0x1b8ede['type']);return _0x55dfa3['icon']=_0x1b8ede['icon'],_0x55dfa3['bind']('label')['to'](_0x3f2a3f,'isImageSelected',_0x6db21a=>_(_0x1d1caf,_0x1b8ede['type'],_0x6db21a?'Replace':'Insert')['text']),_0x55dfa3['tooltip']=!0x0,_0x55dfa3;}['_createDropdownButtons'](_0x12e8c4){const {locale:_0x1ae2ae}=this['editor'],_0x5deb31=this['editor']['plugins']['get']('ImageInsertUI');return _0x12e8c4['map'](_0xf0287d=>{const _0x1a1b42=this['_createButton'](_0x3f01e9,_0xf0287d['type']);return _0x1a1b42['withText']=!0x0,_0x1a1b42['icon']=_0xf0287d['icon'],_0x1a1b42['bind']('label')['to'](_0x5deb31,'isImageSelected',_0x2d1258=>_(_0x1ae2ae,_0xf0287d['type'],_0x2d1258?'Replace':'Insert')['text']),_0x1a1b42;});}['_createMenuBarButtons'](_0x43a403){return _0x43a403['map'](_0x3336e4=>{const _0x5a04c8=this['_createButton'](_0x10c3d0,_0x3336e4['type']);return _0x5a04c8['icon']=_0x3336e4['icon'],_0x5a04c8['label']=_0x3336e4['shortText'],_0x5a04c8;});}}class F extends _0x141753{['focusTracker'];['focusCycler'];constructor(_0x189119){super(_0x189119),this['focusTracker']=new _0x40dffd(),this['focusCycler']=new _0x267c9f({'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(_0x3d59e6,_0x5b8bcf){super(_0x3d59e6),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-'+_0x5b8bcf}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function C(_0x559221,_0x536cd9){const _0x5e50f3=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x598c3b=>_0x598c3b<=_0x536cd9)['map'](_0x3e8ba2=>_0x559221['replace'](/\/$/,'')+'/-/resize/'+_0x3e8ba2+'x/\x20'+_0x3e8ba2+'w');return{'imageFallbackUrl':_0x559221,'imageSources':[{'srcset':_0x5e50f3['join'](',\x20'),'sizes':'(max-width:\x20'+_0x536cd9+'px)\x20100vw,\x20'+_0x536cd9+'px','type':'image/webp'}]};}function S(_0x1ec367,_0x121ec2,_0xafc0c0){const _0x5ea9b1=_0x1ec367['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x5ea9b1?parseInt(_0x5ea9b1[0x1],0xa):_0x121ec2,'height':_0x5ea9b1?parseInt(_0x5ea9b1[0x2],0xa):_0xafc0c0};}function p(_0x2dc866,_0x129f43){const _0x165f72=new(_0x1050d9())(),_0x628214=_0x2dc866['plugins']['get']('ImageUtils'),_0x4775ed=_0x2dc866['editing']['mapper']['toViewElement'](_0x129f43),_0x3955e0=_0x628214['findViewImgElement'](_0x4775ed),_0x1e42db=_0x2dc866['editing']['view']['domConverter']['viewToDom'](_0x3955e0),_0x54fc71=_0x129f43['getAttribute']('width'),_0x30c18b=_0x129f43['getAttribute']('height'),_0x2c5fa8='image-processing';_0x2dc866['editing']['view']['change'](_0x1e2e9a=>{_0x1e2e9a['addClass'](_0x2c5fa8,_0x4775ed),_0x1e2e9a['setStyle']('aspect-ratio',_0x54fc71+'/'+_0x30c18b,_0x3955e0);}),_0x165f72['listenTo'](_0x1e42db,'load',()=>{_0x165f72['stopListening'](_0x1e42db,'load'),_0x2dc866['editing']['view']['change'](_0x41a874=>{_0x41a874['removeClass'](_0x2c5fa8,_0x4775ed),_0x41a874['removeStyle']('aspect-ratio',_0x3955e0);});});}function G(_0x2d00c1){if(Array['isArray'](_0x2d00c1)){const _0x2e07b3=_0x2d00c1['map'](G);return _0xa5629e=>_0x2e07b3['some'](_0x5afa5a=>_0x5afa5a(_0xa5629e));}if('origin'==_0x2d00c1){const _0x3498ba=_0x2b470d['window']['location']['origin'];return _0x475980=>new URL(_0x475980,_0x2b470d['document']['baseURI'])['origin']==_0x3498ba;}return'function'==typeof _0x2d00c1?_0x2d00c1:_0x2d00c1 instanceof RegExp?_0x283e9f=>!(!_0x283e9f['match'](_0x2d00c1)&&!_0x283e9f['replace'](/^https?:\/\//,'')['match'](_0x2d00c1)):()=>!0x1;}function A(_0x4bb250,_0x1ac274){return _0x3ffdd6(_0x4bb250['target'])['includes'](_0x1ac274);}class n extends/* #__PURE__ -- @preserve */
24
- _0x13bc85(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x1f5a97,_0xb69d8b,_0x568903){super(),this['_editor']=_0x1f5a97,this['_editing']=_0xb69d8b,this['_dialog']=_0x1f5a97['plugins']['get'](_0x2f3d2e),this['_api']=_0xb69d8b['ctxElement']['getAPI'](),this['_type']=_0x568903,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:_0x183951,model:_0x12b8fb}=this['_editor'],_0x1c1b71=_0x12b8fb['document']['selection']['getSelectedElement'](),_0x2e1acb=_0x1c1b71&&(_0x1c1b71['is']('element','imageBlock')||_0x1c1b71['is']('element','imageInline'));this['_formView']=new x(_0x183951,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':_0x46b15b,'title':_(_0x183951,this['_type'],_0x2e1acb?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x20fb12['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x25ad94=>!A(_0x25ad94,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x3b1b47}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x744333=>{const _0x4a574a=_0x3b1b47['length'];for(const _0x49b9fa of _0x3b1b47){const _0x29edda=_0x49b9fa===_0x3b1b47[_0x4a574a-0x1],{cdnUrl:_0xd77ae0,fileInfo:_0x298451}=_0x49b9fa;if(!_0xd77ae0||!_0x298451)continue;const {width:_0x34b380,height:_0x4ac757}=_0x298451['imageInfo'],_0x1ccefa=S(_0xd77ae0,_0x34b380,_0x4ac757),_0x2b9952=C(_0xd77ae0,_0x1ccefa['width']),_0x519b93={'id':_0x298451['uuid'],'type':'image','attributes':{'imageDimension':_0x1ccefa,..._0x2b9952}};this['_insertAsset'](_0x519b93,_0x29edda,_0x744333);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x544a81=>{'idle'===_0x544a81['detail']['status']&&!_0x544a81['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===i['Local']?this['_api']['setCurrentActivity'](i['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x922802,_0x20028d,_0x2c2566){const _0x44c1aa=this['_editor']['model']['document']['selection'],_0x5943e1=_0x44c1aa['getSelectedElement'](),_0x4a4103=!(!_0x5943e1||!_0x5943e1['is']('element','imageInline'));_0x2c2566['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x922802,_0x4a4103),_0x20028d||_0x2c2566['setSelection'](_0x44c1aa['getLastPosition']());}['_insertImage'](_0x2c4c5b,_0x41da0f){const _0x543a08=this['_editor'],{imageDimension:_0x305563,imageFallbackUrl:_0x68045a,imageSources:_0x357760}=_0x2c4c5b['attributes'];_0x543a08['execute']('insertImage',{'imageType':_0x41da0f?'imageInline':null,'source':{'uploadcareImageId':_0x2c4c5b['id'],'src':_0x68045a,'sources':_0x357760,..._0x305563}});}}class w extends _0x28c4b4{['_editing'];['_controller']=null;static get['requires'](){return[_0x2f3d2e,o];}constructor(_0x5584e2){super(_0x5584e2),this['_editing']=_0x5584e2['plugins']['get'](o);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x1239a9){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new n(this['editor'],this['_editing'],_0x1239a9);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class j{static['upload']({file:_0x4f57ab,..._0x411468}){return _0xd25e25(_0x4f57ab,_0x411468);}static['getInfo'](_0x4ae379,_0x42c805){return _0x17ca5c(_0x4ae379,_0x42c805);}}class f extends _0x1bae7e{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x57b69b,o];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x49415d=this['editor'];if(!!!_0x49415d['config']['get']('uploadcare'))return;_0x49415d['plugins']['get'](_0x57b69b)['createUploadAdapter']=_0x30f72b=>new k(_0x30f72b,_0x49415d),_0x49415d['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x4555bd,{imageElement:_0x352e1f,data:_0x598400})=>{_0x49415d['model']['change'](_0x417d6a=>{_0x417d6a['setAttribute']('uploadcareImageId',_0x598400['uploadcareImageId'],_0x352e1f);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x4ccc56,_0xba23c6){this['loader']=_0x4ccc56,this['editor']=_0xba23c6,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x4318b0=await this['loader']['file'];return j['upload']({'file':_0x4318b0,'publicKey':this['editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':this['controller']['signal'],'onProgress':_0x574ae7=>{_0x574ae7&&_0x574ae7['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x574ae7['value']);}})['then'](async _0x2d6d19=>{const {imageFallbackUrl:_0x1098ea,imageSources:_0x3f923f}=C(_0x2d6d19['cdnUrl'],_0x2d6d19['imageInfo']['width']);return{'uploadcareImageId':_0x2d6d19['uuid'],'default':_0x1098ea,'sources':_0x3f923f};})['catch'](()=>{const _0x49bb63=t('Cannot\x20upload\x20file:')+('\x20'+_0x4318b0['name']+'.');return Promise['reject'](_0x49bb63);});}['abort'](){this['controller']['abort']();}}class o extends _0x1bae7e{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',f,_0x2f3d2e];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['ucContextId'];get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}constructor(_0x3a1280){super(_0x3a1280),this['ucContextId']=_0x1c76e0();}['init'](){const _0x14e2c4=this['editor'];_0x14e2c4['commands']['add']('uploadcare',new w(_0x14e2c4));}['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 _0x1c3193=_0x2b470d['document']['querySelector']('input[uploadcare-file-input]');_0x1c3193&&_0x1c3193['remove']();}),async function(_0x5a8c1b){const _0xcc6999=_0x2cd8b7([0x52,0x42,0x63,0x58,0x64,0x47,0x66,0x35,0x36,0x37,0x6d,0x4e,0x6a,0x4b,0x39,0x44,0x54,0x70,0x50,0x30,0x49,0x79,0x69,0x33,0x67,0x65,0x61,0x38,0x5a,0x76,0x7a,0x6c,0x45,0x34,0x62,0x46,0x75,0x57,0x72,0x77,0x73,0x48,0x31,0x68,0x6e,0x4f,0x53,0x4c,0x71,0x6b,0x59,0x32,0x4d,0x51,0x4a,0x78,0x6f,0x56,0x41,0x55,0x74,0x43]),_0x125384=0x3d8d0df,_0x2d6869=0x3dfa477^_0x125384,_0x26adcf=window[_0x2cd8b7([0x44,0x61,0x74,0x65])][_0x2cd8b7([0x6e,0x6f,0x77])](),_0x17b809=_0x5a8c1b[_0x2cd8b7([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3e6aa1=new window[(_0x2cd8b7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3bddac=>{_0x17b809[_0x2cd8b7([0x6f,0x6e,0x63,0x65])](_0x2cd8b7([0x72,0x65,0x61,0x64,0x79]),_0x3bddac);}),_0x528726={[_0x2cd8b7([0x6b,0x74,0x79])]:_0x2cd8b7([0x45,0x43]),[_0x2cd8b7([0x75,0x73,0x65])]:_0x2cd8b7([0x73,0x69,0x67]),[_0x2cd8b7([0x63,0x72,0x76])]:_0x2cd8b7([0x50,0x2d,0x32,0x35,0x36]),[_0x2cd8b7([0x78])]:_0x2cd8b7([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]),[_0x2cd8b7([0x79])]:_0x2cd8b7([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]),[_0x2cd8b7([0x61,0x6c,0x67])]:_0x2cd8b7([0x45,0x53,0x32,0x35,0x36])},_0x56ae0e=_0x17b809[_0x2cd8b7([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2cd8b7([0x67,0x65,0x74])](_0x2cd8b7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x30e7a4(){let _0x1de7b3,_0x29214d=null,_0x1cd610=null;try{if(_0x56ae0e==_0x2cd8b7([0x47,0x50,0x4c]))return _0x2cd8b7([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1de7b3=_0x4d6b31(),!_0x1de7b3)return _0x2cd8b7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x1de7b3[_0x2cd8b7([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1cd610=_0x1441bf(_0x1de7b3[_0x2cd8b7([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1de7b3[_0x2cd8b7([0x6a,0x74,0x69])])),await _0x54f9e7()?_0x306700()?_0x2b3e7d()?_0x2cd8b7([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x3bb82f()?(_0x1de7b3[_0x2cd8b7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2cd8b7([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x29214d=_0x52088a(_0x2cd8b7([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x1de7b3[_0x2cd8b7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2cd8b7([0x74,0x72,0x69,0x61,0x6c])&&(_0x29214d=_0x52088a(_0x2cd8b7([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x5bdbbb()):_0x2cd8b7([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2cd8b7([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2cd8b7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x2cd8b7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2b3e7d(){const _0x48aeb0=[_0x2cd8b7([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2cd8b7([0x74,0x72,0x69,0x61,0x6c])][_0x2cd8b7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1de7b3[_0x2cd8b7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x26adcf/0x3e8:0xe10*_0x2d6869;return _0x1de7b3[_0x2cd8b7([0x65,0x78,0x70])]<_0x48aeb0;}function _0x306700(){const _0x254706=_0x1de7b3[_0x2cd8b7([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x254706&&(!!_0x254706[_0x2cd8b7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2cd8b7([0x2a]))||!!_0x254706[_0x2cd8b7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2cd8b7([0x55,0x50,0x4c,0x43])));}function _0x3bb82f(){const _0x28991b=_0x1de7b3[_0x2cd8b7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x28991b||0x0==_0x28991b[_0x2cd8b7([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x4a9e27}=new URL(window[_0x2cd8b7([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x28991b[_0x2cd8b7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4a9e27))return!0x0;const _0x3be733=_0x4a9e27[_0x2cd8b7([0x73,0x70,0x6c,0x69,0x74])](_0x2cd8b7([0x2e]));return _0x28991b[_0x2cd8b7([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x72da36=>_0x72da36[_0x2cd8b7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2cd8b7([0x2a])))[_0x2cd8b7([0x6d,0x61,0x70])](_0x94b924=>_0x94b924[_0x2cd8b7([0x73,0x70,0x6c,0x69,0x74])](_0x2cd8b7([0x2e])))[_0x2cd8b7([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x55fab3=>_0x55fab3[_0x2cd8b7([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x3be733[_0x2cd8b7([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2cd8b7([0x6d,0x61,0x70])](_0x420ea5=>Array(_0x3be733[_0x2cd8b7([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x420ea5[_0x2cd8b7([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2cd8b7([0x66,0x69,0x6c,0x6c])](_0x420ea5[0x0]===_0x2cd8b7([0x2a])?_0x2cd8b7([0x2a]):'')[_0x2cd8b7([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x420ea5))[_0x2cd8b7([0x73,0x6f,0x6d,0x65])](_0x46d64f=>_0x3be733[_0x2cd8b7([0x65,0x76,0x65,0x72,0x79])]((_0x1f1d1d,_0x56db5e)=>_0x46d64f[_0x56db5e]===_0x1f1d1d||_0x46d64f[_0x56db5e]===_0x2cd8b7([0x2a])));}function _0x5bdbbb(){return _0x29214d&&_0x1cd610?new window[(_0x2cd8b7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4f6f99,_0x460e8f)=>{_0x29214d[_0x2cd8b7([0x74,0x68,0x65,0x6e])](_0x4f6f99,_0x460e8f),_0x1cd610[_0x2cd8b7([0x74,0x68,0x65,0x6e])](_0x1bc4d0=>{_0x1bc4d0!=_0x2cd8b7([0x56,0x61,0x6c,0x69,0x64])&&_0x4f6f99(_0x1bc4d0);},_0x460e8f);}):_0x29214d||_0x1cd610||_0x2cd8b7([0x56,0x61,0x6c,0x69,0x64]);}}function _0x1441bf(_0x10d027,_0x34aa01){return new window[(_0x2cd8b7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x90a8a7=>{if(_0x17bb51())return _0x90a8a7(_0x2cd8b7([0x56,0x61,0x6c,0x69,0x64]));_0x26965c(),_0x17b809[_0x2cd8b7([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2cd8b7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x49eb7f=!0x1;const _0x2f4e50=_0x1c76e0();function _0x1aef50(_0x16ccaf){return!!_0x16ccaf&&(typeof _0x16ccaf===_0x2cd8b7([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x16ccaf===_0x2cd8b7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x16ccaf[_0x2cd8b7([0x74,0x68,0x65,0x6e])]===_0x2cd8b7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x16ccaf[_0x2cd8b7([0x63,0x61,0x74,0x63,0x68])]===_0x2cd8b7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x554eca(_0xd3d574){_0x43e021(_0xd3d574)[_0x2cd8b7([0x74,0x68,0x65,0x6e])](_0x5079a9=>{if(!_0x5079a9||_0x5079a9[_0x2cd8b7([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2cd8b7([0x6f,0x6b]))return _0x2cd8b7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x255490(_0x4ff29b(_0x2f4e50+_0x34aa01))!=_0x5079a9[_0x2cd8b7([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2cd8b7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2cd8b7([0x56,0x61,0x6c,0x69,0x64]);})[_0x2cd8b7([0x74,0x68,0x65,0x6e])](_0x16af07=>(_0x3d3307(),_0x16af07),()=>{const _0x10d03d=_0x4a054a();return null==_0x10d03d?(_0x3d3307(),_0x2cd8b7([0x56,0x61,0x6c,0x69,0x64])):_0x2cd8b7(_0x26adcf-_0x10d03d>(0x27d454df^_0x125384)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2cd8b7([0x74,0x68,0x65,0x6e])](_0x90a8a7)[_0x2cd8b7([0x63,0x61,0x74,0x63,0x68])](()=>{_0x90a8a7(_0x2cd8b7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x3632ee=0x3ee3e5f^_0x125384;function _0x3d3307(){const _0x5af518=_0x2cd8b7([0x6c,0x6c,0x63,0x74,0x2d])+_0x255490(_0x4ff29b(_0x10d027)),_0x49cf10=_0x5941a4(_0x255490(window[_0x2cd8b7([0x4d,0x61,0x74,0x68])][_0x2cd8b7([0x63,0x65,0x69,0x6c])](_0x26adcf/_0x3632ee)));window[_0x2cd8b7([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2cd8b7([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5af518,_0x49cf10);}function _0x4a054a(){const _0x2b0793=_0x2cd8b7([0x6c,0x6c,0x63,0x74,0x2d])+_0x255490(_0x4ff29b(_0x10d027)),_0x22d03d=window[_0x2cd8b7([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2cd8b7([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2b0793);return _0x22d03d?window[_0x2cd8b7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5941a4(_0x22d03d),0x10)*_0x3632ee:null;}function _0x43e021(_0x334cbd){return new window[(_0x2cd8b7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2c002a,_0x54fdbf)=>{_0x334cbd[_0x2cd8b7([0x74,0x68,0x65,0x6e])](_0x2c002a,_0x54fdbf),window[_0x2cd8b7([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x54fdbf,0x3d9041f^_0x125384);});}}_0x17b809[_0x2cd8b7([0x6f,0x6e])](_0x2cd8b7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x51196b,_0x1707ac)=>{if(_0x1707ac[0x0]!=_0x10d027)return _0x90a8a7(_0x2cd8b7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1707ac[0x1]={..._0x1707ac[0x1],[_0x2cd8b7([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2f4e50};},{[_0x2cd8b7([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2cd8b7([0x68,0x69,0x67,0x68])}),_0x17b809[_0x2cd8b7([0x6f,0x6e])](_0x2cd8b7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x561915=>{_0x1aef50(_0x561915[_0x2cd8b7([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x49eb7f=!0x0,_0x554eca(_0x561915[_0x2cd8b7([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2cd8b7([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2cd8b7([0x6c,0x6f,0x77])}),_0x3e6aa1[_0x2cd8b7([0x74,0x68,0x65,0x6e])](()=>{_0x49eb7f||_0x90a8a7(_0x2cd8b7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x17bb51(){return _0x17b809[_0x2cd8b7([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2cd8b7([0x76,0x69,0x65,0x77])][_0x2cd8b7([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2cd8b7([0x61,0x75,0x74,0x6f]);}function _0x26965c(){_0x17b809[_0x2cd8b7([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2cd8b7([0x76,0x69,0x65,0x77])][_0x2cd8b7([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2cd8b7([0x61,0x75,0x74,0x6f]);}}function _0x52088a(_0x1efef6){const _0x9606f5=[new window[(_0x2cd8b7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x7ef7d6=>setTimeout(_0x7ef7d6,0x3d1ee13^_0x125384)),_0x3e6aa1[_0x2cd8b7([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2cd8b7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2a04ef=>{let _0x326122=0x0;_0x17b809[_0x2cd8b7([0x6d,0x6f,0x64,0x65,0x6c])][_0x2cd8b7([0x6f,0x6e])](_0x2cd8b7([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5797da,_0x51a576)=>{_0x51a576[0x0][_0x2cd8b7([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x326122++,_0x326122==(0x3d8d127^_0x125384)&&(_0x2a04ef(),_0x5797da[_0x2cd8b7([0x6f,0x66,0x66])]());});}))];return window[_0x2cd8b7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2cd8b7([0x72,0x61,0x63,0x65])](_0x9606f5)[_0x2cd8b7([0x74,0x68,0x65,0x6e])](()=>_0x1efef6);}async function _0xf4bbb8(){await _0x3e6aa1,_0x17b809[_0x2cd8b7([0x6d,0x6f,0x64,0x65,0x6c])][_0x2cd8b7([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2a3e7a,_0x17b809[_0x2cd8b7([0x6d,0x6f,0x64,0x65,0x6c])][_0x2cd8b7([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2a3e7a,_0x17b809[_0x2cd8b7([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2cd8b7([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x499374(_0x25bae4){const _0x41f98e=_0x5bde61();_0x17b809[_0x41f98e]=_0x2cd8b7([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x25bae4,_0x25bae4!=_0x2cd8b7([0x56,0x61,0x6c,0x69,0x64])&&_0xf4bbb8();}function _0x5bde61(){const _0x3e03b5=window[_0x2cd8b7([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2cd8b7([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2cd8b7([0x6e,0x6f,0x77])]())[_0x2cd8b7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2cd8b7([0x2e]),'');let _0x55d6c0=_0x2cd8b7([0x52]);for(let _0x254784=0x0;_0x254784<_0x3e03b5[_0x2cd8b7([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x254784+=0x2){let _0x3348fb=window[_0x2cd8b7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3e03b5[_0x2cd8b7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x254784,_0x254784+0x2));_0x3348fb>=_0xcc6999[_0x2cd8b7([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x3348fb-=_0xcc6999[_0x2cd8b7([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x55d6c0+=_0xcc6999[_0x3348fb];}return _0x55d6c0;}function _0x4d6b31(){const _0x48f690=_0x56ae0e[_0x2cd8b7([0x73,0x70,0x6c,0x69,0x74])](_0x2cd8b7([0x2e]));if(0x3!=_0x48f690[_0x2cd8b7([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4ccf7c(_0x48f690[0x1]);function _0x4ccf7c(_0x316b0e){const _0xe4e407=_0x5a208f(_0x316b0e);return _0xe4e407&&_0x50fcfe()?_0xe4e407:null;function _0x50fcfe(){const _0x4be1ca=_0xe4e407[_0x2cd8b7([0x6a,0x74,0x69])],_0x59663=window[_0x2cd8b7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4be1ca[_0x2cd8b7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4be1ca[_0x2cd8b7([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x3994fd={..._0xe4e407,[_0x2cd8b7([0x6a,0x74,0x69])]:_0x4be1ca[_0x2cd8b7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4be1ca[_0x2cd8b7([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x3994fd[_0x2cd8b7([0x76,0x63])],_0x4ff29b(_0x3994fd)==_0x59663;}}}async function _0x54f9e7(){let _0x16ef0c=!0x0;try{const _0x354878=_0x56ae0e[_0x2cd8b7([0x73,0x70,0x6c,0x69,0x74])](_0x2cd8b7([0x2e])),[_0x40f011,_0xc906b7,_0xcb176c]=_0x354878;return _0x20aec2(_0x40f011),await _0x2d4598(_0x40f011,_0xc906b7,_0xcb176c),_0x16ef0c;}catch{return!0x1;}function _0x20aec2(_0x16216a){const _0x41191f=_0x5a208f(_0x16216a);_0x41191f&&_0x41191f[_0x2cd8b7([0x61,0x6c,0x67])]==_0x2cd8b7([0x45,0x53,0x32,0x35,0x36])||(_0x16ef0c=!0x1);}async function _0x2d4598(_0x46a189,_0x134d97,_0x57d460){const _0x393073=window[_0x2cd8b7([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2cd8b7([0x66,0x72,0x6f,0x6d])](_0x2bec55(_0x57d460),_0xd703db=>_0xd703db[_0x2cd8b7([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x57d81e=new window[(_0x2cd8b7([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2cd8b7([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x46a189+_0x2cd8b7([0x2e])+_0x134d97),_0x4632e3=window[_0x2cd8b7([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2cd8b7([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4632e3)return;const _0x3f7de4=await _0x4632e3[_0x2cd8b7([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2cd8b7([0x6a,0x77,0x6b]),_0x528726,{[_0x2cd8b7([0x6e,0x61,0x6d,0x65])]:_0x2cd8b7([0x45,0x43,0x44,0x53,0x41]),[_0x2cd8b7([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2cd8b7([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2cd8b7([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4632e3[_0x2cd8b7([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2cd8b7([0x6e,0x61,0x6d,0x65])]:_0x2cd8b7([0x45,0x43,0x44,0x53,0x41]),[_0x2cd8b7([0x68,0x61,0x73,0x68])]:{[_0x2cd8b7([0x6e,0x61,0x6d,0x65])]:_0x2cd8b7([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x3f7de4,_0x393073,_0x57d81e)||(_0x16ef0c=!0x1);}}function _0x5a208f(_0x28fc38){return _0x28fc38[_0x2cd8b7([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2cd8b7([0x65,0x79]))?JSON[_0x2cd8b7([0x70,0x61,0x72,0x73,0x65])](_0x2bec55(_0x28fc38)):null;}function _0x2bec55(_0x36f6ae){return window[_0x2cd8b7([0x61,0x74,0x6f,0x62])](_0x36f6ae[_0x2cd8b7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2cd8b7([0x2b]))[_0x2cd8b7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2cd8b7([0x2f])));}function _0x4ff29b(_0x26b51f){let _0x761461=0x1505;function _0x28257b(_0xe3bd2a){for(let _0x550644=0x0;_0x550644<_0xe3bd2a[_0x2cd8b7([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x550644++){const _0x282cc7=_0xe3bd2a[_0x2cd8b7([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x550644);_0x761461=(_0x761461<<0x5)+_0x761461+_0x282cc7,_0x761461&=_0x761461;}}function _0x40072b(_0x131e1b){Array[_0x2cd8b7([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x131e1b)?_0x131e1b[_0x2cd8b7([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x40072b):_0x131e1b&&typeof _0x131e1b==_0x2cd8b7([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2cd8b7([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x131e1b)[_0x2cd8b7([0x73,0x6f,0x72,0x74])]()[_0x2cd8b7([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2ee840,_0x51ff32])=>{_0x28257b(_0x2ee840),_0x40072b(_0x51ff32);}):_0x28257b(window[_0x2cd8b7([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x131e1b));}return _0x40072b(_0x26b51f),_0x761461>>>0x0;}function _0x255490(_0x124ccf){return _0x124ccf[_0x2cd8b7([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2cd8b7([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2cd8b7([0x30]));}function _0x5941a4(_0x489cb5){return _0x489cb5[_0x2cd8b7([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2cd8b7([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2cd8b7([0x6a,0x6f,0x69,0x6e])]('');}function _0x2a3e7a(){}function _0x2cd8b7(_0x40bc3e){return _0x40bc3e['map'](_0x79305a=>String['fromCharCode'](_0x79305a))['join']('');}_0x499374(await _0x30e7a4());}(this);}['_initSchema'](){const _0x35db78=this['editor']['model']['schema'];_0x35db78['isRegistered']('imageBlock')&&_0x35db78['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x35db78['isRegistered']('imageInline')&&_0x35db78['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x55851d=this['editor'];_0x55851d['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x55851d['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x462fba=>_0x462fba['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x3969f1=_0x55851d['commands']['get']('replaceImageSource');_0x3969f1&&this['listenTo'](_0x3969f1,'cleanupImage',(_0x185efb,[_0x1e6fbb,_0x2fc7dd])=>{_0x1e6fbb['removeAttribute']('uploadcareImageId',_0x2fc7dd);});}['_initConfig'](){const _0x3dd229=this['editor']['config']['get']('uploadcare.uploader')||{},_0xeccfcf=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x228c9f(_0x2b470d['document'],'uc-config',{..._0x3dd229,'pubkey':_0xeccfcf,'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']=_0xd792e0=>{if('closeMax'==_0xd792e0)return'#uc-icon-arrow-down';},_0x2b470d['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x228c9f(_0x2b470d['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),_0x2b470d['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x59bfc7=this['editor']['commands']['get']('insertImage');_0x59bfc7&&this['listenTo'](_0x59bfc7,'execute',()=>{const _0x2ef8ba=this['editor']['model']['document']['selection']['getSelectedElement']();_0x2ef8ba&&_0x2ef8ba['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x2ef8ba);});});const _0x39c71c=this['editor']['commands']['get']('uploadcareImageReplace');_0x39c71c&&this['listenTo'](_0x39c71c,'execute',()=>{const _0x521202=this['editor']['model']['document']['selection']['getSelectedElement']();_0x521202&&_0x521202['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x521202);});});}}class tt extends _0x1bae7e{static get['requires'](){return[o,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x227cd1){super(_0x227cd1),_0x227cd1['config']['define']('uploadcare.uploader.sourceList',[i['Local'],i['URL']]),_0x1600e9['defineComponents'](_0x1600e9);}}class ii extends _0x141753{constructor(_0x25ed2f){super(_0x25ed2f);const t=_0x25ed2f['t'],_0x15f9d1=this['bindTemplate'],_0x456fde=new _0x3b0e3c();_0x456fde['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':[_0x456fde,{'text':_0x15f9d1['to']('imageUploadProgress',_0x180582=>t('Loading\x20image...')+'\x20('+(_0x180582||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 _0x141753{constructor(_0x34440c){super(_0x34440c);const t=_0x34440c['t'];this['set']('errorType',null);const _0x1bbe79=new _0x3f01e9(_0x34440c);_0x1bbe79['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x1bbe79['withText']=!0x0,_0x1bbe79['class']='ck-button-action',_0x1bbe79['on']('execute',()=>{this['fire']('retry');}),_0x1bbe79['bind']('isVisible')['to'](this,'errorType',_0x4a14e0=>'NotFound'!==_0x4a14e0);const _0x13c472=new _0x5239a3();_0x13c472['content']=_0x5dcfc2,_0x13c472['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0xffb36e=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':[_0x13c472,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0xffb36e['to']('errorType',_0x345ad8=>t('NotFound'!==_0x345ad8?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x1bbe79]},{'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 _0x141753{constructor(_0x365a27,_0x3abe75){super(_0x365a27);const _0x30612f=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x3abe75,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x30612f['to']('imageSrc')}});}}class X extends F{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x29a6da,_0x3ab423,_0x29cfc3){super(_0x29a6da),this['_items']=this['createCollection'](),this['_loadingView']=new ii(_0x29a6da),this['_errorView']=new ti(_0x29a6da),this['_editingView']=new ei(_0x29a6da,_0x29cfc3),this['_focusableView']=new _0x141753(_0x29a6da),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x3ab423),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'],_0x33346e=>{this['_addUploadcareImageEditorListeners'](_0x33346e);});}),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'](_0x31069a,_0x21ada1){const _0x40e0af='uc-cloud-image-editor',_0x17cd48=_0x31069a['querySelector'](_0x40e0af);if(_0x17cd48)return _0x21ada1(_0x17cd48);const _0x4358d3=new MutationObserver(_0x5ea9b2=>{const _0x31e572=_0x5ea9b2['filter'](_0x199702=>_0x199702['target']===_0x31069a&&_0x199702['addedNodes']['length']>0x0&&_0x199702['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x40e0af);_0x31e572['length']&&(_0x4358d3['disconnect'](),_0x21ada1(_0x31e572[0x0]['addedNodes'][0x0]));});_0x4358d3['observe'](_0x31069a,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x1f31f3){_0x1f31f3['addEventListener']('apply',_0x4e4aa5=>{this['fire']('apply',{'imageSrc':_0x4e4aa5['detail']['cdnUrl']});}),_0x1f31f3['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class E extends/* #__PURE__ -- @preserve */
25
- _0x13bc85(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x3d2504,_0x1cb782,_0x3b9d52){super(),this['_editor']=_0x3d2504,this['_dialog']=_0x1cb782,this['_imageElement']=_0x3b9d52,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 _0x12097c=this['_imageElement'],_0x30896d=_0x12097c['getAttribute']('uploadcareImageId'),_0x39446c=_0x12097c['getAttribute']('src');if(_0x30896d)await this['_loadImageInfo'](_0x30896d,_0x39446c);else{if(this['_imageCache']['has'](_0x39446c)){const _0x165277=this['_imageCache']['get'](_0x39446c);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x165277['url'],this['imageDimension']=_0x165277['dimension'],this['imageId']=_0x165277['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x1d03dc}=this['_editor'],t=_0x1d03dc['t'],_0x3ee513=new X(_0x1d03dc,this['imageStatus'],this['_attributes']);_0x3ee513['bind']('status')['to'](this,'imageStatus'),_0x3ee513['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x3ee513['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x3ee513['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x3ee513,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x3d8c3a,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x3ee513,'position':_0x20fb12['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x3ee513['focus']();},'onHide':()=>{_0x3ee513['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x28b570=>!A(_0x28b570,_0x3ee513['element'])}});}['_loadImageInfo'](_0x3deb0e,_0x1c5e7e){return j['getInfo'](_0x3deb0e,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x1517e3=>{const {width:_0x16cd28,height:_0x4f548d}=_0x1517e3['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x1c5e7e,this['imageDimension']={'width':_0x16cd28,'height':_0x4f548d},this['imageId']=_0x3deb0e;})['catch'](_0x3caf78=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x3caf78['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0xbe8245,_0x4689c3){return this['_getImageAsFile'](_0xbe8245)['then'](_0x4f21f6=>j['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['_editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':_0x4689c3['signal'],'file':_0x4f21f6,'onProgress':_0x28eee4=>{_0x28eee4&&_0x28eee4['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x28eee4['value']));}}))['then'](_0x50801f=>{const {width:_0x17c862,height:_0x1929b0}=_0x50801f['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x50801f['cdnUrl'],this['imageDimension']={'width':_0x17c862,'height':_0x1929b0},this['imageId']=_0x50801f['uuid'],this['imageUploadProgress']=null;const _0x46860a=_0xbe8245['getAttribute']('src');this['_imageCache']['set'](_0x46860a,{'id':_0x50801f['uuid'],'url':_0x50801f['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x9f1fab=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x9f1fab['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x4d65a0,_0xe65943){_0x4d65a0['on']('apply',(_0x39cda9,_0x8ea411)=>{this['_replaceImage'](_0xe65943,_0x8ea411['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x4d65a0['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x4d65a0['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x5abb30,_0x3eef22,_0x2477f2){const _0x365ea2=this['_editor'],{width:_0x4fa78f,height:_0x5e47c9}=S(_0x3eef22,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x1d54a4,imageSources:_0x47d86f}=C(_0x3eef22,_0x4fa78f);_0x365ea2['model']['change'](_0x2994d5=>{if('$graveyard'===_0x5abb30['root']['rootName']){_0x365ea2['execute']('insertImage',{'imageType':_0x5abb30['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x5abb30['getAttributes']()),'uploadcareImageId':_0x2477f2,'src':_0x1d54a4,'sources':_0x47d86f,'width':_0x4fa78f,'height':_0x5e47c9}});const _0x35b5fa=_0x5abb30['getChildren']();_0x5abb30=_0x365ea2['model']['document']['selection']['getSelectedElement']();for(const _0x1bf58b of _0x35b5fa)_0x2994d5['append'](_0x2994d5['cloneElement'](_0x1bf58b),_0x5abb30);}else _0x2994d5['setSelection'](_0x5abb30,'on'),_0x365ea2['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x5abb30['getAttributes']()),'uploadcareImageId':_0x2477f2,'src':_0x1d54a4,'sources':_0x47d86f,'width':_0x4fa78f,'height':_0x5e47c9},_0x5abb30);_0x2994d5['setSelection'](_0x5abb30,'on');});}async['_getImageAsFile'](_0x503f2b){const _0x4cb76f=_0x2b470d['window'],_0x354307=_0x2b470d['document']['location']['href'],_0x3f35a0=new _0x4cb76f['URL'](_0x503f2b['getAttribute']('src'),_0x354307);if('data:'===_0x3f35a0['protocol']){const _0x4954bb=_0x3f35a0['href']['split'](','),_0x410cd1=_0x4954bb[0x0]['match'](/:(.*?);/)[0x1],_0x2e9f35=_0x410cd1['split']('/')[0x1],_0x3c92c2=_0x4cb76f['atob'](_0x4954bb[_0x4954bb['length']-0x1]);let _0x5ac0d0=_0x3c92c2['length'];const _0x422544=new _0x4cb76f['Uint8Array'](_0x5ac0d0);for(;_0x5ac0d0--;)_0x422544[_0x5ac0d0]=_0x3c92c2['charCodeAt'](_0x5ac0d0);return new _0x4cb76f['File']([_0x422544],'image.'+_0x2e9f35,{'type':_0x410cd1});}const _0x43aac7=_0x3f35a0['href']['split']('/'),_0x527971=_0x43aac7[_0x43aac7['length']-0x1],_0x1c0070=_0x527971['split']('.')[0x1];return _0x4cb76f['fetch'](_0x3f35a0['href'])['then'](_0x50161=>_0x50161['clone']()['blob']())['then'](_0x4dad82=>new _0x4cb76f['File']([_0x4dad82],_0x527971,{'type':'image/'+_0x1c0070}));}}class O extends _0x28c4b4{['imageEditController'];static get['requires'](){return[_0x2f3d2e];}['_isEditable'];constructor(_0x3d7fe7){super(_0x3d7fe7),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x50e538){const _0x216c31=G(_0x50e538);return _0x222e72=>!(!_0x222e72||!_0x222e72['is']('element','imageBlock')&&!_0x222e72['is']('element','imageInline'))&&(!!_0x222e72['hasAttribute']('uploadcareImageId')||!!_0x222e72['hasAttribute']('src')&&_0x216c31(_0x222e72['getAttribute']('src')));}(_0x3d7fe7['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x2021c7=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x2021c7);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0xa75689=this['editor']['model']['document']['selection']['getSelectedElement']();_0xa75689&&(_0xa75689['is']('element','imageBlock')||_0xa75689['is']('element','imageInline'))&&(this['imageEditController']=new E(this['editor'],this['editor']['plugins']['get'](_0x2f3d2e),_0xa75689),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class R extends _0x28c4b4{['refresh'](){const _0x14993a=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x14993a&&(_0x14993a['is']('element','imageBlock')||_0x14993a['is']('element','imageInline')));}['execute'](_0x308245){const _0x5adf75=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x18b840=>{_0x18b840['setAttributes'](_0x308245,_0x5adf75),_0x18b840['removeAttribute']('srcset',_0x5adf75),_0x18b840['removeAttribute']('sizes',_0x5adf75);});}}class m extends _0x1bae7e{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[o,_0x12d5af,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x26b26b}=this;_0x26b26b['commands']['add']('uploadcareImageEdit',new O(_0x26b26b)),_0x26b26b['commands']['add']('uploadcareImageReplace',new R(_0x26b26b));}}class g extends _0x1bae7e{['_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 _0x10a69c=this['editor'];_0x10a69c['ui']['componentFactory']['add']('uploadcareImageEdit',_0x8f212e=>{const _0x58c1ec=_0x10a69c['commands']['get']('uploadcareImageEdit'),_0x217608=new _0x3f01e9(_0x8f212e),t=_0x8f212e['t'];return _0x217608['set']({'icon':_0x3d8c3a,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x217608['bind']('isEnabled')['to'](_0x58c1ec),_0x217608['bind']('isOn')['to'](_0x58c1ec,'isActive'),this['listenTo'](_0x217608,'execute',()=>{_0x10a69c['execute']('uploadcareImageEdit'),_0x10a69c['editing']['view']['focus']();}),_0x217608;}),this['_initConfig']();}['_initConfig'](){const _0x50d5a8=_0x228c9f(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x50d5a8),this['listenTo'](this['editor'],'destroy',()=>{_0x50d5a8['remove']();});}}class et extends _0x1bae7e{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 _0x556cf5,Command as _0x75e514}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x1fac26,IconGooglePhotos as _0x3a6720,IconGoogleDrive as _0x267512,IconFacebook as _0x5d67d1,IconDropbox as _0x91a5e1,IconUploadcareLink as _0x40f50e,IconUploadcareImageUpload as _0x1b8cd7,IconError as _0x587b02,IconUploadcareImageEdit as _0x1c0d78}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x1a580e,MenuBarMenuListItemButtonView as _0x152e49,View as _0x2e4e0d,FocusCycler as _0x278326,Dialog as _0x45b106,DialogViewPosition as _0x519918,SpinnerView as _0x40579c,IconView as _0x30bba7,Notification as _0x3c2cf0}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x11032,DomEmitterMixin as _0x955bcc,global as _0x9f81b5,getAncestors as _0x56994c,ObservableMixin as _0x10c0d0,uid as _0x4039e1,createElement as _0x404917}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x5aabee}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x4976d1,info as _0x47735c}from'@uploadcare/upload-client';import*as _0x3d764a from'@uploadcare/file-uploader';var i=function(_0x2dc32d){return _0x2dc32d['Local']='local',_0x2dc32d['URL']='url',_0x2dc32d['Dropbox']='dropbox',_0x2dc32d['GDrive']='gdrive',_0x2dc32d['Facebook']='facebook',_0x2dc32d['GPhotos']='gphotos',_0x2dc32d['OneDrive']='onedrive',_0x2dc32d;}({});function _(_0x585498,_0x4f09ce,_0x493a34){const t=_0x585498['t'],_0x4c8989=_0x585498['t'];switch(_0x4f09ce){case i['Local']:return{'text':_0x4c8989('Insert'===_0x493a34?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x4c8989('From\x20computer')};case i['URL']:return{'text':'Insert'===_0x493a34?_0x4c8989('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x4c8989('Via\x20URL')};case i['Dropbox']:return{'text':t('Insert'===_0x493a34?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case i['Facebook']:return{'text':t('Insert'===_0x493a34?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case i['GDrive']:return{'text':t('Insert'===_0x493a34?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case i['GPhotos']:return{'text':t('Insert'===_0x493a34?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case i['OneDrive']:return{'text':t('Insert'===_0x493a34?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x4f09ce;}}class e extends _0x556cf5{['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 _0x28d36f=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x3b3855;for(const _0x505444 in _0x28d36f){const _0x42557f=_0x505444,_0x3a7d70=_0x28d36f[_0x42557f];if('uploadcareLicenseKeyValid'==_0x3a7d70||'uploadcareLicenseKeyInvalid'==_0x3a7d70||'uploadcareLicenseKeyExpired'==_0x3a7d70||'uploadcareLicenseKeyDomainLimit'==_0x3a7d70||'uploadcareLicenseKeyNotAllowed'==_0x3a7d70||'uploadcareLicenseKeyEvaluationLimit'==_0x3a7d70||'uploadcareLicenseKeyTrialLimit'==_0x3a7d70||'uploadcareLicenseKeyUsageLimit'==_0x3a7d70){delete _0x28d36f[_0x42557f],_0x3b3855=_0x3a7d70,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x3b3855&&_0x28d36f['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x3b3855&&_0x28d36f['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x3b3855&&_0x28d36f['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x3b3855&&_0x28d36f['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x3b3855&&_0x28d36f['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0x3b3855&&_0x28d36f['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0x3b3855&&_0x28d36f['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x416e89}=this,_0x203a6f=_0x416e89['commands']['get']('uploadcare');if(!_0x203a6f)return;const _0x15aa92=this['_normalizeConfigSourceList'](_0x416e89['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x2b3ecd,_0x19ca9d)=>{const _0x1ea75d=this['_getIntegrationKey'](_0x19ca9d['type']);return _0x2b3ecd[_0x1ea75d]||(_0x2b3ecd[_0x1ea75d]=[]),_0x2b3ecd[_0x1ea75d]['push'](_0x19ca9d),_0x2b3ecd;},{});_0x416e89['plugins']['has']('ImageInsertUI')&&_0x416e89['commands']['get']('uploadcare')&&Object['entries'](_0x15aa92)['forEach'](([_0x65b18,_0x39e366])=>{_0x416e89['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x65b18,'observable':()=>_0x203a6f,'buttonViewCreator':()=>this['_createToolbarButton'](_0x39e366),'formViewCreator':()=>this['_createDropdownButtons'](_0x39e366),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x39e366),'override':'assetManager'!==_0x65b18});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x22839d){const {locale:_0x22bc20}=this['editor'];return _0x22839d['map'](_0x444a1c=>{const _0x498381=_(_0x22bc20,_0x444a1c,'Insert');switch(_0x444a1c){case i['Local']:return{'icon':_0x1b8cd7,'type':i['Local'],..._0x498381};case i['URL']:return{'icon':_0x40f50e,'type':i['URL'],..._0x498381};case i['Dropbox']:return{'icon':_0x91a5e1,'type':i['Dropbox'],..._0x498381};case i['Facebook']:return{'icon':_0x5d67d1,'type':i['Facebook'],..._0x498381};case i['GDrive']:return{'icon':_0x267512,'type':i['GDrive'],..._0x498381};case i['GPhotos']:return{'icon':_0x3a6720,'type':i['GPhotos'],..._0x498381};case i['OneDrive']:return{'icon':_0x1fac26,'type':i['OneDrive'],..._0x498381};}});}['_getIntegrationKey'](_0x2202f4){switch(_0x2202f4){case i['Local']:return'upload';case i['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x3750d0,_0xac7fe2){const _0x257f3d=this['editor'],_0x49edd2=new _0x3750d0(_0x257f3d['locale']),_0x307fca=_0x257f3d['commands']['get']('uploadcare');return _0x49edd2['bind']('isEnabled')['to'](_0x307fca),_0x49edd2['on']('execute',()=>{_0x307fca['execute'](_0xac7fe2);}),_0x49edd2;}['_createToolbarButton'](_0x4c1e78){const {locale:_0x19c79e}=this['editor'],_0x387f6a=this['editor']['plugins']['get']('ImageInsertUI'),_0x524aab=_0x4c1e78[0x0],_0x4d9dd4=this['_createButton'](_0x1a580e,_0x524aab['type']);return _0x4d9dd4['icon']=_0x524aab['icon'],_0x4d9dd4['bind']('label')['to'](_0x387f6a,'isImageSelected',_0x21314c=>_(_0x19c79e,_0x524aab['type'],_0x21314c?'Replace':'Insert')['text']),_0x4d9dd4['tooltip']=!0x0,_0x4d9dd4;}['_createDropdownButtons'](_0x3bbb28){const {locale:_0x2feaf0}=this['editor'],_0x54674b=this['editor']['plugins']['get']('ImageInsertUI');return _0x3bbb28['map'](_0x51e4f9=>{const _0x182ec6=this['_createButton'](_0x1a580e,_0x51e4f9['type']);return _0x182ec6['withText']=!0x0,_0x182ec6['icon']=_0x51e4f9['icon'],_0x182ec6['bind']('label')['to'](_0x54674b,'isImageSelected',_0x5073d1=>_(_0x2feaf0,_0x51e4f9['type'],_0x5073d1?'Replace':'Insert')['text']),_0x182ec6;});}['_createMenuBarButtons'](_0xe023fd){return _0xe023fd['map'](_0xdb5fc3=>{const _0x3133ef=this['_createButton'](_0x152e49,_0xdb5fc3['type']);return _0x3133ef['icon']=_0xdb5fc3['icon'],_0x3133ef['label']=_0xdb5fc3['shortText'],_0x3133ef;});}}class F extends _0x2e4e0d{['focusTracker'];['focusCycler'];constructor(_0x77ce36){super(_0x77ce36),this['focusTracker']=new _0x11032(),this['focusCycler']=new _0x278326({'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(_0x16ab2a,_0x1cd96e){super(_0x16ab2a),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-'+_0x1cd96e}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function C(_0x422fc2,_0x226403){const _0x281458=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0xa84d2=>_0xa84d2<=_0x226403)['map'](_0x2c6aaf=>_0x422fc2['replace'](/\/$/,'')+'/-/resize/'+_0x2c6aaf+'x/\x20'+_0x2c6aaf+'w');return{'imageFallbackUrl':_0x422fc2,'imageSources':[{'srcset':_0x281458['join'](',\x20'),'sizes':'(max-width:\x20'+_0x226403+'px)\x20100vw,\x20'+_0x226403+'px','type':'image/webp'}]};}function S(_0x4d68fc,_0x1516e2,_0x25e8bd){const _0x535e2a=_0x4d68fc['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x535e2a?parseInt(_0x535e2a[0x1],0xa):_0x1516e2,'height':_0x535e2a?parseInt(_0x535e2a[0x2],0xa):_0x25e8bd};}function p(_0x5b04f0,_0x31cb6a){const _0x3eefac=new(_0x955bcc())(),_0x86d8ff=_0x5b04f0['plugins']['get']('ImageUtils'),_0x282391=_0x5b04f0['editing']['mapper']['toViewElement'](_0x31cb6a),_0x1d359a=_0x86d8ff['findViewImgElement'](_0x282391),_0x418190=_0x5b04f0['editing']['view']['domConverter']['viewToDom'](_0x1d359a),_0x1896ea=_0x31cb6a['getAttribute']('width'),_0x24eb4b=_0x31cb6a['getAttribute']('height'),_0x7987a7='image-processing';_0x5b04f0['editing']['view']['change'](_0x495c1a=>{_0x495c1a['addClass'](_0x7987a7,_0x282391),_0x495c1a['setStyle']('aspect-ratio',_0x1896ea+'/'+_0x24eb4b,_0x1d359a);}),_0x3eefac['listenTo'](_0x418190,'load',()=>{_0x3eefac['stopListening'](_0x418190,'load'),_0x5b04f0['editing']['view']['change'](_0x14c4b1=>{_0x14c4b1['removeClass'](_0x7987a7,_0x282391),_0x14c4b1['removeStyle']('aspect-ratio',_0x1d359a);});});}function G(_0x423e08){if(Array['isArray'](_0x423e08)){const _0x20e39a=_0x423e08['map'](G);return _0xc2bdb2=>_0x20e39a['some'](_0x33d81d=>_0x33d81d(_0xc2bdb2));}if('origin'==_0x423e08){const _0x1594f5=_0x9f81b5['window']['location']['origin'];return _0x5f42fd=>new URL(_0x5f42fd,_0x9f81b5['document']['baseURI'])['origin']==_0x1594f5;}return'function'==typeof _0x423e08?_0x423e08:_0x423e08 instanceof RegExp?_0x2ac02b=>!(!_0x2ac02b['match'](_0x423e08)&&!_0x2ac02b['replace'](/^https?:\/\//,'')['match'](_0x423e08)):()=>!0x1;}function A(_0x2f26df,_0x201176){return _0x56994c(_0x2f26df['target'])['includes'](_0x201176);}class n extends/* #__PURE__ -- @preserve */
24
+ _0x10c0d0(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x8a91e0,_0x3262df,_0x589a9d){super(),this['_editor']=_0x8a91e0,this['_editing']=_0x3262df,this['_dialog']=_0x8a91e0['plugins']['get'](_0x45b106),this['_api']=_0x3262df['ctxElement']['getAPI'](),this['_type']=_0x589a9d,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:_0x51909f,model:_0x10a04f}=this['_editor'],_0x520293=_0x10a04f['document']['selection']['getSelectedElement'](),_0x1fcf04=_0x520293&&(_0x520293['is']('element','imageBlock')||_0x520293['is']('element','imageInline'));this['_formView']=new x(_0x51909f,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':_0x1b8cd7,'title':_(_0x51909f,this['_type'],_0x1fcf04?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x519918['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x2e098c=>!A(_0x2e098c,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0xe7d22d}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x36f5c7=>{const _0x2ec94a=_0xe7d22d['length'];for(const _0x274f6e of _0xe7d22d){const _0x4979f2=_0x274f6e===_0xe7d22d[_0x2ec94a-0x1],{cdnUrl:_0xbee985,fileInfo:_0x4c022c}=_0x274f6e;if(!_0xbee985||!_0x4c022c)continue;const {width:_0x4bfd3b,height:_0x538f96}=_0x4c022c['imageInfo'],_0x203d91=S(_0xbee985,_0x4bfd3b,_0x538f96),_0x4f5ee6=C(_0xbee985,_0x203d91['width']),_0x5961dc={'id':_0x4c022c['uuid'],'type':'image','attributes':{'imageDimension':_0x203d91,..._0x4f5ee6}};this['_insertAsset'](_0x5961dc,_0x4979f2,_0x36f5c7);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x1931b0=>{'idle'===_0x1931b0['detail']['status']&&!_0x1931b0['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===i['Local']?this['_api']['setCurrentActivity'](i['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x5c4d8b,_0xc5c701,_0x56a32e){const _0x5613b5=this['_editor']['model']['document']['selection'],_0x1f09fd=_0x5613b5['getSelectedElement'](),_0x321386=!(!_0x1f09fd||!_0x1f09fd['is']('element','imageInline'));_0x56a32e['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x5c4d8b,_0x321386),_0xc5c701||_0x56a32e['setSelection'](_0x5613b5['getLastPosition']());}['_insertImage'](_0x130fc4,_0x2c7090){const _0xb713d=this['_editor'],{imageDimension:_0x46bff7,imageFallbackUrl:_0x2e907e,imageSources:_0x52433c}=_0x130fc4['attributes'];_0xb713d['execute']('insertImage',{'imageType':_0x2c7090?'imageInline':null,'source':{'uploadcareImageId':_0x130fc4['id'],'src':_0x2e907e,'sources':_0x52433c,..._0x46bff7}});}}class w extends _0x75e514{['_editing'];['_controller']=null;static get['requires'](){return[_0x45b106,o];}constructor(_0x4b5ec4){super(_0x4b5ec4),this['_editing']=_0x4b5ec4['plugins']['get'](o);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x254a1f){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new n(this['editor'],this['_editing'],_0x254a1f);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class j{static['upload']({file:_0x55ba12,..._0x48a4c9}){return _0x4976d1(_0x55ba12,_0x48a4c9);}static['getInfo'](_0x2aaeb4,_0x3d2a3e){return _0x47735c(_0x2aaeb4,_0x3d2a3e);}}class f extends _0x556cf5{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x5aabee,o];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x58db9f=this['editor'];if(!!!_0x58db9f['config']['get']('uploadcare'))return;_0x58db9f['plugins']['get'](_0x5aabee)['createUploadAdapter']=_0x2d84ed=>new k(_0x2d84ed,_0x58db9f),_0x58db9f['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x48f318,{imageElement:_0x5192fb,data:_0x2678a7})=>{_0x58db9f['model']['change'](_0x5a4f6c=>{_0x5a4f6c['setAttribute']('uploadcareImageId',_0x2678a7['uploadcareImageId'],_0x5192fb);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x4294af,_0x37f111){this['loader']=_0x4294af,this['editor']=_0x37f111,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x2cbae9=await this['loader']['file'];return j['upload']({'file':_0x2cbae9,'publicKey':this['editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':this['controller']['signal'],'onProgress':_0x74403=>{_0x74403&&_0x74403['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x74403['value']);}})['then'](async _0x1e26e1=>{const {imageFallbackUrl:_0xeb6cfa,imageSources:_0x39b4b2}=C(_0x1e26e1['cdnUrl'],_0x1e26e1['imageInfo']['width']);return{'uploadcareImageId':_0x1e26e1['uuid'],'default':_0xeb6cfa,'sources':_0x39b4b2};})['catch'](()=>{const _0x51f3df=t('Cannot\x20upload\x20file:')+('\x20'+_0x2cbae9['name']+'.');return Promise['reject'](_0x51f3df);});}['abort'](){this['controller']['abort']();}}class o extends _0x556cf5{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',f,_0x45b106];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['ucContextId'];get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}constructor(_0x11dc4e){super(_0x11dc4e),this['ucContextId']=_0x4039e1();}['init'](){const _0x1f2bcc=this['editor'];_0x1f2bcc['commands']['add']('uploadcare',new w(_0x1f2bcc));}['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 _0x1eed3c=_0x9f81b5['document']['querySelector']('input[uploadcare-file-input]');_0x1eed3c&&_0x1eed3c['remove']();}),async function(_0x415d06){const _0x24ed41=_0x363df4([0x52,0x42,0x63,0x58,0x64,0x47,0x66,0x35,0x36,0x37,0x6d,0x4e,0x6a,0x4b,0x39,0x44,0x54,0x70,0x50,0x30,0x49,0x79,0x69,0x33,0x67,0x65,0x61,0x38,0x5a,0x76,0x7a,0x6c,0x45,0x34,0x62,0x46,0x75,0x57,0x72,0x77,0x73,0x48,0x31,0x68,0x6e,0x4f,0x53,0x4c,0x71,0x6b,0x59,0x32,0x4d,0x51,0x4a,0x78,0x6f,0x56,0x41,0x55,0x74,0x43]),_0x508e02=0x3d8d0df,_0x1a2845=0x3dfa41f^_0x508e02,_0x5deb71=window[_0x363df4([0x44,0x61,0x74,0x65])][_0x363df4([0x6e,0x6f,0x77])](),_0x18a1dd=_0x415d06[_0x363df4([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x48a1ea=new window[(_0x363df4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x422a9c=>{_0x18a1dd[_0x363df4([0x6f,0x6e,0x63,0x65])](_0x363df4([0x72,0x65,0x61,0x64,0x79]),_0x422a9c);}),_0x5dc2fd={[_0x363df4([0x6b,0x74,0x79])]:_0x363df4([0x45,0x43]),[_0x363df4([0x75,0x73,0x65])]:_0x363df4([0x73,0x69,0x67]),[_0x363df4([0x63,0x72,0x76])]:_0x363df4([0x50,0x2d,0x32,0x35,0x36]),[_0x363df4([0x78])]:_0x363df4([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]),[_0x363df4([0x79])]:_0x363df4([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]),[_0x363df4([0x61,0x6c,0x67])]:_0x363df4([0x45,0x53,0x32,0x35,0x36])},_0x2dbbc3=_0x18a1dd[_0x363df4([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x363df4([0x67,0x65,0x74])](_0x363df4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x348a8d(){let _0x4dfb9b,_0x3350ed=null,_0x1c040e=null;try{if(_0x2dbbc3==_0x363df4([0x47,0x50,0x4c]))return _0x363df4([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x4dfb9b=_0x30ba10(),!_0x4dfb9b)return _0x363df4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x4dfb9b[_0x363df4([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1c040e=_0xc61d35(_0x4dfb9b[_0x363df4([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x4dfb9b[_0x363df4([0x6a,0x74,0x69])])),await _0x57a918()?_0x550043()?_0x13ab71()?_0x363df4([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x5c622e()?(_0x4dfb9b[_0x363df4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x363df4([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3350ed=_0x54c5af(_0x363df4([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x4dfb9b[_0x363df4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x363df4([0x74,0x72,0x69,0x61,0x6c])&&(_0x3350ed=_0x54c5af(_0x363df4([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x5d7b39()):_0x363df4([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x363df4([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x363df4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x363df4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x13ab71(){const _0x553b70=[_0x363df4([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x363df4([0x74,0x72,0x69,0x61,0x6c])][_0x363df4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4dfb9b[_0x363df4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x5deb71/0x3e8:0xe10*_0x1a2845;return _0x4dfb9b[_0x363df4([0x65,0x78,0x70])]<_0x553b70;}function _0x550043(){const _0x5b5b32=_0x4dfb9b[_0x363df4([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x5b5b32&&(!!_0x5b5b32[_0x363df4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x363df4([0x2a]))||!!_0x5b5b32[_0x363df4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x363df4([0x55,0x50,0x4c,0x43])));}function _0x5c622e(){const _0x588860=_0x4dfb9b[_0x363df4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x588860||0x0==_0x588860[_0x363df4([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1c5601}=new URL(window[_0x363df4([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x588860[_0x363df4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1c5601))return!0x0;const _0x520e06=_0x1c5601[_0x363df4([0x73,0x70,0x6c,0x69,0x74])](_0x363df4([0x2e]));return _0x588860[_0x363df4([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x288568=>_0x288568[_0x363df4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x363df4([0x2a])))[_0x363df4([0x6d,0x61,0x70])](_0x249877=>_0x249877[_0x363df4([0x73,0x70,0x6c,0x69,0x74])](_0x363df4([0x2e])))[_0x363df4([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5f49c0=>_0x5f49c0[_0x363df4([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x520e06[_0x363df4([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x363df4([0x6d,0x61,0x70])](_0x512da9=>Array(_0x520e06[_0x363df4([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x512da9[_0x363df4([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x363df4([0x66,0x69,0x6c,0x6c])](_0x512da9[0x0]===_0x363df4([0x2a])?_0x363df4([0x2a]):'')[_0x363df4([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x512da9))[_0x363df4([0x73,0x6f,0x6d,0x65])](_0x4adb33=>_0x520e06[_0x363df4([0x65,0x76,0x65,0x72,0x79])]((_0x98a50b,_0x442d97)=>_0x4adb33[_0x442d97]===_0x98a50b||_0x4adb33[_0x442d97]===_0x363df4([0x2a])));}function _0x5d7b39(){return _0x3350ed&&_0x1c040e?new window[(_0x363df4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x10e30c,_0x3a263f)=>{_0x3350ed[_0x363df4([0x74,0x68,0x65,0x6e])](_0x10e30c,_0x3a263f),_0x1c040e[_0x363df4([0x74,0x68,0x65,0x6e])](_0x4dd3c0=>{_0x4dd3c0!=_0x363df4([0x56,0x61,0x6c,0x69,0x64])&&_0x10e30c(_0x4dd3c0);},_0x3a263f);}):_0x3350ed||_0x1c040e||_0x363df4([0x56,0x61,0x6c,0x69,0x64]);}}function _0xc61d35(_0x59689e,_0x476a25){return new window[(_0x363df4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x32b62d=>{if(_0x4c4a30())return _0x32b62d(_0x363df4([0x56,0x61,0x6c,0x69,0x64]));_0x3708fb(),_0x18a1dd[_0x363df4([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x363df4([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x312703=!0x1;const _0x5ed46c=_0x4039e1();function _0x49e9a4(_0x584d69){return!!_0x584d69&&(typeof _0x584d69===_0x363df4([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x584d69===_0x363df4([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x584d69[_0x363df4([0x74,0x68,0x65,0x6e])]===_0x363df4([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x584d69[_0x363df4([0x63,0x61,0x74,0x63,0x68])]===_0x363df4([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0xdbd048(_0x5217cc){_0x23c98a(_0x5217cc)[_0x363df4([0x74,0x68,0x65,0x6e])](_0x40b6e0=>{if(!_0x40b6e0||_0x40b6e0[_0x363df4([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x363df4([0x6f,0x6b]))return _0x363df4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1253ef(_0x3f0ab5(_0x5ed46c+_0x476a25))!=_0x40b6e0[_0x363df4([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x363df4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x363df4([0x56,0x61,0x6c,0x69,0x64]);})[_0x363df4([0x74,0x68,0x65,0x6e])](_0x215772=>(_0x30e226(),_0x215772),()=>{const _0x2e56ba=_0x10173b();return null==_0x2e56ba?(_0x30e226(),_0x363df4([0x56,0x61,0x6c,0x69,0x64])):_0x363df4(_0x5deb71-_0x2e56ba>(0x27d454df^_0x508e02)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x363df4([0x74,0x68,0x65,0x6e])](_0x32b62d)[_0x363df4([0x63,0x61,0x74,0x63,0x68])](()=>{_0x32b62d(_0x363df4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x46dc21=0x3ee3e5f^_0x508e02;function _0x30e226(){const _0xd3d8a3=_0x363df4([0x6c,0x6c,0x63,0x74,0x2d])+_0x1253ef(_0x3f0ab5(_0x59689e)),_0x4338e1=_0x2e4fa4(_0x1253ef(window[_0x363df4([0x4d,0x61,0x74,0x68])][_0x363df4([0x63,0x65,0x69,0x6c])](_0x5deb71/_0x46dc21)));window[_0x363df4([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x363df4([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xd3d8a3,_0x4338e1);}function _0x10173b(){const _0x47c175=_0x363df4([0x6c,0x6c,0x63,0x74,0x2d])+_0x1253ef(_0x3f0ab5(_0x59689e)),_0x264d78=window[_0x363df4([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x363df4([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x47c175);return _0x264d78?window[_0x363df4([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2e4fa4(_0x264d78),0x10)*_0x46dc21:null;}function _0x23c98a(_0x309704){return new window[(_0x363df4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4a5286,_0x589747)=>{_0x309704[_0x363df4([0x74,0x68,0x65,0x6e])](_0x4a5286,_0x589747),window[_0x363df4([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x589747,0x3d9041f^_0x508e02);});}}_0x18a1dd[_0x363df4([0x6f,0x6e])](_0x363df4([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x2e4933,_0x470bfd)=>{if(_0x470bfd[0x0]!=_0x59689e)return _0x32b62d(_0x363df4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x470bfd[0x1]={..._0x470bfd[0x1],[_0x363df4([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5ed46c};},{[_0x363df4([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x363df4([0x68,0x69,0x67,0x68])}),_0x18a1dd[_0x363df4([0x6f,0x6e])](_0x363df4([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x94595b=>{_0x49e9a4(_0x94595b[_0x363df4([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x312703=!0x0,_0xdbd048(_0x94595b[_0x363df4([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x363df4([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x363df4([0x6c,0x6f,0x77])}),_0x48a1ea[_0x363df4([0x74,0x68,0x65,0x6e])](()=>{_0x312703||_0x32b62d(_0x363df4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4c4a30(){return _0x18a1dd[_0x363df4([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x363df4([0x76,0x69,0x65,0x77])][_0x363df4([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x363df4([0x61,0x75,0x74,0x6f]);}function _0x3708fb(){_0x18a1dd[_0x363df4([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x363df4([0x76,0x69,0x65,0x77])][_0x363df4([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x363df4([0x61,0x75,0x74,0x6f]);}}function _0x54c5af(_0x409b7f){const _0x48bcef=[new window[(_0x363df4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4d44fd=>setTimeout(_0x4d44fd,0x3d1ee13^_0x508e02)),_0x48a1ea[_0x363df4([0x74,0x68,0x65,0x6e])](()=>new window[(_0x363df4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x22a5ef=>{let _0x37a269=0x0;_0x18a1dd[_0x363df4([0x6d,0x6f,0x64,0x65,0x6c])][_0x363df4([0x6f,0x6e])](_0x363df4([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0xe13f7c,_0x3b4980)=>{_0x3b4980[0x0][_0x363df4([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x37a269++,_0x37a269==(0x3d8d127^_0x508e02)&&(_0x22a5ef(),_0xe13f7c[_0x363df4([0x6f,0x66,0x66])]());});}))];return window[_0x363df4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x363df4([0x72,0x61,0x63,0x65])](_0x48bcef)[_0x363df4([0x74,0x68,0x65,0x6e])](()=>_0x409b7f);}async function _0x127f25(){await _0x48a1ea,_0x18a1dd[_0x363df4([0x6d,0x6f,0x64,0x65,0x6c])][_0x363df4([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x291528,_0x18a1dd[_0x363df4([0x6d,0x6f,0x64,0x65,0x6c])][_0x363df4([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x291528,_0x18a1dd[_0x363df4([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x363df4([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x24dadc(_0x46c09a){const _0x172beb=_0xc2a7c3();_0x18a1dd[_0x172beb]=_0x363df4([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x46c09a,_0x46c09a!=_0x363df4([0x56,0x61,0x6c,0x69,0x64])&&_0x127f25();}function _0xc2a7c3(){const _0x425e4d=window[_0x363df4([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x363df4([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x363df4([0x6e,0x6f,0x77])]())[_0x363df4([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x363df4([0x2e]),'');let _0xf23722=_0x363df4([0x52]);for(let _0x3c618a=0x0;_0x3c618a<_0x425e4d[_0x363df4([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3c618a+=0x2){let _0x53b893=window[_0x363df4([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x425e4d[_0x363df4([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3c618a,_0x3c618a+0x2));_0x53b893>=_0x24ed41[_0x363df4([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x53b893-=_0x24ed41[_0x363df4([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0xf23722+=_0x24ed41[_0x53b893];}return _0xf23722;}function _0x30ba10(){const _0x490778=_0x2dbbc3[_0x363df4([0x73,0x70,0x6c,0x69,0x74])](_0x363df4([0x2e]));if(0x3!=_0x490778[_0x363df4([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x467e64(_0x490778[0x1]);function _0x467e64(_0xae914c){const _0x2759b8=_0x35125b(_0xae914c);return _0x2759b8&&_0x2dac69()?_0x2759b8:null;function _0x2dac69(){const _0x3f3f48=_0x2759b8[_0x363df4([0x6a,0x74,0x69])],_0x230de5=window[_0x363df4([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3f3f48[_0x363df4([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3f3f48[_0x363df4([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x523dac={..._0x2759b8,[_0x363df4([0x6a,0x74,0x69])]:_0x3f3f48[_0x363df4([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3f3f48[_0x363df4([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x523dac[_0x363df4([0x76,0x63])],_0x3f0ab5(_0x523dac)==_0x230de5;}}}async function _0x57a918(){let _0xe4ab75=!0x0;try{const _0x43cf54=_0x2dbbc3[_0x363df4([0x73,0x70,0x6c,0x69,0x74])](_0x363df4([0x2e])),[_0x5423f9,_0x4ddb45,_0x262b50]=_0x43cf54;return _0x49aeb7(_0x5423f9),await _0x1e206d(_0x5423f9,_0x4ddb45,_0x262b50),_0xe4ab75;}catch{return!0x1;}function _0x49aeb7(_0x2f1128){const _0x313c25=_0x35125b(_0x2f1128);_0x313c25&&_0x313c25[_0x363df4([0x61,0x6c,0x67])]==_0x363df4([0x45,0x53,0x32,0x35,0x36])||(_0xe4ab75=!0x1);}async function _0x1e206d(_0x704209,_0x22ef15,_0x3de948){const _0x3c4ce6=window[_0x363df4([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x363df4([0x66,0x72,0x6f,0x6d])](_0x293590(_0x3de948),_0x3e9671=>_0x3e9671[_0x363df4([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x23b3c9=new window[(_0x363df4([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x363df4([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x704209+_0x363df4([0x2e])+_0x22ef15),_0xb3bed0=window[_0x363df4([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x363df4([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0xb3bed0)return;const _0x207aa8=await _0xb3bed0[_0x363df4([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x363df4([0x6a,0x77,0x6b]),_0x5dc2fd,{[_0x363df4([0x6e,0x61,0x6d,0x65])]:_0x363df4([0x45,0x43,0x44,0x53,0x41]),[_0x363df4([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x363df4([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x363df4([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0xb3bed0[_0x363df4([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x363df4([0x6e,0x61,0x6d,0x65])]:_0x363df4([0x45,0x43,0x44,0x53,0x41]),[_0x363df4([0x68,0x61,0x73,0x68])]:{[_0x363df4([0x6e,0x61,0x6d,0x65])]:_0x363df4([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x207aa8,_0x3c4ce6,_0x23b3c9)||(_0xe4ab75=!0x1);}}function _0x35125b(_0x33a7c5){return _0x33a7c5[_0x363df4([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x363df4([0x65,0x79]))?JSON[_0x363df4([0x70,0x61,0x72,0x73,0x65])](_0x293590(_0x33a7c5)):null;}function _0x293590(_0x7de456){return window[_0x363df4([0x61,0x74,0x6f,0x62])](_0x7de456[_0x363df4([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x363df4([0x2b]))[_0x363df4([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x363df4([0x2f])));}function _0x3f0ab5(_0x414250){let _0x293c81=0x1505;function _0x286d17(_0x203ff1){for(let _0x3234fc=0x0;_0x3234fc<_0x203ff1[_0x363df4([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3234fc++){const _0xbc1269=_0x203ff1[_0x363df4([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x3234fc);_0x293c81=(_0x293c81<<0x5)+_0x293c81+_0xbc1269,_0x293c81&=_0x293c81;}}function _0x1132ff(_0x412699){Array[_0x363df4([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x412699)?_0x412699[_0x363df4([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1132ff):_0x412699&&typeof _0x412699==_0x363df4([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x363df4([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x412699)[_0x363df4([0x73,0x6f,0x72,0x74])]()[_0x363df4([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2a65c8,_0x36da69])=>{_0x286d17(_0x2a65c8),_0x1132ff(_0x36da69);}):_0x286d17(window[_0x363df4([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x412699));}return _0x1132ff(_0x414250),_0x293c81>>>0x0;}function _0x1253ef(_0x3489b3){return _0x3489b3[_0x363df4([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x363df4([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x363df4([0x30]));}function _0x2e4fa4(_0x3c9077){return _0x3c9077[_0x363df4([0x73,0x70,0x6c,0x69,0x74])]('')[_0x363df4([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x363df4([0x6a,0x6f,0x69,0x6e])]('');}function _0x291528(){}function _0x363df4(_0x10a062){return _0x10a062['map'](_0xd12ea8=>String['fromCharCode'](_0xd12ea8))['join']('');}_0x24dadc(await _0x348a8d());}(this);}['_initSchema'](){const _0x222c85=this['editor']['model']['schema'];_0x222c85['isRegistered']('imageBlock')&&_0x222c85['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x222c85['isRegistered']('imageInline')&&_0x222c85['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x250634=this['editor'];_0x250634['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x250634['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x3aa5d9=>_0x3aa5d9['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x501f61=_0x250634['commands']['get']('replaceImageSource');_0x501f61&&this['listenTo'](_0x501f61,'cleanupImage',(_0x3c66c8,[_0x5e7474,_0x8cb5ad])=>{_0x5e7474['removeAttribute']('uploadcareImageId',_0x8cb5ad);});}['_initConfig'](){const _0x4c84f3=this['editor']['config']['get']('uploadcare.uploader')||{},_0x5dbaa8=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x404917(_0x9f81b5['document'],'uc-config',{..._0x4c84f3,'pubkey':_0x5dbaa8,'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']=_0x1e05db=>{if('closeMax'==_0x1e05db)return'#uc-icon-arrow-down';},_0x9f81b5['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x404917(_0x9f81b5['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),_0x9f81b5['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x3e826e=this['editor']['commands']['get']('insertImage');_0x3e826e&&this['listenTo'](_0x3e826e,'execute',()=>{const _0x46478d=this['editor']['model']['document']['selection']['getSelectedElement']();_0x46478d&&_0x46478d['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x46478d);});});const _0xa1af12=this['editor']['commands']['get']('uploadcareImageReplace');_0xa1af12&&this['listenTo'](_0xa1af12,'execute',()=>{const _0x5dab3b=this['editor']['model']['document']['selection']['getSelectedElement']();_0x5dab3b&&_0x5dab3b['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x5dab3b);});});}}class tt extends _0x556cf5{static get['requires'](){return[o,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x5405fc){super(_0x5405fc),_0x5405fc['config']['define']('uploadcare.uploader.sourceList',[i['Local'],i['URL']]),_0x3d764a['defineComponents'](_0x3d764a);}}class ii extends _0x2e4e0d{constructor(_0x390f91){super(_0x390f91);const t=_0x390f91['t'],_0x595d01=this['bindTemplate'],_0x3b9e87=new _0x40579c();_0x3b9e87['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':[_0x3b9e87,{'text':_0x595d01['to']('imageUploadProgress',_0x7b917=>t('Loading\x20image...')+'\x20('+(_0x7b917||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 _0x2e4e0d{constructor(_0x134745){super(_0x134745);const t=_0x134745['t'];this['set']('errorType',null);const _0x58f441=new _0x1a580e(_0x134745);_0x58f441['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x58f441['withText']=!0x0,_0x58f441['class']='ck-button-action',_0x58f441['on']('execute',()=>{this['fire']('retry');}),_0x58f441['bind']('isVisible')['to'](this,'errorType',_0x2c4b04=>'NotFound'!==_0x2c4b04);const _0x5eba18=new _0x30bba7();_0x5eba18['content']=_0x587b02,_0x5eba18['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x4e8fd5=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':[_0x5eba18,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x4e8fd5['to']('errorType',_0xbab51e=>t('NotFound'!==_0xbab51e?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x58f441]},{'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 _0x2e4e0d{constructor(_0x2886cb,_0x58cef){super(_0x2886cb);const _0x4d5343=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x58cef,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x4d5343['to']('imageSrc')}});}}class X extends F{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x4e19c6,_0x2cf984,_0x19e904){super(_0x4e19c6),this['_items']=this['createCollection'](),this['_loadingView']=new ii(_0x4e19c6),this['_errorView']=new ti(_0x4e19c6),this['_editingView']=new ei(_0x4e19c6,_0x19e904),this['_focusableView']=new _0x2e4e0d(_0x4e19c6),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x2cf984),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'],_0xb69541=>{this['_addUploadcareImageEditorListeners'](_0xb69541);});}),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'](_0x1affbf,_0x22ae99){const _0x3def00='uc-cloud-image-editor',_0x41a7ac=_0x1affbf['querySelector'](_0x3def00);if(_0x41a7ac)return _0x22ae99(_0x41a7ac);const _0x1501ca=new MutationObserver(_0x535880=>{const _0x501ca1=_0x535880['filter'](_0x1d79c0=>_0x1d79c0['target']===_0x1affbf&&_0x1d79c0['addedNodes']['length']>0x0&&_0x1d79c0['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x3def00);_0x501ca1['length']&&(_0x1501ca['disconnect'](),_0x22ae99(_0x501ca1[0x0]['addedNodes'][0x0]));});_0x1501ca['observe'](_0x1affbf,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x287a43){_0x287a43['addEventListener']('apply',_0x14bb4d=>{this['fire']('apply',{'imageSrc':_0x14bb4d['detail']['cdnUrl']});}),_0x287a43['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class E extends/* #__PURE__ -- @preserve */
25
+ _0x10c0d0(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x3aa090,_0x4f99b5,_0x4017a7){super(),this['_editor']=_0x3aa090,this['_dialog']=_0x4f99b5,this['_imageElement']=_0x4017a7,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 _0x1bb6e3=this['_imageElement'],_0x5e6863=_0x1bb6e3['getAttribute']('uploadcareImageId'),_0x59bf14=_0x1bb6e3['getAttribute']('src');if(_0x5e6863)await this['_loadImageInfo'](_0x5e6863,_0x59bf14);else{if(this['_imageCache']['has'](_0x59bf14)){const _0x42d055=this['_imageCache']['get'](_0x59bf14);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x42d055['url'],this['imageDimension']=_0x42d055['dimension'],this['imageId']=_0x42d055['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x33b881}=this['_editor'],t=_0x33b881['t'],_0x3ff164=new X(_0x33b881,this['imageStatus'],this['_attributes']);_0x3ff164['bind']('status')['to'](this,'imageStatus'),_0x3ff164['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x3ff164['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x3ff164['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x3ff164,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x1c0d78,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x3ff164,'position':_0x519918['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x3ff164['focus']();},'onHide':()=>{_0x3ff164['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x5f592b=>!A(_0x5f592b,_0x3ff164['element'])}});}['_loadImageInfo'](_0x34647b,_0x280ec2){return j['getInfo'](_0x34647b,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x65a3a9=>{const {width:_0x490b19,height:_0x56307b}=_0x65a3a9['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x280ec2,this['imageDimension']={'width':_0x490b19,'height':_0x56307b},this['imageId']=_0x34647b;})['catch'](_0x2dd777=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x2dd777['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x394d7b,_0x1ea5c3){return this['_getImageAsFile'](_0x394d7b)['then'](_0xc4b164=>j['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['_editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':_0x1ea5c3['signal'],'file':_0xc4b164,'onProgress':_0x518321=>{_0x518321&&_0x518321['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x518321['value']));}}))['then'](_0x4c4fa5=>{const {width:_0x10551a,height:_0x14eebb}=_0x4c4fa5['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x4c4fa5['cdnUrl'],this['imageDimension']={'width':_0x10551a,'height':_0x14eebb},this['imageId']=_0x4c4fa5['uuid'],this['imageUploadProgress']=null;const _0x318f0e=_0x394d7b['getAttribute']('src');this['_imageCache']['set'](_0x318f0e,{'id':_0x4c4fa5['uuid'],'url':_0x4c4fa5['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0xbb126a=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0xbb126a['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x441d6e,_0x57cbbd){_0x441d6e['on']('apply',(_0x5395d3,_0x1d72ef)=>{this['_replaceImage'](_0x57cbbd,_0x1d72ef['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x441d6e['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x441d6e['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x8a3b1e,_0x829e4e,_0x494a82){const _0x345c8c=this['_editor'],{width:_0xc3f129,height:_0xe396bb}=S(_0x829e4e,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x350a39,imageSources:_0x12a652}=C(_0x829e4e,_0xc3f129);_0x345c8c['model']['change'](_0x13d420=>{if('$graveyard'===_0x8a3b1e['root']['rootName']){_0x345c8c['execute']('insertImage',{'imageType':_0x8a3b1e['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x8a3b1e['getAttributes']()),'uploadcareImageId':_0x494a82,'src':_0x350a39,'sources':_0x12a652,'width':_0xc3f129,'height':_0xe396bb}});const _0x2f71a0=_0x8a3b1e['getChildren']();_0x8a3b1e=_0x345c8c['model']['document']['selection']['getSelectedElement']();for(const _0x39c6b3 of _0x2f71a0)_0x13d420['append'](_0x13d420['cloneElement'](_0x39c6b3),_0x8a3b1e);}else _0x13d420['setSelection'](_0x8a3b1e,'on'),_0x345c8c['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x8a3b1e['getAttributes']()),'uploadcareImageId':_0x494a82,'src':_0x350a39,'sources':_0x12a652,'width':_0xc3f129,'height':_0xe396bb},_0x8a3b1e);_0x13d420['setSelection'](_0x8a3b1e,'on');});}async['_getImageAsFile'](_0x1dc3f7){const _0x816b2b=_0x9f81b5['window'],_0x10b899=_0x9f81b5['document']['location']['href'],_0x148bc2=new _0x816b2b['URL'](_0x1dc3f7['getAttribute']('src'),_0x10b899);if('data:'===_0x148bc2['protocol']){const _0x3ba8f7=_0x148bc2['href']['split'](','),_0x333e9f=_0x3ba8f7[0x0]['match'](/:(.*?);/)[0x1],_0x128577=_0x333e9f['split']('/')[0x1],_0x428122=_0x816b2b['atob'](_0x3ba8f7[_0x3ba8f7['length']-0x1]);let _0x2fcfe1=_0x428122['length'];const _0x310fca=new _0x816b2b['Uint8Array'](_0x2fcfe1);for(;_0x2fcfe1--;)_0x310fca[_0x2fcfe1]=_0x428122['charCodeAt'](_0x2fcfe1);return new _0x816b2b['File']([_0x310fca],'image.'+_0x128577,{'type':_0x333e9f});}const _0x44cc17=_0x148bc2['href']['split']('/'),_0x3ff332=_0x44cc17[_0x44cc17['length']-0x1],_0x4897e2=_0x3ff332['split']('.')[0x1];return _0x816b2b['fetch'](_0x148bc2['href'])['then'](_0x46f679=>_0x46f679['clone']()['blob']())['then'](_0x32e385=>new _0x816b2b['File']([_0x32e385],_0x3ff332,{'type':'image/'+_0x4897e2}));}}class O extends _0x75e514{['imageEditController'];static get['requires'](){return[_0x45b106];}['_isEditable'];constructor(_0x1afed3){super(_0x1afed3),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x1781e4){const _0x468274=G(_0x1781e4);return _0x4ae621=>!(!_0x4ae621||!_0x4ae621['is']('element','imageBlock')&&!_0x4ae621['is']('element','imageInline'))&&(!!_0x4ae621['hasAttribute']('uploadcareImageId')||!!_0x4ae621['hasAttribute']('src')&&_0x468274(_0x4ae621['getAttribute']('src')));}(_0x1afed3['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0xe05b3f=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0xe05b3f);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x7a7ba4=this['editor']['model']['document']['selection']['getSelectedElement']();_0x7a7ba4&&(_0x7a7ba4['is']('element','imageBlock')||_0x7a7ba4['is']('element','imageInline'))&&(this['imageEditController']=new E(this['editor'],this['editor']['plugins']['get'](_0x45b106),_0x7a7ba4),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class R extends _0x75e514{['refresh'](){const _0x21dea8=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x21dea8&&(_0x21dea8['is']('element','imageBlock')||_0x21dea8['is']('element','imageInline')));}['execute'](_0x283fc6){const _0x7f9919=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x613df9=>{_0x613df9['setAttributes'](_0x283fc6,_0x7f9919),_0x613df9['removeAttribute']('srcset',_0x7f9919),_0x613df9['removeAttribute']('sizes',_0x7f9919);});}}class m extends _0x556cf5{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[o,_0x3c2cf0,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0xee967d}=this;_0xee967d['commands']['add']('uploadcareImageEdit',new O(_0xee967d)),_0xee967d['commands']['add']('uploadcareImageReplace',new R(_0xee967d));}}class g extends _0x556cf5{['_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 _0x24d29a=this['editor'];_0x24d29a['ui']['componentFactory']['add']('uploadcareImageEdit',_0x1aa33b=>{const _0x3683e7=_0x24d29a['commands']['get']('uploadcareImageEdit'),_0x45aa32=new _0x1a580e(_0x1aa33b),t=_0x1aa33b['t'];return _0x45aa32['set']({'icon':_0x1c0d78,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x45aa32['bind']('isEnabled')['to'](_0x3683e7),_0x45aa32['bind']('isOn')['to'](_0x3683e7,'isActive'),this['listenTo'](_0x45aa32,'execute',()=>{_0x24d29a['execute']('uploadcareImageEdit'),_0x24d29a['editing']['view']['focus']();}),_0x45aa32;}),this['_initConfig']();}['_initConfig'](){const _0x106e16=_0x404917(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x106e16),this['listenTo'](this['editor'],'destroy',()=>{_0x106e16['remove']();});}}class et extends _0x556cf5{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':_0x9cc338=>0x1!=_0x9cc338}};
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':_0xe730dc=>0x1!=_0xe730dc}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x442c20=>{const {af:{dictionary:_0x28089d,getPluralForm:_0xafa47c}}={'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':_0x5c9611=>0x1!=_0x5c9611}};_0x442c20['af']||={'dictionary':{},'getPluralForm':null},_0x442c20['af']['dictionary']=Object['assign'](_0x442c20['af']['dictionary'],_0x28089d),_0x442c20['af']['getPluralForm']=_0xafa47c;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x2839b2=>{const {af:{dictionary:_0xff80e3,getPluralForm:_0x1c2869}}={'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':_0x1c36bd=>0x1!=_0x1c36bd}};_0x2839b2['af']||={'dictionary':{},'getPluralForm':null},_0x2839b2['af']['dictionary']=Object['assign'](_0x2839b2['af']['dictionary'],_0xff80e3),_0x2839b2['af']['getPluralForm']=_0x1c2869;})(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':_0x1a09d7=>0x0==_0x1a09d7?0x0:0x1==_0x1a09d7?0x1:0x2==_0x1a09d7?0x2:_0x1a09d7%0x64>=0x3&&_0x1a09d7%0x64<=0xa?0x3:_0x1a09d7%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':_0x143465=>0x0==_0x143465?0x0:0x1==_0x143465?0x1:0x2==_0x143465?0x2:_0x143465%0x64>=0x3&&_0x143465%0x64<=0xa?0x3:_0x143465%0x64>=0xb?0x4:0x5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x36f675=>{const {ar:{dictionary:_0x21c48c,getPluralForm:_0x5c39bc}}={'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':_0x5705a7=>0x0==_0x5705a7?0x0:0x1==_0x5705a7?0x1:0x2==_0x5705a7?0x2:_0x5705a7%0x64>=0x3&&_0x5705a7%0x64<=0xa?0x3:_0x5705a7%0x64>=0xb?0x4:0x5}};_0x36f675['ar']||={'dictionary':{},'getPluralForm':null},_0x36f675['ar']['dictionary']=Object['assign'](_0x36f675['ar']['dictionary'],_0x21c48c),_0x36f675['ar']['getPluralForm']=_0x5c39bc;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x34ee1c=>{const {ar:{dictionary:_0x534e9e,getPluralForm:_0x1837ef}}={'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':_0x45d57f=>0x0==_0x45d57f?0x0:0x1==_0x45d57f?0x1:0x2==_0x45d57f?0x2:_0x45d57f%0x64>=0x3&&_0x45d57f%0x64<=0xa?0x3:_0x45d57f%0x64>=0xb?0x4:0x5}};_0x34ee1c['ar']||={'dictionary':{},'getPluralForm':null},_0x34ee1c['ar']['dictionary']=Object['assign'](_0x34ee1c['ar']['dictionary'],_0x534e9e),_0x34ee1c['ar']['getPluralForm']=_0x1837ef;})(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':_0xc16843=>0x1!=_0xc16843}};
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':_0x1926b9=>0x1!=_0x1926b9}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x508a79=>{const {ast:{dictionary:_0x75acd,getPluralForm:_0x226d31}}={'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':_0x46e60f=>0x1!=_0x46e60f}};_0x508a79['ast']||={'dictionary':{},'getPluralForm':null},_0x508a79['ast']['dictionary']=Object['assign'](_0x508a79['ast']['dictionary'],_0x75acd),_0x508a79['ast']['getPluralForm']=_0x226d31;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x40b2d5=>{const {ast:{dictionary:_0x40079c,getPluralForm:_0x25f070}}={'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':_0x28a236=>0x1!=_0x28a236}};_0x40b2d5['ast']||={'dictionary':{},'getPluralForm':null},_0x40b2d5['ast']['dictionary']=Object['assign'](_0x40b2d5['ast']['dictionary'],_0x40079c),_0x40b2d5['ast']['getPluralForm']=_0x25f070;})(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':_0x323e8b=>0x1!=_0x323e8b}};
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':_0x2958b6=>0x1!=_0x2958b6}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0xf1a32c=>{const {az:{dictionary:_0xb66bf7,getPluralForm:_0x5e12b1}}={'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':_0x186024=>0x1!=_0x186024}};_0xf1a32c['az']||={'dictionary':{},'getPluralForm':null},_0xf1a32c['az']['dictionary']=Object['assign'](_0xf1a32c['az']['dictionary'],_0xb66bf7),_0xf1a32c['az']['getPluralForm']=_0x5e12b1;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x49898a=>{const {az:{dictionary:_0x157c23,getPluralForm:_0x2750dc}}={'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':_0x8b6e55=>0x1!=_0x8b6e55}};_0x49898a['az']||={'dictionary':{},'getPluralForm':null},_0x49898a['az']['dictionary']=Object['assign'](_0x49898a['az']['dictionary'],_0x157c23),_0x49898a['az']['getPluralForm']=_0x2750dc;})(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':_0x2bbf76=>_0x2bbf76%0xa==0x1&&_0x2bbf76%0x64!=0xb?0x0:_0x2bbf76%0xa>=0x2&&_0x2bbf76%0xa<=0x4&&(_0x2bbf76%0x64<0xa||_0x2bbf76%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':_0x49c322=>_0x49c322%0xa==0x1&&_0x49c322%0x64!=0xb?0x0:_0x49c322%0xa>=0x2&&_0x49c322%0xa<=0x4&&(_0x49c322%0x64<0xa||_0x49c322%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x26a612=>{const {be:{dictionary:_0x3c2d07,getPluralForm:_0x8efb1c}}={'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':_0x2ad96b=>_0x2ad96b%0xa==0x1&&_0x2ad96b%0x64!=0xb?0x0:_0x2ad96b%0xa>=0x2&&_0x2ad96b%0xa<=0x4&&(_0x2ad96b%0x64<0xa||_0x2ad96b%0x64>=0x14)?0x1:0x2}};_0x26a612['be']||={'dictionary':{},'getPluralForm':null},_0x26a612['be']['dictionary']=Object['assign'](_0x26a612['be']['dictionary'],_0x3c2d07),_0x26a612['be']['getPluralForm']=_0x8efb1c;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0xed4c16=>{const {be:{dictionary:_0x320612,getPluralForm:_0x22f07a}}={'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':_0x2f0afe=>_0x2f0afe%0xa==0x1&&_0x2f0afe%0x64!=0xb?0x0:_0x2f0afe%0xa>=0x2&&_0x2f0afe%0xa<=0x4&&(_0x2f0afe%0x64<0xa||_0x2f0afe%0x64>=0x14)?0x1:0x2}};_0xed4c16['be']||={'dictionary':{},'getPluralForm':null},_0xed4c16['be']['dictionary']=Object['assign'](_0xed4c16['be']['dictionary'],_0x320612),_0xed4c16['be']['getPluralForm']=_0x22f07a;})(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':_0x234525=>0x1!=_0x234525}};
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':_0x406bbd=>0x1!=_0x406bbd}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x584160=>{const {bg:{dictionary:_0x1a7ebc,getPluralForm:_0x4158df}}={'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':_0x2c06f7=>0x1!=_0x2c06f7}};_0x584160['bg']||={'dictionary':{},'getPluralForm':null},_0x584160['bg']['dictionary']=Object['assign'](_0x584160['bg']['dictionary'],_0x1a7ebc),_0x584160['bg']['getPluralForm']=_0x4158df;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x4901df=>{const {bg:{dictionary:_0x78f4f1,getPluralForm:_0x23a8ff}}={'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':_0x5af682=>0x1!=_0x5af682}};_0x4901df['bg']||={'dictionary':{},'getPluralForm':null},_0x4901df['bg']['dictionary']=Object['assign'](_0x4901df['bg']['dictionary'],_0x78f4f1),_0x4901df['bg']['getPluralForm']=_0x23a8ff;})(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':_0x2883b4=>0x1!=_0x2883b4}};
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':_0x1ab76a=>0x1!=_0x1ab76a}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x2afa01=>{const {bn:{dictionary:_0x4f3a65,getPluralForm:_0x5c4f68}}={'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':_0x59a92d=>0x1!=_0x59a92d}};_0x2afa01['bn']||={'dictionary':{},'getPluralForm':null},_0x2afa01['bn']['dictionary']=Object['assign'](_0x2afa01['bn']['dictionary'],_0x4f3a65),_0x2afa01['bn']['getPluralForm']=_0x5c4f68;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x48078c=>{const {bn:{dictionary:_0x22e063,getPluralForm:_0x4fec31}}={'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':_0x434bb4=>0x1!=_0x434bb4}};_0x48078c['bn']||={'dictionary':{},'getPluralForm':null},_0x48078c['bn']['dictionary']=Object['assign'](_0x48078c['bn']['dictionary'],_0x22e063),_0x48078c['bn']['getPluralForm']=_0x4fec31;})(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':_0x280620=>_0x280620%0xa==0x1&&_0x280620%0x64!=0xb?0x0:_0x280620%0xa>=0x2&&_0x280620%0xa<=0x4&&(_0x280620%0x64<0xa||_0x280620%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':_0x553b95=>_0x553b95%0xa==0x1&&_0x553b95%0x64!=0xb?0x0:_0x553b95%0xa>=0x2&&_0x553b95%0xa<=0x4&&(_0x553b95%0x64<0xa||_0x553b95%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0xc3fc1e=>{const {bs:{dictionary:_0x135643,getPluralForm:_0x113af6}}={'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':_0x2505ff=>_0x2505ff%0xa==0x1&&_0x2505ff%0x64!=0xb?0x0:_0x2505ff%0xa>=0x2&&_0x2505ff%0xa<=0x4&&(_0x2505ff%0x64<0xa||_0x2505ff%0x64>=0x14)?0x1:0x2}};_0xc3fc1e['bs']||={'dictionary':{},'getPluralForm':null},_0xc3fc1e['bs']['dictionary']=Object['assign'](_0xc3fc1e['bs']['dictionary'],_0x135643),_0xc3fc1e['bs']['getPluralForm']=_0x113af6;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x9c027=>{const {bs:{dictionary:_0x21bbc9,getPluralForm:_0x59e95c}}={'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':_0x5ced45=>_0x5ced45%0xa==0x1&&_0x5ced45%0x64!=0xb?0x0:_0x5ced45%0xa>=0x2&&_0x5ced45%0xa<=0x4&&(_0x5ced45%0x64<0xa||_0x5ced45%0x64>=0x14)?0x1:0x2}};_0x9c027['bs']||={'dictionary':{},'getPluralForm':null},_0x9c027['bs']['dictionary']=Object['assign'](_0x9c027['bs']['dictionary'],_0x21bbc9),_0x9c027['bs']['getPluralForm']=_0x59e95c;})(window['CKEDITOR_TRANSLATIONS']||={});