@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-20250321.0 → 0.0.0-nightly-20250323.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 _0x543a58,Command as _0x4a797b}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x10e4ed,IconGooglePhotos as _0x11b49a,IconGoogleDrive as _0x200ac2,IconFacebook as _0x2d265b,IconDropbox as _0x4f76b7,IconUploadcareLink as _0x414196,IconUploadcareImageUpload as _0x2dd0e9,IconError as et,IconUploadcareImageEdit as _0x1978c5}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x4a6b4f,MenuBarMenuListItemButtonView as _0x499068,View as _0x20c252,FocusCycler as _0x29f449,Dialog as _0x35b2ee,DialogViewPosition as _0x334b2c,SpinnerView as _0x34e59f,IconView as at,Notification as _0x31af53}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x4db5f2,DomEmitterMixin as _0x4753e8,global as _0x4dcd44,getAncestors as _0x1556e7,ObservableMixin as _0x83a790,createElement as _0x38c496,uid as _0x33ab27}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x1b95d9}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x211b93,info as _0x2070c7}from'@uploadcare/upload-client';import*as _0x1fab8c from'@uploadcare/file-uploader';var o=function(_0x174c4e){return _0x174c4e['Local']='local',_0x174c4e['URL']='url',_0x174c4e['Dropbox']='dropbox',_0x174c4e['GDrive']='gdrive',_0x174c4e['Facebook']='facebook',_0x174c4e['GPhotos']='gphotos',_0x174c4e['OneDrive']='onedrive',_0x174c4e;}({});function _(_0x171759,_0x2d1c0b,_0x142d30){const t=_0x171759['t'],_0x4b4c58=_0x171759['t'];switch(_0x2d1c0b){case o['Local']:return{'text':_0x4b4c58('Insert'===_0x142d30?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x4b4c58('From\x20computer')};case o['URL']:return{'text':'Insert'===_0x142d30?_0x4b4c58('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x4b4c58('Via\x20URL')};case o['Dropbox']:return{'text':t('Insert'===_0x142d30?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case o['Facebook']:return{'text':t('Insert'===_0x142d30?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case o['GDrive']:return{'text':t('Insert'===_0x142d30?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case o['GPhotos']:return{'text':t('Insert'===_0x142d30?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case o['OneDrive']:return{'text':t('Insert'===_0x142d30?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x2d1c0b;}}class e extends _0x543a58{['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 _0x34bd25=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0xbe8078;for(const _0x3553e4 in _0x34bd25){const _0x47938c=_0x3553e4,_0x488f69=_0x34bd25[_0x47938c];if('uploadcareLicenseKeyValid'==_0x488f69||'uploadcareLicenseKeyInvalid'==_0x488f69||'uploadcareLicenseKeyExpired'==_0x488f69||'uploadcareLicenseKeyDomainLimit'==_0x488f69||'uploadcareLicenseKeyNotAllowed'==_0x488f69||'uploadcareLicenseKeyEvaluationLimit'==_0x488f69||'uploadcareLicenseKeyTrialLimit'==_0x488f69||'uploadcareLicenseKeyUsageLimit'==_0x488f69){delete _0x34bd25[_0x47938c],_0xbe8078=_0x488f69,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0xbe8078&&_0x34bd25['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0xbe8078&&_0x34bd25['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0xbe8078&&_0x34bd25['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0xbe8078&&_0x34bd25['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0xbe8078&&_0x34bd25['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0xbe8078&&_0x34bd25['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0xbe8078&&_0x34bd25['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x5cc736}=this,_0x1067b3=_0x5cc736['commands']['get']('uploadcare');if(!_0x1067b3)return;const _0x1cf4c1=this['_normalizeConfigSourceList'](_0x5cc736['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x59abf2,_0x52a6e8)=>{const _0x28ea8e=this['_getIntegrationKey'](_0x52a6e8['type']);return _0x59abf2[_0x28ea8e]||(_0x59abf2[_0x28ea8e]=[]),_0x59abf2[_0x28ea8e]['push'](_0x52a6e8),_0x59abf2;},{});_0x5cc736['plugins']['has']('ImageInsertUI')&&_0x5cc736['commands']['get']('uploadcare')&&Object['entries'](_0x1cf4c1)['forEach'](([_0x4e65a0,_0x281128])=>{_0x5cc736['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x4e65a0,'observable':()=>_0x1067b3,'buttonViewCreator':()=>this['_createToolbarButton'](_0x281128),'formViewCreator':()=>this['_createDropdownButtons'](_0x281128),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x281128),'override':'assetManager'!==_0x4e65a0});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x12d5c1){const {locale:_0x198020}=this['editor'];return _0x12d5c1['map'](_0x5da4a6=>{const _0x49e49b=_(_0x198020,_0x5da4a6,'Insert');switch(_0x5da4a6){case o['Local']:return{'icon':_0x2dd0e9,'type':o['Local'],..._0x49e49b};case o['URL']:return{'icon':_0x414196,'type':o['URL'],..._0x49e49b};case o['Dropbox']:return{'icon':_0x4f76b7,'type':o['Dropbox'],..._0x49e49b};case o['Facebook']:return{'icon':_0x2d265b,'type':o['Facebook'],..._0x49e49b};case o['GDrive']:return{'icon':_0x200ac2,'type':o['GDrive'],..._0x49e49b};case o['GPhotos']:return{'icon':_0x11b49a,'type':o['GPhotos'],..._0x49e49b};case o['OneDrive']:return{'icon':_0x10e4ed,'type':o['OneDrive'],..._0x49e49b};}});}['_getIntegrationKey'](_0x138b4c){switch(_0x138b4c){case o['Local']:return'upload';case o['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x36b673,_0x245fc6){const _0x2fcd03=this['editor'],_0x959ed0=new _0x36b673(_0x2fcd03['locale']),_0x3782e7=_0x2fcd03['commands']['get']('uploadcare');return _0x959ed0['bind']('isEnabled')['to'](_0x3782e7),_0x959ed0['on']('execute',()=>{_0x3782e7['execute'](_0x245fc6);}),_0x959ed0;}['_createToolbarButton'](_0x4dec66){const {locale:_0x4e7276}=this['editor'],_0x57542b=this['editor']['plugins']['get']('ImageInsertUI'),_0x4ac2cc=_0x4dec66[0x0],_0x545b11=this['_createButton'](_0x4a6b4f,_0x4ac2cc['type']);return _0x545b11['icon']=_0x4ac2cc['icon'],_0x545b11['bind']('label')['to'](_0x57542b,'isImageSelected',_0x17ba37=>_(_0x4e7276,_0x4ac2cc['type'],_0x17ba37?'Replace':'Insert')['text']),_0x545b11['tooltip']=!0x0,_0x545b11;}['_createDropdownButtons'](_0x59d256){const {locale:_0x5a0797}=this['editor'],_0x1087b1=this['editor']['plugins']['get']('ImageInsertUI');return _0x59d256['map'](_0x5a07c8=>{const _0x1f9ac0=this['_createButton'](_0x4a6b4f,_0x5a07c8['type']);return _0x1f9ac0['withText']=!0x0,_0x1f9ac0['icon']=_0x5a07c8['icon'],_0x1f9ac0['bind']('label')['to'](_0x1087b1,'isImageSelected',_0x5538cd=>_(_0x5a0797,_0x5a07c8['type'],_0x5538cd?'Replace':'Insert')['text']),_0x1f9ac0;});}['_createMenuBarButtons'](_0x477522){return _0x477522['map'](_0x3d93c1=>{const _0x1c2ab2=this['_createButton'](_0x499068,_0x3d93c1['type']);return _0x1c2ab2['icon']=_0x3d93c1['icon'],_0x1c2ab2['label']=_0x3d93c1['shortText'],_0x1c2ab2;});}}class q extends _0x20c252{['focusTracker'];['focusCycler'];constructor(_0x5ca2f3){super(_0x5ca2f3),this['focusTracker']=new _0x4db5f2(),this['focusCycler']=new _0x29f449({'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(_0x946079){super(_0x946079),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(_0x259564,_0x20fc98){const _0x44a928=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x310443=>_0x310443<=_0x20fc98)['map'](_0x3c8c85=>_0x259564['replace'](/\/$/,'')+'/-/resize/'+_0x3c8c85+'x/\x20'+_0x3c8c85+'w');return{'imageFallbackUrl':_0x259564,'imageSources':[{'srcset':_0x44a928['join'](',\x20'),'sizes':'(max-width:\x20'+_0x20fc98+'px)\x20100vw,\x20'+_0x20fc98+'px','type':'image/webp'}]};}function A(_0x4fb567,_0x5ac026,_0x472694){const _0x141345=_0x4fb567['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x141345?parseInt(_0x141345[0x1],0xa):_0x5ac026,'height':_0x141345?parseInt(_0x141345[0x2],0xa):_0x472694};}function m(_0x17c133,_0x508d86){const _0x488a5e=Object['create'](_0x4753e8),_0x337014=_0x17c133['plugins']['get']('ImageUtils'),_0x3d6241=_0x17c133['editing']['mapper']['toViewElement'](_0x508d86),_0x2afe24=_0x337014['findViewImgElement'](_0x3d6241),_0x3c47ac=_0x17c133['editing']['view']['domConverter']['viewToDom'](_0x2afe24),_0x125e5e=_0x508d86['getAttribute']('width'),_0x55a890=_0x508d86['getAttribute']('height'),_0x7faee8='image-processing';_0x17c133['editing']['view']['change'](_0x26425c=>{_0x26425c['addClass'](_0x7faee8,_0x3d6241),_0x26425c['setStyle']('aspect-ratio',_0x125e5e+'/'+_0x55a890,_0x2afe24);}),_0x488a5e['listenTo'](_0x3c47ac,'load',()=>{_0x488a5e['stopListening'](_0x3c47ac,'load'),_0x17c133['editing']['view']['change'](_0x357dcc=>{_0x357dcc['removeClass'](_0x7faee8,_0x3d6241),_0x357dcc['removeStyle']('aspect-ratio',_0x2afe24);});});}function V(_0x15b976){if(Array['isArray'](_0x15b976)){const _0x20354c=_0x15b976['map'](V);return _0x497229=>_0x20354c['some'](_0x4f6663=>_0x4f6663(_0x497229));}if('origin'==_0x15b976){const _0x2cb934=_0x4dcd44['window']['location']['origin'];return _0x59aa5a=>new URL(_0x59aa5a,_0x4dcd44['document']['baseURI'])['origin']==_0x2cb934;}return'function'==typeof _0x15b976?_0x15b976:_0x15b976 instanceof RegExp?_0x388419=>!(!_0x388419['match'](_0x15b976)&&!_0x388419['replace'](/^https?:\/\//,'')['match'](_0x15b976)):()=>!0x1;}function F(_0x43b395,_0x196b19){return _0x1556e7(_0x43b395['target'])['includes'](_0x196b19);}class l extends/* #__PURE__ -- @preserve */
24
- _0x83a790(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x114230,_0x248d66,_0xd4e46b){super(),this['_editor']=_0x114230,this['_editing']=_0x248d66,this['_dialog']=_0x114230['plugins']['get'](_0x35b2ee),this['_api']=_0x248d66['ctxElement']['getAPI'](),this['_type']=_0xd4e46b,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:_0x141650,model:_0x34a6ed}=this['_editor'],_0xefc9d3=_0x34a6ed['document']['selection']['getSelectedElement'](),_0x58fca0=_0xefc9d3&&(_0xefc9d3['is']('element','imageBlock')||_0xefc9d3['is']('element','imageInline'));this['_formView']=new S(_0x141650),this['_dialog']['show']({'id':'uploadCare','icon':_0x2dd0e9,'title':_(_0x141650,this['_type'],_0x58fca0?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x334b2c['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x51493e=>!F(_0x51493e,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x30593b}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x3fbd19=>{const _0x51b745=_0x30593b['length'];for(const _0x163d85 of _0x30593b){const _0x2d6879=_0x163d85===_0x30593b[_0x51b745-0x1],{cdnUrl:_0x35d405,fileInfo:_0x151c82}=_0x163d85;if(!_0x35d405||!_0x151c82)continue;const {width:_0x26a339,height:_0x831168}=_0x151c82['imageInfo'],_0x3d3790=A(_0x35d405,_0x26a339,_0x831168),_0xdf3381=E(_0x35d405,_0x3d3790['width']),_0x44b358={'id':_0x151c82['uuid'],'type':'image','attributes':{'imageDimension':_0x3d3790,..._0xdf3381}};this['_insertAsset'](_0x44b358,_0x2d6879,_0x3fbd19);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x25b1ab=>{'idle'===_0x25b1ab['detail']['status']&&!_0x25b1ab['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===o['Local']?this['_api']['setCurrentActivity'](o['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x16608a,_0x560407,_0x1e92b1){const _0x1999ac=this['_editor']['model']['document']['selection'],_0x21affe=_0x1999ac['getSelectedElement'](),_0x502d8b=!(!_0x21affe||!_0x21affe['is']('element','imageInline'));_0x1e92b1['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x16608a,_0x502d8b),_0x560407||_0x1e92b1['setSelection'](_0x1999ac['getLastPosition']());}['_insertImage'](_0x344cf4,_0xcad95d){const _0x3e0ac7=this['_editor'],{imageDimension:_0x587f6b,imageFallbackUrl:_0x1e6b73,imageSources:_0x4d9a56}=_0x344cf4['attributes'];_0x3e0ac7['execute']('insertImage',{'imageType':_0xcad95d?'imageInline':null,'source':{'uploadcareImageId':_0x344cf4['id'],'src':_0x1e6b73,'sources':_0x4d9a56,..._0x587f6b}});}}class n extends _0x4a797b{['_editing'];['_controller']=null;static get['requires'](){return[_0x35b2ee,i];}constructor(_0x337a0d){super(_0x337a0d),this['_editing']=_0x337a0d['plugins']['get'](i);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x123b62){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new l(this['editor'],this['_editing'],_0x123b62);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class C{static['upload']({file:_0x175522,publicKey:_0x15824a,signal:_0x4267f6,onProgress:_0x3df934}){return _0x211b93(_0x175522,{'publicKey':_0x15824a,'store':'auto','signal':_0x4267f6,'onProgress':_0x3df934});}static['getInfo'](_0x3ca818,_0x3d5a94){return _0x2070c7(_0x3ca818,_0x3d5a94);}}class p extends _0x543a58{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x1b95d9,i];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x255699=this['editor'];if(!!!_0x255699['config']['get']('uploadcare'))return;_0x255699['plugins']['get'](_0x1b95d9)['createUploadAdapter']=_0x3a860b=>new x(_0x3a860b,_0x255699),_0x255699['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x4eb0eb,{imageElement:_0x1a9042,data:_0x3c16ee})=>{_0x255699['model']['change'](_0x50e31a=>{_0x50e31a['setAttribute']('uploadcareImageId',_0x3c16ee['uploadcareImageId'],_0x1a9042);});});}}class x{['loader'];['editor'];['controller'];constructor(_0xd96b2b,_0x2e0d8e){this['loader']=_0xd96b2b,this['editor']=_0x2e0d8e,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x5e74bc=this['editor']['config']['get']('uploadcare.pubkey'),_0x846ec8=await this['loader']['file'];return C['upload']({'file':_0x846ec8,'publicKey':_0x5e74bc,'signal':this['controller']['signal'],'onProgress':_0x5c7194=>{_0x5c7194&&_0x5c7194['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x5c7194['value']);}})['then'](async _0x1d3454=>{const {imageFallbackUrl:_0x4abc1a,imageSources:_0xd09103}=E(_0x1d3454['cdnUrl'],_0x1d3454['imageInfo']['width']);return{'uploadcareImageId':_0x1d3454['uuid'],'default':_0x4abc1a,'sources':_0xd09103};})['catch'](()=>{const _0x84a4b8=t('Cannot\x20upload\x20file:')+('\x20'+_0x846ec8['name']+'.');return Promise['reject'](_0x84a4b8);});}['abort'](){this['controller']['abort']();}}class i extends _0x543a58{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',p,_0x35b2ee];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}['init'](){const _0x8cba6a=this['editor'];_0x8cba6a['commands']['add']('uploadcare',new n(_0x8cba6a));}['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 _0x731072=_0x4dcd44['document']['querySelector']('input[uploadcare-file-input]');_0x731072&&_0x731072['remove']();}),async function(_0x5319ab){const _0x5e4fc8=_0x37c3aa([0x30,0x58,0x6c,0x44,0x56,0x61,0x6e,0x46,0x6f,0x36,0x45,0x4f,0x76,0x35,0x74,0x49,0x34,0x77,0x52,0x33,0x64,0x63,0x37,0x79,0x78,0x47,0x32,0x73,0x50,0x62,0x39,0x57,0x4a,0x6b,0x4d,0x42,0x5a,0x48,0x4b,0x38,0x43,0x6a,0x31,0x6d,0x51,0x70,0x4e,0x59,0x75,0x65,0x55,0x68,0x71,0x69,0x7a,0x4c,0x66,0x41,0x54,0x53,0x72,0x67]),_0x3c147d=0x50bf7462,_0x2ab7b5=0x50b816a2^_0x3c147d,_0x151a13=window[_0x37c3aa([0x44,0x61,0x74,0x65])][_0x37c3aa([0x6e,0x6f,0x77])](),_0x5f258a=_0x5319ab[_0x37c3aa([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x36d1d5=new window[(_0x37c3aa([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4469d0=>{_0x5f258a[_0x37c3aa([0x6f,0x6e,0x63,0x65])](_0x37c3aa([0x72,0x65,0x61,0x64,0x79]),_0x4469d0);}),_0xbece97={[_0x37c3aa([0x6b,0x74,0x79])]:_0x37c3aa([0x45,0x43]),[_0x37c3aa([0x75,0x73,0x65])]:_0x37c3aa([0x73,0x69,0x67]),[_0x37c3aa([0x63,0x72,0x76])]:_0x37c3aa([0x50,0x2d,0x32,0x35,0x36]),[_0x37c3aa([0x78])]:_0x37c3aa([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]),[_0x37c3aa([0x79])]:_0x37c3aa([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]),[_0x37c3aa([0x61,0x6c,0x67])]:_0x37c3aa([0x45,0x53,0x32,0x35,0x36])},_0x7373fa=_0x5f258a[_0x37c3aa([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x37c3aa([0x67,0x65,0x74])](_0x37c3aa([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x122214(){let _0x27ed02,_0x6f0326=null,_0x562e1c=null;try{if(_0x7373fa==_0x37c3aa([0x47,0x50,0x4c]))return _0x37c3aa([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x27ed02=_0x486628(),!_0x27ed02)return _0x37c3aa([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x27ed02[_0x37c3aa([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x562e1c=_0x1335fb(_0x27ed02[_0x37c3aa([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x27ed02[_0x37c3aa([0x6a,0x74,0x69])])),await _0x4944cd()?_0x441ce1()?_0xfd281a()?_0x37c3aa([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x12d735()?(_0x27ed02[_0x37c3aa([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x37c3aa([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x6f0326=_0x2bd5c3(_0x37c3aa([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x27ed02[_0x37c3aa([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x37c3aa([0x74,0x72,0x69,0x61,0x6c])&&(_0x6f0326=_0x2bd5c3(_0x37c3aa([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4651f6()):_0x37c3aa([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x37c3aa([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x37c3aa([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x8c19e7){return _0x37c3aa([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0xfd281a(){const _0x4b6230=[_0x37c3aa([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x37c3aa([0x74,0x72,0x69,0x61,0x6c])][_0x37c3aa([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x27ed02[_0x37c3aa([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x151a13/0x3e8:0xe10*_0x2ab7b5;return _0x27ed02[_0x37c3aa([0x65,0x78,0x70])]<_0x4b6230;}function _0x441ce1(){const _0x3870d6=_0x27ed02[_0x37c3aa([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x3870d6&&(!!_0x3870d6[_0x37c3aa([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x37c3aa([0x2a]))||!!_0x3870d6[_0x37c3aa([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x37c3aa([0x55,0x50,0x4c,0x43])));}function _0x12d735(){const _0x5b179c=_0x27ed02[_0x37c3aa([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5b179c||0x0==_0x5b179c[_0x37c3aa([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x4f1349}=new URL(window[_0x37c3aa([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x5b179c[_0x37c3aa([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4f1349))return!0x0;const _0x3d4c83=_0x4f1349[_0x37c3aa([0x73,0x70,0x6c,0x69,0x74])](_0x37c3aa([0x2e]));return _0x5b179c[_0x37c3aa([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x435b61=>_0x435b61[_0x37c3aa([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x37c3aa([0x2a])))[_0x37c3aa([0x6d,0x61,0x70])](_0x29d90d=>_0x29d90d[_0x37c3aa([0x73,0x70,0x6c,0x69,0x74])](_0x37c3aa([0x2e])))[_0x37c3aa([0x73,0x6f,0x6d,0x65])](_0x5c3544=>_0x3d4c83[_0x37c3aa([0x65,0x76,0x65,0x72,0x79])]((_0x52da39,_0x4e05bc)=>_0x5c3544[_0x4e05bc]===_0x52da39||_0x5c3544[_0x4e05bc]===_0x37c3aa([0x2a])));}function _0x4651f6(){return _0x6f0326&&_0x562e1c?new window[(_0x37c3aa([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1a69e4,_0x5480e5)=>{_0x6f0326[_0x37c3aa([0x74,0x68,0x65,0x6e])](_0x1a69e4,_0x5480e5),_0x562e1c[_0x37c3aa([0x74,0x68,0x65,0x6e])](_0x4732c7=>{_0x4732c7!=_0x37c3aa([0x56,0x61,0x6c,0x69,0x64])&&_0x1a69e4(_0x4732c7);},_0x5480e5);}):_0x6f0326||_0x562e1c||_0x37c3aa([0x56,0x61,0x6c,0x69,0x64]);}}function _0x1335fb(_0x58f691,_0x20aa04){return new window[(_0x37c3aa([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x21fecd=>{if(_0x3b3b4a())return _0x21fecd(_0x37c3aa([0x56,0x61,0x6c,0x69,0x64]));_0x2b9995(),_0x5f258a[_0x37c3aa([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x37c3aa([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2469cd=!0x1;const _0x6ccc5d=_0x33ab27();function _0x2e48d7(_0x1c5d67){return!!_0x1c5d67&&(typeof _0x1c5d67===_0x37c3aa([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1c5d67===_0x37c3aa([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1c5d67[_0x37c3aa([0x74,0x68,0x65,0x6e])]===_0x37c3aa([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1c5d67[_0x37c3aa([0x63,0x61,0x74,0x63,0x68])]===_0x37c3aa([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x16dc6b(_0x1722bf){_0x6dd4c1(_0x1722bf)[_0x37c3aa([0x74,0x68,0x65,0x6e])](_0x542820=>{if(!_0x542820||_0x542820[_0x37c3aa([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x37c3aa([0x6f,0x6b]))return _0x37c3aa([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1e77b1(_0x4b1850(_0x6ccc5d+_0x20aa04))!=_0x542820[_0x37c3aa([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x37c3aa([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x37c3aa([0x56,0x61,0x6c,0x69,0x64]);})[_0x37c3aa([0x74,0x68,0x65,0x6e])](_0x1515fe=>(_0x34cece(),_0x1515fe),()=>{const _0x553494=_0x19120();return null==_0x553494?(_0x34cece(),_0x37c3aa([0x56,0x61,0x6c,0x69,0x64])):_0x37c3aa(_0x151a13-_0x553494>(0x74b3f062^_0x3c147d)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x37c3aa([0x74,0x68,0x65,0x6e])](_0x21fecd)[_0x37c3aa([0x63,0x61,0x74,0x63,0x68])](()=>{_0x21fecd(_0x37c3aa([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x704be3=0x50899ae2^_0x3c147d;function _0x34cece(){const _0x1cb4f9=_0x37c3aa([0x6c,0x6c,0x63,0x74,0x2d])+_0x1e77b1(_0x4b1850(_0x58f691)),_0x36c7f6=_0x2de04b(_0x1e77b1(window[_0x37c3aa([0x4d,0x61,0x74,0x68])][_0x37c3aa([0x63,0x65,0x69,0x6c])](_0x151a13/_0x704be3)));window[_0x37c3aa([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x37c3aa([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1cb4f9,_0x36c7f6);}function _0x19120(){const _0x4028b9=_0x37c3aa([0x6c,0x6c,0x63,0x74,0x2d])+_0x1e77b1(_0x4b1850(_0x58f691)),_0x196907=window[_0x37c3aa([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x37c3aa([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4028b9);return _0x196907?window[_0x37c3aa([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2de04b(_0x196907),0x10)*_0x704be3:null;}function _0x6dd4c1(_0x1da417){return new window[(_0x37c3aa([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x161e05,_0x3acb87)=>{_0x1da417[_0x37c3aa([0x74,0x68,0x65,0x6e])](_0x161e05,_0x3acb87),window[_0x37c3aa([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3acb87,0x50bea0a2^_0x3c147d);});}}_0x5f258a[_0x37c3aa([0x6f,0x6e])](_0x37c3aa([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0xfb4e41,_0x243d00)=>{if(_0x243d00[0x0]!=_0x58f691)return _0x21fecd(_0x37c3aa([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x243d00[0x1]={..._0x243d00[0x1],[_0x37c3aa([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x6ccc5d};},{[_0x37c3aa([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x37c3aa([0x68,0x69,0x67,0x68])}),_0x5f258a[_0x37c3aa([0x6f,0x6e])](_0x37c3aa([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x6166ca=>{_0x2e48d7(_0x6166ca[_0x37c3aa([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2469cd=!0x0,_0x16dc6b(_0x6166ca[_0x37c3aa([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x37c3aa([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x37c3aa([0x6c,0x6f,0x77])}),_0x36d1d5[_0x37c3aa([0x74,0x68,0x65,0x6e])](()=>{_0x2469cd||_0x21fecd(_0x37c3aa([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3b3b4a(){return _0x5f258a[_0x37c3aa([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x37c3aa([0x76,0x69,0x65,0x77])][_0x37c3aa([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x37c3aa([0x61,0x75,0x74,0x6f]);}function _0x2b9995(){_0x5f258a[_0x37c3aa([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x37c3aa([0x76,0x69,0x65,0x77])][_0x37c3aa([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x37c3aa([0x61,0x75,0x74,0x6f]);}}function _0x2bd5c3(_0x45cf9c){const _0x2f349a=[new window[(_0x37c3aa([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x40d537=>setTimeout(_0x40d537,0x50b64aae^_0x3c147d)),_0x36d1d5[_0x37c3aa([0x74,0x68,0x65,0x6e])](()=>new window[(_0x37c3aa([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2048da=>{let _0x3fd36e=0x0;_0x5f258a[_0x37c3aa([0x6d,0x6f,0x64,0x65,0x6c])][_0x37c3aa([0x6f,0x6e])](_0x37c3aa([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x391e65,_0x2d1114)=>{_0x2d1114[0x0][_0x37c3aa([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3fd36e++,_0x3fd36e==(0x50bf759a^_0x3c147d)&&(_0x2048da(),_0x391e65[_0x37c3aa([0x6f,0x66,0x66])]());});}))];return window[_0x37c3aa([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x37c3aa([0x72,0x61,0x63,0x65])](_0x2f349a)[_0x37c3aa([0x74,0x68,0x65,0x6e])](()=>_0x45cf9c);}async function _0x209489(){await _0x36d1d5,_0x5f258a[_0x37c3aa([0x6d,0x6f,0x64,0x65,0x6c])][_0x37c3aa([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4455dd,_0x5f258a[_0x37c3aa([0x6d,0x6f,0x64,0x65,0x6c])][_0x37c3aa([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4455dd,_0x5f258a[_0x37c3aa([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x37c3aa([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x250522(_0x27196b){const _0x163df2=_0x144512();_0x5f258a[_0x163df2]=_0x37c3aa([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x27196b,_0x27196b!=_0x37c3aa([0x56,0x61,0x6c,0x69,0x64])&&_0x209489();}function _0x144512(){const _0x58b3a3=window[_0x37c3aa([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x37c3aa([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x37c3aa([0x6e,0x6f,0x77])]())[_0x37c3aa([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x37c3aa([0x2e]),'');let _0x171b08=_0x37c3aa([0x58]);for(let _0x2cf8cf=0x0;_0x2cf8cf<_0x58b3a3[_0x37c3aa([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2cf8cf+=0x2){let _0x2b6432=window[_0x37c3aa([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x58b3a3[_0x37c3aa([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2cf8cf,_0x2cf8cf+0x2));_0x2b6432>=_0x5e4fc8[_0x37c3aa([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2b6432-=_0x5e4fc8[_0x37c3aa([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x171b08+=_0x5e4fc8[_0x2b6432];}return _0x171b08;}function _0x486628(){const _0x2591d7=_0x7373fa[_0x37c3aa([0x73,0x70,0x6c,0x69,0x74])](_0x37c3aa([0x2e]));if(0x3!=_0x2591d7[_0x37c3aa([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x195566(_0x2591d7[0x1]);function _0x195566(_0x3d8aae){const _0x267b6a=_0x2f67fe(_0x3d8aae);return _0x267b6a&&_0x2a8583()?_0x267b6a:null;function _0x2a8583(){const _0x20227c=_0x267b6a[_0x37c3aa([0x6a,0x74,0x69])],_0x5a1a2b=window[_0x37c3aa([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x20227c[_0x37c3aa([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x20227c[_0x37c3aa([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0xdc4577={..._0x267b6a,[_0x37c3aa([0x6a,0x74,0x69])]:_0x20227c[_0x37c3aa([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x20227c[_0x37c3aa([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0xdc4577[_0x37c3aa([0x76,0x63])],_0x4b1850(_0xdc4577)==_0x5a1a2b;}}}async function _0x4944cd(){let _0x19cad1=!0x0;try{const _0x5ce006=_0x7373fa[_0x37c3aa([0x73,0x70,0x6c,0x69,0x74])](_0x37c3aa([0x2e])),[_0x302784,_0x95cf9d,_0x503771]=_0x5ce006;return _0x5f2054(_0x302784),await _0x222ae7(_0x302784,_0x95cf9d,_0x503771),_0x19cad1;}catch(_0x54d6c5){return!0x1;}function _0x5f2054(_0x7fe55a){const _0x518f57=_0x2f67fe(_0x7fe55a);_0x518f57&&_0x518f57[_0x37c3aa([0x61,0x6c,0x67])]==_0x37c3aa([0x45,0x53,0x32,0x35,0x36])||(_0x19cad1=!0x1);}async function _0x222ae7(_0x39f790,_0x580b8a,_0x1fac52){const _0x5b2ab1=window[_0x37c3aa([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x37c3aa([0x66,0x72,0x6f,0x6d])](_0x1d85bf(_0x1fac52),_0x908114=>_0x908114[_0x37c3aa([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x556919=new window[(_0x37c3aa([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x37c3aa([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x39f790+_0x37c3aa([0x2e])+_0x580b8a),_0x381fa9=window[_0x37c3aa([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x37c3aa([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x381fa9)return;const _0x5b2a8d=await _0x381fa9[_0x37c3aa([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x37c3aa([0x6a,0x77,0x6b]),_0xbece97,{[_0x37c3aa([0x6e,0x61,0x6d,0x65])]:_0x37c3aa([0x45,0x43,0x44,0x53,0x41]),[_0x37c3aa([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x37c3aa([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x37c3aa([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x381fa9[_0x37c3aa([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x37c3aa([0x6e,0x61,0x6d,0x65])]:_0x37c3aa([0x45,0x43,0x44,0x53,0x41]),[_0x37c3aa([0x68,0x61,0x73,0x68])]:{[_0x37c3aa([0x6e,0x61,0x6d,0x65])]:_0x37c3aa([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5b2a8d,_0x5b2ab1,_0x556919)||(_0x19cad1=!0x1);}}function _0x2f67fe(_0xb6b6e0){return _0xb6b6e0[_0x37c3aa([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x37c3aa([0x65,0x79]))?JSON[_0x37c3aa([0x70,0x61,0x72,0x73,0x65])](_0x1d85bf(_0xb6b6e0)):null;}function _0x1d85bf(_0x11048d){return window[_0x37c3aa([0x61,0x74,0x6f,0x62])](_0x11048d[_0x37c3aa([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x37c3aa([0x2b]))[_0x37c3aa([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x37c3aa([0x2f])));}function _0x4b1850(_0x45455a){let _0x4423c9=0x1505;function _0x1461d9(_0x259990){for(let _0x59ddd4=0x0;_0x59ddd4<_0x259990[_0x37c3aa([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x59ddd4++){const _0x4e2d16=_0x259990[_0x37c3aa([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x59ddd4);_0x4423c9=(_0x4423c9<<0x5)+_0x4423c9+_0x4e2d16,_0x4423c9&=_0x4423c9;}}function _0x4f6a92(_0x386afb){Array[_0x37c3aa([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x386afb)?_0x386afb[_0x37c3aa([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4f6a92):_0x386afb&&typeof _0x386afb==_0x37c3aa([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x37c3aa([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x386afb)[_0x37c3aa([0x73,0x6f,0x72,0x74])]()[_0x37c3aa([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x3deb6a,_0x2e10e3])=>{_0x1461d9(_0x3deb6a),_0x4f6a92(_0x2e10e3);}):_0x1461d9(window[_0x37c3aa([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x386afb));}return _0x4f6a92(_0x45455a),_0x4423c9>>>0x0;}function _0x1e77b1(_0x160671){return _0x160671[_0x37c3aa([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x37c3aa([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x37c3aa([0x30]));}function _0x2de04b(_0x2a5617){return _0x2a5617[_0x37c3aa([0x73,0x70,0x6c,0x69,0x74])]('')[_0x37c3aa([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x37c3aa([0x6a,0x6f,0x69,0x6e])]('');}function _0x4455dd(){}function _0x37c3aa(_0x29dcbc){return _0x29dcbc['map'](_0x31bcba=>String['fromCharCode'](_0x31bcba))['join']('');}_0x250522(await _0x122214());}(this);}['_initSchema'](){const _0x264da5=this['editor']['model']['schema'];_0x264da5['isRegistered']('imageBlock')&&_0x264da5['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x264da5['isRegistered']('imageInline')&&_0x264da5['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0xd21cb=this['editor'];_0xd21cb['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0xd21cb['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x1a0dcb=>_0x1a0dcb['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x20d482=_0xd21cb['commands']['get']('replaceImageSource');_0x20d482&&this['listenTo'](_0x20d482,'cleanupImage',(_0x16cf6f,[_0x4120b4,_0x3ae904])=>{_0x4120b4['removeAttribute']('uploadcareImageId',_0x3ae904);});}['_initConfig'](){const _0x2e821a=this['editor']['config']['get']('uploadcare.uploader')||{},_0x508efd=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x38c496(_0x4dcd44['document'],'uc-config',{..._0x2e821a,'pubkey':_0x508efd,'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']=_0x3b1648=>{if('closeMax'==_0x3b1648)return'#uc-icon-arrow-down';},_0x4dcd44['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x38c496(_0x4dcd44['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader'}),_0x4dcd44['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x17bcf7=this['editor']['commands']['get']('insertImage');_0x17bcf7&&this['listenTo'](_0x17bcf7,'execute',()=>{const _0x13e37e=this['editor']['model']['document']['selection']['getSelectedElement']();_0x13e37e&&_0x13e37e['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{m(this['editor'],_0x13e37e);});});const _0x266ee4=this['editor']['commands']['get']('uploadcareImageReplace');_0x266ee4&&this['listenTo'](_0x266ee4,'execute',()=>{const _0x5eeb32=this['editor']['model']['document']['selection']['getSelectedElement']();_0x5eeb32&&_0x5eeb32['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{m(this['editor'],_0x5eeb32);});});}}class u extends _0x543a58{static get['requires'](){return[i,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x273722){super(_0x273722),_0x273722['config']['define']('uploadcare.uploader.sourceList',[o['Local'],o['URL']]),_0x1fab8c['defineComponents'](_0x1fab8c);}}class ta extends _0x20c252{constructor(_0x25e00d){super(_0x25e00d);const t=_0x25e00d['t'],_0x51fa66=this['bindTemplate'],_0x422468=new _0x34e59f();_0x422468['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':[_0x422468,{'text':_0x51fa66['to']('imageUploadProgress',_0x2a3a3b=>t('Loading\x20image...')+'\x20('+(_0x2a3a3b||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 _0x20c252{constructor(_0x26b999){super(_0x26b999);const t=_0x26b999['t'];this['set']('errorType',null);const _0x27e9fd=new _0x4a6b4f(_0x26b999);_0x27e9fd['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x27e9fd['withText']=!0x0,_0x27e9fd['class']='ck-button-action',_0x27e9fd['on']('execute',()=>{this['fire']('retry');}),_0x27e9fd['bind']('isVisible')['to'](this,'errorType',_0xd9725e=>'NotFound'!==_0xd9725e);const _0x3b5224=new at();_0x3b5224['content']=et,_0x3b5224['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x4644ad=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':[_0x3b5224,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x4644ad['to']('errorType',_0x40ce9c=>t('NotFound'!==_0x40ce9c?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x27e9fd]},{'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 _0x20c252{constructor(_0xb3e9a0,_0x405952){super(_0xb3e9a0);const _0x17462d=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x405952,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x17462d['to']('imageSrc')}});}}class Z extends q{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x324b82,_0x288edb,_0x464854){super(_0x324b82),this['_items']=this['createCollection'](),this['_loadingView']=new ta(_0x324b82),this['_errorView']=new rt(_0x324b82),this['_editingView']=new tt(_0x324b82,_0x464854),this['_focusableView']=new _0x20c252(_0x324b82),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x288edb),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'],_0x4b76f7=>{this['_addUploadcareImageEditorListeners'](_0x4b76f7);});}),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'](_0xfde6fa,_0x1deba0){const _0x310e27='uc-cloud-image-editor',_0x386251=_0xfde6fa['querySelector'](_0x310e27);if(_0x386251)return _0x1deba0(_0x386251);const _0x232b56=new MutationObserver(_0x1dfcf8=>{const _0x432a12=_0x1dfcf8['filter'](_0x41a34c=>_0x41a34c['target']===_0xfde6fa&&_0x41a34c['addedNodes']['length']>0x0&&_0x41a34c['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x310e27);_0x432a12['length']&&(_0x232b56['disconnect'](),_0x1deba0(_0x432a12[0x0]['addedNodes'][0x0]));});_0x232b56['observe'](_0xfde6fa,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x408e72){_0x408e72['addEventListener']('apply',_0x50f6d9=>{this['fire']('apply',{'imageSrc':_0x50f6d9['detail']['cdnUrl']});}),_0x408e72['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class z extends/* #__PURE__ -- @preserve */
25
- _0x83a790(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x321965,_0x3e9c38,_0x557d63){super(),this['_editor']=_0x321965,this['_dialog']=_0x3e9c38,this['_imageElement']=_0x557d63,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 _0x173af=this['_imageElement'],_0x21aab3=_0x173af['getAttribute']('uploadcareImageId'),_0x45b6fb=_0x173af['getAttribute']('src');if(_0x21aab3)await this['_loadImageInfo'](_0x21aab3,_0x45b6fb);else{if(this['_imageCache']['has'](_0x45b6fb)){const _0x45d295=this['_imageCache']['get'](_0x45b6fb);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x45d295['url'],this['imageDimension']=_0x45d295['dimension'],this['imageId']=_0x45d295['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x7ea61d}=this['_editor'],t=_0x7ea61d['t'],_0x48c9c5=new Z(_0x7ea61d,this['imageStatus'],this['_attributes']);_0x48c9c5['bind']('status')['to'](this,'imageStatus'),_0x48c9c5['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x48c9c5['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x48c9c5['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x48c9c5,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x1978c5,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x48c9c5,'position':_0x334b2c['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x48c9c5['focus']();},'onHide':()=>{_0x48c9c5['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x496873=>!F(_0x496873,_0x48c9c5['element'])}});}['_loadImageInfo'](_0x23e2df,_0x2da7bc){return C['getInfo'](_0x23e2df,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x1ed7d0=>{const {width:_0x2408e4,height:_0x2c521c}=_0x1ed7d0['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x2da7bc,this['imageDimension']={'width':_0x2408e4,'height':_0x2c521c},this['imageId']=_0x23e2df;})['catch'](_0x5b2d90=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x5b2d90['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x4c979e,_0x5ad2e2){return this['_getImageAsFile'](_0x4c979e)['then'](_0x529895=>C['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x5ad2e2['signal'],'file':_0x529895,'onProgress':_0x3b1db8=>{_0x3b1db8&&_0x3b1db8['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x3b1db8['value']));}}))['then'](_0x58de6a=>{const {width:_0xc767dd,height:_0x160efe}=_0x58de6a['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x58de6a['cdnUrl'],this['imageDimension']={'width':_0xc767dd,'height':_0x160efe},this['imageId']=_0x58de6a['uuid'],this['imageUploadProgress']=null;const _0x504de9=_0x4c979e['getAttribute']('src');this['_imageCache']['set'](_0x504de9,{'id':_0x58de6a['uuid'],'url':_0x58de6a['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x4292e5=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x4292e5['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x1baf28,_0x52d0f4){_0x1baf28['on']('apply',(_0x4a4918,_0x576915)=>{this['_replaceImage'](_0x52d0f4,_0x576915['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x1baf28['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x1baf28['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x51d769,_0xa9b1d5,_0x229cf3){const _0x123239=this['_editor'],{width:_0x418938,height:_0x59043c}=A(_0xa9b1d5,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x2753e6,imageSources:_0x43bd92}=E(_0xa9b1d5,_0x418938);_0x123239['model']['change'](_0x5eed6c=>{if('$graveyard'===_0x51d769['root']['rootName']){_0x123239['execute']('insertImage',{'imageType':_0x51d769['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x51d769['getAttributes']()),'uploadcareImageId':_0x229cf3,'src':_0x2753e6,'sources':_0x43bd92,'width':_0x418938,'height':_0x59043c}});const _0x5b5760=_0x51d769['getChildren']();_0x51d769=_0x123239['model']['document']['selection']['getSelectedElement']();for(const _0x3cfd11 of _0x5b5760)_0x5eed6c['append'](_0x5eed6c['cloneElement'](_0x3cfd11),_0x51d769);}else _0x5eed6c['setSelection'](_0x51d769,'on'),_0x123239['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x51d769['getAttributes']()),'uploadcareImageId':_0x229cf3,'src':_0x2753e6,'sources':_0x43bd92,'width':_0x418938,'height':_0x59043c},_0x51d769);_0x5eed6c['setSelection'](_0x51d769,'on');});}async['_getImageAsFile'](_0x20e8b2){const _0xb9cb3c=_0x4dcd44['window'],_0x2a6f1f=_0x4dcd44['document']['location']['href'],_0x3f56d8=new _0xb9cb3c['URL'](_0x20e8b2['getAttribute']('src'),_0x2a6f1f);if('data:'===_0x3f56d8['protocol']){const _0x36918e=_0x3f56d8['href']['split'](','),_0x40c271=_0x36918e[0x0]['match'](/:(.*?);/)[0x1],_0x138dab=_0x40c271['split']('/')[0x1],_0x2156da=_0xb9cb3c['atob'](_0x36918e[_0x36918e['length']-0x1]);let _0x3dc228=_0x2156da['length'];const _0x2eaace=new _0xb9cb3c['Uint8Array'](_0x3dc228);for(;_0x3dc228--;)_0x2eaace[_0x3dc228]=_0x2156da['charCodeAt'](_0x3dc228);return new _0xb9cb3c['File']([_0x2eaace],'image.'+_0x138dab,{'type':_0x40c271});}const _0x42fe1f=_0x3f56d8['href']['split']('/'),_0x19adf4=_0x42fe1f[_0x42fe1f['length']-0x1],_0x18b9f4=_0x19adf4['split']('.')[0x1];return _0xb9cb3c['fetch'](_0x3f56d8['href'])['then'](_0x23f2b7=>_0x23f2b7['clone']()['blob']())['then'](_0x55716d=>new _0xb9cb3c['File']([_0x55716d],_0x19adf4,{'type':'image/'+_0x18b9f4}));}}class J extends _0x4a797b{['imageEditController'];static get['requires'](){return[_0x35b2ee];}['_isEditable'];constructor(_0x3a65ac){super(_0x3a65ac),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x46827d){const _0x33ae78=V(_0x46827d);return _0x28c427=>!(!_0x28c427||!_0x28c427['is']('element','imageBlock')&&!_0x28c427['is']('element','imageInline'))&&(!!_0x28c427['hasAttribute']('uploadcareImageId')||!!_0x28c427['hasAttribute']('src')&&_0x33ae78(_0x28c427['getAttribute']('src')));}(_0x3a65ac['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x39879d=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x39879d);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x5d108b=this['editor']['model']['document']['selection']['getSelectedElement']();_0x5d108b&&(_0x5d108b['is']('element','imageBlock')||_0x5d108b['is']('element','imageInline'))&&(this['imageEditController']=new z(this['editor'],this['editor']['plugins']['get'](_0x35b2ee),_0x5d108b),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class O extends _0x4a797b{['refresh'](){const _0x3a4e4b=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x3a4e4b&&(_0x3a4e4b['is']('element','imageBlock')||_0x3a4e4b['is']('element','imageInline')));}['execute'](_0x20dd5f){const _0x2da9c7=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x294ae7=>{_0x294ae7['setAttributes'](_0x20dd5f,_0x2da9c7),_0x294ae7['removeAttribute']('srcset',_0x2da9c7),_0x294ae7['removeAttribute']('sizes',_0x2da9c7);});}}class g extends _0x543a58{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[i,_0x31af53,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x5f5498}=this;_0x5f5498['commands']['add']('uploadcareImageEdit',new J(_0x5f5498)),_0x5f5498['commands']['add']('uploadcareImageReplace',new O(_0x5f5498));}}class j extends _0x543a58{['_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 _0x2d9a1b=this['editor'];_0x2d9a1b['ui']['componentFactory']['add']('uploadcareImageEdit',_0xee7a75=>{const _0x424fdb=_0x2d9a1b['commands']['get']('uploadcareImageEdit'),_0x71c691=new _0x4a6b4f(_0xee7a75),t=_0xee7a75['t'];return _0x71c691['set']({'icon':_0x1978c5,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x71c691['bind']('isEnabled')['to'](_0x424fdb),_0x71c691['bind']('isOn')['to'](_0x424fdb,'isActive'),this['listenTo'](_0x71c691,'execute',()=>{_0x2d9a1b['execute']('uploadcareImageEdit'),_0x2d9a1b['editing']['view']['focus']();}),_0x71c691;}),this['_initConfig']();}['_initConfig'](){const _0x9d7e8e=_0x38c496(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x9d7e8e),this['listenTo'](this['editor'],'destroy',()=>{_0x9d7e8e['remove']();});}}class P extends _0x543a58{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 _0x218738,Command as _0x48beb1}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x27e74b,IconGooglePhotos as _0x196254,IconGoogleDrive as _0x585a6f,IconFacebook as _0x1048d2,IconDropbox as _0x14d5a0,IconUploadcareLink as _0x4d4c9f,IconUploadcareImageUpload as _0x566095,IconError as et,IconUploadcareImageEdit as _0x206a65}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x17e3d3,MenuBarMenuListItemButtonView as _0x2ae67e,View as _0x48a02f,FocusCycler as _0x3993cd,Dialog as _0x4bc370,DialogViewPosition as _0x129065,SpinnerView as _0x530285,IconView as at,Notification as _0x322e8d}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x149a75,DomEmitterMixin as _0x431c8d,global as _0x8eb399,getAncestors as _0x474f21,ObservableMixin as _0x1e6242,createElement as _0x405fdb,uid as _0x4252f5}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x57ea91}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x38018c,info as _0x48af8f}from'@uploadcare/upload-client';import*as _0x2b9e0a from'@uploadcare/file-uploader';var o=function(_0x46c834){return _0x46c834['Local']='local',_0x46c834['URL']='url',_0x46c834['Dropbox']='dropbox',_0x46c834['GDrive']='gdrive',_0x46c834['Facebook']='facebook',_0x46c834['GPhotos']='gphotos',_0x46c834['OneDrive']='onedrive',_0x46c834;}({});function _(_0x3deca4,_0x18c663,_0x88a0f9){const t=_0x3deca4['t'],_0x116011=_0x3deca4['t'];switch(_0x18c663){case o['Local']:return{'text':_0x116011('Insert'===_0x88a0f9?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x116011('From\x20computer')};case o['URL']:return{'text':'Insert'===_0x88a0f9?_0x116011('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x116011('Via\x20URL')};case o['Dropbox']:return{'text':t('Insert'===_0x88a0f9?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case o['Facebook']:return{'text':t('Insert'===_0x88a0f9?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case o['GDrive']:return{'text':t('Insert'===_0x88a0f9?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case o['GPhotos']:return{'text':t('Insert'===_0x88a0f9?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case o['OneDrive']:return{'text':t('Insert'===_0x88a0f9?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x18c663;}}class e extends _0x218738{['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 _0x35a5ff=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x4003c1;for(const _0x36d65d in _0x35a5ff){const _0x2acfc4=_0x36d65d,_0x1f1411=_0x35a5ff[_0x2acfc4];if('uploadcareLicenseKeyValid'==_0x1f1411||'uploadcareLicenseKeyInvalid'==_0x1f1411||'uploadcareLicenseKeyExpired'==_0x1f1411||'uploadcareLicenseKeyDomainLimit'==_0x1f1411||'uploadcareLicenseKeyNotAllowed'==_0x1f1411||'uploadcareLicenseKeyEvaluationLimit'==_0x1f1411||'uploadcareLicenseKeyTrialLimit'==_0x1f1411||'uploadcareLicenseKeyUsageLimit'==_0x1f1411){delete _0x35a5ff[_0x2acfc4],_0x4003c1=_0x1f1411,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x4003c1&&_0x35a5ff['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x4003c1&&_0x35a5ff['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x4003c1&&_0x35a5ff['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x4003c1&&_0x35a5ff['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x4003c1&&_0x35a5ff['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0x4003c1&&_0x35a5ff['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0x4003c1&&_0x35a5ff['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x4de935}=this,_0x28b26e=_0x4de935['commands']['get']('uploadcare');if(!_0x28b26e)return;const _0x22ad29=this['_normalizeConfigSourceList'](_0x4de935['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x804cd,_0x6057fa)=>{const _0x4edd40=this['_getIntegrationKey'](_0x6057fa['type']);return _0x804cd[_0x4edd40]||(_0x804cd[_0x4edd40]=[]),_0x804cd[_0x4edd40]['push'](_0x6057fa),_0x804cd;},{});_0x4de935['plugins']['has']('ImageInsertUI')&&_0x4de935['commands']['get']('uploadcare')&&Object['entries'](_0x22ad29)['forEach'](([_0x394f1e,_0x49b6ec])=>{_0x4de935['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x394f1e,'observable':()=>_0x28b26e,'buttonViewCreator':()=>this['_createToolbarButton'](_0x49b6ec),'formViewCreator':()=>this['_createDropdownButtons'](_0x49b6ec),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x49b6ec),'override':'assetManager'!==_0x394f1e});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x289930){const {locale:_0x504375}=this['editor'];return _0x289930['map'](_0x3bb139=>{const _0xe4e496=_(_0x504375,_0x3bb139,'Insert');switch(_0x3bb139){case o['Local']:return{'icon':_0x566095,'type':o['Local'],..._0xe4e496};case o['URL']:return{'icon':_0x4d4c9f,'type':o['URL'],..._0xe4e496};case o['Dropbox']:return{'icon':_0x14d5a0,'type':o['Dropbox'],..._0xe4e496};case o['Facebook']:return{'icon':_0x1048d2,'type':o['Facebook'],..._0xe4e496};case o['GDrive']:return{'icon':_0x585a6f,'type':o['GDrive'],..._0xe4e496};case o['GPhotos']:return{'icon':_0x196254,'type':o['GPhotos'],..._0xe4e496};case o['OneDrive']:return{'icon':_0x27e74b,'type':o['OneDrive'],..._0xe4e496};}});}['_getIntegrationKey'](_0x468916){switch(_0x468916){case o['Local']:return'upload';case o['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x17fd51,_0x2cac71){const _0x4dd783=this['editor'],_0x241b1a=new _0x17fd51(_0x4dd783['locale']),_0x36cb3d=_0x4dd783['commands']['get']('uploadcare');return _0x241b1a['bind']('isEnabled')['to'](_0x36cb3d),_0x241b1a['on']('execute',()=>{_0x36cb3d['execute'](_0x2cac71);}),_0x241b1a;}['_createToolbarButton'](_0x11562b){const {locale:_0x3e6027}=this['editor'],_0x406763=this['editor']['plugins']['get']('ImageInsertUI'),_0x3454e0=_0x11562b[0x0],_0x478797=this['_createButton'](_0x17e3d3,_0x3454e0['type']);return _0x478797['icon']=_0x3454e0['icon'],_0x478797['bind']('label')['to'](_0x406763,'isImageSelected',_0x1de9e2=>_(_0x3e6027,_0x3454e0['type'],_0x1de9e2?'Replace':'Insert')['text']),_0x478797['tooltip']=!0x0,_0x478797;}['_createDropdownButtons'](_0x302ee5){const {locale:_0x1eb4b3}=this['editor'],_0x579a11=this['editor']['plugins']['get']('ImageInsertUI');return _0x302ee5['map'](_0xdb2b1=>{const _0x310b91=this['_createButton'](_0x17e3d3,_0xdb2b1['type']);return _0x310b91['withText']=!0x0,_0x310b91['icon']=_0xdb2b1['icon'],_0x310b91['bind']('label')['to'](_0x579a11,'isImageSelected',_0x2aa84f=>_(_0x1eb4b3,_0xdb2b1['type'],_0x2aa84f?'Replace':'Insert')['text']),_0x310b91;});}['_createMenuBarButtons'](_0x479bd9){return _0x479bd9['map'](_0x23da67=>{const _0xf50e65=this['_createButton'](_0x2ae67e,_0x23da67['type']);return _0xf50e65['icon']=_0x23da67['icon'],_0xf50e65['label']=_0x23da67['shortText'],_0xf50e65;});}}class q extends _0x48a02f{['focusTracker'];['focusCycler'];constructor(_0x2521ea){super(_0x2521ea),this['focusTracker']=new _0x149a75(),this['focusCycler']=new _0x3993cd({'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(_0x355521){super(_0x355521),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(_0x32ddad,_0x158d0f){const _0x502626=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x43e9d8=>_0x43e9d8<=_0x158d0f)['map'](_0x53d23a=>_0x32ddad['replace'](/\/$/,'')+'/-/resize/'+_0x53d23a+'x/\x20'+_0x53d23a+'w');return{'imageFallbackUrl':_0x32ddad,'imageSources':[{'srcset':_0x502626['join'](',\x20'),'sizes':'(max-width:\x20'+_0x158d0f+'px)\x20100vw,\x20'+_0x158d0f+'px','type':'image/webp'}]};}function A(_0x52765f,_0x3648f9,_0x33c450){const _0x5973db=_0x52765f['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x5973db?parseInt(_0x5973db[0x1],0xa):_0x3648f9,'height':_0x5973db?parseInt(_0x5973db[0x2],0xa):_0x33c450};}function m(_0x59361d,_0x117f35){const _0x10757a=Object['create'](_0x431c8d),_0x104cb0=_0x59361d['plugins']['get']('ImageUtils'),_0x38fce1=_0x59361d['editing']['mapper']['toViewElement'](_0x117f35),_0x300d09=_0x104cb0['findViewImgElement'](_0x38fce1),_0x39d6d8=_0x59361d['editing']['view']['domConverter']['viewToDom'](_0x300d09),_0x4e9097=_0x117f35['getAttribute']('width'),_0xd2ddb8=_0x117f35['getAttribute']('height'),_0x267b47='image-processing';_0x59361d['editing']['view']['change'](_0x415bdd=>{_0x415bdd['addClass'](_0x267b47,_0x38fce1),_0x415bdd['setStyle']('aspect-ratio',_0x4e9097+'/'+_0xd2ddb8,_0x300d09);}),_0x10757a['listenTo'](_0x39d6d8,'load',()=>{_0x10757a['stopListening'](_0x39d6d8,'load'),_0x59361d['editing']['view']['change'](_0x4cd05c=>{_0x4cd05c['removeClass'](_0x267b47,_0x38fce1),_0x4cd05c['removeStyle']('aspect-ratio',_0x300d09);});});}function V(_0x3c158e){if(Array['isArray'](_0x3c158e)){const _0x24cc9c=_0x3c158e['map'](V);return _0x47f1e9=>_0x24cc9c['some'](_0x4eaced=>_0x4eaced(_0x47f1e9));}if('origin'==_0x3c158e){const _0x2f0493=_0x8eb399['window']['location']['origin'];return _0x258a32=>new URL(_0x258a32,_0x8eb399['document']['baseURI'])['origin']==_0x2f0493;}return'function'==typeof _0x3c158e?_0x3c158e:_0x3c158e instanceof RegExp?_0x2d93ff=>!(!_0x2d93ff['match'](_0x3c158e)&&!_0x2d93ff['replace'](/^https?:\/\//,'')['match'](_0x3c158e)):()=>!0x1;}function F(_0x10b6e1,_0x20b6e0){return _0x474f21(_0x10b6e1['target'])['includes'](_0x20b6e0);}class l extends/* #__PURE__ -- @preserve */
24
+ _0x1e6242(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x545bea,_0x343c1e,_0x5df08a){super(),this['_editor']=_0x545bea,this['_editing']=_0x343c1e,this['_dialog']=_0x545bea['plugins']['get'](_0x4bc370),this['_api']=_0x343c1e['ctxElement']['getAPI'](),this['_type']=_0x5df08a,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:_0x3a033c,model:_0x235d5c}=this['_editor'],_0x2d1628=_0x235d5c['document']['selection']['getSelectedElement'](),_0x171eca=_0x2d1628&&(_0x2d1628['is']('element','imageBlock')||_0x2d1628['is']('element','imageInline'));this['_formView']=new S(_0x3a033c),this['_dialog']['show']({'id':'uploadCare','icon':_0x566095,'title':_(_0x3a033c,this['_type'],_0x171eca?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x129065['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x3d828b=>!F(_0x3d828b,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x23cea4}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x351389=>{const _0x522974=_0x23cea4['length'];for(const _0x449dd8 of _0x23cea4){const _0x302f74=_0x449dd8===_0x23cea4[_0x522974-0x1],{cdnUrl:_0x3d6fa7,fileInfo:_0xce2d1c}=_0x449dd8;if(!_0x3d6fa7||!_0xce2d1c)continue;const {width:_0x3e5524,height:_0x739b4f}=_0xce2d1c['imageInfo'],_0x32f658=A(_0x3d6fa7,_0x3e5524,_0x739b4f),_0x5f349a=E(_0x3d6fa7,_0x32f658['width']),_0x2294a7={'id':_0xce2d1c['uuid'],'type':'image','attributes':{'imageDimension':_0x32f658,..._0x5f349a}};this['_insertAsset'](_0x2294a7,_0x302f74,_0x351389);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x5cc870=>{'idle'===_0x5cc870['detail']['status']&&!_0x5cc870['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===o['Local']?this['_api']['setCurrentActivity'](o['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x954e06,_0x37b43f,_0x4bfd1a){const _0x2bc6a1=this['_editor']['model']['document']['selection'],_0x4a6f3b=_0x2bc6a1['getSelectedElement'](),_0x183c66=!(!_0x4a6f3b||!_0x4a6f3b['is']('element','imageInline'));_0x4bfd1a['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x954e06,_0x183c66),_0x37b43f||_0x4bfd1a['setSelection'](_0x2bc6a1['getLastPosition']());}['_insertImage'](_0x453813,_0x1eacb0){const _0x5292d0=this['_editor'],{imageDimension:_0x59778e,imageFallbackUrl:_0x567641,imageSources:_0x129306}=_0x453813['attributes'];_0x5292d0['execute']('insertImage',{'imageType':_0x1eacb0?'imageInline':null,'source':{'uploadcareImageId':_0x453813['id'],'src':_0x567641,'sources':_0x129306,..._0x59778e}});}}class n extends _0x48beb1{['_editing'];['_controller']=null;static get['requires'](){return[_0x4bc370,i];}constructor(_0x479dd6){super(_0x479dd6),this['_editing']=_0x479dd6['plugins']['get'](i);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x5576e7){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new l(this['editor'],this['_editing'],_0x5576e7);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class C{static['upload']({file:_0x198a0d,publicKey:_0x2b38e1,signal:_0x2f72d4,onProgress:_0x401ad7}){return _0x38018c(_0x198a0d,{'publicKey':_0x2b38e1,'store':'auto','signal':_0x2f72d4,'onProgress':_0x401ad7});}static['getInfo'](_0x19536f,_0x19785a){return _0x48af8f(_0x19536f,_0x19785a);}}class p extends _0x218738{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x57ea91,i];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x27c65d=this['editor'];if(!!!_0x27c65d['config']['get']('uploadcare'))return;_0x27c65d['plugins']['get'](_0x57ea91)['createUploadAdapter']=_0x77ba7b=>new x(_0x77ba7b,_0x27c65d),_0x27c65d['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x58e677,{imageElement:_0x54419d,data:_0x5363f0})=>{_0x27c65d['model']['change'](_0xd5659=>{_0xd5659['setAttribute']('uploadcareImageId',_0x5363f0['uploadcareImageId'],_0x54419d);});});}}class x{['loader'];['editor'];['controller'];constructor(_0x180a66,_0x3d8693){this['loader']=_0x180a66,this['editor']=_0x3d8693,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x59c223=this['editor']['config']['get']('uploadcare.pubkey'),_0x1a3932=await this['loader']['file'];return C['upload']({'file':_0x1a3932,'publicKey':_0x59c223,'signal':this['controller']['signal'],'onProgress':_0x1b6963=>{_0x1b6963&&_0x1b6963['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x1b6963['value']);}})['then'](async _0x16390a=>{const {imageFallbackUrl:_0x495677,imageSources:_0x2c19ae}=E(_0x16390a['cdnUrl'],_0x16390a['imageInfo']['width']);return{'uploadcareImageId':_0x16390a['uuid'],'default':_0x495677,'sources':_0x2c19ae};})['catch'](()=>{const _0x527dc6=t('Cannot\x20upload\x20file:')+('\x20'+_0x1a3932['name']+'.');return Promise['reject'](_0x527dc6);});}['abort'](){this['controller']['abort']();}}class i extends _0x218738{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',p,_0x4bc370];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}['init'](){const _0x3a8fd8=this['editor'];_0x3a8fd8['commands']['add']('uploadcare',new n(_0x3a8fd8));}['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 _0x3494a5=_0x8eb399['document']['querySelector']('input[uploadcare-file-input]');_0x3494a5&&_0x3494a5['remove']();}),async function(_0x4332d6){const _0x17d396=_0x46550c([0x30,0x61,0x36,0x49,0x66,0x56,0x54,0x63,0x68,0x4a,0x71,0x37,0x44,0x50,0x6a,0x4e,0x76,0x79,0x7a,0x46,0x75,0x32,0x39,0x67,0x70,0x38,0x62,0x6d,0x42,0x6b,0x55,0x41,0x53,0x43,0x4c,0x31,0x64,0x69,0x59,0x4d,0x34,0x51,0x35,0x78,0x58,0x65,0x6e,0x77,0x57,0x52,0x4b,0x73,0x33,0x6c,0x6f,0x5a,0x48,0x74,0x4f,0x72,0x47,0x45]),_0x785511=0x14f4f6df,_0x1fb659=0x14f3942f^_0x785511,_0x209ceb=window[_0x46550c([0x44,0x61,0x74,0x65])][_0x46550c([0x6e,0x6f,0x77])](),_0x485a6b=_0x4332d6[_0x46550c([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2354eb=new window[(_0x46550c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2e6efc=>{_0x485a6b[_0x46550c([0x6f,0x6e,0x63,0x65])](_0x46550c([0x72,0x65,0x61,0x64,0x79]),_0x2e6efc);}),_0x48845e={[_0x46550c([0x6b,0x74,0x79])]:_0x46550c([0x45,0x43]),[_0x46550c([0x75,0x73,0x65])]:_0x46550c([0x73,0x69,0x67]),[_0x46550c([0x63,0x72,0x76])]:_0x46550c([0x50,0x2d,0x32,0x35,0x36]),[_0x46550c([0x78])]:_0x46550c([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]),[_0x46550c([0x79])]:_0x46550c([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]),[_0x46550c([0x61,0x6c,0x67])]:_0x46550c([0x45,0x53,0x32,0x35,0x36])},_0x5cb6b7=_0x485a6b[_0x46550c([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x46550c([0x67,0x65,0x74])](_0x46550c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x104872(){let _0x2ea42b,_0x3d6e89=null,_0x24a49e=null;try{if(_0x5cb6b7==_0x46550c([0x47,0x50,0x4c]))return _0x46550c([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x2ea42b=_0x50510f(),!_0x2ea42b)return _0x46550c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x2ea42b[_0x46550c([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x24a49e=_0x5412cb(_0x2ea42b[_0x46550c([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x2ea42b[_0x46550c([0x6a,0x74,0x69])])),await _0x27dd78()?_0x56d81a()?_0x8011be()?_0x46550c([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x247e67()?(_0x2ea42b[_0x46550c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x46550c([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3d6e89=_0xe81aac(_0x46550c([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x2ea42b[_0x46550c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x46550c([0x74,0x72,0x69,0x61,0x6c])&&(_0x3d6e89=_0xe81aac(_0x46550c([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x56b64d()):_0x46550c([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x46550c([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x46550c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x44b6f5){return _0x46550c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x8011be(){const _0x1b8dc8=[_0x46550c([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x46550c([0x74,0x72,0x69,0x61,0x6c])][_0x46550c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2ea42b[_0x46550c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x209ceb/0x3e8:0xe10*_0x1fb659;return _0x2ea42b[_0x46550c([0x65,0x78,0x70])]<_0x1b8dc8;}function _0x56d81a(){const _0x30ff64=_0x2ea42b[_0x46550c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x30ff64&&(!!_0x30ff64[_0x46550c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x46550c([0x2a]))||!!_0x30ff64[_0x46550c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x46550c([0x55,0x50,0x4c,0x43])));}function _0x247e67(){const _0x31628d=_0x2ea42b[_0x46550c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x31628d||0x0==_0x31628d[_0x46550c([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x5a12b1}=new URL(window[_0x46550c([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x31628d[_0x46550c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5a12b1))return!0x0;const _0x2e065d=_0x5a12b1[_0x46550c([0x73,0x70,0x6c,0x69,0x74])](_0x46550c([0x2e]));return _0x31628d[_0x46550c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1e4cf0=>_0x1e4cf0[_0x46550c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x46550c([0x2a])))[_0x46550c([0x6d,0x61,0x70])](_0x51b2bf=>_0x51b2bf[_0x46550c([0x73,0x70,0x6c,0x69,0x74])](_0x46550c([0x2e])))[_0x46550c([0x73,0x6f,0x6d,0x65])](_0x252dd8=>_0x2e065d[_0x46550c([0x65,0x76,0x65,0x72,0x79])]((_0x55ee8e,_0x2ffee1)=>_0x252dd8[_0x2ffee1]===_0x55ee8e||_0x252dd8[_0x2ffee1]===_0x46550c([0x2a])));}function _0x56b64d(){return _0x3d6e89&&_0x24a49e?new window[(_0x46550c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x17bfb7,_0x25417a)=>{_0x3d6e89[_0x46550c([0x74,0x68,0x65,0x6e])](_0x17bfb7,_0x25417a),_0x24a49e[_0x46550c([0x74,0x68,0x65,0x6e])](_0xb6f478=>{_0xb6f478!=_0x46550c([0x56,0x61,0x6c,0x69,0x64])&&_0x17bfb7(_0xb6f478);},_0x25417a);}):_0x3d6e89||_0x24a49e||_0x46550c([0x56,0x61,0x6c,0x69,0x64]);}}function _0x5412cb(_0xac1744,_0x47d502){return new window[(_0x46550c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2baf96=>{if(_0x1bd905())return _0x2baf96(_0x46550c([0x56,0x61,0x6c,0x69,0x64]));_0x5b4b1a(),_0x485a6b[_0x46550c([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x46550c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x42dc74=!0x1;const _0x3860a4=_0x4252f5();function _0x19f9fb(_0x20ba0c){return!!_0x20ba0c&&(typeof _0x20ba0c===_0x46550c([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x20ba0c===_0x46550c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x20ba0c[_0x46550c([0x74,0x68,0x65,0x6e])]===_0x46550c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x20ba0c[_0x46550c([0x63,0x61,0x74,0x63,0x68])]===_0x46550c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x24343c(_0x14bc7a){_0x5cda49(_0x14bc7a)[_0x46550c([0x74,0x68,0x65,0x6e])](_0xaa5d77=>{if(!_0xaa5d77||_0xaa5d77[_0x46550c([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x46550c([0x6f,0x6b]))return _0x46550c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x25ef2e(_0x5031f(_0x3860a4+_0x47d502))!=_0xaa5d77[_0x46550c([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x46550c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x46550c([0x56,0x61,0x6c,0x69,0x64]);})[_0x46550c([0x74,0x68,0x65,0x6e])](_0x35971b=>(_0x3e7c35(),_0x35971b),()=>{const _0x2235c6=_0x1e7892();return null==_0x2235c6?(_0x3e7c35(),_0x46550c([0x56,0x61,0x6c,0x69,0x64])):_0x46550c(_0x209ceb-_0x2235c6>(0x30f872df^_0x785511)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x46550c([0x74,0x68,0x65,0x6e])](_0x2baf96)[_0x46550c([0x63,0x61,0x74,0x63,0x68])](()=>{_0x2baf96(_0x46550c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1e853e=0x14c2185f^_0x785511;function _0x3e7c35(){const _0x4c4f81=_0x46550c([0x6c,0x6c,0x63,0x74,0x2d])+_0x25ef2e(_0x5031f(_0xac1744)),_0xf9f13c=_0x2e9194(_0x25ef2e(window[_0x46550c([0x4d,0x61,0x74,0x68])][_0x46550c([0x63,0x65,0x69,0x6c])](_0x209ceb/_0x1e853e)));window[_0x46550c([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x46550c([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4c4f81,_0xf9f13c);}function _0x1e7892(){const _0x25888a=_0x46550c([0x6c,0x6c,0x63,0x74,0x2d])+_0x25ef2e(_0x5031f(_0xac1744)),_0x3710c3=window[_0x46550c([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x46550c([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x25888a);return _0x3710c3?window[_0x46550c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2e9194(_0x3710c3),0x10)*_0x1e853e:null;}function _0x5cda49(_0x3284f4){return new window[(_0x46550c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3d4435,_0x4aa7b1)=>{_0x3284f4[_0x46550c([0x74,0x68,0x65,0x6e])](_0x3d4435,_0x4aa7b1),window[_0x46550c([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x4aa7b1,0x14f5221f^_0x785511);});}}_0x485a6b[_0x46550c([0x6f,0x6e])](_0x46550c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x3407aa,_0xe95cd1)=>{if(_0xe95cd1[0x0]!=_0xac1744)return _0x2baf96(_0x46550c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0xe95cd1[0x1]={..._0xe95cd1[0x1],[_0x46550c([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x3860a4};},{[_0x46550c([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x46550c([0x68,0x69,0x67,0x68])}),_0x485a6b[_0x46550c([0x6f,0x6e])](_0x46550c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x42e4aa=>{_0x19f9fb(_0x42e4aa[_0x46550c([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x42dc74=!0x0,_0x24343c(_0x42e4aa[_0x46550c([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x46550c([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x46550c([0x6c,0x6f,0x77])}),_0x2354eb[_0x46550c([0x74,0x68,0x65,0x6e])](()=>{_0x42dc74||_0x2baf96(_0x46550c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x1bd905(){return _0x485a6b[_0x46550c([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x46550c([0x76,0x69,0x65,0x77])][_0x46550c([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x46550c([0x61,0x75,0x74,0x6f]);}function _0x5b4b1a(){_0x485a6b[_0x46550c([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x46550c([0x76,0x69,0x65,0x77])][_0x46550c([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x46550c([0x61,0x75,0x74,0x6f]);}}function _0xe81aac(_0x214c83){const _0x3b7b0a=[new window[(_0x46550c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1e81e6=>setTimeout(_0x1e81e6,0x14fdc813^_0x785511)),_0x2354eb[_0x46550c([0x74,0x68,0x65,0x6e])](()=>new window[(_0x46550c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x15190d=>{let _0x3d501a=0x0;_0x485a6b[_0x46550c([0x6d,0x6f,0x64,0x65,0x6c])][_0x46550c([0x6f,0x6e])](_0x46550c([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x95526b,_0x7cee4)=>{_0x7cee4[0x0][_0x46550c([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3d501a++,_0x3d501a==(0x14f4f727^_0x785511)&&(_0x15190d(),_0x95526b[_0x46550c([0x6f,0x66,0x66])]());});}))];return window[_0x46550c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x46550c([0x72,0x61,0x63,0x65])](_0x3b7b0a)[_0x46550c([0x74,0x68,0x65,0x6e])](()=>_0x214c83);}async function _0x4a5bb4(){await _0x2354eb,_0x485a6b[_0x46550c([0x6d,0x6f,0x64,0x65,0x6c])][_0x46550c([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x288309,_0x485a6b[_0x46550c([0x6d,0x6f,0x64,0x65,0x6c])][_0x46550c([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x288309,_0x485a6b[_0x46550c([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x46550c([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x56d32a(_0x37bf95){const _0x69575=_0xefc5f0();_0x485a6b[_0x69575]=_0x46550c([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x37bf95,_0x37bf95!=_0x46550c([0x56,0x61,0x6c,0x69,0x64])&&_0x4a5bb4();}function _0xefc5f0(){const _0x229ab8=window[_0x46550c([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x46550c([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x46550c([0x6e,0x6f,0x77])]())[_0x46550c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x46550c([0x2e]),'');let _0x3d6dd3=_0x46550c([0x61]);for(let _0x3039a7=0x0;_0x3039a7<_0x229ab8[_0x46550c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3039a7+=0x2){let _0x22e2eb=window[_0x46550c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x229ab8[_0x46550c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3039a7,_0x3039a7+0x2));_0x22e2eb>=_0x17d396[_0x46550c([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x22e2eb-=_0x17d396[_0x46550c([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3d6dd3+=_0x17d396[_0x22e2eb];}return _0x3d6dd3;}function _0x50510f(){const _0x3b84c1=_0x5cb6b7[_0x46550c([0x73,0x70,0x6c,0x69,0x74])](_0x46550c([0x2e]));if(0x3!=_0x3b84c1[_0x46550c([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x5c8f28(_0x3b84c1[0x1]);function _0x5c8f28(_0x52882b){const _0xa97f=_0x5297f5(_0x52882b);return _0xa97f&&_0x54aa49()?_0xa97f:null;function _0x54aa49(){const _0x3a9a21=_0xa97f[_0x46550c([0x6a,0x74,0x69])],_0xc326b=window[_0x46550c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3a9a21[_0x46550c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3a9a21[_0x46550c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4545b2={..._0xa97f,[_0x46550c([0x6a,0x74,0x69])]:_0x3a9a21[_0x46550c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3a9a21[_0x46550c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4545b2[_0x46550c([0x76,0x63])],_0x5031f(_0x4545b2)==_0xc326b;}}}async function _0x27dd78(){let _0x4541f3=!0x0;try{const _0x3e260b=_0x5cb6b7[_0x46550c([0x73,0x70,0x6c,0x69,0x74])](_0x46550c([0x2e])),[_0x120816,_0x201c36,_0x292b6f]=_0x3e260b;return _0x1f5946(_0x120816),await _0x4a918f(_0x120816,_0x201c36,_0x292b6f),_0x4541f3;}catch(_0x93c546){return!0x1;}function _0x1f5946(_0x384520){const _0x31a485=_0x5297f5(_0x384520);_0x31a485&&_0x31a485[_0x46550c([0x61,0x6c,0x67])]==_0x46550c([0x45,0x53,0x32,0x35,0x36])||(_0x4541f3=!0x1);}async function _0x4a918f(_0xf3381b,_0x36071b,_0x123268){const _0x40983b=window[_0x46550c([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x46550c([0x66,0x72,0x6f,0x6d])](_0x13ca2f(_0x123268),_0x7d25e9=>_0x7d25e9[_0x46550c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x32d434=new window[(_0x46550c([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x46550c([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0xf3381b+_0x46550c([0x2e])+_0x36071b),_0xbfc95a=window[_0x46550c([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x46550c([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0xbfc95a)return;const _0x4e669c=await _0xbfc95a[_0x46550c([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x46550c([0x6a,0x77,0x6b]),_0x48845e,{[_0x46550c([0x6e,0x61,0x6d,0x65])]:_0x46550c([0x45,0x43,0x44,0x53,0x41]),[_0x46550c([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x46550c([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x46550c([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0xbfc95a[_0x46550c([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x46550c([0x6e,0x61,0x6d,0x65])]:_0x46550c([0x45,0x43,0x44,0x53,0x41]),[_0x46550c([0x68,0x61,0x73,0x68])]:{[_0x46550c([0x6e,0x61,0x6d,0x65])]:_0x46550c([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4e669c,_0x40983b,_0x32d434)||(_0x4541f3=!0x1);}}function _0x5297f5(_0x3d7435){return _0x3d7435[_0x46550c([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x46550c([0x65,0x79]))?JSON[_0x46550c([0x70,0x61,0x72,0x73,0x65])](_0x13ca2f(_0x3d7435)):null;}function _0x13ca2f(_0x4bc4de){return window[_0x46550c([0x61,0x74,0x6f,0x62])](_0x4bc4de[_0x46550c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x46550c([0x2b]))[_0x46550c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x46550c([0x2f])));}function _0x5031f(_0x27c983){let _0x57efbb=0x1505;function _0x478829(_0x320bb8){for(let _0x4caa5b=0x0;_0x4caa5b<_0x320bb8[_0x46550c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4caa5b++){const _0xe6cdc2=_0x320bb8[_0x46550c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4caa5b);_0x57efbb=(_0x57efbb<<0x5)+_0x57efbb+_0xe6cdc2,_0x57efbb&=_0x57efbb;}}function _0xd5cf45(_0x2ea70b){Array[_0x46550c([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2ea70b)?_0x2ea70b[_0x46550c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0xd5cf45):_0x2ea70b&&typeof _0x2ea70b==_0x46550c([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x46550c([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2ea70b)[_0x46550c([0x73,0x6f,0x72,0x74])]()[_0x46550c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x9ecffb,_0x158840])=>{_0x478829(_0x9ecffb),_0xd5cf45(_0x158840);}):_0x478829(window[_0x46550c([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2ea70b));}return _0xd5cf45(_0x27c983),_0x57efbb>>>0x0;}function _0x25ef2e(_0x3ac7c2){return _0x3ac7c2[_0x46550c([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x46550c([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x46550c([0x30]));}function _0x2e9194(_0x32ff2c){return _0x32ff2c[_0x46550c([0x73,0x70,0x6c,0x69,0x74])]('')[_0x46550c([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x46550c([0x6a,0x6f,0x69,0x6e])]('');}function _0x288309(){}function _0x46550c(_0xf2a6a2){return _0xf2a6a2['map'](_0x25cd76=>String['fromCharCode'](_0x25cd76))['join']('');}_0x56d32a(await _0x104872());}(this);}['_initSchema'](){const _0x23e0ff=this['editor']['model']['schema'];_0x23e0ff['isRegistered']('imageBlock')&&_0x23e0ff['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x23e0ff['isRegistered']('imageInline')&&_0x23e0ff['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x5151de=this['editor'];_0x5151de['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x5151de['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x2329a4=>_0x2329a4['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x437f14=_0x5151de['commands']['get']('replaceImageSource');_0x437f14&&this['listenTo'](_0x437f14,'cleanupImage',(_0x45953a,[_0xd5f0d6,_0x4c5899])=>{_0xd5f0d6['removeAttribute']('uploadcareImageId',_0x4c5899);});}['_initConfig'](){const _0x48a402=this['editor']['config']['get']('uploadcare.uploader')||{},_0x3dff5b=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x405fdb(_0x8eb399['document'],'uc-config',{..._0x48a402,'pubkey':_0x3dff5b,'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']=_0x102a1c=>{if('closeMax'==_0x102a1c)return'#uc-icon-arrow-down';},_0x8eb399['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x405fdb(_0x8eb399['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader'}),_0x8eb399['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x5bfa98=this['editor']['commands']['get']('insertImage');_0x5bfa98&&this['listenTo'](_0x5bfa98,'execute',()=>{const _0x4375d5=this['editor']['model']['document']['selection']['getSelectedElement']();_0x4375d5&&_0x4375d5['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{m(this['editor'],_0x4375d5);});});const _0x51ac43=this['editor']['commands']['get']('uploadcareImageReplace');_0x51ac43&&this['listenTo'](_0x51ac43,'execute',()=>{const _0x28924c=this['editor']['model']['document']['selection']['getSelectedElement']();_0x28924c&&_0x28924c['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{m(this['editor'],_0x28924c);});});}}class u extends _0x218738{static get['requires'](){return[i,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x46b043){super(_0x46b043),_0x46b043['config']['define']('uploadcare.uploader.sourceList',[o['Local'],o['URL']]),_0x2b9e0a['defineComponents'](_0x2b9e0a);}}class ta extends _0x48a02f{constructor(_0x3c5931){super(_0x3c5931);const t=_0x3c5931['t'],_0x1288a9=this['bindTemplate'],_0x34bb6b=new _0x530285();_0x34bb6b['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':[_0x34bb6b,{'text':_0x1288a9['to']('imageUploadProgress',_0x5b51d3=>t('Loading\x20image...')+'\x20('+(_0x5b51d3||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 _0x48a02f{constructor(_0x365710){super(_0x365710);const t=_0x365710['t'];this['set']('errorType',null);const _0x5487ef=new _0x17e3d3(_0x365710);_0x5487ef['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x5487ef['withText']=!0x0,_0x5487ef['class']='ck-button-action',_0x5487ef['on']('execute',()=>{this['fire']('retry');}),_0x5487ef['bind']('isVisible')['to'](this,'errorType',_0x262d82=>'NotFound'!==_0x262d82);const _0xa2f85=new at();_0xa2f85['content']=et,_0xa2f85['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x4de083=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':[_0xa2f85,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x4de083['to']('errorType',_0x4fa7e1=>t('NotFound'!==_0x4fa7e1?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x5487ef]},{'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 _0x48a02f{constructor(_0xddbca4,_0x5dbfac){super(_0xddbca4);const _0x4ccf0f=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x5dbfac,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x4ccf0f['to']('imageSrc')}});}}class Z extends q{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x24204e,_0x2b79b8,_0x54e998){super(_0x24204e),this['_items']=this['createCollection'](),this['_loadingView']=new ta(_0x24204e),this['_errorView']=new rt(_0x24204e),this['_editingView']=new tt(_0x24204e,_0x54e998),this['_focusableView']=new _0x48a02f(_0x24204e),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x2b79b8),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'],_0x315207=>{this['_addUploadcareImageEditorListeners'](_0x315207);});}),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'](_0x24bad8,_0xbcc0b5){const _0x1eff1a='uc-cloud-image-editor',_0x2c47df=_0x24bad8['querySelector'](_0x1eff1a);if(_0x2c47df)return _0xbcc0b5(_0x2c47df);const _0x2dda54=new MutationObserver(_0x40e62a=>{const _0x1a2777=_0x40e62a['filter'](_0x5534b1=>_0x5534b1['target']===_0x24bad8&&_0x5534b1['addedNodes']['length']>0x0&&_0x5534b1['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x1eff1a);_0x1a2777['length']&&(_0x2dda54['disconnect'](),_0xbcc0b5(_0x1a2777[0x0]['addedNodes'][0x0]));});_0x2dda54['observe'](_0x24bad8,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x31adf4){_0x31adf4['addEventListener']('apply',_0x30ce06=>{this['fire']('apply',{'imageSrc':_0x30ce06['detail']['cdnUrl']});}),_0x31adf4['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class z extends/* #__PURE__ -- @preserve */
25
+ _0x1e6242(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x3e0e17,_0x21c471,_0x1cd947){super(),this['_editor']=_0x3e0e17,this['_dialog']=_0x21c471,this['_imageElement']=_0x1cd947,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 _0x545b68=this['_imageElement'],_0x4330db=_0x545b68['getAttribute']('uploadcareImageId'),_0x185ff9=_0x545b68['getAttribute']('src');if(_0x4330db)await this['_loadImageInfo'](_0x4330db,_0x185ff9);else{if(this['_imageCache']['has'](_0x185ff9)){const _0x49649f=this['_imageCache']['get'](_0x185ff9);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x49649f['url'],this['imageDimension']=_0x49649f['dimension'],this['imageId']=_0x49649f['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x35aa3c}=this['_editor'],t=_0x35aa3c['t'],_0xb1dd49=new Z(_0x35aa3c,this['imageStatus'],this['_attributes']);_0xb1dd49['bind']('status')['to'](this,'imageStatus'),_0xb1dd49['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0xb1dd49['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0xb1dd49['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0xb1dd49,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x206a65,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0xb1dd49,'position':_0x129065['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0xb1dd49['focus']();},'onHide':()=>{_0xb1dd49['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x2af794=>!F(_0x2af794,_0xb1dd49['element'])}});}['_loadImageInfo'](_0x107093,_0x5175fd){return C['getInfo'](_0x107093,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x421302=>{const {width:_0x7fd8a8,height:_0x2b3fca}=_0x421302['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x5175fd,this['imageDimension']={'width':_0x7fd8a8,'height':_0x2b3fca},this['imageId']=_0x107093;})['catch'](_0x1f30ac=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x1f30ac['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x5a4f53,_0x1fb373){return this['_getImageAsFile'](_0x5a4f53)['then'](_0x59f636=>C['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x1fb373['signal'],'file':_0x59f636,'onProgress':_0x19fe8a=>{_0x19fe8a&&_0x19fe8a['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x19fe8a['value']));}}))['then'](_0x111515=>{const {width:_0x149702,height:_0x42b342}=_0x111515['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x111515['cdnUrl'],this['imageDimension']={'width':_0x149702,'height':_0x42b342},this['imageId']=_0x111515['uuid'],this['imageUploadProgress']=null;const _0x27ffc8=_0x5a4f53['getAttribute']('src');this['_imageCache']['set'](_0x27ffc8,{'id':_0x111515['uuid'],'url':_0x111515['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x9e6005=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x9e6005['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x2efcf4,_0x3b1e67){_0x2efcf4['on']('apply',(_0xbfa57,_0x5a6dc2)=>{this['_replaceImage'](_0x3b1e67,_0x5a6dc2['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x2efcf4['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x2efcf4['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x4a71da,_0x47e177,_0x6fa465){const _0x496f5e=this['_editor'],{width:_0x2cfa67,height:_0x4d2e4d}=A(_0x47e177,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x5316e1,imageSources:_0x1053b7}=E(_0x47e177,_0x2cfa67);_0x496f5e['model']['change'](_0x4ec342=>{if('$graveyard'===_0x4a71da['root']['rootName']){_0x496f5e['execute']('insertImage',{'imageType':_0x4a71da['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x4a71da['getAttributes']()),'uploadcareImageId':_0x6fa465,'src':_0x5316e1,'sources':_0x1053b7,'width':_0x2cfa67,'height':_0x4d2e4d}});const _0x3fcd06=_0x4a71da['getChildren']();_0x4a71da=_0x496f5e['model']['document']['selection']['getSelectedElement']();for(const _0x34c89d of _0x3fcd06)_0x4ec342['append'](_0x4ec342['cloneElement'](_0x34c89d),_0x4a71da);}else _0x4ec342['setSelection'](_0x4a71da,'on'),_0x496f5e['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x4a71da['getAttributes']()),'uploadcareImageId':_0x6fa465,'src':_0x5316e1,'sources':_0x1053b7,'width':_0x2cfa67,'height':_0x4d2e4d},_0x4a71da);_0x4ec342['setSelection'](_0x4a71da,'on');});}async['_getImageAsFile'](_0x2db065){const _0x2a7072=_0x8eb399['window'],_0x3b61ad=_0x8eb399['document']['location']['href'],_0x9fb8f9=new _0x2a7072['URL'](_0x2db065['getAttribute']('src'),_0x3b61ad);if('data:'===_0x9fb8f9['protocol']){const _0x2c3ea8=_0x9fb8f9['href']['split'](','),_0x18de7d=_0x2c3ea8[0x0]['match'](/:(.*?);/)[0x1],_0x432fa7=_0x18de7d['split']('/')[0x1],_0x594fec=_0x2a7072['atob'](_0x2c3ea8[_0x2c3ea8['length']-0x1]);let _0x42341b=_0x594fec['length'];const _0x3c0ed7=new _0x2a7072['Uint8Array'](_0x42341b);for(;_0x42341b--;)_0x3c0ed7[_0x42341b]=_0x594fec['charCodeAt'](_0x42341b);return new _0x2a7072['File']([_0x3c0ed7],'image.'+_0x432fa7,{'type':_0x18de7d});}const _0x499b14=_0x9fb8f9['href']['split']('/'),_0x1d1b7a=_0x499b14[_0x499b14['length']-0x1],_0x5bf490=_0x1d1b7a['split']('.')[0x1];return _0x2a7072['fetch'](_0x9fb8f9['href'])['then'](_0xc5feb7=>_0xc5feb7['clone']()['blob']())['then'](_0x13533e=>new _0x2a7072['File']([_0x13533e],_0x1d1b7a,{'type':'image/'+_0x5bf490}));}}class J extends _0x48beb1{['imageEditController'];static get['requires'](){return[_0x4bc370];}['_isEditable'];constructor(_0x51b82f){super(_0x51b82f),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x3efb57){const _0x3e501d=V(_0x3efb57);return _0x51534a=>!(!_0x51534a||!_0x51534a['is']('element','imageBlock')&&!_0x51534a['is']('element','imageInline'))&&(!!_0x51534a['hasAttribute']('uploadcareImageId')||!!_0x51534a['hasAttribute']('src')&&_0x3e501d(_0x51534a['getAttribute']('src')));}(_0x51b82f['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x1a5fcb=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x1a5fcb);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x1045fc=this['editor']['model']['document']['selection']['getSelectedElement']();_0x1045fc&&(_0x1045fc['is']('element','imageBlock')||_0x1045fc['is']('element','imageInline'))&&(this['imageEditController']=new z(this['editor'],this['editor']['plugins']['get'](_0x4bc370),_0x1045fc),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class O extends _0x48beb1{['refresh'](){const _0x3caa24=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x3caa24&&(_0x3caa24['is']('element','imageBlock')||_0x3caa24['is']('element','imageInline')));}['execute'](_0x324431){const _0x51a1f0=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x4acb58=>{_0x4acb58['setAttributes'](_0x324431,_0x51a1f0),_0x4acb58['removeAttribute']('srcset',_0x51a1f0),_0x4acb58['removeAttribute']('sizes',_0x51a1f0);});}}class g extends _0x218738{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[i,_0x322e8d,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x3c8006}=this;_0x3c8006['commands']['add']('uploadcareImageEdit',new J(_0x3c8006)),_0x3c8006['commands']['add']('uploadcareImageReplace',new O(_0x3c8006));}}class j extends _0x218738{['_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 _0x2e214e=this['editor'];_0x2e214e['ui']['componentFactory']['add']('uploadcareImageEdit',_0x3b9a51=>{const _0x12aeb6=_0x2e214e['commands']['get']('uploadcareImageEdit'),_0x40137c=new _0x17e3d3(_0x3b9a51),t=_0x3b9a51['t'];return _0x40137c['set']({'icon':_0x206a65,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x40137c['bind']('isEnabled')['to'](_0x12aeb6),_0x40137c['bind']('isOn')['to'](_0x12aeb6,'isActive'),this['listenTo'](_0x40137c,'execute',()=>{_0x2e214e['execute']('uploadcareImageEdit'),_0x2e214e['editing']['view']['focus']();}),_0x40137c;}),this['_initConfig']();}['_initConfig'](){const _0x5ec12f=_0x405fdb(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x5ec12f),this['listenTo'](this['editor'],'destroy',()=>{_0x5ec12f['remove']();});}}class P extends _0x218738{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':_0x16268b=>0x1!=_0x16268b}};
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
- (_0x569719=>{const {af:{dictionary:_0x5ba7cb,getPluralForm:_0x256808}}={'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':_0x32864a=>0x1!=_0x32864a}};_0x569719['af']||={'dictionary':{},'getPluralForm':null},_0x569719['af']['dictionary']=Object['assign'](_0x569719['af']['dictionary'],_0x5ba7cb),_0x569719['af']['getPluralForm']=_0x256808;})(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':_0x5bf135=>0x0==_0x5bf135?0x0:0x1==_0x5bf135?0x1:0x2==_0x5bf135?0x2:_0x5bf135%0x64>=0x3&&_0x5bf135%0x64<=0xa?0x3:_0x5bf135%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
- (_0x32ffda=>{const {ar:{dictionary:_0xcc72db,getPluralForm:_0x45de7b}}={'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':_0x20db94=>0x0==_0x20db94?0x0:0x1==_0x20db94?0x1:0x2==_0x20db94?0x2:_0x20db94%0x64>=0x3&&_0x20db94%0x64<=0xa?0x3:_0x20db94%0x64>=0xb?0x4:0x5}};_0x32ffda['ar']||={'dictionary':{},'getPluralForm':null},_0x32ffda['ar']['dictionary']=Object['assign'](_0x32ffda['ar']['dictionary'],_0xcc72db),_0x32ffda['ar']['getPluralForm']=_0x45de7b;})(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':_0x3b1d3f=>0x1!=_0x3b1d3f}};
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
- (_0x38c34a=>{const {ast:{dictionary:_0x50c012,getPluralForm:_0x123fa6}}={'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':_0x285b5b=>0x1!=_0x285b5b}};_0x38c34a['ast']||={'dictionary':{},'getPluralForm':null},_0x38c34a['ast']['dictionary']=Object['assign'](_0x38c34a['ast']['dictionary'],_0x50c012),_0x38c34a['ast']['getPluralForm']=_0x123fa6;})(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':_0x1afb47=>0x1!=_0x1afb47}};
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
- (_0x136e14=>{const {az:{dictionary:_0xd9790b,getPluralForm:_0x332476}}={'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':_0x4d9b49=>0x1!=_0x4d9b49}};_0x136e14['az']||={'dictionary':{},'getPluralForm':null},_0x136e14['az']['dictionary']=Object['assign'](_0x136e14['az']['dictionary'],_0xd9790b),_0x136e14['az']['getPluralForm']=_0x332476;})(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':_0x3fe694=>0x1!=_0x3fe694}};
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
- (_0xcfe659=>{const {bg:{dictionary:_0x5cc30a,getPluralForm:_0x5380b0}}={'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':_0x3bb2f2=>0x1!=_0x3bb2f2}};_0xcfe659['bg']||={'dictionary':{},'getPluralForm':null},_0xcfe659['bg']['dictionary']=Object['assign'](_0xcfe659['bg']['dictionary'],_0x5cc30a),_0xcfe659['bg']['getPluralForm']=_0x5380b0;})(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':_0x15ac31=>0x1!=_0x15ac31}};
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
- (_0x48a1f6=>{const {bn:{dictionary:_0x3f3790,getPluralForm:_0x1775c6}}={'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':_0x2a15bf=>0x1!=_0x2a15bf}};_0x48a1f6['bn']||={'dictionary':{},'getPluralForm':null},_0x48a1f6['bn']['dictionary']=Object['assign'](_0x48a1f6['bn']['dictionary'],_0x3f3790),_0x48a1f6['bn']['getPluralForm']=_0x1775c6;})(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':_0x14ff8b=>_0x14ff8b%0xa==0x1&&_0x14ff8b%0x64!=0xb?0x0:_0x14ff8b%0xa>=0x2&&_0x14ff8b%0xa<=0x4&&(_0x14ff8b%0x64<0xa||_0x14ff8b%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
- (_0x2aac8a=>{const {bs:{dictionary:_0x20c2b9,getPluralForm:_0x3352cd}}={'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':_0x588d83=>_0x588d83%0xa==0x1&&_0x588d83%0x64!=0xb?0x0:_0x588d83%0xa>=0x2&&_0x588d83%0xa<=0x4&&(_0x588d83%0x64<0xa||_0x588d83%0x64>=0x14)?0x1:0x2}};_0x2aac8a['bs']||={'dictionary':{},'getPluralForm':null},_0x2aac8a['bs']['dictionary']=Object['assign'](_0x2aac8a['bs']['dictionary'],_0x20c2b9),_0x2aac8a['bs']['getPluralForm']=_0x3352cd;})(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':_0x54a767=>0x1!=_0x54a767}};
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
- (_0x3bfb86=>{const {ca:{dictionary:_0x4e9a08,getPluralForm:_0x16e991}}={'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':_0x4dba2f=>0x1!=_0x4dba2f}};_0x3bfb86['ca']||={'dictionary':{},'getPluralForm':null},_0x3bfb86['ca']['dictionary']=Object['assign'](_0x3bfb86['ca']['dictionary'],_0x4e9a08),_0x3bfb86['ca']['getPluralForm']=_0x16e991;})(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']||={});