@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-20251211.0 → 0.0.0-nightly-next-20251211.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (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 _0x2735fc,Command as _0x313597}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x63e26b,IconGooglePhotos as _0x22425e,IconGoogleDrive as _0x2d3e4c,IconFacebook as _0x4b15a7,IconDropbox as _0x264e39,IconUploadcareLink as _0x59b572,IconUploadcareImageUpload as _0x14504c,IconError as _0x316334,IconUploadcareImageEdit as _0x517343}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x40e918,MenuBarMenuListItemButtonView as _0x118991,View as _0x3b4964,FocusCycler as _0x4010df,Dialog as _0x4a7148,DialogViewPosition as _0x460a1e,SpinnerView as _0xe6bdc8,IconView as _0x7ee20f,Notification as _0x22c197}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x4ce323,DomEmitterMixin as _0x253166,global as _0x184053,getAncestors as _0x250a9c,ObservableMixin as _0x5357ad,uid as _0x2ff396,createElement as _0x11212f}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x54b08b}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x21aa00,info as _0x3605fd}from'@uploadcare/upload-client';import*as _0x1963b3 from'@uploadcare/file-uploader';var i=function(_0x18691e){return _0x18691e['Local']='local',_0x18691e['URL']='url',_0x18691e['Dropbox']='dropbox',_0x18691e['GDrive']='gdrive',_0x18691e['Facebook']='facebook',_0x18691e['GPhotos']='gphotos',_0x18691e['OneDrive']='onedrive',_0x18691e;}({});function _(_0x1ce848,_0x5eb331,_0x5a858d){const t=_0x1ce848['t'],_0x255836=_0x1ce848['t'];switch(_0x5eb331){case i['Local']:return{'text':_0x255836('Insert'===_0x5a858d?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x255836('From\x20computer')};case i['URL']:return{'text':'Insert'===_0x5a858d?_0x255836('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x255836('Via\x20URL')};case i['Dropbox']:return{'text':t('Insert'===_0x5a858d?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case i['Facebook']:return{'text':t('Insert'===_0x5a858d?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case i['GDrive']:return{'text':t('Insert'===_0x5a858d?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case i['GPhotos']:return{'text':t('Insert'===_0x5a858d?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case i['OneDrive']:return{'text':t('Insert'===_0x5a858d?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x5eb331;}}class e extends _0x2735fc{['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 _0x3ec6a0=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x2c4d19;for(const _0x56a5db in _0x3ec6a0){const _0x3a659e=_0x56a5db,_0x5b103a=_0x3ec6a0[_0x3a659e];if('uploadcareLicenseKeyValid'==_0x5b103a||'uploadcareLicenseKeyInvalid'==_0x5b103a||'uploadcareLicenseKeyExpired'==_0x5b103a||'uploadcareLicenseKeyDomainLimit'==_0x5b103a||'uploadcareLicenseKeyNotAllowed'==_0x5b103a||'uploadcareLicenseKeyEvaluationLimit'==_0x5b103a||'uploadcareLicenseKeyTrialLimit'==_0x5b103a||'uploadcareLicenseKeyUsageLimit'==_0x5b103a){delete _0x3ec6a0[_0x3a659e],_0x2c4d19=_0x5b103a,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x2c4d19&&_0x3ec6a0['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x2c4d19&&_0x3ec6a0['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x2c4d19&&_0x3ec6a0['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x2c4d19&&_0x3ec6a0['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x2c4d19&&_0x3ec6a0['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0x2c4d19&&_0x3ec6a0['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0x2c4d19&&_0x3ec6a0['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0xb05714}=this,_0x41c961=_0xb05714['commands']['get']('uploadcare');if(!_0x41c961)return;const _0xfaccbf=this['_normalizeConfigSourceList'](_0xb05714['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0xe70b06,_0x36ee41)=>{const _0x44ed77=this['_getIntegrationKey'](_0x36ee41['type']);return _0xe70b06[_0x44ed77]||(_0xe70b06[_0x44ed77]=[]),_0xe70b06[_0x44ed77]['push'](_0x36ee41),_0xe70b06;},{});_0xb05714['plugins']['has']('ImageInsertUI')&&_0xb05714['commands']['get']('uploadcare')&&Object['entries'](_0xfaccbf)['forEach'](([_0xcbdbaa,_0x3aeca0])=>{_0xb05714['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0xcbdbaa,'observable':()=>_0x41c961,'buttonViewCreator':()=>this['_createToolbarButton'](_0x3aeca0),'formViewCreator':()=>this['_createDropdownButtons'](_0x3aeca0),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x3aeca0),'override':'assetManager'!==_0xcbdbaa});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x642fd2){const {locale:_0x4a2617}=this['editor'];return _0x642fd2['map'](_0x1e3ed9=>{const _0x33e2ec=_(_0x4a2617,_0x1e3ed9,'Insert');switch(_0x1e3ed9){case i['Local']:return{'icon':_0x14504c,'type':i['Local'],..._0x33e2ec};case i['URL']:return{'icon':_0x59b572,'type':i['URL'],..._0x33e2ec};case i['Dropbox']:return{'icon':_0x264e39,'type':i['Dropbox'],..._0x33e2ec};case i['Facebook']:return{'icon':_0x4b15a7,'type':i['Facebook'],..._0x33e2ec};case i['GDrive']:return{'icon':_0x2d3e4c,'type':i['GDrive'],..._0x33e2ec};case i['GPhotos']:return{'icon':_0x22425e,'type':i['GPhotos'],..._0x33e2ec};case i['OneDrive']:return{'icon':_0x63e26b,'type':i['OneDrive'],..._0x33e2ec};}});}['_getIntegrationKey'](_0x18e818){switch(_0x18e818){case i['Local']:return'upload';case i['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x2a9286,_0x4e34f5){const _0x4a69b3=this['editor'],_0x2b9e3f=new _0x2a9286(_0x4a69b3['locale']),_0x1226eb=_0x4a69b3['commands']['get']('uploadcare');return _0x2b9e3f['bind']('isEnabled')['to'](_0x1226eb),_0x2b9e3f['on']('execute',()=>{_0x1226eb['execute'](_0x4e34f5);}),_0x2b9e3f;}['_createToolbarButton'](_0x48e835){const {locale:_0x5326f3}=this['editor'],_0x519a6e=this['editor']['plugins']['get']('ImageInsertUI'),_0x1c94b1=_0x48e835[0x0],_0x1910b1=this['_createButton'](_0x40e918,_0x1c94b1['type']);return _0x1910b1['icon']=_0x1c94b1['icon'],_0x1910b1['bind']('label')['to'](_0x519a6e,'isImageSelected',_0x489fa0=>_(_0x5326f3,_0x1c94b1['type'],_0x489fa0?'Replace':'Insert')['text']),_0x1910b1['tooltip']=!0x0,_0x1910b1;}['_createDropdownButtons'](_0x1e84b0){const {locale:_0x2fe576}=this['editor'],_0x5bc27f=this['editor']['plugins']['get']('ImageInsertUI');return _0x1e84b0['map'](_0x37ae51=>{const _0x12595e=this['_createButton'](_0x40e918,_0x37ae51['type']);return _0x12595e['withText']=!0x0,_0x12595e['icon']=_0x37ae51['icon'],_0x12595e['bind']('label')['to'](_0x5bc27f,'isImageSelected',_0x2f7e4a=>_(_0x2fe576,_0x37ae51['type'],_0x2f7e4a?'Replace':'Insert')['text']),_0x12595e;});}['_createMenuBarButtons'](_0x4e2af){return _0x4e2af['map'](_0x1f04c0=>{const _0x3af585=this['_createButton'](_0x118991,_0x1f04c0['type']);return _0x3af585['icon']=_0x1f04c0['icon'],_0x3af585['label']=_0x1f04c0['shortText'],_0x3af585;});}}class V extends _0x3b4964{['focusTracker'];['focusCycler'];constructor(_0x5c3127){super(_0x5c3127),this['focusTracker']=new _0x4ce323(),this['focusCycler']=new _0x4010df({'focusables':this['createCollection'](),'focusTracker':this['focusTracker']});}['getFocusableElement'](){return{'tag':'div','attributes':{'aria-hidden':'true','tabindex':'0'},'on':{'focus':this['bindTemplate']['to'](()=>{this['focusCycler']['fire']('forwardCycle');})}};}}class S extends V{constructor(_0x4cfa66,_0x565d6e){super(_0x4cfa66),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-'+_0x565d6e}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function C(_0xe3479,_0x877ab0){const _0x4ddbff=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x36f27d=>_0x36f27d<=_0x877ab0)['map'](_0x588986=>_0xe3479['replace'](/\/$/,'')+'/-/resize/'+_0x588986+'x/\x20'+_0x588986+'w');return{'imageFallbackUrl':_0xe3479,'imageSources':[{'srcset':_0x4ddbff['join'](',\x20'),'sizes':'(max-width:\x20'+_0x877ab0+'px)\x20100vw,\x20'+_0x877ab0+'px','type':'image/webp'}]};}function F(_0x18844c,_0x31071b,_0x3cddee){const _0x33f534=_0x18844c['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x33f534?parseInt(_0x33f534[0x1],0xa):_0x31071b,'height':_0x33f534?parseInt(_0x33f534[0x2],0xa):_0x3cddee};}function p(_0x4f6299,_0x443d45){const _0xb33b41=new(_0x253166())(),_0x37b700=_0x4f6299['plugins']['get']('ImageUtils'),_0x8a2556=_0x4f6299['editing']['mapper']['toViewElement'](_0x443d45),_0x512c00=_0x37b700['findViewImgElement'](_0x8a2556),_0x36e70c=_0x4f6299['editing']['view']['domConverter']['viewToDom'](_0x512c00),_0x531dad=_0x443d45['getAttribute']('width'),_0xb48877=_0x443d45['getAttribute']('height'),_0x364fc7='image-processing';_0x4f6299['editing']['view']['change'](_0x362caa=>{_0x362caa['addClass'](_0x364fc7,_0x8a2556),_0x362caa['setStyle']('aspect-ratio',_0x531dad+'/'+_0xb48877,_0x512c00);}),_0xb33b41['listenTo'](_0x36e70c,'load',()=>{_0xb33b41['stopListening'](_0x36e70c,'load'),_0x4f6299['editing']['view']['change'](_0xefbd20=>{_0xefbd20['removeClass'](_0x364fc7,_0x8a2556),_0xefbd20['removeStyle']('aspect-ratio',_0x512c00);});});}function R(_0x5a272b){if(Array['isArray'](_0x5a272b)){const _0xfd0963=_0x5a272b['map'](R);return _0x60c7bb=>_0xfd0963['some'](_0x18f08c=>_0x18f08c(_0x60c7bb));}if('origin'==_0x5a272b){const _0x14a91b=_0x184053['window']['location']['origin'];return _0x48d51b=>new URL(_0x48d51b,_0x184053['document']['baseURI'])['origin']==_0x14a91b;}return'function'==typeof _0x5a272b?_0x5a272b:_0x5a272b instanceof RegExp?_0x2ce369=>!(!_0x2ce369['match'](_0x5a272b)&&!_0x2ce369['replace'](/^https?:\/\//,'')['match'](_0x5a272b)):()=>!0x1;}function M(_0x2d7bd9,_0x120227){return _0x250a9c(_0x2d7bd9['target'])['includes'](_0x120227);}class n extends/* #__PURE__ -- @preserve */
24
- _0x5357ad(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x4673e3,_0xb7c8e9,_0x17c413){super(),this['_editor']=_0x4673e3,this['_editing']=_0xb7c8e9,this['_dialog']=_0x4673e3['plugins']['get'](_0x4a7148),this['_api']=_0xb7c8e9['ctxElement']['getAPI'](),this['_type']=_0x17c413,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:_0x2cac89,model:_0xf8996d}=this['_editor'],_0x43a2cf=_0xf8996d['document']['selection']['getSelectedElement'](),_0x436e88=_0x43a2cf&&(_0x43a2cf['is']('element','imageBlock')||_0x43a2cf['is']('element','imageInline'));this['_formView']=new S(_0x2cac89,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':_0x14504c,'title':_(_0x2cac89,this['_type'],_0x436e88?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x460a1e['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x21b258=>!M(_0x21b258,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x3cd594}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x3d83a1=>{const _0x15da81=_0x3cd594['length'];for(const _0x556359 of _0x3cd594){const _0x2301fc=_0x556359===_0x3cd594[_0x15da81-0x1],{cdnUrl:_0xcceb1,fileInfo:_0x2c84f8}=_0x556359;if(!_0xcceb1||!_0x2c84f8)continue;const {width:_0x5e29d4,height:_0x5dc572}=_0x2c84f8['imageInfo'],_0x336536=F(_0xcceb1,_0x5e29d4,_0x5dc572),_0x7701bf=C(_0xcceb1,_0x336536['width']),_0xa2aad5={'id':_0x2c84f8['uuid'],'type':'image','attributes':{'imageDimension':_0x336536,..._0x7701bf}};this['_insertAsset'](_0xa2aad5,_0x2301fc,_0x3d83a1);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x59cc4b=>{'idle'===_0x59cc4b['detail']['status']&&!_0x59cc4b['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===i['Local']?this['_api']['setCurrentActivity'](i['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x3b19be,_0x4b82ca,_0x3ab4ff){const _0x3be500=this['_editor']['model']['document']['selection'],_0x4cccaf=_0x3be500['getSelectedElement'](),_0xbbb505=!(!_0x4cccaf||!_0x4cccaf['is']('element','imageInline'));_0x3ab4ff['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x3b19be,_0xbbb505),_0x4b82ca||_0x3ab4ff['setSelection'](_0x3be500['getLastPosition']());}['_insertImage'](_0xe49eff,_0x4f398b){const _0x545073=this['_editor'],{imageDimension:_0x4f714c,imageFallbackUrl:_0x5bc44c,imageSources:_0xb4cdc9}=_0xe49eff['attributes'];_0x545073['execute']('insertImage',{'imageType':_0x4f398b?'imageInline':null,'source':{'uploadcareImageId':_0xe49eff['id'],'src':_0x5bc44c,'sources':_0xb4cdc9,..._0x4f714c}});}}class w extends _0x313597{['_editing'];['_controller']=null;static get['requires'](){return[_0x4a7148,o];}constructor(_0x272299){super(_0x272299),this['_editing']=_0x272299['plugins']['get'](o);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x500375){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new n(this['editor'],this['_editing'],_0x500375);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class j{static['upload']({file:_0x5b9eca,..._0x119ef4}){return _0x21aa00(_0x5b9eca,_0x119ef4);}static['getInfo'](_0x493768,_0x4c32d5){return _0x3605fd(_0x493768,_0x4c32d5);}}class f extends _0x2735fc{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x54b08b,o];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0xa2fb8b=this['editor'];if(!!!_0xa2fb8b['config']['get']('uploadcare'))return;_0xa2fb8b['plugins']['get'](_0x54b08b)['createUploadAdapter']=_0x4aa83c=>new k(_0x4aa83c,_0xa2fb8b),_0xa2fb8b['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x3a93e3,{imageElement:_0x29f69b,data:_0x28d29b})=>{_0xa2fb8b['model']['change'](_0xc593ca=>{_0xc593ca['setAttribute']('uploadcareImageId',_0x28d29b['uploadcareImageId'],_0x29f69b);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x15003e,_0x2324f7){this['loader']=_0x15003e,this['editor']=_0x2324f7,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x80cfd9=await this['loader']['file'];return j['upload']({'file':_0x80cfd9,'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':_0x5d8d75=>{_0x5d8d75&&_0x5d8d75['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x5d8d75['value']);}})['then'](async _0x26744b=>{const {imageFallbackUrl:_0x4d420c,imageSources:_0x58aaca}=C(_0x26744b['cdnUrl'],_0x26744b['imageInfo']['width']);return{'uploadcareImageId':_0x26744b['uuid'],'default':_0x4d420c,'sources':_0x58aaca};})['catch'](()=>{const _0x21fa26=t('Cannot\x20upload\x20file:')+('\x20'+_0x80cfd9['name']+'.');return Promise['reject'](_0x21fa26);});}['abort'](){this['controller']['abort']();}}class o extends _0x2735fc{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',f,_0x4a7148];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['ucContextId'];get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}constructor(_0x57ad15){super(_0x57ad15),this['ucContextId']=_0x2ff396();}['init'](){const _0x5582=this['editor'];_0x5582['commands']['add']('uploadcare',new w(_0x5582));}['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 _0xa62f96=_0x184053['document']['querySelector']('input[uploadcare-file-input]');_0xa62f96&&_0xa62f96['remove']();}),async function(_0x19a8bf){const _0x92899e=_0x27eabf([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]),_0x15947c=0x535f8c3a,_0x1e2733=0x5358f7a2^_0x15947c,_0x34a79b=window[_0x27eabf([0x44,0x61,0x74,0x65])][_0x27eabf([0x6e,0x6f,0x77])](),_0x584776=_0x19a8bf[_0x27eabf([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x471a11=new window[(_0x27eabf([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3ea786=>{_0x584776[_0x27eabf([0x6f,0x6e,0x63,0x65])](_0x27eabf([0x72,0x65,0x61,0x64,0x79]),_0x3ea786);}),_0x16cee1={[_0x27eabf([0x6b,0x74,0x79])]:_0x27eabf([0x45,0x43]),[_0x27eabf([0x75,0x73,0x65])]:_0x27eabf([0x73,0x69,0x67]),[_0x27eabf([0x63,0x72,0x76])]:_0x27eabf([0x50,0x2d,0x32,0x35,0x36]),[_0x27eabf([0x78])]:_0x27eabf([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]),[_0x27eabf([0x79])]:_0x27eabf([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]),[_0x27eabf([0x61,0x6c,0x67])]:_0x27eabf([0x45,0x53,0x32,0x35,0x36])},_0x3d111d=_0x584776[_0x27eabf([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x27eabf([0x67,0x65,0x74])](_0x27eabf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x13fd0d(){let _0x23cd2d,_0x39edce=null,_0x3e816e=null;try{if(_0x3d111d==_0x27eabf([0x47,0x50,0x4c]))return _0x27eabf([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x23cd2d=_0x45f004(),!_0x23cd2d)return _0x27eabf([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x23cd2d[_0x27eabf([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x3e816e=_0x16e9db(_0x23cd2d[_0x27eabf([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x23cd2d[_0x27eabf([0x6a,0x74,0x69])])),await _0x179c64()?_0x21f6e3()?_0x399557()?_0x27eabf([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x42c544()?(_0x23cd2d[_0x27eabf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x27eabf([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x39edce=_0x1e19d0(_0x27eabf([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x23cd2d[_0x27eabf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x27eabf([0x74,0x72,0x69,0x61,0x6c])&&(_0x39edce=_0x1e19d0(_0x27eabf([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x5cd1f5()):_0x27eabf([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x27eabf([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x27eabf([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x27eabf([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x399557(){const _0x4248e9=[_0x27eabf([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x27eabf([0x74,0x72,0x69,0x61,0x6c])][_0x27eabf([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x23cd2d[_0x27eabf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x34a79b/0x3e8:0xe10*_0x1e2733;return _0x23cd2d[_0x27eabf([0x65,0x78,0x70])]<_0x4248e9;}function _0x21f6e3(){const _0x12c2e8=_0x23cd2d[_0x27eabf([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x12c2e8&&(!!_0x12c2e8[_0x27eabf([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x27eabf([0x2a]))||!!_0x12c2e8[_0x27eabf([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x27eabf([0x55,0x50,0x4c,0x43])));}function _0x42c544(){const _0x4e79aa=_0x23cd2d[_0x27eabf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x4e79aa||0x0==_0x4e79aa[_0x27eabf([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x401098}=new URL(window[_0x27eabf([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x4e79aa[_0x27eabf([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x401098))return!0x0;const _0x2b5939=_0x401098[_0x27eabf([0x73,0x70,0x6c,0x69,0x74])](_0x27eabf([0x2e]));return _0x4e79aa[_0x27eabf([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x39196d=>_0x39196d[_0x27eabf([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x27eabf([0x2a])))[_0x27eabf([0x6d,0x61,0x70])](_0x5bfda3=>_0x5bfda3[_0x27eabf([0x73,0x70,0x6c,0x69,0x74])](_0x27eabf([0x2e])))[_0x27eabf([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1b4320=>_0x1b4320[_0x27eabf([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x2b5939[_0x27eabf([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x27eabf([0x6d,0x61,0x70])](_0x41aa39=>Array(_0x2b5939[_0x27eabf([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x41aa39[_0x27eabf([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x27eabf([0x66,0x69,0x6c,0x6c])](_0x41aa39[0x0]===_0x27eabf([0x2a])?_0x27eabf([0x2a]):'')[_0x27eabf([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x41aa39))[_0x27eabf([0x73,0x6f,0x6d,0x65])](_0x370ea9=>_0x2b5939[_0x27eabf([0x65,0x76,0x65,0x72,0x79])]((_0x494994,_0x43d453)=>_0x370ea9[_0x43d453]===_0x494994||_0x370ea9[_0x43d453]===_0x27eabf([0x2a])));}function _0x5cd1f5(){return _0x39edce&&_0x3e816e?new window[(_0x27eabf([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x21f3f4,_0x1ac3f7)=>{_0x39edce[_0x27eabf([0x74,0x68,0x65,0x6e])](_0x21f3f4,_0x1ac3f7),_0x3e816e[_0x27eabf([0x74,0x68,0x65,0x6e])](_0x1b0bbf=>{_0x1b0bbf!=_0x27eabf([0x56,0x61,0x6c,0x69,0x64])&&_0x21f3f4(_0x1b0bbf);},_0x1ac3f7);}):_0x39edce||_0x3e816e||_0x27eabf([0x56,0x61,0x6c,0x69,0x64]);}}function _0x16e9db(_0x14f664,_0x27f355){return new window[(_0x27eabf([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1e3ed2=>{if(_0x427a54())return _0x1e3ed2(_0x27eabf([0x56,0x61,0x6c,0x69,0x64]));_0x22c0b4(),_0x584776[_0x27eabf([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x27eabf([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x10dbab=!0x1;const _0x2ca6ba=_0x2ff396();function _0x1775ba(_0xd6e1c2){return!!_0xd6e1c2&&(typeof _0xd6e1c2===_0x27eabf([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0xd6e1c2===_0x27eabf([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0xd6e1c2[_0x27eabf([0x74,0x68,0x65,0x6e])]===_0x27eabf([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0xd6e1c2[_0x27eabf([0x63,0x61,0x74,0x63,0x68])]===_0x27eabf([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x21dbaf(_0x33c838){_0x275b6e(_0x33c838)[_0x27eabf([0x74,0x68,0x65,0x6e])](_0x1fe005=>{if(!_0x1fe005||_0x1fe005[_0x27eabf([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x27eabf([0x6f,0x6b]))return _0x27eabf([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x559a98(_0xd44be2(_0x2ca6ba+_0x27f355))!=_0x1fe005[_0x27eabf([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x27eabf([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x27eabf([0x56,0x61,0x6c,0x69,0x64]);})[_0x27eabf([0x74,0x68,0x65,0x6e])](_0x3f7b76=>(_0x8bc5d3(),_0x3f7b76),()=>{const _0x567faf=_0x1a28a4();return null==_0x567faf?(_0x8bc5d3(),_0x27eabf([0x56,0x61,0x6c,0x69,0x64])):_0x27eabf(_0x34a79b-_0x567faf>(0x7753083a^_0x15947c)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x27eabf([0x74,0x68,0x65,0x6e])](_0x1e3ed2)[_0x27eabf([0x63,0x61,0x74,0x63,0x68])](()=>{_0x1e3ed2(_0x27eabf([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5bde35=0x536962ba^_0x15947c;function _0x8bc5d3(){const _0x1228b8=_0x27eabf([0x6c,0x6c,0x63,0x74,0x2d])+_0x559a98(_0xd44be2(_0x14f664)),_0x21b137=_0xea9a85(_0x559a98(window[_0x27eabf([0x4d,0x61,0x74,0x68])][_0x27eabf([0x63,0x65,0x69,0x6c])](_0x34a79b/_0x5bde35)));window[_0x27eabf([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x27eabf([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1228b8,_0x21b137);}function _0x1a28a4(){const _0x1bfeb2=_0x27eabf([0x6c,0x6c,0x63,0x74,0x2d])+_0x559a98(_0xd44be2(_0x14f664)),_0xc32a6f=window[_0x27eabf([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x27eabf([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1bfeb2);return _0xc32a6f?window[_0x27eabf([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xea9a85(_0xc32a6f),0x10)*_0x5bde35:null;}function _0x275b6e(_0x5932dd){return new window[(_0x27eabf([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4948e8,_0x304d50)=>{_0x5932dd[_0x27eabf([0x74,0x68,0x65,0x6e])](_0x4948e8,_0x304d50),window[_0x27eabf([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x304d50,0x535e58fa^_0x15947c);});}}_0x584776[_0x27eabf([0x6f,0x6e])](_0x27eabf([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0xd28eaa,_0x55d064)=>{if(_0x55d064[0x0]!=_0x14f664)return _0x1e3ed2(_0x27eabf([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x55d064[0x1]={..._0x55d064[0x1],[_0x27eabf([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2ca6ba};},{[_0x27eabf([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x27eabf([0x68,0x69,0x67,0x68])}),_0x584776[_0x27eabf([0x6f,0x6e])](_0x27eabf([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0xff335c=>{_0x1775ba(_0xff335c[_0x27eabf([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x10dbab=!0x0,_0x21dbaf(_0xff335c[_0x27eabf([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x27eabf([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x27eabf([0x6c,0x6f,0x77])}),_0x471a11[_0x27eabf([0x74,0x68,0x65,0x6e])](()=>{_0x10dbab||_0x1e3ed2(_0x27eabf([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x427a54(){return _0x584776[_0x27eabf([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x27eabf([0x76,0x69,0x65,0x77])][_0x27eabf([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x27eabf([0x61,0x75,0x74,0x6f]);}function _0x22c0b4(){_0x584776[_0x27eabf([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x27eabf([0x76,0x69,0x65,0x77])][_0x27eabf([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x27eabf([0x61,0x75,0x74,0x6f]);}}function _0x1e19d0(_0x34a8ad){const _0x2efd6c=[new window[(_0x27eabf([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x532df6=>setTimeout(_0x532df6,0x5356b2f6^_0x15947c)),_0x471a11[_0x27eabf([0x74,0x68,0x65,0x6e])](()=>new window[(_0x27eabf([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1dd152=>{let _0x4e8191=0x0;_0x584776[_0x27eabf([0x6d,0x6f,0x64,0x65,0x6c])][_0x27eabf([0x6f,0x6e])](_0x27eabf([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x224add,_0x5dda43)=>{_0x5dda43[0x0][_0x27eabf([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4e8191++,_0x4e8191==(0x535f8dc2^_0x15947c)&&(_0x1dd152(),_0x224add[_0x27eabf([0x6f,0x66,0x66])]());});}))];return window[_0x27eabf([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x27eabf([0x72,0x61,0x63,0x65])](_0x2efd6c)[_0x27eabf([0x74,0x68,0x65,0x6e])](()=>_0x34a8ad);}async function _0x34b675(){await _0x471a11,_0x584776[_0x27eabf([0x6d,0x6f,0x64,0x65,0x6c])][_0x27eabf([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5d1e1b,_0x584776[_0x27eabf([0x6d,0x6f,0x64,0x65,0x6c])][_0x27eabf([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5d1e1b,_0x584776[_0x27eabf([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x27eabf([0x6d,0x6f,0x64,0x65,0x6c]));}function _0xf5c9aa(_0x4f8e7f){const _0x38091f=_0xb1d5c();_0x584776[_0x38091f]=_0x27eabf([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x4f8e7f,_0x4f8e7f!=_0x27eabf([0x56,0x61,0x6c,0x69,0x64])&&_0x34b675();}function _0xb1d5c(){const _0x46d033=window[_0x27eabf([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x27eabf([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x27eabf([0x6e,0x6f,0x77])]())[_0x27eabf([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x27eabf([0x2e]),'');let _0x3f0fa3=_0x27eabf([0x68]);for(let _0x1ea91c=0x0;_0x1ea91c<_0x46d033[_0x27eabf([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1ea91c+=0x2){let _0x4c75a4=window[_0x27eabf([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x46d033[_0x27eabf([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1ea91c,_0x1ea91c+0x2));_0x4c75a4>=_0x92899e[_0x27eabf([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4c75a4-=_0x92899e[_0x27eabf([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3f0fa3+=_0x92899e[_0x4c75a4];}return _0x3f0fa3;}function _0x45f004(){const _0x31fc61=_0x3d111d[_0x27eabf([0x73,0x70,0x6c,0x69,0x74])](_0x27eabf([0x2e]));if(0x3!=_0x31fc61[_0x27eabf([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x38c404(_0x31fc61[0x1]);function _0x38c404(_0xda44c){const _0x2f6e69=_0x29c727(_0xda44c);return _0x2f6e69&&_0x5f0c79()?_0x2f6e69:null;function _0x5f0c79(){const _0x4a8a18=_0x2f6e69[_0x27eabf([0x6a,0x74,0x69])],_0x1c915b=window[_0x27eabf([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4a8a18[_0x27eabf([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4a8a18[_0x27eabf([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2e51ca={..._0x2f6e69,[_0x27eabf([0x6a,0x74,0x69])]:_0x4a8a18[_0x27eabf([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4a8a18[_0x27eabf([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2e51ca[_0x27eabf([0x76,0x63])],_0xd44be2(_0x2e51ca)==_0x1c915b;}}}async function _0x179c64(){let _0x1d3518=!0x0;try{const _0x3b7c63=_0x3d111d[_0x27eabf([0x73,0x70,0x6c,0x69,0x74])](_0x27eabf([0x2e])),[_0x340829,_0x156e8d,_0x3bacd1]=_0x3b7c63;return _0x4ff2b9(_0x340829),await _0x139432(_0x340829,_0x156e8d,_0x3bacd1),_0x1d3518;}catch{return!0x1;}function _0x4ff2b9(_0x4935e5){const _0x54a48e=_0x29c727(_0x4935e5);_0x54a48e&&_0x54a48e[_0x27eabf([0x61,0x6c,0x67])]==_0x27eabf([0x45,0x53,0x32,0x35,0x36])||(_0x1d3518=!0x1);}async function _0x139432(_0x3818af,_0x5afee3,_0x3d1183){const _0x172aca=window[_0x27eabf([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x27eabf([0x66,0x72,0x6f,0x6d])](_0x515826(_0x3d1183),_0x41da9b=>_0x41da9b[_0x27eabf([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4e3287=new window[(_0x27eabf([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x27eabf([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x3818af+_0x27eabf([0x2e])+_0x5afee3),_0x2ba4da=window[_0x27eabf([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x27eabf([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2ba4da)return;const _0x360b39=await _0x2ba4da[_0x27eabf([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x27eabf([0x6a,0x77,0x6b]),_0x16cee1,{[_0x27eabf([0x6e,0x61,0x6d,0x65])]:_0x27eabf([0x45,0x43,0x44,0x53,0x41]),[_0x27eabf([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x27eabf([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x27eabf([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2ba4da[_0x27eabf([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x27eabf([0x6e,0x61,0x6d,0x65])]:_0x27eabf([0x45,0x43,0x44,0x53,0x41]),[_0x27eabf([0x68,0x61,0x73,0x68])]:{[_0x27eabf([0x6e,0x61,0x6d,0x65])]:_0x27eabf([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x360b39,_0x172aca,_0x4e3287)||(_0x1d3518=!0x1);}}function _0x29c727(_0x54e06e){return _0x54e06e[_0x27eabf([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x27eabf([0x65,0x79]))?JSON[_0x27eabf([0x70,0x61,0x72,0x73,0x65])](_0x515826(_0x54e06e)):null;}function _0x515826(_0xff227f){return window[_0x27eabf([0x61,0x74,0x6f,0x62])](_0xff227f[_0x27eabf([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x27eabf([0x2b]))[_0x27eabf([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x27eabf([0x2f])));}function _0xd44be2(_0x373dee){let _0x457d45=0x1505;function _0x3118d7(_0x437e1e){for(let _0x21b447=0x0;_0x21b447<_0x437e1e[_0x27eabf([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x21b447++){const _0x381f7b=_0x437e1e[_0x27eabf([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x21b447);_0x457d45=(_0x457d45<<0x5)+_0x457d45+_0x381f7b,_0x457d45&=_0x457d45;}}function _0x4236c4(_0x431224){Array[_0x27eabf([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x431224)?_0x431224[_0x27eabf([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4236c4):_0x431224&&typeof _0x431224==_0x27eabf([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x27eabf([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x431224)[_0x27eabf([0x73,0x6f,0x72,0x74])]()[_0x27eabf([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x36c829,_0x574918])=>{_0x3118d7(_0x36c829),_0x4236c4(_0x574918);}):_0x3118d7(window[_0x27eabf([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x431224));}return _0x4236c4(_0x373dee),_0x457d45>>>0x0;}function _0x559a98(_0x19cbac){return _0x19cbac[_0x27eabf([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x27eabf([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x27eabf([0x30]));}function _0xea9a85(_0x41cf95){return _0x41cf95[_0x27eabf([0x73,0x70,0x6c,0x69,0x74])]('')[_0x27eabf([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x27eabf([0x6a,0x6f,0x69,0x6e])]('');}function _0x5d1e1b(){}function _0x27eabf(_0x280b40){return _0x280b40['map'](_0x5188b3=>String['fromCharCode'](_0x5188b3))['join']('');}_0xf5c9aa(await _0x13fd0d());}(this);}['_initSchema'](){const _0x16b6a7=this['editor']['model']['schema'];_0x16b6a7['isRegistered']('imageBlock')&&_0x16b6a7['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x16b6a7['isRegistered']('imageInline')&&_0x16b6a7['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x380bc0=this['editor'];_0x380bc0['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x380bc0['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x5a1603=>_0x5a1603['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x15b45c=_0x380bc0['commands']['get']('replaceImageSource');_0x15b45c&&this['listenTo'](_0x15b45c,'cleanupImage',(_0x104f1c,[_0x3292b1,_0x1613c8])=>{_0x3292b1['removeAttribute']('uploadcareImageId',_0x1613c8);});}['_initConfig'](){const _0x4bbae3=this['editor']['config']['get']('uploadcare.uploader')||{},_0x1c5b30=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x11212f(_0x184053['document'],'uc-config',{..._0x4bbae3,'pubkey':_0x1c5b30,'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']=_0x5262ce=>{if('closeMax'==_0x5262ce)return'#uc-icon-arrow-down';},_0x184053['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x11212f(_0x184053['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),_0x184053['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x1e3bfd=this['editor']['commands']['get']('insertImage');_0x1e3bfd&&this['listenTo'](_0x1e3bfd,'execute',()=>{const _0x10e486=this['editor']['model']['document']['selection']['getSelectedElement']();_0x10e486&&_0x10e486['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x10e486);});});const _0x5bde60=this['editor']['commands']['get']('uploadcareImageReplace');_0x5bde60&&this['listenTo'](_0x5bde60,'execute',()=>{const _0x1788b7=this['editor']['model']['document']['selection']['getSelectedElement']();_0x1788b7&&_0x1788b7['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x1788b7);});});}}class tt extends _0x2735fc{static get['requires'](){return[o,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x57dba9){super(_0x57dba9),_0x57dba9['config']['define']('uploadcare.uploader.sourceList',[i['Local'],i['URL']]),_0x1963b3['defineComponents'](_0x1963b3),this['_defineLocale']();}['_defineLocale'](){const _0x111ce8=this['editor']['config']['get']('uploadcare.locale'),_0xafbda2=this['editor']['locale']['contentLanguage'];_0x111ce8&&_0x1963b3['defineLocale'](_0xafbda2,_0x111ce8);}}class ii extends _0x3b4964{constructor(_0x44c6f9){super(_0x44c6f9);const t=_0x44c6f9['t'],_0x1073ae=this['bindTemplate'],_0x3d4dbf=new _0xe6bdc8();_0x3d4dbf['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':[_0x3d4dbf,{'text':_0x1073ae['to']('imageUploadProgress',_0x47550a=>t('Loading\x20image...')+'\x20('+(_0x47550a||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 _0x3b4964{constructor(_0x33057f){super(_0x33057f);const t=_0x33057f['t'];this['set']('errorType',null);const _0x2ea5e2=new _0x40e918(_0x33057f);_0x2ea5e2['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x2ea5e2['withText']=!0x0,_0x2ea5e2['class']='ck-button-action',_0x2ea5e2['on']('execute',()=>{this['fire']('retry');}),_0x2ea5e2['bind']('isVisible')['to'](this,'errorType',_0x227bc1=>'NotFound'!==_0x227bc1);const _0x37e855=new _0x7ee20f();_0x37e855['content']=_0x316334,_0x37e855['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x568e2e=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':[_0x37e855,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x568e2e['to']('errorType',_0x337dc0=>t('NotFound'!==_0x337dc0?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x2ea5e2]},{'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 _0x3b4964{constructor(_0x2b41a9,_0x2243d2){super(_0x2b41a9);const _0x3db58a=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x2243d2,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x3db58a['to']('imageSrc')}});}}class X extends V{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x4c99d1,_0x45787c,_0x71e99c){super(_0x4c99d1),this['_items']=this['createCollection'](),this['_loadingView']=new ii(_0x4c99d1),this['_errorView']=new ti(_0x4c99d1),this['_editingView']=new ei(_0x4c99d1,_0x71e99c),this['_focusableView']=new _0x3b4964(_0x4c99d1),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x45787c),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'],_0x3fda95=>{this['_addUploadcareImageEditorListeners'](_0x3fda95);});}),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'](_0x190335,_0x31eaf7){const _0x5f45f0='uc-cloud-image-editor',_0x37fbfb=_0x190335['querySelector'](_0x5f45f0);if(_0x37fbfb)return _0x31eaf7(_0x37fbfb);const _0x38ee53=new MutationObserver(_0x23a135=>{const _0x4cb0c1=_0x23a135['filter'](_0x2a6bb9=>_0x2a6bb9['target']===_0x190335&&_0x2a6bb9['addedNodes']['length']>0x0&&_0x2a6bb9['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x5f45f0);_0x4cb0c1['length']&&(_0x38ee53['disconnect'](),_0x31eaf7(_0x4cb0c1[0x0]['addedNodes'][0x0]));});_0x38ee53['observe'](_0x190335,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x1d9585){_0x1d9585['addEventListener']('apply',_0x120056=>{this['fire']('apply',{'imageSrc':_0x120056['detail']['cdnUrl']});}),_0x1d9585['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class E extends/* #__PURE__ -- @preserve */
25
- _0x5357ad(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x395c53,_0x389f77,_0x1f769c){super(),this['_editor']=_0x395c53,this['_dialog']=_0x389f77,this['_imageElement']=_0x1f769c,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 _0x3c1984=this['_imageElement'],_0x117e1b=_0x3c1984['getAttribute']('uploadcareImageId'),_0x3aa542=_0x3c1984['getAttribute']('src');if(_0x117e1b)await this['_loadImageInfo'](_0x117e1b,_0x3aa542);else{if(this['_imageCache']['has'](_0x3aa542)){const _0x2c46b3=this['_imageCache']['get'](_0x3aa542);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x2c46b3['url'],this['imageDimension']=_0x2c46b3['dimension'],this['imageId']=_0x2c46b3['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x4ee08e}=this['_editor'],t=_0x4ee08e['t'],_0x30330d=new X(_0x4ee08e,this['imageStatus'],this['_attributes']);_0x30330d['bind']('status')['to'](this,'imageStatus'),_0x30330d['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x30330d['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x30330d['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x30330d,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x517343,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x30330d,'position':_0x460a1e['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x30330d['focus']();},'onHide':()=>{_0x30330d['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x29c61c=>!M(_0x29c61c,_0x30330d['element'])}});}['_loadImageInfo'](_0xaf706b,_0x1cf038){return j['getInfo'](_0xaf706b,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x27cc4c=>{const {width:_0x353a17,height:_0x18b758}=_0x27cc4c['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x1cf038,this['imageDimension']={'width':_0x353a17,'height':_0x18b758},this['imageId']=_0xaf706b;})['catch'](_0x168558=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x168558['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x2da5db,_0x547079){return this['_getImageAsFile'](_0x2da5db)['then'](_0x31b494=>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':_0x547079['signal'],'file':_0x31b494,'onProgress':_0x2fdfea=>{_0x2fdfea&&_0x2fdfea['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x2fdfea['value']));}}))['then'](_0x43d528=>{const {width:_0x24ef4c,height:_0x7f9f91}=_0x43d528['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x43d528['cdnUrl'],this['imageDimension']={'width':_0x24ef4c,'height':_0x7f9f91},this['imageId']=_0x43d528['uuid'],this['imageUploadProgress']=null;const _0x343f72=_0x2da5db['getAttribute']('src');this['_imageCache']['set'](_0x343f72,{'id':_0x43d528['uuid'],'url':_0x43d528['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x2cc75d=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x2cc75d['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x4304bf,_0x886c32){_0x4304bf['on']('apply',(_0x3720ae,_0x56ae6d)=>{this['_replaceImage'](_0x886c32,_0x56ae6d['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x4304bf['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x4304bf['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x4e270f,_0x59bcce,_0x27d9ec){const _0x59f809=this['_editor'],{width:_0x440289,height:_0xc13d27}=F(_0x59bcce,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x3386b1,imageSources:_0x575838}=C(_0x59bcce,_0x440289);_0x59f809['model']['change'](_0x57d07a=>{if('$graveyard'===_0x4e270f['root']['rootName']){_0x59f809['execute']('insertImage',{'imageType':_0x4e270f['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x4e270f['getAttributes']()),'uploadcareImageId':_0x27d9ec,'src':_0x3386b1,'sources':_0x575838,'width':_0x440289,'height':_0xc13d27}});const _0x210ded=_0x4e270f['getChildren']();_0x4e270f=_0x59f809['model']['document']['selection']['getSelectedElement']();for(const _0x471281 of _0x210ded)_0x57d07a['append'](_0x57d07a['cloneElement'](_0x471281),_0x4e270f);}else _0x57d07a['setSelection'](_0x4e270f,'on'),_0x59f809['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x4e270f['getAttributes']()),'uploadcareImageId':_0x27d9ec,'src':_0x3386b1,'sources':_0x575838,'width':_0x440289,'height':_0xc13d27},_0x4e270f);_0x57d07a['setSelection'](_0x4e270f,'on');});}async['_getImageAsFile'](_0x9cac57){const _0x2a747f=_0x184053['window'],_0x400a08=_0x184053['document']['location']['href'],_0x415c11=new _0x2a747f['URL'](_0x9cac57['getAttribute']('src'),_0x400a08);if('data:'===_0x415c11['protocol']){const _0x34fca0=_0x415c11['href']['split'](','),_0x3e3b80=_0x34fca0[0x0]['match'](/:(.*?);/)[0x1],_0x1ee61c=_0x3e3b80['split']('/')[0x1],_0x2586f1=_0x2a747f['atob'](_0x34fca0[_0x34fca0['length']-0x1]);let _0x5bff59=_0x2586f1['length'];const _0x374b83=new _0x2a747f['Uint8Array'](_0x5bff59);for(;_0x5bff59--;)_0x374b83[_0x5bff59]=_0x2586f1['charCodeAt'](_0x5bff59);return new _0x2a747f['File']([_0x374b83],'image.'+_0x1ee61c,{'type':_0x3e3b80});}const _0x1000f9=_0x415c11['href']['split']('/'),_0x582742=_0x1000f9[_0x1000f9['length']-0x1],_0x46aec3=_0x582742['split']('.')[0x1];return _0x2a747f['fetch'](_0x415c11['href'])['then'](_0x391dc2=>_0x391dc2['clone']()['blob']())['then'](_0x57dc21=>new _0x2a747f['File']([_0x57dc21],_0x582742,{'type':'image/'+_0x46aec3}));}}class N extends _0x313597{['imageEditController'];static get['requires'](){return[_0x4a7148];}['_isEditable'];constructor(_0x34f681){super(_0x34f681),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x2278bc){const _0x2ba97=R(_0x2278bc);return _0x2fe3ce=>!(!_0x2fe3ce||!_0x2fe3ce['is']('element','imageBlock')&&!_0x2fe3ce['is']('element','imageInline'))&&(!!_0x2fe3ce['hasAttribute']('uploadcareImageId')||!!_0x2fe3ce['hasAttribute']('src')&&_0x2ba97(_0x2fe3ce['getAttribute']('src')));}(_0x34f681['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x4181fb=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x4181fb);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x749843=this['editor']['model']['document']['selection']['getSelectedElement']();_0x749843&&(_0x749843['is']('element','imageBlock')||_0x749843['is']('element','imageInline'))&&(this['imageEditController']=new E(this['editor'],this['editor']['plugins']['get'](_0x4a7148),_0x749843),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class O extends _0x313597{['refresh'](){const _0x1434fc=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x1434fc&&(_0x1434fc['is']('element','imageBlock')||_0x1434fc['is']('element','imageInline')));}['execute'](_0x5392ee){const _0x1680b3=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x4b1748=>{_0x4b1748['setAttributes'](_0x5392ee,_0x1680b3),_0x4b1748['removeAttribute']('srcset',_0x1680b3),_0x4b1748['removeAttribute']('sizes',_0x1680b3);});}}class m extends _0x2735fc{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[o,_0x22c197,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x3cb851}=this;_0x3cb851['commands']['add']('uploadcareImageEdit',new N(_0x3cb851)),_0x3cb851['commands']['add']('uploadcareImageReplace',new O(_0x3cb851));}}class g extends _0x2735fc{['_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 _0x5ee1bf=this['editor'];_0x5ee1bf['ui']['componentFactory']['add']('uploadcareImageEdit',_0x522543=>{const _0x1071fb=_0x5ee1bf['commands']['get']('uploadcareImageEdit'),_0x5f0f5e=new _0x40e918(_0x522543),t=_0x522543['t'];return _0x5f0f5e['set']({'icon':_0x517343,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x5f0f5e['bind']('isEnabled')['to'](_0x1071fb),_0x5f0f5e['bind']('isOn')['to'](_0x1071fb,'isActive'),this['listenTo'](_0x5f0f5e,'execute',()=>{_0x5ee1bf['execute']('uploadcareImageEdit'),_0x5ee1bf['editing']['view']['focus']();}),_0x5f0f5e;}),this['_initConfig']();}['_initConfig'](){const _0x3748eb=_0x11212f(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x3748eb),this['listenTo'](this['editor'],'destroy',()=>{_0x3748eb['remove']();});}}class et extends _0x2735fc{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,N as UploadcareImageEditCommand,m as UploadcareImageEditEditing,g as UploadcareImageEditUI,e as UploadcareUI,f as UploadcareUploadAdapter};
23
+ import{Plugin as _0x2c89f1,Command as _0x517cee}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x116dea,IconGooglePhotos as _0x37c349,IconGoogleDrive as _0x29cb4f,IconFacebook as _0x9ab18,IconDropbox as _0x395715,IconUploadcareLink as _0x38d3a2,IconUploadcareImageUpload as _0x298606,IconError as _0x495b38,IconUploadcareImageEdit as _0x4bf427}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x37fe92,MenuBarMenuListItemButtonView as _0x267e56,View as _0x36d27c,FocusCycler as _0x286b3a,Dialog as _0x45c0c7,DialogViewPosition as _0x522b3a,SpinnerView as _0x5687fd,IconView as _0x44c58c,Notification as _0x25f61f}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x4618d6,DomEmitterMixin as _0x10a786,global as _0x132dfa,getAncestors as _0x1a1397,ObservableMixin as _0x4b9ecb,uid as _0x5a4516,createElement as _0x5782e8}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x1b929a}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x5c84e0,info as _0x3c3b34}from'@uploadcare/upload-client';import*as _0x17d064 from'@uploadcare/file-uploader';var i=function(_0x139851){return _0x139851['Local']='local',_0x139851['URL']='url',_0x139851['Dropbox']='dropbox',_0x139851['GDrive']='gdrive',_0x139851['Facebook']='facebook',_0x139851['GPhotos']='gphotos',_0x139851['OneDrive']='onedrive',_0x139851;}({});function _(_0x3b0ca3,_0x1fb414,_0x438c6e){const t=_0x3b0ca3['t'],_0x324b4f=_0x3b0ca3['t'];switch(_0x1fb414){case i['Local']:return{'text':_0x324b4f('Insert'===_0x438c6e?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x324b4f('From\x20computer')};case i['URL']:return{'text':'Insert'===_0x438c6e?_0x324b4f('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x324b4f('Via\x20URL')};case i['Dropbox']:return{'text':t('Insert'===_0x438c6e?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case i['Facebook']:return{'text':t('Insert'===_0x438c6e?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case i['GDrive']:return{'text':t('Insert'===_0x438c6e?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case i['GPhotos']:return{'text':t('Insert'===_0x438c6e?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case i['OneDrive']:return{'text':t('Insert'===_0x438c6e?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x1fb414;}}class e extends _0x2c89f1{['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 _0x1de4d9=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0xf9efab;for(const _0xbac612 in _0x1de4d9){const _0x5f4ef4=_0xbac612,_0x1eb6ff=_0x1de4d9[_0x5f4ef4];if('uploadcareLicenseKeyValid'==_0x1eb6ff||'uploadcareLicenseKeyInvalid'==_0x1eb6ff||'uploadcareLicenseKeyExpired'==_0x1eb6ff||'uploadcareLicenseKeyDomainLimit'==_0x1eb6ff||'uploadcareLicenseKeyNotAllowed'==_0x1eb6ff||'uploadcareLicenseKeyEvaluationLimit'==_0x1eb6ff||'uploadcareLicenseKeyTrialLimit'==_0x1eb6ff||'uploadcareLicenseKeyUsageLimit'==_0x1eb6ff){delete _0x1de4d9[_0x5f4ef4],_0xf9efab=_0x1eb6ff,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0xf9efab&&_0x1de4d9['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0xf9efab&&_0x1de4d9['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0xf9efab&&_0x1de4d9['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0xf9efab&&_0x1de4d9['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0xf9efab&&_0x1de4d9['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0xf9efab&&_0x1de4d9['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0xf9efab&&_0x1de4d9['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x3cf3f9}=this,_0x242e71=_0x3cf3f9['commands']['get']('uploadcare');if(!_0x242e71)return;const _0x1ed8d8=this['_normalizeConfigSourceList'](_0x3cf3f9['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0xa5ac34,_0x559fc6)=>{const _0xadfcdd=this['_getIntegrationKey'](_0x559fc6['type']);return _0xa5ac34[_0xadfcdd]||(_0xa5ac34[_0xadfcdd]=[]),_0xa5ac34[_0xadfcdd]['push'](_0x559fc6),_0xa5ac34;},{});_0x3cf3f9['plugins']['has']('ImageInsertUI')&&_0x3cf3f9['commands']['get']('uploadcare')&&Object['entries'](_0x1ed8d8)['forEach'](([_0x212456,_0x47f6ee])=>{_0x3cf3f9['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x212456,'observable':()=>_0x242e71,'buttonViewCreator':()=>this['_createToolbarButton'](_0x47f6ee),'formViewCreator':()=>this['_createDropdownButtons'](_0x47f6ee),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x47f6ee),'override':'assetManager'!==_0x212456});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0xc59586){const {locale:_0x10c2cd}=this['editor'];return _0xc59586['map'](_0xf41be5=>{const _0xb2aff9=_(_0x10c2cd,_0xf41be5,'Insert');switch(_0xf41be5){case i['Local']:return{'icon':_0x298606,'type':i['Local'],..._0xb2aff9};case i['URL']:return{'icon':_0x38d3a2,'type':i['URL'],..._0xb2aff9};case i['Dropbox']:return{'icon':_0x395715,'type':i['Dropbox'],..._0xb2aff9};case i['Facebook']:return{'icon':_0x9ab18,'type':i['Facebook'],..._0xb2aff9};case i['GDrive']:return{'icon':_0x29cb4f,'type':i['GDrive'],..._0xb2aff9};case i['GPhotos']:return{'icon':_0x37c349,'type':i['GPhotos'],..._0xb2aff9};case i['OneDrive']:return{'icon':_0x116dea,'type':i['OneDrive'],..._0xb2aff9};}});}['_getIntegrationKey'](_0x1b168c){switch(_0x1b168c){case i['Local']:return'upload';case i['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x2ccab5,_0x173c16){const _0x5d1d9d=this['editor'],_0x3bd4a5=new _0x2ccab5(_0x5d1d9d['locale']),_0x47eff9=_0x5d1d9d['commands']['get']('uploadcare');return _0x3bd4a5['bind']('isEnabled')['to'](_0x47eff9),_0x3bd4a5['on']('execute',()=>{_0x47eff9['execute'](_0x173c16);}),_0x3bd4a5;}['_createToolbarButton'](_0xac1cce){const {locale:_0x237aaf}=this['editor'],_0x126076=this['editor']['plugins']['get']('ImageInsertUI'),_0xc09fbd=_0xac1cce[0x0],_0x48763f=this['_createButton'](_0x37fe92,_0xc09fbd['type']);return _0x48763f['icon']=_0xc09fbd['icon'],_0x48763f['bind']('label')['to'](_0x126076,'isImageSelected',_0x4d43ef=>_(_0x237aaf,_0xc09fbd['type'],_0x4d43ef?'Replace':'Insert')['text']),_0x48763f['tooltip']=!0x0,_0x48763f;}['_createDropdownButtons'](_0x340eb0){const {locale:_0x5dd5a5}=this['editor'],_0x23bc0d=this['editor']['plugins']['get']('ImageInsertUI');return _0x340eb0['map'](_0x3a1b14=>{const _0xf354a=this['_createButton'](_0x37fe92,_0x3a1b14['type']);return _0xf354a['withText']=!0x0,_0xf354a['icon']=_0x3a1b14['icon'],_0xf354a['bind']('label')['to'](_0x23bc0d,'isImageSelected',_0x3db1e1=>_(_0x5dd5a5,_0x3a1b14['type'],_0x3db1e1?'Replace':'Insert')['text']),_0xf354a;});}['_createMenuBarButtons'](_0x3c0089){return _0x3c0089['map'](_0x2b9dd0=>{const _0x4f8301=this['_createButton'](_0x267e56,_0x2b9dd0['type']);return _0x4f8301['icon']=_0x2b9dd0['icon'],_0x4f8301['label']=_0x2b9dd0['shortText'],_0x4f8301;});}}class F extends _0x36d27c{['focusTracker'];['focusCycler'];constructor(_0x10118a){super(_0x10118a),this['focusTracker']=new _0x4618d6(),this['focusCycler']=new _0x286b3a({'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(_0x424e62,_0x317230){super(_0x424e62),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-'+_0x317230}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function C(_0x4de07b,_0x3b64f2){const _0x548c68=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x20800e=>_0x20800e<=_0x3b64f2)['map'](_0x324fd4=>_0x4de07b['replace'](/\/$/,'')+'/-/resize/'+_0x324fd4+'x/\x20'+_0x324fd4+'w');return{'imageFallbackUrl':_0x4de07b,'imageSources':[{'srcset':_0x548c68['join'](',\x20'),'sizes':'(max-width:\x20'+_0x3b64f2+'px)\x20100vw,\x20'+_0x3b64f2+'px','type':'image/webp'}]};}function S(_0x1cc5bf,_0x7a5806,_0x5a43dd){const _0xaec0e=_0x1cc5bf['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0xaec0e?parseInt(_0xaec0e[0x1],0xa):_0x7a5806,'height':_0xaec0e?parseInt(_0xaec0e[0x2],0xa):_0x5a43dd};}function p(_0x370e8b,_0x6f6647){const _0x107a17=new(_0x10a786())(),_0x1afc23=_0x370e8b['plugins']['get']('ImageUtils'),_0x2c43d9=_0x370e8b['editing']['mapper']['toViewElement'](_0x6f6647),_0x267934=_0x1afc23['findViewImgElement'](_0x2c43d9),_0x21969d=_0x370e8b['editing']['view']['domConverter']['viewToDom'](_0x267934),_0x594885=_0x6f6647['getAttribute']('width'),_0x21ed28=_0x6f6647['getAttribute']('height'),_0x35d147='image-processing';_0x370e8b['editing']['view']['change'](_0x2ee995=>{_0x2ee995['addClass'](_0x35d147,_0x2c43d9),_0x2ee995['setStyle']('aspect-ratio',_0x594885+'/'+_0x21ed28,_0x267934);}),_0x107a17['listenTo'](_0x21969d,'load',()=>{_0x107a17['stopListening'](_0x21969d,'load'),_0x370e8b['editing']['view']['change'](_0x4129c4=>{_0x4129c4['removeClass'](_0x35d147,_0x2c43d9),_0x4129c4['removeStyle']('aspect-ratio',_0x267934);});});}function G(_0x5a7ea2){if(Array['isArray'](_0x5a7ea2)){const _0x429d97=_0x5a7ea2['map'](G);return _0x3d0ae1=>_0x429d97['some'](_0x42abd1=>_0x42abd1(_0x3d0ae1));}if('origin'==_0x5a7ea2){const _0x244b5a=_0x132dfa['window']['location']['origin'];return _0x5ed050=>new URL(_0x5ed050,_0x132dfa['document']['baseURI'])['origin']==_0x244b5a;}return'function'==typeof _0x5a7ea2?_0x5a7ea2:_0x5a7ea2 instanceof RegExp?_0xfe515=>!(!_0xfe515['match'](_0x5a7ea2)&&!_0xfe515['replace'](/^https?:\/\//,'')['match'](_0x5a7ea2)):()=>!0x1;}function A(_0x28572b,_0x9432c5){return _0x1a1397(_0x28572b['target'])['includes'](_0x9432c5);}class n extends/* #__PURE__ -- @preserve */
24
+ _0x4b9ecb(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x550260,_0x5e6a6e,_0x35842d){super(),this['_editor']=_0x550260,this['_editing']=_0x5e6a6e,this['_dialog']=_0x550260['plugins']['get'](_0x45c0c7),this['_api']=_0x5e6a6e['ctxElement']['getAPI'](),this['_type']=_0x35842d,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:_0x2e273c,model:_0x5ad0d9}=this['_editor'],_0x4f3288=_0x5ad0d9['document']['selection']['getSelectedElement'](),_0x3b28f7=_0x4f3288&&(_0x4f3288['is']('element','imageBlock')||_0x4f3288['is']('element','imageInline'));this['_formView']=new x(_0x2e273c,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':_0x298606,'title':_(_0x2e273c,this['_type'],_0x3b28f7?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x522b3a['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x62530f=>!A(_0x62530f,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x3ca452}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x5ac3e0=>{const _0x111c03=_0x3ca452['length'];for(const _0x1a7a89 of _0x3ca452){const _0xc2e0ac=_0x1a7a89===_0x3ca452[_0x111c03-0x1],{cdnUrl:_0x4130e4,fileInfo:_0x323685}=_0x1a7a89;if(!_0x4130e4||!_0x323685)continue;const {width:_0x20fc2b,height:_0x381bbc}=_0x323685['imageInfo'],_0x98bd63=S(_0x4130e4,_0x20fc2b,_0x381bbc),_0x4d517d=C(_0x4130e4,_0x98bd63['width']),_0x235084={'id':_0x323685['uuid'],'type':'image','attributes':{'imageDimension':_0x98bd63,..._0x4d517d}};this['_insertAsset'](_0x235084,_0xc2e0ac,_0x5ac3e0);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x306765=>{'idle'===_0x306765['detail']['status']&&!_0x306765['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===i['Local']?this['_api']['setCurrentActivity'](i['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0xb8f5c3,_0x11f814,_0x542d81){const _0x411e00=this['_editor']['model']['document']['selection'],_0x364ee6=_0x411e00['getSelectedElement'](),_0x289e6d=!(!_0x364ee6||!_0x364ee6['is']('element','imageInline'));_0x542d81['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0xb8f5c3,_0x289e6d),_0x11f814||_0x542d81['setSelection'](_0x411e00['getLastPosition']());}['_insertImage'](_0x5e9cf9,_0xa0562e){const _0x4283f6=this['_editor'],{imageDimension:_0x145756,imageFallbackUrl:_0x353e74,imageSources:_0x2a1714}=_0x5e9cf9['attributes'];_0x4283f6['execute']('insertImage',{'imageType':_0xa0562e?'imageInline':null,'source':{'uploadcareImageId':_0x5e9cf9['id'],'src':_0x353e74,'sources':_0x2a1714,..._0x145756}});}}class w extends _0x517cee{['_editing'];['_controller']=null;static get['requires'](){return[_0x45c0c7,o];}constructor(_0x140767){super(_0x140767),this['_editing']=_0x140767['plugins']['get'](o);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x41e15f){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new n(this['editor'],this['_editing'],_0x41e15f);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class j{static['upload']({file:_0x3f23d8,..._0x479822}){return _0x5c84e0(_0x3f23d8,_0x479822);}static['getInfo'](_0x372434,_0x2827fd){return _0x3c3b34(_0x372434,_0x2827fd);}}class f extends _0x2c89f1{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x1b929a,o];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x8c815e=this['editor'];if(!!!_0x8c815e['config']['get']('uploadcare'))return;_0x8c815e['plugins']['get'](_0x1b929a)['createUploadAdapter']=_0x4185d8=>new k(_0x4185d8,_0x8c815e),_0x8c815e['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x1ccb0a,{imageElement:_0x2348f6,data:_0x357e1d})=>{_0x8c815e['model']['change'](_0x24a8b7=>{_0x24a8b7['setAttribute']('uploadcareImageId',_0x357e1d['uploadcareImageId'],_0x2348f6);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x2db73a,_0x1b0a50){this['loader']=_0x2db73a,this['editor']=_0x1b0a50,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x27ecb3=await this['loader']['file'];return j['upload']({'file':_0x27ecb3,'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':_0x55e2cd=>{_0x55e2cd&&_0x55e2cd['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x55e2cd['value']);}})['then'](async _0x64532c=>{const {imageFallbackUrl:_0x51054f,imageSources:_0x5b062b}=C(_0x64532c['cdnUrl'],_0x64532c['imageInfo']['width']);return{'uploadcareImageId':_0x64532c['uuid'],'default':_0x51054f,'sources':_0x5b062b};})['catch'](()=>{const _0x32ff12=t('Cannot\x20upload\x20file:')+('\x20'+_0x27ecb3['name']+'.');return Promise['reject'](_0x32ff12);});}['abort'](){this['controller']['abort']();}}class o extends _0x2c89f1{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',f,_0x45c0c7];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['ucContextId'];get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}constructor(_0x50aed3){super(_0x50aed3),this['ucContextId']=_0x5a4516();}['init'](){const _0x1dc59e=this['editor'];_0x1dc59e['commands']['add']('uploadcare',new w(_0x1dc59e));}['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 _0x527923=_0x132dfa['document']['querySelector']('input[uploadcare-file-input]');_0x527923&&_0x527923['remove']();}),async function(_0x11a015){const _0x23df09=_0x2c0855([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]),_0x44e0d2=0x535f8c3a,_0x2984b2=0x5358f7a2^_0x44e0d2,_0x2da6fd=window[_0x2c0855([0x44,0x61,0x74,0x65])][_0x2c0855([0x6e,0x6f,0x77])](),_0x85cabf=_0x11a015[_0x2c0855([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x169953=new window[(_0x2c0855([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xb6d5b1=>{_0x85cabf[_0x2c0855([0x6f,0x6e,0x63,0x65])](_0x2c0855([0x72,0x65,0x61,0x64,0x79]),_0xb6d5b1);}),_0x72b05d={[_0x2c0855([0x6b,0x74,0x79])]:_0x2c0855([0x45,0x43]),[_0x2c0855([0x75,0x73,0x65])]:_0x2c0855([0x73,0x69,0x67]),[_0x2c0855([0x63,0x72,0x76])]:_0x2c0855([0x50,0x2d,0x32,0x35,0x36]),[_0x2c0855([0x78])]:_0x2c0855([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]),[_0x2c0855([0x79])]:_0x2c0855([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]),[_0x2c0855([0x61,0x6c,0x67])]:_0x2c0855([0x45,0x53,0x32,0x35,0x36])},_0x56b1b8=_0x85cabf[_0x2c0855([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2c0855([0x67,0x65,0x74])](_0x2c0855([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x5d5d69(){let _0x8bb910,_0x26d809=null,_0x396d05=null;try{if(_0x56b1b8==_0x2c0855([0x47,0x50,0x4c]))return _0x2c0855([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x8bb910=_0x3db827(),!_0x8bb910)return _0x2c0855([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x8bb910[_0x2c0855([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x396d05=_0x397397(_0x8bb910[_0x2c0855([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x8bb910[_0x2c0855([0x6a,0x74,0x69])])),await _0x13c3cc()?_0x5b7492()?_0x1ab54e()?_0x2c0855([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x5e1dc4()?(_0x8bb910[_0x2c0855([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2c0855([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x26d809=_0x2b3107(_0x2c0855([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x8bb910[_0x2c0855([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2c0855([0x74,0x72,0x69,0x61,0x6c])&&(_0x26d809=_0x2b3107(_0x2c0855([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4f1247()):_0x2c0855([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2c0855([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2c0855([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x2c0855([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x1ab54e(){const _0x3b105b=[_0x2c0855([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2c0855([0x74,0x72,0x69,0x61,0x6c])][_0x2c0855([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x8bb910[_0x2c0855([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2da6fd/0x3e8:0xe10*_0x2984b2;return _0x8bb910[_0x2c0855([0x65,0x78,0x70])]<_0x3b105b;}function _0x5b7492(){const _0x4d22fb=_0x8bb910[_0x2c0855([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x4d22fb&&(!!_0x4d22fb[_0x2c0855([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2c0855([0x2a]))||!!_0x4d22fb[_0x2c0855([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2c0855([0x55,0x50,0x4c,0x43])));}function _0x5e1dc4(){const _0x367bb8=_0x8bb910[_0x2c0855([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x367bb8||0x0==_0x367bb8[_0x2c0855([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x2a6fb6}=new URL(window[_0x2c0855([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x367bb8[_0x2c0855([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2a6fb6))return!0x0;const _0x22d0d3=_0x2a6fb6[_0x2c0855([0x73,0x70,0x6c,0x69,0x74])](_0x2c0855([0x2e]));return _0x367bb8[_0x2c0855([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1cf9fa=>_0x1cf9fa[_0x2c0855([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2c0855([0x2a])))[_0x2c0855([0x6d,0x61,0x70])](_0x515c6d=>_0x515c6d[_0x2c0855([0x73,0x70,0x6c,0x69,0x74])](_0x2c0855([0x2e])))[_0x2c0855([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x54b362=>_0x54b362[_0x2c0855([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x22d0d3[_0x2c0855([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2c0855([0x6d,0x61,0x70])](_0x29ca95=>Array(_0x22d0d3[_0x2c0855([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x29ca95[_0x2c0855([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2c0855([0x66,0x69,0x6c,0x6c])](_0x29ca95[0x0]===_0x2c0855([0x2a])?_0x2c0855([0x2a]):'')[_0x2c0855([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x29ca95))[_0x2c0855([0x73,0x6f,0x6d,0x65])](_0x5c5c49=>_0x22d0d3[_0x2c0855([0x65,0x76,0x65,0x72,0x79])]((_0x4457d0,_0x32546b)=>_0x5c5c49[_0x32546b]===_0x4457d0||_0x5c5c49[_0x32546b]===_0x2c0855([0x2a])));}function _0x4f1247(){return _0x26d809&&_0x396d05?new window[(_0x2c0855([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1f803f,_0x405317)=>{_0x26d809[_0x2c0855([0x74,0x68,0x65,0x6e])](_0x1f803f,_0x405317),_0x396d05[_0x2c0855([0x74,0x68,0x65,0x6e])](_0x5dd5f3=>{_0x5dd5f3!=_0x2c0855([0x56,0x61,0x6c,0x69,0x64])&&_0x1f803f(_0x5dd5f3);},_0x405317);}):_0x26d809||_0x396d05||_0x2c0855([0x56,0x61,0x6c,0x69,0x64]);}}function _0x397397(_0x117163,_0x4a1e4c){return new window[(_0x2c0855([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3d8b33=>{if(_0x39b101())return _0x3d8b33(_0x2c0855([0x56,0x61,0x6c,0x69,0x64]));_0x5783ba(),_0x85cabf[_0x2c0855([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2c0855([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x7a274f=!0x1;const _0x286171=_0x5a4516();function _0x49b162(_0xf446d2){return!!_0xf446d2&&(typeof _0xf446d2===_0x2c0855([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0xf446d2===_0x2c0855([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0xf446d2[_0x2c0855([0x74,0x68,0x65,0x6e])]===_0x2c0855([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0xf446d2[_0x2c0855([0x63,0x61,0x74,0x63,0x68])]===_0x2c0855([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x2f2846(_0x4bd984){_0x5a5435(_0x4bd984)[_0x2c0855([0x74,0x68,0x65,0x6e])](_0x1649a3=>{if(!_0x1649a3||_0x1649a3[_0x2c0855([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2c0855([0x6f,0x6b]))return _0x2c0855([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x5b8ca8(_0xbc5cc2(_0x286171+_0x4a1e4c))!=_0x1649a3[_0x2c0855([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2c0855([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2c0855([0x56,0x61,0x6c,0x69,0x64]);})[_0x2c0855([0x74,0x68,0x65,0x6e])](_0x3467b0=>(_0x28282d(),_0x3467b0),()=>{const _0x244022=_0x40e9d8();return null==_0x244022?(_0x28282d(),_0x2c0855([0x56,0x61,0x6c,0x69,0x64])):_0x2c0855(_0x2da6fd-_0x244022>(0x7753083a^_0x44e0d2)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2c0855([0x74,0x68,0x65,0x6e])](_0x3d8b33)[_0x2c0855([0x63,0x61,0x74,0x63,0x68])](()=>{_0x3d8b33(_0x2c0855([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x305684=0x536962ba^_0x44e0d2;function _0x28282d(){const _0x2f0100=_0x2c0855([0x6c,0x6c,0x63,0x74,0x2d])+_0x5b8ca8(_0xbc5cc2(_0x117163)),_0x4d8917=_0x404cd8(_0x5b8ca8(window[_0x2c0855([0x4d,0x61,0x74,0x68])][_0x2c0855([0x63,0x65,0x69,0x6c])](_0x2da6fd/_0x305684)));window[_0x2c0855([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2c0855([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2f0100,_0x4d8917);}function _0x40e9d8(){const _0x55ddaa=_0x2c0855([0x6c,0x6c,0x63,0x74,0x2d])+_0x5b8ca8(_0xbc5cc2(_0x117163)),_0x133d58=window[_0x2c0855([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2c0855([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x55ddaa);return _0x133d58?window[_0x2c0855([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x404cd8(_0x133d58),0x10)*_0x305684:null;}function _0x5a5435(_0x2a71dd){return new window[(_0x2c0855([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5114c1,_0x3a92c1)=>{_0x2a71dd[_0x2c0855([0x74,0x68,0x65,0x6e])](_0x5114c1,_0x3a92c1),window[_0x2c0855([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3a92c1,0x535e58fa^_0x44e0d2);});}}_0x85cabf[_0x2c0855([0x6f,0x6e])](_0x2c0855([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x5cf86c,_0x197c20)=>{if(_0x197c20[0x0]!=_0x117163)return _0x3d8b33(_0x2c0855([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x197c20[0x1]={..._0x197c20[0x1],[_0x2c0855([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x286171};},{[_0x2c0855([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2c0855([0x68,0x69,0x67,0x68])}),_0x85cabf[_0x2c0855([0x6f,0x6e])](_0x2c0855([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x645399=>{_0x49b162(_0x645399[_0x2c0855([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x7a274f=!0x0,_0x2f2846(_0x645399[_0x2c0855([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2c0855([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2c0855([0x6c,0x6f,0x77])}),_0x169953[_0x2c0855([0x74,0x68,0x65,0x6e])](()=>{_0x7a274f||_0x3d8b33(_0x2c0855([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x39b101(){return _0x85cabf[_0x2c0855([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2c0855([0x76,0x69,0x65,0x77])][_0x2c0855([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2c0855([0x61,0x75,0x74,0x6f]);}function _0x5783ba(){_0x85cabf[_0x2c0855([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2c0855([0x76,0x69,0x65,0x77])][_0x2c0855([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2c0855([0x61,0x75,0x74,0x6f]);}}function _0x2b3107(_0x584c50){const _0x4c7b64=[new window[(_0x2c0855([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x38d197=>setTimeout(_0x38d197,0x5356b2f6^_0x44e0d2)),_0x169953[_0x2c0855([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2c0855([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x229934=>{let _0x4373c8=0x0;_0x85cabf[_0x2c0855([0x6d,0x6f,0x64,0x65,0x6c])][_0x2c0855([0x6f,0x6e])](_0x2c0855([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0xbc6853,_0x228bfc)=>{_0x228bfc[0x0][_0x2c0855([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4373c8++,_0x4373c8==(0x535f8dc2^_0x44e0d2)&&(_0x229934(),_0xbc6853[_0x2c0855([0x6f,0x66,0x66])]());});}))];return window[_0x2c0855([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2c0855([0x72,0x61,0x63,0x65])](_0x4c7b64)[_0x2c0855([0x74,0x68,0x65,0x6e])](()=>_0x584c50);}async function _0x1f1622(){await _0x169953,_0x85cabf[_0x2c0855([0x6d,0x6f,0x64,0x65,0x6c])][_0x2c0855([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4ab317,_0x85cabf[_0x2c0855([0x6d,0x6f,0x64,0x65,0x6c])][_0x2c0855([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4ab317,_0x85cabf[_0x2c0855([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2c0855([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x4ff0a5(_0x2aec0f){const _0x16799c=_0xa524fb();_0x85cabf[_0x16799c]=_0x2c0855([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x2aec0f,_0x2aec0f!=_0x2c0855([0x56,0x61,0x6c,0x69,0x64])&&_0x1f1622();}function _0xa524fb(){const _0x275c50=window[_0x2c0855([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2c0855([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2c0855([0x6e,0x6f,0x77])]())[_0x2c0855([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2c0855([0x2e]),'');let _0xbe7835=_0x2c0855([0x68]);for(let _0x388786=0x0;_0x388786<_0x275c50[_0x2c0855([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x388786+=0x2){let _0x5807d5=window[_0x2c0855([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x275c50[_0x2c0855([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x388786,_0x388786+0x2));_0x5807d5>=_0x23df09[_0x2c0855([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5807d5-=_0x23df09[_0x2c0855([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0xbe7835+=_0x23df09[_0x5807d5];}return _0xbe7835;}function _0x3db827(){const _0x3d5183=_0x56b1b8[_0x2c0855([0x73,0x70,0x6c,0x69,0x74])](_0x2c0855([0x2e]));if(0x3!=_0x3d5183[_0x2c0855([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x480a6c(_0x3d5183[0x1]);function _0x480a6c(_0x59c347){const _0x1e0142=_0x33184d(_0x59c347);return _0x1e0142&&_0x8464ba()?_0x1e0142:null;function _0x8464ba(){const _0x19030b=_0x1e0142[_0x2c0855([0x6a,0x74,0x69])],_0x241b56=window[_0x2c0855([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x19030b[_0x2c0855([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x19030b[_0x2c0855([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x43da11={..._0x1e0142,[_0x2c0855([0x6a,0x74,0x69])]:_0x19030b[_0x2c0855([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x19030b[_0x2c0855([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x43da11[_0x2c0855([0x76,0x63])],_0xbc5cc2(_0x43da11)==_0x241b56;}}}async function _0x13c3cc(){let _0x298d04=!0x0;try{const _0x554e17=_0x56b1b8[_0x2c0855([0x73,0x70,0x6c,0x69,0x74])](_0x2c0855([0x2e])),[_0x15cd1e,_0x4d458a,_0x26e71d]=_0x554e17;return _0x37476a(_0x15cd1e),await _0x4a7847(_0x15cd1e,_0x4d458a,_0x26e71d),_0x298d04;}catch{return!0x1;}function _0x37476a(_0x3ddfd6){const _0x18f0cd=_0x33184d(_0x3ddfd6);_0x18f0cd&&_0x18f0cd[_0x2c0855([0x61,0x6c,0x67])]==_0x2c0855([0x45,0x53,0x32,0x35,0x36])||(_0x298d04=!0x1);}async function _0x4a7847(_0x131532,_0x1fd475,_0x3739db){const _0x206f2e=window[_0x2c0855([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2c0855([0x66,0x72,0x6f,0x6d])](_0x3a744a(_0x3739db),_0x319c6d=>_0x319c6d[_0x2c0855([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0xa4d71=new window[(_0x2c0855([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2c0855([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x131532+_0x2c0855([0x2e])+_0x1fd475),_0x1a1ad3=window[_0x2c0855([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2c0855([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1a1ad3)return;const _0x41ac7f=await _0x1a1ad3[_0x2c0855([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2c0855([0x6a,0x77,0x6b]),_0x72b05d,{[_0x2c0855([0x6e,0x61,0x6d,0x65])]:_0x2c0855([0x45,0x43,0x44,0x53,0x41]),[_0x2c0855([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2c0855([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2c0855([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1a1ad3[_0x2c0855([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2c0855([0x6e,0x61,0x6d,0x65])]:_0x2c0855([0x45,0x43,0x44,0x53,0x41]),[_0x2c0855([0x68,0x61,0x73,0x68])]:{[_0x2c0855([0x6e,0x61,0x6d,0x65])]:_0x2c0855([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x41ac7f,_0x206f2e,_0xa4d71)||(_0x298d04=!0x1);}}function _0x33184d(_0x5b0c03){return _0x5b0c03[_0x2c0855([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2c0855([0x65,0x79]))?JSON[_0x2c0855([0x70,0x61,0x72,0x73,0x65])](_0x3a744a(_0x5b0c03)):null;}function _0x3a744a(_0x4774e3){return window[_0x2c0855([0x61,0x74,0x6f,0x62])](_0x4774e3[_0x2c0855([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2c0855([0x2b]))[_0x2c0855([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2c0855([0x2f])));}function _0xbc5cc2(_0x1dadc0){let _0x3f48b5=0x1505;function _0x7b47ed(_0x1a518e){for(let _0x109fa6=0x0;_0x109fa6<_0x1a518e[_0x2c0855([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x109fa6++){const _0x27537d=_0x1a518e[_0x2c0855([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x109fa6);_0x3f48b5=(_0x3f48b5<<0x5)+_0x3f48b5+_0x27537d,_0x3f48b5&=_0x3f48b5;}}function _0x18f3cc(_0x480106){Array[_0x2c0855([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x480106)?_0x480106[_0x2c0855([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x18f3cc):_0x480106&&typeof _0x480106==_0x2c0855([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2c0855([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x480106)[_0x2c0855([0x73,0x6f,0x72,0x74])]()[_0x2c0855([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4dd571,_0x3d197f])=>{_0x7b47ed(_0x4dd571),_0x18f3cc(_0x3d197f);}):_0x7b47ed(window[_0x2c0855([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x480106));}return _0x18f3cc(_0x1dadc0),_0x3f48b5>>>0x0;}function _0x5b8ca8(_0x28d987){return _0x28d987[_0x2c0855([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2c0855([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2c0855([0x30]));}function _0x404cd8(_0x70fb45){return _0x70fb45[_0x2c0855([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2c0855([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2c0855([0x6a,0x6f,0x69,0x6e])]('');}function _0x4ab317(){}function _0x2c0855(_0x4bc262){return _0x4bc262['map'](_0x2b18db=>String['fromCharCode'](_0x2b18db))['join']('');}_0x4ff0a5(await _0x5d5d69());}(this);}['_initSchema'](){const _0x451976=this['editor']['model']['schema'];_0x451976['isRegistered']('imageBlock')&&_0x451976['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x451976['isRegistered']('imageInline')&&_0x451976['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x519e87=this['editor'];_0x519e87['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x519e87['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x507ce2=>_0x507ce2['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x10d019=_0x519e87['commands']['get']('replaceImageSource');_0x10d019&&this['listenTo'](_0x10d019,'cleanupImage',(_0xb3fcc7,[_0x3da965,_0x4834e5])=>{_0x3da965['removeAttribute']('uploadcareImageId',_0x4834e5);});}['_initConfig'](){const _0x36a838=this['editor']['config']['get']('uploadcare.uploader')||{},_0x56457d=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x5782e8(_0x132dfa['document'],'uc-config',{..._0x36a838,'pubkey':_0x56457d,'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']=_0x250d04=>{if('closeMax'==_0x250d04)return'#uc-icon-arrow-down';},_0x132dfa['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x5782e8(_0x132dfa['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),_0x132dfa['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x5b58a3=this['editor']['commands']['get']('insertImage');_0x5b58a3&&this['listenTo'](_0x5b58a3,'execute',()=>{const _0x24a333=this['editor']['model']['document']['selection']['getSelectedElement']();_0x24a333&&_0x24a333['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x24a333);});});const _0x58ba34=this['editor']['commands']['get']('uploadcareImageReplace');_0x58ba34&&this['listenTo'](_0x58ba34,'execute',()=>{const _0x48d94b=this['editor']['model']['document']['selection']['getSelectedElement']();_0x48d94b&&_0x48d94b['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x48d94b);});});}}class tt extends _0x2c89f1{static get['requires'](){return[o,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x1457d5){super(_0x1457d5),_0x1457d5['config']['define']('uploadcare.uploader.sourceList',[i['Local'],i['URL']]),_0x17d064['defineComponents'](_0x17d064),this['_defineLocale']();}['_defineLocale'](){const _0x583e9a=this['editor']['config']['get']('uploadcare.locale'),_0x562b46=this['editor']['locale']['contentLanguage'];_0x583e9a&&_0x17d064['defineLocale'](_0x562b46,_0x583e9a);}}class ii extends _0x36d27c{constructor(_0x1a1cb6){super(_0x1a1cb6);const t=_0x1a1cb6['t'],_0x53c249=this['bindTemplate'],_0x2c4aba=new _0x5687fd();_0x2c4aba['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':[_0x2c4aba,{'text':_0x53c249['to']('imageUploadProgress',_0x2ec08f=>t('Loading\x20image...')+'\x20('+(_0x2ec08f||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 _0x36d27c{constructor(_0x21d9a5){super(_0x21d9a5);const t=_0x21d9a5['t'];this['set']('errorType',null);const _0x1b2641=new _0x37fe92(_0x21d9a5);_0x1b2641['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x1b2641['withText']=!0x0,_0x1b2641['class']='ck-button-action',_0x1b2641['on']('execute',()=>{this['fire']('retry');}),_0x1b2641['bind']('isVisible')['to'](this,'errorType',_0x184b71=>'NotFound'!==_0x184b71);const _0xda6c5a=new _0x44c58c();_0xda6c5a['content']=_0x495b38,_0xda6c5a['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x40ae3d=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':[_0xda6c5a,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x40ae3d['to']('errorType',_0x39c92c=>t('NotFound'!==_0x39c92c?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x1b2641]},{'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 _0x36d27c{constructor(_0x4b7cfd,_0x425606){super(_0x4b7cfd);const _0x25ed81=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x425606,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x25ed81['to']('imageSrc')}});}}class X extends F{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x573544,_0x5c440d,_0x1f889d){super(_0x573544),this['_items']=this['createCollection'](),this['_loadingView']=new ii(_0x573544),this['_errorView']=new ti(_0x573544),this['_editingView']=new ei(_0x573544,_0x1f889d),this['_focusableView']=new _0x36d27c(_0x573544),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x5c440d),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'],_0x50d6af=>{this['_addUploadcareImageEditorListeners'](_0x50d6af);});}),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'](_0x26cd06,_0xf2cda3){const _0x49de12='uc-cloud-image-editor',_0x249687=_0x26cd06['querySelector'](_0x49de12);if(_0x249687)return _0xf2cda3(_0x249687);const _0x3d40db=new MutationObserver(_0x4afd16=>{const _0x20bbb3=_0x4afd16['filter'](_0x2d3504=>_0x2d3504['target']===_0x26cd06&&_0x2d3504['addedNodes']['length']>0x0&&_0x2d3504['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x49de12);_0x20bbb3['length']&&(_0x3d40db['disconnect'](),_0xf2cda3(_0x20bbb3[0x0]['addedNodes'][0x0]));});_0x3d40db['observe'](_0x26cd06,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x24c16f){_0x24c16f['addEventListener']('apply',_0x23f05e=>{this['fire']('apply',{'imageSrc':_0x23f05e['detail']['cdnUrl']});}),_0x24c16f['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class E extends/* #__PURE__ -- @preserve */
25
+ _0x4b9ecb(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x54014f,_0x10dff2,_0x31878e){super(),this['_editor']=_0x54014f,this['_dialog']=_0x10dff2,this['_imageElement']=_0x31878e,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 _0x319d40=this['_imageElement'],_0x3fbfb8=_0x319d40['getAttribute']('uploadcareImageId'),_0x119ce1=_0x319d40['getAttribute']('src');if(_0x3fbfb8)await this['_loadImageInfo'](_0x3fbfb8,_0x119ce1);else{if(this['_imageCache']['has'](_0x119ce1)){const _0x56c4f8=this['_imageCache']['get'](_0x119ce1);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x56c4f8['url'],this['imageDimension']=_0x56c4f8['dimension'],this['imageId']=_0x56c4f8['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0xb5e700}=this['_editor'],t=_0xb5e700['t'],_0x3b31e0=new X(_0xb5e700,this['imageStatus'],this['_attributes']);_0x3b31e0['bind']('status')['to'](this,'imageStatus'),_0x3b31e0['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x3b31e0['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x3b31e0['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x3b31e0,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x4bf427,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x3b31e0,'position':_0x522b3a['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x3b31e0['focus']();},'onHide':()=>{_0x3b31e0['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x1dc69c=>!A(_0x1dc69c,_0x3b31e0['element'])}});}['_loadImageInfo'](_0x161788,_0x149618){return j['getInfo'](_0x161788,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x2b1050=>{const {width:_0x4a849a,height:_0xff5465}=_0x2b1050['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x149618,this['imageDimension']={'width':_0x4a849a,'height':_0xff5465},this['imageId']=_0x161788;})['catch'](_0x464cae=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x464cae['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x5dfbde,_0x1ed8cb){return this['_getImageAsFile'](_0x5dfbde)['then'](_0x100a81=>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':_0x1ed8cb['signal'],'file':_0x100a81,'onProgress':_0x469edc=>{_0x469edc&&_0x469edc['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x469edc['value']));}}))['then'](_0x423e68=>{const {width:_0x55d7e3,height:_0x2a02dd}=_0x423e68['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x423e68['cdnUrl'],this['imageDimension']={'width':_0x55d7e3,'height':_0x2a02dd},this['imageId']=_0x423e68['uuid'],this['imageUploadProgress']=null;const _0x1c2bc1=_0x5dfbde['getAttribute']('src');this['_imageCache']['set'](_0x1c2bc1,{'id':_0x423e68['uuid'],'url':_0x423e68['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x512776=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x512776['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x4d065c,_0x492996){_0x4d065c['on']('apply',(_0x4ad524,_0x4752d6)=>{this['_replaceImage'](_0x492996,_0x4752d6['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x4d065c['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x4d065c['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0xf3f1b7,_0x2a530d,_0x40d111){const _0x1d6a33=this['_editor'],{width:_0x726c43,height:_0x2685b5}=S(_0x2a530d,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x25323a,imageSources:_0x9221b5}=C(_0x2a530d,_0x726c43);_0x1d6a33['model']['change'](_0x3b1931=>{if('$graveyard'===_0xf3f1b7['root']['rootName']){_0x1d6a33['execute']('insertImage',{'imageType':_0xf3f1b7['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0xf3f1b7['getAttributes']()),'uploadcareImageId':_0x40d111,'src':_0x25323a,'sources':_0x9221b5,'width':_0x726c43,'height':_0x2685b5}});const _0x514acd=_0xf3f1b7['getChildren']();_0xf3f1b7=_0x1d6a33['model']['document']['selection']['getSelectedElement']();for(const _0x574953 of _0x514acd)_0x3b1931['append'](_0x3b1931['cloneElement'](_0x574953),_0xf3f1b7);}else _0x3b1931['setSelection'](_0xf3f1b7,'on'),_0x1d6a33['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0xf3f1b7['getAttributes']()),'uploadcareImageId':_0x40d111,'src':_0x25323a,'sources':_0x9221b5,'width':_0x726c43,'height':_0x2685b5},_0xf3f1b7);_0x3b1931['setSelection'](_0xf3f1b7,'on');});}async['_getImageAsFile'](_0x45fa35){const _0x4cdf49=_0x132dfa['window'],_0x263f0=_0x132dfa['document']['location']['href'],_0x19c37a=new _0x4cdf49['URL'](_0x45fa35['getAttribute']('src'),_0x263f0);if('data:'===_0x19c37a['protocol']){const _0x38fec5=_0x19c37a['href']['split'](','),_0x1f11f0=_0x38fec5[0x0]['match'](/:(.*?);/)[0x1],_0x1bd4ce=_0x1f11f0['split']('/')[0x1],_0x374f97=_0x4cdf49['atob'](_0x38fec5[_0x38fec5['length']-0x1]);let _0x4f1c0c=_0x374f97['length'];const _0x17c934=new _0x4cdf49['Uint8Array'](_0x4f1c0c);for(;_0x4f1c0c--;)_0x17c934[_0x4f1c0c]=_0x374f97['charCodeAt'](_0x4f1c0c);return new _0x4cdf49['File']([_0x17c934],'image.'+_0x1bd4ce,{'type':_0x1f11f0});}const _0x5b7c6d=_0x19c37a['href']['split']('/'),_0x22f935=_0x5b7c6d[_0x5b7c6d['length']-0x1],_0x3b1db1=_0x22f935['split']('.')[0x1];return _0x4cdf49['fetch'](_0x19c37a['href'])['then'](_0x599da7=>_0x599da7['clone']()['blob']())['then'](_0x2b8671=>new _0x4cdf49['File']([_0x2b8671],_0x22f935,{'type':'image/'+_0x3b1db1}));}}class O extends _0x517cee{['imageEditController'];static get['requires'](){return[_0x45c0c7];}['_isEditable'];constructor(_0x3004fa){super(_0x3004fa),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x4d625e){const _0x3b2396=G(_0x4d625e);return _0x1ef89f=>!(!_0x1ef89f||!_0x1ef89f['is']('element','imageBlock')&&!_0x1ef89f['is']('element','imageInline'))&&(!!_0x1ef89f['hasAttribute']('uploadcareImageId')||!!_0x1ef89f['hasAttribute']('src')&&_0x3b2396(_0x1ef89f['getAttribute']('src')));}(_0x3004fa['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x208ade=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x208ade);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x5cb57f=this['editor']['model']['document']['selection']['getSelectedElement']();_0x5cb57f&&(_0x5cb57f['is']('element','imageBlock')||_0x5cb57f['is']('element','imageInline'))&&(this['imageEditController']=new E(this['editor'],this['editor']['plugins']['get'](_0x45c0c7),_0x5cb57f),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class R extends _0x517cee{['refresh'](){const _0x7fdeee=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x7fdeee&&(_0x7fdeee['is']('element','imageBlock')||_0x7fdeee['is']('element','imageInline')));}['execute'](_0x30bc6a){const _0x366c03=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x29a8fd=>{_0x29a8fd['setAttributes'](_0x30bc6a,_0x366c03),_0x29a8fd['removeAttribute']('srcset',_0x366c03),_0x29a8fd['removeAttribute']('sizes',_0x366c03);});}}class m extends _0x2c89f1{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[o,_0x25f61f,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x1b0386}=this;_0x1b0386['commands']['add']('uploadcareImageEdit',new O(_0x1b0386)),_0x1b0386['commands']['add']('uploadcareImageReplace',new R(_0x1b0386));}}class g extends _0x2c89f1{['_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 _0x327d26=this['editor'];_0x327d26['ui']['componentFactory']['add']('uploadcareImageEdit',_0x5dc712=>{const _0x155d8a=_0x327d26['commands']['get']('uploadcareImageEdit'),_0x235591=new _0x37fe92(_0x5dc712),t=_0x5dc712['t'];return _0x235591['set']({'icon':_0x4bf427,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x235591['bind']('isEnabled')['to'](_0x155d8a),_0x235591['bind']('isOn')['to'](_0x155d8a,'isActive'),this['listenTo'](_0x235591,'execute',()=>{_0x327d26['execute']('uploadcareImageEdit'),_0x327d26['editing']['view']['focus']();}),_0x235591;}),this['_initConfig']();}['_initConfig'](){const _0x12bf02=_0x5782e8(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x12bf02),this['listenTo'](this['editor'],'destroy',()=>{_0x12bf02['remove']();});}}class et extends _0x2c89f1{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':_0xb84ad2=>0x1!=_0xb84ad2}};
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':_0x34e569=>0x1!=_0x34e569}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x5e4f08=>{const {af:{dictionary:_0x21b7cf,getPluralForm:_0x34b7b8}}={'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':_0x11fffc=>0x1!=_0x11fffc}};_0x5e4f08['af']||={'dictionary':{},'getPluralForm':null},_0x5e4f08['af']['dictionary']=Object['assign'](_0x5e4f08['af']['dictionary'],_0x21b7cf),_0x5e4f08['af']['getPluralForm']=_0x34b7b8;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x52774b=>{const {af:{dictionary:_0xbbda00,getPluralForm:_0x46f1e0}}={'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':_0x170494=>0x1!=_0x170494}};_0x52774b['af']||={'dictionary':{},'getPluralForm':null},_0x52774b['af']['dictionary']=Object['assign'](_0x52774b['af']['dictionary'],_0xbbda00),_0x52774b['af']['getPluralForm']=_0x46f1e0;})(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':_0x1f3b70=>0x0==_0x1f3b70?0x0:0x1==_0x1f3b70?0x1:0x2==_0x1f3b70?0x2:_0x1f3b70%0x64>=0x3&&_0x1f3b70%0x64<=0xa?0x3:_0x1f3b70%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':_0xb13cf2=>0x0==_0xb13cf2?0x0:0x1==_0xb13cf2?0x1:0x2==_0xb13cf2?0x2:_0xb13cf2%0x64>=0x3&&_0xb13cf2%0x64<=0xa?0x3:_0xb13cf2%0x64>=0xb?0x4:0x5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x223efa=>{const {ar:{dictionary:_0xca32b6,getPluralForm:_0x22997c}}={'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':_0x4fc006=>0x0==_0x4fc006?0x0:0x1==_0x4fc006?0x1:0x2==_0x4fc006?0x2:_0x4fc006%0x64>=0x3&&_0x4fc006%0x64<=0xa?0x3:_0x4fc006%0x64>=0xb?0x4:0x5}};_0x223efa['ar']||={'dictionary':{},'getPluralForm':null},_0x223efa['ar']['dictionary']=Object['assign'](_0x223efa['ar']['dictionary'],_0xca32b6),_0x223efa['ar']['getPluralForm']=_0x22997c;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x24d5af=>{const {ar:{dictionary:_0x7e4bab,getPluralForm:_0x4b48b6}}={'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':_0x3333c6=>0x0==_0x3333c6?0x0:0x1==_0x3333c6?0x1:0x2==_0x3333c6?0x2:_0x3333c6%0x64>=0x3&&_0x3333c6%0x64<=0xa?0x3:_0x3333c6%0x64>=0xb?0x4:0x5}};_0x24d5af['ar']||={'dictionary':{},'getPluralForm':null},_0x24d5af['ar']['dictionary']=Object['assign'](_0x24d5af['ar']['dictionary'],_0x7e4bab),_0x24d5af['ar']['getPluralForm']=_0x4b48b6;})(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':_0x5b4704=>0x1!=_0x5b4704}};
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':_0x4402a6=>0x1!=_0x4402a6}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x111f8e=>{const {ast:{dictionary:_0x12fa47,getPluralForm:_0x4127bf}}={'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':_0x1836d7=>0x1!=_0x1836d7}};_0x111f8e['ast']||={'dictionary':{},'getPluralForm':null},_0x111f8e['ast']['dictionary']=Object['assign'](_0x111f8e['ast']['dictionary'],_0x12fa47),_0x111f8e['ast']['getPluralForm']=_0x4127bf;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x1e23c2=>{const {ast:{dictionary:_0x3d7311,getPluralForm:_0x5f209f}}={'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':_0x19be68=>0x1!=_0x19be68}};_0x1e23c2['ast']||={'dictionary':{},'getPluralForm':null},_0x1e23c2['ast']['dictionary']=Object['assign'](_0x1e23c2['ast']['dictionary'],_0x3d7311),_0x1e23c2['ast']['getPluralForm']=_0x5f209f;})(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':_0x25834d=>0x1!=_0x25834d}};
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':_0x21e655=>0x1!=_0x21e655}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x54ea73=>{const {az:{dictionary:_0x319c3a,getPluralForm:_0x45d8c0}}={'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':_0xa3bd4a=>0x1!=_0xa3bd4a}};_0x54ea73['az']||={'dictionary':{},'getPluralForm':null},_0x54ea73['az']['dictionary']=Object['assign'](_0x54ea73['az']['dictionary'],_0x319c3a),_0x54ea73['az']['getPluralForm']=_0x45d8c0;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x16d8f4=>{const {az:{dictionary:_0x30d00f,getPluralForm:_0x19936b}}={'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':_0x2252e7=>0x1!=_0x2252e7}};_0x16d8f4['az']||={'dictionary':{},'getPluralForm':null},_0x16d8f4['az']['dictionary']=Object['assign'](_0x16d8f4['az']['dictionary'],_0x30d00f),_0x16d8f4['az']['getPluralForm']=_0x19936b;})(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':_0x2f331d=>_0x2f331d%0xa==0x1&&_0x2f331d%0x64!=0xb?0x0:_0x2f331d%0xa>=0x2&&_0x2f331d%0xa<=0x4&&(_0x2f331d%0x64<0xa||_0x2f331d%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':_0x2ee238=>_0x2ee238%0xa==0x1&&_0x2ee238%0x64!=0xb?0x0:_0x2ee238%0xa>=0x2&&_0x2ee238%0xa<=0x4&&(_0x2ee238%0x64<0xa||_0x2ee238%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x3202df=>{const {be:{dictionary:_0x5bb78e,getPluralForm:_0x5f4d3e}}={'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':_0x104020=>_0x104020%0xa==0x1&&_0x104020%0x64!=0xb?0x0:_0x104020%0xa>=0x2&&_0x104020%0xa<=0x4&&(_0x104020%0x64<0xa||_0x104020%0x64>=0x14)?0x1:0x2}};_0x3202df['be']||={'dictionary':{},'getPluralForm':null},_0x3202df['be']['dictionary']=Object['assign'](_0x3202df['be']['dictionary'],_0x5bb78e),_0x3202df['be']['getPluralForm']=_0x5f4d3e;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x55786a=>{const {be:{dictionary:_0x340b21,getPluralForm:_0x39146d}}={'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':_0x3f3e58=>_0x3f3e58%0xa==0x1&&_0x3f3e58%0x64!=0xb?0x0:_0x3f3e58%0xa>=0x2&&_0x3f3e58%0xa<=0x4&&(_0x3f3e58%0x64<0xa||_0x3f3e58%0x64>=0x14)?0x1:0x2}};_0x55786a['be']||={'dictionary':{},'getPluralForm':null},_0x55786a['be']['dictionary']=Object['assign'](_0x55786a['be']['dictionary'],_0x340b21),_0x55786a['be']['getPluralForm']=_0x39146d;})(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':_0x1d7f11=>0x1!=_0x1d7f11}};
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':_0x491e0c=>0x1!=_0x491e0c}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x2a52ed=>{const {bg:{dictionary:_0x2ea973,getPluralForm:_0x918324}}={'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':_0xb851ec=>0x1!=_0xb851ec}};_0x2a52ed['bg']||={'dictionary':{},'getPluralForm':null},_0x2a52ed['bg']['dictionary']=Object['assign'](_0x2a52ed['bg']['dictionary'],_0x2ea973),_0x2a52ed['bg']['getPluralForm']=_0x918324;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x18df9b=>{const {bg:{dictionary:_0x4eea0a,getPluralForm:_0x331459}}={'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':_0x36ad9f=>0x1!=_0x36ad9f}};_0x18df9b['bg']||={'dictionary':{},'getPluralForm':null},_0x18df9b['bg']['dictionary']=Object['assign'](_0x18df9b['bg']['dictionary'],_0x4eea0a),_0x18df9b['bg']['getPluralForm']=_0x331459;})(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':_0x1d50ad=>0x1!=_0x1d50ad}};
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':_0x81cf4e=>0x1!=_0x81cf4e}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x28eb9a=>{const {bn:{dictionary:_0x1eacd4,getPluralForm:_0x479d23}}={'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':_0x1c6a29=>0x1!=_0x1c6a29}};_0x28eb9a['bn']||={'dictionary':{},'getPluralForm':null},_0x28eb9a['bn']['dictionary']=Object['assign'](_0x28eb9a['bn']['dictionary'],_0x1eacd4),_0x28eb9a['bn']['getPluralForm']=_0x479d23;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x21d8eb=>{const {bn:{dictionary:_0x527d7f,getPluralForm:_0x385a15}}={'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':_0x1d7ceb=>0x1!=_0x1d7ceb}};_0x21d8eb['bn']||={'dictionary':{},'getPluralForm':null},_0x21d8eb['bn']['dictionary']=Object['assign'](_0x21d8eb['bn']['dictionary'],_0x527d7f),_0x21d8eb['bn']['getPluralForm']=_0x385a15;})(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':_0x29c827=>_0x29c827%0xa==0x1&&_0x29c827%0x64!=0xb?0x0:_0x29c827%0xa>=0x2&&_0x29c827%0xa<=0x4&&(_0x29c827%0x64<0xa||_0x29c827%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':_0x175690=>_0x175690%0xa==0x1&&_0x175690%0x64!=0xb?0x0:_0x175690%0xa>=0x2&&_0x175690%0xa<=0x4&&(_0x175690%0x64<0xa||_0x175690%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x149e05=>{const {bs:{dictionary:_0x17db81,getPluralForm:_0x1d0197}}={'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':_0x42328c=>_0x42328c%0xa==0x1&&_0x42328c%0x64!=0xb?0x0:_0x42328c%0xa>=0x2&&_0x42328c%0xa<=0x4&&(_0x42328c%0x64<0xa||_0x42328c%0x64>=0x14)?0x1:0x2}};_0x149e05['bs']||={'dictionary':{},'getPluralForm':null},_0x149e05['bs']['dictionary']=Object['assign'](_0x149e05['bs']['dictionary'],_0x17db81),_0x149e05['bs']['getPluralForm']=_0x1d0197;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x8c322a=>{const {bs:{dictionary:_0x5d2849,getPluralForm:_0x5a87d7}}={'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':_0xd9453f=>_0xd9453f%0xa==0x1&&_0xd9453f%0x64!=0xb?0x0:_0xd9453f%0xa>=0x2&&_0xd9453f%0xa<=0x4&&(_0xd9453f%0x64<0xa||_0xd9453f%0x64>=0x14)?0x1:0x2}};_0x8c322a['bs']||={'dictionary':{},'getPluralForm':null},_0x8c322a['bs']['dictionary']=Object['assign'](_0x8c322a['bs']['dictionary'],_0x5d2849),_0x8c322a['bs']['getPluralForm']=_0x5a87d7;})(window['CKEDITOR_TRANSLATIONS']||={});