@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-20250320.0 → 0.0.0-nightly-20250322.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (171) 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/bg.js +1 -1
  12. package/dist/translations/bg.umd.js +1 -1
  13. package/dist/translations/bn.js +1 -1
  14. package/dist/translations/bn.umd.js +1 -1
  15. package/dist/translations/bs.js +1 -1
  16. package/dist/translations/bs.umd.js +1 -1
  17. package/dist/translations/ca.js +1 -1
  18. package/dist/translations/ca.umd.js +1 -1
  19. package/dist/translations/cs.js +1 -1
  20. package/dist/translations/cs.umd.js +1 -1
  21. package/dist/translations/da.js +1 -1
  22. package/dist/translations/da.umd.js +1 -1
  23. package/dist/translations/de-ch.js +1 -1
  24. package/dist/translations/de-ch.umd.js +1 -1
  25. package/dist/translations/de.js +1 -1
  26. package/dist/translations/de.umd.js +1 -1
  27. package/dist/translations/el.js +1 -1
  28. package/dist/translations/el.umd.js +1 -1
  29. package/dist/translations/en-au.js +1 -1
  30. package/dist/translations/en-au.umd.js +1 -1
  31. package/dist/translations/en-gb.js +1 -1
  32. package/dist/translations/en-gb.umd.js +1 -1
  33. package/dist/translations/en.js +1 -1
  34. package/dist/translations/en.umd.js +1 -1
  35. package/dist/translations/eo.js +1 -1
  36. package/dist/translations/eo.umd.js +1 -1
  37. package/dist/translations/es-co.js +1 -1
  38. package/dist/translations/es-co.umd.js +1 -1
  39. package/dist/translations/es.js +1 -1
  40. package/dist/translations/es.umd.js +1 -1
  41. package/dist/translations/et.js +1 -1
  42. package/dist/translations/et.umd.js +1 -1
  43. package/dist/translations/eu.js +1 -1
  44. package/dist/translations/eu.umd.js +1 -1
  45. package/dist/translations/fa.js +1 -1
  46. package/dist/translations/fa.umd.js +1 -1
  47. package/dist/translations/fi.js +1 -1
  48. package/dist/translations/fi.umd.js +1 -1
  49. package/dist/translations/fr.js +1 -1
  50. package/dist/translations/fr.umd.js +1 -1
  51. package/dist/translations/gl.js +1 -1
  52. package/dist/translations/gl.umd.js +1 -1
  53. package/dist/translations/gu.js +1 -1
  54. package/dist/translations/gu.umd.js +1 -1
  55. package/dist/translations/he.js +1 -1
  56. package/dist/translations/he.umd.js +1 -1
  57. package/dist/translations/hi.js +1 -1
  58. package/dist/translations/hi.umd.js +1 -1
  59. package/dist/translations/hr.js +1 -1
  60. package/dist/translations/hr.umd.js +1 -1
  61. package/dist/translations/hu.js +1 -1
  62. package/dist/translations/hu.umd.js +1 -1
  63. package/dist/translations/hy.js +1 -1
  64. package/dist/translations/hy.umd.js +1 -1
  65. package/dist/translations/id.js +1 -1
  66. package/dist/translations/id.umd.js +1 -1
  67. package/dist/translations/it.js +1 -1
  68. package/dist/translations/it.umd.js +1 -1
  69. package/dist/translations/ja.js +1 -1
  70. package/dist/translations/ja.umd.js +1 -1
  71. package/dist/translations/jv.js +1 -1
  72. package/dist/translations/jv.umd.js +1 -1
  73. package/dist/translations/kk.js +1 -1
  74. package/dist/translations/kk.umd.js +1 -1
  75. package/dist/translations/km.js +1 -1
  76. package/dist/translations/km.umd.js +1 -1
  77. package/dist/translations/kn.js +1 -1
  78. package/dist/translations/kn.umd.js +1 -1
  79. package/dist/translations/ko.js +1 -1
  80. package/dist/translations/ko.umd.js +1 -1
  81. package/dist/translations/ku.js +1 -1
  82. package/dist/translations/ku.umd.js +1 -1
  83. package/dist/translations/lt.js +1 -1
  84. package/dist/translations/lt.umd.js +1 -1
  85. package/dist/translations/lv.js +1 -1
  86. package/dist/translations/lv.umd.js +1 -1
  87. package/dist/translations/ms.js +1 -1
  88. package/dist/translations/ms.umd.js +1 -1
  89. package/dist/translations/nb.js +1 -1
  90. package/dist/translations/nb.umd.js +1 -1
  91. package/dist/translations/ne.js +1 -1
  92. package/dist/translations/ne.umd.js +1 -1
  93. package/dist/translations/nl.js +1 -1
  94. package/dist/translations/nl.umd.js +1 -1
  95. package/dist/translations/no.js +1 -1
  96. package/dist/translations/no.umd.js +1 -1
  97. package/dist/translations/oc.js +1 -1
  98. package/dist/translations/oc.umd.js +1 -1
  99. package/dist/translations/pl.js +1 -1
  100. package/dist/translations/pl.umd.js +1 -1
  101. package/dist/translations/pt-br.js +1 -1
  102. package/dist/translations/pt-br.umd.js +1 -1
  103. package/dist/translations/pt.js +1 -1
  104. package/dist/translations/pt.umd.js +1 -1
  105. package/dist/translations/ro.js +1 -1
  106. package/dist/translations/ro.umd.js +1 -1
  107. package/dist/translations/ru.js +1 -1
  108. package/dist/translations/ru.umd.js +1 -1
  109. package/dist/translations/si.js +1 -1
  110. package/dist/translations/si.umd.js +1 -1
  111. package/dist/translations/sk.js +1 -1
  112. package/dist/translations/sk.umd.js +1 -1
  113. package/dist/translations/sl.js +1 -1
  114. package/dist/translations/sl.umd.js +1 -1
  115. package/dist/translations/sq.js +1 -1
  116. package/dist/translations/sq.umd.js +1 -1
  117. package/dist/translations/sr-latn.js +1 -1
  118. package/dist/translations/sr-latn.umd.js +1 -1
  119. package/dist/translations/sr.js +1 -1
  120. package/dist/translations/sr.umd.js +1 -1
  121. package/dist/translations/sv.js +1 -1
  122. package/dist/translations/sv.umd.js +1 -1
  123. package/dist/translations/th.js +1 -1
  124. package/dist/translations/th.umd.js +1 -1
  125. package/dist/translations/ti.js +1 -1
  126. package/dist/translations/ti.umd.js +1 -1
  127. package/dist/translations/tk.js +1 -1
  128. package/dist/translations/tk.umd.js +1 -1
  129. package/dist/translations/tr.js +1 -1
  130. package/dist/translations/tr.umd.js +1 -1
  131. package/dist/translations/tt.js +1 -1
  132. package/dist/translations/tt.umd.js +1 -1
  133. package/dist/translations/ug.js +1 -1
  134. package/dist/translations/ug.umd.js +1 -1
  135. package/dist/translations/uk.js +1 -1
  136. package/dist/translations/uk.umd.js +1 -1
  137. package/dist/translations/ur.js +1 -1
  138. package/dist/translations/ur.umd.js +1 -1
  139. package/dist/translations/uz.js +1 -1
  140. package/dist/translations/uz.umd.js +1 -1
  141. package/dist/translations/vi.js +1 -1
  142. package/dist/translations/vi.umd.js +1 -1
  143. package/dist/translations/zh-cn.js +1 -1
  144. package/dist/translations/zh-cn.umd.js +1 -1
  145. package/dist/translations/zh.js +1 -1
  146. package/dist/translations/zh.umd.js +1 -1
  147. package/package.json +9 -9
  148. package/src/index.js +1 -1
  149. package/src/ui/uploadcarecontroller.js +2 -2
  150. package/src/ui/uploadcareformview.js +1 -1
  151. package/src/uploadcare.js +1 -1
  152. package/src/uploadcarecommand.js +1 -1
  153. package/src/uploadcareconfig.js +1 -1
  154. package/src/uploadcareediting.js +1 -1
  155. package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.js +2 -2
  156. package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.js +1 -1
  157. package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.js +1 -1
  158. package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.js +1 -1
  159. package/src/uploadcareimageedit/ui/uploadcareimageeditformview.js +1 -1
  160. package/src/uploadcareimageedit/uploadcareimageeditcommand.js +1 -1
  161. package/src/uploadcareimageedit/uploadcareimageeditediting.js +1 -1
  162. package/src/uploadcareimageedit/uploadcareimageeditui.js +1 -1
  163. package/src/uploadcareimageedit/uploadcareimagereplacecommand.js +1 -1
  164. package/src/uploadcareimageedit.js +1 -1
  165. package/src/uploadcareui.js +1 -1
  166. package/src/uploadcareuploadadapter.js +1 -1
  167. package/src/utils/common-translations.js +1 -1
  168. package/src/utils/dialogfocusmanagerview.js +1 -1
  169. package/src/utils/editingutils.js +1 -1
  170. package/src/utils/isancestor.js +1 -1
  171. 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 _0x1ea05f,Command as _0x2ed253}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x5cc961,IconGooglePhotos as _0x369310,IconGoogleDrive as _0x7d992b,IconFacebook as _0x44c767,IconDropbox as _0x6fb3fa,IconUploadcareLink as _0x1e6a43,IconUploadcareImageUpload as _0x5ce1ab,IconError as et,IconUploadcareImageEdit as _0x3c444d}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x7d7d7a,MenuBarMenuListItemButtonView as _0x494614,View as _0x3a01ba,FocusCycler as _0x322b48,Dialog as _0x387d79,DialogViewPosition as _0x302a0f,SpinnerView as _0x1fbf13,IconView as at,Notification as _0x4a18fb}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x1a47ac,DomEmitterMixin as _0x24e9e9,global as _0x2e1ebe,getAncestors as _0x12591d,ObservableMixin as _0x345fea,createElement as _0x364082,uid as _0x5a1486}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x282680}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x2f5379,info as _0x3a40e2}from'@uploadcare/upload-client';import*as _0x115d03 from'@uploadcare/file-uploader';var o=function(_0x1c5ddf){return _0x1c5ddf['Local']='local',_0x1c5ddf['URL']='url',_0x1c5ddf['Dropbox']='dropbox',_0x1c5ddf['GDrive']='gdrive',_0x1c5ddf['Facebook']='facebook',_0x1c5ddf['GPhotos']='gphotos',_0x1c5ddf['OneDrive']='onedrive',_0x1c5ddf;}({});function _(_0x4cc242,_0x297e6b,_0x29986c){const t=_0x4cc242['t'],_0xf47682=_0x4cc242['t'];switch(_0x297e6b){case o['Local']:return{'text':_0xf47682('Insert'===_0x29986c?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0xf47682('From\x20computer')};case o['URL']:return{'text':'Insert'===_0x29986c?_0xf47682('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0xf47682('Via\x20URL')};case o['Dropbox']:return{'text':t('Insert'===_0x29986c?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case o['Facebook']:return{'text':t('Insert'===_0x29986c?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case o['GDrive']:return{'text':t('Insert'===_0x29986c?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case o['GPhotos']:return{'text':t('Insert'===_0x29986c?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case o['OneDrive']:return{'text':t('Insert'===_0x29986c?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x297e6b;}}class e extends _0x1ea05f{['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 _0x1cc703=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x88d041;for(const _0x8b1ae8 in _0x1cc703){const _0x2bee13=_0x8b1ae8,_0x338734=_0x1cc703[_0x2bee13];if('uploadcareLicenseKeyValid'==_0x338734||'uploadcareLicenseKeyInvalid'==_0x338734||'uploadcareLicenseKeyExpired'==_0x338734||'uploadcareLicenseKeyDomainLimit'==_0x338734||'uploadcareLicenseKeyNotAllowed'==_0x338734||'uploadcareLicenseKeyEvaluationLimit'==_0x338734||'uploadcareLicenseKeyTrialLimit'==_0x338734||'uploadcareLicenseKeyUsageLimit'==_0x338734){delete _0x1cc703[_0x2bee13],_0x88d041=_0x338734,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x88d041&&_0x1cc703['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x88d041&&_0x1cc703['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x88d041&&_0x1cc703['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x88d041&&_0x1cc703['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x88d041&&_0x1cc703['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0x88d041&&_0x1cc703['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0x88d041&&_0x1cc703['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x357e78}=this,_0x1d7b68=_0x357e78['commands']['get']('uploadcare');if(!_0x1d7b68)return;const _0x49527a=this['_normalizeConfigSourceList'](_0x357e78['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x7bc473,_0x14d95f)=>{const _0x10ac48=this['_getIntegrationKey'](_0x14d95f['type']);return _0x7bc473[_0x10ac48]||(_0x7bc473[_0x10ac48]=[]),_0x7bc473[_0x10ac48]['push'](_0x14d95f),_0x7bc473;},{});_0x357e78['plugins']['has']('ImageInsertUI')&&_0x357e78['commands']['get']('uploadcare')&&Object['entries'](_0x49527a)['forEach'](([_0xbe343d,_0x1688f6])=>{_0x357e78['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0xbe343d,'observable':()=>_0x1d7b68,'buttonViewCreator':()=>this['_createToolbarButton'](_0x1688f6),'formViewCreator':()=>this['_createDropdownButtons'](_0x1688f6),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x1688f6),'override':'assetManager'!==_0xbe343d});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x77ae96){const {locale:_0x5bd4ae}=this['editor'];return _0x77ae96['map'](_0x47f0a7=>{const _0x184d71=_(_0x5bd4ae,_0x47f0a7,'Insert');switch(_0x47f0a7){case o['Local']:return{'icon':_0x5ce1ab,'type':o['Local'],..._0x184d71};case o['URL']:return{'icon':_0x1e6a43,'type':o['URL'],..._0x184d71};case o['Dropbox']:return{'icon':_0x6fb3fa,'type':o['Dropbox'],..._0x184d71};case o['Facebook']:return{'icon':_0x44c767,'type':o['Facebook'],..._0x184d71};case o['GDrive']:return{'icon':_0x7d992b,'type':o['GDrive'],..._0x184d71};case o['GPhotos']:return{'icon':_0x369310,'type':o['GPhotos'],..._0x184d71};case o['OneDrive']:return{'icon':_0x5cc961,'type':o['OneDrive'],..._0x184d71};}});}['_getIntegrationKey'](_0x4e199a){switch(_0x4e199a){case o['Local']:return'upload';case o['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x23243d,_0x2d077b){const _0x6638b4=this['editor'],_0x5c81b1=new _0x23243d(_0x6638b4['locale']),_0x1188d0=_0x6638b4['commands']['get']('uploadcare');return _0x5c81b1['bind']('isEnabled')['to'](_0x1188d0),_0x5c81b1['on']('execute',()=>{_0x1188d0['execute'](_0x2d077b);}),_0x5c81b1;}['_createToolbarButton'](_0x5b3bdb){const {locale:_0x25f2c5}=this['editor'],_0x164659=this['editor']['plugins']['get']('ImageInsertUI'),_0x522369=_0x5b3bdb[0x0],_0x24bede=this['_createButton'](_0x7d7d7a,_0x522369['type']);return _0x24bede['icon']=_0x522369['icon'],_0x24bede['bind']('label')['to'](_0x164659,'isImageSelected',_0x5e5b67=>_(_0x25f2c5,_0x522369['type'],_0x5e5b67?'Replace':'Insert')['text']),_0x24bede['tooltip']=!0x0,_0x24bede;}['_createDropdownButtons'](_0x105b47){const {locale:_0x199733}=this['editor'],_0x204640=this['editor']['plugins']['get']('ImageInsertUI');return _0x105b47['map'](_0x2a3f31=>{const _0x3be089=this['_createButton'](_0x7d7d7a,_0x2a3f31['type']);return _0x3be089['withText']=!0x0,_0x3be089['icon']=_0x2a3f31['icon'],_0x3be089['bind']('label')['to'](_0x204640,'isImageSelected',_0x205c5f=>_(_0x199733,_0x2a3f31['type'],_0x205c5f?'Replace':'Insert')['text']),_0x3be089;});}['_createMenuBarButtons'](_0x3c326a){return _0x3c326a['map'](_0x17bc68=>{const _0x32c5c8=this['_createButton'](_0x494614,_0x17bc68['type']);return _0x32c5c8['icon']=_0x17bc68['icon'],_0x32c5c8['label']=_0x17bc68['shortText'],_0x32c5c8;});}}class q extends _0x3a01ba{['focusTracker'];['focusCycler'];constructor(_0x3e1782){super(_0x3e1782),this['focusTracker']=new _0x1a47ac(),this['focusCycler']=new _0x322b48({'focusables':this['createCollection'](),'focusTracker':this['focusTracker']});}['getFocusableElement'](){return{'tag':'div','attributes':{'aria-hidden':'true','tabindex':'0'},'on':{'focus':this['bindTemplate']['to'](()=>{this['focusCycler']['fire']('forwardCycle');})}};}}class S extends q{constructor(_0xe6aecf){super(_0xe6aecf),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'}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function E(_0x245c60,_0x1c1509){const _0x2dd999=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x38b84c=>_0x38b84c<=_0x1c1509)['map'](_0x48864b=>_0x245c60['replace'](/\/$/,'')+'/-/resize/'+_0x48864b+'x/\x20'+_0x48864b+'w');return{'imageFallbackUrl':_0x245c60,'imageSources':[{'srcset':_0x2dd999['join'](',\x20'),'sizes':'(max-width:\x20'+_0x1c1509+'px)\x20100vw,\x20'+_0x1c1509+'px','type':'image/webp'}]};}function A(_0x111254,_0x52c40f,_0x386754){const _0x4e62bb=_0x111254['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x4e62bb?parseInt(_0x4e62bb[0x1],0xa):_0x52c40f,'height':_0x4e62bb?parseInt(_0x4e62bb[0x2],0xa):_0x386754};}function m(_0x37d899,_0x3692f0){const _0x1cc7b1=Object['create'](_0x24e9e9),_0x34bd52=_0x37d899['plugins']['get']('ImageUtils'),_0x1b6cd5=_0x37d899['editing']['mapper']['toViewElement'](_0x3692f0),_0x46f4ce=_0x34bd52['findViewImgElement'](_0x1b6cd5),_0x11e506=_0x37d899['editing']['view']['domConverter']['viewToDom'](_0x46f4ce),_0x38eac5=_0x3692f0['getAttribute']('width'),_0x17ffaa=_0x3692f0['getAttribute']('height'),_0x25d7c0='image-processing';_0x37d899['editing']['view']['change'](_0xb1153=>{_0xb1153['addClass'](_0x25d7c0,_0x1b6cd5),_0xb1153['setStyle']('aspect-ratio',_0x38eac5+'/'+_0x17ffaa,_0x46f4ce);}),_0x1cc7b1['listenTo'](_0x11e506,'load',()=>{_0x1cc7b1['stopListening'](_0x11e506,'load'),_0x37d899['editing']['view']['change'](_0x54cf62=>{_0x54cf62['removeClass'](_0x25d7c0,_0x1b6cd5),_0x54cf62['removeStyle']('aspect-ratio',_0x46f4ce);});});}function V(_0x4a7310){if(Array['isArray'](_0x4a7310)){const _0x4601a4=_0x4a7310['map'](V);return _0x56842b=>_0x4601a4['some'](_0x34f0c6=>_0x34f0c6(_0x56842b));}if('origin'==_0x4a7310){const _0xdb8ebd=_0x2e1ebe['window']['location']['origin'];return _0x16d95b=>new URL(_0x16d95b,_0x2e1ebe['document']['baseURI'])['origin']==_0xdb8ebd;}return'function'==typeof _0x4a7310?_0x4a7310:_0x4a7310 instanceof RegExp?_0x5909f6=>!(!_0x5909f6['match'](_0x4a7310)&&!_0x5909f6['replace'](/^https?:\/\//,'')['match'](_0x4a7310)):()=>!0x1;}function F(_0x3e4f89,_0x3ccfed){return _0x12591d(_0x3e4f89['target'])['includes'](_0x3ccfed);}class l extends/* #__PURE__ -- @preserve */
24
- _0x345fea(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x4235f9,_0x5675b9,_0x1196e9){super(),this['_editor']=_0x4235f9,this['_editing']=_0x5675b9,this['_dialog']=_0x4235f9['plugins']['get'](_0x387d79),this['_api']=_0x5675b9['ctxElement']['getAPI'](),this['_type']=_0x1196e9,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:_0x5dd008,model:_0x1a7d5d}=this['_editor'],_0x4a392e=_0x1a7d5d['document']['selection']['getSelectedElement'](),_0x1a364e=_0x4a392e&&(_0x4a392e['is']('element','imageBlock')||_0x4a392e['is']('element','imageInline'));this['_formView']=new S(_0x5dd008),this['_dialog']['show']({'id':'uploadCare','icon':_0x5ce1ab,'title':_(_0x5dd008,this['_type'],_0x1a364e?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x302a0f['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x17d658=>!F(_0x17d658,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x4fb847}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x1fc5bb=>{const _0x3e934a=_0x4fb847['length'];for(const _0x489a4f of _0x4fb847){const _0x45f1bd=_0x489a4f===_0x4fb847[_0x3e934a-0x1],{cdnUrl:_0xba1c45,fileInfo:_0x3ca15a}=_0x489a4f;if(!_0xba1c45||!_0x3ca15a)continue;const {width:_0x2a626f,height:_0x79ab1d}=_0x3ca15a['imageInfo'],_0x1d1b93=A(_0xba1c45,_0x2a626f,_0x79ab1d),_0x23eee2=E(_0xba1c45,_0x1d1b93['width']),_0x436fd8={'id':_0x3ca15a['uuid'],'type':'image','attributes':{'imageDimension':_0x1d1b93,..._0x23eee2}};this['_insertAsset'](_0x436fd8,_0x45f1bd,_0x1fc5bb);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x3b40d9=>{'idle'===_0x3b40d9['detail']['status']&&!_0x3b40d9['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===o['Local']?this['_api']['setCurrentActivity'](o['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x3c6fc4,_0x4b31c5,_0x2418fc){const _0x515bd9=this['_editor']['model']['document']['selection'],_0x149bff=_0x515bd9['getSelectedElement'](),_0x21135f=!(!_0x149bff||!_0x149bff['is']('element','imageInline'));_0x2418fc['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x3c6fc4,_0x21135f),_0x4b31c5||_0x2418fc['setSelection'](_0x515bd9['getLastPosition']());}['_insertImage'](_0x3b757a,_0x46104f){const _0x11bf49=this['_editor'],{imageDimension:_0x26bd7a,imageFallbackUrl:_0x679041,imageSources:_0x2f4a39}=_0x3b757a['attributes'];_0x11bf49['execute']('insertImage',{'imageType':_0x46104f?'imageInline':null,'source':{'uploadcareImageId':_0x3b757a['id'],'src':_0x679041,'sources':_0x2f4a39,..._0x26bd7a}});}}class n extends _0x2ed253{['_editing'];['_controller']=null;static get['requires'](){return[_0x387d79,i];}constructor(_0x189186){super(_0x189186),this['_editing']=_0x189186['plugins']['get'](i);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x33907e){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new l(this['editor'],this['_editing'],_0x33907e);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class C{static['upload']({file:_0x576eef,publicKey:_0x4fbd10,signal:_0x32730b,onProgress:_0x2073c4}){return _0x2f5379(_0x576eef,{'publicKey':_0x4fbd10,'store':'auto','signal':_0x32730b,'onProgress':_0x2073c4});}static['getInfo'](_0xe8be4d,_0x4e629b){return _0x3a40e2(_0xe8be4d,_0x4e629b);}}class p extends _0x1ea05f{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x282680,i];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x5fbbeb=this['editor'];if(!!!_0x5fbbeb['config']['get']('uploadcare'))return;_0x5fbbeb['plugins']['get'](_0x282680)['createUploadAdapter']=_0x40d557=>new x(_0x40d557,_0x5fbbeb),_0x5fbbeb['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x4716da,{imageElement:_0x540cca,data:_0x446721})=>{_0x5fbbeb['model']['change'](_0x3cc096=>{_0x3cc096['setAttribute']('uploadcareImageId',_0x446721['uploadcareImageId'],_0x540cca);});});}}class x{['loader'];['editor'];['controller'];constructor(_0x32783a,_0x49585a){this['loader']=_0x32783a,this['editor']=_0x49585a,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x38553f=this['editor']['config']['get']('uploadcare.pubkey'),_0x1edc55=await this['loader']['file'];return C['upload']({'file':_0x1edc55,'publicKey':_0x38553f,'signal':this['controller']['signal'],'onProgress':_0x139437=>{_0x139437&&_0x139437['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x139437['value']);}})['then'](async _0x5b1a95=>{const {imageFallbackUrl:_0x143b2b,imageSources:_0x1d5008}=E(_0x5b1a95['cdnUrl'],_0x5b1a95['imageInfo']['width']);return{'uploadcareImageId':_0x5b1a95['uuid'],'default':_0x143b2b,'sources':_0x1d5008};})['catch'](()=>{const _0x2b61ba=t('Cannot\x20upload\x20file:')+('\x20'+_0x1edc55['name']+'.');return Promise['reject'](_0x2b61ba);});}['abort'](){this['controller']['abort']();}}class i extends _0x1ea05f{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',p,_0x387d79];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}['init'](){const _0xc50505=this['editor'];_0xc50505['commands']['add']('uploadcare',new n(_0xc50505));}['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 _0x1e57e1=_0x2e1ebe['document']['querySelector']('input[uploadcare-file-input]');_0x1e57e1&&_0x1e57e1['remove']();}),async function(_0x2d9701){const _0x335def=_0x5b50aa([0x64,0x4f,0x48,0x49,0x71,0x65,0x36,0x4c,0x37,0x69,0x6e,0x46,0x74,0x34,0x44,0x73,0x52,0x4a,0x7a,0x35,0x55,0x6b,0x50,0x6f,0x58,0x66,0x56,0x5a,0x6a,0x4b,0x39,0x33,0x79,0x67,0x70,0x63,0x78,0x6c,0x51,0x38,0x77,0x4d,0x30,0x75,0x53,0x62,0x72,0x32,0x59,0x41,0x54,0x47,0x43,0x6d,0x68,0x31,0x4e,0x76,0x42,0x61,0x45,0x57]),_0x7d1491=0x16be9ad0,_0x4b8fa3=0x16b9f878^_0x7d1491,_0x423c68=window[_0x5b50aa([0x44,0x61,0x74,0x65])][_0x5b50aa([0x6e,0x6f,0x77])](),_0x4444ac=_0x2d9701[_0x5b50aa([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x35e61b=new window[(_0x5b50aa([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x381215=>{_0x4444ac[_0x5b50aa([0x6f,0x6e,0x63,0x65])](_0x5b50aa([0x72,0x65,0x61,0x64,0x79]),_0x381215);}),_0x290fd1={[_0x5b50aa([0x6b,0x74,0x79])]:_0x5b50aa([0x45,0x43]),[_0x5b50aa([0x75,0x73,0x65])]:_0x5b50aa([0x73,0x69,0x67]),[_0x5b50aa([0x63,0x72,0x76])]:_0x5b50aa([0x50,0x2d,0x32,0x35,0x36]),[_0x5b50aa([0x78])]:_0x5b50aa([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]),[_0x5b50aa([0x79])]:_0x5b50aa([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]),[_0x5b50aa([0x61,0x6c,0x67])]:_0x5b50aa([0x45,0x53,0x32,0x35,0x36])},_0x4e4082=_0x4444ac[_0x5b50aa([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x5b50aa([0x67,0x65,0x74])](_0x5b50aa([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x54ef1d(){let _0x2ddcfe,_0xab45d2=null,_0x457559=null;try{if(_0x4e4082==_0x5b50aa([0x47,0x50,0x4c]))return _0x5b50aa([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x2ddcfe=_0x8df3c7(),!_0x2ddcfe)return _0x5b50aa([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x2ddcfe[_0x5b50aa([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x457559=_0x5e78cf(_0x2ddcfe[_0x5b50aa([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x2ddcfe[_0x5b50aa([0x6a,0x74,0x69])])),await _0x153c6b()?_0x1d2a79()?_0x33c84c()?_0x5b50aa([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x2a00e6()?(_0x2ddcfe[_0x5b50aa([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5b50aa([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0xab45d2=_0x5ca85c(_0x5b50aa([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x2ddcfe[_0x5b50aa([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5b50aa([0x74,0x72,0x69,0x61,0x6c])&&(_0xab45d2=_0x5ca85c(_0x5b50aa([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x232e52()):_0x5b50aa([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x5b50aa([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x5b50aa([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x374ecd){return _0x5b50aa([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x33c84c(){const _0x36db94=[_0x5b50aa([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x5b50aa([0x74,0x72,0x69,0x61,0x6c])][_0x5b50aa([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2ddcfe[_0x5b50aa([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x423c68/0x3e8:0xe10*_0x4b8fa3;return _0x2ddcfe[_0x5b50aa([0x65,0x78,0x70])]<_0x36db94;}function _0x1d2a79(){const _0x44dfd8=_0x2ddcfe[_0x5b50aa([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x44dfd8&&(!!_0x44dfd8[_0x5b50aa([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5b50aa([0x2a]))||!!_0x44dfd8[_0x5b50aa([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5b50aa([0x55,0x50,0x4c,0x43])));}function _0x2a00e6(){const _0x3688e9=_0x2ddcfe[_0x5b50aa([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3688e9||0x0==_0x3688e9[_0x5b50aa([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x21db9e}=new URL(window[_0x5b50aa([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x3688e9[_0x5b50aa([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x21db9e))return!0x0;const _0x3f9543=_0x21db9e[_0x5b50aa([0x73,0x70,0x6c,0x69,0x74])](_0x5b50aa([0x2e]));return _0x3688e9[_0x5b50aa([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x340c47=>_0x340c47[_0x5b50aa([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5b50aa([0x2a])))[_0x5b50aa([0x6d,0x61,0x70])](_0x2abc32=>_0x2abc32[_0x5b50aa([0x73,0x70,0x6c,0x69,0x74])](_0x5b50aa([0x2e])))[_0x5b50aa([0x73,0x6f,0x6d,0x65])](_0x6cd9c7=>_0x3f9543[_0x5b50aa([0x65,0x76,0x65,0x72,0x79])]((_0x130c78,_0x15cb94)=>_0x6cd9c7[_0x15cb94]===_0x130c78||_0x6cd9c7[_0x15cb94]===_0x5b50aa([0x2a])));}function _0x232e52(){return _0xab45d2&&_0x457559?new window[(_0x5b50aa([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x24e2a0,_0xf8be96)=>{_0xab45d2[_0x5b50aa([0x74,0x68,0x65,0x6e])](_0x24e2a0,_0xf8be96),_0x457559[_0x5b50aa([0x74,0x68,0x65,0x6e])](_0x3ff70e=>{_0x3ff70e!=_0x5b50aa([0x56,0x61,0x6c,0x69,0x64])&&_0x24e2a0(_0x3ff70e);},_0xf8be96);}):_0xab45d2||_0x457559||_0x5b50aa([0x56,0x61,0x6c,0x69,0x64]);}}function _0x5e78cf(_0x1ccd6f,_0x4138e9){return new window[(_0x5b50aa([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x35d7ce=>{if(_0x32c01b())return _0x35d7ce(_0x5b50aa([0x56,0x61,0x6c,0x69,0x64]));_0x568698(),_0x4444ac[_0x5b50aa([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x5b50aa([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x55086e=!0x1;const _0x1e4a1e=_0x5a1486();function _0x4cf402(_0x3bad73){return!!_0x3bad73&&(typeof _0x3bad73===_0x5b50aa([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3bad73===_0x5b50aa([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3bad73[_0x5b50aa([0x74,0x68,0x65,0x6e])]===_0x5b50aa([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3bad73[_0x5b50aa([0x63,0x61,0x74,0x63,0x68])]===_0x5b50aa([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x358950(_0x3e746b){_0x3ab8af(_0x3e746b)[_0x5b50aa([0x74,0x68,0x65,0x6e])](_0x3dd94c=>{if(!_0x3dd94c||_0x3dd94c[_0x5b50aa([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x5b50aa([0x6f,0x6b]))return _0x5b50aa([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x704075(_0xc6ccb0(_0x1e4a1e+_0x4138e9))!=_0x3dd94c[_0x5b50aa([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x5b50aa([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x5b50aa([0x56,0x61,0x6c,0x69,0x64]);})[_0x5b50aa([0x74,0x68,0x65,0x6e])](_0x2df6d8=>(_0x588745(),_0x2df6d8),()=>{const _0x4e281d=_0x36ac53();return null==_0x4e281d?(_0x588745(),_0x5b50aa([0x56,0x61,0x6c,0x69,0x64])):_0x5b50aa(_0x423c68-_0x4e281d>(0x32b21ed0^_0x7d1491)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x5b50aa([0x74,0x68,0x65,0x6e])](_0x35d7ce)[_0x5b50aa([0x63,0x61,0x74,0x63,0x68])](()=>{_0x35d7ce(_0x5b50aa([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1f15d5=0x16887450^_0x7d1491;function _0x588745(){const _0x4acb4e=_0x5b50aa([0x6c,0x6c,0x63,0x74,0x2d])+_0x704075(_0xc6ccb0(_0x1ccd6f)),_0x2c9e20=_0x27410b(_0x704075(window[_0x5b50aa([0x4d,0x61,0x74,0x68])][_0x5b50aa([0x63,0x65,0x69,0x6c])](_0x423c68/_0x1f15d5)));window[_0x5b50aa([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5b50aa([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4acb4e,_0x2c9e20);}function _0x36ac53(){const _0x3258ba=_0x5b50aa([0x6c,0x6c,0x63,0x74,0x2d])+_0x704075(_0xc6ccb0(_0x1ccd6f)),_0x2d6afb=window[_0x5b50aa([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5b50aa([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3258ba);return _0x2d6afb?window[_0x5b50aa([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x27410b(_0x2d6afb),0x10)*_0x1f15d5:null;}function _0x3ab8af(_0x19e017){return new window[(_0x5b50aa([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x45eef5,_0xacbf49)=>{_0x19e017[_0x5b50aa([0x74,0x68,0x65,0x6e])](_0x45eef5,_0xacbf49),window[_0x5b50aa([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0xacbf49,0x16bf4e10^_0x7d1491);});}}_0x4444ac[_0x5b50aa([0x6f,0x6e])](_0x5b50aa([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x59ee28,_0x21deda)=>{if(_0x21deda[0x0]!=_0x1ccd6f)return _0x35d7ce(_0x5b50aa([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x21deda[0x1]={..._0x21deda[0x1],[_0x5b50aa([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1e4a1e};},{[_0x5b50aa([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5b50aa([0x68,0x69,0x67,0x68])}),_0x4444ac[_0x5b50aa([0x6f,0x6e])](_0x5b50aa([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x27eff5=>{_0x4cf402(_0x27eff5[_0x5b50aa([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x55086e=!0x0,_0x358950(_0x27eff5[_0x5b50aa([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x5b50aa([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5b50aa([0x6c,0x6f,0x77])}),_0x35e61b[_0x5b50aa([0x74,0x68,0x65,0x6e])](()=>{_0x55086e||_0x35d7ce(_0x5b50aa([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x32c01b(){return _0x4444ac[_0x5b50aa([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5b50aa([0x76,0x69,0x65,0x77])][_0x5b50aa([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x5b50aa([0x61,0x75,0x74,0x6f]);}function _0x568698(){_0x4444ac[_0x5b50aa([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5b50aa([0x76,0x69,0x65,0x77])][_0x5b50aa([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x5b50aa([0x61,0x75,0x74,0x6f]);}}function _0x5ca85c(_0x109e29){const _0x58b229=[new window[(_0x5b50aa([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xc03518=>setTimeout(_0xc03518,0x16b7a41c^_0x7d1491)),_0x35e61b[_0x5b50aa([0x74,0x68,0x65,0x6e])](()=>new window[(_0x5b50aa([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x21dca9=>{let _0x5418f4=0x0;_0x4444ac[_0x5b50aa([0x6d,0x6f,0x64,0x65,0x6c])][_0x5b50aa([0x6f,0x6e])](_0x5b50aa([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x597313,_0x55ad9e)=>{_0x55ad9e[0x0][_0x5b50aa([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x5418f4++,_0x5418f4==(0x16be9b28^_0x7d1491)&&(_0x21dca9(),_0x597313[_0x5b50aa([0x6f,0x66,0x66])]());});}))];return window[_0x5b50aa([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x5b50aa([0x72,0x61,0x63,0x65])](_0x58b229)[_0x5b50aa([0x74,0x68,0x65,0x6e])](()=>_0x109e29);}async function _0x481f4b(){await _0x35e61b,_0x4444ac[_0x5b50aa([0x6d,0x6f,0x64,0x65,0x6c])][_0x5b50aa([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x412907,_0x4444ac[_0x5b50aa([0x6d,0x6f,0x64,0x65,0x6c])][_0x5b50aa([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x412907,_0x4444ac[_0x5b50aa([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5b50aa([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x29604f(_0x44af3b){const _0x522d40=_0x388059();_0x4444ac[_0x522d40]=_0x5b50aa([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x44af3b,_0x44af3b!=_0x5b50aa([0x56,0x61,0x6c,0x69,0x64])&&_0x481f4b();}function _0x388059(){const _0x4dcfd2=window[_0x5b50aa([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x5b50aa([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5b50aa([0x6e,0x6f,0x77])]())[_0x5b50aa([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5b50aa([0x2e]),'');let _0x30385a=_0x5b50aa([0x64]);for(let _0x4b4ab3=0x0;_0x4b4ab3<_0x4dcfd2[_0x5b50aa([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4b4ab3+=0x2){let _0x28205f=window[_0x5b50aa([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4dcfd2[_0x5b50aa([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4b4ab3,_0x4b4ab3+0x2));_0x28205f>=_0x335def[_0x5b50aa([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x28205f-=_0x335def[_0x5b50aa([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x30385a+=_0x335def[_0x28205f];}return _0x30385a;}function _0x8df3c7(){const _0xba858d=_0x4e4082[_0x5b50aa([0x73,0x70,0x6c,0x69,0x74])](_0x5b50aa([0x2e]));if(0x3!=_0xba858d[_0x5b50aa([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4bb42b(_0xba858d[0x1]);function _0x4bb42b(_0xab98c6){const _0x76b08d=_0x388ab1(_0xab98c6);return _0x76b08d&&_0xcea3c1()?_0x76b08d:null;function _0xcea3c1(){const _0x16e2fe=_0x76b08d[_0x5b50aa([0x6a,0x74,0x69])],_0x59146d=window[_0x5b50aa([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x16e2fe[_0x5b50aa([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x16e2fe[_0x5b50aa([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x3f9c0e={..._0x76b08d,[_0x5b50aa([0x6a,0x74,0x69])]:_0x16e2fe[_0x5b50aa([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x16e2fe[_0x5b50aa([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x3f9c0e[_0x5b50aa([0x76,0x63])],_0xc6ccb0(_0x3f9c0e)==_0x59146d;}}}async function _0x153c6b(){let _0x168787=!0x0;try{const _0x591443=_0x4e4082[_0x5b50aa([0x73,0x70,0x6c,0x69,0x74])](_0x5b50aa([0x2e])),[_0x311a0a,_0x5673bf,_0x132f50]=_0x591443;return _0xf388e8(_0x311a0a),await _0x19964d(_0x311a0a,_0x5673bf,_0x132f50),_0x168787;}catch(_0x5f1a63){return!0x1;}function _0xf388e8(_0x27ef6b){const _0x3ecf6a=_0x388ab1(_0x27ef6b);_0x3ecf6a&&_0x3ecf6a[_0x5b50aa([0x61,0x6c,0x67])]==_0x5b50aa([0x45,0x53,0x32,0x35,0x36])||(_0x168787=!0x1);}async function _0x19964d(_0x43fc8a,_0x963b1a,_0x296229){const _0x51aee4=window[_0x5b50aa([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x5b50aa([0x66,0x72,0x6f,0x6d])](_0x214566(_0x296229),_0x2906e9=>_0x2906e9[_0x5b50aa([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x154c63=new window[(_0x5b50aa([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x5b50aa([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x43fc8a+_0x5b50aa([0x2e])+_0x963b1a),_0x1315de=window[_0x5b50aa([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x5b50aa([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1315de)return;const _0x274b76=await _0x1315de[_0x5b50aa([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x5b50aa([0x6a,0x77,0x6b]),_0x290fd1,{[_0x5b50aa([0x6e,0x61,0x6d,0x65])]:_0x5b50aa([0x45,0x43,0x44,0x53,0x41]),[_0x5b50aa([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x5b50aa([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x5b50aa([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1315de[_0x5b50aa([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x5b50aa([0x6e,0x61,0x6d,0x65])]:_0x5b50aa([0x45,0x43,0x44,0x53,0x41]),[_0x5b50aa([0x68,0x61,0x73,0x68])]:{[_0x5b50aa([0x6e,0x61,0x6d,0x65])]:_0x5b50aa([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x274b76,_0x51aee4,_0x154c63)||(_0x168787=!0x1);}}function _0x388ab1(_0x171915){return _0x171915[_0x5b50aa([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x5b50aa([0x65,0x79]))?JSON[_0x5b50aa([0x70,0x61,0x72,0x73,0x65])](_0x214566(_0x171915)):null;}function _0x214566(_0x14c0ae){return window[_0x5b50aa([0x61,0x74,0x6f,0x62])](_0x14c0ae[_0x5b50aa([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x5b50aa([0x2b]))[_0x5b50aa([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x5b50aa([0x2f])));}function _0xc6ccb0(_0x2f064c){let _0x5769b4=0x1505;function _0xd674fa(_0x18c134){for(let _0x444c2b=0x0;_0x444c2b<_0x18c134[_0x5b50aa([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x444c2b++){const _0x4e7617=_0x18c134[_0x5b50aa([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x444c2b);_0x5769b4=(_0x5769b4<<0x5)+_0x5769b4+_0x4e7617,_0x5769b4&=_0x5769b4;}}function _0x5c4ee8(_0x7bc89){Array[_0x5b50aa([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x7bc89)?_0x7bc89[_0x5b50aa([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5c4ee8):_0x7bc89&&typeof _0x7bc89==_0x5b50aa([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x5b50aa([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x7bc89)[_0x5b50aa([0x73,0x6f,0x72,0x74])]()[_0x5b50aa([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x3b801a,_0x16271f])=>{_0xd674fa(_0x3b801a),_0x5c4ee8(_0x16271f);}):_0xd674fa(window[_0x5b50aa([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x7bc89));}return _0x5c4ee8(_0x2f064c),_0x5769b4>>>0x0;}function _0x704075(_0x2f83b7){return _0x2f83b7[_0x5b50aa([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x5b50aa([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x5b50aa([0x30]));}function _0x27410b(_0x33c32d){return _0x33c32d[_0x5b50aa([0x73,0x70,0x6c,0x69,0x74])]('')[_0x5b50aa([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x5b50aa([0x6a,0x6f,0x69,0x6e])]('');}function _0x412907(){}function _0x5b50aa(_0x6bb9ef){return _0x6bb9ef['map'](_0x1885df=>String['fromCharCode'](_0x1885df))['join']('');}_0x29604f(await _0x54ef1d());}(this);}['_initSchema'](){const _0x278252=this['editor']['model']['schema'];_0x278252['isRegistered']('imageBlock')&&_0x278252['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x278252['isRegistered']('imageInline')&&_0x278252['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x63565c=this['editor'];_0x63565c['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x63565c['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x27629b=>_0x27629b['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x45716d=_0x63565c['commands']['get']('replaceImageSource');_0x45716d&&this['listenTo'](_0x45716d,'cleanupImage',(_0x1fb676,[_0x200f8d,_0x31e347])=>{_0x200f8d['removeAttribute']('uploadcareImageId',_0x31e347);});}['_initConfig'](){const _0x3d0c4d=this['editor']['config']['get']('uploadcare.uploader')||{},_0x57a675=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x364082(_0x2e1ebe['document'],'uc-config',{..._0x3d0c4d,'pubkey':_0x57a675,'ctx-name':'uploader','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']=_0x1b9eba=>{if('closeMax'==_0x1b9eba)return'#uc-icon-arrow-down';},_0x2e1ebe['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x364082(_0x2e1ebe['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader'}),_0x2e1ebe['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x200494=this['editor']['commands']['get']('insertImage');_0x200494&&this['listenTo'](_0x200494,'execute',()=>{const _0x548a13=this['editor']['model']['document']['selection']['getSelectedElement']();_0x548a13&&_0x548a13['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{m(this['editor'],_0x548a13);});});const _0x384520=this['editor']['commands']['get']('uploadcareImageReplace');_0x384520&&this['listenTo'](_0x384520,'execute',()=>{const _0x49aaf4=this['editor']['model']['document']['selection']['getSelectedElement']();_0x49aaf4&&_0x49aaf4['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{m(this['editor'],_0x49aaf4);});});}}class u extends _0x1ea05f{static get['requires'](){return[i,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x475ada){super(_0x475ada),_0x475ada['config']['define']('uploadcare.uploader.sourceList',[o['Local'],o['URL']]),_0x115d03['defineComponents'](_0x115d03);}}class ta extends _0x3a01ba{constructor(_0x554b23){super(_0x554b23);const t=_0x554b23['t'],_0x1798e5=this['bindTemplate'],_0x4b26b6=new _0x1fbf13();_0x4b26b6['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':[_0x4b26b6,{'text':_0x1798e5['to']('imageUploadProgress',_0x4eb520=>t('Loading\x20image...')+'\x20('+(_0x4eb520||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 rt extends _0x3a01ba{constructor(_0xf576ed){super(_0xf576ed);const t=_0xf576ed['t'];this['set']('errorType',null);const _0x469009=new _0x7d7d7a(_0xf576ed);_0x469009['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x469009['withText']=!0x0,_0x469009['class']='ck-button-action',_0x469009['on']('execute',()=>{this['fire']('retry');}),_0x469009['bind']('isVisible')['to'](this,'errorType',_0x56d9f6=>'NotFound'!==_0x56d9f6);const _0x2d764d=new at();_0x2d764d['content']=et,_0x2d764d['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x29d81e=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':[_0x2d764d,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x29d81e['to']('errorType',_0x4262ec=>t('NotFound'!==_0x4262ec?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x469009]},{'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 tt extends _0x3a01ba{constructor(_0x2b62dc,_0x181e27){super(_0x2b62dc);const _0x2954e5=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x181e27,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x2954e5['to']('imageSrc')}});}}class Z extends q{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x5d86c7,_0x4c27f3,_0xb24bde){super(_0x5d86c7),this['_items']=this['createCollection'](),this['_loadingView']=new ta(_0x5d86c7),this['_errorView']=new rt(_0x5d86c7),this['_editingView']=new tt(_0x5d86c7,_0xb24bde),this['_focusableView']=new _0x3a01ba(_0x5d86c7),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x4c27f3),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'],_0x636459=>{this['_addUploadcareImageEditorListeners'](_0x636459);});}),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'](_0x583144,_0x5238d7){const _0x4464ce='uc-cloud-image-editor',_0x312c8d=_0x583144['querySelector'](_0x4464ce);if(_0x312c8d)return _0x5238d7(_0x312c8d);const _0x351a5a=new MutationObserver(_0x581ad8=>{const _0x4c2334=_0x581ad8['filter'](_0x5cb3c8=>_0x5cb3c8['target']===_0x583144&&_0x5cb3c8['addedNodes']['length']>0x0&&_0x5cb3c8['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x4464ce);_0x4c2334['length']&&(_0x351a5a['disconnect'](),_0x5238d7(_0x4c2334[0x0]['addedNodes'][0x0]));});_0x351a5a['observe'](_0x583144,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x5dee01){_0x5dee01['addEventListener']('apply',_0x31d7b0=>{this['fire']('apply',{'imageSrc':_0x31d7b0['detail']['cdnUrl']});}),_0x5dee01['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class z extends/* #__PURE__ -- @preserve */
25
- _0x345fea(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x2fa844,_0x4a16e3,_0x1c2d66){super(),this['_editor']=_0x2fa844,this['_dialog']=_0x4a16e3,this['_imageElement']=_0x1c2d66,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 _0xeeb248=this['_imageElement'],_0x28317c=_0xeeb248['getAttribute']('uploadcareImageId'),_0x3d14b0=_0xeeb248['getAttribute']('src');if(_0x28317c)await this['_loadImageInfo'](_0x28317c,_0x3d14b0);else{if(this['_imageCache']['has'](_0x3d14b0)){const _0x18e47=this['_imageCache']['get'](_0x3d14b0);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x18e47['url'],this['imageDimension']=_0x18e47['dimension'],this['imageId']=_0x18e47['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x559d6d}=this['_editor'],t=_0x559d6d['t'],_0x4ff735=new Z(_0x559d6d,this['imageStatus'],this['_attributes']);_0x4ff735['bind']('status')['to'](this,'imageStatus'),_0x4ff735['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x4ff735['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x4ff735['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x4ff735,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x3c444d,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x4ff735,'position':_0x302a0f['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x4ff735['focus']();},'onHide':()=>{_0x4ff735['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x44118f=>!F(_0x44118f,_0x4ff735['element'])}});}['_loadImageInfo'](_0x414008,_0x13b2eb){return C['getInfo'](_0x414008,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x314fdf=>{const {width:_0xe5e050,height:_0x1ad4de}=_0x314fdf['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x13b2eb,this['imageDimension']={'width':_0xe5e050,'height':_0x1ad4de},this['imageId']=_0x414008;})['catch'](_0x4e1f55=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x4e1f55['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x3a7ffa,_0x4bf834){return this['_getImageAsFile'](_0x3a7ffa)['then'](_0x5a4e3b=>C['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x4bf834['signal'],'file':_0x5a4e3b,'onProgress':_0x58272b=>{_0x58272b&&_0x58272b['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x58272b['value']));}}))['then'](_0x244eae=>{const {width:_0x56e071,height:_0x1730b6}=_0x244eae['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x244eae['cdnUrl'],this['imageDimension']={'width':_0x56e071,'height':_0x1730b6},this['imageId']=_0x244eae['uuid'],this['imageUploadProgress']=null;const _0x5d645f=_0x3a7ffa['getAttribute']('src');this['_imageCache']['set'](_0x5d645f,{'id':_0x244eae['uuid'],'url':_0x244eae['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0xa72847=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0xa72847['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x1b838b,_0x352a5e){_0x1b838b['on']('apply',(_0x54e1bb,_0x19e05f)=>{this['_replaceImage'](_0x352a5e,_0x19e05f['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x1b838b['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x1b838b['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x12d5b8,_0x58c503,_0x3cd17b){const _0xc81c6e=this['_editor'],{width:_0x8901bc,height:_0x2433d6}=A(_0x58c503,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x339bf7,imageSources:_0x35cea9}=E(_0x58c503,_0x8901bc);_0xc81c6e['model']['change'](_0x500a15=>{if('$graveyard'===_0x12d5b8['root']['rootName']){_0xc81c6e['execute']('insertImage',{'imageType':_0x12d5b8['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x12d5b8['getAttributes']()),'uploadcareImageId':_0x3cd17b,'src':_0x339bf7,'sources':_0x35cea9,'width':_0x8901bc,'height':_0x2433d6}});const _0x4eebcd=_0x12d5b8['getChildren']();_0x12d5b8=_0xc81c6e['model']['document']['selection']['getSelectedElement']();for(const _0x53a88c of _0x4eebcd)_0x500a15['append'](_0x500a15['cloneElement'](_0x53a88c),_0x12d5b8);}else _0x500a15['setSelection'](_0x12d5b8,'on'),_0xc81c6e['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x12d5b8['getAttributes']()),'uploadcareImageId':_0x3cd17b,'src':_0x339bf7,'sources':_0x35cea9,'width':_0x8901bc,'height':_0x2433d6},_0x12d5b8);_0x500a15['setSelection'](_0x12d5b8,'on');});}async['_getImageAsFile'](_0x8af9ff){const _0x536634=_0x2e1ebe['window'],_0x414dc0=_0x2e1ebe['document']['location']['href'],_0x37955b=new _0x536634['URL'](_0x8af9ff['getAttribute']('src'),_0x414dc0);if('data:'===_0x37955b['protocol']){const _0x548515=_0x37955b['href']['split'](','),_0x552e7c=_0x548515[0x0]['match'](/:(.*?);/)[0x1],_0x44bbc5=_0x552e7c['split']('/')[0x1],_0xa72a7a=_0x536634['atob'](_0x548515[_0x548515['length']-0x1]);let _0x5189f9=_0xa72a7a['length'];const _0x5833b6=new _0x536634['Uint8Array'](_0x5189f9);for(;_0x5189f9--;)_0x5833b6[_0x5189f9]=_0xa72a7a['charCodeAt'](_0x5189f9);return new _0x536634['File']([_0x5833b6],'image.'+_0x44bbc5,{'type':_0x552e7c});}const _0x17664a=_0x37955b['href']['split']('/'),_0x3a423a=_0x17664a[_0x17664a['length']-0x1],_0x3727bf=_0x3a423a['split']('.')[0x1];return _0x536634['fetch'](_0x37955b['href'])['then'](_0x24ded6=>_0x24ded6['clone']()['blob']())['then'](_0x4fc5d9=>new _0x536634['File']([_0x4fc5d9],_0x3a423a,{'type':'image/'+_0x3727bf}));}}class J extends _0x2ed253{['imageEditController'];static get['requires'](){return[_0x387d79];}['_isEditable'];constructor(_0x1e24d0){super(_0x1e24d0),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x32f944){const _0x24534d=V(_0x32f944);return _0x5a4c98=>!(!_0x5a4c98||!_0x5a4c98['is']('element','imageBlock')&&!_0x5a4c98['is']('element','imageInline'))&&(!!_0x5a4c98['hasAttribute']('uploadcareImageId')||!!_0x5a4c98['hasAttribute']('src')&&_0x24534d(_0x5a4c98['getAttribute']('src')));}(_0x1e24d0['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x150f93=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x150f93);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x58ff28=this['editor']['model']['document']['selection']['getSelectedElement']();_0x58ff28&&(_0x58ff28['is']('element','imageBlock')||_0x58ff28['is']('element','imageInline'))&&(this['imageEditController']=new z(this['editor'],this['editor']['plugins']['get'](_0x387d79),_0x58ff28),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class O extends _0x2ed253{['refresh'](){const _0x134a5d=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x134a5d&&(_0x134a5d['is']('element','imageBlock')||_0x134a5d['is']('element','imageInline')));}['execute'](_0x7d249b){const _0x9945eb=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x27310a=>{_0x27310a['setAttributes'](_0x7d249b,_0x9945eb),_0x27310a['removeAttribute']('srcset',_0x9945eb),_0x27310a['removeAttribute']('sizes',_0x9945eb);});}}class g extends _0x1ea05f{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[i,_0x4a18fb,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x2a1d35}=this;_0x2a1d35['commands']['add']('uploadcareImageEdit',new J(_0x2a1d35)),_0x2a1d35['commands']['add']('uploadcareImageReplace',new O(_0x2a1d35));}}class j extends _0x1ea05f{['_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 _0xa05ac2=this['editor'];_0xa05ac2['ui']['componentFactory']['add']('uploadcareImageEdit',_0x298310=>{const _0x521f4e=_0xa05ac2['commands']['get']('uploadcareImageEdit'),_0x48bd08=new _0x7d7d7a(_0x298310),t=_0x298310['t'];return _0x48bd08['set']({'icon':_0x3c444d,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x48bd08['bind']('isEnabled')['to'](_0x521f4e),_0x48bd08['bind']('isOn')['to'](_0x521f4e,'isActive'),this['listenTo'](_0x48bd08,'execute',()=>{_0xa05ac2['execute']('uploadcareImageEdit'),_0xa05ac2['editing']['view']['focus']();}),_0x48bd08;}),this['_initConfig']();}['_initConfig'](){const _0x1606a2=_0x364082(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x1606a2),this['listenTo'](this['editor'],'destroy',()=>{_0x1606a2['remove']();});}}class P extends _0x1ea05f{static get['pluginName'](){return'UploadcareImageEdit';}static get['requires'](){return[g,j];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{u as Uploadcare,i as UploadcareEditing,P as UploadcareImageEdit,g as UploadcareImageEditEditing,j as UploadcareImageEditUI,e as UploadcareUI};
23
+ import{Plugin as _0x3ee0ba,Command as _0x12ff4c}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x13623e,IconGooglePhotos as _0x2a11f8,IconGoogleDrive as _0x156804,IconFacebook as _0x246d72,IconDropbox as _0x401414,IconUploadcareLink as _0x344b30,IconUploadcareImageUpload as _0x7261bd,IconError as et,IconUploadcareImageEdit as _0x2ce0b5}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x2eb5ce,MenuBarMenuListItemButtonView as _0x4af0ba,View as _0x5d2a16,FocusCycler as _0xfa347,Dialog as _0x4a5815,DialogViewPosition as _0x4563f6,SpinnerView as _0x39db6c,IconView as at,Notification as _0x4668af}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x25e4f9,DomEmitterMixin as _0x55c9e9,global as _0x216a0c,getAncestors as _0x53e30f,ObservableMixin as _0x2ed12c,createElement as _0x3eaad5,uid as _0x5e1ef5}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0xf3ebb6}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x3bab68,info as _0x3390b8}from'@uploadcare/upload-client';import*as _0x122ec3 from'@uploadcare/file-uploader';var o=function(_0x4e9351){return _0x4e9351['Local']='local',_0x4e9351['URL']='url',_0x4e9351['Dropbox']='dropbox',_0x4e9351['GDrive']='gdrive',_0x4e9351['Facebook']='facebook',_0x4e9351['GPhotos']='gphotos',_0x4e9351['OneDrive']='onedrive',_0x4e9351;}({});function _(_0x4fad90,_0x49040c,_0x8c18f2){const t=_0x4fad90['t'],_0x55ef97=_0x4fad90['t'];switch(_0x49040c){case o['Local']:return{'text':_0x55ef97('Insert'===_0x8c18f2?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x55ef97('From\x20computer')};case o['URL']:return{'text':'Insert'===_0x8c18f2?_0x55ef97('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x55ef97('Via\x20URL')};case o['Dropbox']:return{'text':t('Insert'===_0x8c18f2?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case o['Facebook']:return{'text':t('Insert'===_0x8c18f2?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case o['GDrive']:return{'text':t('Insert'===_0x8c18f2?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case o['GPhotos']:return{'text':t('Insert'===_0x8c18f2?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case o['OneDrive']:return{'text':t('Insert'===_0x8c18f2?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x49040c;}}class e extends _0x3ee0ba{['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 _0x291349=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x22f79c;for(const _0x4cd2fd in _0x291349){const _0x2dbbab=_0x4cd2fd,_0x51c365=_0x291349[_0x2dbbab];if('uploadcareLicenseKeyValid'==_0x51c365||'uploadcareLicenseKeyInvalid'==_0x51c365||'uploadcareLicenseKeyExpired'==_0x51c365||'uploadcareLicenseKeyDomainLimit'==_0x51c365||'uploadcareLicenseKeyNotAllowed'==_0x51c365||'uploadcareLicenseKeyEvaluationLimit'==_0x51c365||'uploadcareLicenseKeyTrialLimit'==_0x51c365||'uploadcareLicenseKeyUsageLimit'==_0x51c365){delete _0x291349[_0x2dbbab],_0x22f79c=_0x51c365,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x22f79c&&_0x291349['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x22f79c&&_0x291349['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x22f79c&&_0x291349['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x22f79c&&_0x291349['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x22f79c&&_0x291349['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0x22f79c&&_0x291349['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0x22f79c&&_0x291349['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x2219a1}=this,_0x1fa333=_0x2219a1['commands']['get']('uploadcare');if(!_0x1fa333)return;const _0x2ccc04=this['_normalizeConfigSourceList'](_0x2219a1['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x5a99dd,_0x3ba995)=>{const _0x5b3f4c=this['_getIntegrationKey'](_0x3ba995['type']);return _0x5a99dd[_0x5b3f4c]||(_0x5a99dd[_0x5b3f4c]=[]),_0x5a99dd[_0x5b3f4c]['push'](_0x3ba995),_0x5a99dd;},{});_0x2219a1['plugins']['has']('ImageInsertUI')&&_0x2219a1['commands']['get']('uploadcare')&&Object['entries'](_0x2ccc04)['forEach'](([_0x1a639b,_0x13ad2f])=>{_0x2219a1['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x1a639b,'observable':()=>_0x1fa333,'buttonViewCreator':()=>this['_createToolbarButton'](_0x13ad2f),'formViewCreator':()=>this['_createDropdownButtons'](_0x13ad2f),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x13ad2f),'override':'assetManager'!==_0x1a639b});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x5bec22){const {locale:_0x2cbd65}=this['editor'];return _0x5bec22['map'](_0xe2f66c=>{const _0x2b8072=_(_0x2cbd65,_0xe2f66c,'Insert');switch(_0xe2f66c){case o['Local']:return{'icon':_0x7261bd,'type':o['Local'],..._0x2b8072};case o['URL']:return{'icon':_0x344b30,'type':o['URL'],..._0x2b8072};case o['Dropbox']:return{'icon':_0x401414,'type':o['Dropbox'],..._0x2b8072};case o['Facebook']:return{'icon':_0x246d72,'type':o['Facebook'],..._0x2b8072};case o['GDrive']:return{'icon':_0x156804,'type':o['GDrive'],..._0x2b8072};case o['GPhotos']:return{'icon':_0x2a11f8,'type':o['GPhotos'],..._0x2b8072};case o['OneDrive']:return{'icon':_0x13623e,'type':o['OneDrive'],..._0x2b8072};}});}['_getIntegrationKey'](_0x4e1152){switch(_0x4e1152){case o['Local']:return'upload';case o['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x4da81f,_0x576684){const _0x56c5e3=this['editor'],_0x5304c7=new _0x4da81f(_0x56c5e3['locale']),_0x46a514=_0x56c5e3['commands']['get']('uploadcare');return _0x5304c7['bind']('isEnabled')['to'](_0x46a514),_0x5304c7['on']('execute',()=>{_0x46a514['execute'](_0x576684);}),_0x5304c7;}['_createToolbarButton'](_0x552d1e){const {locale:_0x34ae89}=this['editor'],_0x1380d7=this['editor']['plugins']['get']('ImageInsertUI'),_0x1d93d5=_0x552d1e[0x0],_0x46a5a7=this['_createButton'](_0x2eb5ce,_0x1d93d5['type']);return _0x46a5a7['icon']=_0x1d93d5['icon'],_0x46a5a7['bind']('label')['to'](_0x1380d7,'isImageSelected',_0x73f6b5=>_(_0x34ae89,_0x1d93d5['type'],_0x73f6b5?'Replace':'Insert')['text']),_0x46a5a7['tooltip']=!0x0,_0x46a5a7;}['_createDropdownButtons'](_0x311b41){const {locale:_0x4d7cc2}=this['editor'],_0x5cf6a5=this['editor']['plugins']['get']('ImageInsertUI');return _0x311b41['map'](_0x89f252=>{const _0x265662=this['_createButton'](_0x2eb5ce,_0x89f252['type']);return _0x265662['withText']=!0x0,_0x265662['icon']=_0x89f252['icon'],_0x265662['bind']('label')['to'](_0x5cf6a5,'isImageSelected',_0x1d7807=>_(_0x4d7cc2,_0x89f252['type'],_0x1d7807?'Replace':'Insert')['text']),_0x265662;});}['_createMenuBarButtons'](_0x357008){return _0x357008['map'](_0x5a05f4=>{const _0x10fd91=this['_createButton'](_0x4af0ba,_0x5a05f4['type']);return _0x10fd91['icon']=_0x5a05f4['icon'],_0x10fd91['label']=_0x5a05f4['shortText'],_0x10fd91;});}}class q extends _0x5d2a16{['focusTracker'];['focusCycler'];constructor(_0x2c5e56){super(_0x2c5e56),this['focusTracker']=new _0x25e4f9(),this['focusCycler']=new _0xfa347({'focusables':this['createCollection'](),'focusTracker':this['focusTracker']});}['getFocusableElement'](){return{'tag':'div','attributes':{'aria-hidden':'true','tabindex':'0'},'on':{'focus':this['bindTemplate']['to'](()=>{this['focusCycler']['fire']('forwardCycle');})}};}}class S extends q{constructor(_0x24a628){super(_0x24a628),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'}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function E(_0x529691,_0x25f870){const _0xfc11ab=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x820394=>_0x820394<=_0x25f870)['map'](_0x45026e=>_0x529691['replace'](/\/$/,'')+'/-/resize/'+_0x45026e+'x/\x20'+_0x45026e+'w');return{'imageFallbackUrl':_0x529691,'imageSources':[{'srcset':_0xfc11ab['join'](',\x20'),'sizes':'(max-width:\x20'+_0x25f870+'px)\x20100vw,\x20'+_0x25f870+'px','type':'image/webp'}]};}function A(_0x443264,_0x2db3da,_0x466d66){const _0x52177f=_0x443264['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x52177f?parseInt(_0x52177f[0x1],0xa):_0x2db3da,'height':_0x52177f?parseInt(_0x52177f[0x2],0xa):_0x466d66};}function m(_0x531631,_0x231806){const _0x29cf22=Object['create'](_0x55c9e9),_0x515ad7=_0x531631['plugins']['get']('ImageUtils'),_0x347351=_0x531631['editing']['mapper']['toViewElement'](_0x231806),_0x1239d9=_0x515ad7['findViewImgElement'](_0x347351),_0x4cb343=_0x531631['editing']['view']['domConverter']['viewToDom'](_0x1239d9),_0x18b017=_0x231806['getAttribute']('width'),_0x1a2c13=_0x231806['getAttribute']('height'),_0x268c25='image-processing';_0x531631['editing']['view']['change'](_0x5524b4=>{_0x5524b4['addClass'](_0x268c25,_0x347351),_0x5524b4['setStyle']('aspect-ratio',_0x18b017+'/'+_0x1a2c13,_0x1239d9);}),_0x29cf22['listenTo'](_0x4cb343,'load',()=>{_0x29cf22['stopListening'](_0x4cb343,'load'),_0x531631['editing']['view']['change'](_0xbafe9b=>{_0xbafe9b['removeClass'](_0x268c25,_0x347351),_0xbafe9b['removeStyle']('aspect-ratio',_0x1239d9);});});}function V(_0x48b636){if(Array['isArray'](_0x48b636)){const _0xfbec85=_0x48b636['map'](V);return _0x3bd3ea=>_0xfbec85['some'](_0x55af90=>_0x55af90(_0x3bd3ea));}if('origin'==_0x48b636){const _0xa8c279=_0x216a0c['window']['location']['origin'];return _0x1e424e=>new URL(_0x1e424e,_0x216a0c['document']['baseURI'])['origin']==_0xa8c279;}return'function'==typeof _0x48b636?_0x48b636:_0x48b636 instanceof RegExp?_0x27db29=>!(!_0x27db29['match'](_0x48b636)&&!_0x27db29['replace'](/^https?:\/\//,'')['match'](_0x48b636)):()=>!0x1;}function F(_0x3f4afd,_0x589e24){return _0x53e30f(_0x3f4afd['target'])['includes'](_0x589e24);}class l extends/* #__PURE__ -- @preserve */
24
+ _0x2ed12c(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x576ed1,_0x49138d,_0x1d8ef2){super(),this['_editor']=_0x576ed1,this['_editing']=_0x49138d,this['_dialog']=_0x576ed1['plugins']['get'](_0x4a5815),this['_api']=_0x49138d['ctxElement']['getAPI'](),this['_type']=_0x1d8ef2,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:_0x4500ad,model:_0x37ba12}=this['_editor'],_0x22f0e1=_0x37ba12['document']['selection']['getSelectedElement'](),_0x404d54=_0x22f0e1&&(_0x22f0e1['is']('element','imageBlock')||_0x22f0e1['is']('element','imageInline'));this['_formView']=new S(_0x4500ad),this['_dialog']['show']({'id':'uploadCare','icon':_0x7261bd,'title':_(_0x4500ad,this['_type'],_0x404d54?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x4563f6['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x174320=>!F(_0x174320,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0xa3b7f9}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x457b08=>{const _0x2c8dc7=_0xa3b7f9['length'];for(const _0x1b508c of _0xa3b7f9){const _0x3a1aa4=_0x1b508c===_0xa3b7f9[_0x2c8dc7-0x1],{cdnUrl:_0xaeee78,fileInfo:_0x58ec38}=_0x1b508c;if(!_0xaeee78||!_0x58ec38)continue;const {width:_0x54de3d,height:_0x2fd7c8}=_0x58ec38['imageInfo'],_0x399bde=A(_0xaeee78,_0x54de3d,_0x2fd7c8),_0x1c0326=E(_0xaeee78,_0x399bde['width']),_0x7d1de1={'id':_0x58ec38['uuid'],'type':'image','attributes':{'imageDimension':_0x399bde,..._0x1c0326}};this['_insertAsset'](_0x7d1de1,_0x3a1aa4,_0x457b08);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0xc055d9=>{'idle'===_0xc055d9['detail']['status']&&!_0xc055d9['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===o['Local']?this['_api']['setCurrentActivity'](o['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x167323,_0x495469,_0x28c11d){const _0x4ab5e5=this['_editor']['model']['document']['selection'],_0x4da3e9=_0x4ab5e5['getSelectedElement'](),_0x57483d=!(!_0x4da3e9||!_0x4da3e9['is']('element','imageInline'));_0x28c11d['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x167323,_0x57483d),_0x495469||_0x28c11d['setSelection'](_0x4ab5e5['getLastPosition']());}['_insertImage'](_0x5ad65d,_0x5c068a){const _0x4b36b3=this['_editor'],{imageDimension:_0x11ce49,imageFallbackUrl:_0x31a47e,imageSources:_0x5422f7}=_0x5ad65d['attributes'];_0x4b36b3['execute']('insertImage',{'imageType':_0x5c068a?'imageInline':null,'source':{'uploadcareImageId':_0x5ad65d['id'],'src':_0x31a47e,'sources':_0x5422f7,..._0x11ce49}});}}class n extends _0x12ff4c{['_editing'];['_controller']=null;static get['requires'](){return[_0x4a5815,i];}constructor(_0x5367f3){super(_0x5367f3),this['_editing']=_0x5367f3['plugins']['get'](i);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x185b3d){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new l(this['editor'],this['_editing'],_0x185b3d);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class C{static['upload']({file:_0x1731ee,publicKey:_0x193c47,signal:_0x3c7b60,onProgress:_0x49587c}){return _0x3bab68(_0x1731ee,{'publicKey':_0x193c47,'store':'auto','signal':_0x3c7b60,'onProgress':_0x49587c});}static['getInfo'](_0x477612,_0x545f6c){return _0x3390b8(_0x477612,_0x545f6c);}}class p extends _0x3ee0ba{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0xf3ebb6,i];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0xcf05e2=this['editor'];if(!!!_0xcf05e2['config']['get']('uploadcare'))return;_0xcf05e2['plugins']['get'](_0xf3ebb6)['createUploadAdapter']=_0xc0d22=>new x(_0xc0d22,_0xcf05e2),_0xcf05e2['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x1bb88c,{imageElement:_0x1e831b,data:_0x569796})=>{_0xcf05e2['model']['change'](_0x105c0d=>{_0x105c0d['setAttribute']('uploadcareImageId',_0x569796['uploadcareImageId'],_0x1e831b);});});}}class x{['loader'];['editor'];['controller'];constructor(_0x573308,_0x2281e2){this['loader']=_0x573308,this['editor']=_0x2281e2,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x5ef079=this['editor']['config']['get']('uploadcare.pubkey'),_0x1c202d=await this['loader']['file'];return C['upload']({'file':_0x1c202d,'publicKey':_0x5ef079,'signal':this['controller']['signal'],'onProgress':_0x5af8fc=>{_0x5af8fc&&_0x5af8fc['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x5af8fc['value']);}})['then'](async _0x485f4f=>{const {imageFallbackUrl:_0x4b97fe,imageSources:_0x2113a9}=E(_0x485f4f['cdnUrl'],_0x485f4f['imageInfo']['width']);return{'uploadcareImageId':_0x485f4f['uuid'],'default':_0x4b97fe,'sources':_0x2113a9};})['catch'](()=>{const _0x287446=t('Cannot\x20upload\x20file:')+('\x20'+_0x1c202d['name']+'.');return Promise['reject'](_0x287446);});}['abort'](){this['controller']['abort']();}}class i extends _0x3ee0ba{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',p,_0x4a5815];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}['init'](){const _0x1b8c93=this['editor'];_0x1b8c93['commands']['add']('uploadcare',new n(_0x1b8c93));}['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 _0x3f1d29=_0x216a0c['document']['querySelector']('input[uploadcare-file-input]');_0x3f1d29&&_0x3f1d29['remove']();}),async function(_0x130039){const _0x33cbf8=_0x21d55c([0x78,0x36,0x44,0x57,0x35,0x46,0x55,0x52,0x37,0x4f,0x64,0x69,0x75,0x6c,0x32,0x5a,0x73,0x51,0x72,0x66,0x63,0x6d,0x62,0x4d,0x65,0x4e,0x61,0x7a,0x54,0x56,0x70,0x30,0x4c,0x39,0x6e,0x59,0x71,0x6a,0x38,0x50,0x6b,0x68,0x45,0x49,0x6f,0x4b,0x74,0x41,0x48,0x4a,0x58,0x53,0x67,0x47,0x31,0x77,0x42,0x76,0x33,0x43,0x79,0x34]),_0x533d76=0x40576879,_0x331487=0x40500aa1^_0x533d76,_0x36e11e=window[_0x21d55c([0x44,0x61,0x74,0x65])][_0x21d55c([0x6e,0x6f,0x77])](),_0x43c52a=_0x130039[_0x21d55c([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1eda6b=new window[(_0x21d55c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4a8a7e=>{_0x43c52a[_0x21d55c([0x6f,0x6e,0x63,0x65])](_0x21d55c([0x72,0x65,0x61,0x64,0x79]),_0x4a8a7e);}),_0x5bf6c3={[_0x21d55c([0x6b,0x74,0x79])]:_0x21d55c([0x45,0x43]),[_0x21d55c([0x75,0x73,0x65])]:_0x21d55c([0x73,0x69,0x67]),[_0x21d55c([0x63,0x72,0x76])]:_0x21d55c([0x50,0x2d,0x32,0x35,0x36]),[_0x21d55c([0x78])]:_0x21d55c([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]),[_0x21d55c([0x79])]:_0x21d55c([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]),[_0x21d55c([0x61,0x6c,0x67])]:_0x21d55c([0x45,0x53,0x32,0x35,0x36])},_0x280c3c=_0x43c52a[_0x21d55c([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x21d55c([0x67,0x65,0x74])](_0x21d55c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x36a78a(){let _0x3016bf,_0x9a0f9b=null,_0x21a144=null;try{if(_0x280c3c==_0x21d55c([0x47,0x50,0x4c]))return _0x21d55c([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3016bf=_0x2e738f(),!_0x3016bf)return _0x21d55c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x3016bf[_0x21d55c([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x21a144=_0x94985a(_0x3016bf[_0x21d55c([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3016bf[_0x21d55c([0x6a,0x74,0x69])])),await _0x4643bb()?_0x3e6b5a()?_0x266aee()?_0x21d55c([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x2bce66()?(_0x3016bf[_0x21d55c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x21d55c([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x9a0f9b=_0x52a5c4(_0x21d55c([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x3016bf[_0x21d55c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x21d55c([0x74,0x72,0x69,0x61,0x6c])&&(_0x9a0f9b=_0x52a5c4(_0x21d55c([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x3168af()):_0x21d55c([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x21d55c([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x21d55c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x2f7fc9){return _0x21d55c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x266aee(){const _0x31bf3f=[_0x21d55c([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x21d55c([0x74,0x72,0x69,0x61,0x6c])][_0x21d55c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3016bf[_0x21d55c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x36e11e/0x3e8:0xe10*_0x331487;return _0x3016bf[_0x21d55c([0x65,0x78,0x70])]<_0x31bf3f;}function _0x3e6b5a(){const _0x9dc02c=_0x3016bf[_0x21d55c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x9dc02c&&(!!_0x9dc02c[_0x21d55c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x21d55c([0x2a]))||!!_0x9dc02c[_0x21d55c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x21d55c([0x55,0x50,0x4c,0x43])));}function _0x2bce66(){const _0x4e9df9=_0x3016bf[_0x21d55c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x4e9df9||0x0==_0x4e9df9[_0x21d55c([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x9229f}=new URL(window[_0x21d55c([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x4e9df9[_0x21d55c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x9229f))return!0x0;const _0xc8f53f=_0x9229f[_0x21d55c([0x73,0x70,0x6c,0x69,0x74])](_0x21d55c([0x2e]));return _0x4e9df9[_0x21d55c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4fdd5b=>_0x4fdd5b[_0x21d55c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x21d55c([0x2a])))[_0x21d55c([0x6d,0x61,0x70])](_0x4ddcbe=>_0x4ddcbe[_0x21d55c([0x73,0x70,0x6c,0x69,0x74])](_0x21d55c([0x2e])))[_0x21d55c([0x73,0x6f,0x6d,0x65])](_0x5bf072=>_0xc8f53f[_0x21d55c([0x65,0x76,0x65,0x72,0x79])]((_0x4bd729,_0x3d9283)=>_0x5bf072[_0x3d9283]===_0x4bd729||_0x5bf072[_0x3d9283]===_0x21d55c([0x2a])));}function _0x3168af(){return _0x9a0f9b&&_0x21a144?new window[(_0x21d55c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x472586,_0x5a6844)=>{_0x9a0f9b[_0x21d55c([0x74,0x68,0x65,0x6e])](_0x472586,_0x5a6844),_0x21a144[_0x21d55c([0x74,0x68,0x65,0x6e])](_0x49b9e7=>{_0x49b9e7!=_0x21d55c([0x56,0x61,0x6c,0x69,0x64])&&_0x472586(_0x49b9e7);},_0x5a6844);}):_0x9a0f9b||_0x21a144||_0x21d55c([0x56,0x61,0x6c,0x69,0x64]);}}function _0x94985a(_0x572b43,_0xfa13ca){return new window[(_0x21d55c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x531696=>{if(_0x452ac9())return _0x531696(_0x21d55c([0x56,0x61,0x6c,0x69,0x64]));_0x4ed558(),_0x43c52a[_0x21d55c([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x21d55c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x45067d=!0x1;const _0x5be825=_0x5e1ef5();function _0x32f6b6(_0x341985){return!!_0x341985&&(typeof _0x341985===_0x21d55c([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x341985===_0x21d55c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x341985[_0x21d55c([0x74,0x68,0x65,0x6e])]===_0x21d55c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x341985[_0x21d55c([0x63,0x61,0x74,0x63,0x68])]===_0x21d55c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3f642e(_0x381fc9){_0x53d692(_0x381fc9)[_0x21d55c([0x74,0x68,0x65,0x6e])](_0x1a337d=>{if(!_0x1a337d||_0x1a337d[_0x21d55c([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x21d55c([0x6f,0x6b]))return _0x21d55c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x200847(_0x81020b(_0x5be825+_0xfa13ca))!=_0x1a337d[_0x21d55c([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x21d55c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x21d55c([0x56,0x61,0x6c,0x69,0x64]);})[_0x21d55c([0x74,0x68,0x65,0x6e])](_0x1f04ae=>(_0x5f1b0b(),_0x1f04ae),()=>{const _0x261d8c=_0x3b9e90();return null==_0x261d8c?(_0x5f1b0b(),_0x21d55c([0x56,0x61,0x6c,0x69,0x64])):_0x21d55c(_0x36e11e-_0x261d8c>(0x645bec79^_0x533d76)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x21d55c([0x74,0x68,0x65,0x6e])](_0x531696)[_0x21d55c([0x63,0x61,0x74,0x63,0x68])](()=>{_0x531696(_0x21d55c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x4faded=0x406186f9^_0x533d76;function _0x5f1b0b(){const _0x123af3=_0x21d55c([0x6c,0x6c,0x63,0x74,0x2d])+_0x200847(_0x81020b(_0x572b43)),_0x5c8f27=_0x2c0214(_0x200847(window[_0x21d55c([0x4d,0x61,0x74,0x68])][_0x21d55c([0x63,0x65,0x69,0x6c])](_0x36e11e/_0x4faded)));window[_0x21d55c([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x21d55c([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x123af3,_0x5c8f27);}function _0x3b9e90(){const _0x5887bb=_0x21d55c([0x6c,0x6c,0x63,0x74,0x2d])+_0x200847(_0x81020b(_0x572b43)),_0x4c456d=window[_0x21d55c([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x21d55c([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5887bb);return _0x4c456d?window[_0x21d55c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2c0214(_0x4c456d),0x10)*_0x4faded:null;}function _0x53d692(_0xfb39b7){return new window[(_0x21d55c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x468ef7,_0x19a15b)=>{_0xfb39b7[_0x21d55c([0x74,0x68,0x65,0x6e])](_0x468ef7,_0x19a15b),window[_0x21d55c([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x19a15b,0x4056bcb9^_0x533d76);});}}_0x43c52a[_0x21d55c([0x6f,0x6e])](_0x21d55c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x3ce378,_0x236f5a)=>{if(_0x236f5a[0x0]!=_0x572b43)return _0x531696(_0x21d55c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x236f5a[0x1]={..._0x236f5a[0x1],[_0x21d55c([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5be825};},{[_0x21d55c([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x21d55c([0x68,0x69,0x67,0x68])}),_0x43c52a[_0x21d55c([0x6f,0x6e])](_0x21d55c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x393044=>{_0x32f6b6(_0x393044[_0x21d55c([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x45067d=!0x0,_0x3f642e(_0x393044[_0x21d55c([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x21d55c([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x21d55c([0x6c,0x6f,0x77])}),_0x1eda6b[_0x21d55c([0x74,0x68,0x65,0x6e])](()=>{_0x45067d||_0x531696(_0x21d55c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x452ac9(){return _0x43c52a[_0x21d55c([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x21d55c([0x76,0x69,0x65,0x77])][_0x21d55c([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x21d55c([0x61,0x75,0x74,0x6f]);}function _0x4ed558(){_0x43c52a[_0x21d55c([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x21d55c([0x76,0x69,0x65,0x77])][_0x21d55c([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x21d55c([0x61,0x75,0x74,0x6f]);}}function _0x52a5c4(_0x3492fd){const _0x9b807=[new window[(_0x21d55c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x405973=>setTimeout(_0x405973,0x405e56b5^_0x533d76)),_0x1eda6b[_0x21d55c([0x74,0x68,0x65,0x6e])](()=>new window[(_0x21d55c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x172b90=>{let _0x5ce22a=0x0;_0x43c52a[_0x21d55c([0x6d,0x6f,0x64,0x65,0x6c])][_0x21d55c([0x6f,0x6e])](_0x21d55c([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x3644d9,_0x3fca09)=>{_0x3fca09[0x0][_0x21d55c([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x5ce22a++,_0x5ce22a==(0x40576981^_0x533d76)&&(_0x172b90(),_0x3644d9[_0x21d55c([0x6f,0x66,0x66])]());});}))];return window[_0x21d55c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x21d55c([0x72,0x61,0x63,0x65])](_0x9b807)[_0x21d55c([0x74,0x68,0x65,0x6e])](()=>_0x3492fd);}async function _0x13edd1(){await _0x1eda6b,_0x43c52a[_0x21d55c([0x6d,0x6f,0x64,0x65,0x6c])][_0x21d55c([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4aeae2,_0x43c52a[_0x21d55c([0x6d,0x6f,0x64,0x65,0x6c])][_0x21d55c([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4aeae2,_0x43c52a[_0x21d55c([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x21d55c([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x1ed1e4(_0x49e3dc){const _0x543fcc=_0x5c5d86();_0x43c52a[_0x543fcc]=_0x21d55c([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x49e3dc,_0x49e3dc!=_0x21d55c([0x56,0x61,0x6c,0x69,0x64])&&_0x13edd1();}function _0x5c5d86(){const _0x246a2c=window[_0x21d55c([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x21d55c([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x21d55c([0x6e,0x6f,0x77])]())[_0x21d55c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x21d55c([0x2e]),'');let _0x50af40=_0x21d55c([0x78]);for(let _0x279f4d=0x0;_0x279f4d<_0x246a2c[_0x21d55c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x279f4d+=0x2){let _0x170741=window[_0x21d55c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x246a2c[_0x21d55c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x279f4d,_0x279f4d+0x2));_0x170741>=_0x33cbf8[_0x21d55c([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x170741-=_0x33cbf8[_0x21d55c([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x50af40+=_0x33cbf8[_0x170741];}return _0x50af40;}function _0x2e738f(){const _0x7d0907=_0x280c3c[_0x21d55c([0x73,0x70,0x6c,0x69,0x74])](_0x21d55c([0x2e]));if(0x3!=_0x7d0907[_0x21d55c([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0xb8f93f(_0x7d0907[0x1]);function _0xb8f93f(_0x139867){const _0x4f94ca=_0x3dd06d(_0x139867);return _0x4f94ca&&_0x17b0e2()?_0x4f94ca:null;function _0x17b0e2(){const _0xa018d2=_0x4f94ca[_0x21d55c([0x6a,0x74,0x69])],_0xc568f1=window[_0x21d55c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xa018d2[_0x21d55c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xa018d2[_0x21d55c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x39fe50={..._0x4f94ca,[_0x21d55c([0x6a,0x74,0x69])]:_0xa018d2[_0x21d55c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0xa018d2[_0x21d55c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x39fe50[_0x21d55c([0x76,0x63])],_0x81020b(_0x39fe50)==_0xc568f1;}}}async function _0x4643bb(){let _0x16a3d4=!0x0;try{const _0x310c35=_0x280c3c[_0x21d55c([0x73,0x70,0x6c,0x69,0x74])](_0x21d55c([0x2e])),[_0x4240c2,_0xb4f406,_0xd59a8e]=_0x310c35;return _0x5883e2(_0x4240c2),await _0x11cbdd(_0x4240c2,_0xb4f406,_0xd59a8e),_0x16a3d4;}catch(_0x3d097d){return!0x1;}function _0x5883e2(_0x4c18f9){const _0x3f07fe=_0x3dd06d(_0x4c18f9);_0x3f07fe&&_0x3f07fe[_0x21d55c([0x61,0x6c,0x67])]==_0x21d55c([0x45,0x53,0x32,0x35,0x36])||(_0x16a3d4=!0x1);}async function _0x11cbdd(_0x1e648c,_0x3f9716,_0x271ec2){const _0x3f72c4=window[_0x21d55c([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x21d55c([0x66,0x72,0x6f,0x6d])](_0x380cdd(_0x271ec2),_0x1d88e7=>_0x1d88e7[_0x21d55c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x20f3d3=new window[(_0x21d55c([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x21d55c([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1e648c+_0x21d55c([0x2e])+_0x3f9716),_0x4c8cfd=window[_0x21d55c([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x21d55c([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4c8cfd)return;const _0x1fe955=await _0x4c8cfd[_0x21d55c([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x21d55c([0x6a,0x77,0x6b]),_0x5bf6c3,{[_0x21d55c([0x6e,0x61,0x6d,0x65])]:_0x21d55c([0x45,0x43,0x44,0x53,0x41]),[_0x21d55c([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x21d55c([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x21d55c([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4c8cfd[_0x21d55c([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x21d55c([0x6e,0x61,0x6d,0x65])]:_0x21d55c([0x45,0x43,0x44,0x53,0x41]),[_0x21d55c([0x68,0x61,0x73,0x68])]:{[_0x21d55c([0x6e,0x61,0x6d,0x65])]:_0x21d55c([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1fe955,_0x3f72c4,_0x20f3d3)||(_0x16a3d4=!0x1);}}function _0x3dd06d(_0x13ade1){return _0x13ade1[_0x21d55c([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x21d55c([0x65,0x79]))?JSON[_0x21d55c([0x70,0x61,0x72,0x73,0x65])](_0x380cdd(_0x13ade1)):null;}function _0x380cdd(_0x191eaf){return window[_0x21d55c([0x61,0x74,0x6f,0x62])](_0x191eaf[_0x21d55c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x21d55c([0x2b]))[_0x21d55c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x21d55c([0x2f])));}function _0x81020b(_0x3519e9){let _0x251330=0x1505;function _0x513c42(_0x1395e4){for(let _0x31af2d=0x0;_0x31af2d<_0x1395e4[_0x21d55c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x31af2d++){const _0x483e30=_0x1395e4[_0x21d55c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x31af2d);_0x251330=(_0x251330<<0x5)+_0x251330+_0x483e30,_0x251330&=_0x251330;}}function _0x24e698(_0x598d37){Array[_0x21d55c([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x598d37)?_0x598d37[_0x21d55c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x24e698):_0x598d37&&typeof _0x598d37==_0x21d55c([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x21d55c([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x598d37)[_0x21d55c([0x73,0x6f,0x72,0x74])]()[_0x21d55c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5a01c3,_0x22ee04])=>{_0x513c42(_0x5a01c3),_0x24e698(_0x22ee04);}):_0x513c42(window[_0x21d55c([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x598d37));}return _0x24e698(_0x3519e9),_0x251330>>>0x0;}function _0x200847(_0x127861){return _0x127861[_0x21d55c([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x21d55c([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x21d55c([0x30]));}function _0x2c0214(_0x1b633f){return _0x1b633f[_0x21d55c([0x73,0x70,0x6c,0x69,0x74])]('')[_0x21d55c([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x21d55c([0x6a,0x6f,0x69,0x6e])]('');}function _0x4aeae2(){}function _0x21d55c(_0x8b8dd0){return _0x8b8dd0['map'](_0x3c5707=>String['fromCharCode'](_0x3c5707))['join']('');}_0x1ed1e4(await _0x36a78a());}(this);}['_initSchema'](){const _0x4416af=this['editor']['model']['schema'];_0x4416af['isRegistered']('imageBlock')&&_0x4416af['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x4416af['isRegistered']('imageInline')&&_0x4416af['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x4a66bc=this['editor'];_0x4a66bc['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x4a66bc['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x14e095=>_0x14e095['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x5bb63c=_0x4a66bc['commands']['get']('replaceImageSource');_0x5bb63c&&this['listenTo'](_0x5bb63c,'cleanupImage',(_0x17516f,[_0x40b579,_0x2ba439])=>{_0x40b579['removeAttribute']('uploadcareImageId',_0x2ba439);});}['_initConfig'](){const _0x2894ec=this['editor']['config']['get']('uploadcare.uploader')||{},_0x405c77=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x3eaad5(_0x216a0c['document'],'uc-config',{..._0x2894ec,'pubkey':_0x405c77,'ctx-name':'uploader','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']=_0x2f6039=>{if('closeMax'==_0x2f6039)return'#uc-icon-arrow-down';},_0x216a0c['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x3eaad5(_0x216a0c['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader'}),_0x216a0c['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x66354c=this['editor']['commands']['get']('insertImage');_0x66354c&&this['listenTo'](_0x66354c,'execute',()=>{const _0x49bb1b=this['editor']['model']['document']['selection']['getSelectedElement']();_0x49bb1b&&_0x49bb1b['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{m(this['editor'],_0x49bb1b);});});const _0x42c55b=this['editor']['commands']['get']('uploadcareImageReplace');_0x42c55b&&this['listenTo'](_0x42c55b,'execute',()=>{const _0x4c59b3=this['editor']['model']['document']['selection']['getSelectedElement']();_0x4c59b3&&_0x4c59b3['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{m(this['editor'],_0x4c59b3);});});}}class u extends _0x3ee0ba{static get['requires'](){return[i,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x1b0a8b){super(_0x1b0a8b),_0x1b0a8b['config']['define']('uploadcare.uploader.sourceList',[o['Local'],o['URL']]),_0x122ec3['defineComponents'](_0x122ec3);}}class ta extends _0x5d2a16{constructor(_0x5f2b5a){super(_0x5f2b5a);const t=_0x5f2b5a['t'],_0x2467b2=this['bindTemplate'],_0x5c92b1=new _0x39db6c();_0x5c92b1['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':[_0x5c92b1,{'text':_0x2467b2['to']('imageUploadProgress',_0x10e532=>t('Loading\x20image...')+'\x20('+(_0x10e532||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 rt extends _0x5d2a16{constructor(_0x225c41){super(_0x225c41);const t=_0x225c41['t'];this['set']('errorType',null);const _0x24395a=new _0x2eb5ce(_0x225c41);_0x24395a['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x24395a['withText']=!0x0,_0x24395a['class']='ck-button-action',_0x24395a['on']('execute',()=>{this['fire']('retry');}),_0x24395a['bind']('isVisible')['to'](this,'errorType',_0x12cbec=>'NotFound'!==_0x12cbec);const _0x25a69e=new at();_0x25a69e['content']=et,_0x25a69e['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x4105b0=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':[_0x25a69e,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x4105b0['to']('errorType',_0x527b57=>t('NotFound'!==_0x527b57?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x24395a]},{'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 tt extends _0x5d2a16{constructor(_0x20fe8c,_0x589c56){super(_0x20fe8c);const _0x236fac=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x589c56,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x236fac['to']('imageSrc')}});}}class Z extends q{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x198db4,_0x352510,_0x481745){super(_0x198db4),this['_items']=this['createCollection'](),this['_loadingView']=new ta(_0x198db4),this['_errorView']=new rt(_0x198db4),this['_editingView']=new tt(_0x198db4,_0x481745),this['_focusableView']=new _0x5d2a16(_0x198db4),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x352510),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'],_0x4be6fa=>{this['_addUploadcareImageEditorListeners'](_0x4be6fa);});}),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'](_0x2bb01d,_0x265347){const _0x920ff6='uc-cloud-image-editor',_0x231b41=_0x2bb01d['querySelector'](_0x920ff6);if(_0x231b41)return _0x265347(_0x231b41);const _0x5a73a1=new MutationObserver(_0x5eb302=>{const _0x495a84=_0x5eb302['filter'](_0x4958e3=>_0x4958e3['target']===_0x2bb01d&&_0x4958e3['addedNodes']['length']>0x0&&_0x4958e3['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x920ff6);_0x495a84['length']&&(_0x5a73a1['disconnect'](),_0x265347(_0x495a84[0x0]['addedNodes'][0x0]));});_0x5a73a1['observe'](_0x2bb01d,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0xf860fb){_0xf860fb['addEventListener']('apply',_0xcd1c4e=>{this['fire']('apply',{'imageSrc':_0xcd1c4e['detail']['cdnUrl']});}),_0xf860fb['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class z extends/* #__PURE__ -- @preserve */
25
+ _0x2ed12c(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x3e054f,_0x18149f,_0x7ee076){super(),this['_editor']=_0x3e054f,this['_dialog']=_0x18149f,this['_imageElement']=_0x7ee076,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 _0x405bba=this['_imageElement'],_0x15a257=_0x405bba['getAttribute']('uploadcareImageId'),_0x993488=_0x405bba['getAttribute']('src');if(_0x15a257)await this['_loadImageInfo'](_0x15a257,_0x993488);else{if(this['_imageCache']['has'](_0x993488)){const _0x384184=this['_imageCache']['get'](_0x993488);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x384184['url'],this['imageDimension']=_0x384184['dimension'],this['imageId']=_0x384184['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x566000}=this['_editor'],t=_0x566000['t'],_0x2307c2=new Z(_0x566000,this['imageStatus'],this['_attributes']);_0x2307c2['bind']('status')['to'](this,'imageStatus'),_0x2307c2['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x2307c2['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x2307c2['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x2307c2,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x2ce0b5,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x2307c2,'position':_0x4563f6['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x2307c2['focus']();},'onHide':()=>{_0x2307c2['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x28bd2e=>!F(_0x28bd2e,_0x2307c2['element'])}});}['_loadImageInfo'](_0x42e0c6,_0xda622e){return C['getInfo'](_0x42e0c6,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0xaa4907=>{const {width:_0x17ab4a,height:_0x19c363}=_0xaa4907['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0xda622e,this['imageDimension']={'width':_0x17ab4a,'height':_0x19c363},this['imageId']=_0x42e0c6;})['catch'](_0x10a9f5=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x10a9f5['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x464b47,_0x5c18c7){return this['_getImageAsFile'](_0x464b47)['then'](_0x1949be=>C['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x5c18c7['signal'],'file':_0x1949be,'onProgress':_0x231036=>{_0x231036&&_0x231036['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x231036['value']));}}))['then'](_0x564a41=>{const {width:_0x2a1fbc,height:_0xb74c93}=_0x564a41['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x564a41['cdnUrl'],this['imageDimension']={'width':_0x2a1fbc,'height':_0xb74c93},this['imageId']=_0x564a41['uuid'],this['imageUploadProgress']=null;const _0x45786f=_0x464b47['getAttribute']('src');this['_imageCache']['set'](_0x45786f,{'id':_0x564a41['uuid'],'url':_0x564a41['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x4690fd=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x4690fd['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x52512d,_0x3e6e36){_0x52512d['on']('apply',(_0x509e11,_0x4a549a)=>{this['_replaceImage'](_0x3e6e36,_0x4a549a['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x52512d['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x52512d['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x193d1f,_0x6913ac,_0x179079){const _0x4716ec=this['_editor'],{width:_0x1019d7,height:_0x1d016b}=A(_0x6913ac,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x4e4f85,imageSources:_0x587d72}=E(_0x6913ac,_0x1019d7);_0x4716ec['model']['change'](_0x6a4ecc=>{if('$graveyard'===_0x193d1f['root']['rootName']){_0x4716ec['execute']('insertImage',{'imageType':_0x193d1f['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x193d1f['getAttributes']()),'uploadcareImageId':_0x179079,'src':_0x4e4f85,'sources':_0x587d72,'width':_0x1019d7,'height':_0x1d016b}});const _0x149e54=_0x193d1f['getChildren']();_0x193d1f=_0x4716ec['model']['document']['selection']['getSelectedElement']();for(const _0x1789d7 of _0x149e54)_0x6a4ecc['append'](_0x6a4ecc['cloneElement'](_0x1789d7),_0x193d1f);}else _0x6a4ecc['setSelection'](_0x193d1f,'on'),_0x4716ec['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x193d1f['getAttributes']()),'uploadcareImageId':_0x179079,'src':_0x4e4f85,'sources':_0x587d72,'width':_0x1019d7,'height':_0x1d016b},_0x193d1f);_0x6a4ecc['setSelection'](_0x193d1f,'on');});}async['_getImageAsFile'](_0x2ef3ad){const _0x16ca4=_0x216a0c['window'],_0x50319a=_0x216a0c['document']['location']['href'],_0x3495ea=new _0x16ca4['URL'](_0x2ef3ad['getAttribute']('src'),_0x50319a);if('data:'===_0x3495ea['protocol']){const _0xba3362=_0x3495ea['href']['split'](','),_0x4477a2=_0xba3362[0x0]['match'](/:(.*?);/)[0x1],_0x1a08bf=_0x4477a2['split']('/')[0x1],_0x2f0ac0=_0x16ca4['atob'](_0xba3362[_0xba3362['length']-0x1]);let _0x1387b1=_0x2f0ac0['length'];const _0x225eef=new _0x16ca4['Uint8Array'](_0x1387b1);for(;_0x1387b1--;)_0x225eef[_0x1387b1]=_0x2f0ac0['charCodeAt'](_0x1387b1);return new _0x16ca4['File']([_0x225eef],'image.'+_0x1a08bf,{'type':_0x4477a2});}const _0x39dfab=_0x3495ea['href']['split']('/'),_0x2659d4=_0x39dfab[_0x39dfab['length']-0x1],_0x4ec591=_0x2659d4['split']('.')[0x1];return _0x16ca4['fetch'](_0x3495ea['href'])['then'](_0x5b8443=>_0x5b8443['clone']()['blob']())['then'](_0x39bfd2=>new _0x16ca4['File']([_0x39bfd2],_0x2659d4,{'type':'image/'+_0x4ec591}));}}class J extends _0x12ff4c{['imageEditController'];static get['requires'](){return[_0x4a5815];}['_isEditable'];constructor(_0x5d4256){super(_0x5d4256),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x445c1a){const _0x538e68=V(_0x445c1a);return _0x16d8a1=>!(!_0x16d8a1||!_0x16d8a1['is']('element','imageBlock')&&!_0x16d8a1['is']('element','imageInline'))&&(!!_0x16d8a1['hasAttribute']('uploadcareImageId')||!!_0x16d8a1['hasAttribute']('src')&&_0x538e68(_0x16d8a1['getAttribute']('src')));}(_0x5d4256['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x905d52=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x905d52);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x59b9da=this['editor']['model']['document']['selection']['getSelectedElement']();_0x59b9da&&(_0x59b9da['is']('element','imageBlock')||_0x59b9da['is']('element','imageInline'))&&(this['imageEditController']=new z(this['editor'],this['editor']['plugins']['get'](_0x4a5815),_0x59b9da),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class O extends _0x12ff4c{['refresh'](){const _0x4ef0a8=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x4ef0a8&&(_0x4ef0a8['is']('element','imageBlock')||_0x4ef0a8['is']('element','imageInline')));}['execute'](_0x3d6758){const _0x164cff=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x540111=>{_0x540111['setAttributes'](_0x3d6758,_0x164cff),_0x540111['removeAttribute']('srcset',_0x164cff),_0x540111['removeAttribute']('sizes',_0x164cff);});}}class g extends _0x3ee0ba{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[i,_0x4668af,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x26e3b7}=this;_0x26e3b7['commands']['add']('uploadcareImageEdit',new J(_0x26e3b7)),_0x26e3b7['commands']['add']('uploadcareImageReplace',new O(_0x26e3b7));}}class j extends _0x3ee0ba{['_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 _0x3722c3=this['editor'];_0x3722c3['ui']['componentFactory']['add']('uploadcareImageEdit',_0x29436a=>{const _0x502afb=_0x3722c3['commands']['get']('uploadcareImageEdit'),_0x25cee4=new _0x2eb5ce(_0x29436a),t=_0x29436a['t'];return _0x25cee4['set']({'icon':_0x2ce0b5,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x25cee4['bind']('isEnabled')['to'](_0x502afb),_0x25cee4['bind']('isOn')['to'](_0x502afb,'isActive'),this['listenTo'](_0x25cee4,'execute',()=>{_0x3722c3['execute']('uploadcareImageEdit'),_0x3722c3['editing']['view']['focus']();}),_0x25cee4;}),this['_initConfig']();}['_initConfig'](){const _0x17cc4b=_0x3eaad5(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x17cc4b),this['listenTo'](this['editor'],'destroy',()=>{_0x17cc4b['remove']();});}}class P extends _0x3ee0ba{static get['pluginName'](){return'UploadcareImageEdit';}static get['requires'](){return[g,j];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{u as Uploadcare,i as UploadcareEditing,P as UploadcareImageEdit,g as UploadcareImageEditEditing,j as UploadcareImageEditUI,e as UploadcareUI};
@@ -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':_0x30cde3=>0x1!=_0x30cde3}};
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':_0x5b656e=>0x1!=_0x5b656e}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x1ce1d4=>{const {af:{dictionary:_0x5b3529,getPluralForm:_0xffd9ac}}={'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':_0x4d8756=>0x1!=_0x4d8756}};_0x1ce1d4['af']||={'dictionary':{},'getPluralForm':null},_0x1ce1d4['af']['dictionary']=Object['assign'](_0x1ce1d4['af']['dictionary'],_0x5b3529),_0x1ce1d4['af']['getPluralForm']=_0xffd9ac;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x492229=>{const {af:{dictionary:_0xf4575a,getPluralForm:_0x288968}}={'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':_0x2c835c=>0x1!=_0x2c835c}};_0x492229['af']||={'dictionary':{},'getPluralForm':null},_0x492229['af']['dictionary']=Object['assign'](_0x492229['af']['dictionary'],_0xf4575a),_0x492229['af']['getPluralForm']=_0x288968;})(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':_0x71e418=>0x0==_0x71e418?0x0:0x1==_0x71e418?0x1:0x2==_0x71e418?0x2:_0x71e418%0x64>=0x3&&_0x71e418%0x64<=0xa?0x3:_0x71e418%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':_0x3e6c3c=>0x0==_0x3e6c3c?0x0:0x1==_0x3e6c3c?0x1:0x2==_0x3e6c3c?0x2:_0x3e6c3c%0x64>=0x3&&_0x3e6c3c%0x64<=0xa?0x3:_0x3e6c3c%0x64>=0xb?0x4:0x5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x51c784=>{const {ar:{dictionary:_0x15fd12,getPluralForm:_0x30bbc7}}={'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':_0x5140dc=>0x0==_0x5140dc?0x0:0x1==_0x5140dc?0x1:0x2==_0x5140dc?0x2:_0x5140dc%0x64>=0x3&&_0x5140dc%0x64<=0xa?0x3:_0x5140dc%0x64>=0xb?0x4:0x5}};_0x51c784['ar']||={'dictionary':{},'getPluralForm':null},_0x51c784['ar']['dictionary']=Object['assign'](_0x51c784['ar']['dictionary'],_0x15fd12),_0x51c784['ar']['getPluralForm']=_0x30bbc7;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0xc39779=>{const {ar:{dictionary:_0x170777,getPluralForm:_0x50eedd}}={'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':_0x1e4ac5=>0x0==_0x1e4ac5?0x0:0x1==_0x1e4ac5?0x1:0x2==_0x1e4ac5?0x2:_0x1e4ac5%0x64>=0x3&&_0x1e4ac5%0x64<=0xa?0x3:_0x1e4ac5%0x64>=0xb?0x4:0x5}};_0xc39779['ar']||={'dictionary':{},'getPluralForm':null},_0xc39779['ar']['dictionary']=Object['assign'](_0xc39779['ar']['dictionary'],_0x170777),_0xc39779['ar']['getPluralForm']=_0x50eedd;})(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':_0x5f49b2=>0x1!=_0x5f49b2}};
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':_0x65b402=>0x1!=_0x65b402}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x1c1862=>{const {ast:{dictionary:_0x186ccc,getPluralForm:_0x26add4}}={'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':_0x4390d2=>0x1!=_0x4390d2}};_0x1c1862['ast']||={'dictionary':{},'getPluralForm':null},_0x1c1862['ast']['dictionary']=Object['assign'](_0x1c1862['ast']['dictionary'],_0x186ccc),_0x1c1862['ast']['getPluralForm']=_0x26add4;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x1e37ef=>{const {ast:{dictionary:_0x4a327d,getPluralForm:_0xbe501c}}={'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':_0x25f01b=>0x1!=_0x25f01b}};_0x1e37ef['ast']||={'dictionary':{},'getPluralForm':null},_0x1e37ef['ast']['dictionary']=Object['assign'](_0x1e37ef['ast']['dictionary'],_0x4a327d),_0x1e37ef['ast']['getPluralForm']=_0xbe501c;})(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':_0x401afe=>0x1!=_0x401afe}};
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':_0x2ce9c0=>0x1!=_0x2ce9c0}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x27ee40=>{const {az:{dictionary:_0x5c0191,getPluralForm:_0x110a1d}}={'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':_0x468825=>0x1!=_0x468825}};_0x27ee40['az']||={'dictionary':{},'getPluralForm':null},_0x27ee40['az']['dictionary']=Object['assign'](_0x27ee40['az']['dictionary'],_0x5c0191),_0x27ee40['az']['getPluralForm']=_0x110a1d;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x4f339a=>{const {az:{dictionary:_0x112eae,getPluralForm:_0x4418b3}}={'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':_0x35efe4=>0x1!=_0x35efe4}};_0x4f339a['az']||={'dictionary':{},'getPluralForm':null},_0x4f339a['az']['dictionary']=Object['assign'](_0x4f339a['az']['dictionary'],_0x112eae),_0x4f339a['az']['getPluralForm']=_0x4418b3;})(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':_0x16e7bf=>0x1!=_0x16e7bf}};
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':_0x1181a8=>0x1!=_0x1181a8}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x33021c=>{const {bg:{dictionary:_0xa3fdb,getPluralForm:_0x323aa2}}={'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':_0x35dd44=>0x1!=_0x35dd44}};_0x33021c['bg']||={'dictionary':{},'getPluralForm':null},_0x33021c['bg']['dictionary']=Object['assign'](_0x33021c['bg']['dictionary'],_0xa3fdb),_0x33021c['bg']['getPluralForm']=_0x323aa2;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x453b70=>{const {bg:{dictionary:_0x5db59b,getPluralForm:_0x27ad65}}={'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':_0x5113e4=>0x1!=_0x5113e4}};_0x453b70['bg']||={'dictionary':{},'getPluralForm':null},_0x453b70['bg']['dictionary']=Object['assign'](_0x453b70['bg']['dictionary'],_0x5db59b),_0x453b70['bg']['getPluralForm']=_0x27ad65;})(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':_0x5141f3=>0x1!=_0x5141f3}};
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':_0x1e2e83=>0x1!=_0x1e2e83}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x2c5e3f=>{const {bn:{dictionary:_0x239516,getPluralForm:_0x3479c6}}={'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':_0xe9081e=>0x1!=_0xe9081e}};_0x2c5e3f['bn']||={'dictionary':{},'getPluralForm':null},_0x2c5e3f['bn']['dictionary']=Object['assign'](_0x2c5e3f['bn']['dictionary'],_0x239516),_0x2c5e3f['bn']['getPluralForm']=_0x3479c6;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x5b6e7d=>{const {bn:{dictionary:_0x1c2c83,getPluralForm:_0x371a7b}}={'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':_0x125eec=>0x1!=_0x125eec}};_0x5b6e7d['bn']||={'dictionary':{},'getPluralForm':null},_0x5b6e7d['bn']['dictionary']=Object['assign'](_0x5b6e7d['bn']['dictionary'],_0x1c2c83),_0x5b6e7d['bn']['getPluralForm']=_0x371a7b;})(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':_0x5c47a2=>_0x5c47a2%0xa==0x1&&_0x5c47a2%0x64!=0xb?0x0:_0x5c47a2%0xa>=0x2&&_0x5c47a2%0xa<=0x4&&(_0x5c47a2%0x64<0xa||_0x5c47a2%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':_0x129c81=>_0x129c81%0xa==0x1&&_0x129c81%0x64!=0xb?0x0:_0x129c81%0xa>=0x2&&_0x129c81%0xa<=0x4&&(_0x129c81%0x64<0xa||_0x129c81%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x5a257a=>{const {bs:{dictionary:_0x3e2a2c,getPluralForm:_0x474263}}={'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':_0x391779=>_0x391779%0xa==0x1&&_0x391779%0x64!=0xb?0x0:_0x391779%0xa>=0x2&&_0x391779%0xa<=0x4&&(_0x391779%0x64<0xa||_0x391779%0x64>=0x14)?0x1:0x2}};_0x5a257a['bs']||={'dictionary':{},'getPluralForm':null},_0x5a257a['bs']['dictionary']=Object['assign'](_0x5a257a['bs']['dictionary'],_0x3e2a2c),_0x5a257a['bs']['getPluralForm']=_0x474263;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x3d4b9b=>{const {bs:{dictionary:_0x14d6ab,getPluralForm:_0x53f8c9}}={'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':_0x27f708=>_0x27f708%0xa==0x1&&_0x27f708%0x64!=0xb?0x0:_0x27f708%0xa>=0x2&&_0x27f708%0xa<=0x4&&(_0x27f708%0x64<0xa||_0x27f708%0x64>=0x14)?0x1:0x2}};_0x3d4b9b['bs']||={'dictionary':{},'getPluralForm':null},_0x3d4b9b['bs']['dictionary']=Object['assign'](_0x3d4b9b['bs']['dictionary'],_0x14d6ab),_0x3d4b9b['bs']['getPluralForm']=_0x53f8c9;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'ca':{'dictionary':{'Insert\x20with\x20Dropbox':'Insereix\x20amb\x20Dropbox','Replace\x20with\x20Dropbox':'Substitueix\x20amb\x20Dropbox','With\x20Dropbox':'Amb\x20Dropbox','Insert\x20with\x20Facebook':'Insereix\x20amb\x20Facebook','Replace\x20with\x20Facebook':'Substitueix\x20amb\x20Facebook','With\x20Facebook':'Amb\x20Facebook','Insert\x20with\x20Google\x20Drive':'Insereix\x20amb\x20Google\x20Drive','Replace\x20with\x20Google\x20Drive':'Substitueix\x20amb\x20Google\x20Drive','With\x20Google\x20Drive':'Amb\x20Google\x20Drive','Insert\x20with\x20Google\x20Photos':'Insereix\x20amb\x20Google\x20Fotos','Replace\x20with\x20Google\x20Photos':'Substitueix\x20amb\x20Google\x20Fotos','With\x20Google\x20Photos':'Amb\x20Google\x20Fotos','Insert\x20with\x20OneDrive':'Insereix\x20amb\x20OneDrive','Replace\x20with\x20OneDrive':'Substitueix\x20amb\x20OneDrive','With\x20OneDrive':'Amb\x20OneDrive','Replace\x20via\x20URL':'Substitueix\x20mitjançant\x20un\x20URL','Edit\x20Image\x20(Uploadcare)':'Edita\x20la\x20imatge','Loading\x20image...':'S\x27està\x20carregant\x20la\x20imatge...','Unable\x20to\x20load':'No\x20es\x20pot\x20carregar','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'No\x20hem\x20pogut\x20carregar\x20la\x20imatge\x20a\x20causa\x20dels\x20problemes\x20de\x20connexió\x20de\x20xarxa.','Try\x20again\x20(Uploadcare)':'Torna-ho\x20a\x20provar','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':'No\x20s\x27ha\x20trobat\x20la\x20imatge.\x20És\x20possible\x20que\x20s\x27hagi\x20suprimit\x20la\x20seva\x20font.'},'getPluralForm':_0x540e8a=>0x1!=_0x540e8a}};
23
+ export default{'ca':{'dictionary':{'Insert\x20with\x20Dropbox':'Insereix\x20amb\x20Dropbox','Replace\x20with\x20Dropbox':'Substitueix\x20amb\x20Dropbox','With\x20Dropbox':'Amb\x20Dropbox','Insert\x20with\x20Facebook':'Insereix\x20amb\x20Facebook','Replace\x20with\x20Facebook':'Substitueix\x20amb\x20Facebook','With\x20Facebook':'Amb\x20Facebook','Insert\x20with\x20Google\x20Drive':'Insereix\x20amb\x20Google\x20Drive','Replace\x20with\x20Google\x20Drive':'Substitueix\x20amb\x20Google\x20Drive','With\x20Google\x20Drive':'Amb\x20Google\x20Drive','Insert\x20with\x20Google\x20Photos':'Insereix\x20amb\x20Google\x20Fotos','Replace\x20with\x20Google\x20Photos':'Substitueix\x20amb\x20Google\x20Fotos','With\x20Google\x20Photos':'Amb\x20Google\x20Fotos','Insert\x20with\x20OneDrive':'Insereix\x20amb\x20OneDrive','Replace\x20with\x20OneDrive':'Substitueix\x20amb\x20OneDrive','With\x20OneDrive':'Amb\x20OneDrive','Replace\x20via\x20URL':'Substitueix\x20mitjançant\x20un\x20URL','Edit\x20Image\x20(Uploadcare)':'Edita\x20la\x20imatge','Loading\x20image...':'S\x27està\x20carregant\x20la\x20imatge...','Unable\x20to\x20load':'No\x20es\x20pot\x20carregar','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'No\x20hem\x20pogut\x20carregar\x20la\x20imatge\x20a\x20causa\x20dels\x20problemes\x20de\x20connexió\x20de\x20xarxa.','Try\x20again\x20(Uploadcare)':'Torna-ho\x20a\x20provar','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':'No\x20s\x27ha\x20trobat\x20la\x20imatge.\x20És\x20possible\x20que\x20s\x27hagi\x20suprimit\x20la\x20seva\x20font.'},'getPluralForm':_0x8b3e72=>0x1!=_0x8b3e72}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x75ca2d=>{const {ca:{dictionary:_0x1ac293,getPluralForm:_0xb126b9}}={'ca':{'dictionary':{'Insert\x20with\x20Dropbox':'Insereix\x20amb\x20Dropbox','Replace\x20with\x20Dropbox':'Substitueix\x20amb\x20Dropbox','With\x20Dropbox':'Amb\x20Dropbox','Insert\x20with\x20Facebook':'Insereix\x20amb\x20Facebook','Replace\x20with\x20Facebook':'Substitueix\x20amb\x20Facebook','With\x20Facebook':'Amb\x20Facebook','Insert\x20with\x20Google\x20Drive':'Insereix\x20amb\x20Google\x20Drive','Replace\x20with\x20Google\x20Drive':'Substitueix\x20amb\x20Google\x20Drive','With\x20Google\x20Drive':'Amb\x20Google\x20Drive','Insert\x20with\x20Google\x20Photos':'Insereix\x20amb\x20Google\x20Fotos','Replace\x20with\x20Google\x20Photos':'Substitueix\x20amb\x20Google\x20Fotos','With\x20Google\x20Photos':'Amb\x20Google\x20Fotos','Insert\x20with\x20OneDrive':'Insereix\x20amb\x20OneDrive','Replace\x20with\x20OneDrive':'Substitueix\x20amb\x20OneDrive','With\x20OneDrive':'Amb\x20OneDrive','Replace\x20via\x20URL':'Substitueix\x20mitjançant\x20un\x20URL','Edit\x20Image\x20(Uploadcare)':'Edita\x20la\x20imatge','Loading\x20image...':'S\x27està\x20carregant\x20la\x20imatge...','Unable\x20to\x20load':'No\x20es\x20pot\x20carregar','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'No\x20hem\x20pogut\x20carregar\x20la\x20imatge\x20a\x20causa\x20dels\x20problemes\x20de\x20connexió\x20de\x20xarxa.','Try\x20again\x20(Uploadcare)':'Torna-ho\x20a\x20provar','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':'No\x20s\x27ha\x20trobat\x20la\x20imatge.\x20És\x20possible\x20que\x20s\x27hagi\x20suprimit\x20la\x20seva\x20font.'},'getPluralForm':_0x43dbbf=>0x1!=_0x43dbbf}};_0x75ca2d['ca']||={'dictionary':{},'getPluralForm':null},_0x75ca2d['ca']['dictionary']=Object['assign'](_0x75ca2d['ca']['dictionary'],_0x1ac293),_0x75ca2d['ca']['getPluralForm']=_0xb126b9;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x4c150e=>{const {ca:{dictionary:_0x2d49d1,getPluralForm:_0x544b7c}}={'ca':{'dictionary':{'Insert\x20with\x20Dropbox':'Insereix\x20amb\x20Dropbox','Replace\x20with\x20Dropbox':'Substitueix\x20amb\x20Dropbox','With\x20Dropbox':'Amb\x20Dropbox','Insert\x20with\x20Facebook':'Insereix\x20amb\x20Facebook','Replace\x20with\x20Facebook':'Substitueix\x20amb\x20Facebook','With\x20Facebook':'Amb\x20Facebook','Insert\x20with\x20Google\x20Drive':'Insereix\x20amb\x20Google\x20Drive','Replace\x20with\x20Google\x20Drive':'Substitueix\x20amb\x20Google\x20Drive','With\x20Google\x20Drive':'Amb\x20Google\x20Drive','Insert\x20with\x20Google\x20Photos':'Insereix\x20amb\x20Google\x20Fotos','Replace\x20with\x20Google\x20Photos':'Substitueix\x20amb\x20Google\x20Fotos','With\x20Google\x20Photos':'Amb\x20Google\x20Fotos','Insert\x20with\x20OneDrive':'Insereix\x20amb\x20OneDrive','Replace\x20with\x20OneDrive':'Substitueix\x20amb\x20OneDrive','With\x20OneDrive':'Amb\x20OneDrive','Replace\x20via\x20URL':'Substitueix\x20mitjançant\x20un\x20URL','Edit\x20Image\x20(Uploadcare)':'Edita\x20la\x20imatge','Loading\x20image...':'S\x27està\x20carregant\x20la\x20imatge...','Unable\x20to\x20load':'No\x20es\x20pot\x20carregar','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'No\x20hem\x20pogut\x20carregar\x20la\x20imatge\x20a\x20causa\x20dels\x20problemes\x20de\x20connexió\x20de\x20xarxa.','Try\x20again\x20(Uploadcare)':'Torna-ho\x20a\x20provar','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':'No\x20s\x27ha\x20trobat\x20la\x20imatge.\x20És\x20possible\x20que\x20s\x27hagi\x20suprimit\x20la\x20seva\x20font.'},'getPluralForm':_0x50c50c=>0x1!=_0x50c50c}};_0x4c150e['ca']||={'dictionary':{},'getPluralForm':null},_0x4c150e['ca']['dictionary']=Object['assign'](_0x4c150e['ca']['dictionary'],_0x2d49d1),_0x4c150e['ca']['getPluralForm']=_0x544b7c;})(window['CKEDITOR_TRANSLATIONS']||={});