@ckeditor/ckeditor5-uploadcare 47.3.0-alpha.5 → 47.3.0-alpha.7

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 _0x40f43f,Command as _0x49e9af}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x3df212,IconGooglePhotos as _0x1b839,IconGoogleDrive as _0x2bdbef,IconFacebook as _0x19482d,IconDropbox as _0x3a5f21,IconUploadcareLink as _0x2983fa,IconUploadcareImageUpload as _0x38c2f1,IconError as _0x3c6794,IconUploadcareImageEdit as _0x1cc838}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x36a838,MenuBarMenuListItemButtonView as _0x11e3cd,View as _0x195d43,FocusCycler as _0x18943b,Dialog as _0x4b34c2,DialogViewPosition as _0x5e892f,SpinnerView as _0x36c641,IconView as _0x426fea,Notification as _0x5ddf90}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x2531fb,DomEmitterMixin as _0x448f34,global as _0x18ade0,getAncestors as _0x2dd113,ObservableMixin as _0x59caef,uid as _0x1013be,createElement as _0x5e85be}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x3225a5}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0xc0835e,info as _0x399194}from'@uploadcare/upload-client';import*as _0x20eee4 from'@uploadcare/file-uploader';var i=function(_0x2c9cf4){return _0x2c9cf4['Local']='local',_0x2c9cf4['URL']='url',_0x2c9cf4['Dropbox']='dropbox',_0x2c9cf4['GDrive']='gdrive',_0x2c9cf4['Facebook']='facebook',_0x2c9cf4['GPhotos']='gphotos',_0x2c9cf4['OneDrive']='onedrive',_0x2c9cf4;}({});function _(_0x5c41a5,_0x18409c,_0x38c846){const t=_0x5c41a5['t'],_0x442df8=_0x5c41a5['t'];switch(_0x18409c){case i['Local']:return{'text':_0x442df8('Insert'===_0x38c846?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x442df8('From\x20computer')};case i['URL']:return{'text':'Insert'===_0x38c846?_0x442df8('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x442df8('Via\x20URL')};case i['Dropbox']:return{'text':t('Insert'===_0x38c846?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case i['Facebook']:return{'text':t('Insert'===_0x38c846?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case i['GDrive']:return{'text':t('Insert'===_0x38c846?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case i['GPhotos']:return{'text':t('Insert'===_0x38c846?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case i['OneDrive']:return{'text':t('Insert'===_0x38c846?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x18409c;}}class e extends _0x40f43f{['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 _0xd64b3c=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x57be16;for(const _0x40dacc in _0xd64b3c){const _0x8483e1=_0x40dacc,_0x5ac442=_0xd64b3c[_0x8483e1];if('uploadcareLicenseKeyValid'==_0x5ac442||'uploadcareLicenseKeyInvalid'==_0x5ac442||'uploadcareLicenseKeyExpired'==_0x5ac442||'uploadcareLicenseKeyDomainLimit'==_0x5ac442||'uploadcareLicenseKeyNotAllowed'==_0x5ac442||'uploadcareLicenseKeyEvaluationLimit'==_0x5ac442||'uploadcareLicenseKeyTrialLimit'==_0x5ac442||'uploadcareLicenseKeyUsageLimit'==_0x5ac442){delete _0xd64b3c[_0x8483e1],_0x57be16=_0x5ac442,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x57be16&&_0xd64b3c['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x57be16&&_0xd64b3c['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x57be16&&_0xd64b3c['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x57be16&&_0xd64b3c['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x57be16&&_0xd64b3c['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0x57be16&&_0xd64b3c['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0x57be16&&_0xd64b3c['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x190c07}=this,_0x3999d3=_0x190c07['commands']['get']('uploadcare');if(!_0x3999d3)return;const _0x5c1a14=this['_normalizeConfigSourceList'](_0x190c07['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x151043,_0x3c1cbb)=>{const _0x3da393=this['_getIntegrationKey'](_0x3c1cbb['type']);return _0x151043[_0x3da393]||(_0x151043[_0x3da393]=[]),_0x151043[_0x3da393]['push'](_0x3c1cbb),_0x151043;},{});_0x190c07['plugins']['has']('ImageInsertUI')&&_0x190c07['commands']['get']('uploadcare')&&Object['entries'](_0x5c1a14)['forEach'](([_0x17066e,_0x3a6ff9])=>{_0x190c07['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x17066e,'observable':()=>_0x3999d3,'buttonViewCreator':()=>this['_createToolbarButton'](_0x3a6ff9),'formViewCreator':()=>this['_createDropdownButtons'](_0x3a6ff9),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x3a6ff9),'override':'assetManager'!==_0x17066e});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x3bb7a0){const {locale:_0x1c5426}=this['editor'];return _0x3bb7a0['map'](_0x231e64=>{const _0x11e16f=_(_0x1c5426,_0x231e64,'Insert');switch(_0x231e64){case i['Local']:return{'icon':_0x38c2f1,'type':i['Local'],..._0x11e16f};case i['URL']:return{'icon':_0x2983fa,'type':i['URL'],..._0x11e16f};case i['Dropbox']:return{'icon':_0x3a5f21,'type':i['Dropbox'],..._0x11e16f};case i['Facebook']:return{'icon':_0x19482d,'type':i['Facebook'],..._0x11e16f};case i['GDrive']:return{'icon':_0x2bdbef,'type':i['GDrive'],..._0x11e16f};case i['GPhotos']:return{'icon':_0x1b839,'type':i['GPhotos'],..._0x11e16f};case i['OneDrive']:return{'icon':_0x3df212,'type':i['OneDrive'],..._0x11e16f};}});}['_getIntegrationKey'](_0x5d3d62){switch(_0x5d3d62){case i['Local']:return'upload';case i['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x5041fe,_0x40a9bc){const _0x160b46=this['editor'],_0x18e129=new _0x5041fe(_0x160b46['locale']),_0x547c8a=_0x160b46['commands']['get']('uploadcare');return _0x18e129['bind']('isEnabled')['to'](_0x547c8a),_0x18e129['on']('execute',()=>{_0x547c8a['execute'](_0x40a9bc);}),_0x18e129;}['_createToolbarButton'](_0x1fda36){const {locale:_0x5ce376}=this['editor'],_0x32d9bd=this['editor']['plugins']['get']('ImageInsertUI'),_0x2559b2=_0x1fda36[0x0],_0x5d25e6=this['_createButton'](_0x36a838,_0x2559b2['type']);return _0x5d25e6['icon']=_0x2559b2['icon'],_0x5d25e6['bind']('label')['to'](_0x32d9bd,'isImageSelected',_0x49ab39=>_(_0x5ce376,_0x2559b2['type'],_0x49ab39?'Replace':'Insert')['text']),_0x5d25e6['tooltip']=!0x0,_0x5d25e6;}['_createDropdownButtons'](_0x1da68a){const {locale:_0x232400}=this['editor'],_0x5665bf=this['editor']['plugins']['get']('ImageInsertUI');return _0x1da68a['map'](_0xb7a472=>{const _0x2ac622=this['_createButton'](_0x36a838,_0xb7a472['type']);return _0x2ac622['withText']=!0x0,_0x2ac622['icon']=_0xb7a472['icon'],_0x2ac622['bind']('label')['to'](_0x5665bf,'isImageSelected',_0x5df7fd=>_(_0x232400,_0xb7a472['type'],_0x5df7fd?'Replace':'Insert')['text']),_0x2ac622;});}['_createMenuBarButtons'](_0xe5c961){return _0xe5c961['map'](_0xe7f346=>{const _0x4ec638=this['_createButton'](_0x11e3cd,_0xe7f346['type']);return _0x4ec638['icon']=_0xe7f346['icon'],_0x4ec638['label']=_0xe7f346['shortText'],_0x4ec638;});}}class F extends _0x195d43{['focusTracker'];['focusCycler'];constructor(_0x11f4cf){super(_0x11f4cf),this['focusTracker']=new _0x2531fb(),this['focusCycler']=new _0x18943b({'focusables':this['createCollection'](),'focusTracker':this['focusTracker']});}['getFocusableElement'](){return{'tag':'div','attributes':{'aria-hidden':'true','tabindex':'0'},'on':{'focus':this['bindTemplate']['to'](()=>{this['focusCycler']['fire']('forwardCycle');})}};}}class x extends F{constructor(_0x1bdbfb,_0x190287){super(_0x1bdbfb),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-'+_0x190287}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function C(_0x33958b,_0x2eb1e8){const _0x415d5e=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x45fbc5=>_0x45fbc5<=_0x2eb1e8)['map'](_0x11674c=>_0x33958b['replace'](/\/$/,'')+'/-/resize/'+_0x11674c+'x/\x20'+_0x11674c+'w');return{'imageFallbackUrl':_0x33958b,'imageSources':[{'srcset':_0x415d5e['join'](',\x20'),'sizes':'(max-width:\x20'+_0x2eb1e8+'px)\x20100vw,\x20'+_0x2eb1e8+'px','type':'image/webp'}]};}function S(_0x185569,_0x1cd5b2,_0x2b6990){const _0x90a046=_0x185569['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x90a046?parseInt(_0x90a046[0x1],0xa):_0x1cd5b2,'height':_0x90a046?parseInt(_0x90a046[0x2],0xa):_0x2b6990};}function p(_0x4a3b55,_0x19cc1d){const _0x4981a1=new(_0x448f34())(),_0x76eff=_0x4a3b55['plugins']['get']('ImageUtils'),_0x25f44e=_0x4a3b55['editing']['mapper']['toViewElement'](_0x19cc1d),_0x4b0176=_0x76eff['findViewImgElement'](_0x25f44e),_0x14d072=_0x4a3b55['editing']['view']['domConverter']['viewToDom'](_0x4b0176),_0x237b9a=_0x19cc1d['getAttribute']('width'),_0x1427f2=_0x19cc1d['getAttribute']('height'),_0x4b9ee2='image-processing';_0x4a3b55['editing']['view']['change'](_0x5d81f8=>{_0x5d81f8['addClass'](_0x4b9ee2,_0x25f44e),_0x5d81f8['setStyle']('aspect-ratio',_0x237b9a+'/'+_0x1427f2,_0x4b0176);}),_0x4981a1['listenTo'](_0x14d072,'load',()=>{_0x4981a1['stopListening'](_0x14d072,'load'),_0x4a3b55['editing']['view']['change'](_0x32db8b=>{_0x32db8b['removeClass'](_0x4b9ee2,_0x25f44e),_0x32db8b['removeStyle']('aspect-ratio',_0x4b0176);});});}function G(_0x4c34d4){if(Array['isArray'](_0x4c34d4)){const _0x579c35=_0x4c34d4['map'](G);return _0x58945f=>_0x579c35['some'](_0x32777a=>_0x32777a(_0x58945f));}if('origin'==_0x4c34d4){const _0x1694c0=_0x18ade0['window']['location']['origin'];return _0x1a6d31=>new URL(_0x1a6d31,_0x18ade0['document']['baseURI'])['origin']==_0x1694c0;}return'function'==typeof _0x4c34d4?_0x4c34d4:_0x4c34d4 instanceof RegExp?_0x4c89d3=>!(!_0x4c89d3['match'](_0x4c34d4)&&!_0x4c89d3['replace'](/^https?:\/\//,'')['match'](_0x4c34d4)):()=>!0x1;}function A(_0x1fcaee,_0x7a079b){return _0x2dd113(_0x1fcaee['target'])['includes'](_0x7a079b);}class n extends/* #__PURE__ -- @preserve */
24
- _0x59caef(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x4c61d8,_0x5a5787,_0x4d71d9){super(),this['_editor']=_0x4c61d8,this['_editing']=_0x5a5787,this['_dialog']=_0x4c61d8['plugins']['get'](_0x4b34c2),this['_api']=_0x5a5787['ctxElement']['getAPI'](),this['_type']=_0x4d71d9,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:_0x3d1c7d,model:_0x1b43aa}=this['_editor'],_0x449123=_0x1b43aa['document']['selection']['getSelectedElement'](),_0x65cbe=_0x449123&&(_0x449123['is']('element','imageBlock')||_0x449123['is']('element','imageInline'));this['_formView']=new x(_0x3d1c7d,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':_0x38c2f1,'title':_(_0x3d1c7d,this['_type'],_0x65cbe?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x5e892f['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x5a242a=>!A(_0x5a242a,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x196fee}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x449656=>{const _0x12f1dc=_0x196fee['length'];for(const _0x27c9d9 of _0x196fee){const _0x5c6507=_0x27c9d9===_0x196fee[_0x12f1dc-0x1],{cdnUrl:_0x216e70,fileInfo:_0x367791}=_0x27c9d9;if(!_0x216e70||!_0x367791)continue;const {width:_0x414ea6,height:_0x459c9c}=_0x367791['imageInfo'],_0x22d53f=S(_0x216e70,_0x414ea6,_0x459c9c),_0x36c5dc=C(_0x216e70,_0x22d53f['width']),_0xd85ee6={'id':_0x367791['uuid'],'type':'image','attributes':{'imageDimension':_0x22d53f,..._0x36c5dc}};this['_insertAsset'](_0xd85ee6,_0x5c6507,_0x449656);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x5d562b=>{'idle'===_0x5d562b['detail']['status']&&!_0x5d562b['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===i['Local']?this['_api']['setCurrentActivity'](i['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x1a20de,_0x3d7d84,_0x48fcc0){const _0x55c408=this['_editor']['model']['document']['selection'],_0x470432=_0x55c408['getSelectedElement'](),_0x3c5225=!(!_0x470432||!_0x470432['is']('element','imageInline'));_0x48fcc0['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x1a20de,_0x3c5225),_0x3d7d84||_0x48fcc0['setSelection'](_0x55c408['getLastPosition']());}['_insertImage'](_0xea480a,_0x1946a4){const _0x4738ba=this['_editor'],{imageDimension:_0x3dc158,imageFallbackUrl:_0x4fea3a,imageSources:_0x15a5cd}=_0xea480a['attributes'];_0x4738ba['execute']('insertImage',{'imageType':_0x1946a4?'imageInline':null,'source':{'uploadcareImageId':_0xea480a['id'],'src':_0x4fea3a,'sources':_0x15a5cd,..._0x3dc158}});}}class w extends _0x49e9af{['_editing'];['_controller']=null;static get['requires'](){return[_0x4b34c2,o];}constructor(_0x4e302e){super(_0x4e302e),this['_editing']=_0x4e302e['plugins']['get'](o);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x2e1769){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new n(this['editor'],this['_editing'],_0x2e1769);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class j{static['upload']({file:_0x28fa71,..._0x55c047}){return _0xc0835e(_0x28fa71,_0x55c047);}static['getInfo'](_0x3259d1,_0x37569e){return _0x399194(_0x3259d1,_0x37569e);}}class f extends _0x40f43f{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x3225a5,o];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x18ed8a=this['editor'];if(!!!_0x18ed8a['config']['get']('uploadcare'))return;_0x18ed8a['plugins']['get'](_0x3225a5)['createUploadAdapter']=_0x4783b9=>new k(_0x4783b9,_0x18ed8a),_0x18ed8a['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x2bf1dc,{imageElement:_0x2186a,data:_0x4d00c4})=>{_0x18ed8a['model']['change'](_0x277b04=>{_0x277b04['setAttribute']('uploadcareImageId',_0x4d00c4['uploadcareImageId'],_0x2186a);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x4ebc03,_0x465dec){this['loader']=_0x4ebc03,this['editor']=_0x465dec,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x80d3b3=await this['loader']['file'];return j['upload']({'file':_0x80d3b3,'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':_0x3b1002=>{_0x3b1002&&_0x3b1002['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x3b1002['value']);}})['then'](async _0x579450=>{const {imageFallbackUrl:_0x145c62,imageSources:_0x33c4d5}=C(_0x579450['cdnUrl'],_0x579450['imageInfo']['width']);return{'uploadcareImageId':_0x579450['uuid'],'default':_0x145c62,'sources':_0x33c4d5};})['catch'](()=>{const _0x48f5c9=t('Cannot\x20upload\x20file:')+('\x20'+_0x80d3b3['name']+'.');return Promise['reject'](_0x48f5c9);});}['abort'](){this['controller']['abort']();}}class o extends _0x40f43f{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',f,_0x4b34c2];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['ucContextId'];get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}constructor(_0x504e83){super(_0x504e83),this['ucContextId']=_0x1013be();}['init'](){const _0x52f231=this['editor'];_0x52f231['commands']['add']('uploadcare',new w(_0x52f231));}['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 _0xa5a213=_0x18ade0['document']['querySelector']('input[uploadcare-file-input]');_0xa5a213&&_0xa5a213['remove']();}),async function(_0x4e827b){const _0x545a4f=_0x3b6f8f([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]),_0xb40f33=0x535f8c3a,_0x209067=0x5358f692^_0xb40f33,_0x2614bc=window[_0x3b6f8f([0x44,0x61,0x74,0x65])][_0x3b6f8f([0x6e,0x6f,0x77])](),_0x22a6d7=_0x4e827b[_0x3b6f8f([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x4f0fe9=new window[(_0x3b6f8f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x341908=>{_0x22a6d7[_0x3b6f8f([0x6f,0x6e,0x63,0x65])](_0x3b6f8f([0x72,0x65,0x61,0x64,0x79]),_0x341908);}),_0x51028e={[_0x3b6f8f([0x6b,0x74,0x79])]:_0x3b6f8f([0x45,0x43]),[_0x3b6f8f([0x75,0x73,0x65])]:_0x3b6f8f([0x73,0x69,0x67]),[_0x3b6f8f([0x63,0x72,0x76])]:_0x3b6f8f([0x50,0x2d,0x32,0x35,0x36]),[_0x3b6f8f([0x78])]:_0x3b6f8f([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]),[_0x3b6f8f([0x79])]:_0x3b6f8f([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]),[_0x3b6f8f([0x61,0x6c,0x67])]:_0x3b6f8f([0x45,0x53,0x32,0x35,0x36])},_0x37fe2c=_0x22a6d7[_0x3b6f8f([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3b6f8f([0x67,0x65,0x74])](_0x3b6f8f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x6c8e11(){let _0x504f49,_0x5128e6=null,_0x21fa66=null;try{if(_0x37fe2c==_0x3b6f8f([0x47,0x50,0x4c]))return _0x3b6f8f([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x504f49=_0x1d9096(),!_0x504f49)return _0x3b6f8f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x504f49[_0x3b6f8f([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x21fa66=_0x46914d(_0x504f49[_0x3b6f8f([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x504f49[_0x3b6f8f([0x6a,0x74,0x69])])),await _0x3d69a0()?_0x101562()?_0x500924()?_0x3b6f8f([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x40696f()?(_0x504f49[_0x3b6f8f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3b6f8f([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x5128e6=_0xd411ce(_0x3b6f8f([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x504f49[_0x3b6f8f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3b6f8f([0x74,0x72,0x69,0x61,0x6c])&&(_0x5128e6=_0xd411ce(_0x3b6f8f([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x125ac6()):_0x3b6f8f([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3b6f8f([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3b6f8f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x3b6f8f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x500924(){const _0x43185d=[_0x3b6f8f([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3b6f8f([0x74,0x72,0x69,0x61,0x6c])][_0x3b6f8f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x504f49[_0x3b6f8f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2614bc/0x3e8:0xe10*_0x209067;return _0x504f49[_0x3b6f8f([0x65,0x78,0x70])]<_0x43185d;}function _0x101562(){const _0x41747c=_0x504f49[_0x3b6f8f([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x41747c&&(!!_0x41747c[_0x3b6f8f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3b6f8f([0x2a]))||!!_0x41747c[_0x3b6f8f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3b6f8f([0x55,0x50,0x4c,0x43])));}function _0x40696f(){const _0x318aa0=_0x504f49[_0x3b6f8f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x318aa0||0x0==_0x318aa0[_0x3b6f8f([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x46928a}=new URL(window[_0x3b6f8f([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x318aa0[_0x3b6f8f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x46928a))return!0x0;const _0x328598=_0x46928a[_0x3b6f8f([0x73,0x70,0x6c,0x69,0x74])](_0x3b6f8f([0x2e]));return _0x318aa0[_0x3b6f8f([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2c9909=>_0x2c9909[_0x3b6f8f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3b6f8f([0x2a])))[_0x3b6f8f([0x6d,0x61,0x70])](_0x12e172=>_0x12e172[_0x3b6f8f([0x73,0x70,0x6c,0x69,0x74])](_0x3b6f8f([0x2e])))[_0x3b6f8f([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x19f4f0=>_0x19f4f0[_0x3b6f8f([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x328598[_0x3b6f8f([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3b6f8f([0x6d,0x61,0x70])](_0x265269=>Array(_0x328598[_0x3b6f8f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x265269[_0x3b6f8f([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3b6f8f([0x66,0x69,0x6c,0x6c])](_0x265269[0x0]===_0x3b6f8f([0x2a])?_0x3b6f8f([0x2a]):'')[_0x3b6f8f([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x265269))[_0x3b6f8f([0x73,0x6f,0x6d,0x65])](_0x184193=>_0x328598[_0x3b6f8f([0x65,0x76,0x65,0x72,0x79])]((_0x5ec563,_0x4caf1a)=>_0x184193[_0x4caf1a]===_0x5ec563||_0x184193[_0x4caf1a]===_0x3b6f8f([0x2a])));}function _0x125ac6(){return _0x5128e6&&_0x21fa66?new window[(_0x3b6f8f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x44d0cd,_0x4de796)=>{_0x5128e6[_0x3b6f8f([0x74,0x68,0x65,0x6e])](_0x44d0cd,_0x4de796),_0x21fa66[_0x3b6f8f([0x74,0x68,0x65,0x6e])](_0x1958c6=>{_0x1958c6!=_0x3b6f8f([0x56,0x61,0x6c,0x69,0x64])&&_0x44d0cd(_0x1958c6);},_0x4de796);}):_0x5128e6||_0x21fa66||_0x3b6f8f([0x56,0x61,0x6c,0x69,0x64]);}}function _0x46914d(_0x2577e4,_0x1855ab){return new window[(_0x3b6f8f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2ff8df=>{if(_0x1094b8())return _0x2ff8df(_0x3b6f8f([0x56,0x61,0x6c,0x69,0x64]));_0x42bc40(),_0x22a6d7[_0x3b6f8f([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3b6f8f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0xa526fc=!0x1;const _0x3750f8=_0x1013be();function _0x342a77(_0x15bd49){return!!_0x15bd49&&(typeof _0x15bd49===_0x3b6f8f([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x15bd49===_0x3b6f8f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x15bd49[_0x3b6f8f([0x74,0x68,0x65,0x6e])]===_0x3b6f8f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x15bd49[_0x3b6f8f([0x63,0x61,0x74,0x63,0x68])]===_0x3b6f8f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x59677e(_0x51fabc){_0x16cdf4(_0x51fabc)[_0x3b6f8f([0x74,0x68,0x65,0x6e])](_0x435331=>{if(!_0x435331||_0x435331[_0x3b6f8f([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3b6f8f([0x6f,0x6b]))return _0x3b6f8f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0xff786a(_0x35438c(_0x3750f8+_0x1855ab))!=_0x435331[_0x3b6f8f([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3b6f8f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3b6f8f([0x56,0x61,0x6c,0x69,0x64]);})[_0x3b6f8f([0x74,0x68,0x65,0x6e])](_0x90fa43=>(_0x599b83(),_0x90fa43),()=>{const _0x125cdd=_0x5809f8();return null==_0x125cdd?(_0x599b83(),_0x3b6f8f([0x56,0x61,0x6c,0x69,0x64])):_0x3b6f8f(_0x2614bc-_0x125cdd>(0x7753083a^_0xb40f33)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3b6f8f([0x74,0x68,0x65,0x6e])](_0x2ff8df)[_0x3b6f8f([0x63,0x61,0x74,0x63,0x68])](()=>{_0x2ff8df(_0x3b6f8f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x6d21ed=0x536962ba^_0xb40f33;function _0x599b83(){const _0x258237=_0x3b6f8f([0x6c,0x6c,0x63,0x74,0x2d])+_0xff786a(_0x35438c(_0x2577e4)),_0x130ccc=_0x4b1ccb(_0xff786a(window[_0x3b6f8f([0x4d,0x61,0x74,0x68])][_0x3b6f8f([0x63,0x65,0x69,0x6c])](_0x2614bc/_0x6d21ed)));window[_0x3b6f8f([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3b6f8f([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x258237,_0x130ccc);}function _0x5809f8(){const _0x57af48=_0x3b6f8f([0x6c,0x6c,0x63,0x74,0x2d])+_0xff786a(_0x35438c(_0x2577e4)),_0x8b950e=window[_0x3b6f8f([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3b6f8f([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x57af48);return _0x8b950e?window[_0x3b6f8f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4b1ccb(_0x8b950e),0x10)*_0x6d21ed:null;}function _0x16cdf4(_0x5ae21b){return new window[(_0x3b6f8f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x37140d,_0x2499af)=>{_0x5ae21b[_0x3b6f8f([0x74,0x68,0x65,0x6e])](_0x37140d,_0x2499af),window[_0x3b6f8f([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2499af,0x535e58fa^_0xb40f33);});}}_0x22a6d7[_0x3b6f8f([0x6f,0x6e])](_0x3b6f8f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1fc711,_0x10d2dc)=>{if(_0x10d2dc[0x0]!=_0x2577e4)return _0x2ff8df(_0x3b6f8f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x10d2dc[0x1]={..._0x10d2dc[0x1],[_0x3b6f8f([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x3750f8};},{[_0x3b6f8f([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3b6f8f([0x68,0x69,0x67,0x68])}),_0x22a6d7[_0x3b6f8f([0x6f,0x6e])](_0x3b6f8f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3de52b=>{_0x342a77(_0x3de52b[_0x3b6f8f([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0xa526fc=!0x0,_0x59677e(_0x3de52b[_0x3b6f8f([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3b6f8f([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3b6f8f([0x6c,0x6f,0x77])}),_0x4f0fe9[_0x3b6f8f([0x74,0x68,0x65,0x6e])](()=>{_0xa526fc||_0x2ff8df(_0x3b6f8f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x1094b8(){return _0x22a6d7[_0x3b6f8f([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3b6f8f([0x76,0x69,0x65,0x77])][_0x3b6f8f([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3b6f8f([0x61,0x75,0x74,0x6f]);}function _0x42bc40(){_0x22a6d7[_0x3b6f8f([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3b6f8f([0x76,0x69,0x65,0x77])][_0x3b6f8f([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3b6f8f([0x61,0x75,0x74,0x6f]);}}function _0xd411ce(_0x3a26da){const _0x404e43=[new window[(_0x3b6f8f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4d9fb3=>setTimeout(_0x4d9fb3,0x5356b2f6^_0xb40f33)),_0x4f0fe9[_0x3b6f8f([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3b6f8f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2f86eb=>{let _0xb24734=0x0;_0x22a6d7[_0x3b6f8f([0x6d,0x6f,0x64,0x65,0x6c])][_0x3b6f8f([0x6f,0x6e])](_0x3b6f8f([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x38f3a9,_0x257def)=>{_0x257def[0x0][_0x3b6f8f([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0xb24734++,_0xb24734==(0x535f8dc2^_0xb40f33)&&(_0x2f86eb(),_0x38f3a9[_0x3b6f8f([0x6f,0x66,0x66])]());});}))];return window[_0x3b6f8f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3b6f8f([0x72,0x61,0x63,0x65])](_0x404e43)[_0x3b6f8f([0x74,0x68,0x65,0x6e])](()=>_0x3a26da);}async function _0x33996f(){await _0x4f0fe9,_0x22a6d7[_0x3b6f8f([0x6d,0x6f,0x64,0x65,0x6c])][_0x3b6f8f([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x1e8d64,_0x22a6d7[_0x3b6f8f([0x6d,0x6f,0x64,0x65,0x6c])][_0x3b6f8f([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x1e8d64,_0x22a6d7[_0x3b6f8f([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3b6f8f([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x1c0906(_0x1d4d07){const _0x5e0408=_0x49853a();_0x22a6d7[_0x5e0408]=_0x3b6f8f([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x1d4d07,_0x1d4d07!=_0x3b6f8f([0x56,0x61,0x6c,0x69,0x64])&&_0x33996f();}function _0x49853a(){const _0x112bc6=window[_0x3b6f8f([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3b6f8f([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3b6f8f([0x6e,0x6f,0x77])]())[_0x3b6f8f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3b6f8f([0x2e]),'');let _0x5bffdb=_0x3b6f8f([0x68]);for(let _0x10be71=0x0;_0x10be71<_0x112bc6[_0x3b6f8f([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x10be71+=0x2){let _0x10a2bd=window[_0x3b6f8f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x112bc6[_0x3b6f8f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x10be71,_0x10be71+0x2));_0x10a2bd>=_0x545a4f[_0x3b6f8f([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x10a2bd-=_0x545a4f[_0x3b6f8f([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5bffdb+=_0x545a4f[_0x10a2bd];}return _0x5bffdb;}function _0x1d9096(){const _0x4753ce=_0x37fe2c[_0x3b6f8f([0x73,0x70,0x6c,0x69,0x74])](_0x3b6f8f([0x2e]));if(0x3!=_0x4753ce[_0x3b6f8f([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x140eee(_0x4753ce[0x1]);function _0x140eee(_0x345e5d){const _0x4f7448=_0x17f195(_0x345e5d);return _0x4f7448&&_0x53e970()?_0x4f7448:null;function _0x53e970(){const _0x41d135=_0x4f7448[_0x3b6f8f([0x6a,0x74,0x69])],_0x2d08b2=window[_0x3b6f8f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x41d135[_0x3b6f8f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x41d135[_0x3b6f8f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2b9585={..._0x4f7448,[_0x3b6f8f([0x6a,0x74,0x69])]:_0x41d135[_0x3b6f8f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x41d135[_0x3b6f8f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2b9585[_0x3b6f8f([0x76,0x63])],_0x35438c(_0x2b9585)==_0x2d08b2;}}}async function _0x3d69a0(){let _0x4eb71c=!0x0;try{const _0x3b3c25=_0x37fe2c[_0x3b6f8f([0x73,0x70,0x6c,0x69,0x74])](_0x3b6f8f([0x2e])),[_0x1948eb,_0x2a76a9,_0x443ad3]=_0x3b3c25;return _0x43adb2(_0x1948eb),await _0x62cdac(_0x1948eb,_0x2a76a9,_0x443ad3),_0x4eb71c;}catch{return!0x1;}function _0x43adb2(_0x5d5cab){const _0x4bedc9=_0x17f195(_0x5d5cab);_0x4bedc9&&_0x4bedc9[_0x3b6f8f([0x61,0x6c,0x67])]==_0x3b6f8f([0x45,0x53,0x32,0x35,0x36])||(_0x4eb71c=!0x1);}async function _0x62cdac(_0x4ba9f8,_0x5121bb,_0x295e6e){const _0x5e1515=window[_0x3b6f8f([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3b6f8f([0x66,0x72,0x6f,0x6d])](_0xfedfd6(_0x295e6e),_0x5386e5=>_0x5386e5[_0x3b6f8f([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0xcfacf=new window[(_0x3b6f8f([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3b6f8f([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4ba9f8+_0x3b6f8f([0x2e])+_0x5121bb),_0x9795c=window[_0x3b6f8f([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3b6f8f([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x9795c)return;const _0x23df5f=await _0x9795c[_0x3b6f8f([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3b6f8f([0x6a,0x77,0x6b]),_0x51028e,{[_0x3b6f8f([0x6e,0x61,0x6d,0x65])]:_0x3b6f8f([0x45,0x43,0x44,0x53,0x41]),[_0x3b6f8f([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3b6f8f([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3b6f8f([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x9795c[_0x3b6f8f([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3b6f8f([0x6e,0x61,0x6d,0x65])]:_0x3b6f8f([0x45,0x43,0x44,0x53,0x41]),[_0x3b6f8f([0x68,0x61,0x73,0x68])]:{[_0x3b6f8f([0x6e,0x61,0x6d,0x65])]:_0x3b6f8f([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x23df5f,_0x5e1515,_0xcfacf)||(_0x4eb71c=!0x1);}}function _0x17f195(_0x286233){return _0x286233[_0x3b6f8f([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3b6f8f([0x65,0x79]))?JSON[_0x3b6f8f([0x70,0x61,0x72,0x73,0x65])](_0xfedfd6(_0x286233)):null;}function _0xfedfd6(_0x4039a7){return window[_0x3b6f8f([0x61,0x74,0x6f,0x62])](_0x4039a7[_0x3b6f8f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3b6f8f([0x2b]))[_0x3b6f8f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3b6f8f([0x2f])));}function _0x35438c(_0x29aae4){let _0x5cb5cb=0x1505;function _0x3ff7fd(_0x45608f){for(let _0x2cd131=0x0;_0x2cd131<_0x45608f[_0x3b6f8f([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2cd131++){const _0x261826=_0x45608f[_0x3b6f8f([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2cd131);_0x5cb5cb=(_0x5cb5cb<<0x5)+_0x5cb5cb+_0x261826,_0x5cb5cb&=_0x5cb5cb;}}function _0x39e9d9(_0x10db22){Array[_0x3b6f8f([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x10db22)?_0x10db22[_0x3b6f8f([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x39e9d9):_0x10db22&&typeof _0x10db22==_0x3b6f8f([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3b6f8f([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x10db22)[_0x3b6f8f([0x73,0x6f,0x72,0x74])]()[_0x3b6f8f([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x18533a,_0x573366])=>{_0x3ff7fd(_0x18533a),_0x39e9d9(_0x573366);}):_0x3ff7fd(window[_0x3b6f8f([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x10db22));}return _0x39e9d9(_0x29aae4),_0x5cb5cb>>>0x0;}function _0xff786a(_0x12752f){return _0x12752f[_0x3b6f8f([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3b6f8f([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3b6f8f([0x30]));}function _0x4b1ccb(_0x2b202a){return _0x2b202a[_0x3b6f8f([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3b6f8f([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3b6f8f([0x6a,0x6f,0x69,0x6e])]('');}function _0x1e8d64(){}function _0x3b6f8f(_0x57a4a9){return _0x57a4a9['map'](_0x4b8537=>String['fromCharCode'](_0x4b8537))['join']('');}_0x1c0906(await _0x6c8e11());}(this);}['_initSchema'](){const _0x460939=this['editor']['model']['schema'];_0x460939['isRegistered']('imageBlock')&&_0x460939['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x460939['isRegistered']('imageInline')&&_0x460939['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x169ff9=this['editor'];_0x169ff9['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x169ff9['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x4fc193=>_0x4fc193['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x5146a3=_0x169ff9['commands']['get']('replaceImageSource');_0x5146a3&&this['listenTo'](_0x5146a3,'cleanupImage',(_0x262d33,[_0x587374,_0x6e830b])=>{_0x587374['removeAttribute']('uploadcareImageId',_0x6e830b);});}['_initConfig'](){const _0x17d163=this['editor']['config']['get']('uploadcare.uploader')||{},_0x56bfad=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x5e85be(_0x18ade0['document'],'uc-config',{..._0x17d163,'pubkey':_0x56bfad,'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']=_0x33bf52=>{if('closeMax'==_0x33bf52)return'#uc-icon-arrow-down';},_0x18ade0['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x5e85be(_0x18ade0['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),_0x18ade0['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x4424bf=this['editor']['commands']['get']('insertImage');_0x4424bf&&this['listenTo'](_0x4424bf,'execute',()=>{const _0x2ba8c8=this['editor']['model']['document']['selection']['getSelectedElement']();_0x2ba8c8&&_0x2ba8c8['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x2ba8c8);});});const _0x167ec5=this['editor']['commands']['get']('uploadcareImageReplace');_0x167ec5&&this['listenTo'](_0x167ec5,'execute',()=>{const _0x1fddbe=this['editor']['model']['document']['selection']['getSelectedElement']();_0x1fddbe&&_0x1fddbe['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x1fddbe);});});}}class tt extends _0x40f43f{static get['requires'](){return[o,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x5fdc71){super(_0x5fdc71),_0x5fdc71['config']['define']('uploadcare.uploader.sourceList',[i['Local'],i['URL']]),_0x20eee4['defineComponents'](_0x20eee4),this['_defineLocale']();}['_defineLocale'](){const _0x15dd11=this['editor']['config']['get']('uploadcare.locale'),_0xb30bc7=this['editor']['locale']['contentLanguage'];_0x15dd11&&_0x20eee4['defineLocale'](_0xb30bc7,_0x15dd11);}}class ii extends _0x195d43{constructor(_0x1850f7){super(_0x1850f7);const t=_0x1850f7['t'],_0x4bbd0b=this['bindTemplate'],_0x5b93bf=new _0x36c641();_0x5b93bf['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':[_0x5b93bf,{'text':_0x4bbd0b['to']('imageUploadProgress',_0x1c7151=>t('Loading\x20image...')+'\x20('+(_0x1c7151||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 _0x195d43{constructor(_0x27fe78){super(_0x27fe78);const t=_0x27fe78['t'];this['set']('errorType',null);const _0x2ea6e1=new _0x36a838(_0x27fe78);_0x2ea6e1['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x2ea6e1['withText']=!0x0,_0x2ea6e1['class']='ck-button-action',_0x2ea6e1['on']('execute',()=>{this['fire']('retry');}),_0x2ea6e1['bind']('isVisible')['to'](this,'errorType',_0x3d07e0=>'NotFound'!==_0x3d07e0);const _0x5087ec=new _0x426fea();_0x5087ec['content']=_0x3c6794,_0x5087ec['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x252aa1=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':[_0x5087ec,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x252aa1['to']('errorType',_0x522f31=>t('NotFound'!==_0x522f31?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x2ea6e1]},{'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 _0x195d43{constructor(_0x37b06f,_0x3080a1){super(_0x37b06f);const _0x15a1a2=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x3080a1,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x15a1a2['to']('imageSrc')}});}}class X extends F{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x250ab0,_0x507cf8,_0x5ccf01){super(_0x250ab0),this['_items']=this['createCollection'](),this['_loadingView']=new ii(_0x250ab0),this['_errorView']=new ti(_0x250ab0),this['_editingView']=new ei(_0x250ab0,_0x5ccf01),this['_focusableView']=new _0x195d43(_0x250ab0),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x507cf8),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'],_0x3cd386=>{this['_addUploadcareImageEditorListeners'](_0x3cd386);});}),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'](_0x3188e5,_0xd75330){const _0x430419='uc-cloud-image-editor',_0x1f9af5=_0x3188e5['querySelector'](_0x430419);if(_0x1f9af5)return _0xd75330(_0x1f9af5);const _0x5ce475=new MutationObserver(_0x2572d5=>{const _0x294761=_0x2572d5['filter'](_0x1e6540=>_0x1e6540['target']===_0x3188e5&&_0x1e6540['addedNodes']['length']>0x0&&_0x1e6540['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x430419);_0x294761['length']&&(_0x5ce475['disconnect'](),_0xd75330(_0x294761[0x0]['addedNodes'][0x0]));});_0x5ce475['observe'](_0x3188e5,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x589b8b){_0x589b8b['addEventListener']('apply',_0x139cbc=>{this['fire']('apply',{'imageSrc':_0x139cbc['detail']['cdnUrl']});}),_0x589b8b['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class E extends/* #__PURE__ -- @preserve */
25
- _0x59caef(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x4433ad,_0x243c12,_0x2e81fa){super(),this['_editor']=_0x4433ad,this['_dialog']=_0x243c12,this['_imageElement']=_0x2e81fa,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 _0x313a70=this['_imageElement'],_0x1ef8da=_0x313a70['getAttribute']('uploadcareImageId'),_0x48eb00=_0x313a70['getAttribute']('src');if(_0x1ef8da)await this['_loadImageInfo'](_0x1ef8da,_0x48eb00);else{if(this['_imageCache']['has'](_0x48eb00)){const _0x21a9cc=this['_imageCache']['get'](_0x48eb00);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x21a9cc['url'],this['imageDimension']=_0x21a9cc['dimension'],this['imageId']=_0x21a9cc['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x315397}=this['_editor'],t=_0x315397['t'],_0x1a1e36=new X(_0x315397,this['imageStatus'],this['_attributes']);_0x1a1e36['bind']('status')['to'](this,'imageStatus'),_0x1a1e36['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x1a1e36['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x1a1e36['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x1a1e36,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x1cc838,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x1a1e36,'position':_0x5e892f['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x1a1e36['focus']();},'onHide':()=>{_0x1a1e36['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x2d4548=>!A(_0x2d4548,_0x1a1e36['element'])}});}['_loadImageInfo'](_0x10006c,_0x31952e){return j['getInfo'](_0x10006c,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x3f7401=>{const {width:_0x467575,height:_0x512f7b}=_0x3f7401['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x31952e,this['imageDimension']={'width':_0x467575,'height':_0x512f7b},this['imageId']=_0x10006c;})['catch'](_0x5eee6e=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x5eee6e['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0xf554b2,_0x145d0b){return this['_getImageAsFile'](_0xf554b2)['then'](_0xf7849=>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':_0x145d0b['signal'],'file':_0xf7849,'onProgress':_0x167c8c=>{_0x167c8c&&_0x167c8c['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x167c8c['value']));}}))['then'](_0x2fc06b=>{const {width:_0x355d3f,height:_0x4c145c}=_0x2fc06b['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x2fc06b['cdnUrl'],this['imageDimension']={'width':_0x355d3f,'height':_0x4c145c},this['imageId']=_0x2fc06b['uuid'],this['imageUploadProgress']=null;const _0x251aba=_0xf554b2['getAttribute']('src');this['_imageCache']['set'](_0x251aba,{'id':_0x2fc06b['uuid'],'url':_0x2fc06b['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x432bf2=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x432bf2['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x4f6ad8,_0x4567d7){_0x4f6ad8['on']('apply',(_0x34b683,_0x2ba5b0)=>{this['_replaceImage'](_0x4567d7,_0x2ba5b0['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x4f6ad8['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x4f6ad8['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x32bc1c,_0x21e320,_0x4ee75a){const _0x4f286d=this['_editor'],{width:_0x11b3c4,height:_0x34ad2c}=S(_0x21e320,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x4c9778,imageSources:_0x16feb1}=C(_0x21e320,_0x11b3c4);_0x4f286d['model']['change'](_0x495deb=>{if('$graveyard'===_0x32bc1c['root']['rootName']){_0x4f286d['execute']('insertImage',{'imageType':_0x32bc1c['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x32bc1c['getAttributes']()),'uploadcareImageId':_0x4ee75a,'src':_0x4c9778,'sources':_0x16feb1,'width':_0x11b3c4,'height':_0x34ad2c}});const _0x345205=_0x32bc1c['getChildren']();_0x32bc1c=_0x4f286d['model']['document']['selection']['getSelectedElement']();for(const _0x5c4041 of _0x345205)_0x495deb['append'](_0x495deb['cloneElement'](_0x5c4041),_0x32bc1c);}else _0x495deb['setSelection'](_0x32bc1c,'on'),_0x4f286d['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x32bc1c['getAttributes']()),'uploadcareImageId':_0x4ee75a,'src':_0x4c9778,'sources':_0x16feb1,'width':_0x11b3c4,'height':_0x34ad2c},_0x32bc1c);_0x495deb['setSelection'](_0x32bc1c,'on');});}async['_getImageAsFile'](_0x4fed0d){const _0x203ab1=_0x18ade0['window'],_0x5d4205=_0x18ade0['document']['location']['href'],_0x473f75=new _0x203ab1['URL'](_0x4fed0d['getAttribute']('src'),_0x5d4205);if('data:'===_0x473f75['protocol']){const _0xebeffa=_0x473f75['href']['split'](','),_0x2aa735=_0xebeffa[0x0]['match'](/:(.*?);/)[0x1],_0x538d83=_0x2aa735['split']('/')[0x1],_0x2dc595=_0x203ab1['atob'](_0xebeffa[_0xebeffa['length']-0x1]);let _0x2522a5=_0x2dc595['length'];const _0x8f0a11=new _0x203ab1['Uint8Array'](_0x2522a5);for(;_0x2522a5--;)_0x8f0a11[_0x2522a5]=_0x2dc595['charCodeAt'](_0x2522a5);return new _0x203ab1['File']([_0x8f0a11],'image.'+_0x538d83,{'type':_0x2aa735});}const _0x5a1dac=_0x473f75['href']['split']('/'),_0x32d92f=_0x5a1dac[_0x5a1dac['length']-0x1],_0x2a126b=_0x32d92f['split']('.')[0x1];return _0x203ab1['fetch'](_0x473f75['href'])['then'](_0x3954c2=>_0x3954c2['clone']()['blob']())['then'](_0x3051f6=>new _0x203ab1['File']([_0x3051f6],_0x32d92f,{'type':'image/'+_0x2a126b}));}}class O extends _0x49e9af{['imageEditController'];static get['requires'](){return[_0x4b34c2];}['_isEditable'];constructor(_0x1a46b1){super(_0x1a46b1),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x22b057){const _0x477e98=G(_0x22b057);return _0x1d7cf5=>!(!_0x1d7cf5||!_0x1d7cf5['is']('element','imageBlock')&&!_0x1d7cf5['is']('element','imageInline'))&&(!!_0x1d7cf5['hasAttribute']('uploadcareImageId')||!!_0x1d7cf5['hasAttribute']('src')&&_0x477e98(_0x1d7cf5['getAttribute']('src')));}(_0x1a46b1['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x5b225a=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x5b225a);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x325935=this['editor']['model']['document']['selection']['getSelectedElement']();_0x325935&&(_0x325935['is']('element','imageBlock')||_0x325935['is']('element','imageInline'))&&(this['imageEditController']=new E(this['editor'],this['editor']['plugins']['get'](_0x4b34c2),_0x325935),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class R extends _0x49e9af{['refresh'](){const _0x492084=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x492084&&(_0x492084['is']('element','imageBlock')||_0x492084['is']('element','imageInline')));}['execute'](_0x2c04bb){const _0x4bc610=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x5ede49=>{_0x5ede49['setAttributes'](_0x2c04bb,_0x4bc610),_0x5ede49['removeAttribute']('srcset',_0x4bc610),_0x5ede49['removeAttribute']('sizes',_0x4bc610);});}}class m extends _0x40f43f{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[o,_0x5ddf90,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x3107d4}=this;_0x3107d4['commands']['add']('uploadcareImageEdit',new O(_0x3107d4)),_0x3107d4['commands']['add']('uploadcareImageReplace',new R(_0x3107d4));}}class g extends _0x40f43f{['_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 _0x1ef6db=this['editor'];_0x1ef6db['ui']['componentFactory']['add']('uploadcareImageEdit',_0x32207f=>{const _0x490560=_0x1ef6db['commands']['get']('uploadcareImageEdit'),_0x5d9edf=new _0x36a838(_0x32207f),t=_0x32207f['t'];return _0x5d9edf['set']({'icon':_0x1cc838,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x5d9edf['bind']('isEnabled')['to'](_0x490560),_0x5d9edf['bind']('isOn')['to'](_0x490560,'isActive'),this['listenTo'](_0x5d9edf,'execute',()=>{_0x1ef6db['execute']('uploadcareImageEdit'),_0x1ef6db['editing']['view']['focus']();}),_0x5d9edf;}),this['_initConfig']();}['_initConfig'](){const _0x3f087d=_0x5e85be(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x3f087d),this['listenTo'](this['editor'],'destroy',()=>{_0x3f087d['remove']();});}}class et extends _0x40f43f{static get['pluginName'](){return'UploadcareImageEdit';}static get['requires'](){return[m,g];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{tt as Uploadcare,w as UploadcareCommand,o as UploadcareEditing,et as UploadcareImageEdit,O as UploadcareImageEditCommand,m as UploadcareImageEditEditing,g as UploadcareImageEditUI,e as UploadcareUI,f as UploadcareUploadAdapter};
23
+ import{Plugin as _0x4779cf,Command as _0x13eeb9}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x313f56,IconGooglePhotos as _0x3179b6,IconGoogleDrive as _0x45b839,IconFacebook as _0x1b8a7f,IconDropbox as _0x59b998,IconUploadcareLink as _0x38ea51,IconUploadcareImageUpload as _0x3dfce2,IconError as _0xbd048f,IconUploadcareImageEdit as _0x3ae70f}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x1008af,MenuBarMenuListItemButtonView as _0x25b7de,View as _0x203cfa,FocusCycler as _0x575577,Dialog as _0x423b6,DialogViewPosition as _0x598f47,SpinnerView as _0x549009,IconView as _0x17b942,Notification as _0x5c3b23}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x25c7cc,DomEmitterMixin as _0x545af5,global as _0x3ab659,getAncestors as _0x328469,ObservableMixin as _0x2a8919,uid as _0xc112e2,createElement as _0x41585f}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x34fd7a}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x45c7da,info as _0x2d58b8}from'@uploadcare/upload-client';import*as _0x3b84a6 from'@uploadcare/file-uploader';var i=function(_0x262e3f){return _0x262e3f['Local']='local',_0x262e3f['URL']='url',_0x262e3f['Dropbox']='dropbox',_0x262e3f['GDrive']='gdrive',_0x262e3f['Facebook']='facebook',_0x262e3f['GPhotos']='gphotos',_0x262e3f['OneDrive']='onedrive',_0x262e3f;}({});function _(_0x188508,_0x4fbe27,_0x526e24){const t=_0x188508['t'],_0x345fb3=_0x188508['t'];switch(_0x4fbe27){case i['Local']:return{'text':_0x345fb3('Insert'===_0x526e24?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x345fb3('From\x20computer')};case i['URL']:return{'text':'Insert'===_0x526e24?_0x345fb3('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x345fb3('Via\x20URL')};case i['Dropbox']:return{'text':t('Insert'===_0x526e24?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case i['Facebook']:return{'text':t('Insert'===_0x526e24?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case i['GDrive']:return{'text':t('Insert'===_0x526e24?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case i['GPhotos']:return{'text':t('Insert'===_0x526e24?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case i['OneDrive']:return{'text':t('Insert'===_0x526e24?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x4fbe27;}}class e extends _0x4779cf{['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 _0x5dba8d=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x2f7b17;for(const _0x55de3f in _0x5dba8d){const _0x135e6d=_0x55de3f,_0x3b5c41=_0x5dba8d[_0x135e6d];if('uploadcareLicenseKeyValid'==_0x3b5c41||'uploadcareLicenseKeyInvalid'==_0x3b5c41||'uploadcareLicenseKeyExpired'==_0x3b5c41||'uploadcareLicenseKeyDomainLimit'==_0x3b5c41||'uploadcareLicenseKeyNotAllowed'==_0x3b5c41||'uploadcareLicenseKeyEvaluationLimit'==_0x3b5c41||'uploadcareLicenseKeyTrialLimit'==_0x3b5c41||'uploadcareLicenseKeyUsageLimit'==_0x3b5c41){delete _0x5dba8d[_0x135e6d],_0x2f7b17=_0x3b5c41,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x2f7b17&&_0x5dba8d['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x2f7b17&&_0x5dba8d['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x2f7b17&&_0x5dba8d['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x2f7b17&&_0x5dba8d['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x2f7b17&&_0x5dba8d['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0x2f7b17&&_0x5dba8d['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0x2f7b17&&_0x5dba8d['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x484043}=this,_0x25f271=_0x484043['commands']['get']('uploadcare');if(!_0x25f271)return;const _0x5c68b5=this['_normalizeConfigSourceList'](_0x484043['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x20a07f,_0x4846df)=>{const _0x1b85dd=this['_getIntegrationKey'](_0x4846df['type']);return _0x20a07f[_0x1b85dd]||(_0x20a07f[_0x1b85dd]=[]),_0x20a07f[_0x1b85dd]['push'](_0x4846df),_0x20a07f;},{});_0x484043['plugins']['has']('ImageInsertUI')&&_0x484043['commands']['get']('uploadcare')&&Object['entries'](_0x5c68b5)['forEach'](([_0x16cbc0,_0x11e2d1])=>{_0x484043['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x16cbc0,'observable':()=>_0x25f271,'buttonViewCreator':()=>this['_createToolbarButton'](_0x11e2d1),'formViewCreator':()=>this['_createDropdownButtons'](_0x11e2d1),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x11e2d1),'override':'assetManager'!==_0x16cbc0});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x116eb6){const {locale:_0x2613d3}=this['editor'];return _0x116eb6['map'](_0x346c52=>{const _0x3161d5=_(_0x2613d3,_0x346c52,'Insert');switch(_0x346c52){case i['Local']:return{'icon':_0x3dfce2,'type':i['Local'],..._0x3161d5};case i['URL']:return{'icon':_0x38ea51,'type':i['URL'],..._0x3161d5};case i['Dropbox']:return{'icon':_0x59b998,'type':i['Dropbox'],..._0x3161d5};case i['Facebook']:return{'icon':_0x1b8a7f,'type':i['Facebook'],..._0x3161d5};case i['GDrive']:return{'icon':_0x45b839,'type':i['GDrive'],..._0x3161d5};case i['GPhotos']:return{'icon':_0x3179b6,'type':i['GPhotos'],..._0x3161d5};case i['OneDrive']:return{'icon':_0x313f56,'type':i['OneDrive'],..._0x3161d5};}});}['_getIntegrationKey'](_0x525e5f){switch(_0x525e5f){case i['Local']:return'upload';case i['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x431d49,_0x1c823f){const _0x15bdca=this['editor'],_0x24039c=new _0x431d49(_0x15bdca['locale']),_0x234ad9=_0x15bdca['commands']['get']('uploadcare');return _0x24039c['bind']('isEnabled')['to'](_0x234ad9),_0x24039c['on']('execute',()=>{_0x234ad9['execute'](_0x1c823f);}),_0x24039c;}['_createToolbarButton'](_0x5dd78b){const {locale:_0x893465}=this['editor'],_0x7a45c2=this['editor']['plugins']['get']('ImageInsertUI'),_0x3e36a6=_0x5dd78b[0x0],_0x3b9ab0=this['_createButton'](_0x1008af,_0x3e36a6['type']);return _0x3b9ab0['icon']=_0x3e36a6['icon'],_0x3b9ab0['bind']('label')['to'](_0x7a45c2,'isImageSelected',_0x2cbc3c=>_(_0x893465,_0x3e36a6['type'],_0x2cbc3c?'Replace':'Insert')['text']),_0x3b9ab0['tooltip']=!0x0,_0x3b9ab0;}['_createDropdownButtons'](_0x57fa99){const {locale:_0x450e39}=this['editor'],_0x459c50=this['editor']['plugins']['get']('ImageInsertUI');return _0x57fa99['map'](_0x16503f=>{const _0x1aa832=this['_createButton'](_0x1008af,_0x16503f['type']);return _0x1aa832['withText']=!0x0,_0x1aa832['icon']=_0x16503f['icon'],_0x1aa832['bind']('label')['to'](_0x459c50,'isImageSelected',_0x2bd495=>_(_0x450e39,_0x16503f['type'],_0x2bd495?'Replace':'Insert')['text']),_0x1aa832;});}['_createMenuBarButtons'](_0x505eab){return _0x505eab['map'](_0x368e5b=>{const _0x102567=this['_createButton'](_0x25b7de,_0x368e5b['type']);return _0x102567['icon']=_0x368e5b['icon'],_0x102567['label']=_0x368e5b['shortText'],_0x102567;});}}class F extends _0x203cfa{['focusTracker'];['focusCycler'];constructor(_0xe2f3e9){super(_0xe2f3e9),this['focusTracker']=new _0x25c7cc(),this['focusCycler']=new _0x575577({'focusables':this['createCollection'](),'focusTracker':this['focusTracker']});}['getFocusableElement'](){return{'tag':'div','attributes':{'aria-hidden':'true','tabindex':'0'},'on':{'focus':this['bindTemplate']['to'](()=>{this['focusCycler']['fire']('forwardCycle');})}};}}class x extends F{constructor(_0x35b8cd,_0x34e177){super(_0x35b8cd),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-'+_0x34e177}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function C(_0x39d9fc,_0x237097){const _0xf97a13=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x1ad5a8=>_0x1ad5a8<=_0x237097)['map'](_0x1a4803=>_0x39d9fc['replace'](/\/$/,'')+'/-/resize/'+_0x1a4803+'x/\x20'+_0x1a4803+'w');return{'imageFallbackUrl':_0x39d9fc,'imageSources':[{'srcset':_0xf97a13['join'](',\x20'),'sizes':'(max-width:\x20'+_0x237097+'px)\x20100vw,\x20'+_0x237097+'px','type':'image/webp'}]};}function S(_0x4d48dc,_0x4a5e8d,_0x232bb5){const _0x19bcd5=_0x4d48dc['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x19bcd5?parseInt(_0x19bcd5[0x1],0xa):_0x4a5e8d,'height':_0x19bcd5?parseInt(_0x19bcd5[0x2],0xa):_0x232bb5};}function p(_0x33102b,_0x1aa296){const _0x262d8d=new(_0x545af5())(),_0x200802=_0x33102b['plugins']['get']('ImageUtils'),_0x536743=_0x33102b['editing']['mapper']['toViewElement'](_0x1aa296),_0x47b0bb=_0x200802['findViewImgElement'](_0x536743),_0x65b5e0=_0x33102b['editing']['view']['domConverter']['viewToDom'](_0x47b0bb),_0x31c76a=_0x1aa296['getAttribute']('width'),_0x39515b=_0x1aa296['getAttribute']('height'),_0x2a6550='image-processing';_0x33102b['editing']['view']['change'](_0x7e047a=>{_0x7e047a['addClass'](_0x2a6550,_0x536743),_0x7e047a['setStyle']('aspect-ratio',_0x31c76a+'/'+_0x39515b,_0x47b0bb);}),_0x262d8d['listenTo'](_0x65b5e0,'load',()=>{_0x262d8d['stopListening'](_0x65b5e0,'load'),_0x33102b['editing']['view']['change'](_0x4a89a8=>{_0x4a89a8['removeClass'](_0x2a6550,_0x536743),_0x4a89a8['removeStyle']('aspect-ratio',_0x47b0bb);});});}function G(_0x1f5af1){if(Array['isArray'](_0x1f5af1)){const _0x3ca5b8=_0x1f5af1['map'](G);return _0x136d30=>_0x3ca5b8['some'](_0x37bc0d=>_0x37bc0d(_0x136d30));}if('origin'==_0x1f5af1){const _0x33fb66=_0x3ab659['window']['location']['origin'];return _0x1fb096=>new URL(_0x1fb096,_0x3ab659['document']['baseURI'])['origin']==_0x33fb66;}return'function'==typeof _0x1f5af1?_0x1f5af1:_0x1f5af1 instanceof RegExp?_0x4879b9=>!(!_0x4879b9['match'](_0x1f5af1)&&!_0x4879b9['replace'](/^https?:\/\//,'')['match'](_0x1f5af1)):()=>!0x1;}function A(_0x62c0a1,_0x57219d){return _0x328469(_0x62c0a1['target'])['includes'](_0x57219d);}class n extends/* #__PURE__ -- @preserve */
24
+ _0x2a8919(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x4b0caf,_0x514dd9,_0x288b78){super(),this['_editor']=_0x4b0caf,this['_editing']=_0x514dd9,this['_dialog']=_0x4b0caf['plugins']['get'](_0x423b6),this['_api']=_0x514dd9['ctxElement']['getAPI'](),this['_type']=_0x288b78,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:_0x3e8bc9,model:_0x3489c4}=this['_editor'],_0x9333a8=_0x3489c4['document']['selection']['getSelectedElement'](),_0x54e82b=_0x9333a8&&(_0x9333a8['is']('element','imageBlock')||_0x9333a8['is']('element','imageInline'));this['_formView']=new x(_0x3e8bc9,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':_0x3dfce2,'title':_(_0x3e8bc9,this['_type'],_0x54e82b?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x598f47['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x1709db=>!A(_0x1709db,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x3c24df}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0xbb3ad6=>{const _0x5598b4=_0x3c24df['length'];for(const _0x52dedd of _0x3c24df){const _0x33c0ea=_0x52dedd===_0x3c24df[_0x5598b4-0x1],{cdnUrl:_0x9fc219,fileInfo:_0x886563}=_0x52dedd;if(!_0x9fc219||!_0x886563)continue;const {width:_0x585e8c,height:_0x23f062}=_0x886563['imageInfo'],_0x57aedc=S(_0x9fc219,_0x585e8c,_0x23f062),_0x534099=C(_0x9fc219,_0x57aedc['width']),_0x4bedea={'id':_0x886563['uuid'],'type':'image','attributes':{'imageDimension':_0x57aedc,..._0x534099}};this['_insertAsset'](_0x4bedea,_0x33c0ea,_0xbb3ad6);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x1c7528=>{'idle'===_0x1c7528['detail']['status']&&!_0x1c7528['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===i['Local']?this['_api']['setCurrentActivity'](i['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x91f568,_0x4c1a7e,_0x45dba8){const _0x3f82b9=this['_editor']['model']['document']['selection'],_0x4d12e3=_0x3f82b9['getSelectedElement'](),_0x286bf4=!(!_0x4d12e3||!_0x4d12e3['is']('element','imageInline'));_0x45dba8['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x91f568,_0x286bf4),_0x4c1a7e||_0x45dba8['setSelection'](_0x3f82b9['getLastPosition']());}['_insertImage'](_0x42938e,_0x230e90){const _0x18c85b=this['_editor'],{imageDimension:_0x549ede,imageFallbackUrl:_0x3d1fe4,imageSources:_0x2a2d80}=_0x42938e['attributes'];_0x18c85b['execute']('insertImage',{'imageType':_0x230e90?'imageInline':null,'source':{'uploadcareImageId':_0x42938e['id'],'src':_0x3d1fe4,'sources':_0x2a2d80,..._0x549ede}});}}class w extends _0x13eeb9{['_editing'];['_controller']=null;static get['requires'](){return[_0x423b6,o];}constructor(_0x4057ea){super(_0x4057ea),this['_editing']=_0x4057ea['plugins']['get'](o);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0xdabe6b){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new n(this['editor'],this['_editing'],_0xdabe6b);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class j{static['upload']({file:_0x4ab657,..._0x408c9d}){return _0x45c7da(_0x4ab657,_0x408c9d);}static['getInfo'](_0x48c167,_0x206df6){return _0x2d58b8(_0x48c167,_0x206df6);}}class f extends _0x4779cf{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x34fd7a,o];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x409cb4=this['editor'];if(!!!_0x409cb4['config']['get']('uploadcare'))return;_0x409cb4['plugins']['get'](_0x34fd7a)['createUploadAdapter']=_0x49821d=>new k(_0x49821d,_0x409cb4),_0x409cb4['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x2cfa33,{imageElement:_0x56b17,data:_0x10da74})=>{_0x409cb4['model']['change'](_0x80de73=>{_0x80de73['setAttribute']('uploadcareImageId',_0x10da74['uploadcareImageId'],_0x56b17);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x2dd8d4,_0x30a48a){this['loader']=_0x2dd8d4,this['editor']=_0x30a48a,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x4ac33e=await this['loader']['file'];return j['upload']({'file':_0x4ac33e,'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':_0x55207e=>{_0x55207e&&_0x55207e['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x55207e['value']);}})['then'](async _0x298d2b=>{const {imageFallbackUrl:_0x34bc98,imageSources:_0x20a962}=C(_0x298d2b['cdnUrl'],_0x298d2b['imageInfo']['width']);return{'uploadcareImageId':_0x298d2b['uuid'],'default':_0x34bc98,'sources':_0x20a962};})['catch'](()=>{const _0x45a88f=t('Cannot\x20upload\x20file:')+('\x20'+_0x4ac33e['name']+'.');return Promise['reject'](_0x45a88f);});}['abort'](){this['controller']['abort']();}}class o extends _0x4779cf{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',f,_0x423b6];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['ucContextId'];get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}constructor(_0x291a7c){super(_0x291a7c),this['ucContextId']=_0xc112e2();}['init'](){const _0x3bf18f=this['editor'];_0x3bf18f['commands']['add']('uploadcare',new w(_0x3bf18f));}['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 _0x5d116b=_0x3ab659['document']['querySelector']('input[uploadcare-file-input]');_0x5d116b&&_0x5d116b['remove']();}),async function(_0x5c8a0c){const _0x43f899=_0x409dd3([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]),_0x4f7eaf=0x535f8c3a,_0x501c30=0x5358f6e2^_0x4f7eaf,_0x273743=window[_0x409dd3([0x44,0x61,0x74,0x65])][_0x409dd3([0x6e,0x6f,0x77])](),_0x50b88e=_0x5c8a0c[_0x409dd3([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x37bd85=new window[(_0x409dd3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x58de04=>{_0x50b88e[_0x409dd3([0x6f,0x6e,0x63,0x65])](_0x409dd3([0x72,0x65,0x61,0x64,0x79]),_0x58de04);}),_0x2670e5={[_0x409dd3([0x6b,0x74,0x79])]:_0x409dd3([0x45,0x43]),[_0x409dd3([0x75,0x73,0x65])]:_0x409dd3([0x73,0x69,0x67]),[_0x409dd3([0x63,0x72,0x76])]:_0x409dd3([0x50,0x2d,0x32,0x35,0x36]),[_0x409dd3([0x78])]:_0x409dd3([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]),[_0x409dd3([0x79])]:_0x409dd3([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]),[_0x409dd3([0x61,0x6c,0x67])]:_0x409dd3([0x45,0x53,0x32,0x35,0x36])},_0x450f12=_0x50b88e[_0x409dd3([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x409dd3([0x67,0x65,0x74])](_0x409dd3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x9b7f93(){let _0x3e8640,_0x5e9e3e=null,_0x16459f=null;try{if(_0x450f12==_0x409dd3([0x47,0x50,0x4c]))return _0x409dd3([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3e8640=_0x14f135(),!_0x3e8640)return _0x409dd3([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x3e8640[_0x409dd3([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x16459f=_0x400096(_0x3e8640[_0x409dd3([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3e8640[_0x409dd3([0x6a,0x74,0x69])])),await _0x2d4476()?_0x5ad6c4()?_0x512eb8()?_0x409dd3([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4b0451()?(_0x3e8640[_0x409dd3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x409dd3([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x5e9e3e=_0x44f9c5(_0x409dd3([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x3e8640[_0x409dd3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x409dd3([0x74,0x72,0x69,0x61,0x6c])&&(_0x5e9e3e=_0x44f9c5(_0x409dd3([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x36322c()):_0x409dd3([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x409dd3([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x409dd3([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x409dd3([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x512eb8(){const _0x2febbd=[_0x409dd3([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x409dd3([0x74,0x72,0x69,0x61,0x6c])][_0x409dd3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3e8640[_0x409dd3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x273743/0x3e8:0xe10*_0x501c30;return _0x3e8640[_0x409dd3([0x65,0x78,0x70])]<_0x2febbd;}function _0x5ad6c4(){const _0x3b2cd4=_0x3e8640[_0x409dd3([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x3b2cd4&&(!!_0x3b2cd4[_0x409dd3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x409dd3([0x2a]))||!!_0x3b2cd4[_0x409dd3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x409dd3([0x55,0x50,0x4c,0x43])));}function _0x4b0451(){const _0x3ec143=_0x3e8640[_0x409dd3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3ec143||0x0==_0x3ec143[_0x409dd3([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x48d0bb}=new URL(window[_0x409dd3([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x3ec143[_0x409dd3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x48d0bb))return!0x0;const _0x125b4e=_0x48d0bb[_0x409dd3([0x73,0x70,0x6c,0x69,0x74])](_0x409dd3([0x2e]));return _0x3ec143[_0x409dd3([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x42d3a3=>_0x42d3a3[_0x409dd3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x409dd3([0x2a])))[_0x409dd3([0x6d,0x61,0x70])](_0x5866c0=>_0x5866c0[_0x409dd3([0x73,0x70,0x6c,0x69,0x74])](_0x409dd3([0x2e])))[_0x409dd3([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3cea6e=>_0x3cea6e[_0x409dd3([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x125b4e[_0x409dd3([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x409dd3([0x6d,0x61,0x70])](_0x1b109d=>Array(_0x125b4e[_0x409dd3([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x1b109d[_0x409dd3([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x409dd3([0x66,0x69,0x6c,0x6c])](_0x1b109d[0x0]===_0x409dd3([0x2a])?_0x409dd3([0x2a]):'')[_0x409dd3([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x1b109d))[_0x409dd3([0x73,0x6f,0x6d,0x65])](_0x47c1b2=>_0x125b4e[_0x409dd3([0x65,0x76,0x65,0x72,0x79])]((_0x334b72,_0x17799e)=>_0x47c1b2[_0x17799e]===_0x334b72||_0x47c1b2[_0x17799e]===_0x409dd3([0x2a])));}function _0x36322c(){return _0x5e9e3e&&_0x16459f?new window[(_0x409dd3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xd34cc4,_0x509bf2)=>{_0x5e9e3e[_0x409dd3([0x74,0x68,0x65,0x6e])](_0xd34cc4,_0x509bf2),_0x16459f[_0x409dd3([0x74,0x68,0x65,0x6e])](_0x2ca64f=>{_0x2ca64f!=_0x409dd3([0x56,0x61,0x6c,0x69,0x64])&&_0xd34cc4(_0x2ca64f);},_0x509bf2);}):_0x5e9e3e||_0x16459f||_0x409dd3([0x56,0x61,0x6c,0x69,0x64]);}}function _0x400096(_0x554c97,_0x3d04eb){return new window[(_0x409dd3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xadfe6e=>{if(_0xe2d8c1())return _0xadfe6e(_0x409dd3([0x56,0x61,0x6c,0x69,0x64]));_0x52ccdb(),_0x50b88e[_0x409dd3([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x409dd3([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x389ab4=!0x1;const _0x1b3911=_0xc112e2();function _0x1579bc(_0x477eb3){return!!_0x477eb3&&(typeof _0x477eb3===_0x409dd3([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x477eb3===_0x409dd3([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x477eb3[_0x409dd3([0x74,0x68,0x65,0x6e])]===_0x409dd3([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x477eb3[_0x409dd3([0x63,0x61,0x74,0x63,0x68])]===_0x409dd3([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3b0a2a(_0x9ac8b2){_0x17de20(_0x9ac8b2)[_0x409dd3([0x74,0x68,0x65,0x6e])](_0x3f7d0a=>{if(!_0x3f7d0a||_0x3f7d0a[_0x409dd3([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x409dd3([0x6f,0x6b]))return _0x409dd3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x293047(_0xc6c6a4(_0x1b3911+_0x3d04eb))!=_0x3f7d0a[_0x409dd3([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x409dd3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x409dd3([0x56,0x61,0x6c,0x69,0x64]);})[_0x409dd3([0x74,0x68,0x65,0x6e])](_0x392980=>(_0x21fd3f(),_0x392980),()=>{const _0x406c2c=_0x31692f();return null==_0x406c2c?(_0x21fd3f(),_0x409dd3([0x56,0x61,0x6c,0x69,0x64])):_0x409dd3(_0x273743-_0x406c2c>(0x7753083a^_0x4f7eaf)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x409dd3([0x74,0x68,0x65,0x6e])](_0xadfe6e)[_0x409dd3([0x63,0x61,0x74,0x63,0x68])](()=>{_0xadfe6e(_0x409dd3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x4865d0=0x536962ba^_0x4f7eaf;function _0x21fd3f(){const _0x142617=_0x409dd3([0x6c,0x6c,0x63,0x74,0x2d])+_0x293047(_0xc6c6a4(_0x554c97)),_0x4f4d53=_0x4cbbc7(_0x293047(window[_0x409dd3([0x4d,0x61,0x74,0x68])][_0x409dd3([0x63,0x65,0x69,0x6c])](_0x273743/_0x4865d0)));window[_0x409dd3([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x409dd3([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x142617,_0x4f4d53);}function _0x31692f(){const _0x1652e5=_0x409dd3([0x6c,0x6c,0x63,0x74,0x2d])+_0x293047(_0xc6c6a4(_0x554c97)),_0x5eba8e=window[_0x409dd3([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x409dd3([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1652e5);return _0x5eba8e?window[_0x409dd3([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4cbbc7(_0x5eba8e),0x10)*_0x4865d0:null;}function _0x17de20(_0x19ea4e){return new window[(_0x409dd3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1984b0,_0x3533bb)=>{_0x19ea4e[_0x409dd3([0x74,0x68,0x65,0x6e])](_0x1984b0,_0x3533bb),window[_0x409dd3([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3533bb,0x535e58fa^_0x4f7eaf);});}}_0x50b88e[_0x409dd3([0x6f,0x6e])](_0x409dd3([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4458c8,_0x1cdcad)=>{if(_0x1cdcad[0x0]!=_0x554c97)return _0xadfe6e(_0x409dd3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1cdcad[0x1]={..._0x1cdcad[0x1],[_0x409dd3([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1b3911};},{[_0x409dd3([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x409dd3([0x68,0x69,0x67,0x68])}),_0x50b88e[_0x409dd3([0x6f,0x6e])](_0x409dd3([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4e3de4=>{_0x1579bc(_0x4e3de4[_0x409dd3([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x389ab4=!0x0,_0x3b0a2a(_0x4e3de4[_0x409dd3([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x409dd3([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x409dd3([0x6c,0x6f,0x77])}),_0x37bd85[_0x409dd3([0x74,0x68,0x65,0x6e])](()=>{_0x389ab4||_0xadfe6e(_0x409dd3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0xe2d8c1(){return _0x50b88e[_0x409dd3([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x409dd3([0x76,0x69,0x65,0x77])][_0x409dd3([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x409dd3([0x61,0x75,0x74,0x6f]);}function _0x52ccdb(){_0x50b88e[_0x409dd3([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x409dd3([0x76,0x69,0x65,0x77])][_0x409dd3([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x409dd3([0x61,0x75,0x74,0x6f]);}}function _0x44f9c5(_0xcd131b){const _0x33f4bb=[new window[(_0x409dd3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x55fe22=>setTimeout(_0x55fe22,0x5356b2f6^_0x4f7eaf)),_0x37bd85[_0x409dd3([0x74,0x68,0x65,0x6e])](()=>new window[(_0x409dd3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x308136=>{let _0x41a65a=0x0;_0x50b88e[_0x409dd3([0x6d,0x6f,0x64,0x65,0x6c])][_0x409dd3([0x6f,0x6e])](_0x409dd3([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1baf1c,_0x10c482)=>{_0x10c482[0x0][_0x409dd3([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x41a65a++,_0x41a65a==(0x535f8dc2^_0x4f7eaf)&&(_0x308136(),_0x1baf1c[_0x409dd3([0x6f,0x66,0x66])]());});}))];return window[_0x409dd3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x409dd3([0x72,0x61,0x63,0x65])](_0x33f4bb)[_0x409dd3([0x74,0x68,0x65,0x6e])](()=>_0xcd131b);}async function _0x567cc7(){await _0x37bd85,_0x50b88e[_0x409dd3([0x6d,0x6f,0x64,0x65,0x6c])][_0x409dd3([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x423944,_0x50b88e[_0x409dd3([0x6d,0x6f,0x64,0x65,0x6c])][_0x409dd3([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x423944,_0x50b88e[_0x409dd3([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x409dd3([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x274f5d(_0x289f96){const _0x349f34=_0x4fd09d();_0x50b88e[_0x349f34]=_0x409dd3([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x289f96,_0x289f96!=_0x409dd3([0x56,0x61,0x6c,0x69,0x64])&&_0x567cc7();}function _0x4fd09d(){const _0x72ec2c=window[_0x409dd3([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x409dd3([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x409dd3([0x6e,0x6f,0x77])]())[_0x409dd3([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x409dd3([0x2e]),'');let _0x10e854=_0x409dd3([0x68]);for(let _0x34a86f=0x0;_0x34a86f<_0x72ec2c[_0x409dd3([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x34a86f+=0x2){let _0x2973b1=window[_0x409dd3([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x72ec2c[_0x409dd3([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x34a86f,_0x34a86f+0x2));_0x2973b1>=_0x43f899[_0x409dd3([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2973b1-=_0x43f899[_0x409dd3([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x10e854+=_0x43f899[_0x2973b1];}return _0x10e854;}function _0x14f135(){const _0x146080=_0x450f12[_0x409dd3([0x73,0x70,0x6c,0x69,0x74])](_0x409dd3([0x2e]));if(0x3!=_0x146080[_0x409dd3([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x508372(_0x146080[0x1]);function _0x508372(_0x5787fc){const _0x58c957=_0x1b5313(_0x5787fc);return _0x58c957&&_0x47abfa()?_0x58c957:null;function _0x47abfa(){const _0x4a7008=_0x58c957[_0x409dd3([0x6a,0x74,0x69])],_0x2f753a=window[_0x409dd3([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4a7008[_0x409dd3([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4a7008[_0x409dd3([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x325623={..._0x58c957,[_0x409dd3([0x6a,0x74,0x69])]:_0x4a7008[_0x409dd3([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4a7008[_0x409dd3([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x325623[_0x409dd3([0x76,0x63])],_0xc6c6a4(_0x325623)==_0x2f753a;}}}async function _0x2d4476(){let _0x2b6ad1=!0x0;try{const _0xa1fc05=_0x450f12[_0x409dd3([0x73,0x70,0x6c,0x69,0x74])](_0x409dd3([0x2e])),[_0x4a30d6,_0x58bc33,_0x1d3bac]=_0xa1fc05;return _0x52e0df(_0x4a30d6),await _0x2babd8(_0x4a30d6,_0x58bc33,_0x1d3bac),_0x2b6ad1;}catch{return!0x1;}function _0x52e0df(_0x2bbbe9){const _0x35478a=_0x1b5313(_0x2bbbe9);_0x35478a&&_0x35478a[_0x409dd3([0x61,0x6c,0x67])]==_0x409dd3([0x45,0x53,0x32,0x35,0x36])||(_0x2b6ad1=!0x1);}async function _0x2babd8(_0x456645,_0x12a8db,_0x57ddf2){const _0x2d2b75=window[_0x409dd3([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x409dd3([0x66,0x72,0x6f,0x6d])](_0x3bfad5(_0x57ddf2),_0x2e3da9=>_0x2e3da9[_0x409dd3([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x85f34f=new window[(_0x409dd3([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x409dd3([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x456645+_0x409dd3([0x2e])+_0x12a8db),_0x176b53=window[_0x409dd3([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x409dd3([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x176b53)return;const _0x521b63=await _0x176b53[_0x409dd3([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x409dd3([0x6a,0x77,0x6b]),_0x2670e5,{[_0x409dd3([0x6e,0x61,0x6d,0x65])]:_0x409dd3([0x45,0x43,0x44,0x53,0x41]),[_0x409dd3([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x409dd3([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x409dd3([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x176b53[_0x409dd3([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x409dd3([0x6e,0x61,0x6d,0x65])]:_0x409dd3([0x45,0x43,0x44,0x53,0x41]),[_0x409dd3([0x68,0x61,0x73,0x68])]:{[_0x409dd3([0x6e,0x61,0x6d,0x65])]:_0x409dd3([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x521b63,_0x2d2b75,_0x85f34f)||(_0x2b6ad1=!0x1);}}function _0x1b5313(_0x15e670){return _0x15e670[_0x409dd3([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x409dd3([0x65,0x79]))?JSON[_0x409dd3([0x70,0x61,0x72,0x73,0x65])](_0x3bfad5(_0x15e670)):null;}function _0x3bfad5(_0x3d2b34){return window[_0x409dd3([0x61,0x74,0x6f,0x62])](_0x3d2b34[_0x409dd3([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x409dd3([0x2b]))[_0x409dd3([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x409dd3([0x2f])));}function _0xc6c6a4(_0x1366be){let _0x57783f=0x1505;function _0x3b175e(_0x56efd1){for(let _0x57faf2=0x0;_0x57faf2<_0x56efd1[_0x409dd3([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x57faf2++){const _0x178b32=_0x56efd1[_0x409dd3([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x57faf2);_0x57783f=(_0x57783f<<0x5)+_0x57783f+_0x178b32,_0x57783f&=_0x57783f;}}function _0xd72cf8(_0x3226d7){Array[_0x409dd3([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x3226d7)?_0x3226d7[_0x409dd3([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0xd72cf8):_0x3226d7&&typeof _0x3226d7==_0x409dd3([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x409dd3([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x3226d7)[_0x409dd3([0x73,0x6f,0x72,0x74])]()[_0x409dd3([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x579900,_0x1ad65f])=>{_0x3b175e(_0x579900),_0xd72cf8(_0x1ad65f);}):_0x3b175e(window[_0x409dd3([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x3226d7));}return _0xd72cf8(_0x1366be),_0x57783f>>>0x0;}function _0x293047(_0x1f7981){return _0x1f7981[_0x409dd3([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x409dd3([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x409dd3([0x30]));}function _0x4cbbc7(_0x572d78){return _0x572d78[_0x409dd3([0x73,0x70,0x6c,0x69,0x74])]('')[_0x409dd3([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x409dd3([0x6a,0x6f,0x69,0x6e])]('');}function _0x423944(){}function _0x409dd3(_0x26bacc){return _0x26bacc['map'](_0x298511=>String['fromCharCode'](_0x298511))['join']('');}_0x274f5d(await _0x9b7f93());}(this);}['_initSchema'](){const _0x4b2b23=this['editor']['model']['schema'];_0x4b2b23['isRegistered']('imageBlock')&&_0x4b2b23['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x4b2b23['isRegistered']('imageInline')&&_0x4b2b23['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x30f7ae=this['editor'];_0x30f7ae['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x30f7ae['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x50a1df=>_0x50a1df['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x4835e7=_0x30f7ae['commands']['get']('replaceImageSource');_0x4835e7&&this['listenTo'](_0x4835e7,'cleanupImage',(_0x300c9c,[_0x5e5d34,_0x52836e])=>{_0x5e5d34['removeAttribute']('uploadcareImageId',_0x52836e);});}['_initConfig'](){const _0x3ea9ad=this['editor']['config']['get']('uploadcare.uploader')||{},_0xb93971=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x41585f(_0x3ab659['document'],'uc-config',{..._0x3ea9ad,'pubkey':_0xb93971,'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']=_0x5ae00e=>{if('closeMax'==_0x5ae00e)return'#uc-icon-arrow-down';},_0x3ab659['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x41585f(_0x3ab659['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),_0x3ab659['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x1a5439=this['editor']['commands']['get']('insertImage');_0x1a5439&&this['listenTo'](_0x1a5439,'execute',()=>{const _0x5941f7=this['editor']['model']['document']['selection']['getSelectedElement']();_0x5941f7&&_0x5941f7['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x5941f7);});});const _0x43a836=this['editor']['commands']['get']('uploadcareImageReplace');_0x43a836&&this['listenTo'](_0x43a836,'execute',()=>{const _0x577918=this['editor']['model']['document']['selection']['getSelectedElement']();_0x577918&&_0x577918['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x577918);});});}}class tt extends _0x4779cf{static get['requires'](){return[o,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x3290d7){super(_0x3290d7),_0x3290d7['config']['define']('uploadcare.uploader.sourceList',[i['Local'],i['URL']]),_0x3b84a6['defineComponents'](_0x3b84a6),this['_defineLocale']();}['_defineLocale'](){const _0x2630db=this['editor']['config']['get']('uploadcare.locale'),_0x1c0057=this['editor']['locale']['contentLanguage'];_0x2630db&&_0x3b84a6['defineLocale'](_0x1c0057,_0x2630db);}}class ii extends _0x203cfa{constructor(_0xa48efe){super(_0xa48efe);const t=_0xa48efe['t'],_0x56c914=this['bindTemplate'],_0x1836b4=new _0x549009();_0x1836b4['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':[_0x1836b4,{'text':_0x56c914['to']('imageUploadProgress',_0x4a0f11=>t('Loading\x20image...')+'\x20('+(_0x4a0f11||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 _0x203cfa{constructor(_0x229d20){super(_0x229d20);const t=_0x229d20['t'];this['set']('errorType',null);const _0x420000=new _0x1008af(_0x229d20);_0x420000['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x420000['withText']=!0x0,_0x420000['class']='ck-button-action',_0x420000['on']('execute',()=>{this['fire']('retry');}),_0x420000['bind']('isVisible')['to'](this,'errorType',_0x4bfd00=>'NotFound'!==_0x4bfd00);const _0x2eb7d6=new _0x17b942();_0x2eb7d6['content']=_0xbd048f,_0x2eb7d6['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x3e1208=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':[_0x2eb7d6,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x3e1208['to']('errorType',_0x127e2a=>t('NotFound'!==_0x127e2a?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x420000]},{'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 _0x203cfa{constructor(_0x56a8bb,_0x573e39){super(_0x56a8bb);const _0x58cb00=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x573e39,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x58cb00['to']('imageSrc')}});}}class X extends F{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x4aa803,_0x3fc885,_0x1f47d7){super(_0x4aa803),this['_items']=this['createCollection'](),this['_loadingView']=new ii(_0x4aa803),this['_errorView']=new ti(_0x4aa803),this['_editingView']=new ei(_0x4aa803,_0x1f47d7),this['_focusableView']=new _0x203cfa(_0x4aa803),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x3fc885),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'],_0x1266de=>{this['_addUploadcareImageEditorListeners'](_0x1266de);});}),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'](_0x50a3cc,_0x54cb68){const _0x1bd520='uc-cloud-image-editor',_0x5b10dc=_0x50a3cc['querySelector'](_0x1bd520);if(_0x5b10dc)return _0x54cb68(_0x5b10dc);const _0x5898bb=new MutationObserver(_0xffa657=>{const _0x51623c=_0xffa657['filter'](_0x41ed5f=>_0x41ed5f['target']===_0x50a3cc&&_0x41ed5f['addedNodes']['length']>0x0&&_0x41ed5f['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x1bd520);_0x51623c['length']&&(_0x5898bb['disconnect'](),_0x54cb68(_0x51623c[0x0]['addedNodes'][0x0]));});_0x5898bb['observe'](_0x50a3cc,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x1d4cc8){_0x1d4cc8['addEventListener']('apply',_0xfe6963=>{this['fire']('apply',{'imageSrc':_0xfe6963['detail']['cdnUrl']});}),_0x1d4cc8['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class E extends/* #__PURE__ -- @preserve */
25
+ _0x2a8919(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x24a829,_0x54734d,_0x339893){super(),this['_editor']=_0x24a829,this['_dialog']=_0x54734d,this['_imageElement']=_0x339893,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 _0x1302a9=this['_imageElement'],_0x25a562=_0x1302a9['getAttribute']('uploadcareImageId'),_0x548fc2=_0x1302a9['getAttribute']('src');if(_0x25a562)await this['_loadImageInfo'](_0x25a562,_0x548fc2);else{if(this['_imageCache']['has'](_0x548fc2)){const _0x383b71=this['_imageCache']['get'](_0x548fc2);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x383b71['url'],this['imageDimension']=_0x383b71['dimension'],this['imageId']=_0x383b71['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x409e71}=this['_editor'],t=_0x409e71['t'],_0x4257fd=new X(_0x409e71,this['imageStatus'],this['_attributes']);_0x4257fd['bind']('status')['to'](this,'imageStatus'),_0x4257fd['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x4257fd['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x4257fd['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x4257fd,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x3ae70f,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x4257fd,'position':_0x598f47['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x4257fd['focus']();},'onHide':()=>{_0x4257fd['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x382d42=>!A(_0x382d42,_0x4257fd['element'])}});}['_loadImageInfo'](_0x50b2f8,_0x2ef9de){return j['getInfo'](_0x50b2f8,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x1a9e43=>{const {width:_0xf7780e,height:_0xe643bf}=_0x1a9e43['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x2ef9de,this['imageDimension']={'width':_0xf7780e,'height':_0xe643bf},this['imageId']=_0x50b2f8;})['catch'](_0x31ea59=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x31ea59['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x3aee8e,_0x2acdf1){return this['_getImageAsFile'](_0x3aee8e)['then'](_0x1599ff=>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':_0x2acdf1['signal'],'file':_0x1599ff,'onProgress':_0x32f0af=>{_0x32f0af&&_0x32f0af['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x32f0af['value']));}}))['then'](_0x56f80e=>{const {width:_0x372ae0,height:_0x45ee2c}=_0x56f80e['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x56f80e['cdnUrl'],this['imageDimension']={'width':_0x372ae0,'height':_0x45ee2c},this['imageId']=_0x56f80e['uuid'],this['imageUploadProgress']=null;const _0x4693af=_0x3aee8e['getAttribute']('src');this['_imageCache']['set'](_0x4693af,{'id':_0x56f80e['uuid'],'url':_0x56f80e['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x5dfb8f=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x5dfb8f['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x3391b,_0x29e408){_0x3391b['on']('apply',(_0xd6a83c,_0x54bc3f)=>{this['_replaceImage'](_0x29e408,_0x54bc3f['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x3391b['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x3391b['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x1193af,_0x4060c2,_0x3adac4){const _0x109e59=this['_editor'],{width:_0x282e7c,height:_0x4983a9}=S(_0x4060c2,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x1a8615,imageSources:_0x4484e4}=C(_0x4060c2,_0x282e7c);_0x109e59['model']['change'](_0x810476=>{if('$graveyard'===_0x1193af['root']['rootName']){_0x109e59['execute']('insertImage',{'imageType':_0x1193af['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x1193af['getAttributes']()),'uploadcareImageId':_0x3adac4,'src':_0x1a8615,'sources':_0x4484e4,'width':_0x282e7c,'height':_0x4983a9}});const _0x5558e5=_0x1193af['getChildren']();_0x1193af=_0x109e59['model']['document']['selection']['getSelectedElement']();for(const _0x1e25c4 of _0x5558e5)_0x810476['append'](_0x810476['cloneElement'](_0x1e25c4),_0x1193af);}else _0x810476['setSelection'](_0x1193af,'on'),_0x109e59['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x1193af['getAttributes']()),'uploadcareImageId':_0x3adac4,'src':_0x1a8615,'sources':_0x4484e4,'width':_0x282e7c,'height':_0x4983a9},_0x1193af);_0x810476['setSelection'](_0x1193af,'on');});}async['_getImageAsFile'](_0x3e4ae2){const _0x499865=_0x3ab659['window'],_0x292da0=_0x3ab659['document']['location']['href'],_0x11e0b2=new _0x499865['URL'](_0x3e4ae2['getAttribute']('src'),_0x292da0);if('data:'===_0x11e0b2['protocol']){const _0x187c6a=_0x11e0b2['href']['split'](','),_0x218733=_0x187c6a[0x0]['match'](/:(.*?);/)[0x1],_0xb8f843=_0x218733['split']('/')[0x1],_0x20059e=_0x499865['atob'](_0x187c6a[_0x187c6a['length']-0x1]);let _0x46d202=_0x20059e['length'];const _0x4f6f04=new _0x499865['Uint8Array'](_0x46d202);for(;_0x46d202--;)_0x4f6f04[_0x46d202]=_0x20059e['charCodeAt'](_0x46d202);return new _0x499865['File']([_0x4f6f04],'image.'+_0xb8f843,{'type':_0x218733});}const _0x247a17=_0x11e0b2['href']['split']('/'),_0xcf003c=_0x247a17[_0x247a17['length']-0x1],_0x5caf3b=_0xcf003c['split']('.')[0x1];return _0x499865['fetch'](_0x11e0b2['href'])['then'](_0x5c3fe6=>_0x5c3fe6['clone']()['blob']())['then'](_0x3d8553=>new _0x499865['File']([_0x3d8553],_0xcf003c,{'type':'image/'+_0x5caf3b}));}}class O extends _0x13eeb9{['imageEditController'];static get['requires'](){return[_0x423b6];}['_isEditable'];constructor(_0x5622f3){super(_0x5622f3),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x35959a){const _0x4684a8=G(_0x35959a);return _0x19c0d8=>!(!_0x19c0d8||!_0x19c0d8['is']('element','imageBlock')&&!_0x19c0d8['is']('element','imageInline'))&&(!!_0x19c0d8['hasAttribute']('uploadcareImageId')||!!_0x19c0d8['hasAttribute']('src')&&_0x4684a8(_0x19c0d8['getAttribute']('src')));}(_0x5622f3['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x3a0d80=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x3a0d80);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x348a37=this['editor']['model']['document']['selection']['getSelectedElement']();_0x348a37&&(_0x348a37['is']('element','imageBlock')||_0x348a37['is']('element','imageInline'))&&(this['imageEditController']=new E(this['editor'],this['editor']['plugins']['get'](_0x423b6),_0x348a37),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class R extends _0x13eeb9{['refresh'](){const _0x551afe=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x551afe&&(_0x551afe['is']('element','imageBlock')||_0x551afe['is']('element','imageInline')));}['execute'](_0x351c16){const _0x4e3536=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x4dd3fb=>{_0x4dd3fb['setAttributes'](_0x351c16,_0x4e3536),_0x4dd3fb['removeAttribute']('srcset',_0x4e3536),_0x4dd3fb['removeAttribute']('sizes',_0x4e3536);});}}class m extends _0x4779cf{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[o,_0x5c3b23,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x1a8ca4}=this;_0x1a8ca4['commands']['add']('uploadcareImageEdit',new O(_0x1a8ca4)),_0x1a8ca4['commands']['add']('uploadcareImageReplace',new R(_0x1a8ca4));}}class g extends _0x4779cf{['_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 _0x1330fb=this['editor'];_0x1330fb['ui']['componentFactory']['add']('uploadcareImageEdit',_0x9798=>{const _0x35b655=_0x1330fb['commands']['get']('uploadcareImageEdit'),_0x508640=new _0x1008af(_0x9798),t=_0x9798['t'];return _0x508640['set']({'icon':_0x3ae70f,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x508640['bind']('isEnabled')['to'](_0x35b655),_0x508640['bind']('isOn')['to'](_0x35b655,'isActive'),this['listenTo'](_0x508640,'execute',()=>{_0x1330fb['execute']('uploadcareImageEdit'),_0x1330fb['editing']['view']['focus']();}),_0x508640;}),this['_initConfig']();}['_initConfig'](){const _0x50d3bc=_0x41585f(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x50d3bc),this['listenTo'](this['editor'],'destroy',()=>{_0x50d3bc['remove']();});}}class et extends _0x4779cf{static get['pluginName'](){return'UploadcareImageEdit';}static get['requires'](){return[m,g];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{tt as Uploadcare,w as UploadcareCommand,o as UploadcareEditing,et as UploadcareImageEdit,O as UploadcareImageEditCommand,m as UploadcareImageEditEditing,g as UploadcareImageEditUI,e as UploadcareUI,f as UploadcareUploadAdapter};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'af':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x2f8221=>0x1!=_0x2f8221}};
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':_0x12b3dc=>0x1!=_0x12b3dc}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x4630ac=>{const {af:{dictionary:_0x2f7c55,getPluralForm:_0x1afdd5}}={'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':_0x45353f=>0x1!=_0x45353f}};_0x4630ac['af']||={'dictionary':{},'getPluralForm':null},_0x4630ac['af']['dictionary']=Object['assign'](_0x4630ac['af']['dictionary'],_0x2f7c55),_0x4630ac['af']['getPluralForm']=_0x1afdd5;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x4db851=>{const {af:{dictionary:_0x34db2b,getPluralForm:_0x20f647}}={'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':_0x5ce82=>0x1!=_0x5ce82}};_0x4db851['af']||={'dictionary':{},'getPluralForm':null},_0x4db851['af']['dictionary']=Object['assign'](_0x4db851['af']['dictionary'],_0x34db2b),_0x4db851['af']['getPluralForm']=_0x20f647;})(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':_0xcd30d0=>0x0==_0xcd30d0?0x0:0x1==_0xcd30d0?0x1:0x2==_0xcd30d0?0x2:_0xcd30d0%0x64>=0x3&&_0xcd30d0%0x64<=0xa?0x3:_0xcd30d0%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':_0x11fa1=>0x0==_0x11fa1?0x0:0x1==_0x11fa1?0x1:0x2==_0x11fa1?0x2:_0x11fa1%0x64>=0x3&&_0x11fa1%0x64<=0xa?0x3:_0x11fa1%0x64>=0xb?0x4:0x5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0xb5eddb=>{const {ar:{dictionary:_0x4eaab5,getPluralForm:_0xf1b748}}={'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':_0x2eae1f=>0x0==_0x2eae1f?0x0:0x1==_0x2eae1f?0x1:0x2==_0x2eae1f?0x2:_0x2eae1f%0x64>=0x3&&_0x2eae1f%0x64<=0xa?0x3:_0x2eae1f%0x64>=0xb?0x4:0x5}};_0xb5eddb['ar']||={'dictionary':{},'getPluralForm':null},_0xb5eddb['ar']['dictionary']=Object['assign'](_0xb5eddb['ar']['dictionary'],_0x4eaab5),_0xb5eddb['ar']['getPluralForm']=_0xf1b748;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x58c8a8=>{const {ar:{dictionary:_0x37c16e,getPluralForm:_0x19069e}}={'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':_0x5bf486=>0x0==_0x5bf486?0x0:0x1==_0x5bf486?0x1:0x2==_0x5bf486?0x2:_0x5bf486%0x64>=0x3&&_0x5bf486%0x64<=0xa?0x3:_0x5bf486%0x64>=0xb?0x4:0x5}};_0x58c8a8['ar']||={'dictionary':{},'getPluralForm':null},_0x58c8a8['ar']['dictionary']=Object['assign'](_0x58c8a8['ar']['dictionary'],_0x37c16e),_0x58c8a8['ar']['getPluralForm']=_0x19069e;})(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':_0xa704e7=>0x1!=_0xa704e7}};
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':_0x2f50dd=>0x1!=_0x2f50dd}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x3d0b7a=>{const {ast:{dictionary:_0x30d5d4,getPluralForm:_0x2cda76}}={'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':_0x167f21=>0x1!=_0x167f21}};_0x3d0b7a['ast']||={'dictionary':{},'getPluralForm':null},_0x3d0b7a['ast']['dictionary']=Object['assign'](_0x3d0b7a['ast']['dictionary'],_0x30d5d4),_0x3d0b7a['ast']['getPluralForm']=_0x2cda76;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x498b51=>{const {ast:{dictionary:_0xb641ef,getPluralForm:_0x2e22b6}}={'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':_0x187be8=>0x1!=_0x187be8}};_0x498b51['ast']||={'dictionary':{},'getPluralForm':null},_0x498b51['ast']['dictionary']=Object['assign'](_0x498b51['ast']['dictionary'],_0xb641ef),_0x498b51['ast']['getPluralForm']=_0x2e22b6;})(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':_0x140f1a=>0x1!=_0x140f1a}};
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':_0x908acc=>0x1!=_0x908acc}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x12efaa=>{const {az:{dictionary:_0x180cc2,getPluralForm:_0x49823d}}={'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':_0x2595ca=>0x1!=_0x2595ca}};_0x12efaa['az']||={'dictionary':{},'getPluralForm':null},_0x12efaa['az']['dictionary']=Object['assign'](_0x12efaa['az']['dictionary'],_0x180cc2),_0x12efaa['az']['getPluralForm']=_0x49823d;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x521f07=>{const {az:{dictionary:_0x46d4c1,getPluralForm:_0xea2199}}={'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':_0xed19fb=>0x1!=_0xed19fb}};_0x521f07['az']||={'dictionary':{},'getPluralForm':null},_0x521f07['az']['dictionary']=Object['assign'](_0x521f07['az']['dictionary'],_0x46d4c1),_0x521f07['az']['getPluralForm']=_0xea2199;})(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':_0x4ea23d=>_0x4ea23d%0xa==0x1&&_0x4ea23d%0x64!=0xb?0x0:_0x4ea23d%0xa>=0x2&&_0x4ea23d%0xa<=0x4&&(_0x4ea23d%0x64<0xa||_0x4ea23d%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':_0x390e4d=>_0x390e4d%0xa==0x1&&_0x390e4d%0x64!=0xb?0x0:_0x390e4d%0xa>=0x2&&_0x390e4d%0xa<=0x4&&(_0x390e4d%0x64<0xa||_0x390e4d%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x587cda=>{const {be:{dictionary:_0x1ac9b5,getPluralForm:_0x121ba3}}={'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':_0x5f8a47=>_0x5f8a47%0xa==0x1&&_0x5f8a47%0x64!=0xb?0x0:_0x5f8a47%0xa>=0x2&&_0x5f8a47%0xa<=0x4&&(_0x5f8a47%0x64<0xa||_0x5f8a47%0x64>=0x14)?0x1:0x2}};_0x587cda['be']||={'dictionary':{},'getPluralForm':null},_0x587cda['be']['dictionary']=Object['assign'](_0x587cda['be']['dictionary'],_0x1ac9b5),_0x587cda['be']['getPluralForm']=_0x121ba3;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x514d21=>{const {be:{dictionary:_0x5c1851,getPluralForm:_0x587e21}}={'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':_0x383d9c=>_0x383d9c%0xa==0x1&&_0x383d9c%0x64!=0xb?0x0:_0x383d9c%0xa>=0x2&&_0x383d9c%0xa<=0x4&&(_0x383d9c%0x64<0xa||_0x383d9c%0x64>=0x14)?0x1:0x2}};_0x514d21['be']||={'dictionary':{},'getPluralForm':null},_0x514d21['be']['dictionary']=Object['assign'](_0x514d21['be']['dictionary'],_0x5c1851),_0x514d21['be']['getPluralForm']=_0x587e21;})(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':_0x1b8d35=>0x1!=_0x1b8d35}};
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':_0x4c5f85=>0x1!=_0x4c5f85}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x36abbb=>{const {bg:{dictionary:_0x433dcf,getPluralForm:_0x39da99}}={'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':_0x38c3d4=>0x1!=_0x38c3d4}};_0x36abbb['bg']||={'dictionary':{},'getPluralForm':null},_0x36abbb['bg']['dictionary']=Object['assign'](_0x36abbb['bg']['dictionary'],_0x433dcf),_0x36abbb['bg']['getPluralForm']=_0x39da99;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x5e4e11=>{const {bg:{dictionary:_0x4fd131,getPluralForm:_0x323516}}={'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':_0x30d5eb=>0x1!=_0x30d5eb}};_0x5e4e11['bg']||={'dictionary':{},'getPluralForm':null},_0x5e4e11['bg']['dictionary']=Object['assign'](_0x5e4e11['bg']['dictionary'],_0x4fd131),_0x5e4e11['bg']['getPluralForm']=_0x323516;})(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':_0x288519=>0x1!=_0x288519}};
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':_0x1f67a5=>0x1!=_0x1f67a5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x1c8365=>{const {bn:{dictionary:_0x3a43ae,getPluralForm:_0x20921d}}={'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':_0x239596=>0x1!=_0x239596}};_0x1c8365['bn']||={'dictionary':{},'getPluralForm':null},_0x1c8365['bn']['dictionary']=Object['assign'](_0x1c8365['bn']['dictionary'],_0x3a43ae),_0x1c8365['bn']['getPluralForm']=_0x20921d;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x511d05=>{const {bn:{dictionary:_0x1ae5ce,getPluralForm:_0x461521}}={'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':_0x5a36ca=>0x1!=_0x5a36ca}};_0x511d05['bn']||={'dictionary':{},'getPluralForm':null},_0x511d05['bn']['dictionary']=Object['assign'](_0x511d05['bn']['dictionary'],_0x1ae5ce),_0x511d05['bn']['getPluralForm']=_0x461521;})(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':_0x36e7da=>_0x36e7da%0xa==0x1&&_0x36e7da%0x64!=0xb?0x0:_0x36e7da%0xa>=0x2&&_0x36e7da%0xa<=0x4&&(_0x36e7da%0x64<0xa||_0x36e7da%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':_0x1ddede=>_0x1ddede%0xa==0x1&&_0x1ddede%0x64!=0xb?0x0:_0x1ddede%0xa>=0x2&&_0x1ddede%0xa<=0x4&&(_0x1ddede%0x64<0xa||_0x1ddede%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x10ac11=>{const {bs:{dictionary:_0x2fbd52,getPluralForm:_0x273d93}}={'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':_0x399f8=>_0x399f8%0xa==0x1&&_0x399f8%0x64!=0xb?0x0:_0x399f8%0xa>=0x2&&_0x399f8%0xa<=0x4&&(_0x399f8%0x64<0xa||_0x399f8%0x64>=0x14)?0x1:0x2}};_0x10ac11['bs']||={'dictionary':{},'getPluralForm':null},_0x10ac11['bs']['dictionary']=Object['assign'](_0x10ac11['bs']['dictionary'],_0x2fbd52),_0x10ac11['bs']['getPluralForm']=_0x273d93;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0xf6721d=>{const {bs:{dictionary:_0x50c03f,getPluralForm:_0x45b596}}={'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':_0x26ea0f=>_0x26ea0f%0xa==0x1&&_0x26ea0f%0x64!=0xb?0x0:_0x26ea0f%0xa>=0x2&&_0x26ea0f%0xa<=0x4&&(_0x26ea0f%0x64<0xa||_0x26ea0f%0x64>=0x14)?0x1:0x2}};_0xf6721d['bs']||={'dictionary':{},'getPluralForm':null},_0xf6721d['bs']['dictionary']=Object['assign'](_0xf6721d['bs']['dictionary'],_0x50c03f),_0xf6721d['bs']['getPluralForm']=_0x45b596;})(window['CKEDITOR_TRANSLATIONS']||={});