@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-20250922.0 → 0.0.0-nightly-20250923.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (173) hide show
  1. package/build/uploadcare.js +1 -1
  2. package/dist/index.js +3 -3
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +9 -9
  150. package/src/index.js +1 -1
  151. package/src/ui/uploadcarecontroller.js +2 -2
  152. package/src/ui/uploadcareformview.js +1 -1
  153. package/src/uploadcare.js +1 -1
  154. package/src/uploadcarecommand.js +1 -1
  155. package/src/uploadcareconfig.js +1 -1
  156. package/src/uploadcareediting.js +1 -1
  157. package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.js +2 -2
  158. package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.js +1 -1
  159. package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.js +1 -1
  160. package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.js +1 -1
  161. package/src/uploadcareimageedit/ui/uploadcareimageeditformview.js +1 -1
  162. package/src/uploadcareimageedit/uploadcareimageeditcommand.js +1 -1
  163. package/src/uploadcareimageedit/uploadcareimageeditediting.js +1 -1
  164. package/src/uploadcareimageedit/uploadcareimageeditui.js +1 -1
  165. package/src/uploadcareimageedit/uploadcareimagereplacecommand.js +1 -1
  166. package/src/uploadcareimageedit.js +1 -1
  167. package/src/uploadcareui.js +1 -1
  168. package/src/uploadcareuploadadapter.js +1 -1
  169. package/src/utils/common-translations.js +1 -1
  170. package/src/utils/dialogfocusmanagerview.js +1 -1
  171. package/src/utils/editingutils.js +1 -1
  172. package/src/utils/isancestor.js +1 -1
  173. package/src/utils/uploadutils.js +1 -1
package/dist/index.js CHANGED
@@ -20,6 +20,6 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x5ba322,Command as _0x2ef60a}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x520590,IconGooglePhotos as _0x2856ff,IconGoogleDrive as _0x2f9664,IconFacebook as _0x478fb0,IconDropbox as _0x3d6825,IconUploadcareLink as _0x27dc10,IconUploadcareImageUpload as _0x4a0409,IconError as _0x222c91,IconUploadcareImageEdit as _0x5b3293}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x39f50d,MenuBarMenuListItemButtonView as _0x4b1f38,View as _0x1ac545,FocusCycler as _0x1e8eb3,Dialog as _0x5f1bcf,DialogViewPosition as _0x37fdf6,SpinnerView as _0x38df43,IconView as _0x4924ef,Notification as _0x36f06d}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0xcf2c89,DomEmitterMixin as _0x1af22c,global as _0x16b173,getAncestors as _0x350951,ObservableMixin as _0x29ffde,uid as _0x26ebeb,createElement as _0x136a00}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0xd2c423}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x5ae9b3,info as _0x543e76}from'@uploadcare/upload-client';import*as _0x2dd39c from'@uploadcare/file-uploader';var i=function(_0x152646){return _0x152646['Local']='local',_0x152646['URL']='url',_0x152646['Dropbox']='dropbox',_0x152646['GDrive']='gdrive',_0x152646['Facebook']='facebook',_0x152646['GPhotos']='gphotos',_0x152646['OneDrive']='onedrive',_0x152646;}({});function _(_0x460487,_0x4f08a6,_0xb7fb7f){const t=_0x460487['t'],_0x525555=_0x460487['t'];switch(_0x4f08a6){case i['Local']:return{'text':_0x525555('Insert'===_0xb7fb7f?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x525555('From\x20computer')};case i['URL']:return{'text':'Insert'===_0xb7fb7f?_0x525555('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x525555('Via\x20URL')};case i['Dropbox']:return{'text':t('Insert'===_0xb7fb7f?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case i['Facebook']:return{'text':t('Insert'===_0xb7fb7f?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case i['GDrive']:return{'text':t('Insert'===_0xb7fb7f?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case i['GPhotos']:return{'text':t('Insert'===_0xb7fb7f?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case i['OneDrive']:return{'text':t('Insert'===_0xb7fb7f?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x4f08a6;}}class e extends _0x5ba322{['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 _0x437652=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x45b1db;for(const _0x4e0628 in _0x437652){const _0x2f75a1=_0x4e0628,_0x47c4df=_0x437652[_0x2f75a1];if('uploadcareLicenseKeyValid'==_0x47c4df||'uploadcareLicenseKeyInvalid'==_0x47c4df||'uploadcareLicenseKeyExpired'==_0x47c4df||'uploadcareLicenseKeyDomainLimit'==_0x47c4df||'uploadcareLicenseKeyNotAllowed'==_0x47c4df||'uploadcareLicenseKeyEvaluationLimit'==_0x47c4df||'uploadcareLicenseKeyTrialLimit'==_0x47c4df||'uploadcareLicenseKeyUsageLimit'==_0x47c4df){delete _0x437652[_0x2f75a1],_0x45b1db=_0x47c4df,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x45b1db&&_0x437652['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x45b1db&&_0x437652['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x45b1db&&_0x437652['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x45b1db&&_0x437652['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x45b1db&&_0x437652['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0x45b1db&&_0x437652['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0x45b1db&&_0x437652['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x5778d6}=this,_0x36ed34=_0x5778d6['commands']['get']('uploadcare');if(!_0x36ed34)return;const _0x3eb283=this['_normalizeConfigSourceList'](_0x5778d6['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x5b460c,_0x35608b)=>{const _0x3e36b0=this['_getIntegrationKey'](_0x35608b['type']);return _0x5b460c[_0x3e36b0]||(_0x5b460c[_0x3e36b0]=[]),_0x5b460c[_0x3e36b0]['push'](_0x35608b),_0x5b460c;},{});_0x5778d6['plugins']['has']('ImageInsertUI')&&_0x5778d6['commands']['get']('uploadcare')&&Object['entries'](_0x3eb283)['forEach'](([_0x41162d,_0x1da876])=>{_0x5778d6['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x41162d,'observable':()=>_0x36ed34,'buttonViewCreator':()=>this['_createToolbarButton'](_0x1da876),'formViewCreator':()=>this['_createDropdownButtons'](_0x1da876),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x1da876),'override':'assetManager'!==_0x41162d});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x401b83){const {locale:_0x512107}=this['editor'];return _0x401b83['map'](_0xdc3d35=>{const _0x2523be=_(_0x512107,_0xdc3d35,'Insert');switch(_0xdc3d35){case i['Local']:return{'icon':_0x4a0409,'type':i['Local'],..._0x2523be};case i['URL']:return{'icon':_0x27dc10,'type':i['URL'],..._0x2523be};case i['Dropbox']:return{'icon':_0x3d6825,'type':i['Dropbox'],..._0x2523be};case i['Facebook']:return{'icon':_0x478fb0,'type':i['Facebook'],..._0x2523be};case i['GDrive']:return{'icon':_0x2f9664,'type':i['GDrive'],..._0x2523be};case i['GPhotos']:return{'icon':_0x2856ff,'type':i['GPhotos'],..._0x2523be};case i['OneDrive']:return{'icon':_0x520590,'type':i['OneDrive'],..._0x2523be};}});}['_getIntegrationKey'](_0x478ea0){switch(_0x478ea0){case i['Local']:return'upload';case i['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x58c785,_0xcd0571){const _0x4d32d5=this['editor'],_0x4baeb0=new _0x58c785(_0x4d32d5['locale']),_0x540858=_0x4d32d5['commands']['get']('uploadcare');return _0x4baeb0['bind']('isEnabled')['to'](_0x540858),_0x4baeb0['on']('execute',()=>{_0x540858['execute'](_0xcd0571);}),_0x4baeb0;}['_createToolbarButton'](_0x197203){const {locale:_0x32cbd1}=this['editor'],_0x229a9a=this['editor']['plugins']['get']('ImageInsertUI'),_0x1db08d=_0x197203[0x0],_0x2b9cc3=this['_createButton'](_0x39f50d,_0x1db08d['type']);return _0x2b9cc3['icon']=_0x1db08d['icon'],_0x2b9cc3['bind']('label')['to'](_0x229a9a,'isImageSelected',_0x2575a7=>_(_0x32cbd1,_0x1db08d['type'],_0x2575a7?'Replace':'Insert')['text']),_0x2b9cc3['tooltip']=!0x0,_0x2b9cc3;}['_createDropdownButtons'](_0x3c5a0f){const {locale:_0xee1fd5}=this['editor'],_0xe0388c=this['editor']['plugins']['get']('ImageInsertUI');return _0x3c5a0f['map'](_0x2769b3=>{const _0x53955f=this['_createButton'](_0x39f50d,_0x2769b3['type']);return _0x53955f['withText']=!0x0,_0x53955f['icon']=_0x2769b3['icon'],_0x53955f['bind']('label')['to'](_0xe0388c,'isImageSelected',_0x3da5de=>_(_0xee1fd5,_0x2769b3['type'],_0x3da5de?'Replace':'Insert')['text']),_0x53955f;});}['_createMenuBarButtons'](_0x24ae96){return _0x24ae96['map'](_0x38db57=>{const _0xe582c5=this['_createButton'](_0x4b1f38,_0x38db57['type']);return _0xe582c5['icon']=_0x38db57['icon'],_0xe582c5['label']=_0x38db57['shortText'],_0xe582c5;});}}class F extends _0x1ac545{['focusTracker'];['focusCycler'];constructor(_0xc18d18){super(_0xc18d18),this['focusTracker']=new _0xcf2c89(),this['focusCycler']=new _0x1e8eb3({'focusables':this['createCollection'](),'focusTracker':this['focusTracker']});}['getFocusableElement'](){return{'tag':'div','attributes':{'aria-hidden':'true','tabindex':'0'},'on':{'focus':this['bindTemplate']['to'](()=>{this['focusCycler']['fire']('forwardCycle');})}};}}class x extends F{constructor(_0x53ee79,_0x1226c6){super(_0x53ee79),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-'+_0x1226c6}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function C(_0x2b18eb,_0x2188f0){const _0x3655ab=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x3cfc82=>_0x3cfc82<=_0x2188f0)['map'](_0x3b93eb=>_0x2b18eb['replace'](/\/$/,'')+'/-/resize/'+_0x3b93eb+'x/\x20'+_0x3b93eb+'w');return{'imageFallbackUrl':_0x2b18eb,'imageSources':[{'srcset':_0x3655ab['join'](',\x20'),'sizes':'(max-width:\x20'+_0x2188f0+'px)\x20100vw,\x20'+_0x2188f0+'px','type':'image/webp'}]};}function S(_0x48acdc,_0x42550a,_0x1fb17b){const _0x5b2f6b=_0x48acdc['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x5b2f6b?parseInt(_0x5b2f6b[0x1],0xa):_0x42550a,'height':_0x5b2f6b?parseInt(_0x5b2f6b[0x2],0xa):_0x1fb17b};}function p(_0x1d3c8a,_0x31ba02){const _0x227343=new(_0x1af22c())(),_0x3400db=_0x1d3c8a['plugins']['get']('ImageUtils'),_0x2eedba=_0x1d3c8a['editing']['mapper']['toViewElement'](_0x31ba02),_0x422a7d=_0x3400db['findViewImgElement'](_0x2eedba),_0xe8e28f=_0x1d3c8a['editing']['view']['domConverter']['viewToDom'](_0x422a7d),_0x4fb87d=_0x31ba02['getAttribute']('width'),_0x4456e2=_0x31ba02['getAttribute']('height'),_0x4fddd1='image-processing';_0x1d3c8a['editing']['view']['change'](_0x4c8928=>{_0x4c8928['addClass'](_0x4fddd1,_0x2eedba),_0x4c8928['setStyle']('aspect-ratio',_0x4fb87d+'/'+_0x4456e2,_0x422a7d);}),_0x227343['listenTo'](_0xe8e28f,'load',()=>{_0x227343['stopListening'](_0xe8e28f,'load'),_0x1d3c8a['editing']['view']['change'](_0x491a3a=>{_0x491a3a['removeClass'](_0x4fddd1,_0x2eedba),_0x491a3a['removeStyle']('aspect-ratio',_0x422a7d);});});}function G(_0x52b592){if(Array['isArray'](_0x52b592)){const _0x4b52fc=_0x52b592['map'](G);return _0x1c09fc=>_0x4b52fc['some'](_0x2fe532=>_0x2fe532(_0x1c09fc));}if('origin'==_0x52b592){const _0x33d0f2=_0x16b173['window']['location']['origin'];return _0x237906=>new URL(_0x237906,_0x16b173['document']['baseURI'])['origin']==_0x33d0f2;}return'function'==typeof _0x52b592?_0x52b592:_0x52b592 instanceof RegExp?_0xa30e86=>!(!_0xa30e86['match'](_0x52b592)&&!_0xa30e86['replace'](/^https?:\/\//,'')['match'](_0x52b592)):()=>!0x1;}function A(_0x44cbce,_0x75b33f){return _0x350951(_0x44cbce['target'])['includes'](_0x75b33f);}class n extends/* #__PURE__ -- @preserve */
24
- _0x29ffde(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x480115,_0x5f0f8e,_0x251de1){super(),this['_editor']=_0x480115,this['_editing']=_0x5f0f8e,this['_dialog']=_0x480115['plugins']['get'](_0x5f1bcf),this['_api']=_0x5f0f8e['ctxElement']['getAPI'](),this['_type']=_0x251de1,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:_0x2c75b9,model:_0x5bb009}=this['_editor'],_0x37ee31=_0x5bb009['document']['selection']['getSelectedElement'](),_0x5be262=_0x37ee31&&(_0x37ee31['is']('element','imageBlock')||_0x37ee31['is']('element','imageInline'));this['_formView']=new x(_0x2c75b9,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':_0x4a0409,'title':_(_0x2c75b9,this['_type'],_0x5be262?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x37fdf6['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x293904=>!A(_0x293904,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x5c778e}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x5c64e0=>{const _0x588a61=_0x5c778e['length'];for(const _0x552adb of _0x5c778e){const _0x362bb8=_0x552adb===_0x5c778e[_0x588a61-0x1],{cdnUrl:_0x8c2882,fileInfo:_0x45d780}=_0x552adb;if(!_0x8c2882||!_0x45d780)continue;const {width:_0x9c2464,height:_0x455874}=_0x45d780['imageInfo'],_0x671b46=S(_0x8c2882,_0x9c2464,_0x455874),_0x23a681=C(_0x8c2882,_0x671b46['width']),_0x4189f0={'id':_0x45d780['uuid'],'type':'image','attributes':{'imageDimension':_0x671b46,..._0x23a681}};this['_insertAsset'](_0x4189f0,_0x362bb8,_0x5c64e0);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0xb3a7f3=>{'idle'===_0xb3a7f3['detail']['status']&&!_0xb3a7f3['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===i['Local']?this['_api']['setCurrentActivity'](i['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x20819d,_0x37792a,_0x214dab){const _0x30f31c=this['_editor']['model']['document']['selection'],_0x5be34c=_0x30f31c['getSelectedElement'](),_0x43119c=!(!_0x5be34c||!_0x5be34c['is']('element','imageInline'));_0x214dab['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x20819d,_0x43119c),_0x37792a||_0x214dab['setSelection'](_0x30f31c['getLastPosition']());}['_insertImage'](_0x799377,_0x514137){const _0x648399=this['_editor'],{imageDimension:_0x1a6cf9,imageFallbackUrl:_0x10daaf,imageSources:_0x180c96}=_0x799377['attributes'];_0x648399['execute']('insertImage',{'imageType':_0x514137?'imageInline':null,'source':{'uploadcareImageId':_0x799377['id'],'src':_0x10daaf,'sources':_0x180c96,..._0x1a6cf9}});}}class w extends _0x2ef60a{['_editing'];['_controller']=null;static get['requires'](){return[_0x5f1bcf,o];}constructor(_0x2050eb){super(_0x2050eb),this['_editing']=_0x2050eb['plugins']['get'](o);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x1ce85d){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new n(this['editor'],this['_editing'],_0x1ce85d);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class j{static['upload']({file:_0x1341af,..._0x1502a9}){return _0x5ae9b3(_0x1341af,_0x1502a9);}static['getInfo'](_0x1392e9,_0x30427a){return _0x543e76(_0x1392e9,_0x30427a);}}class f extends _0x5ba322{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0xd2c423,o];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x6e2f73=this['editor'];if(!!!_0x6e2f73['config']['get']('uploadcare'))return;_0x6e2f73['plugins']['get'](_0xd2c423)['createUploadAdapter']=_0x4e1c03=>new k(_0x4e1c03,_0x6e2f73),_0x6e2f73['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x3f30ed,{imageElement:_0x4e7dcf,data:_0x476ee0})=>{_0x6e2f73['model']['change'](_0x449fed=>{_0x449fed['setAttribute']('uploadcareImageId',_0x476ee0['uploadcareImageId'],_0x4e7dcf);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x44b4a5,_0x4836d7){this['loader']=_0x44b4a5,this['editor']=_0x4836d7,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x3fd32d=await this['loader']['file'];return j['upload']({'file':_0x3fd32d,'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':_0x53bf5d=>{_0x53bf5d&&_0x53bf5d['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x53bf5d['value']);}})['then'](async _0x60eabe=>{const {imageFallbackUrl:_0x412ecd,imageSources:_0x3a5bee}=C(_0x60eabe['cdnUrl'],_0x60eabe['imageInfo']['width']);return{'uploadcareImageId':_0x60eabe['uuid'],'default':_0x412ecd,'sources':_0x3a5bee};})['catch'](()=>{const _0x30a5fb=t('Cannot\x20upload\x20file:')+('\x20'+_0x3fd32d['name']+'.');return Promise['reject'](_0x30a5fb);});}['abort'](){this['controller']['abort']();}}class o extends _0x5ba322{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',f,_0x5f1bcf];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['ucContextId'];get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}constructor(_0x1136a6){super(_0x1136a6),this['ucContextId']=_0x26ebeb();}['init'](){const _0x499bee=this['editor'];_0x499bee['commands']['add']('uploadcare',new w(_0x499bee));}['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 _0x2732a2=_0x16b173['document']['querySelector']('input[uploadcare-file-input]');_0x2732a2&&_0x2732a2['remove']();}),async function(_0x342bb0){const _0x1d0fad=_0x431d0b([0x52,0x42,0x63,0x58,0x64,0x47,0x66,0x35,0x36,0x37,0x6d,0x4e,0x6a,0x4b,0x39,0x44,0x54,0x70,0x50,0x30,0x49,0x79,0x69,0x33,0x67,0x65,0x61,0x38,0x5a,0x76,0x7a,0x6c,0x45,0x34,0x62,0x46,0x75,0x57,0x72,0x77,0x73,0x48,0x31,0x68,0x6e,0x4f,0x53,0x4c,0x71,0x6b,0x59,0x32,0x4d,0x51,0x4a,0x78,0x6f,0x56,0x41,0x55,0x74,0x43]),_0x8b87ad=0x3d8d0df,_0x59c8e9=0x3dfa4c7^_0x8b87ad,_0x143f87=window[_0x431d0b([0x44,0x61,0x74,0x65])][_0x431d0b([0x6e,0x6f,0x77])](),_0x39ef4d=_0x342bb0[_0x431d0b([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x71d5ec=new window[(_0x431d0b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x19ee67=>{_0x39ef4d[_0x431d0b([0x6f,0x6e,0x63,0x65])](_0x431d0b([0x72,0x65,0x61,0x64,0x79]),_0x19ee67);}),_0x4322f5={[_0x431d0b([0x6b,0x74,0x79])]:_0x431d0b([0x45,0x43]),[_0x431d0b([0x75,0x73,0x65])]:_0x431d0b([0x73,0x69,0x67]),[_0x431d0b([0x63,0x72,0x76])]:_0x431d0b([0x50,0x2d,0x32,0x35,0x36]),[_0x431d0b([0x78])]:_0x431d0b([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]),[_0x431d0b([0x79])]:_0x431d0b([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]),[_0x431d0b([0x61,0x6c,0x67])]:_0x431d0b([0x45,0x53,0x32,0x35,0x36])},_0xd4251d=_0x39ef4d[_0x431d0b([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x431d0b([0x67,0x65,0x74])](_0x431d0b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x574104(){let _0x238d5b,_0x7808c5=null,_0x24f677=null;try{if(_0xd4251d==_0x431d0b([0x47,0x50,0x4c]))return _0x431d0b([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x238d5b=_0x54c95f(),!_0x238d5b)return _0x431d0b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x238d5b[_0x431d0b([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x24f677=_0x6f9820(_0x238d5b[_0x431d0b([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x238d5b[_0x431d0b([0x6a,0x74,0x69])])),await _0x2599c6()?_0x4125bf()?_0x25ce6f()?_0x431d0b([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x53fa30()?(_0x238d5b[_0x431d0b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x431d0b([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x7808c5=_0x4a352f(_0x431d0b([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x238d5b[_0x431d0b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x431d0b([0x74,0x72,0x69,0x61,0x6c])&&(_0x7808c5=_0x4a352f(_0x431d0b([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x102238()):_0x431d0b([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x431d0b([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x431d0b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x431d0b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x25ce6f(){const _0x531bf6=[_0x431d0b([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x431d0b([0x74,0x72,0x69,0x61,0x6c])][_0x431d0b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x238d5b[_0x431d0b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x143f87/0x3e8:0xe10*_0x59c8e9;return _0x238d5b[_0x431d0b([0x65,0x78,0x70])]<_0x531bf6;}function _0x4125bf(){const _0x21092e=_0x238d5b[_0x431d0b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x21092e&&(!!_0x21092e[_0x431d0b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x431d0b([0x2a]))||!!_0x21092e[_0x431d0b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x431d0b([0x55,0x50,0x4c,0x43])));}function _0x53fa30(){const _0x35c328=_0x238d5b[_0x431d0b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x35c328||0x0==_0x35c328[_0x431d0b([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x58aa13}=new URL(window[_0x431d0b([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x35c328[_0x431d0b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x58aa13))return!0x0;const _0x30b1e8=_0x58aa13[_0x431d0b([0x73,0x70,0x6c,0x69,0x74])](_0x431d0b([0x2e]));return _0x35c328[_0x431d0b([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4377f8=>_0x4377f8[_0x431d0b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x431d0b([0x2a])))[_0x431d0b([0x6d,0x61,0x70])](_0x586fe7=>_0x586fe7[_0x431d0b([0x73,0x70,0x6c,0x69,0x74])](_0x431d0b([0x2e])))[_0x431d0b([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x399f19=>_0x399f19[_0x431d0b([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x30b1e8[_0x431d0b([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x431d0b([0x6d,0x61,0x70])](_0x50d627=>Array(_0x30b1e8[_0x431d0b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x50d627[_0x431d0b([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x431d0b([0x66,0x69,0x6c,0x6c])](_0x50d627[0x0]===_0x431d0b([0x2a])?_0x431d0b([0x2a]):'')[_0x431d0b([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x50d627))[_0x431d0b([0x73,0x6f,0x6d,0x65])](_0x4a48c6=>_0x30b1e8[_0x431d0b([0x65,0x76,0x65,0x72,0x79])]((_0x18bfc0,_0x4062bd)=>_0x4a48c6[_0x4062bd]===_0x18bfc0||_0x4a48c6[_0x4062bd]===_0x431d0b([0x2a])));}function _0x102238(){return _0x7808c5&&_0x24f677?new window[(_0x431d0b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x47a40d,_0x148877)=>{_0x7808c5[_0x431d0b([0x74,0x68,0x65,0x6e])](_0x47a40d,_0x148877),_0x24f677[_0x431d0b([0x74,0x68,0x65,0x6e])](_0x260f20=>{_0x260f20!=_0x431d0b([0x56,0x61,0x6c,0x69,0x64])&&_0x47a40d(_0x260f20);},_0x148877);}):_0x7808c5||_0x24f677||_0x431d0b([0x56,0x61,0x6c,0x69,0x64]);}}function _0x6f9820(_0x131298,_0x5487e6){return new window[(_0x431d0b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3c5f14=>{if(_0x32301e())return _0x3c5f14(_0x431d0b([0x56,0x61,0x6c,0x69,0x64]));_0x4ab0b3(),_0x39ef4d[_0x431d0b([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x431d0b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x222443=!0x1;const _0x4e151e=_0x26ebeb();function _0x18d11c(_0x17978f){return!!_0x17978f&&(typeof _0x17978f===_0x431d0b([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x17978f===_0x431d0b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x17978f[_0x431d0b([0x74,0x68,0x65,0x6e])]===_0x431d0b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x17978f[_0x431d0b([0x63,0x61,0x74,0x63,0x68])]===_0x431d0b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1dfe91(_0x448876){_0xf48017(_0x448876)[_0x431d0b([0x74,0x68,0x65,0x6e])](_0x15b214=>{if(!_0x15b214||_0x15b214[_0x431d0b([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x431d0b([0x6f,0x6b]))return _0x431d0b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x37cce4(_0x382d13(_0x4e151e+_0x5487e6))!=_0x15b214[_0x431d0b([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x431d0b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x431d0b([0x56,0x61,0x6c,0x69,0x64]);})[_0x431d0b([0x74,0x68,0x65,0x6e])](_0x10c2c3=>(_0x1aeb01(),_0x10c2c3),()=>{const _0x43a4c7=_0x452bbc();return null==_0x43a4c7?(_0x1aeb01(),_0x431d0b([0x56,0x61,0x6c,0x69,0x64])):_0x431d0b(_0x143f87-_0x43a4c7>(0x27d454df^_0x8b87ad)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x431d0b([0x74,0x68,0x65,0x6e])](_0x3c5f14)[_0x431d0b([0x63,0x61,0x74,0x63,0x68])](()=>{_0x3c5f14(_0x431d0b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x524ac2=0x3ee3e5f^_0x8b87ad;function _0x1aeb01(){const _0x119eeb=_0x431d0b([0x6c,0x6c,0x63,0x74,0x2d])+_0x37cce4(_0x382d13(_0x131298)),_0x168761=_0x358810(_0x37cce4(window[_0x431d0b([0x4d,0x61,0x74,0x68])][_0x431d0b([0x63,0x65,0x69,0x6c])](_0x143f87/_0x524ac2)));window[_0x431d0b([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x431d0b([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x119eeb,_0x168761);}function _0x452bbc(){const _0x1f50e3=_0x431d0b([0x6c,0x6c,0x63,0x74,0x2d])+_0x37cce4(_0x382d13(_0x131298)),_0x25e503=window[_0x431d0b([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x431d0b([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1f50e3);return _0x25e503?window[_0x431d0b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x358810(_0x25e503),0x10)*_0x524ac2:null;}function _0xf48017(_0xbc7b6e){return new window[(_0x431d0b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x31aa0f,_0x2ac9be)=>{_0xbc7b6e[_0x431d0b([0x74,0x68,0x65,0x6e])](_0x31aa0f,_0x2ac9be),window[_0x431d0b([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2ac9be,0x3d9041f^_0x8b87ad);});}}_0x39ef4d[_0x431d0b([0x6f,0x6e])](_0x431d0b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x5f9546,_0x247c77)=>{if(_0x247c77[0x0]!=_0x131298)return _0x3c5f14(_0x431d0b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x247c77[0x1]={..._0x247c77[0x1],[_0x431d0b([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x4e151e};},{[_0x431d0b([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x431d0b([0x68,0x69,0x67,0x68])}),_0x39ef4d[_0x431d0b([0x6f,0x6e])](_0x431d0b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x126516=>{_0x18d11c(_0x126516[_0x431d0b([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x222443=!0x0,_0x1dfe91(_0x126516[_0x431d0b([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x431d0b([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x431d0b([0x6c,0x6f,0x77])}),_0x71d5ec[_0x431d0b([0x74,0x68,0x65,0x6e])](()=>{_0x222443||_0x3c5f14(_0x431d0b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x32301e(){return _0x39ef4d[_0x431d0b([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x431d0b([0x76,0x69,0x65,0x77])][_0x431d0b([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x431d0b([0x61,0x75,0x74,0x6f]);}function _0x4ab0b3(){_0x39ef4d[_0x431d0b([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x431d0b([0x76,0x69,0x65,0x77])][_0x431d0b([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x431d0b([0x61,0x75,0x74,0x6f]);}}function _0x4a352f(_0x18f50a){const _0x2e95d0=[new window[(_0x431d0b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2832f3=>setTimeout(_0x2832f3,0x3d1ee13^_0x8b87ad)),_0x71d5ec[_0x431d0b([0x74,0x68,0x65,0x6e])](()=>new window[(_0x431d0b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x32538a=>{let _0x640209=0x0;_0x39ef4d[_0x431d0b([0x6d,0x6f,0x64,0x65,0x6c])][_0x431d0b([0x6f,0x6e])](_0x431d0b([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0xcd2d05,_0x213890)=>{_0x213890[0x0][_0x431d0b([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x640209++,_0x640209==(0x3d8d127^_0x8b87ad)&&(_0x32538a(),_0xcd2d05[_0x431d0b([0x6f,0x66,0x66])]());});}))];return window[_0x431d0b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x431d0b([0x72,0x61,0x63,0x65])](_0x2e95d0)[_0x431d0b([0x74,0x68,0x65,0x6e])](()=>_0x18f50a);}async function _0x4dd4d8(){await _0x71d5ec,_0x39ef4d[_0x431d0b([0x6d,0x6f,0x64,0x65,0x6c])][_0x431d0b([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x457471,_0x39ef4d[_0x431d0b([0x6d,0x6f,0x64,0x65,0x6c])][_0x431d0b([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x457471,_0x39ef4d[_0x431d0b([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x431d0b([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x2c6a47(_0x582392){const _0x338e5c=_0x1715ed();_0x39ef4d[_0x338e5c]=_0x431d0b([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x582392,_0x582392!=_0x431d0b([0x56,0x61,0x6c,0x69,0x64])&&_0x4dd4d8();}function _0x1715ed(){const _0x5117d4=window[_0x431d0b([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x431d0b([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x431d0b([0x6e,0x6f,0x77])]())[_0x431d0b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x431d0b([0x2e]),'');let _0x21dca0=_0x431d0b([0x52]);for(let _0x4258a8=0x0;_0x4258a8<_0x5117d4[_0x431d0b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4258a8+=0x2){let _0x3ba408=window[_0x431d0b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5117d4[_0x431d0b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4258a8,_0x4258a8+0x2));_0x3ba408>=_0x1d0fad[_0x431d0b([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x3ba408-=_0x1d0fad[_0x431d0b([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x21dca0+=_0x1d0fad[_0x3ba408];}return _0x21dca0;}function _0x54c95f(){const _0x44e701=_0xd4251d[_0x431d0b([0x73,0x70,0x6c,0x69,0x74])](_0x431d0b([0x2e]));if(0x3!=_0x44e701[_0x431d0b([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x406f74(_0x44e701[0x1]);function _0x406f74(_0x4a76b7){const _0x16d1c3=_0x1b57e3(_0x4a76b7);return _0x16d1c3&&_0x5d2da8()?_0x16d1c3:null;function _0x5d2da8(){const _0x586cd2=_0x16d1c3[_0x431d0b([0x6a,0x74,0x69])],_0x4cf2b1=window[_0x431d0b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x586cd2[_0x431d0b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x586cd2[_0x431d0b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x45d8f4={..._0x16d1c3,[_0x431d0b([0x6a,0x74,0x69])]:_0x586cd2[_0x431d0b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x586cd2[_0x431d0b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x45d8f4[_0x431d0b([0x76,0x63])],_0x382d13(_0x45d8f4)==_0x4cf2b1;}}}async function _0x2599c6(){let _0x47062b=!0x0;try{const _0x3f696d=_0xd4251d[_0x431d0b([0x73,0x70,0x6c,0x69,0x74])](_0x431d0b([0x2e])),[_0x1339cc,_0x5066de,_0xc6e24]=_0x3f696d;return _0x727731(_0x1339cc),await _0x172c49(_0x1339cc,_0x5066de,_0xc6e24),_0x47062b;}catch{return!0x1;}function _0x727731(_0x12aa78){const _0x558e99=_0x1b57e3(_0x12aa78);_0x558e99&&_0x558e99[_0x431d0b([0x61,0x6c,0x67])]==_0x431d0b([0x45,0x53,0x32,0x35,0x36])||(_0x47062b=!0x1);}async function _0x172c49(_0x2e9db6,_0x505fc7,_0x5820fa){const _0x41ccbe=window[_0x431d0b([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x431d0b([0x66,0x72,0x6f,0x6d])](_0x39f370(_0x5820fa),_0x415bf6=>_0x415bf6[_0x431d0b([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x19d7ec=new window[(_0x431d0b([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x431d0b([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x2e9db6+_0x431d0b([0x2e])+_0x505fc7),_0x3dcd3a=window[_0x431d0b([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x431d0b([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3dcd3a)return;const _0x10c1cd=await _0x3dcd3a[_0x431d0b([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x431d0b([0x6a,0x77,0x6b]),_0x4322f5,{[_0x431d0b([0x6e,0x61,0x6d,0x65])]:_0x431d0b([0x45,0x43,0x44,0x53,0x41]),[_0x431d0b([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x431d0b([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x431d0b([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3dcd3a[_0x431d0b([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x431d0b([0x6e,0x61,0x6d,0x65])]:_0x431d0b([0x45,0x43,0x44,0x53,0x41]),[_0x431d0b([0x68,0x61,0x73,0x68])]:{[_0x431d0b([0x6e,0x61,0x6d,0x65])]:_0x431d0b([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x10c1cd,_0x41ccbe,_0x19d7ec)||(_0x47062b=!0x1);}}function _0x1b57e3(_0x567ef6){return _0x567ef6[_0x431d0b([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x431d0b([0x65,0x79]))?JSON[_0x431d0b([0x70,0x61,0x72,0x73,0x65])](_0x39f370(_0x567ef6)):null;}function _0x39f370(_0x4002eb){return window[_0x431d0b([0x61,0x74,0x6f,0x62])](_0x4002eb[_0x431d0b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x431d0b([0x2b]))[_0x431d0b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x431d0b([0x2f])));}function _0x382d13(_0x3d3274){let _0x54c81c=0x1505;function _0x406d1c(_0x557fac){for(let _0x5a8b4e=0x0;_0x5a8b4e<_0x557fac[_0x431d0b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5a8b4e++){const _0x301b4a=_0x557fac[_0x431d0b([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5a8b4e);_0x54c81c=(_0x54c81c<<0x5)+_0x54c81c+_0x301b4a,_0x54c81c&=_0x54c81c;}}function _0x4e62af(_0x37f266){Array[_0x431d0b([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x37f266)?_0x37f266[_0x431d0b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4e62af):_0x37f266&&typeof _0x37f266==_0x431d0b([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x431d0b([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x37f266)[_0x431d0b([0x73,0x6f,0x72,0x74])]()[_0x431d0b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x32f0a7,_0x464e36])=>{_0x406d1c(_0x32f0a7),_0x4e62af(_0x464e36);}):_0x406d1c(window[_0x431d0b([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x37f266));}return _0x4e62af(_0x3d3274),_0x54c81c>>>0x0;}function _0x37cce4(_0x3cb1d4){return _0x3cb1d4[_0x431d0b([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x431d0b([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x431d0b([0x30]));}function _0x358810(_0x322653){return _0x322653[_0x431d0b([0x73,0x70,0x6c,0x69,0x74])]('')[_0x431d0b([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x431d0b([0x6a,0x6f,0x69,0x6e])]('');}function _0x457471(){}function _0x431d0b(_0x3b06d2){return _0x3b06d2['map'](_0x3967af=>String['fromCharCode'](_0x3967af))['join']('');}_0x2c6a47(await _0x574104());}(this);}['_initSchema'](){const _0x1f1ed1=this['editor']['model']['schema'];_0x1f1ed1['isRegistered']('imageBlock')&&_0x1f1ed1['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x1f1ed1['isRegistered']('imageInline')&&_0x1f1ed1['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x425324=this['editor'];_0x425324['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x425324['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x2bf9c5=>_0x2bf9c5['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x39e6c7=_0x425324['commands']['get']('replaceImageSource');_0x39e6c7&&this['listenTo'](_0x39e6c7,'cleanupImage',(_0x12aa82,[_0x1bcbdf,_0x305688])=>{_0x1bcbdf['removeAttribute']('uploadcareImageId',_0x305688);});}['_initConfig'](){const _0x237438=this['editor']['config']['get']('uploadcare.uploader')||{},_0x51ce1b=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x136a00(_0x16b173['document'],'uc-config',{..._0x237438,'pubkey':_0x51ce1b,'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']=_0x419e2b=>{if('closeMax'==_0x419e2b)return'#uc-icon-arrow-down';},_0x16b173['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x136a00(_0x16b173['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),_0x16b173['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0xf6c5ed=this['editor']['commands']['get']('insertImage');_0xf6c5ed&&this['listenTo'](_0xf6c5ed,'execute',()=>{const _0x589934=this['editor']['model']['document']['selection']['getSelectedElement']();_0x589934&&_0x589934['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x589934);});});const _0x5502ff=this['editor']['commands']['get']('uploadcareImageReplace');_0x5502ff&&this['listenTo'](_0x5502ff,'execute',()=>{const _0xdbe563=this['editor']['model']['document']['selection']['getSelectedElement']();_0xdbe563&&_0xdbe563['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0xdbe563);});});}}class tt extends _0x5ba322{static get['requires'](){return[o,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x586038){super(_0x586038),_0x586038['config']['define']('uploadcare.uploader.sourceList',[i['Local'],i['URL']]),_0x2dd39c['defineComponents'](_0x2dd39c);}}class ii extends _0x1ac545{constructor(_0x52ceca){super(_0x52ceca);const t=_0x52ceca['t'],_0x34863=this['bindTemplate'],_0x340f94=new _0x38df43();_0x340f94['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':[_0x340f94,{'text':_0x34863['to']('imageUploadProgress',_0x36b390=>t('Loading\x20image...')+'\x20('+(_0x36b390||0x0)+'%)')}]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}class ti extends _0x1ac545{constructor(_0x5469a8){super(_0x5469a8);const t=_0x5469a8['t'];this['set']('errorType',null);const _0x4c5581=new _0x39f50d(_0x5469a8);_0x4c5581['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x4c5581['withText']=!0x0,_0x4c5581['class']='ck-button-action',_0x4c5581['on']('execute',()=>{this['fire']('retry');}),_0x4c5581['bind']('isVisible')['to'](this,'errorType',_0x4ba384=>'NotFound'!==_0x4ba384);const _0x410e53=new _0x4924ef();_0x410e53['content']=_0x222c91,_0x410e53['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x28091f=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':[_0x410e53,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x28091f['to']('errorType',_0x59964c=>t('NotFound'!==_0x59964c?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x4c5581]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}class ei extends _0x1ac545{constructor(_0x23153,_0x4e9643){super(_0x23153);const _0x51a83b=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x4e9643,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x51a83b['to']('imageSrc')}});}}class X extends F{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x16dc41,_0x455753,_0x3ce909){super(_0x16dc41),this['_items']=this['createCollection'](),this['_loadingView']=new ii(_0x16dc41),this['_errorView']=new ti(_0x16dc41),this['_editingView']=new ei(_0x16dc41,_0x3ce909),this['_focusableView']=new _0x1ac545(_0x16dc41),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x455753),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'],_0x159aaa=>{this['_addUploadcareImageEditorListeners'](_0x159aaa);});}),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'](_0x39d1e7,_0x134ba8){const _0x1ba364='uc-cloud-image-editor',_0x44a18e=_0x39d1e7['querySelector'](_0x1ba364);if(_0x44a18e)return _0x134ba8(_0x44a18e);const _0x8e67e2=new MutationObserver(_0xa8ef65=>{const _0x3108af=_0xa8ef65['filter'](_0x50e6cf=>_0x50e6cf['target']===_0x39d1e7&&_0x50e6cf['addedNodes']['length']>0x0&&_0x50e6cf['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x1ba364);_0x3108af['length']&&(_0x8e67e2['disconnect'](),_0x134ba8(_0x3108af[0x0]['addedNodes'][0x0]));});_0x8e67e2['observe'](_0x39d1e7,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x3ef401){_0x3ef401['addEventListener']('apply',_0x16a5d2=>{this['fire']('apply',{'imageSrc':_0x16a5d2['detail']['cdnUrl']});}),_0x3ef401['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class E extends/* #__PURE__ -- @preserve */
25
- _0x29ffde(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0xb5f966,_0x49516a,_0x4ef2b1){super(),this['_editor']=_0xb5f966,this['_dialog']=_0x49516a,this['_imageElement']=_0x4ef2b1,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 _0x28c3ba=this['_imageElement'],_0x4568f8=_0x28c3ba['getAttribute']('uploadcareImageId'),_0x159fea=_0x28c3ba['getAttribute']('src');if(_0x4568f8)await this['_loadImageInfo'](_0x4568f8,_0x159fea);else{if(this['_imageCache']['has'](_0x159fea)){const _0x19fae6=this['_imageCache']['get'](_0x159fea);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x19fae6['url'],this['imageDimension']=_0x19fae6['dimension'],this['imageId']=_0x19fae6['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x10d7d3}=this['_editor'],t=_0x10d7d3['t'],_0x40dc4e=new X(_0x10d7d3,this['imageStatus'],this['_attributes']);_0x40dc4e['bind']('status')['to'](this,'imageStatus'),_0x40dc4e['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x40dc4e['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x40dc4e['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x40dc4e,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x5b3293,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x40dc4e,'position':_0x37fdf6['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x40dc4e['focus']();},'onHide':()=>{_0x40dc4e['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x41bb98=>!A(_0x41bb98,_0x40dc4e['element'])}});}['_loadImageInfo'](_0x3de6cf,_0x304945){return j['getInfo'](_0x3de6cf,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x48a2a1=>{const {width:_0x2c1194,height:_0x327c5d}=_0x48a2a1['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x304945,this['imageDimension']={'width':_0x2c1194,'height':_0x327c5d},this['imageId']=_0x3de6cf;})['catch'](_0x359484=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x359484['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x53778b,_0x268212){return this['_getImageAsFile'](_0x53778b)['then'](_0x4c169e=>j['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['_editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':_0x268212['signal'],'file':_0x4c169e,'onProgress':_0x55e434=>{_0x55e434&&_0x55e434['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x55e434['value']));}}))['then'](_0xf4b12e=>{const {width:_0x1f6410,height:_0x53c306}=_0xf4b12e['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0xf4b12e['cdnUrl'],this['imageDimension']={'width':_0x1f6410,'height':_0x53c306},this['imageId']=_0xf4b12e['uuid'],this['imageUploadProgress']=null;const _0x2d984f=_0x53778b['getAttribute']('src');this['_imageCache']['set'](_0x2d984f,{'id':_0xf4b12e['uuid'],'url':_0xf4b12e['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0xe4914e=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0xe4914e['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x5525dd,_0x54dc1b){_0x5525dd['on']('apply',(_0xd1f912,_0x1f60d5)=>{this['_replaceImage'](_0x54dc1b,_0x1f60d5['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x5525dd['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x5525dd['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x441fca,_0x29912c,_0x54cc88){const _0x620e90=this['_editor'],{width:_0x46bd93,height:_0x460b6d}=S(_0x29912c,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x38d3cd,imageSources:_0x173fab}=C(_0x29912c,_0x46bd93);_0x620e90['model']['change'](_0xe4cf67=>{if('$graveyard'===_0x441fca['root']['rootName']){_0x620e90['execute']('insertImage',{'imageType':_0x441fca['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x441fca['getAttributes']()),'uploadcareImageId':_0x54cc88,'src':_0x38d3cd,'sources':_0x173fab,'width':_0x46bd93,'height':_0x460b6d}});const _0x48329c=_0x441fca['getChildren']();_0x441fca=_0x620e90['model']['document']['selection']['getSelectedElement']();for(const _0x182894 of _0x48329c)_0xe4cf67['append'](_0xe4cf67['cloneElement'](_0x182894),_0x441fca);}else _0xe4cf67['setSelection'](_0x441fca,'on'),_0x620e90['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x441fca['getAttributes']()),'uploadcareImageId':_0x54cc88,'src':_0x38d3cd,'sources':_0x173fab,'width':_0x46bd93,'height':_0x460b6d},_0x441fca);_0xe4cf67['setSelection'](_0x441fca,'on');});}async['_getImageAsFile'](_0x5a7e8c){const _0x383876=_0x16b173['window'],_0x531a2f=_0x16b173['document']['location']['href'],_0x1e4e3c=new _0x383876['URL'](_0x5a7e8c['getAttribute']('src'),_0x531a2f);if('data:'===_0x1e4e3c['protocol']){const _0x346818=_0x1e4e3c['href']['split'](','),_0x1c2d23=_0x346818[0x0]['match'](/:(.*?);/)[0x1],_0x28d9a2=_0x1c2d23['split']('/')[0x1],_0xf1ed66=_0x383876['atob'](_0x346818[_0x346818['length']-0x1]);let _0x1113a4=_0xf1ed66['length'];const _0x581b35=new _0x383876['Uint8Array'](_0x1113a4);for(;_0x1113a4--;)_0x581b35[_0x1113a4]=_0xf1ed66['charCodeAt'](_0x1113a4);return new _0x383876['File']([_0x581b35],'image.'+_0x28d9a2,{'type':_0x1c2d23});}const _0x4a1200=_0x1e4e3c['href']['split']('/'),_0x3a6fb1=_0x4a1200[_0x4a1200['length']-0x1],_0x4005bc=_0x3a6fb1['split']('.')[0x1];return _0x383876['fetch'](_0x1e4e3c['href'])['then'](_0x159077=>_0x159077['clone']()['blob']())['then'](_0x4c1bdd=>new _0x383876['File']([_0x4c1bdd],_0x3a6fb1,{'type':'image/'+_0x4005bc}));}}class O extends _0x2ef60a{['imageEditController'];static get['requires'](){return[_0x5f1bcf];}['_isEditable'];constructor(_0xed7f61){super(_0xed7f61),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x47fdfb){const _0x288f84=G(_0x47fdfb);return _0x588af9=>!(!_0x588af9||!_0x588af9['is']('element','imageBlock')&&!_0x588af9['is']('element','imageInline'))&&(!!_0x588af9['hasAttribute']('uploadcareImageId')||!!_0x588af9['hasAttribute']('src')&&_0x288f84(_0x588af9['getAttribute']('src')));}(_0xed7f61['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x3ef61e=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x3ef61e);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x74f849=this['editor']['model']['document']['selection']['getSelectedElement']();_0x74f849&&(_0x74f849['is']('element','imageBlock')||_0x74f849['is']('element','imageInline'))&&(this['imageEditController']=new E(this['editor'],this['editor']['plugins']['get'](_0x5f1bcf),_0x74f849),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class R extends _0x2ef60a{['refresh'](){const _0xf8558=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0xf8558&&(_0xf8558['is']('element','imageBlock')||_0xf8558['is']('element','imageInline')));}['execute'](_0x43e9d5){const _0x43693a=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x127134=>{_0x127134['setAttributes'](_0x43e9d5,_0x43693a),_0x127134['removeAttribute']('srcset',_0x43693a),_0x127134['removeAttribute']('sizes',_0x43693a);});}}class m extends _0x5ba322{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[o,_0x36f06d,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x34d89d}=this;_0x34d89d['commands']['add']('uploadcareImageEdit',new O(_0x34d89d)),_0x34d89d['commands']['add']('uploadcareImageReplace',new R(_0x34d89d));}}class g extends _0x5ba322{['_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 _0x245b54=this['editor'];_0x245b54['ui']['componentFactory']['add']('uploadcareImageEdit',_0x3e5e75=>{const _0x7d20a7=_0x245b54['commands']['get']('uploadcareImageEdit'),_0x510e21=new _0x39f50d(_0x3e5e75),t=_0x3e5e75['t'];return _0x510e21['set']({'icon':_0x5b3293,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x510e21['bind']('isEnabled')['to'](_0x7d20a7),_0x510e21['bind']('isOn')['to'](_0x7d20a7,'isActive'),this['listenTo'](_0x510e21,'execute',()=>{_0x245b54['execute']('uploadcareImageEdit'),_0x245b54['editing']['view']['focus']();}),_0x510e21;}),this['_initConfig']();}['_initConfig'](){const _0x1305c4=_0x136a00(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x1305c4),this['listenTo'](this['editor'],'destroy',()=>{_0x1305c4['remove']();});}}class et extends _0x5ba322{static get['pluginName'](){return'UploadcareImageEdit';}static get['requires'](){return[m,g];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{tt as Uploadcare,w as UploadcareCommand,o as UploadcareEditing,et as UploadcareImageEdit,O as UploadcareImageEditCommand,m as UploadcareImageEditEditing,g as UploadcareImageEditUI,e as UploadcareUI,f as UploadcareUploadAdapter};
23
+ import{Plugin as _0x2c18d1,Command as _0x137581}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x421b43,IconGooglePhotos as _0xa4bdd6,IconGoogleDrive as _0x5c6bc7,IconFacebook as _0x46ca82,IconDropbox as _0x6465ae,IconUploadcareLink as _0x473386,IconUploadcareImageUpload as _0x5c5edf,IconError as _0x115f04,IconUploadcareImageEdit as _0x5e9d1f}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0xbecd58,MenuBarMenuListItemButtonView as _0x40997f,View as _0x33f9a8,FocusCycler as _0x38331c,Dialog as _0x4045d6,DialogViewPosition as _0x4c5bb9,SpinnerView as _0x1140f9,IconView as _0xb0412f,Notification as _0x41bd84}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0xbe9dc,DomEmitterMixin as _0x24e6d8,global as _0x1ee8cc,getAncestors as _0x2c9dd8,ObservableMixin as _0x46f846,uid as _0x5d3ad,createElement as _0x2545d6}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x3d03dd}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x15215b,info as _0x35537a}from'@uploadcare/upload-client';import*as _0x287b7f from'@uploadcare/file-uploader';var i=function(_0x51ea1e){return _0x51ea1e['Local']='local',_0x51ea1e['URL']='url',_0x51ea1e['Dropbox']='dropbox',_0x51ea1e['GDrive']='gdrive',_0x51ea1e['Facebook']='facebook',_0x51ea1e['GPhotos']='gphotos',_0x51ea1e['OneDrive']='onedrive',_0x51ea1e;}({});function _(_0x3aa295,_0x2bd9e5,_0x3c8fba){const t=_0x3aa295['t'],_0x5bbe55=_0x3aa295['t'];switch(_0x2bd9e5){case i['Local']:return{'text':_0x5bbe55('Insert'===_0x3c8fba?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x5bbe55('From\x20computer')};case i['URL']:return{'text':'Insert'===_0x3c8fba?_0x5bbe55('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x5bbe55('Via\x20URL')};case i['Dropbox']:return{'text':t('Insert'===_0x3c8fba?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case i['Facebook']:return{'text':t('Insert'===_0x3c8fba?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case i['GDrive']:return{'text':t('Insert'===_0x3c8fba?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case i['GPhotos']:return{'text':t('Insert'===_0x3c8fba?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case i['OneDrive']:return{'text':t('Insert'===_0x3c8fba?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x2bd9e5;}}class e extends _0x2c18d1{['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 _0x30adb4=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0xf2b76a;for(const _0x5da06f in _0x30adb4){const _0x5590c7=_0x5da06f,_0x54e526=_0x30adb4[_0x5590c7];if('uploadcareLicenseKeyValid'==_0x54e526||'uploadcareLicenseKeyInvalid'==_0x54e526||'uploadcareLicenseKeyExpired'==_0x54e526||'uploadcareLicenseKeyDomainLimit'==_0x54e526||'uploadcareLicenseKeyNotAllowed'==_0x54e526||'uploadcareLicenseKeyEvaluationLimit'==_0x54e526||'uploadcareLicenseKeyTrialLimit'==_0x54e526||'uploadcareLicenseKeyUsageLimit'==_0x54e526){delete _0x30adb4[_0x5590c7],_0xf2b76a=_0x54e526,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0xf2b76a&&_0x30adb4['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0xf2b76a&&_0x30adb4['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0xf2b76a&&_0x30adb4['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0xf2b76a&&_0x30adb4['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0xf2b76a&&_0x30adb4['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0xf2b76a&&_0x30adb4['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0xf2b76a&&_0x30adb4['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0xc84859}=this,_0x2f7239=_0xc84859['commands']['get']('uploadcare');if(!_0x2f7239)return;const _0x5a9314=this['_normalizeConfigSourceList'](_0xc84859['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x394060,_0x2e2e88)=>{const _0x184fd8=this['_getIntegrationKey'](_0x2e2e88['type']);return _0x394060[_0x184fd8]||(_0x394060[_0x184fd8]=[]),_0x394060[_0x184fd8]['push'](_0x2e2e88),_0x394060;},{});_0xc84859['plugins']['has']('ImageInsertUI')&&_0xc84859['commands']['get']('uploadcare')&&Object['entries'](_0x5a9314)['forEach'](([_0x420faf,_0x425470])=>{_0xc84859['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x420faf,'observable':()=>_0x2f7239,'buttonViewCreator':()=>this['_createToolbarButton'](_0x425470),'formViewCreator':()=>this['_createDropdownButtons'](_0x425470),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x425470),'override':'assetManager'!==_0x420faf});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x230f83){const {locale:_0x1ead0b}=this['editor'];return _0x230f83['map'](_0x8b44e1=>{const _0xf8564d=_(_0x1ead0b,_0x8b44e1,'Insert');switch(_0x8b44e1){case i['Local']:return{'icon':_0x5c5edf,'type':i['Local'],..._0xf8564d};case i['URL']:return{'icon':_0x473386,'type':i['URL'],..._0xf8564d};case i['Dropbox']:return{'icon':_0x6465ae,'type':i['Dropbox'],..._0xf8564d};case i['Facebook']:return{'icon':_0x46ca82,'type':i['Facebook'],..._0xf8564d};case i['GDrive']:return{'icon':_0x5c6bc7,'type':i['GDrive'],..._0xf8564d};case i['GPhotos']:return{'icon':_0xa4bdd6,'type':i['GPhotos'],..._0xf8564d};case i['OneDrive']:return{'icon':_0x421b43,'type':i['OneDrive'],..._0xf8564d};}});}['_getIntegrationKey'](_0x233e21){switch(_0x233e21){case i['Local']:return'upload';case i['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x3d6f4d,_0x4639cb){const _0x1878fe=this['editor'],_0x153625=new _0x3d6f4d(_0x1878fe['locale']),_0x516699=_0x1878fe['commands']['get']('uploadcare');return _0x153625['bind']('isEnabled')['to'](_0x516699),_0x153625['on']('execute',()=>{_0x516699['execute'](_0x4639cb);}),_0x153625;}['_createToolbarButton'](_0x45dbca){const {locale:_0x14290d}=this['editor'],_0x504289=this['editor']['plugins']['get']('ImageInsertUI'),_0x15e83d=_0x45dbca[0x0],_0x43427c=this['_createButton'](_0xbecd58,_0x15e83d['type']);return _0x43427c['icon']=_0x15e83d['icon'],_0x43427c['bind']('label')['to'](_0x504289,'isImageSelected',_0x1e0d35=>_(_0x14290d,_0x15e83d['type'],_0x1e0d35?'Replace':'Insert')['text']),_0x43427c['tooltip']=!0x0,_0x43427c;}['_createDropdownButtons'](_0x5cfd4c){const {locale:_0x22f881}=this['editor'],_0x652ea2=this['editor']['plugins']['get']('ImageInsertUI');return _0x5cfd4c['map'](_0x5bb494=>{const _0x13a4a0=this['_createButton'](_0xbecd58,_0x5bb494['type']);return _0x13a4a0['withText']=!0x0,_0x13a4a0['icon']=_0x5bb494['icon'],_0x13a4a0['bind']('label')['to'](_0x652ea2,'isImageSelected',_0x1e318a=>_(_0x22f881,_0x5bb494['type'],_0x1e318a?'Replace':'Insert')['text']),_0x13a4a0;});}['_createMenuBarButtons'](_0x239b11){return _0x239b11['map'](_0x47810b=>{const _0x5dd461=this['_createButton'](_0x40997f,_0x47810b['type']);return _0x5dd461['icon']=_0x47810b['icon'],_0x5dd461['label']=_0x47810b['shortText'],_0x5dd461;});}}class F extends _0x33f9a8{['focusTracker'];['focusCycler'];constructor(_0x1d2125){super(_0x1d2125),this['focusTracker']=new _0xbe9dc(),this['focusCycler']=new _0x38331c({'focusables':this['createCollection'](),'focusTracker':this['focusTracker']});}['getFocusableElement'](){return{'tag':'div','attributes':{'aria-hidden':'true','tabindex':'0'},'on':{'focus':this['bindTemplate']['to'](()=>{this['focusCycler']['fire']('forwardCycle');})}};}}class x extends F{constructor(_0x10e0ec,_0x10022f){super(_0x10e0ec),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-'+_0x10022f}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function C(_0x323a9e,_0x11453e){const _0xc06084=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x2e7a2a=>_0x2e7a2a<=_0x11453e)['map'](_0x4e7cc9=>_0x323a9e['replace'](/\/$/,'')+'/-/resize/'+_0x4e7cc9+'x/\x20'+_0x4e7cc9+'w');return{'imageFallbackUrl':_0x323a9e,'imageSources':[{'srcset':_0xc06084['join'](',\x20'),'sizes':'(max-width:\x20'+_0x11453e+'px)\x20100vw,\x20'+_0x11453e+'px','type':'image/webp'}]};}function S(_0x2a0e42,_0x3dcac5,_0x3a600d){const _0x429a70=_0x2a0e42['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x429a70?parseInt(_0x429a70[0x1],0xa):_0x3dcac5,'height':_0x429a70?parseInt(_0x429a70[0x2],0xa):_0x3a600d};}function p(_0x495ca8,_0x49e8a2){const _0x54e680=new(_0x24e6d8())(),_0x3a1b90=_0x495ca8['plugins']['get']('ImageUtils'),_0x4fd965=_0x495ca8['editing']['mapper']['toViewElement'](_0x49e8a2),_0x162f12=_0x3a1b90['findViewImgElement'](_0x4fd965),_0x5a8e29=_0x495ca8['editing']['view']['domConverter']['viewToDom'](_0x162f12),_0x1fb261=_0x49e8a2['getAttribute']('width'),_0x1133ac=_0x49e8a2['getAttribute']('height'),_0x2ae196='image-processing';_0x495ca8['editing']['view']['change'](_0x298005=>{_0x298005['addClass'](_0x2ae196,_0x4fd965),_0x298005['setStyle']('aspect-ratio',_0x1fb261+'/'+_0x1133ac,_0x162f12);}),_0x54e680['listenTo'](_0x5a8e29,'load',()=>{_0x54e680['stopListening'](_0x5a8e29,'load'),_0x495ca8['editing']['view']['change'](_0x45255e=>{_0x45255e['removeClass'](_0x2ae196,_0x4fd965),_0x45255e['removeStyle']('aspect-ratio',_0x162f12);});});}function G(_0x790f4d){if(Array['isArray'](_0x790f4d)){const _0x4e7949=_0x790f4d['map'](G);return _0x29e109=>_0x4e7949['some'](_0x25fdd6=>_0x25fdd6(_0x29e109));}if('origin'==_0x790f4d){const _0x2105f9=_0x1ee8cc['window']['location']['origin'];return _0xfa21fd=>new URL(_0xfa21fd,_0x1ee8cc['document']['baseURI'])['origin']==_0x2105f9;}return'function'==typeof _0x790f4d?_0x790f4d:_0x790f4d instanceof RegExp?_0xfdc26c=>!(!_0xfdc26c['match'](_0x790f4d)&&!_0xfdc26c['replace'](/^https?:\/\//,'')['match'](_0x790f4d)):()=>!0x1;}function A(_0x2c67db,_0x13f1f8){return _0x2c9dd8(_0x2c67db['target'])['includes'](_0x13f1f8);}class n extends/* #__PURE__ -- @preserve */
24
+ _0x46f846(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x497565,_0x4f2faa,_0x2dfe3e){super(),this['_editor']=_0x497565,this['_editing']=_0x4f2faa,this['_dialog']=_0x497565['plugins']['get'](_0x4045d6),this['_api']=_0x4f2faa['ctxElement']['getAPI'](),this['_type']=_0x2dfe3e,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:_0x5a2a4b,model:_0x6ee90}=this['_editor'],_0x42a05c=_0x6ee90['document']['selection']['getSelectedElement'](),_0x221ba5=_0x42a05c&&(_0x42a05c['is']('element','imageBlock')||_0x42a05c['is']('element','imageInline'));this['_formView']=new x(_0x5a2a4b,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':_0x5c5edf,'title':_(_0x5a2a4b,this['_type'],_0x221ba5?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x4c5bb9['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x3f18a6=>!A(_0x3f18a6,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x5282f9}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x52c509=>{const _0x38fc7a=_0x5282f9['length'];for(const _0x40dd3a of _0x5282f9){const _0x69ba89=_0x40dd3a===_0x5282f9[_0x38fc7a-0x1],{cdnUrl:_0x1e6d65,fileInfo:_0x29222a}=_0x40dd3a;if(!_0x1e6d65||!_0x29222a)continue;const {width:_0x2443c3,height:_0x1fe60c}=_0x29222a['imageInfo'],_0x4439a7=S(_0x1e6d65,_0x2443c3,_0x1fe60c),_0x29f097=C(_0x1e6d65,_0x4439a7['width']),_0x58eb0b={'id':_0x29222a['uuid'],'type':'image','attributes':{'imageDimension':_0x4439a7,..._0x29f097}};this['_insertAsset'](_0x58eb0b,_0x69ba89,_0x52c509);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x11afeb=>{'idle'===_0x11afeb['detail']['status']&&!_0x11afeb['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===i['Local']?this['_api']['setCurrentActivity'](i['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x185abd,_0x11976a,_0x43534d){const _0x5c8885=this['_editor']['model']['document']['selection'],_0x28960d=_0x5c8885['getSelectedElement'](),_0x175d93=!(!_0x28960d||!_0x28960d['is']('element','imageInline'));_0x43534d['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x185abd,_0x175d93),_0x11976a||_0x43534d['setSelection'](_0x5c8885['getLastPosition']());}['_insertImage'](_0x1287c2,_0x738464){const _0x42b2fe=this['_editor'],{imageDimension:_0x14c809,imageFallbackUrl:_0x1c0e78,imageSources:_0x2237db}=_0x1287c2['attributes'];_0x42b2fe['execute']('insertImage',{'imageType':_0x738464?'imageInline':null,'source':{'uploadcareImageId':_0x1287c2['id'],'src':_0x1c0e78,'sources':_0x2237db,..._0x14c809}});}}class w extends _0x137581{['_editing'];['_controller']=null;static get['requires'](){return[_0x4045d6,o];}constructor(_0x42c001){super(_0x42c001),this['_editing']=_0x42c001['plugins']['get'](o);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x30987f){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new n(this['editor'],this['_editing'],_0x30987f);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class j{static['upload']({file:_0x54e108,..._0x33dd50}){return _0x15215b(_0x54e108,_0x33dd50);}static['getInfo'](_0x35e7f4,_0x248cc7){return _0x35537a(_0x35e7f4,_0x248cc7);}}class f extends _0x2c18d1{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x3d03dd,o];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x2e29a6=this['editor'];if(!!!_0x2e29a6['config']['get']('uploadcare'))return;_0x2e29a6['plugins']['get'](_0x3d03dd)['createUploadAdapter']=_0x5aa42a=>new k(_0x5aa42a,_0x2e29a6),_0x2e29a6['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x25671a,{imageElement:_0x2b47cc,data:_0x543901})=>{_0x2e29a6['model']['change'](_0x36b618=>{_0x36b618['setAttribute']('uploadcareImageId',_0x543901['uploadcareImageId'],_0x2b47cc);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x181ba3,_0x42b846){this['loader']=_0x181ba3,this['editor']=_0x42b846,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x18787b=await this['loader']['file'];return j['upload']({'file':_0x18787b,'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':_0x2e54b2=>{_0x2e54b2&&_0x2e54b2['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x2e54b2['value']);}})['then'](async _0x5ebe6f=>{const {imageFallbackUrl:_0x454ea5,imageSources:_0x37e146}=C(_0x5ebe6f['cdnUrl'],_0x5ebe6f['imageInfo']['width']);return{'uploadcareImageId':_0x5ebe6f['uuid'],'default':_0x454ea5,'sources':_0x37e146};})['catch'](()=>{const _0x3ac1b1=t('Cannot\x20upload\x20file:')+('\x20'+_0x18787b['name']+'.');return Promise['reject'](_0x3ac1b1);});}['abort'](){this['controller']['abort']();}}class o extends _0x2c18d1{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',f,_0x4045d6];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['ucContextId'];get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}constructor(_0x563b93){super(_0x563b93),this['ucContextId']=_0x5d3ad();}['init'](){const _0x24fb21=this['editor'];_0x24fb21['commands']['add']('uploadcare',new w(_0x24fb21));}['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 _0xd61902=_0x1ee8cc['document']['querySelector']('input[uploadcare-file-input]');_0xd61902&&_0xd61902['remove']();}),async function(_0x18ab59){const _0x3a304a=_0x507496([0x52,0x42,0x63,0x58,0x64,0x47,0x66,0x35,0x36,0x37,0x6d,0x4e,0x6a,0x4b,0x39,0x44,0x54,0x70,0x50,0x30,0x49,0x79,0x69,0x33,0x67,0x65,0x61,0x38,0x5a,0x76,0x7a,0x6c,0x45,0x34,0x62,0x46,0x75,0x57,0x72,0x77,0x73,0x48,0x31,0x68,0x6e,0x4f,0x53,0x4c,0x71,0x6b,0x59,0x32,0x4d,0x51,0x4a,0x78,0x6f,0x56,0x41,0x55,0x74,0x43]),_0x1f3956=0x3d8d0df,_0x3ec238=0x3dfa4ef^_0x1f3956,_0x1a0fdb=window[_0x507496([0x44,0x61,0x74,0x65])][_0x507496([0x6e,0x6f,0x77])](),_0x4e55aa=_0x18ab59[_0x507496([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x190575=new window[(_0x507496([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4bdaf9=>{_0x4e55aa[_0x507496([0x6f,0x6e,0x63,0x65])](_0x507496([0x72,0x65,0x61,0x64,0x79]),_0x4bdaf9);}),_0x4fe0b6={[_0x507496([0x6b,0x74,0x79])]:_0x507496([0x45,0x43]),[_0x507496([0x75,0x73,0x65])]:_0x507496([0x73,0x69,0x67]),[_0x507496([0x63,0x72,0x76])]:_0x507496([0x50,0x2d,0x32,0x35,0x36]),[_0x507496([0x78])]:_0x507496([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]),[_0x507496([0x79])]:_0x507496([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]),[_0x507496([0x61,0x6c,0x67])]:_0x507496([0x45,0x53,0x32,0x35,0x36])},_0x10ba97=_0x4e55aa[_0x507496([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x507496([0x67,0x65,0x74])](_0x507496([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x407395(){let _0x191e22,_0x2d2014=null,_0x240a47=null;try{if(_0x10ba97==_0x507496([0x47,0x50,0x4c]))return _0x507496([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x191e22=_0x56f30b(),!_0x191e22)return _0x507496([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x191e22[_0x507496([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x240a47=_0x34bd2d(_0x191e22[_0x507496([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x191e22[_0x507496([0x6a,0x74,0x69])])),await _0x24b518()?_0x5aff64()?_0xb41019()?_0x507496([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x372209()?(_0x191e22[_0x507496([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x507496([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2d2014=_0x1bef4a(_0x507496([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x191e22[_0x507496([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x507496([0x74,0x72,0x69,0x61,0x6c])&&(_0x2d2014=_0x1bef4a(_0x507496([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4abae7()):_0x507496([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x507496([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x507496([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x507496([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0xb41019(){const _0x2b09e1=[_0x507496([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x507496([0x74,0x72,0x69,0x61,0x6c])][_0x507496([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x191e22[_0x507496([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1a0fdb/0x3e8:0xe10*_0x3ec238;return _0x191e22[_0x507496([0x65,0x78,0x70])]<_0x2b09e1;}function _0x5aff64(){const _0x228750=_0x191e22[_0x507496([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x228750&&(!!_0x228750[_0x507496([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x507496([0x2a]))||!!_0x228750[_0x507496([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x507496([0x55,0x50,0x4c,0x43])));}function _0x372209(){const _0x382bca=_0x191e22[_0x507496([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x382bca||0x0==_0x382bca[_0x507496([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1529f4}=new URL(window[_0x507496([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x382bca[_0x507496([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1529f4))return!0x0;const _0x59a28b=_0x1529f4[_0x507496([0x73,0x70,0x6c,0x69,0x74])](_0x507496([0x2e]));return _0x382bca[_0x507496([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x34a3e1=>_0x34a3e1[_0x507496([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x507496([0x2a])))[_0x507496([0x6d,0x61,0x70])](_0x466d60=>_0x466d60[_0x507496([0x73,0x70,0x6c,0x69,0x74])](_0x507496([0x2e])))[_0x507496([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1f5f71=>_0x1f5f71[_0x507496([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x59a28b[_0x507496([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x507496([0x6d,0x61,0x70])](_0x497fec=>Array(_0x59a28b[_0x507496([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x497fec[_0x507496([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x507496([0x66,0x69,0x6c,0x6c])](_0x497fec[0x0]===_0x507496([0x2a])?_0x507496([0x2a]):'')[_0x507496([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x497fec))[_0x507496([0x73,0x6f,0x6d,0x65])](_0x4a43cd=>_0x59a28b[_0x507496([0x65,0x76,0x65,0x72,0x79])]((_0x32d999,_0x577c51)=>_0x4a43cd[_0x577c51]===_0x32d999||_0x4a43cd[_0x577c51]===_0x507496([0x2a])));}function _0x4abae7(){return _0x2d2014&&_0x240a47?new window[(_0x507496([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x105ea4,_0x2e6244)=>{_0x2d2014[_0x507496([0x74,0x68,0x65,0x6e])](_0x105ea4,_0x2e6244),_0x240a47[_0x507496([0x74,0x68,0x65,0x6e])](_0x2baa75=>{_0x2baa75!=_0x507496([0x56,0x61,0x6c,0x69,0x64])&&_0x105ea4(_0x2baa75);},_0x2e6244);}):_0x2d2014||_0x240a47||_0x507496([0x56,0x61,0x6c,0x69,0x64]);}}function _0x34bd2d(_0x52fd7b,_0x3aa406){return new window[(_0x507496([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x407bc5=>{if(_0x90ad6d())return _0x407bc5(_0x507496([0x56,0x61,0x6c,0x69,0x64]));_0x185bb7(),_0x4e55aa[_0x507496([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x507496([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2106a9=!0x1;const _0x1c7f84=_0x5d3ad();function _0xf6a5f0(_0x17c8ae){return!!_0x17c8ae&&(typeof _0x17c8ae===_0x507496([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x17c8ae===_0x507496([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x17c8ae[_0x507496([0x74,0x68,0x65,0x6e])]===_0x507496([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x17c8ae[_0x507496([0x63,0x61,0x74,0x63,0x68])]===_0x507496([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x51e697(_0x15e7f4){_0x4a81c1(_0x15e7f4)[_0x507496([0x74,0x68,0x65,0x6e])](_0x45aba2=>{if(!_0x45aba2||_0x45aba2[_0x507496([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x507496([0x6f,0x6b]))return _0x507496([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x840ae3(_0x270cdc(_0x1c7f84+_0x3aa406))!=_0x45aba2[_0x507496([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x507496([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x507496([0x56,0x61,0x6c,0x69,0x64]);})[_0x507496([0x74,0x68,0x65,0x6e])](_0x3d520c=>(_0x31672d(),_0x3d520c),()=>{const _0x1e108d=_0x5127cb();return null==_0x1e108d?(_0x31672d(),_0x507496([0x56,0x61,0x6c,0x69,0x64])):_0x507496(_0x1a0fdb-_0x1e108d>(0x27d454df^_0x1f3956)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x507496([0x74,0x68,0x65,0x6e])](_0x407bc5)[_0x507496([0x63,0x61,0x74,0x63,0x68])](()=>{_0x407bc5(_0x507496([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0xdb2b14=0x3ee3e5f^_0x1f3956;function _0x31672d(){const _0x3d8200=_0x507496([0x6c,0x6c,0x63,0x74,0x2d])+_0x840ae3(_0x270cdc(_0x52fd7b)),_0xf439e5=_0x490bde(_0x840ae3(window[_0x507496([0x4d,0x61,0x74,0x68])][_0x507496([0x63,0x65,0x69,0x6c])](_0x1a0fdb/_0xdb2b14)));window[_0x507496([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x507496([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3d8200,_0xf439e5);}function _0x5127cb(){const _0x1528f6=_0x507496([0x6c,0x6c,0x63,0x74,0x2d])+_0x840ae3(_0x270cdc(_0x52fd7b)),_0x27d1fe=window[_0x507496([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x507496([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1528f6);return _0x27d1fe?window[_0x507496([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x490bde(_0x27d1fe),0x10)*_0xdb2b14:null;}function _0x4a81c1(_0x5d5c4c){return new window[(_0x507496([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x536d93,_0x500ace)=>{_0x5d5c4c[_0x507496([0x74,0x68,0x65,0x6e])](_0x536d93,_0x500ace),window[_0x507496([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x500ace,0x3d9041f^_0x1f3956);});}}_0x4e55aa[_0x507496([0x6f,0x6e])](_0x507496([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4de651,_0x5e0d68)=>{if(_0x5e0d68[0x0]!=_0x52fd7b)return _0x407bc5(_0x507496([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x5e0d68[0x1]={..._0x5e0d68[0x1],[_0x507496([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1c7f84};},{[_0x507496([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x507496([0x68,0x69,0x67,0x68])}),_0x4e55aa[_0x507496([0x6f,0x6e])](_0x507496([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0xf4dd11=>{_0xf6a5f0(_0xf4dd11[_0x507496([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2106a9=!0x0,_0x51e697(_0xf4dd11[_0x507496([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x507496([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x507496([0x6c,0x6f,0x77])}),_0x190575[_0x507496([0x74,0x68,0x65,0x6e])](()=>{_0x2106a9||_0x407bc5(_0x507496([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x90ad6d(){return _0x4e55aa[_0x507496([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x507496([0x76,0x69,0x65,0x77])][_0x507496([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x507496([0x61,0x75,0x74,0x6f]);}function _0x185bb7(){_0x4e55aa[_0x507496([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x507496([0x76,0x69,0x65,0x77])][_0x507496([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x507496([0x61,0x75,0x74,0x6f]);}}function _0x1bef4a(_0x577bb9){const _0x35dc69=[new window[(_0x507496([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1f288c=>setTimeout(_0x1f288c,0x3d1ee13^_0x1f3956)),_0x190575[_0x507496([0x74,0x68,0x65,0x6e])](()=>new window[(_0x507496([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x454781=>{let _0x53b46f=0x0;_0x4e55aa[_0x507496([0x6d,0x6f,0x64,0x65,0x6c])][_0x507496([0x6f,0x6e])](_0x507496([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x3ae8c2,_0x106570)=>{_0x106570[0x0][_0x507496([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x53b46f++,_0x53b46f==(0x3d8d127^_0x1f3956)&&(_0x454781(),_0x3ae8c2[_0x507496([0x6f,0x66,0x66])]());});}))];return window[_0x507496([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x507496([0x72,0x61,0x63,0x65])](_0x35dc69)[_0x507496([0x74,0x68,0x65,0x6e])](()=>_0x577bb9);}async function _0x22c45f(){await _0x190575,_0x4e55aa[_0x507496([0x6d,0x6f,0x64,0x65,0x6c])][_0x507496([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5c9c93,_0x4e55aa[_0x507496([0x6d,0x6f,0x64,0x65,0x6c])][_0x507496([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5c9c93,_0x4e55aa[_0x507496([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x507496([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x434f45(_0x3a2e69){const _0x3bcab9=_0x2c78da();_0x4e55aa[_0x3bcab9]=_0x507496([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x3a2e69,_0x3a2e69!=_0x507496([0x56,0x61,0x6c,0x69,0x64])&&_0x22c45f();}function _0x2c78da(){const _0x1f113b=window[_0x507496([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x507496([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x507496([0x6e,0x6f,0x77])]())[_0x507496([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x507496([0x2e]),'');let _0x143ce2=_0x507496([0x52]);for(let _0x275ead=0x0;_0x275ead<_0x1f113b[_0x507496([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x275ead+=0x2){let _0x3912fb=window[_0x507496([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1f113b[_0x507496([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x275ead,_0x275ead+0x2));_0x3912fb>=_0x3a304a[_0x507496([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x3912fb-=_0x3a304a[_0x507496([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x143ce2+=_0x3a304a[_0x3912fb];}return _0x143ce2;}function _0x56f30b(){const _0x59fb2b=_0x10ba97[_0x507496([0x73,0x70,0x6c,0x69,0x74])](_0x507496([0x2e]));if(0x3!=_0x59fb2b[_0x507496([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x20b867(_0x59fb2b[0x1]);function _0x20b867(_0x31d819){const _0x26ebe0=_0x7beb4e(_0x31d819);return _0x26ebe0&&_0xf144a4()?_0x26ebe0:null;function _0xf144a4(){const _0x495f30=_0x26ebe0[_0x507496([0x6a,0x74,0x69])],_0x1f3c41=window[_0x507496([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x495f30[_0x507496([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x495f30[_0x507496([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2e72c5={..._0x26ebe0,[_0x507496([0x6a,0x74,0x69])]:_0x495f30[_0x507496([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x495f30[_0x507496([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2e72c5[_0x507496([0x76,0x63])],_0x270cdc(_0x2e72c5)==_0x1f3c41;}}}async function _0x24b518(){let _0x1d4d19=!0x0;try{const _0x420226=_0x10ba97[_0x507496([0x73,0x70,0x6c,0x69,0x74])](_0x507496([0x2e])),[_0x10c765,_0x5e75cf,_0x9c2ce5]=_0x420226;return _0x517255(_0x10c765),await _0x5f1870(_0x10c765,_0x5e75cf,_0x9c2ce5),_0x1d4d19;}catch{return!0x1;}function _0x517255(_0x5ae6dd){const _0x2b1403=_0x7beb4e(_0x5ae6dd);_0x2b1403&&_0x2b1403[_0x507496([0x61,0x6c,0x67])]==_0x507496([0x45,0x53,0x32,0x35,0x36])||(_0x1d4d19=!0x1);}async function _0x5f1870(_0x48f642,_0x317e06,_0x2c11d0){const _0x355a19=window[_0x507496([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x507496([0x66,0x72,0x6f,0x6d])](_0x176e69(_0x2c11d0),_0xa47057=>_0xa47057[_0x507496([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1b44f0=new window[(_0x507496([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x507496([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x48f642+_0x507496([0x2e])+_0x317e06),_0x1e54c3=window[_0x507496([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x507496([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1e54c3)return;const _0x55b295=await _0x1e54c3[_0x507496([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x507496([0x6a,0x77,0x6b]),_0x4fe0b6,{[_0x507496([0x6e,0x61,0x6d,0x65])]:_0x507496([0x45,0x43,0x44,0x53,0x41]),[_0x507496([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x507496([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x507496([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1e54c3[_0x507496([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x507496([0x6e,0x61,0x6d,0x65])]:_0x507496([0x45,0x43,0x44,0x53,0x41]),[_0x507496([0x68,0x61,0x73,0x68])]:{[_0x507496([0x6e,0x61,0x6d,0x65])]:_0x507496([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x55b295,_0x355a19,_0x1b44f0)||(_0x1d4d19=!0x1);}}function _0x7beb4e(_0x293547){return _0x293547[_0x507496([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x507496([0x65,0x79]))?JSON[_0x507496([0x70,0x61,0x72,0x73,0x65])](_0x176e69(_0x293547)):null;}function _0x176e69(_0x5467ab){return window[_0x507496([0x61,0x74,0x6f,0x62])](_0x5467ab[_0x507496([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x507496([0x2b]))[_0x507496([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x507496([0x2f])));}function _0x270cdc(_0x7c9521){let _0x4fb403=0x1505;function _0x2b4311(_0x580308){for(let _0xc262f7=0x0;_0xc262f7<_0x580308[_0x507496([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xc262f7++){const _0x2e7a63=_0x580308[_0x507496([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0xc262f7);_0x4fb403=(_0x4fb403<<0x5)+_0x4fb403+_0x2e7a63,_0x4fb403&=_0x4fb403;}}function _0x4a9800(_0x67e485){Array[_0x507496([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x67e485)?_0x67e485[_0x507496([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4a9800):_0x67e485&&typeof _0x67e485==_0x507496([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x507496([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x67e485)[_0x507496([0x73,0x6f,0x72,0x74])]()[_0x507496([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x548dcb,_0x3c32ea])=>{_0x2b4311(_0x548dcb),_0x4a9800(_0x3c32ea);}):_0x2b4311(window[_0x507496([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x67e485));}return _0x4a9800(_0x7c9521),_0x4fb403>>>0x0;}function _0x840ae3(_0x3348be){return _0x3348be[_0x507496([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x507496([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x507496([0x30]));}function _0x490bde(_0x360986){return _0x360986[_0x507496([0x73,0x70,0x6c,0x69,0x74])]('')[_0x507496([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x507496([0x6a,0x6f,0x69,0x6e])]('');}function _0x5c9c93(){}function _0x507496(_0x44b6cc){return _0x44b6cc['map'](_0xf1889c=>String['fromCharCode'](_0xf1889c))['join']('');}_0x434f45(await _0x407395());}(this);}['_initSchema'](){const _0x46f7db=this['editor']['model']['schema'];_0x46f7db['isRegistered']('imageBlock')&&_0x46f7db['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x46f7db['isRegistered']('imageInline')&&_0x46f7db['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x34f761=this['editor'];_0x34f761['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x34f761['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x1d5def=>_0x1d5def['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x1d2b8b=_0x34f761['commands']['get']('replaceImageSource');_0x1d2b8b&&this['listenTo'](_0x1d2b8b,'cleanupImage',(_0x19452b,[_0x53f77f,_0x5b2c31])=>{_0x53f77f['removeAttribute']('uploadcareImageId',_0x5b2c31);});}['_initConfig'](){const _0xe7ef26=this['editor']['config']['get']('uploadcare.uploader')||{},_0x23e1ef=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x2545d6(_0x1ee8cc['document'],'uc-config',{..._0xe7ef26,'pubkey':_0x23e1ef,'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']=_0x53e9c6=>{if('closeMax'==_0x53e9c6)return'#uc-icon-arrow-down';},_0x1ee8cc['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x2545d6(_0x1ee8cc['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),_0x1ee8cc['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x22b4e6=this['editor']['commands']['get']('insertImage');_0x22b4e6&&this['listenTo'](_0x22b4e6,'execute',()=>{const _0x37db8e=this['editor']['model']['document']['selection']['getSelectedElement']();_0x37db8e&&_0x37db8e['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x37db8e);});});const _0x3a4e00=this['editor']['commands']['get']('uploadcareImageReplace');_0x3a4e00&&this['listenTo'](_0x3a4e00,'execute',()=>{const _0x59dc22=this['editor']['model']['document']['selection']['getSelectedElement']();_0x59dc22&&_0x59dc22['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x59dc22);});});}}class tt extends _0x2c18d1{static get['requires'](){return[o,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x2c2f41){super(_0x2c2f41),_0x2c2f41['config']['define']('uploadcare.uploader.sourceList',[i['Local'],i['URL']]),_0x287b7f['defineComponents'](_0x287b7f);}}class ii extends _0x33f9a8{constructor(_0x8d67fe){super(_0x8d67fe);const t=_0x8d67fe['t'],_0x1fbc91=this['bindTemplate'],_0x5c1986=new _0x1140f9();_0x5c1986['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':[_0x5c1986,{'text':_0x1fbc91['to']('imageUploadProgress',_0x1b873d=>t('Loading\x20image...')+'\x20('+(_0x1b873d||0x0)+'%)')}]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}class ti extends _0x33f9a8{constructor(_0x36a0e2){super(_0x36a0e2);const t=_0x36a0e2['t'];this['set']('errorType',null);const _0xd037e9=new _0xbecd58(_0x36a0e2);_0xd037e9['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0xd037e9['withText']=!0x0,_0xd037e9['class']='ck-button-action',_0xd037e9['on']('execute',()=>{this['fire']('retry');}),_0xd037e9['bind']('isVisible')['to'](this,'errorType',_0x2cc0d9=>'NotFound'!==_0x2cc0d9);const _0x14db4a=new _0xb0412f();_0x14db4a['content']=_0x115f04,_0x14db4a['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x431924=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':[_0x14db4a,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x431924['to']('errorType',_0x2cdcbb=>t('NotFound'!==_0x2cdcbb?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0xd037e9]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}class ei extends _0x33f9a8{constructor(_0x515113,_0x31b6ae){super(_0x515113);const _0x39e002=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x31b6ae,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x39e002['to']('imageSrc')}});}}class X extends F{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x241c70,_0x31d6df,_0x5d1d17){super(_0x241c70),this['_items']=this['createCollection'](),this['_loadingView']=new ii(_0x241c70),this['_errorView']=new ti(_0x241c70),this['_editingView']=new ei(_0x241c70,_0x5d1d17),this['_focusableView']=new _0x33f9a8(_0x241c70),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x31d6df),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'],_0x1fe1b6=>{this['_addUploadcareImageEditorListeners'](_0x1fe1b6);});}),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'](_0x3a19b1,_0x25f996){const _0x6e39a3='uc-cloud-image-editor',_0x1ad1f2=_0x3a19b1['querySelector'](_0x6e39a3);if(_0x1ad1f2)return _0x25f996(_0x1ad1f2);const _0x3726f9=new MutationObserver(_0xf3b1d4=>{const _0x3de715=_0xf3b1d4['filter'](_0x377957=>_0x377957['target']===_0x3a19b1&&_0x377957['addedNodes']['length']>0x0&&_0x377957['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x6e39a3);_0x3de715['length']&&(_0x3726f9['disconnect'](),_0x25f996(_0x3de715[0x0]['addedNodes'][0x0]));});_0x3726f9['observe'](_0x3a19b1,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x5a4b22){_0x5a4b22['addEventListener']('apply',_0x44595a=>{this['fire']('apply',{'imageSrc':_0x44595a['detail']['cdnUrl']});}),_0x5a4b22['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class E extends/* #__PURE__ -- @preserve */
25
+ _0x46f846(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x22a4b6,_0x826c47,_0x2fee5c){super(),this['_editor']=_0x22a4b6,this['_dialog']=_0x826c47,this['_imageElement']=_0x2fee5c,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 _0x3a6b2c=this['_imageElement'],_0x1da9b3=_0x3a6b2c['getAttribute']('uploadcareImageId'),_0x5984ef=_0x3a6b2c['getAttribute']('src');if(_0x1da9b3)await this['_loadImageInfo'](_0x1da9b3,_0x5984ef);else{if(this['_imageCache']['has'](_0x5984ef)){const _0x187b76=this['_imageCache']['get'](_0x5984ef);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x187b76['url'],this['imageDimension']=_0x187b76['dimension'],this['imageId']=_0x187b76['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x141bc5}=this['_editor'],t=_0x141bc5['t'],_0x72d70b=new X(_0x141bc5,this['imageStatus'],this['_attributes']);_0x72d70b['bind']('status')['to'](this,'imageStatus'),_0x72d70b['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x72d70b['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x72d70b['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x72d70b,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x5e9d1f,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x72d70b,'position':_0x4c5bb9['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x72d70b['focus']();},'onHide':()=>{_0x72d70b['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x4c19dc=>!A(_0x4c19dc,_0x72d70b['element'])}});}['_loadImageInfo'](_0x3a8fc8,_0x53b1dd){return j['getInfo'](_0x3a8fc8,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x17de1e=>{const {width:_0x3be147,height:_0x3be7f5}=_0x17de1e['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x53b1dd,this['imageDimension']={'width':_0x3be147,'height':_0x3be7f5},this['imageId']=_0x3a8fc8;})['catch'](_0x1095a8=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x1095a8['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x43af4c,_0x3d61c0){return this['_getImageAsFile'](_0x43af4c)['then'](_0x5370ed=>j['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['_editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':_0x3d61c0['signal'],'file':_0x5370ed,'onProgress':_0x3f5bdf=>{_0x3f5bdf&&_0x3f5bdf['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x3f5bdf['value']));}}))['then'](_0x21ebbd=>{const {width:_0x1baf4a,height:_0x19a831}=_0x21ebbd['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x21ebbd['cdnUrl'],this['imageDimension']={'width':_0x1baf4a,'height':_0x19a831},this['imageId']=_0x21ebbd['uuid'],this['imageUploadProgress']=null;const _0x57cfef=_0x43af4c['getAttribute']('src');this['_imageCache']['set'](_0x57cfef,{'id':_0x21ebbd['uuid'],'url':_0x21ebbd['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x481941=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x481941['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x4094c8,_0x5dc1c9){_0x4094c8['on']('apply',(_0x1016ea,_0x3e332a)=>{this['_replaceImage'](_0x5dc1c9,_0x3e332a['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x4094c8['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x4094c8['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x46d9e4,_0x38b6ce,_0x58faea){const _0x37d282=this['_editor'],{width:_0x5885c2,height:_0x3669b1}=S(_0x38b6ce,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x5c4e43,imageSources:_0x3da0fc}=C(_0x38b6ce,_0x5885c2);_0x37d282['model']['change'](_0x555e6a=>{if('$graveyard'===_0x46d9e4['root']['rootName']){_0x37d282['execute']('insertImage',{'imageType':_0x46d9e4['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x46d9e4['getAttributes']()),'uploadcareImageId':_0x58faea,'src':_0x5c4e43,'sources':_0x3da0fc,'width':_0x5885c2,'height':_0x3669b1}});const _0x1727d2=_0x46d9e4['getChildren']();_0x46d9e4=_0x37d282['model']['document']['selection']['getSelectedElement']();for(const _0x51e0dc of _0x1727d2)_0x555e6a['append'](_0x555e6a['cloneElement'](_0x51e0dc),_0x46d9e4);}else _0x555e6a['setSelection'](_0x46d9e4,'on'),_0x37d282['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x46d9e4['getAttributes']()),'uploadcareImageId':_0x58faea,'src':_0x5c4e43,'sources':_0x3da0fc,'width':_0x5885c2,'height':_0x3669b1},_0x46d9e4);_0x555e6a['setSelection'](_0x46d9e4,'on');});}async['_getImageAsFile'](_0x3d6171){const _0x20cdec=_0x1ee8cc['window'],_0x1f0f5f=_0x1ee8cc['document']['location']['href'],_0x4bd202=new _0x20cdec['URL'](_0x3d6171['getAttribute']('src'),_0x1f0f5f);if('data:'===_0x4bd202['protocol']){const _0xad4375=_0x4bd202['href']['split'](','),_0x168f9c=_0xad4375[0x0]['match'](/:(.*?);/)[0x1],_0x11a626=_0x168f9c['split']('/')[0x1],_0xbeff7d=_0x20cdec['atob'](_0xad4375[_0xad4375['length']-0x1]);let _0x35babd=_0xbeff7d['length'];const _0x5ad7c9=new _0x20cdec['Uint8Array'](_0x35babd);for(;_0x35babd--;)_0x5ad7c9[_0x35babd]=_0xbeff7d['charCodeAt'](_0x35babd);return new _0x20cdec['File']([_0x5ad7c9],'image.'+_0x11a626,{'type':_0x168f9c});}const _0x4929ca=_0x4bd202['href']['split']('/'),_0xce1b69=_0x4929ca[_0x4929ca['length']-0x1],_0x298a24=_0xce1b69['split']('.')[0x1];return _0x20cdec['fetch'](_0x4bd202['href'])['then'](_0x4888bb=>_0x4888bb['clone']()['blob']())['then'](_0x3122e8=>new _0x20cdec['File']([_0x3122e8],_0xce1b69,{'type':'image/'+_0x298a24}));}}class O extends _0x137581{['imageEditController'];static get['requires'](){return[_0x4045d6];}['_isEditable'];constructor(_0x3a6bd8){super(_0x3a6bd8),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x52a681){const _0x4498ce=G(_0x52a681);return _0x2195af=>!(!_0x2195af||!_0x2195af['is']('element','imageBlock')&&!_0x2195af['is']('element','imageInline'))&&(!!_0x2195af['hasAttribute']('uploadcareImageId')||!!_0x2195af['hasAttribute']('src')&&_0x4498ce(_0x2195af['getAttribute']('src')));}(_0x3a6bd8['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x1f4819=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x1f4819);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x3394d5=this['editor']['model']['document']['selection']['getSelectedElement']();_0x3394d5&&(_0x3394d5['is']('element','imageBlock')||_0x3394d5['is']('element','imageInline'))&&(this['imageEditController']=new E(this['editor'],this['editor']['plugins']['get'](_0x4045d6),_0x3394d5),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class R extends _0x137581{['refresh'](){const _0x1cb6e2=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x1cb6e2&&(_0x1cb6e2['is']('element','imageBlock')||_0x1cb6e2['is']('element','imageInline')));}['execute'](_0x550696){const _0x3642cc=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x21c1ee=>{_0x21c1ee['setAttributes'](_0x550696,_0x3642cc),_0x21c1ee['removeAttribute']('srcset',_0x3642cc),_0x21c1ee['removeAttribute']('sizes',_0x3642cc);});}}class m extends _0x2c18d1{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[o,_0x41bd84,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x532452}=this;_0x532452['commands']['add']('uploadcareImageEdit',new O(_0x532452)),_0x532452['commands']['add']('uploadcareImageReplace',new R(_0x532452));}}class g extends _0x2c18d1{['_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 _0xa5ac22=this['editor'];_0xa5ac22['ui']['componentFactory']['add']('uploadcareImageEdit',_0x120a29=>{const _0xa4dc0=_0xa5ac22['commands']['get']('uploadcareImageEdit'),_0x1f1817=new _0xbecd58(_0x120a29),t=_0x120a29['t'];return _0x1f1817['set']({'icon':_0x5e9d1f,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x1f1817['bind']('isEnabled')['to'](_0xa4dc0),_0x1f1817['bind']('isOn')['to'](_0xa4dc0,'isActive'),this['listenTo'](_0x1f1817,'execute',()=>{_0xa5ac22['execute']('uploadcareImageEdit'),_0xa5ac22['editing']['view']['focus']();}),_0x1f1817;}),this['_initConfig']();}['_initConfig'](){const _0x367fa3=_0x2545d6(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x367fa3),this['listenTo'](this['editor'],'destroy',()=>{_0x367fa3['remove']();});}}class et extends _0x2c18d1{static get['pluginName'](){return'UploadcareImageEdit';}static get['requires'](){return[m,g];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{tt as Uploadcare,w as UploadcareCommand,o as UploadcareEditing,et as UploadcareImageEdit,O as UploadcareImageEditCommand,m as UploadcareImageEditEditing,g as UploadcareImageEditUI,e as UploadcareUI,f as UploadcareUploadAdapter};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'af':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x43d1b=>0x1!=_0x43d1b}};
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':_0x2b40cf=>0x1!=_0x2b40cf}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0xa9031b=>{const {af:{dictionary:_0x58b14c,getPluralForm:_0x5172d0}}={'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':_0x3a8ab7=>0x1!=_0x3a8ab7}};_0xa9031b['af']||={'dictionary':{},'getPluralForm':null},_0xa9031b['af']['dictionary']=Object['assign'](_0xa9031b['af']['dictionary'],_0x58b14c),_0xa9031b['af']['getPluralForm']=_0x5172d0;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x10c278=>{const {af:{dictionary:_0x1fe66e,getPluralForm:_0x556679}}={'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':_0x18c47b=>0x1!=_0x18c47b}};_0x10c278['af']||={'dictionary':{},'getPluralForm':null},_0x10c278['af']['dictionary']=Object['assign'](_0x10c278['af']['dictionary'],_0x1fe66e),_0x10c278['af']['getPluralForm']=_0x556679;})(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':_0x2e2e74=>0x0==_0x2e2e74?0x0:0x1==_0x2e2e74?0x1:0x2==_0x2e2e74?0x2:_0x2e2e74%0x64>=0x3&&_0x2e2e74%0x64<=0xa?0x3:_0x2e2e74%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':_0x5752b9=>0x0==_0x5752b9?0x0:0x1==_0x5752b9?0x1:0x2==_0x5752b9?0x2:_0x5752b9%0x64>=0x3&&_0x5752b9%0x64<=0xa?0x3:_0x5752b9%0x64>=0xb?0x4:0x5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x3c99b4=>{const {ar:{dictionary:_0x4ea28a,getPluralForm:_0x4f198f}}={'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':_0x1a8f91=>0x0==_0x1a8f91?0x0:0x1==_0x1a8f91?0x1:0x2==_0x1a8f91?0x2:_0x1a8f91%0x64>=0x3&&_0x1a8f91%0x64<=0xa?0x3:_0x1a8f91%0x64>=0xb?0x4:0x5}};_0x3c99b4['ar']||={'dictionary':{},'getPluralForm':null},_0x3c99b4['ar']['dictionary']=Object['assign'](_0x3c99b4['ar']['dictionary'],_0x4ea28a),_0x3c99b4['ar']['getPluralForm']=_0x4f198f;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x3c13ac=>{const {ar:{dictionary:_0xb32def,getPluralForm:_0x29c525}}={'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':_0x94763c=>0x0==_0x94763c?0x0:0x1==_0x94763c?0x1:0x2==_0x94763c?0x2:_0x94763c%0x64>=0x3&&_0x94763c%0x64<=0xa?0x3:_0x94763c%0x64>=0xb?0x4:0x5}};_0x3c13ac['ar']||={'dictionary':{},'getPluralForm':null},_0x3c13ac['ar']['dictionary']=Object['assign'](_0x3c13ac['ar']['dictionary'],_0xb32def),_0x3c13ac['ar']['getPluralForm']=_0x29c525;})(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':_0x51fcac=>0x1!=_0x51fcac}};
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':_0x40d65e=>0x1!=_0x40d65e}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x1eff6a=>{const {ast:{dictionary:_0x276ee1,getPluralForm:_0x3a3376}}={'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':_0x4c2051=>0x1!=_0x4c2051}};_0x1eff6a['ast']||={'dictionary':{},'getPluralForm':null},_0x1eff6a['ast']['dictionary']=Object['assign'](_0x1eff6a['ast']['dictionary'],_0x276ee1),_0x1eff6a['ast']['getPluralForm']=_0x3a3376;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x116098=>{const {ast:{dictionary:_0x1521f1,getPluralForm:_0x560268}}={'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':_0x37d3a0=>0x1!=_0x37d3a0}};_0x116098['ast']||={'dictionary':{},'getPluralForm':null},_0x116098['ast']['dictionary']=Object['assign'](_0x116098['ast']['dictionary'],_0x1521f1),_0x116098['ast']['getPluralForm']=_0x560268;})(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':_0x4b63a4=>0x1!=_0x4b63a4}};
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':_0x43c491=>0x1!=_0x43c491}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x2f4785=>{const {az:{dictionary:_0x380133,getPluralForm:_0x180bfc}}={'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':_0x550a25=>0x1!=_0x550a25}};_0x2f4785['az']||={'dictionary':{},'getPluralForm':null},_0x2f4785['az']['dictionary']=Object['assign'](_0x2f4785['az']['dictionary'],_0x380133),_0x2f4785['az']['getPluralForm']=_0x180bfc;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x28e797=>{const {az:{dictionary:_0x36ee2a,getPluralForm:_0x53c613}}={'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':_0x2d400f=>0x1!=_0x2d400f}};_0x28e797['az']||={'dictionary':{},'getPluralForm':null},_0x28e797['az']['dictionary']=Object['assign'](_0x28e797['az']['dictionary'],_0x36ee2a),_0x28e797['az']['getPluralForm']=_0x53c613;})(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':_0x27ea6f=>_0x27ea6f%0xa==0x1&&_0x27ea6f%0x64!=0xb?0x0:_0x27ea6f%0xa>=0x2&&_0x27ea6f%0xa<=0x4&&(_0x27ea6f%0x64<0xa||_0x27ea6f%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':_0x209279=>_0x209279%0xa==0x1&&_0x209279%0x64!=0xb?0x0:_0x209279%0xa>=0x2&&_0x209279%0xa<=0x4&&(_0x209279%0x64<0xa||_0x209279%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x3b0b70=>{const {be:{dictionary:_0x5bd25b,getPluralForm:_0x6f2f3e}}={'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':_0x19cca9=>_0x19cca9%0xa==0x1&&_0x19cca9%0x64!=0xb?0x0:_0x19cca9%0xa>=0x2&&_0x19cca9%0xa<=0x4&&(_0x19cca9%0x64<0xa||_0x19cca9%0x64>=0x14)?0x1:0x2}};_0x3b0b70['be']||={'dictionary':{},'getPluralForm':null},_0x3b0b70['be']['dictionary']=Object['assign'](_0x3b0b70['be']['dictionary'],_0x5bd25b),_0x3b0b70['be']['getPluralForm']=_0x6f2f3e;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x3b5e21=>{const {be:{dictionary:_0x36c760,getPluralForm:_0x2bade3}}={'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':_0x414799=>_0x414799%0xa==0x1&&_0x414799%0x64!=0xb?0x0:_0x414799%0xa>=0x2&&_0x414799%0xa<=0x4&&(_0x414799%0x64<0xa||_0x414799%0x64>=0x14)?0x1:0x2}};_0x3b5e21['be']||={'dictionary':{},'getPluralForm':null},_0x3b5e21['be']['dictionary']=Object['assign'](_0x3b5e21['be']['dictionary'],_0x36c760),_0x3b5e21['be']['getPluralForm']=_0x2bade3;})(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':_0x5de258=>0x1!=_0x5de258}};
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':_0x18553e=>0x1!=_0x18553e}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x5b062a=>{const {bg:{dictionary:_0x4fa21a,getPluralForm:_0x59b709}}={'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':_0x4a9852=>0x1!=_0x4a9852}};_0x5b062a['bg']||={'dictionary':{},'getPluralForm':null},_0x5b062a['bg']['dictionary']=Object['assign'](_0x5b062a['bg']['dictionary'],_0x4fa21a),_0x5b062a['bg']['getPluralForm']=_0x59b709;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x50bc55=>{const {bg:{dictionary:_0x4f6f4b,getPluralForm:_0x5ef569}}={'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':_0x48d873=>0x1!=_0x48d873}};_0x50bc55['bg']||={'dictionary':{},'getPluralForm':null},_0x50bc55['bg']['dictionary']=Object['assign'](_0x50bc55['bg']['dictionary'],_0x4f6f4b),_0x50bc55['bg']['getPluralForm']=_0x5ef569;})(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':_0x3e4ae3=>0x1!=_0x3e4ae3}};
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':_0x47578c=>0x1!=_0x47578c}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x57506e=>{const {bn:{dictionary:_0x1173e0,getPluralForm:_0x278eda}}={'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':_0x46b3d9=>0x1!=_0x46b3d9}};_0x57506e['bn']||={'dictionary':{},'getPluralForm':null},_0x57506e['bn']['dictionary']=Object['assign'](_0x57506e['bn']['dictionary'],_0x1173e0),_0x57506e['bn']['getPluralForm']=_0x278eda;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x5e1373=>{const {bn:{dictionary:_0x334c88,getPluralForm:_0x3830b8}}={'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':_0x3e8847=>0x1!=_0x3e8847}};_0x5e1373['bn']||={'dictionary':{},'getPluralForm':null},_0x5e1373['bn']['dictionary']=Object['assign'](_0x5e1373['bn']['dictionary'],_0x334c88),_0x5e1373['bn']['getPluralForm']=_0x3830b8;})(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':_0x22a54b=>_0x22a54b%0xa==0x1&&_0x22a54b%0x64!=0xb?0x0:_0x22a54b%0xa>=0x2&&_0x22a54b%0xa<=0x4&&(_0x22a54b%0x64<0xa||_0x22a54b%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':_0x434098=>_0x434098%0xa==0x1&&_0x434098%0x64!=0xb?0x0:_0x434098%0xa>=0x2&&_0x434098%0xa<=0x4&&(_0x434098%0x64<0xa||_0x434098%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x1e6373=>{const {bs:{dictionary:_0x39ab16,getPluralForm:_0x21551e}}={'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':_0x33dd6a=>_0x33dd6a%0xa==0x1&&_0x33dd6a%0x64!=0xb?0x0:_0x33dd6a%0xa>=0x2&&_0x33dd6a%0xa<=0x4&&(_0x33dd6a%0x64<0xa||_0x33dd6a%0x64>=0x14)?0x1:0x2}};_0x1e6373['bs']||={'dictionary':{},'getPluralForm':null},_0x1e6373['bs']['dictionary']=Object['assign'](_0x1e6373['bs']['dictionary'],_0x39ab16),_0x1e6373['bs']['getPluralForm']=_0x21551e;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x3632b6=>{const {bs:{dictionary:_0xa1b971,getPluralForm:_0x2115b9}}={'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':_0x388b25=>_0x388b25%0xa==0x1&&_0x388b25%0x64!=0xb?0x0:_0x388b25%0xa>=0x2&&_0x388b25%0xa<=0x4&&(_0x388b25%0x64<0xa||_0x388b25%0x64>=0x14)?0x1:0x2}};_0x3632b6['bs']||={'dictionary':{},'getPluralForm':null},_0x3632b6['bs']['dictionary']=Object['assign'](_0x3632b6['bs']['dictionary'],_0xa1b971),_0x3632b6['bs']['getPluralForm']=_0x2115b9;})(window['CKEDITOR_TRANSLATIONS']||={});