@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-20251006.0 → 0.0.0-nightly-20251008.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 _0x37d92d,Command as _0x21c411}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x14bf57,IconGooglePhotos as _0x545475,IconGoogleDrive as _0x1a79f5,IconFacebook as _0x13742e,IconDropbox as _0x494785,IconUploadcareLink as _0x113051,IconUploadcareImageUpload as _0x5b31a4,IconError as _0x1310e1,IconUploadcareImageEdit as _0xa47f1f}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x2824d3,MenuBarMenuListItemButtonView as _0x15169e,View as _0x2dc7c7,FocusCycler as _0x48d100,Dialog as _0x2a6672,DialogViewPosition as _0x2636d7,SpinnerView as _0xe400d3,IconView as _0x5ac054,Notification as _0x20ad36}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x2e4a40,DomEmitterMixin as _0x22c48e,global as _0x224b87,getAncestors as _0x391d8a,ObservableMixin as _0xb798d7,uid as _0x31649b,createElement as _0x1769fd}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0xdeb24a}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x363970,info as _0x5bab32}from'@uploadcare/upload-client';import*as _0x3ae478 from'@uploadcare/file-uploader';var i=function(_0x35077e){return _0x35077e['Local']='local',_0x35077e['URL']='url',_0x35077e['Dropbox']='dropbox',_0x35077e['GDrive']='gdrive',_0x35077e['Facebook']='facebook',_0x35077e['GPhotos']='gphotos',_0x35077e['OneDrive']='onedrive',_0x35077e;}({});function _(_0x48750c,_0x581d1a,_0x1ca879){const t=_0x48750c['t'],_0x113256=_0x48750c['t'];switch(_0x581d1a){case i['Local']:return{'text':_0x113256('Insert'===_0x1ca879?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x113256('From\x20computer')};case i['URL']:return{'text':'Insert'===_0x1ca879?_0x113256('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x113256('Via\x20URL')};case i['Dropbox']:return{'text':t('Insert'===_0x1ca879?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case i['Facebook']:return{'text':t('Insert'===_0x1ca879?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case i['GDrive']:return{'text':t('Insert'===_0x1ca879?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case i['GPhotos']:return{'text':t('Insert'===_0x1ca879?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case i['OneDrive']:return{'text':t('Insert'===_0x1ca879?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x581d1a;}}class e extends _0x37d92d{['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 _0x3fce1c=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x600645;for(const _0x548420 in _0x3fce1c){const _0x185485=_0x548420,_0x3c0baa=_0x3fce1c[_0x185485];if('uploadcareLicenseKeyValid'==_0x3c0baa||'uploadcareLicenseKeyInvalid'==_0x3c0baa||'uploadcareLicenseKeyExpired'==_0x3c0baa||'uploadcareLicenseKeyDomainLimit'==_0x3c0baa||'uploadcareLicenseKeyNotAllowed'==_0x3c0baa||'uploadcareLicenseKeyEvaluationLimit'==_0x3c0baa||'uploadcareLicenseKeyTrialLimit'==_0x3c0baa||'uploadcareLicenseKeyUsageLimit'==_0x3c0baa){delete _0x3fce1c[_0x185485],_0x600645=_0x3c0baa,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x600645&&_0x3fce1c['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x600645&&_0x3fce1c['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x600645&&_0x3fce1c['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x600645&&_0x3fce1c['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x600645&&_0x3fce1c['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0x600645&&_0x3fce1c['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0x600645&&_0x3fce1c['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x258e28}=this,_0x10ac1a=_0x258e28['commands']['get']('uploadcare');if(!_0x10ac1a)return;const _0x2b6df7=this['_normalizeConfigSourceList'](_0x258e28['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x496d75,_0x5cfade)=>{const _0x298a93=this['_getIntegrationKey'](_0x5cfade['type']);return _0x496d75[_0x298a93]||(_0x496d75[_0x298a93]=[]),_0x496d75[_0x298a93]['push'](_0x5cfade),_0x496d75;},{});_0x258e28['plugins']['has']('ImageInsertUI')&&_0x258e28['commands']['get']('uploadcare')&&Object['entries'](_0x2b6df7)['forEach'](([_0x1d4b5a,_0x341dc2])=>{_0x258e28['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x1d4b5a,'observable':()=>_0x10ac1a,'buttonViewCreator':()=>this['_createToolbarButton'](_0x341dc2),'formViewCreator':()=>this['_createDropdownButtons'](_0x341dc2),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x341dc2),'override':'assetManager'!==_0x1d4b5a});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x3a917f){const {locale:_0x1afd59}=this['editor'];return _0x3a917f['map'](_0x2cfdb2=>{const _0xb60f41=_(_0x1afd59,_0x2cfdb2,'Insert');switch(_0x2cfdb2){case i['Local']:return{'icon':_0x5b31a4,'type':i['Local'],..._0xb60f41};case i['URL']:return{'icon':_0x113051,'type':i['URL'],..._0xb60f41};case i['Dropbox']:return{'icon':_0x494785,'type':i['Dropbox'],..._0xb60f41};case i['Facebook']:return{'icon':_0x13742e,'type':i['Facebook'],..._0xb60f41};case i['GDrive']:return{'icon':_0x1a79f5,'type':i['GDrive'],..._0xb60f41};case i['GPhotos']:return{'icon':_0x545475,'type':i['GPhotos'],..._0xb60f41};case i['OneDrive']:return{'icon':_0x14bf57,'type':i['OneDrive'],..._0xb60f41};}});}['_getIntegrationKey'](_0x21305e){switch(_0x21305e){case i['Local']:return'upload';case i['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x29000d,_0x3312ba){const _0x55db1d=this['editor'],_0x1e88f1=new _0x29000d(_0x55db1d['locale']),_0x4c41f9=_0x55db1d['commands']['get']('uploadcare');return _0x1e88f1['bind']('isEnabled')['to'](_0x4c41f9),_0x1e88f1['on']('execute',()=>{_0x4c41f9['execute'](_0x3312ba);}),_0x1e88f1;}['_createToolbarButton'](_0x22548d){const {locale:_0xf6a5f8}=this['editor'],_0x44d8f0=this['editor']['plugins']['get']('ImageInsertUI'),_0x373359=_0x22548d[0x0],_0xe71efe=this['_createButton'](_0x2824d3,_0x373359['type']);return _0xe71efe['icon']=_0x373359['icon'],_0xe71efe['bind']('label')['to'](_0x44d8f0,'isImageSelected',_0x4f0d7d=>_(_0xf6a5f8,_0x373359['type'],_0x4f0d7d?'Replace':'Insert')['text']),_0xe71efe['tooltip']=!0x0,_0xe71efe;}['_createDropdownButtons'](_0x33cc5d){const {locale:_0x284647}=this['editor'],_0x3aa261=this['editor']['plugins']['get']('ImageInsertUI');return _0x33cc5d['map'](_0x594ccd=>{const _0x5795b3=this['_createButton'](_0x2824d3,_0x594ccd['type']);return _0x5795b3['withText']=!0x0,_0x5795b3['icon']=_0x594ccd['icon'],_0x5795b3['bind']('label')['to'](_0x3aa261,'isImageSelected',_0xa6b88d=>_(_0x284647,_0x594ccd['type'],_0xa6b88d?'Replace':'Insert')['text']),_0x5795b3;});}['_createMenuBarButtons'](_0x333429){return _0x333429['map'](_0x30c787=>{const _0x3a4ce7=this['_createButton'](_0x15169e,_0x30c787['type']);return _0x3a4ce7['icon']=_0x30c787['icon'],_0x3a4ce7['label']=_0x30c787['shortText'],_0x3a4ce7;});}}class F extends _0x2dc7c7{['focusTracker'];['focusCycler'];constructor(_0x130e6c){super(_0x130e6c),this['focusTracker']=new _0x2e4a40(),this['focusCycler']=new _0x48d100({'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(_0x8d2bed,_0x4f3c42){super(_0x8d2bed),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-'+_0x4f3c42}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function C(_0x2dfbfc,_0x1adc2c){const _0x15b891=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x2a4d10=>_0x2a4d10<=_0x1adc2c)['map'](_0x4e185e=>_0x2dfbfc['replace'](/\/$/,'')+'/-/resize/'+_0x4e185e+'x/\x20'+_0x4e185e+'w');return{'imageFallbackUrl':_0x2dfbfc,'imageSources':[{'srcset':_0x15b891['join'](',\x20'),'sizes':'(max-width:\x20'+_0x1adc2c+'px)\x20100vw,\x20'+_0x1adc2c+'px','type':'image/webp'}]};}function S(_0x49eabf,_0x3f9ceb,_0x1b6f27){const _0x151c76=_0x49eabf['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x151c76?parseInt(_0x151c76[0x1],0xa):_0x3f9ceb,'height':_0x151c76?parseInt(_0x151c76[0x2],0xa):_0x1b6f27};}function p(_0x3775fa,_0x57b0ff){const _0x4c3a38=new(_0x22c48e())(),_0x55bce3=_0x3775fa['plugins']['get']('ImageUtils'),_0x51d83d=_0x3775fa['editing']['mapper']['toViewElement'](_0x57b0ff),_0x3602a6=_0x55bce3['findViewImgElement'](_0x51d83d),_0x16be11=_0x3775fa['editing']['view']['domConverter']['viewToDom'](_0x3602a6),_0x4aaec0=_0x57b0ff['getAttribute']('width'),_0x49f89a=_0x57b0ff['getAttribute']('height'),_0x174ecb='image-processing';_0x3775fa['editing']['view']['change'](_0x4a0622=>{_0x4a0622['addClass'](_0x174ecb,_0x51d83d),_0x4a0622['setStyle']('aspect-ratio',_0x4aaec0+'/'+_0x49f89a,_0x3602a6);}),_0x4c3a38['listenTo'](_0x16be11,'load',()=>{_0x4c3a38['stopListening'](_0x16be11,'load'),_0x3775fa['editing']['view']['change'](_0xf246bf=>{_0xf246bf['removeClass'](_0x174ecb,_0x51d83d),_0xf246bf['removeStyle']('aspect-ratio',_0x3602a6);});});}function z(_0x53e0bb){if(Array['isArray'](_0x53e0bb)){const _0x10f145=_0x53e0bb['map'](z);return _0x2c0d07=>_0x10f145['some'](_0x46c395=>_0x46c395(_0x2c0d07));}if('origin'==_0x53e0bb){const _0x49ff7b=_0x224b87['window']['location']['origin'];return _0x4cf2ad=>new URL(_0x4cf2ad,_0x224b87['document']['baseURI'])['origin']==_0x49ff7b;}return'function'==typeof _0x53e0bb?_0x53e0bb:_0x53e0bb instanceof RegExp?_0x1d18c4=>!(!_0x1d18c4['match'](_0x53e0bb)&&!_0x1d18c4['replace'](/^https?:\/\//,'')['match'](_0x53e0bb)):()=>!0x1;}function A(_0x5f219f,_0x4621c8){return _0x391d8a(_0x5f219f['target'])['includes'](_0x4621c8);}class n extends/* #__PURE__ -- @preserve */
24
- _0xb798d7(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x35b9ae,_0x38d278,_0x49d033){super(),this['_editor']=_0x35b9ae,this['_editing']=_0x38d278,this['_dialog']=_0x35b9ae['plugins']['get'](_0x2a6672),this['_api']=_0x38d278['ctxElement']['getAPI'](),this['_type']=_0x49d033,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:_0x5c0574,model:_0x50dccf}=this['_editor'],_0x48930b=_0x50dccf['document']['selection']['getSelectedElement'](),_0x2a1506=_0x48930b&&(_0x48930b['is']('element','imageBlock')||_0x48930b['is']('element','imageInline'));this['_formView']=new x(_0x5c0574,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':_0x5b31a4,'title':_(_0x5c0574,this['_type'],_0x2a1506?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x2636d7['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x5551fe=>!A(_0x5551fe,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x1def12}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x2aa079=>{const _0x40145f=_0x1def12['length'];for(const _0x5fe6fc of _0x1def12){const _0x32af3c=_0x5fe6fc===_0x1def12[_0x40145f-0x1],{cdnUrl:_0x2d9dd9,fileInfo:_0x187be6}=_0x5fe6fc;if(!_0x2d9dd9||!_0x187be6)continue;const {width:_0xf73377,height:_0x3f1af3}=_0x187be6['imageInfo'],_0x4d10cb=S(_0x2d9dd9,_0xf73377,_0x3f1af3),_0x5d2e1d=C(_0x2d9dd9,_0x4d10cb['width']),_0x1acd7d={'id':_0x187be6['uuid'],'type':'image','attributes':{'imageDimension':_0x4d10cb,..._0x5d2e1d}};this['_insertAsset'](_0x1acd7d,_0x32af3c,_0x2aa079);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x331b6e=>{'idle'===_0x331b6e['detail']['status']&&!_0x331b6e['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===i['Local']?this['_api']['setCurrentActivity'](i['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x5df5bb,_0x50f3f5,_0x51edcc){const _0x2d8979=this['_editor']['model']['document']['selection'],_0xaa27c3=_0x2d8979['getSelectedElement'](),_0x5328c3=!(!_0xaa27c3||!_0xaa27c3['is']('element','imageInline'));_0x51edcc['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x5df5bb,_0x5328c3),_0x50f3f5||_0x51edcc['setSelection'](_0x2d8979['getLastPosition']());}['_insertImage'](_0x41a4d0,_0x51fb5e){const _0x40f655=this['_editor'],{imageDimension:_0x2498de,imageFallbackUrl:_0x2c292d,imageSources:_0x39bfeb}=_0x41a4d0['attributes'];_0x40f655['execute']('insertImage',{'imageType':_0x51fb5e?'imageInline':null,'source':{'uploadcareImageId':_0x41a4d0['id'],'src':_0x2c292d,'sources':_0x39bfeb,..._0x2498de}});}}class w extends _0x21c411{['_editing'];['_controller']=null;static get['requires'](){return[_0x2a6672,o];}constructor(_0x20ff8a){super(_0x20ff8a),this['_editing']=_0x20ff8a['plugins']['get'](o);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x2375ad){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new n(this['editor'],this['_editing'],_0x2375ad);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class j{static['upload']({file:_0x539a51,..._0x5e78d5}){return _0x363970(_0x539a51,_0x5e78d5);}static['getInfo'](_0x5d8cb2,_0x589fad){return _0x5bab32(_0x5d8cb2,_0x589fad);}}class f extends _0x37d92d{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0xdeb24a,o];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x157424=this['editor'];if(!!!_0x157424['config']['get']('uploadcare'))return;_0x157424['plugins']['get'](_0xdeb24a)['createUploadAdapter']=_0x52eca0=>new k(_0x52eca0,_0x157424),_0x157424['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x5db977,{imageElement:_0x22c299,data:_0x49193d})=>{_0x157424['model']['change'](_0x53f4a8=>{_0x53f4a8['setAttribute']('uploadcareImageId',_0x49193d['uploadcareImageId'],_0x22c299);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x376853,_0x108e90){this['loader']=_0x376853,this['editor']=_0x108e90,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x448914=await this['loader']['file'];return j['upload']({'file':_0x448914,'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':_0x3ec532=>{_0x3ec532&&_0x3ec532['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x3ec532['value']);}})['then'](async _0x21bb93=>{const {imageFallbackUrl:_0x1a6794,imageSources:_0x8e922a}=C(_0x21bb93['cdnUrl'],_0x21bb93['imageInfo']['width']);return{'uploadcareImageId':_0x21bb93['uuid'],'default':_0x1a6794,'sources':_0x8e922a};})['catch'](()=>{const _0x4448b3=t('Cannot\x20upload\x20file:')+('\x20'+_0x448914['name']+'.');return Promise['reject'](_0x4448b3);});}['abort'](){this['controller']['abort']();}}class o extends _0x37d92d{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',f,_0x2a6672];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['ucContextId'];get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}constructor(_0x3c521d){super(_0x3c521d),this['ucContextId']=_0x31649b();}['init'](){const _0x3dc7e6=this['editor'];_0x3dc7e6['commands']['add']('uploadcare',new w(_0x3dc7e6));}['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 _0x2863b5=_0x224b87['document']['querySelector']('input[uploadcare-file-input]');_0x2863b5&&_0x2863b5['remove']();}),async function(_0x56be9a){const _0x81e8a7=_0x524fc1([0x52,0x42,0x63,0x58,0x64,0x47,0x66,0x35,0x36,0x37,0x6d,0x4e,0x6a,0x4b,0x39,0x44,0x54,0x70,0x50,0x30,0x49,0x79,0x69,0x33,0x67,0x65,0x61,0x38,0x5a,0x76,0x7a,0x6c,0x45,0x34,0x62,0x46,0x75,0x57,0x72,0x77,0x73,0x48,0x31,0x68,0x6e,0x4f,0x53,0x4c,0x71,0x6b,0x59,0x32,0x4d,0x51,0x4a,0x78,0x6f,0x56,0x41,0x55,0x74,0x43]),_0x4bfd94=0x3d8d0df,_0x1052b3=0x3dfa5b7^_0x4bfd94,_0x3f2d19=window[_0x524fc1([0x44,0x61,0x74,0x65])][_0x524fc1([0x6e,0x6f,0x77])](),_0x402ce6=_0x56be9a[_0x524fc1([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x6dca83=new window[(_0x524fc1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x461624=>{_0x402ce6[_0x524fc1([0x6f,0x6e,0x63,0x65])](_0x524fc1([0x72,0x65,0x61,0x64,0x79]),_0x461624);}),_0x151aa1={[_0x524fc1([0x6b,0x74,0x79])]:_0x524fc1([0x45,0x43]),[_0x524fc1([0x75,0x73,0x65])]:_0x524fc1([0x73,0x69,0x67]),[_0x524fc1([0x63,0x72,0x76])]:_0x524fc1([0x50,0x2d,0x32,0x35,0x36]),[_0x524fc1([0x78])]:_0x524fc1([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]),[_0x524fc1([0x79])]:_0x524fc1([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]),[_0x524fc1([0x61,0x6c,0x67])]:_0x524fc1([0x45,0x53,0x32,0x35,0x36])},_0x57bc4c=_0x402ce6[_0x524fc1([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x524fc1([0x67,0x65,0x74])](_0x524fc1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x50214f(){let _0x3eca78,_0x2cbd6a=null,_0x4e4420=null;try{if(_0x57bc4c==_0x524fc1([0x47,0x50,0x4c]))return _0x524fc1([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3eca78=_0x5ef4e7(),!_0x3eca78)return _0x524fc1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x3eca78[_0x524fc1([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4e4420=_0xc79334(_0x3eca78[_0x524fc1([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3eca78[_0x524fc1([0x6a,0x74,0x69])])),await _0x466837()?_0x2d8f1a()?_0x4379aa()?_0x524fc1([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x2b9f26()?(_0x3eca78[_0x524fc1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x524fc1([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2cbd6a=_0x3a4fa8(_0x524fc1([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x3eca78[_0x524fc1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x524fc1([0x74,0x72,0x69,0x61,0x6c])&&(_0x2cbd6a=_0x3a4fa8(_0x524fc1([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4e9c10()):_0x524fc1([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x524fc1([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x524fc1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x524fc1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x4379aa(){const _0x19cad6=[_0x524fc1([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x524fc1([0x74,0x72,0x69,0x61,0x6c])][_0x524fc1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3eca78[_0x524fc1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3f2d19/0x3e8:0xe10*_0x1052b3;return _0x3eca78[_0x524fc1([0x65,0x78,0x70])]<_0x19cad6;}function _0x2d8f1a(){const _0xedcfe3=_0x3eca78[_0x524fc1([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0xedcfe3&&(!!_0xedcfe3[_0x524fc1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x524fc1([0x2a]))||!!_0xedcfe3[_0x524fc1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x524fc1([0x55,0x50,0x4c,0x43])));}function _0x2b9f26(){const _0x4e0c38=_0x3eca78[_0x524fc1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x4e0c38||0x0==_0x4e0c38[_0x524fc1([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x5c8363}=new URL(window[_0x524fc1([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x4e0c38[_0x524fc1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5c8363))return!0x0;const _0x26eb15=_0x5c8363[_0x524fc1([0x73,0x70,0x6c,0x69,0x74])](_0x524fc1([0x2e]));return _0x4e0c38[_0x524fc1([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5d7246=>_0x5d7246[_0x524fc1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x524fc1([0x2a])))[_0x524fc1([0x6d,0x61,0x70])](_0x3fb1a7=>_0x3fb1a7[_0x524fc1([0x73,0x70,0x6c,0x69,0x74])](_0x524fc1([0x2e])))[_0x524fc1([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x131a06=>_0x131a06[_0x524fc1([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x26eb15[_0x524fc1([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x524fc1([0x6d,0x61,0x70])](_0x3c284b=>Array(_0x26eb15[_0x524fc1([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x3c284b[_0x524fc1([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x524fc1([0x66,0x69,0x6c,0x6c])](_0x3c284b[0x0]===_0x524fc1([0x2a])?_0x524fc1([0x2a]):'')[_0x524fc1([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x3c284b))[_0x524fc1([0x73,0x6f,0x6d,0x65])](_0x3b6a8c=>_0x26eb15[_0x524fc1([0x65,0x76,0x65,0x72,0x79])]((_0x360679,_0x35d888)=>_0x3b6a8c[_0x35d888]===_0x360679||_0x3b6a8c[_0x35d888]===_0x524fc1([0x2a])));}function _0x4e9c10(){return _0x2cbd6a&&_0x4e4420?new window[(_0x524fc1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x908fa6,_0x43d1ff)=>{_0x2cbd6a[_0x524fc1([0x74,0x68,0x65,0x6e])](_0x908fa6,_0x43d1ff),_0x4e4420[_0x524fc1([0x74,0x68,0x65,0x6e])](_0x3663e2=>{_0x3663e2!=_0x524fc1([0x56,0x61,0x6c,0x69,0x64])&&_0x908fa6(_0x3663e2);},_0x43d1ff);}):_0x2cbd6a||_0x4e4420||_0x524fc1([0x56,0x61,0x6c,0x69,0x64]);}}function _0xc79334(_0x30cb41,_0x42f9f5){return new window[(_0x524fc1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5ee81f=>{if(_0x41efd7())return _0x5ee81f(_0x524fc1([0x56,0x61,0x6c,0x69,0x64]));_0x41899b(),_0x402ce6[_0x524fc1([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x524fc1([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x1a64ea=!0x1;const _0x2ab796=_0x31649b();function _0x5cfdca(_0x2a0f4b){return!!_0x2a0f4b&&(typeof _0x2a0f4b===_0x524fc1([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2a0f4b===_0x524fc1([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2a0f4b[_0x524fc1([0x74,0x68,0x65,0x6e])]===_0x524fc1([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2a0f4b[_0x524fc1([0x63,0x61,0x74,0x63,0x68])]===_0x524fc1([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x5aebc5(_0x5dfaf2){_0x3f4997(_0x5dfaf2)[_0x524fc1([0x74,0x68,0x65,0x6e])](_0x2c20f4=>{if(!_0x2c20f4||_0x2c20f4[_0x524fc1([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x524fc1([0x6f,0x6b]))return _0x524fc1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2e3a28(_0xe43446(_0x2ab796+_0x42f9f5))!=_0x2c20f4[_0x524fc1([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x524fc1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x524fc1([0x56,0x61,0x6c,0x69,0x64]);})[_0x524fc1([0x74,0x68,0x65,0x6e])](_0x25c48d=>(_0x33557a(),_0x25c48d),()=>{const _0x3ee734=_0x259346();return null==_0x3ee734?(_0x33557a(),_0x524fc1([0x56,0x61,0x6c,0x69,0x64])):_0x524fc1(_0x3f2d19-_0x3ee734>(0x27d454df^_0x4bfd94)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x524fc1([0x74,0x68,0x65,0x6e])](_0x5ee81f)[_0x524fc1([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5ee81f(_0x524fc1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x657801=0x3ee3e5f^_0x4bfd94;function _0x33557a(){const _0x303496=_0x524fc1([0x6c,0x6c,0x63,0x74,0x2d])+_0x2e3a28(_0xe43446(_0x30cb41)),_0x39337e=_0x3f0a7a(_0x2e3a28(window[_0x524fc1([0x4d,0x61,0x74,0x68])][_0x524fc1([0x63,0x65,0x69,0x6c])](_0x3f2d19/_0x657801)));window[_0x524fc1([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x524fc1([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x303496,_0x39337e);}function _0x259346(){const _0x522aa2=_0x524fc1([0x6c,0x6c,0x63,0x74,0x2d])+_0x2e3a28(_0xe43446(_0x30cb41)),_0x347e30=window[_0x524fc1([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x524fc1([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x522aa2);return _0x347e30?window[_0x524fc1([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3f0a7a(_0x347e30),0x10)*_0x657801:null;}function _0x3f4997(_0x5c7708){return new window[(_0x524fc1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x299e1a,_0x22d3d4)=>{_0x5c7708[_0x524fc1([0x74,0x68,0x65,0x6e])](_0x299e1a,_0x22d3d4),window[_0x524fc1([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x22d3d4,0x3d9041f^_0x4bfd94);});}}_0x402ce6[_0x524fc1([0x6f,0x6e])](_0x524fc1([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0xca8046,_0x27b943)=>{if(_0x27b943[0x0]!=_0x30cb41)return _0x5ee81f(_0x524fc1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x27b943[0x1]={..._0x27b943[0x1],[_0x524fc1([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2ab796};},{[_0x524fc1([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x524fc1([0x68,0x69,0x67,0x68])}),_0x402ce6[_0x524fc1([0x6f,0x6e])](_0x524fc1([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5c5372=>{_0x5cfdca(_0x5c5372[_0x524fc1([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x1a64ea=!0x0,_0x5aebc5(_0x5c5372[_0x524fc1([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x524fc1([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x524fc1([0x6c,0x6f,0x77])}),_0x6dca83[_0x524fc1([0x74,0x68,0x65,0x6e])](()=>{_0x1a64ea||_0x5ee81f(_0x524fc1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x41efd7(){return _0x402ce6[_0x524fc1([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x524fc1([0x76,0x69,0x65,0x77])][_0x524fc1([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x524fc1([0x61,0x75,0x74,0x6f]);}function _0x41899b(){_0x402ce6[_0x524fc1([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x524fc1([0x76,0x69,0x65,0x77])][_0x524fc1([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x524fc1([0x61,0x75,0x74,0x6f]);}}function _0x3a4fa8(_0x5110ce){const _0x5c23c9=[new window[(_0x524fc1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3828bb=>setTimeout(_0x3828bb,0x3d1ee13^_0x4bfd94)),_0x6dca83[_0x524fc1([0x74,0x68,0x65,0x6e])](()=>new window[(_0x524fc1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x56d8db=>{let _0xb7bbcb=0x0;_0x402ce6[_0x524fc1([0x6d,0x6f,0x64,0x65,0x6c])][_0x524fc1([0x6f,0x6e])](_0x524fc1([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x9753c9,_0x4907bc)=>{_0x4907bc[0x0][_0x524fc1([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0xb7bbcb++,_0xb7bbcb==(0x3d8d127^_0x4bfd94)&&(_0x56d8db(),_0x9753c9[_0x524fc1([0x6f,0x66,0x66])]());});}))];return window[_0x524fc1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x524fc1([0x72,0x61,0x63,0x65])](_0x5c23c9)[_0x524fc1([0x74,0x68,0x65,0x6e])](()=>_0x5110ce);}async function _0x495c67(){await _0x6dca83,_0x402ce6[_0x524fc1([0x6d,0x6f,0x64,0x65,0x6c])][_0x524fc1([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5e14d0,_0x402ce6[_0x524fc1([0x6d,0x6f,0x64,0x65,0x6c])][_0x524fc1([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5e14d0,_0x402ce6[_0x524fc1([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x524fc1([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x6932b5(_0x10c284){const _0xa515e=_0x3c8814();_0x402ce6[_0xa515e]=_0x524fc1([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x10c284,_0x10c284!=_0x524fc1([0x56,0x61,0x6c,0x69,0x64])&&_0x495c67();}function _0x3c8814(){const _0x166813=window[_0x524fc1([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x524fc1([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x524fc1([0x6e,0x6f,0x77])]())[_0x524fc1([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x524fc1([0x2e]),'');let _0x571f00=_0x524fc1([0x52]);for(let _0x201822=0x0;_0x201822<_0x166813[_0x524fc1([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x201822+=0x2){let _0x2fac6f=window[_0x524fc1([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x166813[_0x524fc1([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x201822,_0x201822+0x2));_0x2fac6f>=_0x81e8a7[_0x524fc1([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2fac6f-=_0x81e8a7[_0x524fc1([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x571f00+=_0x81e8a7[_0x2fac6f];}return _0x571f00;}function _0x5ef4e7(){const _0x43a0de=_0x57bc4c[_0x524fc1([0x73,0x70,0x6c,0x69,0x74])](_0x524fc1([0x2e]));if(0x3!=_0x43a0de[_0x524fc1([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x2bdc35(_0x43a0de[0x1]);function _0x2bdc35(_0x38de6e){const _0x374977=_0x436a3f(_0x38de6e);return _0x374977&&_0x3d0c3a()?_0x374977:null;function _0x3d0c3a(){const _0x331c08=_0x374977[_0x524fc1([0x6a,0x74,0x69])],_0x931e2a=window[_0x524fc1([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x331c08[_0x524fc1([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x331c08[_0x524fc1([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x58e5da={..._0x374977,[_0x524fc1([0x6a,0x74,0x69])]:_0x331c08[_0x524fc1([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x331c08[_0x524fc1([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x58e5da[_0x524fc1([0x76,0x63])],_0xe43446(_0x58e5da)==_0x931e2a;}}}async function _0x466837(){let _0x7d5c90=!0x0;try{const _0x30c990=_0x57bc4c[_0x524fc1([0x73,0x70,0x6c,0x69,0x74])](_0x524fc1([0x2e])),[_0x296a9e,_0x58f219,_0x1352ec]=_0x30c990;return _0x69c9b0(_0x296a9e),await _0x48ca14(_0x296a9e,_0x58f219,_0x1352ec),_0x7d5c90;}catch{return!0x1;}function _0x69c9b0(_0x57335e){const _0x530cae=_0x436a3f(_0x57335e);_0x530cae&&_0x530cae[_0x524fc1([0x61,0x6c,0x67])]==_0x524fc1([0x45,0x53,0x32,0x35,0x36])||(_0x7d5c90=!0x1);}async function _0x48ca14(_0x20d54f,_0x5aa68c,_0x3ca8fc){const _0x54cea9=window[_0x524fc1([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x524fc1([0x66,0x72,0x6f,0x6d])](_0x359df3(_0x3ca8fc),_0x1b5daf=>_0x1b5daf[_0x524fc1([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4b3dfb=new window[(_0x524fc1([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x524fc1([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x20d54f+_0x524fc1([0x2e])+_0x5aa68c),_0xee1d81=window[_0x524fc1([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x524fc1([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0xee1d81)return;const _0x413490=await _0xee1d81[_0x524fc1([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x524fc1([0x6a,0x77,0x6b]),_0x151aa1,{[_0x524fc1([0x6e,0x61,0x6d,0x65])]:_0x524fc1([0x45,0x43,0x44,0x53,0x41]),[_0x524fc1([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x524fc1([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x524fc1([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0xee1d81[_0x524fc1([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x524fc1([0x6e,0x61,0x6d,0x65])]:_0x524fc1([0x45,0x43,0x44,0x53,0x41]),[_0x524fc1([0x68,0x61,0x73,0x68])]:{[_0x524fc1([0x6e,0x61,0x6d,0x65])]:_0x524fc1([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x413490,_0x54cea9,_0x4b3dfb)||(_0x7d5c90=!0x1);}}function _0x436a3f(_0x3a55be){return _0x3a55be[_0x524fc1([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x524fc1([0x65,0x79]))?JSON[_0x524fc1([0x70,0x61,0x72,0x73,0x65])](_0x359df3(_0x3a55be)):null;}function _0x359df3(_0x176451){return window[_0x524fc1([0x61,0x74,0x6f,0x62])](_0x176451[_0x524fc1([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x524fc1([0x2b]))[_0x524fc1([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x524fc1([0x2f])));}function _0xe43446(_0x2a961f){let _0x2b5fa3=0x1505;function _0x54281e(_0x543ca0){for(let _0x313609=0x0;_0x313609<_0x543ca0[_0x524fc1([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x313609++){const _0x44b47c=_0x543ca0[_0x524fc1([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x313609);_0x2b5fa3=(_0x2b5fa3<<0x5)+_0x2b5fa3+_0x44b47c,_0x2b5fa3&=_0x2b5fa3;}}function _0x24a6e3(_0x9425e4){Array[_0x524fc1([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x9425e4)?_0x9425e4[_0x524fc1([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x24a6e3):_0x9425e4&&typeof _0x9425e4==_0x524fc1([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x524fc1([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x9425e4)[_0x524fc1([0x73,0x6f,0x72,0x74])]()[_0x524fc1([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x15148a,_0x5329ea])=>{_0x54281e(_0x15148a),_0x24a6e3(_0x5329ea);}):_0x54281e(window[_0x524fc1([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x9425e4));}return _0x24a6e3(_0x2a961f),_0x2b5fa3>>>0x0;}function _0x2e3a28(_0x18a95b){return _0x18a95b[_0x524fc1([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x524fc1([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x524fc1([0x30]));}function _0x3f0a7a(_0x12f216){return _0x12f216[_0x524fc1([0x73,0x70,0x6c,0x69,0x74])]('')[_0x524fc1([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x524fc1([0x6a,0x6f,0x69,0x6e])]('');}function _0x5e14d0(){}function _0x524fc1(_0x127260){return _0x127260['map'](_0x2a1f2a=>String['fromCharCode'](_0x2a1f2a))['join']('');}_0x6932b5(await _0x50214f());}(this);}['_initSchema'](){const _0x557719=this['editor']['model']['schema'];_0x557719['isRegistered']('imageBlock')&&_0x557719['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x557719['isRegistered']('imageInline')&&_0x557719['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x22f6c6=this['editor'];_0x22f6c6['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x22f6c6['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x172e1=>_0x172e1['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x16ba80=_0x22f6c6['commands']['get']('replaceImageSource');_0x16ba80&&this['listenTo'](_0x16ba80,'cleanupImage',(_0x105d07,[_0x3377ab,_0x499389])=>{_0x3377ab['removeAttribute']('uploadcareImageId',_0x499389);});}['_initConfig'](){const _0x2312bf=this['editor']['config']['get']('uploadcare.uploader')||{},_0x41bf15=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x1769fd(_0x224b87['document'],'uc-config',{..._0x2312bf,'pubkey':_0x41bf15,'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']=_0x4b5484=>{if('closeMax'==_0x4b5484)return'#uc-icon-arrow-down';},_0x224b87['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x1769fd(_0x224b87['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),_0x224b87['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x51c0ff=this['editor']['commands']['get']('insertImage');_0x51c0ff&&this['listenTo'](_0x51c0ff,'execute',()=>{const _0x513b97=this['editor']['model']['document']['selection']['getSelectedElement']();_0x513b97&&_0x513b97['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x513b97);});});const _0x405b27=this['editor']['commands']['get']('uploadcareImageReplace');_0x405b27&&this['listenTo'](_0x405b27,'execute',()=>{const _0x31df82=this['editor']['model']['document']['selection']['getSelectedElement']();_0x31df82&&_0x31df82['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x31df82);});});}}class tt extends _0x37d92d{static get['requires'](){return[o,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0xdb95e2){super(_0xdb95e2),_0xdb95e2['config']['define']('uploadcare.uploader.sourceList',[i['Local'],i['URL']]),_0x3ae478['defineComponents'](_0x3ae478);}}class ii extends _0x2dc7c7{constructor(_0x3e79bf){super(_0x3e79bf);const t=_0x3e79bf['t'],_0x5d141e=this['bindTemplate'],_0x2a3420=new _0xe400d3();_0x2a3420['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':[_0x2a3420,{'text':_0x5d141e['to']('imageUploadProgress',_0x31783c=>t('Loading\x20image...')+'\x20('+(_0x31783c||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 _0x2dc7c7{constructor(_0x4f603c){super(_0x4f603c);const t=_0x4f603c['t'];this['set']('errorType',null);const _0x55121d=new _0x2824d3(_0x4f603c);_0x55121d['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x55121d['withText']=!0x0,_0x55121d['class']='ck-button-action',_0x55121d['on']('execute',()=>{this['fire']('retry');}),_0x55121d['bind']('isVisible')['to'](this,'errorType',_0x43acc1=>'NotFound'!==_0x43acc1);const _0x221e13=new _0x5ac054();_0x221e13['content']=_0x1310e1,_0x221e13['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x19e612=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':[_0x221e13,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x19e612['to']('errorType',_0x20bdd5=>t('NotFound'!==_0x20bdd5?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x55121d]},{'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 _0x2dc7c7{constructor(_0x41ef6b,_0x2f55e4){super(_0x41ef6b);const _0x3a9971=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x2f55e4,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x3a9971['to']('imageSrc')}});}}class X extends F{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x1ae7ee,_0x302516,_0x474d23){super(_0x1ae7ee),this['_items']=this['createCollection'](),this['_loadingView']=new ii(_0x1ae7ee),this['_errorView']=new ti(_0x1ae7ee),this['_editingView']=new ei(_0x1ae7ee,_0x474d23),this['_focusableView']=new _0x2dc7c7(_0x1ae7ee),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x302516),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'],_0x2a31e8=>{this['_addUploadcareImageEditorListeners'](_0x2a31e8);});}),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'](_0x11e4e9,_0x3bde13){const _0x5ad6cb='uc-cloud-image-editor',_0x1d145b=_0x11e4e9['querySelector'](_0x5ad6cb);if(_0x1d145b)return _0x3bde13(_0x1d145b);const _0x387f42=new MutationObserver(_0x46a8bf=>{const _0x588e3b=_0x46a8bf['filter'](_0x1dfa65=>_0x1dfa65['target']===_0x11e4e9&&_0x1dfa65['addedNodes']['length']>0x0&&_0x1dfa65['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x5ad6cb);_0x588e3b['length']&&(_0x387f42['disconnect'](),_0x3bde13(_0x588e3b[0x0]['addedNodes'][0x0]));});_0x387f42['observe'](_0x11e4e9,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x45c7b2){_0x45c7b2['addEventListener']('apply',_0x5e0f49=>{this['fire']('apply',{'imageSrc':_0x5e0f49['detail']['cdnUrl']});}),_0x45c7b2['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class N extends/* #__PURE__ -- @preserve */
25
- _0xb798d7(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x43874e,_0x2d1f46,_0x3adc41){super(),this['_editor']=_0x43874e,this['_dialog']=_0x2d1f46,this['_imageElement']=_0x3adc41,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 _0x32862e=this['_imageElement'],_0x305cb8=_0x32862e['getAttribute']('uploadcareImageId'),_0x44db2c=_0x32862e['getAttribute']('src');if(_0x305cb8)await this['_loadImageInfo'](_0x305cb8,_0x44db2c);else{if(this['_imageCache']['has'](_0x44db2c)){const _0x3d3ce2=this['_imageCache']['get'](_0x44db2c);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x3d3ce2['url'],this['imageDimension']=_0x3d3ce2['dimension'],this['imageId']=_0x3d3ce2['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x1fad88}=this['_editor'],t=_0x1fad88['t'],_0x229eeb=new X(_0x1fad88,this['imageStatus'],this['_attributes']);_0x229eeb['bind']('status')['to'](this,'imageStatus'),_0x229eeb['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x229eeb['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x229eeb['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x229eeb,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0xa47f1f,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x229eeb,'position':_0x2636d7['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x229eeb['focus']();},'onHide':()=>{_0x229eeb['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x38b964=>!A(_0x38b964,_0x229eeb['element'])}});}['_loadImageInfo'](_0x2df2ae,_0x3c719c){return j['getInfo'](_0x2df2ae,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x5caec8=>{const {width:_0x31d042,height:_0x1532e3}=_0x5caec8['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x3c719c,this['imageDimension']={'width':_0x31d042,'height':_0x1532e3},this['imageId']=_0x2df2ae;})['catch'](_0x90ca8c=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x90ca8c['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x2c4753,_0x5b22fd){return this['_getImageAsFile'](_0x2c4753)['then'](_0x4db9ff=>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':_0x5b22fd['signal'],'file':_0x4db9ff,'onProgress':_0x32c1c6=>{_0x32c1c6&&_0x32c1c6['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x32c1c6['value']));}}))['then'](_0x3ff16f=>{const {width:_0x2b7b5d,height:_0x20e526}=_0x3ff16f['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x3ff16f['cdnUrl'],this['imageDimension']={'width':_0x2b7b5d,'height':_0x20e526},this['imageId']=_0x3ff16f['uuid'],this['imageUploadProgress']=null;const _0x498d47=_0x2c4753['getAttribute']('src');this['_imageCache']['set'](_0x498d47,{'id':_0x3ff16f['uuid'],'url':_0x3ff16f['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x13af42=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x13af42['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x63a08b,_0x5eb490){_0x63a08b['on']('apply',(_0x2a74f8,_0x2fd019)=>{this['_replaceImage'](_0x5eb490,_0x2fd019['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x63a08b['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x63a08b['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x2cf16e,_0x425ad5,_0x5548dc){const _0x406088=this['_editor'],{width:_0x117b45,height:_0x27bfd6}=S(_0x425ad5,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x346efa,imageSources:_0x573bd9}=C(_0x425ad5,_0x117b45);_0x406088['model']['change'](_0x7d18a0=>{if('$graveyard'===_0x2cf16e['root']['rootName']){_0x406088['execute']('insertImage',{'imageType':_0x2cf16e['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x2cf16e['getAttributes']()),'uploadcareImageId':_0x5548dc,'src':_0x346efa,'sources':_0x573bd9,'width':_0x117b45,'height':_0x27bfd6}});const _0x530452=_0x2cf16e['getChildren']();_0x2cf16e=_0x406088['model']['document']['selection']['getSelectedElement']();for(const _0x419015 of _0x530452)_0x7d18a0['append'](_0x7d18a0['cloneElement'](_0x419015),_0x2cf16e);}else _0x7d18a0['setSelection'](_0x2cf16e,'on'),_0x406088['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x2cf16e['getAttributes']()),'uploadcareImageId':_0x5548dc,'src':_0x346efa,'sources':_0x573bd9,'width':_0x117b45,'height':_0x27bfd6},_0x2cf16e);_0x7d18a0['setSelection'](_0x2cf16e,'on');});}async['_getImageAsFile'](_0x105c92){const _0x2baf21=_0x224b87['window'],_0x27bbdd=_0x224b87['document']['location']['href'],_0x147a70=new _0x2baf21['URL'](_0x105c92['getAttribute']('src'),_0x27bbdd);if('data:'===_0x147a70['protocol']){const _0x29bb74=_0x147a70['href']['split'](','),_0x2096f5=_0x29bb74[0x0]['match'](/:(.*?);/)[0x1],_0x189bef=_0x2096f5['split']('/')[0x1],_0x9f0954=_0x2baf21['atob'](_0x29bb74[_0x29bb74['length']-0x1]);let _0x246045=_0x9f0954['length'];const _0x575a59=new _0x2baf21['Uint8Array'](_0x246045);for(;_0x246045--;)_0x575a59[_0x246045]=_0x9f0954['charCodeAt'](_0x246045);return new _0x2baf21['File']([_0x575a59],'image.'+_0x189bef,{'type':_0x2096f5});}const _0x24e785=_0x147a70['href']['split']('/'),_0x5829cf=_0x24e785[_0x24e785['length']-0x1],_0x2c0c8c=_0x5829cf['split']('.')[0x1];return _0x2baf21['fetch'](_0x147a70['href'])['then'](_0x31d144=>_0x31d144['clone']()['blob']())['then'](_0x3d7e2c=>new _0x2baf21['File']([_0x3d7e2c],_0x5829cf,{'type':'image/'+_0x2c0c8c}));}}class Q extends _0x21c411{['imageEditController'];static get['requires'](){return[_0x2a6672];}['_isEditable'];constructor(_0x241600){super(_0x241600),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x4dc5b7){const _0x521434=z(_0x4dc5b7);return _0x2f6cb3=>!(!_0x2f6cb3||!_0x2f6cb3['is']('element','imageBlock')&&!_0x2f6cb3['is']('element','imageInline'))&&(!!_0x2f6cb3['hasAttribute']('uploadcareImageId')||!!_0x2f6cb3['hasAttribute']('src')&&_0x521434(_0x2f6cb3['getAttribute']('src')));}(_0x241600['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x506420=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x506420);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x5206fb=this['editor']['model']['document']['selection']['getSelectedElement']();_0x5206fb&&(_0x5206fb['is']('element','imageBlock')||_0x5206fb['is']('element','imageInline'))&&(this['imageEditController']=new N(this['editor'],this['editor']['plugins']['get'](_0x2a6672),_0x5206fb),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class V extends _0x21c411{['refresh'](){const _0x3eca34=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x3eca34&&(_0x3eca34['is']('element','imageBlock')||_0x3eca34['is']('element','imageInline')));}['execute'](_0x565882){const _0x5206e0=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x129119=>{_0x129119['setAttributes'](_0x565882,_0x5206e0),_0x129119['removeAttribute']('srcset',_0x5206e0),_0x129119['removeAttribute']('sizes',_0x5206e0);});}}class m extends _0x37d92d{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[o,_0x20ad36,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x2c37ef}=this;_0x2c37ef['commands']['add']('uploadcareImageEdit',new Q(_0x2c37ef)),_0x2c37ef['commands']['add']('uploadcareImageReplace',new V(_0x2c37ef));}}class g extends _0x37d92d{['_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 _0x12992b=this['editor'];_0x12992b['ui']['componentFactory']['add']('uploadcareImageEdit',_0x488f0b=>{const _0x20984f=_0x12992b['commands']['get']('uploadcareImageEdit'),_0x5db64b=new _0x2824d3(_0x488f0b),t=_0x488f0b['t'];return _0x5db64b['set']({'icon':_0xa47f1f,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x5db64b['bind']('isEnabled')['to'](_0x20984f),_0x5db64b['bind']('isOn')['to'](_0x20984f,'isActive'),this['listenTo'](_0x5db64b,'execute',()=>{_0x12992b['execute']('uploadcareImageEdit'),_0x12992b['editing']['view']['focus']();}),_0x5db64b;}),this['_initConfig']();}['_initConfig'](){const _0x282ec0=_0x1769fd(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x282ec0),this['listenTo'](this['editor'],'destroy',()=>{_0x282ec0['remove']();});}}class et extends _0x37d92d{static get['pluginName'](){return'UploadcareImageEdit';}static get['requires'](){return[m,g];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{tt as Uploadcare,w as UploadcareCommand,o as UploadcareEditing,et as UploadcareImageEdit,Q as UploadcareImageEditCommand,m as UploadcareImageEditEditing,g as UploadcareImageEditUI,e as UploadcareUI,f as UploadcareUploadAdapter};
23
+ import{Plugin as _0x3014fb,Command as _0xf96e37}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x4d13e3,IconGooglePhotos as _0x20d1a0,IconGoogleDrive as _0x56cc38,IconFacebook as _0x1c39be,IconDropbox as _0x25b67e,IconUploadcareLink as _0x25c768,IconUploadcareImageUpload as _0xfa4a3f,IconError as _0x1553a4,IconUploadcareImageEdit as _0x23621a}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x41c9de,MenuBarMenuListItemButtonView as _0x44ea04,View as _0x542300,FocusCycler as _0x3a19ab,Dialog as _0x1ec5e3,DialogViewPosition as _0x45eac9,SpinnerView as _0x1506f0,IconView as _0x10b9df,Notification as _0x18af48}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x12f27a,DomEmitterMixin as _0x5f534c,global as _0x3d4578,getAncestors as _0x17e7ec,ObservableMixin as _0x30557b,uid as _0x55989,createElement as _0x205544}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0xc243a4}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x38c97a,info as _0x129245}from'@uploadcare/upload-client';import*as _0x5e2612 from'@uploadcare/file-uploader';var i=function(_0x3e4abb){return _0x3e4abb['Local']='local',_0x3e4abb['URL']='url',_0x3e4abb['Dropbox']='dropbox',_0x3e4abb['GDrive']='gdrive',_0x3e4abb['Facebook']='facebook',_0x3e4abb['GPhotos']='gphotos',_0x3e4abb['OneDrive']='onedrive',_0x3e4abb;}({});function _(_0x13d3eb,_0x269ac6,_0x55aa6b){const t=_0x13d3eb['t'],_0x11c208=_0x13d3eb['t'];switch(_0x269ac6){case i['Local']:return{'text':_0x11c208('Insert'===_0x55aa6b?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x11c208('From\x20computer')};case i['URL']:return{'text':'Insert'===_0x55aa6b?_0x11c208('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x11c208('Via\x20URL')};case i['Dropbox']:return{'text':t('Insert'===_0x55aa6b?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case i['Facebook']:return{'text':t('Insert'===_0x55aa6b?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case i['GDrive']:return{'text':t('Insert'===_0x55aa6b?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case i['GPhotos']:return{'text':t('Insert'===_0x55aa6b?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case i['OneDrive']:return{'text':t('Insert'===_0x55aa6b?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x269ac6;}}class e extends _0x3014fb{['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 _0xc4d418=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x27d618;for(const _0x369b53 in _0xc4d418){const _0x549b89=_0x369b53,_0x53dcc4=_0xc4d418[_0x549b89];if('uploadcareLicenseKeyValid'==_0x53dcc4||'uploadcareLicenseKeyInvalid'==_0x53dcc4||'uploadcareLicenseKeyExpired'==_0x53dcc4||'uploadcareLicenseKeyDomainLimit'==_0x53dcc4||'uploadcareLicenseKeyNotAllowed'==_0x53dcc4||'uploadcareLicenseKeyEvaluationLimit'==_0x53dcc4||'uploadcareLicenseKeyTrialLimit'==_0x53dcc4||'uploadcareLicenseKeyUsageLimit'==_0x53dcc4){delete _0xc4d418[_0x549b89],_0x27d618=_0x53dcc4,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x27d618&&_0xc4d418['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x27d618&&_0xc4d418['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x27d618&&_0xc4d418['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x27d618&&_0xc4d418['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x27d618&&_0xc4d418['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0x27d618&&_0xc4d418['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0x27d618&&_0xc4d418['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x544e83}=this,_0x917be3=_0x544e83['commands']['get']('uploadcare');if(!_0x917be3)return;const _0x2d2e34=this['_normalizeConfigSourceList'](_0x544e83['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x2145d3,_0xbe499f)=>{const _0x54cd44=this['_getIntegrationKey'](_0xbe499f['type']);return _0x2145d3[_0x54cd44]||(_0x2145d3[_0x54cd44]=[]),_0x2145d3[_0x54cd44]['push'](_0xbe499f),_0x2145d3;},{});_0x544e83['plugins']['has']('ImageInsertUI')&&_0x544e83['commands']['get']('uploadcare')&&Object['entries'](_0x2d2e34)['forEach'](([_0x44bb87,_0xb9f6a0])=>{_0x544e83['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x44bb87,'observable':()=>_0x917be3,'buttonViewCreator':()=>this['_createToolbarButton'](_0xb9f6a0),'formViewCreator':()=>this['_createDropdownButtons'](_0xb9f6a0),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0xb9f6a0),'override':'assetManager'!==_0x44bb87});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x240886){const {locale:_0x2d43a1}=this['editor'];return _0x240886['map'](_0x421eb9=>{const _0x4dd610=_(_0x2d43a1,_0x421eb9,'Insert');switch(_0x421eb9){case i['Local']:return{'icon':_0xfa4a3f,'type':i['Local'],..._0x4dd610};case i['URL']:return{'icon':_0x25c768,'type':i['URL'],..._0x4dd610};case i['Dropbox']:return{'icon':_0x25b67e,'type':i['Dropbox'],..._0x4dd610};case i['Facebook']:return{'icon':_0x1c39be,'type':i['Facebook'],..._0x4dd610};case i['GDrive']:return{'icon':_0x56cc38,'type':i['GDrive'],..._0x4dd610};case i['GPhotos']:return{'icon':_0x20d1a0,'type':i['GPhotos'],..._0x4dd610};case i['OneDrive']:return{'icon':_0x4d13e3,'type':i['OneDrive'],..._0x4dd610};}});}['_getIntegrationKey'](_0x5424f6){switch(_0x5424f6){case i['Local']:return'upload';case i['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x5b647d,_0x2470e1){const _0x811547=this['editor'],_0x1eb83e=new _0x5b647d(_0x811547['locale']),_0x25ff20=_0x811547['commands']['get']('uploadcare');return _0x1eb83e['bind']('isEnabled')['to'](_0x25ff20),_0x1eb83e['on']('execute',()=>{_0x25ff20['execute'](_0x2470e1);}),_0x1eb83e;}['_createToolbarButton'](_0x12f009){const {locale:_0x12631f}=this['editor'],_0x56389c=this['editor']['plugins']['get']('ImageInsertUI'),_0x50ef27=_0x12f009[0x0],_0x50ae93=this['_createButton'](_0x41c9de,_0x50ef27['type']);return _0x50ae93['icon']=_0x50ef27['icon'],_0x50ae93['bind']('label')['to'](_0x56389c,'isImageSelected',_0x551846=>_(_0x12631f,_0x50ef27['type'],_0x551846?'Replace':'Insert')['text']),_0x50ae93['tooltip']=!0x0,_0x50ae93;}['_createDropdownButtons'](_0x593745){const {locale:_0x573807}=this['editor'],_0x3e7164=this['editor']['plugins']['get']('ImageInsertUI');return _0x593745['map'](_0x7d9e63=>{const _0x2edb00=this['_createButton'](_0x41c9de,_0x7d9e63['type']);return _0x2edb00['withText']=!0x0,_0x2edb00['icon']=_0x7d9e63['icon'],_0x2edb00['bind']('label')['to'](_0x3e7164,'isImageSelected',_0x755098=>_(_0x573807,_0x7d9e63['type'],_0x755098?'Replace':'Insert')['text']),_0x2edb00;});}['_createMenuBarButtons'](_0xc11fad){return _0xc11fad['map'](_0x2325b4=>{const _0x5a25ee=this['_createButton'](_0x44ea04,_0x2325b4['type']);return _0x5a25ee['icon']=_0x2325b4['icon'],_0x5a25ee['label']=_0x2325b4['shortText'],_0x5a25ee;});}}class F extends _0x542300{['focusTracker'];['focusCycler'];constructor(_0x2cc956){super(_0x2cc956),this['focusTracker']=new _0x12f27a(),this['focusCycler']=new _0x3a19ab({'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(_0x1fc9b3,_0x1ced50){super(_0x1fc9b3),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-'+_0x1ced50}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function C(_0x28b60a,_0x1d7639){const _0x1b79c1=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x2e1f1e=>_0x2e1f1e<=_0x1d7639)['map'](_0xebdb84=>_0x28b60a['replace'](/\/$/,'')+'/-/resize/'+_0xebdb84+'x/\x20'+_0xebdb84+'w');return{'imageFallbackUrl':_0x28b60a,'imageSources':[{'srcset':_0x1b79c1['join'](',\x20'),'sizes':'(max-width:\x20'+_0x1d7639+'px)\x20100vw,\x20'+_0x1d7639+'px','type':'image/webp'}]};}function S(_0x3accda,_0x22afa,_0x1157c1){const _0x370622=_0x3accda['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x370622?parseInt(_0x370622[0x1],0xa):_0x22afa,'height':_0x370622?parseInt(_0x370622[0x2],0xa):_0x1157c1};}function p(_0x443912,_0x389acc){const _0x1708a0=new(_0x5f534c())(),_0x50f960=_0x443912['plugins']['get']('ImageUtils'),_0x381218=_0x443912['editing']['mapper']['toViewElement'](_0x389acc),_0x477491=_0x50f960['findViewImgElement'](_0x381218),_0x3b226b=_0x443912['editing']['view']['domConverter']['viewToDom'](_0x477491),_0x550b9a=_0x389acc['getAttribute']('width'),_0x11ad74=_0x389acc['getAttribute']('height'),_0x226288='image-processing';_0x443912['editing']['view']['change'](_0x34eb90=>{_0x34eb90['addClass'](_0x226288,_0x381218),_0x34eb90['setStyle']('aspect-ratio',_0x550b9a+'/'+_0x11ad74,_0x477491);}),_0x1708a0['listenTo'](_0x3b226b,'load',()=>{_0x1708a0['stopListening'](_0x3b226b,'load'),_0x443912['editing']['view']['change'](_0x137edb=>{_0x137edb['removeClass'](_0x226288,_0x381218),_0x137edb['removeStyle']('aspect-ratio',_0x477491);});});}function G(_0x3d971b){if(Array['isArray'](_0x3d971b)){const _0x3ff1ea=_0x3d971b['map'](G);return _0x340acc=>_0x3ff1ea['some'](_0x1c3906=>_0x1c3906(_0x340acc));}if('origin'==_0x3d971b){const _0x40b815=_0x3d4578['window']['location']['origin'];return _0x71005a=>new URL(_0x71005a,_0x3d4578['document']['baseURI'])['origin']==_0x40b815;}return'function'==typeof _0x3d971b?_0x3d971b:_0x3d971b instanceof RegExp?_0x17266c=>!(!_0x17266c['match'](_0x3d971b)&&!_0x17266c['replace'](/^https?:\/\//,'')['match'](_0x3d971b)):()=>!0x1;}function A(_0x10db3a,_0x36468f){return _0x17e7ec(_0x10db3a['target'])['includes'](_0x36468f);}class n extends/* #__PURE__ -- @preserve */
24
+ _0x30557b(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x5a672a,_0x4eba50,_0x3fd9d7){super(),this['_editor']=_0x5a672a,this['_editing']=_0x4eba50,this['_dialog']=_0x5a672a['plugins']['get'](_0x1ec5e3),this['_api']=_0x4eba50['ctxElement']['getAPI'](),this['_type']=_0x3fd9d7,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:_0x599955,model:_0x589154}=this['_editor'],_0x22292f=_0x589154['document']['selection']['getSelectedElement'](),_0x2281c2=_0x22292f&&(_0x22292f['is']('element','imageBlock')||_0x22292f['is']('element','imageInline'));this['_formView']=new x(_0x599955,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':_0xfa4a3f,'title':_(_0x599955,this['_type'],_0x2281c2?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x45eac9['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x2dd48d=>!A(_0x2dd48d,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x5c3ebb}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x3fdd3e=>{const _0x23cb64=_0x5c3ebb['length'];for(const _0x5cbde6 of _0x5c3ebb){const _0x4962f2=_0x5cbde6===_0x5c3ebb[_0x23cb64-0x1],{cdnUrl:_0x567862,fileInfo:_0x4a7b76}=_0x5cbde6;if(!_0x567862||!_0x4a7b76)continue;const {width:_0x2d45cc,height:_0x4bc4b3}=_0x4a7b76['imageInfo'],_0x2d9bf3=S(_0x567862,_0x2d45cc,_0x4bc4b3),_0x2ce498=C(_0x567862,_0x2d9bf3['width']),_0x2973a7={'id':_0x4a7b76['uuid'],'type':'image','attributes':{'imageDimension':_0x2d9bf3,..._0x2ce498}};this['_insertAsset'](_0x2973a7,_0x4962f2,_0x3fdd3e);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0xbc336f=>{'idle'===_0xbc336f['detail']['status']&&!_0xbc336f['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===i['Local']?this['_api']['setCurrentActivity'](i['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x2a942a,_0xae0c06,_0x4beee0){const _0x9f0137=this['_editor']['model']['document']['selection'],_0x2f7aac=_0x9f0137['getSelectedElement'](),_0x2eaa83=!(!_0x2f7aac||!_0x2f7aac['is']('element','imageInline'));_0x4beee0['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x2a942a,_0x2eaa83),_0xae0c06||_0x4beee0['setSelection'](_0x9f0137['getLastPosition']());}['_insertImage'](_0x120698,_0x3e164b){const _0x584b8b=this['_editor'],{imageDimension:_0x5d0b2b,imageFallbackUrl:_0x4b7faf,imageSources:_0xa80ef8}=_0x120698['attributes'];_0x584b8b['execute']('insertImage',{'imageType':_0x3e164b?'imageInline':null,'source':{'uploadcareImageId':_0x120698['id'],'src':_0x4b7faf,'sources':_0xa80ef8,..._0x5d0b2b}});}}class w extends _0xf96e37{['_editing'];['_controller']=null;static get['requires'](){return[_0x1ec5e3,o];}constructor(_0x4a75c0){super(_0x4a75c0),this['_editing']=_0x4a75c0['plugins']['get'](o);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0xa91ec){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new n(this['editor'],this['_editing'],_0xa91ec);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class j{static['upload']({file:_0x10b83e,..._0x34e7f0}){return _0x38c97a(_0x10b83e,_0x34e7f0);}static['getInfo'](_0x2a0a78,_0x467a51){return _0x129245(_0x2a0a78,_0x467a51);}}class f extends _0x3014fb{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0xc243a4,o];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x448988=this['editor'];if(!!!_0x448988['config']['get']('uploadcare'))return;_0x448988['plugins']['get'](_0xc243a4)['createUploadAdapter']=_0x235eff=>new k(_0x235eff,_0x448988),_0x448988['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x4d4c81,{imageElement:_0x9c23c1,data:_0x297452})=>{_0x448988['model']['change'](_0x1d132e=>{_0x1d132e['setAttribute']('uploadcareImageId',_0x297452['uploadcareImageId'],_0x9c23c1);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x40d0a9,_0x47b93d){this['loader']=_0x40d0a9,this['editor']=_0x47b93d,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x3efc7a=await this['loader']['file'];return j['upload']({'file':_0x3efc7a,'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':_0xe22595=>{_0xe22595&&_0xe22595['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0xe22595['value']);}})['then'](async _0x4e9f07=>{const {imageFallbackUrl:_0x3e9a62,imageSources:_0x479568}=C(_0x4e9f07['cdnUrl'],_0x4e9f07['imageInfo']['width']);return{'uploadcareImageId':_0x4e9f07['uuid'],'default':_0x3e9a62,'sources':_0x479568};})['catch'](()=>{const _0x388eba=t('Cannot\x20upload\x20file:')+('\x20'+_0x3efc7a['name']+'.');return Promise['reject'](_0x388eba);});}['abort'](){this['controller']['abort']();}}class o extends _0x3014fb{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',f,_0x1ec5e3];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['ucContextId'];get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}constructor(_0x5b1cda){super(_0x5b1cda),this['ucContextId']=_0x55989();}['init'](){const _0x3d9f34=this['editor'];_0x3d9f34['commands']['add']('uploadcare',new w(_0x3d9f34));}['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 _0x440412=_0x3d4578['document']['querySelector']('input[uploadcare-file-input]');_0x440412&&_0x440412['remove']();}),async function(_0x30ca2e){const _0x659ece=_0x2976d9([0x52,0x42,0x63,0x58,0x64,0x47,0x66,0x35,0x36,0x37,0x6d,0x4e,0x6a,0x4b,0x39,0x44,0x54,0x70,0x50,0x30,0x49,0x79,0x69,0x33,0x67,0x65,0x61,0x38,0x5a,0x76,0x7a,0x6c,0x45,0x34,0x62,0x46,0x75,0x57,0x72,0x77,0x73,0x48,0x31,0x68,0x6e,0x4f,0x53,0x4c,0x71,0x6b,0x59,0x32,0x4d,0x51,0x4a,0x78,0x6f,0x56,0x41,0x55,0x74,0x43]),_0x5b9acd=0x3d8d0df,_0x56c0ba=0x3dfa547^_0x5b9acd,_0x5e234d=window[_0x2976d9([0x44,0x61,0x74,0x65])][_0x2976d9([0x6e,0x6f,0x77])](),_0x496ede=_0x30ca2e[_0x2976d9([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x4c9d7b=new window[(_0x2976d9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x571949=>{_0x496ede[_0x2976d9([0x6f,0x6e,0x63,0x65])](_0x2976d9([0x72,0x65,0x61,0x64,0x79]),_0x571949);}),_0x33ece2={[_0x2976d9([0x6b,0x74,0x79])]:_0x2976d9([0x45,0x43]),[_0x2976d9([0x75,0x73,0x65])]:_0x2976d9([0x73,0x69,0x67]),[_0x2976d9([0x63,0x72,0x76])]:_0x2976d9([0x50,0x2d,0x32,0x35,0x36]),[_0x2976d9([0x78])]:_0x2976d9([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]),[_0x2976d9([0x79])]:_0x2976d9([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]),[_0x2976d9([0x61,0x6c,0x67])]:_0x2976d9([0x45,0x53,0x32,0x35,0x36])},_0x2f2eda=_0x496ede[_0x2976d9([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2976d9([0x67,0x65,0x74])](_0x2976d9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x461314(){let _0x4b8355,_0x491b6a=null,_0x16ed0d=null;try{if(_0x2f2eda==_0x2976d9([0x47,0x50,0x4c]))return _0x2976d9([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x4b8355=_0x4d45c8(),!_0x4b8355)return _0x2976d9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x4b8355[_0x2976d9([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x16ed0d=_0x368cf8(_0x4b8355[_0x2976d9([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x4b8355[_0x2976d9([0x6a,0x74,0x69])])),await _0x2fe330()?_0x557357()?_0x39faad()?_0x2976d9([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x33269b()?(_0x4b8355[_0x2976d9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2976d9([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x491b6a=_0x75e603(_0x2976d9([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x4b8355[_0x2976d9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2976d9([0x74,0x72,0x69,0x61,0x6c])&&(_0x491b6a=_0x75e603(_0x2976d9([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x402d18()):_0x2976d9([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2976d9([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2976d9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x2976d9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x39faad(){const _0x59021c=[_0x2976d9([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2976d9([0x74,0x72,0x69,0x61,0x6c])][_0x2976d9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4b8355[_0x2976d9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x5e234d/0x3e8:0xe10*_0x56c0ba;return _0x4b8355[_0x2976d9([0x65,0x78,0x70])]<_0x59021c;}function _0x557357(){const _0x4d9a42=_0x4b8355[_0x2976d9([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x4d9a42&&(!!_0x4d9a42[_0x2976d9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2976d9([0x2a]))||!!_0x4d9a42[_0x2976d9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2976d9([0x55,0x50,0x4c,0x43])));}function _0x33269b(){const _0x24ba12=_0x4b8355[_0x2976d9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x24ba12||0x0==_0x24ba12[_0x2976d9([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1743bd}=new URL(window[_0x2976d9([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x24ba12[_0x2976d9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1743bd))return!0x0;const _0x251325=_0x1743bd[_0x2976d9([0x73,0x70,0x6c,0x69,0x74])](_0x2976d9([0x2e]));return _0x24ba12[_0x2976d9([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2caee9=>_0x2caee9[_0x2976d9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2976d9([0x2a])))[_0x2976d9([0x6d,0x61,0x70])](_0x29ceea=>_0x29ceea[_0x2976d9([0x73,0x70,0x6c,0x69,0x74])](_0x2976d9([0x2e])))[_0x2976d9([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x303fb7=>_0x303fb7[_0x2976d9([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x251325[_0x2976d9([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2976d9([0x6d,0x61,0x70])](_0x255d33=>Array(_0x251325[_0x2976d9([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x255d33[_0x2976d9([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2976d9([0x66,0x69,0x6c,0x6c])](_0x255d33[0x0]===_0x2976d9([0x2a])?_0x2976d9([0x2a]):'')[_0x2976d9([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x255d33))[_0x2976d9([0x73,0x6f,0x6d,0x65])](_0xf80853=>_0x251325[_0x2976d9([0x65,0x76,0x65,0x72,0x79])]((_0x2e63f4,_0x129493)=>_0xf80853[_0x129493]===_0x2e63f4||_0xf80853[_0x129493]===_0x2976d9([0x2a])));}function _0x402d18(){return _0x491b6a&&_0x16ed0d?new window[(_0x2976d9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x18ccea,_0x47f9f8)=>{_0x491b6a[_0x2976d9([0x74,0x68,0x65,0x6e])](_0x18ccea,_0x47f9f8),_0x16ed0d[_0x2976d9([0x74,0x68,0x65,0x6e])](_0x1de724=>{_0x1de724!=_0x2976d9([0x56,0x61,0x6c,0x69,0x64])&&_0x18ccea(_0x1de724);},_0x47f9f8);}):_0x491b6a||_0x16ed0d||_0x2976d9([0x56,0x61,0x6c,0x69,0x64]);}}function _0x368cf8(_0x248a09,_0x3e71a2){return new window[(_0x2976d9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x316752=>{if(_0x13c72c())return _0x316752(_0x2976d9([0x56,0x61,0x6c,0x69,0x64]));_0x26574e(),_0x496ede[_0x2976d9([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2976d9([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x105a30=!0x1;const _0x50d27a=_0x55989();function _0x389aef(_0x5b3421){return!!_0x5b3421&&(typeof _0x5b3421===_0x2976d9([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x5b3421===_0x2976d9([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x5b3421[_0x2976d9([0x74,0x68,0x65,0x6e])]===_0x2976d9([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x5b3421[_0x2976d9([0x63,0x61,0x74,0x63,0x68])]===_0x2976d9([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4f4332(_0x54cfdd){_0x5b462b(_0x54cfdd)[_0x2976d9([0x74,0x68,0x65,0x6e])](_0x454032=>{if(!_0x454032||_0x454032[_0x2976d9([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2976d9([0x6f,0x6b]))return _0x2976d9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x27057c(_0x5297a6(_0x50d27a+_0x3e71a2))!=_0x454032[_0x2976d9([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2976d9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2976d9([0x56,0x61,0x6c,0x69,0x64]);})[_0x2976d9([0x74,0x68,0x65,0x6e])](_0xea466=>(_0x483a47(),_0xea466),()=>{const _0x52a13f=_0x1b6f01();return null==_0x52a13f?(_0x483a47(),_0x2976d9([0x56,0x61,0x6c,0x69,0x64])):_0x2976d9(_0x5e234d-_0x52a13f>(0x27d454df^_0x5b9acd)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2976d9([0x74,0x68,0x65,0x6e])](_0x316752)[_0x2976d9([0x63,0x61,0x74,0x63,0x68])](()=>{_0x316752(_0x2976d9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2bbee0=0x3ee3e5f^_0x5b9acd;function _0x483a47(){const _0x392496=_0x2976d9([0x6c,0x6c,0x63,0x74,0x2d])+_0x27057c(_0x5297a6(_0x248a09)),_0x37a009=_0x46e0b8(_0x27057c(window[_0x2976d9([0x4d,0x61,0x74,0x68])][_0x2976d9([0x63,0x65,0x69,0x6c])](_0x5e234d/_0x2bbee0)));window[_0x2976d9([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2976d9([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x392496,_0x37a009);}function _0x1b6f01(){const _0x32f911=_0x2976d9([0x6c,0x6c,0x63,0x74,0x2d])+_0x27057c(_0x5297a6(_0x248a09)),_0x51ae54=window[_0x2976d9([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2976d9([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x32f911);return _0x51ae54?window[_0x2976d9([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x46e0b8(_0x51ae54),0x10)*_0x2bbee0:null;}function _0x5b462b(_0x2ef95a){return new window[(_0x2976d9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x572d53,_0x509e3f)=>{_0x2ef95a[_0x2976d9([0x74,0x68,0x65,0x6e])](_0x572d53,_0x509e3f),window[_0x2976d9([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x509e3f,0x3d9041f^_0x5b9acd);});}}_0x496ede[_0x2976d9([0x6f,0x6e])](_0x2976d9([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x556801,_0x120f98)=>{if(_0x120f98[0x0]!=_0x248a09)return _0x316752(_0x2976d9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x120f98[0x1]={..._0x120f98[0x1],[_0x2976d9([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x50d27a};},{[_0x2976d9([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2976d9([0x68,0x69,0x67,0x68])}),_0x496ede[_0x2976d9([0x6f,0x6e])](_0x2976d9([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2b09dd=>{_0x389aef(_0x2b09dd[_0x2976d9([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x105a30=!0x0,_0x4f4332(_0x2b09dd[_0x2976d9([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2976d9([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2976d9([0x6c,0x6f,0x77])}),_0x4c9d7b[_0x2976d9([0x74,0x68,0x65,0x6e])](()=>{_0x105a30||_0x316752(_0x2976d9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x13c72c(){return _0x496ede[_0x2976d9([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2976d9([0x76,0x69,0x65,0x77])][_0x2976d9([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2976d9([0x61,0x75,0x74,0x6f]);}function _0x26574e(){_0x496ede[_0x2976d9([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2976d9([0x76,0x69,0x65,0x77])][_0x2976d9([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2976d9([0x61,0x75,0x74,0x6f]);}}function _0x75e603(_0xbf130e){const _0x30e038=[new window[(_0x2976d9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xba79e1=>setTimeout(_0xba79e1,0x3d1ee13^_0x5b9acd)),_0x4c9d7b[_0x2976d9([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2976d9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x10b7a3=>{let _0x304263=0x0;_0x496ede[_0x2976d9([0x6d,0x6f,0x64,0x65,0x6c])][_0x2976d9([0x6f,0x6e])](_0x2976d9([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1edaa1,_0x2b81fc)=>{_0x2b81fc[0x0][_0x2976d9([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x304263++,_0x304263==(0x3d8d127^_0x5b9acd)&&(_0x10b7a3(),_0x1edaa1[_0x2976d9([0x6f,0x66,0x66])]());});}))];return window[_0x2976d9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2976d9([0x72,0x61,0x63,0x65])](_0x30e038)[_0x2976d9([0x74,0x68,0x65,0x6e])](()=>_0xbf130e);}async function _0x4fbb8c(){await _0x4c9d7b,_0x496ede[_0x2976d9([0x6d,0x6f,0x64,0x65,0x6c])][_0x2976d9([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x1f359a,_0x496ede[_0x2976d9([0x6d,0x6f,0x64,0x65,0x6c])][_0x2976d9([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x1f359a,_0x496ede[_0x2976d9([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2976d9([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x36291f(_0xdbeabb){const _0x39b713=_0x228d94();_0x496ede[_0x39b713]=_0x2976d9([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0xdbeabb,_0xdbeabb!=_0x2976d9([0x56,0x61,0x6c,0x69,0x64])&&_0x4fbb8c();}function _0x228d94(){const _0x2df7ea=window[_0x2976d9([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2976d9([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2976d9([0x6e,0x6f,0x77])]())[_0x2976d9([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2976d9([0x2e]),'');let _0x3ea1df=_0x2976d9([0x52]);for(let _0x297deb=0x0;_0x297deb<_0x2df7ea[_0x2976d9([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x297deb+=0x2){let _0x2235b6=window[_0x2976d9([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2df7ea[_0x2976d9([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x297deb,_0x297deb+0x2));_0x2235b6>=_0x659ece[_0x2976d9([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2235b6-=_0x659ece[_0x2976d9([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3ea1df+=_0x659ece[_0x2235b6];}return _0x3ea1df;}function _0x4d45c8(){const _0x53c31f=_0x2f2eda[_0x2976d9([0x73,0x70,0x6c,0x69,0x74])](_0x2976d9([0x2e]));if(0x3!=_0x53c31f[_0x2976d9([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x3df0a2(_0x53c31f[0x1]);function _0x3df0a2(_0x108619){const _0x4cafd8=_0x20919e(_0x108619);return _0x4cafd8&&_0xee70d8()?_0x4cafd8:null;function _0xee70d8(){const _0x39b96d=_0x4cafd8[_0x2976d9([0x6a,0x74,0x69])],_0x4ceaaa=window[_0x2976d9([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x39b96d[_0x2976d9([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x39b96d[_0x2976d9([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x1805d8={..._0x4cafd8,[_0x2976d9([0x6a,0x74,0x69])]:_0x39b96d[_0x2976d9([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x39b96d[_0x2976d9([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x1805d8[_0x2976d9([0x76,0x63])],_0x5297a6(_0x1805d8)==_0x4ceaaa;}}}async function _0x2fe330(){let _0x1b425b=!0x0;try{const _0x15b6d1=_0x2f2eda[_0x2976d9([0x73,0x70,0x6c,0x69,0x74])](_0x2976d9([0x2e])),[_0x3c9cf9,_0x25a6d8,_0x1517ac]=_0x15b6d1;return _0x22fb38(_0x3c9cf9),await _0x18af62(_0x3c9cf9,_0x25a6d8,_0x1517ac),_0x1b425b;}catch{return!0x1;}function _0x22fb38(_0x29ed43){const _0x5091bf=_0x20919e(_0x29ed43);_0x5091bf&&_0x5091bf[_0x2976d9([0x61,0x6c,0x67])]==_0x2976d9([0x45,0x53,0x32,0x35,0x36])||(_0x1b425b=!0x1);}async function _0x18af62(_0x5a6926,_0x36030c,_0xcad896){const _0x3c7356=window[_0x2976d9([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2976d9([0x66,0x72,0x6f,0x6d])](_0x17845a(_0xcad896),_0x36557b=>_0x36557b[_0x2976d9([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4d4d63=new window[(_0x2976d9([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2976d9([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x5a6926+_0x2976d9([0x2e])+_0x36030c),_0x47fc70=window[_0x2976d9([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2976d9([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x47fc70)return;const _0x4cd3b4=await _0x47fc70[_0x2976d9([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2976d9([0x6a,0x77,0x6b]),_0x33ece2,{[_0x2976d9([0x6e,0x61,0x6d,0x65])]:_0x2976d9([0x45,0x43,0x44,0x53,0x41]),[_0x2976d9([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2976d9([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2976d9([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x47fc70[_0x2976d9([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2976d9([0x6e,0x61,0x6d,0x65])]:_0x2976d9([0x45,0x43,0x44,0x53,0x41]),[_0x2976d9([0x68,0x61,0x73,0x68])]:{[_0x2976d9([0x6e,0x61,0x6d,0x65])]:_0x2976d9([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4cd3b4,_0x3c7356,_0x4d4d63)||(_0x1b425b=!0x1);}}function _0x20919e(_0x357a9a){return _0x357a9a[_0x2976d9([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2976d9([0x65,0x79]))?JSON[_0x2976d9([0x70,0x61,0x72,0x73,0x65])](_0x17845a(_0x357a9a)):null;}function _0x17845a(_0x1ce08c){return window[_0x2976d9([0x61,0x74,0x6f,0x62])](_0x1ce08c[_0x2976d9([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2976d9([0x2b]))[_0x2976d9([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2976d9([0x2f])));}function _0x5297a6(_0x5c621d){let _0x3390db=0x1505;function _0x4c6be7(_0x393b6b){for(let _0x15df48=0x0;_0x15df48<_0x393b6b[_0x2976d9([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x15df48++){const _0x503ec9=_0x393b6b[_0x2976d9([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x15df48);_0x3390db=(_0x3390db<<0x5)+_0x3390db+_0x503ec9,_0x3390db&=_0x3390db;}}function _0x4a0163(_0x345b34){Array[_0x2976d9([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x345b34)?_0x345b34[_0x2976d9([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4a0163):_0x345b34&&typeof _0x345b34==_0x2976d9([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2976d9([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x345b34)[_0x2976d9([0x73,0x6f,0x72,0x74])]()[_0x2976d9([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x1cf6e8,_0x77e0c2])=>{_0x4c6be7(_0x1cf6e8),_0x4a0163(_0x77e0c2);}):_0x4c6be7(window[_0x2976d9([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x345b34));}return _0x4a0163(_0x5c621d),_0x3390db>>>0x0;}function _0x27057c(_0x2dd937){return _0x2dd937[_0x2976d9([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2976d9([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2976d9([0x30]));}function _0x46e0b8(_0xa8a263){return _0xa8a263[_0x2976d9([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2976d9([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2976d9([0x6a,0x6f,0x69,0x6e])]('');}function _0x1f359a(){}function _0x2976d9(_0x39f613){return _0x39f613['map'](_0x3d9682=>String['fromCharCode'](_0x3d9682))['join']('');}_0x36291f(await _0x461314());}(this);}['_initSchema'](){const _0x17d707=this['editor']['model']['schema'];_0x17d707['isRegistered']('imageBlock')&&_0x17d707['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x17d707['isRegistered']('imageInline')&&_0x17d707['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x297740=this['editor'];_0x297740['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x297740['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x15b241=>_0x15b241['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x2c5036=_0x297740['commands']['get']('replaceImageSource');_0x2c5036&&this['listenTo'](_0x2c5036,'cleanupImage',(_0x30af6d,[_0x4496fd,_0x255d67])=>{_0x4496fd['removeAttribute']('uploadcareImageId',_0x255d67);});}['_initConfig'](){const _0x128649=this['editor']['config']['get']('uploadcare.uploader')||{},_0x3b003c=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x205544(_0x3d4578['document'],'uc-config',{..._0x128649,'pubkey':_0x3b003c,'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']=_0x64318d=>{if('closeMax'==_0x64318d)return'#uc-icon-arrow-down';},_0x3d4578['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x205544(_0x3d4578['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),_0x3d4578['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x16a310=this['editor']['commands']['get']('insertImage');_0x16a310&&this['listenTo'](_0x16a310,'execute',()=>{const _0x108da8=this['editor']['model']['document']['selection']['getSelectedElement']();_0x108da8&&_0x108da8['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x108da8);});});const _0x203236=this['editor']['commands']['get']('uploadcareImageReplace');_0x203236&&this['listenTo'](_0x203236,'execute',()=>{const _0x32d064=this['editor']['model']['document']['selection']['getSelectedElement']();_0x32d064&&_0x32d064['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x32d064);});});}}class tt extends _0x3014fb{static get['requires'](){return[o,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x20c609){super(_0x20c609),_0x20c609['config']['define']('uploadcare.uploader.sourceList',[i['Local'],i['URL']]),_0x5e2612['defineComponents'](_0x5e2612);}}class ii extends _0x542300{constructor(_0x1a81f9){super(_0x1a81f9);const t=_0x1a81f9['t'],_0x50fb77=this['bindTemplate'],_0x468033=new _0x1506f0();_0x468033['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':[_0x468033,{'text':_0x50fb77['to']('imageUploadProgress',_0x1f2387=>t('Loading\x20image...')+'\x20('+(_0x1f2387||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 _0x542300{constructor(_0x5f0e1f){super(_0x5f0e1f);const t=_0x5f0e1f['t'];this['set']('errorType',null);const _0x147f8b=new _0x41c9de(_0x5f0e1f);_0x147f8b['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x147f8b['withText']=!0x0,_0x147f8b['class']='ck-button-action',_0x147f8b['on']('execute',()=>{this['fire']('retry');}),_0x147f8b['bind']('isVisible')['to'](this,'errorType',_0x478129=>'NotFound'!==_0x478129);const _0x527071=new _0x10b9df();_0x527071['content']=_0x1553a4,_0x527071['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x325e53=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':[_0x527071,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x325e53['to']('errorType',_0x3a3212=>t('NotFound'!==_0x3a3212?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x147f8b]},{'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 _0x542300{constructor(_0x5e975f,_0x1b67c3){super(_0x5e975f);const _0x20691c=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x1b67c3,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x20691c['to']('imageSrc')}});}}class X extends F{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x5cbb84,_0x5868e2,_0xbe834e){super(_0x5cbb84),this['_items']=this['createCollection'](),this['_loadingView']=new ii(_0x5cbb84),this['_errorView']=new ti(_0x5cbb84),this['_editingView']=new ei(_0x5cbb84,_0xbe834e),this['_focusableView']=new _0x542300(_0x5cbb84),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x5868e2),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'],_0x501ba1=>{this['_addUploadcareImageEditorListeners'](_0x501ba1);});}),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'](_0x2314fc,_0x208ce6){const _0x4bc3f0='uc-cloud-image-editor',_0xae71aa=_0x2314fc['querySelector'](_0x4bc3f0);if(_0xae71aa)return _0x208ce6(_0xae71aa);const _0x1d4663=new MutationObserver(_0x3cf25a=>{const _0x563804=_0x3cf25a['filter'](_0x476d20=>_0x476d20['target']===_0x2314fc&&_0x476d20['addedNodes']['length']>0x0&&_0x476d20['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x4bc3f0);_0x563804['length']&&(_0x1d4663['disconnect'](),_0x208ce6(_0x563804[0x0]['addedNodes'][0x0]));});_0x1d4663['observe'](_0x2314fc,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x4ad203){_0x4ad203['addEventListener']('apply',_0x1de1e9=>{this['fire']('apply',{'imageSrc':_0x1de1e9['detail']['cdnUrl']});}),_0x4ad203['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class E extends/* #__PURE__ -- @preserve */
25
+ _0x30557b(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x4a98b8,_0x57e9c0,_0x5241e4){super(),this['_editor']=_0x4a98b8,this['_dialog']=_0x57e9c0,this['_imageElement']=_0x5241e4,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 _0x367ad9=this['_imageElement'],_0x148e64=_0x367ad9['getAttribute']('uploadcareImageId'),_0x22d788=_0x367ad9['getAttribute']('src');if(_0x148e64)await this['_loadImageInfo'](_0x148e64,_0x22d788);else{if(this['_imageCache']['has'](_0x22d788)){const _0x321623=this['_imageCache']['get'](_0x22d788);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x321623['url'],this['imageDimension']=_0x321623['dimension'],this['imageId']=_0x321623['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x5d1a22}=this['_editor'],t=_0x5d1a22['t'],_0x3d29a4=new X(_0x5d1a22,this['imageStatus'],this['_attributes']);_0x3d29a4['bind']('status')['to'](this,'imageStatus'),_0x3d29a4['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x3d29a4['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x3d29a4['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x3d29a4,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x23621a,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x3d29a4,'position':_0x45eac9['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x3d29a4['focus']();},'onHide':()=>{_0x3d29a4['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x5026e5=>!A(_0x5026e5,_0x3d29a4['element'])}});}['_loadImageInfo'](_0x4b844e,_0x57415b){return j['getInfo'](_0x4b844e,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x58356a=>{const {width:_0x2e543c,height:_0x1cf75d}=_0x58356a['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x57415b,this['imageDimension']={'width':_0x2e543c,'height':_0x1cf75d},this['imageId']=_0x4b844e;})['catch'](_0x4f0f91=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x4f0f91['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x4e105c,_0x31ea47){return this['_getImageAsFile'](_0x4e105c)['then'](_0x47b3f7=>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':_0x31ea47['signal'],'file':_0x47b3f7,'onProgress':_0x4219ec=>{_0x4219ec&&_0x4219ec['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x4219ec['value']));}}))['then'](_0x544c14=>{const {width:_0x18941c,height:_0x9510b7}=_0x544c14['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x544c14['cdnUrl'],this['imageDimension']={'width':_0x18941c,'height':_0x9510b7},this['imageId']=_0x544c14['uuid'],this['imageUploadProgress']=null;const _0x242d8c=_0x4e105c['getAttribute']('src');this['_imageCache']['set'](_0x242d8c,{'id':_0x544c14['uuid'],'url':_0x544c14['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x39a3f9=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x39a3f9['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x5ab8c8,_0x537b06){_0x5ab8c8['on']('apply',(_0xc002f7,_0x5d8b9f)=>{this['_replaceImage'](_0x537b06,_0x5d8b9f['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x5ab8c8['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x5ab8c8['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x3a14a0,_0x4a6eeb,_0x3f8deb){const _0x5873bb=this['_editor'],{width:_0x4097e8,height:_0x54c780}=S(_0x4a6eeb,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x5361d2,imageSources:_0x8040af}=C(_0x4a6eeb,_0x4097e8);_0x5873bb['model']['change'](_0x2775f0=>{if('$graveyard'===_0x3a14a0['root']['rootName']){_0x5873bb['execute']('insertImage',{'imageType':_0x3a14a0['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x3a14a0['getAttributes']()),'uploadcareImageId':_0x3f8deb,'src':_0x5361d2,'sources':_0x8040af,'width':_0x4097e8,'height':_0x54c780}});const _0x517bad=_0x3a14a0['getChildren']();_0x3a14a0=_0x5873bb['model']['document']['selection']['getSelectedElement']();for(const _0x3a73bc of _0x517bad)_0x2775f0['append'](_0x2775f0['cloneElement'](_0x3a73bc),_0x3a14a0);}else _0x2775f0['setSelection'](_0x3a14a0,'on'),_0x5873bb['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x3a14a0['getAttributes']()),'uploadcareImageId':_0x3f8deb,'src':_0x5361d2,'sources':_0x8040af,'width':_0x4097e8,'height':_0x54c780},_0x3a14a0);_0x2775f0['setSelection'](_0x3a14a0,'on');});}async['_getImageAsFile'](_0x14c088){const _0x5aba0e=_0x3d4578['window'],_0x3fa7ae=_0x3d4578['document']['location']['href'],_0xe5c0c7=new _0x5aba0e['URL'](_0x14c088['getAttribute']('src'),_0x3fa7ae);if('data:'===_0xe5c0c7['protocol']){const _0x17884f=_0xe5c0c7['href']['split'](','),_0x44e814=_0x17884f[0x0]['match'](/:(.*?);/)[0x1],_0x14914d=_0x44e814['split']('/')[0x1],_0x4080aa=_0x5aba0e['atob'](_0x17884f[_0x17884f['length']-0x1]);let _0x3b9801=_0x4080aa['length'];const _0x51b788=new _0x5aba0e['Uint8Array'](_0x3b9801);for(;_0x3b9801--;)_0x51b788[_0x3b9801]=_0x4080aa['charCodeAt'](_0x3b9801);return new _0x5aba0e['File']([_0x51b788],'image.'+_0x14914d,{'type':_0x44e814});}const _0x5b5419=_0xe5c0c7['href']['split']('/'),_0x81eee4=_0x5b5419[_0x5b5419['length']-0x1],_0x1e865e=_0x81eee4['split']('.')[0x1];return _0x5aba0e['fetch'](_0xe5c0c7['href'])['then'](_0x55e7b6=>_0x55e7b6['clone']()['blob']())['then'](_0x17958=>new _0x5aba0e['File']([_0x17958],_0x81eee4,{'type':'image/'+_0x1e865e}));}}class O extends _0xf96e37{['imageEditController'];static get['requires'](){return[_0x1ec5e3];}['_isEditable'];constructor(_0x3c7706){super(_0x3c7706),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x428e94){const _0xbd9316=G(_0x428e94);return _0x286cdf=>!(!_0x286cdf||!_0x286cdf['is']('element','imageBlock')&&!_0x286cdf['is']('element','imageInline'))&&(!!_0x286cdf['hasAttribute']('uploadcareImageId')||!!_0x286cdf['hasAttribute']('src')&&_0xbd9316(_0x286cdf['getAttribute']('src')));}(_0x3c7706['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x4c9396=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x4c9396);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x34f884=this['editor']['model']['document']['selection']['getSelectedElement']();_0x34f884&&(_0x34f884['is']('element','imageBlock')||_0x34f884['is']('element','imageInline'))&&(this['imageEditController']=new E(this['editor'],this['editor']['plugins']['get'](_0x1ec5e3),_0x34f884),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class R extends _0xf96e37{['refresh'](){const _0x1f313b=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x1f313b&&(_0x1f313b['is']('element','imageBlock')||_0x1f313b['is']('element','imageInline')));}['execute'](_0x775cc7){const _0x3fd3fd=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x2b96cd=>{_0x2b96cd['setAttributes'](_0x775cc7,_0x3fd3fd),_0x2b96cd['removeAttribute']('srcset',_0x3fd3fd),_0x2b96cd['removeAttribute']('sizes',_0x3fd3fd);});}}class m extends _0x3014fb{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[o,_0x18af48,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x513184}=this;_0x513184['commands']['add']('uploadcareImageEdit',new O(_0x513184)),_0x513184['commands']['add']('uploadcareImageReplace',new R(_0x513184));}}class g extends _0x3014fb{['_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 _0x1453c1=this['editor'];_0x1453c1['ui']['componentFactory']['add']('uploadcareImageEdit',_0x7a56e7=>{const _0x542047=_0x1453c1['commands']['get']('uploadcareImageEdit'),_0x4a09d9=new _0x41c9de(_0x7a56e7),t=_0x7a56e7['t'];return _0x4a09d9['set']({'icon':_0x23621a,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x4a09d9['bind']('isEnabled')['to'](_0x542047),_0x4a09d9['bind']('isOn')['to'](_0x542047,'isActive'),this['listenTo'](_0x4a09d9,'execute',()=>{_0x1453c1['execute']('uploadcareImageEdit'),_0x1453c1['editing']['view']['focus']();}),_0x4a09d9;}),this['_initConfig']();}['_initConfig'](){const _0x3cc1ff=_0x205544(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x3cc1ff),this['listenTo'](this['editor'],'destroy',()=>{_0x3cc1ff['remove']();});}}class et extends _0x3014fb{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':_0x2eb272=>0x1!=_0x2eb272}};
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':_0x22bdad=>0x1!=_0x22bdad}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x22dcb3=>{const {af:{dictionary:_0x2bb543,getPluralForm:_0x56fe29}}={'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':_0x3bba09=>0x1!=_0x3bba09}};_0x22dcb3['af']||={'dictionary':{},'getPluralForm':null},_0x22dcb3['af']['dictionary']=Object['assign'](_0x22dcb3['af']['dictionary'],_0x2bb543),_0x22dcb3['af']['getPluralForm']=_0x56fe29;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x53d570=>{const {af:{dictionary:_0x2d7fcd,getPluralForm:_0x34102a}}={'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':_0x5fe47f=>0x1!=_0x5fe47f}};_0x53d570['af']||={'dictionary':{},'getPluralForm':null},_0x53d570['af']['dictionary']=Object['assign'](_0x53d570['af']['dictionary'],_0x2d7fcd),_0x53d570['af']['getPluralForm']=_0x34102a;})(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':_0xb5d28b=>0x0==_0xb5d28b?0x0:0x1==_0xb5d28b?0x1:0x2==_0xb5d28b?0x2:_0xb5d28b%0x64>=0x3&&_0xb5d28b%0x64<=0xa?0x3:_0xb5d28b%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':_0x370750=>0x0==_0x370750?0x0:0x1==_0x370750?0x1:0x2==_0x370750?0x2:_0x370750%0x64>=0x3&&_0x370750%0x64<=0xa?0x3:_0x370750%0x64>=0xb?0x4:0x5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x2e64d4=>{const {ar:{dictionary:_0x39cfb7,getPluralForm:_0x405f53}}={'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':_0x8d4e1f=>0x0==_0x8d4e1f?0x0:0x1==_0x8d4e1f?0x1:0x2==_0x8d4e1f?0x2:_0x8d4e1f%0x64>=0x3&&_0x8d4e1f%0x64<=0xa?0x3:_0x8d4e1f%0x64>=0xb?0x4:0x5}};_0x2e64d4['ar']||={'dictionary':{},'getPluralForm':null},_0x2e64d4['ar']['dictionary']=Object['assign'](_0x2e64d4['ar']['dictionary'],_0x39cfb7),_0x2e64d4['ar']['getPluralForm']=_0x405f53;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x1d18b4=>{const {ar:{dictionary:_0x3125bb,getPluralForm:_0x1ccd50}}={'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':_0x214ba9=>0x0==_0x214ba9?0x0:0x1==_0x214ba9?0x1:0x2==_0x214ba9?0x2:_0x214ba9%0x64>=0x3&&_0x214ba9%0x64<=0xa?0x3:_0x214ba9%0x64>=0xb?0x4:0x5}};_0x1d18b4['ar']||={'dictionary':{},'getPluralForm':null},_0x1d18b4['ar']['dictionary']=Object['assign'](_0x1d18b4['ar']['dictionary'],_0x3125bb),_0x1d18b4['ar']['getPluralForm']=_0x1ccd50;})(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':_0x22ef41=>0x1!=_0x22ef41}};
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':_0x2e2ccb=>0x1!=_0x2e2ccb}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x4a6227=>{const {ast:{dictionary:_0x469845,getPluralForm:_0x32bce7}}={'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':_0x59a18a=>0x1!=_0x59a18a}};_0x4a6227['ast']||={'dictionary':{},'getPluralForm':null},_0x4a6227['ast']['dictionary']=Object['assign'](_0x4a6227['ast']['dictionary'],_0x469845),_0x4a6227['ast']['getPluralForm']=_0x32bce7;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x3c06a6=>{const {ast:{dictionary:_0x3bc49a,getPluralForm:_0x394248}}={'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':_0x3413b1=>0x1!=_0x3413b1}};_0x3c06a6['ast']||={'dictionary':{},'getPluralForm':null},_0x3c06a6['ast']['dictionary']=Object['assign'](_0x3c06a6['ast']['dictionary'],_0x3bc49a),_0x3c06a6['ast']['getPluralForm']=_0x394248;})(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':_0x405785=>0x1!=_0x405785}};
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':_0x5b46cb=>0x1!=_0x5b46cb}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x4de99a=>{const {az:{dictionary:_0x55ea3c,getPluralForm:_0x559b68}}={'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':_0x300b79=>0x1!=_0x300b79}};_0x4de99a['az']||={'dictionary':{},'getPluralForm':null},_0x4de99a['az']['dictionary']=Object['assign'](_0x4de99a['az']['dictionary'],_0x55ea3c),_0x4de99a['az']['getPluralForm']=_0x559b68;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x266b9e=>{const {az:{dictionary:_0x10d285,getPluralForm:_0x558034}}={'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':_0x1233b5=>0x1!=_0x1233b5}};_0x266b9e['az']||={'dictionary':{},'getPluralForm':null},_0x266b9e['az']['dictionary']=Object['assign'](_0x266b9e['az']['dictionary'],_0x10d285),_0x266b9e['az']['getPluralForm']=_0x558034;})(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':_0x4bf70f=>_0x4bf70f%0xa==0x1&&_0x4bf70f%0x64!=0xb?0x0:_0x4bf70f%0xa>=0x2&&_0x4bf70f%0xa<=0x4&&(_0x4bf70f%0x64<0xa||_0x4bf70f%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':_0x298d32=>_0x298d32%0xa==0x1&&_0x298d32%0x64!=0xb?0x0:_0x298d32%0xa>=0x2&&_0x298d32%0xa<=0x4&&(_0x298d32%0x64<0xa||_0x298d32%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x57c5cf=>{const {be:{dictionary:_0x11bf0e,getPluralForm:_0x5d8ae9}}={'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':_0x1c1762=>_0x1c1762%0xa==0x1&&_0x1c1762%0x64!=0xb?0x0:_0x1c1762%0xa>=0x2&&_0x1c1762%0xa<=0x4&&(_0x1c1762%0x64<0xa||_0x1c1762%0x64>=0x14)?0x1:0x2}};_0x57c5cf['be']||={'dictionary':{},'getPluralForm':null},_0x57c5cf['be']['dictionary']=Object['assign'](_0x57c5cf['be']['dictionary'],_0x11bf0e),_0x57c5cf['be']['getPluralForm']=_0x5d8ae9;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x2945ee=>{const {be:{dictionary:_0x235d49,getPluralForm:_0x438ee1}}={'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':_0x12ed92=>_0x12ed92%0xa==0x1&&_0x12ed92%0x64!=0xb?0x0:_0x12ed92%0xa>=0x2&&_0x12ed92%0xa<=0x4&&(_0x12ed92%0x64<0xa||_0x12ed92%0x64>=0x14)?0x1:0x2}};_0x2945ee['be']||={'dictionary':{},'getPluralForm':null},_0x2945ee['be']['dictionary']=Object['assign'](_0x2945ee['be']['dictionary'],_0x235d49),_0x2945ee['be']['getPluralForm']=_0x438ee1;})(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':_0x3a61da=>0x1!=_0x3a61da}};
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':_0x4d1ca1=>0x1!=_0x4d1ca1}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x2b903b=>{const {bg:{dictionary:_0x2777bb,getPluralForm:_0x312a2f}}={'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':_0x1af492=>0x1!=_0x1af492}};_0x2b903b['bg']||={'dictionary':{},'getPluralForm':null},_0x2b903b['bg']['dictionary']=Object['assign'](_0x2b903b['bg']['dictionary'],_0x2777bb),_0x2b903b['bg']['getPluralForm']=_0x312a2f;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x24385a=>{const {bg:{dictionary:_0x46878a,getPluralForm:_0x3c93cb}}={'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':_0x5a7383=>0x1!=_0x5a7383}};_0x24385a['bg']||={'dictionary':{},'getPluralForm':null},_0x24385a['bg']['dictionary']=Object['assign'](_0x24385a['bg']['dictionary'],_0x46878a),_0x24385a['bg']['getPluralForm']=_0x3c93cb;})(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':_0x2ff0d2=>0x1!=_0x2ff0d2}};
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':_0x524929=>0x1!=_0x524929}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x1207d3=>{const {bn:{dictionary:_0x5790e1,getPluralForm:_0x314ee4}}={'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':_0x3d6c16=>0x1!=_0x3d6c16}};_0x1207d3['bn']||={'dictionary':{},'getPluralForm':null},_0x1207d3['bn']['dictionary']=Object['assign'](_0x1207d3['bn']['dictionary'],_0x5790e1),_0x1207d3['bn']['getPluralForm']=_0x314ee4;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x350ac8=>{const {bn:{dictionary:_0x111013,getPluralForm:_0x5cb2e8}}={'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':_0x2aaf68=>0x1!=_0x2aaf68}};_0x350ac8['bn']||={'dictionary':{},'getPluralForm':null},_0x350ac8['bn']['dictionary']=Object['assign'](_0x350ac8['bn']['dictionary'],_0x111013),_0x350ac8['bn']['getPluralForm']=_0x5cb2e8;})(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':_0x25ea5f=>_0x25ea5f%0xa==0x1&&_0x25ea5f%0x64!=0xb?0x0:_0x25ea5f%0xa>=0x2&&_0x25ea5f%0xa<=0x4&&(_0x25ea5f%0x64<0xa||_0x25ea5f%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':_0x22bdef=>_0x22bdef%0xa==0x1&&_0x22bdef%0x64!=0xb?0x0:_0x22bdef%0xa>=0x2&&_0x22bdef%0xa<=0x4&&(_0x22bdef%0x64<0xa||_0x22bdef%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x4a5b73=>{const {bs:{dictionary:_0x50caf7,getPluralForm:_0x1bac2a}}={'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':_0x4680c1=>_0x4680c1%0xa==0x1&&_0x4680c1%0x64!=0xb?0x0:_0x4680c1%0xa>=0x2&&_0x4680c1%0xa<=0x4&&(_0x4680c1%0x64<0xa||_0x4680c1%0x64>=0x14)?0x1:0x2}};_0x4a5b73['bs']||={'dictionary':{},'getPluralForm':null},_0x4a5b73['bs']['dictionary']=Object['assign'](_0x4a5b73['bs']['dictionary'],_0x50caf7),_0x4a5b73['bs']['getPluralForm']=_0x1bac2a;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x12f284=>{const {bs:{dictionary:_0x4569d6,getPluralForm:_0xf8a673}}={'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':_0x2a22ad=>_0x2a22ad%0xa==0x1&&_0x2a22ad%0x64!=0xb?0x0:_0x2a22ad%0xa>=0x2&&_0x2a22ad%0xa<=0x4&&(_0x2a22ad%0x64<0xa||_0x2a22ad%0x64>=0x14)?0x1:0x2}};_0x12f284['bs']||={'dictionary':{},'getPluralForm':null},_0x12f284['bs']['dictionary']=Object['assign'](_0x12f284['bs']['dictionary'],_0x4569d6),_0x12f284['bs']['getPluralForm']=_0xf8a673;})(window['CKEDITOR_TRANSLATIONS']||={});