@ckeditor/ckeditor5-uploadcare 47.0.0 → 47.1.0-alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (173) hide show
  1. package/build/uploadcare.js +1 -1
  2. package/dist/index.js +3 -3
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +9 -9
  150. package/src/index.js +1 -1
  151. package/src/ui/uploadcarecontroller.js +2 -2
  152. package/src/ui/uploadcareformview.js +1 -1
  153. package/src/uploadcare.js +1 -1
  154. package/src/uploadcarecommand.js +1 -1
  155. package/src/uploadcareconfig.js +1 -1
  156. package/src/uploadcareediting.js +1 -1
  157. package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.js +2 -2
  158. package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.js +1 -1
  159. package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.js +1 -1
  160. package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.js +1 -1
  161. package/src/uploadcareimageedit/ui/uploadcareimageeditformview.js +1 -1
  162. package/src/uploadcareimageedit/uploadcareimageeditcommand.js +1 -1
  163. package/src/uploadcareimageedit/uploadcareimageeditediting.js +1 -1
  164. package/src/uploadcareimageedit/uploadcareimageeditui.js +1 -1
  165. package/src/uploadcareimageedit/uploadcareimagereplacecommand.js +1 -1
  166. package/src/uploadcareimageedit.js +1 -1
  167. package/src/uploadcareui.js +1 -1
  168. package/src/uploadcareuploadadapter.js +1 -1
  169. package/src/utils/common-translations.js +1 -1
  170. package/src/utils/dialogfocusmanagerview.js +1 -1
  171. package/src/utils/editingutils.js +1 -1
  172. package/src/utils/isancestor.js +1 -1
  173. package/src/utils/uploadutils.js +1 -1
package/dist/index.js CHANGED
@@ -20,6 +20,6 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x2aa699,Command as _0x3fdc80}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x54b6c1,IconGooglePhotos as _0x5397ba,IconGoogleDrive as _0x4aaab2,IconFacebook as _0x2a31b2,IconDropbox as _0x30aad0,IconUploadcareLink as _0x3717cd,IconUploadcareImageUpload as _0x49f1fb,IconError as _0x1c947e,IconUploadcareImageEdit as _0x2153b2}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x1d4c82,MenuBarMenuListItemButtonView as _0x194f88,View as _0x3ac5a1,FocusCycler as _0x4aa2de,Dialog as _0x5c5bbd,DialogViewPosition as _0x56a80f,SpinnerView as _0x1190d8,IconView as _0x3da4cd,Notification as _0x4efee3}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x34a38c,DomEmitterMixin as _0x18c5d3,global as _0x578c48,getAncestors as _0x6dfb64,ObservableMixin as _0x3a4d80,uid as _0x3ef480,createElement as _0x88f93b}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0xb3e91b}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x2c0bec,info as _0x58cd99}from'@uploadcare/upload-client';import*as _0x3f147d from'@uploadcare/file-uploader';var i=function(_0x2a4cbc){return _0x2a4cbc['Local']='local',_0x2a4cbc['URL']='url',_0x2a4cbc['Dropbox']='dropbox',_0x2a4cbc['GDrive']='gdrive',_0x2a4cbc['Facebook']='facebook',_0x2a4cbc['GPhotos']='gphotos',_0x2a4cbc['OneDrive']='onedrive',_0x2a4cbc;}({});function _(_0x546a05,_0x4b6cde,_0x4061f0){const t=_0x546a05['t'],_0x43faa5=_0x546a05['t'];switch(_0x4b6cde){case i['Local']:return{'text':_0x43faa5('Insert'===_0x4061f0?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x43faa5('From\x20computer')};case i['URL']:return{'text':'Insert'===_0x4061f0?_0x43faa5('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x43faa5('Via\x20URL')};case i['Dropbox']:return{'text':t('Insert'===_0x4061f0?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case i['Facebook']:return{'text':t('Insert'===_0x4061f0?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case i['GDrive']:return{'text':t('Insert'===_0x4061f0?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case i['GPhotos']:return{'text':t('Insert'===_0x4061f0?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case i['OneDrive']:return{'text':t('Insert'===_0x4061f0?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x4b6cde;}}class e extends _0x2aa699{['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 _0x4e069b=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x6b956c;for(const _0x11402b in _0x4e069b){const _0x2fb836=_0x11402b,_0x1ad9a7=_0x4e069b[_0x2fb836];if('uploadcareLicenseKeyValid'==_0x1ad9a7||'uploadcareLicenseKeyInvalid'==_0x1ad9a7||'uploadcareLicenseKeyExpired'==_0x1ad9a7||'uploadcareLicenseKeyDomainLimit'==_0x1ad9a7||'uploadcareLicenseKeyNotAllowed'==_0x1ad9a7||'uploadcareLicenseKeyEvaluationLimit'==_0x1ad9a7||'uploadcareLicenseKeyTrialLimit'==_0x1ad9a7||'uploadcareLicenseKeyUsageLimit'==_0x1ad9a7){delete _0x4e069b[_0x2fb836],_0x6b956c=_0x1ad9a7,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x6b956c&&_0x4e069b['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x6b956c&&_0x4e069b['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x6b956c&&_0x4e069b['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x6b956c&&_0x4e069b['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x6b956c&&_0x4e069b['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0x6b956c&&_0x4e069b['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0x6b956c&&_0x4e069b['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x313959}=this,_0x23db65=_0x313959['commands']['get']('uploadcare');if(!_0x23db65)return;const _0xc292df=this['_normalizeConfigSourceList'](_0x313959['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x4edb1c,_0x31aaf8)=>{const _0x4a60e6=this['_getIntegrationKey'](_0x31aaf8['type']);return _0x4edb1c[_0x4a60e6]||(_0x4edb1c[_0x4a60e6]=[]),_0x4edb1c[_0x4a60e6]['push'](_0x31aaf8),_0x4edb1c;},{});_0x313959['plugins']['has']('ImageInsertUI')&&_0x313959['commands']['get']('uploadcare')&&Object['entries'](_0xc292df)['forEach'](([_0x3e33bb,_0x1ed3ba])=>{_0x313959['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x3e33bb,'observable':()=>_0x23db65,'buttonViewCreator':()=>this['_createToolbarButton'](_0x1ed3ba),'formViewCreator':()=>this['_createDropdownButtons'](_0x1ed3ba),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x1ed3ba),'override':'assetManager'!==_0x3e33bb});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x2b6150){const {locale:_0xc5d8e3}=this['editor'];return _0x2b6150['map'](_0x277887=>{const _0x40dfcf=_(_0xc5d8e3,_0x277887,'Insert');switch(_0x277887){case i['Local']:return{'icon':_0x49f1fb,'type':i['Local'],..._0x40dfcf};case i['URL']:return{'icon':_0x3717cd,'type':i['URL'],..._0x40dfcf};case i['Dropbox']:return{'icon':_0x30aad0,'type':i['Dropbox'],..._0x40dfcf};case i['Facebook']:return{'icon':_0x2a31b2,'type':i['Facebook'],..._0x40dfcf};case i['GDrive']:return{'icon':_0x4aaab2,'type':i['GDrive'],..._0x40dfcf};case i['GPhotos']:return{'icon':_0x5397ba,'type':i['GPhotos'],..._0x40dfcf};case i['OneDrive']:return{'icon':_0x54b6c1,'type':i['OneDrive'],..._0x40dfcf};}});}['_getIntegrationKey'](_0x4ecf6f){switch(_0x4ecf6f){case i['Local']:return'upload';case i['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x3e8e6e,_0x195330){const _0x5b42ee=this['editor'],_0x2176b5=new _0x3e8e6e(_0x5b42ee['locale']),_0x2a527e=_0x5b42ee['commands']['get']('uploadcare');return _0x2176b5['bind']('isEnabled')['to'](_0x2a527e),_0x2176b5['on']('execute',()=>{_0x2a527e['execute'](_0x195330);}),_0x2176b5;}['_createToolbarButton'](_0x2ab985){const {locale:_0x4a2e57}=this['editor'],_0x20b4d5=this['editor']['plugins']['get']('ImageInsertUI'),_0x3f961c=_0x2ab985[0x0],_0x315e72=this['_createButton'](_0x1d4c82,_0x3f961c['type']);return _0x315e72['icon']=_0x3f961c['icon'],_0x315e72['bind']('label')['to'](_0x20b4d5,'isImageSelected',_0x9a1317=>_(_0x4a2e57,_0x3f961c['type'],_0x9a1317?'Replace':'Insert')['text']),_0x315e72['tooltip']=!0x0,_0x315e72;}['_createDropdownButtons'](_0x563aa4){const {locale:_0x2e132c}=this['editor'],_0x174058=this['editor']['plugins']['get']('ImageInsertUI');return _0x563aa4['map'](_0x36e40e=>{const _0xac4780=this['_createButton'](_0x1d4c82,_0x36e40e['type']);return _0xac4780['withText']=!0x0,_0xac4780['icon']=_0x36e40e['icon'],_0xac4780['bind']('label')['to'](_0x174058,'isImageSelected',_0x40319e=>_(_0x2e132c,_0x36e40e['type'],_0x40319e?'Replace':'Insert')['text']),_0xac4780;});}['_createMenuBarButtons'](_0x43244e){return _0x43244e['map'](_0x36fe63=>{const _0x1a6094=this['_createButton'](_0x194f88,_0x36fe63['type']);return _0x1a6094['icon']=_0x36fe63['icon'],_0x1a6094['label']=_0x36fe63['shortText'],_0x1a6094;});}}class F extends _0x3ac5a1{['focusTracker'];['focusCycler'];constructor(_0x56b7bf){super(_0x56b7bf),this['focusTracker']=new _0x34a38c(),this['focusCycler']=new _0x4aa2de({'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(_0x510a5c,_0x45168c){super(_0x510a5c),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-'+_0x45168c}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function C(_0x303aea,_0x445beb){const _0x19f42e=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x1e09a7=>_0x1e09a7<=_0x445beb)['map'](_0x1776a5=>_0x303aea['replace'](/\/$/,'')+'/-/resize/'+_0x1776a5+'x/\x20'+_0x1776a5+'w');return{'imageFallbackUrl':_0x303aea,'imageSources':[{'srcset':_0x19f42e['join'](',\x20'),'sizes':'(max-width:\x20'+_0x445beb+'px)\x20100vw,\x20'+_0x445beb+'px','type':'image/webp'}]};}function S(_0x3598f2,_0xf16784,_0x1fc3eb){const _0x27b265=_0x3598f2['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x27b265?parseInt(_0x27b265[0x1],0xa):_0xf16784,'height':_0x27b265?parseInt(_0x27b265[0x2],0xa):_0x1fc3eb};}function p(_0x5ee30e,_0x2e37cf){const _0x556989=new(_0x18c5d3())(),_0x2622e3=_0x5ee30e['plugins']['get']('ImageUtils'),_0xb4b33f=_0x5ee30e['editing']['mapper']['toViewElement'](_0x2e37cf),_0x230a81=_0x2622e3['findViewImgElement'](_0xb4b33f),_0x59ca56=_0x5ee30e['editing']['view']['domConverter']['viewToDom'](_0x230a81),_0x23c91a=_0x2e37cf['getAttribute']('width'),_0x53250b=_0x2e37cf['getAttribute']('height'),_0x33c9ee='image-processing';_0x5ee30e['editing']['view']['change'](_0x4084c1=>{_0x4084c1['addClass'](_0x33c9ee,_0xb4b33f),_0x4084c1['setStyle']('aspect-ratio',_0x23c91a+'/'+_0x53250b,_0x230a81);}),_0x556989['listenTo'](_0x59ca56,'load',()=>{_0x556989['stopListening'](_0x59ca56,'load'),_0x5ee30e['editing']['view']['change'](_0x567302=>{_0x567302['removeClass'](_0x33c9ee,_0xb4b33f),_0x567302['removeStyle']('aspect-ratio',_0x230a81);});});}function G(_0x2cb499){if(Array['isArray'](_0x2cb499)){const _0x4733c9=_0x2cb499['map'](G);return _0x4c446b=>_0x4733c9['some'](_0x6b3f1d=>_0x6b3f1d(_0x4c446b));}if('origin'==_0x2cb499){const _0x4d3d39=_0x578c48['window']['location']['origin'];return _0x1241db=>new URL(_0x1241db,_0x578c48['document']['baseURI'])['origin']==_0x4d3d39;}return'function'==typeof _0x2cb499?_0x2cb499:_0x2cb499 instanceof RegExp?_0x2cc830=>!(!_0x2cc830['match'](_0x2cb499)&&!_0x2cc830['replace'](/^https?:\/\//,'')['match'](_0x2cb499)):()=>!0x1;}function A(_0x25920b,_0x4a46d1){return _0x6dfb64(_0x25920b['target'])['includes'](_0x4a46d1);}class n extends/* #__PURE__ -- @preserve */
24
- _0x3a4d80(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x5eca26,_0x150e5c,_0x115d2f){super(),this['_editor']=_0x5eca26,this['_editing']=_0x150e5c,this['_dialog']=_0x5eca26['plugins']['get'](_0x5c5bbd),this['_api']=_0x150e5c['ctxElement']['getAPI'](),this['_type']=_0x115d2f,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:_0x55b521,model:_0x1696ec}=this['_editor'],_0x2894f7=_0x1696ec['document']['selection']['getSelectedElement'](),_0x2aa976=_0x2894f7&&(_0x2894f7['is']('element','imageBlock')||_0x2894f7['is']('element','imageInline'));this['_formView']=new x(_0x55b521,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':_0x49f1fb,'title':_(_0x55b521,this['_type'],_0x2aa976?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x56a80f['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x2ce253=>!A(_0x2ce253,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x3d9532}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x253deb=>{const _0x2da16f=_0x3d9532['length'];for(const _0x465273 of _0x3d9532){const _0x7c5db3=_0x465273===_0x3d9532[_0x2da16f-0x1],{cdnUrl:_0x5d2421,fileInfo:_0x30eb3f}=_0x465273;if(!_0x5d2421||!_0x30eb3f)continue;const {width:_0x3c1ad9,height:_0x5e1996}=_0x30eb3f['imageInfo'],_0x9a7558=S(_0x5d2421,_0x3c1ad9,_0x5e1996),_0x2689c0=C(_0x5d2421,_0x9a7558['width']),_0x4fdb9b={'id':_0x30eb3f['uuid'],'type':'image','attributes':{'imageDimension':_0x9a7558,..._0x2689c0}};this['_insertAsset'](_0x4fdb9b,_0x7c5db3,_0x253deb);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x474c6b=>{'idle'===_0x474c6b['detail']['status']&&!_0x474c6b['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===i['Local']?this['_api']['setCurrentActivity'](i['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x583381,_0x117827,_0x5b564d){const _0x4e2755=this['_editor']['model']['document']['selection'],_0xfb6c8e=_0x4e2755['getSelectedElement'](),_0x23a0e3=!(!_0xfb6c8e||!_0xfb6c8e['is']('element','imageInline'));_0x5b564d['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x583381,_0x23a0e3),_0x117827||_0x5b564d['setSelection'](_0x4e2755['getLastPosition']());}['_insertImage'](_0x50e94d,_0xa325e7){const _0x16a304=this['_editor'],{imageDimension:_0x20a80c,imageFallbackUrl:_0x5158f2,imageSources:_0x437ecc}=_0x50e94d['attributes'];_0x16a304['execute']('insertImage',{'imageType':_0xa325e7?'imageInline':null,'source':{'uploadcareImageId':_0x50e94d['id'],'src':_0x5158f2,'sources':_0x437ecc,..._0x20a80c}});}}class w extends _0x3fdc80{['_editing'];['_controller']=null;static get['requires'](){return[_0x5c5bbd,o];}constructor(_0x2e0190){super(_0x2e0190),this['_editing']=_0x2e0190['plugins']['get'](o);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x228551){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new n(this['editor'],this['_editing'],_0x228551);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class j{static['upload']({file:_0x285dd2,..._0x411590}){return _0x2c0bec(_0x285dd2,_0x411590);}static['getInfo'](_0x5c1c90,_0x34c53f){return _0x58cd99(_0x5c1c90,_0x34c53f);}}class f extends _0x2aa699{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0xb3e91b,o];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x5d65aa=this['editor'];if(!!!_0x5d65aa['config']['get']('uploadcare'))return;_0x5d65aa['plugins']['get'](_0xb3e91b)['createUploadAdapter']=_0x5af586=>new k(_0x5af586,_0x5d65aa),_0x5d65aa['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x255b28,{imageElement:_0x48d84e,data:_0x419f26})=>{_0x5d65aa['model']['change'](_0x39c3c0=>{_0x39c3c0['setAttribute']('uploadcareImageId',_0x419f26['uploadcareImageId'],_0x48d84e);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x4ca6c8,_0xef60ff){this['loader']=_0x4ca6c8,this['editor']=_0xef60ff,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x21a174=await this['loader']['file'];return j['upload']({'file':_0x21a174,'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':_0x37d2f1=>{_0x37d2f1&&_0x37d2f1['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x37d2f1['value']);}})['then'](async _0x78882d=>{const {imageFallbackUrl:_0x44fa17,imageSources:_0x5d4c44}=C(_0x78882d['cdnUrl'],_0x78882d['imageInfo']['width']);return{'uploadcareImageId':_0x78882d['uuid'],'default':_0x44fa17,'sources':_0x5d4c44};})['catch'](()=>{const _0x2ea058=t('Cannot\x20upload\x20file:')+('\x20'+_0x21a174['name']+'.');return Promise['reject'](_0x2ea058);});}['abort'](){this['controller']['abort']();}}class o extends _0x2aa699{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',f,_0x5c5bbd];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['ucContextId'];get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}constructor(_0x30e69d){super(_0x30e69d),this['ucContextId']=_0x3ef480();}['init'](){const _0x4108be=this['editor'];_0x4108be['commands']['add']('uploadcare',new w(_0x4108be));}['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 _0x195c4d=_0x578c48['document']['querySelector']('input[uploadcare-file-input]');_0x195c4d&&_0x195c4d['remove']();}),async function(_0xaad78e){const _0x42a3d8=_0x327443([0x52,0x42,0x63,0x58,0x64,0x47,0x66,0x35,0x36,0x37,0x6d,0x4e,0x6a,0x4b,0x39,0x44,0x54,0x70,0x50,0x30,0x49,0x79,0x69,0x33,0x67,0x65,0x61,0x38,0x5a,0x76,0x7a,0x6c,0x45,0x34,0x62,0x46,0x75,0x57,0x72,0x77,0x73,0x48,0x31,0x68,0x6e,0x4f,0x53,0x4c,0x71,0x6b,0x59,0x32,0x4d,0x51,0x4a,0x78,0x6f,0x56,0x41,0x55,0x74,0x43]),_0x48c88b=0x3d8d0df,_0x16e5ea=0x3dfa42f^_0x48c88b,_0x56ca5c=window[_0x327443([0x44,0x61,0x74,0x65])][_0x327443([0x6e,0x6f,0x77])](),_0x55ee9a=_0xaad78e[_0x327443([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x324f1e=new window[(_0x327443([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5427d7=>{_0x55ee9a[_0x327443([0x6f,0x6e,0x63,0x65])](_0x327443([0x72,0x65,0x61,0x64,0x79]),_0x5427d7);}),_0x2beaaf={[_0x327443([0x6b,0x74,0x79])]:_0x327443([0x45,0x43]),[_0x327443([0x75,0x73,0x65])]:_0x327443([0x73,0x69,0x67]),[_0x327443([0x63,0x72,0x76])]:_0x327443([0x50,0x2d,0x32,0x35,0x36]),[_0x327443([0x78])]:_0x327443([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]),[_0x327443([0x79])]:_0x327443([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]),[_0x327443([0x61,0x6c,0x67])]:_0x327443([0x45,0x53,0x32,0x35,0x36])},_0x55e535=_0x55ee9a[_0x327443([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x327443([0x67,0x65,0x74])](_0x327443([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x51ab72(){let _0x3e507e,_0x3a04c7=null,_0x160bdc=null;try{if(_0x55e535==_0x327443([0x47,0x50,0x4c]))return _0x327443([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3e507e=_0xc49e6(),!_0x3e507e)return _0x327443([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x3e507e[_0x327443([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x160bdc=_0x363a1e(_0x3e507e[_0x327443([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3e507e[_0x327443([0x6a,0x74,0x69])])),await _0x3d597b()?_0xce5e15()?_0x550634()?_0x327443([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x210545()?(_0x3e507e[_0x327443([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x327443([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3a04c7=_0x37982a(_0x327443([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x3e507e[_0x327443([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x327443([0x74,0x72,0x69,0x61,0x6c])&&(_0x3a04c7=_0x37982a(_0x327443([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x240434()):_0x327443([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x327443([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x327443([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x327443([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x550634(){const _0x3896da=[_0x327443([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x327443([0x74,0x72,0x69,0x61,0x6c])][_0x327443([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3e507e[_0x327443([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x56ca5c/0x3e8:0xe10*_0x16e5ea;return _0x3e507e[_0x327443([0x65,0x78,0x70])]<_0x3896da;}function _0xce5e15(){const _0x5659ae=_0x3e507e[_0x327443([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x5659ae&&(!!_0x5659ae[_0x327443([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x327443([0x2a]))||!!_0x5659ae[_0x327443([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x327443([0x55,0x50,0x4c,0x43])));}function _0x210545(){const _0x3a1b3a=_0x3e507e[_0x327443([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3a1b3a||0x0==_0x3a1b3a[_0x327443([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0xbe472a}=new URL(window[_0x327443([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x3a1b3a[_0x327443([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xbe472a))return!0x0;const _0x561316=_0xbe472a[_0x327443([0x73,0x70,0x6c,0x69,0x74])](_0x327443([0x2e]));return _0x3a1b3a[_0x327443([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x48cf0e=>_0x48cf0e[_0x327443([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x327443([0x2a])))[_0x327443([0x6d,0x61,0x70])](_0x3aaf1b=>_0x3aaf1b[_0x327443([0x73,0x70,0x6c,0x69,0x74])](_0x327443([0x2e])))[_0x327443([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3d3fb0=>_0x3d3fb0[_0x327443([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x561316[_0x327443([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x327443([0x6d,0x61,0x70])](_0x293dc6=>Array(_0x561316[_0x327443([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x293dc6[_0x327443([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x327443([0x66,0x69,0x6c,0x6c])](_0x293dc6[0x0]===_0x327443([0x2a])?_0x327443([0x2a]):'')[_0x327443([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x293dc6))[_0x327443([0x73,0x6f,0x6d,0x65])](_0x5d2cd6=>_0x561316[_0x327443([0x65,0x76,0x65,0x72,0x79])]((_0x2055f8,_0x615b73)=>_0x5d2cd6[_0x615b73]===_0x2055f8||_0x5d2cd6[_0x615b73]===_0x327443([0x2a])));}function _0x240434(){return _0x3a04c7&&_0x160bdc?new window[(_0x327443([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xa25047,_0x4b6f22)=>{_0x3a04c7[_0x327443([0x74,0x68,0x65,0x6e])](_0xa25047,_0x4b6f22),_0x160bdc[_0x327443([0x74,0x68,0x65,0x6e])](_0x18b576=>{_0x18b576!=_0x327443([0x56,0x61,0x6c,0x69,0x64])&&_0xa25047(_0x18b576);},_0x4b6f22);}):_0x3a04c7||_0x160bdc||_0x327443([0x56,0x61,0x6c,0x69,0x64]);}}function _0x363a1e(_0x2447d7,_0x2332f8){return new window[(_0x327443([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3ec7cd=>{if(_0x3e18a6())return _0x3ec7cd(_0x327443([0x56,0x61,0x6c,0x69,0x64]));_0x4c879b(),_0x55ee9a[_0x327443([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x327443([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x5cc117=!0x1;const _0x57b8e8=_0x3ef480();function _0x10767c(_0x59527f){return!!_0x59527f&&(typeof _0x59527f===_0x327443([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x59527f===_0x327443([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x59527f[_0x327443([0x74,0x68,0x65,0x6e])]===_0x327443([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x59527f[_0x327443([0x63,0x61,0x74,0x63,0x68])]===_0x327443([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x2cc882(_0x8297f){_0x8e6338(_0x8297f)[_0x327443([0x74,0x68,0x65,0x6e])](_0x4d8df9=>{if(!_0x4d8df9||_0x4d8df9[_0x327443([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x327443([0x6f,0x6b]))return _0x327443([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x52cb51(_0x391cf1(_0x57b8e8+_0x2332f8))!=_0x4d8df9[_0x327443([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x327443([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x327443([0x56,0x61,0x6c,0x69,0x64]);})[_0x327443([0x74,0x68,0x65,0x6e])](_0x187c80=>(_0x3a3e88(),_0x187c80),()=>{const _0x5c8028=_0x3b4d52();return null==_0x5c8028?(_0x3a3e88(),_0x327443([0x56,0x61,0x6c,0x69,0x64])):_0x327443(_0x56ca5c-_0x5c8028>(0x27d454df^_0x48c88b)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x327443([0x74,0x68,0x65,0x6e])](_0x3ec7cd)[_0x327443([0x63,0x61,0x74,0x63,0x68])](()=>{_0x3ec7cd(_0x327443([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5b5154=0x3ee3e5f^_0x48c88b;function _0x3a3e88(){const _0x490e00=_0x327443([0x6c,0x6c,0x63,0x74,0x2d])+_0x52cb51(_0x391cf1(_0x2447d7)),_0x56f37d=_0x5e06f8(_0x52cb51(window[_0x327443([0x4d,0x61,0x74,0x68])][_0x327443([0x63,0x65,0x69,0x6c])](_0x56ca5c/_0x5b5154)));window[_0x327443([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x327443([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x490e00,_0x56f37d);}function _0x3b4d52(){const _0xa13b8a=_0x327443([0x6c,0x6c,0x63,0x74,0x2d])+_0x52cb51(_0x391cf1(_0x2447d7)),_0x2e27b3=window[_0x327443([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x327443([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xa13b8a);return _0x2e27b3?window[_0x327443([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5e06f8(_0x2e27b3),0x10)*_0x5b5154:null;}function _0x8e6338(_0x155dd3){return new window[(_0x327443([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x312b82,_0x369357)=>{_0x155dd3[_0x327443([0x74,0x68,0x65,0x6e])](_0x312b82,_0x369357),window[_0x327443([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x369357,0x3d9041f^_0x48c88b);});}}_0x55ee9a[_0x327443([0x6f,0x6e])](_0x327443([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x15b15f,_0x3f3bac)=>{if(_0x3f3bac[0x0]!=_0x2447d7)return _0x3ec7cd(_0x327443([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3f3bac[0x1]={..._0x3f3bac[0x1],[_0x327443([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x57b8e8};},{[_0x327443([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x327443([0x68,0x69,0x67,0x68])}),_0x55ee9a[_0x327443([0x6f,0x6e])](_0x327443([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x25c5f6=>{_0x10767c(_0x25c5f6[_0x327443([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x5cc117=!0x0,_0x2cc882(_0x25c5f6[_0x327443([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x327443([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x327443([0x6c,0x6f,0x77])}),_0x324f1e[_0x327443([0x74,0x68,0x65,0x6e])](()=>{_0x5cc117||_0x3ec7cd(_0x327443([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3e18a6(){return _0x55ee9a[_0x327443([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x327443([0x76,0x69,0x65,0x77])][_0x327443([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x327443([0x61,0x75,0x74,0x6f]);}function _0x4c879b(){_0x55ee9a[_0x327443([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x327443([0x76,0x69,0x65,0x77])][_0x327443([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x327443([0x61,0x75,0x74,0x6f]);}}function _0x37982a(_0x55ece3){const _0x4ec9ed=[new window[(_0x327443([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x88d64d=>setTimeout(_0x88d64d,0x3d1ee13^_0x48c88b)),_0x324f1e[_0x327443([0x74,0x68,0x65,0x6e])](()=>new window[(_0x327443([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x44976e=>{let _0x34f6bd=0x0;_0x55ee9a[_0x327443([0x6d,0x6f,0x64,0x65,0x6c])][_0x327443([0x6f,0x6e])](_0x327443([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x2b6b85,_0x15e225)=>{_0x15e225[0x0][_0x327443([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x34f6bd++,_0x34f6bd==(0x3d8d127^_0x48c88b)&&(_0x44976e(),_0x2b6b85[_0x327443([0x6f,0x66,0x66])]());});}))];return window[_0x327443([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x327443([0x72,0x61,0x63,0x65])](_0x4ec9ed)[_0x327443([0x74,0x68,0x65,0x6e])](()=>_0x55ece3);}async function _0xb66c80(){await _0x324f1e,_0x55ee9a[_0x327443([0x6d,0x6f,0x64,0x65,0x6c])][_0x327443([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x1caf1d,_0x55ee9a[_0x327443([0x6d,0x6f,0x64,0x65,0x6c])][_0x327443([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x1caf1d,_0x55ee9a[_0x327443([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x327443([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x22e1ac(_0x5e887f){const _0xe3e125=_0x5bfad0();_0x55ee9a[_0xe3e125]=_0x327443([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x5e887f,_0x5e887f!=_0x327443([0x56,0x61,0x6c,0x69,0x64])&&_0xb66c80();}function _0x5bfad0(){const _0x175cef=window[_0x327443([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x327443([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x327443([0x6e,0x6f,0x77])]())[_0x327443([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x327443([0x2e]),'');let _0x3ad0d7=_0x327443([0x52]);for(let _0x53280d=0x0;_0x53280d<_0x175cef[_0x327443([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x53280d+=0x2){let _0x56581e=window[_0x327443([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x175cef[_0x327443([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x53280d,_0x53280d+0x2));_0x56581e>=_0x42a3d8[_0x327443([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x56581e-=_0x42a3d8[_0x327443([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3ad0d7+=_0x42a3d8[_0x56581e];}return _0x3ad0d7;}function _0xc49e6(){const _0x3942f7=_0x55e535[_0x327443([0x73,0x70,0x6c,0x69,0x74])](_0x327443([0x2e]));if(0x3!=_0x3942f7[_0x327443([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x5f15d7(_0x3942f7[0x1]);function _0x5f15d7(_0x564736){const _0x445feb=_0x3b68e4(_0x564736);return _0x445feb&&_0x57777d()?_0x445feb:null;function _0x57777d(){const _0x4e3bb2=_0x445feb[_0x327443([0x6a,0x74,0x69])],_0x403623=window[_0x327443([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4e3bb2[_0x327443([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4e3bb2[_0x327443([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x105b12={..._0x445feb,[_0x327443([0x6a,0x74,0x69])]:_0x4e3bb2[_0x327443([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4e3bb2[_0x327443([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x105b12[_0x327443([0x76,0x63])],_0x391cf1(_0x105b12)==_0x403623;}}}async function _0x3d597b(){let _0x560e46=!0x0;try{const _0x4eb9e6=_0x55e535[_0x327443([0x73,0x70,0x6c,0x69,0x74])](_0x327443([0x2e])),[_0x2f8064,_0x10c287,_0x254eac]=_0x4eb9e6;return _0x53e630(_0x2f8064),await _0x551db3(_0x2f8064,_0x10c287,_0x254eac),_0x560e46;}catch{return!0x1;}function _0x53e630(_0x36ae0b){const _0x5ae363=_0x3b68e4(_0x36ae0b);_0x5ae363&&_0x5ae363[_0x327443([0x61,0x6c,0x67])]==_0x327443([0x45,0x53,0x32,0x35,0x36])||(_0x560e46=!0x1);}async function _0x551db3(_0x55d578,_0x3f9da6,_0x51ccdc){const _0x417f17=window[_0x327443([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x327443([0x66,0x72,0x6f,0x6d])](_0x28ed04(_0x51ccdc),_0x2a93f0=>_0x2a93f0[_0x327443([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1536dc=new window[(_0x327443([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x327443([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x55d578+_0x327443([0x2e])+_0x3f9da6),_0x59a0a4=window[_0x327443([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x327443([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x59a0a4)return;const _0x3a0055=await _0x59a0a4[_0x327443([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x327443([0x6a,0x77,0x6b]),_0x2beaaf,{[_0x327443([0x6e,0x61,0x6d,0x65])]:_0x327443([0x45,0x43,0x44,0x53,0x41]),[_0x327443([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x327443([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x327443([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x59a0a4[_0x327443([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x327443([0x6e,0x61,0x6d,0x65])]:_0x327443([0x45,0x43,0x44,0x53,0x41]),[_0x327443([0x68,0x61,0x73,0x68])]:{[_0x327443([0x6e,0x61,0x6d,0x65])]:_0x327443([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x3a0055,_0x417f17,_0x1536dc)||(_0x560e46=!0x1);}}function _0x3b68e4(_0x4159be){return _0x4159be[_0x327443([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x327443([0x65,0x79]))?JSON[_0x327443([0x70,0x61,0x72,0x73,0x65])](_0x28ed04(_0x4159be)):null;}function _0x28ed04(_0x2c304d){return window[_0x327443([0x61,0x74,0x6f,0x62])](_0x2c304d[_0x327443([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x327443([0x2b]))[_0x327443([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x327443([0x2f])));}function _0x391cf1(_0x14d045){let _0x1ffff1=0x1505;function _0x534d30(_0x48fa22){for(let _0xdda9ef=0x0;_0xdda9ef<_0x48fa22[_0x327443([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xdda9ef++){const _0x14241f=_0x48fa22[_0x327443([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0xdda9ef);_0x1ffff1=(_0x1ffff1<<0x5)+_0x1ffff1+_0x14241f,_0x1ffff1&=_0x1ffff1;}}function _0x200c48(_0x2b5887){Array[_0x327443([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2b5887)?_0x2b5887[_0x327443([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x200c48):_0x2b5887&&typeof _0x2b5887==_0x327443([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x327443([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2b5887)[_0x327443([0x73,0x6f,0x72,0x74])]()[_0x327443([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x92c5b7,_0x55409d])=>{_0x534d30(_0x92c5b7),_0x200c48(_0x55409d);}):_0x534d30(window[_0x327443([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2b5887));}return _0x200c48(_0x14d045),_0x1ffff1>>>0x0;}function _0x52cb51(_0x235c2e){return _0x235c2e[_0x327443([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x327443([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x327443([0x30]));}function _0x5e06f8(_0x55bfc0){return _0x55bfc0[_0x327443([0x73,0x70,0x6c,0x69,0x74])]('')[_0x327443([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x327443([0x6a,0x6f,0x69,0x6e])]('');}function _0x1caf1d(){}function _0x327443(_0x48de42){return _0x48de42['map'](_0x1b0a44=>String['fromCharCode'](_0x1b0a44))['join']('');}_0x22e1ac(await _0x51ab72());}(this);}['_initSchema'](){const _0x4e86a7=this['editor']['model']['schema'];_0x4e86a7['isRegistered']('imageBlock')&&_0x4e86a7['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x4e86a7['isRegistered']('imageInline')&&_0x4e86a7['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x152f76=this['editor'];_0x152f76['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x152f76['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x5dda18=>_0x5dda18['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0xa78628=_0x152f76['commands']['get']('replaceImageSource');_0xa78628&&this['listenTo'](_0xa78628,'cleanupImage',(_0x5ebea8,[_0x262c63,_0x4e7f9f])=>{_0x262c63['removeAttribute']('uploadcareImageId',_0x4e7f9f);});}['_initConfig'](){const _0x1333ad=this['editor']['config']['get']('uploadcare.uploader')||{},_0x8cdaac=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x88f93b(_0x578c48['document'],'uc-config',{..._0x1333ad,'pubkey':_0x8cdaac,'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']=_0x464644=>{if('closeMax'==_0x464644)return'#uc-icon-arrow-down';},_0x578c48['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x88f93b(_0x578c48['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),_0x578c48['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x33316c=this['editor']['commands']['get']('insertImage');_0x33316c&&this['listenTo'](_0x33316c,'execute',()=>{const _0x1ef99c=this['editor']['model']['document']['selection']['getSelectedElement']();_0x1ef99c&&_0x1ef99c['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x1ef99c);});});const _0x38c66f=this['editor']['commands']['get']('uploadcareImageReplace');_0x38c66f&&this['listenTo'](_0x38c66f,'execute',()=>{const _0x3d592d=this['editor']['model']['document']['selection']['getSelectedElement']();_0x3d592d&&_0x3d592d['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x3d592d);});});}}class tt extends _0x2aa699{static get['requires'](){return[o,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x20b43d){super(_0x20b43d),_0x20b43d['config']['define']('uploadcare.uploader.sourceList',[i['Local'],i['URL']]),_0x3f147d['defineComponents'](_0x3f147d);}}class ii extends _0x3ac5a1{constructor(_0x2309b8){super(_0x2309b8);const t=_0x2309b8['t'],_0x1844ac=this['bindTemplate'],_0x3e796f=new _0x1190d8();_0x3e796f['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':[_0x3e796f,{'text':_0x1844ac['to']('imageUploadProgress',_0x139fac=>t('Loading\x20image...')+'\x20('+(_0x139fac||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 _0x3ac5a1{constructor(_0x91d0c0){super(_0x91d0c0);const t=_0x91d0c0['t'];this['set']('errorType',null);const _0x33efd1=new _0x1d4c82(_0x91d0c0);_0x33efd1['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x33efd1['withText']=!0x0,_0x33efd1['class']='ck-button-action',_0x33efd1['on']('execute',()=>{this['fire']('retry');}),_0x33efd1['bind']('isVisible')['to'](this,'errorType',_0x559dc0=>'NotFound'!==_0x559dc0);const _0x3efdb0=new _0x3da4cd();_0x3efdb0['content']=_0x1c947e,_0x3efdb0['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x4c3a82=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':[_0x3efdb0,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x4c3a82['to']('errorType',_0x181590=>t('NotFound'!==_0x181590?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x33efd1]},{'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 _0x3ac5a1{constructor(_0x317b35,_0x5f8f4d){super(_0x317b35);const _0xc66aec=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x5f8f4d,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0xc66aec['to']('imageSrc')}});}}class X extends F{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0xaa0039,_0x2ea23e,_0x484e25){super(_0xaa0039),this['_items']=this['createCollection'](),this['_loadingView']=new ii(_0xaa0039),this['_errorView']=new ti(_0xaa0039),this['_editingView']=new ei(_0xaa0039,_0x484e25),this['_focusableView']=new _0x3ac5a1(_0xaa0039),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x2ea23e),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'],_0xa0c1eb=>{this['_addUploadcareImageEditorListeners'](_0xa0c1eb);});}),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'](_0x158dbe,_0x590938){const _0x336103='uc-cloud-image-editor',_0x50be4f=_0x158dbe['querySelector'](_0x336103);if(_0x50be4f)return _0x590938(_0x50be4f);const _0x1e60b4=new MutationObserver(_0x5d4399=>{const _0x1a8447=_0x5d4399['filter'](_0x58b88a=>_0x58b88a['target']===_0x158dbe&&_0x58b88a['addedNodes']['length']>0x0&&_0x58b88a['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x336103);_0x1a8447['length']&&(_0x1e60b4['disconnect'](),_0x590938(_0x1a8447[0x0]['addedNodes'][0x0]));});_0x1e60b4['observe'](_0x158dbe,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x464a49){_0x464a49['addEventListener']('apply',_0x201481=>{this['fire']('apply',{'imageSrc':_0x201481['detail']['cdnUrl']});}),_0x464a49['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class E extends/* #__PURE__ -- @preserve */
25
- _0x3a4d80(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x5cc185,_0x55d531,_0x3ae9ab){super(),this['_editor']=_0x5cc185,this['_dialog']=_0x55d531,this['_imageElement']=_0x3ae9ab,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 _0x45bb5b=this['_imageElement'],_0x82361b=_0x45bb5b['getAttribute']('uploadcareImageId'),_0x7e94f4=_0x45bb5b['getAttribute']('src');if(_0x82361b)await this['_loadImageInfo'](_0x82361b,_0x7e94f4);else{if(this['_imageCache']['has'](_0x7e94f4)){const _0x2f4bf3=this['_imageCache']['get'](_0x7e94f4);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x2f4bf3['url'],this['imageDimension']=_0x2f4bf3['dimension'],this['imageId']=_0x2f4bf3['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x10dc32}=this['_editor'],t=_0x10dc32['t'],_0x56ba30=new X(_0x10dc32,this['imageStatus'],this['_attributes']);_0x56ba30['bind']('status')['to'](this,'imageStatus'),_0x56ba30['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x56ba30['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x56ba30['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x56ba30,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x2153b2,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x56ba30,'position':_0x56a80f['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x56ba30['focus']();},'onHide':()=>{_0x56ba30['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x424530=>!A(_0x424530,_0x56ba30['element'])}});}['_loadImageInfo'](_0x31edfd,_0xbe50e9){return j['getInfo'](_0x31edfd,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x2abe83=>{const {width:_0x81d2d4,height:_0x471242}=_0x2abe83['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0xbe50e9,this['imageDimension']={'width':_0x81d2d4,'height':_0x471242},this['imageId']=_0x31edfd;})['catch'](_0x36e4f5=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x36e4f5['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x482206,_0x2c031f){return this['_getImageAsFile'](_0x482206)['then'](_0x4ed43c=>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':_0x2c031f['signal'],'file':_0x4ed43c,'onProgress':_0x1c97c0=>{_0x1c97c0&&_0x1c97c0['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x1c97c0['value']));}}))['then'](_0x2c974e=>{const {width:_0x36fe50,height:_0x2919a5}=_0x2c974e['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x2c974e['cdnUrl'],this['imageDimension']={'width':_0x36fe50,'height':_0x2919a5},this['imageId']=_0x2c974e['uuid'],this['imageUploadProgress']=null;const _0x4f5533=_0x482206['getAttribute']('src');this['_imageCache']['set'](_0x4f5533,{'id':_0x2c974e['uuid'],'url':_0x2c974e['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x1918fe=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x1918fe['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x14d799,_0x89e6f9){_0x14d799['on']('apply',(_0x2d0428,_0x47a130)=>{this['_replaceImage'](_0x89e6f9,_0x47a130['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x14d799['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x14d799['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x1abd2e,_0x5958ac,_0x238962){const _0x660cc2=this['_editor'],{width:_0x4958c3,height:_0x42a214}=S(_0x5958ac,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x58c5d6,imageSources:_0x22e46b}=C(_0x5958ac,_0x4958c3);_0x660cc2['model']['change'](_0x1921e7=>{if('$graveyard'===_0x1abd2e['root']['rootName']){_0x660cc2['execute']('insertImage',{'imageType':_0x1abd2e['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x1abd2e['getAttributes']()),'uploadcareImageId':_0x238962,'src':_0x58c5d6,'sources':_0x22e46b,'width':_0x4958c3,'height':_0x42a214}});const _0x53b06a=_0x1abd2e['getChildren']();_0x1abd2e=_0x660cc2['model']['document']['selection']['getSelectedElement']();for(const _0x3800ea of _0x53b06a)_0x1921e7['append'](_0x1921e7['cloneElement'](_0x3800ea),_0x1abd2e);}else _0x1921e7['setSelection'](_0x1abd2e,'on'),_0x660cc2['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x1abd2e['getAttributes']()),'uploadcareImageId':_0x238962,'src':_0x58c5d6,'sources':_0x22e46b,'width':_0x4958c3,'height':_0x42a214},_0x1abd2e);_0x1921e7['setSelection'](_0x1abd2e,'on');});}async['_getImageAsFile'](_0x41ac85){const _0x5e7234=_0x578c48['window'],_0x4c181d=_0x578c48['document']['location']['href'],_0x6959af=new _0x5e7234['URL'](_0x41ac85['getAttribute']('src'),_0x4c181d);if('data:'===_0x6959af['protocol']){const _0x171ca9=_0x6959af['href']['split'](','),_0x446d8d=_0x171ca9[0x0]['match'](/:(.*?);/)[0x1],_0xf7b571=_0x446d8d['split']('/')[0x1],_0x1d372f=_0x5e7234['atob'](_0x171ca9[_0x171ca9['length']-0x1]);let _0x484225=_0x1d372f['length'];const _0x54c5ac=new _0x5e7234['Uint8Array'](_0x484225);for(;_0x484225--;)_0x54c5ac[_0x484225]=_0x1d372f['charCodeAt'](_0x484225);return new _0x5e7234['File']([_0x54c5ac],'image.'+_0xf7b571,{'type':_0x446d8d});}const _0x24f53c=_0x6959af['href']['split']('/'),_0x36f212=_0x24f53c[_0x24f53c['length']-0x1],_0x2f7280=_0x36f212['split']('.')[0x1];return _0x5e7234['fetch'](_0x6959af['href'])['then'](_0xae7144=>_0xae7144['clone']()['blob']())['then'](_0x3baba0=>new _0x5e7234['File']([_0x3baba0],_0x36f212,{'type':'image/'+_0x2f7280}));}}class O extends _0x3fdc80{['imageEditController'];static get['requires'](){return[_0x5c5bbd];}['_isEditable'];constructor(_0x2481b5){super(_0x2481b5),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x1c5a95){const _0x4da9b0=G(_0x1c5a95);return _0x2b0ea9=>!(!_0x2b0ea9||!_0x2b0ea9['is']('element','imageBlock')&&!_0x2b0ea9['is']('element','imageInline'))&&(!!_0x2b0ea9['hasAttribute']('uploadcareImageId')||!!_0x2b0ea9['hasAttribute']('src')&&_0x4da9b0(_0x2b0ea9['getAttribute']('src')));}(_0x2481b5['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x560113=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x560113);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x42e4e8=this['editor']['model']['document']['selection']['getSelectedElement']();_0x42e4e8&&(_0x42e4e8['is']('element','imageBlock')||_0x42e4e8['is']('element','imageInline'))&&(this['imageEditController']=new E(this['editor'],this['editor']['plugins']['get'](_0x5c5bbd),_0x42e4e8),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class R extends _0x3fdc80{['refresh'](){const _0x4ed54d=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x4ed54d&&(_0x4ed54d['is']('element','imageBlock')||_0x4ed54d['is']('element','imageInline')));}['execute'](_0x569602){const _0x38ab93=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x211354=>{_0x211354['setAttributes'](_0x569602,_0x38ab93),_0x211354['removeAttribute']('srcset',_0x38ab93),_0x211354['removeAttribute']('sizes',_0x38ab93);});}}class m extends _0x2aa699{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[o,_0x4efee3,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x204a93}=this;_0x204a93['commands']['add']('uploadcareImageEdit',new O(_0x204a93)),_0x204a93['commands']['add']('uploadcareImageReplace',new R(_0x204a93));}}class g extends _0x2aa699{['_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 _0x79e536=this['editor'];_0x79e536['ui']['componentFactory']['add']('uploadcareImageEdit',_0x30ee2d=>{const _0x39a6f2=_0x79e536['commands']['get']('uploadcareImageEdit'),_0x3a9f34=new _0x1d4c82(_0x30ee2d),t=_0x30ee2d['t'];return _0x3a9f34['set']({'icon':_0x2153b2,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x3a9f34['bind']('isEnabled')['to'](_0x39a6f2),_0x3a9f34['bind']('isOn')['to'](_0x39a6f2,'isActive'),this['listenTo'](_0x3a9f34,'execute',()=>{_0x79e536['execute']('uploadcareImageEdit'),_0x79e536['editing']['view']['focus']();}),_0x3a9f34;}),this['_initConfig']();}['_initConfig'](){const _0x3a1596=_0x88f93b(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x3a1596),this['listenTo'](this['editor'],'destroy',()=>{_0x3a1596['remove']();});}}class et extends _0x2aa699{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 _0x4f4b56,Command as _0x59a6b7}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x2164eb,IconGooglePhotos as _0x54a7fe,IconGoogleDrive as _0x27041f,IconFacebook as _0x475b59,IconDropbox as _0xee85ed,IconUploadcareLink as _0xd12b4e,IconUploadcareImageUpload as _0x2575e3,IconError as _0x452d5f,IconUploadcareImageEdit as _0x3f1078}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x112c68,MenuBarMenuListItemButtonView as _0x3fad0c,View as _0x5880b7,FocusCycler as _0x51a291,Dialog as _0x53f3c7,DialogViewPosition as _0x1df668,SpinnerView as _0x1851a1,IconView as _0x4830d9,Notification as _0x480d4e}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x1598da,DomEmitterMixin as _0x1a8bf7,global as _0x1074cd,getAncestors as _0x37c640,ObservableMixin as _0xf21ccc,uid as _0x15c9e0,createElement as _0x5ab8da}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x10f4c7}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x528a28,info as _0x4337d0}from'@uploadcare/upload-client';import*as _0x34159f from'@uploadcare/file-uploader';var i=function(_0x437c3e){return _0x437c3e['Local']='local',_0x437c3e['URL']='url',_0x437c3e['Dropbox']='dropbox',_0x437c3e['GDrive']='gdrive',_0x437c3e['Facebook']='facebook',_0x437c3e['GPhotos']='gphotos',_0x437c3e['OneDrive']='onedrive',_0x437c3e;}({});function _(_0x593a53,_0x4ab13b,_0x3c9119){const t=_0x593a53['t'],_0xf07f58=_0x593a53['t'];switch(_0x4ab13b){case i['Local']:return{'text':_0xf07f58('Insert'===_0x3c9119?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0xf07f58('From\x20computer')};case i['URL']:return{'text':'Insert'===_0x3c9119?_0xf07f58('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0xf07f58('Via\x20URL')};case i['Dropbox']:return{'text':t('Insert'===_0x3c9119?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case i['Facebook']:return{'text':t('Insert'===_0x3c9119?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case i['GDrive']:return{'text':t('Insert'===_0x3c9119?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case i['GPhotos']:return{'text':t('Insert'===_0x3c9119?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case i['OneDrive']:return{'text':t('Insert'===_0x3c9119?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x4ab13b;}}class e extends _0x4f4b56{['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 _0x1df4a9=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x1fd5e4;for(const _0x28bf86 in _0x1df4a9){const _0xbd02ee=_0x28bf86,_0x35951c=_0x1df4a9[_0xbd02ee];if('uploadcareLicenseKeyValid'==_0x35951c||'uploadcareLicenseKeyInvalid'==_0x35951c||'uploadcareLicenseKeyExpired'==_0x35951c||'uploadcareLicenseKeyDomainLimit'==_0x35951c||'uploadcareLicenseKeyNotAllowed'==_0x35951c||'uploadcareLicenseKeyEvaluationLimit'==_0x35951c||'uploadcareLicenseKeyTrialLimit'==_0x35951c||'uploadcareLicenseKeyUsageLimit'==_0x35951c){delete _0x1df4a9[_0xbd02ee],_0x1fd5e4=_0x35951c,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x1fd5e4&&_0x1df4a9['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x1fd5e4&&_0x1df4a9['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x1fd5e4&&_0x1df4a9['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x1fd5e4&&_0x1df4a9['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x1fd5e4&&_0x1df4a9['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0x1fd5e4&&_0x1df4a9['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0x1fd5e4&&_0x1df4a9['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0xd27e3a}=this,_0x29c4b2=_0xd27e3a['commands']['get']('uploadcare');if(!_0x29c4b2)return;const _0x200c36=this['_normalizeConfigSourceList'](_0xd27e3a['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x2cc1ad,_0x281f01)=>{const _0x3f75d7=this['_getIntegrationKey'](_0x281f01['type']);return _0x2cc1ad[_0x3f75d7]||(_0x2cc1ad[_0x3f75d7]=[]),_0x2cc1ad[_0x3f75d7]['push'](_0x281f01),_0x2cc1ad;},{});_0xd27e3a['plugins']['has']('ImageInsertUI')&&_0xd27e3a['commands']['get']('uploadcare')&&Object['entries'](_0x200c36)['forEach'](([_0xba16e8,_0x4a333c])=>{_0xd27e3a['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0xba16e8,'observable':()=>_0x29c4b2,'buttonViewCreator':()=>this['_createToolbarButton'](_0x4a333c),'formViewCreator':()=>this['_createDropdownButtons'](_0x4a333c),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x4a333c),'override':'assetManager'!==_0xba16e8});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x52910d){const {locale:_0x37704d}=this['editor'];return _0x52910d['map'](_0x88d91e=>{const _0x3110e6=_(_0x37704d,_0x88d91e,'Insert');switch(_0x88d91e){case i['Local']:return{'icon':_0x2575e3,'type':i['Local'],..._0x3110e6};case i['URL']:return{'icon':_0xd12b4e,'type':i['URL'],..._0x3110e6};case i['Dropbox']:return{'icon':_0xee85ed,'type':i['Dropbox'],..._0x3110e6};case i['Facebook']:return{'icon':_0x475b59,'type':i['Facebook'],..._0x3110e6};case i['GDrive']:return{'icon':_0x27041f,'type':i['GDrive'],..._0x3110e6};case i['GPhotos']:return{'icon':_0x54a7fe,'type':i['GPhotos'],..._0x3110e6};case i['OneDrive']:return{'icon':_0x2164eb,'type':i['OneDrive'],..._0x3110e6};}});}['_getIntegrationKey'](_0x4aff37){switch(_0x4aff37){case i['Local']:return'upload';case i['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x469bee,_0x2bca3a){const _0x46e755=this['editor'],_0x48ff76=new _0x469bee(_0x46e755['locale']),_0x4b54df=_0x46e755['commands']['get']('uploadcare');return _0x48ff76['bind']('isEnabled')['to'](_0x4b54df),_0x48ff76['on']('execute',()=>{_0x4b54df['execute'](_0x2bca3a);}),_0x48ff76;}['_createToolbarButton'](_0x434bde){const {locale:_0x24b505}=this['editor'],_0x1e0bcd=this['editor']['plugins']['get']('ImageInsertUI'),_0xee263=_0x434bde[0x0],_0x317c10=this['_createButton'](_0x112c68,_0xee263['type']);return _0x317c10['icon']=_0xee263['icon'],_0x317c10['bind']('label')['to'](_0x1e0bcd,'isImageSelected',_0x4ade02=>_(_0x24b505,_0xee263['type'],_0x4ade02?'Replace':'Insert')['text']),_0x317c10['tooltip']=!0x0,_0x317c10;}['_createDropdownButtons'](_0x27343c){const {locale:_0x4796c7}=this['editor'],_0x1c9a1b=this['editor']['plugins']['get']('ImageInsertUI');return _0x27343c['map'](_0x3ddefd=>{const _0x18484f=this['_createButton'](_0x112c68,_0x3ddefd['type']);return _0x18484f['withText']=!0x0,_0x18484f['icon']=_0x3ddefd['icon'],_0x18484f['bind']('label')['to'](_0x1c9a1b,'isImageSelected',_0x467d5f=>_(_0x4796c7,_0x3ddefd['type'],_0x467d5f?'Replace':'Insert')['text']),_0x18484f;});}['_createMenuBarButtons'](_0x547529){return _0x547529['map'](_0x585fef=>{const _0x11a391=this['_createButton'](_0x3fad0c,_0x585fef['type']);return _0x11a391['icon']=_0x585fef['icon'],_0x11a391['label']=_0x585fef['shortText'],_0x11a391;});}}class F extends _0x5880b7{['focusTracker'];['focusCycler'];constructor(_0x4201fd){super(_0x4201fd),this['focusTracker']=new _0x1598da(),this['focusCycler']=new _0x51a291({'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(_0x374eef,_0x924c){super(_0x374eef),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-'+_0x924c}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function C(_0x525e7d,_0x1e2f9d){const _0x32f40d=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x53aebf=>_0x53aebf<=_0x1e2f9d)['map'](_0x4a24bb=>_0x525e7d['replace'](/\/$/,'')+'/-/resize/'+_0x4a24bb+'x/\x20'+_0x4a24bb+'w');return{'imageFallbackUrl':_0x525e7d,'imageSources':[{'srcset':_0x32f40d['join'](',\x20'),'sizes':'(max-width:\x20'+_0x1e2f9d+'px)\x20100vw,\x20'+_0x1e2f9d+'px','type':'image/webp'}]};}function S(_0x1b5b96,_0x336db6,_0x552961){const _0x45bae7=_0x1b5b96['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x45bae7?parseInt(_0x45bae7[0x1],0xa):_0x336db6,'height':_0x45bae7?parseInt(_0x45bae7[0x2],0xa):_0x552961};}function p(_0x20882c,_0x2e1306){const _0x5f0d28=new(_0x1a8bf7())(),_0x3b942d=_0x20882c['plugins']['get']('ImageUtils'),_0x4493aa=_0x20882c['editing']['mapper']['toViewElement'](_0x2e1306),_0x1efc95=_0x3b942d['findViewImgElement'](_0x4493aa),_0x8b43e4=_0x20882c['editing']['view']['domConverter']['viewToDom'](_0x1efc95),_0x5321d5=_0x2e1306['getAttribute']('width'),_0x29e297=_0x2e1306['getAttribute']('height'),_0x4e7e9f='image-processing';_0x20882c['editing']['view']['change'](_0x4f3591=>{_0x4f3591['addClass'](_0x4e7e9f,_0x4493aa),_0x4f3591['setStyle']('aspect-ratio',_0x5321d5+'/'+_0x29e297,_0x1efc95);}),_0x5f0d28['listenTo'](_0x8b43e4,'load',()=>{_0x5f0d28['stopListening'](_0x8b43e4,'load'),_0x20882c['editing']['view']['change'](_0x128e43=>{_0x128e43['removeClass'](_0x4e7e9f,_0x4493aa),_0x128e43['removeStyle']('aspect-ratio',_0x1efc95);});});}function G(_0x3576fa){if(Array['isArray'](_0x3576fa)){const _0xc9be4b=_0x3576fa['map'](G);return _0x3270d6=>_0xc9be4b['some'](_0x477bd4=>_0x477bd4(_0x3270d6));}if('origin'==_0x3576fa){const _0x288ff9=_0x1074cd['window']['location']['origin'];return _0x46ece1=>new URL(_0x46ece1,_0x1074cd['document']['baseURI'])['origin']==_0x288ff9;}return'function'==typeof _0x3576fa?_0x3576fa:_0x3576fa instanceof RegExp?_0x120041=>!(!_0x120041['match'](_0x3576fa)&&!_0x120041['replace'](/^https?:\/\//,'')['match'](_0x3576fa)):()=>!0x1;}function A(_0x3d5df8,_0x7ecd06){return _0x37c640(_0x3d5df8['target'])['includes'](_0x7ecd06);}class n extends/* #__PURE__ -- @preserve */
24
+ _0xf21ccc(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x50c180,_0x53c0f9,_0x58be9a){super(),this['_editor']=_0x50c180,this['_editing']=_0x53c0f9,this['_dialog']=_0x50c180['plugins']['get'](_0x53f3c7),this['_api']=_0x53c0f9['ctxElement']['getAPI'](),this['_type']=_0x58be9a,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:_0x3f08e0,model:_0x5c8d6a}=this['_editor'],_0x2f5607=_0x5c8d6a['document']['selection']['getSelectedElement'](),_0x339045=_0x2f5607&&(_0x2f5607['is']('element','imageBlock')||_0x2f5607['is']('element','imageInline'));this['_formView']=new x(_0x3f08e0,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':_0x2575e3,'title':_(_0x3f08e0,this['_type'],_0x339045?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x1df668['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x4e4658=>!A(_0x4e4658,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x56c495}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x17d028=>{const _0x2a68b7=_0x56c495['length'];for(const _0x44d9a8 of _0x56c495){const _0x4e52cd=_0x44d9a8===_0x56c495[_0x2a68b7-0x1],{cdnUrl:_0x59a6ea,fileInfo:_0x3e40d2}=_0x44d9a8;if(!_0x59a6ea||!_0x3e40d2)continue;const {width:_0x49761b,height:_0x57b892}=_0x3e40d2['imageInfo'],_0x6f80ff=S(_0x59a6ea,_0x49761b,_0x57b892),_0x47072b=C(_0x59a6ea,_0x6f80ff['width']),_0x3d8a0d={'id':_0x3e40d2['uuid'],'type':'image','attributes':{'imageDimension':_0x6f80ff,..._0x47072b}};this['_insertAsset'](_0x3d8a0d,_0x4e52cd,_0x17d028);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x514eae=>{'idle'===_0x514eae['detail']['status']&&!_0x514eae['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===i['Local']?this['_api']['setCurrentActivity'](i['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x2a9729,_0xc8b180,_0x41984b){const _0x4be5d1=this['_editor']['model']['document']['selection'],_0x1eae5e=_0x4be5d1['getSelectedElement'](),_0x47f70d=!(!_0x1eae5e||!_0x1eae5e['is']('element','imageInline'));_0x41984b['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x2a9729,_0x47f70d),_0xc8b180||_0x41984b['setSelection'](_0x4be5d1['getLastPosition']());}['_insertImage'](_0x574e18,_0x8c9710){const _0x3e88d1=this['_editor'],{imageDimension:_0x3a4d70,imageFallbackUrl:_0x16a0a0,imageSources:_0x3dcb3f}=_0x574e18['attributes'];_0x3e88d1['execute']('insertImage',{'imageType':_0x8c9710?'imageInline':null,'source':{'uploadcareImageId':_0x574e18['id'],'src':_0x16a0a0,'sources':_0x3dcb3f,..._0x3a4d70}});}}class w extends _0x59a6b7{['_editing'];['_controller']=null;static get['requires'](){return[_0x53f3c7,o];}constructor(_0x5f480e){super(_0x5f480e),this['_editing']=_0x5f480e['plugins']['get'](o);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x2d8678){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new n(this['editor'],this['_editing'],_0x2d8678);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class j{static['upload']({file:_0x4d7051,..._0x3e695e}){return _0x528a28(_0x4d7051,_0x3e695e);}static['getInfo'](_0x25a912,_0x9dcdd5){return _0x4337d0(_0x25a912,_0x9dcdd5);}}class f extends _0x4f4b56{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x10f4c7,o];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x4cddc4=this['editor'];if(!!!_0x4cddc4['config']['get']('uploadcare'))return;_0x4cddc4['plugins']['get'](_0x10f4c7)['createUploadAdapter']=_0x16ccf5=>new k(_0x16ccf5,_0x4cddc4),_0x4cddc4['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x553e8a,{imageElement:_0x4e444d,data:_0x24ea18})=>{_0x4cddc4['model']['change'](_0x3165ec=>{_0x3165ec['setAttribute']('uploadcareImageId',_0x24ea18['uploadcareImageId'],_0x4e444d);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x2ef049,_0x32b07c){this['loader']=_0x2ef049,this['editor']=_0x32b07c,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x32e6da=await this['loader']['file'];return j['upload']({'file':_0x32e6da,'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':_0x3b63a4=>{_0x3b63a4&&_0x3b63a4['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x3b63a4['value']);}})['then'](async _0x480d2f=>{const {imageFallbackUrl:_0x5dd332,imageSources:_0x1ad39a}=C(_0x480d2f['cdnUrl'],_0x480d2f['imageInfo']['width']);return{'uploadcareImageId':_0x480d2f['uuid'],'default':_0x5dd332,'sources':_0x1ad39a};})['catch'](()=>{const _0x5e920c=t('Cannot\x20upload\x20file:')+('\x20'+_0x32e6da['name']+'.');return Promise['reject'](_0x5e920c);});}['abort'](){this['controller']['abort']();}}class o extends _0x4f4b56{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',f,_0x53f3c7];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['ucContextId'];get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}constructor(_0x8b963d){super(_0x8b963d),this['ucContextId']=_0x15c9e0();}['init'](){const _0x39b22e=this['editor'];_0x39b22e['commands']['add']('uploadcare',new w(_0x39b22e));}['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 _0x1118d6=_0x1074cd['document']['querySelector']('input[uploadcare-file-input]');_0x1118d6&&_0x1118d6['remove']();}),async function(_0x57a7e8){const _0x17a409=_0x5ac2ff([0x52,0x42,0x63,0x58,0x64,0x47,0x66,0x35,0x36,0x37,0x6d,0x4e,0x6a,0x4b,0x39,0x44,0x54,0x70,0x50,0x30,0x49,0x79,0x69,0x33,0x67,0x65,0x61,0x38,0x5a,0x76,0x7a,0x6c,0x45,0x34,0x62,0x46,0x75,0x57,0x72,0x77,0x73,0x48,0x31,0x68,0x6e,0x4f,0x53,0x4c,0x71,0x6b,0x59,0x32,0x4d,0x51,0x4a,0x78,0x6f,0x56,0x41,0x55,0x74,0x43]),_0x2ddc2f=0x3d8d0df,_0x1e07cc=0x3dfa69f^_0x2ddc2f,_0x51002d=window[_0x5ac2ff([0x44,0x61,0x74,0x65])][_0x5ac2ff([0x6e,0x6f,0x77])](),_0x3ab3d3=_0x57a7e8[_0x5ac2ff([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x369d43=new window[(_0x5ac2ff([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2ae158=>{_0x3ab3d3[_0x5ac2ff([0x6f,0x6e,0x63,0x65])](_0x5ac2ff([0x72,0x65,0x61,0x64,0x79]),_0x2ae158);}),_0x351f0d={[_0x5ac2ff([0x6b,0x74,0x79])]:_0x5ac2ff([0x45,0x43]),[_0x5ac2ff([0x75,0x73,0x65])]:_0x5ac2ff([0x73,0x69,0x67]),[_0x5ac2ff([0x63,0x72,0x76])]:_0x5ac2ff([0x50,0x2d,0x32,0x35,0x36]),[_0x5ac2ff([0x78])]:_0x5ac2ff([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]),[_0x5ac2ff([0x79])]:_0x5ac2ff([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]),[_0x5ac2ff([0x61,0x6c,0x67])]:_0x5ac2ff([0x45,0x53,0x32,0x35,0x36])},_0x3e5cde=_0x3ab3d3[_0x5ac2ff([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x5ac2ff([0x67,0x65,0x74])](_0x5ac2ff([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x16c90e(){let _0x4d78bd,_0x1f0011=null,_0x3ef5d2=null;try{if(_0x3e5cde==_0x5ac2ff([0x47,0x50,0x4c]))return _0x5ac2ff([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x4d78bd=_0x471a11(),!_0x4d78bd)return _0x5ac2ff([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x4d78bd[_0x5ac2ff([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x3ef5d2=_0x783583(_0x4d78bd[_0x5ac2ff([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x4d78bd[_0x5ac2ff([0x6a,0x74,0x69])])),await _0x374fd6()?_0x460047()?_0x30f438()?_0x5ac2ff([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x5e4e0e()?(_0x4d78bd[_0x5ac2ff([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5ac2ff([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1f0011=_0xa8e1ed(_0x5ac2ff([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x4d78bd[_0x5ac2ff([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5ac2ff([0x74,0x72,0x69,0x61,0x6c])&&(_0x1f0011=_0xa8e1ed(_0x5ac2ff([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x44ba09()):_0x5ac2ff([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x5ac2ff([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x5ac2ff([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x5ac2ff([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x30f438(){const _0x31f654=[_0x5ac2ff([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x5ac2ff([0x74,0x72,0x69,0x61,0x6c])][_0x5ac2ff([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4d78bd[_0x5ac2ff([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x51002d/0x3e8:0xe10*_0x1e07cc;return _0x4d78bd[_0x5ac2ff([0x65,0x78,0x70])]<_0x31f654;}function _0x460047(){const _0x21e353=_0x4d78bd[_0x5ac2ff([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x21e353&&(!!_0x21e353[_0x5ac2ff([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5ac2ff([0x2a]))||!!_0x21e353[_0x5ac2ff([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5ac2ff([0x55,0x50,0x4c,0x43])));}function _0x5e4e0e(){const _0x549512=_0x4d78bd[_0x5ac2ff([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x549512||0x0==_0x549512[_0x5ac2ff([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1278f1}=new URL(window[_0x5ac2ff([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x549512[_0x5ac2ff([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1278f1))return!0x0;const _0x421233=_0x1278f1[_0x5ac2ff([0x73,0x70,0x6c,0x69,0x74])](_0x5ac2ff([0x2e]));return _0x549512[_0x5ac2ff([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5c5790=>_0x5c5790[_0x5ac2ff([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5ac2ff([0x2a])))[_0x5ac2ff([0x6d,0x61,0x70])](_0x108a83=>_0x108a83[_0x5ac2ff([0x73,0x70,0x6c,0x69,0x74])](_0x5ac2ff([0x2e])))[_0x5ac2ff([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x397de5=>_0x397de5[_0x5ac2ff([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x421233[_0x5ac2ff([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5ac2ff([0x6d,0x61,0x70])](_0x410c9a=>Array(_0x421233[_0x5ac2ff([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x410c9a[_0x5ac2ff([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5ac2ff([0x66,0x69,0x6c,0x6c])](_0x410c9a[0x0]===_0x5ac2ff([0x2a])?_0x5ac2ff([0x2a]):'')[_0x5ac2ff([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x410c9a))[_0x5ac2ff([0x73,0x6f,0x6d,0x65])](_0x5a2db9=>_0x421233[_0x5ac2ff([0x65,0x76,0x65,0x72,0x79])]((_0x23fb2c,_0x1f037c)=>_0x5a2db9[_0x1f037c]===_0x23fb2c||_0x5a2db9[_0x1f037c]===_0x5ac2ff([0x2a])));}function _0x44ba09(){return _0x1f0011&&_0x3ef5d2?new window[(_0x5ac2ff([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x330b2b,_0x3f0bb7)=>{_0x1f0011[_0x5ac2ff([0x74,0x68,0x65,0x6e])](_0x330b2b,_0x3f0bb7),_0x3ef5d2[_0x5ac2ff([0x74,0x68,0x65,0x6e])](_0x267fe7=>{_0x267fe7!=_0x5ac2ff([0x56,0x61,0x6c,0x69,0x64])&&_0x330b2b(_0x267fe7);},_0x3f0bb7);}):_0x1f0011||_0x3ef5d2||_0x5ac2ff([0x56,0x61,0x6c,0x69,0x64]);}}function _0x783583(_0x1f7b2c,_0x21ce21){return new window[(_0x5ac2ff([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5eb25d=>{if(_0x4f2538())return _0x5eb25d(_0x5ac2ff([0x56,0x61,0x6c,0x69,0x64]));_0x58bfc5(),_0x3ab3d3[_0x5ac2ff([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x5ac2ff([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x50e57c=!0x1;const _0x5b5de2=_0x15c9e0();function _0x321ae6(_0x3398ab){return!!_0x3398ab&&(typeof _0x3398ab===_0x5ac2ff([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3398ab===_0x5ac2ff([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3398ab[_0x5ac2ff([0x74,0x68,0x65,0x6e])]===_0x5ac2ff([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3398ab[_0x5ac2ff([0x63,0x61,0x74,0x63,0x68])]===_0x5ac2ff([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x64089c(_0x1fb97c){_0x118592(_0x1fb97c)[_0x5ac2ff([0x74,0x68,0x65,0x6e])](_0x2a7bdc=>{if(!_0x2a7bdc||_0x2a7bdc[_0x5ac2ff([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x5ac2ff([0x6f,0x6b]))return _0x5ac2ff([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1fa882(_0x5cf8cd(_0x5b5de2+_0x21ce21))!=_0x2a7bdc[_0x5ac2ff([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x5ac2ff([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x5ac2ff([0x56,0x61,0x6c,0x69,0x64]);})[_0x5ac2ff([0x74,0x68,0x65,0x6e])](_0x177609=>(_0x1b9aeb(),_0x177609),()=>{const _0x342f4a=_0x55bbea();return null==_0x342f4a?(_0x1b9aeb(),_0x5ac2ff([0x56,0x61,0x6c,0x69,0x64])):_0x5ac2ff(_0x51002d-_0x342f4a>(0x27d454df^_0x2ddc2f)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x5ac2ff([0x74,0x68,0x65,0x6e])](_0x5eb25d)[_0x5ac2ff([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5eb25d(_0x5ac2ff([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x80ad0f=0x3ee3e5f^_0x2ddc2f;function _0x1b9aeb(){const _0x213b44=_0x5ac2ff([0x6c,0x6c,0x63,0x74,0x2d])+_0x1fa882(_0x5cf8cd(_0x1f7b2c)),_0xad8e3=_0x114c65(_0x1fa882(window[_0x5ac2ff([0x4d,0x61,0x74,0x68])][_0x5ac2ff([0x63,0x65,0x69,0x6c])](_0x51002d/_0x80ad0f)));window[_0x5ac2ff([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5ac2ff([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x213b44,_0xad8e3);}function _0x55bbea(){const _0x2a112e=_0x5ac2ff([0x6c,0x6c,0x63,0x74,0x2d])+_0x1fa882(_0x5cf8cd(_0x1f7b2c)),_0xce74af=window[_0x5ac2ff([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5ac2ff([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2a112e);return _0xce74af?window[_0x5ac2ff([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x114c65(_0xce74af),0x10)*_0x80ad0f:null;}function _0x118592(_0x583a9f){return new window[(_0x5ac2ff([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x45364e,_0x1b7651)=>{_0x583a9f[_0x5ac2ff([0x74,0x68,0x65,0x6e])](_0x45364e,_0x1b7651),window[_0x5ac2ff([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x1b7651,0x3d9041f^_0x2ddc2f);});}}_0x3ab3d3[_0x5ac2ff([0x6f,0x6e])](_0x5ac2ff([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x7a42f3,_0x2f84ca)=>{if(_0x2f84ca[0x0]!=_0x1f7b2c)return _0x5eb25d(_0x5ac2ff([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2f84ca[0x1]={..._0x2f84ca[0x1],[_0x5ac2ff([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5b5de2};},{[_0x5ac2ff([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5ac2ff([0x68,0x69,0x67,0x68])}),_0x3ab3d3[_0x5ac2ff([0x6f,0x6e])](_0x5ac2ff([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x38a285=>{_0x321ae6(_0x38a285[_0x5ac2ff([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x50e57c=!0x0,_0x64089c(_0x38a285[_0x5ac2ff([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x5ac2ff([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5ac2ff([0x6c,0x6f,0x77])}),_0x369d43[_0x5ac2ff([0x74,0x68,0x65,0x6e])](()=>{_0x50e57c||_0x5eb25d(_0x5ac2ff([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4f2538(){return _0x3ab3d3[_0x5ac2ff([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5ac2ff([0x76,0x69,0x65,0x77])][_0x5ac2ff([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x5ac2ff([0x61,0x75,0x74,0x6f]);}function _0x58bfc5(){_0x3ab3d3[_0x5ac2ff([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5ac2ff([0x76,0x69,0x65,0x77])][_0x5ac2ff([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x5ac2ff([0x61,0x75,0x74,0x6f]);}}function _0xa8e1ed(_0x4268c9){const _0x27bb01=[new window[(_0x5ac2ff([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3ec432=>setTimeout(_0x3ec432,0x3d1ee13^_0x2ddc2f)),_0x369d43[_0x5ac2ff([0x74,0x68,0x65,0x6e])](()=>new window[(_0x5ac2ff([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5bd5ac=>{let _0x5aaedf=0x0;_0x3ab3d3[_0x5ac2ff([0x6d,0x6f,0x64,0x65,0x6c])][_0x5ac2ff([0x6f,0x6e])](_0x5ac2ff([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x3fd43b,_0x4bcd77)=>{_0x4bcd77[0x0][_0x5ac2ff([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x5aaedf++,_0x5aaedf==(0x3d8d127^_0x2ddc2f)&&(_0x5bd5ac(),_0x3fd43b[_0x5ac2ff([0x6f,0x66,0x66])]());});}))];return window[_0x5ac2ff([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x5ac2ff([0x72,0x61,0x63,0x65])](_0x27bb01)[_0x5ac2ff([0x74,0x68,0x65,0x6e])](()=>_0x4268c9);}async function _0x4ca963(){await _0x369d43,_0x3ab3d3[_0x5ac2ff([0x6d,0x6f,0x64,0x65,0x6c])][_0x5ac2ff([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x22538a,_0x3ab3d3[_0x5ac2ff([0x6d,0x6f,0x64,0x65,0x6c])][_0x5ac2ff([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x22538a,_0x3ab3d3[_0x5ac2ff([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5ac2ff([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x44c204(_0x55a186){const _0xa3e25c=_0x5c55cf();_0x3ab3d3[_0xa3e25c]=_0x5ac2ff([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x55a186,_0x55a186!=_0x5ac2ff([0x56,0x61,0x6c,0x69,0x64])&&_0x4ca963();}function _0x5c55cf(){const _0xcd72be=window[_0x5ac2ff([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x5ac2ff([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5ac2ff([0x6e,0x6f,0x77])]())[_0x5ac2ff([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5ac2ff([0x2e]),'');let _0x216c2e=_0x5ac2ff([0x52]);for(let _0x366563=0x0;_0x366563<_0xcd72be[_0x5ac2ff([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x366563+=0x2){let _0x2daa75=window[_0x5ac2ff([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xcd72be[_0x5ac2ff([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x366563,_0x366563+0x2));_0x2daa75>=_0x17a409[_0x5ac2ff([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2daa75-=_0x17a409[_0x5ac2ff([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x216c2e+=_0x17a409[_0x2daa75];}return _0x216c2e;}function _0x471a11(){const _0x2d1b7e=_0x3e5cde[_0x5ac2ff([0x73,0x70,0x6c,0x69,0x74])](_0x5ac2ff([0x2e]));if(0x3!=_0x2d1b7e[_0x5ac2ff([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x1c6561(_0x2d1b7e[0x1]);function _0x1c6561(_0x3e05d0){const _0x56583f=_0x25d0eb(_0x3e05d0);return _0x56583f&&_0x42a408()?_0x56583f:null;function _0x42a408(){const _0x384ec1=_0x56583f[_0x5ac2ff([0x6a,0x74,0x69])],_0x27c44d=window[_0x5ac2ff([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x384ec1[_0x5ac2ff([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x384ec1[_0x5ac2ff([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x58c783={..._0x56583f,[_0x5ac2ff([0x6a,0x74,0x69])]:_0x384ec1[_0x5ac2ff([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x384ec1[_0x5ac2ff([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x58c783[_0x5ac2ff([0x76,0x63])],_0x5cf8cd(_0x58c783)==_0x27c44d;}}}async function _0x374fd6(){let _0x1b4c13=!0x0;try{const _0x555b82=_0x3e5cde[_0x5ac2ff([0x73,0x70,0x6c,0x69,0x74])](_0x5ac2ff([0x2e])),[_0x42dd7a,_0x331a36,_0x90370f]=_0x555b82;return _0x2aefd2(_0x42dd7a),await _0x892665(_0x42dd7a,_0x331a36,_0x90370f),_0x1b4c13;}catch{return!0x1;}function _0x2aefd2(_0x41f618){const _0x5cde81=_0x25d0eb(_0x41f618);_0x5cde81&&_0x5cde81[_0x5ac2ff([0x61,0x6c,0x67])]==_0x5ac2ff([0x45,0x53,0x32,0x35,0x36])||(_0x1b4c13=!0x1);}async function _0x892665(_0x390792,_0x30d89b,_0x4fc7a1){const _0x2ae387=window[_0x5ac2ff([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x5ac2ff([0x66,0x72,0x6f,0x6d])](_0xd7831d(_0x4fc7a1),_0x4b5b5f=>_0x4b5b5f[_0x5ac2ff([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1e761c=new window[(_0x5ac2ff([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x5ac2ff([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x390792+_0x5ac2ff([0x2e])+_0x30d89b),_0x70f422=window[_0x5ac2ff([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x5ac2ff([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x70f422)return;const _0x4fc257=await _0x70f422[_0x5ac2ff([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x5ac2ff([0x6a,0x77,0x6b]),_0x351f0d,{[_0x5ac2ff([0x6e,0x61,0x6d,0x65])]:_0x5ac2ff([0x45,0x43,0x44,0x53,0x41]),[_0x5ac2ff([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x5ac2ff([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x5ac2ff([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x70f422[_0x5ac2ff([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x5ac2ff([0x6e,0x61,0x6d,0x65])]:_0x5ac2ff([0x45,0x43,0x44,0x53,0x41]),[_0x5ac2ff([0x68,0x61,0x73,0x68])]:{[_0x5ac2ff([0x6e,0x61,0x6d,0x65])]:_0x5ac2ff([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4fc257,_0x2ae387,_0x1e761c)||(_0x1b4c13=!0x1);}}function _0x25d0eb(_0x14deb8){return _0x14deb8[_0x5ac2ff([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x5ac2ff([0x65,0x79]))?JSON[_0x5ac2ff([0x70,0x61,0x72,0x73,0x65])](_0xd7831d(_0x14deb8)):null;}function _0xd7831d(_0x3de92b){return window[_0x5ac2ff([0x61,0x74,0x6f,0x62])](_0x3de92b[_0x5ac2ff([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x5ac2ff([0x2b]))[_0x5ac2ff([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x5ac2ff([0x2f])));}function _0x5cf8cd(_0x38bdc3){let _0x5821f6=0x1505;function _0x20f35e(_0x8be74e){for(let _0x5bed16=0x0;_0x5bed16<_0x8be74e[_0x5ac2ff([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5bed16++){const _0x4ab4e1=_0x8be74e[_0x5ac2ff([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5bed16);_0x5821f6=(_0x5821f6<<0x5)+_0x5821f6+_0x4ab4e1,_0x5821f6&=_0x5821f6;}}function _0x320296(_0x3bc896){Array[_0x5ac2ff([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x3bc896)?_0x3bc896[_0x5ac2ff([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x320296):_0x3bc896&&typeof _0x3bc896==_0x5ac2ff([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x5ac2ff([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x3bc896)[_0x5ac2ff([0x73,0x6f,0x72,0x74])]()[_0x5ac2ff([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5b6aa6,_0x3a9877])=>{_0x20f35e(_0x5b6aa6),_0x320296(_0x3a9877);}):_0x20f35e(window[_0x5ac2ff([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x3bc896));}return _0x320296(_0x38bdc3),_0x5821f6>>>0x0;}function _0x1fa882(_0x31aa28){return _0x31aa28[_0x5ac2ff([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x5ac2ff([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x5ac2ff([0x30]));}function _0x114c65(_0x7439eb){return _0x7439eb[_0x5ac2ff([0x73,0x70,0x6c,0x69,0x74])]('')[_0x5ac2ff([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x5ac2ff([0x6a,0x6f,0x69,0x6e])]('');}function _0x22538a(){}function _0x5ac2ff(_0x3e5e40){return _0x3e5e40['map'](_0x2c67f5=>String['fromCharCode'](_0x2c67f5))['join']('');}_0x44c204(await _0x16c90e());}(this);}['_initSchema'](){const _0x4c15db=this['editor']['model']['schema'];_0x4c15db['isRegistered']('imageBlock')&&_0x4c15db['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x4c15db['isRegistered']('imageInline')&&_0x4c15db['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x1ce4f6=this['editor'];_0x1ce4f6['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x1ce4f6['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x1d0464=>_0x1d0464['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x3e5930=_0x1ce4f6['commands']['get']('replaceImageSource');_0x3e5930&&this['listenTo'](_0x3e5930,'cleanupImage',(_0x5df60a,[_0x36bb2d,_0x4aff86])=>{_0x36bb2d['removeAttribute']('uploadcareImageId',_0x4aff86);});}['_initConfig'](){const _0x2dd987=this['editor']['config']['get']('uploadcare.uploader')||{},_0x5b9473=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x5ab8da(_0x1074cd['document'],'uc-config',{..._0x2dd987,'pubkey':_0x5b9473,'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']=_0x2fc87e=>{if('closeMax'==_0x2fc87e)return'#uc-icon-arrow-down';},_0x1074cd['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x5ab8da(_0x1074cd['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),_0x1074cd['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x2f40a5=this['editor']['commands']['get']('insertImage');_0x2f40a5&&this['listenTo'](_0x2f40a5,'execute',()=>{const _0x6cf817=this['editor']['model']['document']['selection']['getSelectedElement']();_0x6cf817&&_0x6cf817['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x6cf817);});});const _0x1c8ea5=this['editor']['commands']['get']('uploadcareImageReplace');_0x1c8ea5&&this['listenTo'](_0x1c8ea5,'execute',()=>{const _0x44e703=this['editor']['model']['document']['selection']['getSelectedElement']();_0x44e703&&_0x44e703['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x44e703);});});}}class tt extends _0x4f4b56{static get['requires'](){return[o,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0xadae0b){super(_0xadae0b),_0xadae0b['config']['define']('uploadcare.uploader.sourceList',[i['Local'],i['URL']]),_0x34159f['defineComponents'](_0x34159f);}}class ii extends _0x5880b7{constructor(_0x135b89){super(_0x135b89);const t=_0x135b89['t'],_0x204ce5=this['bindTemplate'],_0x18890e=new _0x1851a1();_0x18890e['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':[_0x18890e,{'text':_0x204ce5['to']('imageUploadProgress',_0x4ef2e4=>t('Loading\x20image...')+'\x20('+(_0x4ef2e4||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 _0x5880b7{constructor(_0x973fc6){super(_0x973fc6);const t=_0x973fc6['t'];this['set']('errorType',null);const _0x361376=new _0x112c68(_0x973fc6);_0x361376['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x361376['withText']=!0x0,_0x361376['class']='ck-button-action',_0x361376['on']('execute',()=>{this['fire']('retry');}),_0x361376['bind']('isVisible')['to'](this,'errorType',_0x3c564b=>'NotFound'!==_0x3c564b);const _0xaa24b9=new _0x4830d9();_0xaa24b9['content']=_0x452d5f,_0xaa24b9['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x7d1aca=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':[_0xaa24b9,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x7d1aca['to']('errorType',_0x1e0f4b=>t('NotFound'!==_0x1e0f4b?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x361376]},{'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 _0x5880b7{constructor(_0xca3841,_0x5dd94e){super(_0xca3841);const _0x433e1c=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x5dd94e,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x433e1c['to']('imageSrc')}});}}class X extends F{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x9aab5,_0x52e24e,_0x494278){super(_0x9aab5),this['_items']=this['createCollection'](),this['_loadingView']=new ii(_0x9aab5),this['_errorView']=new ti(_0x9aab5),this['_editingView']=new ei(_0x9aab5,_0x494278),this['_focusableView']=new _0x5880b7(_0x9aab5),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x52e24e),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'],_0xfda4e9=>{this['_addUploadcareImageEditorListeners'](_0xfda4e9);});}),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'](_0x4cf9ca,_0x15bb90){const _0x37ee73='uc-cloud-image-editor',_0x13e68c=_0x4cf9ca['querySelector'](_0x37ee73);if(_0x13e68c)return _0x15bb90(_0x13e68c);const _0x344fc4=new MutationObserver(_0x136fe6=>{const _0x212b41=_0x136fe6['filter'](_0x2fb9b6=>_0x2fb9b6['target']===_0x4cf9ca&&_0x2fb9b6['addedNodes']['length']>0x0&&_0x2fb9b6['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x37ee73);_0x212b41['length']&&(_0x344fc4['disconnect'](),_0x15bb90(_0x212b41[0x0]['addedNodes'][0x0]));});_0x344fc4['observe'](_0x4cf9ca,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x155a65){_0x155a65['addEventListener']('apply',_0x44adc6=>{this['fire']('apply',{'imageSrc':_0x44adc6['detail']['cdnUrl']});}),_0x155a65['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class E extends/* #__PURE__ -- @preserve */
25
+ _0xf21ccc(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x4da344,_0xc0b29e,_0x41f8de){super(),this['_editor']=_0x4da344,this['_dialog']=_0xc0b29e,this['_imageElement']=_0x41f8de,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 _0x4c3ede=this['_imageElement'],_0x284193=_0x4c3ede['getAttribute']('uploadcareImageId'),_0x18a73b=_0x4c3ede['getAttribute']('src');if(_0x284193)await this['_loadImageInfo'](_0x284193,_0x18a73b);else{if(this['_imageCache']['has'](_0x18a73b)){const _0x21a658=this['_imageCache']['get'](_0x18a73b);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x21a658['url'],this['imageDimension']=_0x21a658['dimension'],this['imageId']=_0x21a658['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x1a4f37}=this['_editor'],t=_0x1a4f37['t'],_0x3d2ebb=new X(_0x1a4f37,this['imageStatus'],this['_attributes']);_0x3d2ebb['bind']('status')['to'](this,'imageStatus'),_0x3d2ebb['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x3d2ebb['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x3d2ebb['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x3d2ebb,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x3f1078,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x3d2ebb,'position':_0x1df668['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x3d2ebb['focus']();},'onHide':()=>{_0x3d2ebb['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x505038=>!A(_0x505038,_0x3d2ebb['element'])}});}['_loadImageInfo'](_0x1d5337,_0x5547ca){return j['getInfo'](_0x1d5337,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x21b210=>{const {width:_0x5ddc59,height:_0xfc34ee}=_0x21b210['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x5547ca,this['imageDimension']={'width':_0x5ddc59,'height':_0xfc34ee},this['imageId']=_0x1d5337;})['catch'](_0x3e5dea=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x3e5dea['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x2bfdd3,_0x4f2d35){return this['_getImageAsFile'](_0x2bfdd3)['then'](_0x3d55ca=>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':_0x4f2d35['signal'],'file':_0x3d55ca,'onProgress':_0x4be236=>{_0x4be236&&_0x4be236['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x4be236['value']));}}))['then'](_0x27383a=>{const {width:_0x251185,height:_0x23db1f}=_0x27383a['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x27383a['cdnUrl'],this['imageDimension']={'width':_0x251185,'height':_0x23db1f},this['imageId']=_0x27383a['uuid'],this['imageUploadProgress']=null;const _0x2a3457=_0x2bfdd3['getAttribute']('src');this['_imageCache']['set'](_0x2a3457,{'id':_0x27383a['uuid'],'url':_0x27383a['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x81a167=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x81a167['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x43da38,_0x3285fb){_0x43da38['on']('apply',(_0x533b8d,_0x1177dd)=>{this['_replaceImage'](_0x3285fb,_0x1177dd['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x43da38['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x43da38['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x23fac7,_0x2aa1e4,_0xdc6635){const _0x20bf29=this['_editor'],{width:_0x49a7fc,height:_0x40bf81}=S(_0x2aa1e4,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0xd4d818,imageSources:_0xf7f91}=C(_0x2aa1e4,_0x49a7fc);_0x20bf29['model']['change'](_0x58db32=>{if('$graveyard'===_0x23fac7['root']['rootName']){_0x20bf29['execute']('insertImage',{'imageType':_0x23fac7['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x23fac7['getAttributes']()),'uploadcareImageId':_0xdc6635,'src':_0xd4d818,'sources':_0xf7f91,'width':_0x49a7fc,'height':_0x40bf81}});const _0x516a1c=_0x23fac7['getChildren']();_0x23fac7=_0x20bf29['model']['document']['selection']['getSelectedElement']();for(const _0x54af8e of _0x516a1c)_0x58db32['append'](_0x58db32['cloneElement'](_0x54af8e),_0x23fac7);}else _0x58db32['setSelection'](_0x23fac7,'on'),_0x20bf29['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x23fac7['getAttributes']()),'uploadcareImageId':_0xdc6635,'src':_0xd4d818,'sources':_0xf7f91,'width':_0x49a7fc,'height':_0x40bf81},_0x23fac7);_0x58db32['setSelection'](_0x23fac7,'on');});}async['_getImageAsFile'](_0x4c0d36){const _0x45b24f=_0x1074cd['window'],_0x49ce35=_0x1074cd['document']['location']['href'],_0x14a697=new _0x45b24f['URL'](_0x4c0d36['getAttribute']('src'),_0x49ce35);if('data:'===_0x14a697['protocol']){const _0x199cbb=_0x14a697['href']['split'](','),_0x12ef92=_0x199cbb[0x0]['match'](/:(.*?);/)[0x1],_0x490fb4=_0x12ef92['split']('/')[0x1],_0x44ce19=_0x45b24f['atob'](_0x199cbb[_0x199cbb['length']-0x1]);let _0x2bdf5e=_0x44ce19['length'];const _0x12bdba=new _0x45b24f['Uint8Array'](_0x2bdf5e);for(;_0x2bdf5e--;)_0x12bdba[_0x2bdf5e]=_0x44ce19['charCodeAt'](_0x2bdf5e);return new _0x45b24f['File']([_0x12bdba],'image.'+_0x490fb4,{'type':_0x12ef92});}const _0x56d7dc=_0x14a697['href']['split']('/'),_0x4d5b76=_0x56d7dc[_0x56d7dc['length']-0x1],_0x33a07e=_0x4d5b76['split']('.')[0x1];return _0x45b24f['fetch'](_0x14a697['href'])['then'](_0x1da6a2=>_0x1da6a2['clone']()['blob']())['then'](_0x170460=>new _0x45b24f['File']([_0x170460],_0x4d5b76,{'type':'image/'+_0x33a07e}));}}class O extends _0x59a6b7{['imageEditController'];static get['requires'](){return[_0x53f3c7];}['_isEditable'];constructor(_0x2b0ca8){super(_0x2b0ca8),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x29aabe){const _0x6692e3=G(_0x29aabe);return _0x965379=>!(!_0x965379||!_0x965379['is']('element','imageBlock')&&!_0x965379['is']('element','imageInline'))&&(!!_0x965379['hasAttribute']('uploadcareImageId')||!!_0x965379['hasAttribute']('src')&&_0x6692e3(_0x965379['getAttribute']('src')));}(_0x2b0ca8['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0xa9dbe3=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0xa9dbe3);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x4bca43=this['editor']['model']['document']['selection']['getSelectedElement']();_0x4bca43&&(_0x4bca43['is']('element','imageBlock')||_0x4bca43['is']('element','imageInline'))&&(this['imageEditController']=new E(this['editor'],this['editor']['plugins']['get'](_0x53f3c7),_0x4bca43),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class R extends _0x59a6b7{['refresh'](){const _0x18782e=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x18782e&&(_0x18782e['is']('element','imageBlock')||_0x18782e['is']('element','imageInline')));}['execute'](_0x1b6744){const _0x557d26=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x50ce7e=>{_0x50ce7e['setAttributes'](_0x1b6744,_0x557d26),_0x50ce7e['removeAttribute']('srcset',_0x557d26),_0x50ce7e['removeAttribute']('sizes',_0x557d26);});}}class m extends _0x4f4b56{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[o,_0x480d4e,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x22eb3c}=this;_0x22eb3c['commands']['add']('uploadcareImageEdit',new O(_0x22eb3c)),_0x22eb3c['commands']['add']('uploadcareImageReplace',new R(_0x22eb3c));}}class g extends _0x4f4b56{['_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 _0x15dbd6=this['editor'];_0x15dbd6['ui']['componentFactory']['add']('uploadcareImageEdit',_0x2706ef=>{const _0x17a52c=_0x15dbd6['commands']['get']('uploadcareImageEdit'),_0x5bc73c=new _0x112c68(_0x2706ef),t=_0x2706ef['t'];return _0x5bc73c['set']({'icon':_0x3f1078,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x5bc73c['bind']('isEnabled')['to'](_0x17a52c),_0x5bc73c['bind']('isOn')['to'](_0x17a52c,'isActive'),this['listenTo'](_0x5bc73c,'execute',()=>{_0x15dbd6['execute']('uploadcareImageEdit'),_0x15dbd6['editing']['view']['focus']();}),_0x5bc73c;}),this['_initConfig']();}['_initConfig'](){const _0x115cad=_0x5ab8da(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x115cad),this['listenTo'](this['editor'],'destroy',()=>{_0x115cad['remove']();});}}class et extends _0x4f4b56{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':_0x58a0fb=>0x1!=_0x58a0fb}};
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':_0x5d86a8=>0x1!=_0x5d86a8}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x46e206=>{const {af:{dictionary:_0x44ce98,getPluralForm:_0x27ee1c}}={'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':_0x2c4486=>0x1!=_0x2c4486}};_0x46e206['af']||={'dictionary':{},'getPluralForm':null},_0x46e206['af']['dictionary']=Object['assign'](_0x46e206['af']['dictionary'],_0x44ce98),_0x46e206['af']['getPluralForm']=_0x27ee1c;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x309647=>{const {af:{dictionary:_0x23655f,getPluralForm:_0x1eb697}}={'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':_0x4d4142=>0x1!=_0x4d4142}};_0x309647['af']||={'dictionary':{},'getPluralForm':null},_0x309647['af']['dictionary']=Object['assign'](_0x309647['af']['dictionary'],_0x23655f),_0x309647['af']['getPluralForm']=_0x1eb697;})(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':_0x1fa2b8=>0x0==_0x1fa2b8?0x0:0x1==_0x1fa2b8?0x1:0x2==_0x1fa2b8?0x2:_0x1fa2b8%0x64>=0x3&&_0x1fa2b8%0x64<=0xa?0x3:_0x1fa2b8%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':_0x416d7e=>0x0==_0x416d7e?0x0:0x1==_0x416d7e?0x1:0x2==_0x416d7e?0x2:_0x416d7e%0x64>=0x3&&_0x416d7e%0x64<=0xa?0x3:_0x416d7e%0x64>=0xb?0x4:0x5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x1d4e03=>{const {ar:{dictionary:_0x48e2a0,getPluralForm:_0x43ca60}}={'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':_0x4aef14=>0x0==_0x4aef14?0x0:0x1==_0x4aef14?0x1:0x2==_0x4aef14?0x2:_0x4aef14%0x64>=0x3&&_0x4aef14%0x64<=0xa?0x3:_0x4aef14%0x64>=0xb?0x4:0x5}};_0x1d4e03['ar']||={'dictionary':{},'getPluralForm':null},_0x1d4e03['ar']['dictionary']=Object['assign'](_0x1d4e03['ar']['dictionary'],_0x48e2a0),_0x1d4e03['ar']['getPluralForm']=_0x43ca60;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x502a6c=>{const {ar:{dictionary:_0x46227f,getPluralForm:_0x3800b6}}={'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':_0x27dc95=>0x0==_0x27dc95?0x0:0x1==_0x27dc95?0x1:0x2==_0x27dc95?0x2:_0x27dc95%0x64>=0x3&&_0x27dc95%0x64<=0xa?0x3:_0x27dc95%0x64>=0xb?0x4:0x5}};_0x502a6c['ar']||={'dictionary':{},'getPluralForm':null},_0x502a6c['ar']['dictionary']=Object['assign'](_0x502a6c['ar']['dictionary'],_0x46227f),_0x502a6c['ar']['getPluralForm']=_0x3800b6;})(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':_0x4789c9=>0x1!=_0x4789c9}};
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':_0x3cf254=>0x1!=_0x3cf254}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x22f77b=>{const {ast:{dictionary:_0x52875f,getPluralForm:_0x64d0dd}}={'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':_0x2c9ad9=>0x1!=_0x2c9ad9}};_0x22f77b['ast']||={'dictionary':{},'getPluralForm':null},_0x22f77b['ast']['dictionary']=Object['assign'](_0x22f77b['ast']['dictionary'],_0x52875f),_0x22f77b['ast']['getPluralForm']=_0x64d0dd;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x4c9b82=>{const {ast:{dictionary:_0x855d1e,getPluralForm:_0x47b8ef}}={'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':_0x4a5c7a=>0x1!=_0x4a5c7a}};_0x4c9b82['ast']||={'dictionary':{},'getPluralForm':null},_0x4c9b82['ast']['dictionary']=Object['assign'](_0x4c9b82['ast']['dictionary'],_0x855d1e),_0x4c9b82['ast']['getPluralForm']=_0x47b8ef;})(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':_0x1dcec6=>0x1!=_0x1dcec6}};
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':_0x5c90f3=>0x1!=_0x5c90f3}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0xb1e9be=>{const {az:{dictionary:_0x4b8dd2,getPluralForm:_0x4eb925}}={'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':_0x51833b=>0x1!=_0x51833b}};_0xb1e9be['az']||={'dictionary':{},'getPluralForm':null},_0xb1e9be['az']['dictionary']=Object['assign'](_0xb1e9be['az']['dictionary'],_0x4b8dd2),_0xb1e9be['az']['getPluralForm']=_0x4eb925;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x57ec88=>{const {az:{dictionary:_0x586656,getPluralForm:_0x3e4dbc}}={'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':_0xe756db=>0x1!=_0xe756db}};_0x57ec88['az']||={'dictionary':{},'getPluralForm':null},_0x57ec88['az']['dictionary']=Object['assign'](_0x57ec88['az']['dictionary'],_0x586656),_0x57ec88['az']['getPluralForm']=_0x3e4dbc;})(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':_0x46cdcf=>_0x46cdcf%0xa==0x1&&_0x46cdcf%0x64!=0xb?0x0:_0x46cdcf%0xa>=0x2&&_0x46cdcf%0xa<=0x4&&(_0x46cdcf%0x64<0xa||_0x46cdcf%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':_0x4233c1=>_0x4233c1%0xa==0x1&&_0x4233c1%0x64!=0xb?0x0:_0x4233c1%0xa>=0x2&&_0x4233c1%0xa<=0x4&&(_0x4233c1%0x64<0xa||_0x4233c1%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x280705=>{const {be:{dictionary:_0x242cee,getPluralForm:_0x36bbbd}}={'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':_0xf629d5=>_0xf629d5%0xa==0x1&&_0xf629d5%0x64!=0xb?0x0:_0xf629d5%0xa>=0x2&&_0xf629d5%0xa<=0x4&&(_0xf629d5%0x64<0xa||_0xf629d5%0x64>=0x14)?0x1:0x2}};_0x280705['be']||={'dictionary':{},'getPluralForm':null},_0x280705['be']['dictionary']=Object['assign'](_0x280705['be']['dictionary'],_0x242cee),_0x280705['be']['getPluralForm']=_0x36bbbd;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x37748b=>{const {be:{dictionary:_0x2fd22b,getPluralForm:_0x356867}}={'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':_0x2395b2=>_0x2395b2%0xa==0x1&&_0x2395b2%0x64!=0xb?0x0:_0x2395b2%0xa>=0x2&&_0x2395b2%0xa<=0x4&&(_0x2395b2%0x64<0xa||_0x2395b2%0x64>=0x14)?0x1:0x2}};_0x37748b['be']||={'dictionary':{},'getPluralForm':null},_0x37748b['be']['dictionary']=Object['assign'](_0x37748b['be']['dictionary'],_0x2fd22b),_0x37748b['be']['getPluralForm']=_0x356867;})(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':_0x15d427=>0x1!=_0x15d427}};
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':_0x542103=>0x1!=_0x542103}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x1d696a=>{const {bg:{dictionary:_0x40be19,getPluralForm:_0x44789d}}={'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':_0x342ab4=>0x1!=_0x342ab4}};_0x1d696a['bg']||={'dictionary':{},'getPluralForm':null},_0x1d696a['bg']['dictionary']=Object['assign'](_0x1d696a['bg']['dictionary'],_0x40be19),_0x1d696a['bg']['getPluralForm']=_0x44789d;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x52c420=>{const {bg:{dictionary:_0x1e85fe,getPluralForm:_0x48e524}}={'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':_0x1eb957=>0x1!=_0x1eb957}};_0x52c420['bg']||={'dictionary':{},'getPluralForm':null},_0x52c420['bg']['dictionary']=Object['assign'](_0x52c420['bg']['dictionary'],_0x1e85fe),_0x52c420['bg']['getPluralForm']=_0x48e524;})(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':_0x14cc4b=>0x1!=_0x14cc4b}};
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':_0x367ed0=>0x1!=_0x367ed0}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x379902=>{const {bn:{dictionary:_0x55e582,getPluralForm:_0x351faa}}={'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':_0x46be5b=>0x1!=_0x46be5b}};_0x379902['bn']||={'dictionary':{},'getPluralForm':null},_0x379902['bn']['dictionary']=Object['assign'](_0x379902['bn']['dictionary'],_0x55e582),_0x379902['bn']['getPluralForm']=_0x351faa;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x12cdc8=>{const {bn:{dictionary:_0x37ff17,getPluralForm:_0xd232cb}}={'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':_0x3122ab=>0x1!=_0x3122ab}};_0x12cdc8['bn']||={'dictionary':{},'getPluralForm':null},_0x12cdc8['bn']['dictionary']=Object['assign'](_0x12cdc8['bn']['dictionary'],_0x37ff17),_0x12cdc8['bn']['getPluralForm']=_0xd232cb;})(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':_0x25674=>_0x25674%0xa==0x1&&_0x25674%0x64!=0xb?0x0:_0x25674%0xa>=0x2&&_0x25674%0xa<=0x4&&(_0x25674%0x64<0xa||_0x25674%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':_0x1ff0cf=>_0x1ff0cf%0xa==0x1&&_0x1ff0cf%0x64!=0xb?0x0:_0x1ff0cf%0xa>=0x2&&_0x1ff0cf%0xa<=0x4&&(_0x1ff0cf%0x64<0xa||_0x1ff0cf%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x33ea96=>{const {bs:{dictionary:_0x22b32c,getPluralForm:_0x3e719b}}={'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':_0x1a91e6=>_0x1a91e6%0xa==0x1&&_0x1a91e6%0x64!=0xb?0x0:_0x1a91e6%0xa>=0x2&&_0x1a91e6%0xa<=0x4&&(_0x1a91e6%0x64<0xa||_0x1a91e6%0x64>=0x14)?0x1:0x2}};_0x33ea96['bs']||={'dictionary':{},'getPluralForm':null},_0x33ea96['bs']['dictionary']=Object['assign'](_0x33ea96['bs']['dictionary'],_0x22b32c),_0x33ea96['bs']['getPluralForm']=_0x3e719b;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x5666cb=>{const {bs:{dictionary:_0x243b78,getPluralForm:_0xc0db71}}={'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':_0x109711=>_0x109711%0xa==0x1&&_0x109711%0x64!=0xb?0x0:_0x109711%0xa>=0x2&&_0x109711%0xa<=0x4&&(_0x109711%0x64<0xa||_0x109711%0x64>=0x14)?0x1:0x2}};_0x5666cb['bs']||={'dictionary':{},'getPluralForm':null},_0x5666cb['bs']['dictionary']=Object['assign'](_0x5666cb['bs']['dictionary'],_0x243b78),_0x5666cb['bs']['getPluralForm']=_0xc0db71;})(window['CKEDITOR_TRANSLATIONS']||={});