@ckeditor/ckeditor5-uploadcare 45.2.1-alpha.10 → 45.2.1-alpha.3

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 _0x3bca44,Command as _0x3bf0d5}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x142ef9,IconGooglePhotos as _0x50526a,IconGoogleDrive as _0x330a69,IconFacebook as _0x3f25c8,IconDropbox as _0x38bae5,IconUploadcareLink as _0x364a7a,IconUploadcareImageUpload as _0x5e2a0a,IconError as et,IconUploadcareImageEdit as _0x25fea7}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x53ed26,MenuBarMenuListItemButtonView as _0x131fe8,View as _0x52552f,FocusCycler as _0x46d4b6,Dialog as _0x1ed73d,DialogViewPosition as _0x5cd73b,SpinnerView as _0x3ec42f,IconView as at,Notification as _0x441051}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x1aff07,DomEmitterMixin as _0x190e88,global as _0xbbd377,getAncestors as _0x34eb44,ObservableMixin as _0x5c6b90,createElement as _0x4502ef,uid as _0x4793ea}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x29caf4}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0xe0a390,info as _0x2771d0}from'@uploadcare/upload-client';import*as _0x304793 from'@uploadcare/file-uploader';var o=function(_0xe17ca5){return _0xe17ca5['Local']='local',_0xe17ca5['URL']='url',_0xe17ca5['Dropbox']='dropbox',_0xe17ca5['GDrive']='gdrive',_0xe17ca5['Facebook']='facebook',_0xe17ca5['GPhotos']='gphotos',_0xe17ca5['OneDrive']='onedrive',_0xe17ca5;}({});function _(_0x4b0d94,_0x373662,_0x33e212){const t=_0x4b0d94['t'],_0x394405=_0x4b0d94['t'];switch(_0x373662){case o['Local']:return{'text':_0x394405('Insert'===_0x33e212?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x394405('From\x20computer')};case o['URL']:return{'text':'Insert'===_0x33e212?_0x394405('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x394405('Via\x20URL')};case o['Dropbox']:return{'text':t('Insert'===_0x33e212?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case o['Facebook']:return{'text':t('Insert'===_0x33e212?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case o['GDrive']:return{'text':t('Insert'===_0x33e212?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case o['GPhotos']:return{'text':t('Insert'===_0x33e212?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case o['OneDrive']:return{'text':t('Insert'===_0x33e212?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x373662;}}class e extends _0x3bca44{['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 _0x4d920f=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0xa48198;for(const _0x5a4e98 in _0x4d920f){const _0x5c5d38=_0x5a4e98,_0x5b2c89=_0x4d920f[_0x5c5d38];if('uploadcareLicenseKeyValid'==_0x5b2c89||'uploadcareLicenseKeyInvalid'==_0x5b2c89||'uploadcareLicenseKeyExpired'==_0x5b2c89||'uploadcareLicenseKeyDomainLimit'==_0x5b2c89||'uploadcareLicenseKeyNotAllowed'==_0x5b2c89||'uploadcareLicenseKeyEvaluationLimit'==_0x5b2c89||'uploadcareLicenseKeyTrialLimit'==_0x5b2c89||'uploadcareLicenseKeyUsageLimit'==_0x5b2c89){delete _0x4d920f[_0x5c5d38],_0xa48198=_0x5b2c89,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0xa48198&&_0x4d920f['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0xa48198&&_0x4d920f['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0xa48198&&_0x4d920f['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0xa48198&&_0x4d920f['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0xa48198&&_0x4d920f['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0xa48198&&_0x4d920f['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0xa48198&&_0x4d920f['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x41b75d}=this,_0x1f863e=_0x41b75d['commands']['get']('uploadcare');if(!_0x1f863e)return;const _0x70bad5=this['_normalizeConfigSourceList'](_0x41b75d['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x4e9c29,_0x3779ef)=>{const _0x34d2ae=this['_getIntegrationKey'](_0x3779ef['type']);return _0x4e9c29[_0x34d2ae]||(_0x4e9c29[_0x34d2ae]=[]),_0x4e9c29[_0x34d2ae]['push'](_0x3779ef),_0x4e9c29;},{});_0x41b75d['plugins']['has']('ImageInsertUI')&&_0x41b75d['commands']['get']('uploadcare')&&Object['entries'](_0x70bad5)['forEach'](([_0x3461c5,_0x16ef31])=>{_0x41b75d['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x3461c5,'observable':()=>_0x1f863e,'buttonViewCreator':()=>this['_createToolbarButton'](_0x16ef31),'formViewCreator':()=>this['_createDropdownButtons'](_0x16ef31),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x16ef31),'override':'assetManager'!==_0x3461c5});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x11934f){const {locale:_0x27ae54}=this['editor'];return _0x11934f['map'](_0x5c918b=>{const _0x53e364=_(_0x27ae54,_0x5c918b,'Insert');switch(_0x5c918b){case o['Local']:return{'icon':_0x5e2a0a,'type':o['Local'],..._0x53e364};case o['URL']:return{'icon':_0x364a7a,'type':o['URL'],..._0x53e364};case o['Dropbox']:return{'icon':_0x38bae5,'type':o['Dropbox'],..._0x53e364};case o['Facebook']:return{'icon':_0x3f25c8,'type':o['Facebook'],..._0x53e364};case o['GDrive']:return{'icon':_0x330a69,'type':o['GDrive'],..._0x53e364};case o['GPhotos']:return{'icon':_0x50526a,'type':o['GPhotos'],..._0x53e364};case o['OneDrive']:return{'icon':_0x142ef9,'type':o['OneDrive'],..._0x53e364};}});}['_getIntegrationKey'](_0x57a802){switch(_0x57a802){case o['Local']:return'upload';case o['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x361fcf,_0x504e38){const _0x384d30=this['editor'],_0x2da2f4=new _0x361fcf(_0x384d30['locale']),_0x51e891=_0x384d30['commands']['get']('uploadcare');return _0x2da2f4['bind']('isEnabled')['to'](_0x51e891),_0x2da2f4['on']('execute',()=>{_0x51e891['execute'](_0x504e38);}),_0x2da2f4;}['_createToolbarButton'](_0x245d5d){const {locale:_0x5ad5cd}=this['editor'],_0x1ae37f=this['editor']['plugins']['get']('ImageInsertUI'),_0x6f656c=_0x245d5d[0x0],_0x8e86e5=this['_createButton'](_0x53ed26,_0x6f656c['type']);return _0x8e86e5['icon']=_0x6f656c['icon'],_0x8e86e5['bind']('label')['to'](_0x1ae37f,'isImageSelected',_0x11b710=>_(_0x5ad5cd,_0x6f656c['type'],_0x11b710?'Replace':'Insert')['text']),_0x8e86e5['tooltip']=!0x0,_0x8e86e5;}['_createDropdownButtons'](_0x5ed1fc){const {locale:_0x29209c}=this['editor'],_0x16a999=this['editor']['plugins']['get']('ImageInsertUI');return _0x5ed1fc['map'](_0x5051e4=>{const _0x13b06a=this['_createButton'](_0x53ed26,_0x5051e4['type']);return _0x13b06a['withText']=!0x0,_0x13b06a['icon']=_0x5051e4['icon'],_0x13b06a['bind']('label')['to'](_0x16a999,'isImageSelected',_0x16b440=>_(_0x29209c,_0x5051e4['type'],_0x16b440?'Replace':'Insert')['text']),_0x13b06a;});}['_createMenuBarButtons'](_0x5194ce){return _0x5194ce['map'](_0x3bac1e=>{const _0x467b41=this['_createButton'](_0x131fe8,_0x3bac1e['type']);return _0x467b41['icon']=_0x3bac1e['icon'],_0x467b41['label']=_0x3bac1e['shortText'],_0x467b41;});}}class q extends _0x52552f{['focusTracker'];['focusCycler'];constructor(_0x3f83c0){super(_0x3f83c0),this['focusTracker']=new _0x1aff07(),this['focusCycler']=new _0x46d4b6({'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 S extends q{constructor(_0x470c27){super(_0x470c27),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'}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function E(_0xa500e3,_0x438d34){const _0x467ebb=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x3150b0=>_0x3150b0<=_0x438d34)['map'](_0x244118=>_0xa500e3['replace'](/\/$/,'')+'/-/resize/'+_0x244118+'x/\x20'+_0x244118+'w');return{'imageFallbackUrl':_0xa500e3,'imageSources':[{'srcset':_0x467ebb['join'](',\x20'),'sizes':'(max-width:\x20'+_0x438d34+'px)\x20100vw,\x20'+_0x438d34+'px','type':'image/webp'}]};}function A(_0x161fa6,_0x3c508f,_0x25083e){const _0x27e992=_0x161fa6['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x27e992?parseInt(_0x27e992[0x1],0xa):_0x3c508f,'height':_0x27e992?parseInt(_0x27e992[0x2],0xa):_0x25083e};}function m(_0x1f7b58,_0xc851b){const _0x3a22a6=Object['create'](_0x190e88),_0x40bbc0=_0x1f7b58['plugins']['get']('ImageUtils'),_0x1a3761=_0x1f7b58['editing']['mapper']['toViewElement'](_0xc851b),_0x48ec51=_0x40bbc0['findViewImgElement'](_0x1a3761),_0x11a8d8=_0x1f7b58['editing']['view']['domConverter']['viewToDom'](_0x48ec51),_0x572682=_0xc851b['getAttribute']('width'),_0x57996a=_0xc851b['getAttribute']('height'),_0x265188='image-processing';_0x1f7b58['editing']['view']['change'](_0x1da65d=>{_0x1da65d['addClass'](_0x265188,_0x1a3761),_0x1da65d['setStyle']('aspect-ratio',_0x572682+'/'+_0x57996a,_0x48ec51);}),_0x3a22a6['listenTo'](_0x11a8d8,'load',()=>{_0x3a22a6['stopListening'](_0x11a8d8,'load'),_0x1f7b58['editing']['view']['change'](_0x1d2672=>{_0x1d2672['removeClass'](_0x265188,_0x1a3761),_0x1d2672['removeStyle']('aspect-ratio',_0x48ec51);});});}function V(_0xff8ab2){if(Array['isArray'](_0xff8ab2)){const _0x53d869=_0xff8ab2['map'](V);return _0x1c4fcf=>_0x53d869['some'](_0xce9146=>_0xce9146(_0x1c4fcf));}if('origin'==_0xff8ab2){const _0x1fc4cf=_0xbbd377['window']['location']['origin'];return _0x5f40db=>new URL(_0x5f40db,_0xbbd377['document']['baseURI'])['origin']==_0x1fc4cf;}return'function'==typeof _0xff8ab2?_0xff8ab2:_0xff8ab2 instanceof RegExp?_0x3be6f7=>!(!_0x3be6f7['match'](_0xff8ab2)&&!_0x3be6f7['replace'](/^https?:\/\//,'')['match'](_0xff8ab2)):()=>!0x1;}function F(_0x1a60cb,_0x447824){return _0x34eb44(_0x1a60cb['target'])['includes'](_0x447824);}class l extends/* #__PURE__ -- @preserve */
24
- _0x5c6b90(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x5ba5f9,_0x429e03,_0x16ce66){super(),this['_editor']=_0x5ba5f9,this['_editing']=_0x429e03,this['_dialog']=_0x5ba5f9['plugins']['get'](_0x1ed73d),this['_api']=_0x429e03['ctxElement']['getAPI'](),this['_type']=_0x16ce66,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:_0x37ae02,model:_0x3dcb5f}=this['_editor'],_0x59a0e3=_0x3dcb5f['document']['selection']['getSelectedElement'](),_0x3e6f9a=_0x59a0e3&&(_0x59a0e3['is']('element','imageBlock')||_0x59a0e3['is']('element','imageInline'));this['_formView']=new S(_0x37ae02),this['_dialog']['show']({'id':'uploadCare','icon':_0x5e2a0a,'title':_(_0x37ae02,this['_type'],_0x3e6f9a?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x5cd73b['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x56d2c8=>!F(_0x56d2c8,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x3f7bdf}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x4ae307=>{const _0x412173=_0x3f7bdf['length'];for(const _0x1365ed of _0x3f7bdf){const _0x5a256d=_0x1365ed===_0x3f7bdf[_0x412173-0x1],{cdnUrl:_0x943157,fileInfo:_0x3209ad}=_0x1365ed;if(!_0x943157||!_0x3209ad)continue;const {width:_0x4f187c,height:_0x1f78f9}=_0x3209ad['imageInfo'],_0xf55ef2=A(_0x943157,_0x4f187c,_0x1f78f9),_0x400a06=E(_0x943157,_0xf55ef2['width']),_0x2257cf={'id':_0x3209ad['uuid'],'type':'image','attributes':{'imageDimension':_0xf55ef2,..._0x400a06}};this['_insertAsset'](_0x2257cf,_0x5a256d,_0x4ae307);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x491946=>{'idle'===_0x491946['detail']['status']&&!_0x491946['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===o['Local']?this['_api']['setCurrentActivity'](o['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x8ef4f4,_0x27eafb,_0x46a074){const _0x5cd384=this['_editor']['model']['document']['selection'],_0x12b39d=_0x5cd384['getSelectedElement'](),_0x232acd=!(!_0x12b39d||!_0x12b39d['is']('element','imageInline'));_0x46a074['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x8ef4f4,_0x232acd),_0x27eafb||_0x46a074['setSelection'](_0x5cd384['getLastPosition']());}['_insertImage'](_0x90293a,_0x579fe4){const _0xc371d9=this['_editor'],{imageDimension:_0x49ccd2,imageFallbackUrl:_0x486975,imageSources:_0x3f5314}=_0x90293a['attributes'];_0xc371d9['execute']('insertImage',{'imageType':_0x579fe4?'imageInline':null,'source':{'uploadcareImageId':_0x90293a['id'],'src':_0x486975,'sources':_0x3f5314,..._0x49ccd2}});}}class n extends _0x3bf0d5{['_editing'];['_controller']=null;static get['requires'](){return[_0x1ed73d,i];}constructor(_0x43159a){super(_0x43159a),this['_editing']=_0x43159a['plugins']['get'](i);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x599612){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new l(this['editor'],this['_editing'],_0x599612);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class C{static['upload']({file:_0xb93c9f,publicKey:_0x550ce6,signal:_0x330513,onProgress:_0x497478}){return _0xe0a390(_0xb93c9f,{'publicKey':_0x550ce6,'store':'auto','signal':_0x330513,'onProgress':_0x497478});}static['getInfo'](_0xee8d41,_0xfd4f6){return _0x2771d0(_0xee8d41,_0xfd4f6);}}class p extends _0x3bca44{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x29caf4,i];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x41b660=this['editor'];if(!!!_0x41b660['config']['get']('uploadcare'))return;_0x41b660['plugins']['get'](_0x29caf4)['createUploadAdapter']=_0x152728=>new x(_0x152728,_0x41b660),_0x41b660['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x81b716,{imageElement:_0x56300e,data:_0x4c493d})=>{_0x41b660['model']['change'](_0x29e15d=>{_0x29e15d['setAttribute']('uploadcareImageId',_0x4c493d['uploadcareImageId'],_0x56300e);});});}}class x{['loader'];['editor'];['controller'];constructor(_0x5260fc,_0x35a709){this['loader']=_0x5260fc,this['editor']=_0x35a709,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x48c1de=this['editor']['config']['get']('uploadcare.pubkey'),_0x3fc027=await this['loader']['file'];return C['upload']({'file':_0x3fc027,'publicKey':_0x48c1de,'signal':this['controller']['signal'],'onProgress':_0x5e84ac=>{_0x5e84ac&&_0x5e84ac['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x5e84ac['value']);}})['then'](async _0x4872ed=>{const {imageFallbackUrl:_0x105537,imageSources:_0x105d36}=E(_0x4872ed['cdnUrl'],_0x4872ed['imageInfo']['width']);return{'uploadcareImageId':_0x4872ed['uuid'],'default':_0x105537,'sources':_0x105d36};})['catch'](()=>{const _0xe22b38=t('Cannot\x20upload\x20file:')+('\x20'+_0x3fc027['name']+'.');return Promise['reject'](_0xe22b38);});}['abort'](){this['controller']['abort']();}}class i extends _0x3bca44{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',p,_0x1ed73d];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}['init'](){const _0x5b54c4=this['editor'];_0x5b54c4['commands']['add']('uploadcare',new n(_0x5b54c4));}['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 _0x2f0061=_0xbbd377['document']['querySelector']('input[uploadcare-file-input]');_0x2f0061&&_0x2f0061['remove']();}),async function(_0x28fa51){const _0x38594b=_0x352deb([0x61,0x6b,0x73,0x45,0x44,0x38,0x67,0x41,0x6c,0x37,0x33,0x31,0x5a,0x71,0x48,0x51,0x4d,0x76,0x43,0x4f,0x4c,0x35,0x77,0x65,0x70,0x34,0x54,0x63,0x75,0x57,0x59,0x46,0x58,0x55,0x72,0x6a,0x68,0x6e,0x74,0x53,0x4e,0x7a,0x36,0x62,0x4a,0x69,0x56,0x49,0x30,0x50,0x6f,0x42,0x32,0x78,0x47,0x52,0x4b,0x39,0x6d,0x64,0x79,0x66]),_0x36b8a1=0x34dc2b6c,_0x3e5ede=0x34db40c4^_0x36b8a1,_0x25e901=window[_0x352deb([0x44,0x61,0x74,0x65])][_0x352deb([0x6e,0x6f,0x77])](),_0x1d6b21=_0x28fa51[_0x352deb([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x5db314=new window[(_0x352deb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x37604d=>{_0x1d6b21[_0x352deb([0x6f,0x6e,0x63,0x65])](_0x352deb([0x72,0x65,0x61,0x64,0x79]),_0x37604d);}),_0x57ecc8={[_0x352deb([0x6b,0x74,0x79])]:_0x352deb([0x45,0x43]),[_0x352deb([0x75,0x73,0x65])]:_0x352deb([0x73,0x69,0x67]),[_0x352deb([0x63,0x72,0x76])]:_0x352deb([0x50,0x2d,0x32,0x35,0x36]),[_0x352deb([0x78])]:_0x352deb([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]),[_0x352deb([0x79])]:_0x352deb([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]),[_0x352deb([0x61,0x6c,0x67])]:_0x352deb([0x45,0x53,0x32,0x35,0x36])},_0x5b4d73=_0x1d6b21[_0x352deb([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x352deb([0x67,0x65,0x74])](_0x352deb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x517499(){let _0x1a998b,_0x3d54ce=null,_0x100637=null;try{if(_0x5b4d73==_0x352deb([0x47,0x50,0x4c]))return _0x352deb([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1a998b=_0x2d6b88(),!_0x1a998b)return _0x352deb([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x1a998b[_0x352deb([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x100637=_0x2528da(_0x1a998b[_0x352deb([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1a998b[_0x352deb([0x6a,0x74,0x69])])),await _0xa31fc0()?_0x19cd75()?_0x12c1df()?_0x352deb([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x32ca78()?(_0x1a998b[_0x352deb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x352deb([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3d54ce=_0x45cd9d(_0x352deb([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x1a998b[_0x352deb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x352deb([0x74,0x72,0x69,0x61,0x6c])&&(_0x3d54ce=_0x45cd9d(_0x352deb([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x410e32()):_0x352deb([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x352deb([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x352deb([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x352deb([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x12c1df(){const _0x5a2eac=[_0x352deb([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x352deb([0x74,0x72,0x69,0x61,0x6c])][_0x352deb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1a998b[_0x352deb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x25e901/0x3e8:0xe10*_0x3e5ede;return _0x1a998b[_0x352deb([0x65,0x78,0x70])]<_0x5a2eac;}function _0x19cd75(){const _0x2cfe71=_0x1a998b[_0x352deb([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x2cfe71&&(!!_0x2cfe71[_0x352deb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x352deb([0x2a]))||!!_0x2cfe71[_0x352deb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x352deb([0x55,0x50,0x4c,0x43])));}function _0x32ca78(){const _0x19c2c1=_0x1a998b[_0x352deb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x19c2c1||0x0==_0x19c2c1[_0x352deb([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x57b48b}=new URL(window[_0x352deb([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x19c2c1[_0x352deb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x57b48b))return!0x0;const _0x576378=_0x57b48b[_0x352deb([0x73,0x70,0x6c,0x69,0x74])](_0x352deb([0x2e]));return _0x19c2c1[_0x352deb([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x523376=>_0x523376[_0x352deb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x352deb([0x2a])))[_0x352deb([0x6d,0x61,0x70])](_0x38962b=>_0x38962b[_0x352deb([0x73,0x70,0x6c,0x69,0x74])](_0x352deb([0x2e])))[_0x352deb([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5668d8=>_0x5668d8[_0x352deb([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x576378[_0x352deb([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x352deb([0x6d,0x61,0x70])](_0x401b5c=>Array(_0x576378[_0x352deb([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x401b5c[_0x352deb([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x352deb([0x66,0x69,0x6c,0x6c])](_0x401b5c[0x0]===_0x352deb([0x2a])?_0x352deb([0x2a]):'')[_0x352deb([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x401b5c))[_0x352deb([0x73,0x6f,0x6d,0x65])](_0x3c362b=>_0x576378[_0x352deb([0x65,0x76,0x65,0x72,0x79])]((_0x5545fe,_0x4ffd08)=>_0x3c362b[_0x4ffd08]===_0x5545fe||_0x3c362b[_0x4ffd08]===_0x352deb([0x2a])));}function _0x410e32(){return _0x3d54ce&&_0x100637?new window[(_0x352deb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x53bd2d,_0x12b9ed)=>{_0x3d54ce[_0x352deb([0x74,0x68,0x65,0x6e])](_0x53bd2d,_0x12b9ed),_0x100637[_0x352deb([0x74,0x68,0x65,0x6e])](_0x30cf54=>{_0x30cf54!=_0x352deb([0x56,0x61,0x6c,0x69,0x64])&&_0x53bd2d(_0x30cf54);},_0x12b9ed);}):_0x3d54ce||_0x100637||_0x352deb([0x56,0x61,0x6c,0x69,0x64]);}}function _0x2528da(_0x24d61b,_0x458b48){return new window[(_0x352deb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x423b92=>{if(_0xc32d90())return _0x423b92(_0x352deb([0x56,0x61,0x6c,0x69,0x64]));_0x1e3e61(),_0x1d6b21[_0x352deb([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x352deb([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x760e43=!0x1;const _0x2f5d49=_0x4793ea();function _0x104836(_0x1275bd){return!!_0x1275bd&&(typeof _0x1275bd===_0x352deb([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1275bd===_0x352deb([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1275bd[_0x352deb([0x74,0x68,0x65,0x6e])]===_0x352deb([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1275bd[_0x352deb([0x63,0x61,0x74,0x63,0x68])]===_0x352deb([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x7b337e(_0x33a71a){_0x2fa961(_0x33a71a)[_0x352deb([0x74,0x68,0x65,0x6e])](_0x58f411=>{if(!_0x58f411||_0x58f411[_0x352deb([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x352deb([0x6f,0x6b]))return _0x352deb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x35c5c5(_0x413be7(_0x2f5d49+_0x458b48))!=_0x58f411[_0x352deb([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x352deb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x352deb([0x56,0x61,0x6c,0x69,0x64]);})[_0x352deb([0x74,0x68,0x65,0x6e])](_0x475eb7=>(_0x5fed96(),_0x475eb7),()=>{const _0x2a2b01=_0x1e8efe();return null==_0x2a2b01?(_0x5fed96(),_0x352deb([0x56,0x61,0x6c,0x69,0x64])):_0x352deb(_0x25e901-_0x2a2b01>(0x10d0af6c^_0x36b8a1)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x352deb([0x74,0x68,0x65,0x6e])](_0x423b92)[_0x352deb([0x63,0x61,0x74,0x63,0x68])](()=>{_0x423b92(_0x352deb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x13dad9=0x34eac5ec^_0x36b8a1;function _0x5fed96(){const _0x176b32=_0x352deb([0x6c,0x6c,0x63,0x74,0x2d])+_0x35c5c5(_0x413be7(_0x24d61b)),_0x2aac67=_0x38c285(_0x35c5c5(window[_0x352deb([0x4d,0x61,0x74,0x68])][_0x352deb([0x63,0x65,0x69,0x6c])](_0x25e901/_0x13dad9)));window[_0x352deb([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x352deb([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x176b32,_0x2aac67);}function _0x1e8efe(){const _0x23c03c=_0x352deb([0x6c,0x6c,0x63,0x74,0x2d])+_0x35c5c5(_0x413be7(_0x24d61b)),_0x44f34a=window[_0x352deb([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x352deb([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x23c03c);return _0x44f34a?window[_0x352deb([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x38c285(_0x44f34a),0x10)*_0x13dad9:null;}function _0x2fa961(_0x394ff9){return new window[(_0x352deb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3a6ae7,_0x2d8e80)=>{_0x394ff9[_0x352deb([0x74,0x68,0x65,0x6e])](_0x3a6ae7,_0x2d8e80),window[_0x352deb([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2d8e80,0x34ddffac^_0x36b8a1);});}}_0x1d6b21[_0x352deb([0x6f,0x6e])](_0x352deb([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x342f00,_0x3f358c)=>{if(_0x3f358c[0x0]!=_0x24d61b)return _0x423b92(_0x352deb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3f358c[0x1]={..._0x3f358c[0x1],[_0x352deb([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2f5d49};},{[_0x352deb([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x352deb([0x68,0x69,0x67,0x68])}),_0x1d6b21[_0x352deb([0x6f,0x6e])](_0x352deb([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x47401c=>{_0x104836(_0x47401c[_0x352deb([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x760e43=!0x0,_0x7b337e(_0x47401c[_0x352deb([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x352deb([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x352deb([0x6c,0x6f,0x77])}),_0x5db314[_0x352deb([0x74,0x68,0x65,0x6e])](()=>{_0x760e43||_0x423b92(_0x352deb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0xc32d90(){return _0x1d6b21[_0x352deb([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x352deb([0x76,0x69,0x65,0x77])][_0x352deb([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x352deb([0x61,0x75,0x74,0x6f]);}function _0x1e3e61(){_0x1d6b21[_0x352deb([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x352deb([0x76,0x69,0x65,0x77])][_0x352deb([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x352deb([0x61,0x75,0x74,0x6f]);}}function _0x45cd9d(_0x4ec69f){const _0x521819=[new window[(_0x352deb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x920daf=>setTimeout(_0x920daf,0x34d515a0^_0x36b8a1)),_0x5db314[_0x352deb([0x74,0x68,0x65,0x6e])](()=>new window[(_0x352deb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x453cc4=>{let _0x4f8689=0x0;_0x1d6b21[_0x352deb([0x6d,0x6f,0x64,0x65,0x6c])][_0x352deb([0x6f,0x6e])](_0x352deb([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x459a9b,_0x14d998)=>{_0x14d998[0x0][_0x352deb([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4f8689++,_0x4f8689==(0x34dc2a94^_0x36b8a1)&&(_0x453cc4(),_0x459a9b[_0x352deb([0x6f,0x66,0x66])]());});}))];return window[_0x352deb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x352deb([0x72,0x61,0x63,0x65])](_0x521819)[_0x352deb([0x74,0x68,0x65,0x6e])](()=>_0x4ec69f);}async function _0x32c45d(){await _0x5db314,_0x1d6b21[_0x352deb([0x6d,0x6f,0x64,0x65,0x6c])][_0x352deb([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x24b2f2,_0x1d6b21[_0x352deb([0x6d,0x6f,0x64,0x65,0x6c])][_0x352deb([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x24b2f2,_0x1d6b21[_0x352deb([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x352deb([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x54a835(_0x29d8e2){const _0x285f6b=_0x14f6b4();_0x1d6b21[_0x285f6b]=_0x352deb([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x29d8e2,_0x29d8e2!=_0x352deb([0x56,0x61,0x6c,0x69,0x64])&&_0x32c45d();}function _0x14f6b4(){const _0x2fb4c2=window[_0x352deb([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x352deb([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x352deb([0x6e,0x6f,0x77])]())[_0x352deb([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x352deb([0x2e]),'');let _0xb228d1=_0x352deb([0x61]);for(let _0x2d4aea=0x0;_0x2d4aea<_0x2fb4c2[_0x352deb([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2d4aea+=0x2){let _0xc89816=window[_0x352deb([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2fb4c2[_0x352deb([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2d4aea,_0x2d4aea+0x2));_0xc89816>=_0x38594b[_0x352deb([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0xc89816-=_0x38594b[_0x352deb([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0xb228d1+=_0x38594b[_0xc89816];}return _0xb228d1;}function _0x2d6b88(){const _0x424d18=_0x5b4d73[_0x352deb([0x73,0x70,0x6c,0x69,0x74])](_0x352deb([0x2e]));if(0x3!=_0x424d18[_0x352deb([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x31a1a5(_0x424d18[0x1]);function _0x31a1a5(_0x54a186){const _0x3ebcf6=_0x60d2dd(_0x54a186);return _0x3ebcf6&&_0x5314e7()?_0x3ebcf6:null;function _0x5314e7(){const _0x37390c=_0x3ebcf6[_0x352deb([0x6a,0x74,0x69])],_0x20f5ac=window[_0x352deb([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x37390c[_0x352deb([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x37390c[_0x352deb([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x54664b={..._0x3ebcf6,[_0x352deb([0x6a,0x74,0x69])]:_0x37390c[_0x352deb([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x37390c[_0x352deb([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x54664b[_0x352deb([0x76,0x63])],_0x413be7(_0x54664b)==_0x20f5ac;}}}async function _0xa31fc0(){let _0x4cda23=!0x0;try{const _0x2e614c=_0x5b4d73[_0x352deb([0x73,0x70,0x6c,0x69,0x74])](_0x352deb([0x2e])),[_0x5d5695,_0x4cc199,_0x57a1a4]=_0x2e614c;return _0x4ec285(_0x5d5695),await _0x28b232(_0x5d5695,_0x4cc199,_0x57a1a4),_0x4cda23;}catch{return!0x1;}function _0x4ec285(_0x10c34d){const _0x3983b8=_0x60d2dd(_0x10c34d);_0x3983b8&&_0x3983b8[_0x352deb([0x61,0x6c,0x67])]==_0x352deb([0x45,0x53,0x32,0x35,0x36])||(_0x4cda23=!0x1);}async function _0x28b232(_0x1b79c0,_0x5c24a2,_0x3fda44){const _0x12d23e=window[_0x352deb([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x352deb([0x66,0x72,0x6f,0x6d])](_0x2cd618(_0x3fda44),_0x57dced=>_0x57dced[_0x352deb([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2ecb74=new window[(_0x352deb([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x352deb([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1b79c0+_0x352deb([0x2e])+_0x5c24a2),_0x72005a=window[_0x352deb([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x352deb([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x72005a)return;const _0x301464=await _0x72005a[_0x352deb([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x352deb([0x6a,0x77,0x6b]),_0x57ecc8,{[_0x352deb([0x6e,0x61,0x6d,0x65])]:_0x352deb([0x45,0x43,0x44,0x53,0x41]),[_0x352deb([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x352deb([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x352deb([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x72005a[_0x352deb([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x352deb([0x6e,0x61,0x6d,0x65])]:_0x352deb([0x45,0x43,0x44,0x53,0x41]),[_0x352deb([0x68,0x61,0x73,0x68])]:{[_0x352deb([0x6e,0x61,0x6d,0x65])]:_0x352deb([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x301464,_0x12d23e,_0x2ecb74)||(_0x4cda23=!0x1);}}function _0x60d2dd(_0x56ca8e){return _0x56ca8e[_0x352deb([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x352deb([0x65,0x79]))?JSON[_0x352deb([0x70,0x61,0x72,0x73,0x65])](_0x2cd618(_0x56ca8e)):null;}function _0x2cd618(_0x44cd3a){return window[_0x352deb([0x61,0x74,0x6f,0x62])](_0x44cd3a[_0x352deb([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x352deb([0x2b]))[_0x352deb([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x352deb([0x2f])));}function _0x413be7(_0x573d21){let _0x117123=0x1505;function _0x2ff120(_0x329c59){for(let _0x3320b0=0x0;_0x3320b0<_0x329c59[_0x352deb([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3320b0++){const _0x38eea7=_0x329c59[_0x352deb([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x3320b0);_0x117123=(_0x117123<<0x5)+_0x117123+_0x38eea7,_0x117123&=_0x117123;}}function _0x1afe1a(_0x59305c){Array[_0x352deb([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x59305c)?_0x59305c[_0x352deb([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1afe1a):_0x59305c&&typeof _0x59305c==_0x352deb([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x352deb([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x59305c)[_0x352deb([0x73,0x6f,0x72,0x74])]()[_0x352deb([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x16d15c,_0x2a471c])=>{_0x2ff120(_0x16d15c),_0x1afe1a(_0x2a471c);}):_0x2ff120(window[_0x352deb([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x59305c));}return _0x1afe1a(_0x573d21),_0x117123>>>0x0;}function _0x35c5c5(_0x40a836){return _0x40a836[_0x352deb([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x352deb([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x352deb([0x30]));}function _0x38c285(_0x157080){return _0x157080[_0x352deb([0x73,0x70,0x6c,0x69,0x74])]('')[_0x352deb([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x352deb([0x6a,0x6f,0x69,0x6e])]('');}function _0x24b2f2(){}function _0x352deb(_0x25c164){return _0x25c164['map'](_0x67e123=>String['fromCharCode'](_0x67e123))['join']('');}_0x54a835(await _0x517499());}(this);}['_initSchema'](){const _0x1ac19e=this['editor']['model']['schema'];_0x1ac19e['isRegistered']('imageBlock')&&_0x1ac19e['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x1ac19e['isRegistered']('imageInline')&&_0x1ac19e['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x5233d5=this['editor'];_0x5233d5['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x5233d5['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0xefca96=>_0xefca96['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x11fa1b=_0x5233d5['commands']['get']('replaceImageSource');_0x11fa1b&&this['listenTo'](_0x11fa1b,'cleanupImage',(_0x37e03a,[_0x30cb26,_0x35ae61])=>{_0x30cb26['removeAttribute']('uploadcareImageId',_0x35ae61);});}['_initConfig'](){const _0x293ef7=this['editor']['config']['get']('uploadcare.uploader')||{},_0x56aebe=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x4502ef(_0xbbd377['document'],'uc-config',{..._0x293ef7,'pubkey':_0x56aebe,'ctx-name':'uploader','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']=_0x2d6c10=>{if('closeMax'==_0x2d6c10)return'#uc-icon-arrow-down';},_0xbbd377['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x4502ef(_0xbbd377['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader'}),_0xbbd377['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x33af45=this['editor']['commands']['get']('insertImage');_0x33af45&&this['listenTo'](_0x33af45,'execute',()=>{const _0x1a7060=this['editor']['model']['document']['selection']['getSelectedElement']();_0x1a7060&&_0x1a7060['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{m(this['editor'],_0x1a7060);});});const _0x4578bd=this['editor']['commands']['get']('uploadcareImageReplace');_0x4578bd&&this['listenTo'](_0x4578bd,'execute',()=>{const _0x2d0718=this['editor']['model']['document']['selection']['getSelectedElement']();_0x2d0718&&_0x2d0718['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{m(this['editor'],_0x2d0718);});});}}class u extends _0x3bca44{static get['requires'](){return[i,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x5e48d8){super(_0x5e48d8),_0x5e48d8['config']['define']('uploadcare.uploader.sourceList',[o['Local'],o['URL']]),_0x304793['defineComponents'](_0x304793);}}class ta extends _0x52552f{constructor(_0x184381){super(_0x184381);const t=_0x184381['t'],_0x267f64=this['bindTemplate'],_0x11b3f3=new _0x3ec42f();_0x11b3f3['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':[_0x11b3f3,{'text':_0x267f64['to']('imageUploadProgress',_0x376ac4=>t('Loading\x20image...')+'\x20('+(_0x376ac4||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 rt extends _0x52552f{constructor(_0x281bc9){super(_0x281bc9);const t=_0x281bc9['t'];this['set']('errorType',null);const _0x4ea9b5=new _0x53ed26(_0x281bc9);_0x4ea9b5['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x4ea9b5['withText']=!0x0,_0x4ea9b5['class']='ck-button-action',_0x4ea9b5['on']('execute',()=>{this['fire']('retry');}),_0x4ea9b5['bind']('isVisible')['to'](this,'errorType',_0xd5a5af=>'NotFound'!==_0xd5a5af);const _0x1c0a33=new at();_0x1c0a33['content']=et,_0x1c0a33['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x4f189a=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':[_0x1c0a33,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x4f189a['to']('errorType',_0x2c0032=>t('NotFound'!==_0x2c0032?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x4ea9b5]},{'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 tt extends _0x52552f{constructor(_0x4c8db0,_0xded4f5){super(_0x4c8db0);const _0x3ac6e8=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0xded4f5,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x3ac6e8['to']('imageSrc')}});}}class Z extends q{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x4fe817,_0x14e9b8,_0x41709c){super(_0x4fe817),this['_items']=this['createCollection'](),this['_loadingView']=new ta(_0x4fe817),this['_errorView']=new rt(_0x4fe817),this['_editingView']=new tt(_0x4fe817,_0x41709c),this['_focusableView']=new _0x52552f(_0x4fe817),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x14e9b8),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'],_0x4b34ab=>{this['_addUploadcareImageEditorListeners'](_0x4b34ab);});}),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'](_0x3e1ae0,_0x21f793){const _0x2546f0='uc-cloud-image-editor',_0x52db53=_0x3e1ae0['querySelector'](_0x2546f0);if(_0x52db53)return _0x21f793(_0x52db53);const _0x43d335=new MutationObserver(_0x2220fc=>{const _0x5e840a=_0x2220fc['filter'](_0xf8331c=>_0xf8331c['target']===_0x3e1ae0&&_0xf8331c['addedNodes']['length']>0x0&&_0xf8331c['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x2546f0);_0x5e840a['length']&&(_0x43d335['disconnect'](),_0x21f793(_0x5e840a[0x0]['addedNodes'][0x0]));});_0x43d335['observe'](_0x3e1ae0,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x6334a8){_0x6334a8['addEventListener']('apply',_0x3d36d7=>{this['fire']('apply',{'imageSrc':_0x3d36d7['detail']['cdnUrl']});}),_0x6334a8['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class z extends/* #__PURE__ -- @preserve */
25
- _0x5c6b90(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x161e5c,_0xfeb53a,_0x12725a){super(),this['_editor']=_0x161e5c,this['_dialog']=_0xfeb53a,this['_imageElement']=_0x12725a,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 _0x67b9df=this['_imageElement'],_0x347e28=_0x67b9df['getAttribute']('uploadcareImageId'),_0x1945ab=_0x67b9df['getAttribute']('src');if(_0x347e28)await this['_loadImageInfo'](_0x347e28,_0x1945ab);else{if(this['_imageCache']['has'](_0x1945ab)){const _0x21c998=this['_imageCache']['get'](_0x1945ab);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x21c998['url'],this['imageDimension']=_0x21c998['dimension'],this['imageId']=_0x21c998['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x26c049}=this['_editor'],t=_0x26c049['t'],_0x4073a4=new Z(_0x26c049,this['imageStatus'],this['_attributes']);_0x4073a4['bind']('status')['to'](this,'imageStatus'),_0x4073a4['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x4073a4['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x4073a4['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x4073a4,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x25fea7,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x4073a4,'position':_0x5cd73b['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x4073a4['focus']();},'onHide':()=>{_0x4073a4['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x268d3e=>!F(_0x268d3e,_0x4073a4['element'])}});}['_loadImageInfo'](_0x364caf,_0x21a6f9){return C['getInfo'](_0x364caf,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x56c54b=>{const {width:_0x15f166,height:_0x201d76}=_0x56c54b['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x21a6f9,this['imageDimension']={'width':_0x15f166,'height':_0x201d76},this['imageId']=_0x364caf;})['catch'](_0x231c33=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x231c33['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0xf17f3e,_0x55c3b5){return this['_getImageAsFile'](_0xf17f3e)['then'](_0x85abc6=>C['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x55c3b5['signal'],'file':_0x85abc6,'onProgress':_0x5b3cc2=>{_0x5b3cc2&&_0x5b3cc2['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x5b3cc2['value']));}}))['then'](_0x20f619=>{const {width:_0x27bfd1,height:_0x4ca48b}=_0x20f619['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x20f619['cdnUrl'],this['imageDimension']={'width':_0x27bfd1,'height':_0x4ca48b},this['imageId']=_0x20f619['uuid'],this['imageUploadProgress']=null;const _0x5d7fcd=_0xf17f3e['getAttribute']('src');this['_imageCache']['set'](_0x5d7fcd,{'id':_0x20f619['uuid'],'url':_0x20f619['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x414a81=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x414a81['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x3fccac,_0x43374d){_0x3fccac['on']('apply',(_0x2f4b53,_0xf9fe58)=>{this['_replaceImage'](_0x43374d,_0xf9fe58['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x3fccac['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x3fccac['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0xd04e03,_0x5bd9fd,_0xfb14f6){const _0x24ef15=this['_editor'],{width:_0x8cd1f4,height:_0x373875}=A(_0x5bd9fd,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x35cc69,imageSources:_0x1993c8}=E(_0x5bd9fd,_0x8cd1f4);_0x24ef15['model']['change'](_0x2fc7ad=>{if('$graveyard'===_0xd04e03['root']['rootName']){_0x24ef15['execute']('insertImage',{'imageType':_0xd04e03['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0xd04e03['getAttributes']()),'uploadcareImageId':_0xfb14f6,'src':_0x35cc69,'sources':_0x1993c8,'width':_0x8cd1f4,'height':_0x373875}});const _0x533896=_0xd04e03['getChildren']();_0xd04e03=_0x24ef15['model']['document']['selection']['getSelectedElement']();for(const _0x554d7d of _0x533896)_0x2fc7ad['append'](_0x2fc7ad['cloneElement'](_0x554d7d),_0xd04e03);}else _0x2fc7ad['setSelection'](_0xd04e03,'on'),_0x24ef15['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0xd04e03['getAttributes']()),'uploadcareImageId':_0xfb14f6,'src':_0x35cc69,'sources':_0x1993c8,'width':_0x8cd1f4,'height':_0x373875},_0xd04e03);_0x2fc7ad['setSelection'](_0xd04e03,'on');});}async['_getImageAsFile'](_0xabbc2b){const _0x47b5fa=_0xbbd377['window'],_0x93c797=_0xbbd377['document']['location']['href'],_0x5c8161=new _0x47b5fa['URL'](_0xabbc2b['getAttribute']('src'),_0x93c797);if('data:'===_0x5c8161['protocol']){const _0x4e589a=_0x5c8161['href']['split'](','),_0x146692=_0x4e589a[0x0]['match'](/:(.*?);/)[0x1],_0x523f86=_0x146692['split']('/')[0x1],_0x3a6bc5=_0x47b5fa['atob'](_0x4e589a[_0x4e589a['length']-0x1]);let _0x1b92c9=_0x3a6bc5['length'];const _0x2d5292=new _0x47b5fa['Uint8Array'](_0x1b92c9);for(;_0x1b92c9--;)_0x2d5292[_0x1b92c9]=_0x3a6bc5['charCodeAt'](_0x1b92c9);return new _0x47b5fa['File']([_0x2d5292],'image.'+_0x523f86,{'type':_0x146692});}const _0x511311=_0x5c8161['href']['split']('/'),_0x9f79f0=_0x511311[_0x511311['length']-0x1],_0x937166=_0x9f79f0['split']('.')[0x1];return _0x47b5fa['fetch'](_0x5c8161['href'])['then'](_0x4287ea=>_0x4287ea['clone']()['blob']())['then'](_0x3be6ad=>new _0x47b5fa['File']([_0x3be6ad],_0x9f79f0,{'type':'image/'+_0x937166}));}}class J extends _0x3bf0d5{['imageEditController'];static get['requires'](){return[_0x1ed73d];}['_isEditable'];constructor(_0xa04303){super(_0xa04303),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x51d66b){const _0x49c99d=V(_0x51d66b);return _0x2a5f74=>!(!_0x2a5f74||!_0x2a5f74['is']('element','imageBlock')&&!_0x2a5f74['is']('element','imageInline'))&&(!!_0x2a5f74['hasAttribute']('uploadcareImageId')||!!_0x2a5f74['hasAttribute']('src')&&_0x49c99d(_0x2a5f74['getAttribute']('src')));}(_0xa04303['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x164472=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x164472);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x270803=this['editor']['model']['document']['selection']['getSelectedElement']();_0x270803&&(_0x270803['is']('element','imageBlock')||_0x270803['is']('element','imageInline'))&&(this['imageEditController']=new z(this['editor'],this['editor']['plugins']['get'](_0x1ed73d),_0x270803),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class O extends _0x3bf0d5{['refresh'](){const _0x15103b=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x15103b&&(_0x15103b['is']('element','imageBlock')||_0x15103b['is']('element','imageInline')));}['execute'](_0x305046){const _0x47b523=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x2f186e=>{_0x2f186e['setAttributes'](_0x305046,_0x47b523),_0x2f186e['removeAttribute']('srcset',_0x47b523),_0x2f186e['removeAttribute']('sizes',_0x47b523);});}}class g extends _0x3bca44{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[i,_0x441051,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x228143}=this;_0x228143['commands']['add']('uploadcareImageEdit',new J(_0x228143)),_0x228143['commands']['add']('uploadcareImageReplace',new O(_0x228143));}}class j extends _0x3bca44{['_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 _0x59a5ef=this['editor'];_0x59a5ef['ui']['componentFactory']['add']('uploadcareImageEdit',_0x4ba023=>{const _0x2b68fa=_0x59a5ef['commands']['get']('uploadcareImageEdit'),_0x1308af=new _0x53ed26(_0x4ba023),t=_0x4ba023['t'];return _0x1308af['set']({'icon':_0x25fea7,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x1308af['bind']('isEnabled')['to'](_0x2b68fa),_0x1308af['bind']('isOn')['to'](_0x2b68fa,'isActive'),this['listenTo'](_0x1308af,'execute',()=>{_0x59a5ef['execute']('uploadcareImageEdit'),_0x59a5ef['editing']['view']['focus']();}),_0x1308af;}),this['_initConfig']();}['_initConfig'](){const _0xc8d0a9=_0x4502ef(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0xc8d0a9),this['listenTo'](this['editor'],'destroy',()=>{_0xc8d0a9['remove']();});}}class P extends _0x3bca44{static get['pluginName'](){return'UploadcareImageEdit';}static get['requires'](){return[g,j];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{u as Uploadcare,i as UploadcareEditing,P as UploadcareImageEdit,g as UploadcareImageEditEditing,j as UploadcareImageEditUI,e as UploadcareUI};
23
+ import{Plugin as _0x397c76,Command as _0x1fc00a}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x575e70,IconGooglePhotos as _0x3c5983,IconGoogleDrive as _0x27c4ac,IconFacebook as _0x2edc33,IconDropbox as _0x1b7b64,IconUploadcareLink as _0x3f29b2,IconUploadcareImageUpload as _0xce6a78,IconError as et,IconUploadcareImageEdit as _0x47daa7}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x23acc8,MenuBarMenuListItemButtonView as _0x2c9576,View as _0x278397,FocusCycler as _0x381748,Dialog as _0x232ec6,DialogViewPosition as _0xd032e8,SpinnerView as _0x3dff89,IconView as at,Notification as _0xea9747}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x573cd8,DomEmitterMixin as _0x4b0f0b,global as _0x4123dd,getAncestors as _0x25ab62,ObservableMixin as _0x1ec15c,createElement as _0x26b0d3,uid as _0x440974}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0xc8f136}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x22316e,info as _0x468e25}from'@uploadcare/upload-client';import*as _0x1a1f0b from'@uploadcare/file-uploader';var o=function(_0xe99225){return _0xe99225['Local']='local',_0xe99225['URL']='url',_0xe99225['Dropbox']='dropbox',_0xe99225['GDrive']='gdrive',_0xe99225['Facebook']='facebook',_0xe99225['GPhotos']='gphotos',_0xe99225['OneDrive']='onedrive',_0xe99225;}({});function _(_0x349b41,_0x3ecd76,_0x25c3ce){const t=_0x349b41['t'],_0x309399=_0x349b41['t'];switch(_0x3ecd76){case o['Local']:return{'text':_0x309399('Insert'===_0x25c3ce?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x309399('From\x20computer')};case o['URL']:return{'text':'Insert'===_0x25c3ce?_0x309399('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x309399('Via\x20URL')};case o['Dropbox']:return{'text':t('Insert'===_0x25c3ce?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case o['Facebook']:return{'text':t('Insert'===_0x25c3ce?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case o['GDrive']:return{'text':t('Insert'===_0x25c3ce?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case o['GPhotos']:return{'text':t('Insert'===_0x25c3ce?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case o['OneDrive']:return{'text':t('Insert'===_0x25c3ce?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x3ecd76;}}class e extends _0x397c76{['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 _0x2eae2b=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0xa0fe3c;for(const _0x276c87 in _0x2eae2b){const _0x192887=_0x276c87,_0xfdda5a=_0x2eae2b[_0x192887];if('uploadcareLicenseKeyValid'==_0xfdda5a||'uploadcareLicenseKeyInvalid'==_0xfdda5a||'uploadcareLicenseKeyExpired'==_0xfdda5a||'uploadcareLicenseKeyDomainLimit'==_0xfdda5a||'uploadcareLicenseKeyNotAllowed'==_0xfdda5a||'uploadcareLicenseKeyEvaluationLimit'==_0xfdda5a||'uploadcareLicenseKeyTrialLimit'==_0xfdda5a||'uploadcareLicenseKeyUsageLimit'==_0xfdda5a){delete _0x2eae2b[_0x192887],_0xa0fe3c=_0xfdda5a,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0xa0fe3c&&_0x2eae2b['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0xa0fe3c&&_0x2eae2b['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0xa0fe3c&&_0x2eae2b['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0xa0fe3c&&_0x2eae2b['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0xa0fe3c&&_0x2eae2b['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0xa0fe3c&&_0x2eae2b['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0xa0fe3c&&_0x2eae2b['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x176a53}=this,_0x3da48c=_0x176a53['commands']['get']('uploadcare');if(!_0x3da48c)return;const _0x6d35f2=this['_normalizeConfigSourceList'](_0x176a53['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x11fbe4,_0x3026fb)=>{const _0xfbee59=this['_getIntegrationKey'](_0x3026fb['type']);return _0x11fbe4[_0xfbee59]||(_0x11fbe4[_0xfbee59]=[]),_0x11fbe4[_0xfbee59]['push'](_0x3026fb),_0x11fbe4;},{});_0x176a53['plugins']['has']('ImageInsertUI')&&_0x176a53['commands']['get']('uploadcare')&&Object['entries'](_0x6d35f2)['forEach'](([_0x4401eb,_0x5d502a])=>{_0x176a53['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x4401eb,'observable':()=>_0x3da48c,'buttonViewCreator':()=>this['_createToolbarButton'](_0x5d502a),'formViewCreator':()=>this['_createDropdownButtons'](_0x5d502a),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x5d502a),'override':'assetManager'!==_0x4401eb});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x30c355){const {locale:_0x4e5d86}=this['editor'];return _0x30c355['map'](_0x378ec5=>{const _0x3d1a25=_(_0x4e5d86,_0x378ec5,'Insert');switch(_0x378ec5){case o['Local']:return{'icon':_0xce6a78,'type':o['Local'],..._0x3d1a25};case o['URL']:return{'icon':_0x3f29b2,'type':o['URL'],..._0x3d1a25};case o['Dropbox']:return{'icon':_0x1b7b64,'type':o['Dropbox'],..._0x3d1a25};case o['Facebook']:return{'icon':_0x2edc33,'type':o['Facebook'],..._0x3d1a25};case o['GDrive']:return{'icon':_0x27c4ac,'type':o['GDrive'],..._0x3d1a25};case o['GPhotos']:return{'icon':_0x3c5983,'type':o['GPhotos'],..._0x3d1a25};case o['OneDrive']:return{'icon':_0x575e70,'type':o['OneDrive'],..._0x3d1a25};}});}['_getIntegrationKey'](_0x3d83ca){switch(_0x3d83ca){case o['Local']:return'upload';case o['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x129472,_0x4f7e43){const _0x50a9b7=this['editor'],_0x8384e4=new _0x129472(_0x50a9b7['locale']),_0x43f3e1=_0x50a9b7['commands']['get']('uploadcare');return _0x8384e4['bind']('isEnabled')['to'](_0x43f3e1),_0x8384e4['on']('execute',()=>{_0x43f3e1['execute'](_0x4f7e43);}),_0x8384e4;}['_createToolbarButton'](_0x75020b){const {locale:_0x165afe}=this['editor'],_0x3eb51a=this['editor']['plugins']['get']('ImageInsertUI'),_0x4af2a4=_0x75020b[0x0],_0x1ecd04=this['_createButton'](_0x23acc8,_0x4af2a4['type']);return _0x1ecd04['icon']=_0x4af2a4['icon'],_0x1ecd04['bind']('label')['to'](_0x3eb51a,'isImageSelected',_0x46660d=>_(_0x165afe,_0x4af2a4['type'],_0x46660d?'Replace':'Insert')['text']),_0x1ecd04['tooltip']=!0x0,_0x1ecd04;}['_createDropdownButtons'](_0x23e8f6){const {locale:_0x552d77}=this['editor'],_0x6b9e4f=this['editor']['plugins']['get']('ImageInsertUI');return _0x23e8f6['map'](_0x2d0dcc=>{const _0xd38a2d=this['_createButton'](_0x23acc8,_0x2d0dcc['type']);return _0xd38a2d['withText']=!0x0,_0xd38a2d['icon']=_0x2d0dcc['icon'],_0xd38a2d['bind']('label')['to'](_0x6b9e4f,'isImageSelected',_0x1042d5=>_(_0x552d77,_0x2d0dcc['type'],_0x1042d5?'Replace':'Insert')['text']),_0xd38a2d;});}['_createMenuBarButtons'](_0x4ac7c7){return _0x4ac7c7['map'](_0x21ca88=>{const _0x48bcac=this['_createButton'](_0x2c9576,_0x21ca88['type']);return _0x48bcac['icon']=_0x21ca88['icon'],_0x48bcac['label']=_0x21ca88['shortText'],_0x48bcac;});}}class q extends _0x278397{['focusTracker'];['focusCycler'];constructor(_0xece217){super(_0xece217),this['focusTracker']=new _0x573cd8(),this['focusCycler']=new _0x381748({'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 S extends q{constructor(_0x26918b){super(_0x26918b),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'}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function E(_0x12fca3,_0x3fc75f){const _0x46c3ae=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x3a43dd=>_0x3a43dd<=_0x3fc75f)['map'](_0x3146be=>_0x12fca3['replace'](/\/$/,'')+'/-/resize/'+_0x3146be+'x/\x20'+_0x3146be+'w');return{'imageFallbackUrl':_0x12fca3,'imageSources':[{'srcset':_0x46c3ae['join'](',\x20'),'sizes':'(max-width:\x20'+_0x3fc75f+'px)\x20100vw,\x20'+_0x3fc75f+'px','type':'image/webp'}]};}function A(_0x47c71d,_0x5df130,_0x401935){const _0x42ae75=_0x47c71d['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x42ae75?parseInt(_0x42ae75[0x1],0xa):_0x5df130,'height':_0x42ae75?parseInt(_0x42ae75[0x2],0xa):_0x401935};}function m(_0x4ae9f3,_0x202aaf){const _0x234094=Object['create'](_0x4b0f0b),_0x6f6a4e=_0x4ae9f3['plugins']['get']('ImageUtils'),_0x32531a=_0x4ae9f3['editing']['mapper']['toViewElement'](_0x202aaf),_0x2fedb1=_0x6f6a4e['findViewImgElement'](_0x32531a),_0x277955=_0x4ae9f3['editing']['view']['domConverter']['viewToDom'](_0x2fedb1),_0x3d31e6=_0x202aaf['getAttribute']('width'),_0x3bac12=_0x202aaf['getAttribute']('height'),_0x2d50ce='image-processing';_0x4ae9f3['editing']['view']['change'](_0x3d15c7=>{_0x3d15c7['addClass'](_0x2d50ce,_0x32531a),_0x3d15c7['setStyle']('aspect-ratio',_0x3d31e6+'/'+_0x3bac12,_0x2fedb1);}),_0x234094['listenTo'](_0x277955,'load',()=>{_0x234094['stopListening'](_0x277955,'load'),_0x4ae9f3['editing']['view']['change'](_0x6032c2=>{_0x6032c2['removeClass'](_0x2d50ce,_0x32531a),_0x6032c2['removeStyle']('aspect-ratio',_0x2fedb1);});});}function V(_0x46d257){if(Array['isArray'](_0x46d257)){const _0xe38140=_0x46d257['map'](V);return _0x4b7536=>_0xe38140['some'](_0xd47291=>_0xd47291(_0x4b7536));}if('origin'==_0x46d257){const _0x4d9095=_0x4123dd['window']['location']['origin'];return _0x413b3d=>new URL(_0x413b3d,_0x4123dd['document']['baseURI'])['origin']==_0x4d9095;}return'function'==typeof _0x46d257?_0x46d257:_0x46d257 instanceof RegExp?_0x26db61=>!(!_0x26db61['match'](_0x46d257)&&!_0x26db61['replace'](/^https?:\/\//,'')['match'](_0x46d257)):()=>!0x1;}function F(_0x1f96c1,_0x44c59a){return _0x25ab62(_0x1f96c1['target'])['includes'](_0x44c59a);}class l extends/* #__PURE__ -- @preserve */
24
+ _0x1ec15c(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x4d42bf,_0x41b7af,_0x5ea8f2){super(),this['_editor']=_0x4d42bf,this['_editing']=_0x41b7af,this['_dialog']=_0x4d42bf['plugins']['get'](_0x232ec6),this['_api']=_0x41b7af['ctxElement']['getAPI'](),this['_type']=_0x5ea8f2,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:_0x2c573b,model:_0x5a0580}=this['_editor'],_0x35184e=_0x5a0580['document']['selection']['getSelectedElement'](),_0xe1880=_0x35184e&&(_0x35184e['is']('element','imageBlock')||_0x35184e['is']('element','imageInline'));this['_formView']=new S(_0x2c573b),this['_dialog']['show']({'id':'uploadCare','icon':_0xce6a78,'title':_(_0x2c573b,this['_type'],_0xe1880?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0xd032e8['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x2ca1d2=>!F(_0x2ca1d2,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x23de3d}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x155b19=>{const _0x3a9679=_0x23de3d['length'];for(const _0x34a8b8 of _0x23de3d){const _0x305109=_0x34a8b8===_0x23de3d[_0x3a9679-0x1],{cdnUrl:_0x394f20,fileInfo:_0x59c666}=_0x34a8b8;if(!_0x394f20||!_0x59c666)continue;const {width:_0x17b3d8,height:_0x378262}=_0x59c666['imageInfo'],_0x3b39c9=A(_0x394f20,_0x17b3d8,_0x378262),_0xe7958d=E(_0x394f20,_0x3b39c9['width']),_0xe522b1={'id':_0x59c666['uuid'],'type':'image','attributes':{'imageDimension':_0x3b39c9,..._0xe7958d}};this['_insertAsset'](_0xe522b1,_0x305109,_0x155b19);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x2d9bc3=>{'idle'===_0x2d9bc3['detail']['status']&&!_0x2d9bc3['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===o['Local']?this['_api']['setCurrentActivity'](o['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x2c9603,_0x4f1702,_0x4100c4){const _0x2c8aed=this['_editor']['model']['document']['selection'],_0x58bfcc=_0x2c8aed['getSelectedElement'](),_0x4e7b30=!(!_0x58bfcc||!_0x58bfcc['is']('element','imageInline'));_0x4100c4['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x2c9603,_0x4e7b30),_0x4f1702||_0x4100c4['setSelection'](_0x2c8aed['getLastPosition']());}['_insertImage'](_0x22224e,_0x53c727){const _0x5a06ab=this['_editor'],{imageDimension:_0x449c5c,imageFallbackUrl:_0x354612,imageSources:_0x392900}=_0x22224e['attributes'];_0x5a06ab['execute']('insertImage',{'imageType':_0x53c727?'imageInline':null,'source':{'uploadcareImageId':_0x22224e['id'],'src':_0x354612,'sources':_0x392900,..._0x449c5c}});}}class n extends _0x1fc00a{['_editing'];['_controller']=null;static get['requires'](){return[_0x232ec6,i];}constructor(_0x369d72){super(_0x369d72),this['_editing']=_0x369d72['plugins']['get'](i);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x2db93f){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new l(this['editor'],this['_editing'],_0x2db93f);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class C{static['upload']({file:_0x37219f,publicKey:_0x96924a,signal:_0x2a19d8,onProgress:_0x5c6327}){return _0x22316e(_0x37219f,{'publicKey':_0x96924a,'store':'auto','signal':_0x2a19d8,'onProgress':_0x5c6327});}static['getInfo'](_0xe929ce,_0x3fba8b){return _0x468e25(_0xe929ce,_0x3fba8b);}}class p extends _0x397c76{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0xc8f136,i];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x4cbc0e=this['editor'];if(!!!_0x4cbc0e['config']['get']('uploadcare'))return;_0x4cbc0e['plugins']['get'](_0xc8f136)['createUploadAdapter']=_0x5c8409=>new x(_0x5c8409,_0x4cbc0e),_0x4cbc0e['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x4fbab4,{imageElement:_0x4121f7,data:_0x60b470})=>{_0x4cbc0e['model']['change'](_0x47c3c9=>{_0x47c3c9['setAttribute']('uploadcareImageId',_0x60b470['uploadcareImageId'],_0x4121f7);});});}}class x{['loader'];['editor'];['controller'];constructor(_0xbe5551,_0x339cb4){this['loader']=_0xbe5551,this['editor']=_0x339cb4,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x5bde18=this['editor']['config']['get']('uploadcare.pubkey'),_0x4af2ff=await this['loader']['file'];return C['upload']({'file':_0x4af2ff,'publicKey':_0x5bde18,'signal':this['controller']['signal'],'onProgress':_0x45b6f3=>{_0x45b6f3&&_0x45b6f3['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x45b6f3['value']);}})['then'](async _0xa3e96a=>{const {imageFallbackUrl:_0xb90ce7,imageSources:_0x3e5541}=E(_0xa3e96a['cdnUrl'],_0xa3e96a['imageInfo']['width']);return{'uploadcareImageId':_0xa3e96a['uuid'],'default':_0xb90ce7,'sources':_0x3e5541};})['catch'](()=>{const _0x4555da=t('Cannot\x20upload\x20file:')+('\x20'+_0x4af2ff['name']+'.');return Promise['reject'](_0x4555da);});}['abort'](){this['controller']['abort']();}}class i extends _0x397c76{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',p,_0x232ec6];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}['init'](){const _0x463cf1=this['editor'];_0x463cf1['commands']['add']('uploadcare',new n(_0x463cf1));}['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 _0x1a99d5=_0x4123dd['document']['querySelector']('input[uploadcare-file-input]');_0x1a99d5&&_0x1a99d5['remove']();}),async function(_0xc7cb0d){const _0x4fb25f=_0x5c492e([0x62,0x35,0x74,0x42,0x5a,0x46,0x41,0x53,0x68,0x50,0x63,0x73,0x52,0x56,0x79,0x69,0x36,0x45,0x48,0x49,0x47,0x33,0x4c,0x70,0x39,0x54,0x75,0x76,0x43,0x30,0x57,0x72,0x64,0x31,0x44,0x6b,0x67,0x51,0x4e,0x77,0x59,0x65,0x7a,0x4b,0x71,0x6c,0x6a,0x37,0x58,0x4a,0x38,0x4f,0x32,0x4d,0x66,0x6d,0x34,0x6e,0x6f,0x61,0x78,0x55]),_0x1da3bf=0xc508695,_0x1eb274=0xc57ec7d^_0x1da3bf,_0x18c8a4=window[_0x5c492e([0x44,0x61,0x74,0x65])][_0x5c492e([0x6e,0x6f,0x77])](),_0xceb02d=_0xc7cb0d[_0x5c492e([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x4e6d9b=new window[(_0x5c492e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3b17ea=>{_0xceb02d[_0x5c492e([0x6f,0x6e,0x63,0x65])](_0x5c492e([0x72,0x65,0x61,0x64,0x79]),_0x3b17ea);}),_0x424f86={[_0x5c492e([0x6b,0x74,0x79])]:_0x5c492e([0x45,0x43]),[_0x5c492e([0x75,0x73,0x65])]:_0x5c492e([0x73,0x69,0x67]),[_0x5c492e([0x63,0x72,0x76])]:_0x5c492e([0x50,0x2d,0x32,0x35,0x36]),[_0x5c492e([0x78])]:_0x5c492e([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]),[_0x5c492e([0x79])]:_0x5c492e([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]),[_0x5c492e([0x61,0x6c,0x67])]:_0x5c492e([0x45,0x53,0x32,0x35,0x36])},_0x1211bd=_0xceb02d[_0x5c492e([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x5c492e([0x67,0x65,0x74])](_0x5c492e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x1de870(){let _0xfdf38d,_0x5b0e6c=null,_0x2c3ee2=null;try{if(_0x1211bd==_0x5c492e([0x47,0x50,0x4c]))return _0x5c492e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0xfdf38d=_0x572432(),!_0xfdf38d)return _0x5c492e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0xfdf38d[_0x5c492e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x2c3ee2=_0x178a37(_0xfdf38d[_0x5c492e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0xfdf38d[_0x5c492e([0x6a,0x74,0x69])])),await _0x25ec08()?_0x4c749f()?_0x5b178c()?_0x5c492e([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x992a79()?(_0xfdf38d[_0x5c492e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5c492e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x5b0e6c=_0x169b93(_0x5c492e([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0xfdf38d[_0x5c492e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5c492e([0x74,0x72,0x69,0x61,0x6c])&&(_0x5b0e6c=_0x169b93(_0x5c492e([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x302d10()):_0x5c492e([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x5c492e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x5c492e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x5c492e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x5b178c(){const _0x5226bf=[_0x5c492e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x5c492e([0x74,0x72,0x69,0x61,0x6c])][_0x5c492e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xfdf38d[_0x5c492e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x18c8a4/0x3e8:0xe10*_0x1eb274;return _0xfdf38d[_0x5c492e([0x65,0x78,0x70])]<_0x5226bf;}function _0x4c749f(){const _0x142bea=_0xfdf38d[_0x5c492e([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x142bea&&(!!_0x142bea[_0x5c492e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5c492e([0x2a]))||!!_0x142bea[_0x5c492e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5c492e([0x55,0x50,0x4c,0x43])));}function _0x992a79(){const _0x6d701f=_0xfdf38d[_0x5c492e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x6d701f||0x0==_0x6d701f[_0x5c492e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x42a546}=new URL(window[_0x5c492e([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x6d701f[_0x5c492e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x42a546))return!0x0;const _0x1b7283=_0x42a546[_0x5c492e([0x73,0x70,0x6c,0x69,0x74])](_0x5c492e([0x2e]));return _0x6d701f[_0x5c492e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3c1bec=>_0x3c1bec[_0x5c492e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5c492e([0x2a])))[_0x5c492e([0x6d,0x61,0x70])](_0x28ecd5=>_0x28ecd5[_0x5c492e([0x73,0x70,0x6c,0x69,0x74])](_0x5c492e([0x2e])))[_0x5c492e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x285385=>_0x285385[_0x5c492e([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x1b7283[_0x5c492e([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5c492e([0x6d,0x61,0x70])](_0x4c3297=>Array(_0x1b7283[_0x5c492e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x4c3297[_0x5c492e([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5c492e([0x66,0x69,0x6c,0x6c])](_0x4c3297[0x0]===_0x5c492e([0x2a])?_0x5c492e([0x2a]):'')[_0x5c492e([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x4c3297))[_0x5c492e([0x73,0x6f,0x6d,0x65])](_0x9b46d9=>_0x1b7283[_0x5c492e([0x65,0x76,0x65,0x72,0x79])]((_0x65d5f4,_0x1f46a0)=>_0x9b46d9[_0x1f46a0]===_0x65d5f4||_0x9b46d9[_0x1f46a0]===_0x5c492e([0x2a])));}function _0x302d10(){return _0x5b0e6c&&_0x2c3ee2?new window[(_0x5c492e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3ab9bc,_0x4f86f0)=>{_0x5b0e6c[_0x5c492e([0x74,0x68,0x65,0x6e])](_0x3ab9bc,_0x4f86f0),_0x2c3ee2[_0x5c492e([0x74,0x68,0x65,0x6e])](_0x5f2eca=>{_0x5f2eca!=_0x5c492e([0x56,0x61,0x6c,0x69,0x64])&&_0x3ab9bc(_0x5f2eca);},_0x4f86f0);}):_0x5b0e6c||_0x2c3ee2||_0x5c492e([0x56,0x61,0x6c,0x69,0x64]);}}function _0x178a37(_0x3b990f,_0x3e41fe){return new window[(_0x5c492e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1c31e9=>{if(_0x52fe2c())return _0x1c31e9(_0x5c492e([0x56,0x61,0x6c,0x69,0x64]));_0x5a9387(),_0xceb02d[_0x5c492e([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x5c492e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x560069=!0x1;const _0xe74ae9=_0x440974();function _0x204695(_0x3aca72){return!!_0x3aca72&&(typeof _0x3aca72===_0x5c492e([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3aca72===_0x5c492e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3aca72[_0x5c492e([0x74,0x68,0x65,0x6e])]===_0x5c492e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3aca72[_0x5c492e([0x63,0x61,0x74,0x63,0x68])]===_0x5c492e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x291b1d(_0x12fcf6){_0x28501d(_0x12fcf6)[_0x5c492e([0x74,0x68,0x65,0x6e])](_0x3a1421=>{if(!_0x3a1421||_0x3a1421[_0x5c492e([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x5c492e([0x6f,0x6b]))return _0x5c492e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x3320bc(_0x373966(_0xe74ae9+_0x3e41fe))!=_0x3a1421[_0x5c492e([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x5c492e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x5c492e([0x56,0x61,0x6c,0x69,0x64]);})[_0x5c492e([0x74,0x68,0x65,0x6e])](_0x21ab91=>(_0x24941b(),_0x21ab91),()=>{const _0x497620=_0x19e214();return null==_0x497620?(_0x24941b(),_0x5c492e([0x56,0x61,0x6c,0x69,0x64])):_0x5c492e(_0x18c8a4-_0x497620>(0x285c0295^_0x1da3bf)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x5c492e([0x74,0x68,0x65,0x6e])](_0x1c31e9)[_0x5c492e([0x63,0x61,0x74,0x63,0x68])](()=>{_0x1c31e9(_0x5c492e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x19e3c4=0xc666815^_0x1da3bf;function _0x24941b(){const _0x1ba995=_0x5c492e([0x6c,0x6c,0x63,0x74,0x2d])+_0x3320bc(_0x373966(_0x3b990f)),_0x37de02=_0x3457ce(_0x3320bc(window[_0x5c492e([0x4d,0x61,0x74,0x68])][_0x5c492e([0x63,0x65,0x69,0x6c])](_0x18c8a4/_0x19e3c4)));window[_0x5c492e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5c492e([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1ba995,_0x37de02);}function _0x19e214(){const _0x5077da=_0x5c492e([0x6c,0x6c,0x63,0x74,0x2d])+_0x3320bc(_0x373966(_0x3b990f)),_0x5bb4e9=window[_0x5c492e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5c492e([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5077da);return _0x5bb4e9?window[_0x5c492e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3457ce(_0x5bb4e9),0x10)*_0x19e3c4:null;}function _0x28501d(_0x49306c){return new window[(_0x5c492e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5cf67e,_0x2322bc)=>{_0x49306c[_0x5c492e([0x74,0x68,0x65,0x6e])](_0x5cf67e,_0x2322bc),window[_0x5c492e([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2322bc,0xc515255^_0x1da3bf);});}}_0xceb02d[_0x5c492e([0x6f,0x6e])](_0x5c492e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1766c8,_0x8933ad)=>{if(_0x8933ad[0x0]!=_0x3b990f)return _0x1c31e9(_0x5c492e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x8933ad[0x1]={..._0x8933ad[0x1],[_0x5c492e([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0xe74ae9};},{[_0x5c492e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5c492e([0x68,0x69,0x67,0x68])}),_0xceb02d[_0x5c492e([0x6f,0x6e])](_0x5c492e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x366bfb=>{_0x204695(_0x366bfb[_0x5c492e([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x560069=!0x0,_0x291b1d(_0x366bfb[_0x5c492e([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x5c492e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5c492e([0x6c,0x6f,0x77])}),_0x4e6d9b[_0x5c492e([0x74,0x68,0x65,0x6e])](()=>{_0x560069||_0x1c31e9(_0x5c492e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x52fe2c(){return _0xceb02d[_0x5c492e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5c492e([0x76,0x69,0x65,0x77])][_0x5c492e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x5c492e([0x61,0x75,0x74,0x6f]);}function _0x5a9387(){_0xceb02d[_0x5c492e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5c492e([0x76,0x69,0x65,0x77])][_0x5c492e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x5c492e([0x61,0x75,0x74,0x6f]);}}function _0x169b93(_0x4d9987){const _0x73b91b=[new window[(_0x5c492e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x599e8c=>setTimeout(_0x599e8c,0xc59b859^_0x1da3bf)),_0x4e6d9b[_0x5c492e([0x74,0x68,0x65,0x6e])](()=>new window[(_0x5c492e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x320749=>{let _0x34a3be=0x0;_0xceb02d[_0x5c492e([0x6d,0x6f,0x64,0x65,0x6c])][_0x5c492e([0x6f,0x6e])](_0x5c492e([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4bdb8b,_0x55245d)=>{_0x55245d[0x0][_0x5c492e([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x34a3be++,_0x34a3be==(0xc50876d^_0x1da3bf)&&(_0x320749(),_0x4bdb8b[_0x5c492e([0x6f,0x66,0x66])]());});}))];return window[_0x5c492e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x5c492e([0x72,0x61,0x63,0x65])](_0x73b91b)[_0x5c492e([0x74,0x68,0x65,0x6e])](()=>_0x4d9987);}async function _0x5f21cd(){await _0x4e6d9b,_0xceb02d[_0x5c492e([0x6d,0x6f,0x64,0x65,0x6c])][_0x5c492e([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3d71c5,_0xceb02d[_0x5c492e([0x6d,0x6f,0x64,0x65,0x6c])][_0x5c492e([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3d71c5,_0xceb02d[_0x5c492e([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5c492e([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x1fbb88(_0x515d23){const _0x2fee24=_0x179a5a();_0xceb02d[_0x2fee24]=_0x5c492e([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x515d23,_0x515d23!=_0x5c492e([0x56,0x61,0x6c,0x69,0x64])&&_0x5f21cd();}function _0x179a5a(){const _0x4267be=window[_0x5c492e([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x5c492e([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5c492e([0x6e,0x6f,0x77])]())[_0x5c492e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5c492e([0x2e]),'');let _0x18a951=_0x5c492e([0x62]);for(let _0x1ed34f=0x0;_0x1ed34f<_0x4267be[_0x5c492e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1ed34f+=0x2){let _0x3b5ed2=window[_0x5c492e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4267be[_0x5c492e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1ed34f,_0x1ed34f+0x2));_0x3b5ed2>=_0x4fb25f[_0x5c492e([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x3b5ed2-=_0x4fb25f[_0x5c492e([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x18a951+=_0x4fb25f[_0x3b5ed2];}return _0x18a951;}function _0x572432(){const _0x3624d6=_0x1211bd[_0x5c492e([0x73,0x70,0x6c,0x69,0x74])](_0x5c492e([0x2e]));if(0x3!=_0x3624d6[_0x5c492e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x21ce6c(_0x3624d6[0x1]);function _0x21ce6c(_0x542d1a){const _0x545199=_0x37c878(_0x542d1a);return _0x545199&&_0xb19d5d()?_0x545199:null;function _0xb19d5d(){const _0x1328b6=_0x545199[_0x5c492e([0x6a,0x74,0x69])],_0x4c88de=window[_0x5c492e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1328b6[_0x5c492e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1328b6[_0x5c492e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x85221c={..._0x545199,[_0x5c492e([0x6a,0x74,0x69])]:_0x1328b6[_0x5c492e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1328b6[_0x5c492e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x85221c[_0x5c492e([0x76,0x63])],_0x373966(_0x85221c)==_0x4c88de;}}}async function _0x25ec08(){let _0x49177c=!0x0;try{const _0x7438af=_0x1211bd[_0x5c492e([0x73,0x70,0x6c,0x69,0x74])](_0x5c492e([0x2e])),[_0x76fd8d,_0x5deaf5,_0x410d6b]=_0x7438af;return _0x7ce67c(_0x76fd8d),await _0x4eb719(_0x76fd8d,_0x5deaf5,_0x410d6b),_0x49177c;}catch{return!0x1;}function _0x7ce67c(_0x26d300){const _0x3a23a8=_0x37c878(_0x26d300);_0x3a23a8&&_0x3a23a8[_0x5c492e([0x61,0x6c,0x67])]==_0x5c492e([0x45,0x53,0x32,0x35,0x36])||(_0x49177c=!0x1);}async function _0x4eb719(_0x50c842,_0x2f88da,_0x511547){const _0x1a0471=window[_0x5c492e([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x5c492e([0x66,0x72,0x6f,0x6d])](_0x15c4ee(_0x511547),_0x1f7471=>_0x1f7471[_0x5c492e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0xa0d328=new window[(_0x5c492e([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x5c492e([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x50c842+_0x5c492e([0x2e])+_0x2f88da),_0x2b448d=window[_0x5c492e([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x5c492e([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2b448d)return;const _0x14534b=await _0x2b448d[_0x5c492e([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x5c492e([0x6a,0x77,0x6b]),_0x424f86,{[_0x5c492e([0x6e,0x61,0x6d,0x65])]:_0x5c492e([0x45,0x43,0x44,0x53,0x41]),[_0x5c492e([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x5c492e([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x5c492e([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2b448d[_0x5c492e([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x5c492e([0x6e,0x61,0x6d,0x65])]:_0x5c492e([0x45,0x43,0x44,0x53,0x41]),[_0x5c492e([0x68,0x61,0x73,0x68])]:{[_0x5c492e([0x6e,0x61,0x6d,0x65])]:_0x5c492e([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x14534b,_0x1a0471,_0xa0d328)||(_0x49177c=!0x1);}}function _0x37c878(_0x3b7852){return _0x3b7852[_0x5c492e([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x5c492e([0x65,0x79]))?JSON[_0x5c492e([0x70,0x61,0x72,0x73,0x65])](_0x15c4ee(_0x3b7852)):null;}function _0x15c4ee(_0x4048e8){return window[_0x5c492e([0x61,0x74,0x6f,0x62])](_0x4048e8[_0x5c492e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x5c492e([0x2b]))[_0x5c492e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x5c492e([0x2f])));}function _0x373966(_0x37fbbc){let _0x56b29a=0x1505;function _0x1279e2(_0x219dd2){for(let _0x13190d=0x0;_0x13190d<_0x219dd2[_0x5c492e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x13190d++){const _0x2bc1ec=_0x219dd2[_0x5c492e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x13190d);_0x56b29a=(_0x56b29a<<0x5)+_0x56b29a+_0x2bc1ec,_0x56b29a&=_0x56b29a;}}function _0x34b793(_0x4ba1d6){Array[_0x5c492e([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4ba1d6)?_0x4ba1d6[_0x5c492e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x34b793):_0x4ba1d6&&typeof _0x4ba1d6==_0x5c492e([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x5c492e([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4ba1d6)[_0x5c492e([0x73,0x6f,0x72,0x74])]()[_0x5c492e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x398d02,_0x2b87d5])=>{_0x1279e2(_0x398d02),_0x34b793(_0x2b87d5);}):_0x1279e2(window[_0x5c492e([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4ba1d6));}return _0x34b793(_0x37fbbc),_0x56b29a>>>0x0;}function _0x3320bc(_0x433b63){return _0x433b63[_0x5c492e([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x5c492e([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x5c492e([0x30]));}function _0x3457ce(_0x403e4e){return _0x403e4e[_0x5c492e([0x73,0x70,0x6c,0x69,0x74])]('')[_0x5c492e([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x5c492e([0x6a,0x6f,0x69,0x6e])]('');}function _0x3d71c5(){}function _0x5c492e(_0x408caf){return _0x408caf['map'](_0x479de6=>String['fromCharCode'](_0x479de6))['join']('');}_0x1fbb88(await _0x1de870());}(this);}['_initSchema'](){const _0x63f3a2=this['editor']['model']['schema'];_0x63f3a2['isRegistered']('imageBlock')&&_0x63f3a2['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x63f3a2['isRegistered']('imageInline')&&_0x63f3a2['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x3e567e=this['editor'];_0x3e567e['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x3e567e['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x2bd689=>_0x2bd689['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x2b53e7=_0x3e567e['commands']['get']('replaceImageSource');_0x2b53e7&&this['listenTo'](_0x2b53e7,'cleanupImage',(_0x5735eb,[_0x309f9b,_0x5d6e26])=>{_0x309f9b['removeAttribute']('uploadcareImageId',_0x5d6e26);});}['_initConfig'](){const _0x3f72ad=this['editor']['config']['get']('uploadcare.uploader')||{},_0x16a30b=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x26b0d3(_0x4123dd['document'],'uc-config',{..._0x3f72ad,'pubkey':_0x16a30b,'ctx-name':'uploader','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']=_0x40d9d0=>{if('closeMax'==_0x40d9d0)return'#uc-icon-arrow-down';},_0x4123dd['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x26b0d3(_0x4123dd['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader'}),_0x4123dd['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x55b56a=this['editor']['commands']['get']('insertImage');_0x55b56a&&this['listenTo'](_0x55b56a,'execute',()=>{const _0x8a844c=this['editor']['model']['document']['selection']['getSelectedElement']();_0x8a844c&&_0x8a844c['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{m(this['editor'],_0x8a844c);});});const _0x576cd0=this['editor']['commands']['get']('uploadcareImageReplace');_0x576cd0&&this['listenTo'](_0x576cd0,'execute',()=>{const _0x39f91f=this['editor']['model']['document']['selection']['getSelectedElement']();_0x39f91f&&_0x39f91f['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{m(this['editor'],_0x39f91f);});});}}class u extends _0x397c76{static get['requires'](){return[i,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x160332){super(_0x160332),_0x160332['config']['define']('uploadcare.uploader.sourceList',[o['Local'],o['URL']]),_0x1a1f0b['defineComponents'](_0x1a1f0b);}}class ta extends _0x278397{constructor(_0x4d4a0e){super(_0x4d4a0e);const t=_0x4d4a0e['t'],_0x42bf5f=this['bindTemplate'],_0x171074=new _0x3dff89();_0x171074['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':[_0x171074,{'text':_0x42bf5f['to']('imageUploadProgress',_0xd246b2=>t('Loading\x20image...')+'\x20('+(_0xd246b2||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 rt extends _0x278397{constructor(_0xab4efa){super(_0xab4efa);const t=_0xab4efa['t'];this['set']('errorType',null);const _0x1c14eb=new _0x23acc8(_0xab4efa);_0x1c14eb['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x1c14eb['withText']=!0x0,_0x1c14eb['class']='ck-button-action',_0x1c14eb['on']('execute',()=>{this['fire']('retry');}),_0x1c14eb['bind']('isVisible')['to'](this,'errorType',_0x2310af=>'NotFound'!==_0x2310af);const _0x52314d=new at();_0x52314d['content']=et,_0x52314d['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x5b88b0=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':[_0x52314d,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x5b88b0['to']('errorType',_0x2b3df0=>t('NotFound'!==_0x2b3df0?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x1c14eb]},{'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 tt extends _0x278397{constructor(_0x5a5cdc,_0x41bd03){super(_0x5a5cdc);const _0x33067b=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x41bd03,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x33067b['to']('imageSrc')}});}}class Z extends q{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x57df4a,_0x16bb43,_0x1453d8){super(_0x57df4a),this['_items']=this['createCollection'](),this['_loadingView']=new ta(_0x57df4a),this['_errorView']=new rt(_0x57df4a),this['_editingView']=new tt(_0x57df4a,_0x1453d8),this['_focusableView']=new _0x278397(_0x57df4a),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x16bb43),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'],_0x39403c=>{this['_addUploadcareImageEditorListeners'](_0x39403c);});}),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'](_0x1bae40,_0x18aa41){const _0x412f86='uc-cloud-image-editor',_0x472561=_0x1bae40['querySelector'](_0x412f86);if(_0x472561)return _0x18aa41(_0x472561);const _0x4dd87e=new MutationObserver(_0xe5c721=>{const _0x3eb2ec=_0xe5c721['filter'](_0x1cea5f=>_0x1cea5f['target']===_0x1bae40&&_0x1cea5f['addedNodes']['length']>0x0&&_0x1cea5f['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x412f86);_0x3eb2ec['length']&&(_0x4dd87e['disconnect'](),_0x18aa41(_0x3eb2ec[0x0]['addedNodes'][0x0]));});_0x4dd87e['observe'](_0x1bae40,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x3385fb){_0x3385fb['addEventListener']('apply',_0x2b9ed7=>{this['fire']('apply',{'imageSrc':_0x2b9ed7['detail']['cdnUrl']});}),_0x3385fb['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class z extends/* #__PURE__ -- @preserve */
25
+ _0x1ec15c(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x139f98,_0x28834a,_0x1f5718){super(),this['_editor']=_0x139f98,this['_dialog']=_0x28834a,this['_imageElement']=_0x1f5718,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 _0x492767=this['_imageElement'],_0x486ac8=_0x492767['getAttribute']('uploadcareImageId'),_0x492402=_0x492767['getAttribute']('src');if(_0x486ac8)await this['_loadImageInfo'](_0x486ac8,_0x492402);else{if(this['_imageCache']['has'](_0x492402)){const _0x191473=this['_imageCache']['get'](_0x492402);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x191473['url'],this['imageDimension']=_0x191473['dimension'],this['imageId']=_0x191473['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x29fe37}=this['_editor'],t=_0x29fe37['t'],_0x46485f=new Z(_0x29fe37,this['imageStatus'],this['_attributes']);_0x46485f['bind']('status')['to'](this,'imageStatus'),_0x46485f['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x46485f['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x46485f['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x46485f,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x47daa7,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x46485f,'position':_0xd032e8['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x46485f['focus']();},'onHide':()=>{_0x46485f['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x3bfe56=>!F(_0x3bfe56,_0x46485f['element'])}});}['_loadImageInfo'](_0x2b53a4,_0x14c23e){return C['getInfo'](_0x2b53a4,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x126249=>{const {width:_0x2a3401,height:_0x24b37b}=_0x126249['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x14c23e,this['imageDimension']={'width':_0x2a3401,'height':_0x24b37b},this['imageId']=_0x2b53a4;})['catch'](_0x172397=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x172397['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x53ff8b,_0x2da10c){return this['_getImageAsFile'](_0x53ff8b)['then'](_0x52a2b7=>C['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x2da10c['signal'],'file':_0x52a2b7,'onProgress':_0x2f278b=>{_0x2f278b&&_0x2f278b['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x2f278b['value']));}}))['then'](_0x49efae=>{const {width:_0x2b6a10,height:_0x3403dd}=_0x49efae['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x49efae['cdnUrl'],this['imageDimension']={'width':_0x2b6a10,'height':_0x3403dd},this['imageId']=_0x49efae['uuid'],this['imageUploadProgress']=null;const _0x924160=_0x53ff8b['getAttribute']('src');this['_imageCache']['set'](_0x924160,{'id':_0x49efae['uuid'],'url':_0x49efae['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x4ef517=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x4ef517['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x1daf4b,_0x2fcfc2){_0x1daf4b['on']('apply',(_0x4c6447,_0xcfe3fa)=>{this['_replaceImage'](_0x2fcfc2,_0xcfe3fa['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x1daf4b['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x1daf4b['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x2ff827,_0x58f08c,_0x37a888){const _0x22fb76=this['_editor'],{width:_0x2ac073,height:_0x5695e5}=A(_0x58f08c,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x28599a,imageSources:_0x1ece05}=E(_0x58f08c,_0x2ac073);_0x22fb76['model']['change'](_0x1752d5=>{if('$graveyard'===_0x2ff827['root']['rootName']){_0x22fb76['execute']('insertImage',{'imageType':_0x2ff827['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x2ff827['getAttributes']()),'uploadcareImageId':_0x37a888,'src':_0x28599a,'sources':_0x1ece05,'width':_0x2ac073,'height':_0x5695e5}});const _0x3744fd=_0x2ff827['getChildren']();_0x2ff827=_0x22fb76['model']['document']['selection']['getSelectedElement']();for(const _0x3dc0d7 of _0x3744fd)_0x1752d5['append'](_0x1752d5['cloneElement'](_0x3dc0d7),_0x2ff827);}else _0x1752d5['setSelection'](_0x2ff827,'on'),_0x22fb76['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x2ff827['getAttributes']()),'uploadcareImageId':_0x37a888,'src':_0x28599a,'sources':_0x1ece05,'width':_0x2ac073,'height':_0x5695e5},_0x2ff827);_0x1752d5['setSelection'](_0x2ff827,'on');});}async['_getImageAsFile'](_0x125c71){const _0x9325e0=_0x4123dd['window'],_0x44b38f=_0x4123dd['document']['location']['href'],_0x150592=new _0x9325e0['URL'](_0x125c71['getAttribute']('src'),_0x44b38f);if('data:'===_0x150592['protocol']){const _0x2dd0b5=_0x150592['href']['split'](','),_0x27bc88=_0x2dd0b5[0x0]['match'](/:(.*?);/)[0x1],_0x3893c7=_0x27bc88['split']('/')[0x1],_0x31ece7=_0x9325e0['atob'](_0x2dd0b5[_0x2dd0b5['length']-0x1]);let _0x3bb3e0=_0x31ece7['length'];const _0x32e983=new _0x9325e0['Uint8Array'](_0x3bb3e0);for(;_0x3bb3e0--;)_0x32e983[_0x3bb3e0]=_0x31ece7['charCodeAt'](_0x3bb3e0);return new _0x9325e0['File']([_0x32e983],'image.'+_0x3893c7,{'type':_0x27bc88});}const _0x4de852=_0x150592['href']['split']('/'),_0x326c08=_0x4de852[_0x4de852['length']-0x1],_0x2fccff=_0x326c08['split']('.')[0x1];return _0x9325e0['fetch'](_0x150592['href'])['then'](_0x564bf5=>_0x564bf5['clone']()['blob']())['then'](_0x22abf9=>new _0x9325e0['File']([_0x22abf9],_0x326c08,{'type':'image/'+_0x2fccff}));}}class J extends _0x1fc00a{['imageEditController'];static get['requires'](){return[_0x232ec6];}['_isEditable'];constructor(_0x3957b0){super(_0x3957b0),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x1bd2eb){const _0x461370=V(_0x1bd2eb);return _0x2702df=>!(!_0x2702df||!_0x2702df['is']('element','imageBlock')&&!_0x2702df['is']('element','imageInline'))&&(!!_0x2702df['hasAttribute']('uploadcareImageId')||!!_0x2702df['hasAttribute']('src')&&_0x461370(_0x2702df['getAttribute']('src')));}(_0x3957b0['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x283258=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x283258);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x59362c=this['editor']['model']['document']['selection']['getSelectedElement']();_0x59362c&&(_0x59362c['is']('element','imageBlock')||_0x59362c['is']('element','imageInline'))&&(this['imageEditController']=new z(this['editor'],this['editor']['plugins']['get'](_0x232ec6),_0x59362c),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class O extends _0x1fc00a{['refresh'](){const _0x4d2521=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x4d2521&&(_0x4d2521['is']('element','imageBlock')||_0x4d2521['is']('element','imageInline')));}['execute'](_0x546007){const _0xa3595d=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x5e7815=>{_0x5e7815['setAttributes'](_0x546007,_0xa3595d),_0x5e7815['removeAttribute']('srcset',_0xa3595d),_0x5e7815['removeAttribute']('sizes',_0xa3595d);});}}class g extends _0x397c76{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[i,_0xea9747,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x18ed07}=this;_0x18ed07['commands']['add']('uploadcareImageEdit',new J(_0x18ed07)),_0x18ed07['commands']['add']('uploadcareImageReplace',new O(_0x18ed07));}}class j extends _0x397c76{['_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 _0x967f95=this['editor'];_0x967f95['ui']['componentFactory']['add']('uploadcareImageEdit',_0x262a4f=>{const _0x50dc61=_0x967f95['commands']['get']('uploadcareImageEdit'),_0x303cd9=new _0x23acc8(_0x262a4f),t=_0x262a4f['t'];return _0x303cd9['set']({'icon':_0x47daa7,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x303cd9['bind']('isEnabled')['to'](_0x50dc61),_0x303cd9['bind']('isOn')['to'](_0x50dc61,'isActive'),this['listenTo'](_0x303cd9,'execute',()=>{_0x967f95['execute']('uploadcareImageEdit'),_0x967f95['editing']['view']['focus']();}),_0x303cd9;}),this['_initConfig']();}['_initConfig'](){const _0x1bc7e1=_0x26b0d3(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x1bc7e1),this['listenTo'](this['editor'],'destroy',()=>{_0x1bc7e1['remove']();});}}class P extends _0x397c76{static get['pluginName'](){return'UploadcareImageEdit';}static get['requires'](){return[g,j];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{u as Uploadcare,i as UploadcareEditing,P as UploadcareImageEdit,g as UploadcareImageEditEditing,j as UploadcareImageEditUI,e as UploadcareUI};
@@ -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':_0x5adc27=>0x1!=_0x5adc27}};
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':_0x364a31=>0x1!=_0x364a31}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x537c83=>{const {af:{dictionary:_0x218cce,getPluralForm:_0xf6ebc0}}={'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':_0x1afd75=>0x1!=_0x1afd75}};_0x537c83['af']||={'dictionary':{},'getPluralForm':null},_0x537c83['af']['dictionary']=Object['assign'](_0x537c83['af']['dictionary'],_0x218cce),_0x537c83['af']['getPluralForm']=_0xf6ebc0;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x40ae36=>{const {af:{dictionary:_0x3b7007,getPluralForm:_0x2abb77}}={'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':_0x56c5b3=>0x1!=_0x56c5b3}};_0x40ae36['af']||={'dictionary':{},'getPluralForm':null},_0x40ae36['af']['dictionary']=Object['assign'](_0x40ae36['af']['dictionary'],_0x3b7007),_0x40ae36['af']['getPluralForm']=_0x2abb77;})(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':_0x19d3ca=>0x0==_0x19d3ca?0x0:0x1==_0x19d3ca?0x1:0x2==_0x19d3ca?0x2:_0x19d3ca%0x64>=0x3&&_0x19d3ca%0x64<=0xa?0x3:_0x19d3ca%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':_0x408652=>0x0==_0x408652?0x0:0x1==_0x408652?0x1:0x2==_0x408652?0x2:_0x408652%0x64>=0x3&&_0x408652%0x64<=0xa?0x3:_0x408652%0x64>=0xb?0x4:0x5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x1a1783=>{const {ar:{dictionary:_0x314548,getPluralForm:_0x2bfe61}}={'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':_0x2f37db=>0x0==_0x2f37db?0x0:0x1==_0x2f37db?0x1:0x2==_0x2f37db?0x2:_0x2f37db%0x64>=0x3&&_0x2f37db%0x64<=0xa?0x3:_0x2f37db%0x64>=0xb?0x4:0x5}};_0x1a1783['ar']||={'dictionary':{},'getPluralForm':null},_0x1a1783['ar']['dictionary']=Object['assign'](_0x1a1783['ar']['dictionary'],_0x314548),_0x1a1783['ar']['getPluralForm']=_0x2bfe61;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x1b964a=>{const {ar:{dictionary:_0xe9f35a,getPluralForm:_0xfe7a8c}}={'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':_0x237ff6=>0x0==_0x237ff6?0x0:0x1==_0x237ff6?0x1:0x2==_0x237ff6?0x2:_0x237ff6%0x64>=0x3&&_0x237ff6%0x64<=0xa?0x3:_0x237ff6%0x64>=0xb?0x4:0x5}};_0x1b964a['ar']||={'dictionary':{},'getPluralForm':null},_0x1b964a['ar']['dictionary']=Object['assign'](_0x1b964a['ar']['dictionary'],_0xe9f35a),_0x1b964a['ar']['getPluralForm']=_0xfe7a8c;})(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':_0x2763e2=>0x1!=_0x2763e2}};
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':_0x2fed79=>0x1!=_0x2fed79}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x3041b2=>{const {ast:{dictionary:_0x3e0fba,getPluralForm:_0x57519b}}={'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':_0x3e5812=>0x1!=_0x3e5812}};_0x3041b2['ast']||={'dictionary':{},'getPluralForm':null},_0x3041b2['ast']['dictionary']=Object['assign'](_0x3041b2['ast']['dictionary'],_0x3e0fba),_0x3041b2['ast']['getPluralForm']=_0x57519b;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x4d99ff=>{const {ast:{dictionary:_0x18d9ca,getPluralForm:_0x39c179}}={'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':_0x12ac84=>0x1!=_0x12ac84}};_0x4d99ff['ast']||={'dictionary':{},'getPluralForm':null},_0x4d99ff['ast']['dictionary']=Object['assign'](_0x4d99ff['ast']['dictionary'],_0x18d9ca),_0x4d99ff['ast']['getPluralForm']=_0x39c179;})(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':_0x561e96=>0x1!=_0x561e96}};
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':_0x475b0d=>0x1!=_0x475b0d}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0xc49465=>{const {az:{dictionary:_0x655416,getPluralForm:_0x18d53c}}={'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':_0x384a60=>0x1!=_0x384a60}};_0xc49465['az']||={'dictionary':{},'getPluralForm':null},_0xc49465['az']['dictionary']=Object['assign'](_0xc49465['az']['dictionary'],_0x655416),_0xc49465['az']['getPluralForm']=_0x18d53c;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x2a513c=>{const {az:{dictionary:_0x316615,getPluralForm:_0x4462f0}}={'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':_0x122249=>0x1!=_0x122249}};_0x2a513c['az']||={'dictionary':{},'getPluralForm':null},_0x2a513c['az']['dictionary']=Object['assign'](_0x2a513c['az']['dictionary'],_0x316615),_0x2a513c['az']['getPluralForm']=_0x4462f0;})(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':_0x476ff6=>_0x476ff6%0xa==0x1&&_0x476ff6%0x64!=0xb?0x0:_0x476ff6%0xa>=0x2&&_0x476ff6%0xa<=0x4&&(_0x476ff6%0x64<0xa||_0x476ff6%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':_0x38650a=>_0x38650a%0xa==0x1&&_0x38650a%0x64!=0xb?0x0:_0x38650a%0xa>=0x2&&_0x38650a%0xa<=0x4&&(_0x38650a%0x64<0xa||_0x38650a%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x52418f=>{const {be:{dictionary:_0x12b853,getPluralForm:_0x422188}}={'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':_0x39fcc2=>_0x39fcc2%0xa==0x1&&_0x39fcc2%0x64!=0xb?0x0:_0x39fcc2%0xa>=0x2&&_0x39fcc2%0xa<=0x4&&(_0x39fcc2%0x64<0xa||_0x39fcc2%0x64>=0x14)?0x1:0x2}};_0x52418f['be']||={'dictionary':{},'getPluralForm':null},_0x52418f['be']['dictionary']=Object['assign'](_0x52418f['be']['dictionary'],_0x12b853),_0x52418f['be']['getPluralForm']=_0x422188;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x1d210e=>{const {be:{dictionary:_0x16bf36,getPluralForm:_0x3bd9fb}}={'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':_0x9a5d65=>_0x9a5d65%0xa==0x1&&_0x9a5d65%0x64!=0xb?0x0:_0x9a5d65%0xa>=0x2&&_0x9a5d65%0xa<=0x4&&(_0x9a5d65%0x64<0xa||_0x9a5d65%0x64>=0x14)?0x1:0x2}};_0x1d210e['be']||={'dictionary':{},'getPluralForm':null},_0x1d210e['be']['dictionary']=Object['assign'](_0x1d210e['be']['dictionary'],_0x16bf36),_0x1d210e['be']['getPluralForm']=_0x3bd9fb;})(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':_0x18840=>0x1!=_0x18840}};
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':_0x5420ac=>0x1!=_0x5420ac}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x508b50=>{const {bg:{dictionary:_0x1bed30,getPluralForm:_0x26ea1e}}={'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':_0x243596=>0x1!=_0x243596}};_0x508b50['bg']||={'dictionary':{},'getPluralForm':null},_0x508b50['bg']['dictionary']=Object['assign'](_0x508b50['bg']['dictionary'],_0x1bed30),_0x508b50['bg']['getPluralForm']=_0x26ea1e;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x3f2a56=>{const {bg:{dictionary:_0x559dcc,getPluralForm:_0x569c88}}={'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':_0x3bc0bb=>0x1!=_0x3bc0bb}};_0x3f2a56['bg']||={'dictionary':{},'getPluralForm':null},_0x3f2a56['bg']['dictionary']=Object['assign'](_0x3f2a56['bg']['dictionary'],_0x559dcc),_0x3f2a56['bg']['getPluralForm']=_0x569c88;})(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':_0x56815e=>0x1!=_0x56815e}};
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':_0x347494=>0x1!=_0x347494}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x5edceb=>{const {bn:{dictionary:_0x51d72f,getPluralForm:_0x326138}}={'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':_0x2a9ae4=>0x1!=_0x2a9ae4}};_0x5edceb['bn']||={'dictionary':{},'getPluralForm':null},_0x5edceb['bn']['dictionary']=Object['assign'](_0x5edceb['bn']['dictionary'],_0x51d72f),_0x5edceb['bn']['getPluralForm']=_0x326138;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x48b934=>{const {bn:{dictionary:_0xb6aa2b,getPluralForm:_0x433967}}={'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':_0x430cb6=>0x1!=_0x430cb6}};_0x48b934['bn']||={'dictionary':{},'getPluralForm':null},_0x48b934['bn']['dictionary']=Object['assign'](_0x48b934['bn']['dictionary'],_0xb6aa2b),_0x48b934['bn']['getPluralForm']=_0x433967;})(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':_0x4e5769=>_0x4e5769%0xa==0x1&&_0x4e5769%0x64!=0xb?0x0:_0x4e5769%0xa>=0x2&&_0x4e5769%0xa<=0x4&&(_0x4e5769%0x64<0xa||_0x4e5769%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':_0xe7ee07=>_0xe7ee07%0xa==0x1&&_0xe7ee07%0x64!=0xb?0x0:_0xe7ee07%0xa>=0x2&&_0xe7ee07%0xa<=0x4&&(_0xe7ee07%0x64<0xa||_0xe7ee07%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x25c4ff=>{const {bs:{dictionary:_0x3ca1d4,getPluralForm:_0x2e1328}}={'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':_0x8e91c2=>_0x8e91c2%0xa==0x1&&_0x8e91c2%0x64!=0xb?0x0:_0x8e91c2%0xa>=0x2&&_0x8e91c2%0xa<=0x4&&(_0x8e91c2%0x64<0xa||_0x8e91c2%0x64>=0x14)?0x1:0x2}};_0x25c4ff['bs']||={'dictionary':{},'getPluralForm':null},_0x25c4ff['bs']['dictionary']=Object['assign'](_0x25c4ff['bs']['dictionary'],_0x3ca1d4),_0x25c4ff['bs']['getPluralForm']=_0x2e1328;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x36d66f=>{const {bs:{dictionary:_0x3e1129,getPluralForm:_0x55583b}}={'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':_0x35f57e=>_0x35f57e%0xa==0x1&&_0x35f57e%0x64!=0xb?0x0:_0x35f57e%0xa>=0x2&&_0x35f57e%0xa<=0x4&&(_0x35f57e%0x64<0xa||_0x35f57e%0x64>=0x14)?0x1:0x2}};_0x36d66f['bs']||={'dictionary':{},'getPluralForm':null},_0x36d66f['bs']['dictionary']=Object['assign'](_0x36d66f['bs']['dictionary'],_0x3e1129),_0x36d66f['bs']['getPluralForm']=_0x55583b;})(window['CKEDITOR_TRANSLATIONS']||={});