@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-20251102.0 → 0.0.0-nightly-20251104.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (173) hide show
  1. package/build/uploadcare.js +1 -1
  2. package/dist/index.js +3 -3
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +9 -9
  150. package/src/index.js +1 -1
  151. package/src/ui/uploadcarecontroller.js +2 -2
  152. package/src/ui/uploadcareformview.js +1 -1
  153. package/src/uploadcare.js +1 -1
  154. package/src/uploadcarecommand.js +1 -1
  155. package/src/uploadcareconfig.js +1 -1
  156. package/src/uploadcareediting.js +1 -1
  157. package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.js +2 -2
  158. package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.js +1 -1
  159. package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.js +1 -1
  160. package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.js +1 -1
  161. package/src/uploadcareimageedit/ui/uploadcareimageeditformview.js +1 -1
  162. package/src/uploadcareimageedit/uploadcareimageeditcommand.js +1 -1
  163. package/src/uploadcareimageedit/uploadcareimageeditediting.js +1 -1
  164. package/src/uploadcareimageedit/uploadcareimageeditui.js +1 -1
  165. package/src/uploadcareimageedit/uploadcareimagereplacecommand.js +1 -1
  166. package/src/uploadcareimageedit.js +1 -1
  167. package/src/uploadcareui.js +1 -1
  168. package/src/uploadcareuploadadapter.js +1 -1
  169. package/src/utils/common-translations.js +1 -1
  170. package/src/utils/dialogfocusmanagerview.js +1 -1
  171. package/src/utils/editingutils.js +1 -1
  172. package/src/utils/isancestor.js +1 -1
  173. package/src/utils/uploadutils.js +1 -1
package/dist/index.js CHANGED
@@ -20,6 +20,6 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x2e76a1,Command as _0xd16021}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x1ac82b,IconGooglePhotos as _0x383296,IconGoogleDrive as _0x2e2165,IconFacebook as _0x48918e,IconDropbox as _0x38e171,IconUploadcareLink as _0x33acab,IconUploadcareImageUpload as _0x4a89ab,IconError as _0x209ce5,IconUploadcareImageEdit as _0x59d083}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x1f3200,MenuBarMenuListItemButtonView as _0x3e4ef1,View as _0x44c7d0,FocusCycler as _0x301768,Dialog as _0x34b959,DialogViewPosition as _0x2922bc,SpinnerView as _0x369209,IconView as _0x4e6146,Notification as _0x3d68e7}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x400784,DomEmitterMixin as _0x42b3a8,global as _0x236e47,getAncestors as _0x35d8b7,ObservableMixin as _0x2ca4d6,uid as _0x29f44e,createElement as _0x54cee4}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x60955c}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x3385fb,info as _0x473552}from'@uploadcare/upload-client';import*as _0x80ea85 from'@uploadcare/file-uploader';var i=function(_0x4422e2){return _0x4422e2['Local']='local',_0x4422e2['URL']='url',_0x4422e2['Dropbox']='dropbox',_0x4422e2['GDrive']='gdrive',_0x4422e2['Facebook']='facebook',_0x4422e2['GPhotos']='gphotos',_0x4422e2['OneDrive']='onedrive',_0x4422e2;}({});function _(_0x2fd2c0,_0x5313ec,_0x47b276){const t=_0x2fd2c0['t'],_0x25fb7a=_0x2fd2c0['t'];switch(_0x5313ec){case i['Local']:return{'text':_0x25fb7a('Insert'===_0x47b276?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x25fb7a('From\x20computer')};case i['URL']:return{'text':'Insert'===_0x47b276?_0x25fb7a('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x25fb7a('Via\x20URL')};case i['Dropbox']:return{'text':t('Insert'===_0x47b276?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case i['Facebook']:return{'text':t('Insert'===_0x47b276?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case i['GDrive']:return{'text':t('Insert'===_0x47b276?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case i['GPhotos']:return{'text':t('Insert'===_0x47b276?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case i['OneDrive']:return{'text':t('Insert'===_0x47b276?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x5313ec;}}class e extends _0x2e76a1{['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 _0x59e7d3=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x57c0b6;for(const _0x311657 in _0x59e7d3){const _0x33c2ea=_0x311657,_0x11e396=_0x59e7d3[_0x33c2ea];if('uploadcareLicenseKeyValid'==_0x11e396||'uploadcareLicenseKeyInvalid'==_0x11e396||'uploadcareLicenseKeyExpired'==_0x11e396||'uploadcareLicenseKeyDomainLimit'==_0x11e396||'uploadcareLicenseKeyNotAllowed'==_0x11e396||'uploadcareLicenseKeyEvaluationLimit'==_0x11e396||'uploadcareLicenseKeyTrialLimit'==_0x11e396||'uploadcareLicenseKeyUsageLimit'==_0x11e396){delete _0x59e7d3[_0x33c2ea],_0x57c0b6=_0x11e396,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x57c0b6&&_0x59e7d3['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x57c0b6&&_0x59e7d3['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x57c0b6&&_0x59e7d3['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x57c0b6&&_0x59e7d3['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x57c0b6&&_0x59e7d3['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0x57c0b6&&_0x59e7d3['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0x57c0b6&&_0x59e7d3['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x3b1066}=this,_0x23f525=_0x3b1066['commands']['get']('uploadcare');if(!_0x23f525)return;const _0x3d0c8e=this['_normalizeConfigSourceList'](_0x3b1066['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x2c1fde,_0x38db91)=>{const _0x3455f6=this['_getIntegrationKey'](_0x38db91['type']);return _0x2c1fde[_0x3455f6]||(_0x2c1fde[_0x3455f6]=[]),_0x2c1fde[_0x3455f6]['push'](_0x38db91),_0x2c1fde;},{});_0x3b1066['plugins']['has']('ImageInsertUI')&&_0x3b1066['commands']['get']('uploadcare')&&Object['entries'](_0x3d0c8e)['forEach'](([_0x2ccc61,_0x55fa09])=>{_0x3b1066['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x2ccc61,'observable':()=>_0x23f525,'buttonViewCreator':()=>this['_createToolbarButton'](_0x55fa09),'formViewCreator':()=>this['_createDropdownButtons'](_0x55fa09),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x55fa09),'override':'assetManager'!==_0x2ccc61});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x2dbd2c){const {locale:_0x57a7d9}=this['editor'];return _0x2dbd2c['map'](_0x22391e=>{const _0xebe523=_(_0x57a7d9,_0x22391e,'Insert');switch(_0x22391e){case i['Local']:return{'icon':_0x4a89ab,'type':i['Local'],..._0xebe523};case i['URL']:return{'icon':_0x33acab,'type':i['URL'],..._0xebe523};case i['Dropbox']:return{'icon':_0x38e171,'type':i['Dropbox'],..._0xebe523};case i['Facebook']:return{'icon':_0x48918e,'type':i['Facebook'],..._0xebe523};case i['GDrive']:return{'icon':_0x2e2165,'type':i['GDrive'],..._0xebe523};case i['GPhotos']:return{'icon':_0x383296,'type':i['GPhotos'],..._0xebe523};case i['OneDrive']:return{'icon':_0x1ac82b,'type':i['OneDrive'],..._0xebe523};}});}['_getIntegrationKey'](_0x38dce6){switch(_0x38dce6){case i['Local']:return'upload';case i['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x38b3ef,_0x29245f){const _0x130c96=this['editor'],_0x167974=new _0x38b3ef(_0x130c96['locale']),_0x221f2f=_0x130c96['commands']['get']('uploadcare');return _0x167974['bind']('isEnabled')['to'](_0x221f2f),_0x167974['on']('execute',()=>{_0x221f2f['execute'](_0x29245f);}),_0x167974;}['_createToolbarButton'](_0x58f780){const {locale:_0x4fbb5b}=this['editor'],_0x1e5135=this['editor']['plugins']['get']('ImageInsertUI'),_0x2e2e19=_0x58f780[0x0],_0x360024=this['_createButton'](_0x1f3200,_0x2e2e19['type']);return _0x360024['icon']=_0x2e2e19['icon'],_0x360024['bind']('label')['to'](_0x1e5135,'isImageSelected',_0x3439d5=>_(_0x4fbb5b,_0x2e2e19['type'],_0x3439d5?'Replace':'Insert')['text']),_0x360024['tooltip']=!0x0,_0x360024;}['_createDropdownButtons'](_0x4f582c){const {locale:_0xdd6a56}=this['editor'],_0xfa5f80=this['editor']['plugins']['get']('ImageInsertUI');return _0x4f582c['map'](_0x529b69=>{const _0x28d39b=this['_createButton'](_0x1f3200,_0x529b69['type']);return _0x28d39b['withText']=!0x0,_0x28d39b['icon']=_0x529b69['icon'],_0x28d39b['bind']('label')['to'](_0xfa5f80,'isImageSelected',_0x475b90=>_(_0xdd6a56,_0x529b69['type'],_0x475b90?'Replace':'Insert')['text']),_0x28d39b;});}['_createMenuBarButtons'](_0x5d5ecb){return _0x5d5ecb['map'](_0x38e6bb=>{const _0x5074d1=this['_createButton'](_0x3e4ef1,_0x38e6bb['type']);return _0x5074d1['icon']=_0x38e6bb['icon'],_0x5074d1['label']=_0x38e6bb['shortText'],_0x5074d1;});}}class V extends _0x44c7d0{['focusTracker'];['focusCycler'];constructor(_0xad5c03){super(_0xad5c03),this['focusTracker']=new _0x400784(),this['focusCycler']=new _0x301768({'focusables':this['createCollection'](),'focusTracker':this['focusTracker']});}['getFocusableElement'](){return{'tag':'div','attributes':{'aria-hidden':'true','tabindex':'0'},'on':{'focus':this['bindTemplate']['to'](()=>{this['focusCycler']['fire']('forwardCycle');})}};}}class S extends V{constructor(_0x962fb7,_0x11e909){super(_0x962fb7),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-'+_0x11e909}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function C(_0x540229,_0x566e38){const _0x3121c3=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x34bfc9=>_0x34bfc9<=_0x566e38)['map'](_0x1f20d2=>_0x540229['replace'](/\/$/,'')+'/-/resize/'+_0x1f20d2+'x/\x20'+_0x1f20d2+'w');return{'imageFallbackUrl':_0x540229,'imageSources':[{'srcset':_0x3121c3['join'](',\x20'),'sizes':'(max-width:\x20'+_0x566e38+'px)\x20100vw,\x20'+_0x566e38+'px','type':'image/webp'}]};}function F(_0x3263b8,_0x5644d8,_0x1763dc){const _0x16cb74=_0x3263b8['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x16cb74?parseInt(_0x16cb74[0x1],0xa):_0x5644d8,'height':_0x16cb74?parseInt(_0x16cb74[0x2],0xa):_0x1763dc};}function p(_0x592d2d,_0x372b7c){const _0x251ff3=new(_0x42b3a8())(),_0x9f0c28=_0x592d2d['plugins']['get']('ImageUtils'),_0x56498a=_0x592d2d['editing']['mapper']['toViewElement'](_0x372b7c),_0x3047fe=_0x9f0c28['findViewImgElement'](_0x56498a),_0x4bc4e9=_0x592d2d['editing']['view']['domConverter']['viewToDom'](_0x3047fe),_0x2ccc5f=_0x372b7c['getAttribute']('width'),_0x7ebc21=_0x372b7c['getAttribute']('height'),_0x3e089d='image-processing';_0x592d2d['editing']['view']['change'](_0x1a36af=>{_0x1a36af['addClass'](_0x3e089d,_0x56498a),_0x1a36af['setStyle']('aspect-ratio',_0x2ccc5f+'/'+_0x7ebc21,_0x3047fe);}),_0x251ff3['listenTo'](_0x4bc4e9,'load',()=>{_0x251ff3['stopListening'](_0x4bc4e9,'load'),_0x592d2d['editing']['view']['change'](_0x29cfb3=>{_0x29cfb3['removeClass'](_0x3e089d,_0x56498a),_0x29cfb3['removeStyle']('aspect-ratio',_0x3047fe);});});}function R(_0xb3bfc){if(Array['isArray'](_0xb3bfc)){const _0x49681c=_0xb3bfc['map'](R);return _0x2318f7=>_0x49681c['some'](_0x523983=>_0x523983(_0x2318f7));}if('origin'==_0xb3bfc){const _0x468cf0=_0x236e47['window']['location']['origin'];return _0x5c8936=>new URL(_0x5c8936,_0x236e47['document']['baseURI'])['origin']==_0x468cf0;}return'function'==typeof _0xb3bfc?_0xb3bfc:_0xb3bfc instanceof RegExp?_0x4ace2e=>!(!_0x4ace2e['match'](_0xb3bfc)&&!_0x4ace2e['replace'](/^https?:\/\//,'')['match'](_0xb3bfc)):()=>!0x1;}function M(_0x24edad,_0x3e968b){return _0x35d8b7(_0x24edad['target'])['includes'](_0x3e968b);}class n extends/* #__PURE__ -- @preserve */
24
- _0x2ca4d6(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x5610c2,_0x1744c6,_0x2b2caa){super(),this['_editor']=_0x5610c2,this['_editing']=_0x1744c6,this['_dialog']=_0x5610c2['plugins']['get'](_0x34b959),this['_api']=_0x1744c6['ctxElement']['getAPI'](),this['_type']=_0x2b2caa,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:_0x18c4c8,model:_0x19716d}=this['_editor'],_0x437444=_0x19716d['document']['selection']['getSelectedElement'](),_0x2b147c=_0x437444&&(_0x437444['is']('element','imageBlock')||_0x437444['is']('element','imageInline'));this['_formView']=new S(_0x18c4c8,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':_0x4a89ab,'title':_(_0x18c4c8,this['_type'],_0x2b147c?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x2922bc['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x48d32b=>!M(_0x48d32b,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x5786e8}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x5f122a=>{const _0x208721=_0x5786e8['length'];for(const _0x132af0 of _0x5786e8){const _0x25f8c9=_0x132af0===_0x5786e8[_0x208721-0x1],{cdnUrl:_0x28eab4,fileInfo:_0xa1679a}=_0x132af0;if(!_0x28eab4||!_0xa1679a)continue;const {width:_0x482d4a,height:_0x13073b}=_0xa1679a['imageInfo'],_0x11ebe2=F(_0x28eab4,_0x482d4a,_0x13073b),_0x380cb7=C(_0x28eab4,_0x11ebe2['width']),_0x2bc36b={'id':_0xa1679a['uuid'],'type':'image','attributes':{'imageDimension':_0x11ebe2,..._0x380cb7}};this['_insertAsset'](_0x2bc36b,_0x25f8c9,_0x5f122a);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0xdd11e4=>{'idle'===_0xdd11e4['detail']['status']&&!_0xdd11e4['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===i['Local']?this['_api']['setCurrentActivity'](i['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x517d9b,_0xe8a814,_0x4b0c50){const _0x1d3494=this['_editor']['model']['document']['selection'],_0x3acbdc=_0x1d3494['getSelectedElement'](),_0x3b4b47=!(!_0x3acbdc||!_0x3acbdc['is']('element','imageInline'));_0x4b0c50['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x517d9b,_0x3b4b47),_0xe8a814||_0x4b0c50['setSelection'](_0x1d3494['getLastPosition']());}['_insertImage'](_0x127665,_0x442fe2){const _0x12bc20=this['_editor'],{imageDimension:_0x287dc4,imageFallbackUrl:_0x3a45fa,imageSources:_0x59f30e}=_0x127665['attributes'];_0x12bc20['execute']('insertImage',{'imageType':_0x442fe2?'imageInline':null,'source':{'uploadcareImageId':_0x127665['id'],'src':_0x3a45fa,'sources':_0x59f30e,..._0x287dc4}});}}class w extends _0xd16021{['_editing'];['_controller']=null;static get['requires'](){return[_0x34b959,o];}constructor(_0x5d11d3){super(_0x5d11d3),this['_editing']=_0x5d11d3['plugins']['get'](o);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x2f4c16){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new n(this['editor'],this['_editing'],_0x2f4c16);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class j{static['upload']({file:_0x20173f,..._0x2793bc}){return _0x3385fb(_0x20173f,_0x2793bc);}static['getInfo'](_0x3d970e,_0x4fc990){return _0x473552(_0x3d970e,_0x4fc990);}}class f extends _0x2e76a1{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x60955c,o];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x436874=this['editor'];if(!!!_0x436874['config']['get']('uploadcare'))return;_0x436874['plugins']['get'](_0x60955c)['createUploadAdapter']=_0x1f37f5=>new k(_0x1f37f5,_0x436874),_0x436874['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x16a430,{imageElement:_0x547324,data:_0x46113c})=>{_0x436874['model']['change'](_0x5378fb=>{_0x5378fb['setAttribute']('uploadcareImageId',_0x46113c['uploadcareImageId'],_0x547324);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x566e71,_0x33a4fc){this['loader']=_0x566e71,this['editor']=_0x33a4fc,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x489b1c=await this['loader']['file'];return j['upload']({'file':_0x489b1c,'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':_0x1815cb=>{_0x1815cb&&_0x1815cb['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x1815cb['value']);}})['then'](async _0x29eea9=>{const {imageFallbackUrl:_0x340c30,imageSources:_0x2b5ad9}=C(_0x29eea9['cdnUrl'],_0x29eea9['imageInfo']['width']);return{'uploadcareImageId':_0x29eea9['uuid'],'default':_0x340c30,'sources':_0x2b5ad9};})['catch'](()=>{const _0x119e92=t('Cannot\x20upload\x20file:')+('\x20'+_0x489b1c['name']+'.');return Promise['reject'](_0x119e92);});}['abort'](){this['controller']['abort']();}}class o extends _0x2e76a1{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',f,_0x34b959];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['ucContextId'];get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}constructor(_0xdfda7c){super(_0xdfda7c),this['ucContextId']=_0x29f44e();}['init'](){const _0x44454a=this['editor'];_0x44454a['commands']['add']('uploadcare',new w(_0x44454a));}['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 _0x29597a=_0x236e47['document']['querySelector']('input[uploadcare-file-input]');_0x29597a&&_0x29597a['remove']();}),async function(_0x1be96e){const _0x9e2a7f=_0x17b85c([0x68,0x67,0x50,0x36,0x38,0x70,0x71,0x63,0x37,0x4f,0x42,0x4a,0x78,0x39,0x75,0x33,0x7a,0x72,0x48,0x61,0x74,0x59,0x55,0x58,0x66,0x30,0x34,0x54,0x64,0x56,0x6b,0x4d,0x46,0x6d,0x77,0x43,0x73,0x35,0x53,0x44,0x41,0x76,0x6a,0x32,0x31,0x69,0x57,0x51,0x47,0x65,0x5a,0x4b,0x4c,0x79,0x52,0x6c,0x45,0x4e,0x6e,0x6f,0x49,0x62]),_0x48ef95=0x535f8c3a,_0x9ff7c8=0x5358fbca^_0x48ef95,_0x18c18b=window[_0x17b85c([0x44,0x61,0x74,0x65])][_0x17b85c([0x6e,0x6f,0x77])](),_0x27abf7=_0x1be96e[_0x17b85c([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x46b60c=new window[(_0x17b85c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1af72e=>{_0x27abf7[_0x17b85c([0x6f,0x6e,0x63,0x65])](_0x17b85c([0x72,0x65,0x61,0x64,0x79]),_0x1af72e);}),_0x5d72dc={[_0x17b85c([0x6b,0x74,0x79])]:_0x17b85c([0x45,0x43]),[_0x17b85c([0x75,0x73,0x65])]:_0x17b85c([0x73,0x69,0x67]),[_0x17b85c([0x63,0x72,0x76])]:_0x17b85c([0x50,0x2d,0x32,0x35,0x36]),[_0x17b85c([0x78])]:_0x17b85c([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]),[_0x17b85c([0x79])]:_0x17b85c([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]),[_0x17b85c([0x61,0x6c,0x67])]:_0x17b85c([0x45,0x53,0x32,0x35,0x36])},_0x50ba21=_0x27abf7[_0x17b85c([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x17b85c([0x67,0x65,0x74])](_0x17b85c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x48c587(){let _0x302317,_0x3f9901=null,_0x256f8c=null;try{if(_0x50ba21==_0x17b85c([0x47,0x50,0x4c]))return _0x17b85c([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x302317=_0x370fc7(),!_0x302317)return _0x17b85c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x302317[_0x17b85c([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x256f8c=_0x4cbffd(_0x302317[_0x17b85c([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x302317[_0x17b85c([0x6a,0x74,0x69])])),await _0x5a19f0()?_0x4e2c62()?_0x5a2342()?_0x17b85c([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x42d21c()?(_0x302317[_0x17b85c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x17b85c([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3f9901=_0x38aa5f(_0x17b85c([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x302317[_0x17b85c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x17b85c([0x74,0x72,0x69,0x61,0x6c])&&(_0x3f9901=_0x38aa5f(_0x17b85c([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x15f6c8()):_0x17b85c([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x17b85c([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x17b85c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x17b85c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x5a2342(){const _0x75cb52=[_0x17b85c([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x17b85c([0x74,0x72,0x69,0x61,0x6c])][_0x17b85c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x302317[_0x17b85c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x18c18b/0x3e8:0xe10*_0x9ff7c8;return _0x302317[_0x17b85c([0x65,0x78,0x70])]<_0x75cb52;}function _0x4e2c62(){const _0x7bd217=_0x302317[_0x17b85c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x7bd217&&(!!_0x7bd217[_0x17b85c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x17b85c([0x2a]))||!!_0x7bd217[_0x17b85c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x17b85c([0x55,0x50,0x4c,0x43])));}function _0x42d21c(){const _0x35af90=_0x302317[_0x17b85c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x35af90||0x0==_0x35af90[_0x17b85c([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x32cd84}=new URL(window[_0x17b85c([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x35af90[_0x17b85c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x32cd84))return!0x0;const _0x4db6ce=_0x32cd84[_0x17b85c([0x73,0x70,0x6c,0x69,0x74])](_0x17b85c([0x2e]));return _0x35af90[_0x17b85c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2f7c3b=>_0x2f7c3b[_0x17b85c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x17b85c([0x2a])))[_0x17b85c([0x6d,0x61,0x70])](_0x56cc33=>_0x56cc33[_0x17b85c([0x73,0x70,0x6c,0x69,0x74])](_0x17b85c([0x2e])))[_0x17b85c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3e0f7e=>_0x3e0f7e[_0x17b85c([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x4db6ce[_0x17b85c([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x17b85c([0x6d,0x61,0x70])](_0x47688d=>Array(_0x4db6ce[_0x17b85c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x47688d[_0x17b85c([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x17b85c([0x66,0x69,0x6c,0x6c])](_0x47688d[0x0]===_0x17b85c([0x2a])?_0x17b85c([0x2a]):'')[_0x17b85c([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x47688d))[_0x17b85c([0x73,0x6f,0x6d,0x65])](_0x2e0603=>_0x4db6ce[_0x17b85c([0x65,0x76,0x65,0x72,0x79])]((_0x4d9777,_0x57ade8)=>_0x2e0603[_0x57ade8]===_0x4d9777||_0x2e0603[_0x57ade8]===_0x17b85c([0x2a])));}function _0x15f6c8(){return _0x3f9901&&_0x256f8c?new window[(_0x17b85c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2f7743,_0x4ba151)=>{_0x3f9901[_0x17b85c([0x74,0x68,0x65,0x6e])](_0x2f7743,_0x4ba151),_0x256f8c[_0x17b85c([0x74,0x68,0x65,0x6e])](_0x4510c0=>{_0x4510c0!=_0x17b85c([0x56,0x61,0x6c,0x69,0x64])&&_0x2f7743(_0x4510c0);},_0x4ba151);}):_0x3f9901||_0x256f8c||_0x17b85c([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4cbffd(_0x417b56,_0x2590ef){return new window[(_0x17b85c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4659b8=>{if(_0x58ad3e())return _0x4659b8(_0x17b85c([0x56,0x61,0x6c,0x69,0x64]));_0x501b9b(),_0x27abf7[_0x17b85c([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x17b85c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x104efd=!0x1;const _0x19850c=_0x29f44e();function _0x5f4715(_0x1dcfeb){return!!_0x1dcfeb&&(typeof _0x1dcfeb===_0x17b85c([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1dcfeb===_0x17b85c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1dcfeb[_0x17b85c([0x74,0x68,0x65,0x6e])]===_0x17b85c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1dcfeb[_0x17b85c([0x63,0x61,0x74,0x63,0x68])]===_0x17b85c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x19f56c(_0x1dded5){_0x3d55fd(_0x1dded5)[_0x17b85c([0x74,0x68,0x65,0x6e])](_0x11daee=>{if(!_0x11daee||_0x11daee[_0x17b85c([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x17b85c([0x6f,0x6b]))return _0x17b85c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2945ac(_0x15eb5f(_0x19850c+_0x2590ef))!=_0x11daee[_0x17b85c([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x17b85c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x17b85c([0x56,0x61,0x6c,0x69,0x64]);})[_0x17b85c([0x74,0x68,0x65,0x6e])](_0x527280=>(_0x33c2ef(),_0x527280),()=>{const _0x3a37ba=_0x16ee07();return null==_0x3a37ba?(_0x33c2ef(),_0x17b85c([0x56,0x61,0x6c,0x69,0x64])):_0x17b85c(_0x18c18b-_0x3a37ba>(0x7753083a^_0x48ef95)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x17b85c([0x74,0x68,0x65,0x6e])](_0x4659b8)[_0x17b85c([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4659b8(_0x17b85c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x667d0b=0x536962ba^_0x48ef95;function _0x33c2ef(){const _0x554c8=_0x17b85c([0x6c,0x6c,0x63,0x74,0x2d])+_0x2945ac(_0x15eb5f(_0x417b56)),_0x455a41=_0x3af35c(_0x2945ac(window[_0x17b85c([0x4d,0x61,0x74,0x68])][_0x17b85c([0x63,0x65,0x69,0x6c])](_0x18c18b/_0x667d0b)));window[_0x17b85c([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x17b85c([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x554c8,_0x455a41);}function _0x16ee07(){const _0x535934=_0x17b85c([0x6c,0x6c,0x63,0x74,0x2d])+_0x2945ac(_0x15eb5f(_0x417b56)),_0xcffdf0=window[_0x17b85c([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x17b85c([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x535934);return _0xcffdf0?window[_0x17b85c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3af35c(_0xcffdf0),0x10)*_0x667d0b:null;}function _0x3d55fd(_0x5c3b0d){return new window[(_0x17b85c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x42cd04,_0x5bbe64)=>{_0x5c3b0d[_0x17b85c([0x74,0x68,0x65,0x6e])](_0x42cd04,_0x5bbe64),window[_0x17b85c([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5bbe64,0x535e58fa^_0x48ef95);});}}_0x27abf7[_0x17b85c([0x6f,0x6e])](_0x17b85c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x14691e,_0x49117d)=>{if(_0x49117d[0x0]!=_0x417b56)return _0x4659b8(_0x17b85c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x49117d[0x1]={..._0x49117d[0x1],[_0x17b85c([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x19850c};},{[_0x17b85c([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x17b85c([0x68,0x69,0x67,0x68])}),_0x27abf7[_0x17b85c([0x6f,0x6e])](_0x17b85c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x28fdbf=>{_0x5f4715(_0x28fdbf[_0x17b85c([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x104efd=!0x0,_0x19f56c(_0x28fdbf[_0x17b85c([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x17b85c([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x17b85c([0x6c,0x6f,0x77])}),_0x46b60c[_0x17b85c([0x74,0x68,0x65,0x6e])](()=>{_0x104efd||_0x4659b8(_0x17b85c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x58ad3e(){return _0x27abf7[_0x17b85c([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x17b85c([0x76,0x69,0x65,0x77])][_0x17b85c([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x17b85c([0x61,0x75,0x74,0x6f]);}function _0x501b9b(){_0x27abf7[_0x17b85c([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x17b85c([0x76,0x69,0x65,0x77])][_0x17b85c([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x17b85c([0x61,0x75,0x74,0x6f]);}}function _0x38aa5f(_0x5eda4d){const _0x4b41c7=[new window[(_0x17b85c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x205df6=>setTimeout(_0x205df6,0x5356b2f6^_0x48ef95)),_0x46b60c[_0x17b85c([0x74,0x68,0x65,0x6e])](()=>new window[(_0x17b85c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x371a75=>{let _0x1ee31d=0x0;_0x27abf7[_0x17b85c([0x6d,0x6f,0x64,0x65,0x6c])][_0x17b85c([0x6f,0x6e])](_0x17b85c([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1e4da9,_0x57a5eb)=>{_0x57a5eb[0x0][_0x17b85c([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1ee31d++,_0x1ee31d==(0x535f8dc2^_0x48ef95)&&(_0x371a75(),_0x1e4da9[_0x17b85c([0x6f,0x66,0x66])]());});}))];return window[_0x17b85c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x17b85c([0x72,0x61,0x63,0x65])](_0x4b41c7)[_0x17b85c([0x74,0x68,0x65,0x6e])](()=>_0x5eda4d);}async function _0x558aac(){await _0x46b60c,_0x27abf7[_0x17b85c([0x6d,0x6f,0x64,0x65,0x6c])][_0x17b85c([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4ee89c,_0x27abf7[_0x17b85c([0x6d,0x6f,0x64,0x65,0x6c])][_0x17b85c([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4ee89c,_0x27abf7[_0x17b85c([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x17b85c([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x5a8b84(_0x54b458){const _0x53c5c5=_0x256e68();_0x27abf7[_0x53c5c5]=_0x17b85c([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x54b458,_0x54b458!=_0x17b85c([0x56,0x61,0x6c,0x69,0x64])&&_0x558aac();}function _0x256e68(){const _0xa34bfe=window[_0x17b85c([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x17b85c([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x17b85c([0x6e,0x6f,0x77])]())[_0x17b85c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x17b85c([0x2e]),'');let _0x167b07=_0x17b85c([0x68]);for(let _0x17e2a4=0x0;_0x17e2a4<_0xa34bfe[_0x17b85c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x17e2a4+=0x2){let _0x543c2d=window[_0x17b85c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xa34bfe[_0x17b85c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x17e2a4,_0x17e2a4+0x2));_0x543c2d>=_0x9e2a7f[_0x17b85c([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x543c2d-=_0x9e2a7f[_0x17b85c([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x167b07+=_0x9e2a7f[_0x543c2d];}return _0x167b07;}function _0x370fc7(){const _0x4b46b=_0x50ba21[_0x17b85c([0x73,0x70,0x6c,0x69,0x74])](_0x17b85c([0x2e]));if(0x3!=_0x4b46b[_0x17b85c([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x31daf1(_0x4b46b[0x1]);function _0x31daf1(_0x36e955){const _0x5c9939=_0x2041b9(_0x36e955);return _0x5c9939&&_0x48b881()?_0x5c9939:null;function _0x48b881(){const _0x5e7039=_0x5c9939[_0x17b85c([0x6a,0x74,0x69])],_0x1524d4=window[_0x17b85c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5e7039[_0x17b85c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5e7039[_0x17b85c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2375e0={..._0x5c9939,[_0x17b85c([0x6a,0x74,0x69])]:_0x5e7039[_0x17b85c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x5e7039[_0x17b85c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2375e0[_0x17b85c([0x76,0x63])],_0x15eb5f(_0x2375e0)==_0x1524d4;}}}async function _0x5a19f0(){let _0x4bce4f=!0x0;try{const _0x392bc6=_0x50ba21[_0x17b85c([0x73,0x70,0x6c,0x69,0x74])](_0x17b85c([0x2e])),[_0x59d97e,_0x58449f,_0x2e0423]=_0x392bc6;return _0x1f576b(_0x59d97e),await _0x53ac41(_0x59d97e,_0x58449f,_0x2e0423),_0x4bce4f;}catch{return!0x1;}function _0x1f576b(_0x5d16da){const _0x355aa5=_0x2041b9(_0x5d16da);_0x355aa5&&_0x355aa5[_0x17b85c([0x61,0x6c,0x67])]==_0x17b85c([0x45,0x53,0x32,0x35,0x36])||(_0x4bce4f=!0x1);}async function _0x53ac41(_0x13baa7,_0x109878,_0x38294a){const _0x1a1fe5=window[_0x17b85c([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x17b85c([0x66,0x72,0x6f,0x6d])](_0x13687a(_0x38294a),_0x24d0cb=>_0x24d0cb[_0x17b85c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1f75e2=new window[(_0x17b85c([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x17b85c([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x13baa7+_0x17b85c([0x2e])+_0x109878),_0x49e74e=window[_0x17b85c([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x17b85c([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x49e74e)return;const _0x58fa94=await _0x49e74e[_0x17b85c([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x17b85c([0x6a,0x77,0x6b]),_0x5d72dc,{[_0x17b85c([0x6e,0x61,0x6d,0x65])]:_0x17b85c([0x45,0x43,0x44,0x53,0x41]),[_0x17b85c([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x17b85c([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x17b85c([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x49e74e[_0x17b85c([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x17b85c([0x6e,0x61,0x6d,0x65])]:_0x17b85c([0x45,0x43,0x44,0x53,0x41]),[_0x17b85c([0x68,0x61,0x73,0x68])]:{[_0x17b85c([0x6e,0x61,0x6d,0x65])]:_0x17b85c([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x58fa94,_0x1a1fe5,_0x1f75e2)||(_0x4bce4f=!0x1);}}function _0x2041b9(_0x1e01e0){return _0x1e01e0[_0x17b85c([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x17b85c([0x65,0x79]))?JSON[_0x17b85c([0x70,0x61,0x72,0x73,0x65])](_0x13687a(_0x1e01e0)):null;}function _0x13687a(_0x7dc686){return window[_0x17b85c([0x61,0x74,0x6f,0x62])](_0x7dc686[_0x17b85c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x17b85c([0x2b]))[_0x17b85c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x17b85c([0x2f])));}function _0x15eb5f(_0x3dabb7){let _0x47c493=0x1505;function _0x321e0a(_0x20847b){for(let _0x222da2=0x0;_0x222da2<_0x20847b[_0x17b85c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x222da2++){const _0x120e7b=_0x20847b[_0x17b85c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x222da2);_0x47c493=(_0x47c493<<0x5)+_0x47c493+_0x120e7b,_0x47c493&=_0x47c493;}}function _0x391c3b(_0x45282c){Array[_0x17b85c([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x45282c)?_0x45282c[_0x17b85c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x391c3b):_0x45282c&&typeof _0x45282c==_0x17b85c([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x17b85c([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x45282c)[_0x17b85c([0x73,0x6f,0x72,0x74])]()[_0x17b85c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4db520,_0x24c1b8])=>{_0x321e0a(_0x4db520),_0x391c3b(_0x24c1b8);}):_0x321e0a(window[_0x17b85c([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x45282c));}return _0x391c3b(_0x3dabb7),_0x47c493>>>0x0;}function _0x2945ac(_0x4db09c){return _0x4db09c[_0x17b85c([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x17b85c([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x17b85c([0x30]));}function _0x3af35c(_0x5a64eb){return _0x5a64eb[_0x17b85c([0x73,0x70,0x6c,0x69,0x74])]('')[_0x17b85c([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x17b85c([0x6a,0x6f,0x69,0x6e])]('');}function _0x4ee89c(){}function _0x17b85c(_0x2c6ee2){return _0x2c6ee2['map'](_0x563095=>String['fromCharCode'](_0x563095))['join']('');}_0x5a8b84(await _0x48c587());}(this);}['_initSchema'](){const _0x4e5149=this['editor']['model']['schema'];_0x4e5149['isRegistered']('imageBlock')&&_0x4e5149['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x4e5149['isRegistered']('imageInline')&&_0x4e5149['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x489669=this['editor'];_0x489669['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x489669['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x5d1302=>_0x5d1302['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x15dc3b=_0x489669['commands']['get']('replaceImageSource');_0x15dc3b&&this['listenTo'](_0x15dc3b,'cleanupImage',(_0x349d32,[_0x1b1e05,_0x2a1f05])=>{_0x1b1e05['removeAttribute']('uploadcareImageId',_0x2a1f05);});}['_initConfig'](){const _0x500dec=this['editor']['config']['get']('uploadcare.uploader')||{},_0x5062c4=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x54cee4(_0x236e47['document'],'uc-config',{..._0x500dec,'pubkey':_0x5062c4,'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']=_0x50fb1b=>{if('closeMax'==_0x50fb1b)return'#uc-icon-arrow-down';},_0x236e47['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x54cee4(_0x236e47['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),_0x236e47['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x3bf0bb=this['editor']['commands']['get']('insertImage');_0x3bf0bb&&this['listenTo'](_0x3bf0bb,'execute',()=>{const _0xf53ed9=this['editor']['model']['document']['selection']['getSelectedElement']();_0xf53ed9&&_0xf53ed9['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0xf53ed9);});});const _0x1f16ab=this['editor']['commands']['get']('uploadcareImageReplace');_0x1f16ab&&this['listenTo'](_0x1f16ab,'execute',()=>{const _0x28def6=this['editor']['model']['document']['selection']['getSelectedElement']();_0x28def6&&_0x28def6['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x28def6);});});}}class tt extends _0x2e76a1{static get['requires'](){return[o,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x40a236){super(_0x40a236),_0x40a236['config']['define']('uploadcare.uploader.sourceList',[i['Local'],i['URL']]),_0x80ea85['defineComponents'](_0x80ea85),this['_defineLocale']();}['_defineLocale'](){const _0x568472=this['editor']['config']['get']('uploadcare.locale'),_0x32680e=this['editor']['locale']['contentLanguage'];_0x568472&&_0x80ea85['defineLocale'](_0x32680e,_0x568472);}}class ii extends _0x44c7d0{constructor(_0x35ccae){super(_0x35ccae);const t=_0x35ccae['t'],_0x2bffa3=this['bindTemplate'],_0x4e022a=new _0x369209();_0x4e022a['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':[_0x4e022a,{'text':_0x2bffa3['to']('imageUploadProgress',_0x560728=>t('Loading\x20image...')+'\x20('+(_0x560728||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 _0x44c7d0{constructor(_0x42fe28){super(_0x42fe28);const t=_0x42fe28['t'];this['set']('errorType',null);const _0x57bd7f=new _0x1f3200(_0x42fe28);_0x57bd7f['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x57bd7f['withText']=!0x0,_0x57bd7f['class']='ck-button-action',_0x57bd7f['on']('execute',()=>{this['fire']('retry');}),_0x57bd7f['bind']('isVisible')['to'](this,'errorType',_0x13c9d1=>'NotFound'!==_0x13c9d1);const _0x379261=new _0x4e6146();_0x379261['content']=_0x209ce5,_0x379261['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x18e0be=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':[_0x379261,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x18e0be['to']('errorType',_0x27f98a=>t('NotFound'!==_0x27f98a?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x57bd7f]},{'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 _0x44c7d0{constructor(_0x348455,_0x2d6a81){super(_0x348455);const _0x21e04d=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x2d6a81,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x21e04d['to']('imageSrc')}});}}class X extends V{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0xcbdd2f,_0x31288a,_0x3aff28){super(_0xcbdd2f),this['_items']=this['createCollection'](),this['_loadingView']=new ii(_0xcbdd2f),this['_errorView']=new ti(_0xcbdd2f),this['_editingView']=new ei(_0xcbdd2f,_0x3aff28),this['_focusableView']=new _0x44c7d0(_0xcbdd2f),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x31288a),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'],_0x124e63=>{this['_addUploadcareImageEditorListeners'](_0x124e63);});}),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'](_0x1eba53,_0x1cfdeb){const _0x244ce2='uc-cloud-image-editor',_0x12f47b=_0x1eba53['querySelector'](_0x244ce2);if(_0x12f47b)return _0x1cfdeb(_0x12f47b);const _0x5ee6dc=new MutationObserver(_0x22e51c=>{const _0x1e9dc7=_0x22e51c['filter'](_0x11db84=>_0x11db84['target']===_0x1eba53&&_0x11db84['addedNodes']['length']>0x0&&_0x11db84['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x244ce2);_0x1e9dc7['length']&&(_0x5ee6dc['disconnect'](),_0x1cfdeb(_0x1e9dc7[0x0]['addedNodes'][0x0]));});_0x5ee6dc['observe'](_0x1eba53,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0xb232ee){_0xb232ee['addEventListener']('apply',_0x374c9b=>{this['fire']('apply',{'imageSrc':_0x374c9b['detail']['cdnUrl']});}),_0xb232ee['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class E extends/* #__PURE__ -- @preserve */
25
- _0x2ca4d6(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0xcf4498,_0x27c799,_0x4c7080){super(),this['_editor']=_0xcf4498,this['_dialog']=_0x27c799,this['_imageElement']=_0x4c7080,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 _0xa9b038=this['_imageElement'],_0x57d156=_0xa9b038['getAttribute']('uploadcareImageId'),_0x3cc4cd=_0xa9b038['getAttribute']('src');if(_0x57d156)await this['_loadImageInfo'](_0x57d156,_0x3cc4cd);else{if(this['_imageCache']['has'](_0x3cc4cd)){const _0xefe186=this['_imageCache']['get'](_0x3cc4cd);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0xefe186['url'],this['imageDimension']=_0xefe186['dimension'],this['imageId']=_0xefe186['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x37d4fd}=this['_editor'],t=_0x37d4fd['t'],_0x5df8c3=new X(_0x37d4fd,this['imageStatus'],this['_attributes']);_0x5df8c3['bind']('status')['to'](this,'imageStatus'),_0x5df8c3['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x5df8c3['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x5df8c3['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x5df8c3,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x59d083,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x5df8c3,'position':_0x2922bc['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x5df8c3['focus']();},'onHide':()=>{_0x5df8c3['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x3c8a67=>!M(_0x3c8a67,_0x5df8c3['element'])}});}['_loadImageInfo'](_0x39b975,_0x14f054){return j['getInfo'](_0x39b975,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x1304e2=>{const {width:_0x68a073,height:_0x5b5d97}=_0x1304e2['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x14f054,this['imageDimension']={'width':_0x68a073,'height':_0x5b5d97},this['imageId']=_0x39b975;})['catch'](_0x2de814=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x2de814['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x4076fc,_0x9c54dc){return this['_getImageAsFile'](_0x4076fc)['then'](_0x5b9bc3=>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':_0x9c54dc['signal'],'file':_0x5b9bc3,'onProgress':_0x115862=>{_0x115862&&_0x115862['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x115862['value']));}}))['then'](_0x13be87=>{const {width:_0x19c9a0,height:_0x4a3782}=_0x13be87['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x13be87['cdnUrl'],this['imageDimension']={'width':_0x19c9a0,'height':_0x4a3782},this['imageId']=_0x13be87['uuid'],this['imageUploadProgress']=null;const _0x4f29e4=_0x4076fc['getAttribute']('src');this['_imageCache']['set'](_0x4f29e4,{'id':_0x13be87['uuid'],'url':_0x13be87['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x18d6c3=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x18d6c3['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x5d0e58,_0x4cf979){_0x5d0e58['on']('apply',(_0x4e348a,_0x595d13)=>{this['_replaceImage'](_0x4cf979,_0x595d13['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x5d0e58['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x5d0e58['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0xbbe3c2,_0x154847,_0x94a5d0){const _0x5abf38=this['_editor'],{width:_0x19f746,height:_0x394b91}=F(_0x154847,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x332a5b,imageSources:_0x4f356d}=C(_0x154847,_0x19f746);_0x5abf38['model']['change'](_0x197d72=>{if('$graveyard'===_0xbbe3c2['root']['rootName']){_0x5abf38['execute']('insertImage',{'imageType':_0xbbe3c2['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0xbbe3c2['getAttributes']()),'uploadcareImageId':_0x94a5d0,'src':_0x332a5b,'sources':_0x4f356d,'width':_0x19f746,'height':_0x394b91}});const _0x172de6=_0xbbe3c2['getChildren']();_0xbbe3c2=_0x5abf38['model']['document']['selection']['getSelectedElement']();for(const _0x5a1476 of _0x172de6)_0x197d72['append'](_0x197d72['cloneElement'](_0x5a1476),_0xbbe3c2);}else _0x197d72['setSelection'](_0xbbe3c2,'on'),_0x5abf38['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0xbbe3c2['getAttributes']()),'uploadcareImageId':_0x94a5d0,'src':_0x332a5b,'sources':_0x4f356d,'width':_0x19f746,'height':_0x394b91},_0xbbe3c2);_0x197d72['setSelection'](_0xbbe3c2,'on');});}async['_getImageAsFile'](_0x205b64){const _0x5ee96c=_0x236e47['window'],_0x8beb5a=_0x236e47['document']['location']['href'],_0x4eecec=new _0x5ee96c['URL'](_0x205b64['getAttribute']('src'),_0x8beb5a);if('data:'===_0x4eecec['protocol']){const _0x15ab8f=_0x4eecec['href']['split'](','),_0x808a9b=_0x15ab8f[0x0]['match'](/:(.*?);/)[0x1],_0x3d6455=_0x808a9b['split']('/')[0x1],_0x72b1ee=_0x5ee96c['atob'](_0x15ab8f[_0x15ab8f['length']-0x1]);let _0x5717e0=_0x72b1ee['length'];const _0x5d0269=new _0x5ee96c['Uint8Array'](_0x5717e0);for(;_0x5717e0--;)_0x5d0269[_0x5717e0]=_0x72b1ee['charCodeAt'](_0x5717e0);return new _0x5ee96c['File']([_0x5d0269],'image.'+_0x3d6455,{'type':_0x808a9b});}const _0x5d6b4f=_0x4eecec['href']['split']('/'),_0x1c724a=_0x5d6b4f[_0x5d6b4f['length']-0x1],_0x296285=_0x1c724a['split']('.')[0x1];return _0x5ee96c['fetch'](_0x4eecec['href'])['then'](_0x521e56=>_0x521e56['clone']()['blob']())['then'](_0x3e4263=>new _0x5ee96c['File']([_0x3e4263],_0x1c724a,{'type':'image/'+_0x296285}));}}class N extends _0xd16021{['imageEditController'];static get['requires'](){return[_0x34b959];}['_isEditable'];constructor(_0x1a2f82){super(_0x1a2f82),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x3ac4c2){const _0x10b668=R(_0x3ac4c2);return _0x5ed33c=>!(!_0x5ed33c||!_0x5ed33c['is']('element','imageBlock')&&!_0x5ed33c['is']('element','imageInline'))&&(!!_0x5ed33c['hasAttribute']('uploadcareImageId')||!!_0x5ed33c['hasAttribute']('src')&&_0x10b668(_0x5ed33c['getAttribute']('src')));}(_0x1a2f82['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x598e5d=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x598e5d);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0xe3a634=this['editor']['model']['document']['selection']['getSelectedElement']();_0xe3a634&&(_0xe3a634['is']('element','imageBlock')||_0xe3a634['is']('element','imageInline'))&&(this['imageEditController']=new E(this['editor'],this['editor']['plugins']['get'](_0x34b959),_0xe3a634),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class O extends _0xd16021{['refresh'](){const _0x1275de=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x1275de&&(_0x1275de['is']('element','imageBlock')||_0x1275de['is']('element','imageInline')));}['execute'](_0x49cf06){const _0x1048b7=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x451a1e=>{_0x451a1e['setAttributes'](_0x49cf06,_0x1048b7),_0x451a1e['removeAttribute']('srcset',_0x1048b7),_0x451a1e['removeAttribute']('sizes',_0x1048b7);});}}class m extends _0x2e76a1{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[o,_0x3d68e7,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x111639}=this;_0x111639['commands']['add']('uploadcareImageEdit',new N(_0x111639)),_0x111639['commands']['add']('uploadcareImageReplace',new O(_0x111639));}}class g extends _0x2e76a1{['_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 _0x2d57d5=this['editor'];_0x2d57d5['ui']['componentFactory']['add']('uploadcareImageEdit',_0x6cf02a=>{const _0x2570d2=_0x2d57d5['commands']['get']('uploadcareImageEdit'),_0x2c16ae=new _0x1f3200(_0x6cf02a),t=_0x6cf02a['t'];return _0x2c16ae['set']({'icon':_0x59d083,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x2c16ae['bind']('isEnabled')['to'](_0x2570d2),_0x2c16ae['bind']('isOn')['to'](_0x2570d2,'isActive'),this['listenTo'](_0x2c16ae,'execute',()=>{_0x2d57d5['execute']('uploadcareImageEdit'),_0x2d57d5['editing']['view']['focus']();}),_0x2c16ae;}),this['_initConfig']();}['_initConfig'](){const _0x53f308=_0x54cee4(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x53f308),this['listenTo'](this['editor'],'destroy',()=>{_0x53f308['remove']();});}}class et extends _0x2e76a1{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,N as UploadcareImageEditCommand,m as UploadcareImageEditEditing,g as UploadcareImageEditUI,e as UploadcareUI,f as UploadcareUploadAdapter};
23
+ import{Plugin as _0x3ac33e,Command as _0x3281c4}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x5410d0,IconGooglePhotos as _0x21984b,IconGoogleDrive as _0x54ea49,IconFacebook as _0x2a16c2,IconDropbox as _0x37dc81,IconUploadcareLink as _0x486586,IconUploadcareImageUpload as _0x36cad0,IconError as _0x25d7dc,IconUploadcareImageEdit as _0x58fdf5}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x39d78b,MenuBarMenuListItemButtonView as _0x5a68b7,View as _0x412165,FocusCycler as _0x8e0b2b,Dialog as _0x43ac6f,DialogViewPosition as _0x1e7efe,SpinnerView as _0x5790c3,IconView as _0x4bd7fe,Notification as _0x366049}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x5a1bf6,DomEmitterMixin as _0x3d4e75,global as _0x5c70e3,getAncestors as _0x369572,ObservableMixin as _0x23aac7,uid as _0x1ca439,createElement as _0x105d29}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x4035f1}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x35c45f,info as _0x457450}from'@uploadcare/upload-client';import*as _0x450dc5 from'@uploadcare/file-uploader';var i=function(_0x1eb5ca){return _0x1eb5ca['Local']='local',_0x1eb5ca['URL']='url',_0x1eb5ca['Dropbox']='dropbox',_0x1eb5ca['GDrive']='gdrive',_0x1eb5ca['Facebook']='facebook',_0x1eb5ca['GPhotos']='gphotos',_0x1eb5ca['OneDrive']='onedrive',_0x1eb5ca;}({});function _(_0x16ccef,_0x1f57fb,_0x31873b){const t=_0x16ccef['t'],_0x22f79b=_0x16ccef['t'];switch(_0x1f57fb){case i['Local']:return{'text':_0x22f79b('Insert'===_0x31873b?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x22f79b('From\x20computer')};case i['URL']:return{'text':'Insert'===_0x31873b?_0x22f79b('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x22f79b('Via\x20URL')};case i['Dropbox']:return{'text':t('Insert'===_0x31873b?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case i['Facebook']:return{'text':t('Insert'===_0x31873b?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case i['GDrive']:return{'text':t('Insert'===_0x31873b?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case i['GPhotos']:return{'text':t('Insert'===_0x31873b?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case i['OneDrive']:return{'text':t('Insert'===_0x31873b?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x1f57fb;}}class e extends _0x3ac33e{['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 _0x397dd3=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x2785f5;for(const _0x59ffff in _0x397dd3){const _0x67398=_0x59ffff,_0x5e755a=_0x397dd3[_0x67398];if('uploadcareLicenseKeyValid'==_0x5e755a||'uploadcareLicenseKeyInvalid'==_0x5e755a||'uploadcareLicenseKeyExpired'==_0x5e755a||'uploadcareLicenseKeyDomainLimit'==_0x5e755a||'uploadcareLicenseKeyNotAllowed'==_0x5e755a||'uploadcareLicenseKeyEvaluationLimit'==_0x5e755a||'uploadcareLicenseKeyTrialLimit'==_0x5e755a||'uploadcareLicenseKeyUsageLimit'==_0x5e755a){delete _0x397dd3[_0x67398],_0x2785f5=_0x5e755a,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x2785f5&&_0x397dd3['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x2785f5&&_0x397dd3['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x2785f5&&_0x397dd3['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x2785f5&&_0x397dd3['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x2785f5&&_0x397dd3['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0x2785f5&&_0x397dd3['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0x2785f5&&_0x397dd3['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x6f3f6c}=this,_0xbb747e=_0x6f3f6c['commands']['get']('uploadcare');if(!_0xbb747e)return;const _0x356ac2=this['_normalizeConfigSourceList'](_0x6f3f6c['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x561353,_0x5abf10)=>{const _0xb972=this['_getIntegrationKey'](_0x5abf10['type']);return _0x561353[_0xb972]||(_0x561353[_0xb972]=[]),_0x561353[_0xb972]['push'](_0x5abf10),_0x561353;},{});_0x6f3f6c['plugins']['has']('ImageInsertUI')&&_0x6f3f6c['commands']['get']('uploadcare')&&Object['entries'](_0x356ac2)['forEach'](([_0x1d3689,_0xe4f2b9])=>{_0x6f3f6c['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x1d3689,'observable':()=>_0xbb747e,'buttonViewCreator':()=>this['_createToolbarButton'](_0xe4f2b9),'formViewCreator':()=>this['_createDropdownButtons'](_0xe4f2b9),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0xe4f2b9),'override':'assetManager'!==_0x1d3689});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x52700a){const {locale:_0x25b0d7}=this['editor'];return _0x52700a['map'](_0xd7d6ac=>{const _0x263e8d=_(_0x25b0d7,_0xd7d6ac,'Insert');switch(_0xd7d6ac){case i['Local']:return{'icon':_0x36cad0,'type':i['Local'],..._0x263e8d};case i['URL']:return{'icon':_0x486586,'type':i['URL'],..._0x263e8d};case i['Dropbox']:return{'icon':_0x37dc81,'type':i['Dropbox'],..._0x263e8d};case i['Facebook']:return{'icon':_0x2a16c2,'type':i['Facebook'],..._0x263e8d};case i['GDrive']:return{'icon':_0x54ea49,'type':i['GDrive'],..._0x263e8d};case i['GPhotos']:return{'icon':_0x21984b,'type':i['GPhotos'],..._0x263e8d};case i['OneDrive']:return{'icon':_0x5410d0,'type':i['OneDrive'],..._0x263e8d};}});}['_getIntegrationKey'](_0x1242f0){switch(_0x1242f0){case i['Local']:return'upload';case i['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x6c131c,_0x4e9b4a){const _0x3d8fd=this['editor'],_0x13e111=new _0x6c131c(_0x3d8fd['locale']),_0x4567a9=_0x3d8fd['commands']['get']('uploadcare');return _0x13e111['bind']('isEnabled')['to'](_0x4567a9),_0x13e111['on']('execute',()=>{_0x4567a9['execute'](_0x4e9b4a);}),_0x13e111;}['_createToolbarButton'](_0x51edc){const {locale:_0x46c0a3}=this['editor'],_0x32e932=this['editor']['plugins']['get']('ImageInsertUI'),_0x4fc57f=_0x51edc[0x0],_0x29bc9f=this['_createButton'](_0x39d78b,_0x4fc57f['type']);return _0x29bc9f['icon']=_0x4fc57f['icon'],_0x29bc9f['bind']('label')['to'](_0x32e932,'isImageSelected',_0x2264ac=>_(_0x46c0a3,_0x4fc57f['type'],_0x2264ac?'Replace':'Insert')['text']),_0x29bc9f['tooltip']=!0x0,_0x29bc9f;}['_createDropdownButtons'](_0x5e75bb){const {locale:_0x59a082}=this['editor'],_0x57aeb4=this['editor']['plugins']['get']('ImageInsertUI');return _0x5e75bb['map'](_0x43b30c=>{const _0x2e844d=this['_createButton'](_0x39d78b,_0x43b30c['type']);return _0x2e844d['withText']=!0x0,_0x2e844d['icon']=_0x43b30c['icon'],_0x2e844d['bind']('label')['to'](_0x57aeb4,'isImageSelected',_0x203c2d=>_(_0x59a082,_0x43b30c['type'],_0x203c2d?'Replace':'Insert')['text']),_0x2e844d;});}['_createMenuBarButtons'](_0x3520c4){return _0x3520c4['map'](_0x13611b=>{const _0x4f9a38=this['_createButton'](_0x5a68b7,_0x13611b['type']);return _0x4f9a38['icon']=_0x13611b['icon'],_0x4f9a38['label']=_0x13611b['shortText'],_0x4f9a38;});}}class V extends _0x412165{['focusTracker'];['focusCycler'];constructor(_0x39f91a){super(_0x39f91a),this['focusTracker']=new _0x5a1bf6(),this['focusCycler']=new _0x8e0b2b({'focusables':this['createCollection'](),'focusTracker':this['focusTracker']});}['getFocusableElement'](){return{'tag':'div','attributes':{'aria-hidden':'true','tabindex':'0'},'on':{'focus':this['bindTemplate']['to'](()=>{this['focusCycler']['fire']('forwardCycle');})}};}}class S extends V{constructor(_0xc1a463,_0x391ed5){super(_0xc1a463),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-'+_0x391ed5}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function C(_0xaa1050,_0x5cefd1){const _0x4cde30=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x32d090=>_0x32d090<=_0x5cefd1)['map'](_0x4a475f=>_0xaa1050['replace'](/\/$/,'')+'/-/resize/'+_0x4a475f+'x/\x20'+_0x4a475f+'w');return{'imageFallbackUrl':_0xaa1050,'imageSources':[{'srcset':_0x4cde30['join'](',\x20'),'sizes':'(max-width:\x20'+_0x5cefd1+'px)\x20100vw,\x20'+_0x5cefd1+'px','type':'image/webp'}]};}function F(_0xccce5f,_0x12abd4,_0x4bfffc){const _0x12e063=_0xccce5f['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x12e063?parseInt(_0x12e063[0x1],0xa):_0x12abd4,'height':_0x12e063?parseInt(_0x12e063[0x2],0xa):_0x4bfffc};}function p(_0x1911a9,_0x1939c5){const _0x1f713=new(_0x3d4e75())(),_0x40e118=_0x1911a9['plugins']['get']('ImageUtils'),_0x21ccbd=_0x1911a9['editing']['mapper']['toViewElement'](_0x1939c5),_0x50af73=_0x40e118['findViewImgElement'](_0x21ccbd),_0x289895=_0x1911a9['editing']['view']['domConverter']['viewToDom'](_0x50af73),_0x71f10e=_0x1939c5['getAttribute']('width'),_0x266aaf=_0x1939c5['getAttribute']('height'),_0x564e36='image-processing';_0x1911a9['editing']['view']['change'](_0x47987f=>{_0x47987f['addClass'](_0x564e36,_0x21ccbd),_0x47987f['setStyle']('aspect-ratio',_0x71f10e+'/'+_0x266aaf,_0x50af73);}),_0x1f713['listenTo'](_0x289895,'load',()=>{_0x1f713['stopListening'](_0x289895,'load'),_0x1911a9['editing']['view']['change'](_0x56253f=>{_0x56253f['removeClass'](_0x564e36,_0x21ccbd),_0x56253f['removeStyle']('aspect-ratio',_0x50af73);});});}function R(_0x2b262c){if(Array['isArray'](_0x2b262c)){const _0x250f3c=_0x2b262c['map'](R);return _0x17cc10=>_0x250f3c['some'](_0x19aff7=>_0x19aff7(_0x17cc10));}if('origin'==_0x2b262c){const _0x38d764=_0x5c70e3['window']['location']['origin'];return _0x22481c=>new URL(_0x22481c,_0x5c70e3['document']['baseURI'])['origin']==_0x38d764;}return'function'==typeof _0x2b262c?_0x2b262c:_0x2b262c instanceof RegExp?_0x45bb52=>!(!_0x45bb52['match'](_0x2b262c)&&!_0x45bb52['replace'](/^https?:\/\//,'')['match'](_0x2b262c)):()=>!0x1;}function M(_0x53a721,_0x166ffa){return _0x369572(_0x53a721['target'])['includes'](_0x166ffa);}class n extends/* #__PURE__ -- @preserve */
24
+ _0x23aac7(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0xceed84,_0x479a73,_0x52d2fd){super(),this['_editor']=_0xceed84,this['_editing']=_0x479a73,this['_dialog']=_0xceed84['plugins']['get'](_0x43ac6f),this['_api']=_0x479a73['ctxElement']['getAPI'](),this['_type']=_0x52d2fd,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:_0x2b4eb3,model:_0x509844}=this['_editor'],_0x5dd2a2=_0x509844['document']['selection']['getSelectedElement'](),_0x471d33=_0x5dd2a2&&(_0x5dd2a2['is']('element','imageBlock')||_0x5dd2a2['is']('element','imageInline'));this['_formView']=new S(_0x2b4eb3,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':_0x36cad0,'title':_(_0x2b4eb3,this['_type'],_0x471d33?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x1e7efe['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x48872f=>!M(_0x48872f,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x11cd1b}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x27a198=>{const _0x138d5a=_0x11cd1b['length'];for(const _0x4a836d of _0x11cd1b){const _0x541539=_0x4a836d===_0x11cd1b[_0x138d5a-0x1],{cdnUrl:_0x4046b5,fileInfo:_0x22d141}=_0x4a836d;if(!_0x4046b5||!_0x22d141)continue;const {width:_0x49dcb0,height:_0x397886}=_0x22d141['imageInfo'],_0x49ef5f=F(_0x4046b5,_0x49dcb0,_0x397886),_0x46c189=C(_0x4046b5,_0x49ef5f['width']),_0x1d0d35={'id':_0x22d141['uuid'],'type':'image','attributes':{'imageDimension':_0x49ef5f,..._0x46c189}};this['_insertAsset'](_0x1d0d35,_0x541539,_0x27a198);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x1fce14=>{'idle'===_0x1fce14['detail']['status']&&!_0x1fce14['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===i['Local']?this['_api']['setCurrentActivity'](i['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x3ba58a,_0x2469a4,_0x7f2d1a){const _0x429b35=this['_editor']['model']['document']['selection'],_0x3f193a=_0x429b35['getSelectedElement'](),_0x3389c4=!(!_0x3f193a||!_0x3f193a['is']('element','imageInline'));_0x7f2d1a['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x3ba58a,_0x3389c4),_0x2469a4||_0x7f2d1a['setSelection'](_0x429b35['getLastPosition']());}['_insertImage'](_0x10e5b1,_0xa22e52){const _0x14ae00=this['_editor'],{imageDimension:_0x50cb0c,imageFallbackUrl:_0x563a55,imageSources:_0x4c9b37}=_0x10e5b1['attributes'];_0x14ae00['execute']('insertImage',{'imageType':_0xa22e52?'imageInline':null,'source':{'uploadcareImageId':_0x10e5b1['id'],'src':_0x563a55,'sources':_0x4c9b37,..._0x50cb0c}});}}class w extends _0x3281c4{['_editing'];['_controller']=null;static get['requires'](){return[_0x43ac6f,o];}constructor(_0x1cbbdf){super(_0x1cbbdf),this['_editing']=_0x1cbbdf['plugins']['get'](o);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x32ab6e){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new n(this['editor'],this['_editing'],_0x32ab6e);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class j{static['upload']({file:_0x5a6e6b,..._0x3f1436}){return _0x35c45f(_0x5a6e6b,_0x3f1436);}static['getInfo'](_0x4d5750,_0x45f9c9){return _0x457450(_0x4d5750,_0x45f9c9);}}class f extends _0x3ac33e{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x4035f1,o];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x581c56=this['editor'];if(!!!_0x581c56['config']['get']('uploadcare'))return;_0x581c56['plugins']['get'](_0x4035f1)['createUploadAdapter']=_0x10710e=>new k(_0x10710e,_0x581c56),_0x581c56['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x165fdf,{imageElement:_0x32ea6b,data:_0x4d79a1})=>{_0x581c56['model']['change'](_0x3af9e9=>{_0x3af9e9['setAttribute']('uploadcareImageId',_0x4d79a1['uploadcareImageId'],_0x32ea6b);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x34bf59,_0x23a880){this['loader']=_0x34bf59,this['editor']=_0x23a880,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x5c6bbe=await this['loader']['file'];return j['upload']({'file':_0x5c6bbe,'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':_0x26d80e=>{_0x26d80e&&_0x26d80e['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x26d80e['value']);}})['then'](async _0x1f4c98=>{const {imageFallbackUrl:_0x15e4d7,imageSources:_0x595835}=C(_0x1f4c98['cdnUrl'],_0x1f4c98['imageInfo']['width']);return{'uploadcareImageId':_0x1f4c98['uuid'],'default':_0x15e4d7,'sources':_0x595835};})['catch'](()=>{const _0x4bef19=t('Cannot\x20upload\x20file:')+('\x20'+_0x5c6bbe['name']+'.');return Promise['reject'](_0x4bef19);});}['abort'](){this['controller']['abort']();}}class o extends _0x3ac33e{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',f,_0x43ac6f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['ucContextId'];get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}constructor(_0x27c237){super(_0x27c237),this['ucContextId']=_0x1ca439();}['init'](){const _0x2c53bd=this['editor'];_0x2c53bd['commands']['add']('uploadcare',new w(_0x2c53bd));}['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 _0x374467=_0x5c70e3['document']['querySelector']('input[uploadcare-file-input]');_0x374467&&_0x374467['remove']();}),async function(_0x888af){const _0x29cf3d=_0x5b2588([0x68,0x67,0x50,0x36,0x38,0x70,0x71,0x63,0x37,0x4f,0x42,0x4a,0x78,0x39,0x75,0x33,0x7a,0x72,0x48,0x61,0x74,0x59,0x55,0x58,0x66,0x30,0x34,0x54,0x64,0x56,0x6b,0x4d,0x46,0x6d,0x77,0x43,0x73,0x35,0x53,0x44,0x41,0x76,0x6a,0x32,0x31,0x69,0x57,0x51,0x47,0x65,0x5a,0x4b,0x4c,0x79,0x52,0x6c,0x45,0x4e,0x6e,0x6f,0x49,0x62]),_0x4f0509=0x535f8c3a,_0x1c2e3c=0x5358f41a^_0x4f0509,_0x3ce3a2=window[_0x5b2588([0x44,0x61,0x74,0x65])][_0x5b2588([0x6e,0x6f,0x77])](),_0x2d09aa=_0x888af[_0x5b2588([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x5000fc=new window[(_0x5b2588([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x20a195=>{_0x2d09aa[_0x5b2588([0x6f,0x6e,0x63,0x65])](_0x5b2588([0x72,0x65,0x61,0x64,0x79]),_0x20a195);}),_0x3b9c09={[_0x5b2588([0x6b,0x74,0x79])]:_0x5b2588([0x45,0x43]),[_0x5b2588([0x75,0x73,0x65])]:_0x5b2588([0x73,0x69,0x67]),[_0x5b2588([0x63,0x72,0x76])]:_0x5b2588([0x50,0x2d,0x32,0x35,0x36]),[_0x5b2588([0x78])]:_0x5b2588([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]),[_0x5b2588([0x79])]:_0x5b2588([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]),[_0x5b2588([0x61,0x6c,0x67])]:_0x5b2588([0x45,0x53,0x32,0x35,0x36])},_0x11626e=_0x2d09aa[_0x5b2588([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x5b2588([0x67,0x65,0x74])](_0x5b2588([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x529ec8(){let _0x293dc2,_0x29791b=null,_0x18597a=null;try{if(_0x11626e==_0x5b2588([0x47,0x50,0x4c]))return _0x5b2588([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x293dc2=_0x5a13f7(),!_0x293dc2)return _0x5b2588([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x293dc2[_0x5b2588([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x18597a=_0x3b8dbc(_0x293dc2[_0x5b2588([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x293dc2[_0x5b2588([0x6a,0x74,0x69])])),await _0x26608e()?_0x40fdec()?_0x4af43c()?_0x5b2588([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1a7ac1()?(_0x293dc2[_0x5b2588([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5b2588([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x29791b=_0x43ec08(_0x5b2588([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x293dc2[_0x5b2588([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5b2588([0x74,0x72,0x69,0x61,0x6c])&&(_0x29791b=_0x43ec08(_0x5b2588([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x1eda25()):_0x5b2588([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x5b2588([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x5b2588([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x5b2588([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x4af43c(){const _0x43c278=[_0x5b2588([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x5b2588([0x74,0x72,0x69,0x61,0x6c])][_0x5b2588([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x293dc2[_0x5b2588([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3ce3a2/0x3e8:0xe10*_0x1c2e3c;return _0x293dc2[_0x5b2588([0x65,0x78,0x70])]<_0x43c278;}function _0x40fdec(){const _0x134320=_0x293dc2[_0x5b2588([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x134320&&(!!_0x134320[_0x5b2588([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5b2588([0x2a]))||!!_0x134320[_0x5b2588([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5b2588([0x55,0x50,0x4c,0x43])));}function _0x1a7ac1(){const _0x302527=_0x293dc2[_0x5b2588([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x302527||0x0==_0x302527[_0x5b2588([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3f00d9}=new URL(window[_0x5b2588([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x302527[_0x5b2588([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3f00d9))return!0x0;const _0x3955ca=_0x3f00d9[_0x5b2588([0x73,0x70,0x6c,0x69,0x74])](_0x5b2588([0x2e]));return _0x302527[_0x5b2588([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x398363=>_0x398363[_0x5b2588([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5b2588([0x2a])))[_0x5b2588([0x6d,0x61,0x70])](_0x72a4f0=>_0x72a4f0[_0x5b2588([0x73,0x70,0x6c,0x69,0x74])](_0x5b2588([0x2e])))[_0x5b2588([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xc762e7=>_0xc762e7[_0x5b2588([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x3955ca[_0x5b2588([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5b2588([0x6d,0x61,0x70])](_0x497811=>Array(_0x3955ca[_0x5b2588([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x497811[_0x5b2588([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5b2588([0x66,0x69,0x6c,0x6c])](_0x497811[0x0]===_0x5b2588([0x2a])?_0x5b2588([0x2a]):'')[_0x5b2588([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x497811))[_0x5b2588([0x73,0x6f,0x6d,0x65])](_0x333342=>_0x3955ca[_0x5b2588([0x65,0x76,0x65,0x72,0x79])]((_0x260198,_0x3b09a0)=>_0x333342[_0x3b09a0]===_0x260198||_0x333342[_0x3b09a0]===_0x5b2588([0x2a])));}function _0x1eda25(){return _0x29791b&&_0x18597a?new window[(_0x5b2588([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4c6d19,_0x3b6ae4)=>{_0x29791b[_0x5b2588([0x74,0x68,0x65,0x6e])](_0x4c6d19,_0x3b6ae4),_0x18597a[_0x5b2588([0x74,0x68,0x65,0x6e])](_0x388dce=>{_0x388dce!=_0x5b2588([0x56,0x61,0x6c,0x69,0x64])&&_0x4c6d19(_0x388dce);},_0x3b6ae4);}):_0x29791b||_0x18597a||_0x5b2588([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3b8dbc(_0x32d649,_0xe5eec8){return new window[(_0x5b2588([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x10926a=>{if(_0x22b244())return _0x10926a(_0x5b2588([0x56,0x61,0x6c,0x69,0x64]));_0x2dceb2(),_0x2d09aa[_0x5b2588([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x5b2588([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x58673a=!0x1;const _0x4a7e3c=_0x1ca439();function _0x175a70(_0x1d6bdc){return!!_0x1d6bdc&&(typeof _0x1d6bdc===_0x5b2588([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1d6bdc===_0x5b2588([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1d6bdc[_0x5b2588([0x74,0x68,0x65,0x6e])]===_0x5b2588([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1d6bdc[_0x5b2588([0x63,0x61,0x74,0x63,0x68])]===_0x5b2588([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0xbf216e(_0x284a53){_0x59c7a3(_0x284a53)[_0x5b2588([0x74,0x68,0x65,0x6e])](_0x5e594b=>{if(!_0x5e594b||_0x5e594b[_0x5b2588([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x5b2588([0x6f,0x6b]))return _0x5b2588([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x34fd65(_0x449235(_0x4a7e3c+_0xe5eec8))!=_0x5e594b[_0x5b2588([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x5b2588([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x5b2588([0x56,0x61,0x6c,0x69,0x64]);})[_0x5b2588([0x74,0x68,0x65,0x6e])](_0x3edd2d=>(_0x2e0dbd(),_0x3edd2d),()=>{const _0x43714e=_0x457ea2();return null==_0x43714e?(_0x2e0dbd(),_0x5b2588([0x56,0x61,0x6c,0x69,0x64])):_0x5b2588(_0x3ce3a2-_0x43714e>(0x7753083a^_0x4f0509)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x5b2588([0x74,0x68,0x65,0x6e])](_0x10926a)[_0x5b2588([0x63,0x61,0x74,0x63,0x68])](()=>{_0x10926a(_0x5b2588([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x369d32=0x536962ba^_0x4f0509;function _0x2e0dbd(){const _0x18e677=_0x5b2588([0x6c,0x6c,0x63,0x74,0x2d])+_0x34fd65(_0x449235(_0x32d649)),_0x1787be=_0x1b0156(_0x34fd65(window[_0x5b2588([0x4d,0x61,0x74,0x68])][_0x5b2588([0x63,0x65,0x69,0x6c])](_0x3ce3a2/_0x369d32)));window[_0x5b2588([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5b2588([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x18e677,_0x1787be);}function _0x457ea2(){const _0x41f41c=_0x5b2588([0x6c,0x6c,0x63,0x74,0x2d])+_0x34fd65(_0x449235(_0x32d649)),_0x43eecd=window[_0x5b2588([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5b2588([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x41f41c);return _0x43eecd?window[_0x5b2588([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1b0156(_0x43eecd),0x10)*_0x369d32:null;}function _0x59c7a3(_0x229249){return new window[(_0x5b2588([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2ce6ec,_0x55a519)=>{_0x229249[_0x5b2588([0x74,0x68,0x65,0x6e])](_0x2ce6ec,_0x55a519),window[_0x5b2588([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x55a519,0x535e58fa^_0x4f0509);});}}_0x2d09aa[_0x5b2588([0x6f,0x6e])](_0x5b2588([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x15d7b4,_0x334d2f)=>{if(_0x334d2f[0x0]!=_0x32d649)return _0x10926a(_0x5b2588([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x334d2f[0x1]={..._0x334d2f[0x1],[_0x5b2588([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x4a7e3c};},{[_0x5b2588([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5b2588([0x68,0x69,0x67,0x68])}),_0x2d09aa[_0x5b2588([0x6f,0x6e])](_0x5b2588([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3ac69d=>{_0x175a70(_0x3ac69d[_0x5b2588([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x58673a=!0x0,_0xbf216e(_0x3ac69d[_0x5b2588([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x5b2588([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5b2588([0x6c,0x6f,0x77])}),_0x5000fc[_0x5b2588([0x74,0x68,0x65,0x6e])](()=>{_0x58673a||_0x10926a(_0x5b2588([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x22b244(){return _0x2d09aa[_0x5b2588([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5b2588([0x76,0x69,0x65,0x77])][_0x5b2588([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x5b2588([0x61,0x75,0x74,0x6f]);}function _0x2dceb2(){_0x2d09aa[_0x5b2588([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5b2588([0x76,0x69,0x65,0x77])][_0x5b2588([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x5b2588([0x61,0x75,0x74,0x6f]);}}function _0x43ec08(_0x48bcf2){const _0x172545=[new window[(_0x5b2588([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4a143a=>setTimeout(_0x4a143a,0x5356b2f6^_0x4f0509)),_0x5000fc[_0x5b2588([0x74,0x68,0x65,0x6e])](()=>new window[(_0x5b2588([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xa60d01=>{let _0x2ce121=0x0;_0x2d09aa[_0x5b2588([0x6d,0x6f,0x64,0x65,0x6c])][_0x5b2588([0x6f,0x6e])](_0x5b2588([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x54c742,_0x2fcb0e)=>{_0x2fcb0e[0x0][_0x5b2588([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2ce121++,_0x2ce121==(0x535f8dc2^_0x4f0509)&&(_0xa60d01(),_0x54c742[_0x5b2588([0x6f,0x66,0x66])]());});}))];return window[_0x5b2588([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x5b2588([0x72,0x61,0x63,0x65])](_0x172545)[_0x5b2588([0x74,0x68,0x65,0x6e])](()=>_0x48bcf2);}async function _0x56129a(){await _0x5000fc,_0x2d09aa[_0x5b2588([0x6d,0x6f,0x64,0x65,0x6c])][_0x5b2588([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x47a379,_0x2d09aa[_0x5b2588([0x6d,0x6f,0x64,0x65,0x6c])][_0x5b2588([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x47a379,_0x2d09aa[_0x5b2588([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5b2588([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x636279(_0x1044c6){const _0x24841a=_0x45069e();_0x2d09aa[_0x24841a]=_0x5b2588([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x1044c6,_0x1044c6!=_0x5b2588([0x56,0x61,0x6c,0x69,0x64])&&_0x56129a();}function _0x45069e(){const _0x524262=window[_0x5b2588([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x5b2588([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5b2588([0x6e,0x6f,0x77])]())[_0x5b2588([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5b2588([0x2e]),'');let _0x37aecd=_0x5b2588([0x68]);for(let _0x6f443d=0x0;_0x6f443d<_0x524262[_0x5b2588([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x6f443d+=0x2){let _0x4c18ed=window[_0x5b2588([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x524262[_0x5b2588([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x6f443d,_0x6f443d+0x2));_0x4c18ed>=_0x29cf3d[_0x5b2588([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4c18ed-=_0x29cf3d[_0x5b2588([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x37aecd+=_0x29cf3d[_0x4c18ed];}return _0x37aecd;}function _0x5a13f7(){const _0x3639f4=_0x11626e[_0x5b2588([0x73,0x70,0x6c,0x69,0x74])](_0x5b2588([0x2e]));if(0x3!=_0x3639f4[_0x5b2588([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x898a6f(_0x3639f4[0x1]);function _0x898a6f(_0x4e9176){const _0x4c4420=_0x125cc0(_0x4e9176);return _0x4c4420&&_0x36b6c4()?_0x4c4420:null;function _0x36b6c4(){const _0x3c33d2=_0x4c4420[_0x5b2588([0x6a,0x74,0x69])],_0x451fa0=window[_0x5b2588([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3c33d2[_0x5b2588([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3c33d2[_0x5b2588([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x3d0885={..._0x4c4420,[_0x5b2588([0x6a,0x74,0x69])]:_0x3c33d2[_0x5b2588([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3c33d2[_0x5b2588([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x3d0885[_0x5b2588([0x76,0x63])],_0x449235(_0x3d0885)==_0x451fa0;}}}async function _0x26608e(){let _0x212283=!0x0;try{const _0x2e6ff6=_0x11626e[_0x5b2588([0x73,0x70,0x6c,0x69,0x74])](_0x5b2588([0x2e])),[_0x570d25,_0x58d7a3,_0x194947]=_0x2e6ff6;return _0x880e09(_0x570d25),await _0x200caa(_0x570d25,_0x58d7a3,_0x194947),_0x212283;}catch{return!0x1;}function _0x880e09(_0x3c9caf){const _0x37829b=_0x125cc0(_0x3c9caf);_0x37829b&&_0x37829b[_0x5b2588([0x61,0x6c,0x67])]==_0x5b2588([0x45,0x53,0x32,0x35,0x36])||(_0x212283=!0x1);}async function _0x200caa(_0x201138,_0x1befad,_0x2fd658){const _0x1cfad7=window[_0x5b2588([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x5b2588([0x66,0x72,0x6f,0x6d])](_0x4cc00b(_0x2fd658),_0x401d9d=>_0x401d9d[_0x5b2588([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x130a64=new window[(_0x5b2588([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x5b2588([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x201138+_0x5b2588([0x2e])+_0x1befad),_0x414753=window[_0x5b2588([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x5b2588([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x414753)return;const _0x22eac7=await _0x414753[_0x5b2588([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x5b2588([0x6a,0x77,0x6b]),_0x3b9c09,{[_0x5b2588([0x6e,0x61,0x6d,0x65])]:_0x5b2588([0x45,0x43,0x44,0x53,0x41]),[_0x5b2588([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x5b2588([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x5b2588([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x414753[_0x5b2588([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x5b2588([0x6e,0x61,0x6d,0x65])]:_0x5b2588([0x45,0x43,0x44,0x53,0x41]),[_0x5b2588([0x68,0x61,0x73,0x68])]:{[_0x5b2588([0x6e,0x61,0x6d,0x65])]:_0x5b2588([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x22eac7,_0x1cfad7,_0x130a64)||(_0x212283=!0x1);}}function _0x125cc0(_0x49bb4c){return _0x49bb4c[_0x5b2588([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x5b2588([0x65,0x79]))?JSON[_0x5b2588([0x70,0x61,0x72,0x73,0x65])](_0x4cc00b(_0x49bb4c)):null;}function _0x4cc00b(_0x21a3b4){return window[_0x5b2588([0x61,0x74,0x6f,0x62])](_0x21a3b4[_0x5b2588([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x5b2588([0x2b]))[_0x5b2588([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x5b2588([0x2f])));}function _0x449235(_0x1dcfdd){let _0x224b5a=0x1505;function _0x3d8ae4(_0x45d806){for(let _0x4b1203=0x0;_0x4b1203<_0x45d806[_0x5b2588([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4b1203++){const _0xa3e29f=_0x45d806[_0x5b2588([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4b1203);_0x224b5a=(_0x224b5a<<0x5)+_0x224b5a+_0xa3e29f,_0x224b5a&=_0x224b5a;}}function _0x5c49bd(_0x2d2f91){Array[_0x5b2588([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2d2f91)?_0x2d2f91[_0x5b2588([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5c49bd):_0x2d2f91&&typeof _0x2d2f91==_0x5b2588([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x5b2588([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2d2f91)[_0x5b2588([0x73,0x6f,0x72,0x74])]()[_0x5b2588([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x28a3da,_0x1ed2ef])=>{_0x3d8ae4(_0x28a3da),_0x5c49bd(_0x1ed2ef);}):_0x3d8ae4(window[_0x5b2588([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2d2f91));}return _0x5c49bd(_0x1dcfdd),_0x224b5a>>>0x0;}function _0x34fd65(_0x4fb8d3){return _0x4fb8d3[_0x5b2588([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x5b2588([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x5b2588([0x30]));}function _0x1b0156(_0x53a3bf){return _0x53a3bf[_0x5b2588([0x73,0x70,0x6c,0x69,0x74])]('')[_0x5b2588([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x5b2588([0x6a,0x6f,0x69,0x6e])]('');}function _0x47a379(){}function _0x5b2588(_0x60f110){return _0x60f110['map'](_0xd86f3f=>String['fromCharCode'](_0xd86f3f))['join']('');}_0x636279(await _0x529ec8());}(this);}['_initSchema'](){const _0x4bba67=this['editor']['model']['schema'];_0x4bba67['isRegistered']('imageBlock')&&_0x4bba67['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x4bba67['isRegistered']('imageInline')&&_0x4bba67['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x297c89=this['editor'];_0x297c89['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x297c89['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x2f9d5a=>_0x2f9d5a['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x536663=_0x297c89['commands']['get']('replaceImageSource');_0x536663&&this['listenTo'](_0x536663,'cleanupImage',(_0x40393a,[_0x442381,_0x9b18f2])=>{_0x442381['removeAttribute']('uploadcareImageId',_0x9b18f2);});}['_initConfig'](){const _0x366636=this['editor']['config']['get']('uploadcare.uploader')||{},_0x30d3e7=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x105d29(_0x5c70e3['document'],'uc-config',{..._0x366636,'pubkey':_0x30d3e7,'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']=_0x45928f=>{if('closeMax'==_0x45928f)return'#uc-icon-arrow-down';},_0x5c70e3['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x105d29(_0x5c70e3['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),_0x5c70e3['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x4beb6e=this['editor']['commands']['get']('insertImage');_0x4beb6e&&this['listenTo'](_0x4beb6e,'execute',()=>{const _0x2b01b9=this['editor']['model']['document']['selection']['getSelectedElement']();_0x2b01b9&&_0x2b01b9['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x2b01b9);});});const _0x4a82ea=this['editor']['commands']['get']('uploadcareImageReplace');_0x4a82ea&&this['listenTo'](_0x4a82ea,'execute',()=>{const _0x14eb53=this['editor']['model']['document']['selection']['getSelectedElement']();_0x14eb53&&_0x14eb53['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x14eb53);});});}}class tt extends _0x3ac33e{static get['requires'](){return[o,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x5ea740){super(_0x5ea740),_0x5ea740['config']['define']('uploadcare.uploader.sourceList',[i['Local'],i['URL']]),_0x450dc5['defineComponents'](_0x450dc5),this['_defineLocale']();}['_defineLocale'](){const _0x9edf15=this['editor']['config']['get']('uploadcare.locale'),_0xc21f0=this['editor']['locale']['contentLanguage'];_0x9edf15&&_0x450dc5['defineLocale'](_0xc21f0,_0x9edf15);}}class ii extends _0x412165{constructor(_0x9184c){super(_0x9184c);const t=_0x9184c['t'],_0x4526fe=this['bindTemplate'],_0x400caa=new _0x5790c3();_0x400caa['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':[_0x400caa,{'text':_0x4526fe['to']('imageUploadProgress',_0x286fe6=>t('Loading\x20image...')+'\x20('+(_0x286fe6||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 _0x412165{constructor(_0x51492a){super(_0x51492a);const t=_0x51492a['t'];this['set']('errorType',null);const _0x53614a=new _0x39d78b(_0x51492a);_0x53614a['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x53614a['withText']=!0x0,_0x53614a['class']='ck-button-action',_0x53614a['on']('execute',()=>{this['fire']('retry');}),_0x53614a['bind']('isVisible')['to'](this,'errorType',_0x26cdf0=>'NotFound'!==_0x26cdf0);const _0x32c504=new _0x4bd7fe();_0x32c504['content']=_0x25d7dc,_0x32c504['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x4f7a9f=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':[_0x32c504,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x4f7a9f['to']('errorType',_0x22d7b8=>t('NotFound'!==_0x22d7b8?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x53614a]},{'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 _0x412165{constructor(_0x42a038,_0x3b20da){super(_0x42a038);const _0x21b1a0=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x3b20da,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x21b1a0['to']('imageSrc')}});}}class X extends V{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x5f085e,_0x195d41,_0xd0bea4){super(_0x5f085e),this['_items']=this['createCollection'](),this['_loadingView']=new ii(_0x5f085e),this['_errorView']=new ti(_0x5f085e),this['_editingView']=new ei(_0x5f085e,_0xd0bea4),this['_focusableView']=new _0x412165(_0x5f085e),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x195d41),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'],_0x123e89=>{this['_addUploadcareImageEditorListeners'](_0x123e89);});}),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'](_0x1d9292,_0x1dcae3){const _0x1735ec='uc-cloud-image-editor',_0x1045e5=_0x1d9292['querySelector'](_0x1735ec);if(_0x1045e5)return _0x1dcae3(_0x1045e5);const _0x58e8f3=new MutationObserver(_0x1dc42b=>{const _0x3e16e7=_0x1dc42b['filter'](_0x381ee2=>_0x381ee2['target']===_0x1d9292&&_0x381ee2['addedNodes']['length']>0x0&&_0x381ee2['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x1735ec);_0x3e16e7['length']&&(_0x58e8f3['disconnect'](),_0x1dcae3(_0x3e16e7[0x0]['addedNodes'][0x0]));});_0x58e8f3['observe'](_0x1d9292,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x418709){_0x418709['addEventListener']('apply',_0x54bc00=>{this['fire']('apply',{'imageSrc':_0x54bc00['detail']['cdnUrl']});}),_0x418709['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class E extends/* #__PURE__ -- @preserve */
25
+ _0x23aac7(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x490c04,_0x1b2f1f,_0x37e3e8){super(),this['_editor']=_0x490c04,this['_dialog']=_0x1b2f1f,this['_imageElement']=_0x37e3e8,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 _0x42d1a8=this['_imageElement'],_0x4a7a9e=_0x42d1a8['getAttribute']('uploadcareImageId'),_0x469d64=_0x42d1a8['getAttribute']('src');if(_0x4a7a9e)await this['_loadImageInfo'](_0x4a7a9e,_0x469d64);else{if(this['_imageCache']['has'](_0x469d64)){const _0x39261d=this['_imageCache']['get'](_0x469d64);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x39261d['url'],this['imageDimension']=_0x39261d['dimension'],this['imageId']=_0x39261d['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x1c759c}=this['_editor'],t=_0x1c759c['t'],_0x38325b=new X(_0x1c759c,this['imageStatus'],this['_attributes']);_0x38325b['bind']('status')['to'](this,'imageStatus'),_0x38325b['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x38325b['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x38325b['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x38325b,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x58fdf5,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x38325b,'position':_0x1e7efe['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x38325b['focus']();},'onHide':()=>{_0x38325b['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x4a0afc=>!M(_0x4a0afc,_0x38325b['element'])}});}['_loadImageInfo'](_0x4f98e,_0x360339){return j['getInfo'](_0x4f98e,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x294fb2=>{const {width:_0x588fcf,height:_0x5ef16e}=_0x294fb2['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x360339,this['imageDimension']={'width':_0x588fcf,'height':_0x5ef16e},this['imageId']=_0x4f98e;})['catch'](_0x3db6e4=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x3db6e4['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x498fbd,_0x404795){return this['_getImageAsFile'](_0x498fbd)['then'](_0x50aaf9=>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':_0x404795['signal'],'file':_0x50aaf9,'onProgress':_0x3c15d5=>{_0x3c15d5&&_0x3c15d5['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x3c15d5['value']));}}))['then'](_0x121754=>{const {width:_0x283483,height:_0x1c3f0a}=_0x121754['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x121754['cdnUrl'],this['imageDimension']={'width':_0x283483,'height':_0x1c3f0a},this['imageId']=_0x121754['uuid'],this['imageUploadProgress']=null;const _0x278424=_0x498fbd['getAttribute']('src');this['_imageCache']['set'](_0x278424,{'id':_0x121754['uuid'],'url':_0x121754['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x3b3fe1=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x3b3fe1['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0xba2665,_0x5552f1){_0xba2665['on']('apply',(_0x2dd075,_0x363d19)=>{this['_replaceImage'](_0x5552f1,_0x363d19['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0xba2665['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0xba2665['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x4414ae,_0x4a9f0e,_0x509a73){const _0x4eac6f=this['_editor'],{width:_0x1bba7e,height:_0x5a45ba}=F(_0x4a9f0e,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x87edee,imageSources:_0x200717}=C(_0x4a9f0e,_0x1bba7e);_0x4eac6f['model']['change'](_0x5d5ac2=>{if('$graveyard'===_0x4414ae['root']['rootName']){_0x4eac6f['execute']('insertImage',{'imageType':_0x4414ae['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x4414ae['getAttributes']()),'uploadcareImageId':_0x509a73,'src':_0x87edee,'sources':_0x200717,'width':_0x1bba7e,'height':_0x5a45ba}});const _0x34188b=_0x4414ae['getChildren']();_0x4414ae=_0x4eac6f['model']['document']['selection']['getSelectedElement']();for(const _0x141dcc of _0x34188b)_0x5d5ac2['append'](_0x5d5ac2['cloneElement'](_0x141dcc),_0x4414ae);}else _0x5d5ac2['setSelection'](_0x4414ae,'on'),_0x4eac6f['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x4414ae['getAttributes']()),'uploadcareImageId':_0x509a73,'src':_0x87edee,'sources':_0x200717,'width':_0x1bba7e,'height':_0x5a45ba},_0x4414ae);_0x5d5ac2['setSelection'](_0x4414ae,'on');});}async['_getImageAsFile'](_0x514513){const _0x1eea29=_0x5c70e3['window'],_0xd97c2d=_0x5c70e3['document']['location']['href'],_0x9cd8e0=new _0x1eea29['URL'](_0x514513['getAttribute']('src'),_0xd97c2d);if('data:'===_0x9cd8e0['protocol']){const _0x56b0e3=_0x9cd8e0['href']['split'](','),_0x11ef4b=_0x56b0e3[0x0]['match'](/:(.*?);/)[0x1],_0x2fd728=_0x11ef4b['split']('/')[0x1],_0xc1571e=_0x1eea29['atob'](_0x56b0e3[_0x56b0e3['length']-0x1]);let _0xb6f508=_0xc1571e['length'];const _0x252afc=new _0x1eea29['Uint8Array'](_0xb6f508);for(;_0xb6f508--;)_0x252afc[_0xb6f508]=_0xc1571e['charCodeAt'](_0xb6f508);return new _0x1eea29['File']([_0x252afc],'image.'+_0x2fd728,{'type':_0x11ef4b});}const _0x2d2ff4=_0x9cd8e0['href']['split']('/'),_0x38a0c3=_0x2d2ff4[_0x2d2ff4['length']-0x1],_0x4caf1c=_0x38a0c3['split']('.')[0x1];return _0x1eea29['fetch'](_0x9cd8e0['href'])['then'](_0x21adbc=>_0x21adbc['clone']()['blob']())['then'](_0x46e2ad=>new _0x1eea29['File']([_0x46e2ad],_0x38a0c3,{'type':'image/'+_0x4caf1c}));}}class N extends _0x3281c4{['imageEditController'];static get['requires'](){return[_0x43ac6f];}['_isEditable'];constructor(_0x54834f){super(_0x54834f),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x19dffc){const _0xc4802c=R(_0x19dffc);return _0x2f7c26=>!(!_0x2f7c26||!_0x2f7c26['is']('element','imageBlock')&&!_0x2f7c26['is']('element','imageInline'))&&(!!_0x2f7c26['hasAttribute']('uploadcareImageId')||!!_0x2f7c26['hasAttribute']('src')&&_0xc4802c(_0x2f7c26['getAttribute']('src')));}(_0x54834f['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x45b95e=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x45b95e);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x31e2df=this['editor']['model']['document']['selection']['getSelectedElement']();_0x31e2df&&(_0x31e2df['is']('element','imageBlock')||_0x31e2df['is']('element','imageInline'))&&(this['imageEditController']=new E(this['editor'],this['editor']['plugins']['get'](_0x43ac6f),_0x31e2df),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class O extends _0x3281c4{['refresh'](){const _0x2c3149=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x2c3149&&(_0x2c3149['is']('element','imageBlock')||_0x2c3149['is']('element','imageInline')));}['execute'](_0x274517){const _0x471371=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x4c0de7=>{_0x4c0de7['setAttributes'](_0x274517,_0x471371),_0x4c0de7['removeAttribute']('srcset',_0x471371),_0x4c0de7['removeAttribute']('sizes',_0x471371);});}}class m extends _0x3ac33e{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[o,_0x366049,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x37ed72}=this;_0x37ed72['commands']['add']('uploadcareImageEdit',new N(_0x37ed72)),_0x37ed72['commands']['add']('uploadcareImageReplace',new O(_0x37ed72));}}class g extends _0x3ac33e{['_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 _0x4e2565=this['editor'];_0x4e2565['ui']['componentFactory']['add']('uploadcareImageEdit',_0x159dec=>{const _0x5b2726=_0x4e2565['commands']['get']('uploadcareImageEdit'),_0x169d59=new _0x39d78b(_0x159dec),t=_0x159dec['t'];return _0x169d59['set']({'icon':_0x58fdf5,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x169d59['bind']('isEnabled')['to'](_0x5b2726),_0x169d59['bind']('isOn')['to'](_0x5b2726,'isActive'),this['listenTo'](_0x169d59,'execute',()=>{_0x4e2565['execute']('uploadcareImageEdit'),_0x4e2565['editing']['view']['focus']();}),_0x169d59;}),this['_initConfig']();}['_initConfig'](){const _0x131145=_0x105d29(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x131145),this['listenTo'](this['editor'],'destroy',()=>{_0x131145['remove']();});}}class et extends _0x3ac33e{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,N 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':_0x3b2efe=>0x1!=_0x3b2efe}};
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':_0x22fdae=>0x1!=_0x22fdae}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x38b681=>{const {af:{dictionary:_0x914f8e,getPluralForm:_0x1eac38}}={'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':_0x56ed45=>0x1!=_0x56ed45}};_0x38b681['af']||={'dictionary':{},'getPluralForm':null},_0x38b681['af']['dictionary']=Object['assign'](_0x38b681['af']['dictionary'],_0x914f8e),_0x38b681['af']['getPluralForm']=_0x1eac38;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x5e51d5=>{const {af:{dictionary:_0x3c99f3,getPluralForm:_0x21399b}}={'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':_0x4670da=>0x1!=_0x4670da}};_0x5e51d5['af']||={'dictionary':{},'getPluralForm':null},_0x5e51d5['af']['dictionary']=Object['assign'](_0x5e51d5['af']['dictionary'],_0x3c99f3),_0x5e51d5['af']['getPluralForm']=_0x21399b;})(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':_0xeb48f9=>0x0==_0xeb48f9?0x0:0x1==_0xeb48f9?0x1:0x2==_0xeb48f9?0x2:_0xeb48f9%0x64>=0x3&&_0xeb48f9%0x64<=0xa?0x3:_0xeb48f9%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':_0x5c75a8=>0x0==_0x5c75a8?0x0:0x1==_0x5c75a8?0x1:0x2==_0x5c75a8?0x2:_0x5c75a8%0x64>=0x3&&_0x5c75a8%0x64<=0xa?0x3:_0x5c75a8%0x64>=0xb?0x4:0x5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x5987f4=>{const {ar:{dictionary:_0x58cd4e,getPluralForm:_0x385f3d}}={'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':_0x1c2d3d=>0x0==_0x1c2d3d?0x0:0x1==_0x1c2d3d?0x1:0x2==_0x1c2d3d?0x2:_0x1c2d3d%0x64>=0x3&&_0x1c2d3d%0x64<=0xa?0x3:_0x1c2d3d%0x64>=0xb?0x4:0x5}};_0x5987f4['ar']||={'dictionary':{},'getPluralForm':null},_0x5987f4['ar']['dictionary']=Object['assign'](_0x5987f4['ar']['dictionary'],_0x58cd4e),_0x5987f4['ar']['getPluralForm']=_0x385f3d;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x3d8a75=>{const {ar:{dictionary:_0x3388c6,getPluralForm:_0x1f1013}}={'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':_0x47e1a0=>0x0==_0x47e1a0?0x0:0x1==_0x47e1a0?0x1:0x2==_0x47e1a0?0x2:_0x47e1a0%0x64>=0x3&&_0x47e1a0%0x64<=0xa?0x3:_0x47e1a0%0x64>=0xb?0x4:0x5}};_0x3d8a75['ar']||={'dictionary':{},'getPluralForm':null},_0x3d8a75['ar']['dictionary']=Object['assign'](_0x3d8a75['ar']['dictionary'],_0x3388c6),_0x3d8a75['ar']['getPluralForm']=_0x1f1013;})(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':_0x1f7f3c=>0x1!=_0x1f7f3c}};
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':_0x1f28f2=>0x1!=_0x1f28f2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x4b8834=>{const {ast:{dictionary:_0x248c92,getPluralForm:_0xdb47ba}}={'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':_0x1e3a74=>0x1!=_0x1e3a74}};_0x4b8834['ast']||={'dictionary':{},'getPluralForm':null},_0x4b8834['ast']['dictionary']=Object['assign'](_0x4b8834['ast']['dictionary'],_0x248c92),_0x4b8834['ast']['getPluralForm']=_0xdb47ba;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x5cd0da=>{const {ast:{dictionary:_0x4896e9,getPluralForm:_0x1ffeb2}}={'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':_0x24b68e=>0x1!=_0x24b68e}};_0x5cd0da['ast']||={'dictionary':{},'getPluralForm':null},_0x5cd0da['ast']['dictionary']=Object['assign'](_0x5cd0da['ast']['dictionary'],_0x4896e9),_0x5cd0da['ast']['getPluralForm']=_0x1ffeb2;})(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':_0x122f61=>0x1!=_0x122f61}};
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':_0x43c1ca=>0x1!=_0x43c1ca}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x5c3575=>{const {az:{dictionary:_0x2ab44a,getPluralForm:_0x5c7671}}={'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':_0x34a8f4=>0x1!=_0x34a8f4}};_0x5c3575['az']||={'dictionary':{},'getPluralForm':null},_0x5c3575['az']['dictionary']=Object['assign'](_0x5c3575['az']['dictionary'],_0x2ab44a),_0x5c3575['az']['getPluralForm']=_0x5c7671;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x2802af=>{const {az:{dictionary:_0x3c1254,getPluralForm:_0x3db8f4}}={'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':_0x5eb0c5=>0x1!=_0x5eb0c5}};_0x2802af['az']||={'dictionary':{},'getPluralForm':null},_0x2802af['az']['dictionary']=Object['assign'](_0x2802af['az']['dictionary'],_0x3c1254),_0x2802af['az']['getPluralForm']=_0x3db8f4;})(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':_0x4b47a8=>_0x4b47a8%0xa==0x1&&_0x4b47a8%0x64!=0xb?0x0:_0x4b47a8%0xa>=0x2&&_0x4b47a8%0xa<=0x4&&(_0x4b47a8%0x64<0xa||_0x4b47a8%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':_0x2c0208=>_0x2c0208%0xa==0x1&&_0x2c0208%0x64!=0xb?0x0:_0x2c0208%0xa>=0x2&&_0x2c0208%0xa<=0x4&&(_0x2c0208%0x64<0xa||_0x2c0208%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x1374e1=>{const {be:{dictionary:_0x3b7f7c,getPluralForm:_0xf09f69}}={'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':_0x192cee=>_0x192cee%0xa==0x1&&_0x192cee%0x64!=0xb?0x0:_0x192cee%0xa>=0x2&&_0x192cee%0xa<=0x4&&(_0x192cee%0x64<0xa||_0x192cee%0x64>=0x14)?0x1:0x2}};_0x1374e1['be']||={'dictionary':{},'getPluralForm':null},_0x1374e1['be']['dictionary']=Object['assign'](_0x1374e1['be']['dictionary'],_0x3b7f7c),_0x1374e1['be']['getPluralForm']=_0xf09f69;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0xb169df=>{const {be:{dictionary:_0x550019,getPluralForm:_0x397a04}}={'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':_0x2d8e5a=>_0x2d8e5a%0xa==0x1&&_0x2d8e5a%0x64!=0xb?0x0:_0x2d8e5a%0xa>=0x2&&_0x2d8e5a%0xa<=0x4&&(_0x2d8e5a%0x64<0xa||_0x2d8e5a%0x64>=0x14)?0x1:0x2}};_0xb169df['be']||={'dictionary':{},'getPluralForm':null},_0xb169df['be']['dictionary']=Object['assign'](_0xb169df['be']['dictionary'],_0x550019),_0xb169df['be']['getPluralForm']=_0x397a04;})(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':_0x1207cf=>0x1!=_0x1207cf}};
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':_0xb4d3f1=>0x1!=_0xb4d3f1}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x352459=>{const {bg:{dictionary:_0x3c37a3,getPluralForm:_0x48e67f}}={'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':_0x4b4859=>0x1!=_0x4b4859}};_0x352459['bg']||={'dictionary':{},'getPluralForm':null},_0x352459['bg']['dictionary']=Object['assign'](_0x352459['bg']['dictionary'],_0x3c37a3),_0x352459['bg']['getPluralForm']=_0x48e67f;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x2da45a=>{const {bg:{dictionary:_0x41784e,getPluralForm:_0x4fba97}}={'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':_0x3dec22=>0x1!=_0x3dec22}};_0x2da45a['bg']||={'dictionary':{},'getPluralForm':null},_0x2da45a['bg']['dictionary']=Object['assign'](_0x2da45a['bg']['dictionary'],_0x41784e),_0x2da45a['bg']['getPluralForm']=_0x4fba97;})(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':_0x495be6=>0x1!=_0x495be6}};
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':_0x2e0f8b=>0x1!=_0x2e0f8b}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x5a7735=>{const {bn:{dictionary:_0x29095f,getPluralForm:_0x40a9e4}}={'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':_0x2d3e83=>0x1!=_0x2d3e83}};_0x5a7735['bn']||={'dictionary':{},'getPluralForm':null},_0x5a7735['bn']['dictionary']=Object['assign'](_0x5a7735['bn']['dictionary'],_0x29095f),_0x5a7735['bn']['getPluralForm']=_0x40a9e4;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0xda5e08=>{const {bn:{dictionary:_0x154209,getPluralForm:_0xcd33de}}={'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':_0x267c00=>0x1!=_0x267c00}};_0xda5e08['bn']||={'dictionary':{},'getPluralForm':null},_0xda5e08['bn']['dictionary']=Object['assign'](_0xda5e08['bn']['dictionary'],_0x154209),_0xda5e08['bn']['getPluralForm']=_0xcd33de;})(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':_0x2ac127=>_0x2ac127%0xa==0x1&&_0x2ac127%0x64!=0xb?0x0:_0x2ac127%0xa>=0x2&&_0x2ac127%0xa<=0x4&&(_0x2ac127%0x64<0xa||_0x2ac127%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':_0x213b54=>_0x213b54%0xa==0x1&&_0x213b54%0x64!=0xb?0x0:_0x213b54%0xa>=0x2&&_0x213b54%0xa<=0x4&&(_0x213b54%0x64<0xa||_0x213b54%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x558b57=>{const {bs:{dictionary:_0x4163da,getPluralForm:_0x4599b9}}={'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':_0x5dd34d=>_0x5dd34d%0xa==0x1&&_0x5dd34d%0x64!=0xb?0x0:_0x5dd34d%0xa>=0x2&&_0x5dd34d%0xa<=0x4&&(_0x5dd34d%0x64<0xa||_0x5dd34d%0x64>=0x14)?0x1:0x2}};_0x558b57['bs']||={'dictionary':{},'getPluralForm':null},_0x558b57['bs']['dictionary']=Object['assign'](_0x558b57['bs']['dictionary'],_0x4163da),_0x558b57['bs']['getPluralForm']=_0x4599b9;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x285fbc=>{const {bs:{dictionary:_0x7773a7,getPluralForm:_0x1762f7}}={'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':_0xbb911a=>_0xbb911a%0xa==0x1&&_0xbb911a%0x64!=0xb?0x0:_0xbb911a%0xa>=0x2&&_0xbb911a%0xa<=0x4&&(_0xbb911a%0x64<0xa||_0xbb911a%0x64>=0x14)?0x1:0x2}};_0x285fbc['bs']||={'dictionary':{},'getPluralForm':null},_0x285fbc['bs']['dictionary']=Object['assign'](_0x285fbc['bs']['dictionary'],_0x7773a7),_0x285fbc['bs']['getPluralForm']=_0x1762f7;})(window['CKEDITOR_TRANSLATIONS']||={});