@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-20250312.0 → 0.0.0-nightly-20250314.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 _0x1cb5d0,Command as _0xbb17}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x5653ff,IconGooglePhotos as _0x383ff0,IconGoogleDrive as _0x5cce18,IconFacebook as _0x476792,IconDropbox as _0x3f64a9,IconUploadcareLink as _0x38813d,IconUploadcareImageUpload as _0x5a7ee6,IconError as et,IconUploadcareImageEdit as _0x392f09}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x338b64,MenuBarMenuListItemButtonView as _0x35eb49,View as _0x4f4142,FocusCycler as _0x58032a,Dialog as _0x18701d,DialogViewPosition as _0x364bae,SpinnerView as _0x329d58,IconView as at,Notification as _0x108f0c}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x1e5553,DomEmitterMixin as _0x2598d8,global as _0x16489b,getAncestors as _0x93ed84,ObservableMixin as _0x158fd3,createElement as _0x46c0b5,uid as _0x5204b2}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0xaa50f6}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x390d5f,info as _0x5b2ae8}from'@uploadcare/upload-client';import*as _0x835f8a from'@uploadcare/file-uploader';var o=function(_0x3a84a6){return _0x3a84a6['Local']='local',_0x3a84a6['URL']='url',_0x3a84a6['Dropbox']='dropbox',_0x3a84a6['GDrive']='gdrive',_0x3a84a6['Facebook']='facebook',_0x3a84a6['GPhotos']='gphotos',_0x3a84a6['OneDrive']='onedrive',_0x3a84a6;}({});function _(_0x4de51e,_0x15f3d2,_0x359000){const t=_0x4de51e['t'],_0xc72a4c=_0x4de51e['t'];switch(_0x15f3d2){case o['Local']:return{'text':_0xc72a4c('Insert'===_0x359000?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0xc72a4c('From\x20computer')};case o['URL']:return{'text':'Insert'===_0x359000?_0xc72a4c('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0xc72a4c('Via\x20URL')};case o['Dropbox']:return{'text':t('Insert'===_0x359000?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case o['Facebook']:return{'text':t('Insert'===_0x359000?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case o['GDrive']:return{'text':t('Insert'===_0x359000?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case o['GPhotos']:return{'text':t('Insert'===_0x359000?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case o['OneDrive']:return{'text':t('Insert'===_0x359000?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x15f3d2;}}class e extends _0x1cb5d0{['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 _0x26070a=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x504a4b;for(const _0x4b8442 in _0x26070a){const _0x42add1=_0x4b8442,_0x1e5752=_0x26070a[_0x42add1];if('uploadcareLicenseKeyValid'==_0x1e5752||'uploadcareLicenseKeyInvalid'==_0x1e5752||'uploadcareLicenseKeyExpired'==_0x1e5752||'uploadcareLicenseKeyDomainLimit'==_0x1e5752||'uploadcareLicenseKeyNotAllowed'==_0x1e5752||'uploadcareLicenseKeyEvaluationLimit'==_0x1e5752||'uploadcareLicenseKeyTrialLimit'==_0x1e5752||'uploadcareLicenseKeyUsageLimit'==_0x1e5752){delete _0x26070a[_0x42add1],_0x504a4b=_0x1e5752,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x504a4b&&_0x26070a['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x504a4b&&_0x26070a['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x504a4b&&_0x26070a['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x504a4b&&_0x26070a['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x504a4b&&_0x26070a['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0x504a4b&&_0x26070a['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0x504a4b&&_0x26070a['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0xae30ad}=this,_0x4f7ed9=_0xae30ad['commands']['get']('uploadcare');if(!_0x4f7ed9)return;const _0x459fdb=this['_normalizeConfigSourceList'](_0xae30ad['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x28e857,_0x34a53f)=>{const _0x299f99=this['_getIntegrationKey'](_0x34a53f['type']);return _0x28e857[_0x299f99]||(_0x28e857[_0x299f99]=[]),_0x28e857[_0x299f99]['push'](_0x34a53f),_0x28e857;},{});_0xae30ad['plugins']['has']('ImageInsertUI')&&_0xae30ad['commands']['get']('uploadcare')&&Object['entries'](_0x459fdb)['forEach'](([_0x237b8e,_0x5c42e2])=>{_0xae30ad['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x237b8e,'observable':()=>_0x4f7ed9,'buttonViewCreator':()=>this['_createToolbarButton'](_0x5c42e2),'formViewCreator':()=>this['_createDropdownButtons'](_0x5c42e2),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x5c42e2),'override':'assetManager'!==_0x237b8e});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x2ce525){const {locale:_0x1e6b1d}=this['editor'];return _0x2ce525['map'](_0x3bacc9=>{const _0x3f2bb8=_(_0x1e6b1d,_0x3bacc9,'Insert');switch(_0x3bacc9){case o['Local']:return{'icon':_0x5a7ee6,'type':o['Local'],..._0x3f2bb8};case o['URL']:return{'icon':_0x38813d,'type':o['URL'],..._0x3f2bb8};case o['Dropbox']:return{'icon':_0x3f64a9,'type':o['Dropbox'],..._0x3f2bb8};case o['Facebook']:return{'icon':_0x476792,'type':o['Facebook'],..._0x3f2bb8};case o['GDrive']:return{'icon':_0x5cce18,'type':o['GDrive'],..._0x3f2bb8};case o['GPhotos']:return{'icon':_0x383ff0,'type':o['GPhotos'],..._0x3f2bb8};case o['OneDrive']:return{'icon':_0x5653ff,'type':o['OneDrive'],..._0x3f2bb8};}});}['_getIntegrationKey'](_0x334245){switch(_0x334245){case o['Local']:return'upload';case o['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x3cf44c,_0x20021b){const _0x5ef933=this['editor'],_0x3848bb=new _0x3cf44c(_0x5ef933['locale']),_0x729858=_0x5ef933['commands']['get']('uploadcare');return _0x3848bb['bind']('isEnabled')['to'](_0x729858),_0x3848bb['on']('execute',()=>{_0x729858['execute'](_0x20021b);}),_0x3848bb;}['_createToolbarButton'](_0xb7f44e){const {locale:_0x5d8880}=this['editor'],_0x4bd9bd=this['editor']['plugins']['get']('ImageInsertUI'),_0x5096bf=_0xb7f44e[0x0],_0x219ee7=this['_createButton'](_0x338b64,_0x5096bf['type']);return _0x219ee7['icon']=_0x5096bf['icon'],_0x219ee7['bind']('label')['to'](_0x4bd9bd,'isImageSelected',_0x2dc525=>_(_0x5d8880,_0x5096bf['type'],_0x2dc525?'Replace':'Insert')['text']),_0x219ee7['tooltip']=!0x0,_0x219ee7;}['_createDropdownButtons'](_0x7ed751){const {locale:_0x55d261}=this['editor'],_0x9777dd=this['editor']['plugins']['get']('ImageInsertUI');return _0x7ed751['map'](_0x519e2a=>{const _0x47fb5f=this['_createButton'](_0x338b64,_0x519e2a['type']);return _0x47fb5f['withText']=!0x0,_0x47fb5f['icon']=_0x519e2a['icon'],_0x47fb5f['bind']('label')['to'](_0x9777dd,'isImageSelected',_0x505285=>_(_0x55d261,_0x519e2a['type'],_0x505285?'Replace':'Insert')['text']),_0x47fb5f;});}['_createMenuBarButtons'](_0x4f69b9){return _0x4f69b9['map'](_0x5382eb=>{const _0x5bfabe=this['_createButton'](_0x35eb49,_0x5382eb['type']);return _0x5bfabe['icon']=_0x5382eb['icon'],_0x5bfabe['label']=_0x5382eb['shortText'],_0x5bfabe;});}}class q extends _0x4f4142{['focusTracker'];['focusCycler'];constructor(_0x35e5c7){super(_0x35e5c7),this['focusTracker']=new _0x1e5553(),this['focusCycler']=new _0x58032a({'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(_0x408e07){super(_0x408e07),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(_0x5169a3,_0x806dfd){const _0x23a03e=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x2fdb0b=>_0x2fdb0b<=_0x806dfd)['map'](_0x421d05=>_0x5169a3['replace'](/\/$/,'')+'/-/resize/'+_0x421d05+'x/\x20'+_0x421d05+'w');return{'imageFallbackUrl':_0x5169a3,'imageSources':[{'srcset':_0x23a03e['join'](',\x20'),'sizes':'(max-width:\x20'+_0x806dfd+'px)\x20100vw,\x20'+_0x806dfd+'px','type':'image/webp'}]};}function A(_0x46ce71,_0x3da3b6,_0x49a08e){const _0x3ccc8c=_0x46ce71['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x3ccc8c?parseInt(_0x3ccc8c[0x1],0xa):_0x3da3b6,'height':_0x3ccc8c?parseInt(_0x3ccc8c[0x2],0xa):_0x49a08e};}function m(_0x16ee84,_0x3beab7){const _0x51eac6=Object['create'](_0x2598d8),_0x187c8b=_0x16ee84['plugins']['get']('ImageUtils'),_0x16e69a=_0x16ee84['editing']['mapper']['toViewElement'](_0x3beab7),_0x4272dc=_0x187c8b['findViewImgElement'](_0x16e69a),_0x1672f3=_0x16ee84['editing']['view']['domConverter']['viewToDom'](_0x4272dc),_0x2ef57f=_0x3beab7['getAttribute']('width'),_0x29d898=_0x3beab7['getAttribute']('height'),_0x1377d3='image-processing';_0x16ee84['editing']['view']['change'](_0x4227bd=>{_0x4227bd['addClass'](_0x1377d3,_0x16e69a),_0x4227bd['setStyle']('aspect-ratio',_0x2ef57f+'/'+_0x29d898,_0x4272dc);}),_0x51eac6['listenTo'](_0x1672f3,'load',()=>{_0x51eac6['stopListening'](_0x1672f3,'load'),_0x16ee84['editing']['view']['change'](_0x2c515e=>{_0x2c515e['removeClass'](_0x1377d3,_0x16e69a),_0x2c515e['removeStyle']('aspect-ratio',_0x4272dc);});});}function V(_0x2e93bb){if(Array['isArray'](_0x2e93bb)){const _0x203672=_0x2e93bb['map'](V);return _0x4649db=>_0x203672['some'](_0xdba16a=>_0xdba16a(_0x4649db));}if('origin'==_0x2e93bb){const _0x322ece=_0x16489b['window']['location']['origin'];return _0x523f03=>new URL(_0x523f03,_0x16489b['document']['baseURI'])['origin']==_0x322ece;}return'function'==typeof _0x2e93bb?_0x2e93bb:_0x2e93bb instanceof RegExp?_0x320618=>!(!_0x320618['match'](_0x2e93bb)&&!_0x320618['replace'](/^https?:\/\//,'')['match'](_0x2e93bb)):()=>!0x1;}function F(_0x3a89b9,_0x3ed4a3){return _0x93ed84(_0x3a89b9['target'])['includes'](_0x3ed4a3);}class l extends/* #__PURE__ -- @preserve */
24
- _0x158fd3(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x29747f,_0x3be573,_0x39c8c0){super(),this['_editor']=_0x29747f,this['_editing']=_0x3be573,this['_dialog']=_0x29747f['plugins']['get'](_0x18701d),this['_api']=_0x3be573['ctxElement']['getAPI'](),this['_type']=_0x39c8c0,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:_0x1e2dc5,model:_0x2e1e43}=this['_editor'],_0x528a97=_0x2e1e43['document']['selection']['getSelectedElement'](),_0x2080fe=_0x528a97&&(_0x528a97['is']('element','imageBlock')||_0x528a97['is']('element','imageInline'));this['_formView']=new S(_0x1e2dc5),this['_dialog']['show']({'id':'uploadCare','icon':_0x5a7ee6,'title':_(_0x1e2dc5,this['_type'],_0x2080fe?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x364bae['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x1eb4a6=>!F(_0x1eb4a6,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x3aff24}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x4c2a35=>{const _0x8929c0=_0x3aff24['length'];for(const _0x5a8eb5 of _0x3aff24){const _0x5a2a3e=_0x5a8eb5===_0x3aff24[_0x8929c0-0x1],{cdnUrl:_0x37aa7e,fileInfo:_0x3b42a7}=_0x5a8eb5;if(!_0x37aa7e||!_0x3b42a7)continue;const {width:_0x5d6b6b,height:_0xa53c40}=_0x3b42a7['imageInfo'],_0x4accf1=A(_0x37aa7e,_0x5d6b6b,_0xa53c40),_0xf64c4c=E(_0x37aa7e,_0x4accf1['width']),_0x39447e={'id':_0x3b42a7['uuid'],'type':'image','attributes':{'imageDimension':_0x4accf1,..._0xf64c4c}};this['_insertAsset'](_0x39447e,_0x5a2a3e,_0x4c2a35);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x429379=>{'idle'===_0x429379['detail']['status']&&!_0x429379['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===o['Local']?this['_api']['setCurrentActivity'](o['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x306bb1,_0x114107,_0x445f87){const _0x382fb1=this['_editor']['model']['document']['selection'],_0x134a5a=_0x382fb1['getSelectedElement'](),_0x11cc98=!(!_0x134a5a||!_0x134a5a['is']('element','imageInline'));_0x445f87['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x306bb1,_0x11cc98),_0x114107||_0x445f87['setSelection'](_0x382fb1['getLastPosition']());}['_insertImage'](_0x50f29d,_0x4f534c){const _0x478d9a=this['_editor'],{imageDimension:_0x27848e,imageFallbackUrl:_0x517671,imageSources:_0x253a7c}=_0x50f29d['attributes'];_0x478d9a['execute']('insertImage',{'imageType':_0x4f534c?'imageInline':null,'source':{'uploadcareImageId':_0x50f29d['id'],'src':_0x517671,'sources':_0x253a7c,..._0x27848e}});}}class n extends _0xbb17{['_editing'];['_controller']=null;static get['requires'](){return[_0x18701d,i];}constructor(_0x38bd06){super(_0x38bd06),this['_editing']=_0x38bd06['plugins']['get'](i);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x2fd8da){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new l(this['editor'],this['_editing'],_0x2fd8da);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class C{static['upload']({file:_0x2034d7,publicKey:_0x388c17,signal:_0x37da22,onProgress:_0x44d7bd}){return _0x390d5f(_0x2034d7,{'publicKey':_0x388c17,'store':'auto','signal':_0x37da22,'onProgress':_0x44d7bd});}static['getInfo'](_0x4f5865,_0x179eed){return _0x5b2ae8(_0x4f5865,_0x179eed);}}class p extends _0x1cb5d0{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0xaa50f6,i];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x22d772=this['editor'];if(!!!_0x22d772['config']['get']('uploadcare'))return;_0x22d772['plugins']['get'](_0xaa50f6)['createUploadAdapter']=_0x38d057=>new x(_0x38d057,_0x22d772),_0x22d772['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x20c7be,{imageElement:_0x3d65fe,data:_0x43c37e})=>{_0x22d772['model']['change'](_0xdc88f9=>{_0xdc88f9['setAttribute']('uploadcareImageId',_0x43c37e['uploadcareImageId'],_0x3d65fe);});});}}class x{['loader'];['editor'];['controller'];constructor(_0x1e2819,_0x4f1ddb){this['loader']=_0x1e2819,this['editor']=_0x4f1ddb,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x4fb6bf=this['editor']['config']['get']('uploadcare.pubkey'),_0x3a4628=await this['loader']['file'];return C['upload']({'file':_0x3a4628,'publicKey':_0x4fb6bf,'signal':this['controller']['signal'],'onProgress':_0x2fb54f=>{_0x2fb54f&&_0x2fb54f['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x2fb54f['value']);}})['then'](async _0x1c489d=>{const {imageFallbackUrl:_0x7f1903,imageSources:_0x3dbb4c}=E(_0x1c489d['cdnUrl'],_0x1c489d['imageInfo']['width']);return{'uploadcareImageId':_0x1c489d['uuid'],'default':_0x7f1903,'sources':_0x3dbb4c};})['catch'](()=>{const _0x34cc99=t('Cannot\x20upload\x20file:')+('\x20'+_0x3a4628['name']+'.');return Promise['reject'](_0x34cc99);});}['abort'](){this['controller']['abort']();}}class i extends _0x1cb5d0{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',p,_0x18701d];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}['init'](){const _0x4c9ca1=this['editor'];_0x4c9ca1['commands']['add']('uploadcare',new n(_0x4c9ca1));}['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 _0x41237a=_0x16489b['document']['querySelector']('input[uploadcare-file-input]');_0x41237a&&_0x41237a['remove']();}),async function(_0x4cb68e){const _0xd3df48=_0x367f31([0x73,0x4d,0x52,0x68,0x4f,0x5a,0x71,0x31,0x4b,0x76,0x65,0x44,0x78,0x59,0x6e,0x51,0x61,0x47,0x7a,0x4c,0x6d,0x30,0x43,0x34,0x67,0x57,0x69,0x77,0x45,0x6a,0x79,0x70,0x66,0x64,0x39,0x35,0x62,0x33,0x37,0x55,0x32,0x50,0x54,0x56,0x6f,0x63,0x49,0x36,0x4e,0x4a,0x48,0x41,0x53,0x75,0x72,0x74,0x38,0x58,0x46,0x42,0x6c,0x6b]),_0x2ac3c5=0x743e174b,_0x10dd19=0x743976a3^_0x2ac3c5,_0x2e078e=window[_0x367f31([0x44,0x61,0x74,0x65])][_0x367f31([0x6e,0x6f,0x77])](),_0x2b73be=_0x4cb68e[_0x367f31([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2fdd76=new window[(_0x367f31([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2a4957=>{_0x2b73be[_0x367f31([0x6f,0x6e,0x63,0x65])](_0x367f31([0x72,0x65,0x61,0x64,0x79]),_0x2a4957);}),_0x5da162={[_0x367f31([0x6b,0x74,0x79])]:_0x367f31([0x45,0x43]),[_0x367f31([0x75,0x73,0x65])]:_0x367f31([0x73,0x69,0x67]),[_0x367f31([0x63,0x72,0x76])]:_0x367f31([0x50,0x2d,0x32,0x35,0x36]),[_0x367f31([0x78])]:_0x367f31([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]),[_0x367f31([0x79])]:_0x367f31([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]),[_0x367f31([0x61,0x6c,0x67])]:_0x367f31([0x45,0x53,0x32,0x35,0x36])},_0x420e51=_0x2b73be[_0x367f31([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x367f31([0x67,0x65,0x74])](_0x367f31([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x2ad11a(){let _0x4f5b2c,_0x543da4=null,_0x39fab2=null;try{if(_0x420e51==_0x367f31([0x47,0x50,0x4c]))return _0x367f31([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x4f5b2c=_0x499299(),!_0x4f5b2c)return _0x367f31([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x4f5b2c[_0x367f31([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x39fab2=_0x43a822(_0x4f5b2c[_0x367f31([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x4f5b2c[_0x367f31([0x6a,0x74,0x69])])),await _0x3b0bdb()?_0x2f9bd9()?_0x32a224()?_0x367f31([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1b5415()?(_0x4f5b2c[_0x367f31([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x367f31([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x543da4=_0x1304af(_0x367f31([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x4f5b2c[_0x367f31([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x367f31([0x74,0x72,0x69,0x61,0x6c])&&(_0x543da4=_0x1304af(_0x367f31([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x2eac29()):_0x367f31([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x367f31([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x367f31([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x2a35c6){return _0x367f31([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x32a224(){const _0x52a8ed=[_0x367f31([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x367f31([0x74,0x72,0x69,0x61,0x6c])][_0x367f31([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4f5b2c[_0x367f31([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2e078e/0x3e8:0xe10*_0x10dd19;return _0x4f5b2c[_0x367f31([0x65,0x78,0x70])]<_0x52a8ed;}function _0x2f9bd9(){const _0x5891b1=_0x4f5b2c[_0x367f31([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x5891b1&&(!!_0x5891b1[_0x367f31([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x367f31([0x2a]))||!!_0x5891b1[_0x367f31([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x367f31([0x55,0x50,0x4c,0x43])));}function _0x1b5415(){const _0x216072=_0x4f5b2c[_0x367f31([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x216072||0x0==_0x216072[_0x367f31([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x7f6d45}=new URL(window[_0x367f31([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x216072[_0x367f31([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x7f6d45))return!0x0;const _0x13207f=_0x7f6d45[_0x367f31([0x73,0x70,0x6c,0x69,0x74])](_0x367f31([0x2e]));return _0x216072[_0x367f31([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x8e6bb3=>_0x8e6bb3[_0x367f31([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x367f31([0x2a])))[_0x367f31([0x6d,0x61,0x70])](_0x569b99=>_0x569b99[_0x367f31([0x73,0x70,0x6c,0x69,0x74])](_0x367f31([0x2e])))[_0x367f31([0x73,0x6f,0x6d,0x65])](_0xd34b97=>_0x13207f[_0x367f31([0x65,0x76,0x65,0x72,0x79])]((_0xc86367,_0x4a6e4a)=>_0xd34b97[_0x4a6e4a]===_0xc86367||_0xd34b97[_0x4a6e4a]===_0x367f31([0x2a])));}function _0x2eac29(){return _0x543da4&&_0x39fab2?new window[(_0x367f31([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x191a28,_0x353486)=>{_0x543da4[_0x367f31([0x74,0x68,0x65,0x6e])](_0x191a28,_0x353486),_0x39fab2[_0x367f31([0x74,0x68,0x65,0x6e])](_0x5d75e0=>{_0x5d75e0!=_0x367f31([0x56,0x61,0x6c,0x69,0x64])&&_0x191a28(_0x5d75e0);},_0x353486);}):_0x543da4||_0x39fab2||_0x367f31([0x56,0x61,0x6c,0x69,0x64]);}}function _0x43a822(_0x5675f7,_0x351055){return new window[(_0x367f31([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x51abdc=>{if(_0x309503())return _0x51abdc(_0x367f31([0x56,0x61,0x6c,0x69,0x64]));_0xc4aef5(),_0x2b73be[_0x367f31([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x367f31([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x15c564=!0x1;const _0x3e44a1=_0x5204b2();function _0x27127b(_0x559fe0){return!!_0x559fe0&&(typeof _0x559fe0===_0x367f31([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x559fe0===_0x367f31([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x559fe0[_0x367f31([0x74,0x68,0x65,0x6e])]===_0x367f31([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x559fe0[_0x367f31([0x63,0x61,0x74,0x63,0x68])]===_0x367f31([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x8fb84a(_0x55b358){_0x22e1da(_0x55b358)[_0x367f31([0x74,0x68,0x65,0x6e])](_0x6ea233=>{if(!_0x6ea233||_0x6ea233[_0x367f31([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x367f31([0x6f,0x6b]))return _0x367f31([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x16715b(_0x338e56(_0x3e44a1+_0x351055))!=_0x6ea233[_0x367f31([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x367f31([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x367f31([0x56,0x61,0x6c,0x69,0x64]);})[_0x367f31([0x74,0x68,0x65,0x6e])](_0x56ca6e=>(_0x302ba8(),_0x56ca6e),()=>{const _0x5afeed=_0x4e071b();return null==_0x5afeed?(_0x302ba8(),_0x367f31([0x56,0x61,0x6c,0x69,0x64])):_0x367f31(_0x2e078e-_0x5afeed>(0x5032934b^_0x2ac3c5)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x367f31([0x74,0x68,0x65,0x6e])](_0x51abdc)[_0x367f31([0x63,0x61,0x74,0x63,0x68])](()=>{_0x51abdc(_0x367f31([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0xa2c972=0x7408f9cb^_0x2ac3c5;function _0x302ba8(){const _0x249d33=_0x367f31([0x6c,0x6c,0x63,0x74,0x2d])+_0x16715b(_0x338e56(_0x5675f7)),_0x25ff08=_0x12c65d(_0x16715b(window[_0x367f31([0x4d,0x61,0x74,0x68])][_0x367f31([0x63,0x65,0x69,0x6c])](_0x2e078e/_0xa2c972)));window[_0x367f31([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x367f31([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x249d33,_0x25ff08);}function _0x4e071b(){const _0x4efc73=_0x367f31([0x6c,0x6c,0x63,0x74,0x2d])+_0x16715b(_0x338e56(_0x5675f7)),_0x522c8e=window[_0x367f31([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x367f31([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4efc73);return _0x522c8e?window[_0x367f31([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x12c65d(_0x522c8e),0x10)*_0xa2c972:null;}function _0x22e1da(_0x15398e){return new window[(_0x367f31([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xabf240,_0x208ba5)=>{_0x15398e[_0x367f31([0x74,0x68,0x65,0x6e])](_0xabf240,_0x208ba5),window[_0x367f31([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x208ba5,0x743fc38b^_0x2ac3c5);});}}_0x2b73be[_0x367f31([0x6f,0x6e])](_0x367f31([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1f2140,_0x5f1249)=>{if(_0x5f1249[0x0]!=_0x5675f7)return _0x51abdc(_0x367f31([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x5f1249[0x1]={..._0x5f1249[0x1],[_0x367f31([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x3e44a1};},{[_0x367f31([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x367f31([0x68,0x69,0x67,0x68])}),_0x2b73be[_0x367f31([0x6f,0x6e])](_0x367f31([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x48d000=>{_0x27127b(_0x48d000[_0x367f31([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x15c564=!0x0,_0x8fb84a(_0x48d000[_0x367f31([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x367f31([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x367f31([0x6c,0x6f,0x77])}),_0x2fdd76[_0x367f31([0x74,0x68,0x65,0x6e])](()=>{_0x15c564||_0x51abdc(_0x367f31([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x309503(){return _0x2b73be[_0x367f31([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x367f31([0x76,0x69,0x65,0x77])][_0x367f31([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x367f31([0x61,0x75,0x74,0x6f]);}function _0xc4aef5(){_0x2b73be[_0x367f31([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x367f31([0x76,0x69,0x65,0x77])][_0x367f31([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x367f31([0x61,0x75,0x74,0x6f]);}}function _0x1304af(_0x382528){const _0x5a9c04=[new window[(_0x367f31([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x115b3d=>setTimeout(_0x115b3d,0x74372987^_0x2ac3c5)),_0x2fdd76[_0x367f31([0x74,0x68,0x65,0x6e])](()=>new window[(_0x367f31([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x26ec35=>{let _0x49e87f=0x0;_0x2b73be[_0x367f31([0x6d,0x6f,0x64,0x65,0x6c])][_0x367f31([0x6f,0x6e])](_0x367f31([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x89ef7b,_0x2f0c48)=>{_0x2f0c48[0x0][_0x367f31([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x49e87f++,_0x49e87f==(0x743e16b3^_0x2ac3c5)&&(_0x26ec35(),_0x89ef7b[_0x367f31([0x6f,0x66,0x66])]());});}))];return window[_0x367f31([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x367f31([0x72,0x61,0x63,0x65])](_0x5a9c04)[_0x367f31([0x74,0x68,0x65,0x6e])](()=>_0x382528);}async function _0x5d2afc(){await _0x2fdd76,_0x2b73be[_0x367f31([0x6d,0x6f,0x64,0x65,0x6c])][_0x367f31([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x531120,_0x2b73be[_0x367f31([0x6d,0x6f,0x64,0x65,0x6c])][_0x367f31([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x531120,_0x2b73be[_0x367f31([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x367f31([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x5421fb(_0x14a0c7){const _0x27c62a=_0x63bf13();_0x2b73be[_0x27c62a]=_0x367f31([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x14a0c7,_0x14a0c7!=_0x367f31([0x56,0x61,0x6c,0x69,0x64])&&_0x5d2afc();}function _0x63bf13(){const _0x32bf47=window[_0x367f31([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x367f31([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x367f31([0x6e,0x6f,0x77])]())[_0x367f31([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x367f31([0x2e]),'');let _0x2dda28=_0x367f31([0x73]);for(let _0x3d75ff=0x0;_0x3d75ff<_0x32bf47[_0x367f31([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3d75ff+=0x2){let _0x309d09=window[_0x367f31([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x32bf47[_0x367f31([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3d75ff,_0x3d75ff+0x2));_0x309d09>=_0xd3df48[_0x367f31([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x309d09-=_0xd3df48[_0x367f31([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2dda28+=_0xd3df48[_0x309d09];}return _0x2dda28;}function _0x499299(){const _0x37f22d=_0x420e51[_0x367f31([0x73,0x70,0x6c,0x69,0x74])](_0x367f31([0x2e]));if(0x3!=_0x37f22d[_0x367f31([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x54fc92(_0x37f22d[0x1]);function _0x54fc92(_0xb1c74e){const _0x537931=_0x405544(_0xb1c74e);return _0x537931&&_0x3051be()?_0x537931:null;function _0x3051be(){const _0x12ea0d=_0x537931[_0x367f31([0x6a,0x74,0x69])],_0x4af164=window[_0x367f31([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x12ea0d[_0x367f31([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x12ea0d[_0x367f31([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2ccdcc={..._0x537931,[_0x367f31([0x6a,0x74,0x69])]:_0x12ea0d[_0x367f31([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x12ea0d[_0x367f31([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2ccdcc[_0x367f31([0x76,0x63])],_0x338e56(_0x2ccdcc)==_0x4af164;}}}async function _0x3b0bdb(){let _0x1c0707=!0x0;try{const _0x92b264=_0x420e51[_0x367f31([0x73,0x70,0x6c,0x69,0x74])](_0x367f31([0x2e])),[_0x2f03af,_0x4ac43f,_0xab735a]=_0x92b264;return _0x36c19f(_0x2f03af),await _0x16b454(_0x2f03af,_0x4ac43f,_0xab735a),_0x1c0707;}catch(_0x3190b0){return!0x1;}function _0x36c19f(_0x11000b){const _0xbaa687=_0x405544(_0x11000b);_0xbaa687&&_0xbaa687[_0x367f31([0x61,0x6c,0x67])]==_0x367f31([0x45,0x53,0x32,0x35,0x36])||(_0x1c0707=!0x1);}async function _0x16b454(_0x41f4d8,_0x1a4c3a,_0x50b780){const _0x29fd3f=window[_0x367f31([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x367f31([0x66,0x72,0x6f,0x6d])](_0x4b25b0(_0x50b780),_0x4166c6=>_0x4166c6[_0x367f31([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2ffaaf=new window[(_0x367f31([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x367f31([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x41f4d8+_0x367f31([0x2e])+_0x1a4c3a),_0x569dba=window[_0x367f31([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x367f31([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x569dba)return;const _0x2259ce=await _0x569dba[_0x367f31([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x367f31([0x6a,0x77,0x6b]),_0x5da162,{[_0x367f31([0x6e,0x61,0x6d,0x65])]:_0x367f31([0x45,0x43,0x44,0x53,0x41]),[_0x367f31([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x367f31([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x367f31([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x569dba[_0x367f31([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x367f31([0x6e,0x61,0x6d,0x65])]:_0x367f31([0x45,0x43,0x44,0x53,0x41]),[_0x367f31([0x68,0x61,0x73,0x68])]:{[_0x367f31([0x6e,0x61,0x6d,0x65])]:_0x367f31([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x2259ce,_0x29fd3f,_0x2ffaaf)||(_0x1c0707=!0x1);}}function _0x405544(_0x5ad30b){return _0x5ad30b[_0x367f31([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x367f31([0x65,0x79]))?JSON[_0x367f31([0x70,0x61,0x72,0x73,0x65])](_0x4b25b0(_0x5ad30b)):null;}function _0x4b25b0(_0x3ba1c4){return window[_0x367f31([0x61,0x74,0x6f,0x62])](_0x3ba1c4[_0x367f31([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x367f31([0x2b]))[_0x367f31([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x367f31([0x2f])));}function _0x338e56(_0x45eca9){let _0x82fd8=0x1505;function _0x3575b2(_0x2992db){for(let _0x2f94ae=0x0;_0x2f94ae<_0x2992db[_0x367f31([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2f94ae++){const _0x22e0b3=_0x2992db[_0x367f31([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2f94ae);_0x82fd8=(_0x82fd8<<0x5)+_0x82fd8+_0x22e0b3,_0x82fd8&=_0x82fd8;}}function _0x311b60(_0x2e55df){Array[_0x367f31([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2e55df)?_0x2e55df[_0x367f31([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x311b60):_0x2e55df&&typeof _0x2e55df==_0x367f31([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x367f31([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2e55df)[_0x367f31([0x73,0x6f,0x72,0x74])]()[_0x367f31([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5bec34,_0x34ec5e])=>{_0x3575b2(_0x5bec34),_0x311b60(_0x34ec5e);}):_0x3575b2(window[_0x367f31([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2e55df));}return _0x311b60(_0x45eca9),_0x82fd8>>>0x0;}function _0x16715b(_0x5b4ee1){return _0x5b4ee1[_0x367f31([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x367f31([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x367f31([0x30]));}function _0x12c65d(_0x241969){return _0x241969[_0x367f31([0x73,0x70,0x6c,0x69,0x74])]('')[_0x367f31([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x367f31([0x6a,0x6f,0x69,0x6e])]('');}function _0x531120(){}function _0x367f31(_0x5312c1){return _0x5312c1['map'](_0x506604=>String['fromCharCode'](_0x506604))['join']('');}_0x5421fb(await _0x2ad11a());}(this);}['_initSchema'](){const _0x171ab3=this['editor']['model']['schema'];_0x171ab3['isRegistered']('imageBlock')&&_0x171ab3['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x171ab3['isRegistered']('imageInline')&&_0x171ab3['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0xabc387=this['editor'];_0xabc387['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0xabc387['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x2bbd61=>_0x2bbd61['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x321d4a=_0xabc387['commands']['get']('replaceImageSource');_0x321d4a&&this['listenTo'](_0x321d4a,'cleanupImage',(_0x592999,[_0xc05dc,_0x39d055])=>{_0xc05dc['removeAttribute']('uploadcareImageId',_0x39d055);});}['_initConfig'](){const _0x4e0d30=this['editor']['config']['get']('uploadcare.uploader')||{},_0x52e609=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x46c0b5(_0x16489b['document'],'uc-config',{..._0x4e0d30,'pubkey':_0x52e609,'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']=_0xd000da=>{if('closeMax'==_0xd000da)return'#uc-icon-arrow-down';},_0x16489b['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x46c0b5(_0x16489b['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader'}),_0x16489b['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x3314f8=this['editor']['commands']['get']('insertImage');_0x3314f8&&this['listenTo'](_0x3314f8,'execute',()=>{const _0x17ce13=this['editor']['model']['document']['selection']['getSelectedElement']();_0x17ce13&&_0x17ce13['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{m(this['editor'],_0x17ce13);});});const _0x528330=this['editor']['commands']['get']('uploadcareImageReplace');_0x528330&&this['listenTo'](_0x528330,'execute',()=>{const _0x3b2764=this['editor']['model']['document']['selection']['getSelectedElement']();_0x3b2764&&_0x3b2764['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{m(this['editor'],_0x3b2764);});});}}class u extends _0x1cb5d0{static get['requires'](){return[i,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x10f8fd){super(_0x10f8fd),_0x10f8fd['config']['define']('uploadcare.uploader.sourceList',[o['Local'],o['URL']]),_0x835f8a['defineComponents'](_0x835f8a);}}class ta extends _0x4f4142{constructor(_0x328f28){super(_0x328f28);const t=_0x328f28['t'],_0x5dead9=this['bindTemplate'],_0x52892d=new _0x329d58();_0x52892d['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':[_0x52892d,{'text':_0x5dead9['to']('imageUploadProgress',_0x7a2e6d=>t('Loading\x20image...')+'\x20('+(_0x7a2e6d||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 _0x4f4142{constructor(_0x41f1b2){super(_0x41f1b2);const t=_0x41f1b2['t'];this['set']('errorType',null);const _0x13a09f=new _0x338b64(_0x41f1b2);_0x13a09f['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x13a09f['withText']=!0x0,_0x13a09f['class']='ck-button-action',_0x13a09f['on']('execute',()=>{this['fire']('retry');}),_0x13a09f['bind']('isVisible')['to'](this,'errorType',_0x3feab3=>'NotFound'!==_0x3feab3);const _0x2f3432=new at();_0x2f3432['content']=et,_0x2f3432['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x1fd5a3=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':[_0x2f3432,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x1fd5a3['to']('errorType',_0x16ba36=>t('NotFound'!==_0x16ba36?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x13a09f]},{'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 _0x4f4142{constructor(_0x54e319,_0x23dfcd){super(_0x54e319);const _0x5d4434=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x23dfcd,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x5d4434['to']('imageSrc')}});}}class Z extends q{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x5bbad1,_0x177f2f,_0x26e66f){super(_0x5bbad1),this['_items']=this['createCollection'](),this['_loadingView']=new ta(_0x5bbad1),this['_errorView']=new rt(_0x5bbad1),this['_editingView']=new tt(_0x5bbad1,_0x26e66f),this['_focusableView']=new _0x4f4142(_0x5bbad1),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x177f2f),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'],_0x22dc68=>{this['_addUploadcareImageEditorListeners'](_0x22dc68);});}),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'](_0x466423,_0x16d6fa){const _0x4b3487='uc-cloud-image-editor',_0x5dd5f0=_0x466423['querySelector'](_0x4b3487);if(_0x5dd5f0)return _0x16d6fa(_0x5dd5f0);const _0x40dfb9=new MutationObserver(_0x4a1928=>{const _0xf28eec=_0x4a1928['filter'](_0x4eafd0=>_0x4eafd0['target']===_0x466423&&_0x4eafd0['addedNodes']['length']>0x0&&_0x4eafd0['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x4b3487);_0xf28eec['length']&&(_0x40dfb9['disconnect'](),_0x16d6fa(_0xf28eec[0x0]['addedNodes'][0x0]));});_0x40dfb9['observe'](_0x466423,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x3a84de){_0x3a84de['addEventListener']('apply',_0x4057d9=>{this['fire']('apply',{'imageSrc':_0x4057d9['detail']['cdnUrl']});}),_0x3a84de['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class z extends/* #__PURE__ -- @preserve */
25
- _0x158fd3(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x495994,_0x22027e,_0x103ae8){super(),this['_editor']=_0x495994,this['_dialog']=_0x22027e,this['_imageElement']=_0x103ae8,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 _0x2d1627=this['_imageElement'],_0x2e696c=_0x2d1627['getAttribute']('uploadcareImageId'),_0x3ee18f=_0x2d1627['getAttribute']('src');if(_0x2e696c)await this['_loadImageInfo'](_0x2e696c,_0x3ee18f);else{if(this['_imageCache']['has'](_0x3ee18f)){const _0x19d79d=this['_imageCache']['get'](_0x3ee18f);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x19d79d['url'],this['imageDimension']=_0x19d79d['dimension'],this['imageId']=_0x19d79d['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x45d105}=this['_editor'],t=_0x45d105['t'],_0x25afa6=new Z(_0x45d105,this['imageStatus'],this['_attributes']);_0x25afa6['bind']('status')['to'](this,'imageStatus'),_0x25afa6['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x25afa6['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x25afa6['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x25afa6,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x392f09,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x25afa6,'position':_0x364bae['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x25afa6['focus']();},'onHide':()=>{_0x25afa6['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x58a140=>!F(_0x58a140,_0x25afa6['element'])}});}['_loadImageInfo'](_0x46e3a5,_0x1240a0){return C['getInfo'](_0x46e3a5,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x1df638=>{const {width:_0x2ca449,height:_0x365930}=_0x1df638['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x1240a0,this['imageDimension']={'width':_0x2ca449,'height':_0x365930},this['imageId']=_0x46e3a5;})['catch'](_0x46c728=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x46c728['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x3b05ec,_0x15fade){return this['_getImageAsFile'](_0x3b05ec)['then'](_0x3ed928=>C['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x15fade['signal'],'file':_0x3ed928,'onProgress':_0x32bd61=>{_0x32bd61&&_0x32bd61['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x32bd61['value']));}}))['then'](_0x23a310=>{const {width:_0x4c7b56,height:_0x11aecd}=_0x23a310['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x23a310['cdnUrl'],this['imageDimension']={'width':_0x4c7b56,'height':_0x11aecd},this['imageId']=_0x23a310['uuid'],this['imageUploadProgress']=null;const _0x562a68=_0x3b05ec['getAttribute']('src');this['_imageCache']['set'](_0x562a68,{'id':_0x23a310['uuid'],'url':_0x23a310['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x1dca0d=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x1dca0d['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x2009e5,_0x3f6e9c){_0x2009e5['on']('apply',(_0x4ca5a6,_0x1461e4)=>{this['_replaceImage'](_0x3f6e9c,_0x1461e4['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x2009e5['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x2009e5['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x371bd4,_0x54522b,_0x3f41ad){const _0x334277=this['_editor'],{width:_0x5d1e59,height:_0x155367}=A(_0x54522b,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x594ca0,imageSources:_0x213dad}=E(_0x54522b,_0x5d1e59);_0x334277['model']['change'](_0x2a1918=>{if('$graveyard'===_0x371bd4['root']['rootName']){_0x334277['execute']('insertImage',{'imageType':_0x371bd4['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x371bd4['getAttributes']()),'uploadcareImageId':_0x3f41ad,'src':_0x594ca0,'sources':_0x213dad,'width':_0x5d1e59,'height':_0x155367}});const _0x7106ec=_0x371bd4['getChildren']();_0x371bd4=_0x334277['model']['document']['selection']['getSelectedElement']();for(const _0x322385 of _0x7106ec)_0x2a1918['append'](_0x2a1918['cloneElement'](_0x322385),_0x371bd4);}else _0x2a1918['setSelection'](_0x371bd4,'on'),_0x334277['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x371bd4['getAttributes']()),'uploadcareImageId':_0x3f41ad,'src':_0x594ca0,'sources':_0x213dad,'width':_0x5d1e59,'height':_0x155367},_0x371bd4);_0x2a1918['setSelection'](_0x371bd4,'on');});}async['_getImageAsFile'](_0x3d8ba1){const _0x3908ca=_0x16489b['window'],_0x1f4b2e=_0x16489b['document']['location']['href'],_0x227775=new _0x3908ca['URL'](_0x3d8ba1['getAttribute']('src'),_0x1f4b2e);if('data:'===_0x227775['protocol']){const _0x4d297a=_0x227775['href']['split'](','),_0xcea915=_0x4d297a[0x0]['match'](/:(.*?);/)[0x1],_0x2d7fca=_0xcea915['split']('/')[0x1],_0x157ce2=_0x3908ca['atob'](_0x4d297a[_0x4d297a['length']-0x1]);let _0x30e116=_0x157ce2['length'];const _0x246fe6=new _0x3908ca['Uint8Array'](_0x30e116);for(;_0x30e116--;)_0x246fe6[_0x30e116]=_0x157ce2['charCodeAt'](_0x30e116);return new _0x3908ca['File']([_0x246fe6],'image.'+_0x2d7fca,{'type':_0xcea915});}const _0x17145c=_0x227775['href']['split']('/'),_0x178454=_0x17145c[_0x17145c['length']-0x1],_0x46ed44=_0x178454['split']('.')[0x1];return _0x3908ca['fetch'](_0x227775['href'])['then'](_0x1e5778=>_0x1e5778['clone']()['blob']())['then'](_0x451e2b=>new _0x3908ca['File']([_0x451e2b],_0x178454,{'type':'image/'+_0x46ed44}));}}class J extends _0xbb17{['imageEditController'];static get['requires'](){return[_0x18701d];}['_isEditable'];constructor(_0x1c8615){super(_0x1c8615),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x16dd89){const _0x51182d=V(_0x16dd89);return _0x19a995=>!(!_0x19a995||!_0x19a995['is']('element','imageBlock')&&!_0x19a995['is']('element','imageInline'))&&(!!_0x19a995['hasAttribute']('uploadcareImageId')||!!_0x19a995['hasAttribute']('src')&&_0x51182d(_0x19a995['getAttribute']('src')));}(_0x1c8615['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x33aaa9=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x33aaa9);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x2f3ee9=this['editor']['model']['document']['selection']['getSelectedElement']();_0x2f3ee9&&(_0x2f3ee9['is']('element','imageBlock')||_0x2f3ee9['is']('element','imageInline'))&&(this['imageEditController']=new z(this['editor'],this['editor']['plugins']['get'](_0x18701d),_0x2f3ee9),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class O extends _0xbb17{['refresh'](){const _0x4c62fa=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x4c62fa&&(_0x4c62fa['is']('element','imageBlock')||_0x4c62fa['is']('element','imageInline')));}['execute'](_0x21b886){const _0x1507e8=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x559b8c=>{_0x559b8c['setAttributes'](_0x21b886,_0x1507e8),_0x559b8c['removeAttribute']('srcset',_0x1507e8),_0x559b8c['removeAttribute']('sizes',_0x1507e8);});}}class g extends _0x1cb5d0{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[i,_0x108f0c,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x3bc9dc}=this;_0x3bc9dc['commands']['add']('uploadcareImageEdit',new J(_0x3bc9dc)),_0x3bc9dc['commands']['add']('uploadcareImageReplace',new O(_0x3bc9dc));}}class j extends _0x1cb5d0{['_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 _0x440b5e=this['editor'];_0x440b5e['ui']['componentFactory']['add']('uploadcareImageEdit',_0x2cb560=>{const _0x4c18ce=_0x440b5e['commands']['get']('uploadcareImageEdit'),_0x28f0a2=new _0x338b64(_0x2cb560),t=_0x2cb560['t'];return _0x28f0a2['set']({'icon':_0x392f09,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x28f0a2['bind']('isEnabled')['to'](_0x4c18ce),_0x28f0a2['bind']('isOn')['to'](_0x4c18ce,'isActive'),this['listenTo'](_0x28f0a2,'execute',()=>{_0x440b5e['execute']('uploadcareImageEdit'),_0x440b5e['editing']['view']['focus']();}),_0x28f0a2;}),this['_initConfig']();}['_initConfig'](){const _0xb766d2=_0x46c0b5(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0xb766d2),this['listenTo'](this['editor'],'destroy',()=>{_0xb766d2['remove']();});}}class P extends _0x1cb5d0{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 _0x59d162,Command as _0x55f1cb}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x216cdc,IconGooglePhotos as _0x4e63b7,IconGoogleDrive as _0x5e7103,IconFacebook as _0x425bba,IconDropbox as _0x182b5d,IconUploadcareLink as _0x1c6f72,IconUploadcareImageUpload as _0x68a2a1,IconError as et,IconUploadcareImageEdit as _0x36968c}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x10cfa6,MenuBarMenuListItemButtonView as _0x48f716,View as _0x3fbb26,FocusCycler as _0x14e008,Dialog as _0x226c12,DialogViewPosition as _0x51aa36,SpinnerView as _0x5348a4,IconView as at,Notification as _0x38c984}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x3fa8ce,DomEmitterMixin as _0x1085a4,global as _0x4be2a6,getAncestors as _0x370121,ObservableMixin as _0x3a19db,createElement as _0x424864,uid as _0xc4985e}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x39f766}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x19747f,info as _0x36d0c1}from'@uploadcare/upload-client';import*as _0x237972 from'@uploadcare/file-uploader';var o=function(_0x2efa27){return _0x2efa27['Local']='local',_0x2efa27['URL']='url',_0x2efa27['Dropbox']='dropbox',_0x2efa27['GDrive']='gdrive',_0x2efa27['Facebook']='facebook',_0x2efa27['GPhotos']='gphotos',_0x2efa27['OneDrive']='onedrive',_0x2efa27;}({});function _(_0xda515e,_0x5b6ef2,_0x5e1a5a){const t=_0xda515e['t'],_0xcf9a79=_0xda515e['t'];switch(_0x5b6ef2){case o['Local']:return{'text':_0xcf9a79('Insert'===_0x5e1a5a?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0xcf9a79('From\x20computer')};case o['URL']:return{'text':'Insert'===_0x5e1a5a?_0xcf9a79('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0xcf9a79('Via\x20URL')};case o['Dropbox']:return{'text':t('Insert'===_0x5e1a5a?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case o['Facebook']:return{'text':t('Insert'===_0x5e1a5a?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case o['GDrive']:return{'text':t('Insert'===_0x5e1a5a?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case o['GPhotos']:return{'text':t('Insert'===_0x5e1a5a?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case o['OneDrive']:return{'text':t('Insert'===_0x5e1a5a?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x5b6ef2;}}class e extends _0x59d162{['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 _0x4b5551=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x1150b7;for(const _0x314968 in _0x4b5551){const _0x1b2233=_0x314968,_0x14d6ed=_0x4b5551[_0x1b2233];if('uploadcareLicenseKeyValid'==_0x14d6ed||'uploadcareLicenseKeyInvalid'==_0x14d6ed||'uploadcareLicenseKeyExpired'==_0x14d6ed||'uploadcareLicenseKeyDomainLimit'==_0x14d6ed||'uploadcareLicenseKeyNotAllowed'==_0x14d6ed||'uploadcareLicenseKeyEvaluationLimit'==_0x14d6ed||'uploadcareLicenseKeyTrialLimit'==_0x14d6ed||'uploadcareLicenseKeyUsageLimit'==_0x14d6ed){delete _0x4b5551[_0x1b2233],_0x1150b7=_0x14d6ed,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x1150b7&&_0x4b5551['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x1150b7&&_0x4b5551['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x1150b7&&_0x4b5551['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x1150b7&&_0x4b5551['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x1150b7&&_0x4b5551['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0x1150b7&&_0x4b5551['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0x1150b7&&_0x4b5551['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x50c4e9}=this,_0x5cdb54=_0x50c4e9['commands']['get']('uploadcare');if(!_0x5cdb54)return;const _0x1c6ea3=this['_normalizeConfigSourceList'](_0x50c4e9['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x51d29b,_0x94038c)=>{const _0x58345e=this['_getIntegrationKey'](_0x94038c['type']);return _0x51d29b[_0x58345e]||(_0x51d29b[_0x58345e]=[]),_0x51d29b[_0x58345e]['push'](_0x94038c),_0x51d29b;},{});_0x50c4e9['plugins']['has']('ImageInsertUI')&&_0x50c4e9['commands']['get']('uploadcare')&&Object['entries'](_0x1c6ea3)['forEach'](([_0x29c6cd,_0x12ade1])=>{_0x50c4e9['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x29c6cd,'observable':()=>_0x5cdb54,'buttonViewCreator':()=>this['_createToolbarButton'](_0x12ade1),'formViewCreator':()=>this['_createDropdownButtons'](_0x12ade1),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x12ade1),'override':'assetManager'!==_0x29c6cd});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x7cb381){const {locale:_0x1d0331}=this['editor'];return _0x7cb381['map'](_0xfee56c=>{const _0x23c527=_(_0x1d0331,_0xfee56c,'Insert');switch(_0xfee56c){case o['Local']:return{'icon':_0x68a2a1,'type':o['Local'],..._0x23c527};case o['URL']:return{'icon':_0x1c6f72,'type':o['URL'],..._0x23c527};case o['Dropbox']:return{'icon':_0x182b5d,'type':o['Dropbox'],..._0x23c527};case o['Facebook']:return{'icon':_0x425bba,'type':o['Facebook'],..._0x23c527};case o['GDrive']:return{'icon':_0x5e7103,'type':o['GDrive'],..._0x23c527};case o['GPhotos']:return{'icon':_0x4e63b7,'type':o['GPhotos'],..._0x23c527};case o['OneDrive']:return{'icon':_0x216cdc,'type':o['OneDrive'],..._0x23c527};}});}['_getIntegrationKey'](_0x45a4f5){switch(_0x45a4f5){case o['Local']:return'upload';case o['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x1a041e,_0x2a8a66){const _0x40bcb0=this['editor'],_0x328c76=new _0x1a041e(_0x40bcb0['locale']),_0x28c0c2=_0x40bcb0['commands']['get']('uploadcare');return _0x328c76['bind']('isEnabled')['to'](_0x28c0c2),_0x328c76['on']('execute',()=>{_0x28c0c2['execute'](_0x2a8a66);}),_0x328c76;}['_createToolbarButton'](_0x3643aa){const {locale:_0x511c83}=this['editor'],_0x2a35d1=this['editor']['plugins']['get']('ImageInsertUI'),_0x58010a=_0x3643aa[0x0],_0x45ed3d=this['_createButton'](_0x10cfa6,_0x58010a['type']);return _0x45ed3d['icon']=_0x58010a['icon'],_0x45ed3d['bind']('label')['to'](_0x2a35d1,'isImageSelected',_0x400e85=>_(_0x511c83,_0x58010a['type'],_0x400e85?'Replace':'Insert')['text']),_0x45ed3d['tooltip']=!0x0,_0x45ed3d;}['_createDropdownButtons'](_0x43b2cc){const {locale:_0x1407bf}=this['editor'],_0x418972=this['editor']['plugins']['get']('ImageInsertUI');return _0x43b2cc['map'](_0x4609ef=>{const _0x38f108=this['_createButton'](_0x10cfa6,_0x4609ef['type']);return _0x38f108['withText']=!0x0,_0x38f108['icon']=_0x4609ef['icon'],_0x38f108['bind']('label')['to'](_0x418972,'isImageSelected',_0x151fe1=>_(_0x1407bf,_0x4609ef['type'],_0x151fe1?'Replace':'Insert')['text']),_0x38f108;});}['_createMenuBarButtons'](_0x3f08bd){return _0x3f08bd['map'](_0x193774=>{const _0x437fd1=this['_createButton'](_0x48f716,_0x193774['type']);return _0x437fd1['icon']=_0x193774['icon'],_0x437fd1['label']=_0x193774['shortText'],_0x437fd1;});}}class q extends _0x3fbb26{['focusTracker'];['focusCycler'];constructor(_0x1d821d){super(_0x1d821d),this['focusTracker']=new _0x3fa8ce(),this['focusCycler']=new _0x14e008({'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(_0xa70ebf){super(_0xa70ebf),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(_0x2d96e1,_0x37651d){const _0x55a65e=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x54bca9=>_0x54bca9<=_0x37651d)['map'](_0x4f81e9=>_0x2d96e1['replace'](/\/$/,'')+'/-/resize/'+_0x4f81e9+'x/\x20'+_0x4f81e9+'w');return{'imageFallbackUrl':_0x2d96e1,'imageSources':[{'srcset':_0x55a65e['join'](',\x20'),'sizes':'(max-width:\x20'+_0x37651d+'px)\x20100vw,\x20'+_0x37651d+'px','type':'image/webp'}]};}function A(_0x33d18c,_0x70ad89,_0x5c2608){const _0x139057=_0x33d18c['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x139057?parseInt(_0x139057[0x1],0xa):_0x70ad89,'height':_0x139057?parseInt(_0x139057[0x2],0xa):_0x5c2608};}function m(_0x15eb46,_0xc7d6bb){const _0x5a1834=Object['create'](_0x1085a4),_0x574c25=_0x15eb46['plugins']['get']('ImageUtils'),_0x5e57c1=_0x15eb46['editing']['mapper']['toViewElement'](_0xc7d6bb),_0x5d9b4f=_0x574c25['findViewImgElement'](_0x5e57c1),_0x5e7597=_0x15eb46['editing']['view']['domConverter']['viewToDom'](_0x5d9b4f),_0x1b6fd6=_0xc7d6bb['getAttribute']('width'),_0x4b53ea=_0xc7d6bb['getAttribute']('height'),_0x55a935='image-processing';_0x15eb46['editing']['view']['change'](_0x2662e3=>{_0x2662e3['addClass'](_0x55a935,_0x5e57c1),_0x2662e3['setStyle']('aspect-ratio',_0x1b6fd6+'/'+_0x4b53ea,_0x5d9b4f);}),_0x5a1834['listenTo'](_0x5e7597,'load',()=>{_0x5a1834['stopListening'](_0x5e7597,'load'),_0x15eb46['editing']['view']['change'](_0x5d6801=>{_0x5d6801['removeClass'](_0x55a935,_0x5e57c1),_0x5d6801['removeStyle']('aspect-ratio',_0x5d9b4f);});});}function V(_0x31dc3b){if(Array['isArray'](_0x31dc3b)){const _0xb5561=_0x31dc3b['map'](V);return _0x4c8556=>_0xb5561['some'](_0x19bff9=>_0x19bff9(_0x4c8556));}if('origin'==_0x31dc3b){const _0x5bf775=_0x4be2a6['window']['location']['origin'];return _0xa77b88=>new URL(_0xa77b88,_0x4be2a6['document']['baseURI'])['origin']==_0x5bf775;}return'function'==typeof _0x31dc3b?_0x31dc3b:_0x31dc3b instanceof RegExp?_0x314e02=>!(!_0x314e02['match'](_0x31dc3b)&&!_0x314e02['replace'](/^https?:\/\//,'')['match'](_0x31dc3b)):()=>!0x1;}function F(_0x1b0219,_0x7b50d2){return _0x370121(_0x1b0219['target'])['includes'](_0x7b50d2);}class l extends/* #__PURE__ -- @preserve */
24
+ _0x3a19db(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x4619a9,_0x360027,_0x3bd607){super(),this['_editor']=_0x4619a9,this['_editing']=_0x360027,this['_dialog']=_0x4619a9['plugins']['get'](_0x226c12),this['_api']=_0x360027['ctxElement']['getAPI'](),this['_type']=_0x3bd607,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:_0x4bc9fc,model:_0x11b10d}=this['_editor'],_0x5d5fc2=_0x11b10d['document']['selection']['getSelectedElement'](),_0xb46768=_0x5d5fc2&&(_0x5d5fc2['is']('element','imageBlock')||_0x5d5fc2['is']('element','imageInline'));this['_formView']=new S(_0x4bc9fc),this['_dialog']['show']({'id':'uploadCare','icon':_0x68a2a1,'title':_(_0x4bc9fc,this['_type'],_0xb46768?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x51aa36['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0xb24101=>!F(_0xb24101,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x10b3a2}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x5b6cad=>{const _0x426f66=_0x10b3a2['length'];for(const _0x37eb4f of _0x10b3a2){const _0x1fab1e=_0x37eb4f===_0x10b3a2[_0x426f66-0x1],{cdnUrl:_0x43e838,fileInfo:_0x362193}=_0x37eb4f;if(!_0x43e838||!_0x362193)continue;const {width:_0x5ca3ab,height:_0x3d77df}=_0x362193['imageInfo'],_0x1b4cee=A(_0x43e838,_0x5ca3ab,_0x3d77df),_0x1494e9=E(_0x43e838,_0x1b4cee['width']),_0x14997e={'id':_0x362193['uuid'],'type':'image','attributes':{'imageDimension':_0x1b4cee,..._0x1494e9}};this['_insertAsset'](_0x14997e,_0x1fab1e,_0x5b6cad);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x1bb383=>{'idle'===_0x1bb383['detail']['status']&&!_0x1bb383['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===o['Local']?this['_api']['setCurrentActivity'](o['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x2ea049,_0x4626b7,_0x2f5174){const _0x1077f4=this['_editor']['model']['document']['selection'],_0x41d0e9=_0x1077f4['getSelectedElement'](),_0x1b5e5d=!(!_0x41d0e9||!_0x41d0e9['is']('element','imageInline'));_0x2f5174['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x2ea049,_0x1b5e5d),_0x4626b7||_0x2f5174['setSelection'](_0x1077f4['getLastPosition']());}['_insertImage'](_0x63a80,_0x51cbac){const _0x1c55ab=this['_editor'],{imageDimension:_0x364e33,imageFallbackUrl:_0x32185c,imageSources:_0x756629}=_0x63a80['attributes'];_0x1c55ab['execute']('insertImage',{'imageType':_0x51cbac?'imageInline':null,'source':{'uploadcareImageId':_0x63a80['id'],'src':_0x32185c,'sources':_0x756629,..._0x364e33}});}}class n extends _0x55f1cb{['_editing'];['_controller']=null;static get['requires'](){return[_0x226c12,i];}constructor(_0x1d53a5){super(_0x1d53a5),this['_editing']=_0x1d53a5['plugins']['get'](i);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x33caa2){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new l(this['editor'],this['_editing'],_0x33caa2);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class C{static['upload']({file:_0x420d0f,publicKey:_0x46d903,signal:_0x46ccf7,onProgress:_0x58c49e}){return _0x19747f(_0x420d0f,{'publicKey':_0x46d903,'store':'auto','signal':_0x46ccf7,'onProgress':_0x58c49e});}static['getInfo'](_0x4f2bb0,_0x5d94a0){return _0x36d0c1(_0x4f2bb0,_0x5d94a0);}}class p extends _0x59d162{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x39f766,i];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x3da5ba=this['editor'];if(!!!_0x3da5ba['config']['get']('uploadcare'))return;_0x3da5ba['plugins']['get'](_0x39f766)['createUploadAdapter']=_0x3711f0=>new x(_0x3711f0,_0x3da5ba),_0x3da5ba['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0xc3f57d,{imageElement:_0x3d3e01,data:_0x5fc6f8})=>{_0x3da5ba['model']['change'](_0x85f155=>{_0x85f155['setAttribute']('uploadcareImageId',_0x5fc6f8['uploadcareImageId'],_0x3d3e01);});});}}class x{['loader'];['editor'];['controller'];constructor(_0x2fa150,_0x3f8b4a){this['loader']=_0x2fa150,this['editor']=_0x3f8b4a,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x2db846=this['editor']['config']['get']('uploadcare.pubkey'),_0x8c6779=await this['loader']['file'];return C['upload']({'file':_0x8c6779,'publicKey':_0x2db846,'signal':this['controller']['signal'],'onProgress':_0x38b2da=>{_0x38b2da&&_0x38b2da['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x38b2da['value']);}})['then'](async _0x17ed36=>{const {imageFallbackUrl:_0x3b8a93,imageSources:_0x1f5f2f}=E(_0x17ed36['cdnUrl'],_0x17ed36['imageInfo']['width']);return{'uploadcareImageId':_0x17ed36['uuid'],'default':_0x3b8a93,'sources':_0x1f5f2f};})['catch'](()=>{const _0x45f5b9=t('Cannot\x20upload\x20file:')+('\x20'+_0x8c6779['name']+'.');return Promise['reject'](_0x45f5b9);});}['abort'](){this['controller']['abort']();}}class i extends _0x59d162{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',p,_0x226c12];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}['init'](){const _0x17c4a6=this['editor'];_0x17c4a6['commands']['add']('uploadcare',new n(_0x17c4a6));}['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 _0x366f47=_0x4be2a6['document']['querySelector']('input[uploadcare-file-input]');_0x366f47&&_0x366f47['remove']();}),async function(_0x4f0e95){const _0x2a8fa8=_0x3f8f04([0x33,0x6f,0x4c,0x54,0x5a,0x72,0x70,0x71,0x37,0x32,0x76,0x34,0x6d,0x36,0x48,0x56,0x67,0x39,0x45,0x30,0x79,0x46,0x66,0x6e,0x68,0x35,0x58,0x51,0x62,0x38,0x63,0x65,0x4b,0x6c,0x75,0x6a,0x50,0x53,0x47,0x4f,0x61,0x69,0x49,0x42,0x74,0x64,0x31,0x78,0x4e,0x43,0x55,0x73,0x44,0x59,0x6b,0x7a,0x52,0x4a,0x57,0x41,0x77,0x4d]),_0x5ca92d=0x2ed59e89,_0x4aef45=0x2ed2fc91^_0x5ca92d,_0x5cf566=window[_0x3f8f04([0x44,0x61,0x74,0x65])][_0x3f8f04([0x6e,0x6f,0x77])](),_0xec8d57=_0x4f0e95[_0x3f8f04([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x24d4d8=new window[(_0x3f8f04([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x82726e=>{_0xec8d57[_0x3f8f04([0x6f,0x6e,0x63,0x65])](_0x3f8f04([0x72,0x65,0x61,0x64,0x79]),_0x82726e);}),_0x5081e9={[_0x3f8f04([0x6b,0x74,0x79])]:_0x3f8f04([0x45,0x43]),[_0x3f8f04([0x75,0x73,0x65])]:_0x3f8f04([0x73,0x69,0x67]),[_0x3f8f04([0x63,0x72,0x76])]:_0x3f8f04([0x50,0x2d,0x32,0x35,0x36]),[_0x3f8f04([0x78])]:_0x3f8f04([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]),[_0x3f8f04([0x79])]:_0x3f8f04([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]),[_0x3f8f04([0x61,0x6c,0x67])]:_0x3f8f04([0x45,0x53,0x32,0x35,0x36])},_0x34f513=_0xec8d57[_0x3f8f04([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3f8f04([0x67,0x65,0x74])](_0x3f8f04([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4ba10f(){let _0x42fa48,_0x34df97=null,_0xcd6876=null;try{if(_0x34f513==_0x3f8f04([0x47,0x50,0x4c]))return _0x3f8f04([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x42fa48=_0x12ba34(),!_0x42fa48)return _0x3f8f04([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x42fa48[_0x3f8f04([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0xcd6876=_0x2f3b1f(_0x42fa48[_0x3f8f04([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x42fa48[_0x3f8f04([0x6a,0x74,0x69])])),await _0x362b4d()?_0x37a460()?_0x59418a()?_0x3f8f04([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x5b4796()?(_0x42fa48[_0x3f8f04([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3f8f04([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x34df97=_0x5c4d30(_0x3f8f04([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x42fa48[_0x3f8f04([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3f8f04([0x74,0x72,0x69,0x61,0x6c])&&(_0x34df97=_0x5c4d30(_0x3f8f04([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x22a835()):_0x3f8f04([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3f8f04([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3f8f04([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x37ae03){return _0x3f8f04([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x59418a(){const _0x167cda=[_0x3f8f04([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3f8f04([0x74,0x72,0x69,0x61,0x6c])][_0x3f8f04([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x42fa48[_0x3f8f04([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x5cf566/0x3e8:0xe10*_0x4aef45;return _0x42fa48[_0x3f8f04([0x65,0x78,0x70])]<_0x167cda;}function _0x37a460(){const _0x3d90ad=_0x42fa48[_0x3f8f04([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x3d90ad&&(!!_0x3d90ad[_0x3f8f04([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3f8f04([0x2a]))||!!_0x3d90ad[_0x3f8f04([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3f8f04([0x55,0x50,0x4c,0x43])));}function _0x5b4796(){const _0x2d371e=_0x42fa48[_0x3f8f04([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x2d371e||0x0==_0x2d371e[_0x3f8f04([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x204c91}=new URL(window[_0x3f8f04([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x2d371e[_0x3f8f04([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x204c91))return!0x0;const _0x40e039=_0x204c91[_0x3f8f04([0x73,0x70,0x6c,0x69,0x74])](_0x3f8f04([0x2e]));return _0x2d371e[_0x3f8f04([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x453a9e=>_0x453a9e[_0x3f8f04([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3f8f04([0x2a])))[_0x3f8f04([0x6d,0x61,0x70])](_0x3048eb=>_0x3048eb[_0x3f8f04([0x73,0x70,0x6c,0x69,0x74])](_0x3f8f04([0x2e])))[_0x3f8f04([0x73,0x6f,0x6d,0x65])](_0x5e3308=>_0x40e039[_0x3f8f04([0x65,0x76,0x65,0x72,0x79])]((_0x3633a6,_0x53a2c9)=>_0x5e3308[_0x53a2c9]===_0x3633a6||_0x5e3308[_0x53a2c9]===_0x3f8f04([0x2a])));}function _0x22a835(){return _0x34df97&&_0xcd6876?new window[(_0x3f8f04([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x18f57c,_0x341c45)=>{_0x34df97[_0x3f8f04([0x74,0x68,0x65,0x6e])](_0x18f57c,_0x341c45),_0xcd6876[_0x3f8f04([0x74,0x68,0x65,0x6e])](_0x26c8e8=>{_0x26c8e8!=_0x3f8f04([0x56,0x61,0x6c,0x69,0x64])&&_0x18f57c(_0x26c8e8);},_0x341c45);}):_0x34df97||_0xcd6876||_0x3f8f04([0x56,0x61,0x6c,0x69,0x64]);}}function _0x2f3b1f(_0x4e0072,_0x5e4ae0){return new window[(_0x3f8f04([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x448f10=>{if(_0x2e6a2c())return _0x448f10(_0x3f8f04([0x56,0x61,0x6c,0x69,0x64]));_0x39dc2e(),_0xec8d57[_0x3f8f04([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3f8f04([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x507aa8=!0x1;const _0x15d55e=_0xc4985e();function _0x819d80(_0x548efb){return!!_0x548efb&&(typeof _0x548efb===_0x3f8f04([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x548efb===_0x3f8f04([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x548efb[_0x3f8f04([0x74,0x68,0x65,0x6e])]===_0x3f8f04([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x548efb[_0x3f8f04([0x63,0x61,0x74,0x63,0x68])]===_0x3f8f04([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x258907(_0x49df24){_0x160564(_0x49df24)[_0x3f8f04([0x74,0x68,0x65,0x6e])](_0x115188=>{if(!_0x115188||_0x115188[_0x3f8f04([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3f8f04([0x6f,0x6b]))return _0x3f8f04([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x500437(_0x546eaa(_0x15d55e+_0x5e4ae0))!=_0x115188[_0x3f8f04([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3f8f04([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3f8f04([0x56,0x61,0x6c,0x69,0x64]);})[_0x3f8f04([0x74,0x68,0x65,0x6e])](_0x4227c3=>(_0x3805a1(),_0x4227c3),()=>{const _0x724ed4=_0x4c52f3();return null==_0x724ed4?(_0x3805a1(),_0x3f8f04([0x56,0x61,0x6c,0x69,0x64])):_0x3f8f04(_0x5cf566-_0x724ed4>(0xad91a89^_0x5ca92d)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3f8f04([0x74,0x68,0x65,0x6e])](_0x448f10)[_0x3f8f04([0x63,0x61,0x74,0x63,0x68])](()=>{_0x448f10(_0x3f8f04([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1ab60f=0x2ee37009^_0x5ca92d;function _0x3805a1(){const _0x83566=_0x3f8f04([0x6c,0x6c,0x63,0x74,0x2d])+_0x500437(_0x546eaa(_0x4e0072)),_0x3b6f46=_0x184995(_0x500437(window[_0x3f8f04([0x4d,0x61,0x74,0x68])][_0x3f8f04([0x63,0x65,0x69,0x6c])](_0x5cf566/_0x1ab60f)));window[_0x3f8f04([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3f8f04([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x83566,_0x3b6f46);}function _0x4c52f3(){const _0x7ba9fe=_0x3f8f04([0x6c,0x6c,0x63,0x74,0x2d])+_0x500437(_0x546eaa(_0x4e0072)),_0x50c966=window[_0x3f8f04([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3f8f04([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x7ba9fe);return _0x50c966?window[_0x3f8f04([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x184995(_0x50c966),0x10)*_0x1ab60f:null;}function _0x160564(_0x82c61e){return new window[(_0x3f8f04([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x41bc82,_0x29f136)=>{_0x82c61e[_0x3f8f04([0x74,0x68,0x65,0x6e])](_0x41bc82,_0x29f136),window[_0x3f8f04([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x29f136,0x2ed44a49^_0x5ca92d);});}}_0xec8d57[_0x3f8f04([0x6f,0x6e])](_0x3f8f04([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0xd6796e,_0x3add41)=>{if(_0x3add41[0x0]!=_0x4e0072)return _0x448f10(_0x3f8f04([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3add41[0x1]={..._0x3add41[0x1],[_0x3f8f04([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x15d55e};},{[_0x3f8f04([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3f8f04([0x68,0x69,0x67,0x68])}),_0xec8d57[_0x3f8f04([0x6f,0x6e])](_0x3f8f04([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3f187a=>{_0x819d80(_0x3f187a[_0x3f8f04([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x507aa8=!0x0,_0x258907(_0x3f187a[_0x3f8f04([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3f8f04([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3f8f04([0x6c,0x6f,0x77])}),_0x24d4d8[_0x3f8f04([0x74,0x68,0x65,0x6e])](()=>{_0x507aa8||_0x448f10(_0x3f8f04([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2e6a2c(){return _0xec8d57[_0x3f8f04([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3f8f04([0x76,0x69,0x65,0x77])][_0x3f8f04([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3f8f04([0x61,0x75,0x74,0x6f]);}function _0x39dc2e(){_0xec8d57[_0x3f8f04([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3f8f04([0x76,0x69,0x65,0x77])][_0x3f8f04([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3f8f04([0x61,0x75,0x74,0x6f]);}}function _0x5c4d30(_0x49ee2e){const _0x2f844c=[new window[(_0x3f8f04([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x354084=>setTimeout(_0x354084,0x2edca045^_0x5ca92d)),_0x24d4d8[_0x3f8f04([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3f8f04([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2dd544=>{let _0x18c969=0x0;_0xec8d57[_0x3f8f04([0x6d,0x6f,0x64,0x65,0x6c])][_0x3f8f04([0x6f,0x6e])](_0x3f8f04([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1e30aa,_0x321ef7)=>{_0x321ef7[0x0][_0x3f8f04([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x18c969++,_0x18c969==(0x2ed59f71^_0x5ca92d)&&(_0x2dd544(),_0x1e30aa[_0x3f8f04([0x6f,0x66,0x66])]());});}))];return window[_0x3f8f04([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3f8f04([0x72,0x61,0x63,0x65])](_0x2f844c)[_0x3f8f04([0x74,0x68,0x65,0x6e])](()=>_0x49ee2e);}async function _0x2bb6ee(){await _0x24d4d8,_0xec8d57[_0x3f8f04([0x6d,0x6f,0x64,0x65,0x6c])][_0x3f8f04([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2db1ac,_0xec8d57[_0x3f8f04([0x6d,0x6f,0x64,0x65,0x6c])][_0x3f8f04([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2db1ac,_0xec8d57[_0x3f8f04([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3f8f04([0x6d,0x6f,0x64,0x65,0x6c]));}function _0xde6701(_0x4d0df9){const _0x3d4b5f=_0x12fdc1();_0xec8d57[_0x3d4b5f]=_0x3f8f04([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x4d0df9,_0x4d0df9!=_0x3f8f04([0x56,0x61,0x6c,0x69,0x64])&&_0x2bb6ee();}function _0x12fdc1(){const _0x23579a=window[_0x3f8f04([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3f8f04([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3f8f04([0x6e,0x6f,0x77])]())[_0x3f8f04([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3f8f04([0x2e]),'');let _0x28edbb=_0x3f8f04([0x6f]);for(let _0x4af8cc=0x0;_0x4af8cc<_0x23579a[_0x3f8f04([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4af8cc+=0x2){let _0x5c2b58=window[_0x3f8f04([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x23579a[_0x3f8f04([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4af8cc,_0x4af8cc+0x2));_0x5c2b58>=_0x2a8fa8[_0x3f8f04([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5c2b58-=_0x2a8fa8[_0x3f8f04([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x28edbb+=_0x2a8fa8[_0x5c2b58];}return _0x28edbb;}function _0x12ba34(){const _0x450980=_0x34f513[_0x3f8f04([0x73,0x70,0x6c,0x69,0x74])](_0x3f8f04([0x2e]));if(0x3!=_0x450980[_0x3f8f04([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x18341f(_0x450980[0x1]);function _0x18341f(_0x292990){const _0x279a57=_0x38272b(_0x292990);return _0x279a57&&_0x3d9a79()?_0x279a57:null;function _0x3d9a79(){const _0x34947d=_0x279a57[_0x3f8f04([0x6a,0x74,0x69])],_0x89232a=window[_0x3f8f04([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x34947d[_0x3f8f04([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x34947d[_0x3f8f04([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2dd319={..._0x279a57,[_0x3f8f04([0x6a,0x74,0x69])]:_0x34947d[_0x3f8f04([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x34947d[_0x3f8f04([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2dd319[_0x3f8f04([0x76,0x63])],_0x546eaa(_0x2dd319)==_0x89232a;}}}async function _0x362b4d(){let _0x4ff6d5=!0x0;try{const _0x441e42=_0x34f513[_0x3f8f04([0x73,0x70,0x6c,0x69,0x74])](_0x3f8f04([0x2e])),[_0x17a3c8,_0x334f17,_0xfa885c]=_0x441e42;return _0x14bc87(_0x17a3c8),await _0x12a2b5(_0x17a3c8,_0x334f17,_0xfa885c),_0x4ff6d5;}catch(_0x996dcb){return!0x1;}function _0x14bc87(_0x1a3cc9){const _0x468664=_0x38272b(_0x1a3cc9);_0x468664&&_0x468664[_0x3f8f04([0x61,0x6c,0x67])]==_0x3f8f04([0x45,0x53,0x32,0x35,0x36])||(_0x4ff6d5=!0x1);}async function _0x12a2b5(_0x5a81e7,_0xe3f7f7,_0x40d3c1){const _0x283d3d=window[_0x3f8f04([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3f8f04([0x66,0x72,0x6f,0x6d])](_0x2974d7(_0x40d3c1),_0x155e48=>_0x155e48[_0x3f8f04([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x70dcad=new window[(_0x3f8f04([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3f8f04([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x5a81e7+_0x3f8f04([0x2e])+_0xe3f7f7),_0x4e8744=window[_0x3f8f04([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3f8f04([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4e8744)return;const _0x47df71=await _0x4e8744[_0x3f8f04([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3f8f04([0x6a,0x77,0x6b]),_0x5081e9,{[_0x3f8f04([0x6e,0x61,0x6d,0x65])]:_0x3f8f04([0x45,0x43,0x44,0x53,0x41]),[_0x3f8f04([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3f8f04([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3f8f04([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4e8744[_0x3f8f04([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3f8f04([0x6e,0x61,0x6d,0x65])]:_0x3f8f04([0x45,0x43,0x44,0x53,0x41]),[_0x3f8f04([0x68,0x61,0x73,0x68])]:{[_0x3f8f04([0x6e,0x61,0x6d,0x65])]:_0x3f8f04([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x47df71,_0x283d3d,_0x70dcad)||(_0x4ff6d5=!0x1);}}function _0x38272b(_0xf1a25c){return _0xf1a25c[_0x3f8f04([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3f8f04([0x65,0x79]))?JSON[_0x3f8f04([0x70,0x61,0x72,0x73,0x65])](_0x2974d7(_0xf1a25c)):null;}function _0x2974d7(_0x5d273){return window[_0x3f8f04([0x61,0x74,0x6f,0x62])](_0x5d273[_0x3f8f04([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3f8f04([0x2b]))[_0x3f8f04([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3f8f04([0x2f])));}function _0x546eaa(_0x4a0d6f){let _0x238774=0x1505;function _0x47b386(_0x317783){for(let _0x3a9acc=0x0;_0x3a9acc<_0x317783[_0x3f8f04([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3a9acc++){const _0x31a8d1=_0x317783[_0x3f8f04([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x3a9acc);_0x238774=(_0x238774<<0x5)+_0x238774+_0x31a8d1,_0x238774&=_0x238774;}}function _0x5547ea(_0x1ea48d){Array[_0x3f8f04([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1ea48d)?_0x1ea48d[_0x3f8f04([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5547ea):_0x1ea48d&&typeof _0x1ea48d==_0x3f8f04([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3f8f04([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1ea48d)[_0x3f8f04([0x73,0x6f,0x72,0x74])]()[_0x3f8f04([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x128727,_0x370335])=>{_0x47b386(_0x128727),_0x5547ea(_0x370335);}):_0x47b386(window[_0x3f8f04([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1ea48d));}return _0x5547ea(_0x4a0d6f),_0x238774>>>0x0;}function _0x500437(_0x281615){return _0x281615[_0x3f8f04([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3f8f04([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3f8f04([0x30]));}function _0x184995(_0x420172){return _0x420172[_0x3f8f04([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3f8f04([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3f8f04([0x6a,0x6f,0x69,0x6e])]('');}function _0x2db1ac(){}function _0x3f8f04(_0x19cca4){return _0x19cca4['map'](_0x500742=>String['fromCharCode'](_0x500742))['join']('');}_0xde6701(await _0x4ba10f());}(this);}['_initSchema'](){const _0x4019ec=this['editor']['model']['schema'];_0x4019ec['isRegistered']('imageBlock')&&_0x4019ec['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x4019ec['isRegistered']('imageInline')&&_0x4019ec['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x5df40c=this['editor'];_0x5df40c['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x5df40c['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x5ee76c=>_0x5ee76c['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x316530=_0x5df40c['commands']['get']('replaceImageSource');_0x316530&&this['listenTo'](_0x316530,'cleanupImage',(_0x543871,[_0x38391f,_0x34d12f])=>{_0x38391f['removeAttribute']('uploadcareImageId',_0x34d12f);});}['_initConfig'](){const _0x3f346d=this['editor']['config']['get']('uploadcare.uploader')||{},_0x2aa5eb=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x424864(_0x4be2a6['document'],'uc-config',{..._0x3f346d,'pubkey':_0x2aa5eb,'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']=_0x14871f=>{if('closeMax'==_0x14871f)return'#uc-icon-arrow-down';},_0x4be2a6['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x424864(_0x4be2a6['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader'}),_0x4be2a6['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x42dc40=this['editor']['commands']['get']('insertImage');_0x42dc40&&this['listenTo'](_0x42dc40,'execute',()=>{const _0x16c2dc=this['editor']['model']['document']['selection']['getSelectedElement']();_0x16c2dc&&_0x16c2dc['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{m(this['editor'],_0x16c2dc);});});const _0x5953f1=this['editor']['commands']['get']('uploadcareImageReplace');_0x5953f1&&this['listenTo'](_0x5953f1,'execute',()=>{const _0x399b6c=this['editor']['model']['document']['selection']['getSelectedElement']();_0x399b6c&&_0x399b6c['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{m(this['editor'],_0x399b6c);});});}}class u extends _0x59d162{static get['requires'](){return[i,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x13901c){super(_0x13901c),_0x13901c['config']['define']('uploadcare.uploader.sourceList',[o['Local'],o['URL']]),_0x237972['defineComponents'](_0x237972);}}class ta extends _0x3fbb26{constructor(_0x5e45c1){super(_0x5e45c1);const t=_0x5e45c1['t'],_0x500700=this['bindTemplate'],_0x2f684c=new _0x5348a4();_0x2f684c['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':[_0x2f684c,{'text':_0x500700['to']('imageUploadProgress',_0x3732c9=>t('Loading\x20image...')+'\x20('+(_0x3732c9||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 _0x3fbb26{constructor(_0x2ee6eb){super(_0x2ee6eb);const t=_0x2ee6eb['t'];this['set']('errorType',null);const _0x3c133d=new _0x10cfa6(_0x2ee6eb);_0x3c133d['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x3c133d['withText']=!0x0,_0x3c133d['class']='ck-button-action',_0x3c133d['on']('execute',()=>{this['fire']('retry');}),_0x3c133d['bind']('isVisible')['to'](this,'errorType',_0xb0f8ca=>'NotFound'!==_0xb0f8ca);const _0x45db8f=new at();_0x45db8f['content']=et,_0x45db8f['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x386346=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':[_0x45db8f,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x386346['to']('errorType',_0x9b8b28=>t('NotFound'!==_0x9b8b28?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x3c133d]},{'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 _0x3fbb26{constructor(_0x24c147,_0x2ff6c3){super(_0x24c147);const _0x392030=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x2ff6c3,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x392030['to']('imageSrc')}});}}class Z extends q{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x170a7c,_0x88ec15,_0x4e10ca){super(_0x170a7c),this['_items']=this['createCollection'](),this['_loadingView']=new ta(_0x170a7c),this['_errorView']=new rt(_0x170a7c),this['_editingView']=new tt(_0x170a7c,_0x4e10ca),this['_focusableView']=new _0x3fbb26(_0x170a7c),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x88ec15),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'],_0x58543c=>{this['_addUploadcareImageEditorListeners'](_0x58543c);});}),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'](_0x303e61,_0x3a45a2){const _0x296a9e='uc-cloud-image-editor',_0x52bb46=_0x303e61['querySelector'](_0x296a9e);if(_0x52bb46)return _0x3a45a2(_0x52bb46);const _0x598bef=new MutationObserver(_0x38f6e3=>{const _0x3790f5=_0x38f6e3['filter'](_0x806df5=>_0x806df5['target']===_0x303e61&&_0x806df5['addedNodes']['length']>0x0&&_0x806df5['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x296a9e);_0x3790f5['length']&&(_0x598bef['disconnect'](),_0x3a45a2(_0x3790f5[0x0]['addedNodes'][0x0]));});_0x598bef['observe'](_0x303e61,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x2b87d6){_0x2b87d6['addEventListener']('apply',_0x12ea22=>{this['fire']('apply',{'imageSrc':_0x12ea22['detail']['cdnUrl']});}),_0x2b87d6['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class z extends/* #__PURE__ -- @preserve */
25
+ _0x3a19db(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x2dced9,_0x3fac91,_0x25f389){super(),this['_editor']=_0x2dced9,this['_dialog']=_0x3fac91,this['_imageElement']=_0x25f389,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 _0x5f4dab=this['_imageElement'],_0x4908b7=_0x5f4dab['getAttribute']('uploadcareImageId'),_0x53b16c=_0x5f4dab['getAttribute']('src');if(_0x4908b7)await this['_loadImageInfo'](_0x4908b7,_0x53b16c);else{if(this['_imageCache']['has'](_0x53b16c)){const _0x136b17=this['_imageCache']['get'](_0x53b16c);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x136b17['url'],this['imageDimension']=_0x136b17['dimension'],this['imageId']=_0x136b17['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x131c8c}=this['_editor'],t=_0x131c8c['t'],_0x33ab10=new Z(_0x131c8c,this['imageStatus'],this['_attributes']);_0x33ab10['bind']('status')['to'](this,'imageStatus'),_0x33ab10['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x33ab10['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x33ab10['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x33ab10,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x36968c,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x33ab10,'position':_0x51aa36['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x33ab10['focus']();},'onHide':()=>{_0x33ab10['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x4488e4=>!F(_0x4488e4,_0x33ab10['element'])}});}['_loadImageInfo'](_0x2d355f,_0x53bcaa){return C['getInfo'](_0x2d355f,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x320346=>{const {width:_0x4d33e2,height:_0x38a8f6}=_0x320346['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x53bcaa,this['imageDimension']={'width':_0x4d33e2,'height':_0x38a8f6},this['imageId']=_0x2d355f;})['catch'](_0x50cd70=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x50cd70['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x4568cc,_0x250184){return this['_getImageAsFile'](_0x4568cc)['then'](_0x51bb22=>C['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x250184['signal'],'file':_0x51bb22,'onProgress':_0x491340=>{_0x491340&&_0x491340['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x491340['value']));}}))['then'](_0x46de8a=>{const {width:_0x2ef8f8,height:_0x132d93}=_0x46de8a['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x46de8a['cdnUrl'],this['imageDimension']={'width':_0x2ef8f8,'height':_0x132d93},this['imageId']=_0x46de8a['uuid'],this['imageUploadProgress']=null;const _0xd92e02=_0x4568cc['getAttribute']('src');this['_imageCache']['set'](_0xd92e02,{'id':_0x46de8a['uuid'],'url':_0x46de8a['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x1ba202=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x1ba202['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x54bd7b,_0x1c4fb3){_0x54bd7b['on']('apply',(_0x258269,_0x21ffaa)=>{this['_replaceImage'](_0x1c4fb3,_0x21ffaa['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x54bd7b['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x54bd7b['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x58c711,_0x3bdaa0,_0x4bb680){const _0x1507d5=this['_editor'],{width:_0x27bdd1,height:_0x29cc88}=A(_0x3bdaa0,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x330b4b,imageSources:_0x59eb90}=E(_0x3bdaa0,_0x27bdd1);_0x1507d5['model']['change'](_0xc52cf4=>{if('$graveyard'===_0x58c711['root']['rootName']){_0x1507d5['execute']('insertImage',{'imageType':_0x58c711['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x58c711['getAttributes']()),'uploadcareImageId':_0x4bb680,'src':_0x330b4b,'sources':_0x59eb90,'width':_0x27bdd1,'height':_0x29cc88}});const _0x273265=_0x58c711['getChildren']();_0x58c711=_0x1507d5['model']['document']['selection']['getSelectedElement']();for(const _0x32753b of _0x273265)_0xc52cf4['append'](_0xc52cf4['cloneElement'](_0x32753b),_0x58c711);}else _0xc52cf4['setSelection'](_0x58c711,'on'),_0x1507d5['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x58c711['getAttributes']()),'uploadcareImageId':_0x4bb680,'src':_0x330b4b,'sources':_0x59eb90,'width':_0x27bdd1,'height':_0x29cc88},_0x58c711);_0xc52cf4['setSelection'](_0x58c711,'on');});}async['_getImageAsFile'](_0x446785){const _0x11ec7b=_0x4be2a6['window'],_0x4d8c21=_0x4be2a6['document']['location']['href'],_0x1986b6=new _0x11ec7b['URL'](_0x446785['getAttribute']('src'),_0x4d8c21);if('data:'===_0x1986b6['protocol']){const _0x1aada=_0x1986b6['href']['split'](','),_0x426b3b=_0x1aada[0x0]['match'](/:(.*?);/)[0x1],_0x130b1a=_0x426b3b['split']('/')[0x1],_0x31852f=_0x11ec7b['atob'](_0x1aada[_0x1aada['length']-0x1]);let _0x36f71e=_0x31852f['length'];const _0x497b89=new _0x11ec7b['Uint8Array'](_0x36f71e);for(;_0x36f71e--;)_0x497b89[_0x36f71e]=_0x31852f['charCodeAt'](_0x36f71e);return new _0x11ec7b['File']([_0x497b89],'image.'+_0x130b1a,{'type':_0x426b3b});}const _0x2e0eba=_0x1986b6['href']['split']('/'),_0x35a7bf=_0x2e0eba[_0x2e0eba['length']-0x1],_0x5683ec=_0x35a7bf['split']('.')[0x1];return _0x11ec7b['fetch'](_0x1986b6['href'])['then'](_0x31f5f0=>_0x31f5f0['clone']()['blob']())['then'](_0x2f6cf3=>new _0x11ec7b['File']([_0x2f6cf3],_0x35a7bf,{'type':'image/'+_0x5683ec}));}}class J extends _0x55f1cb{['imageEditController'];static get['requires'](){return[_0x226c12];}['_isEditable'];constructor(_0xf0202){super(_0xf0202),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x51227b){const _0x5f1578=V(_0x51227b);return _0x5030b7=>!(!_0x5030b7||!_0x5030b7['is']('element','imageBlock')&&!_0x5030b7['is']('element','imageInline'))&&(!!_0x5030b7['hasAttribute']('uploadcareImageId')||!!_0x5030b7['hasAttribute']('src')&&_0x5f1578(_0x5030b7['getAttribute']('src')));}(_0xf0202['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x414c1c=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x414c1c);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x475676=this['editor']['model']['document']['selection']['getSelectedElement']();_0x475676&&(_0x475676['is']('element','imageBlock')||_0x475676['is']('element','imageInline'))&&(this['imageEditController']=new z(this['editor'],this['editor']['plugins']['get'](_0x226c12),_0x475676),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class O extends _0x55f1cb{['refresh'](){const _0x164a12=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x164a12&&(_0x164a12['is']('element','imageBlock')||_0x164a12['is']('element','imageInline')));}['execute'](_0x20fdb1){const _0x3e695c=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x1a389b=>{_0x1a389b['setAttributes'](_0x20fdb1,_0x3e695c),_0x1a389b['removeAttribute']('srcset',_0x3e695c),_0x1a389b['removeAttribute']('sizes',_0x3e695c);});}}class g extends _0x59d162{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[i,_0x38c984,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x532897}=this;_0x532897['commands']['add']('uploadcareImageEdit',new J(_0x532897)),_0x532897['commands']['add']('uploadcareImageReplace',new O(_0x532897));}}class j extends _0x59d162{['_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 _0x271ae1=this['editor'];_0x271ae1['ui']['componentFactory']['add']('uploadcareImageEdit',_0x421705=>{const _0x2d40ba=_0x271ae1['commands']['get']('uploadcareImageEdit'),_0x2a3e01=new _0x10cfa6(_0x421705),t=_0x421705['t'];return _0x2a3e01['set']({'icon':_0x36968c,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x2a3e01['bind']('isEnabled')['to'](_0x2d40ba),_0x2a3e01['bind']('isOn')['to'](_0x2d40ba,'isActive'),this['listenTo'](_0x2a3e01,'execute',()=>{_0x271ae1['execute']('uploadcareImageEdit'),_0x271ae1['editing']['view']['focus']();}),_0x2a3e01;}),this['_initConfig']();}['_initConfig'](){const _0x15b93f=_0x424864(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x15b93f),this['listenTo'](this['editor'],'destroy',()=>{_0x15b93f['remove']();});}}class P extends _0x59d162{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':_0x2f9c69=>0x1!=_0x2f9c69}};
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':_0xfdb8f7=>0x1!=_0xfdb8f7}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0xd510ac=>{const {af:{dictionary:_0x287347,getPluralForm:_0x1da208}}={'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':_0x155bb9=>0x1!=_0x155bb9}};_0xd510ac['af']||={'dictionary':{},'getPluralForm':null},_0xd510ac['af']['dictionary']=Object['assign'](_0xd510ac['af']['dictionary'],_0x287347),_0xd510ac['af']['getPluralForm']=_0x1da208;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x504050=>{const {af:{dictionary:_0x23ac2e,getPluralForm:_0x391c7d}}={'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':_0x2bbdd3=>0x1!=_0x2bbdd3}};_0x504050['af']||={'dictionary':{},'getPluralForm':null},_0x504050['af']['dictionary']=Object['assign'](_0x504050['af']['dictionary'],_0x23ac2e),_0x504050['af']['getPluralForm']=_0x391c7d;})(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':_0x491d2c=>0x0==_0x491d2c?0x0:0x1==_0x491d2c?0x1:0x2==_0x491d2c?0x2:_0x491d2c%0x64>=0x3&&_0x491d2c%0x64<=0xa?0x3:_0x491d2c%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':_0xfa0650=>0x0==_0xfa0650?0x0:0x1==_0xfa0650?0x1:0x2==_0xfa0650?0x2:_0xfa0650%0x64>=0x3&&_0xfa0650%0x64<=0xa?0x3:_0xfa0650%0x64>=0xb?0x4:0x5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x2f0ea1=>{const {ar:{dictionary:_0x54237d,getPluralForm:_0x216dfd}}={'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':_0x5147a0=>0x0==_0x5147a0?0x0:0x1==_0x5147a0?0x1:0x2==_0x5147a0?0x2:_0x5147a0%0x64>=0x3&&_0x5147a0%0x64<=0xa?0x3:_0x5147a0%0x64>=0xb?0x4:0x5}};_0x2f0ea1['ar']||={'dictionary':{},'getPluralForm':null},_0x2f0ea1['ar']['dictionary']=Object['assign'](_0x2f0ea1['ar']['dictionary'],_0x54237d),_0x2f0ea1['ar']['getPluralForm']=_0x216dfd;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x16405d=>{const {ar:{dictionary:_0x2379fa,getPluralForm:_0x5eab78}}={'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':_0xa72d1c=>0x0==_0xa72d1c?0x0:0x1==_0xa72d1c?0x1:0x2==_0xa72d1c?0x2:_0xa72d1c%0x64>=0x3&&_0xa72d1c%0x64<=0xa?0x3:_0xa72d1c%0x64>=0xb?0x4:0x5}};_0x16405d['ar']||={'dictionary':{},'getPluralForm':null},_0x16405d['ar']['dictionary']=Object['assign'](_0x16405d['ar']['dictionary'],_0x2379fa),_0x16405d['ar']['getPluralForm']=_0x5eab78;})(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':_0x302aa3=>0x1!=_0x302aa3}};
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':_0x4b0026=>0x1!=_0x4b0026}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x51e942=>{const {ast:{dictionary:_0x8e8a10,getPluralForm:_0x5c76f3}}={'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':_0x2ba4d7=>0x1!=_0x2ba4d7}};_0x51e942['ast']||={'dictionary':{},'getPluralForm':null},_0x51e942['ast']['dictionary']=Object['assign'](_0x51e942['ast']['dictionary'],_0x8e8a10),_0x51e942['ast']['getPluralForm']=_0x5c76f3;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x3bc977=>{const {ast:{dictionary:_0x3f0e1b,getPluralForm:_0x40efa3}}={'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':_0x2d0cb7=>0x1!=_0x2d0cb7}};_0x3bc977['ast']||={'dictionary':{},'getPluralForm':null},_0x3bc977['ast']['dictionary']=Object['assign'](_0x3bc977['ast']['dictionary'],_0x3f0e1b),_0x3bc977['ast']['getPluralForm']=_0x40efa3;})(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':_0x1eba79=>0x1!=_0x1eba79}};
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':_0x3c004f=>0x1!=_0x3c004f}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x50d6a4=>{const {az:{dictionary:_0x34be00,getPluralForm:_0x405aeb}}={'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':_0x3580b4=>0x1!=_0x3580b4}};_0x50d6a4['az']||={'dictionary':{},'getPluralForm':null},_0x50d6a4['az']['dictionary']=Object['assign'](_0x50d6a4['az']['dictionary'],_0x34be00),_0x50d6a4['az']['getPluralForm']=_0x405aeb;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x5b9e68=>{const {az:{dictionary:_0x4805cf,getPluralForm:_0x127a6d}}={'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':_0x202737=>0x1!=_0x202737}};_0x5b9e68['az']||={'dictionary':{},'getPluralForm':null},_0x5b9e68['az']['dictionary']=Object['assign'](_0x5b9e68['az']['dictionary'],_0x4805cf),_0x5b9e68['az']['getPluralForm']=_0x127a6d;})(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':_0x4664d4=>0x1!=_0x4664d4}};
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':_0x4cd3bb=>0x1!=_0x4cd3bb}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x7ef583=>{const {bg:{dictionary:_0x40de68,getPluralForm:_0x1c12af}}={'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':_0x2ae015=>0x1!=_0x2ae015}};_0x7ef583['bg']||={'dictionary':{},'getPluralForm':null},_0x7ef583['bg']['dictionary']=Object['assign'](_0x7ef583['bg']['dictionary'],_0x40de68),_0x7ef583['bg']['getPluralForm']=_0x1c12af;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x394cb2=>{const {bg:{dictionary:_0x1cfadb,getPluralForm:_0x2a18f1}}={'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':_0x29c04f=>0x1!=_0x29c04f}};_0x394cb2['bg']||={'dictionary':{},'getPluralForm':null},_0x394cb2['bg']['dictionary']=Object['assign'](_0x394cb2['bg']['dictionary'],_0x1cfadb),_0x394cb2['bg']['getPluralForm']=_0x2a18f1;})(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':_0x478729=>0x1!=_0x478729}};
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':_0x45473d=>0x1!=_0x45473d}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x45e135=>{const {bn:{dictionary:_0x5a1265,getPluralForm:_0x5f52bc}}={'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':_0x347b5e=>0x1!=_0x347b5e}};_0x45e135['bn']||={'dictionary':{},'getPluralForm':null},_0x45e135['bn']['dictionary']=Object['assign'](_0x45e135['bn']['dictionary'],_0x5a1265),_0x45e135['bn']['getPluralForm']=_0x5f52bc;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x372552=>{const {bn:{dictionary:_0x19337e,getPluralForm:_0x12df32}}={'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':_0x17f0bf=>0x1!=_0x17f0bf}};_0x372552['bn']||={'dictionary':{},'getPluralForm':null},_0x372552['bn']['dictionary']=Object['assign'](_0x372552['bn']['dictionary'],_0x19337e),_0x372552['bn']['getPluralForm']=_0x12df32;})(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':_0x280cc9=>_0x280cc9%0xa==0x1&&_0x280cc9%0x64!=0xb?0x0:_0x280cc9%0xa>=0x2&&_0x280cc9%0xa<=0x4&&(_0x280cc9%0x64<0xa||_0x280cc9%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':_0x4f29c3=>_0x4f29c3%0xa==0x1&&_0x4f29c3%0x64!=0xb?0x0:_0x4f29c3%0xa>=0x2&&_0x4f29c3%0xa<=0x4&&(_0x4f29c3%0x64<0xa||_0x4f29c3%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x30edac=>{const {bs:{dictionary:_0x2ca88b,getPluralForm:_0x366f34}}={'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':_0x5adf30=>_0x5adf30%0xa==0x1&&_0x5adf30%0x64!=0xb?0x0:_0x5adf30%0xa>=0x2&&_0x5adf30%0xa<=0x4&&(_0x5adf30%0x64<0xa||_0x5adf30%0x64>=0x14)?0x1:0x2}};_0x30edac['bs']||={'dictionary':{},'getPluralForm':null},_0x30edac['bs']['dictionary']=Object['assign'](_0x30edac['bs']['dictionary'],_0x2ca88b),_0x30edac['bs']['getPluralForm']=_0x366f34;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x3141eb=>{const {bs:{dictionary:_0x2e808e,getPluralForm:_0x1cb6fa}}={'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':_0x4d9657=>_0x4d9657%0xa==0x1&&_0x4d9657%0x64!=0xb?0x0:_0x4d9657%0xa>=0x2&&_0x4d9657%0xa<=0x4&&(_0x4d9657%0x64<0xa||_0x4d9657%0x64>=0x14)?0x1:0x2}};_0x3141eb['bs']||={'dictionary':{},'getPluralForm':null},_0x3141eb['bs']['dictionary']=Object['assign'](_0x3141eb['bs']['dictionary'],_0x2e808e),_0x3141eb['bs']['getPluralForm']=_0x1cb6fa;})(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':_0x167f13=>0x1!=_0x167f13}};
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':_0xe8ed3=>0x1!=_0xe8ed3}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x2d5358=>{const {ca:{dictionary:_0x1c9db9,getPluralForm:_0x1930d6}}={'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':_0x2176ae=>0x1!=_0x2176ae}};_0x2d5358['ca']||={'dictionary':{},'getPluralForm':null},_0x2d5358['ca']['dictionary']=Object['assign'](_0x2d5358['ca']['dictionary'],_0x1c9db9),_0x2d5358['ca']['getPluralForm']=_0x1930d6;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x35a745=>{const {ca:{dictionary:_0x1e8fb8,getPluralForm:_0x491734}}={'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':_0x4b0da2=>0x1!=_0x4b0da2}};_0x35a745['ca']||={'dictionary':{},'getPluralForm':null},_0x35a745['ca']['dictionary']=Object['assign'](_0x35a745['ca']['dictionary'],_0x1e8fb8),_0x35a745['ca']['getPluralForm']=_0x491734;})(window['CKEDITOR_TRANSLATIONS']||={});