@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-20251112.0 → 0.0.0-nightly-20251113.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (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 _0x53b6f9,Command as _0x4e6bbf}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x3ef75b,IconGooglePhotos as _0xfccbf4,IconGoogleDrive as _0x4b5db9,IconFacebook as _0x15dfe8,IconDropbox as _0x3de0ea,IconUploadcareLink as _0x275190,IconUploadcareImageUpload as _0x44cbc6,IconError as _0x2dd766,IconUploadcareImageEdit as _0x334de5}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x253b04,MenuBarMenuListItemButtonView as _0x1ac1e0,View as _0x5e6cee,FocusCycler as _0x5f3dbc,Dialog as _0x2349a4,DialogViewPosition as _0x489602,SpinnerView as _0x3248f9,IconView as _0x3ec9fb,Notification as _0x56d881}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x24c462,DomEmitterMixin as _0x21b3ca,global as _0x29d2f7,getAncestors as _0x74ca30,ObservableMixin as _0x342c1e,uid as _0x32ebb2,createElement as _0x4ccb05}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x25910c}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x2d96c4,info as _0x31436b}from'@uploadcare/upload-client';import*as _0x58322a from'@uploadcare/file-uploader';var i=function(_0x28603a){return _0x28603a['Local']='local',_0x28603a['URL']='url',_0x28603a['Dropbox']='dropbox',_0x28603a['GDrive']='gdrive',_0x28603a['Facebook']='facebook',_0x28603a['GPhotos']='gphotos',_0x28603a['OneDrive']='onedrive',_0x28603a;}({});function _(_0x116cfc,_0x45659d,_0x493c6a){const t=_0x116cfc['t'],_0x36b1a5=_0x116cfc['t'];switch(_0x45659d){case i['Local']:return{'text':_0x36b1a5('Insert'===_0x493c6a?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x36b1a5('From\x20computer')};case i['URL']:return{'text':'Insert'===_0x493c6a?_0x36b1a5('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x36b1a5('Via\x20URL')};case i['Dropbox']:return{'text':t('Insert'===_0x493c6a?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case i['Facebook']:return{'text':t('Insert'===_0x493c6a?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case i['GDrive']:return{'text':t('Insert'===_0x493c6a?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case i['GPhotos']:return{'text':t('Insert'===_0x493c6a?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case i['OneDrive']:return{'text':t('Insert'===_0x493c6a?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x45659d;}}class e extends _0x53b6f9{['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 _0x343acb=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x2cbcef;for(const _0x102a5f in _0x343acb){const _0x3039a9=_0x102a5f,_0x30612f=_0x343acb[_0x3039a9];if('uploadcareLicenseKeyValid'==_0x30612f||'uploadcareLicenseKeyInvalid'==_0x30612f||'uploadcareLicenseKeyExpired'==_0x30612f||'uploadcareLicenseKeyDomainLimit'==_0x30612f||'uploadcareLicenseKeyNotAllowed'==_0x30612f||'uploadcareLicenseKeyEvaluationLimit'==_0x30612f||'uploadcareLicenseKeyTrialLimit'==_0x30612f||'uploadcareLicenseKeyUsageLimit'==_0x30612f){delete _0x343acb[_0x3039a9],_0x2cbcef=_0x30612f,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x2cbcef&&_0x343acb['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x2cbcef&&_0x343acb['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x2cbcef&&_0x343acb['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x2cbcef&&_0x343acb['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x2cbcef&&_0x343acb['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0x2cbcef&&_0x343acb['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0x2cbcef&&_0x343acb['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x49fa78}=this,_0x47e7d7=_0x49fa78['commands']['get']('uploadcare');if(!_0x47e7d7)return;const _0x1c4bc1=this['_normalizeConfigSourceList'](_0x49fa78['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x38133e,_0x28e157)=>{const _0x262dc5=this['_getIntegrationKey'](_0x28e157['type']);return _0x38133e[_0x262dc5]||(_0x38133e[_0x262dc5]=[]),_0x38133e[_0x262dc5]['push'](_0x28e157),_0x38133e;},{});_0x49fa78['plugins']['has']('ImageInsertUI')&&_0x49fa78['commands']['get']('uploadcare')&&Object['entries'](_0x1c4bc1)['forEach'](([_0x12e7a9,_0x17a569])=>{_0x49fa78['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x12e7a9,'observable':()=>_0x47e7d7,'buttonViewCreator':()=>this['_createToolbarButton'](_0x17a569),'formViewCreator':()=>this['_createDropdownButtons'](_0x17a569),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x17a569),'override':'assetManager'!==_0x12e7a9});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x28b7bf){const {locale:_0x178223}=this['editor'];return _0x28b7bf['map'](_0x4cd1a1=>{const _0x340c13=_(_0x178223,_0x4cd1a1,'Insert');switch(_0x4cd1a1){case i['Local']:return{'icon':_0x44cbc6,'type':i['Local'],..._0x340c13};case i['URL']:return{'icon':_0x275190,'type':i['URL'],..._0x340c13};case i['Dropbox']:return{'icon':_0x3de0ea,'type':i['Dropbox'],..._0x340c13};case i['Facebook']:return{'icon':_0x15dfe8,'type':i['Facebook'],..._0x340c13};case i['GDrive']:return{'icon':_0x4b5db9,'type':i['GDrive'],..._0x340c13};case i['GPhotos']:return{'icon':_0xfccbf4,'type':i['GPhotos'],..._0x340c13};case i['OneDrive']:return{'icon':_0x3ef75b,'type':i['OneDrive'],..._0x340c13};}});}['_getIntegrationKey'](_0x395727){switch(_0x395727){case i['Local']:return'upload';case i['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x1659da,_0x2e00a7){const _0x23342d=this['editor'],_0x57984=new _0x1659da(_0x23342d['locale']),_0x370282=_0x23342d['commands']['get']('uploadcare');return _0x57984['bind']('isEnabled')['to'](_0x370282),_0x57984['on']('execute',()=>{_0x370282['execute'](_0x2e00a7);}),_0x57984;}['_createToolbarButton'](_0x1ab3bf){const {locale:_0x3456c6}=this['editor'],_0x15bd56=this['editor']['plugins']['get']('ImageInsertUI'),_0x16a174=_0x1ab3bf[0x0],_0x1f68d7=this['_createButton'](_0x253b04,_0x16a174['type']);return _0x1f68d7['icon']=_0x16a174['icon'],_0x1f68d7['bind']('label')['to'](_0x15bd56,'isImageSelected',_0x5e61b6=>_(_0x3456c6,_0x16a174['type'],_0x5e61b6?'Replace':'Insert')['text']),_0x1f68d7['tooltip']=!0x0,_0x1f68d7;}['_createDropdownButtons'](_0xf48f78){const {locale:_0x581687}=this['editor'],_0x3be71d=this['editor']['plugins']['get']('ImageInsertUI');return _0xf48f78['map'](_0x2fde6a=>{const _0x551a21=this['_createButton'](_0x253b04,_0x2fde6a['type']);return _0x551a21['withText']=!0x0,_0x551a21['icon']=_0x2fde6a['icon'],_0x551a21['bind']('label')['to'](_0x3be71d,'isImageSelected',_0x20ac65=>_(_0x581687,_0x2fde6a['type'],_0x20ac65?'Replace':'Insert')['text']),_0x551a21;});}['_createMenuBarButtons'](_0x3561e7){return _0x3561e7['map'](_0x22c47a=>{const _0x3a3c17=this['_createButton'](_0x1ac1e0,_0x22c47a['type']);return _0x3a3c17['icon']=_0x22c47a['icon'],_0x3a3c17['label']=_0x22c47a['shortText'],_0x3a3c17;});}}class F extends _0x5e6cee{['focusTracker'];['focusCycler'];constructor(_0x57e158){super(_0x57e158),this['focusTracker']=new _0x24c462(),this['focusCycler']=new _0x5f3dbc({'focusables':this['createCollection'](),'focusTracker':this['focusTracker']});}['getFocusableElement'](){return{'tag':'div','attributes':{'aria-hidden':'true','tabindex':'0'},'on':{'focus':this['bindTemplate']['to'](()=>{this['focusCycler']['fire']('forwardCycle');})}};}}class x extends F{constructor(_0x3a1258,_0x18bbf9){super(_0x3a1258),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-'+_0x18bbf9}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function C(_0x4fda34,_0x56d922){const _0x555178=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x479d1a=>_0x479d1a<=_0x56d922)['map'](_0x50e793=>_0x4fda34['replace'](/\/$/,'')+'/-/resize/'+_0x50e793+'x/\x20'+_0x50e793+'w');return{'imageFallbackUrl':_0x4fda34,'imageSources':[{'srcset':_0x555178['join'](',\x20'),'sizes':'(max-width:\x20'+_0x56d922+'px)\x20100vw,\x20'+_0x56d922+'px','type':'image/webp'}]};}function S(_0x164fad,_0x3011e2,_0x137a54){const _0x4bd682=_0x164fad['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x4bd682?parseInt(_0x4bd682[0x1],0xa):_0x3011e2,'height':_0x4bd682?parseInt(_0x4bd682[0x2],0xa):_0x137a54};}function p(_0x36167b,_0x4fefa8){const _0xf2467b=new(_0x21b3ca())(),_0x32799d=_0x36167b['plugins']['get']('ImageUtils'),_0x48d330=_0x36167b['editing']['mapper']['toViewElement'](_0x4fefa8),_0x31cc84=_0x32799d['findViewImgElement'](_0x48d330),_0x35655b=_0x36167b['editing']['view']['domConverter']['viewToDom'](_0x31cc84),_0x2ae4cc=_0x4fefa8['getAttribute']('width'),_0x3eec2b=_0x4fefa8['getAttribute']('height'),_0xf85285='image-processing';_0x36167b['editing']['view']['change'](_0x3aa939=>{_0x3aa939['addClass'](_0xf85285,_0x48d330),_0x3aa939['setStyle']('aspect-ratio',_0x2ae4cc+'/'+_0x3eec2b,_0x31cc84);}),_0xf2467b['listenTo'](_0x35655b,'load',()=>{_0xf2467b['stopListening'](_0x35655b,'load'),_0x36167b['editing']['view']['change'](_0x1eb55a=>{_0x1eb55a['removeClass'](_0xf85285,_0x48d330),_0x1eb55a['removeStyle']('aspect-ratio',_0x31cc84);});});}function G(_0x2ecc58){if(Array['isArray'](_0x2ecc58)){const _0x451dca=_0x2ecc58['map'](G);return _0xc3d2dc=>_0x451dca['some'](_0x394576=>_0x394576(_0xc3d2dc));}if('origin'==_0x2ecc58){const _0x22d5e0=_0x29d2f7['window']['location']['origin'];return _0x45d490=>new URL(_0x45d490,_0x29d2f7['document']['baseURI'])['origin']==_0x22d5e0;}return'function'==typeof _0x2ecc58?_0x2ecc58:_0x2ecc58 instanceof RegExp?_0x508517=>!(!_0x508517['match'](_0x2ecc58)&&!_0x508517['replace'](/^https?:\/\//,'')['match'](_0x2ecc58)):()=>!0x1;}function A(_0x3e5f0f,_0x50ffa3){return _0x74ca30(_0x3e5f0f['target'])['includes'](_0x50ffa3);}class n extends/* #__PURE__ -- @preserve */
24
- _0x342c1e(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x124649,_0x31390c,_0x10f3a4){super(),this['_editor']=_0x124649,this['_editing']=_0x31390c,this['_dialog']=_0x124649['plugins']['get'](_0x2349a4),this['_api']=_0x31390c['ctxElement']['getAPI'](),this['_type']=_0x10f3a4,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:_0x108e8a,model:_0x52931a}=this['_editor'],_0x422ab0=_0x52931a['document']['selection']['getSelectedElement'](),_0x57a80b=_0x422ab0&&(_0x422ab0['is']('element','imageBlock')||_0x422ab0['is']('element','imageInline'));this['_formView']=new x(_0x108e8a,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':_0x44cbc6,'title':_(_0x108e8a,this['_type'],_0x57a80b?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x489602['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x65d8ab=>!A(_0x65d8ab,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x256e70}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x20954d=>{const _0x5ec981=_0x256e70['length'];for(const _0x2872b8 of _0x256e70){const _0x3ac161=_0x2872b8===_0x256e70[_0x5ec981-0x1],{cdnUrl:_0x30cec6,fileInfo:_0x40646b}=_0x2872b8;if(!_0x30cec6||!_0x40646b)continue;const {width:_0x222108,height:_0x226ede}=_0x40646b['imageInfo'],_0x489a8=S(_0x30cec6,_0x222108,_0x226ede),_0x25a8d6=C(_0x30cec6,_0x489a8['width']),_0x20f488={'id':_0x40646b['uuid'],'type':'image','attributes':{'imageDimension':_0x489a8,..._0x25a8d6}};this['_insertAsset'](_0x20f488,_0x3ac161,_0x20954d);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x14441f=>{'idle'===_0x14441f['detail']['status']&&!_0x14441f['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===i['Local']?this['_api']['setCurrentActivity'](i['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x9902ac,_0x4f5e88,_0x2d577b){const _0x688244=this['_editor']['model']['document']['selection'],_0x186476=_0x688244['getSelectedElement'](),_0x205571=!(!_0x186476||!_0x186476['is']('element','imageInline'));_0x2d577b['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x9902ac,_0x205571),_0x4f5e88||_0x2d577b['setSelection'](_0x688244['getLastPosition']());}['_insertImage'](_0xdf275e,_0x25563b){const _0xa31cf1=this['_editor'],{imageDimension:_0x25270e,imageFallbackUrl:_0x5adb55,imageSources:_0xd5a83b}=_0xdf275e['attributes'];_0xa31cf1['execute']('insertImage',{'imageType':_0x25563b?'imageInline':null,'source':{'uploadcareImageId':_0xdf275e['id'],'src':_0x5adb55,'sources':_0xd5a83b,..._0x25270e}});}}class w extends _0x4e6bbf{['_editing'];['_controller']=null;static get['requires'](){return[_0x2349a4,o];}constructor(_0x3ac1bf){super(_0x3ac1bf),this['_editing']=_0x3ac1bf['plugins']['get'](o);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x8872b0){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new n(this['editor'],this['_editing'],_0x8872b0);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class j{static['upload']({file:_0x189b88,..._0x1b3daf}){return _0x2d96c4(_0x189b88,_0x1b3daf);}static['getInfo'](_0x2a39fd,_0x36fb21){return _0x31436b(_0x2a39fd,_0x36fb21);}}class f extends _0x53b6f9{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x25910c,o];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x506187=this['editor'];if(!!!_0x506187['config']['get']('uploadcare'))return;_0x506187['plugins']['get'](_0x25910c)['createUploadAdapter']=_0x55311a=>new k(_0x55311a,_0x506187),_0x506187['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x5e754f,{imageElement:_0x2880ec,data:_0x2d8f17})=>{_0x506187['model']['change'](_0x596abe=>{_0x596abe['setAttribute']('uploadcareImageId',_0x2d8f17['uploadcareImageId'],_0x2880ec);});});}}class k{['loader'];['editor'];['controller'];constructor(_0xb36552,_0x32d4c5){this['loader']=_0xb36552,this['editor']=_0x32d4c5,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x41bda1=await this['loader']['file'];return j['upload']({'file':_0x41bda1,'publicKey':this['editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':this['controller']['signal'],'onProgress':_0x4f7491=>{_0x4f7491&&_0x4f7491['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x4f7491['value']);}})['then'](async _0x9e9ea9=>{const {imageFallbackUrl:_0x470b7c,imageSources:_0x184f5c}=C(_0x9e9ea9['cdnUrl'],_0x9e9ea9['imageInfo']['width']);return{'uploadcareImageId':_0x9e9ea9['uuid'],'default':_0x470b7c,'sources':_0x184f5c};})['catch'](()=>{const _0xa21eb4=t('Cannot\x20upload\x20file:')+('\x20'+_0x41bda1['name']+'.');return Promise['reject'](_0xa21eb4);});}['abort'](){this['controller']['abort']();}}class o extends _0x53b6f9{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',f,_0x2349a4];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['ucContextId'];get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}constructor(_0x6fbffc){super(_0x6fbffc),this['ucContextId']=_0x32ebb2();}['init'](){const _0x8738d4=this['editor'];_0x8738d4['commands']['add']('uploadcare',new w(_0x8738d4));}['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 _0x4b4226=_0x29d2f7['document']['querySelector']('input[uploadcare-file-input]');_0x4b4226&&_0x4b4226['remove']();}),async function(_0x3b0c3b){const _0x164df4=_0x2ec77d([0x68,0x67,0x50,0x36,0x38,0x70,0x71,0x63,0x37,0x4f,0x42,0x4a,0x78,0x39,0x75,0x33,0x7a,0x72,0x48,0x61,0x74,0x59,0x55,0x58,0x66,0x30,0x34,0x54,0x64,0x56,0x6b,0x4d,0x46,0x6d,0x77,0x43,0x73,0x35,0x53,0x44,0x41,0x76,0x6a,0x32,0x31,0x69,0x57,0x51,0x47,0x65,0x5a,0x4b,0x4c,0x79,0x52,0x6c,0x45,0x4e,0x6e,0x6f,0x49,0x62]),_0x30f1f1=0x535f8c3a,_0x5245c3=0x5358f4da^_0x30f1f1,_0x3ffd19=window[_0x2ec77d([0x44,0x61,0x74,0x65])][_0x2ec77d([0x6e,0x6f,0x77])](),_0x27b62e=_0x3b0c3b[_0x2ec77d([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2fdde9=new window[(_0x2ec77d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x487cba=>{_0x27b62e[_0x2ec77d([0x6f,0x6e,0x63,0x65])](_0x2ec77d([0x72,0x65,0x61,0x64,0x79]),_0x487cba);}),_0x2c02be={[_0x2ec77d([0x6b,0x74,0x79])]:_0x2ec77d([0x45,0x43]),[_0x2ec77d([0x75,0x73,0x65])]:_0x2ec77d([0x73,0x69,0x67]),[_0x2ec77d([0x63,0x72,0x76])]:_0x2ec77d([0x50,0x2d,0x32,0x35,0x36]),[_0x2ec77d([0x78])]:_0x2ec77d([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]),[_0x2ec77d([0x79])]:_0x2ec77d([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]),[_0x2ec77d([0x61,0x6c,0x67])]:_0x2ec77d([0x45,0x53,0x32,0x35,0x36])},_0x1e2047=_0x27b62e[_0x2ec77d([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2ec77d([0x67,0x65,0x74])](_0x2ec77d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x2fb2e7(){let _0x34ade8,_0x2e45f3=null,_0x7d465b=null;try{if(_0x1e2047==_0x2ec77d([0x47,0x50,0x4c]))return _0x2ec77d([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x34ade8=_0x2183aa(),!_0x34ade8)return _0x2ec77d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x34ade8[_0x2ec77d([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x7d465b=_0x2f3d7b(_0x34ade8[_0x2ec77d([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x34ade8[_0x2ec77d([0x6a,0x74,0x69])])),await _0x37b39f()?_0x1758a5()?_0x41f5e4()?_0x2ec77d([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x3ae47b()?(_0x34ade8[_0x2ec77d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2ec77d([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2e45f3=_0x5c4177(_0x2ec77d([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x34ade8[_0x2ec77d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2ec77d([0x74,0x72,0x69,0x61,0x6c])&&(_0x2e45f3=_0x5c4177(_0x2ec77d([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4bfbfb()):_0x2ec77d([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2ec77d([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2ec77d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x2ec77d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x41f5e4(){const _0x4f1a31=[_0x2ec77d([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2ec77d([0x74,0x72,0x69,0x61,0x6c])][_0x2ec77d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x34ade8[_0x2ec77d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3ffd19/0x3e8:0xe10*_0x5245c3;return _0x34ade8[_0x2ec77d([0x65,0x78,0x70])]<_0x4f1a31;}function _0x1758a5(){const _0x24e6fe=_0x34ade8[_0x2ec77d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x24e6fe&&(!!_0x24e6fe[_0x2ec77d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2ec77d([0x2a]))||!!_0x24e6fe[_0x2ec77d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2ec77d([0x55,0x50,0x4c,0x43])));}function _0x3ae47b(){const _0x4b4860=_0x34ade8[_0x2ec77d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x4b4860||0x0==_0x4b4860[_0x2ec77d([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1a2b64}=new URL(window[_0x2ec77d([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x4b4860[_0x2ec77d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1a2b64))return!0x0;const _0x24ffef=_0x1a2b64[_0x2ec77d([0x73,0x70,0x6c,0x69,0x74])](_0x2ec77d([0x2e]));return _0x4b4860[_0x2ec77d([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x24d5c5=>_0x24d5c5[_0x2ec77d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2ec77d([0x2a])))[_0x2ec77d([0x6d,0x61,0x70])](_0x2daf31=>_0x2daf31[_0x2ec77d([0x73,0x70,0x6c,0x69,0x74])](_0x2ec77d([0x2e])))[_0x2ec77d([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3ad210=>_0x3ad210[_0x2ec77d([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x24ffef[_0x2ec77d([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2ec77d([0x6d,0x61,0x70])](_0x394cdf=>Array(_0x24ffef[_0x2ec77d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x394cdf[_0x2ec77d([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2ec77d([0x66,0x69,0x6c,0x6c])](_0x394cdf[0x0]===_0x2ec77d([0x2a])?_0x2ec77d([0x2a]):'')[_0x2ec77d([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x394cdf))[_0x2ec77d([0x73,0x6f,0x6d,0x65])](_0x502a09=>_0x24ffef[_0x2ec77d([0x65,0x76,0x65,0x72,0x79])]((_0x29d124,_0x198d07)=>_0x502a09[_0x198d07]===_0x29d124||_0x502a09[_0x198d07]===_0x2ec77d([0x2a])));}function _0x4bfbfb(){return _0x2e45f3&&_0x7d465b?new window[(_0x2ec77d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x162813,_0x11f1e1)=>{_0x2e45f3[_0x2ec77d([0x74,0x68,0x65,0x6e])](_0x162813,_0x11f1e1),_0x7d465b[_0x2ec77d([0x74,0x68,0x65,0x6e])](_0x5343b4=>{_0x5343b4!=_0x2ec77d([0x56,0x61,0x6c,0x69,0x64])&&_0x162813(_0x5343b4);},_0x11f1e1);}):_0x2e45f3||_0x7d465b||_0x2ec77d([0x56,0x61,0x6c,0x69,0x64]);}}function _0x2f3d7b(_0x2396b0,_0x5ef0e1){return new window[(_0x2ec77d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5e904c=>{if(_0x2d831a())return _0x5e904c(_0x2ec77d([0x56,0x61,0x6c,0x69,0x64]));_0x160237(),_0x27b62e[_0x2ec77d([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2ec77d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x5d9a7d=!0x1;const _0x41be95=_0x32ebb2();function _0x1c3adc(_0x29adf4){return!!_0x29adf4&&(typeof _0x29adf4===_0x2ec77d([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x29adf4===_0x2ec77d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x29adf4[_0x2ec77d([0x74,0x68,0x65,0x6e])]===_0x2ec77d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x29adf4[_0x2ec77d([0x63,0x61,0x74,0x63,0x68])]===_0x2ec77d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x59d8eb(_0x3b94d6){_0x27423f(_0x3b94d6)[_0x2ec77d([0x74,0x68,0x65,0x6e])](_0x5599fa=>{if(!_0x5599fa||_0x5599fa[_0x2ec77d([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2ec77d([0x6f,0x6b]))return _0x2ec77d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1a9edc(_0x140542(_0x41be95+_0x5ef0e1))!=_0x5599fa[_0x2ec77d([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2ec77d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2ec77d([0x56,0x61,0x6c,0x69,0x64]);})[_0x2ec77d([0x74,0x68,0x65,0x6e])](_0x23174e=>(_0x1b4736(),_0x23174e),()=>{const _0x16fa1c=_0x41b9e5();return null==_0x16fa1c?(_0x1b4736(),_0x2ec77d([0x56,0x61,0x6c,0x69,0x64])):_0x2ec77d(_0x3ffd19-_0x16fa1c>(0x7753083a^_0x30f1f1)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2ec77d([0x74,0x68,0x65,0x6e])](_0x5e904c)[_0x2ec77d([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5e904c(_0x2ec77d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5b647b=0x536962ba^_0x30f1f1;function _0x1b4736(){const _0x1a834d=_0x2ec77d([0x6c,0x6c,0x63,0x74,0x2d])+_0x1a9edc(_0x140542(_0x2396b0)),_0x2fdcd0=_0xeea380(_0x1a9edc(window[_0x2ec77d([0x4d,0x61,0x74,0x68])][_0x2ec77d([0x63,0x65,0x69,0x6c])](_0x3ffd19/_0x5b647b)));window[_0x2ec77d([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2ec77d([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1a834d,_0x2fdcd0);}function _0x41b9e5(){const _0x216fc4=_0x2ec77d([0x6c,0x6c,0x63,0x74,0x2d])+_0x1a9edc(_0x140542(_0x2396b0)),_0x305b5c=window[_0x2ec77d([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2ec77d([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x216fc4);return _0x305b5c?window[_0x2ec77d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xeea380(_0x305b5c),0x10)*_0x5b647b:null;}function _0x27423f(_0x5ae5c7){return new window[(_0x2ec77d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1cc165,_0x4a8054)=>{_0x5ae5c7[_0x2ec77d([0x74,0x68,0x65,0x6e])](_0x1cc165,_0x4a8054),window[_0x2ec77d([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x4a8054,0x535e58fa^_0x30f1f1);});}}_0x27b62e[_0x2ec77d([0x6f,0x6e])](_0x2ec77d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1f7c77,_0x4836e2)=>{if(_0x4836e2[0x0]!=_0x2396b0)return _0x5e904c(_0x2ec77d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4836e2[0x1]={..._0x4836e2[0x1],[_0x2ec77d([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x41be95};},{[_0x2ec77d([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2ec77d([0x68,0x69,0x67,0x68])}),_0x27b62e[_0x2ec77d([0x6f,0x6e])](_0x2ec77d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x52e847=>{_0x1c3adc(_0x52e847[_0x2ec77d([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x5d9a7d=!0x0,_0x59d8eb(_0x52e847[_0x2ec77d([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2ec77d([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2ec77d([0x6c,0x6f,0x77])}),_0x2fdde9[_0x2ec77d([0x74,0x68,0x65,0x6e])](()=>{_0x5d9a7d||_0x5e904c(_0x2ec77d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2d831a(){return _0x27b62e[_0x2ec77d([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2ec77d([0x76,0x69,0x65,0x77])][_0x2ec77d([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2ec77d([0x61,0x75,0x74,0x6f]);}function _0x160237(){_0x27b62e[_0x2ec77d([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2ec77d([0x76,0x69,0x65,0x77])][_0x2ec77d([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2ec77d([0x61,0x75,0x74,0x6f]);}}function _0x5c4177(_0xbf36d){const _0x326c3c=[new window[(_0x2ec77d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x50dc06=>setTimeout(_0x50dc06,0x5356b2f6^_0x30f1f1)),_0x2fdde9[_0x2ec77d([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2ec77d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1211e4=>{let _0xeb0e44=0x0;_0x27b62e[_0x2ec77d([0x6d,0x6f,0x64,0x65,0x6c])][_0x2ec77d([0x6f,0x6e])](_0x2ec77d([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x212731,_0x5d2d0c)=>{_0x5d2d0c[0x0][_0x2ec77d([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0xeb0e44++,_0xeb0e44==(0x535f8dc2^_0x30f1f1)&&(_0x1211e4(),_0x212731[_0x2ec77d([0x6f,0x66,0x66])]());});}))];return window[_0x2ec77d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2ec77d([0x72,0x61,0x63,0x65])](_0x326c3c)[_0x2ec77d([0x74,0x68,0x65,0x6e])](()=>_0xbf36d);}async function _0x564de8(){await _0x2fdde9,_0x27b62e[_0x2ec77d([0x6d,0x6f,0x64,0x65,0x6c])][_0x2ec77d([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x57686b,_0x27b62e[_0x2ec77d([0x6d,0x6f,0x64,0x65,0x6c])][_0x2ec77d([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x57686b,_0x27b62e[_0x2ec77d([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2ec77d([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x34549f(_0x1f5079){const _0x3e66a2=_0x339c9a();_0x27b62e[_0x3e66a2]=_0x2ec77d([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x1f5079,_0x1f5079!=_0x2ec77d([0x56,0x61,0x6c,0x69,0x64])&&_0x564de8();}function _0x339c9a(){const _0x13949e=window[_0x2ec77d([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2ec77d([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2ec77d([0x6e,0x6f,0x77])]())[_0x2ec77d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2ec77d([0x2e]),'');let _0x312a7d=_0x2ec77d([0x68]);for(let _0x1beaa=0x0;_0x1beaa<_0x13949e[_0x2ec77d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1beaa+=0x2){let _0x15451b=window[_0x2ec77d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x13949e[_0x2ec77d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1beaa,_0x1beaa+0x2));_0x15451b>=_0x164df4[_0x2ec77d([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x15451b-=_0x164df4[_0x2ec77d([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x312a7d+=_0x164df4[_0x15451b];}return _0x312a7d;}function _0x2183aa(){const _0x1a9209=_0x1e2047[_0x2ec77d([0x73,0x70,0x6c,0x69,0x74])](_0x2ec77d([0x2e]));if(0x3!=_0x1a9209[_0x2ec77d([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x20a37b(_0x1a9209[0x1]);function _0x20a37b(_0x25838f){const _0x1e5555=_0x44c071(_0x25838f);return _0x1e5555&&_0x363bef()?_0x1e5555:null;function _0x363bef(){const _0x5dc4eb=_0x1e5555[_0x2ec77d([0x6a,0x74,0x69])],_0x5af23e=window[_0x2ec77d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5dc4eb[_0x2ec77d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5dc4eb[_0x2ec77d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x364bb3={..._0x1e5555,[_0x2ec77d([0x6a,0x74,0x69])]:_0x5dc4eb[_0x2ec77d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x5dc4eb[_0x2ec77d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x364bb3[_0x2ec77d([0x76,0x63])],_0x140542(_0x364bb3)==_0x5af23e;}}}async function _0x37b39f(){let _0x397ecb=!0x0;try{const _0x2e8708=_0x1e2047[_0x2ec77d([0x73,0x70,0x6c,0x69,0x74])](_0x2ec77d([0x2e])),[_0x299e27,_0x402b24,_0x20bb0e]=_0x2e8708;return _0x286bdc(_0x299e27),await _0xdbb45b(_0x299e27,_0x402b24,_0x20bb0e),_0x397ecb;}catch{return!0x1;}function _0x286bdc(_0x5a0221){const _0x343688=_0x44c071(_0x5a0221);_0x343688&&_0x343688[_0x2ec77d([0x61,0x6c,0x67])]==_0x2ec77d([0x45,0x53,0x32,0x35,0x36])||(_0x397ecb=!0x1);}async function _0xdbb45b(_0x54de59,_0x46ac25,_0xa409c3){const _0x1394c2=window[_0x2ec77d([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2ec77d([0x66,0x72,0x6f,0x6d])](_0xb93655(_0xa409c3),_0x706466=>_0x706466[_0x2ec77d([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2c8bae=new window[(_0x2ec77d([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2ec77d([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x54de59+_0x2ec77d([0x2e])+_0x46ac25),_0x396945=window[_0x2ec77d([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2ec77d([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x396945)return;const _0x206a3a=await _0x396945[_0x2ec77d([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2ec77d([0x6a,0x77,0x6b]),_0x2c02be,{[_0x2ec77d([0x6e,0x61,0x6d,0x65])]:_0x2ec77d([0x45,0x43,0x44,0x53,0x41]),[_0x2ec77d([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2ec77d([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2ec77d([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x396945[_0x2ec77d([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2ec77d([0x6e,0x61,0x6d,0x65])]:_0x2ec77d([0x45,0x43,0x44,0x53,0x41]),[_0x2ec77d([0x68,0x61,0x73,0x68])]:{[_0x2ec77d([0x6e,0x61,0x6d,0x65])]:_0x2ec77d([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x206a3a,_0x1394c2,_0x2c8bae)||(_0x397ecb=!0x1);}}function _0x44c071(_0x4aba37){return _0x4aba37[_0x2ec77d([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2ec77d([0x65,0x79]))?JSON[_0x2ec77d([0x70,0x61,0x72,0x73,0x65])](_0xb93655(_0x4aba37)):null;}function _0xb93655(_0xa978da){return window[_0x2ec77d([0x61,0x74,0x6f,0x62])](_0xa978da[_0x2ec77d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2ec77d([0x2b]))[_0x2ec77d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2ec77d([0x2f])));}function _0x140542(_0x21c90b){let _0x4925a0=0x1505;function _0x502fd5(_0x3b883b){for(let _0x307a28=0x0;_0x307a28<_0x3b883b[_0x2ec77d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x307a28++){const _0x54cb74=_0x3b883b[_0x2ec77d([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x307a28);_0x4925a0=(_0x4925a0<<0x5)+_0x4925a0+_0x54cb74,_0x4925a0&=_0x4925a0;}}function _0x2ccd71(_0x188e35){Array[_0x2ec77d([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x188e35)?_0x188e35[_0x2ec77d([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2ccd71):_0x188e35&&typeof _0x188e35==_0x2ec77d([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2ec77d([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x188e35)[_0x2ec77d([0x73,0x6f,0x72,0x74])]()[_0x2ec77d([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x417943,_0x562db0])=>{_0x502fd5(_0x417943),_0x2ccd71(_0x562db0);}):_0x502fd5(window[_0x2ec77d([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x188e35));}return _0x2ccd71(_0x21c90b),_0x4925a0>>>0x0;}function _0x1a9edc(_0x509d41){return _0x509d41[_0x2ec77d([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2ec77d([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2ec77d([0x30]));}function _0xeea380(_0x534fd4){return _0x534fd4[_0x2ec77d([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2ec77d([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2ec77d([0x6a,0x6f,0x69,0x6e])]('');}function _0x57686b(){}function _0x2ec77d(_0x3693c5){return _0x3693c5['map'](_0x5e1a8a=>String['fromCharCode'](_0x5e1a8a))['join']('');}_0x34549f(await _0x2fb2e7());}(this);}['_initSchema'](){const _0x333c85=this['editor']['model']['schema'];_0x333c85['isRegistered']('imageBlock')&&_0x333c85['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x333c85['isRegistered']('imageInline')&&_0x333c85['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x43d266=this['editor'];_0x43d266['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x43d266['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x3c5afe=>_0x3c5afe['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x1b4865=_0x43d266['commands']['get']('replaceImageSource');_0x1b4865&&this['listenTo'](_0x1b4865,'cleanupImage',(_0x4f162e,[_0x5c1e6a,_0x274fc2])=>{_0x5c1e6a['removeAttribute']('uploadcareImageId',_0x274fc2);});}['_initConfig'](){const _0x384434=this['editor']['config']['get']('uploadcare.uploader')||{},_0x593872=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x4ccb05(_0x29d2f7['document'],'uc-config',{..._0x384434,'pubkey':_0x593872,'ctx-name':'uploader-'+this['ucContextId'],'sourceList':'','imgOnly':'true','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage'],'externalSourcesEmbedCss':'\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup\x20{\x20padding:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-menu\x20{\x20gap:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-footer\x20{\x20padding-top:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__separator\x20{\x20margin:\x200;\x20}\x0a\x09\x09\x09'}),this['_configElement']['iconHrefResolver']=_0x57397f=>{if('closeMax'==_0x57397f)return'#uc-icon-arrow-down';},_0x29d2f7['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x4ccb05(_0x29d2f7['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),_0x29d2f7['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x4800ac=this['editor']['commands']['get']('insertImage');_0x4800ac&&this['listenTo'](_0x4800ac,'execute',()=>{const _0x1d3291=this['editor']['model']['document']['selection']['getSelectedElement']();_0x1d3291&&_0x1d3291['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x1d3291);});});const _0x5b6595=this['editor']['commands']['get']('uploadcareImageReplace');_0x5b6595&&this['listenTo'](_0x5b6595,'execute',()=>{const _0x23cd22=this['editor']['model']['document']['selection']['getSelectedElement']();_0x23cd22&&_0x23cd22['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x23cd22);});});}}class tt extends _0x53b6f9{static get['requires'](){return[o,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x16f9ac){super(_0x16f9ac),_0x16f9ac['config']['define']('uploadcare.uploader.sourceList',[i['Local'],i['URL']]),_0x58322a['defineComponents'](_0x58322a),this['_defineLocale']();}['_defineLocale'](){const _0x51ac03=this['editor']['config']['get']('uploadcare.locale'),_0x456a21=this['editor']['locale']['contentLanguage'];_0x51ac03&&_0x58322a['defineLocale'](_0x456a21,_0x51ac03);}}class ii extends _0x5e6cee{constructor(_0x489b7f){super(_0x489b7f);const t=_0x489b7f['t'],_0x453285=this['bindTemplate'],_0x47cd11=new _0x3248f9();_0x47cd11['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':[_0x47cd11,{'text':_0x453285['to']('imageUploadProgress',_0x5b6ea4=>t('Loading\x20image...')+'\x20('+(_0x5b6ea4||0x0)+'%)')}]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}class ti extends _0x5e6cee{constructor(_0x50d840){super(_0x50d840);const t=_0x50d840['t'];this['set']('errorType',null);const _0x1d0aca=new _0x253b04(_0x50d840);_0x1d0aca['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x1d0aca['withText']=!0x0,_0x1d0aca['class']='ck-button-action',_0x1d0aca['on']('execute',()=>{this['fire']('retry');}),_0x1d0aca['bind']('isVisible')['to'](this,'errorType',_0xafe5d8=>'NotFound'!==_0xafe5d8);const _0x4a70ed=new _0x3ec9fb();_0x4a70ed['content']=_0x2dd766,_0x4a70ed['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x1577ae=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':[_0x4a70ed,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x1577ae['to']('errorType',_0x2cf4fb=>t('NotFound'!==_0x2cf4fb?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x1d0aca]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}class ei extends _0x5e6cee{constructor(_0x354b45,_0x10b28c){super(_0x354b45);const _0x54e2c0=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x10b28c,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x54e2c0['to']('imageSrc')}});}}class X extends F{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x3b14f6,_0x4fec03,_0x28176b){super(_0x3b14f6),this['_items']=this['createCollection'](),this['_loadingView']=new ii(_0x3b14f6),this['_errorView']=new ti(_0x3b14f6),this['_editingView']=new ei(_0x3b14f6,_0x28176b),this['_focusableView']=new _0x5e6cee(_0x3b14f6),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x4fec03),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'],_0x242559=>{this['_addUploadcareImageEditorListeners'](_0x242559);});}),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'](_0x49e2a1,_0x168489){const _0x5d5324='uc-cloud-image-editor',_0x4c46d8=_0x49e2a1['querySelector'](_0x5d5324);if(_0x4c46d8)return _0x168489(_0x4c46d8);const _0x8fa168=new MutationObserver(_0x172d77=>{const _0x5ab932=_0x172d77['filter'](_0x461af1=>_0x461af1['target']===_0x49e2a1&&_0x461af1['addedNodes']['length']>0x0&&_0x461af1['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x5d5324);_0x5ab932['length']&&(_0x8fa168['disconnect'](),_0x168489(_0x5ab932[0x0]['addedNodes'][0x0]));});_0x8fa168['observe'](_0x49e2a1,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x1a1a18){_0x1a1a18['addEventListener']('apply',_0x8a7ec9=>{this['fire']('apply',{'imageSrc':_0x8a7ec9['detail']['cdnUrl']});}),_0x1a1a18['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class E extends/* #__PURE__ -- @preserve */
25
- _0x342c1e(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x3fcf4c,_0x5c02da,_0x4cabd2){super(),this['_editor']=_0x3fcf4c,this['_dialog']=_0x5c02da,this['_imageElement']=_0x4cabd2,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 _0x1b8735=this['_imageElement'],_0x1ff06c=_0x1b8735['getAttribute']('uploadcareImageId'),_0x1869f8=_0x1b8735['getAttribute']('src');if(_0x1ff06c)await this['_loadImageInfo'](_0x1ff06c,_0x1869f8);else{if(this['_imageCache']['has'](_0x1869f8)){const _0x51fd30=this['_imageCache']['get'](_0x1869f8);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x51fd30['url'],this['imageDimension']=_0x51fd30['dimension'],this['imageId']=_0x51fd30['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x4dab44}=this['_editor'],t=_0x4dab44['t'],_0x54d854=new X(_0x4dab44,this['imageStatus'],this['_attributes']);_0x54d854['bind']('status')['to'](this,'imageStatus'),_0x54d854['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x54d854['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x54d854['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x54d854,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x334de5,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x54d854,'position':_0x489602['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x54d854['focus']();},'onHide':()=>{_0x54d854['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x4e6b21=>!A(_0x4e6b21,_0x54d854['element'])}});}['_loadImageInfo'](_0x143e60,_0x9674b9){return j['getInfo'](_0x143e60,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x62e7c1=>{const {width:_0x29f638,height:_0x44a699}=_0x62e7c1['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x9674b9,this['imageDimension']={'width':_0x29f638,'height':_0x44a699},this['imageId']=_0x143e60;})['catch'](_0xfe5059=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0xfe5059['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x6be610,_0x1c805a){return this['_getImageAsFile'](_0x6be610)['then'](_0x42b5c3=>j['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['_editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':_0x1c805a['signal'],'file':_0x42b5c3,'onProgress':_0x9cd7d4=>{_0x9cd7d4&&_0x9cd7d4['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x9cd7d4['value']));}}))['then'](_0x3a8eba=>{const {width:_0x57a082,height:_0x1f041f}=_0x3a8eba['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x3a8eba['cdnUrl'],this['imageDimension']={'width':_0x57a082,'height':_0x1f041f},this['imageId']=_0x3a8eba['uuid'],this['imageUploadProgress']=null;const _0x25416b=_0x6be610['getAttribute']('src');this['_imageCache']['set'](_0x25416b,{'id':_0x3a8eba['uuid'],'url':_0x3a8eba['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x729c76=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x729c76['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x2caa0e,_0x10c864){_0x2caa0e['on']('apply',(_0x120ec6,_0x3ff820)=>{this['_replaceImage'](_0x10c864,_0x3ff820['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x2caa0e['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x2caa0e['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x57ad00,_0x5b7b90,_0x45a64c){const _0x362a5e=this['_editor'],{width:_0xa8988,height:_0x4f3080}=S(_0x5b7b90,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x29cd61,imageSources:_0x482850}=C(_0x5b7b90,_0xa8988);_0x362a5e['model']['change'](_0x304cd0=>{if('$graveyard'===_0x57ad00['root']['rootName']){_0x362a5e['execute']('insertImage',{'imageType':_0x57ad00['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x57ad00['getAttributes']()),'uploadcareImageId':_0x45a64c,'src':_0x29cd61,'sources':_0x482850,'width':_0xa8988,'height':_0x4f3080}});const _0x326641=_0x57ad00['getChildren']();_0x57ad00=_0x362a5e['model']['document']['selection']['getSelectedElement']();for(const _0x55fe06 of _0x326641)_0x304cd0['append'](_0x304cd0['cloneElement'](_0x55fe06),_0x57ad00);}else _0x304cd0['setSelection'](_0x57ad00,'on'),_0x362a5e['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x57ad00['getAttributes']()),'uploadcareImageId':_0x45a64c,'src':_0x29cd61,'sources':_0x482850,'width':_0xa8988,'height':_0x4f3080},_0x57ad00);_0x304cd0['setSelection'](_0x57ad00,'on');});}async['_getImageAsFile'](_0x12a657){const _0x1640bb=_0x29d2f7['window'],_0x617b65=_0x29d2f7['document']['location']['href'],_0x4edf4d=new _0x1640bb['URL'](_0x12a657['getAttribute']('src'),_0x617b65);if('data:'===_0x4edf4d['protocol']){const _0x4a1597=_0x4edf4d['href']['split'](','),_0x2216aa=_0x4a1597[0x0]['match'](/:(.*?);/)[0x1],_0x2c842d=_0x2216aa['split']('/')[0x1],_0x49c591=_0x1640bb['atob'](_0x4a1597[_0x4a1597['length']-0x1]);let _0x2f2b0d=_0x49c591['length'];const _0x7e4357=new _0x1640bb['Uint8Array'](_0x2f2b0d);for(;_0x2f2b0d--;)_0x7e4357[_0x2f2b0d]=_0x49c591['charCodeAt'](_0x2f2b0d);return new _0x1640bb['File']([_0x7e4357],'image.'+_0x2c842d,{'type':_0x2216aa});}const _0x48023c=_0x4edf4d['href']['split']('/'),_0x43a069=_0x48023c[_0x48023c['length']-0x1],_0x30ed19=_0x43a069['split']('.')[0x1];return _0x1640bb['fetch'](_0x4edf4d['href'])['then'](_0x5588e1=>_0x5588e1['clone']()['blob']())['then'](_0x3f8016=>new _0x1640bb['File']([_0x3f8016],_0x43a069,{'type':'image/'+_0x30ed19}));}}class O extends _0x4e6bbf{['imageEditController'];static get['requires'](){return[_0x2349a4];}['_isEditable'];constructor(_0x437719){super(_0x437719),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x56aab1){const _0x5afb0b=G(_0x56aab1);return _0xf1a423=>!(!_0xf1a423||!_0xf1a423['is']('element','imageBlock')&&!_0xf1a423['is']('element','imageInline'))&&(!!_0xf1a423['hasAttribute']('uploadcareImageId')||!!_0xf1a423['hasAttribute']('src')&&_0x5afb0b(_0xf1a423['getAttribute']('src')));}(_0x437719['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x8af4a3=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x8af4a3);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x11113e=this['editor']['model']['document']['selection']['getSelectedElement']();_0x11113e&&(_0x11113e['is']('element','imageBlock')||_0x11113e['is']('element','imageInline'))&&(this['imageEditController']=new E(this['editor'],this['editor']['plugins']['get'](_0x2349a4),_0x11113e),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class R extends _0x4e6bbf{['refresh'](){const _0x35a1b9=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x35a1b9&&(_0x35a1b9['is']('element','imageBlock')||_0x35a1b9['is']('element','imageInline')));}['execute'](_0x6e4770){const _0x5ea56=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x4b8975=>{_0x4b8975['setAttributes'](_0x6e4770,_0x5ea56),_0x4b8975['removeAttribute']('srcset',_0x5ea56),_0x4b8975['removeAttribute']('sizes',_0x5ea56);});}}class m extends _0x53b6f9{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[o,_0x56d881,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x30944f}=this;_0x30944f['commands']['add']('uploadcareImageEdit',new O(_0x30944f)),_0x30944f['commands']['add']('uploadcareImageReplace',new R(_0x30944f));}}class g extends _0x53b6f9{['_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 _0x2e8f54=this['editor'];_0x2e8f54['ui']['componentFactory']['add']('uploadcareImageEdit',_0x270bcc=>{const _0x374e0e=_0x2e8f54['commands']['get']('uploadcareImageEdit'),_0x4b80f8=new _0x253b04(_0x270bcc),t=_0x270bcc['t'];return _0x4b80f8['set']({'icon':_0x334de5,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x4b80f8['bind']('isEnabled')['to'](_0x374e0e),_0x4b80f8['bind']('isOn')['to'](_0x374e0e,'isActive'),this['listenTo'](_0x4b80f8,'execute',()=>{_0x2e8f54['execute']('uploadcareImageEdit'),_0x2e8f54['editing']['view']['focus']();}),_0x4b80f8;}),this['_initConfig']();}['_initConfig'](){const _0x539d7d=_0x4ccb05(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x539d7d),this['listenTo'](this['editor'],'destroy',()=>{_0x539d7d['remove']();});}}class et extends _0x53b6f9{static get['pluginName'](){return'UploadcareImageEdit';}static get['requires'](){return[m,g];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{tt as Uploadcare,w as UploadcareCommand,o as UploadcareEditing,et as UploadcareImageEdit,O as UploadcareImageEditCommand,m as UploadcareImageEditEditing,g as UploadcareImageEditUI,e as UploadcareUI,f as UploadcareUploadAdapter};
23
+ import{Plugin as _0x13c454,Command as _0x3b9176}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x1b7f14,IconGooglePhotos as _0x2e4e24,IconGoogleDrive as _0xdd7e7f,IconFacebook as _0x3ce150,IconDropbox as _0x45350b,IconUploadcareLink as _0x6e886f,IconUploadcareImageUpload as _0x5e4b96,IconError as _0x4bf1c4,IconUploadcareImageEdit as _0x2a108d}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x24f082,MenuBarMenuListItemButtonView as _0x4cf3cc,View as _0x21e1b5,FocusCycler as _0x1985dd,Dialog as _0x492f71,DialogViewPosition as _0x32be2,SpinnerView as _0x595a7b,IconView as _0x4f7576,Notification as _0x58ed74}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x502b04,DomEmitterMixin as _0x215073,global as _0x2fd3c7,getAncestors as _0x351eb5,ObservableMixin as _0x191917,uid as _0x450375,createElement as _0x414d5f}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x5548c7}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x31df23,info as _0x322947}from'@uploadcare/upload-client';import*as _0x227f2b from'@uploadcare/file-uploader';var i=function(_0x824e43){return _0x824e43['Local']='local',_0x824e43['URL']='url',_0x824e43['Dropbox']='dropbox',_0x824e43['GDrive']='gdrive',_0x824e43['Facebook']='facebook',_0x824e43['GPhotos']='gphotos',_0x824e43['OneDrive']='onedrive',_0x824e43;}({});function _(_0x20f6ff,_0x1104e8,_0x447f5b){const t=_0x20f6ff['t'],_0x4e310d=_0x20f6ff['t'];switch(_0x1104e8){case i['Local']:return{'text':_0x4e310d('Insert'===_0x447f5b?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x4e310d('From\x20computer')};case i['URL']:return{'text':'Insert'===_0x447f5b?_0x4e310d('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x4e310d('Via\x20URL')};case i['Dropbox']:return{'text':t('Insert'===_0x447f5b?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case i['Facebook']:return{'text':t('Insert'===_0x447f5b?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case i['GDrive']:return{'text':t('Insert'===_0x447f5b?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case i['GPhotos']:return{'text':t('Insert'===_0x447f5b?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case i['OneDrive']:return{'text':t('Insert'===_0x447f5b?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x1104e8;}}class e extends _0x13c454{['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 _0x11c00b=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x4c2c53;for(const _0xebdcba in _0x11c00b){const _0x3d5a1a=_0xebdcba,_0x2bb396=_0x11c00b[_0x3d5a1a];if('uploadcareLicenseKeyValid'==_0x2bb396||'uploadcareLicenseKeyInvalid'==_0x2bb396||'uploadcareLicenseKeyExpired'==_0x2bb396||'uploadcareLicenseKeyDomainLimit'==_0x2bb396||'uploadcareLicenseKeyNotAllowed'==_0x2bb396||'uploadcareLicenseKeyEvaluationLimit'==_0x2bb396||'uploadcareLicenseKeyTrialLimit'==_0x2bb396||'uploadcareLicenseKeyUsageLimit'==_0x2bb396){delete _0x11c00b[_0x3d5a1a],_0x4c2c53=_0x2bb396,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x4c2c53&&_0x11c00b['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x4c2c53&&_0x11c00b['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x4c2c53&&_0x11c00b['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x4c2c53&&_0x11c00b['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x4c2c53&&_0x11c00b['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0x4c2c53&&_0x11c00b['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0x4c2c53&&_0x11c00b['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x153e2b}=this,_0x644f41=_0x153e2b['commands']['get']('uploadcare');if(!_0x644f41)return;const _0x4d4301=this['_normalizeConfigSourceList'](_0x153e2b['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0xc3634,_0x398e5f)=>{const _0x23f8f6=this['_getIntegrationKey'](_0x398e5f['type']);return _0xc3634[_0x23f8f6]||(_0xc3634[_0x23f8f6]=[]),_0xc3634[_0x23f8f6]['push'](_0x398e5f),_0xc3634;},{});_0x153e2b['plugins']['has']('ImageInsertUI')&&_0x153e2b['commands']['get']('uploadcare')&&Object['entries'](_0x4d4301)['forEach'](([_0x1ea865,_0x2c9af1])=>{_0x153e2b['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x1ea865,'observable':()=>_0x644f41,'buttonViewCreator':()=>this['_createToolbarButton'](_0x2c9af1),'formViewCreator':()=>this['_createDropdownButtons'](_0x2c9af1),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x2c9af1),'override':'assetManager'!==_0x1ea865});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x2ace6e){const {locale:_0x4c3366}=this['editor'];return _0x2ace6e['map'](_0x13f668=>{const _0x3252cc=_(_0x4c3366,_0x13f668,'Insert');switch(_0x13f668){case i['Local']:return{'icon':_0x5e4b96,'type':i['Local'],..._0x3252cc};case i['URL']:return{'icon':_0x6e886f,'type':i['URL'],..._0x3252cc};case i['Dropbox']:return{'icon':_0x45350b,'type':i['Dropbox'],..._0x3252cc};case i['Facebook']:return{'icon':_0x3ce150,'type':i['Facebook'],..._0x3252cc};case i['GDrive']:return{'icon':_0xdd7e7f,'type':i['GDrive'],..._0x3252cc};case i['GPhotos']:return{'icon':_0x2e4e24,'type':i['GPhotos'],..._0x3252cc};case i['OneDrive']:return{'icon':_0x1b7f14,'type':i['OneDrive'],..._0x3252cc};}});}['_getIntegrationKey'](_0x3564f4){switch(_0x3564f4){case i['Local']:return'upload';case i['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x1396c4,_0x1eb3ab){const _0x49eb94=this['editor'],_0x2ef672=new _0x1396c4(_0x49eb94['locale']),_0xd23cb0=_0x49eb94['commands']['get']('uploadcare');return _0x2ef672['bind']('isEnabled')['to'](_0xd23cb0),_0x2ef672['on']('execute',()=>{_0xd23cb0['execute'](_0x1eb3ab);}),_0x2ef672;}['_createToolbarButton'](_0xfadedf){const {locale:_0x1305fc}=this['editor'],_0x4f0da2=this['editor']['plugins']['get']('ImageInsertUI'),_0x416b4f=_0xfadedf[0x0],_0x3f2d52=this['_createButton'](_0x24f082,_0x416b4f['type']);return _0x3f2d52['icon']=_0x416b4f['icon'],_0x3f2d52['bind']('label')['to'](_0x4f0da2,'isImageSelected',_0x3b0623=>_(_0x1305fc,_0x416b4f['type'],_0x3b0623?'Replace':'Insert')['text']),_0x3f2d52['tooltip']=!0x0,_0x3f2d52;}['_createDropdownButtons'](_0x540b32){const {locale:_0x4f277e}=this['editor'],_0x722beb=this['editor']['plugins']['get']('ImageInsertUI');return _0x540b32['map'](_0x482a1d=>{const _0x5d0485=this['_createButton'](_0x24f082,_0x482a1d['type']);return _0x5d0485['withText']=!0x0,_0x5d0485['icon']=_0x482a1d['icon'],_0x5d0485['bind']('label')['to'](_0x722beb,'isImageSelected',_0x58af3f=>_(_0x4f277e,_0x482a1d['type'],_0x58af3f?'Replace':'Insert')['text']),_0x5d0485;});}['_createMenuBarButtons'](_0x2d993f){return _0x2d993f['map'](_0x1f475c=>{const _0x322689=this['_createButton'](_0x4cf3cc,_0x1f475c['type']);return _0x322689['icon']=_0x1f475c['icon'],_0x322689['label']=_0x1f475c['shortText'],_0x322689;});}}class F extends _0x21e1b5{['focusTracker'];['focusCycler'];constructor(_0x18e7d7){super(_0x18e7d7),this['focusTracker']=new _0x502b04(),this['focusCycler']=new _0x1985dd({'focusables':this['createCollection'](),'focusTracker':this['focusTracker']});}['getFocusableElement'](){return{'tag':'div','attributes':{'aria-hidden':'true','tabindex':'0'},'on':{'focus':this['bindTemplate']['to'](()=>{this['focusCycler']['fire']('forwardCycle');})}};}}class x extends F{constructor(_0x5a39de,_0x76a2b1){super(_0x5a39de),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-'+_0x76a2b1}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function C(_0x3b8e18,_0x14ccfe){const _0x5af08f=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x4f361e=>_0x4f361e<=_0x14ccfe)['map'](_0x125ca8=>_0x3b8e18['replace'](/\/$/,'')+'/-/resize/'+_0x125ca8+'x/\x20'+_0x125ca8+'w');return{'imageFallbackUrl':_0x3b8e18,'imageSources':[{'srcset':_0x5af08f['join'](',\x20'),'sizes':'(max-width:\x20'+_0x14ccfe+'px)\x20100vw,\x20'+_0x14ccfe+'px','type':'image/webp'}]};}function S(_0x2e3875,_0x50ba9c,_0x3e6fbd){const _0x838513=_0x2e3875['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x838513?parseInt(_0x838513[0x1],0xa):_0x50ba9c,'height':_0x838513?parseInt(_0x838513[0x2],0xa):_0x3e6fbd};}function p(_0x4f9378,_0x1b2762){const _0x38d43e=new(_0x215073())(),_0x34a761=_0x4f9378['plugins']['get']('ImageUtils'),_0x277e9a=_0x4f9378['editing']['mapper']['toViewElement'](_0x1b2762),_0x433987=_0x34a761['findViewImgElement'](_0x277e9a),_0x33dbf3=_0x4f9378['editing']['view']['domConverter']['viewToDom'](_0x433987),_0x140288=_0x1b2762['getAttribute']('width'),_0x451a0a=_0x1b2762['getAttribute']('height'),_0x243d3b='image-processing';_0x4f9378['editing']['view']['change'](_0x4ede97=>{_0x4ede97['addClass'](_0x243d3b,_0x277e9a),_0x4ede97['setStyle']('aspect-ratio',_0x140288+'/'+_0x451a0a,_0x433987);}),_0x38d43e['listenTo'](_0x33dbf3,'load',()=>{_0x38d43e['stopListening'](_0x33dbf3,'load'),_0x4f9378['editing']['view']['change'](_0x4c53bc=>{_0x4c53bc['removeClass'](_0x243d3b,_0x277e9a),_0x4c53bc['removeStyle']('aspect-ratio',_0x433987);});});}function G(_0x5ea393){if(Array['isArray'](_0x5ea393)){const _0x3905d2=_0x5ea393['map'](G);return _0x369675=>_0x3905d2['some'](_0x52d602=>_0x52d602(_0x369675));}if('origin'==_0x5ea393){const _0x1e5eb8=_0x2fd3c7['window']['location']['origin'];return _0x172b66=>new URL(_0x172b66,_0x2fd3c7['document']['baseURI'])['origin']==_0x1e5eb8;}return'function'==typeof _0x5ea393?_0x5ea393:_0x5ea393 instanceof RegExp?_0x109a53=>!(!_0x109a53['match'](_0x5ea393)&&!_0x109a53['replace'](/^https?:\/\//,'')['match'](_0x5ea393)):()=>!0x1;}function A(_0x4de748,_0x5dee1b){return _0x351eb5(_0x4de748['target'])['includes'](_0x5dee1b);}class n extends/* #__PURE__ -- @preserve */
24
+ _0x191917(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x4c6569,_0x1df173,_0x49fc25){super(),this['_editor']=_0x4c6569,this['_editing']=_0x1df173,this['_dialog']=_0x4c6569['plugins']['get'](_0x492f71),this['_api']=_0x1df173['ctxElement']['getAPI'](),this['_type']=_0x49fc25,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:_0x447aae,model:_0x50662a}=this['_editor'],_0x590843=_0x50662a['document']['selection']['getSelectedElement'](),_0x19f2d1=_0x590843&&(_0x590843['is']('element','imageBlock')||_0x590843['is']('element','imageInline'));this['_formView']=new x(_0x447aae,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':_0x5e4b96,'title':_(_0x447aae,this['_type'],_0x19f2d1?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x32be2['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x4efa2a=>!A(_0x4efa2a,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x1d9f77}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x285589=>{const _0x49245f=_0x1d9f77['length'];for(const _0x11f9a0 of _0x1d9f77){const _0x22ec90=_0x11f9a0===_0x1d9f77[_0x49245f-0x1],{cdnUrl:_0x2b9f8e,fileInfo:_0x5b26c4}=_0x11f9a0;if(!_0x2b9f8e||!_0x5b26c4)continue;const {width:_0xba318b,height:_0x5492f2}=_0x5b26c4['imageInfo'],_0x41b5bc=S(_0x2b9f8e,_0xba318b,_0x5492f2),_0x1e78c2=C(_0x2b9f8e,_0x41b5bc['width']),_0x3f3118={'id':_0x5b26c4['uuid'],'type':'image','attributes':{'imageDimension':_0x41b5bc,..._0x1e78c2}};this['_insertAsset'](_0x3f3118,_0x22ec90,_0x285589);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x40cf37=>{'idle'===_0x40cf37['detail']['status']&&!_0x40cf37['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===i['Local']?this['_api']['setCurrentActivity'](i['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x34e1d1,_0x42b148,_0x22d6fa){const _0x89e0db=this['_editor']['model']['document']['selection'],_0x15bec7=_0x89e0db['getSelectedElement'](),_0x1e80da=!(!_0x15bec7||!_0x15bec7['is']('element','imageInline'));_0x22d6fa['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x34e1d1,_0x1e80da),_0x42b148||_0x22d6fa['setSelection'](_0x89e0db['getLastPosition']());}['_insertImage'](_0x36886f,_0x4814a1){const _0x2c5bdd=this['_editor'],{imageDimension:_0x517665,imageFallbackUrl:_0xe852ba,imageSources:_0x588b1c}=_0x36886f['attributes'];_0x2c5bdd['execute']('insertImage',{'imageType':_0x4814a1?'imageInline':null,'source':{'uploadcareImageId':_0x36886f['id'],'src':_0xe852ba,'sources':_0x588b1c,..._0x517665}});}}class w extends _0x3b9176{['_editing'];['_controller']=null;static get['requires'](){return[_0x492f71,o];}constructor(_0x303de2){super(_0x303de2),this['_editing']=_0x303de2['plugins']['get'](o);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x560058){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new n(this['editor'],this['_editing'],_0x560058);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class j{static['upload']({file:_0x23a5d4,..._0x1f9145}){return _0x31df23(_0x23a5d4,_0x1f9145);}static['getInfo'](_0xe04654,_0x170fed){return _0x322947(_0xe04654,_0x170fed);}}class f extends _0x13c454{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x5548c7,o];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x517d44=this['editor'];if(!!!_0x517d44['config']['get']('uploadcare'))return;_0x517d44['plugins']['get'](_0x5548c7)['createUploadAdapter']=_0x551aba=>new k(_0x551aba,_0x517d44),_0x517d44['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x3e0de2,{imageElement:_0x46183b,data:_0x1b7ff2})=>{_0x517d44['model']['change'](_0x52bc87=>{_0x52bc87['setAttribute']('uploadcareImageId',_0x1b7ff2['uploadcareImageId'],_0x46183b);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x4a3102,_0x105421){this['loader']=_0x4a3102,this['editor']=_0x105421,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x422920=await this['loader']['file'];return j['upload']({'file':_0x422920,'publicKey':this['editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':this['controller']['signal'],'onProgress':_0x5067f5=>{_0x5067f5&&_0x5067f5['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x5067f5['value']);}})['then'](async _0x3edd74=>{const {imageFallbackUrl:_0xf9a24e,imageSources:_0x18eef9}=C(_0x3edd74['cdnUrl'],_0x3edd74['imageInfo']['width']);return{'uploadcareImageId':_0x3edd74['uuid'],'default':_0xf9a24e,'sources':_0x18eef9};})['catch'](()=>{const _0x522f7b=t('Cannot\x20upload\x20file:')+('\x20'+_0x422920['name']+'.');return Promise['reject'](_0x522f7b);});}['abort'](){this['controller']['abort']();}}class o extends _0x13c454{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',f,_0x492f71];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['ucContextId'];get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}constructor(_0x5518fd){super(_0x5518fd),this['ucContextId']=_0x450375();}['init'](){const _0x25547f=this['editor'];_0x25547f['commands']['add']('uploadcare',new w(_0x25547f));}['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 _0x3553c8=_0x2fd3c7['document']['querySelector']('input[uploadcare-file-input]');_0x3553c8&&_0x3553c8['remove']();}),async function(_0x1eb249){const _0x558568=_0x515b60([0x68,0x67,0x50,0x36,0x38,0x70,0x71,0x63,0x37,0x4f,0x42,0x4a,0x78,0x39,0x75,0x33,0x7a,0x72,0x48,0x61,0x74,0x59,0x55,0x58,0x66,0x30,0x34,0x54,0x64,0x56,0x6b,0x4d,0x46,0x6d,0x77,0x43,0x73,0x35,0x53,0x44,0x41,0x76,0x6a,0x32,0x31,0x69,0x57,0x51,0x47,0x65,0x5a,0x4b,0x4c,0x79,0x52,0x6c,0x45,0x4e,0x6e,0x6f,0x49,0x62]),_0x42ae9f=0x535f8c3a,_0x2cccbb=0x5358f4c2^_0x42ae9f,_0x1458f9=window[_0x515b60([0x44,0x61,0x74,0x65])][_0x515b60([0x6e,0x6f,0x77])](),_0x10b37d=_0x1eb249[_0x515b60([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x23f9f7=new window[(_0x515b60([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x51bb65=>{_0x10b37d[_0x515b60([0x6f,0x6e,0x63,0x65])](_0x515b60([0x72,0x65,0x61,0x64,0x79]),_0x51bb65);}),_0x14a173={[_0x515b60([0x6b,0x74,0x79])]:_0x515b60([0x45,0x43]),[_0x515b60([0x75,0x73,0x65])]:_0x515b60([0x73,0x69,0x67]),[_0x515b60([0x63,0x72,0x76])]:_0x515b60([0x50,0x2d,0x32,0x35,0x36]),[_0x515b60([0x78])]:_0x515b60([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]),[_0x515b60([0x79])]:_0x515b60([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]),[_0x515b60([0x61,0x6c,0x67])]:_0x515b60([0x45,0x53,0x32,0x35,0x36])},_0x27ef79=_0x10b37d[_0x515b60([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x515b60([0x67,0x65,0x74])](_0x515b60([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x486870(){let _0xa0f9f0,_0xb0e586=null,_0x3fb2d6=null;try{if(_0x27ef79==_0x515b60([0x47,0x50,0x4c]))return _0x515b60([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0xa0f9f0=_0x2c5bde(),!_0xa0f9f0)return _0x515b60([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0xa0f9f0[_0x515b60([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x3fb2d6=_0x29cd84(_0xa0f9f0[_0x515b60([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0xa0f9f0[_0x515b60([0x6a,0x74,0x69])])),await _0x27ba7e()?_0x12cc8c()?_0x31b514()?_0x515b60([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x413579()?(_0xa0f9f0[_0x515b60([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x515b60([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0xb0e586=_0x449e8b(_0x515b60([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0xa0f9f0[_0x515b60([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x515b60([0x74,0x72,0x69,0x61,0x6c])&&(_0xb0e586=_0x449e8b(_0x515b60([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x132189()):_0x515b60([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x515b60([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x515b60([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x515b60([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x31b514(){const _0x4b437e=[_0x515b60([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x515b60([0x74,0x72,0x69,0x61,0x6c])][_0x515b60([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xa0f9f0[_0x515b60([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1458f9/0x3e8:0xe10*_0x2cccbb;return _0xa0f9f0[_0x515b60([0x65,0x78,0x70])]<_0x4b437e;}function _0x12cc8c(){const _0x170059=_0xa0f9f0[_0x515b60([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x170059&&(!!_0x170059[_0x515b60([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x515b60([0x2a]))||!!_0x170059[_0x515b60([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x515b60([0x55,0x50,0x4c,0x43])));}function _0x413579(){const _0x164cb9=_0xa0f9f0[_0x515b60([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x164cb9||0x0==_0x164cb9[_0x515b60([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x4fec39}=new URL(window[_0x515b60([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x164cb9[_0x515b60([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4fec39))return!0x0;const _0x425b15=_0x4fec39[_0x515b60([0x73,0x70,0x6c,0x69,0x74])](_0x515b60([0x2e]));return _0x164cb9[_0x515b60([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x50cbbb=>_0x50cbbb[_0x515b60([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x515b60([0x2a])))[_0x515b60([0x6d,0x61,0x70])](_0x501437=>_0x501437[_0x515b60([0x73,0x70,0x6c,0x69,0x74])](_0x515b60([0x2e])))[_0x515b60([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x11d019=>_0x11d019[_0x515b60([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x425b15[_0x515b60([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x515b60([0x6d,0x61,0x70])](_0x1daea1=>Array(_0x425b15[_0x515b60([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x1daea1[_0x515b60([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x515b60([0x66,0x69,0x6c,0x6c])](_0x1daea1[0x0]===_0x515b60([0x2a])?_0x515b60([0x2a]):'')[_0x515b60([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x1daea1))[_0x515b60([0x73,0x6f,0x6d,0x65])](_0x2b3236=>_0x425b15[_0x515b60([0x65,0x76,0x65,0x72,0x79])]((_0x14c7fb,_0xf52b65)=>_0x2b3236[_0xf52b65]===_0x14c7fb||_0x2b3236[_0xf52b65]===_0x515b60([0x2a])));}function _0x132189(){return _0xb0e586&&_0x3fb2d6?new window[(_0x515b60([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1641bb,_0x536386)=>{_0xb0e586[_0x515b60([0x74,0x68,0x65,0x6e])](_0x1641bb,_0x536386),_0x3fb2d6[_0x515b60([0x74,0x68,0x65,0x6e])](_0x508e8e=>{_0x508e8e!=_0x515b60([0x56,0x61,0x6c,0x69,0x64])&&_0x1641bb(_0x508e8e);},_0x536386);}):_0xb0e586||_0x3fb2d6||_0x515b60([0x56,0x61,0x6c,0x69,0x64]);}}function _0x29cd84(_0x5ce4fb,_0x377add){return new window[(_0x515b60([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xe2c3b7=>{if(_0x11d337())return _0xe2c3b7(_0x515b60([0x56,0x61,0x6c,0x69,0x64]));_0x497805(),_0x10b37d[_0x515b60([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x515b60([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x6fa5cf=!0x1;const _0x3554a1=_0x450375();function _0x211710(_0x30b216){return!!_0x30b216&&(typeof _0x30b216===_0x515b60([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x30b216===_0x515b60([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x30b216[_0x515b60([0x74,0x68,0x65,0x6e])]===_0x515b60([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x30b216[_0x515b60([0x63,0x61,0x74,0x63,0x68])]===_0x515b60([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x785aef(_0x4a977b){_0x1354da(_0x4a977b)[_0x515b60([0x74,0x68,0x65,0x6e])](_0xe30a58=>{if(!_0xe30a58||_0xe30a58[_0x515b60([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x515b60([0x6f,0x6b]))return _0x515b60([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x46115f(_0x4f84b8(_0x3554a1+_0x377add))!=_0xe30a58[_0x515b60([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x515b60([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x515b60([0x56,0x61,0x6c,0x69,0x64]);})[_0x515b60([0x74,0x68,0x65,0x6e])](_0x75ed75=>(_0x1b0d52(),_0x75ed75),()=>{const _0x573242=_0x40394b();return null==_0x573242?(_0x1b0d52(),_0x515b60([0x56,0x61,0x6c,0x69,0x64])):_0x515b60(_0x1458f9-_0x573242>(0x7753083a^_0x42ae9f)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x515b60([0x74,0x68,0x65,0x6e])](_0xe2c3b7)[_0x515b60([0x63,0x61,0x74,0x63,0x68])](()=>{_0xe2c3b7(_0x515b60([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x589707=0x536962ba^_0x42ae9f;function _0x1b0d52(){const _0x194099=_0x515b60([0x6c,0x6c,0x63,0x74,0x2d])+_0x46115f(_0x4f84b8(_0x5ce4fb)),_0x136a93=_0x16ff0c(_0x46115f(window[_0x515b60([0x4d,0x61,0x74,0x68])][_0x515b60([0x63,0x65,0x69,0x6c])](_0x1458f9/_0x589707)));window[_0x515b60([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x515b60([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x194099,_0x136a93);}function _0x40394b(){const _0x115dc5=_0x515b60([0x6c,0x6c,0x63,0x74,0x2d])+_0x46115f(_0x4f84b8(_0x5ce4fb)),_0x310029=window[_0x515b60([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x515b60([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x115dc5);return _0x310029?window[_0x515b60([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x16ff0c(_0x310029),0x10)*_0x589707:null;}function _0x1354da(_0x1b3a7c){return new window[(_0x515b60([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x457ed9,_0x4990c0)=>{_0x1b3a7c[_0x515b60([0x74,0x68,0x65,0x6e])](_0x457ed9,_0x4990c0),window[_0x515b60([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x4990c0,0x535e58fa^_0x42ae9f);});}}_0x10b37d[_0x515b60([0x6f,0x6e])](_0x515b60([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x5b1ec3,_0x11436c)=>{if(_0x11436c[0x0]!=_0x5ce4fb)return _0xe2c3b7(_0x515b60([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x11436c[0x1]={..._0x11436c[0x1],[_0x515b60([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x3554a1};},{[_0x515b60([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x515b60([0x68,0x69,0x67,0x68])}),_0x10b37d[_0x515b60([0x6f,0x6e])](_0x515b60([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x1a854e=>{_0x211710(_0x1a854e[_0x515b60([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x6fa5cf=!0x0,_0x785aef(_0x1a854e[_0x515b60([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x515b60([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x515b60([0x6c,0x6f,0x77])}),_0x23f9f7[_0x515b60([0x74,0x68,0x65,0x6e])](()=>{_0x6fa5cf||_0xe2c3b7(_0x515b60([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x11d337(){return _0x10b37d[_0x515b60([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x515b60([0x76,0x69,0x65,0x77])][_0x515b60([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x515b60([0x61,0x75,0x74,0x6f]);}function _0x497805(){_0x10b37d[_0x515b60([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x515b60([0x76,0x69,0x65,0x77])][_0x515b60([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x515b60([0x61,0x75,0x74,0x6f]);}}function _0x449e8b(_0x59eade){const _0x121cfe=[new window[(_0x515b60([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x140541=>setTimeout(_0x140541,0x5356b2f6^_0x42ae9f)),_0x23f9f7[_0x515b60([0x74,0x68,0x65,0x6e])](()=>new window[(_0x515b60([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x186fa1=>{let _0x290454=0x0;_0x10b37d[_0x515b60([0x6d,0x6f,0x64,0x65,0x6c])][_0x515b60([0x6f,0x6e])](_0x515b60([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x29e3c6,_0x2debac)=>{_0x2debac[0x0][_0x515b60([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x290454++,_0x290454==(0x535f8dc2^_0x42ae9f)&&(_0x186fa1(),_0x29e3c6[_0x515b60([0x6f,0x66,0x66])]());});}))];return window[_0x515b60([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x515b60([0x72,0x61,0x63,0x65])](_0x121cfe)[_0x515b60([0x74,0x68,0x65,0x6e])](()=>_0x59eade);}async function _0x8747ba(){await _0x23f9f7,_0x10b37d[_0x515b60([0x6d,0x6f,0x64,0x65,0x6c])][_0x515b60([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3bfc5e,_0x10b37d[_0x515b60([0x6d,0x6f,0x64,0x65,0x6c])][_0x515b60([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3bfc5e,_0x10b37d[_0x515b60([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x515b60([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x12a1a8(_0x48482b){const _0xd05475=_0x1af39b();_0x10b37d[_0xd05475]=_0x515b60([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x48482b,_0x48482b!=_0x515b60([0x56,0x61,0x6c,0x69,0x64])&&_0x8747ba();}function _0x1af39b(){const _0x1a93a6=window[_0x515b60([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x515b60([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x515b60([0x6e,0x6f,0x77])]())[_0x515b60([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x515b60([0x2e]),'');let _0x4e37a2=_0x515b60([0x68]);for(let _0x1e5dc2=0x0;_0x1e5dc2<_0x1a93a6[_0x515b60([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1e5dc2+=0x2){let _0x2cb703=window[_0x515b60([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1a93a6[_0x515b60([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1e5dc2,_0x1e5dc2+0x2));_0x2cb703>=_0x558568[_0x515b60([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2cb703-=_0x558568[_0x515b60([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4e37a2+=_0x558568[_0x2cb703];}return _0x4e37a2;}function _0x2c5bde(){const _0x25f5ec=_0x27ef79[_0x515b60([0x73,0x70,0x6c,0x69,0x74])](_0x515b60([0x2e]));if(0x3!=_0x25f5ec[_0x515b60([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x5ad895(_0x25f5ec[0x1]);function _0x5ad895(_0x130467){const _0x2b04aa=_0x37a6f0(_0x130467);return _0x2b04aa&&_0x231e0f()?_0x2b04aa:null;function _0x231e0f(){const _0x3b5f51=_0x2b04aa[_0x515b60([0x6a,0x74,0x69])],_0x50842a=window[_0x515b60([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3b5f51[_0x515b60([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3b5f51[_0x515b60([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x579c71={..._0x2b04aa,[_0x515b60([0x6a,0x74,0x69])]:_0x3b5f51[_0x515b60([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3b5f51[_0x515b60([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x579c71[_0x515b60([0x76,0x63])],_0x4f84b8(_0x579c71)==_0x50842a;}}}async function _0x27ba7e(){let _0x244b30=!0x0;try{const _0x18776b=_0x27ef79[_0x515b60([0x73,0x70,0x6c,0x69,0x74])](_0x515b60([0x2e])),[_0x449d69,_0x268e77,_0x57dead]=_0x18776b;return _0x350ca2(_0x449d69),await _0xe864c4(_0x449d69,_0x268e77,_0x57dead),_0x244b30;}catch{return!0x1;}function _0x350ca2(_0xc67392){const _0xe255c9=_0x37a6f0(_0xc67392);_0xe255c9&&_0xe255c9[_0x515b60([0x61,0x6c,0x67])]==_0x515b60([0x45,0x53,0x32,0x35,0x36])||(_0x244b30=!0x1);}async function _0xe864c4(_0x3a3bf4,_0x11569f,_0x4f1a8e){const _0x8424ab=window[_0x515b60([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x515b60([0x66,0x72,0x6f,0x6d])](_0x223812(_0x4f1a8e),_0x1b9e1d=>_0x1b9e1d[_0x515b60([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2f0278=new window[(_0x515b60([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x515b60([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x3a3bf4+_0x515b60([0x2e])+_0x11569f),_0x10e654=window[_0x515b60([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x515b60([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x10e654)return;const _0x1196cc=await _0x10e654[_0x515b60([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x515b60([0x6a,0x77,0x6b]),_0x14a173,{[_0x515b60([0x6e,0x61,0x6d,0x65])]:_0x515b60([0x45,0x43,0x44,0x53,0x41]),[_0x515b60([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x515b60([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x515b60([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x10e654[_0x515b60([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x515b60([0x6e,0x61,0x6d,0x65])]:_0x515b60([0x45,0x43,0x44,0x53,0x41]),[_0x515b60([0x68,0x61,0x73,0x68])]:{[_0x515b60([0x6e,0x61,0x6d,0x65])]:_0x515b60([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1196cc,_0x8424ab,_0x2f0278)||(_0x244b30=!0x1);}}function _0x37a6f0(_0x603702){return _0x603702[_0x515b60([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x515b60([0x65,0x79]))?JSON[_0x515b60([0x70,0x61,0x72,0x73,0x65])](_0x223812(_0x603702)):null;}function _0x223812(_0x3fc8b0){return window[_0x515b60([0x61,0x74,0x6f,0x62])](_0x3fc8b0[_0x515b60([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x515b60([0x2b]))[_0x515b60([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x515b60([0x2f])));}function _0x4f84b8(_0x5732b1){let _0x321bc6=0x1505;function _0x554e0f(_0x37bd59){for(let _0x161082=0x0;_0x161082<_0x37bd59[_0x515b60([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x161082++){const _0x3a16c5=_0x37bd59[_0x515b60([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x161082);_0x321bc6=(_0x321bc6<<0x5)+_0x321bc6+_0x3a16c5,_0x321bc6&=_0x321bc6;}}function _0x14a5ee(_0x5c9428){Array[_0x515b60([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5c9428)?_0x5c9428[_0x515b60([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x14a5ee):_0x5c9428&&typeof _0x5c9428==_0x515b60([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x515b60([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5c9428)[_0x515b60([0x73,0x6f,0x72,0x74])]()[_0x515b60([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x21565e,_0x3219d2])=>{_0x554e0f(_0x21565e),_0x14a5ee(_0x3219d2);}):_0x554e0f(window[_0x515b60([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5c9428));}return _0x14a5ee(_0x5732b1),_0x321bc6>>>0x0;}function _0x46115f(_0x389eee){return _0x389eee[_0x515b60([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x515b60([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x515b60([0x30]));}function _0x16ff0c(_0x32cf9f){return _0x32cf9f[_0x515b60([0x73,0x70,0x6c,0x69,0x74])]('')[_0x515b60([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x515b60([0x6a,0x6f,0x69,0x6e])]('');}function _0x3bfc5e(){}function _0x515b60(_0x1505c0){return _0x1505c0['map'](_0x2586e7=>String['fromCharCode'](_0x2586e7))['join']('');}_0x12a1a8(await _0x486870());}(this);}['_initSchema'](){const _0x3e6daa=this['editor']['model']['schema'];_0x3e6daa['isRegistered']('imageBlock')&&_0x3e6daa['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x3e6daa['isRegistered']('imageInline')&&_0x3e6daa['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0xd526c7=this['editor'];_0xd526c7['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0xd526c7['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x4a4085=>_0x4a4085['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x350210=_0xd526c7['commands']['get']('replaceImageSource');_0x350210&&this['listenTo'](_0x350210,'cleanupImage',(_0x4e3a42,[_0x470be0,_0x5f2b00])=>{_0x470be0['removeAttribute']('uploadcareImageId',_0x5f2b00);});}['_initConfig'](){const _0x1c05f0=this['editor']['config']['get']('uploadcare.uploader')||{},_0x2d71a3=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x414d5f(_0x2fd3c7['document'],'uc-config',{..._0x1c05f0,'pubkey':_0x2d71a3,'ctx-name':'uploader-'+this['ucContextId'],'sourceList':'','imgOnly':'true','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage'],'externalSourcesEmbedCss':'\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup\x20{\x20padding:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-menu\x20{\x20gap:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-footer\x20{\x20padding-top:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__separator\x20{\x20margin:\x200;\x20}\x0a\x09\x09\x09'}),this['_configElement']['iconHrefResolver']=_0x1ddb03=>{if('closeMax'==_0x1ddb03)return'#uc-icon-arrow-down';},_0x2fd3c7['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x414d5f(_0x2fd3c7['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),_0x2fd3c7['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x59541e=this['editor']['commands']['get']('insertImage');_0x59541e&&this['listenTo'](_0x59541e,'execute',()=>{const _0x564a2f=this['editor']['model']['document']['selection']['getSelectedElement']();_0x564a2f&&_0x564a2f['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x564a2f);});});const _0x4bee13=this['editor']['commands']['get']('uploadcareImageReplace');_0x4bee13&&this['listenTo'](_0x4bee13,'execute',()=>{const _0x49e8e9=this['editor']['model']['document']['selection']['getSelectedElement']();_0x49e8e9&&_0x49e8e9['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x49e8e9);});});}}class tt extends _0x13c454{static get['requires'](){return[o,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x2b6a38){super(_0x2b6a38),_0x2b6a38['config']['define']('uploadcare.uploader.sourceList',[i['Local'],i['URL']]),_0x227f2b['defineComponents'](_0x227f2b),this['_defineLocale']();}['_defineLocale'](){const _0xf2c87c=this['editor']['config']['get']('uploadcare.locale'),_0x288104=this['editor']['locale']['contentLanguage'];_0xf2c87c&&_0x227f2b['defineLocale'](_0x288104,_0xf2c87c);}}class ii extends _0x21e1b5{constructor(_0x3c3056){super(_0x3c3056);const t=_0x3c3056['t'],_0x34b95c=this['bindTemplate'],_0x48ed28=new _0x595a7b();_0x48ed28['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':[_0x48ed28,{'text':_0x34b95c['to']('imageUploadProgress',_0x5122d5=>t('Loading\x20image...')+'\x20('+(_0x5122d5||0x0)+'%)')}]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}class ti extends _0x21e1b5{constructor(_0x1bcacb){super(_0x1bcacb);const t=_0x1bcacb['t'];this['set']('errorType',null);const _0x490220=new _0x24f082(_0x1bcacb);_0x490220['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x490220['withText']=!0x0,_0x490220['class']='ck-button-action',_0x490220['on']('execute',()=>{this['fire']('retry');}),_0x490220['bind']('isVisible')['to'](this,'errorType',_0x2ac14a=>'NotFound'!==_0x2ac14a);const _0x375468=new _0x4f7576();_0x375468['content']=_0x4bf1c4,_0x375468['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x29c044=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':[_0x375468,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x29c044['to']('errorType',_0x309aba=>t('NotFound'!==_0x309aba?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x490220]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}class ei extends _0x21e1b5{constructor(_0x2c22f9,_0x51df4e){super(_0x2c22f9);const _0x9e965e=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x51df4e,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x9e965e['to']('imageSrc')}});}}class X extends F{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x572c3b,_0x5ce060,_0x2a4cb2){super(_0x572c3b),this['_items']=this['createCollection'](),this['_loadingView']=new ii(_0x572c3b),this['_errorView']=new ti(_0x572c3b),this['_editingView']=new ei(_0x572c3b,_0x2a4cb2),this['_focusableView']=new _0x21e1b5(_0x572c3b),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x5ce060),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'],_0x9dc94d=>{this['_addUploadcareImageEditorListeners'](_0x9dc94d);});}),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'](_0xe6c481,_0x30478e){const _0x34fcf9='uc-cloud-image-editor',_0x47101e=_0xe6c481['querySelector'](_0x34fcf9);if(_0x47101e)return _0x30478e(_0x47101e);const _0x5db4e8=new MutationObserver(_0x4c4477=>{const _0x4b8281=_0x4c4477['filter'](_0x29feef=>_0x29feef['target']===_0xe6c481&&_0x29feef['addedNodes']['length']>0x0&&_0x29feef['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x34fcf9);_0x4b8281['length']&&(_0x5db4e8['disconnect'](),_0x30478e(_0x4b8281[0x0]['addedNodes'][0x0]));});_0x5db4e8['observe'](_0xe6c481,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x77b7c6){_0x77b7c6['addEventListener']('apply',_0x190b9c=>{this['fire']('apply',{'imageSrc':_0x190b9c['detail']['cdnUrl']});}),_0x77b7c6['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class E extends/* #__PURE__ -- @preserve */
25
+ _0x191917(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x263e8f,_0x50c4d8,_0x6c01d8){super(),this['_editor']=_0x263e8f,this['_dialog']=_0x50c4d8,this['_imageElement']=_0x6c01d8,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 _0x2a650a=this['_imageElement'],_0x374772=_0x2a650a['getAttribute']('uploadcareImageId'),_0x418bf0=_0x2a650a['getAttribute']('src');if(_0x374772)await this['_loadImageInfo'](_0x374772,_0x418bf0);else{if(this['_imageCache']['has'](_0x418bf0)){const _0xd10dc7=this['_imageCache']['get'](_0x418bf0);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0xd10dc7['url'],this['imageDimension']=_0xd10dc7['dimension'],this['imageId']=_0xd10dc7['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x11638b}=this['_editor'],t=_0x11638b['t'],_0x5a4c47=new X(_0x11638b,this['imageStatus'],this['_attributes']);_0x5a4c47['bind']('status')['to'](this,'imageStatus'),_0x5a4c47['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x5a4c47['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x5a4c47['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x5a4c47,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x2a108d,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x5a4c47,'position':_0x32be2['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x5a4c47['focus']();},'onHide':()=>{_0x5a4c47['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x206c10=>!A(_0x206c10,_0x5a4c47['element'])}});}['_loadImageInfo'](_0x475d43,_0x263bc6){return j['getInfo'](_0x475d43,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x562c34=>{const {width:_0x35103f,height:_0x5e4759}=_0x562c34['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x263bc6,this['imageDimension']={'width':_0x35103f,'height':_0x5e4759},this['imageId']=_0x475d43;})['catch'](_0x534a6f=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x534a6f['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x11ac91,_0x5541e8){return this['_getImageAsFile'](_0x11ac91)['then'](_0x3a6645=>j['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['_editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':_0x5541e8['signal'],'file':_0x3a6645,'onProgress':_0x4b7719=>{_0x4b7719&&_0x4b7719['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x4b7719['value']));}}))['then'](_0x37f3d3=>{const {width:_0x3f9e67,height:_0x35e265}=_0x37f3d3['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x37f3d3['cdnUrl'],this['imageDimension']={'width':_0x3f9e67,'height':_0x35e265},this['imageId']=_0x37f3d3['uuid'],this['imageUploadProgress']=null;const _0x3e9c6a=_0x11ac91['getAttribute']('src');this['_imageCache']['set'](_0x3e9c6a,{'id':_0x37f3d3['uuid'],'url':_0x37f3d3['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x4cb7a7=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x4cb7a7['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x479888,_0x14c026){_0x479888['on']('apply',(_0x2ec51c,_0x5a5503)=>{this['_replaceImage'](_0x14c026,_0x5a5503['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x479888['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x479888['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x1ab156,_0x404e2f,_0x391255){const _0x47c306=this['_editor'],{width:_0x3f6652,height:_0x5efe22}=S(_0x404e2f,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x192bdd,imageSources:_0x2dcaad}=C(_0x404e2f,_0x3f6652);_0x47c306['model']['change'](_0x377dff=>{if('$graveyard'===_0x1ab156['root']['rootName']){_0x47c306['execute']('insertImage',{'imageType':_0x1ab156['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x1ab156['getAttributes']()),'uploadcareImageId':_0x391255,'src':_0x192bdd,'sources':_0x2dcaad,'width':_0x3f6652,'height':_0x5efe22}});const _0x5842ba=_0x1ab156['getChildren']();_0x1ab156=_0x47c306['model']['document']['selection']['getSelectedElement']();for(const _0x3505c8 of _0x5842ba)_0x377dff['append'](_0x377dff['cloneElement'](_0x3505c8),_0x1ab156);}else _0x377dff['setSelection'](_0x1ab156,'on'),_0x47c306['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x1ab156['getAttributes']()),'uploadcareImageId':_0x391255,'src':_0x192bdd,'sources':_0x2dcaad,'width':_0x3f6652,'height':_0x5efe22},_0x1ab156);_0x377dff['setSelection'](_0x1ab156,'on');});}async['_getImageAsFile'](_0x528e40){const _0x454380=_0x2fd3c7['window'],_0x2b99b9=_0x2fd3c7['document']['location']['href'],_0x4679dc=new _0x454380['URL'](_0x528e40['getAttribute']('src'),_0x2b99b9);if('data:'===_0x4679dc['protocol']){const _0xfc60e4=_0x4679dc['href']['split'](','),_0x34b854=_0xfc60e4[0x0]['match'](/:(.*?);/)[0x1],_0x21dd6b=_0x34b854['split']('/')[0x1],_0x4345dc=_0x454380['atob'](_0xfc60e4[_0xfc60e4['length']-0x1]);let _0x1f295b=_0x4345dc['length'];const _0x5669fa=new _0x454380['Uint8Array'](_0x1f295b);for(;_0x1f295b--;)_0x5669fa[_0x1f295b]=_0x4345dc['charCodeAt'](_0x1f295b);return new _0x454380['File']([_0x5669fa],'image.'+_0x21dd6b,{'type':_0x34b854});}const _0x36c5bc=_0x4679dc['href']['split']('/'),_0x4d2c39=_0x36c5bc[_0x36c5bc['length']-0x1],_0x2d42f1=_0x4d2c39['split']('.')[0x1];return _0x454380['fetch'](_0x4679dc['href'])['then'](_0x48f59e=>_0x48f59e['clone']()['blob']())['then'](_0x32da34=>new _0x454380['File']([_0x32da34],_0x4d2c39,{'type':'image/'+_0x2d42f1}));}}class O extends _0x3b9176{['imageEditController'];static get['requires'](){return[_0x492f71];}['_isEditable'];constructor(_0x3444dc){super(_0x3444dc),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x21bb55){const _0x53fca7=G(_0x21bb55);return _0x59c3f9=>!(!_0x59c3f9||!_0x59c3f9['is']('element','imageBlock')&&!_0x59c3f9['is']('element','imageInline'))&&(!!_0x59c3f9['hasAttribute']('uploadcareImageId')||!!_0x59c3f9['hasAttribute']('src')&&_0x53fca7(_0x59c3f9['getAttribute']('src')));}(_0x3444dc['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x5d6f5a=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x5d6f5a);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x5c7c7d=this['editor']['model']['document']['selection']['getSelectedElement']();_0x5c7c7d&&(_0x5c7c7d['is']('element','imageBlock')||_0x5c7c7d['is']('element','imageInline'))&&(this['imageEditController']=new E(this['editor'],this['editor']['plugins']['get'](_0x492f71),_0x5c7c7d),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class R extends _0x3b9176{['refresh'](){const _0x35bd2c=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x35bd2c&&(_0x35bd2c['is']('element','imageBlock')||_0x35bd2c['is']('element','imageInline')));}['execute'](_0xe6f2de){const _0x470c7d=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0xee7fef=>{_0xee7fef['setAttributes'](_0xe6f2de,_0x470c7d),_0xee7fef['removeAttribute']('srcset',_0x470c7d),_0xee7fef['removeAttribute']('sizes',_0x470c7d);});}}class m extends _0x13c454{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[o,_0x58ed74,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x5c3bd7}=this;_0x5c3bd7['commands']['add']('uploadcareImageEdit',new O(_0x5c3bd7)),_0x5c3bd7['commands']['add']('uploadcareImageReplace',new R(_0x5c3bd7));}}class g extends _0x13c454{['_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 _0x45b5d7=this['editor'];_0x45b5d7['ui']['componentFactory']['add']('uploadcareImageEdit',_0x25cf57=>{const _0x4ad72d=_0x45b5d7['commands']['get']('uploadcareImageEdit'),_0x20cf14=new _0x24f082(_0x25cf57),t=_0x25cf57['t'];return _0x20cf14['set']({'icon':_0x2a108d,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x20cf14['bind']('isEnabled')['to'](_0x4ad72d),_0x20cf14['bind']('isOn')['to'](_0x4ad72d,'isActive'),this['listenTo'](_0x20cf14,'execute',()=>{_0x45b5d7['execute']('uploadcareImageEdit'),_0x45b5d7['editing']['view']['focus']();}),_0x20cf14;}),this['_initConfig']();}['_initConfig'](){const _0x4aaf52=_0x414d5f(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x4aaf52),this['listenTo'](this['editor'],'destroy',()=>{_0x4aaf52['remove']();});}}class et extends _0x13c454{static get['pluginName'](){return'UploadcareImageEdit';}static get['requires'](){return[m,g];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{tt as Uploadcare,w as UploadcareCommand,o as UploadcareEditing,et as UploadcareImageEdit,O as UploadcareImageEditCommand,m as UploadcareImageEditEditing,g as UploadcareImageEditUI,e as UploadcareUI,f as UploadcareUploadAdapter};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'af':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x157506=>0x1!=_0x157506}};
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':_0x9e6492=>0x1!=_0x9e6492}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x2fe5a8=>{const {af:{dictionary:_0x2153c1,getPluralForm:_0x3bc93e}}={'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':_0x54afab=>0x1!=_0x54afab}};_0x2fe5a8['af']||={'dictionary':{},'getPluralForm':null},_0x2fe5a8['af']['dictionary']=Object['assign'](_0x2fe5a8['af']['dictionary'],_0x2153c1),_0x2fe5a8['af']['getPluralForm']=_0x3bc93e;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x433118=>{const {af:{dictionary:_0x3ec72a,getPluralForm:_0x6f6ae6}}={'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':_0x216889=>0x1!=_0x216889}};_0x433118['af']||={'dictionary':{},'getPluralForm':null},_0x433118['af']['dictionary']=Object['assign'](_0x433118['af']['dictionary'],_0x3ec72a),_0x433118['af']['getPluralForm']=_0x6f6ae6;})(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':_0x32a8f3=>0x0==_0x32a8f3?0x0:0x1==_0x32a8f3?0x1:0x2==_0x32a8f3?0x2:_0x32a8f3%0x64>=0x3&&_0x32a8f3%0x64<=0xa?0x3:_0x32a8f3%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':_0x1cfc66=>0x0==_0x1cfc66?0x0:0x1==_0x1cfc66?0x1:0x2==_0x1cfc66?0x2:_0x1cfc66%0x64>=0x3&&_0x1cfc66%0x64<=0xa?0x3:_0x1cfc66%0x64>=0xb?0x4:0x5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x102558=>{const {ar:{dictionary:_0x7c5a03,getPluralForm:_0x312243}}={'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':_0x45bc62=>0x0==_0x45bc62?0x0:0x1==_0x45bc62?0x1:0x2==_0x45bc62?0x2:_0x45bc62%0x64>=0x3&&_0x45bc62%0x64<=0xa?0x3:_0x45bc62%0x64>=0xb?0x4:0x5}};_0x102558['ar']||={'dictionary':{},'getPluralForm':null},_0x102558['ar']['dictionary']=Object['assign'](_0x102558['ar']['dictionary'],_0x7c5a03),_0x102558['ar']['getPluralForm']=_0x312243;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x1c72ce=>{const {ar:{dictionary:_0x5f3c47,getPluralForm:_0x2a565a}}={'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':_0x4c63e7=>0x0==_0x4c63e7?0x0:0x1==_0x4c63e7?0x1:0x2==_0x4c63e7?0x2:_0x4c63e7%0x64>=0x3&&_0x4c63e7%0x64<=0xa?0x3:_0x4c63e7%0x64>=0xb?0x4:0x5}};_0x1c72ce['ar']||={'dictionary':{},'getPluralForm':null},_0x1c72ce['ar']['dictionary']=Object['assign'](_0x1c72ce['ar']['dictionary'],_0x5f3c47),_0x1c72ce['ar']['getPluralForm']=_0x2a565a;})(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':_0x147dec=>0x1!=_0x147dec}};
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':_0x37993f=>0x1!=_0x37993f}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x318527=>{const {ast:{dictionary:_0x29e790,getPluralForm:_0x43b885}}={'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':_0x3f3e95=>0x1!=_0x3f3e95}};_0x318527['ast']||={'dictionary':{},'getPluralForm':null},_0x318527['ast']['dictionary']=Object['assign'](_0x318527['ast']['dictionary'],_0x29e790),_0x318527['ast']['getPluralForm']=_0x43b885;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x15b89a=>{const {ast:{dictionary:_0x2559b8,getPluralForm:_0x1e7ef3}}={'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':_0x1e113c=>0x1!=_0x1e113c}};_0x15b89a['ast']||={'dictionary':{},'getPluralForm':null},_0x15b89a['ast']['dictionary']=Object['assign'](_0x15b89a['ast']['dictionary'],_0x2559b8),_0x15b89a['ast']['getPluralForm']=_0x1e7ef3;})(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':_0x5a8f18=>0x1!=_0x5a8f18}};
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':_0x55d613=>0x1!=_0x55d613}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x8675e1=>{const {az:{dictionary:_0x34108e,getPluralForm:_0x18f944}}={'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':_0x2b3537=>0x1!=_0x2b3537}};_0x8675e1['az']||={'dictionary':{},'getPluralForm':null},_0x8675e1['az']['dictionary']=Object['assign'](_0x8675e1['az']['dictionary'],_0x34108e),_0x8675e1['az']['getPluralForm']=_0x18f944;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x34f746=>{const {az:{dictionary:_0x478c71,getPluralForm:_0x5c4fac}}={'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':_0x11fe8a=>0x1!=_0x11fe8a}};_0x34f746['az']||={'dictionary':{},'getPluralForm':null},_0x34f746['az']['dictionary']=Object['assign'](_0x34f746['az']['dictionary'],_0x478c71),_0x34f746['az']['getPluralForm']=_0x5c4fac;})(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':_0x4af444=>_0x4af444%0xa==0x1&&_0x4af444%0x64!=0xb?0x0:_0x4af444%0xa>=0x2&&_0x4af444%0xa<=0x4&&(_0x4af444%0x64<0xa||_0x4af444%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':_0x22ab19=>_0x22ab19%0xa==0x1&&_0x22ab19%0x64!=0xb?0x0:_0x22ab19%0xa>=0x2&&_0x22ab19%0xa<=0x4&&(_0x22ab19%0x64<0xa||_0x22ab19%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x1ab4b1=>{const {be:{dictionary:_0xa52d08,getPluralForm:_0x483575}}={'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':_0x1adc7b=>_0x1adc7b%0xa==0x1&&_0x1adc7b%0x64!=0xb?0x0:_0x1adc7b%0xa>=0x2&&_0x1adc7b%0xa<=0x4&&(_0x1adc7b%0x64<0xa||_0x1adc7b%0x64>=0x14)?0x1:0x2}};_0x1ab4b1['be']||={'dictionary':{},'getPluralForm':null},_0x1ab4b1['be']['dictionary']=Object['assign'](_0x1ab4b1['be']['dictionary'],_0xa52d08),_0x1ab4b1['be']['getPluralForm']=_0x483575;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x4c4ee4=>{const {be:{dictionary:_0x4d6d40,getPluralForm:_0x2a1405}}={'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':_0x507564=>_0x507564%0xa==0x1&&_0x507564%0x64!=0xb?0x0:_0x507564%0xa>=0x2&&_0x507564%0xa<=0x4&&(_0x507564%0x64<0xa||_0x507564%0x64>=0x14)?0x1:0x2}};_0x4c4ee4['be']||={'dictionary':{},'getPluralForm':null},_0x4c4ee4['be']['dictionary']=Object['assign'](_0x4c4ee4['be']['dictionary'],_0x4d6d40),_0x4c4ee4['be']['getPluralForm']=_0x2a1405;})(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':_0x11ddda=>0x1!=_0x11ddda}};
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':_0x524d74=>0x1!=_0x524d74}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x782378=>{const {bg:{dictionary:_0x1702ff,getPluralForm:_0x31faf0}}={'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':_0x5581ee=>0x1!=_0x5581ee}};_0x782378['bg']||={'dictionary':{},'getPluralForm':null},_0x782378['bg']['dictionary']=Object['assign'](_0x782378['bg']['dictionary'],_0x1702ff),_0x782378['bg']['getPluralForm']=_0x31faf0;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x12917e=>{const {bg:{dictionary:_0x3106c4,getPluralForm:_0x151893}}={'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':_0xd742c0=>0x1!=_0xd742c0}};_0x12917e['bg']||={'dictionary':{},'getPluralForm':null},_0x12917e['bg']['dictionary']=Object['assign'](_0x12917e['bg']['dictionary'],_0x3106c4),_0x12917e['bg']['getPluralForm']=_0x151893;})(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':_0x37cdcc=>0x1!=_0x37cdcc}};
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':_0x280283=>0x1!=_0x280283}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x49a909=>{const {bn:{dictionary:_0xffb607,getPluralForm:_0x5ad9ae}}={'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':_0x3e0051=>0x1!=_0x3e0051}};_0x49a909['bn']||={'dictionary':{},'getPluralForm':null},_0x49a909['bn']['dictionary']=Object['assign'](_0x49a909['bn']['dictionary'],_0xffb607),_0x49a909['bn']['getPluralForm']=_0x5ad9ae;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x37b8d0=>{const {bn:{dictionary:_0x14f94d,getPluralForm:_0x26b028}}={'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':_0x12c25e=>0x1!=_0x12c25e}};_0x37b8d0['bn']||={'dictionary':{},'getPluralForm':null},_0x37b8d0['bn']['dictionary']=Object['assign'](_0x37b8d0['bn']['dictionary'],_0x14f94d),_0x37b8d0['bn']['getPluralForm']=_0x26b028;})(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':_0x289eed=>_0x289eed%0xa==0x1&&_0x289eed%0x64!=0xb?0x0:_0x289eed%0xa>=0x2&&_0x289eed%0xa<=0x4&&(_0x289eed%0x64<0xa||_0x289eed%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':_0x581acc=>_0x581acc%0xa==0x1&&_0x581acc%0x64!=0xb?0x0:_0x581acc%0xa>=0x2&&_0x581acc%0xa<=0x4&&(_0x581acc%0x64<0xa||_0x581acc%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x52a88f=>{const {bs:{dictionary:_0x4e6458,getPluralForm:_0x40524d}}={'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':_0x158d1d=>_0x158d1d%0xa==0x1&&_0x158d1d%0x64!=0xb?0x0:_0x158d1d%0xa>=0x2&&_0x158d1d%0xa<=0x4&&(_0x158d1d%0x64<0xa||_0x158d1d%0x64>=0x14)?0x1:0x2}};_0x52a88f['bs']||={'dictionary':{},'getPluralForm':null},_0x52a88f['bs']['dictionary']=Object['assign'](_0x52a88f['bs']['dictionary'],_0x4e6458),_0x52a88f['bs']['getPluralForm']=_0x40524d;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x851a25=>{const {bs:{dictionary:_0x574d56,getPluralForm:_0x59b706}}={'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':_0x1bd4f6=>_0x1bd4f6%0xa==0x1&&_0x1bd4f6%0x64!=0xb?0x0:_0x1bd4f6%0xa>=0x2&&_0x1bd4f6%0xa<=0x4&&(_0x1bd4f6%0x64<0xa||_0x1bd4f6%0x64>=0x14)?0x1:0x2}};_0x851a25['bs']||={'dictionary':{},'getPluralForm':null},_0x851a25['bs']['dictionary']=Object['assign'](_0x851a25['bs']['dictionary'],_0x574d56),_0x851a25['bs']['getPluralForm']=_0x59b706;})(window['CKEDITOR_TRANSLATIONS']||={});