@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-20250309.0 → 0.0.0-nightly-20250311.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 _0x1c8349,Command as _0x1d5748}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x4754e1,IconGooglePhotos as _0x52d266,IconGoogleDrive as _0x178a9d,IconFacebook as _0x1891dc,IconDropbox as _0xbeb995,IconUploadcareLink as _0x574608,IconUploadcareImageUpload as _0x268501,IconError as et,IconUploadcareImageEdit as _0x4c7786}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x1ed948,MenuBarMenuListItemButtonView as _0x360186,View as _0x1a7173,FocusCycler as _0x301802,Dialog as _0x2aa253,DialogViewPosition as _0x4983e0,SpinnerView as _0x176cf2,IconView as at,Notification as _0x2c6589}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x1628a0,DomEmitterMixin as _0x322624,global as _0x591ddd,getAncestors as _0x1b4c6b,ObservableMixin as _0x40b747,createElement as _0x322e8b,uid as _0x3adbbf}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x153ead}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x2e72a9,info as _0x36bdb5}from'@uploadcare/upload-client';import*as _0x249c4b from'@uploadcare/file-uploader';var o=function(_0x37f753){return _0x37f753['Local']='local',_0x37f753['URL']='url',_0x37f753['Dropbox']='dropbox',_0x37f753['GDrive']='gdrive',_0x37f753['Facebook']='facebook',_0x37f753['GPhotos']='gphotos',_0x37f753['OneDrive']='onedrive',_0x37f753;}({});function _(_0xaeea1f,_0x2e89c0,_0x2851eb){const t=_0xaeea1f['t'],_0x5270b8=_0xaeea1f['t'];switch(_0x2e89c0){case o['Local']:return{'text':_0x5270b8('Insert'===_0x2851eb?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x5270b8('From\x20computer')};case o['URL']:return{'text':'Insert'===_0x2851eb?_0x5270b8('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x5270b8('Via\x20URL')};case o['Dropbox']:return{'text':t('Insert'===_0x2851eb?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case o['Facebook']:return{'text':t('Insert'===_0x2851eb?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case o['GDrive']:return{'text':t('Insert'===_0x2851eb?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case o['GPhotos']:return{'text':t('Insert'===_0x2851eb?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case o['OneDrive']:return{'text':t('Insert'===_0x2851eb?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x2e89c0;}}class e extends _0x1c8349{['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 _0xfa6b0f=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x3b96cb;for(const _0x3a2acc in _0xfa6b0f){const _0x2acaad=_0x3a2acc,_0x10071b=_0xfa6b0f[_0x2acaad];if('uploadcareLicenseKeyValid'==_0x10071b||'uploadcareLicenseKeyInvalid'==_0x10071b||'uploadcareLicenseKeyExpired'==_0x10071b||'uploadcareLicenseKeyDomainLimit'==_0x10071b||'uploadcareLicenseKeyNotAllowed'==_0x10071b||'uploadcareLicenseKeyEvaluationLimit'==_0x10071b||'uploadcareLicenseKeyTrialLimit'==_0x10071b||'uploadcareLicenseKeyUsageLimit'==_0x10071b){delete _0xfa6b0f[_0x2acaad],_0x3b96cb=_0x10071b,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x3b96cb&&_0xfa6b0f['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x3b96cb&&_0xfa6b0f['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x3b96cb&&_0xfa6b0f['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x3b96cb&&_0xfa6b0f['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x3b96cb&&_0xfa6b0f['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0x3b96cb&&_0xfa6b0f['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0x3b96cb&&_0xfa6b0f['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x463c1d}=this,_0x408edf=_0x463c1d['commands']['get']('uploadcare');if(!_0x408edf)return;const _0xdf900=this['_normalizeConfigSourceList'](_0x463c1d['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x206491,_0x4d62da)=>{const _0x4e2ac8=this['_getIntegrationKey'](_0x4d62da['type']);return _0x206491[_0x4e2ac8]||(_0x206491[_0x4e2ac8]=[]),_0x206491[_0x4e2ac8]['push'](_0x4d62da),_0x206491;},{});_0x463c1d['plugins']['has']('ImageInsertUI')&&_0x463c1d['commands']['get']('uploadcare')&&Object['entries'](_0xdf900)['forEach'](([_0x500fc9,_0x48efb4])=>{_0x463c1d['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x500fc9,'observable':()=>_0x408edf,'buttonViewCreator':()=>this['_createToolbarButton'](_0x48efb4),'formViewCreator':()=>this['_createDropdownButtons'](_0x48efb4),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x48efb4),'override':'assetManager'!==_0x500fc9});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0xc32d46){const {locale:_0x1c5402}=this['editor'];return _0xc32d46['map'](_0x26faf9=>{const _0x216937=_(_0x1c5402,_0x26faf9,'Insert');switch(_0x26faf9){case o['Local']:return{'icon':_0x268501,'type':o['Local'],..._0x216937};case o['URL']:return{'icon':_0x574608,'type':o['URL'],..._0x216937};case o['Dropbox']:return{'icon':_0xbeb995,'type':o['Dropbox'],..._0x216937};case o['Facebook']:return{'icon':_0x1891dc,'type':o['Facebook'],..._0x216937};case o['GDrive']:return{'icon':_0x178a9d,'type':o['GDrive'],..._0x216937};case o['GPhotos']:return{'icon':_0x52d266,'type':o['GPhotos'],..._0x216937};case o['OneDrive']:return{'icon':_0x4754e1,'type':o['OneDrive'],..._0x216937};}});}['_getIntegrationKey'](_0x14f7bd){switch(_0x14f7bd){case o['Local']:return'upload';case o['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x18e029,_0x57fc7f){const _0x50e864=this['editor'],_0x45cf6b=new _0x18e029(_0x50e864['locale']),_0xd7c99=_0x50e864['commands']['get']('uploadcare');return _0x45cf6b['bind']('isEnabled')['to'](_0xd7c99),_0x45cf6b['on']('execute',()=>{_0xd7c99['execute'](_0x57fc7f);}),_0x45cf6b;}['_createToolbarButton'](_0x43598e){const {locale:_0x136269}=this['editor'],_0x5ad02e=this['editor']['plugins']['get']('ImageInsertUI'),_0x2918d3=_0x43598e[0x0],_0x4fd153=this['_createButton'](_0x1ed948,_0x2918d3['type']);return _0x4fd153['icon']=_0x2918d3['icon'],_0x4fd153['bind']('label')['to'](_0x5ad02e,'isImageSelected',_0x1a3873=>_(_0x136269,_0x2918d3['type'],_0x1a3873?'Replace':'Insert')['text']),_0x4fd153['tooltip']=!0x0,_0x4fd153;}['_createDropdownButtons'](_0x551fe5){const {locale:_0x27306d}=this['editor'],_0x23ad67=this['editor']['plugins']['get']('ImageInsertUI');return _0x551fe5['map'](_0x415660=>{const _0x773a09=this['_createButton'](_0x1ed948,_0x415660['type']);return _0x773a09['withText']=!0x0,_0x773a09['icon']=_0x415660['icon'],_0x773a09['bind']('label')['to'](_0x23ad67,'isImageSelected',_0x170e85=>_(_0x27306d,_0x415660['type'],_0x170e85?'Replace':'Insert')['text']),_0x773a09;});}['_createMenuBarButtons'](_0x252049){return _0x252049['map'](_0x868527=>{const _0x47b7a4=this['_createButton'](_0x360186,_0x868527['type']);return _0x47b7a4['icon']=_0x868527['icon'],_0x47b7a4['label']=_0x868527['shortText'],_0x47b7a4;});}}class q extends _0x1a7173{['focusTracker'];['focusCycler'];constructor(_0x4668bb){super(_0x4668bb),this['focusTracker']=new _0x1628a0(),this['focusCycler']=new _0x301802({'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(_0x1f2945){super(_0x1f2945),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(_0x3f1c4d,_0x178c82){const _0x203dfc=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x189fbc=>_0x189fbc<=_0x178c82)['map'](_0xa6c45b=>_0x3f1c4d['replace'](/\/$/,'')+'/-/resize/'+_0xa6c45b+'x/\x20'+_0xa6c45b+'w');return{'imageFallbackUrl':_0x3f1c4d,'imageSources':[{'srcset':_0x203dfc['join'](',\x20'),'sizes':'(max-width:\x20'+_0x178c82+'px)\x20100vw,\x20'+_0x178c82+'px','type':'image/webp'}]};}function A(_0x3de0e4,_0x5211ec,_0x18dc78){const _0x1047ce=_0x3de0e4['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x1047ce?parseInt(_0x1047ce[0x1],0xa):_0x5211ec,'height':_0x1047ce?parseInt(_0x1047ce[0x2],0xa):_0x18dc78};}function m(_0x99c817,_0x2c79c0){const _0x158bb1=Object['create'](_0x322624),_0xe8266a=_0x99c817['plugins']['get']('ImageUtils'),_0x34b025=_0x99c817['editing']['mapper']['toViewElement'](_0x2c79c0),_0x40cab6=_0xe8266a['findViewImgElement'](_0x34b025),_0x90fe5c=_0x99c817['editing']['view']['domConverter']['viewToDom'](_0x40cab6),_0x66dee5=_0x2c79c0['getAttribute']('width'),_0x116fca=_0x2c79c0['getAttribute']('height'),_0x2e455e='image-processing';_0x99c817['editing']['view']['change'](_0x33f66c=>{_0x33f66c['addClass'](_0x2e455e,_0x34b025),_0x33f66c['setStyle']('aspect-ratio',_0x66dee5+'/'+_0x116fca,_0x40cab6);}),_0x158bb1['listenTo'](_0x90fe5c,'load',()=>{_0x158bb1['stopListening'](_0x90fe5c,'load'),_0x99c817['editing']['view']['change'](_0x15b2b6=>{_0x15b2b6['removeClass'](_0x2e455e,_0x34b025),_0x15b2b6['removeStyle']('aspect-ratio',_0x40cab6);});});}function V(_0x583e87){if(Array['isArray'](_0x583e87)){const _0x49c9df=_0x583e87['map'](V);return _0x5e798c=>_0x49c9df['some'](_0x1484e4=>_0x1484e4(_0x5e798c));}if('origin'==_0x583e87){const _0x2abca6=_0x591ddd['window']['location']['origin'];return _0x2223b3=>new URL(_0x2223b3,_0x591ddd['document']['baseURI'])['origin']==_0x2abca6;}return'function'==typeof _0x583e87?_0x583e87:_0x583e87 instanceof RegExp?_0x22c994=>!(!_0x22c994['match'](_0x583e87)&&!_0x22c994['replace'](/^https?:\/\//,'')['match'](_0x583e87)):()=>!0x1;}function F(_0x4a5bf5,_0x35f64b){return _0x1b4c6b(_0x4a5bf5['target'])['includes'](_0x35f64b);}class l extends/* #__PURE__ -- @preserve */
24
- _0x40b747(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x44d3ad,_0x3d4659,_0x38d826){super(),this['_editor']=_0x44d3ad,this['_editing']=_0x3d4659,this['_dialog']=_0x44d3ad['plugins']['get'](_0x2aa253),this['_api']=_0x3d4659['ctxElement']['getAPI'](),this['_type']=_0x38d826,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:_0x4bf0d7,model:_0x133c80}=this['_editor'],_0x3f2fe0=_0x133c80['document']['selection']['getSelectedElement'](),_0x3c1377=_0x3f2fe0&&(_0x3f2fe0['is']('element','imageBlock')||_0x3f2fe0['is']('element','imageInline'));this['_formView']=new S(_0x4bf0d7),this['_dialog']['show']({'id':'uploadCare','icon':_0x268501,'title':_(_0x4bf0d7,this['_type'],_0x3c1377?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x4983e0['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x445cd1=>!F(_0x445cd1,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x4b8727}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x4e0df2=>{const _0x5f3d23=_0x4b8727['length'];for(const _0x3f09fa of _0x4b8727){const _0x5177df=_0x3f09fa===_0x4b8727[_0x5f3d23-0x1],{cdnUrl:_0x226b1d,fileInfo:_0x5a6573}=_0x3f09fa;if(!_0x226b1d||!_0x5a6573)continue;const {width:_0x4c1b40,height:_0x371223}=_0x5a6573['imageInfo'],_0x4a4814=A(_0x226b1d,_0x4c1b40,_0x371223),_0x312793=E(_0x226b1d,_0x4a4814['width']),_0x12a15={'id':_0x5a6573['uuid'],'type':'image','attributes':{'imageDimension':_0x4a4814,..._0x312793}};this['_insertAsset'](_0x12a15,_0x5177df,_0x4e0df2);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x35b47e=>{'idle'===_0x35b47e['detail']['status']&&!_0x35b47e['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===o['Local']?this['_api']['setCurrentActivity'](o['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x482946,_0x14ce2d,_0x125bf2){const _0x5754f=this['_editor']['model']['document']['selection'],_0x4fc547=_0x5754f['getSelectedElement'](),_0x5c7e17=!(!_0x4fc547||!_0x4fc547['is']('element','imageInline'));_0x125bf2['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x482946,_0x5c7e17),_0x14ce2d||_0x125bf2['setSelection'](_0x5754f['getLastPosition']());}['_insertImage'](_0x59f2c3,_0x2498a5){const _0x459a80=this['_editor'],{imageDimension:_0x48a4ac,imageFallbackUrl:_0x40af36,imageSources:_0x5d4b88}=_0x59f2c3['attributes'];_0x459a80['execute']('insertImage',{'imageType':_0x2498a5?'imageInline':null,'source':{'uploadcareImageId':_0x59f2c3['id'],'src':_0x40af36,'sources':_0x5d4b88,..._0x48a4ac}});}}class n extends _0x1d5748{['_editing'];['_controller']=null;static get['requires'](){return[_0x2aa253,i];}constructor(_0x500fb3){super(_0x500fb3),this['_editing']=_0x500fb3['plugins']['get'](i);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x2d0b63){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new l(this['editor'],this['_editing'],_0x2d0b63);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class C{static['upload']({file:_0x1b07b0,publicKey:_0x2b3ebc,signal:_0x482dd7,onProgress:_0x1e81fd}){return _0x2e72a9(_0x1b07b0,{'publicKey':_0x2b3ebc,'store':'auto','signal':_0x482dd7,'onProgress':_0x1e81fd});}static['getInfo'](_0x4de38d,_0x7a95d1){return _0x36bdb5(_0x4de38d,_0x7a95d1);}}class p extends _0x1c8349{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x153ead,i];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x3a4935=this['editor'];if(!!!_0x3a4935['config']['get']('uploadcare'))return;_0x3a4935['plugins']['get'](_0x153ead)['createUploadAdapter']=_0x1fa182=>new x(_0x1fa182,_0x3a4935),_0x3a4935['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x391f53,{imageElement:_0x49687d,data:_0xe5edcc})=>{_0x3a4935['model']['change'](_0x48da5b=>{_0x48da5b['setAttribute']('uploadcareImageId',_0xe5edcc['uploadcareImageId'],_0x49687d);});});}}class x{['loader'];['editor'];['controller'];constructor(_0x4c2a67,_0x407794){this['loader']=_0x4c2a67,this['editor']=_0x407794,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x278789=this['editor']['config']['get']('uploadcare.pubkey'),_0x411614=await this['loader']['file'];return C['upload']({'file':_0x411614,'publicKey':_0x278789,'signal':this['controller']['signal'],'onProgress':_0x5863c6=>{_0x5863c6&&_0x5863c6['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x5863c6['value']);}})['then'](async _0x25ec0e=>{const {imageFallbackUrl:_0x3a2f27,imageSources:_0x55883f}=E(_0x25ec0e['cdnUrl'],_0x25ec0e['imageInfo']['width']);return{'uploadcareImageId':_0x25ec0e['uuid'],'default':_0x3a2f27,'sources':_0x55883f};})['catch'](()=>{const _0x8715a5=t('Cannot\x20upload\x20file:')+('\x20'+_0x411614['name']+'.');return Promise['reject'](_0x8715a5);});}['abort'](){this['controller']['abort']();}}class i extends _0x1c8349{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',p,_0x2aa253];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}['init'](){const _0x2724a7=this['editor'];_0x2724a7['commands']['add']('uploadcare',new n(_0x2724a7));}['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 _0x4a3655=_0x591ddd['document']['querySelector']('input[uploadcare-file-input]');_0x4a3655&&_0x4a3655['remove']();}),async function(_0xcb3f6b){const _0x130f88=_0x43f978([0x39,0x76,0x63,0x4f,0x69,0x71,0x66,0x7a,0x41,0x52,0x62,0x58,0x74,0x4a,0x33,0x78,0x4c,0x45,0x55,0x67,0x50,0x75,0x6f,0x43,0x44,0x57,0x73,0x31,0x77,0x6d,0x30,0x51,0x4e,0x56,0x54,0x79,0x49,0x4b,0x35,0x70,0x37,0x38,0x53,0x6c,0x65,0x59,0x6e,0x61,0x36,0x72,0x5a,0x6b,0x47,0x64,0x6a,0x34,0x42,0x46,0x32,0x4d,0x48,0x68]),_0xc81876=0x4013f54c,_0xa4de59=0x401494ec^_0xc81876,_0x282967=window[_0x43f978([0x44,0x61,0x74,0x65])][_0x43f978([0x6e,0x6f,0x77])](),_0x2147ca=_0xcb3f6b[_0x43f978([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1a8c43=new window[(_0x43f978([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x51d2d2=>{_0x2147ca[_0x43f978([0x6f,0x6e,0x63,0x65])](_0x43f978([0x72,0x65,0x61,0x64,0x79]),_0x51d2d2);}),_0x763ec2={[_0x43f978([0x6b,0x74,0x79])]:_0x43f978([0x45,0x43]),[_0x43f978([0x75,0x73,0x65])]:_0x43f978([0x73,0x69,0x67]),[_0x43f978([0x63,0x72,0x76])]:_0x43f978([0x50,0x2d,0x32,0x35,0x36]),[_0x43f978([0x78])]:_0x43f978([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]),[_0x43f978([0x79])]:_0x43f978([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]),[_0x43f978([0x61,0x6c,0x67])]:_0x43f978([0x45,0x53,0x32,0x35,0x36])},_0x259c75=_0x2147ca[_0x43f978([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x43f978([0x67,0x65,0x74])](_0x43f978([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x903bf8(){let _0x51441c,_0x32fa4a=null,_0x2f09af=null;try{if(_0x259c75==_0x43f978([0x47,0x50,0x4c]))return _0x43f978([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x51441c=_0x125525(),!_0x51441c)return _0x43f978([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x51441c[_0x43f978([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x2f09af=_0x28416e(_0x51441c[_0x43f978([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x51441c[_0x43f978([0x6a,0x74,0x69])])),await _0x474533()?_0x20453b()?_0x50eb69()?_0x43f978([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x10f5ff()?(_0x51441c[_0x43f978([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x43f978([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x32fa4a=_0x2e68c3(_0x43f978([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x51441c[_0x43f978([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x43f978([0x74,0x72,0x69,0x61,0x6c])&&(_0x32fa4a=_0x2e68c3(_0x43f978([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x5da541()):_0x43f978([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x43f978([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x43f978([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x382316){return _0x43f978([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x50eb69(){const _0xa2e3c2=[_0x43f978([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x43f978([0x74,0x72,0x69,0x61,0x6c])][_0x43f978([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x51441c[_0x43f978([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x282967/0x3e8:0xe10*_0xa4de59;return _0x51441c[_0x43f978([0x65,0x78,0x70])]<_0xa2e3c2;}function _0x20453b(){const _0x2104e3=_0x51441c[_0x43f978([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x2104e3&&(!!_0x2104e3[_0x43f978([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x43f978([0x2a]))||!!_0x2104e3[_0x43f978([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x43f978([0x55,0x50,0x4c,0x43])));}function _0x10f5ff(){const _0x2e6398=_0x51441c[_0x43f978([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x2e6398||0x0==_0x2e6398[_0x43f978([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1d01ff}=new URL(window[_0x43f978([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x2e6398[_0x43f978([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1d01ff))return!0x0;const _0x46e4b2=_0x1d01ff[_0x43f978([0x73,0x70,0x6c,0x69,0x74])](_0x43f978([0x2e]));return _0x2e6398[_0x43f978([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x43329d=>_0x43329d[_0x43f978([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x43f978([0x2a])))[_0x43f978([0x6d,0x61,0x70])](_0x2979da=>_0x2979da[_0x43f978([0x73,0x70,0x6c,0x69,0x74])](_0x43f978([0x2e])))[_0x43f978([0x73,0x6f,0x6d,0x65])](_0x54f2d1=>_0x46e4b2[_0x43f978([0x65,0x76,0x65,0x72,0x79])]((_0x584879,_0x40ff0a)=>_0x54f2d1[_0x40ff0a]===_0x584879||_0x54f2d1[_0x40ff0a]===_0x43f978([0x2a])));}function _0x5da541(){return _0x32fa4a&&_0x2f09af?new window[(_0x43f978([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x414542,_0x1069f5)=>{_0x32fa4a[_0x43f978([0x74,0x68,0x65,0x6e])](_0x414542,_0x1069f5),_0x2f09af[_0x43f978([0x74,0x68,0x65,0x6e])](_0x2ab997=>{_0x2ab997!=_0x43f978([0x56,0x61,0x6c,0x69,0x64])&&_0x414542(_0x2ab997);},_0x1069f5);}):_0x32fa4a||_0x2f09af||_0x43f978([0x56,0x61,0x6c,0x69,0x64]);}}function _0x28416e(_0x59bfca,_0x5e8af2){return new window[(_0x43f978([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4cd914=>{if(_0x10acd6())return _0x4cd914(_0x43f978([0x56,0x61,0x6c,0x69,0x64]));_0x4d6945(),_0x2147ca[_0x43f978([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x43f978([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4d01dc=!0x1;const _0x584ce4=_0x3adbbf();function _0x5746ec(_0x5bfda7){return!!_0x5bfda7&&(typeof _0x5bfda7===_0x43f978([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x5bfda7===_0x43f978([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x5bfda7[_0x43f978([0x74,0x68,0x65,0x6e])]===_0x43f978([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x5bfda7[_0x43f978([0x63,0x61,0x74,0x63,0x68])]===_0x43f978([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3d2bba(_0x5dbeeb){_0x556911(_0x5dbeeb)[_0x43f978([0x74,0x68,0x65,0x6e])](_0x5b4755=>{if(!_0x5b4755||_0x5b4755[_0x43f978([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x43f978([0x6f,0x6b]))return _0x43f978([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x29ac85(_0x3e9349(_0x584ce4+_0x5e8af2))!=_0x5b4755[_0x43f978([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x43f978([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x43f978([0x56,0x61,0x6c,0x69,0x64]);})[_0x43f978([0x74,0x68,0x65,0x6e])](_0x4ae8e2=>(_0x1c4c90(),_0x4ae8e2),()=>{const _0x2a6a72=_0x3aa89c();return null==_0x2a6a72?(_0x1c4c90(),_0x43f978([0x56,0x61,0x6c,0x69,0x64])):_0x43f978(_0x282967-_0x2a6a72>(0x641f714c^_0xc81876)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x43f978([0x74,0x68,0x65,0x6e])](_0x4cd914)[_0x43f978([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4cd914(_0x43f978([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x3321e8=0x40251bcc^_0xc81876;function _0x1c4c90(){const _0x42a0a6=_0x43f978([0x6c,0x6c,0x63,0x74,0x2d])+_0x29ac85(_0x3e9349(_0x59bfca)),_0x5792de=_0x5985f8(_0x29ac85(window[_0x43f978([0x4d,0x61,0x74,0x68])][_0x43f978([0x63,0x65,0x69,0x6c])](_0x282967/_0x3321e8)));window[_0x43f978([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x43f978([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x42a0a6,_0x5792de);}function _0x3aa89c(){const _0xb32883=_0x43f978([0x6c,0x6c,0x63,0x74,0x2d])+_0x29ac85(_0x3e9349(_0x59bfca)),_0x6e87a8=window[_0x43f978([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x43f978([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xb32883);return _0x6e87a8?window[_0x43f978([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5985f8(_0x6e87a8),0x10)*_0x3321e8:null;}function _0x556911(_0x4a9e55){return new window[(_0x43f978([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x26efbf,_0x6eb864)=>{_0x4a9e55[_0x43f978([0x74,0x68,0x65,0x6e])](_0x26efbf,_0x6eb864),window[_0x43f978([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x6eb864,0x4012218c^_0xc81876);});}}_0x2147ca[_0x43f978([0x6f,0x6e])](_0x43f978([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1d5a3a,_0x238229)=>{if(_0x238229[0x0]!=_0x59bfca)return _0x4cd914(_0x43f978([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x238229[0x1]={..._0x238229[0x1],[_0x43f978([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x584ce4};},{[_0x43f978([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x43f978([0x68,0x69,0x67,0x68])}),_0x2147ca[_0x43f978([0x6f,0x6e])](_0x43f978([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x24580f=>{_0x5746ec(_0x24580f[_0x43f978([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4d01dc=!0x0,_0x3d2bba(_0x24580f[_0x43f978([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x43f978([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x43f978([0x6c,0x6f,0x77])}),_0x1a8c43[_0x43f978([0x74,0x68,0x65,0x6e])](()=>{_0x4d01dc||_0x4cd914(_0x43f978([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x10acd6(){return _0x2147ca[_0x43f978([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x43f978([0x76,0x69,0x65,0x77])][_0x43f978([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x43f978([0x61,0x75,0x74,0x6f]);}function _0x4d6945(){_0x2147ca[_0x43f978([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x43f978([0x76,0x69,0x65,0x77])][_0x43f978([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x43f978([0x61,0x75,0x74,0x6f]);}}function _0x2e68c3(_0x1aa4a9){const _0x1a7a79=[new window[(_0x43f978([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4f7732=>setTimeout(_0x4f7732,0x401acb80^_0xc81876)),_0x1a8c43[_0x43f978([0x74,0x68,0x65,0x6e])](()=>new window[(_0x43f978([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2f0cee=>{let _0x20acd4=0x0;_0x2147ca[_0x43f978([0x6d,0x6f,0x64,0x65,0x6c])][_0x43f978([0x6f,0x6e])](_0x43f978([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x36a049,_0x52cbd1)=>{_0x52cbd1[0x0][_0x43f978([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x20acd4++,_0x20acd4==(0x4013f4b4^_0xc81876)&&(_0x2f0cee(),_0x36a049[_0x43f978([0x6f,0x66,0x66])]());});}))];return window[_0x43f978([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x43f978([0x72,0x61,0x63,0x65])](_0x1a7a79)[_0x43f978([0x74,0x68,0x65,0x6e])](()=>_0x1aa4a9);}async function _0x50ce9a(){await _0x1a8c43,_0x2147ca[_0x43f978([0x6d,0x6f,0x64,0x65,0x6c])][_0x43f978([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x57ed87,_0x2147ca[_0x43f978([0x6d,0x6f,0x64,0x65,0x6c])][_0x43f978([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x57ed87,_0x2147ca[_0x43f978([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x43f978([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3cc1ae(_0x6f33d){const _0x91e84=_0x1398d1();_0x2147ca[_0x91e84]=_0x43f978([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x6f33d,_0x6f33d!=_0x43f978([0x56,0x61,0x6c,0x69,0x64])&&_0x50ce9a();}function _0x1398d1(){const _0x209c6b=window[_0x43f978([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x43f978([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x43f978([0x6e,0x6f,0x77])]())[_0x43f978([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x43f978([0x2e]),'');let _0x40f2ed=_0x43f978([0x76]);for(let _0x5b5648=0x0;_0x5b5648<_0x209c6b[_0x43f978([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5b5648+=0x2){let _0x409f31=window[_0x43f978([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x209c6b[_0x43f978([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5b5648,_0x5b5648+0x2));_0x409f31>=_0x130f88[_0x43f978([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x409f31-=_0x130f88[_0x43f978([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x40f2ed+=_0x130f88[_0x409f31];}return _0x40f2ed;}function _0x125525(){const _0x56b097=_0x259c75[_0x43f978([0x73,0x70,0x6c,0x69,0x74])](_0x43f978([0x2e]));if(0x3!=_0x56b097[_0x43f978([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x5f040d(_0x56b097[0x1]);function _0x5f040d(_0x8970f7){const _0x5cd7ba=_0x56a384(_0x8970f7);return _0x5cd7ba&&_0x29b4ad()?_0x5cd7ba:null;function _0x29b4ad(){const _0x3f747b=_0x5cd7ba[_0x43f978([0x6a,0x74,0x69])],_0x2ae320=window[_0x43f978([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3f747b[_0x43f978([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3f747b[_0x43f978([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x130b75={..._0x5cd7ba,[_0x43f978([0x6a,0x74,0x69])]:_0x3f747b[_0x43f978([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3f747b[_0x43f978([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x130b75[_0x43f978([0x76,0x63])],_0x3e9349(_0x130b75)==_0x2ae320;}}}async function _0x474533(){let _0x2d1472=!0x0;try{const _0x5e3651=_0x259c75[_0x43f978([0x73,0x70,0x6c,0x69,0x74])](_0x43f978([0x2e])),[_0x2cfd82,_0x48cae5,_0x386ba5]=_0x5e3651;return _0x2ff598(_0x2cfd82),await _0x24aee7(_0x2cfd82,_0x48cae5,_0x386ba5),_0x2d1472;}catch(_0x53e779){return!0x1;}function _0x2ff598(_0x584df6){const _0x2d0d60=_0x56a384(_0x584df6);_0x2d0d60&&_0x2d0d60[_0x43f978([0x61,0x6c,0x67])]==_0x43f978([0x45,0x53,0x32,0x35,0x36])||(_0x2d1472=!0x1);}async function _0x24aee7(_0x2b94d0,_0x5f35af,_0x2960c5){const _0x225660=window[_0x43f978([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x43f978([0x66,0x72,0x6f,0x6d])](_0x5da824(_0x2960c5),_0xd2895b=>_0xd2895b[_0x43f978([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x5b2379=new window[(_0x43f978([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x43f978([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x2b94d0+_0x43f978([0x2e])+_0x5f35af),_0x15dad8=window[_0x43f978([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x43f978([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x15dad8)return;const _0x4a4c8e=await _0x15dad8[_0x43f978([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x43f978([0x6a,0x77,0x6b]),_0x763ec2,{[_0x43f978([0x6e,0x61,0x6d,0x65])]:_0x43f978([0x45,0x43,0x44,0x53,0x41]),[_0x43f978([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x43f978([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x43f978([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x15dad8[_0x43f978([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x43f978([0x6e,0x61,0x6d,0x65])]:_0x43f978([0x45,0x43,0x44,0x53,0x41]),[_0x43f978([0x68,0x61,0x73,0x68])]:{[_0x43f978([0x6e,0x61,0x6d,0x65])]:_0x43f978([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4a4c8e,_0x225660,_0x5b2379)||(_0x2d1472=!0x1);}}function _0x56a384(_0x2f690d){return _0x2f690d[_0x43f978([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x43f978([0x65,0x79]))?JSON[_0x43f978([0x70,0x61,0x72,0x73,0x65])](_0x5da824(_0x2f690d)):null;}function _0x5da824(_0x18151f){return window[_0x43f978([0x61,0x74,0x6f,0x62])](_0x18151f[_0x43f978([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x43f978([0x2b]))[_0x43f978([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x43f978([0x2f])));}function _0x3e9349(_0x5ec202){let _0xf19bfb=0x1505;function _0x36502c(_0xd02ad4){for(let _0x50a39f=0x0;_0x50a39f<_0xd02ad4[_0x43f978([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x50a39f++){const _0x25f43d=_0xd02ad4[_0x43f978([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x50a39f);_0xf19bfb=(_0xf19bfb<<0x5)+_0xf19bfb+_0x25f43d,_0xf19bfb&=_0xf19bfb;}}function _0x301052(_0x3a6493){Array[_0x43f978([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x3a6493)?_0x3a6493[_0x43f978([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x301052):_0x3a6493&&typeof _0x3a6493==_0x43f978([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x43f978([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x3a6493)[_0x43f978([0x73,0x6f,0x72,0x74])]()[_0x43f978([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x49ca23,_0x1eb0d8])=>{_0x36502c(_0x49ca23),_0x301052(_0x1eb0d8);}):_0x36502c(window[_0x43f978([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x3a6493));}return _0x301052(_0x5ec202),_0xf19bfb>>>0x0;}function _0x29ac85(_0x580c11){return _0x580c11[_0x43f978([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x43f978([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x43f978([0x30]));}function _0x5985f8(_0x201098){return _0x201098[_0x43f978([0x73,0x70,0x6c,0x69,0x74])]('')[_0x43f978([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x43f978([0x6a,0x6f,0x69,0x6e])]('');}function _0x57ed87(){}function _0x43f978(_0x32aaaa){return _0x32aaaa['map'](_0x258d4f=>String['fromCharCode'](_0x258d4f))['join']('');}_0x3cc1ae(await _0x903bf8());}(this);}['_initSchema'](){const _0x4bddfa=this['editor']['model']['schema'];_0x4bddfa['isRegistered']('imageBlock')&&_0x4bddfa['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x4bddfa['isRegistered']('imageInline')&&_0x4bddfa['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x481215=this['editor'];_0x481215['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x481215['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x3a210c=>_0x3a210c['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x51515e=_0x481215['commands']['get']('replaceImageSource');_0x51515e&&this['listenTo'](_0x51515e,'cleanupImage',(_0x4c8d09,[_0x133265,_0x14d7d2])=>{_0x133265['removeAttribute']('uploadcareImageId',_0x14d7d2);});}['_initConfig'](){const _0x496aea=this['editor']['config']['get']('uploadcare.uploader')||{},_0x59a191=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x322e8b(_0x591ddd['document'],'uc-config',{..._0x496aea,'pubkey':_0x59a191,'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']=_0x14795a=>{if('closeMax'==_0x14795a)return'#uc-icon-arrow-down';},_0x591ddd['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x322e8b(_0x591ddd['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader'}),_0x591ddd['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x519ebf=this['editor']['commands']['get']('insertImage');_0x519ebf&&this['listenTo'](_0x519ebf,'execute',()=>{const _0x309a4f=this['editor']['model']['document']['selection']['getSelectedElement']();_0x309a4f&&_0x309a4f['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{m(this['editor'],_0x309a4f);});});const _0x1b20ed=this['editor']['commands']['get']('uploadcareImageReplace');_0x1b20ed&&this['listenTo'](_0x1b20ed,'execute',()=>{const _0x917ca6=this['editor']['model']['document']['selection']['getSelectedElement']();_0x917ca6&&_0x917ca6['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{m(this['editor'],_0x917ca6);});});}}class u extends _0x1c8349{static get['requires'](){return[i,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x4f9540){super(_0x4f9540),_0x4f9540['config']['define']('uploadcare.uploader.sourceList',[o['Local'],o['URL']]),_0x249c4b['defineComponents'](_0x249c4b);}}class ta extends _0x1a7173{constructor(_0x49ff44){super(_0x49ff44);const t=_0x49ff44['t'],_0x59437c=this['bindTemplate'],_0x5d694e=new _0x176cf2();_0x5d694e['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':[_0x5d694e,{'text':_0x59437c['to']('imageUploadProgress',_0x3d9b50=>t('Loading\x20image...')+'\x20('+(_0x3d9b50||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 _0x1a7173{constructor(_0x207167){super(_0x207167);const t=_0x207167['t'];this['set']('errorType',null);const _0x44c14b=new _0x1ed948(_0x207167);_0x44c14b['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x44c14b['withText']=!0x0,_0x44c14b['class']='ck-button-action',_0x44c14b['on']('execute',()=>{this['fire']('retry');}),_0x44c14b['bind']('isVisible')['to'](this,'errorType',_0x498d09=>'NotFound'!==_0x498d09);const _0x1dee1c=new at();_0x1dee1c['content']=et,_0x1dee1c['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x56ffac=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':[_0x1dee1c,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x56ffac['to']('errorType',_0x17a9c0=>t('NotFound'!==_0x17a9c0?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x44c14b]},{'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 _0x1a7173{constructor(_0x46ccba,_0x3b6687){super(_0x46ccba);const _0x3ebca2=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x3b6687,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x3ebca2['to']('imageSrc')}});}}class Z extends q{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x3842ff,_0x3a46b8,_0xea5f54){super(_0x3842ff),this['_items']=this['createCollection'](),this['_loadingView']=new ta(_0x3842ff),this['_errorView']=new rt(_0x3842ff),this['_editingView']=new tt(_0x3842ff,_0xea5f54),this['_focusableView']=new _0x1a7173(_0x3842ff),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x3a46b8),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'],_0x40fa95=>{this['_addUploadcareImageEditorListeners'](_0x40fa95);});}),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'](_0x5a27be,_0x2b1c2c){const _0x53ce9a='uc-cloud-image-editor',_0x1896a4=_0x5a27be['querySelector'](_0x53ce9a);if(_0x1896a4)return _0x2b1c2c(_0x1896a4);const _0x14d773=new MutationObserver(_0x18eba3=>{const _0x616cda=_0x18eba3['filter'](_0x41f900=>_0x41f900['target']===_0x5a27be&&_0x41f900['addedNodes']['length']>0x0&&_0x41f900['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x53ce9a);_0x616cda['length']&&(_0x14d773['disconnect'](),_0x2b1c2c(_0x616cda[0x0]['addedNodes'][0x0]));});_0x14d773['observe'](_0x5a27be,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x4e2e8e){_0x4e2e8e['addEventListener']('apply',_0x3ded2a=>{this['fire']('apply',{'imageSrc':_0x3ded2a['detail']['cdnUrl']});}),_0x4e2e8e['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class z extends/* #__PURE__ -- @preserve */
25
- _0x40b747(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x52e5c5,_0x1210e4,_0x46d65e){super(),this['_editor']=_0x52e5c5,this['_dialog']=_0x1210e4,this['_imageElement']=_0x46d65e,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 _0x5a646b=this['_imageElement'],_0x56c0fd=_0x5a646b['getAttribute']('uploadcareImageId'),_0x4218e1=_0x5a646b['getAttribute']('src');if(_0x56c0fd)await this['_loadImageInfo'](_0x56c0fd,_0x4218e1);else{if(this['_imageCache']['has'](_0x4218e1)){const _0x3261f1=this['_imageCache']['get'](_0x4218e1);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x3261f1['url'],this['imageDimension']=_0x3261f1['dimension'],this['imageId']=_0x3261f1['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x2f985e}=this['_editor'],t=_0x2f985e['t'],_0x1e712d=new Z(_0x2f985e,this['imageStatus'],this['_attributes']);_0x1e712d['bind']('status')['to'](this,'imageStatus'),_0x1e712d['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x1e712d['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x1e712d['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x1e712d,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x4c7786,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x1e712d,'position':_0x4983e0['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x1e712d['focus']();},'onHide':()=>{_0x1e712d['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x404269=>!F(_0x404269,_0x1e712d['element'])}});}['_loadImageInfo'](_0x378c7e,_0x8f83a7){return C['getInfo'](_0x378c7e,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x2b75db=>{const {width:_0x41c5ad,height:_0x43909b}=_0x2b75db['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x8f83a7,this['imageDimension']={'width':_0x41c5ad,'height':_0x43909b},this['imageId']=_0x378c7e;})['catch'](_0x1633ee=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x1633ee['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x4d74c4,_0x2d8d7b){return this['_getImageAsFile'](_0x4d74c4)['then'](_0x18eb68=>C['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x2d8d7b['signal'],'file':_0x18eb68,'onProgress':_0x2fcf04=>{_0x2fcf04&&_0x2fcf04['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x2fcf04['value']));}}))['then'](_0x5cfbc4=>{const {width:_0x149640,height:_0x161c06}=_0x5cfbc4['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x5cfbc4['cdnUrl'],this['imageDimension']={'width':_0x149640,'height':_0x161c06},this['imageId']=_0x5cfbc4['uuid'],this['imageUploadProgress']=null;const _0x386f9c=_0x4d74c4['getAttribute']('src');this['_imageCache']['set'](_0x386f9c,{'id':_0x5cfbc4['uuid'],'url':_0x5cfbc4['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x2414fe=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x2414fe['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x4a654d,_0x6df450){_0x4a654d['on']('apply',(_0x33f28d,_0x1d8253)=>{this['_replaceImage'](_0x6df450,_0x1d8253['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x4a654d['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x4a654d['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x102cee,_0x1d8665,_0x5892de){const _0x136085=this['_editor'],{width:_0x1b0edc,height:_0x5cb106}=A(_0x1d8665,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x41ff52,imageSources:_0x139432}=E(_0x1d8665,_0x1b0edc);_0x136085['model']['change'](_0x58f61a=>{if('$graveyard'===_0x102cee['root']['rootName']){_0x136085['execute']('insertImage',{'imageType':_0x102cee['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x102cee['getAttributes']()),'uploadcareImageId':_0x5892de,'src':_0x41ff52,'sources':_0x139432,'width':_0x1b0edc,'height':_0x5cb106}});const _0x476fb2=_0x102cee['getChildren']();_0x102cee=_0x136085['model']['document']['selection']['getSelectedElement']();for(const _0x16ab57 of _0x476fb2)_0x58f61a['append'](_0x58f61a['cloneElement'](_0x16ab57),_0x102cee);}else _0x58f61a['setSelection'](_0x102cee,'on'),_0x136085['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x102cee['getAttributes']()),'uploadcareImageId':_0x5892de,'src':_0x41ff52,'sources':_0x139432,'width':_0x1b0edc,'height':_0x5cb106},_0x102cee);_0x58f61a['setSelection'](_0x102cee,'on');});}async['_getImageAsFile'](_0x77cd28){const _0x51644e=_0x591ddd['window'],_0x3ebe03=_0x591ddd['document']['location']['href'],_0x16b943=new _0x51644e['URL'](_0x77cd28['getAttribute']('src'),_0x3ebe03);if('data:'===_0x16b943['protocol']){const _0x3075d7=_0x16b943['href']['split'](','),_0x5e24bb=_0x3075d7[0x0]['match'](/:(.*?);/)[0x1],_0xc0c204=_0x5e24bb['split']('/')[0x1],_0x1e3fe5=_0x51644e['atob'](_0x3075d7[_0x3075d7['length']-0x1]);let _0x176ef5=_0x1e3fe5['length'];const _0x5ee83c=new _0x51644e['Uint8Array'](_0x176ef5);for(;_0x176ef5--;)_0x5ee83c[_0x176ef5]=_0x1e3fe5['charCodeAt'](_0x176ef5);return new _0x51644e['File']([_0x5ee83c],'image.'+_0xc0c204,{'type':_0x5e24bb});}const _0x545dbf=_0x16b943['href']['split']('/'),_0x1d05b9=_0x545dbf[_0x545dbf['length']-0x1],_0x614bb3=_0x1d05b9['split']('.')[0x1];return _0x51644e['fetch'](_0x16b943['href'])['then'](_0x443d44=>_0x443d44['clone']()['blob']())['then'](_0xdbcbc0=>new _0x51644e['File']([_0xdbcbc0],_0x1d05b9,{'type':'image/'+_0x614bb3}));}}class J extends _0x1d5748{['imageEditController'];static get['requires'](){return[_0x2aa253];}['_isEditable'];constructor(_0x211519){super(_0x211519),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x3c8229){const _0x1a35bf=V(_0x3c8229);return _0x418775=>!(!_0x418775||!_0x418775['is']('element','imageBlock')&&!_0x418775['is']('element','imageInline'))&&(!!_0x418775['hasAttribute']('uploadcareImageId')||!!_0x418775['hasAttribute']('src')&&_0x1a35bf(_0x418775['getAttribute']('src')));}(_0x211519['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x27cf92=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x27cf92);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x9183d6=this['editor']['model']['document']['selection']['getSelectedElement']();_0x9183d6&&(_0x9183d6['is']('element','imageBlock')||_0x9183d6['is']('element','imageInline'))&&(this['imageEditController']=new z(this['editor'],this['editor']['plugins']['get'](_0x2aa253),_0x9183d6),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class O extends _0x1d5748{['refresh'](){const _0x2e9bc4=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x2e9bc4&&(_0x2e9bc4['is']('element','imageBlock')||_0x2e9bc4['is']('element','imageInline')));}['execute'](_0x17d076){const _0x38b651=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x12c242=>{_0x12c242['setAttributes'](_0x17d076,_0x38b651),_0x12c242['removeAttribute']('srcset',_0x38b651),_0x12c242['removeAttribute']('sizes',_0x38b651);});}}class g extends _0x1c8349{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[i,_0x2c6589,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0xdc20f}=this;_0xdc20f['commands']['add']('uploadcareImageEdit',new J(_0xdc20f)),_0xdc20f['commands']['add']('uploadcareImageReplace',new O(_0xdc20f));}}class j extends _0x1c8349{['_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 _0x4999da=this['editor'];_0x4999da['ui']['componentFactory']['add']('uploadcareImageEdit',_0x535857=>{const _0x31e7b4=_0x4999da['commands']['get']('uploadcareImageEdit'),_0x58b3d3=new _0x1ed948(_0x535857),t=_0x535857['t'];return _0x58b3d3['set']({'icon':_0x4c7786,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x58b3d3['bind']('isEnabled')['to'](_0x31e7b4),_0x58b3d3['bind']('isOn')['to'](_0x31e7b4,'isActive'),this['listenTo'](_0x58b3d3,'execute',()=>{_0x4999da['execute']('uploadcareImageEdit'),_0x4999da['editing']['view']['focus']();}),_0x58b3d3;}),this['_initConfig']();}['_initConfig'](){const _0xfc9e73=_0x322e8b(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0xfc9e73),this['listenTo'](this['editor'],'destroy',()=>{_0xfc9e73['remove']();});}}class P extends _0x1c8349{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 _0x106a99,Command as _0x1ad507}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x28f91b,IconGooglePhotos as _0x122890,IconGoogleDrive as _0x1d764e,IconFacebook as _0x2a5dbe,IconDropbox as _0x260194,IconUploadcareLink as _0x16c39d,IconUploadcareImageUpload as _0x4a2170,IconError as et,IconUploadcareImageEdit as _0x19190f}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x479c26,MenuBarMenuListItemButtonView as _0x385a39,View as _0x5c0b52,FocusCycler as _0x131c2e,Dialog as _0xe5f039,DialogViewPosition as _0x186fe6,SpinnerView as _0x50317e,IconView as at,Notification as _0x212ca4}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x2c77f6,DomEmitterMixin as _0xd1daca,global as _0x3eb2ec,getAncestors as _0x2d91c7,ObservableMixin as _0x208a9e,createElement as _0x4ec99b,uid as _0x3a4da4}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x5058fb}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x3cdc7b,info as _0x5f3cb1}from'@uploadcare/upload-client';import*as _0x3218c4 from'@uploadcare/file-uploader';var o=function(_0x5e63ef){return _0x5e63ef['Local']='local',_0x5e63ef['URL']='url',_0x5e63ef['Dropbox']='dropbox',_0x5e63ef['GDrive']='gdrive',_0x5e63ef['Facebook']='facebook',_0x5e63ef['GPhotos']='gphotos',_0x5e63ef['OneDrive']='onedrive',_0x5e63ef;}({});function _(_0x9a405f,_0x3ae075,_0x283372){const t=_0x9a405f['t'],_0x17b723=_0x9a405f['t'];switch(_0x3ae075){case o['Local']:return{'text':_0x17b723('Insert'===_0x283372?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x17b723('From\x20computer')};case o['URL']:return{'text':'Insert'===_0x283372?_0x17b723('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x17b723('Via\x20URL')};case o['Dropbox']:return{'text':t('Insert'===_0x283372?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case o['Facebook']:return{'text':t('Insert'===_0x283372?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case o['GDrive']:return{'text':t('Insert'===_0x283372?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case o['GPhotos']:return{'text':t('Insert'===_0x283372?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case o['OneDrive']:return{'text':t('Insert'===_0x283372?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x3ae075;}}class e extends _0x106a99{['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 _0x390f11=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x13aced;for(const _0x380f26 in _0x390f11){const _0x4843fa=_0x380f26,_0x1fee5a=_0x390f11[_0x4843fa];if('uploadcareLicenseKeyValid'==_0x1fee5a||'uploadcareLicenseKeyInvalid'==_0x1fee5a||'uploadcareLicenseKeyExpired'==_0x1fee5a||'uploadcareLicenseKeyDomainLimit'==_0x1fee5a||'uploadcareLicenseKeyNotAllowed'==_0x1fee5a||'uploadcareLicenseKeyEvaluationLimit'==_0x1fee5a||'uploadcareLicenseKeyTrialLimit'==_0x1fee5a||'uploadcareLicenseKeyUsageLimit'==_0x1fee5a){delete _0x390f11[_0x4843fa],_0x13aced=_0x1fee5a,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x13aced&&_0x390f11['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x13aced&&_0x390f11['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x13aced&&_0x390f11['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x13aced&&_0x390f11['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x13aced&&_0x390f11['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0x13aced&&_0x390f11['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0x13aced&&_0x390f11['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x3b5473}=this,_0xe63b2d=_0x3b5473['commands']['get']('uploadcare');if(!_0xe63b2d)return;const _0x3d003b=this['_normalizeConfigSourceList'](_0x3b5473['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x41f0d6,_0x191401)=>{const _0x165e7f=this['_getIntegrationKey'](_0x191401['type']);return _0x41f0d6[_0x165e7f]||(_0x41f0d6[_0x165e7f]=[]),_0x41f0d6[_0x165e7f]['push'](_0x191401),_0x41f0d6;},{});_0x3b5473['plugins']['has']('ImageInsertUI')&&_0x3b5473['commands']['get']('uploadcare')&&Object['entries'](_0x3d003b)['forEach'](([_0x3e03d5,_0x6357f2])=>{_0x3b5473['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x3e03d5,'observable':()=>_0xe63b2d,'buttonViewCreator':()=>this['_createToolbarButton'](_0x6357f2),'formViewCreator':()=>this['_createDropdownButtons'](_0x6357f2),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x6357f2),'override':'assetManager'!==_0x3e03d5});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x320f78){const {locale:_0x58b129}=this['editor'];return _0x320f78['map'](_0x382cac=>{const _0x1ec75e=_(_0x58b129,_0x382cac,'Insert');switch(_0x382cac){case o['Local']:return{'icon':_0x4a2170,'type':o['Local'],..._0x1ec75e};case o['URL']:return{'icon':_0x16c39d,'type':o['URL'],..._0x1ec75e};case o['Dropbox']:return{'icon':_0x260194,'type':o['Dropbox'],..._0x1ec75e};case o['Facebook']:return{'icon':_0x2a5dbe,'type':o['Facebook'],..._0x1ec75e};case o['GDrive']:return{'icon':_0x1d764e,'type':o['GDrive'],..._0x1ec75e};case o['GPhotos']:return{'icon':_0x122890,'type':o['GPhotos'],..._0x1ec75e};case o['OneDrive']:return{'icon':_0x28f91b,'type':o['OneDrive'],..._0x1ec75e};}});}['_getIntegrationKey'](_0x565023){switch(_0x565023){case o['Local']:return'upload';case o['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x40d397,_0x5c29b1){const _0x129aac=this['editor'],_0x205250=new _0x40d397(_0x129aac['locale']),_0x4e08e3=_0x129aac['commands']['get']('uploadcare');return _0x205250['bind']('isEnabled')['to'](_0x4e08e3),_0x205250['on']('execute',()=>{_0x4e08e3['execute'](_0x5c29b1);}),_0x205250;}['_createToolbarButton'](_0xeed9ec){const {locale:_0x530940}=this['editor'],_0x318c86=this['editor']['plugins']['get']('ImageInsertUI'),_0x1d0fcb=_0xeed9ec[0x0],_0x57722e=this['_createButton'](_0x479c26,_0x1d0fcb['type']);return _0x57722e['icon']=_0x1d0fcb['icon'],_0x57722e['bind']('label')['to'](_0x318c86,'isImageSelected',_0x5740d8=>_(_0x530940,_0x1d0fcb['type'],_0x5740d8?'Replace':'Insert')['text']),_0x57722e['tooltip']=!0x0,_0x57722e;}['_createDropdownButtons'](_0x212468){const {locale:_0x3f621f}=this['editor'],_0xc39053=this['editor']['plugins']['get']('ImageInsertUI');return _0x212468['map'](_0x2d682b=>{const _0x1a2a49=this['_createButton'](_0x479c26,_0x2d682b['type']);return _0x1a2a49['withText']=!0x0,_0x1a2a49['icon']=_0x2d682b['icon'],_0x1a2a49['bind']('label')['to'](_0xc39053,'isImageSelected',_0x3755f5=>_(_0x3f621f,_0x2d682b['type'],_0x3755f5?'Replace':'Insert')['text']),_0x1a2a49;});}['_createMenuBarButtons'](_0x5e274e){return _0x5e274e['map'](_0x4b2ca6=>{const _0xbf199b=this['_createButton'](_0x385a39,_0x4b2ca6['type']);return _0xbf199b['icon']=_0x4b2ca6['icon'],_0xbf199b['label']=_0x4b2ca6['shortText'],_0xbf199b;});}}class q extends _0x5c0b52{['focusTracker'];['focusCycler'];constructor(_0x18952c){super(_0x18952c),this['focusTracker']=new _0x2c77f6(),this['focusCycler']=new _0x131c2e({'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(_0x3901df){super(_0x3901df),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(_0x58f91c,_0x5425d6){const _0x14f731=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x241238=>_0x241238<=_0x5425d6)['map'](_0x4ad922=>_0x58f91c['replace'](/\/$/,'')+'/-/resize/'+_0x4ad922+'x/\x20'+_0x4ad922+'w');return{'imageFallbackUrl':_0x58f91c,'imageSources':[{'srcset':_0x14f731['join'](',\x20'),'sizes':'(max-width:\x20'+_0x5425d6+'px)\x20100vw,\x20'+_0x5425d6+'px','type':'image/webp'}]};}function A(_0x238ec7,_0x141a98,_0x49e2b5){const _0x444d22=_0x238ec7['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x444d22?parseInt(_0x444d22[0x1],0xa):_0x141a98,'height':_0x444d22?parseInt(_0x444d22[0x2],0xa):_0x49e2b5};}function m(_0x48699d,_0x29fe36){const _0x47a888=Object['create'](_0xd1daca),_0x46835c=_0x48699d['plugins']['get']('ImageUtils'),_0x41afa1=_0x48699d['editing']['mapper']['toViewElement'](_0x29fe36),_0x3c5cd3=_0x46835c['findViewImgElement'](_0x41afa1),_0x437fe7=_0x48699d['editing']['view']['domConverter']['viewToDom'](_0x3c5cd3),_0x7cc59b=_0x29fe36['getAttribute']('width'),_0x175be0=_0x29fe36['getAttribute']('height'),_0x4868b9='image-processing';_0x48699d['editing']['view']['change'](_0x2ac409=>{_0x2ac409['addClass'](_0x4868b9,_0x41afa1),_0x2ac409['setStyle']('aspect-ratio',_0x7cc59b+'/'+_0x175be0,_0x3c5cd3);}),_0x47a888['listenTo'](_0x437fe7,'load',()=>{_0x47a888['stopListening'](_0x437fe7,'load'),_0x48699d['editing']['view']['change'](_0x9ec2a3=>{_0x9ec2a3['removeClass'](_0x4868b9,_0x41afa1),_0x9ec2a3['removeStyle']('aspect-ratio',_0x3c5cd3);});});}function R(_0x1daaae){if(Array['isArray'](_0x1daaae)){const _0x247ff3=_0x1daaae['map'](R);return _0xc7f0da=>_0x247ff3['some'](_0x49a6e1=>_0x49a6e1(_0xc7f0da));}if('origin'==_0x1daaae){const _0x5286f5=_0x3eb2ec['window']['location']['origin'];return _0x1bb836=>new URL(_0x1bb836,_0x3eb2ec['document']['baseURI'])['origin']==_0x5286f5;}return'function'==typeof _0x1daaae?_0x1daaae:_0x1daaae instanceof RegExp?_0x242a5a=>!(!_0x242a5a['match'](_0x1daaae)&&!_0x242a5a['replace'](/^https?:\/\//,'')['match'](_0x1daaae)):()=>!0x1;}function F(_0xd00f37,_0x14eb3c){return _0x2d91c7(_0xd00f37['target'])['includes'](_0x14eb3c);}class l extends/* #__PURE__ -- @preserve */
24
+ _0x208a9e(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x2af6df,_0x222fd3,_0x229667){super(),this['_editor']=_0x2af6df,this['_editing']=_0x222fd3,this['_dialog']=_0x2af6df['plugins']['get'](_0xe5f039),this['_api']=_0x222fd3['ctxElement']['getAPI'](),this['_type']=_0x229667,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:_0x275db9,model:_0x264975}=this['_editor'],_0x17c433=_0x264975['document']['selection']['getSelectedElement'](),_0x126123=_0x17c433&&(_0x17c433['is']('element','imageBlock')||_0x17c433['is']('element','imageInline'));this['_formView']=new S(_0x275db9),this['_dialog']['show']({'id':'uploadCare','icon':_0x4a2170,'title':_(_0x275db9,this['_type'],_0x126123?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x186fe6['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x58a906=>!F(_0x58a906,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x37e7f0}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x55b12e=>{const _0x42f847=_0x37e7f0['length'];for(const _0x46f75f of _0x37e7f0){const _0x5391cd=_0x46f75f===_0x37e7f0[_0x42f847-0x1],{cdnUrl:_0x22164c,fileInfo:_0x5a5b9a}=_0x46f75f;if(!_0x22164c||!_0x5a5b9a)continue;const {width:_0x375a54,height:_0x572e75}=_0x5a5b9a['imageInfo'],_0x41ac4f=A(_0x22164c,_0x375a54,_0x572e75),_0x382ecd=E(_0x22164c,_0x41ac4f['width']),_0x57518f={'id':_0x5a5b9a['uuid'],'type':'image','attributes':{'imageDimension':_0x41ac4f,..._0x382ecd}};this['_insertAsset'](_0x57518f,_0x5391cd,_0x55b12e);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x26824a=>{'idle'===_0x26824a['detail']['status']&&!_0x26824a['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===o['Local']?this['_api']['setCurrentActivity'](o['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0xacb76e,_0x2cbae1,_0x352ded){const _0x436a6e=this['_editor']['model']['document']['selection'],_0x43cbb5=_0x436a6e['getSelectedElement'](),_0x4fd21f=!(!_0x43cbb5||!_0x43cbb5['is']('element','imageInline'));_0x352ded['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0xacb76e,_0x4fd21f),_0x2cbae1||_0x352ded['setSelection'](_0x436a6e['getLastPosition']());}['_insertImage'](_0x5d14b1,_0x5b3ff0){const _0x39bfe3=this['_editor'],{imageDimension:_0x41185f,imageFallbackUrl:_0x9c65cb,imageSources:_0x569a58}=_0x5d14b1['attributes'];_0x39bfe3['execute']('insertImage',{'imageType':_0x5b3ff0?'imageInline':null,'source':{'uploadcareImageId':_0x5d14b1['id'],'src':_0x9c65cb,'sources':_0x569a58,..._0x41185f}});}}class n extends _0x1ad507{['_editing'];['_controller']=null;static get['requires'](){return[_0xe5f039,i];}constructor(_0x25855e){super(_0x25855e),this['_editing']=_0x25855e['plugins']['get'](i);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x49e91c){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new l(this['editor'],this['_editing'],_0x49e91c);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class C{static['upload']({file:_0x515a9d,publicKey:_0x273a97,signal:_0x4e0265,onProgress:_0x43a3f2}){return _0x3cdc7b(_0x515a9d,{'publicKey':_0x273a97,'store':'auto','signal':_0x4e0265,'onProgress':_0x43a3f2});}static['getInfo'](_0x208984,_0x473959){return _0x5f3cb1(_0x208984,_0x473959);}}class p extends _0x106a99{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x5058fb,i];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x189ddb=this['editor'];if(!!!_0x189ddb['config']['get']('uploadcare'))return;_0x189ddb['plugins']['get'](_0x5058fb)['createUploadAdapter']=_0x1e20aa=>new x(_0x1e20aa,_0x189ddb),_0x189ddb['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x4f3f0f,{imageElement:_0x47dbaa,data:_0x3de95e})=>{_0x189ddb['model']['change'](_0x1f2561=>{_0x1f2561['setAttribute']('uploadcareImageId',_0x3de95e['uploadcareImageId'],_0x47dbaa);});});}}class x{['loader'];['editor'];['controller'];constructor(_0x6fa5d3,_0x2bab6a){this['loader']=_0x6fa5d3,this['editor']=_0x2bab6a,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x44e918=this['editor']['config']['get']('uploadcare.pubkey'),_0x4bd511=await this['loader']['file'];return C['upload']({'file':_0x4bd511,'publicKey':_0x44e918,'signal':this['controller']['signal'],'onProgress':_0x146367=>{_0x146367&&_0x146367['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x146367['value']);}})['then'](async _0x3ef157=>{const {imageFallbackUrl:_0x53db33,imageSources:_0x39a212}=E(_0x3ef157['cdnUrl'],_0x3ef157['imageInfo']['width']);return{'uploadcareImageId':_0x3ef157['uuid'],'default':_0x53db33,'sources':_0x39a212};})['catch'](()=>{const _0x3eb82e=t('Cannot\x20upload\x20file:')+('\x20'+_0x4bd511['name']+'.');return Promise['reject'](_0x3eb82e);});}['abort'](){this['controller']['abort']();}}class i extends _0x106a99{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',p,_0xe5f039];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}['init'](){const _0x2066c9=this['editor'];_0x2066c9['commands']['add']('uploadcare',new n(_0x2066c9));}['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 _0x25a57c=_0x3eb2ec['document']['querySelector']('input[uploadcare-file-input]');_0x25a57c&&_0x25a57c['remove']();}),async function(_0x3e55d6){const _0x42b973=_0xdbfc7d([0x58,0x4b,0x6f,0x44,0x4e,0x59,0x6d,0x4d,0x47,0x78,0x50,0x51,0x75,0x6c,0x79,0x42,0x61,0x62,0x64,0x71,0x68,0x74,0x5a,0x41,0x7a,0x54,0x46,0x77,0x73,0x32,0x37,0x30,0x34,0x52,0x49,0x43,0x67,0x55,0x4a,0x4f,0x70,0x33,0x65,0x72,0x57,0x48,0x76,0x39,0x31,0x45,0x6b,0x4c,0x35,0x36,0x53,0x38,0x6e,0x63,0x66,0x69,0x56,0x6a]),_0x295e6d=0x7262738e,_0x797470=0x7265125e^_0x295e6d,_0x1b687a=window[_0xdbfc7d([0x44,0x61,0x74,0x65])][_0xdbfc7d([0x6e,0x6f,0x77])](),_0x26fc1f=_0x3e55d6[_0xdbfc7d([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x54113c=new window[(_0xdbfc7d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1b2e18=>{_0x26fc1f[_0xdbfc7d([0x6f,0x6e,0x63,0x65])](_0xdbfc7d([0x72,0x65,0x61,0x64,0x79]),_0x1b2e18);}),_0x2c7057={[_0xdbfc7d([0x6b,0x74,0x79])]:_0xdbfc7d([0x45,0x43]),[_0xdbfc7d([0x75,0x73,0x65])]:_0xdbfc7d([0x73,0x69,0x67]),[_0xdbfc7d([0x63,0x72,0x76])]:_0xdbfc7d([0x50,0x2d,0x32,0x35,0x36]),[_0xdbfc7d([0x78])]:_0xdbfc7d([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]),[_0xdbfc7d([0x79])]:_0xdbfc7d([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]),[_0xdbfc7d([0x61,0x6c,0x67])]:_0xdbfc7d([0x45,0x53,0x32,0x35,0x36])},_0x4663f3=_0x26fc1f[_0xdbfc7d([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0xdbfc7d([0x67,0x65,0x74])](_0xdbfc7d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x2b4fec(){let _0x37b6e7,_0x4ba230=null,_0xf5eda6=null;try{if(_0x4663f3==_0xdbfc7d([0x47,0x50,0x4c]))return _0xdbfc7d([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x37b6e7=_0x4fbf6a(),!_0x37b6e7)return _0xdbfc7d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x37b6e7[_0xdbfc7d([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0xf5eda6=_0x22d2de(_0x37b6e7[_0xdbfc7d([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x37b6e7[_0xdbfc7d([0x6a,0x74,0x69])])),await _0x3eb7a2()?_0x318707()?_0x195b53()?_0xdbfc7d([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x518cd0()?(_0x37b6e7[_0xdbfc7d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xdbfc7d([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x4ba230=_0x4da1ab(_0xdbfc7d([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x37b6e7[_0xdbfc7d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xdbfc7d([0x74,0x72,0x69,0x61,0x6c])&&(_0x4ba230=_0x4da1ab(_0xdbfc7d([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0xcfa166()):_0xdbfc7d([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0xdbfc7d([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0xdbfc7d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x3657a0){return _0xdbfc7d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x195b53(){const _0x2ef371=[_0xdbfc7d([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0xdbfc7d([0x74,0x72,0x69,0x61,0x6c])][_0xdbfc7d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x37b6e7[_0xdbfc7d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1b687a/0x3e8:0xe10*_0x797470;return _0x37b6e7[_0xdbfc7d([0x65,0x78,0x70])]<_0x2ef371;}function _0x318707(){const _0x530d7f=_0x37b6e7[_0xdbfc7d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x530d7f&&(!!_0x530d7f[_0xdbfc7d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xdbfc7d([0x2a]))||!!_0x530d7f[_0xdbfc7d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xdbfc7d([0x55,0x50,0x4c,0x43])));}function _0x518cd0(){const _0x46fdae=_0x37b6e7[_0xdbfc7d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x46fdae||0x0==_0x46fdae[_0xdbfc7d([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x19e23f}=new URL(window[_0xdbfc7d([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x46fdae[_0xdbfc7d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x19e23f))return!0x0;const _0x1c6d8a=_0x19e23f[_0xdbfc7d([0x73,0x70,0x6c,0x69,0x74])](_0xdbfc7d([0x2e]));return _0x46fdae[_0xdbfc7d([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x184535=>_0x184535[_0xdbfc7d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xdbfc7d([0x2a])))[_0xdbfc7d([0x6d,0x61,0x70])](_0x5d665b=>_0x5d665b[_0xdbfc7d([0x73,0x70,0x6c,0x69,0x74])](_0xdbfc7d([0x2e])))[_0xdbfc7d([0x73,0x6f,0x6d,0x65])](_0x260a6e=>_0x1c6d8a[_0xdbfc7d([0x65,0x76,0x65,0x72,0x79])]((_0x510592,_0x374aad)=>_0x260a6e[_0x374aad]===_0x510592||_0x260a6e[_0x374aad]===_0xdbfc7d([0x2a])));}function _0xcfa166(){return _0x4ba230&&_0xf5eda6?new window[(_0xdbfc7d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x37b62c,_0x4663d2)=>{_0x4ba230[_0xdbfc7d([0x74,0x68,0x65,0x6e])](_0x37b62c,_0x4663d2),_0xf5eda6[_0xdbfc7d([0x74,0x68,0x65,0x6e])](_0x3c46b8=>{_0x3c46b8!=_0xdbfc7d([0x56,0x61,0x6c,0x69,0x64])&&_0x37b62c(_0x3c46b8);},_0x4663d2);}):_0x4ba230||_0xf5eda6||_0xdbfc7d([0x56,0x61,0x6c,0x69,0x64]);}}function _0x22d2de(_0x4ea3d5,_0x2a4a88){return new window[(_0xdbfc7d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x431ddb=>{if(_0x462a23())return _0x431ddb(_0xdbfc7d([0x56,0x61,0x6c,0x69,0x64]));_0x2e4fef(),_0x26fc1f[_0xdbfc7d([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0xdbfc7d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x1e8038=!0x1;const _0x670b28=_0x3a4da4();function _0x4207d8(_0x2b7816){return!!_0x2b7816&&(typeof _0x2b7816===_0xdbfc7d([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2b7816===_0xdbfc7d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2b7816[_0xdbfc7d([0x74,0x68,0x65,0x6e])]===_0xdbfc7d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2b7816[_0xdbfc7d([0x63,0x61,0x74,0x63,0x68])]===_0xdbfc7d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0xb27263(_0x2392b9){_0x3d7df1(_0x2392b9)[_0xdbfc7d([0x74,0x68,0x65,0x6e])](_0x41e8d4=>{if(!_0x41e8d4||_0x41e8d4[_0xdbfc7d([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0xdbfc7d([0x6f,0x6b]))return _0xdbfc7d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x7cce7d(_0x3e5c0f(_0x670b28+_0x2a4a88))!=_0x41e8d4[_0xdbfc7d([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0xdbfc7d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0xdbfc7d([0x56,0x61,0x6c,0x69,0x64]);})[_0xdbfc7d([0x74,0x68,0x65,0x6e])](_0x593f19=>(_0x249055(),_0x593f19),()=>{const _0x1ea30e=_0x5b54b3();return null==_0x1ea30e?(_0x249055(),_0xdbfc7d([0x56,0x61,0x6c,0x69,0x64])):_0xdbfc7d(_0x1b687a-_0x1ea30e>(0x566ef78e^_0x295e6d)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0xdbfc7d([0x74,0x68,0x65,0x6e])](_0x431ddb)[_0xdbfc7d([0x63,0x61,0x74,0x63,0x68])](()=>{_0x431ddb(_0xdbfc7d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x413dc0=0x72549d0e^_0x295e6d;function _0x249055(){const _0x5ce495=_0xdbfc7d([0x6c,0x6c,0x63,0x74,0x2d])+_0x7cce7d(_0x3e5c0f(_0x4ea3d5)),_0x1c32c7=_0x4209f1(_0x7cce7d(window[_0xdbfc7d([0x4d,0x61,0x74,0x68])][_0xdbfc7d([0x63,0x65,0x69,0x6c])](_0x1b687a/_0x413dc0)));window[_0xdbfc7d([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xdbfc7d([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5ce495,_0x1c32c7);}function _0x5b54b3(){const _0x53baf5=_0xdbfc7d([0x6c,0x6c,0x63,0x74,0x2d])+_0x7cce7d(_0x3e5c0f(_0x4ea3d5)),_0x4e59a1=window[_0xdbfc7d([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xdbfc7d([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x53baf5);return _0x4e59a1?window[_0xdbfc7d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4209f1(_0x4e59a1),0x10)*_0x413dc0:null;}function _0x3d7df1(_0x333077){return new window[(_0xdbfc7d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x89ab3a,_0x2b032c)=>{_0x333077[_0xdbfc7d([0x74,0x68,0x65,0x6e])](_0x89ab3a,_0x2b032c),window[_0xdbfc7d([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2b032c,0x7263a74e^_0x295e6d);});}}_0x26fc1f[_0xdbfc7d([0x6f,0x6e])](_0xdbfc7d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0xe32874,_0x4410b0)=>{if(_0x4410b0[0x0]!=_0x4ea3d5)return _0x431ddb(_0xdbfc7d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4410b0[0x1]={..._0x4410b0[0x1],[_0xdbfc7d([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x670b28};},{[_0xdbfc7d([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xdbfc7d([0x68,0x69,0x67,0x68])}),_0x26fc1f[_0xdbfc7d([0x6f,0x6e])](_0xdbfc7d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x524e64=>{_0x4207d8(_0x524e64[_0xdbfc7d([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x1e8038=!0x0,_0xb27263(_0x524e64[_0xdbfc7d([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0xdbfc7d([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xdbfc7d([0x6c,0x6f,0x77])}),_0x54113c[_0xdbfc7d([0x74,0x68,0x65,0x6e])](()=>{_0x1e8038||_0x431ddb(_0xdbfc7d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x462a23(){return _0x26fc1f[_0xdbfc7d([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xdbfc7d([0x76,0x69,0x65,0x77])][_0xdbfc7d([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0xdbfc7d([0x61,0x75,0x74,0x6f]);}function _0x2e4fef(){_0x26fc1f[_0xdbfc7d([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xdbfc7d([0x76,0x69,0x65,0x77])][_0xdbfc7d([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0xdbfc7d([0x61,0x75,0x74,0x6f]);}}function _0x4da1ab(_0x241201){const _0x558ed6=[new window[(_0xdbfc7d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1330d1=>setTimeout(_0x1330d1,0x726b4d42^_0x295e6d)),_0x54113c[_0xdbfc7d([0x74,0x68,0x65,0x6e])](()=>new window[(_0xdbfc7d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4c1eac=>{let _0x209f9d=0x0;_0x26fc1f[_0xdbfc7d([0x6d,0x6f,0x64,0x65,0x6c])][_0xdbfc7d([0x6f,0x6e])](_0xdbfc7d([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4cf3fd,_0x126325)=>{_0x126325[0x0][_0xdbfc7d([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x209f9d++,_0x209f9d==(0x72627276^_0x295e6d)&&(_0x4c1eac(),_0x4cf3fd[_0xdbfc7d([0x6f,0x66,0x66])]());});}))];return window[_0xdbfc7d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0xdbfc7d([0x72,0x61,0x63,0x65])](_0x558ed6)[_0xdbfc7d([0x74,0x68,0x65,0x6e])](()=>_0x241201);}async function _0x1153a4(){await _0x54113c,_0x26fc1f[_0xdbfc7d([0x6d,0x6f,0x64,0x65,0x6c])][_0xdbfc7d([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x372f22,_0x26fc1f[_0xdbfc7d([0x6d,0x6f,0x64,0x65,0x6c])][_0xdbfc7d([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x372f22,_0x26fc1f[_0xdbfc7d([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0xdbfc7d([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x5d17ba(_0x2ede36){const _0x2ef2e3=_0x110cea();_0x26fc1f[_0x2ef2e3]=_0xdbfc7d([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x2ede36,_0x2ede36!=_0xdbfc7d([0x56,0x61,0x6c,0x69,0x64])&&_0x1153a4();}function _0x110cea(){const _0x19c532=window[_0xdbfc7d([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0xdbfc7d([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0xdbfc7d([0x6e,0x6f,0x77])]())[_0xdbfc7d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0xdbfc7d([0x2e]),'');let _0x223af3=_0xdbfc7d([0x58]);for(let _0x3b57e6=0x0;_0x3b57e6<_0x19c532[_0xdbfc7d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3b57e6+=0x2){let _0x280322=window[_0xdbfc7d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x19c532[_0xdbfc7d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3b57e6,_0x3b57e6+0x2));_0x280322>=_0x42b973[_0xdbfc7d([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x280322-=_0x42b973[_0xdbfc7d([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x223af3+=_0x42b973[_0x280322];}return _0x223af3;}function _0x4fbf6a(){const _0x565e37=_0x4663f3[_0xdbfc7d([0x73,0x70,0x6c,0x69,0x74])](_0xdbfc7d([0x2e]));if(0x3!=_0x565e37[_0xdbfc7d([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x3bf976(_0x565e37[0x1]);function _0x3bf976(_0x29a3db){const _0x10782d=_0xe4b399(_0x29a3db);return _0x10782d&&_0x38a5c4()?_0x10782d:null;function _0x38a5c4(){const _0x3790b0=_0x10782d[_0xdbfc7d([0x6a,0x74,0x69])],_0x26e8c3=window[_0xdbfc7d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3790b0[_0xdbfc7d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3790b0[_0xdbfc7d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x21e831={..._0x10782d,[_0xdbfc7d([0x6a,0x74,0x69])]:_0x3790b0[_0xdbfc7d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3790b0[_0xdbfc7d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x21e831[_0xdbfc7d([0x76,0x63])],_0x3e5c0f(_0x21e831)==_0x26e8c3;}}}async function _0x3eb7a2(){let _0x43fabc=!0x0;try{const _0x471561=_0x4663f3[_0xdbfc7d([0x73,0x70,0x6c,0x69,0x74])](_0xdbfc7d([0x2e])),[_0x384169,_0x39c0b1,_0x3818bb]=_0x471561;return _0xb57477(_0x384169),await _0x136f8b(_0x384169,_0x39c0b1,_0x3818bb),_0x43fabc;}catch(_0x37c450){return!0x1;}function _0xb57477(_0x4d15d7){const _0x280c80=_0xe4b399(_0x4d15d7);_0x280c80&&_0x280c80[_0xdbfc7d([0x61,0x6c,0x67])]==_0xdbfc7d([0x45,0x53,0x32,0x35,0x36])||(_0x43fabc=!0x1);}async function _0x136f8b(_0x1fef66,_0x1c870b,_0x13d2b5){const _0x4a7131=window[_0xdbfc7d([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0xdbfc7d([0x66,0x72,0x6f,0x6d])](_0x524752(_0x13d2b5),_0x1c99a7=>_0x1c99a7[_0xdbfc7d([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2b0995=new window[(_0xdbfc7d([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0xdbfc7d([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1fef66+_0xdbfc7d([0x2e])+_0x1c870b),_0x254842=window[_0xdbfc7d([0x63,0x72,0x79,0x70,0x74,0x6f])][_0xdbfc7d([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x254842)return;const _0x51e9df=await _0x254842[_0xdbfc7d([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0xdbfc7d([0x6a,0x77,0x6b]),_0x2c7057,{[_0xdbfc7d([0x6e,0x61,0x6d,0x65])]:_0xdbfc7d([0x45,0x43,0x44,0x53,0x41]),[_0xdbfc7d([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0xdbfc7d([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0xdbfc7d([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x254842[_0xdbfc7d([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0xdbfc7d([0x6e,0x61,0x6d,0x65])]:_0xdbfc7d([0x45,0x43,0x44,0x53,0x41]),[_0xdbfc7d([0x68,0x61,0x73,0x68])]:{[_0xdbfc7d([0x6e,0x61,0x6d,0x65])]:_0xdbfc7d([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x51e9df,_0x4a7131,_0x2b0995)||(_0x43fabc=!0x1);}}function _0xe4b399(_0x3ed267){return _0x3ed267[_0xdbfc7d([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0xdbfc7d([0x65,0x79]))?JSON[_0xdbfc7d([0x70,0x61,0x72,0x73,0x65])](_0x524752(_0x3ed267)):null;}function _0x524752(_0x25bf33){return window[_0xdbfc7d([0x61,0x74,0x6f,0x62])](_0x25bf33[_0xdbfc7d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0xdbfc7d([0x2b]))[_0xdbfc7d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0xdbfc7d([0x2f])));}function _0x3e5c0f(_0x24ce5d){let _0x23c981=0x1505;function _0x14abdc(_0x21a094){for(let _0xa998b4=0x0;_0xa998b4<_0x21a094[_0xdbfc7d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xa998b4++){const _0x507a72=_0x21a094[_0xdbfc7d([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0xa998b4);_0x23c981=(_0x23c981<<0x5)+_0x23c981+_0x507a72,_0x23c981&=_0x23c981;}}function _0x5a643e(_0x5bba41){Array[_0xdbfc7d([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5bba41)?_0x5bba41[_0xdbfc7d([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5a643e):_0x5bba41&&typeof _0x5bba41==_0xdbfc7d([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0xdbfc7d([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5bba41)[_0xdbfc7d([0x73,0x6f,0x72,0x74])]()[_0xdbfc7d([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4c55c5,_0x435929])=>{_0x14abdc(_0x4c55c5),_0x5a643e(_0x435929);}):_0x14abdc(window[_0xdbfc7d([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5bba41));}return _0x5a643e(_0x24ce5d),_0x23c981>>>0x0;}function _0x7cce7d(_0x4c5ed2){return _0x4c5ed2[_0xdbfc7d([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0xdbfc7d([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0xdbfc7d([0x30]));}function _0x4209f1(_0x5816c6){return _0x5816c6[_0xdbfc7d([0x73,0x70,0x6c,0x69,0x74])]('')[_0xdbfc7d([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0xdbfc7d([0x6a,0x6f,0x69,0x6e])]('');}function _0x372f22(){}function _0xdbfc7d(_0x47e563){return _0x47e563['map'](_0x1c59c8=>String['fromCharCode'](_0x1c59c8))['join']('');}_0x5d17ba(await _0x2b4fec());}(this);}['_initSchema'](){const _0x460a93=this['editor']['model']['schema'];_0x460a93['isRegistered']('imageBlock')&&_0x460a93['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x460a93['isRegistered']('imageInline')&&_0x460a93['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x2d8bba=this['editor'];_0x2d8bba['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x2d8bba['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x3c0e5f=>_0x3c0e5f['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x5b1b42=_0x2d8bba['commands']['get']('replaceImageSource');_0x5b1b42&&this['listenTo'](_0x5b1b42,'cleanupImage',(_0x1e3c1d,[_0x2c79ce,_0xf3ef1b])=>{_0x2c79ce['removeAttribute']('uploadcareImageId',_0xf3ef1b);});}['_initConfig'](){const _0x47bfaa=this['editor']['config']['get']('uploadcare.uploader')||{},_0xc6fc6a=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x4ec99b(_0x3eb2ec['document'],'uc-config',{..._0x47bfaa,'pubkey':_0xc6fc6a,'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']=_0x1d3727=>{if('closeMax'==_0x1d3727)return'#uc-icon-arrow-down';},_0x3eb2ec['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x4ec99b(_0x3eb2ec['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader'}),_0x3eb2ec['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x594f90=this['editor']['commands']['get']('insertImage');_0x594f90&&this['listenTo'](_0x594f90,'execute',()=>{const _0x46f21f=this['editor']['model']['document']['selection']['getSelectedElement']();_0x46f21f&&_0x46f21f['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{m(this['editor'],_0x46f21f);});});const _0x2ab098=this['editor']['commands']['get']('uploadcareImageReplace');_0x2ab098&&this['listenTo'](_0x2ab098,'execute',()=>{const _0x37a52e=this['editor']['model']['document']['selection']['getSelectedElement']();_0x37a52e&&_0x37a52e['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{m(this['editor'],_0x37a52e);});});}}class u extends _0x106a99{static get['requires'](){return[i,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x5526e1){super(_0x5526e1),_0x5526e1['config']['define']('uploadcare.uploader.sourceList',[o['Local'],o['URL']]),_0x3218c4['defineComponents'](_0x3218c4);}}class ta extends _0x5c0b52{constructor(_0x3b074e){super(_0x3b074e);const t=_0x3b074e['t'],_0x3b318f=this['bindTemplate'],_0x16f578=new _0x50317e();_0x16f578['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':[_0x16f578,{'text':_0x3b318f['to']('imageUploadProgress',_0x502ce2=>t('Loading\x20image...')+'\x20('+(_0x502ce2||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 _0x5c0b52{constructor(_0x2ee514){super(_0x2ee514);const t=_0x2ee514['t'];this['set']('errorType',null);const _0x52366a=new _0x479c26(_0x2ee514);_0x52366a['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x52366a['withText']=!0x0,_0x52366a['class']='ck-button-action',_0x52366a['on']('execute',()=>{this['fire']('retry');}),_0x52366a['bind']('isVisible')['to'](this,'errorType',_0x314574=>'NotFound'!==_0x314574);const _0x4688a1=new at();_0x4688a1['content']=et,_0x4688a1['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x499548=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':[_0x4688a1,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x499548['to']('errorType',_0x104592=>t('NotFound'!==_0x104592?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x52366a]},{'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 _0x5c0b52{constructor(_0x528bc7,_0x15bebd){super(_0x528bc7);const _0x17c49d=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x15bebd,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x17c49d['to']('imageSrc')}});}}class Z extends q{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x36d619,_0x2ca075,_0x4b90b7){super(_0x36d619),this['_items']=this['createCollection'](),this['_loadingView']=new ta(_0x36d619),this['_errorView']=new rt(_0x36d619),this['_editingView']=new tt(_0x36d619,_0x4b90b7),this['_focusableView']=new _0x5c0b52(_0x36d619),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x2ca075),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'],_0x2a6fc3=>{this['_addUploadcareImageEditorListeners'](_0x2a6fc3);});}),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'](_0x356f1e,_0x3e7db4){const _0xd22cba='uc-cloud-image-editor',_0x2ae5d4=_0x356f1e['querySelector'](_0xd22cba);if(_0x2ae5d4)return _0x3e7db4(_0x2ae5d4);const _0x11a8b7=new MutationObserver(_0x18bee3=>{const _0x1826fc=_0x18bee3['filter'](_0x4bdf9e=>_0x4bdf9e['target']===_0x356f1e&&_0x4bdf9e['addedNodes']['length']>0x0&&_0x4bdf9e['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0xd22cba);_0x1826fc['length']&&(_0x11a8b7['disconnect'](),_0x3e7db4(_0x1826fc[0x0]['addedNodes'][0x0]));});_0x11a8b7['observe'](_0x356f1e,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x15063c){_0x15063c['addEventListener']('apply',_0x27cd83=>{this['fire']('apply',{'imageSrc':_0x27cd83['detail']['cdnUrl']});}),_0x15063c['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class O extends/* #__PURE__ -- @preserve */
25
+ _0x208a9e(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x1e1da8,_0x3ef417,_0x4d5333){super(),this['_editor']=_0x1e1da8,this['_dialog']=_0x3ef417,this['_imageElement']=_0x4d5333,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 _0x1dc3a8=this['_imageElement'],_0x4aeec1=_0x1dc3a8['getAttribute']('uploadcareImageId'),_0x4528a3=_0x1dc3a8['getAttribute']('src');if(_0x4aeec1)await this['_loadImageInfo'](_0x4aeec1,_0x4528a3);else{if(this['_imageCache']['has'](_0x4528a3)){const _0x27cc7c=this['_imageCache']['get'](_0x4528a3);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x27cc7c['url'],this['imageDimension']=_0x27cc7c['dimension'],this['imageId']=_0x27cc7c['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x47b2fe}=this['_editor'],t=_0x47b2fe['t'],_0x559b56=new Z(_0x47b2fe,this['imageStatus'],this['_attributes']);_0x559b56['bind']('status')['to'](this,'imageStatus'),_0x559b56['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x559b56['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x559b56['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x559b56,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x19190f,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x559b56,'position':_0x186fe6['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x559b56['focus']();},'onHide':()=>{_0x559b56['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x490f49=>!F(_0x490f49,_0x559b56['element'])}});}['_loadImageInfo'](_0xa10a43,_0x30fec9){return C['getInfo'](_0xa10a43,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x4f91da=>{const {width:_0x3c8547,height:_0x4b4bdb}=_0x4f91da['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x30fec9,this['imageDimension']={'width':_0x3c8547,'height':_0x4b4bdb},this['imageId']=_0xa10a43;})['catch'](_0x3cea12=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x3cea12['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x173190,_0x36a19e){return this['_getImageAsFile'](_0x173190)['then'](_0x182aa0=>C['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x36a19e['signal'],'file':_0x182aa0,'onProgress':_0x4d2b46=>{_0x4d2b46&&_0x4d2b46['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x4d2b46['value']));}}))['then'](_0x22b9c8=>{const {width:_0xf2d23f,height:_0x309eaf}=_0x22b9c8['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x22b9c8['cdnUrl'],this['imageDimension']={'width':_0xf2d23f,'height':_0x309eaf},this['imageId']=_0x22b9c8['uuid'],this['imageUploadProgress']=null;const _0x33c52f=_0x173190['getAttribute']('src');this['_imageCache']['set'](_0x33c52f,{'id':_0x22b9c8['uuid'],'url':_0x22b9c8['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x2c4360=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x2c4360['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x53cebb,_0x123752){_0x53cebb['on']('apply',(_0x43d5b1,_0x1b682f)=>{this['_replaceImage'](_0x123752,_0x1b682f['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x53cebb['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x53cebb['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0xbe3fef,_0x4ab388,_0xa0d6ec){const _0x44beeb=this['_editor'],{width:_0x518d64,height:_0x191b46}=A(_0x4ab388,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x3ab595,imageSources:_0x28de87}=E(_0x4ab388,_0x518d64);_0x44beeb['model']['change'](_0x1b483a=>{if('$graveyard'===_0xbe3fef['root']['rootName']){_0x44beeb['execute']('insertImage',{'imageType':_0xbe3fef['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0xbe3fef['getAttributes']()),'uploadcareImageId':_0xa0d6ec,'src':_0x3ab595,'sources':_0x28de87,'width':_0x518d64,'height':_0x191b46}});const _0x4f04b9=_0xbe3fef['getChildren']();_0xbe3fef=_0x44beeb['model']['document']['selection']['getSelectedElement']();for(const _0xd9fb7b of _0x4f04b9)_0x1b483a['append'](_0x1b483a['cloneElement'](_0xd9fb7b),_0xbe3fef);}else _0x1b483a['setSelection'](_0xbe3fef,'on'),_0x44beeb['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0xbe3fef['getAttributes']()),'uploadcareImageId':_0xa0d6ec,'src':_0x3ab595,'sources':_0x28de87,'width':_0x518d64,'height':_0x191b46},_0xbe3fef);_0x1b483a['setSelection'](_0xbe3fef,'on');});}async['_getImageAsFile'](_0x29a22b){const _0x2d588b=_0x3eb2ec['window'],_0x59b8b5=_0x3eb2ec['document']['location']['href'],_0x4d9f02=new _0x2d588b['URL'](_0x29a22b['getAttribute']('src'),_0x59b8b5);if('data:'===_0x4d9f02['protocol']){const _0xc81ac2=_0x4d9f02['href']['split'](','),_0x1e7492=_0xc81ac2[0x0]['match'](/:(.*?);/)[0x1],_0x4c1b06=_0x1e7492['split']('/')[0x1],_0x48cf6=_0x2d588b['atob'](_0xc81ac2[_0xc81ac2['length']-0x1]);let _0x3b8f04=_0x48cf6['length'];const _0x12ca87=new _0x2d588b['Uint8Array'](_0x3b8f04);for(;_0x3b8f04--;)_0x12ca87[_0x3b8f04]=_0x48cf6['charCodeAt'](_0x3b8f04);return new _0x2d588b['File']([_0x12ca87],'image.'+_0x4c1b06,{'type':_0x1e7492});}const _0x2fc2a4=_0x4d9f02['href']['split']('/'),_0x237f75=_0x2fc2a4[_0x2fc2a4['length']-0x1],_0x3052e7=_0x237f75['split']('.')[0x1];return _0x2d588b['fetch'](_0x4d9f02['href'])['then'](_0x437279=>_0x437279['clone']()['blob']())['then'](_0x138018=>new _0x2d588b['File']([_0x138018],_0x237f75,{'type':'image/'+_0x3052e7}));}}class V extends _0x1ad507{['imageEditController'];static get['requires'](){return[_0xe5f039];}['_isEditable'];constructor(_0x33131f){super(_0x33131f),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x136d5a){const _0x28767d=R(_0x136d5a);return _0x354188=>!(!_0x354188||!_0x354188['is']('element','imageBlock')&&!_0x354188['is']('element','imageInline'))&&(!!_0x354188['hasAttribute']('uploadcareImageId')||!!_0x354188['hasAttribute']('src')&&_0x28767d(_0x354188['getAttribute']('src')));}(_0x33131f['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x39843d=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x39843d);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x35923a=this['editor']['model']['document']['selection']['getSelectedElement']();_0x35923a&&(_0x35923a['is']('element','imageBlock')||_0x35923a['is']('element','imageInline'))&&(this['imageEditController']=new O(this['editor'],this['editor']['plugins']['get'](_0xe5f039),_0x35923a),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class X extends _0x1ad507{['refresh'](){const _0xa26727=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0xa26727&&(_0xa26727['is']('element','imageBlock')||_0xa26727['is']('element','imageInline')));}['execute'](_0x33cad5){const _0x27861f=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x13c899=>{_0x13c899['setAttributes'](_0x33cad5,_0x27861f),_0x13c899['removeAttribute']('srcset',_0x27861f),_0x13c899['removeAttribute']('sizes',_0x27861f);});}}class g extends _0x106a99{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[i,_0x212ca4,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x4ef3c9}=this;_0x4ef3c9['commands']['add']('uploadcareImageEdit',new V(_0x4ef3c9)),_0x4ef3c9['commands']['add']('uploadcareImageReplace',new X(_0x4ef3c9));}}class j extends _0x106a99{['_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 _0x810ac=this['editor'];_0x810ac['ui']['componentFactory']['add']('uploadcareImageEdit',_0x4f9430=>{const _0x205e97=_0x810ac['commands']['get']('uploadcareImageEdit'),_0xb60137=new _0x479c26(_0x4f9430),t=_0x4f9430['t'];return _0xb60137['set']({'icon':_0x19190f,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0xb60137['bind']('isEnabled')['to'](_0x205e97),_0xb60137['bind']('isOn')['to'](_0x205e97,'isActive'),this['listenTo'](_0xb60137,'execute',()=>{_0x810ac['execute']('uploadcareImageEdit'),_0x810ac['editing']['view']['focus']();}),_0xb60137;}),this['_initConfig']();}['_initConfig'](){const _0x30ea57=_0x4ec99b(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x30ea57),this['listenTo'](this['editor'],'destroy',()=>{_0x30ea57['remove']();});}}class P extends _0x106a99{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':_0xe92648=>0x1!=_0xe92648}};
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':_0x17b83d=>0x1!=_0x17b83d}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x3c39fe=>{const {af:{dictionary:_0x275067,getPluralForm:_0x47bad0}}={'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':_0x416aff=>0x1!=_0x416aff}};_0x3c39fe['af']||={'dictionary':{},'getPluralForm':null},_0x3c39fe['af']['dictionary']=Object['assign'](_0x3c39fe['af']['dictionary'],_0x275067),_0x3c39fe['af']['getPluralForm']=_0x47bad0;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0xeee722=>{const {af:{dictionary:_0x412172,getPluralForm:_0xb293f3}}={'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':_0x464dc5=>0x1!=_0x464dc5}};_0xeee722['af']||={'dictionary':{},'getPluralForm':null},_0xeee722['af']['dictionary']=Object['assign'](_0xeee722['af']['dictionary'],_0x412172),_0xeee722['af']['getPluralForm']=_0xb293f3;})(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':_0x5bc6d3=>0x0==_0x5bc6d3?0x0:0x1==_0x5bc6d3?0x1:0x2==_0x5bc6d3?0x2:_0x5bc6d3%0x64>=0x3&&_0x5bc6d3%0x64<=0xa?0x3:_0x5bc6d3%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':_0x13993f=>0x0==_0x13993f?0x0:0x1==_0x13993f?0x1:0x2==_0x13993f?0x2:_0x13993f%0x64>=0x3&&_0x13993f%0x64<=0xa?0x3:_0x13993f%0x64>=0xb?0x4:0x5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0xcee223=>{const {ar:{dictionary:_0x25f5cf,getPluralForm:_0x2684a9}}={'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':_0x302d1d=>0x0==_0x302d1d?0x0:0x1==_0x302d1d?0x1:0x2==_0x302d1d?0x2:_0x302d1d%0x64>=0x3&&_0x302d1d%0x64<=0xa?0x3:_0x302d1d%0x64>=0xb?0x4:0x5}};_0xcee223['ar']||={'dictionary':{},'getPluralForm':null},_0xcee223['ar']['dictionary']=Object['assign'](_0xcee223['ar']['dictionary'],_0x25f5cf),_0xcee223['ar']['getPluralForm']=_0x2684a9;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x3cae66=>{const {ar:{dictionary:_0x253059,getPluralForm:_0x2f2490}}={'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':_0x35eebe=>0x0==_0x35eebe?0x0:0x1==_0x35eebe?0x1:0x2==_0x35eebe?0x2:_0x35eebe%0x64>=0x3&&_0x35eebe%0x64<=0xa?0x3:_0x35eebe%0x64>=0xb?0x4:0x5}};_0x3cae66['ar']||={'dictionary':{},'getPluralForm':null},_0x3cae66['ar']['dictionary']=Object['assign'](_0x3cae66['ar']['dictionary'],_0x253059),_0x3cae66['ar']['getPluralForm']=_0x2f2490;})(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':_0x2e3d44=>0x1!=_0x2e3d44}};
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':_0x2a73b9=>0x1!=_0x2a73b9}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x4e157d=>{const {ast:{dictionary:_0x5e3cab,getPluralForm:_0x14cac6}}={'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':_0x214eb1=>0x1!=_0x214eb1}};_0x4e157d['ast']||={'dictionary':{},'getPluralForm':null},_0x4e157d['ast']['dictionary']=Object['assign'](_0x4e157d['ast']['dictionary'],_0x5e3cab),_0x4e157d['ast']['getPluralForm']=_0x14cac6;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x10d68c=>{const {ast:{dictionary:_0x3d3a1a,getPluralForm:_0x2047bd}}={'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':_0x10f6b8=>0x1!=_0x10f6b8}};_0x10d68c['ast']||={'dictionary':{},'getPluralForm':null},_0x10d68c['ast']['dictionary']=Object['assign'](_0x10d68c['ast']['dictionary'],_0x3d3a1a),_0x10d68c['ast']['getPluralForm']=_0x2047bd;})(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':_0x43b281=>0x1!=_0x43b281}};
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':_0x40e5c7=>0x1!=_0x40e5c7}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x36e42c=>{const {az:{dictionary:_0x10c532,getPluralForm:_0x2eaea0}}={'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':_0x33185d=>0x1!=_0x33185d}};_0x36e42c['az']||={'dictionary':{},'getPluralForm':null},_0x36e42c['az']['dictionary']=Object['assign'](_0x36e42c['az']['dictionary'],_0x10c532),_0x36e42c['az']['getPluralForm']=_0x2eaea0;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x157549=>{const {az:{dictionary:_0x3e67d2,getPluralForm:_0x5d7b25}}={'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':_0x5ee8b9=>0x1!=_0x5ee8b9}};_0x157549['az']||={'dictionary':{},'getPluralForm':null},_0x157549['az']['dictionary']=Object['assign'](_0x157549['az']['dictionary'],_0x3e67d2),_0x157549['az']['getPluralForm']=_0x5d7b25;})(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':_0x3b2a51=>0x1!=_0x3b2a51}};
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':_0x3116ec=>0x1!=_0x3116ec}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x34a150=>{const {bg:{dictionary:_0x8165c0,getPluralForm:_0x58c903}}={'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':_0x17c6ca=>0x1!=_0x17c6ca}};_0x34a150['bg']||={'dictionary':{},'getPluralForm':null},_0x34a150['bg']['dictionary']=Object['assign'](_0x34a150['bg']['dictionary'],_0x8165c0),_0x34a150['bg']['getPluralForm']=_0x58c903;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x35f1b0=>{const {bg:{dictionary:_0x1c4990,getPluralForm:_0x55a8af}}={'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':_0x3eeabc=>0x1!=_0x3eeabc}};_0x35f1b0['bg']||={'dictionary':{},'getPluralForm':null},_0x35f1b0['bg']['dictionary']=Object['assign'](_0x35f1b0['bg']['dictionary'],_0x1c4990),_0x35f1b0['bg']['getPluralForm']=_0x55a8af;})(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':_0x348520=>0x1!=_0x348520}};
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':_0x1431e3=>0x1!=_0x1431e3}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x176225=>{const {bn:{dictionary:_0x506fbc,getPluralForm:_0x82d3b0}}={'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':_0x31ddea=>0x1!=_0x31ddea}};_0x176225['bn']||={'dictionary':{},'getPluralForm':null},_0x176225['bn']['dictionary']=Object['assign'](_0x176225['bn']['dictionary'],_0x506fbc),_0x176225['bn']['getPluralForm']=_0x82d3b0;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x46db94=>{const {bn:{dictionary:_0x4b7170,getPluralForm:_0x61373b}}={'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':_0x3bddcf=>0x1!=_0x3bddcf}};_0x46db94['bn']||={'dictionary':{},'getPluralForm':null},_0x46db94['bn']['dictionary']=Object['assign'](_0x46db94['bn']['dictionary'],_0x4b7170),_0x46db94['bn']['getPluralForm']=_0x61373b;})(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':_0x470c92=>_0x470c92%0xa==0x1&&_0x470c92%0x64!=0xb?0x0:_0x470c92%0xa>=0x2&&_0x470c92%0xa<=0x4&&(_0x470c92%0x64<0xa||_0x470c92%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':_0x2bdbc8=>_0x2bdbc8%0xa==0x1&&_0x2bdbc8%0x64!=0xb?0x0:_0x2bdbc8%0xa>=0x2&&_0x2bdbc8%0xa<=0x4&&(_0x2bdbc8%0x64<0xa||_0x2bdbc8%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x4c2561=>{const {bs:{dictionary:_0x2ff41f,getPluralForm:_0x13af6c}}={'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':_0x44199d=>_0x44199d%0xa==0x1&&_0x44199d%0x64!=0xb?0x0:_0x44199d%0xa>=0x2&&_0x44199d%0xa<=0x4&&(_0x44199d%0x64<0xa||_0x44199d%0x64>=0x14)?0x1:0x2}};_0x4c2561['bs']||={'dictionary':{},'getPluralForm':null},_0x4c2561['bs']['dictionary']=Object['assign'](_0x4c2561['bs']['dictionary'],_0x2ff41f),_0x4c2561['bs']['getPluralForm']=_0x13af6c;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x1cc899=>{const {bs:{dictionary:_0x4ef3ea,getPluralForm:_0x3c5167}}={'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':_0xf1c856=>_0xf1c856%0xa==0x1&&_0xf1c856%0x64!=0xb?0x0:_0xf1c856%0xa>=0x2&&_0xf1c856%0xa<=0x4&&(_0xf1c856%0x64<0xa||_0xf1c856%0x64>=0x14)?0x1:0x2}};_0x1cc899['bs']||={'dictionary':{},'getPluralForm':null},_0x1cc899['bs']['dictionary']=Object['assign'](_0x1cc899['bs']['dictionary'],_0x4ef3ea),_0x1cc899['bs']['getPluralForm']=_0x3c5167;})(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':_0x1b430a=>0x1!=_0x1b430a}};
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':_0x2065bc=>0x1!=_0x2065bc}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0xa085dd=>{const {ca:{dictionary:_0x4f3e6b,getPluralForm:_0xc883a1}}={'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':_0x15e6ff=>0x1!=_0x15e6ff}};_0xa085dd['ca']||={'dictionary':{},'getPluralForm':null},_0xa085dd['ca']['dictionary']=Object['assign'](_0xa085dd['ca']['dictionary'],_0x4f3e6b),_0xa085dd['ca']['getPluralForm']=_0xc883a1;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x5502e4=>{const {ca:{dictionary:_0xcc60e8,getPluralForm:_0x53fe41}}={'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':_0x2a48ac=>0x1!=_0x2a48ac}};_0x5502e4['ca']||={'dictionary':{},'getPluralForm':null},_0x5502e4['ca']['dictionary']=Object['assign'](_0x5502e4['ca']['dictionary'],_0xcc60e8),_0x5502e4['ca']['getPluralForm']=_0x53fe41;})(window['CKEDITOR_TRANSLATIONS']||={});