const { Component, Fragment } = require('inferno'); const { cacheComponent } = require('../util/cache'); class BdShare extends Component { render() { const js = 'window._bd_share_config = { "common": { "bdSnsKey": {}, "bdText": "", "bdMini": "2", "bdPic": "", "bdStyle": "0", "bdSize": "16" }, "share": {} }; with (document) 0[(getElementsByTagName(\'head\')[0] || body).appendChild(createElement(\'script\')).src = \'http://bdimg.share.baidu.com/static/api/js/share.js?v=89860593.js?cdnversion=\' + ~(-new Date() / 36e5)];'; return
; } } module.exports = cacheComponent(BdShare, 'share.bdshare', props => { return {}; });