@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-20251124.0 → 0.0.0-nightly-20251125.1

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 _0x2b0850,Command as _0x8d5551}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x3ad99c,IconGooglePhotos as _0x4002db,IconGoogleDrive as _0x37fa75,IconFacebook as _0x3959d8,IconDropbox as _0x210101,IconUploadcareLink as _0x10d99a,IconUploadcareImageUpload as _0x5d4fd7,IconError as _0x426d82,IconUploadcareImageEdit as _0x117f88}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x3565e8,MenuBarMenuListItemButtonView as _0x3c9985,View as _0x2aea28,FocusCycler as _0x3a9837,Dialog as _0x5b01d3,DialogViewPosition as _0x2eb6ad,SpinnerView as _0x1872e0,IconView as _0x24f00d,Notification as _0x3e2df5}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x4ace88,DomEmitterMixin as _0x27e3b3,global as _0x15bdb4,getAncestors as _0x258571,ObservableMixin as _0x1f1b7b,uid as _0x2b5637,createElement as _0x3e63ff}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x1db946}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x4a03ae,info as _0x5054bf}from'@uploadcare/upload-client';import*as _0xfb2bf4 from'@uploadcare/file-uploader';var i=function(_0x41fe83){return _0x41fe83['Local']='local',_0x41fe83['URL']='url',_0x41fe83['Dropbox']='dropbox',_0x41fe83['GDrive']='gdrive',_0x41fe83['Facebook']='facebook',_0x41fe83['GPhotos']='gphotos',_0x41fe83['OneDrive']='onedrive',_0x41fe83;}({});function _(_0x183276,_0x24353a,_0x1f60ac){const t=_0x183276['t'],_0x3ffed8=_0x183276['t'];switch(_0x24353a){case i['Local']:return{'text':_0x3ffed8('Insert'===_0x1f60ac?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x3ffed8('From\x20computer')};case i['URL']:return{'text':'Insert'===_0x1f60ac?_0x3ffed8('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x3ffed8('Via\x20URL')};case i['Dropbox']:return{'text':t('Insert'===_0x1f60ac?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case i['Facebook']:return{'text':t('Insert'===_0x1f60ac?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case i['GDrive']:return{'text':t('Insert'===_0x1f60ac?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case i['GPhotos']:return{'text':t('Insert'===_0x1f60ac?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case i['OneDrive']:return{'text':t('Insert'===_0x1f60ac?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x24353a;}}class e extends _0x2b0850{['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 _0x377c6f=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x4d267e;for(const _0xebeb5f in _0x377c6f){const _0x1e2332=_0xebeb5f,_0x374c64=_0x377c6f[_0x1e2332];if('uploadcareLicenseKeyValid'==_0x374c64||'uploadcareLicenseKeyInvalid'==_0x374c64||'uploadcareLicenseKeyExpired'==_0x374c64||'uploadcareLicenseKeyDomainLimit'==_0x374c64||'uploadcareLicenseKeyNotAllowed'==_0x374c64||'uploadcareLicenseKeyEvaluationLimit'==_0x374c64||'uploadcareLicenseKeyTrialLimit'==_0x374c64||'uploadcareLicenseKeyUsageLimit'==_0x374c64){delete _0x377c6f[_0x1e2332],_0x4d267e=_0x374c64,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x4d267e&&_0x377c6f['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x4d267e&&_0x377c6f['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x4d267e&&_0x377c6f['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x4d267e&&_0x377c6f['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x4d267e&&_0x377c6f['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0x4d267e&&_0x377c6f['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0x4d267e&&_0x377c6f['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x4940be}=this,_0x632100=_0x4940be['commands']['get']('uploadcare');if(!_0x632100)return;const _0x69d838=this['_normalizeConfigSourceList'](_0x4940be['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x1ee152,_0x1d3b82)=>{const _0x2f3729=this['_getIntegrationKey'](_0x1d3b82['type']);return _0x1ee152[_0x2f3729]||(_0x1ee152[_0x2f3729]=[]),_0x1ee152[_0x2f3729]['push'](_0x1d3b82),_0x1ee152;},{});_0x4940be['plugins']['has']('ImageInsertUI')&&_0x4940be['commands']['get']('uploadcare')&&Object['entries'](_0x69d838)['forEach'](([_0x53a1ec,_0x4625be])=>{_0x4940be['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x53a1ec,'observable':()=>_0x632100,'buttonViewCreator':()=>this['_createToolbarButton'](_0x4625be),'formViewCreator':()=>this['_createDropdownButtons'](_0x4625be),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x4625be),'override':'assetManager'!==_0x53a1ec});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x9e40f7){const {locale:_0x5bd14f}=this['editor'];return _0x9e40f7['map'](_0x2a9077=>{const _0x23eeae=_(_0x5bd14f,_0x2a9077,'Insert');switch(_0x2a9077){case i['Local']:return{'icon':_0x5d4fd7,'type':i['Local'],..._0x23eeae};case i['URL']:return{'icon':_0x10d99a,'type':i['URL'],..._0x23eeae};case i['Dropbox']:return{'icon':_0x210101,'type':i['Dropbox'],..._0x23eeae};case i['Facebook']:return{'icon':_0x3959d8,'type':i['Facebook'],..._0x23eeae};case i['GDrive']:return{'icon':_0x37fa75,'type':i['GDrive'],..._0x23eeae};case i['GPhotos']:return{'icon':_0x4002db,'type':i['GPhotos'],..._0x23eeae};case i['OneDrive']:return{'icon':_0x3ad99c,'type':i['OneDrive'],..._0x23eeae};}});}['_getIntegrationKey'](_0x5e1f3e){switch(_0x5e1f3e){case i['Local']:return'upload';case i['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x371846,_0xcafe52){const _0x8ce302=this['editor'],_0x4ac651=new _0x371846(_0x8ce302['locale']),_0x20af68=_0x8ce302['commands']['get']('uploadcare');return _0x4ac651['bind']('isEnabled')['to'](_0x20af68),_0x4ac651['on']('execute',()=>{_0x20af68['execute'](_0xcafe52);}),_0x4ac651;}['_createToolbarButton'](_0x2932b4){const {locale:_0x16697a}=this['editor'],_0x5568d6=this['editor']['plugins']['get']('ImageInsertUI'),_0x10aa08=_0x2932b4[0x0],_0xc276d1=this['_createButton'](_0x3565e8,_0x10aa08['type']);return _0xc276d1['icon']=_0x10aa08['icon'],_0xc276d1['bind']('label')['to'](_0x5568d6,'isImageSelected',_0x1c8202=>_(_0x16697a,_0x10aa08['type'],_0x1c8202?'Replace':'Insert')['text']),_0xc276d1['tooltip']=!0x0,_0xc276d1;}['_createDropdownButtons'](_0x592505){const {locale:_0x38f835}=this['editor'],_0x3134dc=this['editor']['plugins']['get']('ImageInsertUI');return _0x592505['map'](_0x81dd98=>{const _0x455b90=this['_createButton'](_0x3565e8,_0x81dd98['type']);return _0x455b90['withText']=!0x0,_0x455b90['icon']=_0x81dd98['icon'],_0x455b90['bind']('label')['to'](_0x3134dc,'isImageSelected',_0x51cf95=>_(_0x38f835,_0x81dd98['type'],_0x51cf95?'Replace':'Insert')['text']),_0x455b90;});}['_createMenuBarButtons'](_0x3559a6){return _0x3559a6['map'](_0x15b572=>{const _0x2bbeb2=this['_createButton'](_0x3c9985,_0x15b572['type']);return _0x2bbeb2['icon']=_0x15b572['icon'],_0x2bbeb2['label']=_0x15b572['shortText'],_0x2bbeb2;});}}class F extends _0x2aea28{['focusTracker'];['focusCycler'];constructor(_0x257941){super(_0x257941),this['focusTracker']=new _0x4ace88(),this['focusCycler']=new _0x3a9837({'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(_0x510dc0,_0x44f346){super(_0x510dc0),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-'+_0x44f346}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function C(_0x3292c1,_0x2ddfb1){const _0x2b4cf9=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x347336=>_0x347336<=_0x2ddfb1)['map'](_0x23b42c=>_0x3292c1['replace'](/\/$/,'')+'/-/resize/'+_0x23b42c+'x/\x20'+_0x23b42c+'w');return{'imageFallbackUrl':_0x3292c1,'imageSources':[{'srcset':_0x2b4cf9['join'](',\x20'),'sizes':'(max-width:\x20'+_0x2ddfb1+'px)\x20100vw,\x20'+_0x2ddfb1+'px','type':'image/webp'}]};}function S(_0x4b868b,_0x37d94b,_0x5591ae){const _0x44c5a4=_0x4b868b['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x44c5a4?parseInt(_0x44c5a4[0x1],0xa):_0x37d94b,'height':_0x44c5a4?parseInt(_0x44c5a4[0x2],0xa):_0x5591ae};}function p(_0x23127,_0x26139b){const _0x542fbf=new(_0x27e3b3())(),_0x297981=_0x23127['plugins']['get']('ImageUtils'),_0x460a38=_0x23127['editing']['mapper']['toViewElement'](_0x26139b),_0x4256a1=_0x297981['findViewImgElement'](_0x460a38),_0x2c5c0b=_0x23127['editing']['view']['domConverter']['viewToDom'](_0x4256a1),_0x2b4aab=_0x26139b['getAttribute']('width'),_0x13d564=_0x26139b['getAttribute']('height'),_0x25c510='image-processing';_0x23127['editing']['view']['change'](_0x1ae21d=>{_0x1ae21d['addClass'](_0x25c510,_0x460a38),_0x1ae21d['setStyle']('aspect-ratio',_0x2b4aab+'/'+_0x13d564,_0x4256a1);}),_0x542fbf['listenTo'](_0x2c5c0b,'load',()=>{_0x542fbf['stopListening'](_0x2c5c0b,'load'),_0x23127['editing']['view']['change'](_0x4550cf=>{_0x4550cf['removeClass'](_0x25c510,_0x460a38),_0x4550cf['removeStyle']('aspect-ratio',_0x4256a1);});});}function z(_0x11da17){if(Array['isArray'](_0x11da17)){const _0x5e0792=_0x11da17['map'](z);return _0x6292e3=>_0x5e0792['some'](_0x16f528=>_0x16f528(_0x6292e3));}if('origin'==_0x11da17){const _0x1afa6f=_0x15bdb4['window']['location']['origin'];return _0x37d226=>new URL(_0x37d226,_0x15bdb4['document']['baseURI'])['origin']==_0x1afa6f;}return'function'==typeof _0x11da17?_0x11da17:_0x11da17 instanceof RegExp?_0x1aa2eb=>!(!_0x1aa2eb['match'](_0x11da17)&&!_0x1aa2eb['replace'](/^https?:\/\//,'')['match'](_0x11da17)):()=>!0x1;}function A(_0x40fcd2,_0x43e49){return _0x258571(_0x40fcd2['target'])['includes'](_0x43e49);}class n extends/* #__PURE__ -- @preserve */
24
- _0x1f1b7b(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x2b2446,_0x44fcea,_0x42d17b){super(),this['_editor']=_0x2b2446,this['_editing']=_0x44fcea,this['_dialog']=_0x2b2446['plugins']['get'](_0x5b01d3),this['_api']=_0x44fcea['ctxElement']['getAPI'](),this['_type']=_0x42d17b,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:_0x523b9e,model:_0x1e5c6d}=this['_editor'],_0x3ad538=_0x1e5c6d['document']['selection']['getSelectedElement'](),_0x121297=_0x3ad538&&(_0x3ad538['is']('element','imageBlock')||_0x3ad538['is']('element','imageInline'));this['_formView']=new x(_0x523b9e,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':_0x5d4fd7,'title':_(_0x523b9e,this['_type'],_0x121297?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x2eb6ad['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x2a41e0=>!A(_0x2a41e0,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x2588d5}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x1c5c44=>{const _0xbccbcf=_0x2588d5['length'];for(const _0x29a1de of _0x2588d5){const _0x454bd7=_0x29a1de===_0x2588d5[_0xbccbcf-0x1],{cdnUrl:_0x1b4cde,fileInfo:_0x1c417b}=_0x29a1de;if(!_0x1b4cde||!_0x1c417b)continue;const {width:_0x483220,height:_0x45aedb}=_0x1c417b['imageInfo'],_0x4868fb=S(_0x1b4cde,_0x483220,_0x45aedb),_0x2aa6f1=C(_0x1b4cde,_0x4868fb['width']),_0x3a99b6={'id':_0x1c417b['uuid'],'type':'image','attributes':{'imageDimension':_0x4868fb,..._0x2aa6f1}};this['_insertAsset'](_0x3a99b6,_0x454bd7,_0x1c5c44);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x487462=>{'idle'===_0x487462['detail']['status']&&!_0x487462['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===i['Local']?this['_api']['setCurrentActivity'](i['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x373d21,_0x388e7a,_0x3aa0c3){const _0x551641=this['_editor']['model']['document']['selection'],_0x10b2c7=_0x551641['getSelectedElement'](),_0x4d99c0=!(!_0x10b2c7||!_0x10b2c7['is']('element','imageInline'));_0x3aa0c3['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x373d21,_0x4d99c0),_0x388e7a||_0x3aa0c3['setSelection'](_0x551641['getLastPosition']());}['_insertImage'](_0x419c44,_0x44c4bb){const _0xac8057=this['_editor'],{imageDimension:_0x2a4be8,imageFallbackUrl:_0x4724f6,imageSources:_0x2910b8}=_0x419c44['attributes'];_0xac8057['execute']('insertImage',{'imageType':_0x44c4bb?'imageInline':null,'source':{'uploadcareImageId':_0x419c44['id'],'src':_0x4724f6,'sources':_0x2910b8,..._0x2a4be8}});}}class w extends _0x8d5551{['_editing'];['_controller']=null;static get['requires'](){return[_0x5b01d3,o];}constructor(_0x582d9f){super(_0x582d9f),this['_editing']=_0x582d9f['plugins']['get'](o);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x3d8ab4){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new n(this['editor'],this['_editing'],_0x3d8ab4);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class j{static['upload']({file:_0x3f9d06,..._0x43f357}){return _0x4a03ae(_0x3f9d06,_0x43f357);}static['getInfo'](_0x408ff6,_0x4f9132){return _0x5054bf(_0x408ff6,_0x4f9132);}}class f extends _0x2b0850{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x1db946,o];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x437b61=this['editor'];if(!!!_0x437b61['config']['get']('uploadcare'))return;_0x437b61['plugins']['get'](_0x1db946)['createUploadAdapter']=_0x4a0e3b=>new k(_0x4a0e3b,_0x437b61),_0x437b61['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x402854,{imageElement:_0x20fe10,data:_0x202dce})=>{_0x437b61['model']['change'](_0x427829=>{_0x427829['setAttribute']('uploadcareImageId',_0x202dce['uploadcareImageId'],_0x20fe10);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x2852b0,_0x3be389){this['loader']=_0x2852b0,this['editor']=_0x3be389,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x51a626=await this['loader']['file'];return j['upload']({'file':_0x51a626,'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':_0x15ea09=>{_0x15ea09&&_0x15ea09['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x15ea09['value']);}})['then'](async _0x16e26d=>{const {imageFallbackUrl:_0x191d71,imageSources:_0xdf03bd}=C(_0x16e26d['cdnUrl'],_0x16e26d['imageInfo']['width']);return{'uploadcareImageId':_0x16e26d['uuid'],'default':_0x191d71,'sources':_0xdf03bd};})['catch'](()=>{const _0x59849b=t('Cannot\x20upload\x20file:')+('\x20'+_0x51a626['name']+'.');return Promise['reject'](_0x59849b);});}['abort'](){this['controller']['abort']();}}class o extends _0x2b0850{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',f,_0x5b01d3];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['ucContextId'];get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}constructor(_0x546c48){super(_0x546c48),this['ucContextId']=_0x2b5637();}['init'](){const _0x39c09b=this['editor'];_0x39c09b['commands']['add']('uploadcare',new w(_0x39c09b));}['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 _0x16ac5c=_0x15bdb4['document']['querySelector']('input[uploadcare-file-input]');_0x16ac5c&&_0x16ac5c['remove']();}),async function(_0x5bf005){const _0x3671e4=_0x34c44a([0x68,0x67,0x50,0x36,0x38,0x70,0x71,0x63,0x37,0x4f,0x42,0x4a,0x78,0x39,0x75,0x33,0x7a,0x72,0x48,0x61,0x74,0x59,0x55,0x58,0x66,0x30,0x34,0x54,0x64,0x56,0x6b,0x4d,0x46,0x6d,0x77,0x43,0x73,0x35,0x53,0x44,0x41,0x76,0x6a,0x32,0x31,0x69,0x57,0x51,0x47,0x65,0x5a,0x4b,0x4c,0x79,0x52,0x6c,0x45,0x4e,0x6e,0x6f,0x49,0x62]),_0x17e759=0x535f8c3a,_0x5aecd1=0x5358f63a^_0x17e759,_0x517874=window[_0x34c44a([0x44,0x61,0x74,0x65])][_0x34c44a([0x6e,0x6f,0x77])](),_0x587912=_0x5bf005[_0x34c44a([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x19e0fa=new window[(_0x34c44a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x288377=>{_0x587912[_0x34c44a([0x6f,0x6e,0x63,0x65])](_0x34c44a([0x72,0x65,0x61,0x64,0x79]),_0x288377);}),_0x318e2c={[_0x34c44a([0x6b,0x74,0x79])]:_0x34c44a([0x45,0x43]),[_0x34c44a([0x75,0x73,0x65])]:_0x34c44a([0x73,0x69,0x67]),[_0x34c44a([0x63,0x72,0x76])]:_0x34c44a([0x50,0x2d,0x32,0x35,0x36]),[_0x34c44a([0x78])]:_0x34c44a([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]),[_0x34c44a([0x79])]:_0x34c44a([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]),[_0x34c44a([0x61,0x6c,0x67])]:_0x34c44a([0x45,0x53,0x32,0x35,0x36])},_0x913dbc=_0x587912[_0x34c44a([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x34c44a([0x67,0x65,0x74])](_0x34c44a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x66193e(){let _0x5e256f,_0x145af7=null,_0x329a65=null;try{if(_0x913dbc==_0x34c44a([0x47,0x50,0x4c]))return _0x34c44a([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x5e256f=_0x36a4db(),!_0x5e256f)return _0x34c44a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x5e256f[_0x34c44a([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x329a65=_0x4b9f14(_0x5e256f[_0x34c44a([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x5e256f[_0x34c44a([0x6a,0x74,0x69])])),await _0x5b2ca8()?_0x204c83()?_0x5644ae()?_0x34c44a([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x579ddd()?(_0x5e256f[_0x34c44a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x34c44a([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x145af7=_0x3e9aef(_0x34c44a([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x5e256f[_0x34c44a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x34c44a([0x74,0x72,0x69,0x61,0x6c])&&(_0x145af7=_0x3e9aef(_0x34c44a([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x5e3a38()):_0x34c44a([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x34c44a([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x34c44a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x34c44a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x5644ae(){const _0x41015a=[_0x34c44a([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x34c44a([0x74,0x72,0x69,0x61,0x6c])][_0x34c44a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5e256f[_0x34c44a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x517874/0x3e8:0xe10*_0x5aecd1;return _0x5e256f[_0x34c44a([0x65,0x78,0x70])]<_0x41015a;}function _0x204c83(){const _0x16c398=_0x5e256f[_0x34c44a([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x16c398&&(!!_0x16c398[_0x34c44a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x34c44a([0x2a]))||!!_0x16c398[_0x34c44a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x34c44a([0x55,0x50,0x4c,0x43])));}function _0x579ddd(){const _0x1de44e=_0x5e256f[_0x34c44a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1de44e||0x0==_0x1de44e[_0x34c44a([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x412b2c}=new URL(window[_0x34c44a([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x1de44e[_0x34c44a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x412b2c))return!0x0;const _0x3e7c4f=_0x412b2c[_0x34c44a([0x73,0x70,0x6c,0x69,0x74])](_0x34c44a([0x2e]));return _0x1de44e[_0x34c44a([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x524f90=>_0x524f90[_0x34c44a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x34c44a([0x2a])))[_0x34c44a([0x6d,0x61,0x70])](_0x12ad4b=>_0x12ad4b[_0x34c44a([0x73,0x70,0x6c,0x69,0x74])](_0x34c44a([0x2e])))[_0x34c44a([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2693cf=>_0x2693cf[_0x34c44a([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x3e7c4f[_0x34c44a([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x34c44a([0x6d,0x61,0x70])](_0x36563d=>Array(_0x3e7c4f[_0x34c44a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x36563d[_0x34c44a([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x34c44a([0x66,0x69,0x6c,0x6c])](_0x36563d[0x0]===_0x34c44a([0x2a])?_0x34c44a([0x2a]):'')[_0x34c44a([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x36563d))[_0x34c44a([0x73,0x6f,0x6d,0x65])](_0x3c2a9a=>_0x3e7c4f[_0x34c44a([0x65,0x76,0x65,0x72,0x79])]((_0xea4e18,_0x54330f)=>_0x3c2a9a[_0x54330f]===_0xea4e18||_0x3c2a9a[_0x54330f]===_0x34c44a([0x2a])));}function _0x5e3a38(){return _0x145af7&&_0x329a65?new window[(_0x34c44a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x598759,_0x1f1ad1)=>{_0x145af7[_0x34c44a([0x74,0x68,0x65,0x6e])](_0x598759,_0x1f1ad1),_0x329a65[_0x34c44a([0x74,0x68,0x65,0x6e])](_0x5e2377=>{_0x5e2377!=_0x34c44a([0x56,0x61,0x6c,0x69,0x64])&&_0x598759(_0x5e2377);},_0x1f1ad1);}):_0x145af7||_0x329a65||_0x34c44a([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4b9f14(_0x4660d2,_0x550504){return new window[(_0x34c44a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5d9041=>{if(_0x562c7c())return _0x5d9041(_0x34c44a([0x56,0x61,0x6c,0x69,0x64]));_0x4cf6ea(),_0x587912[_0x34c44a([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x34c44a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x13ee52=!0x1;const _0x47af0c=_0x2b5637();function _0x1cc2ce(_0x33cd20){return!!_0x33cd20&&(typeof _0x33cd20===_0x34c44a([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x33cd20===_0x34c44a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x33cd20[_0x34c44a([0x74,0x68,0x65,0x6e])]===_0x34c44a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x33cd20[_0x34c44a([0x63,0x61,0x74,0x63,0x68])]===_0x34c44a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1e3d0e(_0x13ebe5){_0x552a30(_0x13ebe5)[_0x34c44a([0x74,0x68,0x65,0x6e])](_0x11f685=>{if(!_0x11f685||_0x11f685[_0x34c44a([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x34c44a([0x6f,0x6b]))return _0x34c44a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x407c69(_0x4c957a(_0x47af0c+_0x550504))!=_0x11f685[_0x34c44a([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x34c44a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x34c44a([0x56,0x61,0x6c,0x69,0x64]);})[_0x34c44a([0x74,0x68,0x65,0x6e])](_0x16e239=>(_0x19e08a(),_0x16e239),()=>{const _0x2576bc=_0x5d821a();return null==_0x2576bc?(_0x19e08a(),_0x34c44a([0x56,0x61,0x6c,0x69,0x64])):_0x34c44a(_0x517874-_0x2576bc>(0x7753083a^_0x17e759)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x34c44a([0x74,0x68,0x65,0x6e])](_0x5d9041)[_0x34c44a([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5d9041(_0x34c44a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x163151=0x536962ba^_0x17e759;function _0x19e08a(){const _0x561215=_0x34c44a([0x6c,0x6c,0x63,0x74,0x2d])+_0x407c69(_0x4c957a(_0x4660d2)),_0x2be793=_0x170699(_0x407c69(window[_0x34c44a([0x4d,0x61,0x74,0x68])][_0x34c44a([0x63,0x65,0x69,0x6c])](_0x517874/_0x163151)));window[_0x34c44a([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x34c44a([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x561215,_0x2be793);}function _0x5d821a(){const _0x40f339=_0x34c44a([0x6c,0x6c,0x63,0x74,0x2d])+_0x407c69(_0x4c957a(_0x4660d2)),_0x1d0ea3=window[_0x34c44a([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x34c44a([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x40f339);return _0x1d0ea3?window[_0x34c44a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x170699(_0x1d0ea3),0x10)*_0x163151:null;}function _0x552a30(_0x3d2666){return new window[(_0x34c44a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x7f2094,_0x39d4ed)=>{_0x3d2666[_0x34c44a([0x74,0x68,0x65,0x6e])](_0x7f2094,_0x39d4ed),window[_0x34c44a([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x39d4ed,0x535e58fa^_0x17e759);});}}_0x587912[_0x34c44a([0x6f,0x6e])](_0x34c44a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x434087,_0x1f7776)=>{if(_0x1f7776[0x0]!=_0x4660d2)return _0x5d9041(_0x34c44a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1f7776[0x1]={..._0x1f7776[0x1],[_0x34c44a([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x47af0c};},{[_0x34c44a([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x34c44a([0x68,0x69,0x67,0x68])}),_0x587912[_0x34c44a([0x6f,0x6e])](_0x34c44a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x265515=>{_0x1cc2ce(_0x265515[_0x34c44a([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x13ee52=!0x0,_0x1e3d0e(_0x265515[_0x34c44a([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x34c44a([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x34c44a([0x6c,0x6f,0x77])}),_0x19e0fa[_0x34c44a([0x74,0x68,0x65,0x6e])](()=>{_0x13ee52||_0x5d9041(_0x34c44a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x562c7c(){return _0x587912[_0x34c44a([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x34c44a([0x76,0x69,0x65,0x77])][_0x34c44a([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x34c44a([0x61,0x75,0x74,0x6f]);}function _0x4cf6ea(){_0x587912[_0x34c44a([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x34c44a([0x76,0x69,0x65,0x77])][_0x34c44a([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x34c44a([0x61,0x75,0x74,0x6f]);}}function _0x3e9aef(_0xdebf9e){const _0x580c35=[new window[(_0x34c44a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x21de94=>setTimeout(_0x21de94,0x5356b2f6^_0x17e759)),_0x19e0fa[_0x34c44a([0x74,0x68,0x65,0x6e])](()=>new window[(_0x34c44a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1a3fcd=>{let _0x3747ab=0x0;_0x587912[_0x34c44a([0x6d,0x6f,0x64,0x65,0x6c])][_0x34c44a([0x6f,0x6e])](_0x34c44a([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5a8d07,_0x3c221c)=>{_0x3c221c[0x0][_0x34c44a([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3747ab++,_0x3747ab==(0x535f8dc2^_0x17e759)&&(_0x1a3fcd(),_0x5a8d07[_0x34c44a([0x6f,0x66,0x66])]());});}))];return window[_0x34c44a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x34c44a([0x72,0x61,0x63,0x65])](_0x580c35)[_0x34c44a([0x74,0x68,0x65,0x6e])](()=>_0xdebf9e);}async function _0x54296d(){await _0x19e0fa,_0x587912[_0x34c44a([0x6d,0x6f,0x64,0x65,0x6c])][_0x34c44a([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x1be1f2,_0x587912[_0x34c44a([0x6d,0x6f,0x64,0x65,0x6c])][_0x34c44a([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x1be1f2,_0x587912[_0x34c44a([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x34c44a([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x45ce05(_0x3fcb35){const _0x38ed2c=_0x30b836();_0x587912[_0x38ed2c]=_0x34c44a([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x3fcb35,_0x3fcb35!=_0x34c44a([0x56,0x61,0x6c,0x69,0x64])&&_0x54296d();}function _0x30b836(){const _0x4288f6=window[_0x34c44a([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x34c44a([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x34c44a([0x6e,0x6f,0x77])]())[_0x34c44a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x34c44a([0x2e]),'');let _0x111e68=_0x34c44a([0x68]);for(let _0x2ae3ec=0x0;_0x2ae3ec<_0x4288f6[_0x34c44a([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2ae3ec+=0x2){let _0x3b7ba0=window[_0x34c44a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4288f6[_0x34c44a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2ae3ec,_0x2ae3ec+0x2));_0x3b7ba0>=_0x3671e4[_0x34c44a([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x3b7ba0-=_0x3671e4[_0x34c44a([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x111e68+=_0x3671e4[_0x3b7ba0];}return _0x111e68;}function _0x36a4db(){const _0x3a8e05=_0x913dbc[_0x34c44a([0x73,0x70,0x6c,0x69,0x74])](_0x34c44a([0x2e]));if(0x3!=_0x3a8e05[_0x34c44a([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x276c45(_0x3a8e05[0x1]);function _0x276c45(_0x1c4599){const _0x3b2a43=_0x1b0fef(_0x1c4599);return _0x3b2a43&&_0xc21684()?_0x3b2a43:null;function _0xc21684(){const _0x3730d4=_0x3b2a43[_0x34c44a([0x6a,0x74,0x69])],_0x4f3f8=window[_0x34c44a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3730d4[_0x34c44a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3730d4[_0x34c44a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4e4679={..._0x3b2a43,[_0x34c44a([0x6a,0x74,0x69])]:_0x3730d4[_0x34c44a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3730d4[_0x34c44a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4e4679[_0x34c44a([0x76,0x63])],_0x4c957a(_0x4e4679)==_0x4f3f8;}}}async function _0x5b2ca8(){let _0x431dad=!0x0;try{const _0x25bd97=_0x913dbc[_0x34c44a([0x73,0x70,0x6c,0x69,0x74])](_0x34c44a([0x2e])),[_0x1c19a3,_0x3cb696,_0x2d7b6d]=_0x25bd97;return _0x2d8b88(_0x1c19a3),await _0x5a2963(_0x1c19a3,_0x3cb696,_0x2d7b6d),_0x431dad;}catch{return!0x1;}function _0x2d8b88(_0x36c596){const _0x3918ef=_0x1b0fef(_0x36c596);_0x3918ef&&_0x3918ef[_0x34c44a([0x61,0x6c,0x67])]==_0x34c44a([0x45,0x53,0x32,0x35,0x36])||(_0x431dad=!0x1);}async function _0x5a2963(_0x159d2f,_0x5c202e,_0x5ef09a){const _0x353e69=window[_0x34c44a([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x34c44a([0x66,0x72,0x6f,0x6d])](_0x242ca7(_0x5ef09a),_0xcbbe6b=>_0xcbbe6b[_0x34c44a([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x814603=new window[(_0x34c44a([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x34c44a([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x159d2f+_0x34c44a([0x2e])+_0x5c202e),_0x17bc69=window[_0x34c44a([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x34c44a([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x17bc69)return;const _0x55568a=await _0x17bc69[_0x34c44a([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x34c44a([0x6a,0x77,0x6b]),_0x318e2c,{[_0x34c44a([0x6e,0x61,0x6d,0x65])]:_0x34c44a([0x45,0x43,0x44,0x53,0x41]),[_0x34c44a([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x34c44a([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x34c44a([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x17bc69[_0x34c44a([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x34c44a([0x6e,0x61,0x6d,0x65])]:_0x34c44a([0x45,0x43,0x44,0x53,0x41]),[_0x34c44a([0x68,0x61,0x73,0x68])]:{[_0x34c44a([0x6e,0x61,0x6d,0x65])]:_0x34c44a([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x55568a,_0x353e69,_0x814603)||(_0x431dad=!0x1);}}function _0x1b0fef(_0x3e4e34){return _0x3e4e34[_0x34c44a([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x34c44a([0x65,0x79]))?JSON[_0x34c44a([0x70,0x61,0x72,0x73,0x65])](_0x242ca7(_0x3e4e34)):null;}function _0x242ca7(_0x34f679){return window[_0x34c44a([0x61,0x74,0x6f,0x62])](_0x34f679[_0x34c44a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x34c44a([0x2b]))[_0x34c44a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x34c44a([0x2f])));}function _0x4c957a(_0x5719da){let _0x251330=0x1505;function _0x9c1efd(_0x541fb6){for(let _0x1f8731=0x0;_0x1f8731<_0x541fb6[_0x34c44a([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1f8731++){const _0xd3c07d=_0x541fb6[_0x34c44a([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1f8731);_0x251330=(_0x251330<<0x5)+_0x251330+_0xd3c07d,_0x251330&=_0x251330;}}function _0x3f608a(_0x19d0ea){Array[_0x34c44a([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x19d0ea)?_0x19d0ea[_0x34c44a([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3f608a):_0x19d0ea&&typeof _0x19d0ea==_0x34c44a([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x34c44a([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x19d0ea)[_0x34c44a([0x73,0x6f,0x72,0x74])]()[_0x34c44a([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5542a5,_0x4d5913])=>{_0x9c1efd(_0x5542a5),_0x3f608a(_0x4d5913);}):_0x9c1efd(window[_0x34c44a([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x19d0ea));}return _0x3f608a(_0x5719da),_0x251330>>>0x0;}function _0x407c69(_0x2ea272){return _0x2ea272[_0x34c44a([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x34c44a([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x34c44a([0x30]));}function _0x170699(_0x465d12){return _0x465d12[_0x34c44a([0x73,0x70,0x6c,0x69,0x74])]('')[_0x34c44a([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x34c44a([0x6a,0x6f,0x69,0x6e])]('');}function _0x1be1f2(){}function _0x34c44a(_0x1cb494){return _0x1cb494['map'](_0x5933b3=>String['fromCharCode'](_0x5933b3))['join']('');}_0x45ce05(await _0x66193e());}(this);}['_initSchema'](){const _0x3cce6e=this['editor']['model']['schema'];_0x3cce6e['isRegistered']('imageBlock')&&_0x3cce6e['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x3cce6e['isRegistered']('imageInline')&&_0x3cce6e['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x31437d=this['editor'];_0x31437d['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x31437d['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x6612e2=>_0x6612e2['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x2b0560=_0x31437d['commands']['get']('replaceImageSource');_0x2b0560&&this['listenTo'](_0x2b0560,'cleanupImage',(_0x500c1f,[_0x1d45a3,_0x6d79c8])=>{_0x1d45a3['removeAttribute']('uploadcareImageId',_0x6d79c8);});}['_initConfig'](){const _0x187f4d=this['editor']['config']['get']('uploadcare.uploader')||{},_0xcd8d2d=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x3e63ff(_0x15bdb4['document'],'uc-config',{..._0x187f4d,'pubkey':_0xcd8d2d,'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']=_0x5dd552=>{if('closeMax'==_0x5dd552)return'#uc-icon-arrow-down';},_0x15bdb4['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x3e63ff(_0x15bdb4['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),_0x15bdb4['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0xa7a283=this['editor']['commands']['get']('insertImage');_0xa7a283&&this['listenTo'](_0xa7a283,'execute',()=>{const _0x1d7766=this['editor']['model']['document']['selection']['getSelectedElement']();_0x1d7766&&_0x1d7766['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x1d7766);});});const _0x4dd11c=this['editor']['commands']['get']('uploadcareImageReplace');_0x4dd11c&&this['listenTo'](_0x4dd11c,'execute',()=>{const _0x171a6d=this['editor']['model']['document']['selection']['getSelectedElement']();_0x171a6d&&_0x171a6d['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x171a6d);});});}}class tt extends _0x2b0850{static get['requires'](){return[o,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x566a8a){super(_0x566a8a),_0x566a8a['config']['define']('uploadcare.uploader.sourceList',[i['Local'],i['URL']]),_0xfb2bf4['defineComponents'](_0xfb2bf4),this['_defineLocale']();}['_defineLocale'](){const _0x11705f=this['editor']['config']['get']('uploadcare.locale'),_0x3b218a=this['editor']['locale']['contentLanguage'];_0x11705f&&_0xfb2bf4['defineLocale'](_0x3b218a,_0x11705f);}}class ii extends _0x2aea28{constructor(_0xb6b482){super(_0xb6b482);const t=_0xb6b482['t'],_0x39f6a4=this['bindTemplate'],_0x5d90fd=new _0x1872e0();_0x5d90fd['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':[_0x5d90fd,{'text':_0x39f6a4['to']('imageUploadProgress',_0x105549=>t('Loading\x20image...')+'\x20('+(_0x105549||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 _0x2aea28{constructor(_0x4640a6){super(_0x4640a6);const t=_0x4640a6['t'];this['set']('errorType',null);const _0x4cd9c2=new _0x3565e8(_0x4640a6);_0x4cd9c2['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x4cd9c2['withText']=!0x0,_0x4cd9c2['class']='ck-button-action',_0x4cd9c2['on']('execute',()=>{this['fire']('retry');}),_0x4cd9c2['bind']('isVisible')['to'](this,'errorType',_0x5ae1a2=>'NotFound'!==_0x5ae1a2);const _0x4427de=new _0x24f00d();_0x4427de['content']=_0x426d82,_0x4427de['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x459f67=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':[_0x4427de,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x459f67['to']('errorType',_0x1c3205=>t('NotFound'!==_0x1c3205?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x4cd9c2]},{'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 _0x2aea28{constructor(_0xf9135,_0x135973){super(_0xf9135);const _0x22c9a5=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x135973,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x22c9a5['to']('imageSrc')}});}}class X extends F{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x37f400,_0x5d8f1c,_0x3b5df1){super(_0x37f400),this['_items']=this['createCollection'](),this['_loadingView']=new ii(_0x37f400),this['_errorView']=new ti(_0x37f400),this['_editingView']=new ei(_0x37f400,_0x3b5df1),this['_focusableView']=new _0x2aea28(_0x37f400),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x5d8f1c),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'],_0x127661=>{this['_addUploadcareImageEditorListeners'](_0x127661);});}),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'](_0xf937ea,_0x160089){const _0x585c8f='uc-cloud-image-editor',_0x4a3f56=_0xf937ea['querySelector'](_0x585c8f);if(_0x4a3f56)return _0x160089(_0x4a3f56);const _0x569957=new MutationObserver(_0x2fa27e=>{const _0x4adad4=_0x2fa27e['filter'](_0x10c5c3=>_0x10c5c3['target']===_0xf937ea&&_0x10c5c3['addedNodes']['length']>0x0&&_0x10c5c3['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x585c8f);_0x4adad4['length']&&(_0x569957['disconnect'](),_0x160089(_0x4adad4[0x0]['addedNodes'][0x0]));});_0x569957['observe'](_0xf937ea,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x1a5e12){_0x1a5e12['addEventListener']('apply',_0x4c635d=>{this['fire']('apply',{'imageSrc':_0x4c635d['detail']['cdnUrl']});}),_0x1a5e12['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class N extends/* #__PURE__ -- @preserve */
25
- _0x1f1b7b(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x1736a2,_0x49385f,_0x241b2a){super(),this['_editor']=_0x1736a2,this['_dialog']=_0x49385f,this['_imageElement']=_0x241b2a,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 _0x4e93ec=this['_imageElement'],_0x32f4b8=_0x4e93ec['getAttribute']('uploadcareImageId'),_0xcd3e1e=_0x4e93ec['getAttribute']('src');if(_0x32f4b8)await this['_loadImageInfo'](_0x32f4b8,_0xcd3e1e);else{if(this['_imageCache']['has'](_0xcd3e1e)){const _0x5668b0=this['_imageCache']['get'](_0xcd3e1e);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x5668b0['url'],this['imageDimension']=_0x5668b0['dimension'],this['imageId']=_0x5668b0['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x1ae45c}=this['_editor'],t=_0x1ae45c['t'],_0x890c41=new X(_0x1ae45c,this['imageStatus'],this['_attributes']);_0x890c41['bind']('status')['to'](this,'imageStatus'),_0x890c41['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x890c41['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x890c41['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x890c41,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x117f88,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x890c41,'position':_0x2eb6ad['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x890c41['focus']();},'onHide':()=>{_0x890c41['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x36ee20=>!A(_0x36ee20,_0x890c41['element'])}});}['_loadImageInfo'](_0x3e9d72,_0x43ea86){return j['getInfo'](_0x3e9d72,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x217726=>{const {width:_0x1c2c7d,height:_0x24ab51}=_0x217726['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x43ea86,this['imageDimension']={'width':_0x1c2c7d,'height':_0x24ab51},this['imageId']=_0x3e9d72;})['catch'](_0x3ed38e=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x3ed38e['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x403426,_0x549bfc){return this['_getImageAsFile'](_0x403426)['then'](_0x43e853=>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':_0x549bfc['signal'],'file':_0x43e853,'onProgress':_0x1f5cb6=>{_0x1f5cb6&&_0x1f5cb6['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x1f5cb6['value']));}}))['then'](_0x5bb75f=>{const {width:_0x3658c6,height:_0x2df272}=_0x5bb75f['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x5bb75f['cdnUrl'],this['imageDimension']={'width':_0x3658c6,'height':_0x2df272},this['imageId']=_0x5bb75f['uuid'],this['imageUploadProgress']=null;const _0x267516=_0x403426['getAttribute']('src');this['_imageCache']['set'](_0x267516,{'id':_0x5bb75f['uuid'],'url':_0x5bb75f['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x2c626d=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x2c626d['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x1a2951,_0x8bb843){_0x1a2951['on']('apply',(_0x683c96,_0x5d3958)=>{this['_replaceImage'](_0x8bb843,_0x5d3958['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x1a2951['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x1a2951['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x424c5d,_0x4dedc2,_0x4ca92f){const _0x31160f=this['_editor'],{width:_0x567737,height:_0x590108}=S(_0x4dedc2,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x3a7b71,imageSources:_0x55ba55}=C(_0x4dedc2,_0x567737);_0x31160f['model']['change'](_0x1dfea6=>{if('$graveyard'===_0x424c5d['root']['rootName']){_0x31160f['execute']('insertImage',{'imageType':_0x424c5d['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x424c5d['getAttributes']()),'uploadcareImageId':_0x4ca92f,'src':_0x3a7b71,'sources':_0x55ba55,'width':_0x567737,'height':_0x590108}});const _0x438eb7=_0x424c5d['getChildren']();_0x424c5d=_0x31160f['model']['document']['selection']['getSelectedElement']();for(const _0x5321ed of _0x438eb7)_0x1dfea6['append'](_0x1dfea6['cloneElement'](_0x5321ed),_0x424c5d);}else _0x1dfea6['setSelection'](_0x424c5d,'on'),_0x31160f['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x424c5d['getAttributes']()),'uploadcareImageId':_0x4ca92f,'src':_0x3a7b71,'sources':_0x55ba55,'width':_0x567737,'height':_0x590108},_0x424c5d);_0x1dfea6['setSelection'](_0x424c5d,'on');});}async['_getImageAsFile'](_0x5be1cc){const _0x1ca87d=_0x15bdb4['window'],_0x49558e=_0x15bdb4['document']['location']['href'],_0xed7c1c=new _0x1ca87d['URL'](_0x5be1cc['getAttribute']('src'),_0x49558e);if('data:'===_0xed7c1c['protocol']){const _0xefe89c=_0xed7c1c['href']['split'](','),_0x141790=_0xefe89c[0x0]['match'](/:(.*?);/)[0x1],_0x22b1bc=_0x141790['split']('/')[0x1],_0x12f925=_0x1ca87d['atob'](_0xefe89c[_0xefe89c['length']-0x1]);let _0xebb210=_0x12f925['length'];const _0x79c618=new _0x1ca87d['Uint8Array'](_0xebb210);for(;_0xebb210--;)_0x79c618[_0xebb210]=_0x12f925['charCodeAt'](_0xebb210);return new _0x1ca87d['File']([_0x79c618],'image.'+_0x22b1bc,{'type':_0x141790});}const _0x572449=_0xed7c1c['href']['split']('/'),_0x5bbb7f=_0x572449[_0x572449['length']-0x1],_0xd7798=_0x5bbb7f['split']('.')[0x1];return _0x1ca87d['fetch'](_0xed7c1c['href'])['then'](_0x44596e=>_0x44596e['clone']()['blob']())['then'](_0x5c530a=>new _0x1ca87d['File']([_0x5c530a],_0x5bbb7f,{'type':'image/'+_0xd7798}));}}class Q extends _0x8d5551{['imageEditController'];static get['requires'](){return[_0x5b01d3];}['_isEditable'];constructor(_0x34b7c3){super(_0x34b7c3),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x434f36){const _0x1ed0d1=z(_0x434f36);return _0x521633=>!(!_0x521633||!_0x521633['is']('element','imageBlock')&&!_0x521633['is']('element','imageInline'))&&(!!_0x521633['hasAttribute']('uploadcareImageId')||!!_0x521633['hasAttribute']('src')&&_0x1ed0d1(_0x521633['getAttribute']('src')));}(_0x34b7c3['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0xb1ef51=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0xb1ef51);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x170a3e=this['editor']['model']['document']['selection']['getSelectedElement']();_0x170a3e&&(_0x170a3e['is']('element','imageBlock')||_0x170a3e['is']('element','imageInline'))&&(this['imageEditController']=new N(this['editor'],this['editor']['plugins']['get'](_0x5b01d3),_0x170a3e),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class V extends _0x8d5551{['refresh'](){const _0x5adaaa=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x5adaaa&&(_0x5adaaa['is']('element','imageBlock')||_0x5adaaa['is']('element','imageInline')));}['execute'](_0x31bbd8){const _0x2a10bd=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x1bea21=>{_0x1bea21['setAttributes'](_0x31bbd8,_0x2a10bd),_0x1bea21['removeAttribute']('srcset',_0x2a10bd),_0x1bea21['removeAttribute']('sizes',_0x2a10bd);});}}class m extends _0x2b0850{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[o,_0x3e2df5,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x16069c}=this;_0x16069c['commands']['add']('uploadcareImageEdit',new Q(_0x16069c)),_0x16069c['commands']['add']('uploadcareImageReplace',new V(_0x16069c));}}class g extends _0x2b0850{['_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 _0x4d52be=this['editor'];_0x4d52be['ui']['componentFactory']['add']('uploadcareImageEdit',_0x3ee611=>{const _0x5fe28a=_0x4d52be['commands']['get']('uploadcareImageEdit'),_0x282266=new _0x3565e8(_0x3ee611),t=_0x3ee611['t'];return _0x282266['set']({'icon':_0x117f88,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x282266['bind']('isEnabled')['to'](_0x5fe28a),_0x282266['bind']('isOn')['to'](_0x5fe28a,'isActive'),this['listenTo'](_0x282266,'execute',()=>{_0x4d52be['execute']('uploadcareImageEdit'),_0x4d52be['editing']['view']['focus']();}),_0x282266;}),this['_initConfig']();}['_initConfig'](){const _0xa85960=_0x3e63ff(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0xa85960),this['listenTo'](this['editor'],'destroy',()=>{_0xa85960['remove']();});}}class et extends _0x2b0850{static get['pluginName'](){return'UploadcareImageEdit';}static get['requires'](){return[m,g];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{tt as Uploadcare,w as UploadcareCommand,o as UploadcareEditing,et as UploadcareImageEdit,Q as UploadcareImageEditCommand,m as UploadcareImageEditEditing,g as UploadcareImageEditUI,e as UploadcareUI,f as UploadcareUploadAdapter};
23
+ import{Plugin as _0x40a027,Command as _0x1805a0}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x3f17cc,IconGooglePhotos as _0x320109,IconGoogleDrive as _0x1a6fa3,IconFacebook as _0x29c687,IconDropbox as _0x539a71,IconUploadcareLink as _0x349338,IconUploadcareImageUpload as _0x2a2a2e,IconError as _0x3f8c3e,IconUploadcareImageEdit as _0x21b4d9}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x23d61e,MenuBarMenuListItemButtonView as _0x48c943,View as _0x255f97,FocusCycler as _0x3bb36c,Dialog as _0x54518c,DialogViewPosition as _0x2a21c1,SpinnerView as _0xae7dea,IconView as _0x15cd82,Notification as _0x450039}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x11b6cc,DomEmitterMixin as _0x9b0dcd,global as _0x49a30f,getAncestors as _0x587559,ObservableMixin as _0x2308c3,uid as _0x5c4a34,createElement as _0x43e691}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x179ffb}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x70a705,info as _0x5a4252}from'@uploadcare/upload-client';import*as _0x2a9564 from'@uploadcare/file-uploader';var i=function(_0x2bfd19){return _0x2bfd19['Local']='local',_0x2bfd19['URL']='url',_0x2bfd19['Dropbox']='dropbox',_0x2bfd19['GDrive']='gdrive',_0x2bfd19['Facebook']='facebook',_0x2bfd19['GPhotos']='gphotos',_0x2bfd19['OneDrive']='onedrive',_0x2bfd19;}({});function _(_0x38b4b5,_0x175bfc,_0x581fab){const t=_0x38b4b5['t'],_0x34b641=_0x38b4b5['t'];switch(_0x175bfc){case i['Local']:return{'text':_0x34b641('Insert'===_0x581fab?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x34b641('From\x20computer')};case i['URL']:return{'text':'Insert'===_0x581fab?_0x34b641('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x34b641('Via\x20URL')};case i['Dropbox']:return{'text':t('Insert'===_0x581fab?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case i['Facebook']:return{'text':t('Insert'===_0x581fab?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case i['GDrive']:return{'text':t('Insert'===_0x581fab?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case i['GPhotos']:return{'text':t('Insert'===_0x581fab?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case i['OneDrive']:return{'text':t('Insert'===_0x581fab?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x175bfc;}}class e extends _0x40a027{['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 _0x6af407=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x1ce458;for(const _0x317c4 in _0x6af407){const _0x413166=_0x317c4,_0x299ca8=_0x6af407[_0x413166];if('uploadcareLicenseKeyValid'==_0x299ca8||'uploadcareLicenseKeyInvalid'==_0x299ca8||'uploadcareLicenseKeyExpired'==_0x299ca8||'uploadcareLicenseKeyDomainLimit'==_0x299ca8||'uploadcareLicenseKeyNotAllowed'==_0x299ca8||'uploadcareLicenseKeyEvaluationLimit'==_0x299ca8||'uploadcareLicenseKeyTrialLimit'==_0x299ca8||'uploadcareLicenseKeyUsageLimit'==_0x299ca8){delete _0x6af407[_0x413166],_0x1ce458=_0x299ca8,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x1ce458&&_0x6af407['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x1ce458&&_0x6af407['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x1ce458&&_0x6af407['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x1ce458&&_0x6af407['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x1ce458&&_0x6af407['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0x1ce458&&_0x6af407['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0x1ce458&&_0x6af407['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x213868}=this,_0x2d341c=_0x213868['commands']['get']('uploadcare');if(!_0x2d341c)return;const _0x594a34=this['_normalizeConfigSourceList'](_0x213868['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x4cfccd,_0x29712f)=>{const _0x697a54=this['_getIntegrationKey'](_0x29712f['type']);return _0x4cfccd[_0x697a54]||(_0x4cfccd[_0x697a54]=[]),_0x4cfccd[_0x697a54]['push'](_0x29712f),_0x4cfccd;},{});_0x213868['plugins']['has']('ImageInsertUI')&&_0x213868['commands']['get']('uploadcare')&&Object['entries'](_0x594a34)['forEach'](([_0x55ea18,_0x1d7f30])=>{_0x213868['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x55ea18,'observable':()=>_0x2d341c,'buttonViewCreator':()=>this['_createToolbarButton'](_0x1d7f30),'formViewCreator':()=>this['_createDropdownButtons'](_0x1d7f30),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x1d7f30),'override':'assetManager'!==_0x55ea18});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x493d6f){const {locale:_0x5e9a41}=this['editor'];return _0x493d6f['map'](_0x9bafb3=>{const _0x5e187c=_(_0x5e9a41,_0x9bafb3,'Insert');switch(_0x9bafb3){case i['Local']:return{'icon':_0x2a2a2e,'type':i['Local'],..._0x5e187c};case i['URL']:return{'icon':_0x349338,'type':i['URL'],..._0x5e187c};case i['Dropbox']:return{'icon':_0x539a71,'type':i['Dropbox'],..._0x5e187c};case i['Facebook']:return{'icon':_0x29c687,'type':i['Facebook'],..._0x5e187c};case i['GDrive']:return{'icon':_0x1a6fa3,'type':i['GDrive'],..._0x5e187c};case i['GPhotos']:return{'icon':_0x320109,'type':i['GPhotos'],..._0x5e187c};case i['OneDrive']:return{'icon':_0x3f17cc,'type':i['OneDrive'],..._0x5e187c};}});}['_getIntegrationKey'](_0xe70d4a){switch(_0xe70d4a){case i['Local']:return'upload';case i['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x54377d,_0x3454d3){const _0x5814f3=this['editor'],_0x3da80a=new _0x54377d(_0x5814f3['locale']),_0x2b93cf=_0x5814f3['commands']['get']('uploadcare');return _0x3da80a['bind']('isEnabled')['to'](_0x2b93cf),_0x3da80a['on']('execute',()=>{_0x2b93cf['execute'](_0x3454d3);}),_0x3da80a;}['_createToolbarButton'](_0x302380){const {locale:_0x3de68c}=this['editor'],_0x10d09e=this['editor']['plugins']['get']('ImageInsertUI'),_0x405b29=_0x302380[0x0],_0x600cfb=this['_createButton'](_0x23d61e,_0x405b29['type']);return _0x600cfb['icon']=_0x405b29['icon'],_0x600cfb['bind']('label')['to'](_0x10d09e,'isImageSelected',_0x1b6f23=>_(_0x3de68c,_0x405b29['type'],_0x1b6f23?'Replace':'Insert')['text']),_0x600cfb['tooltip']=!0x0,_0x600cfb;}['_createDropdownButtons'](_0xdcb275){const {locale:_0x166e23}=this['editor'],_0x24447a=this['editor']['plugins']['get']('ImageInsertUI');return _0xdcb275['map'](_0x50e789=>{const _0x19aa45=this['_createButton'](_0x23d61e,_0x50e789['type']);return _0x19aa45['withText']=!0x0,_0x19aa45['icon']=_0x50e789['icon'],_0x19aa45['bind']('label')['to'](_0x24447a,'isImageSelected',_0x560af4=>_(_0x166e23,_0x50e789['type'],_0x560af4?'Replace':'Insert')['text']),_0x19aa45;});}['_createMenuBarButtons'](_0x5b5df7){return _0x5b5df7['map'](_0x2880c5=>{const _0xb00ce=this['_createButton'](_0x48c943,_0x2880c5['type']);return _0xb00ce['icon']=_0x2880c5['icon'],_0xb00ce['label']=_0x2880c5['shortText'],_0xb00ce;});}}class F extends _0x255f97{['focusTracker'];['focusCycler'];constructor(_0x153632){super(_0x153632),this['focusTracker']=new _0x11b6cc(),this['focusCycler']=new _0x3bb36c({'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(_0x54dfdf,_0x1281f6){super(_0x54dfdf),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-'+_0x1281f6}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function C(_0x40d633,_0x4ec438){const _0x471441=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x4db9e8=>_0x4db9e8<=_0x4ec438)['map'](_0xc34d08=>_0x40d633['replace'](/\/$/,'')+'/-/resize/'+_0xc34d08+'x/\x20'+_0xc34d08+'w');return{'imageFallbackUrl':_0x40d633,'imageSources':[{'srcset':_0x471441['join'](',\x20'),'sizes':'(max-width:\x20'+_0x4ec438+'px)\x20100vw,\x20'+_0x4ec438+'px','type':'image/webp'}]};}function S(_0x29aa05,_0x46b405,_0x50418a){const _0xb3a26=_0x29aa05['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0xb3a26?parseInt(_0xb3a26[0x1],0xa):_0x46b405,'height':_0xb3a26?parseInt(_0xb3a26[0x2],0xa):_0x50418a};}function p(_0x442d44,_0x258412){const _0x46ad31=new(_0x9b0dcd())(),_0x433a8e=_0x442d44['plugins']['get']('ImageUtils'),_0x32c4b6=_0x442d44['editing']['mapper']['toViewElement'](_0x258412),_0x5dd69a=_0x433a8e['findViewImgElement'](_0x32c4b6),_0x2b5dc1=_0x442d44['editing']['view']['domConverter']['viewToDom'](_0x5dd69a),_0x148765=_0x258412['getAttribute']('width'),_0x3b1e09=_0x258412['getAttribute']('height'),_0x4609ae='image-processing';_0x442d44['editing']['view']['change'](_0x477bfc=>{_0x477bfc['addClass'](_0x4609ae,_0x32c4b6),_0x477bfc['setStyle']('aspect-ratio',_0x148765+'/'+_0x3b1e09,_0x5dd69a);}),_0x46ad31['listenTo'](_0x2b5dc1,'load',()=>{_0x46ad31['stopListening'](_0x2b5dc1,'load'),_0x442d44['editing']['view']['change'](_0x164058=>{_0x164058['removeClass'](_0x4609ae,_0x32c4b6),_0x164058['removeStyle']('aspect-ratio',_0x5dd69a);});});}function z(_0xa87afd){if(Array['isArray'](_0xa87afd)){const _0x258767=_0xa87afd['map'](z);return _0x335b48=>_0x258767['some'](_0x345886=>_0x345886(_0x335b48));}if('origin'==_0xa87afd){const _0x31ae9c=_0x49a30f['window']['location']['origin'];return _0x36e818=>new URL(_0x36e818,_0x49a30f['document']['baseURI'])['origin']==_0x31ae9c;}return'function'==typeof _0xa87afd?_0xa87afd:_0xa87afd instanceof RegExp?_0x42ca92=>!(!_0x42ca92['match'](_0xa87afd)&&!_0x42ca92['replace'](/^https?:\/\//,'')['match'](_0xa87afd)):()=>!0x1;}function A(_0x511c77,_0x1dca99){return _0x587559(_0x511c77['target'])['includes'](_0x1dca99);}class n extends/* #__PURE__ -- @preserve */
24
+ _0x2308c3(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x569821,_0x2e283b,_0x3fc729){super(),this['_editor']=_0x569821,this['_editing']=_0x2e283b,this['_dialog']=_0x569821['plugins']['get'](_0x54518c),this['_api']=_0x2e283b['ctxElement']['getAPI'](),this['_type']=_0x3fc729,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:_0x1e8c1a,model:_0x43e4de}=this['_editor'],_0x3189a0=_0x43e4de['document']['selection']['getSelectedElement'](),_0x477803=_0x3189a0&&(_0x3189a0['is']('element','imageBlock')||_0x3189a0['is']('element','imageInline'));this['_formView']=new x(_0x1e8c1a,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':_0x2a2a2e,'title':_(_0x1e8c1a,this['_type'],_0x477803?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x2a21c1['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x58ec81=>!A(_0x58ec81,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x46ecfb}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x3066bf=>{const _0x26ff8d=_0x46ecfb['length'];for(const _0x4b8a7a of _0x46ecfb){const _0x53b5e2=_0x4b8a7a===_0x46ecfb[_0x26ff8d-0x1],{cdnUrl:_0x3932b6,fileInfo:_0x4baa1a}=_0x4b8a7a;if(!_0x3932b6||!_0x4baa1a)continue;const {width:_0x4a3a31,height:_0x2c46f9}=_0x4baa1a['imageInfo'],_0x567dbc=S(_0x3932b6,_0x4a3a31,_0x2c46f9),_0x311614=C(_0x3932b6,_0x567dbc['width']),_0x1a6311={'id':_0x4baa1a['uuid'],'type':'image','attributes':{'imageDimension':_0x567dbc,..._0x311614}};this['_insertAsset'](_0x1a6311,_0x53b5e2,_0x3066bf);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x6ad723=>{'idle'===_0x6ad723['detail']['status']&&!_0x6ad723['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===i['Local']?this['_api']['setCurrentActivity'](i['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x368e1d,_0x5d6159,_0x26bd3e){const _0x44fea1=this['_editor']['model']['document']['selection'],_0x2264c5=_0x44fea1['getSelectedElement'](),_0x163e08=!(!_0x2264c5||!_0x2264c5['is']('element','imageInline'));_0x26bd3e['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x368e1d,_0x163e08),_0x5d6159||_0x26bd3e['setSelection'](_0x44fea1['getLastPosition']());}['_insertImage'](_0x4a29ff,_0x3ceae7){const _0x34b85b=this['_editor'],{imageDimension:_0x59ad02,imageFallbackUrl:_0x28f6be,imageSources:_0x1d7d92}=_0x4a29ff['attributes'];_0x34b85b['execute']('insertImage',{'imageType':_0x3ceae7?'imageInline':null,'source':{'uploadcareImageId':_0x4a29ff['id'],'src':_0x28f6be,'sources':_0x1d7d92,..._0x59ad02}});}}class w extends _0x1805a0{['_editing'];['_controller']=null;static get['requires'](){return[_0x54518c,o];}constructor(_0x3134c7){super(_0x3134c7),this['_editing']=_0x3134c7['plugins']['get'](o);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x2d1e41){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new n(this['editor'],this['_editing'],_0x2d1e41);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class j{static['upload']({file:_0x4e6aa6,..._0x41f03d}){return _0x70a705(_0x4e6aa6,_0x41f03d);}static['getInfo'](_0x280456,_0x466858){return _0x5a4252(_0x280456,_0x466858);}}class f extends _0x40a027{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x179ffb,o];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x28fbfb=this['editor'];if(!!!_0x28fbfb['config']['get']('uploadcare'))return;_0x28fbfb['plugins']['get'](_0x179ffb)['createUploadAdapter']=_0x32887a=>new k(_0x32887a,_0x28fbfb),_0x28fbfb['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x2083ea,{imageElement:_0x4e27e7,data:_0x27d5c3})=>{_0x28fbfb['model']['change'](_0x125d64=>{_0x125d64['setAttribute']('uploadcareImageId',_0x27d5c3['uploadcareImageId'],_0x4e27e7);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x1c66d2,_0x10d063){this['loader']=_0x1c66d2,this['editor']=_0x10d063,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x126376=await this['loader']['file'];return j['upload']({'file':_0x126376,'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':_0x29af01=>{_0x29af01&&_0x29af01['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x29af01['value']);}})['then'](async _0x48c9eb=>{const {imageFallbackUrl:_0x1f5c0b,imageSources:_0x30046c}=C(_0x48c9eb['cdnUrl'],_0x48c9eb['imageInfo']['width']);return{'uploadcareImageId':_0x48c9eb['uuid'],'default':_0x1f5c0b,'sources':_0x30046c};})['catch'](()=>{const _0x29c68b=t('Cannot\x20upload\x20file:')+('\x20'+_0x126376['name']+'.');return Promise['reject'](_0x29c68b);});}['abort'](){this['controller']['abort']();}}class o extends _0x40a027{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',f,_0x54518c];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['ucContextId'];get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}constructor(_0x3715ce){super(_0x3715ce),this['ucContextId']=_0x5c4a34();}['init'](){const _0x777cd5=this['editor'];_0x777cd5['commands']['add']('uploadcare',new w(_0x777cd5));}['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 _0x261e4f=_0x49a30f['document']['querySelector']('input[uploadcare-file-input]');_0x261e4f&&_0x261e4f['remove']();}),async function(_0x4fc68f){const _0x44bcae=_0x34b41b([0x68,0x67,0x50,0x36,0x38,0x70,0x71,0x63,0x37,0x4f,0x42,0x4a,0x78,0x39,0x75,0x33,0x7a,0x72,0x48,0x61,0x74,0x59,0x55,0x58,0x66,0x30,0x34,0x54,0x64,0x56,0x6b,0x4d,0x46,0x6d,0x77,0x43,0x73,0x35,0x53,0x44,0x41,0x76,0x6a,0x32,0x31,0x69,0x57,0x51,0x47,0x65,0x5a,0x4b,0x4c,0x79,0x52,0x6c,0x45,0x4e,0x6e,0x6f,0x49,0x62]),_0x4202e6=0x535f8c3a,_0x1bda0a=0x5358f622^_0x4202e6,_0x38d7f4=window[_0x34b41b([0x44,0x61,0x74,0x65])][_0x34b41b([0x6e,0x6f,0x77])](),_0x220238=_0x4fc68f[_0x34b41b([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x9c344e=new window[(_0x34b41b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1ae91e=>{_0x220238[_0x34b41b([0x6f,0x6e,0x63,0x65])](_0x34b41b([0x72,0x65,0x61,0x64,0x79]),_0x1ae91e);}),_0x3cc361={[_0x34b41b([0x6b,0x74,0x79])]:_0x34b41b([0x45,0x43]),[_0x34b41b([0x75,0x73,0x65])]:_0x34b41b([0x73,0x69,0x67]),[_0x34b41b([0x63,0x72,0x76])]:_0x34b41b([0x50,0x2d,0x32,0x35,0x36]),[_0x34b41b([0x78])]:_0x34b41b([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]),[_0x34b41b([0x79])]:_0x34b41b([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]),[_0x34b41b([0x61,0x6c,0x67])]:_0x34b41b([0x45,0x53,0x32,0x35,0x36])},_0x25ac24=_0x220238[_0x34b41b([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x34b41b([0x67,0x65,0x74])](_0x34b41b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0xfd71b7(){let _0xcbb465,_0x1597f9=null,_0x412054=null;try{if(_0x25ac24==_0x34b41b([0x47,0x50,0x4c]))return _0x34b41b([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0xcbb465=_0x18321a(),!_0xcbb465)return _0x34b41b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0xcbb465[_0x34b41b([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x412054=_0x2a1505(_0xcbb465[_0x34b41b([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0xcbb465[_0x34b41b([0x6a,0x74,0x69])])),await _0x11ea5f()?_0x32f2e0()?_0x51c01f()?_0x34b41b([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x253a5d()?(_0xcbb465[_0x34b41b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x34b41b([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1597f9=_0x4d4af2(_0x34b41b([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0xcbb465[_0x34b41b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x34b41b([0x74,0x72,0x69,0x61,0x6c])&&(_0x1597f9=_0x4d4af2(_0x34b41b([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x11d836()):_0x34b41b([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x34b41b([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x34b41b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x34b41b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x51c01f(){const _0x532b6b=[_0x34b41b([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x34b41b([0x74,0x72,0x69,0x61,0x6c])][_0x34b41b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xcbb465[_0x34b41b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x38d7f4/0x3e8:0xe10*_0x1bda0a;return _0xcbb465[_0x34b41b([0x65,0x78,0x70])]<_0x532b6b;}function _0x32f2e0(){const _0x5ad681=_0xcbb465[_0x34b41b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x5ad681&&(!!_0x5ad681[_0x34b41b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x34b41b([0x2a]))||!!_0x5ad681[_0x34b41b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x34b41b([0x55,0x50,0x4c,0x43])));}function _0x253a5d(){const _0x4f78c3=_0xcbb465[_0x34b41b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x4f78c3||0x0==_0x4f78c3[_0x34b41b([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1ef81c}=new URL(window[_0x34b41b([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x4f78c3[_0x34b41b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1ef81c))return!0x0;const _0xe50568=_0x1ef81c[_0x34b41b([0x73,0x70,0x6c,0x69,0x74])](_0x34b41b([0x2e]));return _0x4f78c3[_0x34b41b([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x554c09=>_0x554c09[_0x34b41b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x34b41b([0x2a])))[_0x34b41b([0x6d,0x61,0x70])](_0x485f1e=>_0x485f1e[_0x34b41b([0x73,0x70,0x6c,0x69,0x74])](_0x34b41b([0x2e])))[_0x34b41b([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x736821=>_0x736821[_0x34b41b([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0xe50568[_0x34b41b([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x34b41b([0x6d,0x61,0x70])](_0x478461=>Array(_0xe50568[_0x34b41b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x478461[_0x34b41b([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x34b41b([0x66,0x69,0x6c,0x6c])](_0x478461[0x0]===_0x34b41b([0x2a])?_0x34b41b([0x2a]):'')[_0x34b41b([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x478461))[_0x34b41b([0x73,0x6f,0x6d,0x65])](_0x251045=>_0xe50568[_0x34b41b([0x65,0x76,0x65,0x72,0x79])]((_0x1e2f6c,_0x3c5af1)=>_0x251045[_0x3c5af1]===_0x1e2f6c||_0x251045[_0x3c5af1]===_0x34b41b([0x2a])));}function _0x11d836(){return _0x1597f9&&_0x412054?new window[(_0x34b41b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x46b0e8,_0x454d97)=>{_0x1597f9[_0x34b41b([0x74,0x68,0x65,0x6e])](_0x46b0e8,_0x454d97),_0x412054[_0x34b41b([0x74,0x68,0x65,0x6e])](_0x3650f3=>{_0x3650f3!=_0x34b41b([0x56,0x61,0x6c,0x69,0x64])&&_0x46b0e8(_0x3650f3);},_0x454d97);}):_0x1597f9||_0x412054||_0x34b41b([0x56,0x61,0x6c,0x69,0x64]);}}function _0x2a1505(_0x33ae4a,_0x34f157){return new window[(_0x34b41b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4f0194=>{if(_0xb55bb3())return _0x4f0194(_0x34b41b([0x56,0x61,0x6c,0x69,0x64]));_0x1e14d6(),_0x220238[_0x34b41b([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x34b41b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x3fbda8=!0x1;const _0x3c0429=_0x5c4a34();function _0x173bcc(_0x112a17){return!!_0x112a17&&(typeof _0x112a17===_0x34b41b([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x112a17===_0x34b41b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x112a17[_0x34b41b([0x74,0x68,0x65,0x6e])]===_0x34b41b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x112a17[_0x34b41b([0x63,0x61,0x74,0x63,0x68])]===_0x34b41b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x348112(_0x504058){_0x511522(_0x504058)[_0x34b41b([0x74,0x68,0x65,0x6e])](_0x547fb5=>{if(!_0x547fb5||_0x547fb5[_0x34b41b([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x34b41b([0x6f,0x6b]))return _0x34b41b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0xe1e4f2(_0x2cf64d(_0x3c0429+_0x34f157))!=_0x547fb5[_0x34b41b([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x34b41b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x34b41b([0x56,0x61,0x6c,0x69,0x64]);})[_0x34b41b([0x74,0x68,0x65,0x6e])](_0x4281ac=>(_0x525a0f(),_0x4281ac),()=>{const _0x51c773=_0x189d9f();return null==_0x51c773?(_0x525a0f(),_0x34b41b([0x56,0x61,0x6c,0x69,0x64])):_0x34b41b(_0x38d7f4-_0x51c773>(0x7753083a^_0x4202e6)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x34b41b([0x74,0x68,0x65,0x6e])](_0x4f0194)[_0x34b41b([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4f0194(_0x34b41b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5dfd2b=0x536962ba^_0x4202e6;function _0x525a0f(){const _0x8a829d=_0x34b41b([0x6c,0x6c,0x63,0x74,0x2d])+_0xe1e4f2(_0x2cf64d(_0x33ae4a)),_0x479916=_0x38590c(_0xe1e4f2(window[_0x34b41b([0x4d,0x61,0x74,0x68])][_0x34b41b([0x63,0x65,0x69,0x6c])](_0x38d7f4/_0x5dfd2b)));window[_0x34b41b([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x34b41b([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x8a829d,_0x479916);}function _0x189d9f(){const _0x3a5f27=_0x34b41b([0x6c,0x6c,0x63,0x74,0x2d])+_0xe1e4f2(_0x2cf64d(_0x33ae4a)),_0x37aca6=window[_0x34b41b([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x34b41b([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3a5f27);return _0x37aca6?window[_0x34b41b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x38590c(_0x37aca6),0x10)*_0x5dfd2b:null;}function _0x511522(_0xb6b7ca){return new window[(_0x34b41b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x36bb15,_0x2f1058)=>{_0xb6b7ca[_0x34b41b([0x74,0x68,0x65,0x6e])](_0x36bb15,_0x2f1058),window[_0x34b41b([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2f1058,0x535e58fa^_0x4202e6);});}}_0x220238[_0x34b41b([0x6f,0x6e])](_0x34b41b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x5ea978,_0x4b678e)=>{if(_0x4b678e[0x0]!=_0x33ae4a)return _0x4f0194(_0x34b41b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4b678e[0x1]={..._0x4b678e[0x1],[_0x34b41b([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x3c0429};},{[_0x34b41b([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x34b41b([0x68,0x69,0x67,0x68])}),_0x220238[_0x34b41b([0x6f,0x6e])](_0x34b41b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x14da7d=>{_0x173bcc(_0x14da7d[_0x34b41b([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x3fbda8=!0x0,_0x348112(_0x14da7d[_0x34b41b([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x34b41b([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x34b41b([0x6c,0x6f,0x77])}),_0x9c344e[_0x34b41b([0x74,0x68,0x65,0x6e])](()=>{_0x3fbda8||_0x4f0194(_0x34b41b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0xb55bb3(){return _0x220238[_0x34b41b([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x34b41b([0x76,0x69,0x65,0x77])][_0x34b41b([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x34b41b([0x61,0x75,0x74,0x6f]);}function _0x1e14d6(){_0x220238[_0x34b41b([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x34b41b([0x76,0x69,0x65,0x77])][_0x34b41b([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x34b41b([0x61,0x75,0x74,0x6f]);}}function _0x4d4af2(_0x2ce693){const _0x11b800=[new window[(_0x34b41b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x31c005=>setTimeout(_0x31c005,0x5356b2f6^_0x4202e6)),_0x9c344e[_0x34b41b([0x74,0x68,0x65,0x6e])](()=>new window[(_0x34b41b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x36c469=>{let _0x58ebdb=0x0;_0x220238[_0x34b41b([0x6d,0x6f,0x64,0x65,0x6c])][_0x34b41b([0x6f,0x6e])](_0x34b41b([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x121df4,_0x15e43e)=>{_0x15e43e[0x0][_0x34b41b([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x58ebdb++,_0x58ebdb==(0x535f8dc2^_0x4202e6)&&(_0x36c469(),_0x121df4[_0x34b41b([0x6f,0x66,0x66])]());});}))];return window[_0x34b41b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x34b41b([0x72,0x61,0x63,0x65])](_0x11b800)[_0x34b41b([0x74,0x68,0x65,0x6e])](()=>_0x2ce693);}async function _0x5c8016(){await _0x9c344e,_0x220238[_0x34b41b([0x6d,0x6f,0x64,0x65,0x6c])][_0x34b41b([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2a48a2,_0x220238[_0x34b41b([0x6d,0x6f,0x64,0x65,0x6c])][_0x34b41b([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2a48a2,_0x220238[_0x34b41b([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x34b41b([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x16a1e1(_0x4aebd7){const _0x186d41=_0x35e391();_0x220238[_0x186d41]=_0x34b41b([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x4aebd7,_0x4aebd7!=_0x34b41b([0x56,0x61,0x6c,0x69,0x64])&&_0x5c8016();}function _0x35e391(){const _0x444c17=window[_0x34b41b([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x34b41b([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x34b41b([0x6e,0x6f,0x77])]())[_0x34b41b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x34b41b([0x2e]),'');let _0x37ae85=_0x34b41b([0x68]);for(let _0x4c8e2b=0x0;_0x4c8e2b<_0x444c17[_0x34b41b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4c8e2b+=0x2){let _0x48b596=window[_0x34b41b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x444c17[_0x34b41b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4c8e2b,_0x4c8e2b+0x2));_0x48b596>=_0x44bcae[_0x34b41b([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x48b596-=_0x44bcae[_0x34b41b([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x37ae85+=_0x44bcae[_0x48b596];}return _0x37ae85;}function _0x18321a(){const _0xb78a45=_0x25ac24[_0x34b41b([0x73,0x70,0x6c,0x69,0x74])](_0x34b41b([0x2e]));if(0x3!=_0xb78a45[_0x34b41b([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x2826e5(_0xb78a45[0x1]);function _0x2826e5(_0x318c5a){const _0x5294f2=_0x2fd42f(_0x318c5a);return _0x5294f2&&_0x2e7527()?_0x5294f2:null;function _0x2e7527(){const _0x3ae6c1=_0x5294f2[_0x34b41b([0x6a,0x74,0x69])],_0x339581=window[_0x34b41b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3ae6c1[_0x34b41b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3ae6c1[_0x34b41b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4040f0={..._0x5294f2,[_0x34b41b([0x6a,0x74,0x69])]:_0x3ae6c1[_0x34b41b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3ae6c1[_0x34b41b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4040f0[_0x34b41b([0x76,0x63])],_0x2cf64d(_0x4040f0)==_0x339581;}}}async function _0x11ea5f(){let _0xbb7447=!0x0;try{const _0x3a329f=_0x25ac24[_0x34b41b([0x73,0x70,0x6c,0x69,0x74])](_0x34b41b([0x2e])),[_0x26003c,_0x395b44,_0x4d2b96]=_0x3a329f;return _0x2eb8fa(_0x26003c),await _0x4f2da8(_0x26003c,_0x395b44,_0x4d2b96),_0xbb7447;}catch{return!0x1;}function _0x2eb8fa(_0xcdcef){const _0x56b44d=_0x2fd42f(_0xcdcef);_0x56b44d&&_0x56b44d[_0x34b41b([0x61,0x6c,0x67])]==_0x34b41b([0x45,0x53,0x32,0x35,0x36])||(_0xbb7447=!0x1);}async function _0x4f2da8(_0x45789b,_0x24effd,_0x59caa9){const _0x9848c4=window[_0x34b41b([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x34b41b([0x66,0x72,0x6f,0x6d])](_0x326c1a(_0x59caa9),_0x1427c5=>_0x1427c5[_0x34b41b([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0xc723a9=new window[(_0x34b41b([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x34b41b([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x45789b+_0x34b41b([0x2e])+_0x24effd),_0x43b806=window[_0x34b41b([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x34b41b([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x43b806)return;const _0x37800a=await _0x43b806[_0x34b41b([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x34b41b([0x6a,0x77,0x6b]),_0x3cc361,{[_0x34b41b([0x6e,0x61,0x6d,0x65])]:_0x34b41b([0x45,0x43,0x44,0x53,0x41]),[_0x34b41b([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x34b41b([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x34b41b([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x43b806[_0x34b41b([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x34b41b([0x6e,0x61,0x6d,0x65])]:_0x34b41b([0x45,0x43,0x44,0x53,0x41]),[_0x34b41b([0x68,0x61,0x73,0x68])]:{[_0x34b41b([0x6e,0x61,0x6d,0x65])]:_0x34b41b([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x37800a,_0x9848c4,_0xc723a9)||(_0xbb7447=!0x1);}}function _0x2fd42f(_0xc329cf){return _0xc329cf[_0x34b41b([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x34b41b([0x65,0x79]))?JSON[_0x34b41b([0x70,0x61,0x72,0x73,0x65])](_0x326c1a(_0xc329cf)):null;}function _0x326c1a(_0x1d1bb5){return window[_0x34b41b([0x61,0x74,0x6f,0x62])](_0x1d1bb5[_0x34b41b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x34b41b([0x2b]))[_0x34b41b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x34b41b([0x2f])));}function _0x2cf64d(_0x2fcf33){let _0x5b476a=0x1505;function _0x31f2e8(_0x449c6f){for(let _0xffd35d=0x0;_0xffd35d<_0x449c6f[_0x34b41b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xffd35d++){const _0x2c916e=_0x449c6f[_0x34b41b([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0xffd35d);_0x5b476a=(_0x5b476a<<0x5)+_0x5b476a+_0x2c916e,_0x5b476a&=_0x5b476a;}}function _0x2fdd7a(_0x4a77f6){Array[_0x34b41b([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4a77f6)?_0x4a77f6[_0x34b41b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2fdd7a):_0x4a77f6&&typeof _0x4a77f6==_0x34b41b([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x34b41b([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4a77f6)[_0x34b41b([0x73,0x6f,0x72,0x74])]()[_0x34b41b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x544100,_0x2b54d4])=>{_0x31f2e8(_0x544100),_0x2fdd7a(_0x2b54d4);}):_0x31f2e8(window[_0x34b41b([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4a77f6));}return _0x2fdd7a(_0x2fcf33),_0x5b476a>>>0x0;}function _0xe1e4f2(_0x12bf85){return _0x12bf85[_0x34b41b([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x34b41b([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x34b41b([0x30]));}function _0x38590c(_0x4d9703){return _0x4d9703[_0x34b41b([0x73,0x70,0x6c,0x69,0x74])]('')[_0x34b41b([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x34b41b([0x6a,0x6f,0x69,0x6e])]('');}function _0x2a48a2(){}function _0x34b41b(_0x28c83e){return _0x28c83e['map'](_0x1cb36b=>String['fromCharCode'](_0x1cb36b))['join']('');}_0x16a1e1(await _0xfd71b7());}(this);}['_initSchema'](){const _0x25988c=this['editor']['model']['schema'];_0x25988c['isRegistered']('imageBlock')&&_0x25988c['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x25988c['isRegistered']('imageInline')&&_0x25988c['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0xa844d1=this['editor'];_0xa844d1['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0xa844d1['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x3d80ee=>_0x3d80ee['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x1a88a6=_0xa844d1['commands']['get']('replaceImageSource');_0x1a88a6&&this['listenTo'](_0x1a88a6,'cleanupImage',(_0x3c65e1,[_0x30a79c,_0x59cc3d])=>{_0x30a79c['removeAttribute']('uploadcareImageId',_0x59cc3d);});}['_initConfig'](){const _0x5713be=this['editor']['config']['get']('uploadcare.uploader')||{},_0x5797c3=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x43e691(_0x49a30f['document'],'uc-config',{..._0x5713be,'pubkey':_0x5797c3,'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']=_0x37204a=>{if('closeMax'==_0x37204a)return'#uc-icon-arrow-down';},_0x49a30f['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x43e691(_0x49a30f['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),_0x49a30f['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x14a9b=this['editor']['commands']['get']('insertImage');_0x14a9b&&this['listenTo'](_0x14a9b,'execute',()=>{const _0x440757=this['editor']['model']['document']['selection']['getSelectedElement']();_0x440757&&_0x440757['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x440757);});});const _0x507e50=this['editor']['commands']['get']('uploadcareImageReplace');_0x507e50&&this['listenTo'](_0x507e50,'execute',()=>{const _0x5f5358=this['editor']['model']['document']['selection']['getSelectedElement']();_0x5f5358&&_0x5f5358['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x5f5358);});});}}class tt extends _0x40a027{static get['requires'](){return[o,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x31013b){super(_0x31013b),_0x31013b['config']['define']('uploadcare.uploader.sourceList',[i['Local'],i['URL']]),_0x2a9564['defineComponents'](_0x2a9564),this['_defineLocale']();}['_defineLocale'](){const _0x382a5e=this['editor']['config']['get']('uploadcare.locale'),_0x571e22=this['editor']['locale']['contentLanguage'];_0x382a5e&&_0x2a9564['defineLocale'](_0x571e22,_0x382a5e);}}class ii extends _0x255f97{constructor(_0x402c56){super(_0x402c56);const t=_0x402c56['t'],_0x42dc3c=this['bindTemplate'],_0x183635=new _0xae7dea();_0x183635['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':[_0x183635,{'text':_0x42dc3c['to']('imageUploadProgress',_0xad8e77=>t('Loading\x20image...')+'\x20('+(_0xad8e77||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 _0x255f97{constructor(_0xe2274e){super(_0xe2274e);const t=_0xe2274e['t'];this['set']('errorType',null);const _0x11abcc=new _0x23d61e(_0xe2274e);_0x11abcc['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x11abcc['withText']=!0x0,_0x11abcc['class']='ck-button-action',_0x11abcc['on']('execute',()=>{this['fire']('retry');}),_0x11abcc['bind']('isVisible')['to'](this,'errorType',_0x346e51=>'NotFound'!==_0x346e51);const _0x276de9=new _0x15cd82();_0x276de9['content']=_0x3f8c3e,_0x276de9['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0xd1c3bf=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':[_0x276de9,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0xd1c3bf['to']('errorType',_0x305db1=>t('NotFound'!==_0x305db1?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x11abcc]},{'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 _0x255f97{constructor(_0x41b62f,_0x2f35d8){super(_0x41b62f);const _0xe0a618=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x2f35d8,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0xe0a618['to']('imageSrc')}});}}class X extends F{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x512145,_0x26afae,_0x5b2dd6){super(_0x512145),this['_items']=this['createCollection'](),this['_loadingView']=new ii(_0x512145),this['_errorView']=new ti(_0x512145),this['_editingView']=new ei(_0x512145,_0x5b2dd6),this['_focusableView']=new _0x255f97(_0x512145),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x26afae),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'],_0x35b364=>{this['_addUploadcareImageEditorListeners'](_0x35b364);});}),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'](_0x13e32d,_0xde4208){const _0x576c31='uc-cloud-image-editor',_0x587bcf=_0x13e32d['querySelector'](_0x576c31);if(_0x587bcf)return _0xde4208(_0x587bcf);const _0x552998=new MutationObserver(_0x1006b6=>{const _0x1e62ce=_0x1006b6['filter'](_0x2d1875=>_0x2d1875['target']===_0x13e32d&&_0x2d1875['addedNodes']['length']>0x0&&_0x2d1875['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x576c31);_0x1e62ce['length']&&(_0x552998['disconnect'](),_0xde4208(_0x1e62ce[0x0]['addedNodes'][0x0]));});_0x552998['observe'](_0x13e32d,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x4b4d7e){_0x4b4d7e['addEventListener']('apply',_0x5d2d77=>{this['fire']('apply',{'imageSrc':_0x5d2d77['detail']['cdnUrl']});}),_0x4b4d7e['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class N extends/* #__PURE__ -- @preserve */
25
+ _0x2308c3(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x2fa64e,_0x5dd14e,_0xec7a41){super(),this['_editor']=_0x2fa64e,this['_dialog']=_0x5dd14e,this['_imageElement']=_0xec7a41,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 _0x5910f8=this['_imageElement'],_0x3b6fcf=_0x5910f8['getAttribute']('uploadcareImageId'),_0xd27f22=_0x5910f8['getAttribute']('src');if(_0x3b6fcf)await this['_loadImageInfo'](_0x3b6fcf,_0xd27f22);else{if(this['_imageCache']['has'](_0xd27f22)){const _0x1b4a9f=this['_imageCache']['get'](_0xd27f22);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x1b4a9f['url'],this['imageDimension']=_0x1b4a9f['dimension'],this['imageId']=_0x1b4a9f['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x48894e}=this['_editor'],t=_0x48894e['t'],_0x35dc20=new X(_0x48894e,this['imageStatus'],this['_attributes']);_0x35dc20['bind']('status')['to'](this,'imageStatus'),_0x35dc20['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x35dc20['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x35dc20['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x35dc20,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x21b4d9,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x35dc20,'position':_0x2a21c1['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x35dc20['focus']();},'onHide':()=>{_0x35dc20['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x5a3354=>!A(_0x5a3354,_0x35dc20['element'])}});}['_loadImageInfo'](_0x2b34a5,_0x1957da){return j['getInfo'](_0x2b34a5,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x2e1918=>{const {width:_0x58ab0a,height:_0x383bac}=_0x2e1918['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x1957da,this['imageDimension']={'width':_0x58ab0a,'height':_0x383bac},this['imageId']=_0x2b34a5;})['catch'](_0x22ba58=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x22ba58['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x2fd7c5,_0x15d3c5){return this['_getImageAsFile'](_0x2fd7c5)['then'](_0x130a24=>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':_0x15d3c5['signal'],'file':_0x130a24,'onProgress':_0x5c1fa5=>{_0x5c1fa5&&_0x5c1fa5['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x5c1fa5['value']));}}))['then'](_0x4774cd=>{const {width:_0x3bd90a,height:_0x162343}=_0x4774cd['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x4774cd['cdnUrl'],this['imageDimension']={'width':_0x3bd90a,'height':_0x162343},this['imageId']=_0x4774cd['uuid'],this['imageUploadProgress']=null;const _0x54f70f=_0x2fd7c5['getAttribute']('src');this['_imageCache']['set'](_0x54f70f,{'id':_0x4774cd['uuid'],'url':_0x4774cd['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0xdcbf41=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0xdcbf41['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x28555c,_0x4957f4){_0x28555c['on']('apply',(_0x37f528,_0x40dbd9)=>{this['_replaceImage'](_0x4957f4,_0x40dbd9['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x28555c['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x28555c['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x153a4c,_0xf8081e,_0x5c01e9){const _0x5ae3b8=this['_editor'],{width:_0x763fc1,height:_0x2feeed}=S(_0xf8081e,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x431dae,imageSources:_0x3fa4ee}=C(_0xf8081e,_0x763fc1);_0x5ae3b8['model']['change'](_0x160622=>{if('$graveyard'===_0x153a4c['root']['rootName']){_0x5ae3b8['execute']('insertImage',{'imageType':_0x153a4c['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x153a4c['getAttributes']()),'uploadcareImageId':_0x5c01e9,'src':_0x431dae,'sources':_0x3fa4ee,'width':_0x763fc1,'height':_0x2feeed}});const _0xdc6e80=_0x153a4c['getChildren']();_0x153a4c=_0x5ae3b8['model']['document']['selection']['getSelectedElement']();for(const _0x563b4e of _0xdc6e80)_0x160622['append'](_0x160622['cloneElement'](_0x563b4e),_0x153a4c);}else _0x160622['setSelection'](_0x153a4c,'on'),_0x5ae3b8['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x153a4c['getAttributes']()),'uploadcareImageId':_0x5c01e9,'src':_0x431dae,'sources':_0x3fa4ee,'width':_0x763fc1,'height':_0x2feeed},_0x153a4c);_0x160622['setSelection'](_0x153a4c,'on');});}async['_getImageAsFile'](_0x1182ad){const _0x4c2c74=_0x49a30f['window'],_0x4446cb=_0x49a30f['document']['location']['href'],_0x405bd9=new _0x4c2c74['URL'](_0x1182ad['getAttribute']('src'),_0x4446cb);if('data:'===_0x405bd9['protocol']){const _0x47dbd1=_0x405bd9['href']['split'](','),_0x31b86b=_0x47dbd1[0x0]['match'](/:(.*?);/)[0x1],_0x31de62=_0x31b86b['split']('/')[0x1],_0x4281ef=_0x4c2c74['atob'](_0x47dbd1[_0x47dbd1['length']-0x1]);let _0x16e237=_0x4281ef['length'];const _0x3db92b=new _0x4c2c74['Uint8Array'](_0x16e237);for(;_0x16e237--;)_0x3db92b[_0x16e237]=_0x4281ef['charCodeAt'](_0x16e237);return new _0x4c2c74['File']([_0x3db92b],'image.'+_0x31de62,{'type':_0x31b86b});}const _0x3294be=_0x405bd9['href']['split']('/'),_0x310894=_0x3294be[_0x3294be['length']-0x1],_0x44ef4c=_0x310894['split']('.')[0x1];return _0x4c2c74['fetch'](_0x405bd9['href'])['then'](_0x3df063=>_0x3df063['clone']()['blob']())['then'](_0x4f76a2=>new _0x4c2c74['File']([_0x4f76a2],_0x310894,{'type':'image/'+_0x44ef4c}));}}class Q extends _0x1805a0{['imageEditController'];static get['requires'](){return[_0x54518c];}['_isEditable'];constructor(_0xec1ec){super(_0xec1ec),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x549e5a){const _0x14a8ea=z(_0x549e5a);return _0x3f98dc=>!(!_0x3f98dc||!_0x3f98dc['is']('element','imageBlock')&&!_0x3f98dc['is']('element','imageInline'))&&(!!_0x3f98dc['hasAttribute']('uploadcareImageId')||!!_0x3f98dc['hasAttribute']('src')&&_0x14a8ea(_0x3f98dc['getAttribute']('src')));}(_0xec1ec['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x4a0143=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x4a0143);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x2553b1=this['editor']['model']['document']['selection']['getSelectedElement']();_0x2553b1&&(_0x2553b1['is']('element','imageBlock')||_0x2553b1['is']('element','imageInline'))&&(this['imageEditController']=new N(this['editor'],this['editor']['plugins']['get'](_0x54518c),_0x2553b1),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class V extends _0x1805a0{['refresh'](){const _0x1b4f78=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x1b4f78&&(_0x1b4f78['is']('element','imageBlock')||_0x1b4f78['is']('element','imageInline')));}['execute'](_0x16527a){const _0x475726=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x32e061=>{_0x32e061['setAttributes'](_0x16527a,_0x475726),_0x32e061['removeAttribute']('srcset',_0x475726),_0x32e061['removeAttribute']('sizes',_0x475726);});}}class m extends _0x40a027{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[o,_0x450039,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x1a0af5}=this;_0x1a0af5['commands']['add']('uploadcareImageEdit',new Q(_0x1a0af5)),_0x1a0af5['commands']['add']('uploadcareImageReplace',new V(_0x1a0af5));}}class g extends _0x40a027{['_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 _0x5a23ee=this['editor'];_0x5a23ee['ui']['componentFactory']['add']('uploadcareImageEdit',_0x166975=>{const _0x240bfd=_0x5a23ee['commands']['get']('uploadcareImageEdit'),_0x45c452=new _0x23d61e(_0x166975),t=_0x166975['t'];return _0x45c452['set']({'icon':_0x21b4d9,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x45c452['bind']('isEnabled')['to'](_0x240bfd),_0x45c452['bind']('isOn')['to'](_0x240bfd,'isActive'),this['listenTo'](_0x45c452,'execute',()=>{_0x5a23ee['execute']('uploadcareImageEdit'),_0x5a23ee['editing']['view']['focus']();}),_0x45c452;}),this['_initConfig']();}['_initConfig'](){const _0x541995=_0x43e691(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x541995),this['listenTo'](this['editor'],'destroy',()=>{_0x541995['remove']();});}}class et extends _0x40a027{static get['pluginName'](){return'UploadcareImageEdit';}static get['requires'](){return[m,g];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{tt as Uploadcare,w as UploadcareCommand,o as UploadcareEditing,et as UploadcareImageEdit,Q as UploadcareImageEditCommand,m as UploadcareImageEditEditing,g as UploadcareImageEditUI,e as UploadcareUI,f as UploadcareUploadAdapter};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'af':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x4775b4=>0x1!=_0x4775b4}};
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':_0x20cc15=>0x1!=_0x20cc15}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x21d4cd=>{const {af:{dictionary:_0x123ac7,getPluralForm:_0x2787da}}={'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':_0x54151e=>0x1!=_0x54151e}};_0x21d4cd['af']||={'dictionary':{},'getPluralForm':null},_0x21d4cd['af']['dictionary']=Object['assign'](_0x21d4cd['af']['dictionary'],_0x123ac7),_0x21d4cd['af']['getPluralForm']=_0x2787da;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x35d61b=>{const {af:{dictionary:_0x1114a2,getPluralForm:_0x317aa8}}={'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':_0x3dc498=>0x1!=_0x3dc498}};_0x35d61b['af']||={'dictionary':{},'getPluralForm':null},_0x35d61b['af']['dictionary']=Object['assign'](_0x35d61b['af']['dictionary'],_0x1114a2),_0x35d61b['af']['getPluralForm']=_0x317aa8;})(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':_0xec2c12=>0x0==_0xec2c12?0x0:0x1==_0xec2c12?0x1:0x2==_0xec2c12?0x2:_0xec2c12%0x64>=0x3&&_0xec2c12%0x64<=0xa?0x3:_0xec2c12%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':_0x57c3ba=>0x0==_0x57c3ba?0x0:0x1==_0x57c3ba?0x1:0x2==_0x57c3ba?0x2:_0x57c3ba%0x64>=0x3&&_0x57c3ba%0x64<=0xa?0x3:_0x57c3ba%0x64>=0xb?0x4:0x5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x22a0bb=>{const {ar:{dictionary:_0x3bfec3,getPluralForm:_0x13919b}}={'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':_0x1733be=>0x0==_0x1733be?0x0:0x1==_0x1733be?0x1:0x2==_0x1733be?0x2:_0x1733be%0x64>=0x3&&_0x1733be%0x64<=0xa?0x3:_0x1733be%0x64>=0xb?0x4:0x5}};_0x22a0bb['ar']||={'dictionary':{},'getPluralForm':null},_0x22a0bb['ar']['dictionary']=Object['assign'](_0x22a0bb['ar']['dictionary'],_0x3bfec3),_0x22a0bb['ar']['getPluralForm']=_0x13919b;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x1a7962=>{const {ar:{dictionary:_0x2ca0f6,getPluralForm:_0x2c96f8}}={'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':_0x6d39af=>0x0==_0x6d39af?0x0:0x1==_0x6d39af?0x1:0x2==_0x6d39af?0x2:_0x6d39af%0x64>=0x3&&_0x6d39af%0x64<=0xa?0x3:_0x6d39af%0x64>=0xb?0x4:0x5}};_0x1a7962['ar']||={'dictionary':{},'getPluralForm':null},_0x1a7962['ar']['dictionary']=Object['assign'](_0x1a7962['ar']['dictionary'],_0x2ca0f6),_0x1a7962['ar']['getPluralForm']=_0x2c96f8;})(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':_0x12e7a3=>0x1!=_0x12e7a3}};
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':_0x1505dc=>0x1!=_0x1505dc}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x39c445=>{const {ast:{dictionary:_0x249138,getPluralForm:_0x1e667a}}={'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':_0x59761d=>0x1!=_0x59761d}};_0x39c445['ast']||={'dictionary':{},'getPluralForm':null},_0x39c445['ast']['dictionary']=Object['assign'](_0x39c445['ast']['dictionary'],_0x249138),_0x39c445['ast']['getPluralForm']=_0x1e667a;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x3f98e7=>{const {ast:{dictionary:_0x51ebb8,getPluralForm:_0x42ec30}}={'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':_0x1672db=>0x1!=_0x1672db}};_0x3f98e7['ast']||={'dictionary':{},'getPluralForm':null},_0x3f98e7['ast']['dictionary']=Object['assign'](_0x3f98e7['ast']['dictionary'],_0x51ebb8),_0x3f98e7['ast']['getPluralForm']=_0x42ec30;})(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':_0x47c1af=>0x1!=_0x47c1af}};
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':_0x38adc9=>0x1!=_0x38adc9}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x450f5d=>{const {az:{dictionary:_0x52ce82,getPluralForm:_0x542c0e}}={'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':_0x49a4d=>0x1!=_0x49a4d}};_0x450f5d['az']||={'dictionary':{},'getPluralForm':null},_0x450f5d['az']['dictionary']=Object['assign'](_0x450f5d['az']['dictionary'],_0x52ce82),_0x450f5d['az']['getPluralForm']=_0x542c0e;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x486b26=>{const {az:{dictionary:_0x5c6a8d,getPluralForm:_0x3b4bd3}}={'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':_0x4fe031=>0x1!=_0x4fe031}};_0x486b26['az']||={'dictionary':{},'getPluralForm':null},_0x486b26['az']['dictionary']=Object['assign'](_0x486b26['az']['dictionary'],_0x5c6a8d),_0x486b26['az']['getPluralForm']=_0x3b4bd3;})(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':_0x36c3db=>_0x36c3db%0xa==0x1&&_0x36c3db%0x64!=0xb?0x0:_0x36c3db%0xa>=0x2&&_0x36c3db%0xa<=0x4&&(_0x36c3db%0x64<0xa||_0x36c3db%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':_0x4aa804=>_0x4aa804%0xa==0x1&&_0x4aa804%0x64!=0xb?0x0:_0x4aa804%0xa>=0x2&&_0x4aa804%0xa<=0x4&&(_0x4aa804%0x64<0xa||_0x4aa804%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x30053d=>{const {be:{dictionary:_0x387534,getPluralForm:_0x5a6c25}}={'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':_0x50b044=>_0x50b044%0xa==0x1&&_0x50b044%0x64!=0xb?0x0:_0x50b044%0xa>=0x2&&_0x50b044%0xa<=0x4&&(_0x50b044%0x64<0xa||_0x50b044%0x64>=0x14)?0x1:0x2}};_0x30053d['be']||={'dictionary':{},'getPluralForm':null},_0x30053d['be']['dictionary']=Object['assign'](_0x30053d['be']['dictionary'],_0x387534),_0x30053d['be']['getPluralForm']=_0x5a6c25;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x11b08a=>{const {be:{dictionary:_0xfc5c09,getPluralForm:_0x559cc8}}={'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':_0x565fea=>_0x565fea%0xa==0x1&&_0x565fea%0x64!=0xb?0x0:_0x565fea%0xa>=0x2&&_0x565fea%0xa<=0x4&&(_0x565fea%0x64<0xa||_0x565fea%0x64>=0x14)?0x1:0x2}};_0x11b08a['be']||={'dictionary':{},'getPluralForm':null},_0x11b08a['be']['dictionary']=Object['assign'](_0x11b08a['be']['dictionary'],_0xfc5c09),_0x11b08a['be']['getPluralForm']=_0x559cc8;})(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':_0x203e74=>0x1!=_0x203e74}};
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':_0x4d4160=>0x1!=_0x4d4160}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0xc7abb7=>{const {bg:{dictionary:_0x5caf72,getPluralForm:_0x24776f}}={'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':_0x595dab=>0x1!=_0x595dab}};_0xc7abb7['bg']||={'dictionary':{},'getPluralForm':null},_0xc7abb7['bg']['dictionary']=Object['assign'](_0xc7abb7['bg']['dictionary'],_0x5caf72),_0xc7abb7['bg']['getPluralForm']=_0x24776f;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x9f469a=>{const {bg:{dictionary:_0x18434b,getPluralForm:_0x3c4373}}={'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':_0x6db478=>0x1!=_0x6db478}};_0x9f469a['bg']||={'dictionary':{},'getPluralForm':null},_0x9f469a['bg']['dictionary']=Object['assign'](_0x9f469a['bg']['dictionary'],_0x18434b),_0x9f469a['bg']['getPluralForm']=_0x3c4373;})(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':_0x3c68ee=>0x1!=_0x3c68ee}};
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':_0x3722b0=>0x1!=_0x3722b0}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x3c6a51=>{const {bn:{dictionary:_0x5e561b,getPluralForm:_0x307480}}={'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':_0x540ff0=>0x1!=_0x540ff0}};_0x3c6a51['bn']||={'dictionary':{},'getPluralForm':null},_0x3c6a51['bn']['dictionary']=Object['assign'](_0x3c6a51['bn']['dictionary'],_0x5e561b),_0x3c6a51['bn']['getPluralForm']=_0x307480;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x454cd7=>{const {bn:{dictionary:_0x2d7be6,getPluralForm:_0xd0eb70}}={'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':_0x41f05e=>0x1!=_0x41f05e}};_0x454cd7['bn']||={'dictionary':{},'getPluralForm':null},_0x454cd7['bn']['dictionary']=Object['assign'](_0x454cd7['bn']['dictionary'],_0x2d7be6),_0x454cd7['bn']['getPluralForm']=_0xd0eb70;})(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':_0x52fe63=>_0x52fe63%0xa==0x1&&_0x52fe63%0x64!=0xb?0x0:_0x52fe63%0xa>=0x2&&_0x52fe63%0xa<=0x4&&(_0x52fe63%0x64<0xa||_0x52fe63%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':_0x578e14=>_0x578e14%0xa==0x1&&_0x578e14%0x64!=0xb?0x0:_0x578e14%0xa>=0x2&&_0x578e14%0xa<=0x4&&(_0x578e14%0x64<0xa||_0x578e14%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x28ca12=>{const {bs:{dictionary:_0x1630a8,getPluralForm:_0x2865eb}}={'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':_0xd7d4a6=>_0xd7d4a6%0xa==0x1&&_0xd7d4a6%0x64!=0xb?0x0:_0xd7d4a6%0xa>=0x2&&_0xd7d4a6%0xa<=0x4&&(_0xd7d4a6%0x64<0xa||_0xd7d4a6%0x64>=0x14)?0x1:0x2}};_0x28ca12['bs']||={'dictionary':{},'getPluralForm':null},_0x28ca12['bs']['dictionary']=Object['assign'](_0x28ca12['bs']['dictionary'],_0x1630a8),_0x28ca12['bs']['getPluralForm']=_0x2865eb;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x10b43d=>{const {bs:{dictionary:_0x5807ae,getPluralForm:_0x2cd25d}}={'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':_0x261493=>_0x261493%0xa==0x1&&_0x261493%0x64!=0xb?0x0:_0x261493%0xa>=0x2&&_0x261493%0xa<=0x4&&(_0x261493%0x64<0xa||_0x261493%0x64>=0x14)?0x1:0x2}};_0x10b43d['bs']||={'dictionary':{},'getPluralForm':null},_0x10b43d['bs']['dictionary']=Object['assign'](_0x10b43d['bs']['dictionary'],_0x5807ae),_0x10b43d['bs']['getPluralForm']=_0x2cd25d;})(window['CKEDITOR_TRANSLATIONS']||={});