@ckeditor/ckeditor5-uploadcare 47.2.0-alpha.6 → 47.2.0-alpha.7

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 _0x20fa45,Command as _0x4e7a4a}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x173263,IconGooglePhotos as _0x3f2384,IconGoogleDrive as _0x578729,IconFacebook as _0xe79365,IconDropbox as _0x2cb52e,IconUploadcareLink as _0x372785,IconUploadcareImageUpload as _0x509584,IconError as _0x3f305d,IconUploadcareImageEdit as _0x93cc42}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x57a169,MenuBarMenuListItemButtonView as _0x5b1449,View as _0x259c8d,FocusCycler as _0x3ab8fc,Dialog as _0x4fb606,DialogViewPosition as _0x5b2eeb,SpinnerView as _0x1165d7,IconView as _0x3a25c2,Notification as _0x49fea0}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x22b405,DomEmitterMixin as _0x41241d,global as _0x5f52df,getAncestors as _0x5b4666,ObservableMixin as _0x3e6d78,uid as _0x3efdfb,createElement as _0x2e80fc}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x29a586}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x4682dc,info as _0x1244de}from'@uploadcare/upload-client';import*as _0x3c3f39 from'@uploadcare/file-uploader';var i=function(_0x48858f){return _0x48858f['Local']='local',_0x48858f['URL']='url',_0x48858f['Dropbox']='dropbox',_0x48858f['GDrive']='gdrive',_0x48858f['Facebook']='facebook',_0x48858f['GPhotos']='gphotos',_0x48858f['OneDrive']='onedrive',_0x48858f;}({});function _(_0xe8e098,_0x410d8,_0x56b8a6){const t=_0xe8e098['t'],_0xf308cf=_0xe8e098['t'];switch(_0x410d8){case i['Local']:return{'text':_0xf308cf('Insert'===_0x56b8a6?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0xf308cf('From\x20computer')};case i['URL']:return{'text':'Insert'===_0x56b8a6?_0xf308cf('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0xf308cf('Via\x20URL')};case i['Dropbox']:return{'text':t('Insert'===_0x56b8a6?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case i['Facebook']:return{'text':t('Insert'===_0x56b8a6?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case i['GDrive']:return{'text':t('Insert'===_0x56b8a6?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case i['GPhotos']:return{'text':t('Insert'===_0x56b8a6?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case i['OneDrive']:return{'text':t('Insert'===_0x56b8a6?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x410d8;}}class e extends _0x20fa45{['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 _0x3817dd=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x240bdf;for(const _0x15fc4b in _0x3817dd){const _0x57472e=_0x15fc4b,_0x1984b0=_0x3817dd[_0x57472e];if('uploadcareLicenseKeyValid'==_0x1984b0||'uploadcareLicenseKeyInvalid'==_0x1984b0||'uploadcareLicenseKeyExpired'==_0x1984b0||'uploadcareLicenseKeyDomainLimit'==_0x1984b0||'uploadcareLicenseKeyNotAllowed'==_0x1984b0||'uploadcareLicenseKeyEvaluationLimit'==_0x1984b0||'uploadcareLicenseKeyTrialLimit'==_0x1984b0||'uploadcareLicenseKeyUsageLimit'==_0x1984b0){delete _0x3817dd[_0x57472e],_0x240bdf=_0x1984b0,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x240bdf&&_0x3817dd['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x240bdf&&_0x3817dd['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x240bdf&&_0x3817dd['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x240bdf&&_0x3817dd['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x240bdf&&_0x3817dd['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0x240bdf&&_0x3817dd['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0x240bdf&&_0x3817dd['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x1bdae8}=this,_0x1fb25d=_0x1bdae8['commands']['get']('uploadcare');if(!_0x1fb25d)return;const _0x89fa58=this['_normalizeConfigSourceList'](_0x1bdae8['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x339a7f,_0xbb63a8)=>{const _0x58fd08=this['_getIntegrationKey'](_0xbb63a8['type']);return _0x339a7f[_0x58fd08]||(_0x339a7f[_0x58fd08]=[]),_0x339a7f[_0x58fd08]['push'](_0xbb63a8),_0x339a7f;},{});_0x1bdae8['plugins']['has']('ImageInsertUI')&&_0x1bdae8['commands']['get']('uploadcare')&&Object['entries'](_0x89fa58)['forEach'](([_0xe2622f,_0x5706b1])=>{_0x1bdae8['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0xe2622f,'observable':()=>_0x1fb25d,'buttonViewCreator':()=>this['_createToolbarButton'](_0x5706b1),'formViewCreator':()=>this['_createDropdownButtons'](_0x5706b1),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x5706b1),'override':'assetManager'!==_0xe2622f});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x55d081){const {locale:_0x4bdbf6}=this['editor'];return _0x55d081['map'](_0x527aef=>{const _0x51171a=_(_0x4bdbf6,_0x527aef,'Insert');switch(_0x527aef){case i['Local']:return{'icon':_0x509584,'type':i['Local'],..._0x51171a};case i['URL']:return{'icon':_0x372785,'type':i['URL'],..._0x51171a};case i['Dropbox']:return{'icon':_0x2cb52e,'type':i['Dropbox'],..._0x51171a};case i['Facebook']:return{'icon':_0xe79365,'type':i['Facebook'],..._0x51171a};case i['GDrive']:return{'icon':_0x578729,'type':i['GDrive'],..._0x51171a};case i['GPhotos']:return{'icon':_0x3f2384,'type':i['GPhotos'],..._0x51171a};case i['OneDrive']:return{'icon':_0x173263,'type':i['OneDrive'],..._0x51171a};}});}['_getIntegrationKey'](_0x438ecd){switch(_0x438ecd){case i['Local']:return'upload';case i['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x527163,_0x9dbd0f){const _0x5b67b8=this['editor'],_0x1ebedc=new _0x527163(_0x5b67b8['locale']),_0x53b2c3=_0x5b67b8['commands']['get']('uploadcare');return _0x1ebedc['bind']('isEnabled')['to'](_0x53b2c3),_0x1ebedc['on']('execute',()=>{_0x53b2c3['execute'](_0x9dbd0f);}),_0x1ebedc;}['_createToolbarButton'](_0x1ba280){const {locale:_0x3a8afc}=this['editor'],_0x2fbc70=this['editor']['plugins']['get']('ImageInsertUI'),_0x571784=_0x1ba280[0x0],_0x10dadb=this['_createButton'](_0x57a169,_0x571784['type']);return _0x10dadb['icon']=_0x571784['icon'],_0x10dadb['bind']('label')['to'](_0x2fbc70,'isImageSelected',_0x186271=>_(_0x3a8afc,_0x571784['type'],_0x186271?'Replace':'Insert')['text']),_0x10dadb['tooltip']=!0x0,_0x10dadb;}['_createDropdownButtons'](_0x3e46e0){const {locale:_0x236687}=this['editor'],_0x54de95=this['editor']['plugins']['get']('ImageInsertUI');return _0x3e46e0['map'](_0x36ab0a=>{const _0x5e86ed=this['_createButton'](_0x57a169,_0x36ab0a['type']);return _0x5e86ed['withText']=!0x0,_0x5e86ed['icon']=_0x36ab0a['icon'],_0x5e86ed['bind']('label')['to'](_0x54de95,'isImageSelected',_0x4e5eda=>_(_0x236687,_0x36ab0a['type'],_0x4e5eda?'Replace':'Insert')['text']),_0x5e86ed;});}['_createMenuBarButtons'](_0x943f8c){return _0x943f8c['map'](_0x4543fd=>{const _0x5dc19b=this['_createButton'](_0x5b1449,_0x4543fd['type']);return _0x5dc19b['icon']=_0x4543fd['icon'],_0x5dc19b['label']=_0x4543fd['shortText'],_0x5dc19b;});}}class F extends _0x259c8d{['focusTracker'];['focusCycler'];constructor(_0x13bb50){super(_0x13bb50),this['focusTracker']=new _0x22b405(),this['focusCycler']=new _0x3ab8fc({'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(_0xed47e5,_0x1bcc4c){super(_0xed47e5),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-'+_0x1bcc4c}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function C(_0x2854a0,_0x3ff5ff){const _0x4e3787=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0xef4025=>_0xef4025<=_0x3ff5ff)['map'](_0x59e754=>_0x2854a0['replace'](/\/$/,'')+'/-/resize/'+_0x59e754+'x/\x20'+_0x59e754+'w');return{'imageFallbackUrl':_0x2854a0,'imageSources':[{'srcset':_0x4e3787['join'](',\x20'),'sizes':'(max-width:\x20'+_0x3ff5ff+'px)\x20100vw,\x20'+_0x3ff5ff+'px','type':'image/webp'}]};}function S(_0x46957d,_0xd55945,_0x6a3df1){const _0x2455df=_0x46957d['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x2455df?parseInt(_0x2455df[0x1],0xa):_0xd55945,'height':_0x2455df?parseInt(_0x2455df[0x2],0xa):_0x6a3df1};}function p(_0x57ffa3,_0x4da4c9){const _0x577ee3=new(_0x41241d())(),_0x3b53af=_0x57ffa3['plugins']['get']('ImageUtils'),_0x313734=_0x57ffa3['editing']['mapper']['toViewElement'](_0x4da4c9),_0x14a961=_0x3b53af['findViewImgElement'](_0x313734),_0x576d99=_0x57ffa3['editing']['view']['domConverter']['viewToDom'](_0x14a961),_0x56af10=_0x4da4c9['getAttribute']('width'),_0x1fb493=_0x4da4c9['getAttribute']('height'),_0x101759='image-processing';_0x57ffa3['editing']['view']['change'](_0x510edf=>{_0x510edf['addClass'](_0x101759,_0x313734),_0x510edf['setStyle']('aspect-ratio',_0x56af10+'/'+_0x1fb493,_0x14a961);}),_0x577ee3['listenTo'](_0x576d99,'load',()=>{_0x577ee3['stopListening'](_0x576d99,'load'),_0x57ffa3['editing']['view']['change'](_0x4e2932=>{_0x4e2932['removeClass'](_0x101759,_0x313734),_0x4e2932['removeStyle']('aspect-ratio',_0x14a961);});});}function z(_0x2f2035){if(Array['isArray'](_0x2f2035)){const _0x52e0fb=_0x2f2035['map'](z);return _0x4c865d=>_0x52e0fb['some'](_0x39bfd0=>_0x39bfd0(_0x4c865d));}if('origin'==_0x2f2035){const _0x2d0587=_0x5f52df['window']['location']['origin'];return _0x331765=>new URL(_0x331765,_0x5f52df['document']['baseURI'])['origin']==_0x2d0587;}return'function'==typeof _0x2f2035?_0x2f2035:_0x2f2035 instanceof RegExp?_0x30d2e7=>!(!_0x30d2e7['match'](_0x2f2035)&&!_0x30d2e7['replace'](/^https?:\/\//,'')['match'](_0x2f2035)):()=>!0x1;}function A(_0x3e9950,_0x5e6650){return _0x5b4666(_0x3e9950['target'])['includes'](_0x5e6650);}class n extends/* #__PURE__ -- @preserve */
24
- _0x3e6d78(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x113f75,_0xbcbbfe,_0x501668){super(),this['_editor']=_0x113f75,this['_editing']=_0xbcbbfe,this['_dialog']=_0x113f75['plugins']['get'](_0x4fb606),this['_api']=_0xbcbbfe['ctxElement']['getAPI'](),this['_type']=_0x501668,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:_0x2babd9,model:_0x106fef}=this['_editor'],_0x249700=_0x106fef['document']['selection']['getSelectedElement'](),_0x300498=_0x249700&&(_0x249700['is']('element','imageBlock')||_0x249700['is']('element','imageInline'));this['_formView']=new x(_0x2babd9,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':_0x509584,'title':_(_0x2babd9,this['_type'],_0x300498?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x5b2eeb['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x47c49d=>!A(_0x47c49d,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x1c717e}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0xa581c8=>{const _0x564851=_0x1c717e['length'];for(const _0x3f7eab of _0x1c717e){const _0x13a567=_0x3f7eab===_0x1c717e[_0x564851-0x1],{cdnUrl:_0x112d90,fileInfo:_0x3d263a}=_0x3f7eab;if(!_0x112d90||!_0x3d263a)continue;const {width:_0x1d3b5a,height:_0x2b9a1f}=_0x3d263a['imageInfo'],_0x3e3caa=S(_0x112d90,_0x1d3b5a,_0x2b9a1f),_0x47b4d2=C(_0x112d90,_0x3e3caa['width']),_0x248aa3={'id':_0x3d263a['uuid'],'type':'image','attributes':{'imageDimension':_0x3e3caa,..._0x47b4d2}};this['_insertAsset'](_0x248aa3,_0x13a567,_0xa581c8);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x2fea69=>{'idle'===_0x2fea69['detail']['status']&&!_0x2fea69['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===i['Local']?this['_api']['setCurrentActivity'](i['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x328ed5,_0x5669a4,_0x5dab60){const _0x481cb1=this['_editor']['model']['document']['selection'],_0x28d22f=_0x481cb1['getSelectedElement'](),_0x54e55e=!(!_0x28d22f||!_0x28d22f['is']('element','imageInline'));_0x5dab60['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x328ed5,_0x54e55e),_0x5669a4||_0x5dab60['setSelection'](_0x481cb1['getLastPosition']());}['_insertImage'](_0xaab26b,_0x2ed779){const _0xbe8d9a=this['_editor'],{imageDimension:_0xa42992,imageFallbackUrl:_0x15b627,imageSources:_0x5eeb35}=_0xaab26b['attributes'];_0xbe8d9a['execute']('insertImage',{'imageType':_0x2ed779?'imageInline':null,'source':{'uploadcareImageId':_0xaab26b['id'],'src':_0x15b627,'sources':_0x5eeb35,..._0xa42992}});}}class w extends _0x4e7a4a{['_editing'];['_controller']=null;static get['requires'](){return[_0x4fb606,o];}constructor(_0x907ae6){super(_0x907ae6),this['_editing']=_0x907ae6['plugins']['get'](o);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x4e0a5e){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new n(this['editor'],this['_editing'],_0x4e0a5e);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class j{static['upload']({file:_0x51f8b3,..._0x2b591d}){return _0x4682dc(_0x51f8b3,_0x2b591d);}static['getInfo'](_0x4fb6f7,_0x47dde2){return _0x1244de(_0x4fb6f7,_0x47dde2);}}class f extends _0x20fa45{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x29a586,o];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x5384fe=this['editor'];if(!!!_0x5384fe['config']['get']('uploadcare'))return;_0x5384fe['plugins']['get'](_0x29a586)['createUploadAdapter']=_0x3e568e=>new k(_0x3e568e,_0x5384fe),_0x5384fe['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x4273d1,{imageElement:_0x4478a1,data:_0x2516b8})=>{_0x5384fe['model']['change'](_0x420cb4=>{_0x420cb4['setAttribute']('uploadcareImageId',_0x2516b8['uploadcareImageId'],_0x4478a1);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x2ff778,_0x46b6ff){this['loader']=_0x2ff778,this['editor']=_0x46b6ff,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x27efe5=await this['loader']['file'];return j['upload']({'file':_0x27efe5,'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':_0x595940=>{_0x595940&&_0x595940['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x595940['value']);}})['then'](async _0xe842f8=>{const {imageFallbackUrl:_0x3cc8cd,imageSources:_0x380dc9}=C(_0xe842f8['cdnUrl'],_0xe842f8['imageInfo']['width']);return{'uploadcareImageId':_0xe842f8['uuid'],'default':_0x3cc8cd,'sources':_0x380dc9};})['catch'](()=>{const _0x1cbc1a=t('Cannot\x20upload\x20file:')+('\x20'+_0x27efe5['name']+'.');return Promise['reject'](_0x1cbc1a);});}['abort'](){this['controller']['abort']();}}class o extends _0x20fa45{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',f,_0x4fb606];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['ucContextId'];get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}constructor(_0x45f772){super(_0x45f772),this['ucContextId']=_0x3efdfb();}['init'](){const _0xb36f65=this['editor'];_0xb36f65['commands']['add']('uploadcare',new w(_0xb36f65));}['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 _0x409c22=_0x5f52df['document']['querySelector']('input[uploadcare-file-input]');_0x409c22&&_0x409c22['remove']();}),async function(_0x4f515f){const _0x566866=_0x56e5f7([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]),_0x10d0ca=0x535f8c3a,_0x18ba94=0x5358f41a^_0x10d0ca,_0x1df2a3=window[_0x56e5f7([0x44,0x61,0x74,0x65])][_0x56e5f7([0x6e,0x6f,0x77])](),_0x454a56=_0x4f515f[_0x56e5f7([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x983074=new window[(_0x56e5f7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x362b44=>{_0x454a56[_0x56e5f7([0x6f,0x6e,0x63,0x65])](_0x56e5f7([0x72,0x65,0x61,0x64,0x79]),_0x362b44);}),_0x4c6742={[_0x56e5f7([0x6b,0x74,0x79])]:_0x56e5f7([0x45,0x43]),[_0x56e5f7([0x75,0x73,0x65])]:_0x56e5f7([0x73,0x69,0x67]),[_0x56e5f7([0x63,0x72,0x76])]:_0x56e5f7([0x50,0x2d,0x32,0x35,0x36]),[_0x56e5f7([0x78])]:_0x56e5f7([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]),[_0x56e5f7([0x79])]:_0x56e5f7([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]),[_0x56e5f7([0x61,0x6c,0x67])]:_0x56e5f7([0x45,0x53,0x32,0x35,0x36])},_0x203fd0=_0x454a56[_0x56e5f7([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x56e5f7([0x67,0x65,0x74])](_0x56e5f7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x3280a6(){let _0x268ca9,_0x118ade=null,_0x155a7b=null;try{if(_0x203fd0==_0x56e5f7([0x47,0x50,0x4c]))return _0x56e5f7([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x268ca9=_0xd87aea(),!_0x268ca9)return _0x56e5f7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x268ca9[_0x56e5f7([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x155a7b=_0xad123f(_0x268ca9[_0x56e5f7([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x268ca9[_0x56e5f7([0x6a,0x74,0x69])])),await _0x382f90()?_0x2e65db()?_0x1bc964()?_0x56e5f7([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0xda57c3()?(_0x268ca9[_0x56e5f7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x56e5f7([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x118ade=_0x550e64(_0x56e5f7([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x268ca9[_0x56e5f7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x56e5f7([0x74,0x72,0x69,0x61,0x6c])&&(_0x118ade=_0x550e64(_0x56e5f7([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4b3932()):_0x56e5f7([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x56e5f7([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x56e5f7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x56e5f7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x1bc964(){const _0x58f3b4=[_0x56e5f7([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x56e5f7([0x74,0x72,0x69,0x61,0x6c])][_0x56e5f7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x268ca9[_0x56e5f7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1df2a3/0x3e8:0xe10*_0x18ba94;return _0x268ca9[_0x56e5f7([0x65,0x78,0x70])]<_0x58f3b4;}function _0x2e65db(){const _0x5bf3c1=_0x268ca9[_0x56e5f7([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x5bf3c1&&(!!_0x5bf3c1[_0x56e5f7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x56e5f7([0x2a]))||!!_0x5bf3c1[_0x56e5f7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x56e5f7([0x55,0x50,0x4c,0x43])));}function _0xda57c3(){const _0x35fbe3=_0x268ca9[_0x56e5f7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x35fbe3||0x0==_0x35fbe3[_0x56e5f7([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x2e041e}=new URL(window[_0x56e5f7([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x35fbe3[_0x56e5f7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2e041e))return!0x0;const _0x170e90=_0x2e041e[_0x56e5f7([0x73,0x70,0x6c,0x69,0x74])](_0x56e5f7([0x2e]));return _0x35fbe3[_0x56e5f7([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1cdc98=>_0x1cdc98[_0x56e5f7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x56e5f7([0x2a])))[_0x56e5f7([0x6d,0x61,0x70])](_0x1fefe5=>_0x1fefe5[_0x56e5f7([0x73,0x70,0x6c,0x69,0x74])](_0x56e5f7([0x2e])))[_0x56e5f7([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x9e6093=>_0x9e6093[_0x56e5f7([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x170e90[_0x56e5f7([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x56e5f7([0x6d,0x61,0x70])](_0x2d23a7=>Array(_0x170e90[_0x56e5f7([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x2d23a7[_0x56e5f7([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x56e5f7([0x66,0x69,0x6c,0x6c])](_0x2d23a7[0x0]===_0x56e5f7([0x2a])?_0x56e5f7([0x2a]):'')[_0x56e5f7([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x2d23a7))[_0x56e5f7([0x73,0x6f,0x6d,0x65])](_0x21b270=>_0x170e90[_0x56e5f7([0x65,0x76,0x65,0x72,0x79])]((_0x3c1c84,_0x5c58ea)=>_0x21b270[_0x5c58ea]===_0x3c1c84||_0x21b270[_0x5c58ea]===_0x56e5f7([0x2a])));}function _0x4b3932(){return _0x118ade&&_0x155a7b?new window[(_0x56e5f7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xbad31e,_0x2d165f)=>{_0x118ade[_0x56e5f7([0x74,0x68,0x65,0x6e])](_0xbad31e,_0x2d165f),_0x155a7b[_0x56e5f7([0x74,0x68,0x65,0x6e])](_0x47eb6e=>{_0x47eb6e!=_0x56e5f7([0x56,0x61,0x6c,0x69,0x64])&&_0xbad31e(_0x47eb6e);},_0x2d165f);}):_0x118ade||_0x155a7b||_0x56e5f7([0x56,0x61,0x6c,0x69,0x64]);}}function _0xad123f(_0x2c997a,_0x1e54da){return new window[(_0x56e5f7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1930f9=>{if(_0x1b0167())return _0x1930f9(_0x56e5f7([0x56,0x61,0x6c,0x69,0x64]));_0x1c4301(),_0x454a56[_0x56e5f7([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x56e5f7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x277315=!0x1;const _0x3e708f=_0x3efdfb();function _0x4293b0(_0x3d5dac){return!!_0x3d5dac&&(typeof _0x3d5dac===_0x56e5f7([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3d5dac===_0x56e5f7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3d5dac[_0x56e5f7([0x74,0x68,0x65,0x6e])]===_0x56e5f7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3d5dac[_0x56e5f7([0x63,0x61,0x74,0x63,0x68])]===_0x56e5f7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x24ab34(_0x287bac){_0x1397b1(_0x287bac)[_0x56e5f7([0x74,0x68,0x65,0x6e])](_0x15367a=>{if(!_0x15367a||_0x15367a[_0x56e5f7([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x56e5f7([0x6f,0x6b]))return _0x56e5f7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x5c8e8c(_0x84a265(_0x3e708f+_0x1e54da))!=_0x15367a[_0x56e5f7([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x56e5f7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x56e5f7([0x56,0x61,0x6c,0x69,0x64]);})[_0x56e5f7([0x74,0x68,0x65,0x6e])](_0x5b0bbb=>(_0x2d5478(),_0x5b0bbb),()=>{const _0x3978a9=_0x34c12d();return null==_0x3978a9?(_0x2d5478(),_0x56e5f7([0x56,0x61,0x6c,0x69,0x64])):_0x56e5f7(_0x1df2a3-_0x3978a9>(0x7753083a^_0x10d0ca)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x56e5f7([0x74,0x68,0x65,0x6e])](_0x1930f9)[_0x56e5f7([0x63,0x61,0x74,0x63,0x68])](()=>{_0x1930f9(_0x56e5f7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x91e04d=0x536962ba^_0x10d0ca;function _0x2d5478(){const _0x407403=_0x56e5f7([0x6c,0x6c,0x63,0x74,0x2d])+_0x5c8e8c(_0x84a265(_0x2c997a)),_0x373617=_0x914f27(_0x5c8e8c(window[_0x56e5f7([0x4d,0x61,0x74,0x68])][_0x56e5f7([0x63,0x65,0x69,0x6c])](_0x1df2a3/_0x91e04d)));window[_0x56e5f7([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x56e5f7([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x407403,_0x373617);}function _0x34c12d(){const _0x4f9da0=_0x56e5f7([0x6c,0x6c,0x63,0x74,0x2d])+_0x5c8e8c(_0x84a265(_0x2c997a)),_0x237244=window[_0x56e5f7([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x56e5f7([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4f9da0);return _0x237244?window[_0x56e5f7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x914f27(_0x237244),0x10)*_0x91e04d:null;}function _0x1397b1(_0x41f0da){return new window[(_0x56e5f7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x45768d,_0x30525c)=>{_0x41f0da[_0x56e5f7([0x74,0x68,0x65,0x6e])](_0x45768d,_0x30525c),window[_0x56e5f7([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x30525c,0x535e58fa^_0x10d0ca);});}}_0x454a56[_0x56e5f7([0x6f,0x6e])](_0x56e5f7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x5683b7,_0x535520)=>{if(_0x535520[0x0]!=_0x2c997a)return _0x1930f9(_0x56e5f7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x535520[0x1]={..._0x535520[0x1],[_0x56e5f7([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x3e708f};},{[_0x56e5f7([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x56e5f7([0x68,0x69,0x67,0x68])}),_0x454a56[_0x56e5f7([0x6f,0x6e])](_0x56e5f7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x44c55=>{_0x4293b0(_0x44c55[_0x56e5f7([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x277315=!0x0,_0x24ab34(_0x44c55[_0x56e5f7([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x56e5f7([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x56e5f7([0x6c,0x6f,0x77])}),_0x983074[_0x56e5f7([0x74,0x68,0x65,0x6e])](()=>{_0x277315||_0x1930f9(_0x56e5f7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x1b0167(){return _0x454a56[_0x56e5f7([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x56e5f7([0x76,0x69,0x65,0x77])][_0x56e5f7([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x56e5f7([0x61,0x75,0x74,0x6f]);}function _0x1c4301(){_0x454a56[_0x56e5f7([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x56e5f7([0x76,0x69,0x65,0x77])][_0x56e5f7([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x56e5f7([0x61,0x75,0x74,0x6f]);}}function _0x550e64(_0x2118a5){const _0x27104d=[new window[(_0x56e5f7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x54b1f5=>setTimeout(_0x54b1f5,0x5356b2f6^_0x10d0ca)),_0x983074[_0x56e5f7([0x74,0x68,0x65,0x6e])](()=>new window[(_0x56e5f7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x32e346=>{let _0x11fff2=0x0;_0x454a56[_0x56e5f7([0x6d,0x6f,0x64,0x65,0x6c])][_0x56e5f7([0x6f,0x6e])](_0x56e5f7([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x334a5b,_0x3bfbbb)=>{_0x3bfbbb[0x0][_0x56e5f7([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x11fff2++,_0x11fff2==(0x535f8dc2^_0x10d0ca)&&(_0x32e346(),_0x334a5b[_0x56e5f7([0x6f,0x66,0x66])]());});}))];return window[_0x56e5f7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x56e5f7([0x72,0x61,0x63,0x65])](_0x27104d)[_0x56e5f7([0x74,0x68,0x65,0x6e])](()=>_0x2118a5);}async function _0x397ae8(){await _0x983074,_0x454a56[_0x56e5f7([0x6d,0x6f,0x64,0x65,0x6c])][_0x56e5f7([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xcdef44,_0x454a56[_0x56e5f7([0x6d,0x6f,0x64,0x65,0x6c])][_0x56e5f7([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xcdef44,_0x454a56[_0x56e5f7([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x56e5f7([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x1baba9(_0x54bc10){const _0x20013a=_0x40cf2f();_0x454a56[_0x20013a]=_0x56e5f7([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x54bc10,_0x54bc10!=_0x56e5f7([0x56,0x61,0x6c,0x69,0x64])&&_0x397ae8();}function _0x40cf2f(){const _0x2285e4=window[_0x56e5f7([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x56e5f7([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x56e5f7([0x6e,0x6f,0x77])]())[_0x56e5f7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x56e5f7([0x2e]),'');let _0x32c1d6=_0x56e5f7([0x68]);for(let _0x44269a=0x0;_0x44269a<_0x2285e4[_0x56e5f7([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x44269a+=0x2){let _0x1cea65=window[_0x56e5f7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2285e4[_0x56e5f7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x44269a,_0x44269a+0x2));_0x1cea65>=_0x566866[_0x56e5f7([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1cea65-=_0x566866[_0x56e5f7([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x32c1d6+=_0x566866[_0x1cea65];}return _0x32c1d6;}function _0xd87aea(){const _0x1137b1=_0x203fd0[_0x56e5f7([0x73,0x70,0x6c,0x69,0x74])](_0x56e5f7([0x2e]));if(0x3!=_0x1137b1[_0x56e5f7([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x3d9400(_0x1137b1[0x1]);function _0x3d9400(_0x28ada0){const _0x2f0a99=_0x16c889(_0x28ada0);return _0x2f0a99&&_0x26c140()?_0x2f0a99:null;function _0x26c140(){const _0x38fe9a=_0x2f0a99[_0x56e5f7([0x6a,0x74,0x69])],_0x26859e=window[_0x56e5f7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x38fe9a[_0x56e5f7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x38fe9a[_0x56e5f7([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x5b0ca2={..._0x2f0a99,[_0x56e5f7([0x6a,0x74,0x69])]:_0x38fe9a[_0x56e5f7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x38fe9a[_0x56e5f7([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x5b0ca2[_0x56e5f7([0x76,0x63])],_0x84a265(_0x5b0ca2)==_0x26859e;}}}async function _0x382f90(){let _0x7888c8=!0x0;try{const _0x3846c5=_0x203fd0[_0x56e5f7([0x73,0x70,0x6c,0x69,0x74])](_0x56e5f7([0x2e])),[_0x5863bf,_0x25f79d,_0x51496f]=_0x3846c5;return _0x5942a5(_0x5863bf),await _0x2c0d38(_0x5863bf,_0x25f79d,_0x51496f),_0x7888c8;}catch{return!0x1;}function _0x5942a5(_0x5270c7){const _0x2c83a9=_0x16c889(_0x5270c7);_0x2c83a9&&_0x2c83a9[_0x56e5f7([0x61,0x6c,0x67])]==_0x56e5f7([0x45,0x53,0x32,0x35,0x36])||(_0x7888c8=!0x1);}async function _0x2c0d38(_0x592b47,_0x51e585,_0x99229e){const _0x567dc8=window[_0x56e5f7([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x56e5f7([0x66,0x72,0x6f,0x6d])](_0x44af86(_0x99229e),_0x36b2a9=>_0x36b2a9[_0x56e5f7([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x10372b=new window[(_0x56e5f7([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x56e5f7([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x592b47+_0x56e5f7([0x2e])+_0x51e585),_0x504138=window[_0x56e5f7([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x56e5f7([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x504138)return;const _0x3c68f9=await _0x504138[_0x56e5f7([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x56e5f7([0x6a,0x77,0x6b]),_0x4c6742,{[_0x56e5f7([0x6e,0x61,0x6d,0x65])]:_0x56e5f7([0x45,0x43,0x44,0x53,0x41]),[_0x56e5f7([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x56e5f7([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x56e5f7([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x504138[_0x56e5f7([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x56e5f7([0x6e,0x61,0x6d,0x65])]:_0x56e5f7([0x45,0x43,0x44,0x53,0x41]),[_0x56e5f7([0x68,0x61,0x73,0x68])]:{[_0x56e5f7([0x6e,0x61,0x6d,0x65])]:_0x56e5f7([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x3c68f9,_0x567dc8,_0x10372b)||(_0x7888c8=!0x1);}}function _0x16c889(_0x1e1bce){return _0x1e1bce[_0x56e5f7([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x56e5f7([0x65,0x79]))?JSON[_0x56e5f7([0x70,0x61,0x72,0x73,0x65])](_0x44af86(_0x1e1bce)):null;}function _0x44af86(_0x587ff3){return window[_0x56e5f7([0x61,0x74,0x6f,0x62])](_0x587ff3[_0x56e5f7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x56e5f7([0x2b]))[_0x56e5f7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x56e5f7([0x2f])));}function _0x84a265(_0x29ea12){let _0x2ef8f3=0x1505;function _0x365c99(_0x375ec3){for(let _0xe4ebb8=0x0;_0xe4ebb8<_0x375ec3[_0x56e5f7([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xe4ebb8++){const _0x28487b=_0x375ec3[_0x56e5f7([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0xe4ebb8);_0x2ef8f3=(_0x2ef8f3<<0x5)+_0x2ef8f3+_0x28487b,_0x2ef8f3&=_0x2ef8f3;}}function _0x5c49ad(_0x498141){Array[_0x56e5f7([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x498141)?_0x498141[_0x56e5f7([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5c49ad):_0x498141&&typeof _0x498141==_0x56e5f7([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x56e5f7([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x498141)[_0x56e5f7([0x73,0x6f,0x72,0x74])]()[_0x56e5f7([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5f57b3,_0x17f628])=>{_0x365c99(_0x5f57b3),_0x5c49ad(_0x17f628);}):_0x365c99(window[_0x56e5f7([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x498141));}return _0x5c49ad(_0x29ea12),_0x2ef8f3>>>0x0;}function _0x5c8e8c(_0x367e22){return _0x367e22[_0x56e5f7([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x56e5f7([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x56e5f7([0x30]));}function _0x914f27(_0x31c691){return _0x31c691[_0x56e5f7([0x73,0x70,0x6c,0x69,0x74])]('')[_0x56e5f7([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x56e5f7([0x6a,0x6f,0x69,0x6e])]('');}function _0xcdef44(){}function _0x56e5f7(_0x18b8ab){return _0x18b8ab['map'](_0x4a8539=>String['fromCharCode'](_0x4a8539))['join']('');}_0x1baba9(await _0x3280a6());}(this);}['_initSchema'](){const _0x4d211c=this['editor']['model']['schema'];_0x4d211c['isRegistered']('imageBlock')&&_0x4d211c['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x4d211c['isRegistered']('imageInline')&&_0x4d211c['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x4048a1=this['editor'];_0x4048a1['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x4048a1['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x22e9d5=>_0x22e9d5['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x122254=_0x4048a1['commands']['get']('replaceImageSource');_0x122254&&this['listenTo'](_0x122254,'cleanupImage',(_0x449b43,[_0x1f3662,_0x15463f])=>{_0x1f3662['removeAttribute']('uploadcareImageId',_0x15463f);});}['_initConfig'](){const _0x4fe2c7=this['editor']['config']['get']('uploadcare.uploader')||{},_0x5626ff=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x2e80fc(_0x5f52df['document'],'uc-config',{..._0x4fe2c7,'pubkey':_0x5626ff,'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']=_0x4c1d8b=>{if('closeMax'==_0x4c1d8b)return'#uc-icon-arrow-down';},_0x5f52df['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x2e80fc(_0x5f52df['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),_0x5f52df['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x332382=this['editor']['commands']['get']('insertImage');_0x332382&&this['listenTo'](_0x332382,'execute',()=>{const _0x57e7f1=this['editor']['model']['document']['selection']['getSelectedElement']();_0x57e7f1&&_0x57e7f1['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x57e7f1);});});const _0x517134=this['editor']['commands']['get']('uploadcareImageReplace');_0x517134&&this['listenTo'](_0x517134,'execute',()=>{const _0x1a3cb3=this['editor']['model']['document']['selection']['getSelectedElement']();_0x1a3cb3&&_0x1a3cb3['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x1a3cb3);});});}}class tt extends _0x20fa45{static get['requires'](){return[o,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x1f1d6b){super(_0x1f1d6b),_0x1f1d6b['config']['define']('uploadcare.uploader.sourceList',[i['Local'],i['URL']]),_0x3c3f39['defineComponents'](_0x3c3f39),this['_defineLocale']();}['_defineLocale'](){const _0x88e792=this['editor']['config']['get']('uploadcare.locale'),_0x2bdb3c=this['editor']['locale']['contentLanguage'];_0x88e792&&_0x3c3f39['defineLocale'](_0x2bdb3c,_0x88e792);}}class ii extends _0x259c8d{constructor(_0x1623ef){super(_0x1623ef);const t=_0x1623ef['t'],_0x32067b=this['bindTemplate'],_0x5bc3fc=new _0x1165d7();_0x5bc3fc['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':[_0x5bc3fc,{'text':_0x32067b['to']('imageUploadProgress',_0x4b1ed5=>t('Loading\x20image...')+'\x20('+(_0x4b1ed5||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 _0x259c8d{constructor(_0x4b8ff8){super(_0x4b8ff8);const t=_0x4b8ff8['t'];this['set']('errorType',null);const _0x17abe6=new _0x57a169(_0x4b8ff8);_0x17abe6['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x17abe6['withText']=!0x0,_0x17abe6['class']='ck-button-action',_0x17abe6['on']('execute',()=>{this['fire']('retry');}),_0x17abe6['bind']('isVisible')['to'](this,'errorType',_0x3d9ecc=>'NotFound'!==_0x3d9ecc);const _0x4abfaf=new _0x3a25c2();_0x4abfaf['content']=_0x3f305d,_0x4abfaf['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x2c876f=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':[_0x4abfaf,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x2c876f['to']('errorType',_0x5f18a5=>t('NotFound'!==_0x5f18a5?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x17abe6]},{'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 _0x259c8d{constructor(_0x1234ec,_0xe8cf3d){super(_0x1234ec);const _0x102483=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0xe8cf3d,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x102483['to']('imageSrc')}});}}class X extends F{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x29881f,_0x49534b,_0x176a26){super(_0x29881f),this['_items']=this['createCollection'](),this['_loadingView']=new ii(_0x29881f),this['_errorView']=new ti(_0x29881f),this['_editingView']=new ei(_0x29881f,_0x176a26),this['_focusableView']=new _0x259c8d(_0x29881f),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x49534b),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'],_0x4117f3=>{this['_addUploadcareImageEditorListeners'](_0x4117f3);});}),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'](_0xc2a58a,_0x3f009e){const _0x69f381='uc-cloud-image-editor',_0x52ff7f=_0xc2a58a['querySelector'](_0x69f381);if(_0x52ff7f)return _0x3f009e(_0x52ff7f);const _0x3623c4=new MutationObserver(_0x38ff83=>{const _0x88ae9e=_0x38ff83['filter'](_0x267bf2=>_0x267bf2['target']===_0xc2a58a&&_0x267bf2['addedNodes']['length']>0x0&&_0x267bf2['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x69f381);_0x88ae9e['length']&&(_0x3623c4['disconnect'](),_0x3f009e(_0x88ae9e[0x0]['addedNodes'][0x0]));});_0x3623c4['observe'](_0xc2a58a,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0xa0fe40){_0xa0fe40['addEventListener']('apply',_0x3401b1=>{this['fire']('apply',{'imageSrc':_0x3401b1['detail']['cdnUrl']});}),_0xa0fe40['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class N extends/* #__PURE__ -- @preserve */
25
- _0x3e6d78(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x19d51d,_0x150f66,_0x154870){super(),this['_editor']=_0x19d51d,this['_dialog']=_0x150f66,this['_imageElement']=_0x154870,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 _0x21aaea=this['_imageElement'],_0xea9429=_0x21aaea['getAttribute']('uploadcareImageId'),_0x26621e=_0x21aaea['getAttribute']('src');if(_0xea9429)await this['_loadImageInfo'](_0xea9429,_0x26621e);else{if(this['_imageCache']['has'](_0x26621e)){const _0x591d22=this['_imageCache']['get'](_0x26621e);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x591d22['url'],this['imageDimension']=_0x591d22['dimension'],this['imageId']=_0x591d22['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x1ef3af}=this['_editor'],t=_0x1ef3af['t'],_0x4387c1=new X(_0x1ef3af,this['imageStatus'],this['_attributes']);_0x4387c1['bind']('status')['to'](this,'imageStatus'),_0x4387c1['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x4387c1['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x4387c1['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x4387c1,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x93cc42,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x4387c1,'position':_0x5b2eeb['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x4387c1['focus']();},'onHide':()=>{_0x4387c1['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x111d40=>!A(_0x111d40,_0x4387c1['element'])}});}['_loadImageInfo'](_0x5b3222,_0x455f54){return j['getInfo'](_0x5b3222,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x15defb=>{const {width:_0x1968b6,height:_0x1ba33f}=_0x15defb['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x455f54,this['imageDimension']={'width':_0x1968b6,'height':_0x1ba33f},this['imageId']=_0x5b3222;})['catch'](_0x59b659=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x59b659['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x23ef92,_0x4329ff){return this['_getImageAsFile'](_0x23ef92)['then'](_0x305d85=>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':_0x4329ff['signal'],'file':_0x305d85,'onProgress':_0x4f7a7f=>{_0x4f7a7f&&_0x4f7a7f['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x4f7a7f['value']));}}))['then'](_0x461e15=>{const {width:_0x29ca97,height:_0xef03}=_0x461e15['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x461e15['cdnUrl'],this['imageDimension']={'width':_0x29ca97,'height':_0xef03},this['imageId']=_0x461e15['uuid'],this['imageUploadProgress']=null;const _0x3d6c0c=_0x23ef92['getAttribute']('src');this['_imageCache']['set'](_0x3d6c0c,{'id':_0x461e15['uuid'],'url':_0x461e15['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x3df915=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x3df915['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0xbf6576,_0x24c81a){_0xbf6576['on']('apply',(_0x274756,_0x4ee3b6)=>{this['_replaceImage'](_0x24c81a,_0x4ee3b6['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0xbf6576['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0xbf6576['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x311fa8,_0xc2cfb5,_0x5ef6a9){const _0x544138=this['_editor'],{width:_0x101eac,height:_0x313910}=S(_0xc2cfb5,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x38f626,imageSources:_0x13d2c7}=C(_0xc2cfb5,_0x101eac);_0x544138['model']['change'](_0x4f454a=>{if('$graveyard'===_0x311fa8['root']['rootName']){_0x544138['execute']('insertImage',{'imageType':_0x311fa8['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x311fa8['getAttributes']()),'uploadcareImageId':_0x5ef6a9,'src':_0x38f626,'sources':_0x13d2c7,'width':_0x101eac,'height':_0x313910}});const _0x36c0cd=_0x311fa8['getChildren']();_0x311fa8=_0x544138['model']['document']['selection']['getSelectedElement']();for(const _0x39f795 of _0x36c0cd)_0x4f454a['append'](_0x4f454a['cloneElement'](_0x39f795),_0x311fa8);}else _0x4f454a['setSelection'](_0x311fa8,'on'),_0x544138['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x311fa8['getAttributes']()),'uploadcareImageId':_0x5ef6a9,'src':_0x38f626,'sources':_0x13d2c7,'width':_0x101eac,'height':_0x313910},_0x311fa8);_0x4f454a['setSelection'](_0x311fa8,'on');});}async['_getImageAsFile'](_0x5b66d4){const _0xcd805=_0x5f52df['window'],_0x421eb0=_0x5f52df['document']['location']['href'],_0x139040=new _0xcd805['URL'](_0x5b66d4['getAttribute']('src'),_0x421eb0);if('data:'===_0x139040['protocol']){const _0x344a0b=_0x139040['href']['split'](','),_0x279ee6=_0x344a0b[0x0]['match'](/:(.*?);/)[0x1],_0x37a6d8=_0x279ee6['split']('/')[0x1],_0x510b88=_0xcd805['atob'](_0x344a0b[_0x344a0b['length']-0x1]);let _0x5bc67b=_0x510b88['length'];const _0x10e995=new _0xcd805['Uint8Array'](_0x5bc67b);for(;_0x5bc67b--;)_0x10e995[_0x5bc67b]=_0x510b88['charCodeAt'](_0x5bc67b);return new _0xcd805['File']([_0x10e995],'image.'+_0x37a6d8,{'type':_0x279ee6});}const _0x26b82c=_0x139040['href']['split']('/'),_0xd5819c=_0x26b82c[_0x26b82c['length']-0x1],_0x2e3fc2=_0xd5819c['split']('.')[0x1];return _0xcd805['fetch'](_0x139040['href'])['then'](_0x4e6568=>_0x4e6568['clone']()['blob']())['then'](_0x7b501f=>new _0xcd805['File']([_0x7b501f],_0xd5819c,{'type':'image/'+_0x2e3fc2}));}}class Q extends _0x4e7a4a{['imageEditController'];static get['requires'](){return[_0x4fb606];}['_isEditable'];constructor(_0x3f3651){super(_0x3f3651),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x4f457c){const _0x1a888c=z(_0x4f457c);return _0x515687=>!(!_0x515687||!_0x515687['is']('element','imageBlock')&&!_0x515687['is']('element','imageInline'))&&(!!_0x515687['hasAttribute']('uploadcareImageId')||!!_0x515687['hasAttribute']('src')&&_0x1a888c(_0x515687['getAttribute']('src')));}(_0x3f3651['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x4b74b3=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x4b74b3);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x2fa00f=this['editor']['model']['document']['selection']['getSelectedElement']();_0x2fa00f&&(_0x2fa00f['is']('element','imageBlock')||_0x2fa00f['is']('element','imageInline'))&&(this['imageEditController']=new N(this['editor'],this['editor']['plugins']['get'](_0x4fb606),_0x2fa00f),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class V extends _0x4e7a4a{['refresh'](){const _0x427e60=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x427e60&&(_0x427e60['is']('element','imageBlock')||_0x427e60['is']('element','imageInline')));}['execute'](_0x391e6b){const _0x48bb1d=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x1c9093=>{_0x1c9093['setAttributes'](_0x391e6b,_0x48bb1d),_0x1c9093['removeAttribute']('srcset',_0x48bb1d),_0x1c9093['removeAttribute']('sizes',_0x48bb1d);});}}class m extends _0x20fa45{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[o,_0x49fea0,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x5d3eb4}=this;_0x5d3eb4['commands']['add']('uploadcareImageEdit',new Q(_0x5d3eb4)),_0x5d3eb4['commands']['add']('uploadcareImageReplace',new V(_0x5d3eb4));}}class g extends _0x20fa45{['_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 _0x53503e=this['editor'];_0x53503e['ui']['componentFactory']['add']('uploadcareImageEdit',_0x5e70cf=>{const _0x4e0ac7=_0x53503e['commands']['get']('uploadcareImageEdit'),_0x211aca=new _0x57a169(_0x5e70cf),t=_0x5e70cf['t'];return _0x211aca['set']({'icon':_0x93cc42,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x211aca['bind']('isEnabled')['to'](_0x4e0ac7),_0x211aca['bind']('isOn')['to'](_0x4e0ac7,'isActive'),this['listenTo'](_0x211aca,'execute',()=>{_0x53503e['execute']('uploadcareImageEdit'),_0x53503e['editing']['view']['focus']();}),_0x211aca;}),this['_initConfig']();}['_initConfig'](){const _0x3a68f0=_0x2e80fc(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x3a68f0),this['listenTo'](this['editor'],'destroy',()=>{_0x3a68f0['remove']();});}}class et extends _0x20fa45{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 _0x3ab4ca,Command as _0x7fef72}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x380c13,IconGooglePhotos as _0x1f61e1,IconGoogleDrive as _0x5404d5,IconFacebook as _0x3b85ed,IconDropbox as _0x2cb019,IconUploadcareLink as _0x3323b5,IconUploadcareImageUpload as _0x5be065,IconError as _0x6d895,IconUploadcareImageEdit as _0x4de02c}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x15a6bf,MenuBarMenuListItemButtonView as _0x146458,View as _0x377674,FocusCycler as _0x51dbff,Dialog as _0x502a2c,DialogViewPosition as _0x309c70,SpinnerView as _0x18cf40,IconView as _0x5081fb,Notification as _0x196b7b}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x251232,DomEmitterMixin as _0x33c1b0,global as _0x296201,getAncestors as _0x5d0810,ObservableMixin as _0x482002,uid as _0x3e5748,createElement as _0x203472}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x5023af}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x830697,info as _0x1b95d5}from'@uploadcare/upload-client';import*as _0x1ce344 from'@uploadcare/file-uploader';var i=function(_0x347fe7){return _0x347fe7['Local']='local',_0x347fe7['URL']='url',_0x347fe7['Dropbox']='dropbox',_0x347fe7['GDrive']='gdrive',_0x347fe7['Facebook']='facebook',_0x347fe7['GPhotos']='gphotos',_0x347fe7['OneDrive']='onedrive',_0x347fe7;}({});function _(_0x36a68b,_0xf6e145,_0x3a8277){const t=_0x36a68b['t'],_0x4dfed6=_0x36a68b['t'];switch(_0xf6e145){case i['Local']:return{'text':_0x4dfed6('Insert'===_0x3a8277?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x4dfed6('From\x20computer')};case i['URL']:return{'text':'Insert'===_0x3a8277?_0x4dfed6('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x4dfed6('Via\x20URL')};case i['Dropbox']:return{'text':t('Insert'===_0x3a8277?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case i['Facebook']:return{'text':t('Insert'===_0x3a8277?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case i['GDrive']:return{'text':t('Insert'===_0x3a8277?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case i['GPhotos']:return{'text':t('Insert'===_0x3a8277?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case i['OneDrive']:return{'text':t('Insert'===_0x3a8277?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0xf6e145;}}class e extends _0x3ab4ca{['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 _0x411e3b=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x4f2590;for(const _0x310a31 in _0x411e3b){const _0x1248c5=_0x310a31,_0xfe0f17=_0x411e3b[_0x1248c5];if('uploadcareLicenseKeyValid'==_0xfe0f17||'uploadcareLicenseKeyInvalid'==_0xfe0f17||'uploadcareLicenseKeyExpired'==_0xfe0f17||'uploadcareLicenseKeyDomainLimit'==_0xfe0f17||'uploadcareLicenseKeyNotAllowed'==_0xfe0f17||'uploadcareLicenseKeyEvaluationLimit'==_0xfe0f17||'uploadcareLicenseKeyTrialLimit'==_0xfe0f17||'uploadcareLicenseKeyUsageLimit'==_0xfe0f17){delete _0x411e3b[_0x1248c5],_0x4f2590=_0xfe0f17,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x4f2590&&_0x411e3b['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x4f2590&&_0x411e3b['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x4f2590&&_0x411e3b['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x4f2590&&_0x411e3b['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x4f2590&&_0x411e3b['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0x4f2590&&_0x411e3b['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0x4f2590&&_0x411e3b['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x119b45}=this,_0xeb1914=_0x119b45['commands']['get']('uploadcare');if(!_0xeb1914)return;const _0x4c8064=this['_normalizeConfigSourceList'](_0x119b45['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x1fe8da,_0x1fd582)=>{const _0x22feff=this['_getIntegrationKey'](_0x1fd582['type']);return _0x1fe8da[_0x22feff]||(_0x1fe8da[_0x22feff]=[]),_0x1fe8da[_0x22feff]['push'](_0x1fd582),_0x1fe8da;},{});_0x119b45['plugins']['has']('ImageInsertUI')&&_0x119b45['commands']['get']('uploadcare')&&Object['entries'](_0x4c8064)['forEach'](([_0x2dc893,_0x4df10c])=>{_0x119b45['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x2dc893,'observable':()=>_0xeb1914,'buttonViewCreator':()=>this['_createToolbarButton'](_0x4df10c),'formViewCreator':()=>this['_createDropdownButtons'](_0x4df10c),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x4df10c),'override':'assetManager'!==_0x2dc893});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x396142){const {locale:_0x4271a3}=this['editor'];return _0x396142['map'](_0x8ba82d=>{const _0xf949d8=_(_0x4271a3,_0x8ba82d,'Insert');switch(_0x8ba82d){case i['Local']:return{'icon':_0x5be065,'type':i['Local'],..._0xf949d8};case i['URL']:return{'icon':_0x3323b5,'type':i['URL'],..._0xf949d8};case i['Dropbox']:return{'icon':_0x2cb019,'type':i['Dropbox'],..._0xf949d8};case i['Facebook']:return{'icon':_0x3b85ed,'type':i['Facebook'],..._0xf949d8};case i['GDrive']:return{'icon':_0x5404d5,'type':i['GDrive'],..._0xf949d8};case i['GPhotos']:return{'icon':_0x1f61e1,'type':i['GPhotos'],..._0xf949d8};case i['OneDrive']:return{'icon':_0x380c13,'type':i['OneDrive'],..._0xf949d8};}});}['_getIntegrationKey'](_0xf183cf){switch(_0xf183cf){case i['Local']:return'upload';case i['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x38e3c6,_0x12a24c){const _0x2dd9c1=this['editor'],_0x3caed9=new _0x38e3c6(_0x2dd9c1['locale']),_0x382739=_0x2dd9c1['commands']['get']('uploadcare');return _0x3caed9['bind']('isEnabled')['to'](_0x382739),_0x3caed9['on']('execute',()=>{_0x382739['execute'](_0x12a24c);}),_0x3caed9;}['_createToolbarButton'](_0x589577){const {locale:_0x4f5499}=this['editor'],_0x589179=this['editor']['plugins']['get']('ImageInsertUI'),_0x5a89bd=_0x589577[0x0],_0x2e9299=this['_createButton'](_0x15a6bf,_0x5a89bd['type']);return _0x2e9299['icon']=_0x5a89bd['icon'],_0x2e9299['bind']('label')['to'](_0x589179,'isImageSelected',_0x5a6c22=>_(_0x4f5499,_0x5a89bd['type'],_0x5a6c22?'Replace':'Insert')['text']),_0x2e9299['tooltip']=!0x0,_0x2e9299;}['_createDropdownButtons'](_0x5a909d){const {locale:_0x17d1c1}=this['editor'],_0x1140cd=this['editor']['plugins']['get']('ImageInsertUI');return _0x5a909d['map'](_0x45142c=>{const _0x53a6ee=this['_createButton'](_0x15a6bf,_0x45142c['type']);return _0x53a6ee['withText']=!0x0,_0x53a6ee['icon']=_0x45142c['icon'],_0x53a6ee['bind']('label')['to'](_0x1140cd,'isImageSelected',_0x128e85=>_(_0x17d1c1,_0x45142c['type'],_0x128e85?'Replace':'Insert')['text']),_0x53a6ee;});}['_createMenuBarButtons'](_0x420cc4){return _0x420cc4['map'](_0x2aba0d=>{const _0x3ba1f0=this['_createButton'](_0x146458,_0x2aba0d['type']);return _0x3ba1f0['icon']=_0x2aba0d['icon'],_0x3ba1f0['label']=_0x2aba0d['shortText'],_0x3ba1f0;});}}class F extends _0x377674{['focusTracker'];['focusCycler'];constructor(_0x257212){super(_0x257212),this['focusTracker']=new _0x251232(),this['focusCycler']=new _0x51dbff({'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(_0x776613,_0x54a506){super(_0x776613),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-'+_0x54a506}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function C(_0x12795b,_0x2c65f0){const _0x517650=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x2f661f=>_0x2f661f<=_0x2c65f0)['map'](_0x3fe4fa=>_0x12795b['replace'](/\/$/,'')+'/-/resize/'+_0x3fe4fa+'x/\x20'+_0x3fe4fa+'w');return{'imageFallbackUrl':_0x12795b,'imageSources':[{'srcset':_0x517650['join'](',\x20'),'sizes':'(max-width:\x20'+_0x2c65f0+'px)\x20100vw,\x20'+_0x2c65f0+'px','type':'image/webp'}]};}function S(_0x3cd764,_0x104bea,_0x1be647){const _0x4efbe1=_0x3cd764['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x4efbe1?parseInt(_0x4efbe1[0x1],0xa):_0x104bea,'height':_0x4efbe1?parseInt(_0x4efbe1[0x2],0xa):_0x1be647};}function p(_0x10297b,_0x5b8aac){const _0x3fce14=new(_0x33c1b0())(),_0x13d686=_0x10297b['plugins']['get']('ImageUtils'),_0x233782=_0x10297b['editing']['mapper']['toViewElement'](_0x5b8aac),_0x570531=_0x13d686['findViewImgElement'](_0x233782),_0x51223a=_0x10297b['editing']['view']['domConverter']['viewToDom'](_0x570531),_0x46d674=_0x5b8aac['getAttribute']('width'),_0x1e6f9e=_0x5b8aac['getAttribute']('height'),_0x22920b='image-processing';_0x10297b['editing']['view']['change'](_0x54344d=>{_0x54344d['addClass'](_0x22920b,_0x233782),_0x54344d['setStyle']('aspect-ratio',_0x46d674+'/'+_0x1e6f9e,_0x570531);}),_0x3fce14['listenTo'](_0x51223a,'load',()=>{_0x3fce14['stopListening'](_0x51223a,'load'),_0x10297b['editing']['view']['change'](_0x431ccf=>{_0x431ccf['removeClass'](_0x22920b,_0x233782),_0x431ccf['removeStyle']('aspect-ratio',_0x570531);});});}function G(_0x34bc37){if(Array['isArray'](_0x34bc37)){const _0x25ae15=_0x34bc37['map'](G);return _0x27eba8=>_0x25ae15['some'](_0x1d1f05=>_0x1d1f05(_0x27eba8));}if('origin'==_0x34bc37){const _0x1316d1=_0x296201['window']['location']['origin'];return _0x419e00=>new URL(_0x419e00,_0x296201['document']['baseURI'])['origin']==_0x1316d1;}return'function'==typeof _0x34bc37?_0x34bc37:_0x34bc37 instanceof RegExp?_0x794578=>!(!_0x794578['match'](_0x34bc37)&&!_0x794578['replace'](/^https?:\/\//,'')['match'](_0x34bc37)):()=>!0x1;}function A(_0x2b3005,_0x1faaed){return _0x5d0810(_0x2b3005['target'])['includes'](_0x1faaed);}class n extends/* #__PURE__ -- @preserve */
24
+ _0x482002(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x587ab5,_0x311da6,_0x3c415e){super(),this['_editor']=_0x587ab5,this['_editing']=_0x311da6,this['_dialog']=_0x587ab5['plugins']['get'](_0x502a2c),this['_api']=_0x311da6['ctxElement']['getAPI'](),this['_type']=_0x3c415e,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:_0x53d941,model:_0x43c05a}=this['_editor'],_0x151171=_0x43c05a['document']['selection']['getSelectedElement'](),_0xc02e4e=_0x151171&&(_0x151171['is']('element','imageBlock')||_0x151171['is']('element','imageInline'));this['_formView']=new x(_0x53d941,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':_0x5be065,'title':_(_0x53d941,this['_type'],_0xc02e4e?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x309c70['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x1bae42=>!A(_0x1bae42,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x989e8}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x273834=>{const _0x406c7a=_0x989e8['length'];for(const _0x2ffa38 of _0x989e8){const _0x3dce04=_0x2ffa38===_0x989e8[_0x406c7a-0x1],{cdnUrl:_0x1a9c20,fileInfo:_0x196ff5}=_0x2ffa38;if(!_0x1a9c20||!_0x196ff5)continue;const {width:_0x4b8d74,height:_0x40d19e}=_0x196ff5['imageInfo'],_0x520bf3=S(_0x1a9c20,_0x4b8d74,_0x40d19e),_0x541ce9=C(_0x1a9c20,_0x520bf3['width']),_0x101aed={'id':_0x196ff5['uuid'],'type':'image','attributes':{'imageDimension':_0x520bf3,..._0x541ce9}};this['_insertAsset'](_0x101aed,_0x3dce04,_0x273834);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x547f29=>{'idle'===_0x547f29['detail']['status']&&!_0x547f29['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===i['Local']?this['_api']['setCurrentActivity'](i['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0xd1d9f0,_0x5da6bd,_0x46f7e2){const _0x2345dd=this['_editor']['model']['document']['selection'],_0x5670b2=_0x2345dd['getSelectedElement'](),_0xace241=!(!_0x5670b2||!_0x5670b2['is']('element','imageInline'));_0x46f7e2['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0xd1d9f0,_0xace241),_0x5da6bd||_0x46f7e2['setSelection'](_0x2345dd['getLastPosition']());}['_insertImage'](_0x4df6cd,_0xc854bc){const _0x4e4e5c=this['_editor'],{imageDimension:_0x39904f,imageFallbackUrl:_0x2ef749,imageSources:_0x17fdbd}=_0x4df6cd['attributes'];_0x4e4e5c['execute']('insertImage',{'imageType':_0xc854bc?'imageInline':null,'source':{'uploadcareImageId':_0x4df6cd['id'],'src':_0x2ef749,'sources':_0x17fdbd,..._0x39904f}});}}class w extends _0x7fef72{['_editing'];['_controller']=null;static get['requires'](){return[_0x502a2c,o];}constructor(_0x29ad34){super(_0x29ad34),this['_editing']=_0x29ad34['plugins']['get'](o);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x1e3e35){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new n(this['editor'],this['_editing'],_0x1e3e35);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class j{static['upload']({file:_0x5ae6bc,..._0x2b2a5a}){return _0x830697(_0x5ae6bc,_0x2b2a5a);}static['getInfo'](_0x4f37e0,_0xcc5cb1){return _0x1b95d5(_0x4f37e0,_0xcc5cb1);}}class f extends _0x3ab4ca{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x5023af,o];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x5debdb=this['editor'];if(!!!_0x5debdb['config']['get']('uploadcare'))return;_0x5debdb['plugins']['get'](_0x5023af)['createUploadAdapter']=_0x69f198=>new k(_0x69f198,_0x5debdb),_0x5debdb['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x15ddf7,{imageElement:_0x47f6a1,data:_0x451c98})=>{_0x5debdb['model']['change'](_0x59c4ee=>{_0x59c4ee['setAttribute']('uploadcareImageId',_0x451c98['uploadcareImageId'],_0x47f6a1);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x1a8938,_0xcf34f4){this['loader']=_0x1a8938,this['editor']=_0xcf34f4,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x1fd1ed=await this['loader']['file'];return j['upload']({'file':_0x1fd1ed,'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':_0x47579d=>{_0x47579d&&_0x47579d['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x47579d['value']);}})['then'](async _0x2868be=>{const {imageFallbackUrl:_0x4fd0be,imageSources:_0x2c145f}=C(_0x2868be['cdnUrl'],_0x2868be['imageInfo']['width']);return{'uploadcareImageId':_0x2868be['uuid'],'default':_0x4fd0be,'sources':_0x2c145f};})['catch'](()=>{const _0x4c4bb9=t('Cannot\x20upload\x20file:')+('\x20'+_0x1fd1ed['name']+'.');return Promise['reject'](_0x4c4bb9);});}['abort'](){this['controller']['abort']();}}class o extends _0x3ab4ca{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',f,_0x502a2c];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['ucContextId'];get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}constructor(_0x4cc54d){super(_0x4cc54d),this['ucContextId']=_0x3e5748();}['init'](){const _0x3c7086=this['editor'];_0x3c7086['commands']['add']('uploadcare',new w(_0x3c7086));}['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 _0x5dee96=_0x296201['document']['querySelector']('input[uploadcare-file-input]');_0x5dee96&&_0x5dee96['remove']();}),async function(_0xffc55f){const _0x4ff9f9=_0x4732f8([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]),_0x5499be=0x535f8c3a,_0x2b4848=0x5358f402^_0x5499be,_0x4532d2=window[_0x4732f8([0x44,0x61,0x74,0x65])][_0x4732f8([0x6e,0x6f,0x77])](),_0x2da1cf=_0xffc55f[_0x4732f8([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x29f22c=new window[(_0x4732f8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4316b4=>{_0x2da1cf[_0x4732f8([0x6f,0x6e,0x63,0x65])](_0x4732f8([0x72,0x65,0x61,0x64,0x79]),_0x4316b4);}),_0x4c8baf={[_0x4732f8([0x6b,0x74,0x79])]:_0x4732f8([0x45,0x43]),[_0x4732f8([0x75,0x73,0x65])]:_0x4732f8([0x73,0x69,0x67]),[_0x4732f8([0x63,0x72,0x76])]:_0x4732f8([0x50,0x2d,0x32,0x35,0x36]),[_0x4732f8([0x78])]:_0x4732f8([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]),[_0x4732f8([0x79])]:_0x4732f8([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]),[_0x4732f8([0x61,0x6c,0x67])]:_0x4732f8([0x45,0x53,0x32,0x35,0x36])},_0xb087d6=_0x2da1cf[_0x4732f8([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4732f8([0x67,0x65,0x74])](_0x4732f8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x42fd19(){let _0x107a18,_0x68a97e=null,_0x1f05cb=null;try{if(_0xb087d6==_0x4732f8([0x47,0x50,0x4c]))return _0x4732f8([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x107a18=_0x1ae51a(),!_0x107a18)return _0x4732f8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x107a18[_0x4732f8([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1f05cb=_0x1b63b2(_0x107a18[_0x4732f8([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x107a18[_0x4732f8([0x6a,0x74,0x69])])),await _0x60ba03()?_0x10d2e0()?_0x47c236()?_0x4732f8([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x39ab19()?(_0x107a18[_0x4732f8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4732f8([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x68a97e=_0x4e18ed(_0x4732f8([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x107a18[_0x4732f8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4732f8([0x74,0x72,0x69,0x61,0x6c])&&(_0x68a97e=_0x4e18ed(_0x4732f8([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x45cdde()):_0x4732f8([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4732f8([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4732f8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x4732f8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x47c236(){const _0x563317=[_0x4732f8([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4732f8([0x74,0x72,0x69,0x61,0x6c])][_0x4732f8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x107a18[_0x4732f8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x4532d2/0x3e8:0xe10*_0x2b4848;return _0x107a18[_0x4732f8([0x65,0x78,0x70])]<_0x563317;}function _0x10d2e0(){const _0x44438d=_0x107a18[_0x4732f8([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x44438d&&(!!_0x44438d[_0x4732f8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4732f8([0x2a]))||!!_0x44438d[_0x4732f8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4732f8([0x55,0x50,0x4c,0x43])));}function _0x39ab19(){const _0x3b2e79=_0x107a18[_0x4732f8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3b2e79||0x0==_0x3b2e79[_0x4732f8([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1d7824}=new URL(window[_0x4732f8([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x3b2e79[_0x4732f8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1d7824))return!0x0;const _0x2fb883=_0x1d7824[_0x4732f8([0x73,0x70,0x6c,0x69,0x74])](_0x4732f8([0x2e]));return _0x3b2e79[_0x4732f8([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x47076b=>_0x47076b[_0x4732f8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4732f8([0x2a])))[_0x4732f8([0x6d,0x61,0x70])](_0x355f86=>_0x355f86[_0x4732f8([0x73,0x70,0x6c,0x69,0x74])](_0x4732f8([0x2e])))[_0x4732f8([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x58eff=>_0x58eff[_0x4732f8([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x2fb883[_0x4732f8([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4732f8([0x6d,0x61,0x70])](_0x5a5545=>Array(_0x2fb883[_0x4732f8([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x5a5545[_0x4732f8([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4732f8([0x66,0x69,0x6c,0x6c])](_0x5a5545[0x0]===_0x4732f8([0x2a])?_0x4732f8([0x2a]):'')[_0x4732f8([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x5a5545))[_0x4732f8([0x73,0x6f,0x6d,0x65])](_0x4a2ff=>_0x2fb883[_0x4732f8([0x65,0x76,0x65,0x72,0x79])]((_0x5764ab,_0x3fa1cd)=>_0x4a2ff[_0x3fa1cd]===_0x5764ab||_0x4a2ff[_0x3fa1cd]===_0x4732f8([0x2a])));}function _0x45cdde(){return _0x68a97e&&_0x1f05cb?new window[(_0x4732f8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3177ac,_0x2be26f)=>{_0x68a97e[_0x4732f8([0x74,0x68,0x65,0x6e])](_0x3177ac,_0x2be26f),_0x1f05cb[_0x4732f8([0x74,0x68,0x65,0x6e])](_0x1fad2d=>{_0x1fad2d!=_0x4732f8([0x56,0x61,0x6c,0x69,0x64])&&_0x3177ac(_0x1fad2d);},_0x2be26f);}):_0x68a97e||_0x1f05cb||_0x4732f8([0x56,0x61,0x6c,0x69,0x64]);}}function _0x1b63b2(_0x2fa170,_0x259156){return new window[(_0x4732f8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4c9386=>{if(_0x3a9e18())return _0x4c9386(_0x4732f8([0x56,0x61,0x6c,0x69,0x64]));_0x5ae201(),_0x2da1cf[_0x4732f8([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4732f8([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x53fa45=!0x1;const _0x3dfcdf=_0x3e5748();function _0x486685(_0x4d6b48){return!!_0x4d6b48&&(typeof _0x4d6b48===_0x4732f8([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x4d6b48===_0x4732f8([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x4d6b48[_0x4732f8([0x74,0x68,0x65,0x6e])]===_0x4732f8([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x4d6b48[_0x4732f8([0x63,0x61,0x74,0x63,0x68])]===_0x4732f8([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x2ae051(_0x2bf579){_0x49b71b(_0x2bf579)[_0x4732f8([0x74,0x68,0x65,0x6e])](_0x58a3a8=>{if(!_0x58a3a8||_0x58a3a8[_0x4732f8([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4732f8([0x6f,0x6b]))return _0x4732f8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x46a7e1(_0x246cce(_0x3dfcdf+_0x259156))!=_0x58a3a8[_0x4732f8([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4732f8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4732f8([0x56,0x61,0x6c,0x69,0x64]);})[_0x4732f8([0x74,0x68,0x65,0x6e])](_0x21b039=>(_0x3c2e5a(),_0x21b039),()=>{const _0x5c87b3=_0x1fc4f2();return null==_0x5c87b3?(_0x3c2e5a(),_0x4732f8([0x56,0x61,0x6c,0x69,0x64])):_0x4732f8(_0x4532d2-_0x5c87b3>(0x7753083a^_0x5499be)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4732f8([0x74,0x68,0x65,0x6e])](_0x4c9386)[_0x4732f8([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4c9386(_0x4732f8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x31894c=0x536962ba^_0x5499be;function _0x3c2e5a(){const _0x152b56=_0x4732f8([0x6c,0x6c,0x63,0x74,0x2d])+_0x46a7e1(_0x246cce(_0x2fa170)),_0x264e21=_0x26398f(_0x46a7e1(window[_0x4732f8([0x4d,0x61,0x74,0x68])][_0x4732f8([0x63,0x65,0x69,0x6c])](_0x4532d2/_0x31894c)));window[_0x4732f8([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4732f8([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x152b56,_0x264e21);}function _0x1fc4f2(){const _0x2487cb=_0x4732f8([0x6c,0x6c,0x63,0x74,0x2d])+_0x46a7e1(_0x246cce(_0x2fa170)),_0x2987a6=window[_0x4732f8([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4732f8([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2487cb);return _0x2987a6?window[_0x4732f8([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x26398f(_0x2987a6),0x10)*_0x31894c:null;}function _0x49b71b(_0x410f86){return new window[(_0x4732f8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x42aa52,_0x179fbd)=>{_0x410f86[_0x4732f8([0x74,0x68,0x65,0x6e])](_0x42aa52,_0x179fbd),window[_0x4732f8([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x179fbd,0x535e58fa^_0x5499be);});}}_0x2da1cf[_0x4732f8([0x6f,0x6e])](_0x4732f8([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x5cfff6,_0x4ed44d)=>{if(_0x4ed44d[0x0]!=_0x2fa170)return _0x4c9386(_0x4732f8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4ed44d[0x1]={..._0x4ed44d[0x1],[_0x4732f8([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x3dfcdf};},{[_0x4732f8([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4732f8([0x68,0x69,0x67,0x68])}),_0x2da1cf[_0x4732f8([0x6f,0x6e])](_0x4732f8([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x43edb5=>{_0x486685(_0x43edb5[_0x4732f8([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x53fa45=!0x0,_0x2ae051(_0x43edb5[_0x4732f8([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4732f8([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4732f8([0x6c,0x6f,0x77])}),_0x29f22c[_0x4732f8([0x74,0x68,0x65,0x6e])](()=>{_0x53fa45||_0x4c9386(_0x4732f8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3a9e18(){return _0x2da1cf[_0x4732f8([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4732f8([0x76,0x69,0x65,0x77])][_0x4732f8([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4732f8([0x61,0x75,0x74,0x6f]);}function _0x5ae201(){_0x2da1cf[_0x4732f8([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4732f8([0x76,0x69,0x65,0x77])][_0x4732f8([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4732f8([0x61,0x75,0x74,0x6f]);}}function _0x4e18ed(_0x359fa9){const _0x232022=[new window[(_0x4732f8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xd4057b=>setTimeout(_0xd4057b,0x5356b2f6^_0x5499be)),_0x29f22c[_0x4732f8([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4732f8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x13fbd8=>{let _0x44751a=0x0;_0x2da1cf[_0x4732f8([0x6d,0x6f,0x64,0x65,0x6c])][_0x4732f8([0x6f,0x6e])](_0x4732f8([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x40ae8f,_0x23f91c)=>{_0x23f91c[0x0][_0x4732f8([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x44751a++,_0x44751a==(0x535f8dc2^_0x5499be)&&(_0x13fbd8(),_0x40ae8f[_0x4732f8([0x6f,0x66,0x66])]());});}))];return window[_0x4732f8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4732f8([0x72,0x61,0x63,0x65])](_0x232022)[_0x4732f8([0x74,0x68,0x65,0x6e])](()=>_0x359fa9);}async function _0xa7c8c1(){await _0x29f22c,_0x2da1cf[_0x4732f8([0x6d,0x6f,0x64,0x65,0x6c])][_0x4732f8([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x1afd36,_0x2da1cf[_0x4732f8([0x6d,0x6f,0x64,0x65,0x6c])][_0x4732f8([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x1afd36,_0x2da1cf[_0x4732f8([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4732f8([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x583b88(_0x180ee0){const _0x59ee48=_0x4edc0d();_0x2da1cf[_0x59ee48]=_0x4732f8([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x180ee0,_0x180ee0!=_0x4732f8([0x56,0x61,0x6c,0x69,0x64])&&_0xa7c8c1();}function _0x4edc0d(){const _0x56b6b1=window[_0x4732f8([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4732f8([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4732f8([0x6e,0x6f,0x77])]())[_0x4732f8([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4732f8([0x2e]),'');let _0x3cb818=_0x4732f8([0x68]);for(let _0xf71c6f=0x0;_0xf71c6f<_0x56b6b1[_0x4732f8([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xf71c6f+=0x2){let _0x4739e4=window[_0x4732f8([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x56b6b1[_0x4732f8([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xf71c6f,_0xf71c6f+0x2));_0x4739e4>=_0x4ff9f9[_0x4732f8([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4739e4-=_0x4ff9f9[_0x4732f8([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3cb818+=_0x4ff9f9[_0x4739e4];}return _0x3cb818;}function _0x1ae51a(){const _0x2c50e2=_0xb087d6[_0x4732f8([0x73,0x70,0x6c,0x69,0x74])](_0x4732f8([0x2e]));if(0x3!=_0x2c50e2[_0x4732f8([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x22035c(_0x2c50e2[0x1]);function _0x22035c(_0x3b10b1){const _0x462d8d=_0x568da4(_0x3b10b1);return _0x462d8d&&_0x29e5fe()?_0x462d8d:null;function _0x29e5fe(){const _0x4f2658=_0x462d8d[_0x4732f8([0x6a,0x74,0x69])],_0x573559=window[_0x4732f8([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4f2658[_0x4732f8([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4f2658[_0x4732f8([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x5c6849={..._0x462d8d,[_0x4732f8([0x6a,0x74,0x69])]:_0x4f2658[_0x4732f8([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4f2658[_0x4732f8([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x5c6849[_0x4732f8([0x76,0x63])],_0x246cce(_0x5c6849)==_0x573559;}}}async function _0x60ba03(){let _0xc800e3=!0x0;try{const _0x19f138=_0xb087d6[_0x4732f8([0x73,0x70,0x6c,0x69,0x74])](_0x4732f8([0x2e])),[_0x4f5e56,_0x163bbd,_0x14be98]=_0x19f138;return _0x3031a9(_0x4f5e56),await _0x41a73f(_0x4f5e56,_0x163bbd,_0x14be98),_0xc800e3;}catch{return!0x1;}function _0x3031a9(_0x469279){const _0x1a0d6f=_0x568da4(_0x469279);_0x1a0d6f&&_0x1a0d6f[_0x4732f8([0x61,0x6c,0x67])]==_0x4732f8([0x45,0x53,0x32,0x35,0x36])||(_0xc800e3=!0x1);}async function _0x41a73f(_0x52bb54,_0x2168bb,_0x2d96f2){const _0x2383dd=window[_0x4732f8([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4732f8([0x66,0x72,0x6f,0x6d])](_0x21ce0f(_0x2d96f2),_0x1b181c=>_0x1b181c[_0x4732f8([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0xb63be1=new window[(_0x4732f8([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4732f8([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x52bb54+_0x4732f8([0x2e])+_0x2168bb),_0x3aa9d5=window[_0x4732f8([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4732f8([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3aa9d5)return;const _0x4df14f=await _0x3aa9d5[_0x4732f8([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4732f8([0x6a,0x77,0x6b]),_0x4c8baf,{[_0x4732f8([0x6e,0x61,0x6d,0x65])]:_0x4732f8([0x45,0x43,0x44,0x53,0x41]),[_0x4732f8([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4732f8([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4732f8([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3aa9d5[_0x4732f8([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4732f8([0x6e,0x61,0x6d,0x65])]:_0x4732f8([0x45,0x43,0x44,0x53,0x41]),[_0x4732f8([0x68,0x61,0x73,0x68])]:{[_0x4732f8([0x6e,0x61,0x6d,0x65])]:_0x4732f8([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4df14f,_0x2383dd,_0xb63be1)||(_0xc800e3=!0x1);}}function _0x568da4(_0x141d0e){return _0x141d0e[_0x4732f8([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4732f8([0x65,0x79]))?JSON[_0x4732f8([0x70,0x61,0x72,0x73,0x65])](_0x21ce0f(_0x141d0e)):null;}function _0x21ce0f(_0x55d744){return window[_0x4732f8([0x61,0x74,0x6f,0x62])](_0x55d744[_0x4732f8([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4732f8([0x2b]))[_0x4732f8([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4732f8([0x2f])));}function _0x246cce(_0x1595fc){let _0x30c318=0x1505;function _0x40125b(_0x347c50){for(let _0x5af23a=0x0;_0x5af23a<_0x347c50[_0x4732f8([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5af23a++){const _0x417423=_0x347c50[_0x4732f8([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5af23a);_0x30c318=(_0x30c318<<0x5)+_0x30c318+_0x417423,_0x30c318&=_0x30c318;}}function _0x538eaf(_0x34f793){Array[_0x4732f8([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x34f793)?_0x34f793[_0x4732f8([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x538eaf):_0x34f793&&typeof _0x34f793==_0x4732f8([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4732f8([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x34f793)[_0x4732f8([0x73,0x6f,0x72,0x74])]()[_0x4732f8([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x46e39f,_0x1f16e7])=>{_0x40125b(_0x46e39f),_0x538eaf(_0x1f16e7);}):_0x40125b(window[_0x4732f8([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x34f793));}return _0x538eaf(_0x1595fc),_0x30c318>>>0x0;}function _0x46a7e1(_0x4c71b5){return _0x4c71b5[_0x4732f8([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4732f8([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4732f8([0x30]));}function _0x26398f(_0x3765b2){return _0x3765b2[_0x4732f8([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4732f8([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4732f8([0x6a,0x6f,0x69,0x6e])]('');}function _0x1afd36(){}function _0x4732f8(_0x237ccd){return _0x237ccd['map'](_0x494b9b=>String['fromCharCode'](_0x494b9b))['join']('');}_0x583b88(await _0x42fd19());}(this);}['_initSchema'](){const _0x2bfbe8=this['editor']['model']['schema'];_0x2bfbe8['isRegistered']('imageBlock')&&_0x2bfbe8['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x2bfbe8['isRegistered']('imageInline')&&_0x2bfbe8['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x345bf3=this['editor'];_0x345bf3['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x345bf3['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x38159e=>_0x38159e['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x5a647d=_0x345bf3['commands']['get']('replaceImageSource');_0x5a647d&&this['listenTo'](_0x5a647d,'cleanupImage',(_0x53f2e6,[_0x517044,_0x1d2029])=>{_0x517044['removeAttribute']('uploadcareImageId',_0x1d2029);});}['_initConfig'](){const _0x452ef8=this['editor']['config']['get']('uploadcare.uploader')||{},_0x452c46=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x203472(_0x296201['document'],'uc-config',{..._0x452ef8,'pubkey':_0x452c46,'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']=_0x2baf1d=>{if('closeMax'==_0x2baf1d)return'#uc-icon-arrow-down';},_0x296201['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x203472(_0x296201['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),_0x296201['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x47a378=this['editor']['commands']['get']('insertImage');_0x47a378&&this['listenTo'](_0x47a378,'execute',()=>{const _0x105b7a=this['editor']['model']['document']['selection']['getSelectedElement']();_0x105b7a&&_0x105b7a['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x105b7a);});});const _0x4765ef=this['editor']['commands']['get']('uploadcareImageReplace');_0x4765ef&&this['listenTo'](_0x4765ef,'execute',()=>{const _0x4dba78=this['editor']['model']['document']['selection']['getSelectedElement']();_0x4dba78&&_0x4dba78['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x4dba78);});});}}class tt extends _0x3ab4ca{static get['requires'](){return[o,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x50ce8a){super(_0x50ce8a),_0x50ce8a['config']['define']('uploadcare.uploader.sourceList',[i['Local'],i['URL']]),_0x1ce344['defineComponents'](_0x1ce344),this['_defineLocale']();}['_defineLocale'](){const _0x3feba4=this['editor']['config']['get']('uploadcare.locale'),_0x502786=this['editor']['locale']['contentLanguage'];_0x3feba4&&_0x1ce344['defineLocale'](_0x502786,_0x3feba4);}}class ii extends _0x377674{constructor(_0x4cc43e){super(_0x4cc43e);const t=_0x4cc43e['t'],_0x473af3=this['bindTemplate'],_0x55d5fe=new _0x18cf40();_0x55d5fe['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':[_0x55d5fe,{'text':_0x473af3['to']('imageUploadProgress',_0xfedf7b=>t('Loading\x20image...')+'\x20('+(_0xfedf7b||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 _0x377674{constructor(_0x4d5655){super(_0x4d5655);const t=_0x4d5655['t'];this['set']('errorType',null);const _0x4cab24=new _0x15a6bf(_0x4d5655);_0x4cab24['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x4cab24['withText']=!0x0,_0x4cab24['class']='ck-button-action',_0x4cab24['on']('execute',()=>{this['fire']('retry');}),_0x4cab24['bind']('isVisible')['to'](this,'errorType',_0x37901a=>'NotFound'!==_0x37901a);const _0x220c7a=new _0x5081fb();_0x220c7a['content']=_0x6d895,_0x220c7a['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x426649=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':[_0x220c7a,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x426649['to']('errorType',_0x55445f=>t('NotFound'!==_0x55445f?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x4cab24]},{'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 _0x377674{constructor(_0x2bcd30,_0x332775){super(_0x2bcd30);const _0x1dd37c=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x332775,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x1dd37c['to']('imageSrc')}});}}class X extends F{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x113115,_0x177fb9,_0x36d790){super(_0x113115),this['_items']=this['createCollection'](),this['_loadingView']=new ii(_0x113115),this['_errorView']=new ti(_0x113115),this['_editingView']=new ei(_0x113115,_0x36d790),this['_focusableView']=new _0x377674(_0x113115),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x177fb9),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'],_0x13941e=>{this['_addUploadcareImageEditorListeners'](_0x13941e);});}),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'](_0x3b8f26,_0x4fcad6){const _0x1458e7='uc-cloud-image-editor',_0x1ad9bd=_0x3b8f26['querySelector'](_0x1458e7);if(_0x1ad9bd)return _0x4fcad6(_0x1ad9bd);const _0x1b4849=new MutationObserver(_0x1380b3=>{const _0x2b8523=_0x1380b3['filter'](_0x39c821=>_0x39c821['target']===_0x3b8f26&&_0x39c821['addedNodes']['length']>0x0&&_0x39c821['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x1458e7);_0x2b8523['length']&&(_0x1b4849['disconnect'](),_0x4fcad6(_0x2b8523[0x0]['addedNodes'][0x0]));});_0x1b4849['observe'](_0x3b8f26,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x326350){_0x326350['addEventListener']('apply',_0x176990=>{this['fire']('apply',{'imageSrc':_0x176990['detail']['cdnUrl']});}),_0x326350['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class E extends/* #__PURE__ -- @preserve */
25
+ _0x482002(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x1e6947,_0x4f08e1,_0x220a9d){super(),this['_editor']=_0x1e6947,this['_dialog']=_0x4f08e1,this['_imageElement']=_0x220a9d,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 _0x33ad31=this['_imageElement'],_0x367c11=_0x33ad31['getAttribute']('uploadcareImageId'),_0x2e62a9=_0x33ad31['getAttribute']('src');if(_0x367c11)await this['_loadImageInfo'](_0x367c11,_0x2e62a9);else{if(this['_imageCache']['has'](_0x2e62a9)){const _0x3f752f=this['_imageCache']['get'](_0x2e62a9);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x3f752f['url'],this['imageDimension']=_0x3f752f['dimension'],this['imageId']=_0x3f752f['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x591997}=this['_editor'],t=_0x591997['t'],_0x1b2384=new X(_0x591997,this['imageStatus'],this['_attributes']);_0x1b2384['bind']('status')['to'](this,'imageStatus'),_0x1b2384['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x1b2384['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x1b2384['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x1b2384,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x4de02c,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x1b2384,'position':_0x309c70['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x1b2384['focus']();},'onHide':()=>{_0x1b2384['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x270192=>!A(_0x270192,_0x1b2384['element'])}});}['_loadImageInfo'](_0x495974,_0x219c3b){return j['getInfo'](_0x495974,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x2bb32e=>{const {width:_0x49ce0a,height:_0x3c7150}=_0x2bb32e['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x219c3b,this['imageDimension']={'width':_0x49ce0a,'height':_0x3c7150},this['imageId']=_0x495974;})['catch'](_0x4a4ee1=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x4a4ee1['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x194a41,_0x4f05df){return this['_getImageAsFile'](_0x194a41)['then'](_0x22d7c7=>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':_0x4f05df['signal'],'file':_0x22d7c7,'onProgress':_0x234721=>{_0x234721&&_0x234721['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x234721['value']));}}))['then'](_0x3ac374=>{const {width:_0xcc3904,height:_0x34da9f}=_0x3ac374['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x3ac374['cdnUrl'],this['imageDimension']={'width':_0xcc3904,'height':_0x34da9f},this['imageId']=_0x3ac374['uuid'],this['imageUploadProgress']=null;const _0x487e75=_0x194a41['getAttribute']('src');this['_imageCache']['set'](_0x487e75,{'id':_0x3ac374['uuid'],'url':_0x3ac374['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x5ad9bf=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x5ad9bf['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x13da05,_0x15e0db){_0x13da05['on']('apply',(_0x3bf720,_0x53084e)=>{this['_replaceImage'](_0x15e0db,_0x53084e['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x13da05['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x13da05['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x1ff2b6,_0x5131c6,_0x2d131d){const _0x1b8e28=this['_editor'],{width:_0x3dbe48,height:_0x390aaa}=S(_0x5131c6,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x2dd32a,imageSources:_0x1a8653}=C(_0x5131c6,_0x3dbe48);_0x1b8e28['model']['change'](_0x4d34c2=>{if('$graveyard'===_0x1ff2b6['root']['rootName']){_0x1b8e28['execute']('insertImage',{'imageType':_0x1ff2b6['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x1ff2b6['getAttributes']()),'uploadcareImageId':_0x2d131d,'src':_0x2dd32a,'sources':_0x1a8653,'width':_0x3dbe48,'height':_0x390aaa}});const _0xac2c2a=_0x1ff2b6['getChildren']();_0x1ff2b6=_0x1b8e28['model']['document']['selection']['getSelectedElement']();for(const _0x5db69e of _0xac2c2a)_0x4d34c2['append'](_0x4d34c2['cloneElement'](_0x5db69e),_0x1ff2b6);}else _0x4d34c2['setSelection'](_0x1ff2b6,'on'),_0x1b8e28['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x1ff2b6['getAttributes']()),'uploadcareImageId':_0x2d131d,'src':_0x2dd32a,'sources':_0x1a8653,'width':_0x3dbe48,'height':_0x390aaa},_0x1ff2b6);_0x4d34c2['setSelection'](_0x1ff2b6,'on');});}async['_getImageAsFile'](_0xa4a3a3){const _0x2c7bcf=_0x296201['window'],_0x24bbde=_0x296201['document']['location']['href'],_0x5ac0d3=new _0x2c7bcf['URL'](_0xa4a3a3['getAttribute']('src'),_0x24bbde);if('data:'===_0x5ac0d3['protocol']){const _0x54289b=_0x5ac0d3['href']['split'](','),_0x2d5b11=_0x54289b[0x0]['match'](/:(.*?);/)[0x1],_0x60ae1f=_0x2d5b11['split']('/')[0x1],_0xb78213=_0x2c7bcf['atob'](_0x54289b[_0x54289b['length']-0x1]);let _0x10c82d=_0xb78213['length'];const _0x1ef733=new _0x2c7bcf['Uint8Array'](_0x10c82d);for(;_0x10c82d--;)_0x1ef733[_0x10c82d]=_0xb78213['charCodeAt'](_0x10c82d);return new _0x2c7bcf['File']([_0x1ef733],'image.'+_0x60ae1f,{'type':_0x2d5b11});}const _0x18d76a=_0x5ac0d3['href']['split']('/'),_0x30c0fb=_0x18d76a[_0x18d76a['length']-0x1],_0x2c7ed6=_0x30c0fb['split']('.')[0x1];return _0x2c7bcf['fetch'](_0x5ac0d3['href'])['then'](_0x3b7e57=>_0x3b7e57['clone']()['blob']())['then'](_0x6656c6=>new _0x2c7bcf['File']([_0x6656c6],_0x30c0fb,{'type':'image/'+_0x2c7ed6}));}}class O extends _0x7fef72{['imageEditController'];static get['requires'](){return[_0x502a2c];}['_isEditable'];constructor(_0x4cf492){super(_0x4cf492),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x253d8b){const _0x464a1b=G(_0x253d8b);return _0x4dc4b6=>!(!_0x4dc4b6||!_0x4dc4b6['is']('element','imageBlock')&&!_0x4dc4b6['is']('element','imageInline'))&&(!!_0x4dc4b6['hasAttribute']('uploadcareImageId')||!!_0x4dc4b6['hasAttribute']('src')&&_0x464a1b(_0x4dc4b6['getAttribute']('src')));}(_0x4cf492['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x2bd056=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x2bd056);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x347878=this['editor']['model']['document']['selection']['getSelectedElement']();_0x347878&&(_0x347878['is']('element','imageBlock')||_0x347878['is']('element','imageInline'))&&(this['imageEditController']=new E(this['editor'],this['editor']['plugins']['get'](_0x502a2c),_0x347878),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class R extends _0x7fef72{['refresh'](){const _0x478b65=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x478b65&&(_0x478b65['is']('element','imageBlock')||_0x478b65['is']('element','imageInline')));}['execute'](_0x2b8fb0){const _0x46007e=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x4859f6=>{_0x4859f6['setAttributes'](_0x2b8fb0,_0x46007e),_0x4859f6['removeAttribute']('srcset',_0x46007e),_0x4859f6['removeAttribute']('sizes',_0x46007e);});}}class m extends _0x3ab4ca{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[o,_0x196b7b,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x291257}=this;_0x291257['commands']['add']('uploadcareImageEdit',new O(_0x291257)),_0x291257['commands']['add']('uploadcareImageReplace',new R(_0x291257));}}class g extends _0x3ab4ca{['_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 _0x335c31=this['editor'];_0x335c31['ui']['componentFactory']['add']('uploadcareImageEdit',_0x2c50c1=>{const _0x296557=_0x335c31['commands']['get']('uploadcareImageEdit'),_0x51289a=new _0x15a6bf(_0x2c50c1),t=_0x2c50c1['t'];return _0x51289a['set']({'icon':_0x4de02c,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x51289a['bind']('isEnabled')['to'](_0x296557),_0x51289a['bind']('isOn')['to'](_0x296557,'isActive'),this['listenTo'](_0x51289a,'execute',()=>{_0x335c31['execute']('uploadcareImageEdit'),_0x335c31['editing']['view']['focus']();}),_0x51289a;}),this['_initConfig']();}['_initConfig'](){const _0x25c567=_0x203472(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x25c567),this['listenTo'](this['editor'],'destroy',()=>{_0x25c567['remove']();});}}class et extends _0x3ab4ca{static get['pluginName'](){return'UploadcareImageEdit';}static get['requires'](){return[m,g];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{tt as Uploadcare,w as UploadcareCommand,o as UploadcareEditing,et as UploadcareImageEdit,O as UploadcareImageEditCommand,m as UploadcareImageEditEditing,g as UploadcareImageEditUI,e as UploadcareUI,f as UploadcareUploadAdapter};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'af':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x565708=>0x1!=_0x565708}};
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':_0x55ca4c=>0x1!=_0x55ca4c}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x24cadb=>{const {af:{dictionary:_0x2debf8,getPluralForm:_0x2514c9}}={'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':_0x1ae696=>0x1!=_0x1ae696}};_0x24cadb['af']||={'dictionary':{},'getPluralForm':null},_0x24cadb['af']['dictionary']=Object['assign'](_0x24cadb['af']['dictionary'],_0x2debf8),_0x24cadb['af']['getPluralForm']=_0x2514c9;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x5ad634=>{const {af:{dictionary:_0x316da8,getPluralForm:_0x5c2ec3}}={'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':_0x5cdfa3=>0x1!=_0x5cdfa3}};_0x5ad634['af']||={'dictionary':{},'getPluralForm':null},_0x5ad634['af']['dictionary']=Object['assign'](_0x5ad634['af']['dictionary'],_0x316da8),_0x5ad634['af']['getPluralForm']=_0x5c2ec3;})(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':_0x452f5a=>0x0==_0x452f5a?0x0:0x1==_0x452f5a?0x1:0x2==_0x452f5a?0x2:_0x452f5a%0x64>=0x3&&_0x452f5a%0x64<=0xa?0x3:_0x452f5a%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':_0x367c8a=>0x0==_0x367c8a?0x0:0x1==_0x367c8a?0x1:0x2==_0x367c8a?0x2:_0x367c8a%0x64>=0x3&&_0x367c8a%0x64<=0xa?0x3:_0x367c8a%0x64>=0xb?0x4:0x5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x3a16af=>{const {ar:{dictionary:_0x50e523,getPluralForm:_0x49f10c}}={'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':_0x288fbb=>0x0==_0x288fbb?0x0:0x1==_0x288fbb?0x1:0x2==_0x288fbb?0x2:_0x288fbb%0x64>=0x3&&_0x288fbb%0x64<=0xa?0x3:_0x288fbb%0x64>=0xb?0x4:0x5}};_0x3a16af['ar']||={'dictionary':{},'getPluralForm':null},_0x3a16af['ar']['dictionary']=Object['assign'](_0x3a16af['ar']['dictionary'],_0x50e523),_0x3a16af['ar']['getPluralForm']=_0x49f10c;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x17a1a3=>{const {ar:{dictionary:_0x2c9bae,getPluralForm:_0x121050}}={'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':_0x191765=>0x0==_0x191765?0x0:0x1==_0x191765?0x1:0x2==_0x191765?0x2:_0x191765%0x64>=0x3&&_0x191765%0x64<=0xa?0x3:_0x191765%0x64>=0xb?0x4:0x5}};_0x17a1a3['ar']||={'dictionary':{},'getPluralForm':null},_0x17a1a3['ar']['dictionary']=Object['assign'](_0x17a1a3['ar']['dictionary'],_0x2c9bae),_0x17a1a3['ar']['getPluralForm']=_0x121050;})(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':_0x7fd858=>0x1!=_0x7fd858}};
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':_0x14e262=>0x1!=_0x14e262}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x1bb55a=>{const {ast:{dictionary:_0xad7f58,getPluralForm:_0x113793}}={'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':_0x2e6212=>0x1!=_0x2e6212}};_0x1bb55a['ast']||={'dictionary':{},'getPluralForm':null},_0x1bb55a['ast']['dictionary']=Object['assign'](_0x1bb55a['ast']['dictionary'],_0xad7f58),_0x1bb55a['ast']['getPluralForm']=_0x113793;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x165c95=>{const {ast:{dictionary:_0x256554,getPluralForm:_0x5688b0}}={'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':_0x9b910b=>0x1!=_0x9b910b}};_0x165c95['ast']||={'dictionary':{},'getPluralForm':null},_0x165c95['ast']['dictionary']=Object['assign'](_0x165c95['ast']['dictionary'],_0x256554),_0x165c95['ast']['getPluralForm']=_0x5688b0;})(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':_0x5a197f=>0x1!=_0x5a197f}};
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':_0x13e9dc=>0x1!=_0x13e9dc}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x5e59c9=>{const {az:{dictionary:_0x4e8629,getPluralForm:_0x2f47d8}}={'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':_0x43bc8f=>0x1!=_0x43bc8f}};_0x5e59c9['az']||={'dictionary':{},'getPluralForm':null},_0x5e59c9['az']['dictionary']=Object['assign'](_0x5e59c9['az']['dictionary'],_0x4e8629),_0x5e59c9['az']['getPluralForm']=_0x2f47d8;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x2029e8=>{const {az:{dictionary:_0x15fa80,getPluralForm:_0x1df8e9}}={'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':_0x4b55e8=>0x1!=_0x4b55e8}};_0x2029e8['az']||={'dictionary':{},'getPluralForm':null},_0x2029e8['az']['dictionary']=Object['assign'](_0x2029e8['az']['dictionary'],_0x15fa80),_0x2029e8['az']['getPluralForm']=_0x1df8e9;})(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':_0x43ceb6=>_0x43ceb6%0xa==0x1&&_0x43ceb6%0x64!=0xb?0x0:_0x43ceb6%0xa>=0x2&&_0x43ceb6%0xa<=0x4&&(_0x43ceb6%0x64<0xa||_0x43ceb6%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':_0x22910b=>_0x22910b%0xa==0x1&&_0x22910b%0x64!=0xb?0x0:_0x22910b%0xa>=0x2&&_0x22910b%0xa<=0x4&&(_0x22910b%0x64<0xa||_0x22910b%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x477c1c=>{const {be:{dictionary:_0x58f625,getPluralForm:_0x52824c}}={'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':_0x4d9697=>_0x4d9697%0xa==0x1&&_0x4d9697%0x64!=0xb?0x0:_0x4d9697%0xa>=0x2&&_0x4d9697%0xa<=0x4&&(_0x4d9697%0x64<0xa||_0x4d9697%0x64>=0x14)?0x1:0x2}};_0x477c1c['be']||={'dictionary':{},'getPluralForm':null},_0x477c1c['be']['dictionary']=Object['assign'](_0x477c1c['be']['dictionary'],_0x58f625),_0x477c1c['be']['getPluralForm']=_0x52824c;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x27a017=>{const {be:{dictionary:_0x241821,getPluralForm:_0x4dd6b6}}={'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':_0x2125e6=>_0x2125e6%0xa==0x1&&_0x2125e6%0x64!=0xb?0x0:_0x2125e6%0xa>=0x2&&_0x2125e6%0xa<=0x4&&(_0x2125e6%0x64<0xa||_0x2125e6%0x64>=0x14)?0x1:0x2}};_0x27a017['be']||={'dictionary':{},'getPluralForm':null},_0x27a017['be']['dictionary']=Object['assign'](_0x27a017['be']['dictionary'],_0x241821),_0x27a017['be']['getPluralForm']=_0x4dd6b6;})(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':_0x54ca93=>0x1!=_0x54ca93}};
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':_0x3ecff4=>0x1!=_0x3ecff4}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x4fe7b4=>{const {bg:{dictionary:_0x25602a,getPluralForm:_0x26dcd1}}={'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':_0x32f635=>0x1!=_0x32f635}};_0x4fe7b4['bg']||={'dictionary':{},'getPluralForm':null},_0x4fe7b4['bg']['dictionary']=Object['assign'](_0x4fe7b4['bg']['dictionary'],_0x25602a),_0x4fe7b4['bg']['getPluralForm']=_0x26dcd1;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x347b3e=>{const {bg:{dictionary:_0x283bdf,getPluralForm:_0x448bbb}}={'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':_0xe5ee98=>0x1!=_0xe5ee98}};_0x347b3e['bg']||={'dictionary':{},'getPluralForm':null},_0x347b3e['bg']['dictionary']=Object['assign'](_0x347b3e['bg']['dictionary'],_0x283bdf),_0x347b3e['bg']['getPluralForm']=_0x448bbb;})(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':_0x3a81a2=>0x1!=_0x3a81a2}};
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':_0x168200=>0x1!=_0x168200}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x22e029=>{const {bn:{dictionary:_0x5cef1a,getPluralForm:_0x139c55}}={'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':_0x32a70d=>0x1!=_0x32a70d}};_0x22e029['bn']||={'dictionary':{},'getPluralForm':null},_0x22e029['bn']['dictionary']=Object['assign'](_0x22e029['bn']['dictionary'],_0x5cef1a),_0x22e029['bn']['getPluralForm']=_0x139c55;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x4f1b54=>{const {bn:{dictionary:_0x16479b,getPluralForm:_0x57bbbc}}={'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':_0x138e7a=>0x1!=_0x138e7a}};_0x4f1b54['bn']||={'dictionary':{},'getPluralForm':null},_0x4f1b54['bn']['dictionary']=Object['assign'](_0x4f1b54['bn']['dictionary'],_0x16479b),_0x4f1b54['bn']['getPluralForm']=_0x57bbbc;})(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':_0x477e52=>_0x477e52%0xa==0x1&&_0x477e52%0x64!=0xb?0x0:_0x477e52%0xa>=0x2&&_0x477e52%0xa<=0x4&&(_0x477e52%0x64<0xa||_0x477e52%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':_0x5c0eff=>_0x5c0eff%0xa==0x1&&_0x5c0eff%0x64!=0xb?0x0:_0x5c0eff%0xa>=0x2&&_0x5c0eff%0xa<=0x4&&(_0x5c0eff%0x64<0xa||_0x5c0eff%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x9a6567=>{const {bs:{dictionary:_0x375069,getPluralForm:_0x39b6df}}={'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':_0x2428c6=>_0x2428c6%0xa==0x1&&_0x2428c6%0x64!=0xb?0x0:_0x2428c6%0xa>=0x2&&_0x2428c6%0xa<=0x4&&(_0x2428c6%0x64<0xa||_0x2428c6%0x64>=0x14)?0x1:0x2}};_0x9a6567['bs']||={'dictionary':{},'getPluralForm':null},_0x9a6567['bs']['dictionary']=Object['assign'](_0x9a6567['bs']['dictionary'],_0x375069),_0x9a6567['bs']['getPluralForm']=_0x39b6df;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x29999d=>{const {bs:{dictionary:_0x17b079,getPluralForm:_0xe1c98e}}={'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':_0x32d241=>_0x32d241%0xa==0x1&&_0x32d241%0x64!=0xb?0x0:_0x32d241%0xa>=0x2&&_0x32d241%0xa<=0x4&&(_0x32d241%0x64<0xa||_0x32d241%0x64>=0x14)?0x1:0x2}};_0x29999d['bs']||={'dictionary':{},'getPluralForm':null},_0x29999d['bs']['dictionary']=Object['assign'](_0x29999d['bs']['dictionary'],_0x17b079),_0x29999d['bs']['getPluralForm']=_0xe1c98e;})(window['CKEDITOR_TRANSLATIONS']||={});