@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-next-20260129.0 → 0.0.0-nightly-next-20260130.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (148) hide show
  1. package/dist/index.js +3 -3
  2. package/dist/translations/af.js +1 -1
  3. package/dist/translations/af.umd.js +1 -1
  4. package/dist/translations/ar.js +1 -1
  5. package/dist/translations/ar.umd.js +1 -1
  6. package/dist/translations/ast.js +1 -1
  7. package/dist/translations/ast.umd.js +1 -1
  8. package/dist/translations/az.js +1 -1
  9. package/dist/translations/az.umd.js +1 -1
  10. package/dist/translations/be.js +1 -1
  11. package/dist/translations/be.umd.js +1 -1
  12. package/dist/translations/bg.js +1 -1
  13. package/dist/translations/bg.umd.js +1 -1
  14. package/dist/translations/bn.js +1 -1
  15. package/dist/translations/bn.umd.js +1 -1
  16. package/dist/translations/bs.js +1 -1
  17. package/dist/translations/bs.umd.js +1 -1
  18. package/dist/translations/ca.js +1 -1
  19. package/dist/translations/ca.umd.js +1 -1
  20. package/dist/translations/cs.js +1 -1
  21. package/dist/translations/cs.umd.js +1 -1
  22. package/dist/translations/da.js +1 -1
  23. package/dist/translations/da.umd.js +1 -1
  24. package/dist/translations/de-ch.js +1 -1
  25. package/dist/translations/de-ch.umd.js +1 -1
  26. package/dist/translations/de.js +1 -1
  27. package/dist/translations/de.umd.js +1 -1
  28. package/dist/translations/el.js +1 -1
  29. package/dist/translations/el.umd.js +1 -1
  30. package/dist/translations/en-au.js +1 -1
  31. package/dist/translations/en-au.umd.js +1 -1
  32. package/dist/translations/en-gb.js +1 -1
  33. package/dist/translations/en-gb.umd.js +1 -1
  34. package/dist/translations/en.js +1 -1
  35. package/dist/translations/en.umd.js +1 -1
  36. package/dist/translations/eo.js +1 -1
  37. package/dist/translations/eo.umd.js +1 -1
  38. package/dist/translations/es-co.js +1 -1
  39. package/dist/translations/es-co.umd.js +1 -1
  40. package/dist/translations/es.js +1 -1
  41. package/dist/translations/es.umd.js +1 -1
  42. package/dist/translations/et.js +1 -1
  43. package/dist/translations/et.umd.js +1 -1
  44. package/dist/translations/eu.js +1 -1
  45. package/dist/translations/eu.umd.js +1 -1
  46. package/dist/translations/fa.js +1 -1
  47. package/dist/translations/fa.umd.js +1 -1
  48. package/dist/translations/fi.js +1 -1
  49. package/dist/translations/fi.umd.js +1 -1
  50. package/dist/translations/fr.js +1 -1
  51. package/dist/translations/fr.umd.js +1 -1
  52. package/dist/translations/gl.js +1 -1
  53. package/dist/translations/gl.umd.js +1 -1
  54. package/dist/translations/gu.js +1 -1
  55. package/dist/translations/gu.umd.js +1 -1
  56. package/dist/translations/he.js +1 -1
  57. package/dist/translations/he.umd.js +1 -1
  58. package/dist/translations/hi.js +1 -1
  59. package/dist/translations/hi.umd.js +1 -1
  60. package/dist/translations/hr.js +1 -1
  61. package/dist/translations/hr.umd.js +1 -1
  62. package/dist/translations/hu.js +1 -1
  63. package/dist/translations/hu.umd.js +1 -1
  64. package/dist/translations/hy.js +1 -1
  65. package/dist/translations/hy.umd.js +1 -1
  66. package/dist/translations/id.js +1 -1
  67. package/dist/translations/id.umd.js +1 -1
  68. package/dist/translations/it.js +1 -1
  69. package/dist/translations/it.umd.js +1 -1
  70. package/dist/translations/ja.js +1 -1
  71. package/dist/translations/ja.umd.js +1 -1
  72. package/dist/translations/jv.js +1 -1
  73. package/dist/translations/jv.umd.js +1 -1
  74. package/dist/translations/kk.js +1 -1
  75. package/dist/translations/kk.umd.js +1 -1
  76. package/dist/translations/km.js +1 -1
  77. package/dist/translations/km.umd.js +1 -1
  78. package/dist/translations/kn.js +1 -1
  79. package/dist/translations/kn.umd.js +1 -1
  80. package/dist/translations/ko.js +1 -1
  81. package/dist/translations/ko.umd.js +1 -1
  82. package/dist/translations/ku.js +1 -1
  83. package/dist/translations/ku.umd.js +1 -1
  84. package/dist/translations/lt.js +1 -1
  85. package/dist/translations/lt.umd.js +1 -1
  86. package/dist/translations/lv.js +1 -1
  87. package/dist/translations/lv.umd.js +1 -1
  88. package/dist/translations/ms.js +1 -1
  89. package/dist/translations/ms.umd.js +1 -1
  90. package/dist/translations/nb.js +1 -1
  91. package/dist/translations/nb.umd.js +1 -1
  92. package/dist/translations/ne.js +1 -1
  93. package/dist/translations/ne.umd.js +1 -1
  94. package/dist/translations/nl.js +1 -1
  95. package/dist/translations/nl.umd.js +1 -1
  96. package/dist/translations/no.js +1 -1
  97. package/dist/translations/no.umd.js +1 -1
  98. package/dist/translations/oc.js +1 -1
  99. package/dist/translations/oc.umd.js +1 -1
  100. package/dist/translations/pl.js +1 -1
  101. package/dist/translations/pl.umd.js +1 -1
  102. package/dist/translations/pt-br.js +1 -1
  103. package/dist/translations/pt-br.umd.js +1 -1
  104. package/dist/translations/pt.js +1 -1
  105. package/dist/translations/pt.umd.js +1 -1
  106. package/dist/translations/ro.js +1 -1
  107. package/dist/translations/ro.umd.js +1 -1
  108. package/dist/translations/ru.js +1 -1
  109. package/dist/translations/ru.umd.js +1 -1
  110. package/dist/translations/si.js +1 -1
  111. package/dist/translations/si.umd.js +1 -1
  112. package/dist/translations/sk.js +1 -1
  113. package/dist/translations/sk.umd.js +1 -1
  114. package/dist/translations/sl.js +1 -1
  115. package/dist/translations/sl.umd.js +1 -1
  116. package/dist/translations/sq.js +1 -1
  117. package/dist/translations/sq.umd.js +1 -1
  118. package/dist/translations/sr-latn.js +1 -1
  119. package/dist/translations/sr-latn.umd.js +1 -1
  120. package/dist/translations/sr.js +1 -1
  121. package/dist/translations/sr.umd.js +1 -1
  122. package/dist/translations/sv.js +1 -1
  123. package/dist/translations/sv.umd.js +1 -1
  124. package/dist/translations/th.js +1 -1
  125. package/dist/translations/th.umd.js +1 -1
  126. package/dist/translations/ti.js +1 -1
  127. package/dist/translations/ti.umd.js +1 -1
  128. package/dist/translations/tk.js +1 -1
  129. package/dist/translations/tk.umd.js +1 -1
  130. package/dist/translations/tr.js +1 -1
  131. package/dist/translations/tr.umd.js +1 -1
  132. package/dist/translations/tt.js +1 -1
  133. package/dist/translations/tt.umd.js +1 -1
  134. package/dist/translations/ug.js +1 -1
  135. package/dist/translations/ug.umd.js +1 -1
  136. package/dist/translations/uk.js +1 -1
  137. package/dist/translations/uk.umd.js +1 -1
  138. package/dist/translations/ur.js +1 -1
  139. package/dist/translations/ur.umd.js +1 -1
  140. package/dist/translations/uz.js +1 -1
  141. package/dist/translations/uz.umd.js +1 -1
  142. package/dist/translations/vi.js +1 -1
  143. package/dist/translations/vi.umd.js +1 -1
  144. package/dist/translations/zh-cn.js +1 -1
  145. package/dist/translations/zh-cn.umd.js +1 -1
  146. package/dist/translations/zh.js +1 -1
  147. package/dist/translations/zh.umd.js +1 -1
  148. package/package.json +9 -9
package/dist/index.js CHANGED
@@ -20,6 +20,6 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x4b7a1a,Command as _0x455ef5}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x3cd670,IconGooglePhotos as _0x26bf33,IconGoogleDrive as _0x28e4dd,IconFacebook as _0x2bb452,IconDropbox as _0x43f6de,IconUploadcareLink as _0x11d6fe,IconUploadcareImageUpload as _0x522ecc,IconError as _0x1d4f2e,IconUploadcareImageEdit as _0xa6ffba}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x2df434,MenuBarMenuListItemButtonView as _0x29943d,View as _0x1b2fbe,FocusCycler as _0x12e5ca,Dialog as _0x1aed13,DialogViewPosition as _0x29e379,SpinnerView as _0xfffbb5,IconView as _0x45da82,Notification as _0x38835a}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x3e09ab,DomEmitterMixin as _0x2ef1b1,global as _0x3373e5,getAncestors as _0x45d56c,ObservableMixin as _0xf6fd38,uid as _0x116e7c,createElement as _0x1ce5e3}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x5ecd4a}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x5742af,info as _0x1c5625}from'@uploadcare/upload-client';import*as _0x462a9f from'@uploadcare/file-uploader';var S=function(_0x506853){return _0x506853['Local']='local',_0x506853['URL']='url',_0x506853['Dropbox']='dropbox',_0x506853['GDrive']='gdrive',_0x506853['Facebook']='facebook',_0x506853['GPhotos']='gphotos',_0x506853['OneDrive']='onedrive',_0x506853;}({});function T(_0x3aeea7,_0x42db3f,_0x311241){const t=_0x3aeea7['t'],_0x40d697=_0x3aeea7['t'];switch(_0x42db3f){case S['Local']:return{'text':_0x40d697('Insert'===_0x311241?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x40d697('From\x20computer')};case S['URL']:return{'text':'Insert'===_0x311241?_0x40d697('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x40d697('Via\x20URL')};case S['Dropbox']:return{'text':t('Insert'===_0x311241?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case S['Facebook']:return{'text':t('Insert'===_0x311241?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case S['GDrive']:return{'text':t('Insert'===_0x311241?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case S['GPhotos']:return{'text':t('Insert'===_0x311241?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case S['OneDrive']:return{'text':t('Insert'===_0x311241?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x42db3f;}}class A extends _0x4b7a1a{['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 _0x9574=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x452515;for(const _0x49d3eb in _0x9574){const _0x56e556=_0x49d3eb,_0x384c3f=_0x9574[_0x56e556];if('uploadcareLicenseKeyValid'==_0x384c3f||'uploadcareLicenseKeyInvalid'==_0x384c3f||'uploadcareLicenseKeyExpired'==_0x384c3f||'uploadcareLicenseKeyDomainLimit'==_0x384c3f||'uploadcareLicenseKeyNotAllowed'==_0x384c3f||'uploadcareLicenseKeyEvaluationLimit'==_0x384c3f||'uploadcareLicenseKeyUsageLimit'==_0x384c3f){delete _0x9574[_0x56e556],_0x452515=_0x384c3f,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x452515&&_0x9574['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x452515&&_0x9574['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x452515&&_0x9574['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x452515&&_0x9574['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x452515&&_0x9574['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyUsageLimit'==_0x452515&&_0x9574['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x36d00f}=this,_0x195f08=_0x36d00f['commands']['get']('uploadcare');if(!_0x195f08)return;const _0x29c377=this['_normalizeConfigSourceList'](_0x36d00f['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x2ce8b4,_0x24584b)=>{const _0x42fafc=this['_getIntegrationKey'](_0x24584b['type']);return _0x2ce8b4[_0x42fafc]||(_0x2ce8b4[_0x42fafc]=[]),_0x2ce8b4[_0x42fafc]['push'](_0x24584b),_0x2ce8b4;},{});_0x36d00f['plugins']['has']('ImageInsertUI')&&_0x36d00f['commands']['get']('uploadcare')&&Object['entries'](_0x29c377)['forEach'](([_0x5d92d0,_0x571735])=>{_0x36d00f['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x5d92d0,'observable':()=>_0x195f08,'buttonViewCreator':()=>this['_createToolbarButton'](_0x571735),'formViewCreator':()=>this['_createDropdownButtons'](_0x571735),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x571735),'override':'assetManager'!==_0x5d92d0});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x1486d0){const {locale:_0x4de0f1}=this['editor'];return _0x1486d0['map'](_0x4cc701=>{const _0x4783f3=T(_0x4de0f1,_0x4cc701,'Insert');switch(_0x4cc701){case S['Local']:return{'icon':_0x522ecc,'type':S['Local'],..._0x4783f3};case S['URL']:return{'icon':_0x11d6fe,'type':S['URL'],..._0x4783f3};case S['Dropbox']:return{'icon':_0x43f6de,'type':S['Dropbox'],..._0x4783f3};case S['Facebook']:return{'icon':_0x2bb452,'type':S['Facebook'],..._0x4783f3};case S['GDrive']:return{'icon':_0x28e4dd,'type':S['GDrive'],..._0x4783f3};case S['GPhotos']:return{'icon':_0x26bf33,'type':S['GPhotos'],..._0x4783f3};case S['OneDrive']:return{'icon':_0x3cd670,'type':S['OneDrive'],..._0x4783f3};}});}['_getIntegrationKey'](_0x3b0e8f){switch(_0x3b0e8f){case S['Local']:return'upload';case S['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x145f05,_0x416d65){const _0x2433a9=this['editor'],_0x2ac344=new _0x145f05(_0x2433a9['locale']),_0x139d87=_0x2433a9['commands']['get']('uploadcare');return _0x2ac344['bind']('isEnabled')['to'](_0x139d87),_0x2ac344['on']('execute',()=>{_0x139d87['execute'](_0x416d65);}),_0x2ac344;}['_createToolbarButton'](_0x2109d2){const {locale:_0x441226}=this['editor'],_0x27b984=this['editor']['plugins']['get']('ImageInsertUI'),_0x5bb7cc=_0x2109d2[0x0],_0x369b8d=this['_createButton'](_0x2df434,_0x5bb7cc['type']);return _0x369b8d['icon']=_0x5bb7cc['icon'],_0x369b8d['bind']('label')['to'](_0x27b984,'isImageSelected',_0xf12878=>T(_0x441226,_0x5bb7cc['type'],_0xf12878?'Replace':'Insert')['text']),_0x369b8d['tooltip']=!0x0,_0x369b8d;}['_createDropdownButtons'](_0x33b1b1){const {locale:_0x5caf60}=this['editor'],_0x3147b4=this['editor']['plugins']['get']('ImageInsertUI');return _0x33b1b1['map'](_0xfb598d=>{const _0x30daea=this['_createButton'](_0x2df434,_0xfb598d['type']);return _0x30daea['withText']=!0x0,_0x30daea['icon']=_0xfb598d['icon'],_0x30daea['bind']('label')['to'](_0x3147b4,'isImageSelected',_0x1dc04f=>T(_0x5caf60,_0xfb598d['type'],_0x1dc04f?'Replace':'Insert')['text']),_0x30daea;});}['_createMenuBarButtons'](_0x4e2358){return _0x4e2358['map'](_0x4c9c19=>{const _0x1ca937=this['_createButton'](_0x29943d,_0x4c9c19['type']);return _0x1ca937['icon']=_0x4c9c19['icon'],_0x1ca937['label']=_0x4c9c19['shortText'],_0x1ca937;});}}class K extends _0x1b2fbe{['focusTracker'];['focusCycler'];constructor(_0x12ba4c){super(_0x12ba4c),this['focusTracker']=new _0x3e09ab(),this['focusCycler']=new _0x12e5ca({'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 O extends K{constructor(_0x3d7e1c,_0x15dc6f){super(_0x3d7e1c),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-'+_0x15dc6f}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function D(_0x49f9dd,_0x4bebb8){const _0x4fe6e0=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x9f8a40=>_0x9f8a40<=_0x4bebb8)['map'](_0x3fc89f=>_0x49f9dd['replace'](/\/$/,'')+'/-/resize/'+_0x3fc89f+'x/\x20'+_0x3fc89f+'w');return{'imageFallbackUrl':_0x49f9dd,'imageSources':[{'srcset':_0x4fe6e0['join'](',\x20'),'sizes':'(max-width:\x20'+_0x4bebb8+'px)\x20100vw,\x20'+_0x4bebb8+'px','type':'image/webp'}]};}function F(_0x59554b,_0xe8405c,_0x3de7ee){const _0x332a5f=_0x59554b['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x332a5f?parseInt(_0x332a5f[0x1],0xa):_0xe8405c,'height':_0x332a5f?parseInt(_0x332a5f[0x2],0xa):_0x3de7ee};}function $(_0xfcb1d,_0x1cc31b){const _0x4be877=new(_0x2ef1b1())(),_0x44596d=_0xfcb1d['plugins']['get']('ImageUtils'),_0x15f4df=_0xfcb1d['editing']['mapper']['toViewElement'](_0x1cc31b),_0x33a609=_0x44596d['findViewImgElement'](_0x15f4df),_0x7862df=_0xfcb1d['editing']['view']['domConverter']['viewToDom'](_0x33a609),_0x17755f=_0x1cc31b['getAttribute']('width'),_0x45c210=_0x1cc31b['getAttribute']('height'),_0x322a81='image-processing';_0xfcb1d['editing']['view']['change'](_0x3f4209=>{_0x3f4209['addClass'](_0x322a81,_0x15f4df),_0x3f4209['setStyle']('aspect-ratio',_0x17755f+'/'+_0x45c210,_0x33a609);}),_0x4be877['listenTo'](_0x7862df,'load',()=>{_0x4be877['stopListening'](_0x7862df,'load'),_0xfcb1d['editing']['view']['change'](_0x384daf=>{_0x384daf['removeClass'](_0x322a81,_0x15f4df),_0x384daf['removeStyle']('aspect-ratio',_0x33a609);});});}function B(_0x259730){if(Array['isArray'](_0x259730)){const _0x59f9b6=_0x259730['map'](B);return _0x50f7e2=>_0x59f9b6['some'](_0x4250dd=>_0x4250dd(_0x50f7e2));}if('origin'==_0x259730){const _0x4288f1=_0x3373e5['window']['location']['origin'];return _0x24830c=>new URL(_0x24830c,_0x3373e5['document']['baseURI'])['origin']==_0x4288f1;}return'function'==typeof _0x259730?_0x259730:_0x259730 instanceof RegExp?_0xa7216f=>!(!_0xa7216f['match'](_0x259730)&&!_0xa7216f['replace'](/^https?:\/\//,'')['match'](_0x259730)):()=>!0x1;}function V(_0x443ddc,_0x47fbc6){return _0x45d56c(_0x443ddc['target'])['includes'](_0x47fbc6);}class j extends/* #__PURE__ -- @preserve */
24
- _0xf6fd38(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x32fb91,_0x1cc8a6,_0x250990){super(),this['_editor']=_0x32fb91,this['_editing']=_0x1cc8a6,this['_dialog']=_0x32fb91['plugins']['get'](_0x1aed13),this['_api']=_0x1cc8a6['ctxElement']['getAPI'](),this['_type']=_0x250990,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:_0x498649,model:_0x5c2177}=this['_editor'],_0xabd3fc=_0x5c2177['document']['selection']['getSelectedElement'](),_0x3ae873=_0xabd3fc&&(_0xabd3fc['is']('element','imageBlock')||_0xabd3fc['is']('element','imageInline'));this['_formView']=new O(_0x498649,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':_0x522ecc,'title':T(_0x498649,this['_type'],_0x3ae873?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x29e379['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x3dd2f2=>!V(_0x3dd2f2,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x3be6e4}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x4571ab=>{const _0x2935b4=_0x3be6e4['length'];for(const _0x24231d of _0x3be6e4){const _0x51d21f=_0x24231d===_0x3be6e4[_0x2935b4-0x1],{cdnUrl:_0xe427ff,fileInfo:_0x5985a2}=_0x24231d;if(!_0xe427ff||!_0x5985a2)continue;const {width:_0x588dd1,height:_0x10d5da}=_0x5985a2['imageInfo'],_0x19ec2b=F(_0xe427ff,_0x588dd1,_0x10d5da),_0x4b1a4d=D(_0xe427ff,_0x19ec2b['width']),_0x2356f8={'id':_0x5985a2['uuid'],'type':'image','attributes':{'imageDimension':_0x19ec2b,..._0x4b1a4d}};this['_insertAsset'](_0x2356f8,_0x51d21f,_0x4571ab);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x28adbb=>{'idle'===_0x28adbb['detail']['status']&&!_0x28adbb['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===S['Local']?this['_api']['setCurrentActivity'](S['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x511bb9,_0x197cb5,_0x4828e8){const _0x4761e3=this['_editor']['model']['document']['selection'],_0x1ec317=_0x4761e3['getSelectedElement'](),_0x20149d=!(!_0x1ec317||!_0x1ec317['is']('element','imageInline'));_0x4828e8['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x511bb9,_0x20149d),_0x197cb5||_0x4828e8['setSelection'](_0x4761e3['getLastPosition']());}['_insertImage'](_0x526e0e,_0x1a8779){const _0x3bb282=this['_editor'],{imageDimension:_0x24984b,imageFallbackUrl:_0x18187e,imageSources:_0x6926fb}=_0x526e0e['attributes'];_0x3bb282['execute']('insertImage',{'imageType':_0x1a8779?'imageInline':null,'source':{'uploadcareImageId':_0x526e0e['id'],'src':_0x18187e,'sources':_0x6926fb,..._0x24984b}});}}class M extends _0x455ef5{['_editing'];['_controller']=null;static get['requires'](){return[_0x1aed13,z];}constructor(_0x247209){super(_0x247209),this['_editing']=_0x247209['plugins']['get'](z);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x3e2452){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new j(this['editor'],this['_editing'],_0x3e2452);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class q{static['upload']({file:_0x1137b4,..._0x4b744f}){return _0x5742af(_0x1137b4,_0x4b744f);}static['getInfo'](_0x5228f8,_0x3de08b){return _0x1c5625(_0x5228f8,_0x3de08b);}}class W extends _0x4b7a1a{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x5ecd4a,z];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x38f00c=this['editor'];if(!!!_0x38f00c['config']['get']('uploadcare'))return;_0x38f00c['plugins']['get'](_0x5ecd4a)['createUploadAdapter']=_0x2f26c1=>new G(_0x2f26c1,_0x38f00c),_0x38f00c['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x499814,{imageElement:_0x1653bc,data:_0x23b0ca})=>{_0x38f00c['model']['change'](_0x40b52d=>{_0x40b52d['setAttribute']('uploadcareImageId',_0x23b0ca['uploadcareImageId'],_0x1653bc);});});}}class G{['loader'];['editor'];['controller'];constructor(_0x40039b,_0x1534cd){this['loader']=_0x40039b,this['editor']=_0x1534cd,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x58b540=await this['loader']['file'];return q['upload']({'file':_0x58b540,'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':_0x27543d=>{_0x27543d&&_0x27543d['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x27543d['value']);}})['then'](async _0x314142=>{const {imageFallbackUrl:_0x347f1e,imageSources:_0x377dcc}=D(_0x314142['cdnUrl'],_0x314142['imageInfo']['width']);return{'uploadcareImageId':_0x314142['uuid'],'default':_0x347f1e,'sources':_0x377dcc};})['catch'](()=>{const _0x1024fd=t('Cannot\x20upload\x20file:')+('\x20'+_0x58b540['name']+'.');return Promise['reject'](_0x1024fd);});}['abort'](){this['controller']['abort']();}}class z extends _0x4b7a1a{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',W,_0x1aed13];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['ucContextId'];get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}constructor(_0x5b5957){super(_0x5b5957),this['ucContextId']=_0x116e7c();}['init'](){const _0x4e0d74=this['editor'];_0x4e0d74['commands']['add']('uploadcare',new M(_0x4e0d74));}['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 _0x12bcd1=_0x3373e5['document']['querySelector']('input[uploadcare-file-input]');_0x12bcd1&&_0x12bcd1['remove']();}),async function(_0x8e1165){const _0xf13341=_0x349e3c([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]),_0x49aa9d=0x535f8c3a,_0x3d8b2a=0x53580c0a^_0x49aa9d,_0x2bcca7=window[_0x349e3c([0x44,0x61,0x74,0x65])][_0x349e3c([0x6e,0x6f,0x77])](),_0x5fee8e=_0x8e1165[_0x349e3c([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x5e0f88=new window[(_0x349e3c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4405ec=>{_0x5fee8e[_0x349e3c([0x6f,0x6e,0x63,0x65])](_0x349e3c([0x72,0x65,0x61,0x64,0x79]),_0x4405ec);}),_0x391e49={[_0x349e3c([0x6b,0x74,0x79])]:_0x349e3c([0x45,0x43]),[_0x349e3c([0x75,0x73,0x65])]:_0x349e3c([0x73,0x69,0x67]),[_0x349e3c([0x63,0x72,0x76])]:_0x349e3c([0x50,0x2d,0x32,0x35,0x36]),[_0x349e3c([0x78])]:_0x349e3c([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]),[_0x349e3c([0x79])]:_0x349e3c([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]),[_0x349e3c([0x61,0x6c,0x67])]:_0x349e3c([0x45,0x53,0x32,0x35,0x36])},_0x5ac168=_0x5fee8e[_0x349e3c([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x349e3c([0x67,0x65,0x74])](_0x349e3c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4521d9(){let _0x4b3edc,_0x3c9d23=null,_0x147670=null;try{if(_0x5ac168==_0x349e3c([0x47,0x50,0x4c]))return _0x349e3c([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x4b3edc=_0x35171c(),!_0x4b3edc)return _0x349e3c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x4b3edc[_0x349e3c([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x147670=_0x3e87dd(_0x4b3edc[_0x349e3c([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x4b3edc[_0x349e3c([0x6a,0x74,0x69])])),await _0x36d58a()?_0x4c8168()?_0x432e1b()?_0x349e3c([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x5d3e7e()?(_0x4b3edc[_0x349e3c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x349e3c([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3c9d23=_0x200219(_0x349e3c([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x546da1()):_0x349e3c([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x349e3c([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x349e3c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x349e3c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x432e1b(){const _0x2dc479=[_0x349e3c([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x349e3c([0x74,0x72,0x69,0x61,0x6c])][_0x349e3c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4b3edc[_0x349e3c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2bcca7/0x3e8:0xe10*_0x3d8b2a;return _0x4b3edc[_0x349e3c([0x65,0x78,0x70])]<_0x2dc479;}function _0x4c8168(){const _0x2f952c=_0x4b3edc[_0x349e3c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x2f952c&&(!!_0x2f952c[_0x349e3c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x349e3c([0x2a]))||!!_0x2f952c[_0x349e3c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x349e3c([0x55,0x50,0x4c,0x43])));}function _0x5d3e7e(){const _0x5c3074=_0x4b3edc[_0x349e3c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5c3074||0x0==_0x5c3074[_0x349e3c([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x89acb2}=new URL(window[_0x349e3c([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x5c3074[_0x349e3c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x89acb2))return!0x0;const _0xca675b=_0x89acb2[_0x349e3c([0x73,0x70,0x6c,0x69,0x74])](_0x349e3c([0x2e]));return _0x5c3074[_0x349e3c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x289a65=>_0x289a65[_0x349e3c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x349e3c([0x2a])))[_0x349e3c([0x6d,0x61,0x70])](_0x426e53=>_0x426e53[_0x349e3c([0x73,0x70,0x6c,0x69,0x74])](_0x349e3c([0x2e])))[_0x349e3c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x24f62c=>_0x24f62c[_0x349e3c([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0xca675b[_0x349e3c([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x349e3c([0x6d,0x61,0x70])](_0x61b325=>Array(_0xca675b[_0x349e3c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x61b325[_0x349e3c([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x349e3c([0x66,0x69,0x6c,0x6c])](_0x61b325[0x0]===_0x349e3c([0x2a])?_0x349e3c([0x2a]):'')[_0x349e3c([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x61b325))[_0x349e3c([0x73,0x6f,0x6d,0x65])](_0x48e17e=>_0xca675b[_0x349e3c([0x65,0x76,0x65,0x72,0x79])]((_0x52d137,_0x58be6d)=>_0x48e17e[_0x58be6d]===_0x52d137||_0x48e17e[_0x58be6d]===_0x349e3c([0x2a])));}function _0x546da1(){return _0x3c9d23&&_0x147670?new window[(_0x349e3c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x34709a,_0x163eb)=>{_0x3c9d23[_0x349e3c([0x74,0x68,0x65,0x6e])](_0x34709a,_0x163eb),_0x147670[_0x349e3c([0x74,0x68,0x65,0x6e])](_0x2b6fd9=>{_0x2b6fd9!=_0x349e3c([0x56,0x61,0x6c,0x69,0x64])&&_0x34709a(_0x2b6fd9);},_0x163eb);}):_0x3c9d23||_0x147670||_0x349e3c([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3e87dd(_0x17af34,_0x1915ab){return new window[(_0x349e3c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1ca130=>{if(_0x28ac0a())return _0x1ca130(_0x349e3c([0x56,0x61,0x6c,0x69,0x64]));_0x47c4fe(),_0x5fee8e[_0x349e3c([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x349e3c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x38bbf0=!0x1;const _0x42c5dc=_0x116e7c();function _0x212c23(_0x358225){return!!_0x358225&&(typeof _0x358225===_0x349e3c([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x358225===_0x349e3c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x358225[_0x349e3c([0x74,0x68,0x65,0x6e])]===_0x349e3c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x358225[_0x349e3c([0x63,0x61,0x74,0x63,0x68])]===_0x349e3c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1df992(_0x582388){_0x198708(_0x582388)[_0x349e3c([0x74,0x68,0x65,0x6e])](_0x30887e=>{if(!_0x30887e||_0x30887e[_0x349e3c([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x349e3c([0x6f,0x6b]))return _0x349e3c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x57dfe2(_0x348f76(_0x42c5dc+_0x1915ab))!=_0x30887e[_0x349e3c([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x349e3c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x349e3c([0x56,0x61,0x6c,0x69,0x64]);})[_0x349e3c([0x74,0x68,0x65,0x6e])](_0x30b302=>(_0x24987e(),_0x30b302),()=>{const _0x5e4ce7=_0x1fe35a();return null==_0x5e4ce7?(_0x24987e(),_0x349e3c([0x56,0x61,0x6c,0x69,0x64])):_0x349e3c(_0x2bcca7-_0x5e4ce7>(0x7753083a^_0x49aa9d)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x349e3c([0x74,0x68,0x65,0x6e])](_0x1ca130)[_0x349e3c([0x63,0x61,0x74,0x63,0x68])](()=>{_0x1ca130(_0x349e3c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5f001f=0x536962ba^_0x49aa9d;function _0x24987e(){const _0x4dddea=_0x349e3c([0x6c,0x6c,0x63,0x74,0x2d])+_0x57dfe2(_0x348f76(_0x17af34)),_0x3c857c=_0x16536e(_0x57dfe2(window[_0x349e3c([0x4d,0x61,0x74,0x68])][_0x349e3c([0x63,0x65,0x69,0x6c])](_0x2bcca7/_0x5f001f)));window[_0x349e3c([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x349e3c([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4dddea,_0x3c857c);}function _0x1fe35a(){const _0x57974d=_0x349e3c([0x6c,0x6c,0x63,0x74,0x2d])+_0x57dfe2(_0x348f76(_0x17af34)),_0x335114=window[_0x349e3c([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x349e3c([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x57974d);return _0x335114?window[_0x349e3c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x16536e(_0x335114),0x10)*_0x5f001f:null;}function _0x198708(_0x36551f){return new window[(_0x349e3c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2df54b,_0x59750e)=>{_0x36551f[_0x349e3c([0x74,0x68,0x65,0x6e])](_0x2df54b,_0x59750e),window[_0x349e3c([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x59750e,0x535e58fa^_0x49aa9d);});}}_0x5fee8e[_0x349e3c([0x6f,0x6e])](_0x349e3c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4eff96,_0x462200)=>{if(_0x462200[0x0]!=_0x17af34)return _0x1ca130(_0x349e3c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x462200[0x1]={..._0x462200[0x1],[_0x349e3c([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x42c5dc};},{[_0x349e3c([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x349e3c([0x68,0x69,0x67,0x68])}),_0x5fee8e[_0x349e3c([0x6f,0x6e])](_0x349e3c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x1e9e17=>{_0x212c23(_0x1e9e17[_0x349e3c([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x38bbf0=!0x0,_0x1df992(_0x1e9e17[_0x349e3c([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x349e3c([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x349e3c([0x6c,0x6f,0x77])}),_0x5e0f88[_0x349e3c([0x74,0x68,0x65,0x6e])](()=>{_0x38bbf0||_0x1ca130(_0x349e3c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x28ac0a(){return _0x5fee8e[_0x349e3c([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x349e3c([0x76,0x69,0x65,0x77])][_0x349e3c([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x349e3c([0x61,0x75,0x74,0x6f]);}function _0x47c4fe(){_0x5fee8e[_0x349e3c([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x349e3c([0x76,0x69,0x65,0x77])][_0x349e3c([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x349e3c([0x61,0x75,0x74,0x6f]);}}function _0x200219(_0x2585d6){const _0x25bdfd=[new window[(_0x349e3c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3bc53e=>setTimeout(_0x3bc53e,0x5356b2f6^_0x49aa9d)),_0x5e0f88[_0x349e3c([0x74,0x68,0x65,0x6e])](()=>new window[(_0x349e3c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4a16c0=>{let _0x1edf05=0x0;_0x5fee8e[_0x349e3c([0x6d,0x6f,0x64,0x65,0x6c])][_0x349e3c([0x6f,0x6e])](_0x349e3c([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x3637bc,_0x28db53)=>{_0x28db53[0x0][_0x349e3c([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1edf05++,_0x1edf05==(0x535f89d2^_0x49aa9d)&&(_0x4a16c0(),_0x3637bc[_0x349e3c([0x6f,0x66,0x66])]());});}))];return window[_0x349e3c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x349e3c([0x72,0x61,0x63,0x65])](_0x25bdfd)[_0x349e3c([0x74,0x68,0x65,0x6e])](()=>_0x2585d6);}async function _0x2f4ae0(){await _0x5e0f88,_0x5fee8e[_0x349e3c([0x6d,0x6f,0x64,0x65,0x6c])][_0x349e3c([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4fd4e8,_0x5fee8e[_0x349e3c([0x6d,0x6f,0x64,0x65,0x6c])][_0x349e3c([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4fd4e8,_0x5fee8e[_0x349e3c([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x349e3c([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x136de2(_0x165545){const _0x46727f=_0x516f1e();_0x5fee8e[_0x46727f]=_0x349e3c([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x165545,_0x165545!=_0x349e3c([0x56,0x61,0x6c,0x69,0x64])&&_0x2f4ae0();}function _0x516f1e(){const _0x55c8ab=window[_0x349e3c([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x349e3c([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x349e3c([0x6e,0x6f,0x77])]())[_0x349e3c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x349e3c([0x2e]),'');let _0x5d4c2e=_0x349e3c([0x68]);for(let _0x4179a1=0x0;_0x4179a1<_0x55c8ab[_0x349e3c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4179a1+=0x2){let _0x41be1d=window[_0x349e3c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x55c8ab[_0x349e3c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4179a1,_0x4179a1+0x2));_0x41be1d>=_0xf13341[_0x349e3c([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x41be1d-=_0xf13341[_0x349e3c([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5d4c2e+=_0xf13341[_0x41be1d];}return _0x5d4c2e;}function _0x35171c(){const _0x1f958b=_0x5ac168[_0x349e3c([0x73,0x70,0x6c,0x69,0x74])](_0x349e3c([0x2e]));if(0x3!=_0x1f958b[_0x349e3c([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x1bdf55(_0x1f958b[0x1]);function _0x1bdf55(_0x20c4e8){const _0x27d2dd=_0x3ae9d7(_0x20c4e8);return _0x27d2dd&&_0x18dcfa()?_0x27d2dd:null;function _0x18dcfa(){const _0x4c8f23=_0x27d2dd[_0x349e3c([0x6a,0x74,0x69])],_0x33ce0b=window[_0x349e3c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4c8f23[_0x349e3c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4c8f23[_0x349e3c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2f07db={..._0x27d2dd,[_0x349e3c([0x6a,0x74,0x69])]:_0x4c8f23[_0x349e3c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4c8f23[_0x349e3c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2f07db[_0x349e3c([0x76,0x63])],_0x348f76(_0x2f07db)==_0x33ce0b;}}}async function _0x36d58a(){let _0x4a6e1b=!0x0;try{const _0x17429c=_0x5ac168[_0x349e3c([0x73,0x70,0x6c,0x69,0x74])](_0x349e3c([0x2e])),[_0x1b9bf1,_0x93b85f,_0x2c2122]=_0x17429c;return _0x45b1f9(_0x1b9bf1),await _0x48e3e0(_0x1b9bf1,_0x93b85f,_0x2c2122),_0x4a6e1b;}catch{return!0x1;}function _0x45b1f9(_0x25c9bd){const _0x5aa20c=_0x3ae9d7(_0x25c9bd);_0x5aa20c&&_0x5aa20c[_0x349e3c([0x61,0x6c,0x67])]==_0x349e3c([0x45,0x53,0x32,0x35,0x36])||(_0x4a6e1b=!0x1);}async function _0x48e3e0(_0x2d93a9,_0x84fcf0,_0x5e79fc){const _0x45b170=window[_0x349e3c([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x349e3c([0x66,0x72,0x6f,0x6d])](_0x373326(_0x5e79fc),_0x11a9e0=>_0x11a9e0[_0x349e3c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x5669f6=new window[(_0x349e3c([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x349e3c([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x2d93a9+_0x349e3c([0x2e])+_0x84fcf0),_0x191491=window[_0x349e3c([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x349e3c([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x191491)return;const _0x133162=await _0x191491[_0x349e3c([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x349e3c([0x6a,0x77,0x6b]),_0x391e49,{[_0x349e3c([0x6e,0x61,0x6d,0x65])]:_0x349e3c([0x45,0x43,0x44,0x53,0x41]),[_0x349e3c([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x349e3c([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x349e3c([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x191491[_0x349e3c([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x349e3c([0x6e,0x61,0x6d,0x65])]:_0x349e3c([0x45,0x43,0x44,0x53,0x41]),[_0x349e3c([0x68,0x61,0x73,0x68])]:{[_0x349e3c([0x6e,0x61,0x6d,0x65])]:_0x349e3c([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x133162,_0x45b170,_0x5669f6)||(_0x4a6e1b=!0x1);}}function _0x3ae9d7(_0x3a61ab){return _0x3a61ab[_0x349e3c([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x349e3c([0x65,0x79]))?JSON[_0x349e3c([0x70,0x61,0x72,0x73,0x65])](_0x373326(_0x3a61ab)):null;}function _0x373326(_0x1f864c){return window[_0x349e3c([0x61,0x74,0x6f,0x62])](_0x1f864c[_0x349e3c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x349e3c([0x2b]))[_0x349e3c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x349e3c([0x2f])));}function _0x348f76(_0x7210c3){let _0x231f2a=0x1505;function _0x3f2174(_0x40f809){for(let _0x27e9e0=0x0;_0x27e9e0<_0x40f809[_0x349e3c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x27e9e0++){const _0x51cc97=_0x40f809[_0x349e3c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x27e9e0);_0x231f2a=(_0x231f2a<<0x5)+_0x231f2a+_0x51cc97,_0x231f2a&=_0x231f2a;}}function _0x2476f5(_0xf5af1e){Array[_0x349e3c([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0xf5af1e)?_0xf5af1e[_0x349e3c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2476f5):_0xf5af1e&&typeof _0xf5af1e==_0x349e3c([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x349e3c([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0xf5af1e)[_0x349e3c([0x73,0x6f,0x72,0x74])]()[_0x349e3c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4ce205,_0x94f0ed])=>{_0x3f2174(_0x4ce205),_0x2476f5(_0x94f0ed);}):_0x3f2174(window[_0x349e3c([0x53,0x74,0x72,0x69,0x6e,0x67])](_0xf5af1e));}return _0x2476f5(_0x7210c3),_0x231f2a>>>0x0;}function _0x57dfe2(_0x48f13d){return _0x48f13d[_0x349e3c([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x349e3c([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x349e3c([0x30]));}function _0x16536e(_0x52445b){return _0x52445b[_0x349e3c([0x73,0x70,0x6c,0x69,0x74])]('')[_0x349e3c([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x349e3c([0x6a,0x6f,0x69,0x6e])]('');}function _0x4fd4e8(){}function _0x349e3c(_0x41bfc1){return _0x41bfc1['map'](_0x543396=>String['fromCharCode'](_0x543396))['join']('');}_0x136de2(await _0x4521d9());}(this);}['_initSchema'](){const _0x68e648=this['editor']['model']['schema'];_0x68e648['isRegistered']('imageBlock')&&_0x68e648['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x68e648['isRegistered']('imageInline')&&_0x68e648['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0xb8d5ee=this['editor'];_0xb8d5ee['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0xb8d5ee['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x1476a8=>_0x1476a8['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x14ab27=_0xb8d5ee['commands']['get']('replaceImageSource');_0x14ab27&&this['listenTo'](_0x14ab27,'cleanupImage',(_0x566faa,[_0x46e1fe,_0x4c1773])=>{_0x46e1fe['removeAttribute']('uploadcareImageId',_0x4c1773);});}['_initConfig'](){const _0x1bc62c=this['editor']['config']['get']('uploadcare.uploader')||{},_0x2f2cf0=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x1ce5e3(_0x3373e5['document'],'uc-config',{..._0x1bc62c,'pubkey':_0x2f2cf0,'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']=_0x42b640=>{if('closeMax'==_0x42b640)return'#uc-icon-arrow-down';},_0x3373e5['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x1ce5e3(_0x3373e5['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),_0x3373e5['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x6d5dbd=this['editor']['commands']['get']('insertImage');_0x6d5dbd&&this['listenTo'](_0x6d5dbd,'execute',()=>{const _0x410c9f=this['editor']['model']['document']['selection']['getSelectedElement']();_0x410c9f&&_0x410c9f['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{$(this['editor'],_0x410c9f);});});const _0x273e5f=this['editor']['commands']['get']('uploadcareImageReplace');_0x273e5f&&this['listenTo'](_0x273e5f,'execute',()=>{const _0x5baaff=this['editor']['model']['document']['selection']['getSelectedElement']();_0x5baaff&&_0x5baaff['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{$(this['editor'],_0x5baaff);});});}}class H extends _0x4b7a1a{static get['requires'](){return[z,A];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x2c48ae){super(_0x2c48ae),_0x2c48ae['config']['define']('uploadcare.uploader.sourceList',[S['Local'],S['URL']]),_0x462a9f['defineComponents'](_0x462a9f),this['_defineLocale']();}['_defineLocale'](){const _0x15276c=this['editor']['config']['get']('uploadcare.locale'),_0x457b3f=this['editor']['locale']['contentLanguage'];_0x15276c&&_0x462a9f['defineLocale'](_0x457b3f,_0x15276c);}}class J extends _0x1b2fbe{constructor(_0x874603){super(_0x874603);const t=_0x874603['t'],_0xc6fca5=this['bindTemplate'],_0x20ae57=new _0xfffbb5();_0x20ae57['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':[_0x20ae57,{'text':_0xc6fca5['to']('imageUploadProgress',_0x34c8ce=>t('Loading\x20image...')+'\x20('+(_0x34c8ce||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 Z extends _0x1b2fbe{constructor(_0x36074b){super(_0x36074b);const t=_0x36074b['t'];this['set']('errorType',null);const _0x319416=new _0x2df434(_0x36074b);_0x319416['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x319416['withText']=!0x0,_0x319416['class']='ck-button-action',_0x319416['on']('execute',()=>{this['fire']('retry');}),_0x319416['bind']('isVisible')['to'](this,'errorType',_0x302018=>'NotFound'!==_0x302018);const _0x4b881e=new _0x45da82();_0x4b881e['content']=_0x1d4f2e,_0x4b881e['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x83d070=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':[_0x4b881e,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x83d070['to']('errorType',_0x19183f=>t('NotFound'!==_0x19183f?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x319416]},{'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 Q extends _0x1b2fbe{constructor(_0x4a8057,_0x478fc0){super(_0x4a8057);const _0x46eeb1=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x478fc0,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x46eeb1['to']('imageSrc')}});}}class X extends K{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x142f0a,_0x443a8e,_0x5cdd84){super(_0x142f0a),this['_items']=this['createCollection'](),this['_loadingView']=new J(_0x142f0a),this['_errorView']=new Z(_0x142f0a),this['_editingView']=new Q(_0x142f0a,_0x5cdd84),this['_focusableView']=new _0x1b2fbe(_0x142f0a),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x443a8e),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'],_0x3422bf=>{this['_addUploadcareImageEditorListeners'](_0x3422bf);});}),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'](_0x2859c6,_0xdf99d3){const _0x46cb55='uc-cloud-image-editor',_0x58ea61=_0x2859c6['querySelector'](_0x46cb55);if(_0x58ea61)return _0xdf99d3(_0x58ea61);const _0x196379=new MutationObserver(_0x38a17c=>{const _0x44bf94=_0x38a17c['filter'](_0x5ded36=>_0x5ded36['target']===_0x2859c6&&_0x5ded36['addedNodes']['length']>0x0&&_0x5ded36['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x46cb55);_0x44bf94['length']&&(_0x196379['disconnect'](),_0xdf99d3(_0x44bf94[0x0]['addedNodes'][0x0]));});_0x196379['observe'](_0x2859c6,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x316361){_0x316361['addEventListener']('apply',_0x86880f=>{this['fire']('apply',{'imageSrc':_0x86880f['detail']['cdnUrl']});}),_0x316361['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class Y extends/* #__PURE__ -- @preserve */
25
- _0xf6fd38(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x54959e,_0x3ce137,_0x9772a0){super(),this['_editor']=_0x54959e,this['_dialog']=_0x3ce137,this['_imageElement']=_0x9772a0,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 _0x43d0a8=this['_imageElement'],_0x5e80c3=_0x43d0a8['getAttribute']('uploadcareImageId'),_0x3e8c3f=_0x43d0a8['getAttribute']('src');if(_0x5e80c3)await this['_loadImageInfo'](_0x5e80c3,_0x3e8c3f);else{if(this['_imageCache']['has'](_0x3e8c3f)){const _0x4be5ec=this['_imageCache']['get'](_0x3e8c3f);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x4be5ec['url'],this['imageDimension']=_0x4be5ec['dimension'],this['imageId']=_0x4be5ec['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x219218}=this['_editor'],t=_0x219218['t'],_0x2484e1=new X(_0x219218,this['imageStatus'],this['_attributes']);_0x2484e1['bind']('status')['to'](this,'imageStatus'),_0x2484e1['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x2484e1['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x2484e1['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x2484e1,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0xa6ffba,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x2484e1,'position':_0x29e379['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x2484e1['focus']();},'onHide':()=>{_0x2484e1['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x111192=>!V(_0x111192,_0x2484e1['element'])}});}['_loadImageInfo'](_0x28cb4b,_0x446c2e){return q['getInfo'](_0x28cb4b,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x19be06=>{const {width:_0x212a13,height:_0x3bc3a1}=_0x19be06['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x446c2e,this['imageDimension']={'width':_0x212a13,'height':_0x3bc3a1},this['imageId']=_0x28cb4b;})['catch'](_0x34b587=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x34b587['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x5a016e,_0x108322){return this['_getImageAsFile'](_0x5a016e)['then'](_0x205dcd=>q['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':_0x108322['signal'],'file':_0x205dcd,'onProgress':_0x47d890=>{_0x47d890&&_0x47d890['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x47d890['value']));}}))['then'](_0x143d81=>{const {width:_0x2a5582,height:_0x26c1b9}=_0x143d81['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x143d81['cdnUrl'],this['imageDimension']={'width':_0x2a5582,'height':_0x26c1b9},this['imageId']=_0x143d81['uuid'],this['imageUploadProgress']=null;const _0x17a651=_0x5a016e['getAttribute']('src');this['_imageCache']['set'](_0x17a651,{'id':_0x143d81['uuid'],'url':_0x143d81['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x45f70e=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x45f70e['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x481979,_0x1b31d9){_0x481979['on']('apply',(_0x53898f,_0x3d7f74)=>{this['_replaceImage'](_0x1b31d9,_0x3d7f74['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x481979['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x481979['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x35f704,_0x8e3ebc,_0x3d547b){const _0x256263=this['_editor'],{width:_0x3b677e,height:_0x849f1b}=F(_0x8e3ebc,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x2bf02a,imageSources:_0x29b5e2}=D(_0x8e3ebc,_0x3b677e);_0x256263['model']['change'](_0x541afc=>{if('$graveyard'===_0x35f704['root']['rootName']){_0x256263['execute']('insertImage',{'imageType':_0x35f704['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x35f704['getAttributes']()),'uploadcareImageId':_0x3d547b,'src':_0x2bf02a,'sources':_0x29b5e2,'width':_0x3b677e,'height':_0x849f1b}});const _0x220e64=_0x35f704['getChildren']();_0x35f704=_0x256263['model']['document']['selection']['getSelectedElement']();for(const _0x300d0f of _0x220e64)_0x541afc['append'](_0x541afc['cloneElement'](_0x300d0f),_0x35f704);}else _0x541afc['setSelection'](_0x35f704,'on'),_0x256263['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x35f704['getAttributes']()),'uploadcareImageId':_0x3d547b,'src':_0x2bf02a,'sources':_0x29b5e2,'width':_0x3b677e,'height':_0x849f1b},_0x35f704);_0x541afc['setSelection'](_0x35f704,'on');});}async['_getImageAsFile'](_0x55d884){const _0x1aec98=_0x3373e5['window'],_0x48f6ab=_0x3373e5['document']['location']['href'],_0x3a1559=new _0x1aec98['URL'](_0x55d884['getAttribute']('src'),_0x48f6ab);if('data:'===_0x3a1559['protocol']){const _0x505bca=_0x3a1559['href']['split'](','),_0x4d6461=_0x505bca[0x0]['match'](/:(.*?);/)[0x1],_0x38180d=_0x4d6461['split']('/')[0x1],_0x1c59c1=_0x1aec98['atob'](_0x505bca[_0x505bca['length']-0x1]);let _0x3303d9=_0x1c59c1['length'];const _0x3ccac6=new _0x1aec98['Uint8Array'](_0x3303d9);for(;_0x3303d9--;)_0x3ccac6[_0x3303d9]=_0x1c59c1['charCodeAt'](_0x3303d9);return new _0x1aec98['File']([_0x3ccac6],'image.'+_0x38180d,{'type':_0x4d6461});}const _0x1f8a2a=_0x3a1559['href']['split']('/'),_0x1479c2=_0x1f8a2a[_0x1f8a2a['length']-0x1],_0x26df3f=_0x1479c2['split']('.')[0x1];return _0x1aec98['fetch'](_0x3a1559['href'])['then'](_0x1ba333=>_0x1ba333['clone']()['blob']())['then'](_0x4b1b91=>new _0x1aec98['File']([_0x4b1b91],_0x1479c2,{'type':'image/'+_0x26df3f}));}}class tt extends _0x455ef5{['imageEditController'];static get['requires'](){return[_0x1aed13];}['_isEditable'];constructor(_0x319ae8){super(_0x319ae8),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x1e46a8){const _0x28ae10=B(_0x1e46a8);return _0x55672d=>!(!_0x55672d||!_0x55672d['is']('element','imageBlock')&&!_0x55672d['is']('element','imageInline'))&&(!!_0x55672d['hasAttribute']('uploadcareImageId')||!!_0x55672d['hasAttribute']('src')&&_0x28ae10(_0x55672d['getAttribute']('src')));}(_0x319ae8['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x149d8e=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x149d8e);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x3875e1=this['editor']['model']['document']['selection']['getSelectedElement']();_0x3875e1&&(_0x3875e1['is']('element','imageBlock')||_0x3875e1['is']('element','imageInline'))&&(this['imageEditController']=new Y(this['editor'],this['editor']['plugins']['get'](_0x1aed13),_0x3875e1),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class et extends _0x455ef5{['refresh'](){const _0x1052ae=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x1052ae&&(_0x1052ae['is']('element','imageBlock')||_0x1052ae['is']('element','imageInline')));}['execute'](_0x4ebaaf){const _0x5dbd93=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x5dc974=>{_0x5dc974['setAttributes'](_0x4ebaaf,_0x5dbd93),_0x5dc974['removeAttribute']('srcset',_0x5dbd93),_0x5dc974['removeAttribute']('sizes',_0x5dbd93);});}}class it extends _0x4b7a1a{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[z,_0x38835a,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x39f558}=this;_0x39f558['commands']['add']('uploadcareImageEdit',new tt(_0x39f558)),_0x39f558['commands']['add']('uploadcareImageReplace',new et(_0x39f558));}}class st extends _0x4b7a1a{['_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 _0x2859aa=this['editor'];_0x2859aa['ui']['componentFactory']['add']('uploadcareImageEdit',_0x4054ee=>{const _0x4f67e4=_0x2859aa['commands']['get']('uploadcareImageEdit'),_0x210616=new _0x2df434(_0x4054ee),t=_0x4054ee['t'];return _0x210616['set']({'icon':_0xa6ffba,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x210616['bind']('isEnabled')['to'](_0x4f67e4),_0x210616['bind']('isOn')['to'](_0x4f67e4,'isActive'),this['listenTo'](_0x210616,'execute',()=>{_0x2859aa['execute']('uploadcareImageEdit'),_0x2859aa['editing']['view']['focus']();}),_0x210616;}),this['_initConfig']();}['_initConfig'](){const _0x55e049=_0x1ce5e3(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x55e049),this['listenTo'](this['editor'],'destroy',()=>{_0x55e049['remove']();});}}class nt extends _0x4b7a1a{static get['pluginName'](){return'UploadcareImageEdit';}static get['requires'](){return[it,st];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{H as Uploadcare,M as UploadcareCommand,z as UploadcareEditing,nt as UploadcareImageEdit,tt as UploadcareImageEditCommand,it as UploadcareImageEditEditing,st as UploadcareImageEditUI,A as UploadcareUI,W as UploadcareUploadAdapter};
23
+ import{Plugin as _0x16e49e,Command as _0x2b8965}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x34b7d7,IconGooglePhotos as _0x5d1ab1,IconGoogleDrive as _0x172ce6,IconFacebook as _0x519094,IconDropbox as _0x4d2d77,IconUploadcareLink as _0x1a69a5,IconUploadcareImageUpload as _0x1f9b73,IconError as _0x57bd16,IconUploadcareImageEdit as _0x1dee33}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x1b772a,MenuBarMenuListItemButtonView as _0x4f3aed,View as _0xecb110,FocusCycler as _0x54ea2e,Dialog as _0x2ed66e,DialogViewPosition as _0x227eb8,SpinnerView as _0x3d9f51,IconView as _0x42fa9,Notification as _0x14c196}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x48200c,DomEmitterMixin as _0x2b41fc,global as _0x236f21,getAncestors as _0x3fc385,ObservableMixin as _0x5d2ec8,uid as _0x30c39d,createElement as _0x119dc5}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x52da6c}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x4d6486,info as _0x55e455}from'@uploadcare/upload-client';import*as _0x4e35e5 from'@uploadcare/file-uploader';var S=function(_0x2f21c1){return _0x2f21c1['Local']='local',_0x2f21c1['URL']='url',_0x2f21c1['Dropbox']='dropbox',_0x2f21c1['GDrive']='gdrive',_0x2f21c1['Facebook']='facebook',_0x2f21c1['GPhotos']='gphotos',_0x2f21c1['OneDrive']='onedrive',_0x2f21c1;}({});function T(_0x15b0d9,_0x50a346,_0xcf76f3){const t=_0x15b0d9['t'],_0x163551=_0x15b0d9['t'];switch(_0x50a346){case S['Local']:return{'text':_0x163551('Insert'===_0xcf76f3?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x163551('From\x20computer')};case S['URL']:return{'text':'Insert'===_0xcf76f3?_0x163551('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x163551('Via\x20URL')};case S['Dropbox']:return{'text':t('Insert'===_0xcf76f3?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case S['Facebook']:return{'text':t('Insert'===_0xcf76f3?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case S['GDrive']:return{'text':t('Insert'===_0xcf76f3?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case S['GPhotos']:return{'text':t('Insert'===_0xcf76f3?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case S['OneDrive']:return{'text':t('Insert'===_0xcf76f3?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x50a346;}}class A extends _0x16e49e{['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 _0x311df4=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x4ee331;for(const _0x1eb981 in _0x311df4){const _0x476db1=_0x1eb981,_0x21c7ff=_0x311df4[_0x476db1];if('uploadcareLicenseKeyValid'==_0x21c7ff||'uploadcareLicenseKeyInvalid'==_0x21c7ff||'uploadcareLicenseKeyExpired'==_0x21c7ff||'uploadcareLicenseKeyDomainLimit'==_0x21c7ff||'uploadcareLicenseKeyNotAllowed'==_0x21c7ff||'uploadcareLicenseKeyEvaluationLimit'==_0x21c7ff||'uploadcareLicenseKeyUsageLimit'==_0x21c7ff){delete _0x311df4[_0x476db1],_0x4ee331=_0x21c7ff,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x4ee331&&_0x311df4['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x4ee331&&_0x311df4['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x4ee331&&_0x311df4['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x4ee331&&_0x311df4['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x4ee331&&_0x311df4['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyUsageLimit'==_0x4ee331&&_0x311df4['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x515d86}=this,_0x5cf650=_0x515d86['commands']['get']('uploadcare');if(!_0x5cf650)return;const _0x9c0314=this['_normalizeConfigSourceList'](_0x515d86['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x1cbc6e,_0x12cfdb)=>{const _0x3d5b73=this['_getIntegrationKey'](_0x12cfdb['type']);return _0x1cbc6e[_0x3d5b73]||(_0x1cbc6e[_0x3d5b73]=[]),_0x1cbc6e[_0x3d5b73]['push'](_0x12cfdb),_0x1cbc6e;},{});_0x515d86['plugins']['has']('ImageInsertUI')&&_0x515d86['commands']['get']('uploadcare')&&Object['entries'](_0x9c0314)['forEach'](([_0x1aade4,_0x22a255])=>{_0x515d86['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x1aade4,'observable':()=>_0x5cf650,'buttonViewCreator':()=>this['_createToolbarButton'](_0x22a255),'formViewCreator':()=>this['_createDropdownButtons'](_0x22a255),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x22a255),'override':'assetManager'!==_0x1aade4});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x3aed8d){const {locale:_0x10102a}=this['editor'];return _0x3aed8d['map'](_0x304079=>{const _0x154f0e=T(_0x10102a,_0x304079,'Insert');switch(_0x304079){case S['Local']:return{'icon':_0x1f9b73,'type':S['Local'],..._0x154f0e};case S['URL']:return{'icon':_0x1a69a5,'type':S['URL'],..._0x154f0e};case S['Dropbox']:return{'icon':_0x4d2d77,'type':S['Dropbox'],..._0x154f0e};case S['Facebook']:return{'icon':_0x519094,'type':S['Facebook'],..._0x154f0e};case S['GDrive']:return{'icon':_0x172ce6,'type':S['GDrive'],..._0x154f0e};case S['GPhotos']:return{'icon':_0x5d1ab1,'type':S['GPhotos'],..._0x154f0e};case S['OneDrive']:return{'icon':_0x34b7d7,'type':S['OneDrive'],..._0x154f0e};}});}['_getIntegrationKey'](_0x43e633){switch(_0x43e633){case S['Local']:return'upload';case S['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x20d517,_0x4ff14d){const _0xf2d20a=this['editor'],_0x4cd3fd=new _0x20d517(_0xf2d20a['locale']),_0xf2d0fb=_0xf2d20a['commands']['get']('uploadcare');return _0x4cd3fd['bind']('isEnabled')['to'](_0xf2d0fb),_0x4cd3fd['on']('execute',()=>{_0xf2d0fb['execute'](_0x4ff14d);}),_0x4cd3fd;}['_createToolbarButton'](_0xd135a4){const {locale:_0x22cc81}=this['editor'],_0x40e69e=this['editor']['plugins']['get']('ImageInsertUI'),_0x37fc74=_0xd135a4[0x0],_0x7f43ba=this['_createButton'](_0x1b772a,_0x37fc74['type']);return _0x7f43ba['icon']=_0x37fc74['icon'],_0x7f43ba['bind']('label')['to'](_0x40e69e,'isImageSelected',_0x317da4=>T(_0x22cc81,_0x37fc74['type'],_0x317da4?'Replace':'Insert')['text']),_0x7f43ba['tooltip']=!0x0,_0x7f43ba;}['_createDropdownButtons'](_0xe344ce){const {locale:_0x550234}=this['editor'],_0x3f2fa9=this['editor']['plugins']['get']('ImageInsertUI');return _0xe344ce['map'](_0x456a49=>{const _0x631d8a=this['_createButton'](_0x1b772a,_0x456a49['type']);return _0x631d8a['withText']=!0x0,_0x631d8a['icon']=_0x456a49['icon'],_0x631d8a['bind']('label')['to'](_0x3f2fa9,'isImageSelected',_0x73c1da=>T(_0x550234,_0x456a49['type'],_0x73c1da?'Replace':'Insert')['text']),_0x631d8a;});}['_createMenuBarButtons'](_0x219612){return _0x219612['map'](_0x4e2355=>{const _0x548056=this['_createButton'](_0x4f3aed,_0x4e2355['type']);return _0x548056['icon']=_0x4e2355['icon'],_0x548056['label']=_0x4e2355['shortText'],_0x548056;});}}class K extends _0xecb110{['focusTracker'];['focusCycler'];constructor(_0x2b57f3){super(_0x2b57f3),this['focusTracker']=new _0x48200c(),this['focusCycler']=new _0x54ea2e({'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 O extends K{constructor(_0x300d6d,_0xc1b193){super(_0x300d6d),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-'+_0xc1b193}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function D(_0x2bcbb6,_0x5bf1dc){const _0x2b53f3=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x3224ec=>_0x3224ec<=_0x5bf1dc)['map'](_0x460a0c=>_0x2bcbb6['replace'](/\/$/,'')+'/-/resize/'+_0x460a0c+'x/\x20'+_0x460a0c+'w');return{'imageFallbackUrl':_0x2bcbb6,'imageSources':[{'srcset':_0x2b53f3['join'](',\x20'),'sizes':'(max-width:\x20'+_0x5bf1dc+'px)\x20100vw,\x20'+_0x5bf1dc+'px','type':'image/webp'}]};}function F(_0x5bebec,_0x3ffd22,_0x13b668){const _0x9a1dbb=_0x5bebec['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x9a1dbb?parseInt(_0x9a1dbb[0x1],0xa):_0x3ffd22,'height':_0x9a1dbb?parseInt(_0x9a1dbb[0x2],0xa):_0x13b668};}function $(_0x1bcd29,_0x154ad3){const _0x1c6da5=new(_0x2b41fc())(),_0x4e8991=_0x1bcd29['plugins']['get']('ImageUtils'),_0x5e2f76=_0x1bcd29['editing']['mapper']['toViewElement'](_0x154ad3),_0x237d0b=_0x4e8991['findViewImgElement'](_0x5e2f76),_0x4f9c14=_0x1bcd29['editing']['view']['domConverter']['viewToDom'](_0x237d0b),_0xea05f4=_0x154ad3['getAttribute']('width'),_0x46b6c2=_0x154ad3['getAttribute']('height'),_0x4758d9='image-processing';_0x1bcd29['editing']['view']['change'](_0x55d17b=>{_0x55d17b['addClass'](_0x4758d9,_0x5e2f76),_0x55d17b['setStyle']('aspect-ratio',_0xea05f4+'/'+_0x46b6c2,_0x237d0b);}),_0x1c6da5['listenTo'](_0x4f9c14,'load',()=>{_0x1c6da5['stopListening'](_0x4f9c14,'load'),_0x1bcd29['editing']['view']['change'](_0x33d401=>{_0x33d401['removeClass'](_0x4758d9,_0x5e2f76),_0x33d401['removeStyle']('aspect-ratio',_0x237d0b);});});}function B(_0x55c683){if(Array['isArray'](_0x55c683)){const _0x2437bd=_0x55c683['map'](B);return _0x16e766=>_0x2437bd['some'](_0x782bc0=>_0x782bc0(_0x16e766));}if('origin'==_0x55c683){const _0x5f464e=_0x236f21['window']['location']['origin'];return _0x3d22c5=>new URL(_0x3d22c5,_0x236f21['document']['baseURI'])['origin']==_0x5f464e;}return'function'==typeof _0x55c683?_0x55c683:_0x55c683 instanceof RegExp?_0x23762c=>!(!_0x23762c['match'](_0x55c683)&&!_0x23762c['replace'](/^https?:\/\//,'')['match'](_0x55c683)):()=>!0x1;}function V(_0x1db585,_0x55fc0d){return _0x3fc385(_0x1db585['target'])['includes'](_0x55fc0d);}class j extends/* #__PURE__ -- @preserve */
24
+ _0x5d2ec8(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x36a170,_0xf0eb42,_0x5c3b86){super(),this['_editor']=_0x36a170,this['_editing']=_0xf0eb42,this['_dialog']=_0x36a170['plugins']['get'](_0x2ed66e),this['_api']=_0xf0eb42['ctxElement']['getAPI'](),this['_type']=_0x5c3b86,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:_0x1ccda8,model:_0x2db0d1}=this['_editor'],_0x306a30=_0x2db0d1['document']['selection']['getSelectedElement'](),_0x9c4468=_0x306a30&&(_0x306a30['is']('element','imageBlock')||_0x306a30['is']('element','imageInline'));this['_formView']=new O(_0x1ccda8,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':_0x1f9b73,'title':T(_0x1ccda8,this['_type'],_0x9c4468?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x227eb8['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x11a54f=>!V(_0x11a54f,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x348448}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x40c142=>{const _0xeb3151=_0x348448['length'];for(const _0x3a94ef of _0x348448){const _0x5924bf=_0x3a94ef===_0x348448[_0xeb3151-0x1],{cdnUrl:_0x207e7b,fileInfo:_0x2675ec}=_0x3a94ef;if(!_0x207e7b||!_0x2675ec)continue;const {width:_0x21f3fc,height:_0x510f28}=_0x2675ec['imageInfo'],_0x108036=F(_0x207e7b,_0x21f3fc,_0x510f28),_0x3be2eb=D(_0x207e7b,_0x108036['width']),_0x55ccb8={'id':_0x2675ec['uuid'],'type':'image','attributes':{'imageDimension':_0x108036,..._0x3be2eb}};this['_insertAsset'](_0x55ccb8,_0x5924bf,_0x40c142);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x59e5df=>{'idle'===_0x59e5df['detail']['status']&&!_0x59e5df['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===S['Local']?this['_api']['setCurrentActivity'](S['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x4df4cf,_0xdc6abe,_0x2f70af){const _0x4ff29c=this['_editor']['model']['document']['selection'],_0x1ba96f=_0x4ff29c['getSelectedElement'](),_0x137873=!(!_0x1ba96f||!_0x1ba96f['is']('element','imageInline'));_0x2f70af['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x4df4cf,_0x137873),_0xdc6abe||_0x2f70af['setSelection'](_0x4ff29c['getLastPosition']());}['_insertImage'](_0x5d4211,_0x534533){const _0x1e477b=this['_editor'],{imageDimension:_0x1f8347,imageFallbackUrl:_0x2c621c,imageSources:_0x3e0c3b}=_0x5d4211['attributes'];_0x1e477b['execute']('insertImage',{'imageType':_0x534533?'imageInline':null,'source':{'uploadcareImageId':_0x5d4211['id'],'src':_0x2c621c,'sources':_0x3e0c3b,..._0x1f8347}});}}class M extends _0x2b8965{['_editing'];['_controller']=null;static get['requires'](){return[_0x2ed66e,z];}constructor(_0x57f8f9){super(_0x57f8f9),this['_editing']=_0x57f8f9['plugins']['get'](z);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x37fbae){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new j(this['editor'],this['_editing'],_0x37fbae);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class q{static['upload']({file:_0x522ab7,..._0x286db3}){return _0x4d6486(_0x522ab7,_0x286db3);}static['getInfo'](_0x34b0be,_0x481631){return _0x55e455(_0x34b0be,_0x481631);}}class W extends _0x16e49e{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x52da6c,z];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x5a158d=this['editor'];if(!!!_0x5a158d['config']['get']('uploadcare'))return;_0x5a158d['plugins']['get'](_0x52da6c)['createUploadAdapter']=_0x24e9ee=>new G(_0x24e9ee,_0x5a158d),_0x5a158d['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x49aba7,{imageElement:_0x12933d,data:_0x1456af})=>{_0x5a158d['model']['change'](_0x2c0eec=>{_0x2c0eec['setAttribute']('uploadcareImageId',_0x1456af['uploadcareImageId'],_0x12933d);});});}}class G{['loader'];['editor'];['controller'];constructor(_0x206641,_0x52f17e){this['loader']=_0x206641,this['editor']=_0x52f17e,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x2cb81b=await this['loader']['file'];return q['upload']({'file':_0x2cb81b,'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':_0x523c73=>{_0x523c73&&_0x523c73['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x523c73['value']);}})['then'](async _0x3816a9=>{const {imageFallbackUrl:_0x21bb7c,imageSources:_0xbf603f}=D(_0x3816a9['cdnUrl'],_0x3816a9['imageInfo']['width']);return{'uploadcareImageId':_0x3816a9['uuid'],'default':_0x21bb7c,'sources':_0xbf603f};})['catch'](()=>{const _0x35a93f=t('Cannot\x20upload\x20file:')+('\x20'+_0x2cb81b['name']+'.');return Promise['reject'](_0x35a93f);});}['abort'](){this['controller']['abort']();}}class z extends _0x16e49e{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',W,_0x2ed66e];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['ucContextId'];get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}constructor(_0x113cfd){super(_0x113cfd),this['ucContextId']=_0x30c39d();}['init'](){const _0x344492=this['editor'];_0x344492['commands']['add']('uploadcare',new M(_0x344492));}['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 _0x4ef219=_0x236f21['document']['querySelector']('input[uploadcare-file-input]');_0x4ef219&&_0x4ef219['remove']();}),async function(_0xd8b273){const _0xc8188b=_0x4df6ff([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]),_0x1c9e1e=0x535f8c3a,_0xbb6c42=0x53580c72^_0x1c9e1e,_0x12e04a=window[_0x4df6ff([0x44,0x61,0x74,0x65])][_0x4df6ff([0x6e,0x6f,0x77])](),_0x137abb=_0xd8b273[_0x4df6ff([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x942e85=new window[(_0x4df6ff([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x561332=>{_0x137abb[_0x4df6ff([0x6f,0x6e,0x63,0x65])](_0x4df6ff([0x72,0x65,0x61,0x64,0x79]),_0x561332);}),_0x548cd2={[_0x4df6ff([0x6b,0x74,0x79])]:_0x4df6ff([0x45,0x43]),[_0x4df6ff([0x75,0x73,0x65])]:_0x4df6ff([0x73,0x69,0x67]),[_0x4df6ff([0x63,0x72,0x76])]:_0x4df6ff([0x50,0x2d,0x32,0x35,0x36]),[_0x4df6ff([0x78])]:_0x4df6ff([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]),[_0x4df6ff([0x79])]:_0x4df6ff([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]),[_0x4df6ff([0x61,0x6c,0x67])]:_0x4df6ff([0x45,0x53,0x32,0x35,0x36])},_0x4fcf19=_0x137abb[_0x4df6ff([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4df6ff([0x67,0x65,0x74])](_0x4df6ff([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0xd29d15(){let _0x203b16,_0x555d17=null,_0x30069d=null;try{if(_0x4fcf19==_0x4df6ff([0x47,0x50,0x4c]))return _0x4df6ff([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x203b16=_0x12807e(),!_0x203b16)return _0x4df6ff([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x203b16[_0x4df6ff([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x30069d=_0x58e91c(_0x203b16[_0x4df6ff([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x203b16[_0x4df6ff([0x6a,0x74,0x69])])),await _0x56386e()?_0x5f244a()?_0x4eeff3()?_0x4df6ff([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x2c9d49()?(_0x203b16[_0x4df6ff([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4df6ff([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x555d17=_0x4753ee(_0x4df6ff([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0xdddcf()):_0x4df6ff([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4df6ff([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4df6ff([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x4df6ff([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x4eeff3(){const _0x493d12=[_0x4df6ff([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4df6ff([0x74,0x72,0x69,0x61,0x6c])][_0x4df6ff([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x203b16[_0x4df6ff([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x12e04a/0x3e8:0xe10*_0xbb6c42;return _0x203b16[_0x4df6ff([0x65,0x78,0x70])]<_0x493d12;}function _0x5f244a(){const _0x2b27c2=_0x203b16[_0x4df6ff([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x2b27c2&&(!!_0x2b27c2[_0x4df6ff([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4df6ff([0x2a]))||!!_0x2b27c2[_0x4df6ff([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4df6ff([0x55,0x50,0x4c,0x43])));}function _0x2c9d49(){const _0x10f099=_0x203b16[_0x4df6ff([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x10f099||0x0==_0x10f099[_0x4df6ff([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x5af749}=new URL(window[_0x4df6ff([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x10f099[_0x4df6ff([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5af749))return!0x0;const _0x136ea7=_0x5af749[_0x4df6ff([0x73,0x70,0x6c,0x69,0x74])](_0x4df6ff([0x2e]));return _0x10f099[_0x4df6ff([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3ae127=>_0x3ae127[_0x4df6ff([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4df6ff([0x2a])))[_0x4df6ff([0x6d,0x61,0x70])](_0x5426b1=>_0x5426b1[_0x4df6ff([0x73,0x70,0x6c,0x69,0x74])](_0x4df6ff([0x2e])))[_0x4df6ff([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4bf5aa=>_0x4bf5aa[_0x4df6ff([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x136ea7[_0x4df6ff([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4df6ff([0x6d,0x61,0x70])](_0x2da9aa=>Array(_0x136ea7[_0x4df6ff([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x2da9aa[_0x4df6ff([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4df6ff([0x66,0x69,0x6c,0x6c])](_0x2da9aa[0x0]===_0x4df6ff([0x2a])?_0x4df6ff([0x2a]):'')[_0x4df6ff([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x2da9aa))[_0x4df6ff([0x73,0x6f,0x6d,0x65])](_0x4fab73=>_0x136ea7[_0x4df6ff([0x65,0x76,0x65,0x72,0x79])]((_0x2e9ead,_0x3025ac)=>_0x4fab73[_0x3025ac]===_0x2e9ead||_0x4fab73[_0x3025ac]===_0x4df6ff([0x2a])));}function _0xdddcf(){return _0x555d17&&_0x30069d?new window[(_0x4df6ff([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1e2f9a,_0x2b6004)=>{_0x555d17[_0x4df6ff([0x74,0x68,0x65,0x6e])](_0x1e2f9a,_0x2b6004),_0x30069d[_0x4df6ff([0x74,0x68,0x65,0x6e])](_0x5a6c78=>{_0x5a6c78!=_0x4df6ff([0x56,0x61,0x6c,0x69,0x64])&&_0x1e2f9a(_0x5a6c78);},_0x2b6004);}):_0x555d17||_0x30069d||_0x4df6ff([0x56,0x61,0x6c,0x69,0x64]);}}function _0x58e91c(_0x52d306,_0x4877c6){return new window[(_0x4df6ff([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xe8230a=>{if(_0x466241())return _0xe8230a(_0x4df6ff([0x56,0x61,0x6c,0x69,0x64]));_0xff9a77(),_0x137abb[_0x4df6ff([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4df6ff([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x5c1344=!0x1;const _0x2355f3=_0x30c39d();function _0x59dae8(_0x59ce17){return!!_0x59ce17&&(typeof _0x59ce17===_0x4df6ff([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x59ce17===_0x4df6ff([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x59ce17[_0x4df6ff([0x74,0x68,0x65,0x6e])]===_0x4df6ff([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x59ce17[_0x4df6ff([0x63,0x61,0x74,0x63,0x68])]===_0x4df6ff([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3a7891(_0x383e64){_0x99b86c(_0x383e64)[_0x4df6ff([0x74,0x68,0x65,0x6e])](_0x3d0d5b=>{if(!_0x3d0d5b||_0x3d0d5b[_0x4df6ff([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4df6ff([0x6f,0x6b]))return _0x4df6ff([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0xcf6be4(_0x54a140(_0x2355f3+_0x4877c6))!=_0x3d0d5b[_0x4df6ff([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4df6ff([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4df6ff([0x56,0x61,0x6c,0x69,0x64]);})[_0x4df6ff([0x74,0x68,0x65,0x6e])](_0x28400e=>(_0xfd54b7(),_0x28400e),()=>{const _0x563577=_0x37a593();return null==_0x563577?(_0xfd54b7(),_0x4df6ff([0x56,0x61,0x6c,0x69,0x64])):_0x4df6ff(_0x12e04a-_0x563577>(0x7753083a^_0x1c9e1e)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4df6ff([0x74,0x68,0x65,0x6e])](_0xe8230a)[_0x4df6ff([0x63,0x61,0x74,0x63,0x68])](()=>{_0xe8230a(_0x4df6ff([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x323e5b=0x536962ba^_0x1c9e1e;function _0xfd54b7(){const _0x3fbc9e=_0x4df6ff([0x6c,0x6c,0x63,0x74,0x2d])+_0xcf6be4(_0x54a140(_0x52d306)),_0x47076d=_0x36fbde(_0xcf6be4(window[_0x4df6ff([0x4d,0x61,0x74,0x68])][_0x4df6ff([0x63,0x65,0x69,0x6c])](_0x12e04a/_0x323e5b)));window[_0x4df6ff([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4df6ff([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3fbc9e,_0x47076d);}function _0x37a593(){const _0x4f7ddf=_0x4df6ff([0x6c,0x6c,0x63,0x74,0x2d])+_0xcf6be4(_0x54a140(_0x52d306)),_0x50d757=window[_0x4df6ff([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4df6ff([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4f7ddf);return _0x50d757?window[_0x4df6ff([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x36fbde(_0x50d757),0x10)*_0x323e5b:null;}function _0x99b86c(_0x3c2ba8){return new window[(_0x4df6ff([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1aa22a,_0x4ae891)=>{_0x3c2ba8[_0x4df6ff([0x74,0x68,0x65,0x6e])](_0x1aa22a,_0x4ae891),window[_0x4df6ff([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x4ae891,0x535e58fa^_0x1c9e1e);});}}_0x137abb[_0x4df6ff([0x6f,0x6e])](_0x4df6ff([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0xaf2058,_0x2e4abb)=>{if(_0x2e4abb[0x0]!=_0x52d306)return _0xe8230a(_0x4df6ff([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2e4abb[0x1]={..._0x2e4abb[0x1],[_0x4df6ff([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2355f3};},{[_0x4df6ff([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4df6ff([0x68,0x69,0x67,0x68])}),_0x137abb[_0x4df6ff([0x6f,0x6e])](_0x4df6ff([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2c48d3=>{_0x59dae8(_0x2c48d3[_0x4df6ff([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x5c1344=!0x0,_0x3a7891(_0x2c48d3[_0x4df6ff([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4df6ff([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4df6ff([0x6c,0x6f,0x77])}),_0x942e85[_0x4df6ff([0x74,0x68,0x65,0x6e])](()=>{_0x5c1344||_0xe8230a(_0x4df6ff([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x466241(){return _0x137abb[_0x4df6ff([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4df6ff([0x76,0x69,0x65,0x77])][_0x4df6ff([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4df6ff([0x61,0x75,0x74,0x6f]);}function _0xff9a77(){_0x137abb[_0x4df6ff([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4df6ff([0x76,0x69,0x65,0x77])][_0x4df6ff([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4df6ff([0x61,0x75,0x74,0x6f]);}}function _0x4753ee(_0x425edd){const _0x138070=[new window[(_0x4df6ff([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x333137=>setTimeout(_0x333137,0x5356b2f6^_0x1c9e1e)),_0x942e85[_0x4df6ff([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4df6ff([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x25819c=>{let _0x1fab13=0x0;_0x137abb[_0x4df6ff([0x6d,0x6f,0x64,0x65,0x6c])][_0x4df6ff([0x6f,0x6e])](_0x4df6ff([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4b48d3,_0x38fb31)=>{_0x38fb31[0x0][_0x4df6ff([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1fab13++,_0x1fab13==(0x535f89d2^_0x1c9e1e)&&(_0x25819c(),_0x4b48d3[_0x4df6ff([0x6f,0x66,0x66])]());});}))];return window[_0x4df6ff([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4df6ff([0x72,0x61,0x63,0x65])](_0x138070)[_0x4df6ff([0x74,0x68,0x65,0x6e])](()=>_0x425edd);}async function _0x5649e4(){await _0x942e85,_0x137abb[_0x4df6ff([0x6d,0x6f,0x64,0x65,0x6c])][_0x4df6ff([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x1c02a1,_0x137abb[_0x4df6ff([0x6d,0x6f,0x64,0x65,0x6c])][_0x4df6ff([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x1c02a1,_0x137abb[_0x4df6ff([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4df6ff([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x18e5dc(_0x201849){const _0x149332=_0x31864d();_0x137abb[_0x149332]=_0x4df6ff([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x201849,_0x201849!=_0x4df6ff([0x56,0x61,0x6c,0x69,0x64])&&_0x5649e4();}function _0x31864d(){const _0x1db815=window[_0x4df6ff([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4df6ff([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4df6ff([0x6e,0x6f,0x77])]())[_0x4df6ff([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4df6ff([0x2e]),'');let _0x2f06f3=_0x4df6ff([0x68]);for(let _0x1f2790=0x0;_0x1f2790<_0x1db815[_0x4df6ff([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1f2790+=0x2){let _0x140422=window[_0x4df6ff([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1db815[_0x4df6ff([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1f2790,_0x1f2790+0x2));_0x140422>=_0xc8188b[_0x4df6ff([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x140422-=_0xc8188b[_0x4df6ff([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2f06f3+=_0xc8188b[_0x140422];}return _0x2f06f3;}function _0x12807e(){const _0x10dd8b=_0x4fcf19[_0x4df6ff([0x73,0x70,0x6c,0x69,0x74])](_0x4df6ff([0x2e]));if(0x3!=_0x10dd8b[_0x4df6ff([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x54b380(_0x10dd8b[0x1]);function _0x54b380(_0x5d01ae){const _0x4728f7=_0x538fb6(_0x5d01ae);return _0x4728f7&&_0x282546()?_0x4728f7:null;function _0x282546(){const _0x5907a3=_0x4728f7[_0x4df6ff([0x6a,0x74,0x69])],_0x48c257=window[_0x4df6ff([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5907a3[_0x4df6ff([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5907a3[_0x4df6ff([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x226919={..._0x4728f7,[_0x4df6ff([0x6a,0x74,0x69])]:_0x5907a3[_0x4df6ff([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x5907a3[_0x4df6ff([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x226919[_0x4df6ff([0x76,0x63])],_0x54a140(_0x226919)==_0x48c257;}}}async function _0x56386e(){let _0x349782=!0x0;try{const _0x5ddb41=_0x4fcf19[_0x4df6ff([0x73,0x70,0x6c,0x69,0x74])](_0x4df6ff([0x2e])),[_0x4f4c19,_0x24b595,_0x861415]=_0x5ddb41;return _0x2df712(_0x4f4c19),await _0x4400f8(_0x4f4c19,_0x24b595,_0x861415),_0x349782;}catch{return!0x1;}function _0x2df712(_0x16b952){const _0x11853b=_0x538fb6(_0x16b952);_0x11853b&&_0x11853b[_0x4df6ff([0x61,0x6c,0x67])]==_0x4df6ff([0x45,0x53,0x32,0x35,0x36])||(_0x349782=!0x1);}async function _0x4400f8(_0x19d5b8,_0x854a5b,_0x2ab7a6){const _0x45d33f=window[_0x4df6ff([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4df6ff([0x66,0x72,0x6f,0x6d])](_0x11ab2e(_0x2ab7a6),_0x397c0a=>_0x397c0a[_0x4df6ff([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x126ef1=new window[(_0x4df6ff([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4df6ff([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x19d5b8+_0x4df6ff([0x2e])+_0x854a5b),_0x1d3a7d=window[_0x4df6ff([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4df6ff([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1d3a7d)return;const _0xabbfb=await _0x1d3a7d[_0x4df6ff([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4df6ff([0x6a,0x77,0x6b]),_0x548cd2,{[_0x4df6ff([0x6e,0x61,0x6d,0x65])]:_0x4df6ff([0x45,0x43,0x44,0x53,0x41]),[_0x4df6ff([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4df6ff([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4df6ff([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1d3a7d[_0x4df6ff([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4df6ff([0x6e,0x61,0x6d,0x65])]:_0x4df6ff([0x45,0x43,0x44,0x53,0x41]),[_0x4df6ff([0x68,0x61,0x73,0x68])]:{[_0x4df6ff([0x6e,0x61,0x6d,0x65])]:_0x4df6ff([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0xabbfb,_0x45d33f,_0x126ef1)||(_0x349782=!0x1);}}function _0x538fb6(_0x112c53){return _0x112c53[_0x4df6ff([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4df6ff([0x65,0x79]))?JSON[_0x4df6ff([0x70,0x61,0x72,0x73,0x65])](_0x11ab2e(_0x112c53)):null;}function _0x11ab2e(_0x1d8e67){return window[_0x4df6ff([0x61,0x74,0x6f,0x62])](_0x1d8e67[_0x4df6ff([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4df6ff([0x2b]))[_0x4df6ff([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4df6ff([0x2f])));}function _0x54a140(_0x1c3b77){let _0x53a83c=0x1505;function _0x2b33e4(_0x1058d0){for(let _0x1cd961=0x0;_0x1cd961<_0x1058d0[_0x4df6ff([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1cd961++){const _0x43657b=_0x1058d0[_0x4df6ff([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1cd961);_0x53a83c=(_0x53a83c<<0x5)+_0x53a83c+_0x43657b,_0x53a83c&=_0x53a83c;}}function _0xee277b(_0x425d07){Array[_0x4df6ff([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x425d07)?_0x425d07[_0x4df6ff([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0xee277b):_0x425d07&&typeof _0x425d07==_0x4df6ff([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4df6ff([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x425d07)[_0x4df6ff([0x73,0x6f,0x72,0x74])]()[_0x4df6ff([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x49be5f,_0x56930c])=>{_0x2b33e4(_0x49be5f),_0xee277b(_0x56930c);}):_0x2b33e4(window[_0x4df6ff([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x425d07));}return _0xee277b(_0x1c3b77),_0x53a83c>>>0x0;}function _0xcf6be4(_0x185be5){return _0x185be5[_0x4df6ff([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4df6ff([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4df6ff([0x30]));}function _0x36fbde(_0x2ba321){return _0x2ba321[_0x4df6ff([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4df6ff([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4df6ff([0x6a,0x6f,0x69,0x6e])]('');}function _0x1c02a1(){}function _0x4df6ff(_0x2c14b9){return _0x2c14b9['map'](_0xeec474=>String['fromCharCode'](_0xeec474))['join']('');}_0x18e5dc(await _0xd29d15());}(this);}['_initSchema'](){const _0x4a11fd=this['editor']['model']['schema'];_0x4a11fd['isRegistered']('imageBlock')&&_0x4a11fd['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x4a11fd['isRegistered']('imageInline')&&_0x4a11fd['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x356326=this['editor'];_0x356326['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x356326['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x221053=>_0x221053['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x4c3786=_0x356326['commands']['get']('replaceImageSource');_0x4c3786&&this['listenTo'](_0x4c3786,'cleanupImage',(_0xcc985f,[_0x1fa544,_0x217cba])=>{_0x1fa544['removeAttribute']('uploadcareImageId',_0x217cba);});}['_initConfig'](){const _0x2d5c07=this['editor']['config']['get']('uploadcare.uploader')||{},_0xa52ef6=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x119dc5(_0x236f21['document'],'uc-config',{..._0x2d5c07,'pubkey':_0xa52ef6,'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']=_0x36790b=>{if('closeMax'==_0x36790b)return'#uc-icon-arrow-down';},_0x236f21['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x119dc5(_0x236f21['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),_0x236f21['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x242cee=this['editor']['commands']['get']('insertImage');_0x242cee&&this['listenTo'](_0x242cee,'execute',()=>{const _0x131a37=this['editor']['model']['document']['selection']['getSelectedElement']();_0x131a37&&_0x131a37['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{$(this['editor'],_0x131a37);});});const _0x329155=this['editor']['commands']['get']('uploadcareImageReplace');_0x329155&&this['listenTo'](_0x329155,'execute',()=>{const _0x41ef5e=this['editor']['model']['document']['selection']['getSelectedElement']();_0x41ef5e&&_0x41ef5e['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{$(this['editor'],_0x41ef5e);});});}}class H extends _0x16e49e{static get['requires'](){return[z,A];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x2c0c2d){super(_0x2c0c2d),_0x2c0c2d['config']['define']('uploadcare.uploader.sourceList',[S['Local'],S['URL']]),_0x4e35e5['defineComponents'](_0x4e35e5),this['_defineLocale']();}['_defineLocale'](){const _0x3f28a8=this['editor']['config']['get']('uploadcare.locale'),_0x6af99a=this['editor']['locale']['contentLanguage'];_0x3f28a8&&_0x4e35e5['defineLocale'](_0x6af99a,_0x3f28a8);}}class J extends _0xecb110{constructor(_0xdfc738){super(_0xdfc738);const t=_0xdfc738['t'],_0x311361=this['bindTemplate'],_0x3fef72=new _0x3d9f51();_0x3fef72['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':[_0x3fef72,{'text':_0x311361['to']('imageUploadProgress',_0x3af707=>t('Loading\x20image...')+'\x20('+(_0x3af707||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 Z extends _0xecb110{constructor(_0x3e2dd8){super(_0x3e2dd8);const t=_0x3e2dd8['t'];this['set']('errorType',null);const _0xa371a7=new _0x1b772a(_0x3e2dd8);_0xa371a7['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0xa371a7['withText']=!0x0,_0xa371a7['class']='ck-button-action',_0xa371a7['on']('execute',()=>{this['fire']('retry');}),_0xa371a7['bind']('isVisible')['to'](this,'errorType',_0x3430a2=>'NotFound'!==_0x3430a2);const _0x5c1970=new _0x42fa9();_0x5c1970['content']=_0x57bd16,_0x5c1970['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x1ac21d=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':[_0x5c1970,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x1ac21d['to']('errorType',_0x4cb726=>t('NotFound'!==_0x4cb726?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0xa371a7]},{'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 Q extends _0xecb110{constructor(_0x2917e1,_0x4ed9b2){super(_0x2917e1);const _0x1ba6d5=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x4ed9b2,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x1ba6d5['to']('imageSrc')}});}}class X extends K{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x1e4e0d,_0x2de79e,_0x23779d){super(_0x1e4e0d),this['_items']=this['createCollection'](),this['_loadingView']=new J(_0x1e4e0d),this['_errorView']=new Z(_0x1e4e0d),this['_editingView']=new Q(_0x1e4e0d,_0x23779d),this['_focusableView']=new _0xecb110(_0x1e4e0d),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x2de79e),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'],_0x148b5a=>{this['_addUploadcareImageEditorListeners'](_0x148b5a);});}),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'](_0x34e2fa,_0x4f5f8a){const _0xd3cdb1='uc-cloud-image-editor',_0xebc409=_0x34e2fa['querySelector'](_0xd3cdb1);if(_0xebc409)return _0x4f5f8a(_0xebc409);const _0x4d8188=new MutationObserver(_0x2d7875=>{const _0x35d299=_0x2d7875['filter'](_0x57434b=>_0x57434b['target']===_0x34e2fa&&_0x57434b['addedNodes']['length']>0x0&&_0x57434b['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0xd3cdb1);_0x35d299['length']&&(_0x4d8188['disconnect'](),_0x4f5f8a(_0x35d299[0x0]['addedNodes'][0x0]));});_0x4d8188['observe'](_0x34e2fa,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0xa365b1){_0xa365b1['addEventListener']('apply',_0x39f099=>{this['fire']('apply',{'imageSrc':_0x39f099['detail']['cdnUrl']});}),_0xa365b1['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class Y extends/* #__PURE__ -- @preserve */
25
+ _0x5d2ec8(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x1577ad,_0x1dc4f1,_0x2f43a1){super(),this['_editor']=_0x1577ad,this['_dialog']=_0x1dc4f1,this['_imageElement']=_0x2f43a1,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 _0x21be2a=this['_imageElement'],_0x3ddd08=_0x21be2a['getAttribute']('uploadcareImageId'),_0xeb1818=_0x21be2a['getAttribute']('src');if(_0x3ddd08)await this['_loadImageInfo'](_0x3ddd08,_0xeb1818);else{if(this['_imageCache']['has'](_0xeb1818)){const _0x24bfc0=this['_imageCache']['get'](_0xeb1818);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x24bfc0['url'],this['imageDimension']=_0x24bfc0['dimension'],this['imageId']=_0x24bfc0['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x347d2a}=this['_editor'],t=_0x347d2a['t'],_0x385c6a=new X(_0x347d2a,this['imageStatus'],this['_attributes']);_0x385c6a['bind']('status')['to'](this,'imageStatus'),_0x385c6a['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x385c6a['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x385c6a['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x385c6a,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x1dee33,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x385c6a,'position':_0x227eb8['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x385c6a['focus']();},'onHide':()=>{_0x385c6a['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x2c9925=>!V(_0x2c9925,_0x385c6a['element'])}});}['_loadImageInfo'](_0x298c22,_0x42f706){return q['getInfo'](_0x298c22,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x263b7b=>{const {width:_0x44a020,height:_0x518f67}=_0x263b7b['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x42f706,this['imageDimension']={'width':_0x44a020,'height':_0x518f67},this['imageId']=_0x298c22;})['catch'](_0x138c41=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x138c41['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x47b0e8,_0x26b2e4){return this['_getImageAsFile'](_0x47b0e8)['then'](_0x3d2320=>q['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':_0x26b2e4['signal'],'file':_0x3d2320,'onProgress':_0x4a29f9=>{_0x4a29f9&&_0x4a29f9['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x4a29f9['value']));}}))['then'](_0x2729f0=>{const {width:_0x4f3968,height:_0x3a5b81}=_0x2729f0['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x2729f0['cdnUrl'],this['imageDimension']={'width':_0x4f3968,'height':_0x3a5b81},this['imageId']=_0x2729f0['uuid'],this['imageUploadProgress']=null;const _0x18120b=_0x47b0e8['getAttribute']('src');this['_imageCache']['set'](_0x18120b,{'id':_0x2729f0['uuid'],'url':_0x2729f0['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x5edca2=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x5edca2['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x7824c1,_0x1bb142){_0x7824c1['on']('apply',(_0xe297cb,_0x436872)=>{this['_replaceImage'](_0x1bb142,_0x436872['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x7824c1['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x7824c1['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x4e8aba,_0x1d7023,_0x144b34){const _0x2be8d9=this['_editor'],{width:_0x7fe8dc,height:_0x8db0d4}=F(_0x1d7023,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x49fdd3,imageSources:_0x5bc758}=D(_0x1d7023,_0x7fe8dc);_0x2be8d9['model']['change'](_0x3e6e47=>{if('$graveyard'===_0x4e8aba['root']['rootName']){_0x2be8d9['execute']('insertImage',{'imageType':_0x4e8aba['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x4e8aba['getAttributes']()),'uploadcareImageId':_0x144b34,'src':_0x49fdd3,'sources':_0x5bc758,'width':_0x7fe8dc,'height':_0x8db0d4}});const _0x1cc9b3=_0x4e8aba['getChildren']();_0x4e8aba=_0x2be8d9['model']['document']['selection']['getSelectedElement']();for(const _0x8bd98d of _0x1cc9b3)_0x3e6e47['append'](_0x3e6e47['cloneElement'](_0x8bd98d),_0x4e8aba);}else _0x3e6e47['setSelection'](_0x4e8aba,'on'),_0x2be8d9['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x4e8aba['getAttributes']()),'uploadcareImageId':_0x144b34,'src':_0x49fdd3,'sources':_0x5bc758,'width':_0x7fe8dc,'height':_0x8db0d4},_0x4e8aba);_0x3e6e47['setSelection'](_0x4e8aba,'on');});}async['_getImageAsFile'](_0x2809e8){const _0x1acda9=_0x236f21['window'],_0x51b292=_0x236f21['document']['location']['href'],_0x936a8e=new _0x1acda9['URL'](_0x2809e8['getAttribute']('src'),_0x51b292);if('data:'===_0x936a8e['protocol']){const _0x4233b7=_0x936a8e['href']['split'](','),_0x4c1316=_0x4233b7[0x0]['match'](/:(.*?);/)[0x1],_0x1a667e=_0x4c1316['split']('/')[0x1],_0x2ec7ce=_0x1acda9['atob'](_0x4233b7[_0x4233b7['length']-0x1]);let _0x7d80de=_0x2ec7ce['length'];const _0x728e0d=new _0x1acda9['Uint8Array'](_0x7d80de);for(;_0x7d80de--;)_0x728e0d[_0x7d80de]=_0x2ec7ce['charCodeAt'](_0x7d80de);return new _0x1acda9['File']([_0x728e0d],'image.'+_0x1a667e,{'type':_0x4c1316});}const _0x57f312=_0x936a8e['href']['split']('/'),_0x455179=_0x57f312[_0x57f312['length']-0x1],_0x1915ea=_0x455179['split']('.')[0x1];return _0x1acda9['fetch'](_0x936a8e['href'])['then'](_0x4d806a=>_0x4d806a['clone']()['blob']())['then'](_0x48c3f1=>new _0x1acda9['File']([_0x48c3f1],_0x455179,{'type':'image/'+_0x1915ea}));}}class tt extends _0x2b8965{['imageEditController'];static get['requires'](){return[_0x2ed66e];}['_isEditable'];constructor(_0x4fa0d5){super(_0x4fa0d5),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x40ac86){const _0x2ecd8a=B(_0x40ac86);return _0x554925=>!(!_0x554925||!_0x554925['is']('element','imageBlock')&&!_0x554925['is']('element','imageInline'))&&(!!_0x554925['hasAttribute']('uploadcareImageId')||!!_0x554925['hasAttribute']('src')&&_0x2ecd8a(_0x554925['getAttribute']('src')));}(_0x4fa0d5['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x27bc27=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x27bc27);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x484597=this['editor']['model']['document']['selection']['getSelectedElement']();_0x484597&&(_0x484597['is']('element','imageBlock')||_0x484597['is']('element','imageInline'))&&(this['imageEditController']=new Y(this['editor'],this['editor']['plugins']['get'](_0x2ed66e),_0x484597),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class et extends _0x2b8965{['refresh'](){const _0x20ef18=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x20ef18&&(_0x20ef18['is']('element','imageBlock')||_0x20ef18['is']('element','imageInline')));}['execute'](_0xc2aec4){const _0x115a07=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x5503cc=>{_0x5503cc['setAttributes'](_0xc2aec4,_0x115a07),_0x5503cc['removeAttribute']('srcset',_0x115a07),_0x5503cc['removeAttribute']('sizes',_0x115a07);});}}class it extends _0x16e49e{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[z,_0x14c196,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x2f96b8}=this;_0x2f96b8['commands']['add']('uploadcareImageEdit',new tt(_0x2f96b8)),_0x2f96b8['commands']['add']('uploadcareImageReplace',new et(_0x2f96b8));}}class st extends _0x16e49e{['_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 _0x17b071=this['editor'];_0x17b071['ui']['componentFactory']['add']('uploadcareImageEdit',_0x1649f3=>{const _0x2287e4=_0x17b071['commands']['get']('uploadcareImageEdit'),_0x44e1b2=new _0x1b772a(_0x1649f3),t=_0x1649f3['t'];return _0x44e1b2['set']({'icon':_0x1dee33,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x44e1b2['bind']('isEnabled')['to'](_0x2287e4),_0x44e1b2['bind']('isOn')['to'](_0x2287e4,'isActive'),this['listenTo'](_0x44e1b2,'execute',()=>{_0x17b071['execute']('uploadcareImageEdit'),_0x17b071['editing']['view']['focus']();}),_0x44e1b2;}),this['_initConfig']();}['_initConfig'](){const _0x3578d=_0x119dc5(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x3578d),this['listenTo'](this['editor'],'destroy',()=>{_0x3578d['remove']();});}}class nt extends _0x16e49e{static get['pluginName'](){return'UploadcareImageEdit';}static get['requires'](){return[it,st];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{H as Uploadcare,M as UploadcareCommand,z as UploadcareEditing,nt as UploadcareImageEdit,tt as UploadcareImageEditCommand,it as UploadcareImageEditEditing,st as UploadcareImageEditUI,A as UploadcareUI,W 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':_0x50ac0f=>0x1!=_0x50ac0f}};
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':_0x4fe540=>0x1!=_0x4fe540}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x3e506e=>{const {af:{dictionary:_0x341a56,getPluralForm:_0x560534}}={'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':_0x381f81=>0x1!=_0x381f81}};_0x3e506e['af']||={'dictionary':{},'getPluralForm':null},_0x3e506e['af']['dictionary']=Object['assign'](_0x3e506e['af']['dictionary'],_0x341a56),_0x3e506e['af']['getPluralForm']=_0x560534;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x3100e0=>{const {af:{dictionary:_0x39b1fa,getPluralForm:_0x2e75f1}}={'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':_0x316c4f=>0x1!=_0x316c4f}};_0x3100e0['af']||={'dictionary':{},'getPluralForm':null},_0x3100e0['af']['dictionary']=Object['assign'](_0x3100e0['af']['dictionary'],_0x39b1fa),_0x3100e0['af']['getPluralForm']=_0x2e75f1;})(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':_0x51b52a=>0x0==_0x51b52a?0x0:0x1==_0x51b52a?0x1:0x2==_0x51b52a?0x2:_0x51b52a%0x64>=0x3&&_0x51b52a%0x64<=0xa?0x3:_0x51b52a%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':_0x2a22c9=>0x0==_0x2a22c9?0x0:0x1==_0x2a22c9?0x1:0x2==_0x2a22c9?0x2:_0x2a22c9%0x64>=0x3&&_0x2a22c9%0x64<=0xa?0x3:_0x2a22c9%0x64>=0xb?0x4:0x5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x3d3775=>{const {ar:{dictionary:_0x5245d3,getPluralForm:_0x3733e6}}={'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':_0x4baca9=>0x0==_0x4baca9?0x0:0x1==_0x4baca9?0x1:0x2==_0x4baca9?0x2:_0x4baca9%0x64>=0x3&&_0x4baca9%0x64<=0xa?0x3:_0x4baca9%0x64>=0xb?0x4:0x5}};_0x3d3775['ar']||={'dictionary':{},'getPluralForm':null},_0x3d3775['ar']['dictionary']=Object['assign'](_0x3d3775['ar']['dictionary'],_0x5245d3),_0x3d3775['ar']['getPluralForm']=_0x3733e6;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x515975=>{const {ar:{dictionary:_0x455cc6,getPluralForm:_0x4b3b0a}}={'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':_0x313cff=>0x0==_0x313cff?0x0:0x1==_0x313cff?0x1:0x2==_0x313cff?0x2:_0x313cff%0x64>=0x3&&_0x313cff%0x64<=0xa?0x3:_0x313cff%0x64>=0xb?0x4:0x5}};_0x515975['ar']||={'dictionary':{},'getPluralForm':null},_0x515975['ar']['dictionary']=Object['assign'](_0x515975['ar']['dictionary'],_0x455cc6),_0x515975['ar']['getPluralForm']=_0x4b3b0a;})(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':_0x59fba5=>0x1!=_0x59fba5}};
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':_0x79c1ce=>0x1!=_0x79c1ce}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x208df1=>{const {ast:{dictionary:_0x59e57b,getPluralForm:_0x238898}}={'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':_0x2764bf=>0x1!=_0x2764bf}};_0x208df1['ast']||={'dictionary':{},'getPluralForm':null},_0x208df1['ast']['dictionary']=Object['assign'](_0x208df1['ast']['dictionary'],_0x59e57b),_0x208df1['ast']['getPluralForm']=_0x238898;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x39c2d5=>{const {ast:{dictionary:_0x2b6c32,getPluralForm:_0x32b159}}={'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':_0x4bee1e=>0x1!=_0x4bee1e}};_0x39c2d5['ast']||={'dictionary':{},'getPluralForm':null},_0x39c2d5['ast']['dictionary']=Object['assign'](_0x39c2d5['ast']['dictionary'],_0x2b6c32),_0x39c2d5['ast']['getPluralForm']=_0x32b159;})(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':_0x4c0985=>0x1!=_0x4c0985}};
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':_0x5f48d2=>0x1!=_0x5f48d2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0xc13fb5=>{const {az:{dictionary:_0x4a823d,getPluralForm:_0x958cff}}={'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':_0x97aae6=>0x1!=_0x97aae6}};_0xc13fb5['az']||={'dictionary':{},'getPluralForm':null},_0xc13fb5['az']['dictionary']=Object['assign'](_0xc13fb5['az']['dictionary'],_0x4a823d),_0xc13fb5['az']['getPluralForm']=_0x958cff;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x280078=>{const {az:{dictionary:_0x50c4fd,getPluralForm:_0x17c5d7}}={'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':_0x71ea97=>0x1!=_0x71ea97}};_0x280078['az']||={'dictionary':{},'getPluralForm':null},_0x280078['az']['dictionary']=Object['assign'](_0x280078['az']['dictionary'],_0x50c4fd),_0x280078['az']['getPluralForm']=_0x17c5d7;})(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':_0x1a82ba=>_0x1a82ba%0xa==0x1&&_0x1a82ba%0x64!=0xb?0x0:_0x1a82ba%0xa>=0x2&&_0x1a82ba%0xa<=0x4&&(_0x1a82ba%0x64<0xa||_0x1a82ba%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':_0x1a72f2=>_0x1a72f2%0xa==0x1&&_0x1a72f2%0x64!=0xb?0x0:_0x1a72f2%0xa>=0x2&&_0x1a72f2%0xa<=0x4&&(_0x1a72f2%0x64<0xa||_0x1a72f2%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x3719e3=>{const {be:{dictionary:_0x182791,getPluralForm:_0xb5442f}}={'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':_0x556495=>_0x556495%0xa==0x1&&_0x556495%0x64!=0xb?0x0:_0x556495%0xa>=0x2&&_0x556495%0xa<=0x4&&(_0x556495%0x64<0xa||_0x556495%0x64>=0x14)?0x1:0x2}};_0x3719e3['be']||={'dictionary':{},'getPluralForm':null},_0x3719e3['be']['dictionary']=Object['assign'](_0x3719e3['be']['dictionary'],_0x182791),_0x3719e3['be']['getPluralForm']=_0xb5442f;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x3e220d=>{const {be:{dictionary:_0x5acef2,getPluralForm:_0x367612}}={'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':_0x32943c=>_0x32943c%0xa==0x1&&_0x32943c%0x64!=0xb?0x0:_0x32943c%0xa>=0x2&&_0x32943c%0xa<=0x4&&(_0x32943c%0x64<0xa||_0x32943c%0x64>=0x14)?0x1:0x2}};_0x3e220d['be']||={'dictionary':{},'getPluralForm':null},_0x3e220d['be']['dictionary']=Object['assign'](_0x3e220d['be']['dictionary'],_0x5acef2),_0x3e220d['be']['getPluralForm']=_0x367612;})(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':_0x1bc894=>0x1!=_0x1bc894}};
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':_0x1ffe74=>0x1!=_0x1ffe74}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0xb25b51=>{const {bg:{dictionary:_0xaa0485,getPluralForm:_0x3043f4}}={'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':_0x1b0323=>0x1!=_0x1b0323}};_0xb25b51['bg']||={'dictionary':{},'getPluralForm':null},_0xb25b51['bg']['dictionary']=Object['assign'](_0xb25b51['bg']['dictionary'],_0xaa0485),_0xb25b51['bg']['getPluralForm']=_0x3043f4;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x2eebc7=>{const {bg:{dictionary:_0x562444,getPluralForm:_0x55a0c9}}={'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':_0x3b7c20=>0x1!=_0x3b7c20}};_0x2eebc7['bg']||={'dictionary':{},'getPluralForm':null},_0x2eebc7['bg']['dictionary']=Object['assign'](_0x2eebc7['bg']['dictionary'],_0x562444),_0x2eebc7['bg']['getPluralForm']=_0x55a0c9;})(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':_0x18f761=>0x1!=_0x18f761}};
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':_0x300806=>0x1!=_0x300806}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x5a93a0=>{const {bn:{dictionary:_0x15da8b,getPluralForm:_0xb114ff}}={'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':_0x366e98=>0x1!=_0x366e98}};_0x5a93a0['bn']||={'dictionary':{},'getPluralForm':null},_0x5a93a0['bn']['dictionary']=Object['assign'](_0x5a93a0['bn']['dictionary'],_0x15da8b),_0x5a93a0['bn']['getPluralForm']=_0xb114ff;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x423506=>{const {bn:{dictionary:_0xb6820a,getPluralForm:_0x350f1c}}={'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':_0x3ddf71=>0x1!=_0x3ddf71}};_0x423506['bn']||={'dictionary':{},'getPluralForm':null},_0x423506['bn']['dictionary']=Object['assign'](_0x423506['bn']['dictionary'],_0xb6820a),_0x423506['bn']['getPluralForm']=_0x350f1c;})(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':_0xafc46e=>_0xafc46e%0xa==0x1&&_0xafc46e%0x64!=0xb?0x0:_0xafc46e%0xa>=0x2&&_0xafc46e%0xa<=0x4&&(_0xafc46e%0x64<0xa||_0xafc46e%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':_0x254b8a=>_0x254b8a%0xa==0x1&&_0x254b8a%0x64!=0xb?0x0:_0x254b8a%0xa>=0x2&&_0x254b8a%0xa<=0x4&&(_0x254b8a%0x64<0xa||_0x254b8a%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0xcb2d35=>{const {bs:{dictionary:_0x77f968,getPluralForm:_0x2f98a7}}={'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':_0x38d1d3=>_0x38d1d3%0xa==0x1&&_0x38d1d3%0x64!=0xb?0x0:_0x38d1d3%0xa>=0x2&&_0x38d1d3%0xa<=0x4&&(_0x38d1d3%0x64<0xa||_0x38d1d3%0x64>=0x14)?0x1:0x2}};_0xcb2d35['bs']||={'dictionary':{},'getPluralForm':null},_0xcb2d35['bs']['dictionary']=Object['assign'](_0xcb2d35['bs']['dictionary'],_0x77f968),_0xcb2d35['bs']['getPluralForm']=_0x2f98a7;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x4c6d55=>{const {bs:{dictionary:_0x5c0be4,getPluralForm:_0x21c8df}}={'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':_0x589682=>_0x589682%0xa==0x1&&_0x589682%0x64!=0xb?0x0:_0x589682%0xa>=0x2&&_0x589682%0xa<=0x4&&(_0x589682%0x64<0xa||_0x589682%0x64>=0x14)?0x1:0x2}};_0x4c6d55['bs']||={'dictionary':{},'getPluralForm':null},_0x4c6d55['bs']['dictionary']=Object['assign'](_0x4c6d55['bs']['dictionary'],_0x5c0be4),_0x4c6d55['bs']['getPluralForm']=_0x21c8df;})(window['CKEDITOR_TRANSLATIONS']||={});