@ckeditor/ckeditor5-uploadcare 46.0.1-alpha.7 → 46.0.1-alpha.8

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 _0x5933e8,Command as _0x450d17}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x1d6bcf,IconGooglePhotos as _0x3ccb44,IconGoogleDrive as _0x53c432,IconFacebook as _0x1a8522,IconDropbox as _0x1f14d7,IconUploadcareLink as _0x4fc3a0,IconUploadcareImageUpload as _0x5ed800,IconError as _0x4445e7,IconUploadcareImageEdit as _0x1b2ca2}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x4be5bc,MenuBarMenuListItemButtonView as _0x5787a3,View as _0xca7813,FocusCycler as _0x985cb6,Dialog as _0x4ce859,DialogViewPosition as _0x1c5766,SpinnerView as _0x4055b6,IconView as _0x459cd1,Notification as _0x31ddf3}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x4a82d5,DomEmitterMixin as _0xb236a5,global as _0x516205,getAncestors as _0x436dab,ObservableMixin as _0x14f426,uid as _0x55252a,createElement as _0x14cb5a}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x56c01b}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x5bfe38,info as _0xbabb46}from'@uploadcare/upload-client';import*as _0x3313f0 from'@uploadcare/file-uploader';var i=function(_0x52258b){return _0x52258b['Local']='local',_0x52258b['URL']='url',_0x52258b['Dropbox']='dropbox',_0x52258b['GDrive']='gdrive',_0x52258b['Facebook']='facebook',_0x52258b['GPhotos']='gphotos',_0x52258b['OneDrive']='onedrive',_0x52258b;}({});function _(_0x4d7c0e,_0x503609,_0x14a92c){const t=_0x4d7c0e['t'],_0x4afbdf=_0x4d7c0e['t'];switch(_0x503609){case i['Local']:return{'text':_0x4afbdf('Insert'===_0x14a92c?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x4afbdf('From\x20computer')};case i['URL']:return{'text':'Insert'===_0x14a92c?_0x4afbdf('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x4afbdf('Via\x20URL')};case i['Dropbox']:return{'text':t('Insert'===_0x14a92c?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case i['Facebook']:return{'text':t('Insert'===_0x14a92c?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case i['GDrive']:return{'text':t('Insert'===_0x14a92c?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case i['GPhotos']:return{'text':t('Insert'===_0x14a92c?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case i['OneDrive']:return{'text':t('Insert'===_0x14a92c?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x503609;}}class e extends _0x5933e8{['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 _0x3c308d=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x5f1a91;for(const _0x5cb6b2 in _0x3c308d){const _0x165849=_0x5cb6b2,_0x50d5f3=_0x3c308d[_0x165849];if('uploadcareLicenseKeyValid'==_0x50d5f3||'uploadcareLicenseKeyInvalid'==_0x50d5f3||'uploadcareLicenseKeyExpired'==_0x50d5f3||'uploadcareLicenseKeyDomainLimit'==_0x50d5f3||'uploadcareLicenseKeyNotAllowed'==_0x50d5f3||'uploadcareLicenseKeyEvaluationLimit'==_0x50d5f3||'uploadcareLicenseKeyTrialLimit'==_0x50d5f3||'uploadcareLicenseKeyUsageLimit'==_0x50d5f3){delete _0x3c308d[_0x165849],_0x5f1a91=_0x50d5f3,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x5f1a91&&_0x3c308d['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x5f1a91&&_0x3c308d['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x5f1a91&&_0x3c308d['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x5f1a91&&_0x3c308d['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x5f1a91&&_0x3c308d['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0x5f1a91&&_0x3c308d['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0x5f1a91&&_0x3c308d['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x3eefaa}=this,_0x66aada=_0x3eefaa['commands']['get']('uploadcare');if(!_0x66aada)return;const _0x156bed=this['_normalizeConfigSourceList'](_0x3eefaa['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x35921b,_0x1ac504)=>{const _0x1fd4b5=this['_getIntegrationKey'](_0x1ac504['type']);return _0x35921b[_0x1fd4b5]||(_0x35921b[_0x1fd4b5]=[]),_0x35921b[_0x1fd4b5]['push'](_0x1ac504),_0x35921b;},{});_0x3eefaa['plugins']['has']('ImageInsertUI')&&_0x3eefaa['commands']['get']('uploadcare')&&Object['entries'](_0x156bed)['forEach'](([_0x13f37d,_0x23146b])=>{_0x3eefaa['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x13f37d,'observable':()=>_0x66aada,'buttonViewCreator':()=>this['_createToolbarButton'](_0x23146b),'formViewCreator':()=>this['_createDropdownButtons'](_0x23146b),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x23146b),'override':'assetManager'!==_0x13f37d});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x2b75ec){const {locale:_0x47675e}=this['editor'];return _0x2b75ec['map'](_0x2bf3a2=>{const _0x3b81aa=_(_0x47675e,_0x2bf3a2,'Insert');switch(_0x2bf3a2){case i['Local']:return{'icon':_0x5ed800,'type':i['Local'],..._0x3b81aa};case i['URL']:return{'icon':_0x4fc3a0,'type':i['URL'],..._0x3b81aa};case i['Dropbox']:return{'icon':_0x1f14d7,'type':i['Dropbox'],..._0x3b81aa};case i['Facebook']:return{'icon':_0x1a8522,'type':i['Facebook'],..._0x3b81aa};case i['GDrive']:return{'icon':_0x53c432,'type':i['GDrive'],..._0x3b81aa};case i['GPhotos']:return{'icon':_0x3ccb44,'type':i['GPhotos'],..._0x3b81aa};case i['OneDrive']:return{'icon':_0x1d6bcf,'type':i['OneDrive'],..._0x3b81aa};}});}['_getIntegrationKey'](_0x2f75a0){switch(_0x2f75a0){case i['Local']:return'upload';case i['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x1b52c5,_0x41ca94){const _0x5795b5=this['editor'],_0x361cc6=new _0x1b52c5(_0x5795b5['locale']),_0x58d09f=_0x5795b5['commands']['get']('uploadcare');return _0x361cc6['bind']('isEnabled')['to'](_0x58d09f),_0x361cc6['on']('execute',()=>{_0x58d09f['execute'](_0x41ca94);}),_0x361cc6;}['_createToolbarButton'](_0x59d4d3){const {locale:_0x15f704}=this['editor'],_0x31462c=this['editor']['plugins']['get']('ImageInsertUI'),_0x44915e=_0x59d4d3[0x0],_0x2d9325=this['_createButton'](_0x4be5bc,_0x44915e['type']);return _0x2d9325['icon']=_0x44915e['icon'],_0x2d9325['bind']('label')['to'](_0x31462c,'isImageSelected',_0xf0aeb5=>_(_0x15f704,_0x44915e['type'],_0xf0aeb5?'Replace':'Insert')['text']),_0x2d9325['tooltip']=!0x0,_0x2d9325;}['_createDropdownButtons'](_0x1b48d2){const {locale:_0x5c2f79}=this['editor'],_0x4464b3=this['editor']['plugins']['get']('ImageInsertUI');return _0x1b48d2['map'](_0x46a244=>{const _0x39c83a=this['_createButton'](_0x4be5bc,_0x46a244['type']);return _0x39c83a['withText']=!0x0,_0x39c83a['icon']=_0x46a244['icon'],_0x39c83a['bind']('label')['to'](_0x4464b3,'isImageSelected',_0x17fd57=>_(_0x5c2f79,_0x46a244['type'],_0x17fd57?'Replace':'Insert')['text']),_0x39c83a;});}['_createMenuBarButtons'](_0x30561f){return _0x30561f['map'](_0x2874ff=>{const _0x1f04f7=this['_createButton'](_0x5787a3,_0x2874ff['type']);return _0x1f04f7['icon']=_0x2874ff['icon'],_0x1f04f7['label']=_0x2874ff['shortText'],_0x1f04f7;});}}class F extends _0xca7813{['focusTracker'];['focusCycler'];constructor(_0x2a40ff){super(_0x2a40ff),this['focusTracker']=new _0x4a82d5(),this['focusCycler']=new _0x985cb6({'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(_0x1b082d,_0x6711cb){super(_0x1b082d),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-'+_0x6711cb}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function k(_0x125c89,_0x1c550d){const _0x13898a=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x12c229=>_0x12c229<=_0x1c550d)['map'](_0x45c23f=>_0x125c89['replace'](/\/$/,'')+'/-/resize/'+_0x45c23f+'x/\x20'+_0x45c23f+'w');return{'imageFallbackUrl':_0x125c89,'imageSources':[{'srcset':_0x13898a['join'](',\x20'),'sizes':'(max-width:\x20'+_0x1c550d+'px)\x20100vw,\x20'+_0x1c550d+'px','type':'image/webp'}]};}function C(_0x94d61f,_0x52f624,_0x875bdd){const _0x58ce41=_0x94d61f['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x58ce41?parseInt(_0x58ce41[0x1],0xa):_0x52f624,'height':_0x58ce41?parseInt(_0x58ce41[0x2],0xa):_0x875bdd};}function p(_0x402d10,_0x5933dc){const _0x3a6788=new(_0xb236a5())(),_0x1da029=_0x402d10['plugins']['get']('ImageUtils'),_0x418544=_0x402d10['editing']['mapper']['toViewElement'](_0x5933dc),_0xf8c9b1=_0x1da029['findViewImgElement'](_0x418544),_0x4f1a67=_0x402d10['editing']['view']['domConverter']['viewToDom'](_0xf8c9b1),_0x4cb583=_0x5933dc['getAttribute']('width'),_0x150ea0=_0x5933dc['getAttribute']('height'),_0x575404='image-processing';_0x402d10['editing']['view']['change'](_0x55c6f5=>{_0x55c6f5['addClass'](_0x575404,_0x418544),_0x55c6f5['setStyle']('aspect-ratio',_0x4cb583+'/'+_0x150ea0,_0xf8c9b1);}),_0x3a6788['listenTo'](_0x4f1a67,'load',()=>{_0x3a6788['stopListening'](_0x4f1a67,'load'),_0x402d10['editing']['view']['change'](_0x57e971=>{_0x57e971['removeClass'](_0x575404,_0x418544),_0x57e971['removeStyle']('aspect-ratio',_0xf8c9b1);});});}function G(_0xada97b){if(Array['isArray'](_0xada97b)){const _0xe89c94=_0xada97b['map'](G);return _0x2c2d01=>_0xe89c94['some'](_0x10c243=>_0x10c243(_0x2c2d01));}if('origin'==_0xada97b){const _0x13258d=_0x516205['window']['location']['origin'];return _0x176023=>new URL(_0x176023,_0x516205['document']['baseURI'])['origin']==_0x13258d;}return'function'==typeof _0xada97b?_0xada97b:_0xada97b instanceof RegExp?_0x5ef0d9=>!(!_0x5ef0d9['match'](_0xada97b)&&!_0x5ef0d9['replace'](/^https?:\/\//,'')['match'](_0xada97b)):()=>!0x1;}function S(_0x59f432,_0x431a29){return _0x436dab(_0x59f432['target'])['includes'](_0x431a29);}class n extends/* #__PURE__ -- @preserve */
24
- _0x14f426(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x4e9583,_0x25afd9,_0x165e69){super(),this['_editor']=_0x4e9583,this['_editing']=_0x25afd9,this['_dialog']=_0x4e9583['plugins']['get'](_0x4ce859),this['_api']=_0x25afd9['ctxElement']['getAPI'](),this['_type']=_0x165e69,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:_0x43b579,model:_0x5b196a}=this['_editor'],_0x4b0883=_0x5b196a['document']['selection']['getSelectedElement'](),_0x3238d9=_0x4b0883&&(_0x4b0883['is']('element','imageBlock')||_0x4b0883['is']('element','imageInline'));this['_formView']=new x(_0x43b579,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':_0x5ed800,'title':_(_0x43b579,this['_type'],_0x3238d9?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x1c5766['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x114e03=>!S(_0x114e03,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x5200ca}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x6db82c=>{const _0x13e6af=_0x5200ca['length'];for(const _0x4bf91f of _0x5200ca){const _0x17cea9=_0x4bf91f===_0x5200ca[_0x13e6af-0x1],{cdnUrl:_0x184cb3,fileInfo:_0x1ff926}=_0x4bf91f;if(!_0x184cb3||!_0x1ff926)continue;const {width:_0x317c12,height:_0x4476c0}=_0x1ff926['imageInfo'],_0x2d8a63=C(_0x184cb3,_0x317c12,_0x4476c0),_0x3c4c24=k(_0x184cb3,_0x2d8a63['width']),_0x57e889={'id':_0x1ff926['uuid'],'type':'image','attributes':{'imageDimension':_0x2d8a63,..._0x3c4c24}};this['_insertAsset'](_0x57e889,_0x17cea9,_0x6db82c);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x1f89e3=>{'idle'===_0x1f89e3['detail']['status']&&!_0x1f89e3['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===i['Local']?this['_api']['setCurrentActivity'](i['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x57c716,_0x1bbaf5,_0x2d40a7){const _0x866668=this['_editor']['model']['document']['selection'],_0x195ea7=_0x866668['getSelectedElement'](),_0x57bdc7=!(!_0x195ea7||!_0x195ea7['is']('element','imageInline'));_0x2d40a7['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x57c716,_0x57bdc7),_0x1bbaf5||_0x2d40a7['setSelection'](_0x866668['getLastPosition']());}['_insertImage'](_0x1b1bc2,_0x2776d6){const _0x4d6ced=this['_editor'],{imageDimension:_0x3f9715,imageFallbackUrl:_0x2657fb,imageSources:_0x47841b}=_0x1b1bc2['attributes'];_0x4d6ced['execute']('insertImage',{'imageType':_0x2776d6?'imageInline':null,'source':{'uploadcareImageId':_0x1b1bc2['id'],'src':_0x2657fb,'sources':_0x47841b,..._0x3f9715}});}}class w extends _0x450d17{['_editing'];['_controller']=null;static get['requires'](){return[_0x4ce859,o];}constructor(_0x1ba1b4){super(_0x1ba1b4),this['_editing']=_0x1ba1b4['plugins']['get'](o);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x550b96){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new n(this['editor'],this['_editing'],_0x550b96);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class j{static['upload']({file:_0x5f3df1,publicKey:_0x172d63,signal:_0x266764,onProgress:_0x74075a}){return _0x5bfe38(_0x5f3df1,{'publicKey':_0x172d63,'store':'auto','signal':_0x266764,'onProgress':_0x74075a});}static['getInfo'](_0x3cd2af,_0x13ff26){return _0xbabb46(_0x3cd2af,_0x13ff26);}}class f extends _0x5933e8{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x56c01b,o];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x52c250=this['editor'];if(!!!_0x52c250['config']['get']('uploadcare'))return;_0x52c250['plugins']['get'](_0x56c01b)['createUploadAdapter']=_0x4935a1=>new A(_0x4935a1,_0x52c250),_0x52c250['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x5997eb,{imageElement:_0x20963b,data:_0x5b36d2})=>{_0x52c250['model']['change'](_0x144cba=>{_0x144cba['setAttribute']('uploadcareImageId',_0x5b36d2['uploadcareImageId'],_0x20963b);});});}}class A{['loader'];['editor'];['controller'];constructor(_0x153ba7,_0x5e08aa){this['loader']=_0x153ba7,this['editor']=_0x5e08aa,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x4b6b33=this['editor']['config']['get']('uploadcare.pubkey'),_0x2d0ee3=await this['loader']['file'];return j['upload']({'file':_0x2d0ee3,'publicKey':_0x4b6b33,'signal':this['controller']['signal'],'onProgress':_0x405c72=>{_0x405c72&&_0x405c72['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x405c72['value']);}})['then'](async _0x5ddbae=>{const {imageFallbackUrl:_0x1302b3,imageSources:_0x240784}=k(_0x5ddbae['cdnUrl'],_0x5ddbae['imageInfo']['width']);return{'uploadcareImageId':_0x5ddbae['uuid'],'default':_0x1302b3,'sources':_0x240784};})['catch'](()=>{const _0x20ecdb=t('Cannot\x20upload\x20file:')+('\x20'+_0x2d0ee3['name']+'.');return Promise['reject'](_0x20ecdb);});}['abort'](){this['controller']['abort']();}}class o extends _0x5933e8{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',f,_0x4ce859];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['ucContextId'];get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}constructor(_0x391643){super(_0x391643),this['ucContextId']=_0x55252a();}['init'](){const _0x2bb631=this['editor'];_0x2bb631['commands']['add']('uploadcare',new w(_0x2bb631));}['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 _0x300191=_0x516205['document']['querySelector']('input[uploadcare-file-input]');_0x300191&&_0x300191['remove']();}),async function(_0x23d475){const _0x4979d7=_0x4f614b([0x70,0x61,0x6f,0x6a,0x6e,0x72,0x5a,0x73,0x47,0x4e,0x51,0x48,0x71,0x62,0x78,0x31,0x63,0x33,0x44,0x4a,0x45,0x4b,0x35,0x6c,0x38,0x36,0x49,0x43,0x39,0x68,0x37,0x32,0x4f,0x65,0x66,0x52,0x79,0x56,0x7a,0x50,0x46,0x4c,0x4d,0x6b,0x76,0x75,0x58,0x34,0x69,0x53,0x74,0x6d,0x59,0x67,0x57,0x54,0x30,0x77,0x42,0x64,0x55,0x41]),_0x43785f=0x47b9575f,_0x1b2208=0x47be38c7^_0x43785f,_0x2124fa=window[_0x4f614b([0x44,0x61,0x74,0x65])][_0x4f614b([0x6e,0x6f,0x77])](),_0x1e1452=_0x23d475[_0x4f614b([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x13272b=new window[(_0x4f614b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5a82a7=>{_0x1e1452[_0x4f614b([0x6f,0x6e,0x63,0x65])](_0x4f614b([0x72,0x65,0x61,0x64,0x79]),_0x5a82a7);}),_0x242c6b={[_0x4f614b([0x6b,0x74,0x79])]:_0x4f614b([0x45,0x43]),[_0x4f614b([0x75,0x73,0x65])]:_0x4f614b([0x73,0x69,0x67]),[_0x4f614b([0x63,0x72,0x76])]:_0x4f614b([0x50,0x2d,0x32,0x35,0x36]),[_0x4f614b([0x78])]:_0x4f614b([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]),[_0x4f614b([0x79])]:_0x4f614b([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]),[_0x4f614b([0x61,0x6c,0x67])]:_0x4f614b([0x45,0x53,0x32,0x35,0x36])},_0x35a188=_0x1e1452[_0x4f614b([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4f614b([0x67,0x65,0x74])](_0x4f614b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x51c4b3(){let _0x52a0d4,_0x38aabd=null,_0x41e2c3=null;try{if(_0x35a188==_0x4f614b([0x47,0x50,0x4c]))return _0x4f614b([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x52a0d4=_0x538f9c(),!_0x52a0d4)return _0x4f614b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x52a0d4[_0x4f614b([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x41e2c3=_0x101344(_0x52a0d4[_0x4f614b([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x52a0d4[_0x4f614b([0x6a,0x74,0x69])])),await _0x239c5f()?_0x284d68()?_0x42757d()?_0x4f614b([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x3d4f60()?(_0x52a0d4[_0x4f614b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4f614b([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x38aabd=_0x5066a4(_0x4f614b([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x52a0d4[_0x4f614b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4f614b([0x74,0x72,0x69,0x61,0x6c])&&(_0x38aabd=_0x5066a4(_0x4f614b([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x5590e5()):_0x4f614b([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4f614b([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4f614b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x4f614b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x42757d(){const _0x1ef7e0=[_0x4f614b([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4f614b([0x74,0x72,0x69,0x61,0x6c])][_0x4f614b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x52a0d4[_0x4f614b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2124fa/0x3e8:0xe10*_0x1b2208;return _0x52a0d4[_0x4f614b([0x65,0x78,0x70])]<_0x1ef7e0;}function _0x284d68(){const _0x718ce4=_0x52a0d4[_0x4f614b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x718ce4&&(!!_0x718ce4[_0x4f614b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4f614b([0x2a]))||!!_0x718ce4[_0x4f614b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4f614b([0x55,0x50,0x4c,0x43])));}function _0x3d4f60(){const _0x49d8b7=_0x52a0d4[_0x4f614b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x49d8b7||0x0==_0x49d8b7[_0x4f614b([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0xd1e52c}=new URL(window[_0x4f614b([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x49d8b7[_0x4f614b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xd1e52c))return!0x0;const _0x3300be=_0xd1e52c[_0x4f614b([0x73,0x70,0x6c,0x69,0x74])](_0x4f614b([0x2e]));return _0x49d8b7[_0x4f614b([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x20703b=>_0x20703b[_0x4f614b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4f614b([0x2a])))[_0x4f614b([0x6d,0x61,0x70])](_0x2e798d=>_0x2e798d[_0x4f614b([0x73,0x70,0x6c,0x69,0x74])](_0x4f614b([0x2e])))[_0x4f614b([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x28d63b=>_0x28d63b[_0x4f614b([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x3300be[_0x4f614b([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4f614b([0x6d,0x61,0x70])](_0x35ac5c=>Array(_0x3300be[_0x4f614b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x35ac5c[_0x4f614b([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4f614b([0x66,0x69,0x6c,0x6c])](_0x35ac5c[0x0]===_0x4f614b([0x2a])?_0x4f614b([0x2a]):'')[_0x4f614b([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x35ac5c))[_0x4f614b([0x73,0x6f,0x6d,0x65])](_0x1819c0=>_0x3300be[_0x4f614b([0x65,0x76,0x65,0x72,0x79])]((_0x27d3b8,_0x2c00de)=>_0x1819c0[_0x2c00de]===_0x27d3b8||_0x1819c0[_0x2c00de]===_0x4f614b([0x2a])));}function _0x5590e5(){return _0x38aabd&&_0x41e2c3?new window[(_0x4f614b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x52b487,_0x1ad0b3)=>{_0x38aabd[_0x4f614b([0x74,0x68,0x65,0x6e])](_0x52b487,_0x1ad0b3),_0x41e2c3[_0x4f614b([0x74,0x68,0x65,0x6e])](_0x4d934a=>{_0x4d934a!=_0x4f614b([0x56,0x61,0x6c,0x69,0x64])&&_0x52b487(_0x4d934a);},_0x1ad0b3);}):_0x38aabd||_0x41e2c3||_0x4f614b([0x56,0x61,0x6c,0x69,0x64]);}}function _0x101344(_0x110c0c,_0x45cc5e){return new window[(_0x4f614b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4bbd81=>{if(_0x5687d4())return _0x4bbd81(_0x4f614b([0x56,0x61,0x6c,0x69,0x64]));_0xac0097(),_0x1e1452[_0x4f614b([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4f614b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x23ae7b=!0x1;const _0x5f4135=_0x55252a();function _0x535123(_0x3a0f3c){return!!_0x3a0f3c&&(typeof _0x3a0f3c===_0x4f614b([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3a0f3c===_0x4f614b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3a0f3c[_0x4f614b([0x74,0x68,0x65,0x6e])]===_0x4f614b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3a0f3c[_0x4f614b([0x63,0x61,0x74,0x63,0x68])]===_0x4f614b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x29ae96(_0x1e52a1){_0x1f8943(_0x1e52a1)[_0x4f614b([0x74,0x68,0x65,0x6e])](_0x15eabd=>{if(!_0x15eabd||_0x15eabd[_0x4f614b([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4f614b([0x6f,0x6b]))return _0x4f614b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2a1497(_0x845d9(_0x5f4135+_0x45cc5e))!=_0x15eabd[_0x4f614b([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4f614b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4f614b([0x56,0x61,0x6c,0x69,0x64]);})[_0x4f614b([0x74,0x68,0x65,0x6e])](_0x1f9af0=>(_0x494eb6(),_0x1f9af0),()=>{const _0x40e33f=_0x1a664a();return null==_0x40e33f?(_0x494eb6(),_0x4f614b([0x56,0x61,0x6c,0x69,0x64])):_0x4f614b(_0x2124fa-_0x40e33f>(0x63b5d35f^_0x43785f)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4f614b([0x74,0x68,0x65,0x6e])](_0x4bbd81)[_0x4f614b([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4bbd81(_0x4f614b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x17e4ad=0x478fb9df^_0x43785f;function _0x494eb6(){const _0x185219=_0x4f614b([0x6c,0x6c,0x63,0x74,0x2d])+_0x2a1497(_0x845d9(_0x110c0c)),_0x1c87ad=_0x5666bf(_0x2a1497(window[_0x4f614b([0x4d,0x61,0x74,0x68])][_0x4f614b([0x63,0x65,0x69,0x6c])](_0x2124fa/_0x17e4ad)));window[_0x4f614b([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4f614b([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x185219,_0x1c87ad);}function _0x1a664a(){const _0x468781=_0x4f614b([0x6c,0x6c,0x63,0x74,0x2d])+_0x2a1497(_0x845d9(_0x110c0c)),_0x5c2f18=window[_0x4f614b([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4f614b([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x468781);return _0x5c2f18?window[_0x4f614b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5666bf(_0x5c2f18),0x10)*_0x17e4ad:null;}function _0x1f8943(_0x229f88){return new window[(_0x4f614b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x445d75,_0x5a979f)=>{_0x229f88[_0x4f614b([0x74,0x68,0x65,0x6e])](_0x445d75,_0x5a979f),window[_0x4f614b([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5a979f,0x47b8839f^_0x43785f);});}}_0x1e1452[_0x4f614b([0x6f,0x6e])](_0x4f614b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x8d61ba,_0x399a3a)=>{if(_0x399a3a[0x0]!=_0x110c0c)return _0x4bbd81(_0x4f614b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x399a3a[0x1]={..._0x399a3a[0x1],[_0x4f614b([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5f4135};},{[_0x4f614b([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4f614b([0x68,0x69,0x67,0x68])}),_0x1e1452[_0x4f614b([0x6f,0x6e])](_0x4f614b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x42d398=>{_0x535123(_0x42d398[_0x4f614b([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x23ae7b=!0x0,_0x29ae96(_0x42d398[_0x4f614b([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4f614b([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4f614b([0x6c,0x6f,0x77])}),_0x13272b[_0x4f614b([0x74,0x68,0x65,0x6e])](()=>{_0x23ae7b||_0x4bbd81(_0x4f614b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x5687d4(){return _0x1e1452[_0x4f614b([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4f614b([0x76,0x69,0x65,0x77])][_0x4f614b([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4f614b([0x61,0x75,0x74,0x6f]);}function _0xac0097(){_0x1e1452[_0x4f614b([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4f614b([0x76,0x69,0x65,0x77])][_0x4f614b([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4f614b([0x61,0x75,0x74,0x6f]);}}function _0x5066a4(_0x231d91){const _0x3f5a03=[new window[(_0x4f614b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x14c64f=>setTimeout(_0x14c64f,0x47b06993^_0x43785f)),_0x13272b[_0x4f614b([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4f614b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1d2b05=>{let _0x451a9a=0x0;_0x1e1452[_0x4f614b([0x6d,0x6f,0x64,0x65,0x6c])][_0x4f614b([0x6f,0x6e])](_0x4f614b([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x182819,_0x13aeeb)=>{_0x13aeeb[0x0][_0x4f614b([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x451a9a++,_0x451a9a==(0x47b956a7^_0x43785f)&&(_0x1d2b05(),_0x182819[_0x4f614b([0x6f,0x66,0x66])]());});}))];return window[_0x4f614b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4f614b([0x72,0x61,0x63,0x65])](_0x3f5a03)[_0x4f614b([0x74,0x68,0x65,0x6e])](()=>_0x231d91);}async function _0x5b7db6(){await _0x13272b,_0x1e1452[_0x4f614b([0x6d,0x6f,0x64,0x65,0x6c])][_0x4f614b([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2e44b6,_0x1e1452[_0x4f614b([0x6d,0x6f,0x64,0x65,0x6c])][_0x4f614b([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2e44b6,_0x1e1452[_0x4f614b([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4f614b([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x672e02(_0x207ddb){const _0x230dda=_0x189da3();_0x1e1452[_0x230dda]=_0x4f614b([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x207ddb,_0x207ddb!=_0x4f614b([0x56,0x61,0x6c,0x69,0x64])&&_0x5b7db6();}function _0x189da3(){const _0x28f979=window[_0x4f614b([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4f614b([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4f614b([0x6e,0x6f,0x77])]())[_0x4f614b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4f614b([0x2e]),'');let _0x4feac1=_0x4f614b([0x70]);for(let _0x31d3fd=0x0;_0x31d3fd<_0x28f979[_0x4f614b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x31d3fd+=0x2){let _0x3724ce=window[_0x4f614b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x28f979[_0x4f614b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x31d3fd,_0x31d3fd+0x2));_0x3724ce>=_0x4979d7[_0x4f614b([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x3724ce-=_0x4979d7[_0x4f614b([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4feac1+=_0x4979d7[_0x3724ce];}return _0x4feac1;}function _0x538f9c(){const _0x27e85b=_0x35a188[_0x4f614b([0x73,0x70,0x6c,0x69,0x74])](_0x4f614b([0x2e]));if(0x3!=_0x27e85b[_0x4f614b([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x504358(_0x27e85b[0x1]);function _0x504358(_0x52a99f){const _0x3c7dd8=_0x2d709a(_0x52a99f);return _0x3c7dd8&&_0x3a2759()?_0x3c7dd8:null;function _0x3a2759(){const _0x505963=_0x3c7dd8[_0x4f614b([0x6a,0x74,0x69])],_0x1b9ac7=window[_0x4f614b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x505963[_0x4f614b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x505963[_0x4f614b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x5662a8={..._0x3c7dd8,[_0x4f614b([0x6a,0x74,0x69])]:_0x505963[_0x4f614b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x505963[_0x4f614b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x5662a8[_0x4f614b([0x76,0x63])],_0x845d9(_0x5662a8)==_0x1b9ac7;}}}async function _0x239c5f(){let _0x6877f2=!0x0;try{const _0x440a75=_0x35a188[_0x4f614b([0x73,0x70,0x6c,0x69,0x74])](_0x4f614b([0x2e])),[_0x5b0bfe,_0x40b4c9,_0x238223]=_0x440a75;return _0x1632b2(_0x5b0bfe),await _0x54e5d9(_0x5b0bfe,_0x40b4c9,_0x238223),_0x6877f2;}catch{return!0x1;}function _0x1632b2(_0x58a153){const _0x42bcdf=_0x2d709a(_0x58a153);_0x42bcdf&&_0x42bcdf[_0x4f614b([0x61,0x6c,0x67])]==_0x4f614b([0x45,0x53,0x32,0x35,0x36])||(_0x6877f2=!0x1);}async function _0x54e5d9(_0x1bb735,_0x4a9d97,_0x3d24f1){const _0x1d946d=window[_0x4f614b([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4f614b([0x66,0x72,0x6f,0x6d])](_0x23b6bb(_0x3d24f1),_0x487cc6=>_0x487cc6[_0x4f614b([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x57777b=new window[(_0x4f614b([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4f614b([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1bb735+_0x4f614b([0x2e])+_0x4a9d97),_0x11adba=window[_0x4f614b([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4f614b([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x11adba)return;const _0x38a29a=await _0x11adba[_0x4f614b([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4f614b([0x6a,0x77,0x6b]),_0x242c6b,{[_0x4f614b([0x6e,0x61,0x6d,0x65])]:_0x4f614b([0x45,0x43,0x44,0x53,0x41]),[_0x4f614b([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4f614b([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4f614b([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x11adba[_0x4f614b([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4f614b([0x6e,0x61,0x6d,0x65])]:_0x4f614b([0x45,0x43,0x44,0x53,0x41]),[_0x4f614b([0x68,0x61,0x73,0x68])]:{[_0x4f614b([0x6e,0x61,0x6d,0x65])]:_0x4f614b([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x38a29a,_0x1d946d,_0x57777b)||(_0x6877f2=!0x1);}}function _0x2d709a(_0x1f0b54){return _0x1f0b54[_0x4f614b([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4f614b([0x65,0x79]))?JSON[_0x4f614b([0x70,0x61,0x72,0x73,0x65])](_0x23b6bb(_0x1f0b54)):null;}function _0x23b6bb(_0x215529){return window[_0x4f614b([0x61,0x74,0x6f,0x62])](_0x215529[_0x4f614b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4f614b([0x2b]))[_0x4f614b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4f614b([0x2f])));}function _0x845d9(_0x499bb1){let _0x5d902e=0x1505;function _0x4b7693(_0x4498e8){for(let _0x4fe0ae=0x0;_0x4fe0ae<_0x4498e8[_0x4f614b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4fe0ae++){const _0x3935b8=_0x4498e8[_0x4f614b([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4fe0ae);_0x5d902e=(_0x5d902e<<0x5)+_0x5d902e+_0x3935b8,_0x5d902e&=_0x5d902e;}}function _0x5e9543(_0x415b1f){Array[_0x4f614b([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x415b1f)?_0x415b1f[_0x4f614b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5e9543):_0x415b1f&&typeof _0x415b1f==_0x4f614b([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4f614b([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x415b1f)[_0x4f614b([0x73,0x6f,0x72,0x74])]()[_0x4f614b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x135462,_0x1ad546])=>{_0x4b7693(_0x135462),_0x5e9543(_0x1ad546);}):_0x4b7693(window[_0x4f614b([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x415b1f));}return _0x5e9543(_0x499bb1),_0x5d902e>>>0x0;}function _0x2a1497(_0x54a9f8){return _0x54a9f8[_0x4f614b([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4f614b([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4f614b([0x30]));}function _0x5666bf(_0x5ea268){return _0x5ea268[_0x4f614b([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4f614b([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4f614b([0x6a,0x6f,0x69,0x6e])]('');}function _0x2e44b6(){}function _0x4f614b(_0x180011){return _0x180011['map'](_0x5e12e3=>String['fromCharCode'](_0x5e12e3))['join']('');}_0x672e02(await _0x51c4b3());}(this);}['_initSchema'](){const _0x13d82d=this['editor']['model']['schema'];_0x13d82d['isRegistered']('imageBlock')&&_0x13d82d['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x13d82d['isRegistered']('imageInline')&&_0x13d82d['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x251c48=this['editor'];_0x251c48['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x251c48['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x26017e=>_0x26017e['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x429876=_0x251c48['commands']['get']('replaceImageSource');_0x429876&&this['listenTo'](_0x429876,'cleanupImage',(_0x3f7326,[_0x348848,_0x3003cb])=>{_0x348848['removeAttribute']('uploadcareImageId',_0x3003cb);});}['_initConfig'](){const _0x4e8bb0=this['editor']['config']['get']('uploadcare.uploader')||{},_0x181983=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x14cb5a(_0x516205['document'],'uc-config',{..._0x4e8bb0,'pubkey':_0x181983,'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']=_0x553498=>{if('closeMax'==_0x553498)return'#uc-icon-arrow-down';},_0x516205['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x14cb5a(_0x516205['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),_0x516205['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x8ca9b9=this['editor']['commands']['get']('insertImage');_0x8ca9b9&&this['listenTo'](_0x8ca9b9,'execute',()=>{const _0xad07f2=this['editor']['model']['document']['selection']['getSelectedElement']();_0xad07f2&&_0xad07f2['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0xad07f2);});});const _0x340583=this['editor']['commands']['get']('uploadcareImageReplace');_0x340583&&this['listenTo'](_0x340583,'execute',()=>{const _0x165986=this['editor']['model']['document']['selection']['getSelectedElement']();_0x165986&&_0x165986['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x165986);});});}}class tt extends _0x5933e8{static get['requires'](){return[o,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x5a20ca){super(_0x5a20ca),_0x5a20ca['config']['define']('uploadcare.uploader.sourceList',[i['Local'],i['URL']]),_0x3313f0['defineComponents'](_0x3313f0);}}class ii extends _0xca7813{constructor(_0x1a07be){super(_0x1a07be);const t=_0x1a07be['t'],_0x192b70=this['bindTemplate'],_0x5eda88=new _0x4055b6();_0x5eda88['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':[_0x5eda88,{'text':_0x192b70['to']('imageUploadProgress',_0x111063=>t('Loading\x20image...')+'\x20('+(_0x111063||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 _0xca7813{constructor(_0x47640b){super(_0x47640b);const t=_0x47640b['t'];this['set']('errorType',null);const _0xac5dc9=new _0x4be5bc(_0x47640b);_0xac5dc9['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0xac5dc9['withText']=!0x0,_0xac5dc9['class']='ck-button-action',_0xac5dc9['on']('execute',()=>{this['fire']('retry');}),_0xac5dc9['bind']('isVisible')['to'](this,'errorType',_0x2a1616=>'NotFound'!==_0x2a1616);const _0x28fdce=new _0x459cd1();_0x28fdce['content']=_0x4445e7,_0x28fdce['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0xe0e5d8=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':[_0x28fdce,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0xe0e5d8['to']('errorType',_0x2208a1=>t('NotFound'!==_0x2208a1?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0xac5dc9]},{'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 _0xca7813{constructor(_0x191e9f,_0xae1573){super(_0x191e9f);const _0xeb8c5f=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0xae1573,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0xeb8c5f['to']('imageSrc')}});}}class X extends F{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x42b33e,_0x380151,_0x19b9ab){super(_0x42b33e),this['_items']=this['createCollection'](),this['_loadingView']=new ii(_0x42b33e),this['_errorView']=new ti(_0x42b33e),this['_editingView']=new ei(_0x42b33e,_0x19b9ab),this['_focusableView']=new _0xca7813(_0x42b33e),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x380151),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'],_0x12474b=>{this['_addUploadcareImageEditorListeners'](_0x12474b);});}),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'](_0x13c9d8,_0x5541b9){const _0x5a1739='uc-cloud-image-editor',_0x32fc67=_0x13c9d8['querySelector'](_0x5a1739);if(_0x32fc67)return _0x5541b9(_0x32fc67);const _0x21205b=new MutationObserver(_0x1e9592=>{const _0x184a36=_0x1e9592['filter'](_0x424c13=>_0x424c13['target']===_0x13c9d8&&_0x424c13['addedNodes']['length']>0x0&&_0x424c13['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x5a1739);_0x184a36['length']&&(_0x21205b['disconnect'](),_0x5541b9(_0x184a36[0x0]['addedNodes'][0x0]));});_0x21205b['observe'](_0x13c9d8,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x3b7f94){_0x3b7f94['addEventListener']('apply',_0x5b4220=>{this['fire']('apply',{'imageSrc':_0x5b4220['detail']['cdnUrl']});}),_0x3b7f94['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class E extends/* #__PURE__ -- @preserve */
25
- _0x14f426(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x532a34,_0x502d94,_0x2b8d5e){super(),this['_editor']=_0x532a34,this['_dialog']=_0x502d94,this['_imageElement']=_0x2b8d5e,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 _0x556e28=this['_imageElement'],_0x4f9b43=_0x556e28['getAttribute']('uploadcareImageId'),_0x5c7adc=_0x556e28['getAttribute']('src');if(_0x4f9b43)await this['_loadImageInfo'](_0x4f9b43,_0x5c7adc);else{if(this['_imageCache']['has'](_0x5c7adc)){const _0x32038e=this['_imageCache']['get'](_0x5c7adc);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x32038e['url'],this['imageDimension']=_0x32038e['dimension'],this['imageId']=_0x32038e['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x4e29b9}=this['_editor'],t=_0x4e29b9['t'],_0x228854=new X(_0x4e29b9,this['imageStatus'],this['_attributes']);_0x228854['bind']('status')['to'](this,'imageStatus'),_0x228854['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x228854['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x228854['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x228854,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x1b2ca2,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x228854,'position':_0x1c5766['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x228854['focus']();},'onHide':()=>{_0x228854['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x2db791=>!S(_0x2db791,_0x228854['element'])}});}['_loadImageInfo'](_0x174f66,_0xc04fa){return j['getInfo'](_0x174f66,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x20481a=>{const {width:_0x57e347,height:_0x467edc}=_0x20481a['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0xc04fa,this['imageDimension']={'width':_0x57e347,'height':_0x467edc},this['imageId']=_0x174f66;})['catch'](_0x4ab754=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x4ab754['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x5833f0,_0x3c9184){return this['_getImageAsFile'](_0x5833f0)['then'](_0xdcd20e=>j['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x3c9184['signal'],'file':_0xdcd20e,'onProgress':_0x1d2a7b=>{_0x1d2a7b&&_0x1d2a7b['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x1d2a7b['value']));}}))['then'](_0x3a67c1=>{const {width:_0x517879,height:_0x365616}=_0x3a67c1['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x3a67c1['cdnUrl'],this['imageDimension']={'width':_0x517879,'height':_0x365616},this['imageId']=_0x3a67c1['uuid'],this['imageUploadProgress']=null;const _0x51ffd0=_0x5833f0['getAttribute']('src');this['_imageCache']['set'](_0x51ffd0,{'id':_0x3a67c1['uuid'],'url':_0x3a67c1['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x4c9a28=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x4c9a28['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x4b6e11,_0x1dae08){_0x4b6e11['on']('apply',(_0xd09692,_0x2a8838)=>{this['_replaceImage'](_0x1dae08,_0x2a8838['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x4b6e11['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x4b6e11['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x4dae99,_0x4d393e,_0x28fa86){const _0x31229e=this['_editor'],{width:_0x331442,height:_0x3ed8be}=C(_0x4d393e,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x456e0f,imageSources:_0x26d131}=k(_0x4d393e,_0x331442);_0x31229e['model']['change'](_0x33dafe=>{if('$graveyard'===_0x4dae99['root']['rootName']){_0x31229e['execute']('insertImage',{'imageType':_0x4dae99['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x4dae99['getAttributes']()),'uploadcareImageId':_0x28fa86,'src':_0x456e0f,'sources':_0x26d131,'width':_0x331442,'height':_0x3ed8be}});const _0x85cb97=_0x4dae99['getChildren']();_0x4dae99=_0x31229e['model']['document']['selection']['getSelectedElement']();for(const _0x321a4b of _0x85cb97)_0x33dafe['append'](_0x33dafe['cloneElement'](_0x321a4b),_0x4dae99);}else _0x33dafe['setSelection'](_0x4dae99,'on'),_0x31229e['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x4dae99['getAttributes']()),'uploadcareImageId':_0x28fa86,'src':_0x456e0f,'sources':_0x26d131,'width':_0x331442,'height':_0x3ed8be},_0x4dae99);_0x33dafe['setSelection'](_0x4dae99,'on');});}async['_getImageAsFile'](_0x470f0d){const _0x4ff3c3=_0x516205['window'],_0x8bdadf=_0x516205['document']['location']['href'],_0x50a751=new _0x4ff3c3['URL'](_0x470f0d['getAttribute']('src'),_0x8bdadf);if('data:'===_0x50a751['protocol']){const _0x32f8a5=_0x50a751['href']['split'](','),_0xed813=_0x32f8a5[0x0]['match'](/:(.*?);/)[0x1],_0x27f949=_0xed813['split']('/')[0x1],_0x381e78=_0x4ff3c3['atob'](_0x32f8a5[_0x32f8a5['length']-0x1]);let _0x39cae3=_0x381e78['length'];const _0x679d73=new _0x4ff3c3['Uint8Array'](_0x39cae3);for(;_0x39cae3--;)_0x679d73[_0x39cae3]=_0x381e78['charCodeAt'](_0x39cae3);return new _0x4ff3c3['File']([_0x679d73],'image.'+_0x27f949,{'type':_0xed813});}const _0x3210c4=_0x50a751['href']['split']('/'),_0x199cc2=_0x3210c4[_0x3210c4['length']-0x1],_0x50374d=_0x199cc2['split']('.')[0x1];return _0x4ff3c3['fetch'](_0x50a751['href'])['then'](_0x50757f=>_0x50757f['clone']()['blob']())['then'](_0x236da5=>new _0x4ff3c3['File']([_0x236da5],_0x199cc2,{'type':'image/'+_0x50374d}));}}class O extends _0x450d17{['imageEditController'];static get['requires'](){return[_0x4ce859];}['_isEditable'];constructor(_0xb11c06){super(_0xb11c06),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x857dbc){const _0x2ee0ca=G(_0x857dbc);return _0x328ad5=>!(!_0x328ad5||!_0x328ad5['is']('element','imageBlock')&&!_0x328ad5['is']('element','imageInline'))&&(!!_0x328ad5['hasAttribute']('uploadcareImageId')||!!_0x328ad5['hasAttribute']('src')&&_0x2ee0ca(_0x328ad5['getAttribute']('src')));}(_0xb11c06['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x3a447c=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x3a447c);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x42765f=this['editor']['model']['document']['selection']['getSelectedElement']();_0x42765f&&(_0x42765f['is']('element','imageBlock')||_0x42765f['is']('element','imageInline'))&&(this['imageEditController']=new E(this['editor'],this['editor']['plugins']['get'](_0x4ce859),_0x42765f),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class R extends _0x450d17{['refresh'](){const _0x5caad8=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x5caad8&&(_0x5caad8['is']('element','imageBlock')||_0x5caad8['is']('element','imageInline')));}['execute'](_0x4cc297){const _0x172b3e=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x100856=>{_0x100856['setAttributes'](_0x4cc297,_0x172b3e),_0x100856['removeAttribute']('srcset',_0x172b3e),_0x100856['removeAttribute']('sizes',_0x172b3e);});}}class m extends _0x5933e8{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[o,_0x31ddf3,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x45c60e}=this;_0x45c60e['commands']['add']('uploadcareImageEdit',new O(_0x45c60e)),_0x45c60e['commands']['add']('uploadcareImageReplace',new R(_0x45c60e));}}class g extends _0x5933e8{['_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 _0x5d1d2c=this['editor'];_0x5d1d2c['ui']['componentFactory']['add']('uploadcareImageEdit',_0x2413a7=>{const _0xa68224=_0x5d1d2c['commands']['get']('uploadcareImageEdit'),_0x14ec25=new _0x4be5bc(_0x2413a7),t=_0x2413a7['t'];return _0x14ec25['set']({'icon':_0x1b2ca2,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x14ec25['bind']('isEnabled')['to'](_0xa68224),_0x14ec25['bind']('isOn')['to'](_0xa68224,'isActive'),this['listenTo'](_0x14ec25,'execute',()=>{_0x5d1d2c['execute']('uploadcareImageEdit'),_0x5d1d2c['editing']['view']['focus']();}),_0x14ec25;}),this['_initConfig']();}['_initConfig'](){const _0x18af0b=_0x14cb5a(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x18af0b),this['listenTo'](this['editor'],'destroy',()=>{_0x18af0b['remove']();});}}class et extends _0x5933e8{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 _0x43cf72,Command as _0x4d8fff}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x5c5c1b,IconGooglePhotos as _0x1da6b7,IconGoogleDrive as _0x2c2095,IconFacebook as _0x197465,IconDropbox as _0x40d40b,IconUploadcareLink as _0x33a6b4,IconUploadcareImageUpload as _0x19afa8,IconError as _0x354c6d,IconUploadcareImageEdit as _0x4962bb}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x28dc2a,MenuBarMenuListItemButtonView as _0x11cb19,View as _0x4ecb53,FocusCycler as _0x51369d,Dialog as _0x24aa98,DialogViewPosition as _0x1e2d84,SpinnerView as _0x33eedb,IconView as _0x396388,Notification as _0xeb61f2}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x14b0a0,DomEmitterMixin as _0x330361,global as _0x12cd30,getAncestors as _0x2cb109,ObservableMixin as _0x276f36,uid as _0x492ce0,createElement as _0x413b6e}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x530362}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x46c2ab,info as _0xcd5d16}from'@uploadcare/upload-client';import*as _0xd5b6cc from'@uploadcare/file-uploader';var i=function(_0x9926e8){return _0x9926e8['Local']='local',_0x9926e8['URL']='url',_0x9926e8['Dropbox']='dropbox',_0x9926e8['GDrive']='gdrive',_0x9926e8['Facebook']='facebook',_0x9926e8['GPhotos']='gphotos',_0x9926e8['OneDrive']='onedrive',_0x9926e8;}({});function _(_0x969479,_0x5794e9,_0x156270){const t=_0x969479['t'],_0x48653e=_0x969479['t'];switch(_0x5794e9){case i['Local']:return{'text':_0x48653e('Insert'===_0x156270?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x48653e('From\x20computer')};case i['URL']:return{'text':'Insert'===_0x156270?_0x48653e('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x48653e('Via\x20URL')};case i['Dropbox']:return{'text':t('Insert'===_0x156270?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case i['Facebook']:return{'text':t('Insert'===_0x156270?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case i['GDrive']:return{'text':t('Insert'===_0x156270?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case i['GPhotos']:return{'text':t('Insert'===_0x156270?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case i['OneDrive']:return{'text':t('Insert'===_0x156270?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x5794e9;}}class e extends _0x43cf72{['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 _0xe34887=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x3f9b3c;for(const _0x27c9c3 in _0xe34887){const _0x574981=_0x27c9c3,_0x510145=_0xe34887[_0x574981];if('uploadcareLicenseKeyValid'==_0x510145||'uploadcareLicenseKeyInvalid'==_0x510145||'uploadcareLicenseKeyExpired'==_0x510145||'uploadcareLicenseKeyDomainLimit'==_0x510145||'uploadcareLicenseKeyNotAllowed'==_0x510145||'uploadcareLicenseKeyEvaluationLimit'==_0x510145||'uploadcareLicenseKeyTrialLimit'==_0x510145||'uploadcareLicenseKeyUsageLimit'==_0x510145){delete _0xe34887[_0x574981],_0x3f9b3c=_0x510145,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x3f9b3c&&_0xe34887['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x3f9b3c&&_0xe34887['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x3f9b3c&&_0xe34887['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x3f9b3c&&_0xe34887['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x3f9b3c&&_0xe34887['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0x3f9b3c&&_0xe34887['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0x3f9b3c&&_0xe34887['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x33e6cb}=this,_0x52c04d=_0x33e6cb['commands']['get']('uploadcare');if(!_0x52c04d)return;const _0x3bf407=this['_normalizeConfigSourceList'](_0x33e6cb['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x1e40d5,_0x3dceac)=>{const _0x43618c=this['_getIntegrationKey'](_0x3dceac['type']);return _0x1e40d5[_0x43618c]||(_0x1e40d5[_0x43618c]=[]),_0x1e40d5[_0x43618c]['push'](_0x3dceac),_0x1e40d5;},{});_0x33e6cb['plugins']['has']('ImageInsertUI')&&_0x33e6cb['commands']['get']('uploadcare')&&Object['entries'](_0x3bf407)['forEach'](([_0x571a39,_0x3e72e3])=>{_0x33e6cb['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x571a39,'observable':()=>_0x52c04d,'buttonViewCreator':()=>this['_createToolbarButton'](_0x3e72e3),'formViewCreator':()=>this['_createDropdownButtons'](_0x3e72e3),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x3e72e3),'override':'assetManager'!==_0x571a39});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x5a083f){const {locale:_0x178ef5}=this['editor'];return _0x5a083f['map'](_0x198128=>{const _0x5b5a10=_(_0x178ef5,_0x198128,'Insert');switch(_0x198128){case i['Local']:return{'icon':_0x19afa8,'type':i['Local'],..._0x5b5a10};case i['URL']:return{'icon':_0x33a6b4,'type':i['URL'],..._0x5b5a10};case i['Dropbox']:return{'icon':_0x40d40b,'type':i['Dropbox'],..._0x5b5a10};case i['Facebook']:return{'icon':_0x197465,'type':i['Facebook'],..._0x5b5a10};case i['GDrive']:return{'icon':_0x2c2095,'type':i['GDrive'],..._0x5b5a10};case i['GPhotos']:return{'icon':_0x1da6b7,'type':i['GPhotos'],..._0x5b5a10};case i['OneDrive']:return{'icon':_0x5c5c1b,'type':i['OneDrive'],..._0x5b5a10};}});}['_getIntegrationKey'](_0x252959){switch(_0x252959){case i['Local']:return'upload';case i['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x5d75d6,_0x3b388e){const _0x280e0e=this['editor'],_0x1d8d56=new _0x5d75d6(_0x280e0e['locale']),_0x1a5c31=_0x280e0e['commands']['get']('uploadcare');return _0x1d8d56['bind']('isEnabled')['to'](_0x1a5c31),_0x1d8d56['on']('execute',()=>{_0x1a5c31['execute'](_0x3b388e);}),_0x1d8d56;}['_createToolbarButton'](_0x19b53c){const {locale:_0x10f7af}=this['editor'],_0x167500=this['editor']['plugins']['get']('ImageInsertUI'),_0x451d93=_0x19b53c[0x0],_0x4eb719=this['_createButton'](_0x28dc2a,_0x451d93['type']);return _0x4eb719['icon']=_0x451d93['icon'],_0x4eb719['bind']('label')['to'](_0x167500,'isImageSelected',_0x3e918b=>_(_0x10f7af,_0x451d93['type'],_0x3e918b?'Replace':'Insert')['text']),_0x4eb719['tooltip']=!0x0,_0x4eb719;}['_createDropdownButtons'](_0x14c929){const {locale:_0x3eb3ba}=this['editor'],_0x247765=this['editor']['plugins']['get']('ImageInsertUI');return _0x14c929['map'](_0x8c772b=>{const _0x476524=this['_createButton'](_0x28dc2a,_0x8c772b['type']);return _0x476524['withText']=!0x0,_0x476524['icon']=_0x8c772b['icon'],_0x476524['bind']('label')['to'](_0x247765,'isImageSelected',_0x464ccb=>_(_0x3eb3ba,_0x8c772b['type'],_0x464ccb?'Replace':'Insert')['text']),_0x476524;});}['_createMenuBarButtons'](_0x3cae02){return _0x3cae02['map'](_0x34c291=>{const _0x52b6b1=this['_createButton'](_0x11cb19,_0x34c291['type']);return _0x52b6b1['icon']=_0x34c291['icon'],_0x52b6b1['label']=_0x34c291['shortText'],_0x52b6b1;});}}class F extends _0x4ecb53{['focusTracker'];['focusCycler'];constructor(_0x2497b8){super(_0x2497b8),this['focusTracker']=new _0x14b0a0(),this['focusCycler']=new _0x51369d({'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(_0x326799,_0x4cd5b4){super(_0x326799),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-'+_0x4cd5b4}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function k(_0x24a0dd,_0x9b6ff8){const _0x121386=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x4b9a7a=>_0x4b9a7a<=_0x9b6ff8)['map'](_0x39eb20=>_0x24a0dd['replace'](/\/$/,'')+'/-/resize/'+_0x39eb20+'x/\x20'+_0x39eb20+'w');return{'imageFallbackUrl':_0x24a0dd,'imageSources':[{'srcset':_0x121386['join'](',\x20'),'sizes':'(max-width:\x20'+_0x9b6ff8+'px)\x20100vw,\x20'+_0x9b6ff8+'px','type':'image/webp'}]};}function C(_0x7164ec,_0x3e1b23,_0x338713){const _0x279ba0=_0x7164ec['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x279ba0?parseInt(_0x279ba0[0x1],0xa):_0x3e1b23,'height':_0x279ba0?parseInt(_0x279ba0[0x2],0xa):_0x338713};}function p(_0x5a107d,_0x5de115){const _0x2d05ba=new(_0x330361())(),_0x4c3d6c=_0x5a107d['plugins']['get']('ImageUtils'),_0x441f91=_0x5a107d['editing']['mapper']['toViewElement'](_0x5de115),_0x2c0e09=_0x4c3d6c['findViewImgElement'](_0x441f91),_0x3d71cd=_0x5a107d['editing']['view']['domConverter']['viewToDom'](_0x2c0e09),_0x593470=_0x5de115['getAttribute']('width'),_0x1b7aba=_0x5de115['getAttribute']('height'),_0x472940='image-processing';_0x5a107d['editing']['view']['change'](_0x9d4508=>{_0x9d4508['addClass'](_0x472940,_0x441f91),_0x9d4508['setStyle']('aspect-ratio',_0x593470+'/'+_0x1b7aba,_0x2c0e09);}),_0x2d05ba['listenTo'](_0x3d71cd,'load',()=>{_0x2d05ba['stopListening'](_0x3d71cd,'load'),_0x5a107d['editing']['view']['change'](_0x407b73=>{_0x407b73['removeClass'](_0x472940,_0x441f91),_0x407b73['removeStyle']('aspect-ratio',_0x2c0e09);});});}function G(_0x3a2282){if(Array['isArray'](_0x3a2282)){const _0x146de3=_0x3a2282['map'](G);return _0x305fd5=>_0x146de3['some'](_0x21d0d9=>_0x21d0d9(_0x305fd5));}if('origin'==_0x3a2282){const _0x27d6ac=_0x12cd30['window']['location']['origin'];return _0x529252=>new URL(_0x529252,_0x12cd30['document']['baseURI'])['origin']==_0x27d6ac;}return'function'==typeof _0x3a2282?_0x3a2282:_0x3a2282 instanceof RegExp?_0x5d7443=>!(!_0x5d7443['match'](_0x3a2282)&&!_0x5d7443['replace'](/^https?:\/\//,'')['match'](_0x3a2282)):()=>!0x1;}function S(_0x512b91,_0x542e27){return _0x2cb109(_0x512b91['target'])['includes'](_0x542e27);}class n extends/* #__PURE__ -- @preserve */
24
+ _0x276f36(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x1cad7b,_0x2380f1,_0x26fe8b){super(),this['_editor']=_0x1cad7b,this['_editing']=_0x2380f1,this['_dialog']=_0x1cad7b['plugins']['get'](_0x24aa98),this['_api']=_0x2380f1['ctxElement']['getAPI'](),this['_type']=_0x26fe8b,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:_0x11c4c3,model:_0x1469bb}=this['_editor'],_0x29e4d3=_0x1469bb['document']['selection']['getSelectedElement'](),_0x4073d8=_0x29e4d3&&(_0x29e4d3['is']('element','imageBlock')||_0x29e4d3['is']('element','imageInline'));this['_formView']=new x(_0x11c4c3,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':_0x19afa8,'title':_(_0x11c4c3,this['_type'],_0x4073d8?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x1e2d84['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x14efb2=>!S(_0x14efb2,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x5aad91}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x28e1cd=>{const _0x282994=_0x5aad91['length'];for(const _0x4405d1 of _0x5aad91){const _0x5d6a51=_0x4405d1===_0x5aad91[_0x282994-0x1],{cdnUrl:_0x126598,fileInfo:_0xc728d3}=_0x4405d1;if(!_0x126598||!_0xc728d3)continue;const {width:_0x1eb1cb,height:_0x2cf94a}=_0xc728d3['imageInfo'],_0x1de7f0=C(_0x126598,_0x1eb1cb,_0x2cf94a),_0x46a5c6=k(_0x126598,_0x1de7f0['width']),_0x37ff85={'id':_0xc728d3['uuid'],'type':'image','attributes':{'imageDimension':_0x1de7f0,..._0x46a5c6}};this['_insertAsset'](_0x37ff85,_0x5d6a51,_0x28e1cd);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x5cf979=>{'idle'===_0x5cf979['detail']['status']&&!_0x5cf979['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===i['Local']?this['_api']['setCurrentActivity'](i['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x1bba1,_0x526b9a,_0x2ee444){const _0x568c7c=this['_editor']['model']['document']['selection'],_0x2bc4ca=_0x568c7c['getSelectedElement'](),_0x5164fe=!(!_0x2bc4ca||!_0x2bc4ca['is']('element','imageInline'));_0x2ee444['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x1bba1,_0x5164fe),_0x526b9a||_0x2ee444['setSelection'](_0x568c7c['getLastPosition']());}['_insertImage'](_0x2edf4e,_0x364ec4){const _0x2c9cf9=this['_editor'],{imageDimension:_0x2df44b,imageFallbackUrl:_0x1197aa,imageSources:_0x2926f1}=_0x2edf4e['attributes'];_0x2c9cf9['execute']('insertImage',{'imageType':_0x364ec4?'imageInline':null,'source':{'uploadcareImageId':_0x2edf4e['id'],'src':_0x1197aa,'sources':_0x2926f1,..._0x2df44b}});}}class w extends _0x4d8fff{['_editing'];['_controller']=null;static get['requires'](){return[_0x24aa98,o];}constructor(_0x24b444){super(_0x24b444),this['_editing']=_0x24b444['plugins']['get'](o);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x25d3d3){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new n(this['editor'],this['_editing'],_0x25d3d3);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class j{static['upload']({file:_0x1f00d8,publicKey:_0x1f3aa4,signal:_0x226cca,onProgress:_0x33edc4}){return _0x46c2ab(_0x1f00d8,{'publicKey':_0x1f3aa4,'store':'auto','signal':_0x226cca,'onProgress':_0x33edc4});}static['getInfo'](_0x27185e,_0x57fa99){return _0xcd5d16(_0x27185e,_0x57fa99);}}class f extends _0x43cf72{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x530362,o];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x10b146=this['editor'];if(!!!_0x10b146['config']['get']('uploadcare'))return;_0x10b146['plugins']['get'](_0x530362)['createUploadAdapter']=_0x563b92=>new A(_0x563b92,_0x10b146),_0x10b146['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x1fb5e9,{imageElement:_0x27dfe7,data:_0x4d037a})=>{_0x10b146['model']['change'](_0x141681=>{_0x141681['setAttribute']('uploadcareImageId',_0x4d037a['uploadcareImageId'],_0x27dfe7);});});}}class A{['loader'];['editor'];['controller'];constructor(_0x273840,_0x1d52d2){this['loader']=_0x273840,this['editor']=_0x1d52d2,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x4fbb4d=this['editor']['config']['get']('uploadcare.pubkey'),_0x3bb5c8=await this['loader']['file'];return j['upload']({'file':_0x3bb5c8,'publicKey':_0x4fbb4d,'signal':this['controller']['signal'],'onProgress':_0x49d3a6=>{_0x49d3a6&&_0x49d3a6['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x49d3a6['value']);}})['then'](async _0x521b68=>{const {imageFallbackUrl:_0x3a0dec,imageSources:_0xc10cc}=k(_0x521b68['cdnUrl'],_0x521b68['imageInfo']['width']);return{'uploadcareImageId':_0x521b68['uuid'],'default':_0x3a0dec,'sources':_0xc10cc};})['catch'](()=>{const _0x1f69cd=t('Cannot\x20upload\x20file:')+('\x20'+_0x3bb5c8['name']+'.');return Promise['reject'](_0x1f69cd);});}['abort'](){this['controller']['abort']();}}class o extends _0x43cf72{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',f,_0x24aa98];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['ucContextId'];get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}constructor(_0x3fee88){super(_0x3fee88),this['ucContextId']=_0x492ce0();}['init'](){const _0x49d113=this['editor'];_0x49d113['commands']['add']('uploadcare',new w(_0x49d113));}['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 _0x1dfa1b=_0x12cd30['document']['querySelector']('input[uploadcare-file-input]');_0x1dfa1b&&_0x1dfa1b['remove']();}),async function(_0x55a452){const _0x48954e=_0x2e76ba([0x55,0x57,0x4d,0x36,0x50,0x56,0x79,0x75,0x4b,0x63,0x6d,0x5a,0x77,0x32,0x6c,0x59,0x52,0x6f,0x74,0x42,0x4e,0x45,0x6b,0x49,0x31,0x41,0x78,0x43,0x58,0x53,0x47,0x39,0x61,0x30,0x67,0x37,0x73,0x72,0x66,0x4f,0x46,0x4a,0x76,0x6a,0x48,0x33,0x62,0x64,0x68,0x44,0x70,0x65,0x34,0x4c,0x7a,0x35,0x6e,0x38,0x71,0x54,0x69,0x51]),_0x268670=0xedc7fa3,_0x667850=0xedb1013^_0x268670,_0xd9546c=window[_0x2e76ba([0x44,0x61,0x74,0x65])][_0x2e76ba([0x6e,0x6f,0x77])](),_0x204ff6=_0x55a452[_0x2e76ba([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1d643e=new window[(_0x2e76ba([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x46dd5c=>{_0x204ff6[_0x2e76ba([0x6f,0x6e,0x63,0x65])](_0x2e76ba([0x72,0x65,0x61,0x64,0x79]),_0x46dd5c);}),_0x57925e={[_0x2e76ba([0x6b,0x74,0x79])]:_0x2e76ba([0x45,0x43]),[_0x2e76ba([0x75,0x73,0x65])]:_0x2e76ba([0x73,0x69,0x67]),[_0x2e76ba([0x63,0x72,0x76])]:_0x2e76ba([0x50,0x2d,0x32,0x35,0x36]),[_0x2e76ba([0x78])]:_0x2e76ba([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]),[_0x2e76ba([0x79])]:_0x2e76ba([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]),[_0x2e76ba([0x61,0x6c,0x67])]:_0x2e76ba([0x45,0x53,0x32,0x35,0x36])},_0x1e1ada=_0x204ff6[_0x2e76ba([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2e76ba([0x67,0x65,0x74])](_0x2e76ba([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x1f391a(){let _0x4d56aa,_0x4df8e3=null,_0x5c19ea=null;try{if(_0x1e1ada==_0x2e76ba([0x47,0x50,0x4c]))return _0x2e76ba([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x4d56aa=_0x5a5499(),!_0x4d56aa)return _0x2e76ba([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x4d56aa[_0x2e76ba([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x5c19ea=_0x593550(_0x4d56aa[_0x2e76ba([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x4d56aa[_0x2e76ba([0x6a,0x74,0x69])])),await _0x3c5c79()?_0x1c8830()?_0x5a0535()?_0x2e76ba([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x10c991()?(_0x4d56aa[_0x2e76ba([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2e76ba([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x4df8e3=_0x15cb02(_0x2e76ba([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x4d56aa[_0x2e76ba([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2e76ba([0x74,0x72,0x69,0x61,0x6c])&&(_0x4df8e3=_0x15cb02(_0x2e76ba([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x465703()):_0x2e76ba([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2e76ba([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2e76ba([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x2e76ba([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x5a0535(){const _0x37b48e=[_0x2e76ba([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2e76ba([0x74,0x72,0x69,0x61,0x6c])][_0x2e76ba([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4d56aa[_0x2e76ba([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0xd9546c/0x3e8:0xe10*_0x667850;return _0x4d56aa[_0x2e76ba([0x65,0x78,0x70])]<_0x37b48e;}function _0x1c8830(){const _0x307221=_0x4d56aa[_0x2e76ba([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x307221&&(!!_0x307221[_0x2e76ba([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2e76ba([0x2a]))||!!_0x307221[_0x2e76ba([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2e76ba([0x55,0x50,0x4c,0x43])));}function _0x10c991(){const _0x15ae9f=_0x4d56aa[_0x2e76ba([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x15ae9f||0x0==_0x15ae9f[_0x2e76ba([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1f8333}=new URL(window[_0x2e76ba([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x15ae9f[_0x2e76ba([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1f8333))return!0x0;const _0x1c73fa=_0x1f8333[_0x2e76ba([0x73,0x70,0x6c,0x69,0x74])](_0x2e76ba([0x2e]));return _0x15ae9f[_0x2e76ba([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x51620b=>_0x51620b[_0x2e76ba([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2e76ba([0x2a])))[_0x2e76ba([0x6d,0x61,0x70])](_0x188adc=>_0x188adc[_0x2e76ba([0x73,0x70,0x6c,0x69,0x74])](_0x2e76ba([0x2e])))[_0x2e76ba([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x28213c=>_0x28213c[_0x2e76ba([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x1c73fa[_0x2e76ba([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2e76ba([0x6d,0x61,0x70])](_0x417f59=>Array(_0x1c73fa[_0x2e76ba([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x417f59[_0x2e76ba([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2e76ba([0x66,0x69,0x6c,0x6c])](_0x417f59[0x0]===_0x2e76ba([0x2a])?_0x2e76ba([0x2a]):'')[_0x2e76ba([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x417f59))[_0x2e76ba([0x73,0x6f,0x6d,0x65])](_0x42f12e=>_0x1c73fa[_0x2e76ba([0x65,0x76,0x65,0x72,0x79])]((_0x288061,_0x5331ce)=>_0x42f12e[_0x5331ce]===_0x288061||_0x42f12e[_0x5331ce]===_0x2e76ba([0x2a])));}function _0x465703(){return _0x4df8e3&&_0x5c19ea?new window[(_0x2e76ba([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x20d6c0,_0x9f92e7)=>{_0x4df8e3[_0x2e76ba([0x74,0x68,0x65,0x6e])](_0x20d6c0,_0x9f92e7),_0x5c19ea[_0x2e76ba([0x74,0x68,0x65,0x6e])](_0x4b1dc9=>{_0x4b1dc9!=_0x2e76ba([0x56,0x61,0x6c,0x69,0x64])&&_0x20d6c0(_0x4b1dc9);},_0x9f92e7);}):_0x4df8e3||_0x5c19ea||_0x2e76ba([0x56,0x61,0x6c,0x69,0x64]);}}function _0x593550(_0x5574ab,_0x489333){return new window[(_0x2e76ba([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1553ec=>{if(_0x245b5f())return _0x1553ec(_0x2e76ba([0x56,0x61,0x6c,0x69,0x64]));_0x49c22f(),_0x204ff6[_0x2e76ba([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2e76ba([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x23d2a4=!0x1;const _0x41cf21=_0x492ce0();function _0x45e90d(_0x2ef9e6){return!!_0x2ef9e6&&(typeof _0x2ef9e6===_0x2e76ba([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2ef9e6===_0x2e76ba([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2ef9e6[_0x2e76ba([0x74,0x68,0x65,0x6e])]===_0x2e76ba([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2ef9e6[_0x2e76ba([0x63,0x61,0x74,0x63,0x68])]===_0x2e76ba([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x2044da(_0xb4bdb8){_0x5886ff(_0xb4bdb8)[_0x2e76ba([0x74,0x68,0x65,0x6e])](_0x4d6fae=>{if(!_0x4d6fae||_0x4d6fae[_0x2e76ba([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2e76ba([0x6f,0x6b]))return _0x2e76ba([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x35fe63(_0x3c3add(_0x41cf21+_0x489333))!=_0x4d6fae[_0x2e76ba([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2e76ba([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2e76ba([0x56,0x61,0x6c,0x69,0x64]);})[_0x2e76ba([0x74,0x68,0x65,0x6e])](_0x130af9=>(_0x52fac3(),_0x130af9),()=>{const _0x54fd01=_0x15c63c();return null==_0x54fd01?(_0x52fac3(),_0x2e76ba([0x56,0x61,0x6c,0x69,0x64])):_0x2e76ba(_0xd9546c-_0x54fd01>(0x2ad0fba3^_0x268670)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2e76ba([0x74,0x68,0x65,0x6e])](_0x1553ec)[_0x2e76ba([0x63,0x61,0x74,0x63,0x68])](()=>{_0x1553ec(_0x2e76ba([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0xeec471=0xeea9123^_0x268670;function _0x52fac3(){const _0x215a87=_0x2e76ba([0x6c,0x6c,0x63,0x74,0x2d])+_0x35fe63(_0x3c3add(_0x5574ab)),_0x2aa8eb=_0x16b9c1(_0x35fe63(window[_0x2e76ba([0x4d,0x61,0x74,0x68])][_0x2e76ba([0x63,0x65,0x69,0x6c])](_0xd9546c/_0xeec471)));window[_0x2e76ba([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2e76ba([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x215a87,_0x2aa8eb);}function _0x15c63c(){const _0x156ac6=_0x2e76ba([0x6c,0x6c,0x63,0x74,0x2d])+_0x35fe63(_0x3c3add(_0x5574ab)),_0x2680c4=window[_0x2e76ba([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2e76ba([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x156ac6);return _0x2680c4?window[_0x2e76ba([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x16b9c1(_0x2680c4),0x10)*_0xeec471:null;}function _0x5886ff(_0x5948c0){return new window[(_0x2e76ba([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x7066ff,_0x22e483)=>{_0x5948c0[_0x2e76ba([0x74,0x68,0x65,0x6e])](_0x7066ff,_0x22e483),window[_0x2e76ba([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x22e483,0xeddab63^_0x268670);});}}_0x204ff6[_0x2e76ba([0x6f,0x6e])](_0x2e76ba([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x572ef3,_0x423d37)=>{if(_0x423d37[0x0]!=_0x5574ab)return _0x1553ec(_0x2e76ba([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x423d37[0x1]={..._0x423d37[0x1],[_0x2e76ba([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x41cf21};},{[_0x2e76ba([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2e76ba([0x68,0x69,0x67,0x68])}),_0x204ff6[_0x2e76ba([0x6f,0x6e])](_0x2e76ba([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x498329=>{_0x45e90d(_0x498329[_0x2e76ba([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x23d2a4=!0x0,_0x2044da(_0x498329[_0x2e76ba([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2e76ba([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2e76ba([0x6c,0x6f,0x77])}),_0x1d643e[_0x2e76ba([0x74,0x68,0x65,0x6e])](()=>{_0x23d2a4||_0x1553ec(_0x2e76ba([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x245b5f(){return _0x204ff6[_0x2e76ba([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2e76ba([0x76,0x69,0x65,0x77])][_0x2e76ba([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2e76ba([0x61,0x75,0x74,0x6f]);}function _0x49c22f(){_0x204ff6[_0x2e76ba([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2e76ba([0x76,0x69,0x65,0x77])][_0x2e76ba([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2e76ba([0x61,0x75,0x74,0x6f]);}}function _0x15cb02(_0x2701cf){const _0x3a78f8=[new window[(_0x2e76ba([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1c1e80=>setTimeout(_0x1c1e80,0xed5416f^_0x268670)),_0x1d643e[_0x2e76ba([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2e76ba([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4594e8=>{let _0x25de2d=0x0;_0x204ff6[_0x2e76ba([0x6d,0x6f,0x64,0x65,0x6c])][_0x2e76ba([0x6f,0x6e])](_0x2e76ba([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1918ba,_0x4e8ed9)=>{_0x4e8ed9[0x0][_0x2e76ba([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x25de2d++,_0x25de2d==(0xedc7e5b^_0x268670)&&(_0x4594e8(),_0x1918ba[_0x2e76ba([0x6f,0x66,0x66])]());});}))];return window[_0x2e76ba([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2e76ba([0x72,0x61,0x63,0x65])](_0x3a78f8)[_0x2e76ba([0x74,0x68,0x65,0x6e])](()=>_0x2701cf);}async function _0x2e66c6(){await _0x1d643e,_0x204ff6[_0x2e76ba([0x6d,0x6f,0x64,0x65,0x6c])][_0x2e76ba([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x429094,_0x204ff6[_0x2e76ba([0x6d,0x6f,0x64,0x65,0x6c])][_0x2e76ba([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x429094,_0x204ff6[_0x2e76ba([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2e76ba([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3b5b51(_0x3ac033){const _0x5575ab=_0x5141d1();_0x204ff6[_0x5575ab]=_0x2e76ba([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x3ac033,_0x3ac033!=_0x2e76ba([0x56,0x61,0x6c,0x69,0x64])&&_0x2e66c6();}function _0x5141d1(){const _0xdf75e1=window[_0x2e76ba([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2e76ba([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2e76ba([0x6e,0x6f,0x77])]())[_0x2e76ba([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2e76ba([0x2e]),'');let _0xa8dc13=_0x2e76ba([0x55]);for(let _0x84f7a6=0x0;_0x84f7a6<_0xdf75e1[_0x2e76ba([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x84f7a6+=0x2){let _0x59733b=window[_0x2e76ba([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xdf75e1[_0x2e76ba([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x84f7a6,_0x84f7a6+0x2));_0x59733b>=_0x48954e[_0x2e76ba([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x59733b-=_0x48954e[_0x2e76ba([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0xa8dc13+=_0x48954e[_0x59733b];}return _0xa8dc13;}function _0x5a5499(){const _0x11e04c=_0x1e1ada[_0x2e76ba([0x73,0x70,0x6c,0x69,0x74])](_0x2e76ba([0x2e]));if(0x3!=_0x11e04c[_0x2e76ba([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0xdcf294(_0x11e04c[0x1]);function _0xdcf294(_0x18849f){const _0x1d3af6=_0x3e6a58(_0x18849f);return _0x1d3af6&&_0x3ded13()?_0x1d3af6:null;function _0x3ded13(){const _0xaeb981=_0x1d3af6[_0x2e76ba([0x6a,0x74,0x69])],_0x55f661=window[_0x2e76ba([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xaeb981[_0x2e76ba([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xaeb981[_0x2e76ba([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4aa87d={..._0x1d3af6,[_0x2e76ba([0x6a,0x74,0x69])]:_0xaeb981[_0x2e76ba([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0xaeb981[_0x2e76ba([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4aa87d[_0x2e76ba([0x76,0x63])],_0x3c3add(_0x4aa87d)==_0x55f661;}}}async function _0x3c5c79(){let _0x2cde86=!0x0;try{const _0x140ffe=_0x1e1ada[_0x2e76ba([0x73,0x70,0x6c,0x69,0x74])](_0x2e76ba([0x2e])),[_0x53dc34,_0x3821cc,_0x40a0f1]=_0x140ffe;return _0x1bd1fa(_0x53dc34),await _0x526f82(_0x53dc34,_0x3821cc,_0x40a0f1),_0x2cde86;}catch{return!0x1;}function _0x1bd1fa(_0xecc6df){const _0x5b7a48=_0x3e6a58(_0xecc6df);_0x5b7a48&&_0x5b7a48[_0x2e76ba([0x61,0x6c,0x67])]==_0x2e76ba([0x45,0x53,0x32,0x35,0x36])||(_0x2cde86=!0x1);}async function _0x526f82(_0x1dab47,_0x5ebf95,_0x5104ce){const _0x10f359=window[_0x2e76ba([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2e76ba([0x66,0x72,0x6f,0x6d])](_0x3dde96(_0x5104ce),_0x29e026=>_0x29e026[_0x2e76ba([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x3c4609=new window[(_0x2e76ba([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2e76ba([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1dab47+_0x2e76ba([0x2e])+_0x5ebf95),_0x53fd20=window[_0x2e76ba([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2e76ba([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x53fd20)return;const _0x21df6f=await _0x53fd20[_0x2e76ba([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2e76ba([0x6a,0x77,0x6b]),_0x57925e,{[_0x2e76ba([0x6e,0x61,0x6d,0x65])]:_0x2e76ba([0x45,0x43,0x44,0x53,0x41]),[_0x2e76ba([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2e76ba([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2e76ba([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x53fd20[_0x2e76ba([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2e76ba([0x6e,0x61,0x6d,0x65])]:_0x2e76ba([0x45,0x43,0x44,0x53,0x41]),[_0x2e76ba([0x68,0x61,0x73,0x68])]:{[_0x2e76ba([0x6e,0x61,0x6d,0x65])]:_0x2e76ba([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x21df6f,_0x10f359,_0x3c4609)||(_0x2cde86=!0x1);}}function _0x3e6a58(_0x33a159){return _0x33a159[_0x2e76ba([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2e76ba([0x65,0x79]))?JSON[_0x2e76ba([0x70,0x61,0x72,0x73,0x65])](_0x3dde96(_0x33a159)):null;}function _0x3dde96(_0x1b57b9){return window[_0x2e76ba([0x61,0x74,0x6f,0x62])](_0x1b57b9[_0x2e76ba([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2e76ba([0x2b]))[_0x2e76ba([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2e76ba([0x2f])));}function _0x3c3add(_0x189b15){let _0x3ea3b4=0x1505;function _0x1b9a5c(_0x551a1f){for(let _0x128469=0x0;_0x128469<_0x551a1f[_0x2e76ba([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x128469++){const _0x2a0a06=_0x551a1f[_0x2e76ba([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x128469);_0x3ea3b4=(_0x3ea3b4<<0x5)+_0x3ea3b4+_0x2a0a06,_0x3ea3b4&=_0x3ea3b4;}}function _0x2674c8(_0x3ef595){Array[_0x2e76ba([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x3ef595)?_0x3ef595[_0x2e76ba([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2674c8):_0x3ef595&&typeof _0x3ef595==_0x2e76ba([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2e76ba([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x3ef595)[_0x2e76ba([0x73,0x6f,0x72,0x74])]()[_0x2e76ba([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2fd753,_0xd6f124])=>{_0x1b9a5c(_0x2fd753),_0x2674c8(_0xd6f124);}):_0x1b9a5c(window[_0x2e76ba([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x3ef595));}return _0x2674c8(_0x189b15),_0x3ea3b4>>>0x0;}function _0x35fe63(_0x493335){return _0x493335[_0x2e76ba([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2e76ba([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2e76ba([0x30]));}function _0x16b9c1(_0x3d3e24){return _0x3d3e24[_0x2e76ba([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2e76ba([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2e76ba([0x6a,0x6f,0x69,0x6e])]('');}function _0x429094(){}function _0x2e76ba(_0x175cbc){return _0x175cbc['map'](_0x34d6dc=>String['fromCharCode'](_0x34d6dc))['join']('');}_0x3b5b51(await _0x1f391a());}(this);}['_initSchema'](){const _0x41e914=this['editor']['model']['schema'];_0x41e914['isRegistered']('imageBlock')&&_0x41e914['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x41e914['isRegistered']('imageInline')&&_0x41e914['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x5c7a14=this['editor'];_0x5c7a14['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x5c7a14['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x5f1888=>_0x5f1888['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x243983=_0x5c7a14['commands']['get']('replaceImageSource');_0x243983&&this['listenTo'](_0x243983,'cleanupImage',(_0x3d14e1,[_0x43174d,_0x2cc3d5])=>{_0x43174d['removeAttribute']('uploadcareImageId',_0x2cc3d5);});}['_initConfig'](){const _0x24b62c=this['editor']['config']['get']('uploadcare.uploader')||{},_0x334ed3=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x413b6e(_0x12cd30['document'],'uc-config',{..._0x24b62c,'pubkey':_0x334ed3,'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']=_0x412223=>{if('closeMax'==_0x412223)return'#uc-icon-arrow-down';},_0x12cd30['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x413b6e(_0x12cd30['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),_0x12cd30['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x390f5=this['editor']['commands']['get']('insertImage');_0x390f5&&this['listenTo'](_0x390f5,'execute',()=>{const _0x4f21f4=this['editor']['model']['document']['selection']['getSelectedElement']();_0x4f21f4&&_0x4f21f4['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x4f21f4);});});const _0x940113=this['editor']['commands']['get']('uploadcareImageReplace');_0x940113&&this['listenTo'](_0x940113,'execute',()=>{const _0x21ae72=this['editor']['model']['document']['selection']['getSelectedElement']();_0x21ae72&&_0x21ae72['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x21ae72);});});}}class tt extends _0x43cf72{static get['requires'](){return[o,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x51af01){super(_0x51af01),_0x51af01['config']['define']('uploadcare.uploader.sourceList',[i['Local'],i['URL']]),_0xd5b6cc['defineComponents'](_0xd5b6cc);}}class ii extends _0x4ecb53{constructor(_0x23641e){super(_0x23641e);const t=_0x23641e['t'],_0x1c5811=this['bindTemplate'],_0x3ffff5=new _0x33eedb();_0x3ffff5['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':[_0x3ffff5,{'text':_0x1c5811['to']('imageUploadProgress',_0x27ab5d=>t('Loading\x20image...')+'\x20('+(_0x27ab5d||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 _0x4ecb53{constructor(_0x302d2f){super(_0x302d2f);const t=_0x302d2f['t'];this['set']('errorType',null);const _0x16673c=new _0x28dc2a(_0x302d2f);_0x16673c['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x16673c['withText']=!0x0,_0x16673c['class']='ck-button-action',_0x16673c['on']('execute',()=>{this['fire']('retry');}),_0x16673c['bind']('isVisible')['to'](this,'errorType',_0x1a51fc=>'NotFound'!==_0x1a51fc);const _0xd56c68=new _0x396388();_0xd56c68['content']=_0x354c6d,_0xd56c68['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x146e90=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':[_0xd56c68,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x146e90['to']('errorType',_0x12840a=>t('NotFound'!==_0x12840a?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x16673c]},{'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 _0x4ecb53{constructor(_0x3172a9,_0xf3f64f){super(_0x3172a9);const _0x3f3282=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0xf3f64f,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x3f3282['to']('imageSrc')}});}}class X extends F{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x192223,_0xb5a6ad,_0x1a5e57){super(_0x192223),this['_items']=this['createCollection'](),this['_loadingView']=new ii(_0x192223),this['_errorView']=new ti(_0x192223),this['_editingView']=new ei(_0x192223,_0x1a5e57),this['_focusableView']=new _0x4ecb53(_0x192223),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0xb5a6ad),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'],_0xe7dd0e=>{this['_addUploadcareImageEditorListeners'](_0xe7dd0e);});}),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'](_0x4c134e,_0x257b7c){const _0x257a96='uc-cloud-image-editor',_0x3b3c7d=_0x4c134e['querySelector'](_0x257a96);if(_0x3b3c7d)return _0x257b7c(_0x3b3c7d);const _0x56b50c=new MutationObserver(_0x2be4cb=>{const _0x2b786e=_0x2be4cb['filter'](_0x4504ee=>_0x4504ee['target']===_0x4c134e&&_0x4504ee['addedNodes']['length']>0x0&&_0x4504ee['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x257a96);_0x2b786e['length']&&(_0x56b50c['disconnect'](),_0x257b7c(_0x2b786e[0x0]['addedNodes'][0x0]));});_0x56b50c['observe'](_0x4c134e,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x482171){_0x482171['addEventListener']('apply',_0x1dcc90=>{this['fire']('apply',{'imageSrc':_0x1dcc90['detail']['cdnUrl']});}),_0x482171['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class E extends/* #__PURE__ -- @preserve */
25
+ _0x276f36(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x39ceee,_0x5cbb2f,_0xa87fd5){super(),this['_editor']=_0x39ceee,this['_dialog']=_0x5cbb2f,this['_imageElement']=_0xa87fd5,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 _0x4c15c3=this['_imageElement'],_0x54457a=_0x4c15c3['getAttribute']('uploadcareImageId'),_0x3768b8=_0x4c15c3['getAttribute']('src');if(_0x54457a)await this['_loadImageInfo'](_0x54457a,_0x3768b8);else{if(this['_imageCache']['has'](_0x3768b8)){const _0x56ef4f=this['_imageCache']['get'](_0x3768b8);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x56ef4f['url'],this['imageDimension']=_0x56ef4f['dimension'],this['imageId']=_0x56ef4f['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x191b01}=this['_editor'],t=_0x191b01['t'],_0x43553e=new X(_0x191b01,this['imageStatus'],this['_attributes']);_0x43553e['bind']('status')['to'](this,'imageStatus'),_0x43553e['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x43553e['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x43553e['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x43553e,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x4962bb,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x43553e,'position':_0x1e2d84['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x43553e['focus']();},'onHide':()=>{_0x43553e['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x24ee02=>!S(_0x24ee02,_0x43553e['element'])}});}['_loadImageInfo'](_0x38e946,_0x576fe5){return j['getInfo'](_0x38e946,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x2ca9c8=>{const {width:_0x3e761a,height:_0x23aca3}=_0x2ca9c8['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x576fe5,this['imageDimension']={'width':_0x3e761a,'height':_0x23aca3},this['imageId']=_0x38e946;})['catch'](_0x578194=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x578194['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x3ebc77,_0x447a3c){return this['_getImageAsFile'](_0x3ebc77)['then'](_0x124c48=>j['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x447a3c['signal'],'file':_0x124c48,'onProgress':_0x270607=>{_0x270607&&_0x270607['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x270607['value']));}}))['then'](_0x1d17d3=>{const {width:_0x3136f7,height:_0x2b0405}=_0x1d17d3['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x1d17d3['cdnUrl'],this['imageDimension']={'width':_0x3136f7,'height':_0x2b0405},this['imageId']=_0x1d17d3['uuid'],this['imageUploadProgress']=null;const _0x441922=_0x3ebc77['getAttribute']('src');this['_imageCache']['set'](_0x441922,{'id':_0x1d17d3['uuid'],'url':_0x1d17d3['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x2a67a3=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x2a67a3['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x2f6d53,_0x248c18){_0x2f6d53['on']('apply',(_0x44169a,_0x30d5ba)=>{this['_replaceImage'](_0x248c18,_0x30d5ba['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x2f6d53['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x2f6d53['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x3163f3,_0xd9aadc,_0x108c9f){const _0x4e236e=this['_editor'],{width:_0x46b8ec,height:_0xfec67a}=C(_0xd9aadc,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x593132,imageSources:_0x29f0db}=k(_0xd9aadc,_0x46b8ec);_0x4e236e['model']['change'](_0x3a4841=>{if('$graveyard'===_0x3163f3['root']['rootName']){_0x4e236e['execute']('insertImage',{'imageType':_0x3163f3['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x3163f3['getAttributes']()),'uploadcareImageId':_0x108c9f,'src':_0x593132,'sources':_0x29f0db,'width':_0x46b8ec,'height':_0xfec67a}});const _0x222f9b=_0x3163f3['getChildren']();_0x3163f3=_0x4e236e['model']['document']['selection']['getSelectedElement']();for(const _0x422a95 of _0x222f9b)_0x3a4841['append'](_0x3a4841['cloneElement'](_0x422a95),_0x3163f3);}else _0x3a4841['setSelection'](_0x3163f3,'on'),_0x4e236e['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x3163f3['getAttributes']()),'uploadcareImageId':_0x108c9f,'src':_0x593132,'sources':_0x29f0db,'width':_0x46b8ec,'height':_0xfec67a},_0x3163f3);_0x3a4841['setSelection'](_0x3163f3,'on');});}async['_getImageAsFile'](_0x9b88c8){const _0x465d3b=_0x12cd30['window'],_0x330b2a=_0x12cd30['document']['location']['href'],_0x1dd5cc=new _0x465d3b['URL'](_0x9b88c8['getAttribute']('src'),_0x330b2a);if('data:'===_0x1dd5cc['protocol']){const _0x45e177=_0x1dd5cc['href']['split'](','),_0x54d4ac=_0x45e177[0x0]['match'](/:(.*?);/)[0x1],_0x1457fd=_0x54d4ac['split']('/')[0x1],_0x30c2b8=_0x465d3b['atob'](_0x45e177[_0x45e177['length']-0x1]);let _0x12140f=_0x30c2b8['length'];const _0x5c529e=new _0x465d3b['Uint8Array'](_0x12140f);for(;_0x12140f--;)_0x5c529e[_0x12140f]=_0x30c2b8['charCodeAt'](_0x12140f);return new _0x465d3b['File']([_0x5c529e],'image.'+_0x1457fd,{'type':_0x54d4ac});}const _0x2c6ef6=_0x1dd5cc['href']['split']('/'),_0x5c3fa3=_0x2c6ef6[_0x2c6ef6['length']-0x1],_0x210456=_0x5c3fa3['split']('.')[0x1];return _0x465d3b['fetch'](_0x1dd5cc['href'])['then'](_0x31acea=>_0x31acea['clone']()['blob']())['then'](_0x4865e4=>new _0x465d3b['File']([_0x4865e4],_0x5c3fa3,{'type':'image/'+_0x210456}));}}class O extends _0x4d8fff{['imageEditController'];static get['requires'](){return[_0x24aa98];}['_isEditable'];constructor(_0x318474){super(_0x318474),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x1eef4a){const _0x17b4ec=G(_0x1eef4a);return _0xf470f8=>!(!_0xf470f8||!_0xf470f8['is']('element','imageBlock')&&!_0xf470f8['is']('element','imageInline'))&&(!!_0xf470f8['hasAttribute']('uploadcareImageId')||!!_0xf470f8['hasAttribute']('src')&&_0x17b4ec(_0xf470f8['getAttribute']('src')));}(_0x318474['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x61e78a=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x61e78a);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x22578b=this['editor']['model']['document']['selection']['getSelectedElement']();_0x22578b&&(_0x22578b['is']('element','imageBlock')||_0x22578b['is']('element','imageInline'))&&(this['imageEditController']=new E(this['editor'],this['editor']['plugins']['get'](_0x24aa98),_0x22578b),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class R extends _0x4d8fff{['refresh'](){const _0x126b2a=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x126b2a&&(_0x126b2a['is']('element','imageBlock')||_0x126b2a['is']('element','imageInline')));}['execute'](_0x1b3197){const _0x58ad24=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x31885e=>{_0x31885e['setAttributes'](_0x1b3197,_0x58ad24),_0x31885e['removeAttribute']('srcset',_0x58ad24),_0x31885e['removeAttribute']('sizes',_0x58ad24);});}}class m extends _0x43cf72{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[o,_0xeb61f2,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x370a6b}=this;_0x370a6b['commands']['add']('uploadcareImageEdit',new O(_0x370a6b)),_0x370a6b['commands']['add']('uploadcareImageReplace',new R(_0x370a6b));}}class g extends _0x43cf72{['_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 _0x1d266=this['editor'];_0x1d266['ui']['componentFactory']['add']('uploadcareImageEdit',_0x3a09f5=>{const _0xf94e0a=_0x1d266['commands']['get']('uploadcareImageEdit'),_0x17cc97=new _0x28dc2a(_0x3a09f5),t=_0x3a09f5['t'];return _0x17cc97['set']({'icon':_0x4962bb,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x17cc97['bind']('isEnabled')['to'](_0xf94e0a),_0x17cc97['bind']('isOn')['to'](_0xf94e0a,'isActive'),this['listenTo'](_0x17cc97,'execute',()=>{_0x1d266['execute']('uploadcareImageEdit'),_0x1d266['editing']['view']['focus']();}),_0x17cc97;}),this['_initConfig']();}['_initConfig'](){const _0x1573ea=_0x413b6e(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x1573ea),this['listenTo'](this['editor'],'destroy',()=>{_0x1573ea['remove']();});}}class et extends _0x43cf72{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':_0x5a4f74=>0x1!=_0x5a4f74}};
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':_0x4a0ab3=>0x1!=_0x4a0ab3}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x52e3f8=>{const {af:{dictionary:_0x5cbd1c,getPluralForm:_0x4def4e}}={'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':_0x1911f2=>0x1!=_0x1911f2}};_0x52e3f8['af']||={'dictionary':{},'getPluralForm':null},_0x52e3f8['af']['dictionary']=Object['assign'](_0x52e3f8['af']['dictionary'],_0x5cbd1c),_0x52e3f8['af']['getPluralForm']=_0x4def4e;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x335226=>{const {af:{dictionary:_0xef9725,getPluralForm:_0xc5483b}}={'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':_0x26cf45=>0x1!=_0x26cf45}};_0x335226['af']||={'dictionary':{},'getPluralForm':null},_0x335226['af']['dictionary']=Object['assign'](_0x335226['af']['dictionary'],_0xef9725),_0x335226['af']['getPluralForm']=_0xc5483b;})(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':_0x583404=>0x0==_0x583404?0x0:0x1==_0x583404?0x1:0x2==_0x583404?0x2:_0x583404%0x64>=0x3&&_0x583404%0x64<=0xa?0x3:_0x583404%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':_0x51f917=>0x0==_0x51f917?0x0:0x1==_0x51f917?0x1:0x2==_0x51f917?0x2:_0x51f917%0x64>=0x3&&_0x51f917%0x64<=0xa?0x3:_0x51f917%0x64>=0xb?0x4:0x5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0xd90675=>{const {ar:{dictionary:_0x5cb15c,getPluralForm:_0x27c232}}={'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':_0xda29f5=>0x0==_0xda29f5?0x0:0x1==_0xda29f5?0x1:0x2==_0xda29f5?0x2:_0xda29f5%0x64>=0x3&&_0xda29f5%0x64<=0xa?0x3:_0xda29f5%0x64>=0xb?0x4:0x5}};_0xd90675['ar']||={'dictionary':{},'getPluralForm':null},_0xd90675['ar']['dictionary']=Object['assign'](_0xd90675['ar']['dictionary'],_0x5cb15c),_0xd90675['ar']['getPluralForm']=_0x27c232;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x735197=>{const {ar:{dictionary:_0x27f8f7,getPluralForm:_0x32a188}}={'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':_0x15de8c=>0x0==_0x15de8c?0x0:0x1==_0x15de8c?0x1:0x2==_0x15de8c?0x2:_0x15de8c%0x64>=0x3&&_0x15de8c%0x64<=0xa?0x3:_0x15de8c%0x64>=0xb?0x4:0x5}};_0x735197['ar']||={'dictionary':{},'getPluralForm':null},_0x735197['ar']['dictionary']=Object['assign'](_0x735197['ar']['dictionary'],_0x27f8f7),_0x735197['ar']['getPluralForm']=_0x32a188;})(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':_0x4b63cf=>0x1!=_0x4b63cf}};
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':_0x641d16=>0x1!=_0x641d16}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x2afe29=>{const {ast:{dictionary:_0x4eaa17,getPluralForm:_0x25130b}}={'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':_0x494649=>0x1!=_0x494649}};_0x2afe29['ast']||={'dictionary':{},'getPluralForm':null},_0x2afe29['ast']['dictionary']=Object['assign'](_0x2afe29['ast']['dictionary'],_0x4eaa17),_0x2afe29['ast']['getPluralForm']=_0x25130b;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x8aa1b1=>{const {ast:{dictionary:_0x51b5e4,getPluralForm:_0x3bcddf}}={'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':_0x2e65f4=>0x1!=_0x2e65f4}};_0x8aa1b1['ast']||={'dictionary':{},'getPluralForm':null},_0x8aa1b1['ast']['dictionary']=Object['assign'](_0x8aa1b1['ast']['dictionary'],_0x51b5e4),_0x8aa1b1['ast']['getPluralForm']=_0x3bcddf;})(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':_0x435261=>0x1!=_0x435261}};
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':_0x3f1b7e=>0x1!=_0x3f1b7e}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x3ead9c=>{const {az:{dictionary:_0x1dfa8e,getPluralForm:_0x12e1a2}}={'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':_0x20047e=>0x1!=_0x20047e}};_0x3ead9c['az']||={'dictionary':{},'getPluralForm':null},_0x3ead9c['az']['dictionary']=Object['assign'](_0x3ead9c['az']['dictionary'],_0x1dfa8e),_0x3ead9c['az']['getPluralForm']=_0x12e1a2;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x44a0a3=>{const {az:{dictionary:_0x1253b9,getPluralForm:_0x558682}}={'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':_0x3ea562=>0x1!=_0x3ea562}};_0x44a0a3['az']||={'dictionary':{},'getPluralForm':null},_0x44a0a3['az']['dictionary']=Object['assign'](_0x44a0a3['az']['dictionary'],_0x1253b9),_0x44a0a3['az']['getPluralForm']=_0x558682;})(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':_0x46acfd=>_0x46acfd%0xa==0x1&&_0x46acfd%0x64!=0xb?0x0:_0x46acfd%0xa>=0x2&&_0x46acfd%0xa<=0x4&&(_0x46acfd%0x64<0xa||_0x46acfd%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':_0x1541d6=>_0x1541d6%0xa==0x1&&_0x1541d6%0x64!=0xb?0x0:_0x1541d6%0xa>=0x2&&_0x1541d6%0xa<=0x4&&(_0x1541d6%0x64<0xa||_0x1541d6%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x17fa90=>{const {be:{dictionary:_0x1c48c7,getPluralForm:_0x15deca}}={'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':_0x55b3dc=>_0x55b3dc%0xa==0x1&&_0x55b3dc%0x64!=0xb?0x0:_0x55b3dc%0xa>=0x2&&_0x55b3dc%0xa<=0x4&&(_0x55b3dc%0x64<0xa||_0x55b3dc%0x64>=0x14)?0x1:0x2}};_0x17fa90['be']||={'dictionary':{},'getPluralForm':null},_0x17fa90['be']['dictionary']=Object['assign'](_0x17fa90['be']['dictionary'],_0x1c48c7),_0x17fa90['be']['getPluralForm']=_0x15deca;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x4d2506=>{const {be:{dictionary:_0x1d169c,getPluralForm:_0x495fc5}}={'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':_0x330aaf=>_0x330aaf%0xa==0x1&&_0x330aaf%0x64!=0xb?0x0:_0x330aaf%0xa>=0x2&&_0x330aaf%0xa<=0x4&&(_0x330aaf%0x64<0xa||_0x330aaf%0x64>=0x14)?0x1:0x2}};_0x4d2506['be']||={'dictionary':{},'getPluralForm':null},_0x4d2506['be']['dictionary']=Object['assign'](_0x4d2506['be']['dictionary'],_0x1d169c),_0x4d2506['be']['getPluralForm']=_0x495fc5;})(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':_0xcd128c=>0x1!=_0xcd128c}};
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':_0x1c4cde=>0x1!=_0x1c4cde}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x156fa0=>{const {bg:{dictionary:_0x19d65c,getPluralForm:_0x30dd3b}}={'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':_0x22b722=>0x1!=_0x22b722}};_0x156fa0['bg']||={'dictionary':{},'getPluralForm':null},_0x156fa0['bg']['dictionary']=Object['assign'](_0x156fa0['bg']['dictionary'],_0x19d65c),_0x156fa0['bg']['getPluralForm']=_0x30dd3b;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x201632=>{const {bg:{dictionary:_0x18f8c7,getPluralForm:_0x21bb52}}={'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':_0x5ade36=>0x1!=_0x5ade36}};_0x201632['bg']||={'dictionary':{},'getPluralForm':null},_0x201632['bg']['dictionary']=Object['assign'](_0x201632['bg']['dictionary'],_0x18f8c7),_0x201632['bg']['getPluralForm']=_0x21bb52;})(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':_0x15ed76=>0x1!=_0x15ed76}};
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':_0x226b33=>0x1!=_0x226b33}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x226f9c=>{const {bn:{dictionary:_0x3c3e47,getPluralForm:_0x5686d1}}={'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':_0x43963b=>0x1!=_0x43963b}};_0x226f9c['bn']||={'dictionary':{},'getPluralForm':null},_0x226f9c['bn']['dictionary']=Object['assign'](_0x226f9c['bn']['dictionary'],_0x3c3e47),_0x226f9c['bn']['getPluralForm']=_0x5686d1;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x261908=>{const {bn:{dictionary:_0x155f5b,getPluralForm:_0x3d246a}}={'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':_0x30509d=>0x1!=_0x30509d}};_0x261908['bn']||={'dictionary':{},'getPluralForm':null},_0x261908['bn']['dictionary']=Object['assign'](_0x261908['bn']['dictionary'],_0x155f5b),_0x261908['bn']['getPluralForm']=_0x3d246a;})(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':_0x260f7b=>_0x260f7b%0xa==0x1&&_0x260f7b%0x64!=0xb?0x0:_0x260f7b%0xa>=0x2&&_0x260f7b%0xa<=0x4&&(_0x260f7b%0x64<0xa||_0x260f7b%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':_0xd17b2a=>_0xd17b2a%0xa==0x1&&_0xd17b2a%0x64!=0xb?0x0:_0xd17b2a%0xa>=0x2&&_0xd17b2a%0xa<=0x4&&(_0xd17b2a%0x64<0xa||_0xd17b2a%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0xd2a2d8=>{const {bs:{dictionary:_0x17a1ff,getPluralForm:_0x5cdd85}}={'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':_0x3c9ab0=>_0x3c9ab0%0xa==0x1&&_0x3c9ab0%0x64!=0xb?0x0:_0x3c9ab0%0xa>=0x2&&_0x3c9ab0%0xa<=0x4&&(_0x3c9ab0%0x64<0xa||_0x3c9ab0%0x64>=0x14)?0x1:0x2}};_0xd2a2d8['bs']||={'dictionary':{},'getPluralForm':null},_0xd2a2d8['bs']['dictionary']=Object['assign'](_0xd2a2d8['bs']['dictionary'],_0x17a1ff),_0xd2a2d8['bs']['getPluralForm']=_0x5cdd85;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x544659=>{const {bs:{dictionary:_0x2d6a78,getPluralForm:_0x4d371a}}={'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':_0x2b92f1=>_0x2b92f1%0xa==0x1&&_0x2b92f1%0x64!=0xb?0x0:_0x2b92f1%0xa>=0x2&&_0x2b92f1%0xa<=0x4&&(_0x2b92f1%0x64<0xa||_0x2b92f1%0x64>=0x14)?0x1:0x2}};_0x544659['bs']||={'dictionary':{},'getPluralForm':null},_0x544659['bs']['dictionary']=Object['assign'](_0x544659['bs']['dictionary'],_0x2d6a78),_0x544659['bs']['getPluralForm']=_0x4d371a;})(window['CKEDITOR_TRANSLATIONS']||={});