@ckeditor/ckeditor5-uploadcare 47.6.1 → 47.6.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (173) hide show
  1. package/build/uploadcare.js +1 -1
  2. package/dist/index.js +3 -3
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +9 -9
  150. package/src/index.js +1 -1
  151. package/src/ui/uploadcarecontroller.js +2 -2
  152. package/src/ui/uploadcareformview.js +1 -1
  153. package/src/uploadcare.js +1 -1
  154. package/src/uploadcarecommand.js +1 -1
  155. package/src/uploadcareconfig.js +1 -1
  156. package/src/uploadcareediting.js +1 -1
  157. package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.js +2 -2
  158. package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.js +1 -1
  159. package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.js +1 -1
  160. package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.js +1 -1
  161. package/src/uploadcareimageedit/ui/uploadcareimageeditformview.js +1 -1
  162. package/src/uploadcareimageedit/uploadcareimageeditcommand.js +1 -1
  163. package/src/uploadcareimageedit/uploadcareimageeditediting.js +1 -1
  164. package/src/uploadcareimageedit/uploadcareimageeditui.js +1 -1
  165. package/src/uploadcareimageedit/uploadcareimagereplacecommand.js +1 -1
  166. package/src/uploadcareimageedit.js +1 -1
  167. package/src/uploadcareui.js +1 -1
  168. package/src/uploadcareuploadadapter.js +1 -1
  169. package/src/utils/common-translations.js +1 -1
  170. package/src/utils/dialogfocusmanagerview.js +1 -1
  171. package/src/utils/editingutils.js +1 -1
  172. package/src/utils/isancestor.js +1 -1
  173. package/src/utils/uploadutils.js +1 -1
package/dist/index.js CHANGED
@@ -20,6 +20,6 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x3d1c8a,Command as _0x542a62}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x5149f1,IconGooglePhotos as _0x142071,IconGoogleDrive as _0x4e4552,IconFacebook as _0x2b9bce,IconDropbox as _0x2a5c50,IconUploadcareLink as _0x1f0e3f,IconUploadcareImageUpload as _0x41731,IconError as _0x4f4e09,IconUploadcareImageEdit as _0x3e0cb7}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x2e9538,MenuBarMenuListItemButtonView as _0x4cdf28,View as _0x362616,FocusCycler as _0x1ae114,Dialog as _0x467de3,DialogViewPosition as _0xff1e95,SpinnerView as _0x56dff4,IconView as _0x118962,Notification as _0x340bb1}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0xc0efb7,DomEmitterMixin as _0x2ccfbf,global as _0x2ff8fc,getAncestors as _0x1d5d0d,ObservableMixin as _0x20062d,uid as _0x1c56fd,createElement as _0x34a144}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x3decf3}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x46c8ae,info as _0x3ceabc}from'@uploadcare/upload-client';import*as _0x5a44e1 from'@uploadcare/file-uploader';var i=function(_0x1c9469){return _0x1c9469['Local']='local',_0x1c9469['URL']='url',_0x1c9469['Dropbox']='dropbox',_0x1c9469['GDrive']='gdrive',_0x1c9469['Facebook']='facebook',_0x1c9469['GPhotos']='gphotos',_0x1c9469['OneDrive']='onedrive',_0x1c9469;}({});function _(_0xaad788,_0x4576d5,_0x57021f){const t=_0xaad788['t'],_0x432581=_0xaad788['t'];switch(_0x4576d5){case i['Local']:return{'text':_0x432581('Insert'===_0x57021f?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x432581('From\x20computer')};case i['URL']:return{'text':'Insert'===_0x57021f?_0x432581('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x432581('Via\x20URL')};case i['Dropbox']:return{'text':t('Insert'===_0x57021f?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case i['Facebook']:return{'text':t('Insert'===_0x57021f?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case i['GDrive']:return{'text':t('Insert'===_0x57021f?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case i['GPhotos']:return{'text':t('Insert'===_0x57021f?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case i['OneDrive']:return{'text':t('Insert'===_0x57021f?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x4576d5;}}class e extends _0x3d1c8a{['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 _0x5e4e74=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x58e2a6;for(const _0x17d75d in _0x5e4e74){const _0x5db0a2=_0x17d75d,_0x254499=_0x5e4e74[_0x5db0a2];if('uploadcareLicenseKeyValid'==_0x254499||'uploadcareLicenseKeyInvalid'==_0x254499||'uploadcareLicenseKeyExpired'==_0x254499||'uploadcareLicenseKeyDomainLimit'==_0x254499||'uploadcareLicenseKeyNotAllowed'==_0x254499||'uploadcareLicenseKeyEvaluationLimit'==_0x254499||'uploadcareLicenseKeyUsageLimit'==_0x254499){delete _0x5e4e74[_0x5db0a2],_0x58e2a6=_0x254499,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x58e2a6&&_0x5e4e74['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x58e2a6&&_0x5e4e74['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x58e2a6&&_0x5e4e74['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x58e2a6&&_0x5e4e74['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x58e2a6&&_0x5e4e74['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyUsageLimit'==_0x58e2a6&&_0x5e4e74['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x3bdd05}=this,_0x15b48b=_0x3bdd05['commands']['get']('uploadcare');if(!_0x15b48b)return;const _0x299af2=this['_normalizeConfigSourceList'](_0x3bdd05['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x11b6fc,_0x3ac180)=>{const _0x24e845=this['_getIntegrationKey'](_0x3ac180['type']);return _0x11b6fc[_0x24e845]||(_0x11b6fc[_0x24e845]=[]),_0x11b6fc[_0x24e845]['push'](_0x3ac180),_0x11b6fc;},{});_0x3bdd05['plugins']['has']('ImageInsertUI')&&_0x3bdd05['commands']['get']('uploadcare')&&Object['entries'](_0x299af2)['forEach'](([_0x5c2775,_0x44ad3b])=>{_0x3bdd05['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x5c2775,'observable':()=>_0x15b48b,'buttonViewCreator':()=>this['_createToolbarButton'](_0x44ad3b),'formViewCreator':()=>this['_createDropdownButtons'](_0x44ad3b),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x44ad3b),'override':'assetManager'!==_0x5c2775});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0xcc9e5c){const {locale:_0x3bf817}=this['editor'];return _0xcc9e5c['map'](_0x1cc0cc=>{const _0x3e5882=_(_0x3bf817,_0x1cc0cc,'Insert');switch(_0x1cc0cc){case i['Local']:return{'icon':_0x41731,'type':i['Local'],..._0x3e5882};case i['URL']:return{'icon':_0x1f0e3f,'type':i['URL'],..._0x3e5882};case i['Dropbox']:return{'icon':_0x2a5c50,'type':i['Dropbox'],..._0x3e5882};case i['Facebook']:return{'icon':_0x2b9bce,'type':i['Facebook'],..._0x3e5882};case i['GDrive']:return{'icon':_0x4e4552,'type':i['GDrive'],..._0x3e5882};case i['GPhotos']:return{'icon':_0x142071,'type':i['GPhotos'],..._0x3e5882};case i['OneDrive']:return{'icon':_0x5149f1,'type':i['OneDrive'],..._0x3e5882};}});}['_getIntegrationKey'](_0xadd13b){switch(_0xadd13b){case i['Local']:return'upload';case i['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x5ada06,_0x4ec5d7){const _0x389bf7=this['editor'],_0x3cb884=new _0x5ada06(_0x389bf7['locale']),_0x41b1cc=_0x389bf7['commands']['get']('uploadcare');return _0x3cb884['bind']('isEnabled')['to'](_0x41b1cc),_0x3cb884['on']('execute',()=>{_0x41b1cc['execute'](_0x4ec5d7);}),_0x3cb884;}['_createToolbarButton'](_0x160e49){const {locale:_0xbb21f1}=this['editor'],_0x5e0ccf=this['editor']['plugins']['get']('ImageInsertUI'),_0x353c12=_0x160e49[0x0],_0x4ddc6f=this['_createButton'](_0x2e9538,_0x353c12['type']);return _0x4ddc6f['icon']=_0x353c12['icon'],_0x4ddc6f['bind']('label')['to'](_0x5e0ccf,'isImageSelected',_0x4638d3=>_(_0xbb21f1,_0x353c12['type'],_0x4638d3?'Replace':'Insert')['text']),_0x4ddc6f['tooltip']=!0x0,_0x4ddc6f;}['_createDropdownButtons'](_0x418d1c){const {locale:_0x1d6828}=this['editor'],_0x4f07e7=this['editor']['plugins']['get']('ImageInsertUI');return _0x418d1c['map'](_0x16efab=>{const _0x5f304e=this['_createButton'](_0x2e9538,_0x16efab['type']);return _0x5f304e['withText']=!0x0,_0x5f304e['icon']=_0x16efab['icon'],_0x5f304e['bind']('label')['to'](_0x4f07e7,'isImageSelected',_0x106ecb=>_(_0x1d6828,_0x16efab['type'],_0x106ecb?'Replace':'Insert')['text']),_0x5f304e;});}['_createMenuBarButtons'](_0x528130){return _0x528130['map'](_0x253aec=>{const _0x5a35bd=this['_createButton'](_0x4cdf28,_0x253aec['type']);return _0x5a35bd['icon']=_0x253aec['icon'],_0x5a35bd['label']=_0x253aec['shortText'],_0x5a35bd;});}}class F extends _0x362616{['focusTracker'];['focusCycler'];constructor(_0x1d23a4){super(_0x1d23a4),this['focusTracker']=new _0xc0efb7(),this['focusCycler']=new _0x1ae114({'focusables':this['createCollection'](),'focusTracker':this['focusTracker']});}['getFocusableElement'](){return{'tag':'div','attributes':{'aria-hidden':'true','tabindex':'0'},'on':{'focus':this['bindTemplate']['to'](()=>{this['focusCycler']['fire']('forwardCycle');})}};}}class x extends F{constructor(_0x480647,_0x1b2afc){super(_0x480647),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-'+_0x1b2afc}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function C(_0x55fe67,_0x211a94){const _0x3d36d5=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x90d69a=>_0x90d69a<=_0x211a94)['map'](_0x2e8cf6=>_0x55fe67['replace'](/\/$/,'')+'/-/resize/'+_0x2e8cf6+'x/\x20'+_0x2e8cf6+'w');return{'imageFallbackUrl':_0x55fe67,'imageSources':[{'srcset':_0x3d36d5['join'](',\x20'),'sizes':'(max-width:\x20'+_0x211a94+'px)\x20100vw,\x20'+_0x211a94+'px','type':'image/webp'}]};}function S(_0x375821,_0x41ea12,_0x2afe76){const _0x14716c=_0x375821['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x14716c?parseInt(_0x14716c[0x1],0xa):_0x41ea12,'height':_0x14716c?parseInt(_0x14716c[0x2],0xa):_0x2afe76};}function p(_0x1fa7ef,_0x5c59cb){const _0x1e4692=new(_0x2ccfbf())(),_0x1ed664=_0x1fa7ef['plugins']['get']('ImageUtils'),_0x47fd55=_0x1fa7ef['editing']['mapper']['toViewElement'](_0x5c59cb),_0xc35c8=_0x1ed664['findViewImgElement'](_0x47fd55),_0x10869d=_0x1fa7ef['editing']['view']['domConverter']['viewToDom'](_0xc35c8),_0x1e29f0=_0x5c59cb['getAttribute']('width'),_0x53971f=_0x5c59cb['getAttribute']('height'),_0xc6a7d7='image-processing';_0x1fa7ef['editing']['view']['change'](_0x554467=>{_0x554467['addClass'](_0xc6a7d7,_0x47fd55),_0x554467['setStyle']('aspect-ratio',_0x1e29f0+'/'+_0x53971f,_0xc35c8);}),_0x1e4692['listenTo'](_0x10869d,'load',()=>{_0x1e4692['stopListening'](_0x10869d,'load'),_0x1fa7ef['editing']['view']['change'](_0x28ca7b=>{_0x28ca7b['removeClass'](_0xc6a7d7,_0x47fd55),_0x28ca7b['removeStyle']('aspect-ratio',_0xc35c8);});});}function z(_0x37839a){if(Array['isArray'](_0x37839a)){const _0x55e7b1=_0x37839a['map'](z);return _0x492277=>_0x55e7b1['some'](_0xfcb83a=>_0xfcb83a(_0x492277));}if('origin'==_0x37839a){const _0x1e3e06=_0x2ff8fc['window']['location']['origin'];return _0x8bb966=>new URL(_0x8bb966,_0x2ff8fc['document']['baseURI'])['origin']==_0x1e3e06;}return'function'==typeof _0x37839a?_0x37839a:_0x37839a instanceof RegExp?_0x2e015e=>!(!_0x2e015e['match'](_0x37839a)&&!_0x2e015e['replace'](/^https?:\/\//,'')['match'](_0x37839a)):()=>!0x1;}function A(_0x1cb493,_0xe4e490){return _0x1d5d0d(_0x1cb493['target'])['includes'](_0xe4e490);}class n extends/* #__PURE__ -- @preserve */
24
- _0x20062d(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x15e747,_0x2957c2,_0x10b68e){super(),this['_editor']=_0x15e747,this['_editing']=_0x2957c2,this['_dialog']=_0x15e747['plugins']['get'](_0x467de3),this['_api']=_0x2957c2['ctxElement']['getAPI'](),this['_type']=_0x10b68e,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:_0x5779d9,model:_0x735b7}=this['_editor'],_0x1ef2f8=_0x735b7['document']['selection']['getSelectedElement'](),_0x402ec2=_0x1ef2f8&&(_0x1ef2f8['is']('element','imageBlock')||_0x1ef2f8['is']('element','imageInline'));this['_formView']=new x(_0x5779d9,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':_0x41731,'title':_(_0x5779d9,this['_type'],_0x402ec2?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0xff1e95['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x10cb19=>!A(_0x10cb19,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x311bfd}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x46f842=>{const _0x3ec7c9=_0x311bfd['length'];for(const _0x555541 of _0x311bfd){const _0x2a0933=_0x555541===_0x311bfd[_0x3ec7c9-0x1],{cdnUrl:_0x173d65,fileInfo:_0x146bea}=_0x555541;if(!_0x173d65||!_0x146bea)continue;const {width:_0x11b64d,height:_0x40788c}=_0x146bea['imageInfo'],_0x36908b=S(_0x173d65,_0x11b64d,_0x40788c),_0x440089=C(_0x173d65,_0x36908b['width']),_0x105bdf={'id':_0x146bea['uuid'],'type':'image','attributes':{'imageDimension':_0x36908b,..._0x440089}};this['_insertAsset'](_0x105bdf,_0x2a0933,_0x46f842);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x485b9a=>{'idle'===_0x485b9a['detail']['status']&&!_0x485b9a['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===i['Local']?this['_api']['setCurrentActivity'](i['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x1a7bf6,_0x1ceab4,_0x3b3cc5){const _0x3d2b9c=this['_editor']['model']['document']['selection'],_0x54532c=_0x3d2b9c['getSelectedElement'](),_0x16c2b4=!(!_0x54532c||!_0x54532c['is']('element','imageInline'));_0x3b3cc5['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x1a7bf6,_0x16c2b4),_0x1ceab4||_0x3b3cc5['setSelection'](_0x3d2b9c['getLastPosition']());}['_insertImage'](_0x285c77,_0x397389){const _0x404809=this['_editor'],{imageDimension:_0x287c88,imageFallbackUrl:_0x12fff7,imageSources:_0x869eae}=_0x285c77['attributes'];_0x404809['execute']('insertImage',{'imageType':_0x397389?'imageInline':null,'source':{'uploadcareImageId':_0x285c77['id'],'src':_0x12fff7,'sources':_0x869eae,..._0x287c88}});}}class w extends _0x542a62{['_editing'];['_controller']=null;static get['requires'](){return[_0x467de3,o];}constructor(_0x2bd12b){super(_0x2bd12b),this['_editing']=_0x2bd12b['plugins']['get'](o);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x1d1681){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new n(this['editor'],this['_editing'],_0x1d1681);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class j{static['upload']({file:_0x2785da,..._0x296396}){return _0x46c8ae(_0x2785da,_0x296396);}static['getInfo'](_0x233b6c,_0x274b27){return _0x3ceabc(_0x233b6c,_0x274b27);}}class f extends _0x3d1c8a{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x3decf3,o];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x57b781=this['editor'];if(!!!_0x57b781['config']['get']('uploadcare'))return;_0x57b781['plugins']['get'](_0x3decf3)['createUploadAdapter']=_0x2c1589=>new k(_0x2c1589,_0x57b781),_0x57b781['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x317ad3,{imageElement:_0x2861c7,data:_0xa44e2e})=>{_0x57b781['model']['change'](_0x4e2c87=>{_0x4e2c87['setAttribute']('uploadcareImageId',_0xa44e2e['uploadcareImageId'],_0x2861c7);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x15c515,_0x1928a0){this['loader']=_0x15c515,this['editor']=_0x1928a0,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x14a040=await this['loader']['file'];return j['upload']({'file':_0x14a040,'publicKey':this['editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':this['controller']['signal'],'onProgress':_0x3456c1=>{_0x3456c1&&_0x3456c1['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x3456c1['value']);}})['then'](async _0x5cd070=>{const {imageFallbackUrl:_0x2f1449,imageSources:_0x4cd2ef}=C(_0x5cd070['cdnUrl'],_0x5cd070['imageInfo']['width']);return{'uploadcareImageId':_0x5cd070['uuid'],'default':_0x2f1449,'sources':_0x4cd2ef};})['catch'](()=>{const _0x2ab32a=t('Cannot\x20upload\x20file:')+('\x20'+_0x14a040['name']+'.');return Promise['reject'](_0x2ab32a);});}['abort'](){this['controller']['abort']();}}class o extends _0x3d1c8a{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',f,_0x467de3];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['ucContextId'];get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}constructor(_0x3fc691){super(_0x3fc691),this['ucContextId']=_0x1c56fd();}['init'](){const _0x173f9f=this['editor'];_0x173f9f['commands']['add']('uploadcare',new w(_0x173f9f));}['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 _0x94cf3=_0x2ff8fc['document']['querySelector']('input[uploadcare-file-input]');_0x94cf3&&_0x94cf3['remove']();}),async function(_0x1638af){const _0x4f46f5=_0x3f93d7([0x68,0x67,0x50,0x36,0x38,0x70,0x71,0x63,0x37,0x4f,0x42,0x4a,0x78,0x39,0x75,0x33,0x7a,0x72,0x48,0x61,0x74,0x59,0x55,0x58,0x66,0x30,0x34,0x54,0x64,0x56,0x6b,0x4d,0x46,0x6d,0x77,0x43,0x73,0x35,0x53,0x44,0x41,0x76,0x6a,0x32,0x31,0x69,0x57,0x51,0x47,0x65,0x5a,0x4b,0x4c,0x79,0x52,0x6c,0x45,0x4e,0x6e,0x6f,0x49,0x62]),_0x366d77=0x535f8c3a,_0x374fd8=0x53580832^_0x366d77,_0x3e271a=window[_0x3f93d7([0x44,0x61,0x74,0x65])][_0x3f93d7([0x6e,0x6f,0x77])](),_0x5b5633=_0x1638af[_0x3f93d7([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x29bca2=new window[(_0x3f93d7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5d2a35=>{_0x5b5633[_0x3f93d7([0x6f,0x6e,0x63,0x65])](_0x3f93d7([0x72,0x65,0x61,0x64,0x79]),_0x5d2a35);}),_0x5a3432={[_0x3f93d7([0x6b,0x74,0x79])]:_0x3f93d7([0x45,0x43]),[_0x3f93d7([0x75,0x73,0x65])]:_0x3f93d7([0x73,0x69,0x67]),[_0x3f93d7([0x63,0x72,0x76])]:_0x3f93d7([0x50,0x2d,0x32,0x35,0x36]),[_0x3f93d7([0x78])]:_0x3f93d7([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]),[_0x3f93d7([0x79])]:_0x3f93d7([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]),[_0x3f93d7([0x61,0x6c,0x67])]:_0x3f93d7([0x45,0x53,0x32,0x35,0x36])},_0x5af38c=_0x5b5633[_0x3f93d7([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3f93d7([0x67,0x65,0x74])](_0x3f93d7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x39ee6c(){let _0xc7cbc8,_0x19359a=null,_0x263752=null;try{if(_0x5af38c==_0x3f93d7([0x47,0x50,0x4c]))return _0x3f93d7([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0xc7cbc8=_0x3c49f9(),!_0xc7cbc8)return _0x3f93d7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0xc7cbc8[_0x3f93d7([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x263752=_0x3d0115(_0xc7cbc8[_0x3f93d7([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0xc7cbc8[_0x3f93d7([0x6a,0x74,0x69])])),await _0x27be64()?_0x25c335()?_0x1b5be6()?_0x3f93d7([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x222cd9()?(_0xc7cbc8[_0x3f93d7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3f93d7([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x19359a=_0x160395(_0x3f93d7([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x3daabf()):_0x3f93d7([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3f93d7([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3f93d7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x3f93d7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x1b5be6(){const _0x15c8bf=[_0x3f93d7([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3f93d7([0x74,0x72,0x69,0x61,0x6c])][_0x3f93d7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xc7cbc8[_0x3f93d7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3e271a/0x3e8:0xe10*_0x374fd8;return _0xc7cbc8[_0x3f93d7([0x65,0x78,0x70])]<_0x15c8bf;}function _0x25c335(){const _0x509ad9=_0xc7cbc8[_0x3f93d7([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x509ad9&&(!!_0x509ad9[_0x3f93d7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3f93d7([0x2a]))||!!_0x509ad9[_0x3f93d7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3f93d7([0x55,0x50,0x4c,0x43])));}function _0x222cd9(){const _0xd6db2=_0xc7cbc8[_0x3f93d7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0xd6db2||0x0==_0xd6db2[_0x3f93d7([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x4faa04}=new URL(window[_0x3f93d7([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0xd6db2[_0x3f93d7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4faa04))return!0x0;const _0x1cada2=_0x4faa04[_0x3f93d7([0x73,0x70,0x6c,0x69,0x74])](_0x3f93d7([0x2e]));return _0xd6db2[_0x3f93d7([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x372160=>_0x372160[_0x3f93d7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3f93d7([0x2a])))[_0x3f93d7([0x6d,0x61,0x70])](_0x2af295=>_0x2af295[_0x3f93d7([0x73,0x70,0x6c,0x69,0x74])](_0x3f93d7([0x2e])))[_0x3f93d7([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xf1e82e=>_0xf1e82e[_0x3f93d7([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x1cada2[_0x3f93d7([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3f93d7([0x6d,0x61,0x70])](_0x811609=>Array(_0x1cada2[_0x3f93d7([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x811609[_0x3f93d7([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3f93d7([0x66,0x69,0x6c,0x6c])](_0x811609[0x0]===_0x3f93d7([0x2a])?_0x3f93d7([0x2a]):'')[_0x3f93d7([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x811609))[_0x3f93d7([0x73,0x6f,0x6d,0x65])](_0x16364a=>_0x1cada2[_0x3f93d7([0x65,0x76,0x65,0x72,0x79])]((_0x86970,_0x59f1a6)=>_0x16364a[_0x59f1a6]===_0x86970||_0x16364a[_0x59f1a6]===_0x3f93d7([0x2a])));}function _0x3daabf(){return _0x19359a&&_0x263752?new window[(_0x3f93d7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5c6c7a,_0xcffec3)=>{_0x19359a[_0x3f93d7([0x74,0x68,0x65,0x6e])](_0x5c6c7a,_0xcffec3),_0x263752[_0x3f93d7([0x74,0x68,0x65,0x6e])](_0x3276d4=>{_0x3276d4!=_0x3f93d7([0x56,0x61,0x6c,0x69,0x64])&&_0x5c6c7a(_0x3276d4);},_0xcffec3);}):_0x19359a||_0x263752||_0x3f93d7([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3d0115(_0x392864,_0xd561ce){return new window[(_0x3f93d7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xa821f4=>{if(_0x212eaf())return _0xa821f4(_0x3f93d7([0x56,0x61,0x6c,0x69,0x64]));_0x40c6fb(),_0x5b5633[_0x3f93d7([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3f93d7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4a9c57=!0x1;const _0x4a8764=_0x1c56fd();function _0x31153f(_0x2d65d0){return!!_0x2d65d0&&(typeof _0x2d65d0===_0x3f93d7([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2d65d0===_0x3f93d7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2d65d0[_0x3f93d7([0x74,0x68,0x65,0x6e])]===_0x3f93d7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2d65d0[_0x3f93d7([0x63,0x61,0x74,0x63,0x68])]===_0x3f93d7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x321ced(_0x2d19ad){_0x491539(_0x2d19ad)[_0x3f93d7([0x74,0x68,0x65,0x6e])](_0xf5e66b=>{if(!_0xf5e66b||_0xf5e66b[_0x3f93d7([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3f93d7([0x6f,0x6b]))return _0x3f93d7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1013c5(_0x99e540(_0x4a8764+_0xd561ce))!=_0xf5e66b[_0x3f93d7([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3f93d7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3f93d7([0x56,0x61,0x6c,0x69,0x64]);})[_0x3f93d7([0x74,0x68,0x65,0x6e])](_0x4ca1f4=>(_0x43aef5(),_0x4ca1f4),()=>{const _0x13fcbd=_0x1ae7e0();return null==_0x13fcbd?(_0x43aef5(),_0x3f93d7([0x56,0x61,0x6c,0x69,0x64])):_0x3f93d7(_0x3e271a-_0x13fcbd>(0x7753083a^_0x366d77)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3f93d7([0x74,0x68,0x65,0x6e])](_0xa821f4)[_0x3f93d7([0x63,0x61,0x74,0x63,0x68])](()=>{_0xa821f4(_0x3f93d7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2bc425=0x536962ba^_0x366d77;function _0x43aef5(){const _0x1d6bd0=_0x3f93d7([0x6c,0x6c,0x63,0x74,0x2d])+_0x1013c5(_0x99e540(_0x392864)),_0x11954e=_0x5da7da(_0x1013c5(window[_0x3f93d7([0x4d,0x61,0x74,0x68])][_0x3f93d7([0x63,0x65,0x69,0x6c])](_0x3e271a/_0x2bc425)));window[_0x3f93d7([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3f93d7([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1d6bd0,_0x11954e);}function _0x1ae7e0(){const _0x464a49=_0x3f93d7([0x6c,0x6c,0x63,0x74,0x2d])+_0x1013c5(_0x99e540(_0x392864)),_0x4acadc=window[_0x3f93d7([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3f93d7([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x464a49);return _0x4acadc?window[_0x3f93d7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5da7da(_0x4acadc),0x10)*_0x2bc425:null;}function _0x491539(_0x17d219){return new window[(_0x3f93d7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x10334f,_0x226796)=>{_0x17d219[_0x3f93d7([0x74,0x68,0x65,0x6e])](_0x10334f,_0x226796),window[_0x3f93d7([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x226796,0x535e58fa^_0x366d77);});}}_0x5b5633[_0x3f93d7([0x6f,0x6e])](_0x3f93d7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x5a1def,_0x334a49)=>{if(_0x334a49[0x0]!=_0x392864)return _0xa821f4(_0x3f93d7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x334a49[0x1]={..._0x334a49[0x1],[_0x3f93d7([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x4a8764};},{[_0x3f93d7([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3f93d7([0x68,0x69,0x67,0x68])}),_0x5b5633[_0x3f93d7([0x6f,0x6e])](_0x3f93d7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5663d9=>{_0x31153f(_0x5663d9[_0x3f93d7([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4a9c57=!0x0,_0x321ced(_0x5663d9[_0x3f93d7([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3f93d7([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3f93d7([0x6c,0x6f,0x77])}),_0x29bca2[_0x3f93d7([0x74,0x68,0x65,0x6e])](()=>{_0x4a9c57||_0xa821f4(_0x3f93d7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x212eaf(){return _0x5b5633[_0x3f93d7([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3f93d7([0x76,0x69,0x65,0x77])][_0x3f93d7([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3f93d7([0x61,0x75,0x74,0x6f]);}function _0x40c6fb(){_0x5b5633[_0x3f93d7([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3f93d7([0x76,0x69,0x65,0x77])][_0x3f93d7([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3f93d7([0x61,0x75,0x74,0x6f]);}}function _0x160395(_0x394f7a){const _0x146bb8=[new window[(_0x3f93d7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x350c60=>setTimeout(_0x350c60,0x5356b2f6^_0x366d77)),_0x29bca2[_0x3f93d7([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3f93d7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2ab765=>{let _0x492455=0x0;_0x5b5633[_0x3f93d7([0x6d,0x6f,0x64,0x65,0x6c])][_0x3f93d7([0x6f,0x6e])](_0x3f93d7([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x87b828,_0x45a04d)=>{_0x45a04d[0x0][_0x3f93d7([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x492455++,_0x492455==(0x535f89d2^_0x366d77)&&(_0x2ab765(),_0x87b828[_0x3f93d7([0x6f,0x66,0x66])]());});}))];return window[_0x3f93d7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3f93d7([0x72,0x61,0x63,0x65])](_0x146bb8)[_0x3f93d7([0x74,0x68,0x65,0x6e])](()=>_0x394f7a);}async function _0x7036fe(){await _0x29bca2,_0x5b5633[_0x3f93d7([0x6d,0x6f,0x64,0x65,0x6c])][_0x3f93d7([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2a5c47,_0x5b5633[_0x3f93d7([0x6d,0x6f,0x64,0x65,0x6c])][_0x3f93d7([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2a5c47,_0x5b5633[_0x3f93d7([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3f93d7([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x51db71(_0x1d524a){const _0x4ffa8b=_0x4083c3();_0x5b5633[_0x4ffa8b]=_0x3f93d7([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x1d524a,_0x1d524a!=_0x3f93d7([0x56,0x61,0x6c,0x69,0x64])&&_0x7036fe();}function _0x4083c3(){const _0x2a7e8e=window[_0x3f93d7([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3f93d7([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3f93d7([0x6e,0x6f,0x77])]())[_0x3f93d7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3f93d7([0x2e]),'');let _0x31b179=_0x3f93d7([0x68]);for(let _0xa0f998=0x0;_0xa0f998<_0x2a7e8e[_0x3f93d7([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xa0f998+=0x2){let _0x41680b=window[_0x3f93d7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2a7e8e[_0x3f93d7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xa0f998,_0xa0f998+0x2));_0x41680b>=_0x4f46f5[_0x3f93d7([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x41680b-=_0x4f46f5[_0x3f93d7([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x31b179+=_0x4f46f5[_0x41680b];}return _0x31b179;}function _0x3c49f9(){const _0x2c932a=_0x5af38c[_0x3f93d7([0x73,0x70,0x6c,0x69,0x74])](_0x3f93d7([0x2e]));if(0x3!=_0x2c932a[_0x3f93d7([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x3665b1(_0x2c932a[0x1]);function _0x3665b1(_0x17a95b){const _0x5b1d2b=_0x2d7cc3(_0x17a95b);return _0x5b1d2b&&_0x2c09cc()?_0x5b1d2b:null;function _0x2c09cc(){const _0x450b9e=_0x5b1d2b[_0x3f93d7([0x6a,0x74,0x69])],_0x216f95=window[_0x3f93d7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x450b9e[_0x3f93d7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x450b9e[_0x3f93d7([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x50b064={..._0x5b1d2b,[_0x3f93d7([0x6a,0x74,0x69])]:_0x450b9e[_0x3f93d7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x450b9e[_0x3f93d7([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x50b064[_0x3f93d7([0x76,0x63])],_0x99e540(_0x50b064)==_0x216f95;}}}async function _0x27be64(){let _0x4998da=!0x0;try{const _0x220425=_0x5af38c[_0x3f93d7([0x73,0x70,0x6c,0x69,0x74])](_0x3f93d7([0x2e])),[_0x1f590a,_0x28c59e,_0x52ca14]=_0x220425;return _0x1ccbda(_0x1f590a),await _0x532bf0(_0x1f590a,_0x28c59e,_0x52ca14),_0x4998da;}catch{return!0x1;}function _0x1ccbda(_0x3c74e2){const _0x36d4a3=_0x2d7cc3(_0x3c74e2);_0x36d4a3&&_0x36d4a3[_0x3f93d7([0x61,0x6c,0x67])]==_0x3f93d7([0x45,0x53,0x32,0x35,0x36])||(_0x4998da=!0x1);}async function _0x532bf0(_0x3572b9,_0x50d7b9,_0x5710e9){const _0x49175d=window[_0x3f93d7([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3f93d7([0x66,0x72,0x6f,0x6d])](_0x390043(_0x5710e9),_0x42c39d=>_0x42c39d[_0x3f93d7([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x16e849=new window[(_0x3f93d7([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3f93d7([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x3572b9+_0x3f93d7([0x2e])+_0x50d7b9),_0x146e19=window[_0x3f93d7([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3f93d7([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x146e19)return;const _0x473836=await _0x146e19[_0x3f93d7([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3f93d7([0x6a,0x77,0x6b]),_0x5a3432,{[_0x3f93d7([0x6e,0x61,0x6d,0x65])]:_0x3f93d7([0x45,0x43,0x44,0x53,0x41]),[_0x3f93d7([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3f93d7([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3f93d7([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x146e19[_0x3f93d7([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3f93d7([0x6e,0x61,0x6d,0x65])]:_0x3f93d7([0x45,0x43,0x44,0x53,0x41]),[_0x3f93d7([0x68,0x61,0x73,0x68])]:{[_0x3f93d7([0x6e,0x61,0x6d,0x65])]:_0x3f93d7([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x473836,_0x49175d,_0x16e849)||(_0x4998da=!0x1);}}function _0x2d7cc3(_0x5542e5){return _0x5542e5[_0x3f93d7([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3f93d7([0x65,0x79]))?JSON[_0x3f93d7([0x70,0x61,0x72,0x73,0x65])](_0x390043(_0x5542e5)):null;}function _0x390043(_0x1e327f){return window[_0x3f93d7([0x61,0x74,0x6f,0x62])](_0x1e327f[_0x3f93d7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3f93d7([0x2b]))[_0x3f93d7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3f93d7([0x2f])));}function _0x99e540(_0x1a18fa){let _0x259679=0x1505;function _0x469aee(_0x3600d8){for(let _0x22a9da=0x0;_0x22a9da<_0x3600d8[_0x3f93d7([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x22a9da++){const _0x2768c2=_0x3600d8[_0x3f93d7([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x22a9da);_0x259679=(_0x259679<<0x5)+_0x259679+_0x2768c2,_0x259679&=_0x259679;}}function _0x20d859(_0x1b549a){Array[_0x3f93d7([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1b549a)?_0x1b549a[_0x3f93d7([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x20d859):_0x1b549a&&typeof _0x1b549a==_0x3f93d7([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3f93d7([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1b549a)[_0x3f93d7([0x73,0x6f,0x72,0x74])]()[_0x3f93d7([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x204d02,_0x290734])=>{_0x469aee(_0x204d02),_0x20d859(_0x290734);}):_0x469aee(window[_0x3f93d7([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1b549a));}return _0x20d859(_0x1a18fa),_0x259679>>>0x0;}function _0x1013c5(_0x4bf5a3){return _0x4bf5a3[_0x3f93d7([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3f93d7([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3f93d7([0x30]));}function _0x5da7da(_0x4b9f0f){return _0x4b9f0f[_0x3f93d7([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3f93d7([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3f93d7([0x6a,0x6f,0x69,0x6e])]('');}function _0x2a5c47(){}function _0x3f93d7(_0x199466){return _0x199466['map'](_0x247a60=>String['fromCharCode'](_0x247a60))['join']('');}_0x51db71(await _0x39ee6c());}(this);}['_initSchema'](){const _0x3813ff=this['editor']['model']['schema'];_0x3813ff['isRegistered']('imageBlock')&&_0x3813ff['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x3813ff['isRegistered']('imageInline')&&_0x3813ff['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x39f449=this['editor'];_0x39f449['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x39f449['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x2c5f71=>_0x2c5f71['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x30648a=_0x39f449['commands']['get']('replaceImageSource');_0x30648a&&this['listenTo'](_0x30648a,'cleanupImage',(_0x4d956c,[_0x3afc3a,_0x4ff499])=>{_0x3afc3a['removeAttribute']('uploadcareImageId',_0x4ff499);});}['_initConfig'](){const _0x147df2=this['editor']['config']['get']('uploadcare.uploader')||{},_0x2608ba=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x34a144(_0x2ff8fc['document'],'uc-config',{..._0x147df2,'pubkey':_0x2608ba,'ctx-name':'uploader-'+this['ucContextId'],'sourceList':'','imgOnly':'true','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage'],'externalSourcesEmbedCss':'\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup\x20{\x20padding:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-menu\x20{\x20gap:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-footer\x20{\x20padding-top:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__separator\x20{\x20margin:\x200;\x20}\x0a\x09\x09\x09'}),this['_configElement']['iconHrefResolver']=_0x522302=>{if('closeMax'==_0x522302)return'#uc-icon-arrow-down';},_0x2ff8fc['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x34a144(_0x2ff8fc['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),_0x2ff8fc['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x44b37e=this['editor']['commands']['get']('insertImage');_0x44b37e&&this['listenTo'](_0x44b37e,'execute',()=>{const _0x132abf=this['editor']['model']['document']['selection']['getSelectedElement']();_0x132abf&&_0x132abf['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x132abf);});});const _0x38b760=this['editor']['commands']['get']('uploadcareImageReplace');_0x38b760&&this['listenTo'](_0x38b760,'execute',()=>{const _0x26300d=this['editor']['model']['document']['selection']['getSelectedElement']();_0x26300d&&_0x26300d['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x26300d);});});}}class tt extends _0x3d1c8a{static get['requires'](){return[o,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x20fbb8){super(_0x20fbb8),_0x20fbb8['config']['define']('uploadcare.uploader.sourceList',[i['Local'],i['URL']]),_0x5a44e1['defineComponents'](_0x5a44e1),this['_defineLocale']();}['_defineLocale'](){const _0x47325a=this['editor']['config']['get']('uploadcare.locale'),_0x27f3f7=this['editor']['locale']['contentLanguage'];_0x47325a&&_0x5a44e1['defineLocale'](_0x27f3f7,_0x47325a);}}class ii extends _0x362616{constructor(_0x219805){super(_0x219805);const t=_0x219805['t'],_0x8d6ea5=this['bindTemplate'],_0x483340=new _0x56dff4();_0x483340['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':[_0x483340,{'text':_0x8d6ea5['to']('imageUploadProgress',_0x1967f5=>t('Loading\x20image...')+'\x20('+(_0x1967f5||0x0)+'%)')}]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}class ti extends _0x362616{constructor(_0x2083a4){super(_0x2083a4);const t=_0x2083a4['t'];this['set']('errorType',null);const _0xd9a8a7=new _0x2e9538(_0x2083a4);_0xd9a8a7['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0xd9a8a7['withText']=!0x0,_0xd9a8a7['class']='ck-button-action',_0xd9a8a7['on']('execute',()=>{this['fire']('retry');}),_0xd9a8a7['bind']('isVisible')['to'](this,'errorType',_0x54ae66=>'NotFound'!==_0x54ae66);const _0x4b249e=new _0x118962();_0x4b249e['content']=_0x4f4e09,_0x4b249e['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x3331ed=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':[_0x4b249e,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x3331ed['to']('errorType',_0x45570c=>t('NotFound'!==_0x45570c?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0xd9a8a7]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}class ei extends _0x362616{constructor(_0x43e460,_0x2035de){super(_0x43e460);const _0x31c8a1=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x2035de,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x31c8a1['to']('imageSrc')}});}}class X extends F{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x2f6eff,_0x326a65,_0x3151f){super(_0x2f6eff),this['_items']=this['createCollection'](),this['_loadingView']=new ii(_0x2f6eff),this['_errorView']=new ti(_0x2f6eff),this['_editingView']=new ei(_0x2f6eff,_0x3151f),this['_focusableView']=new _0x362616(_0x2f6eff),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x326a65),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'],_0x271248=>{this['_addUploadcareImageEditorListeners'](_0x271248);});}),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'](_0x131a05,_0x3f07c5){const _0x582478='uc-cloud-image-editor',_0x10c06=_0x131a05['querySelector'](_0x582478);if(_0x10c06)return _0x3f07c5(_0x10c06);const _0x419533=new MutationObserver(_0x234b1b=>{const _0x4e9086=_0x234b1b['filter'](_0x12dd5c=>_0x12dd5c['target']===_0x131a05&&_0x12dd5c['addedNodes']['length']>0x0&&_0x12dd5c['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x582478);_0x4e9086['length']&&(_0x419533['disconnect'](),_0x3f07c5(_0x4e9086[0x0]['addedNodes'][0x0]));});_0x419533['observe'](_0x131a05,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x44268f){_0x44268f['addEventListener']('apply',_0x93855b=>{this['fire']('apply',{'imageSrc':_0x93855b['detail']['cdnUrl']});}),_0x44268f['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class N extends/* #__PURE__ -- @preserve */
25
- _0x20062d(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x5ac476,_0x548f3e,_0x8aaf2e){super(),this['_editor']=_0x5ac476,this['_dialog']=_0x548f3e,this['_imageElement']=_0x8aaf2e,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 _0x2ae439=this['_imageElement'],_0x2475a1=_0x2ae439['getAttribute']('uploadcareImageId'),_0x295585=_0x2ae439['getAttribute']('src');if(_0x2475a1)await this['_loadImageInfo'](_0x2475a1,_0x295585);else{if(this['_imageCache']['has'](_0x295585)){const _0x23d9c7=this['_imageCache']['get'](_0x295585);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x23d9c7['url'],this['imageDimension']=_0x23d9c7['dimension'],this['imageId']=_0x23d9c7['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x5c1cab}=this['_editor'],t=_0x5c1cab['t'],_0x10b653=new X(_0x5c1cab,this['imageStatus'],this['_attributes']);_0x10b653['bind']('status')['to'](this,'imageStatus'),_0x10b653['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x10b653['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x10b653['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x10b653,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x3e0cb7,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x10b653,'position':_0xff1e95['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x10b653['focus']();},'onHide':()=>{_0x10b653['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x46e6c2=>!A(_0x46e6c2,_0x10b653['element'])}});}['_loadImageInfo'](_0x4de183,_0x3ce0cc){return j['getInfo'](_0x4de183,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x52ae53=>{const {width:_0x42b889,height:_0x37a642}=_0x52ae53['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x3ce0cc,this['imageDimension']={'width':_0x42b889,'height':_0x37a642},this['imageId']=_0x4de183;})['catch'](_0x4f1f4b=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x4f1f4b['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x4e219e,_0x258846){return this['_getImageAsFile'](_0x4e219e)['then'](_0x590239=>j['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['_editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':_0x258846['signal'],'file':_0x590239,'onProgress':_0x36f2b6=>{_0x36f2b6&&_0x36f2b6['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x36f2b6['value']));}}))['then'](_0x56d361=>{const {width:_0x2463b2,height:_0x4b6bc8}=_0x56d361['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x56d361['cdnUrl'],this['imageDimension']={'width':_0x2463b2,'height':_0x4b6bc8},this['imageId']=_0x56d361['uuid'],this['imageUploadProgress']=null;const _0x5ebd88=_0x4e219e['getAttribute']('src');this['_imageCache']['set'](_0x5ebd88,{'id':_0x56d361['uuid'],'url':_0x56d361['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x57631f=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x57631f['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x2f6818,_0x39ee5d){_0x2f6818['on']('apply',(_0x22db51,_0x249bd6)=>{this['_replaceImage'](_0x39ee5d,_0x249bd6['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x2f6818['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x2f6818['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x29e3c5,_0x12b887,_0x185eb9){const _0x4d9ca3=this['_editor'],{width:_0x53daf3,height:_0x184245}=S(_0x12b887,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x118386,imageSources:_0x123007}=C(_0x12b887,_0x53daf3);_0x4d9ca3['model']['change'](_0x345313=>{if('$graveyard'===_0x29e3c5['root']['rootName']){_0x4d9ca3['execute']('insertImage',{'imageType':_0x29e3c5['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x29e3c5['getAttributes']()),'uploadcareImageId':_0x185eb9,'src':_0x118386,'sources':_0x123007,'width':_0x53daf3,'height':_0x184245}});const _0x2675ab=_0x29e3c5['getChildren']();_0x29e3c5=_0x4d9ca3['model']['document']['selection']['getSelectedElement']();for(const _0x12bf1a of _0x2675ab)_0x345313['append'](_0x345313['cloneElement'](_0x12bf1a),_0x29e3c5);}else _0x345313['setSelection'](_0x29e3c5,'on'),_0x4d9ca3['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x29e3c5['getAttributes']()),'uploadcareImageId':_0x185eb9,'src':_0x118386,'sources':_0x123007,'width':_0x53daf3,'height':_0x184245},_0x29e3c5);_0x345313['setSelection'](_0x29e3c5,'on');});}async['_getImageAsFile'](_0x96e307){const _0x2e8141=_0x2ff8fc['window'],_0x59f7b3=_0x2ff8fc['document']['location']['href'],_0x2bdfe3=new _0x2e8141['URL'](_0x96e307['getAttribute']('src'),_0x59f7b3);if('data:'===_0x2bdfe3['protocol']){const _0x34a922=_0x2bdfe3['href']['split'](','),_0x2a3931=_0x34a922[0x0]['match'](/:(.*?);/)[0x1],_0x516106=_0x2a3931['split']('/')[0x1],_0x4dd1e9=_0x2e8141['atob'](_0x34a922[_0x34a922['length']-0x1]);let _0x31820b=_0x4dd1e9['length'];const _0x4f0d80=new _0x2e8141['Uint8Array'](_0x31820b);for(;_0x31820b--;)_0x4f0d80[_0x31820b]=_0x4dd1e9['charCodeAt'](_0x31820b);return new _0x2e8141['File']([_0x4f0d80],'image.'+_0x516106,{'type':_0x2a3931});}const _0x368240=_0x2bdfe3['href']['split']('/'),_0x5481cd=_0x368240[_0x368240['length']-0x1],_0x36af8a=_0x5481cd['split']('.')[0x1];return _0x2e8141['fetch'](_0x2bdfe3['href'])['then'](_0x317848=>_0x317848['clone']()['blob']())['then'](_0x443cc9=>new _0x2e8141['File']([_0x443cc9],_0x5481cd,{'type':'image/'+_0x36af8a}));}}class Q extends _0x542a62{['imageEditController'];static get['requires'](){return[_0x467de3];}['_isEditable'];constructor(_0x3e2790){super(_0x3e2790),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x26353a){const _0x26a2c2=z(_0x26353a);return _0x3e38c6=>!(!_0x3e38c6||!_0x3e38c6['is']('element','imageBlock')&&!_0x3e38c6['is']('element','imageInline'))&&(!!_0x3e38c6['hasAttribute']('uploadcareImageId')||!!_0x3e38c6['hasAttribute']('src')&&_0x26a2c2(_0x3e38c6['getAttribute']('src')));}(_0x3e2790['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0xf4e5d2=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0xf4e5d2);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x12df48=this['editor']['model']['document']['selection']['getSelectedElement']();_0x12df48&&(_0x12df48['is']('element','imageBlock')||_0x12df48['is']('element','imageInline'))&&(this['imageEditController']=new N(this['editor'],this['editor']['plugins']['get'](_0x467de3),_0x12df48),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class V extends _0x542a62{['refresh'](){const _0xbf05b3=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0xbf05b3&&(_0xbf05b3['is']('element','imageBlock')||_0xbf05b3['is']('element','imageInline')));}['execute'](_0xe2ddeb){const _0xd4a802=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x4c034f=>{_0x4c034f['setAttributes'](_0xe2ddeb,_0xd4a802),_0x4c034f['removeAttribute']('srcset',_0xd4a802),_0x4c034f['removeAttribute']('sizes',_0xd4a802);});}}class m extends _0x3d1c8a{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[o,_0x340bb1,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x2c8baa}=this;_0x2c8baa['commands']['add']('uploadcareImageEdit',new Q(_0x2c8baa)),_0x2c8baa['commands']['add']('uploadcareImageReplace',new V(_0x2c8baa));}}class g extends _0x3d1c8a{['_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 _0x3c390b=this['editor'];_0x3c390b['ui']['componentFactory']['add']('uploadcareImageEdit',_0x713b51=>{const _0x2832bd=_0x3c390b['commands']['get']('uploadcareImageEdit'),_0x22da7c=new _0x2e9538(_0x713b51),t=_0x713b51['t'];return _0x22da7c['set']({'icon':_0x3e0cb7,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x22da7c['bind']('isEnabled')['to'](_0x2832bd),_0x22da7c['bind']('isOn')['to'](_0x2832bd,'isActive'),this['listenTo'](_0x22da7c,'execute',()=>{_0x3c390b['execute']('uploadcareImageEdit'),_0x3c390b['editing']['view']['focus']();}),_0x22da7c;}),this['_initConfig']();}['_initConfig'](){const _0x4f998e=_0x34a144(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x4f998e),this['listenTo'](this['editor'],'destroy',()=>{_0x4f998e['remove']();});}}class et extends _0x3d1c8a{static get['pluginName'](){return'UploadcareImageEdit';}static get['requires'](){return[m,g];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{tt as Uploadcare,w as UploadcareCommand,o as UploadcareEditing,et as UploadcareImageEdit,Q as UploadcareImageEditCommand,m as UploadcareImageEditEditing,g as UploadcareImageEditUI,e as UploadcareUI,f as UploadcareUploadAdapter};
23
+ import{Plugin as _0x53c0be,Command as _0x2af24d}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x1a5e75,IconGooglePhotos as _0x1417fa,IconGoogleDrive as _0x326a73,IconFacebook as _0xabf311,IconDropbox as _0xfc34a4,IconUploadcareLink as _0x3602a7,IconUploadcareImageUpload as _0x4810bc,IconError as _0x1f2473,IconUploadcareImageEdit as _0x5bbecd}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x3efac0,MenuBarMenuListItemButtonView as _0x276866,View as _0x1165d9,FocusCycler as _0x348f0a,Dialog as _0x40de19,DialogViewPosition as _0x45c5da,SpinnerView as _0xd55652,IconView as _0x1f1870,Notification as _0x476b8a}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x767656,DomEmitterMixin as _0x2e286e,global as _0x566bb4,getAncestors as _0x4510fe,ObservableMixin as _0x3b3467,uid as _0x232907,createElement as _0x41b016}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x4a2148}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0xf8f91e,info as _0x186bb3}from'@uploadcare/upload-client';import*as _0x13394d from'@uploadcare/file-uploader';var i=function(_0x3754a0){return _0x3754a0['Local']='local',_0x3754a0['URL']='url',_0x3754a0['Dropbox']='dropbox',_0x3754a0['GDrive']='gdrive',_0x3754a0['Facebook']='facebook',_0x3754a0['GPhotos']='gphotos',_0x3754a0['OneDrive']='onedrive',_0x3754a0;}({});function _(_0x42005e,_0xd367df,_0x51aa06){const t=_0x42005e['t'],_0x555294=_0x42005e['t'];switch(_0xd367df){case i['Local']:return{'text':_0x555294('Insert'===_0x51aa06?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x555294('From\x20computer')};case i['URL']:return{'text':'Insert'===_0x51aa06?_0x555294('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x555294('Via\x20URL')};case i['Dropbox']:return{'text':t('Insert'===_0x51aa06?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case i['Facebook']:return{'text':t('Insert'===_0x51aa06?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case i['GDrive']:return{'text':t('Insert'===_0x51aa06?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case i['GPhotos']:return{'text':t('Insert'===_0x51aa06?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case i['OneDrive']:return{'text':t('Insert'===_0x51aa06?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0xd367df;}}class e extends _0x53c0be{['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 _0x4b3260=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x2744c9;for(const _0x51621d in _0x4b3260){const _0x40bcb3=_0x51621d,_0xb37de0=_0x4b3260[_0x40bcb3];if('uploadcareLicenseKeyValid'==_0xb37de0||'uploadcareLicenseKeyInvalid'==_0xb37de0||'uploadcareLicenseKeyExpired'==_0xb37de0||'uploadcareLicenseKeyDomainLimit'==_0xb37de0||'uploadcareLicenseKeyNotAllowed'==_0xb37de0||'uploadcareLicenseKeyEvaluationLimit'==_0xb37de0||'uploadcareLicenseKeyUsageLimit'==_0xb37de0){delete _0x4b3260[_0x40bcb3],_0x2744c9=_0xb37de0,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x2744c9&&_0x4b3260['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x2744c9&&_0x4b3260['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x2744c9&&_0x4b3260['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x2744c9&&_0x4b3260['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x2744c9&&_0x4b3260['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyUsageLimit'==_0x2744c9&&_0x4b3260['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x4c9f7a}=this,_0x5cf523=_0x4c9f7a['commands']['get']('uploadcare');if(!_0x5cf523)return;const _0x11003b=this['_normalizeConfigSourceList'](_0x4c9f7a['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x5f25bf,_0x9e400d)=>{const _0x1ae7d0=this['_getIntegrationKey'](_0x9e400d['type']);return _0x5f25bf[_0x1ae7d0]||(_0x5f25bf[_0x1ae7d0]=[]),_0x5f25bf[_0x1ae7d0]['push'](_0x9e400d),_0x5f25bf;},{});_0x4c9f7a['plugins']['has']('ImageInsertUI')&&_0x4c9f7a['commands']['get']('uploadcare')&&Object['entries'](_0x11003b)['forEach'](([_0x4274b3,_0x493948])=>{_0x4c9f7a['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x4274b3,'observable':()=>_0x5cf523,'buttonViewCreator':()=>this['_createToolbarButton'](_0x493948),'formViewCreator':()=>this['_createDropdownButtons'](_0x493948),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x493948),'override':'assetManager'!==_0x4274b3});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x48da36){const {locale:_0x233011}=this['editor'];return _0x48da36['map'](_0x115ab6=>{const _0x24c2ea=_(_0x233011,_0x115ab6,'Insert');switch(_0x115ab6){case i['Local']:return{'icon':_0x4810bc,'type':i['Local'],..._0x24c2ea};case i['URL']:return{'icon':_0x3602a7,'type':i['URL'],..._0x24c2ea};case i['Dropbox']:return{'icon':_0xfc34a4,'type':i['Dropbox'],..._0x24c2ea};case i['Facebook']:return{'icon':_0xabf311,'type':i['Facebook'],..._0x24c2ea};case i['GDrive']:return{'icon':_0x326a73,'type':i['GDrive'],..._0x24c2ea};case i['GPhotos']:return{'icon':_0x1417fa,'type':i['GPhotos'],..._0x24c2ea};case i['OneDrive']:return{'icon':_0x1a5e75,'type':i['OneDrive'],..._0x24c2ea};}});}['_getIntegrationKey'](_0x45c522){switch(_0x45c522){case i['Local']:return'upload';case i['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x571d9e,_0x196522){const _0x786c34=this['editor'],_0x16a4f6=new _0x571d9e(_0x786c34['locale']),_0x5c341a=_0x786c34['commands']['get']('uploadcare');return _0x16a4f6['bind']('isEnabled')['to'](_0x5c341a),_0x16a4f6['on']('execute',()=>{_0x5c341a['execute'](_0x196522);}),_0x16a4f6;}['_createToolbarButton'](_0xf111e4){const {locale:_0x30f0e3}=this['editor'],_0xd18eed=this['editor']['plugins']['get']('ImageInsertUI'),_0x5a5fdb=_0xf111e4[0x0],_0x12e834=this['_createButton'](_0x3efac0,_0x5a5fdb['type']);return _0x12e834['icon']=_0x5a5fdb['icon'],_0x12e834['bind']('label')['to'](_0xd18eed,'isImageSelected',_0x5285b2=>_(_0x30f0e3,_0x5a5fdb['type'],_0x5285b2?'Replace':'Insert')['text']),_0x12e834['tooltip']=!0x0,_0x12e834;}['_createDropdownButtons'](_0x4f7732){const {locale:_0x35a9ae}=this['editor'],_0x403bcd=this['editor']['plugins']['get']('ImageInsertUI');return _0x4f7732['map'](_0x13612a=>{const _0x367eb2=this['_createButton'](_0x3efac0,_0x13612a['type']);return _0x367eb2['withText']=!0x0,_0x367eb2['icon']=_0x13612a['icon'],_0x367eb2['bind']('label')['to'](_0x403bcd,'isImageSelected',_0x33b94f=>_(_0x35a9ae,_0x13612a['type'],_0x33b94f?'Replace':'Insert')['text']),_0x367eb2;});}['_createMenuBarButtons'](_0x34c923){return _0x34c923['map'](_0x451eb0=>{const _0x28c23f=this['_createButton'](_0x276866,_0x451eb0['type']);return _0x28c23f['icon']=_0x451eb0['icon'],_0x28c23f['label']=_0x451eb0['shortText'],_0x28c23f;});}}class F extends _0x1165d9{['focusTracker'];['focusCycler'];constructor(_0x1de965){super(_0x1de965),this['focusTracker']=new _0x767656(),this['focusCycler']=new _0x348f0a({'focusables':this['createCollection'](),'focusTracker':this['focusTracker']});}['getFocusableElement'](){return{'tag':'div','attributes':{'aria-hidden':'true','tabindex':'0'},'on':{'focus':this['bindTemplate']['to'](()=>{this['focusCycler']['fire']('forwardCycle');})}};}}class x extends F{constructor(_0x49e0fe,_0x2d37e3){super(_0x49e0fe),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-'+_0x2d37e3}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function C(_0x4d30b3,_0x63b5bd){const _0x8ab9d9=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x326f18=>_0x326f18<=_0x63b5bd)['map'](_0x435b3b=>_0x4d30b3['replace'](/\/$/,'')+'/-/resize/'+_0x435b3b+'x/\x20'+_0x435b3b+'w');return{'imageFallbackUrl':_0x4d30b3,'imageSources':[{'srcset':_0x8ab9d9['join'](',\x20'),'sizes':'(max-width:\x20'+_0x63b5bd+'px)\x20100vw,\x20'+_0x63b5bd+'px','type':'image/webp'}]};}function S(_0x11e0b3,_0x5bad84,_0x1bcd41){const _0x4b38cb=_0x11e0b3['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x4b38cb?parseInt(_0x4b38cb[0x1],0xa):_0x5bad84,'height':_0x4b38cb?parseInt(_0x4b38cb[0x2],0xa):_0x1bcd41};}function p(_0x11acb8,_0x55a1e7){const _0x351512=new(_0x2e286e())(),_0x1f2141=_0x11acb8['plugins']['get']('ImageUtils'),_0x91b7e=_0x11acb8['editing']['mapper']['toViewElement'](_0x55a1e7),_0xba1f66=_0x1f2141['findViewImgElement'](_0x91b7e),_0x575980=_0x11acb8['editing']['view']['domConverter']['viewToDom'](_0xba1f66),_0x47c19e=_0x55a1e7['getAttribute']('width'),_0x1599fc=_0x55a1e7['getAttribute']('height'),_0x28c979='image-processing';_0x11acb8['editing']['view']['change'](_0x3d01bb=>{_0x3d01bb['addClass'](_0x28c979,_0x91b7e),_0x3d01bb['setStyle']('aspect-ratio',_0x47c19e+'/'+_0x1599fc,_0xba1f66);}),_0x351512['listenTo'](_0x575980,'load',()=>{_0x351512['stopListening'](_0x575980,'load'),_0x11acb8['editing']['view']['change'](_0x4b7beb=>{_0x4b7beb['removeClass'](_0x28c979,_0x91b7e),_0x4b7beb['removeStyle']('aspect-ratio',_0xba1f66);});});}function G(_0x413448){if(Array['isArray'](_0x413448)){const _0x211c62=_0x413448['map'](G);return _0x3993b4=>_0x211c62['some'](_0x40e615=>_0x40e615(_0x3993b4));}if('origin'==_0x413448){const _0x211ede=_0x566bb4['window']['location']['origin'];return _0x5525fe=>new URL(_0x5525fe,_0x566bb4['document']['baseURI'])['origin']==_0x211ede;}return'function'==typeof _0x413448?_0x413448:_0x413448 instanceof RegExp?_0x7f71b2=>!(!_0x7f71b2['match'](_0x413448)&&!_0x7f71b2['replace'](/^https?:\/\//,'')['match'](_0x413448)):()=>!0x1;}function A(_0x13da4b,_0x397011){return _0x4510fe(_0x13da4b['target'])['includes'](_0x397011);}class n extends/* #__PURE__ -- @preserve */
24
+ _0x3b3467(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x4b2e62,_0x215c5c,_0x5108fa){super(),this['_editor']=_0x4b2e62,this['_editing']=_0x215c5c,this['_dialog']=_0x4b2e62['plugins']['get'](_0x40de19),this['_api']=_0x215c5c['ctxElement']['getAPI'](),this['_type']=_0x5108fa,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:_0x5d7d6a,model:_0x1808a3}=this['_editor'],_0x59111f=_0x1808a3['document']['selection']['getSelectedElement'](),_0x57d247=_0x59111f&&(_0x59111f['is']('element','imageBlock')||_0x59111f['is']('element','imageInline'));this['_formView']=new x(_0x5d7d6a,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':_0x4810bc,'title':_(_0x5d7d6a,this['_type'],_0x57d247?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x45c5da['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x38ca91=>!A(_0x38ca91,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x379002}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x22cc2e=>{const _0x2d8e1e=_0x379002['length'];for(const _0x53531e of _0x379002){const _0x5b928a=_0x53531e===_0x379002[_0x2d8e1e-0x1],{cdnUrl:_0x378d7a,fileInfo:_0x402f4}=_0x53531e;if(!_0x378d7a||!_0x402f4)continue;const {width:_0x37f56d,height:_0x14c9f8}=_0x402f4['imageInfo'],_0x44dc84=S(_0x378d7a,_0x37f56d,_0x14c9f8),_0x5efac0=C(_0x378d7a,_0x44dc84['width']),_0x246243={'id':_0x402f4['uuid'],'type':'image','attributes':{'imageDimension':_0x44dc84,..._0x5efac0}};this['_insertAsset'](_0x246243,_0x5b928a,_0x22cc2e);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x1e38b5=>{'idle'===_0x1e38b5['detail']['status']&&!_0x1e38b5['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===i['Local']?this['_api']['setCurrentActivity'](i['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x50e71d,_0x51735a,_0x491db1){const _0x50a79e=this['_editor']['model']['document']['selection'],_0x339ca1=_0x50a79e['getSelectedElement'](),_0x12e927=!(!_0x339ca1||!_0x339ca1['is']('element','imageInline'));_0x491db1['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x50e71d,_0x12e927),_0x51735a||_0x491db1['setSelection'](_0x50a79e['getLastPosition']());}['_insertImage'](_0x45de48,_0x4432d1){const _0x2d8495=this['_editor'],{imageDimension:_0x3ada75,imageFallbackUrl:_0x59f5ca,imageSources:_0x1407cf}=_0x45de48['attributes'];_0x2d8495['execute']('insertImage',{'imageType':_0x4432d1?'imageInline':null,'source':{'uploadcareImageId':_0x45de48['id'],'src':_0x59f5ca,'sources':_0x1407cf,..._0x3ada75}});}}class w extends _0x2af24d{['_editing'];['_controller']=null;static get['requires'](){return[_0x40de19,o];}constructor(_0x2ec411){super(_0x2ec411),this['_editing']=_0x2ec411['plugins']['get'](o);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x3d799a){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new n(this['editor'],this['_editing'],_0x3d799a);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class j{static['upload']({file:_0x135441,..._0x5476bc}){return _0xf8f91e(_0x135441,_0x5476bc);}static['getInfo'](_0x557338,_0x4077ae){return _0x186bb3(_0x557338,_0x4077ae);}}class f extends _0x53c0be{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x4a2148,o];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x3d07ed=this['editor'];if(!!!_0x3d07ed['config']['get']('uploadcare'))return;_0x3d07ed['plugins']['get'](_0x4a2148)['createUploadAdapter']=_0x3c324e=>new k(_0x3c324e,_0x3d07ed),_0x3d07ed['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x343cb8,{imageElement:_0x37921c,data:_0x1a02de})=>{_0x3d07ed['model']['change'](_0x34c7e6=>{_0x34c7e6['setAttribute']('uploadcareImageId',_0x1a02de['uploadcareImageId'],_0x37921c);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x487ccc,_0x4ec09f){this['loader']=_0x487ccc,this['editor']=_0x4ec09f,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x53b05b=await this['loader']['file'];return j['upload']({'file':_0x53b05b,'publicKey':this['editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':this['controller']['signal'],'onProgress':_0x210cdd=>{_0x210cdd&&_0x210cdd['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x210cdd['value']);}})['then'](async _0x1d5378=>{const {imageFallbackUrl:_0x41c321,imageSources:_0x215d0d}=C(_0x1d5378['cdnUrl'],_0x1d5378['imageInfo']['width']);return{'uploadcareImageId':_0x1d5378['uuid'],'default':_0x41c321,'sources':_0x215d0d};})['catch'](()=>{const _0x29adf2=t('Cannot\x20upload\x20file:')+('\x20'+_0x53b05b['name']+'.');return Promise['reject'](_0x29adf2);});}['abort'](){this['controller']['abort']();}}class o extends _0x53c0be{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',f,_0x40de19];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['ucContextId'];get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}constructor(_0xc89388){super(_0xc89388),this['ucContextId']=_0x232907();}['init'](){const _0x3ad67f=this['editor'];_0x3ad67f['commands']['add']('uploadcare',new w(_0x3ad67f));}['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 _0x34a9bd=_0x566bb4['document']['querySelector']('input[uploadcare-file-input]');_0x34a9bd&&_0x34a9bd['remove']();}),async function(_0x2d54ab){const _0xf8ea4e=_0x2c3ed0([0x68,0x67,0x50,0x36,0x38,0x70,0x71,0x63,0x37,0x4f,0x42,0x4a,0x78,0x39,0x75,0x33,0x7a,0x72,0x48,0x61,0x74,0x59,0x55,0x58,0x66,0x30,0x34,0x54,0x64,0x56,0x6b,0x4d,0x46,0x6d,0x77,0x43,0x73,0x35,0x53,0x44,0x41,0x76,0x6a,0x32,0x31,0x69,0x57,0x51,0x47,0x65,0x5a,0x4b,0x4c,0x79,0x52,0x6c,0x45,0x4e,0x6e,0x6f,0x49,0x62]),_0x2040b=0x535f8c3a,_0x1a7c25=0x53580a92^_0x2040b,_0x108cd4=window[_0x2c3ed0([0x44,0x61,0x74,0x65])][_0x2c3ed0([0x6e,0x6f,0x77])](),_0x46591c=_0x2d54ab[_0x2c3ed0([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x33f103=new window[(_0x2c3ed0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3bfdf2=>{_0x46591c[_0x2c3ed0([0x6f,0x6e,0x63,0x65])](_0x2c3ed0([0x72,0x65,0x61,0x64,0x79]),_0x3bfdf2);}),_0x3a4958={[_0x2c3ed0([0x6b,0x74,0x79])]:_0x2c3ed0([0x45,0x43]),[_0x2c3ed0([0x75,0x73,0x65])]:_0x2c3ed0([0x73,0x69,0x67]),[_0x2c3ed0([0x63,0x72,0x76])]:_0x2c3ed0([0x50,0x2d,0x32,0x35,0x36]),[_0x2c3ed0([0x78])]:_0x2c3ed0([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]),[_0x2c3ed0([0x79])]:_0x2c3ed0([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]),[_0x2c3ed0([0x61,0x6c,0x67])]:_0x2c3ed0([0x45,0x53,0x32,0x35,0x36])},_0x51fe40=_0x46591c[_0x2c3ed0([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2c3ed0([0x67,0x65,0x74])](_0x2c3ed0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x5f03ed(){let _0x40908c,_0x4331cd=null,_0x147824=null;try{if(_0x51fe40==_0x2c3ed0([0x47,0x50,0x4c]))return _0x2c3ed0([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x40908c=_0x27091c(),!_0x40908c)return _0x2c3ed0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x40908c[_0x2c3ed0([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x147824=_0x3d273e(_0x40908c[_0x2c3ed0([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x40908c[_0x2c3ed0([0x6a,0x74,0x69])])),await _0x29dbac()?_0x573d76()?_0x3d4a5e()?_0x2c3ed0([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x367b9f()?(_0x40908c[_0x2c3ed0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2c3ed0([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x4331cd=_0x21b50a(_0x2c3ed0([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x1ad8f6()):_0x2c3ed0([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2c3ed0([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2c3ed0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x2c3ed0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x3d4a5e(){const _0x29ee59=[_0x2c3ed0([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2c3ed0([0x74,0x72,0x69,0x61,0x6c])][_0x2c3ed0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x40908c[_0x2c3ed0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x108cd4/0x3e8:0xe10*_0x1a7c25;return _0x40908c[_0x2c3ed0([0x65,0x78,0x70])]<_0x29ee59;}function _0x573d76(){const _0x15a157=_0x40908c[_0x2c3ed0([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x15a157&&(!!_0x15a157[_0x2c3ed0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2c3ed0([0x2a]))||!!_0x15a157[_0x2c3ed0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2c3ed0([0x55,0x50,0x4c,0x43])));}function _0x367b9f(){const _0x64e41=_0x40908c[_0x2c3ed0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x64e41||0x0==_0x64e41[_0x2c3ed0([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x36f2c3}=new URL(window[_0x2c3ed0([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x64e41[_0x2c3ed0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x36f2c3))return!0x0;const _0x3f10e3=_0x36f2c3[_0x2c3ed0([0x73,0x70,0x6c,0x69,0x74])](_0x2c3ed0([0x2e]));return _0x64e41[_0x2c3ed0([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5a15b7=>_0x5a15b7[_0x2c3ed0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2c3ed0([0x2a])))[_0x2c3ed0([0x6d,0x61,0x70])](_0x5b604d=>_0x5b604d[_0x2c3ed0([0x73,0x70,0x6c,0x69,0x74])](_0x2c3ed0([0x2e])))[_0x2c3ed0([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x347fa2=>_0x347fa2[_0x2c3ed0([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x3f10e3[_0x2c3ed0([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2c3ed0([0x6d,0x61,0x70])](_0x3acced=>Array(_0x3f10e3[_0x2c3ed0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x3acced[_0x2c3ed0([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2c3ed0([0x66,0x69,0x6c,0x6c])](_0x3acced[0x0]===_0x2c3ed0([0x2a])?_0x2c3ed0([0x2a]):'')[_0x2c3ed0([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x3acced))[_0x2c3ed0([0x73,0x6f,0x6d,0x65])](_0x28170a=>_0x3f10e3[_0x2c3ed0([0x65,0x76,0x65,0x72,0x79])]((_0x102bea,_0x243e7f)=>_0x28170a[_0x243e7f]===_0x102bea||_0x28170a[_0x243e7f]===_0x2c3ed0([0x2a])));}function _0x1ad8f6(){return _0x4331cd&&_0x147824?new window[(_0x2c3ed0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x8cbd87,_0x32ca62)=>{_0x4331cd[_0x2c3ed0([0x74,0x68,0x65,0x6e])](_0x8cbd87,_0x32ca62),_0x147824[_0x2c3ed0([0x74,0x68,0x65,0x6e])](_0x3c9acd=>{_0x3c9acd!=_0x2c3ed0([0x56,0x61,0x6c,0x69,0x64])&&_0x8cbd87(_0x3c9acd);},_0x32ca62);}):_0x4331cd||_0x147824||_0x2c3ed0([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3d273e(_0x4a7e9e,_0xda56dc){return new window[(_0x2c3ed0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xfe35f5=>{if(_0x4e8a6b())return _0xfe35f5(_0x2c3ed0([0x56,0x61,0x6c,0x69,0x64]));_0x1acb3c(),_0x46591c[_0x2c3ed0([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2c3ed0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x42a032=!0x1;const _0x7b7528=_0x232907();function _0x2a5ee7(_0x596cc2){return!!_0x596cc2&&(typeof _0x596cc2===_0x2c3ed0([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x596cc2===_0x2c3ed0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x596cc2[_0x2c3ed0([0x74,0x68,0x65,0x6e])]===_0x2c3ed0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x596cc2[_0x2c3ed0([0x63,0x61,0x74,0x63,0x68])]===_0x2c3ed0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x6a058b(_0x1dc065){_0x530492(_0x1dc065)[_0x2c3ed0([0x74,0x68,0x65,0x6e])](_0x595cc7=>{if(!_0x595cc7||_0x595cc7[_0x2c3ed0([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2c3ed0([0x6f,0x6b]))return _0x2c3ed0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x3cf1a6(_0x27891(_0x7b7528+_0xda56dc))!=_0x595cc7[_0x2c3ed0([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2c3ed0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2c3ed0([0x56,0x61,0x6c,0x69,0x64]);})[_0x2c3ed0([0x74,0x68,0x65,0x6e])](_0x3babc4=>(_0x1a2536(),_0x3babc4),()=>{const _0x466d1d=_0x19f441();return null==_0x466d1d?(_0x1a2536(),_0x2c3ed0([0x56,0x61,0x6c,0x69,0x64])):_0x2c3ed0(_0x108cd4-_0x466d1d>(0x7753083a^_0x2040b)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2c3ed0([0x74,0x68,0x65,0x6e])](_0xfe35f5)[_0x2c3ed0([0x63,0x61,0x74,0x63,0x68])](()=>{_0xfe35f5(_0x2c3ed0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2266f0=0x536962ba^_0x2040b;function _0x1a2536(){const _0x23fbcb=_0x2c3ed0([0x6c,0x6c,0x63,0x74,0x2d])+_0x3cf1a6(_0x27891(_0x4a7e9e)),_0xbe0c1e=_0xb9c9f2(_0x3cf1a6(window[_0x2c3ed0([0x4d,0x61,0x74,0x68])][_0x2c3ed0([0x63,0x65,0x69,0x6c])](_0x108cd4/_0x2266f0)));window[_0x2c3ed0([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2c3ed0([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x23fbcb,_0xbe0c1e);}function _0x19f441(){const _0x2b6add=_0x2c3ed0([0x6c,0x6c,0x63,0x74,0x2d])+_0x3cf1a6(_0x27891(_0x4a7e9e)),_0x16bd76=window[_0x2c3ed0([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2c3ed0([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2b6add);return _0x16bd76?window[_0x2c3ed0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xb9c9f2(_0x16bd76),0x10)*_0x2266f0:null;}function _0x530492(_0x576aa6){return new window[(_0x2c3ed0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3b7271,_0x5bcee4)=>{_0x576aa6[_0x2c3ed0([0x74,0x68,0x65,0x6e])](_0x3b7271,_0x5bcee4),window[_0x2c3ed0([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5bcee4,0x535e58fa^_0x2040b);});}}_0x46591c[_0x2c3ed0([0x6f,0x6e])](_0x2c3ed0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x111b1b,_0x3caf8b)=>{if(_0x3caf8b[0x0]!=_0x4a7e9e)return _0xfe35f5(_0x2c3ed0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3caf8b[0x1]={..._0x3caf8b[0x1],[_0x2c3ed0([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x7b7528};},{[_0x2c3ed0([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2c3ed0([0x68,0x69,0x67,0x68])}),_0x46591c[_0x2c3ed0([0x6f,0x6e])](_0x2c3ed0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x16e1dc=>{_0x2a5ee7(_0x16e1dc[_0x2c3ed0([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x42a032=!0x0,_0x6a058b(_0x16e1dc[_0x2c3ed0([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2c3ed0([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2c3ed0([0x6c,0x6f,0x77])}),_0x33f103[_0x2c3ed0([0x74,0x68,0x65,0x6e])](()=>{_0x42a032||_0xfe35f5(_0x2c3ed0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4e8a6b(){return _0x46591c[_0x2c3ed0([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2c3ed0([0x76,0x69,0x65,0x77])][_0x2c3ed0([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2c3ed0([0x61,0x75,0x74,0x6f]);}function _0x1acb3c(){_0x46591c[_0x2c3ed0([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2c3ed0([0x76,0x69,0x65,0x77])][_0x2c3ed0([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2c3ed0([0x61,0x75,0x74,0x6f]);}}function _0x21b50a(_0x3beb94){const _0x45b3f4=[new window[(_0x2c3ed0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x30f734=>setTimeout(_0x30f734,0x5356b2f6^_0x2040b)),_0x33f103[_0x2c3ed0([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2c3ed0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x11c36c=>{let _0x408b10=0x0;_0x46591c[_0x2c3ed0([0x6d,0x6f,0x64,0x65,0x6c])][_0x2c3ed0([0x6f,0x6e])](_0x2c3ed0([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1f7061,_0x1db22e)=>{_0x1db22e[0x0][_0x2c3ed0([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x408b10++,_0x408b10==(0x535f89d2^_0x2040b)&&(_0x11c36c(),_0x1f7061[_0x2c3ed0([0x6f,0x66,0x66])]());});}))];return window[_0x2c3ed0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2c3ed0([0x72,0x61,0x63,0x65])](_0x45b3f4)[_0x2c3ed0([0x74,0x68,0x65,0x6e])](()=>_0x3beb94);}async function _0x44feb5(){await _0x33f103,_0x46591c[_0x2c3ed0([0x6d,0x6f,0x64,0x65,0x6c])][_0x2c3ed0([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x599c9e,_0x46591c[_0x2c3ed0([0x6d,0x6f,0x64,0x65,0x6c])][_0x2c3ed0([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x599c9e,_0x46591c[_0x2c3ed0([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2c3ed0([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x1cd064(_0x4e1d0f){const _0x202902=_0x5df365();_0x46591c[_0x202902]=_0x2c3ed0([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x4e1d0f,_0x4e1d0f!=_0x2c3ed0([0x56,0x61,0x6c,0x69,0x64])&&_0x44feb5();}function _0x5df365(){const _0x12d552=window[_0x2c3ed0([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2c3ed0([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2c3ed0([0x6e,0x6f,0x77])]())[_0x2c3ed0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2c3ed0([0x2e]),'');let _0x24f169=_0x2c3ed0([0x68]);for(let _0x1d0a9b=0x0;_0x1d0a9b<_0x12d552[_0x2c3ed0([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1d0a9b+=0x2){let _0x568a14=window[_0x2c3ed0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x12d552[_0x2c3ed0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1d0a9b,_0x1d0a9b+0x2));_0x568a14>=_0xf8ea4e[_0x2c3ed0([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x568a14-=_0xf8ea4e[_0x2c3ed0([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x24f169+=_0xf8ea4e[_0x568a14];}return _0x24f169;}function _0x27091c(){const _0x15b6d3=_0x51fe40[_0x2c3ed0([0x73,0x70,0x6c,0x69,0x74])](_0x2c3ed0([0x2e]));if(0x3!=_0x15b6d3[_0x2c3ed0([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x20d927(_0x15b6d3[0x1]);function _0x20d927(_0xf36140){const _0x53e332=_0x3f1c09(_0xf36140);return _0x53e332&&_0x307547()?_0x53e332:null;function _0x307547(){const _0x2dae10=_0x53e332[_0x2c3ed0([0x6a,0x74,0x69])],_0x434bea=window[_0x2c3ed0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2dae10[_0x2c3ed0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2dae10[_0x2c3ed0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x585cb={..._0x53e332,[_0x2c3ed0([0x6a,0x74,0x69])]:_0x2dae10[_0x2c3ed0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x2dae10[_0x2c3ed0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x585cb[_0x2c3ed0([0x76,0x63])],_0x27891(_0x585cb)==_0x434bea;}}}async function _0x29dbac(){let _0x2b40b2=!0x0;try{const _0x43c9cc=_0x51fe40[_0x2c3ed0([0x73,0x70,0x6c,0x69,0x74])](_0x2c3ed0([0x2e])),[_0x1b782a,_0x2aadc5,_0x3d0e04]=_0x43c9cc;return _0x3b0db3(_0x1b782a),await _0x26dece(_0x1b782a,_0x2aadc5,_0x3d0e04),_0x2b40b2;}catch{return!0x1;}function _0x3b0db3(_0x3e323b){const _0x2c3c34=_0x3f1c09(_0x3e323b);_0x2c3c34&&_0x2c3c34[_0x2c3ed0([0x61,0x6c,0x67])]==_0x2c3ed0([0x45,0x53,0x32,0x35,0x36])||(_0x2b40b2=!0x1);}async function _0x26dece(_0x436f77,_0x1677de,_0x4d21b4){const _0xa2ce01=window[_0x2c3ed0([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2c3ed0([0x66,0x72,0x6f,0x6d])](_0x2ea9d9(_0x4d21b4),_0x399451=>_0x399451[_0x2c3ed0([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2a1af8=new window[(_0x2c3ed0([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2c3ed0([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x436f77+_0x2c3ed0([0x2e])+_0x1677de),_0x55506c=window[_0x2c3ed0([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2c3ed0([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x55506c)return;const _0x30f34f=await _0x55506c[_0x2c3ed0([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2c3ed0([0x6a,0x77,0x6b]),_0x3a4958,{[_0x2c3ed0([0x6e,0x61,0x6d,0x65])]:_0x2c3ed0([0x45,0x43,0x44,0x53,0x41]),[_0x2c3ed0([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2c3ed0([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2c3ed0([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x55506c[_0x2c3ed0([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2c3ed0([0x6e,0x61,0x6d,0x65])]:_0x2c3ed0([0x45,0x43,0x44,0x53,0x41]),[_0x2c3ed0([0x68,0x61,0x73,0x68])]:{[_0x2c3ed0([0x6e,0x61,0x6d,0x65])]:_0x2c3ed0([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x30f34f,_0xa2ce01,_0x2a1af8)||(_0x2b40b2=!0x1);}}function _0x3f1c09(_0x4d8004){return _0x4d8004[_0x2c3ed0([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2c3ed0([0x65,0x79]))?JSON[_0x2c3ed0([0x70,0x61,0x72,0x73,0x65])](_0x2ea9d9(_0x4d8004)):null;}function _0x2ea9d9(_0xfe6b2c){return window[_0x2c3ed0([0x61,0x74,0x6f,0x62])](_0xfe6b2c[_0x2c3ed0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2c3ed0([0x2b]))[_0x2c3ed0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2c3ed0([0x2f])));}function _0x27891(_0x5df5cc){let _0x43a18a=0x1505;function _0x3a3436(_0x4f2ab8){for(let _0x56fab0=0x0;_0x56fab0<_0x4f2ab8[_0x2c3ed0([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x56fab0++){const _0x41b7de=_0x4f2ab8[_0x2c3ed0([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x56fab0);_0x43a18a=(_0x43a18a<<0x5)+_0x43a18a+_0x41b7de,_0x43a18a&=_0x43a18a;}}function _0x46fd53(_0x3ae7be){Array[_0x2c3ed0([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x3ae7be)?_0x3ae7be[_0x2c3ed0([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x46fd53):_0x3ae7be&&typeof _0x3ae7be==_0x2c3ed0([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2c3ed0([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x3ae7be)[_0x2c3ed0([0x73,0x6f,0x72,0x74])]()[_0x2c3ed0([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x29307f,_0x1922e4])=>{_0x3a3436(_0x29307f),_0x46fd53(_0x1922e4);}):_0x3a3436(window[_0x2c3ed0([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x3ae7be));}return _0x46fd53(_0x5df5cc),_0x43a18a>>>0x0;}function _0x3cf1a6(_0x7cb202){return _0x7cb202[_0x2c3ed0([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2c3ed0([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2c3ed0([0x30]));}function _0xb9c9f2(_0x3f82a5){return _0x3f82a5[_0x2c3ed0([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2c3ed0([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2c3ed0([0x6a,0x6f,0x69,0x6e])]('');}function _0x599c9e(){}function _0x2c3ed0(_0xe8e385){return _0xe8e385['map'](_0x95d9f0=>String['fromCharCode'](_0x95d9f0))['join']('');}_0x1cd064(await _0x5f03ed());}(this);}['_initSchema'](){const _0x129905=this['editor']['model']['schema'];_0x129905['isRegistered']('imageBlock')&&_0x129905['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x129905['isRegistered']('imageInline')&&_0x129905['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0xbfd15e=this['editor'];_0xbfd15e['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0xbfd15e['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x474bae=>_0x474bae['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x510cdd=_0xbfd15e['commands']['get']('replaceImageSource');_0x510cdd&&this['listenTo'](_0x510cdd,'cleanupImage',(_0x4cd3f0,[_0x5e92e2,_0xdd036e])=>{_0x5e92e2['removeAttribute']('uploadcareImageId',_0xdd036e);});}['_initConfig'](){const _0x5480d7=this['editor']['config']['get']('uploadcare.uploader')||{},_0x10d64e=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x41b016(_0x566bb4['document'],'uc-config',{..._0x5480d7,'pubkey':_0x10d64e,'ctx-name':'uploader-'+this['ucContextId'],'sourceList':'','imgOnly':'true','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage'],'externalSourcesEmbedCss':'\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup\x20{\x20padding:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-menu\x20{\x20gap:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-footer\x20{\x20padding-top:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__separator\x20{\x20margin:\x200;\x20}\x0a\x09\x09\x09'}),this['_configElement']['iconHrefResolver']=_0x44e888=>{if('closeMax'==_0x44e888)return'#uc-icon-arrow-down';},_0x566bb4['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x41b016(_0x566bb4['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),_0x566bb4['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x32addd=this['editor']['commands']['get']('insertImage');_0x32addd&&this['listenTo'](_0x32addd,'execute',()=>{const _0x440488=this['editor']['model']['document']['selection']['getSelectedElement']();_0x440488&&_0x440488['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x440488);});});const _0x19ae9c=this['editor']['commands']['get']('uploadcareImageReplace');_0x19ae9c&&this['listenTo'](_0x19ae9c,'execute',()=>{const _0x544fb5=this['editor']['model']['document']['selection']['getSelectedElement']();_0x544fb5&&_0x544fb5['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x544fb5);});});}}class tt extends _0x53c0be{static get['requires'](){return[o,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x11453a){super(_0x11453a),_0x11453a['config']['define']('uploadcare.uploader.sourceList',[i['Local'],i['URL']]),_0x13394d['defineComponents'](_0x13394d),this['_defineLocale']();}['_defineLocale'](){const _0x4634fe=this['editor']['config']['get']('uploadcare.locale'),_0x33c183=this['editor']['locale']['contentLanguage'];_0x4634fe&&_0x13394d['defineLocale'](_0x33c183,_0x4634fe);}}class ii extends _0x1165d9{constructor(_0x38cb87){super(_0x38cb87);const t=_0x38cb87['t'],_0x12fe24=this['bindTemplate'],_0x1ff038=new _0xd55652();_0x1ff038['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':[_0x1ff038,{'text':_0x12fe24['to']('imageUploadProgress',_0x48cb42=>t('Loading\x20image...')+'\x20('+(_0x48cb42||0x0)+'%)')}]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}class ti extends _0x1165d9{constructor(_0x5dc0d5){super(_0x5dc0d5);const t=_0x5dc0d5['t'];this['set']('errorType',null);const _0x41ad95=new _0x3efac0(_0x5dc0d5);_0x41ad95['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x41ad95['withText']=!0x0,_0x41ad95['class']='ck-button-action',_0x41ad95['on']('execute',()=>{this['fire']('retry');}),_0x41ad95['bind']('isVisible')['to'](this,'errorType',_0x3929a1=>'NotFound'!==_0x3929a1);const _0x2d0060=new _0x1f1870();_0x2d0060['content']=_0x1f2473,_0x2d0060['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x377935=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':[_0x2d0060,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x377935['to']('errorType',_0x503262=>t('NotFound'!==_0x503262?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x41ad95]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}class ei extends _0x1165d9{constructor(_0x3863cc,_0x474dc4){super(_0x3863cc);const _0x323d2d=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x474dc4,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x323d2d['to']('imageSrc')}});}}class X extends F{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x59e302,_0x459041,_0x4778f0){super(_0x59e302),this['_items']=this['createCollection'](),this['_loadingView']=new ii(_0x59e302),this['_errorView']=new ti(_0x59e302),this['_editingView']=new ei(_0x59e302,_0x4778f0),this['_focusableView']=new _0x1165d9(_0x59e302),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x459041),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'],_0x3225e1=>{this['_addUploadcareImageEditorListeners'](_0x3225e1);});}),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'](_0x3dabe8,_0xdf36b3){const _0x30fca8='uc-cloud-image-editor',_0x4ae63d=_0x3dabe8['querySelector'](_0x30fca8);if(_0x4ae63d)return _0xdf36b3(_0x4ae63d);const _0x559963=new MutationObserver(_0x24d56c=>{const _0x7266dc=_0x24d56c['filter'](_0x4c6212=>_0x4c6212['target']===_0x3dabe8&&_0x4c6212['addedNodes']['length']>0x0&&_0x4c6212['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x30fca8);_0x7266dc['length']&&(_0x559963['disconnect'](),_0xdf36b3(_0x7266dc[0x0]['addedNodes'][0x0]));});_0x559963['observe'](_0x3dabe8,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x4851e0){_0x4851e0['addEventListener']('apply',_0x120b1b=>{this['fire']('apply',{'imageSrc':_0x120b1b['detail']['cdnUrl']});}),_0x4851e0['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class E extends/* #__PURE__ -- @preserve */
25
+ _0x3b3467(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x496cf4,_0x497f19,_0x123c5b){super(),this['_editor']=_0x496cf4,this['_dialog']=_0x497f19,this['_imageElement']=_0x123c5b,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 _0x5bb223=this['_imageElement'],_0x48efb3=_0x5bb223['getAttribute']('uploadcareImageId'),_0x40bd0b=_0x5bb223['getAttribute']('src');if(_0x48efb3)await this['_loadImageInfo'](_0x48efb3,_0x40bd0b);else{if(this['_imageCache']['has'](_0x40bd0b)){const _0x4022df=this['_imageCache']['get'](_0x40bd0b);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x4022df['url'],this['imageDimension']=_0x4022df['dimension'],this['imageId']=_0x4022df['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x4c1ff9}=this['_editor'],t=_0x4c1ff9['t'],_0x18a791=new X(_0x4c1ff9,this['imageStatus'],this['_attributes']);_0x18a791['bind']('status')['to'](this,'imageStatus'),_0x18a791['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x18a791['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x18a791['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x18a791,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x5bbecd,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x18a791,'position':_0x45c5da['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x18a791['focus']();},'onHide':()=>{_0x18a791['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x57baf7=>!A(_0x57baf7,_0x18a791['element'])}});}['_loadImageInfo'](_0x37e3b9,_0x3b2492){return j['getInfo'](_0x37e3b9,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x65e9b0=>{const {width:_0x4535d2,height:_0x311d04}=_0x65e9b0['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x3b2492,this['imageDimension']={'width':_0x4535d2,'height':_0x311d04},this['imageId']=_0x37e3b9;})['catch'](_0x7dd561=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x7dd561['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x3837c8,_0xf24408){return this['_getImageAsFile'](_0x3837c8)['then'](_0x401f77=>j['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['_editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':_0xf24408['signal'],'file':_0x401f77,'onProgress':_0x37d1df=>{_0x37d1df&&_0x37d1df['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x37d1df['value']));}}))['then'](_0x24648c=>{const {width:_0x441332,height:_0x459bc1}=_0x24648c['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x24648c['cdnUrl'],this['imageDimension']={'width':_0x441332,'height':_0x459bc1},this['imageId']=_0x24648c['uuid'],this['imageUploadProgress']=null;const _0x4d34af=_0x3837c8['getAttribute']('src');this['_imageCache']['set'](_0x4d34af,{'id':_0x24648c['uuid'],'url':_0x24648c['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x9277b8=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x9277b8['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x467be6,_0x22f197){_0x467be6['on']('apply',(_0x3aa870,_0x2ab5e3)=>{this['_replaceImage'](_0x22f197,_0x2ab5e3['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x467be6['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x467be6['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x4870f4,_0xda158e,_0x25da2b){const _0x495aff=this['_editor'],{width:_0x59517c,height:_0x14bb15}=S(_0xda158e,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x5c6974,imageSources:_0x4442ad}=C(_0xda158e,_0x59517c);_0x495aff['model']['change'](_0x5bf48c=>{if('$graveyard'===_0x4870f4['root']['rootName']){_0x495aff['execute']('insertImage',{'imageType':_0x4870f4['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x4870f4['getAttributes']()),'uploadcareImageId':_0x25da2b,'src':_0x5c6974,'sources':_0x4442ad,'width':_0x59517c,'height':_0x14bb15}});const _0xd0af09=_0x4870f4['getChildren']();_0x4870f4=_0x495aff['model']['document']['selection']['getSelectedElement']();for(const _0x1c2544 of _0xd0af09)_0x5bf48c['append'](_0x5bf48c['cloneElement'](_0x1c2544),_0x4870f4);}else _0x5bf48c['setSelection'](_0x4870f4,'on'),_0x495aff['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x4870f4['getAttributes']()),'uploadcareImageId':_0x25da2b,'src':_0x5c6974,'sources':_0x4442ad,'width':_0x59517c,'height':_0x14bb15},_0x4870f4);_0x5bf48c['setSelection'](_0x4870f4,'on');});}async['_getImageAsFile'](_0x13d959){const _0x526bd1=_0x566bb4['window'],_0x24cfc2=_0x566bb4['document']['location']['href'],_0x1ef6cc=new _0x526bd1['URL'](_0x13d959['getAttribute']('src'),_0x24cfc2);if('data:'===_0x1ef6cc['protocol']){const _0x211a21=_0x1ef6cc['href']['split'](','),_0x40f3c1=_0x211a21[0x0]['match'](/:(.*?);/)[0x1],_0x4dc904=_0x40f3c1['split']('/')[0x1],_0x1810ed=_0x526bd1['atob'](_0x211a21[_0x211a21['length']-0x1]);let _0x1992bf=_0x1810ed['length'];const _0x190d1c=new _0x526bd1['Uint8Array'](_0x1992bf);for(;_0x1992bf--;)_0x190d1c[_0x1992bf]=_0x1810ed['charCodeAt'](_0x1992bf);return new _0x526bd1['File']([_0x190d1c],'image.'+_0x4dc904,{'type':_0x40f3c1});}const _0x34717b=_0x1ef6cc['href']['split']('/'),_0x148dfc=_0x34717b[_0x34717b['length']-0x1],_0x3a6395=_0x148dfc['split']('.')[0x1];return _0x526bd1['fetch'](_0x1ef6cc['href'])['then'](_0x2fe756=>_0x2fe756['clone']()['blob']())['then'](_0x1221a7=>new _0x526bd1['File']([_0x1221a7],_0x148dfc,{'type':'image/'+_0x3a6395}));}}class O extends _0x2af24d{['imageEditController'];static get['requires'](){return[_0x40de19];}['_isEditable'];constructor(_0x4a7db9){super(_0x4a7db9),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x3dd1ab){const _0x4870f9=G(_0x3dd1ab);return _0x58ec85=>!(!_0x58ec85||!_0x58ec85['is']('element','imageBlock')&&!_0x58ec85['is']('element','imageInline'))&&(!!_0x58ec85['hasAttribute']('uploadcareImageId')||!!_0x58ec85['hasAttribute']('src')&&_0x4870f9(_0x58ec85['getAttribute']('src')));}(_0x4a7db9['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x24887a=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x24887a);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x4c5fe5=this['editor']['model']['document']['selection']['getSelectedElement']();_0x4c5fe5&&(_0x4c5fe5['is']('element','imageBlock')||_0x4c5fe5['is']('element','imageInline'))&&(this['imageEditController']=new E(this['editor'],this['editor']['plugins']['get'](_0x40de19),_0x4c5fe5),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class R extends _0x2af24d{['refresh'](){const _0x202eed=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x202eed&&(_0x202eed['is']('element','imageBlock')||_0x202eed['is']('element','imageInline')));}['execute'](_0x361b57){const _0x4ea4c3=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0xe29c96=>{_0xe29c96['setAttributes'](_0x361b57,_0x4ea4c3),_0xe29c96['removeAttribute']('srcset',_0x4ea4c3),_0xe29c96['removeAttribute']('sizes',_0x4ea4c3);});}}class m extends _0x53c0be{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[o,_0x476b8a,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x49909a}=this;_0x49909a['commands']['add']('uploadcareImageEdit',new O(_0x49909a)),_0x49909a['commands']['add']('uploadcareImageReplace',new R(_0x49909a));}}class g extends _0x53c0be{['_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 _0x4c3465=this['editor'];_0x4c3465['ui']['componentFactory']['add']('uploadcareImageEdit',_0x379d99=>{const _0x99886b=_0x4c3465['commands']['get']('uploadcareImageEdit'),_0x1ac631=new _0x3efac0(_0x379d99),t=_0x379d99['t'];return _0x1ac631['set']({'icon':_0x5bbecd,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x1ac631['bind']('isEnabled')['to'](_0x99886b),_0x1ac631['bind']('isOn')['to'](_0x99886b,'isActive'),this['listenTo'](_0x1ac631,'execute',()=>{_0x4c3465['execute']('uploadcareImageEdit'),_0x4c3465['editing']['view']['focus']();}),_0x1ac631;}),this['_initConfig']();}['_initConfig'](){const _0x59bf5e=_0x41b016(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x59bf5e),this['listenTo'](this['editor'],'destroy',()=>{_0x59bf5e['remove']();});}}class et extends _0x53c0be{static get['pluginName'](){return'UploadcareImageEdit';}static get['requires'](){return[m,g];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{tt as Uploadcare,w as UploadcareCommand,o as UploadcareEditing,et as UploadcareImageEdit,O as UploadcareImageEditCommand,m as UploadcareImageEditEditing,g as UploadcareImageEditUI,e as UploadcareUI,f as UploadcareUploadAdapter};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'af':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x11117d=>0x1!=_0x11117d}};
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':_0x5b1418=>0x1!=_0x5b1418}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x34e1fa=>{const {af:{dictionary:_0x437a8e,getPluralForm:_0x47c6f6}}={'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':_0x56e422=>0x1!=_0x56e422}};_0x34e1fa['af']||={'dictionary':{},'getPluralForm':null},_0x34e1fa['af']['dictionary']=Object['assign'](_0x34e1fa['af']['dictionary'],_0x437a8e),_0x34e1fa['af']['getPluralForm']=_0x47c6f6;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x2244db=>{const {af:{dictionary:_0x9b8126,getPluralForm:_0x145331}}={'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':_0x148496=>0x1!=_0x148496}};_0x2244db['af']||={'dictionary':{},'getPluralForm':null},_0x2244db['af']['dictionary']=Object['assign'](_0x2244db['af']['dictionary'],_0x9b8126),_0x2244db['af']['getPluralForm']=_0x145331;})(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':_0x12aa8f=>0x0==_0x12aa8f?0x0:0x1==_0x12aa8f?0x1:0x2==_0x12aa8f?0x2:_0x12aa8f%0x64>=0x3&&_0x12aa8f%0x64<=0xa?0x3:_0x12aa8f%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':_0x3072f4=>0x0==_0x3072f4?0x0:0x1==_0x3072f4?0x1:0x2==_0x3072f4?0x2:_0x3072f4%0x64>=0x3&&_0x3072f4%0x64<=0xa?0x3:_0x3072f4%0x64>=0xb?0x4:0x5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x24ed4a=>{const {ar:{dictionary:_0x140c85,getPluralForm:_0x5e942b}}={'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':_0x2a6a3d=>0x0==_0x2a6a3d?0x0:0x1==_0x2a6a3d?0x1:0x2==_0x2a6a3d?0x2:_0x2a6a3d%0x64>=0x3&&_0x2a6a3d%0x64<=0xa?0x3:_0x2a6a3d%0x64>=0xb?0x4:0x5}};_0x24ed4a['ar']||={'dictionary':{},'getPluralForm':null},_0x24ed4a['ar']['dictionary']=Object['assign'](_0x24ed4a['ar']['dictionary'],_0x140c85),_0x24ed4a['ar']['getPluralForm']=_0x5e942b;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x57c552=>{const {ar:{dictionary:_0x9ea997,getPluralForm:_0x3af187}}={'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':_0x5c6efe=>0x0==_0x5c6efe?0x0:0x1==_0x5c6efe?0x1:0x2==_0x5c6efe?0x2:_0x5c6efe%0x64>=0x3&&_0x5c6efe%0x64<=0xa?0x3:_0x5c6efe%0x64>=0xb?0x4:0x5}};_0x57c552['ar']||={'dictionary':{},'getPluralForm':null},_0x57c552['ar']['dictionary']=Object['assign'](_0x57c552['ar']['dictionary'],_0x9ea997),_0x57c552['ar']['getPluralForm']=_0x3af187;})(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':_0x396755=>0x1!=_0x396755}};
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':_0x585ee1=>0x1!=_0x585ee1}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x2aef5d=>{const {ast:{dictionary:_0x56b263,getPluralForm:_0x131c65}}={'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':_0x1cfb75=>0x1!=_0x1cfb75}};_0x2aef5d['ast']||={'dictionary':{},'getPluralForm':null},_0x2aef5d['ast']['dictionary']=Object['assign'](_0x2aef5d['ast']['dictionary'],_0x56b263),_0x2aef5d['ast']['getPluralForm']=_0x131c65;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x1b4fff=>{const {ast:{dictionary:_0x42a500,getPluralForm:_0x458045}}={'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':_0x21a472=>0x1!=_0x21a472}};_0x1b4fff['ast']||={'dictionary':{},'getPluralForm':null},_0x1b4fff['ast']['dictionary']=Object['assign'](_0x1b4fff['ast']['dictionary'],_0x42a500),_0x1b4fff['ast']['getPluralForm']=_0x458045;})(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':_0x1eaceb=>0x1!=_0x1eaceb}};
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':_0x4e700e=>0x1!=_0x4e700e}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x55b73e=>{const {az:{dictionary:_0x5f3709,getPluralForm:_0x3127ca}}={'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':_0x40792a=>0x1!=_0x40792a}};_0x55b73e['az']||={'dictionary':{},'getPluralForm':null},_0x55b73e['az']['dictionary']=Object['assign'](_0x55b73e['az']['dictionary'],_0x5f3709),_0x55b73e['az']['getPluralForm']=_0x3127ca;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x4106b0=>{const {az:{dictionary:_0x5d1f5b,getPluralForm:_0x3a826d}}={'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':_0x854649=>0x1!=_0x854649}};_0x4106b0['az']||={'dictionary':{},'getPluralForm':null},_0x4106b0['az']['dictionary']=Object['assign'](_0x4106b0['az']['dictionary'],_0x5d1f5b),_0x4106b0['az']['getPluralForm']=_0x3a826d;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'be':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x3f9356=>_0x3f9356%0xa==0x1&&_0x3f9356%0x64!=0xb?0x0:_0x3f9356%0xa>=0x2&&_0x3f9356%0xa<=0x4&&(_0x3f9356%0x64<0xa||_0x3f9356%0x64>=0x14)?0x1:0x2}};
23
+ export default{'be':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x328299=>_0x328299%0xa==0x1&&_0x328299%0x64!=0xb?0x0:_0x328299%0xa>=0x2&&_0x328299%0xa<=0x4&&(_0x328299%0x64<0xa||_0x328299%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x59abe7=>{const {be:{dictionary:_0x31031b,getPluralForm:_0x1208a8}}={'be':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x244856=>_0x244856%0xa==0x1&&_0x244856%0x64!=0xb?0x0:_0x244856%0xa>=0x2&&_0x244856%0xa<=0x4&&(_0x244856%0x64<0xa||_0x244856%0x64>=0x14)?0x1:0x2}};_0x59abe7['be']||={'dictionary':{},'getPluralForm':null},_0x59abe7['be']['dictionary']=Object['assign'](_0x59abe7['be']['dictionary'],_0x31031b),_0x59abe7['be']['getPluralForm']=_0x1208a8;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x180e54=>{const {be:{dictionary:_0x23396c,getPluralForm:_0x97a589}}={'be':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x5dfe3c=>_0x5dfe3c%0xa==0x1&&_0x5dfe3c%0x64!=0xb?0x0:_0x5dfe3c%0xa>=0x2&&_0x5dfe3c%0xa<=0x4&&(_0x5dfe3c%0x64<0xa||_0x5dfe3c%0x64>=0x14)?0x1:0x2}};_0x180e54['be']||={'dictionary':{},'getPluralForm':null},_0x180e54['be']['dictionary']=Object['assign'](_0x180e54['be']['dictionary'],_0x23396c),_0x180e54['be']['getPluralForm']=_0x97a589;})(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':_0x3dedf3=>0x1!=_0x3dedf3}};
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':_0x5bd076=>0x1!=_0x5bd076}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x650667=>{const {bg:{dictionary:_0x1a10da,getPluralForm:_0x1e5d34}}={'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':_0x2b23b3=>0x1!=_0x2b23b3}};_0x650667['bg']||={'dictionary':{},'getPluralForm':null},_0x650667['bg']['dictionary']=Object['assign'](_0x650667['bg']['dictionary'],_0x1a10da),_0x650667['bg']['getPluralForm']=_0x1e5d34;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x16fb1d=>{const {bg:{dictionary:_0x2b8598,getPluralForm:_0x212b23}}={'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':_0xb8806=>0x1!=_0xb8806}};_0x16fb1d['bg']||={'dictionary':{},'getPluralForm':null},_0x16fb1d['bg']['dictionary']=Object['assign'](_0x16fb1d['bg']['dictionary'],_0x2b8598),_0x16fb1d['bg']['getPluralForm']=_0x212b23;})(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':_0x318d41=>0x1!=_0x318d41}};
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':_0x153487=>0x1!=_0x153487}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x19d3d9=>{const {bn:{dictionary:_0xb7c296,getPluralForm:_0x5a9b72}}={'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':_0x2c36a9=>0x1!=_0x2c36a9}};_0x19d3d9['bn']||={'dictionary':{},'getPluralForm':null},_0x19d3d9['bn']['dictionary']=Object['assign'](_0x19d3d9['bn']['dictionary'],_0xb7c296),_0x19d3d9['bn']['getPluralForm']=_0x5a9b72;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x5d556d=>{const {bn:{dictionary:_0x4e63f6,getPluralForm:_0x34e9ba}}={'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':_0x3124c0=>0x1!=_0x3124c0}};_0x5d556d['bn']||={'dictionary':{},'getPluralForm':null},_0x5d556d['bn']['dictionary']=Object['assign'](_0x5d556d['bn']['dictionary'],_0x4e63f6),_0x5d556d['bn']['getPluralForm']=_0x34e9ba;})(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':_0x282e36=>_0x282e36%0xa==0x1&&_0x282e36%0x64!=0xb?0x0:_0x282e36%0xa>=0x2&&_0x282e36%0xa<=0x4&&(_0x282e36%0x64<0xa||_0x282e36%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':_0x525c39=>_0x525c39%0xa==0x1&&_0x525c39%0x64!=0xb?0x0:_0x525c39%0xa>=0x2&&_0x525c39%0xa<=0x4&&(_0x525c39%0x64<0xa||_0x525c39%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x1f4074=>{const {bs:{dictionary:_0xbbd133,getPluralForm:_0xdbcaac}}={'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':_0x3caeb5=>_0x3caeb5%0xa==0x1&&_0x3caeb5%0x64!=0xb?0x0:_0x3caeb5%0xa>=0x2&&_0x3caeb5%0xa<=0x4&&(_0x3caeb5%0x64<0xa||_0x3caeb5%0x64>=0x14)?0x1:0x2}};_0x1f4074['bs']||={'dictionary':{},'getPluralForm':null},_0x1f4074['bs']['dictionary']=Object['assign'](_0x1f4074['bs']['dictionary'],_0xbbd133),_0x1f4074['bs']['getPluralForm']=_0xdbcaac;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x16f194=>{const {bs:{dictionary:_0x571406,getPluralForm:_0x489d03}}={'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':_0x35114b=>_0x35114b%0xa==0x1&&_0x35114b%0x64!=0xb?0x0:_0x35114b%0xa>=0x2&&_0x35114b%0xa<=0x4&&(_0x35114b%0x64<0xa||_0x35114b%0x64>=0x14)?0x1:0x2}};_0x16f194['bs']||={'dictionary':{},'getPluralForm':null},_0x16f194['bs']['dictionary']=Object['assign'](_0x16f194['bs']['dictionary'],_0x571406),_0x16f194['bs']['getPluralForm']=_0x489d03;})(window['CKEDITOR_TRANSLATIONS']||={});