diff --git a/.nuxt/App.js b/.nuxt/App.js
index 90d8dcc..938187c 100644
--- a/.nuxt/App.js
+++ b/.nuxt/App.js
@@ -4,6 +4,8 @@ import { decode, parsePath, withoutBase, withoutTrailingSlash, normalizeURL } fr
import { getMatchedComponentsInstances, getChildrenComponentInstancesUsingFetch, promisify, globalHandleError, urlJoin, sanitizeComponent } from './utils'
import NuxtError from '../src/layouts/error.vue'
+import NuxtBuildIndicator from './components/nuxt-build-indicator'
+
import '../node_modules/element-ui/lib/theme-chalk/index.css'
import '../node_modules/video.js/dist/video-js.css'
@@ -47,6 +49,7 @@ export default {
}
}, [
+ h(NuxtBuildIndicator),
transitionEl
])
},
@@ -166,6 +169,10 @@ export default {
},
setLayout (layout) {
+ if(layout && typeof layout !== 'string') {
+ throw new Error('[nuxt] Avoid using non-string value as layout property.')
+ }
+
if (!layout || !layouts['_' + layout]) {
layout = 'default'
}
diff --git a/.nuxt/axios.js b/.nuxt/axios.js
index 074e68c..995096c 100644
--- a/.nuxt/axios.js
+++ b/.nuxt/axios.js
@@ -160,7 +160,7 @@ export default (ctx, inject) => {
const runtimeConfig = ctx.$config && ctx.$config.axios || {}
// baseURL
const baseURL = process.browser
- ? (runtimeConfig.browserBaseURL || runtimeConfig.browserBaseUrl || runtimeConfig.baseURL || runtimeConfig.baseUrl || 'http://localhost:3000/web')
+ ? (runtimeConfig.browserBaseURL || runtimeConfig.browserBaseUrl || runtimeConfig.baseURL || runtimeConfig.baseUrl || '/web')
: (runtimeConfig.baseURL || runtimeConfig.baseUrl || process.env._AXIOS_BASE_URL_ || 'http://localhost:3000/web')
// Create fresh objects for all default header scopes
diff --git a/.nuxt/client.js b/.nuxt/client.js
index 463c814..4cbdc98 100644
--- a/.nuxt/client.js
+++ b/.nuxt/client.js
@@ -48,7 +48,66 @@ if ($config._app) {
__webpack_public_path__ = urlJoin($config._app.cdnURL, $config._app.assetsPath)
}
-Object.assign(Vue.config, {"silent":true,"performance":false})
+Object.assign(Vue.config, {"silent":false,"performance":true})
+
+const logs = NUXT.logs || []
+ if (logs.length > 0) {
+ const ssrLogStyle = 'background: #2E495E;border-radius: 0.5em;color: white;font-weight: bold;padding: 2px 0.5em;'
+ console.group && console.group ('%cNuxt SSR', ssrLogStyle)
+ logs.forEach(logObj => (console[logObj.type] || console.log)(...logObj.args))
+ delete NUXT.logs
+ console.groupEnd && console.groupEnd()
+}
+
+// Setup global Vue error handler
+if (!Vue.config.$nuxt) {
+ const defaultErrorHandler = Vue.config.errorHandler
+ Vue.config.errorHandler = async (err, vm, info, ...rest) => {
+ // Call other handler if exist
+ let handled = null
+ if (typeof defaultErrorHandler === 'function') {
+ handled = defaultErrorHandler(err, vm, info, ...rest)
+ }
+ if (handled === true) {
+ return handled
+ }
+
+ if (vm && vm.$root) {
+ const nuxtApp = Object.keys(Vue.config.$nuxt)
+ .find(nuxtInstance => vm.$root[nuxtInstance])
+
+ // Show Nuxt Error Page
+ if (nuxtApp && vm.$root[nuxtApp].error && info !== 'render function') {
+ const currentApp = vm.$root[nuxtApp]
+
+ // Load error layout
+ let layout = (NuxtError.options || NuxtError).layout
+ if (typeof layout === 'function') {
+ layout = layout(currentApp.context)
+ }
+ if (layout) {
+ await currentApp.loadLayout(layout).catch(() => {})
+ }
+ currentApp.setLayout(layout)
+
+ currentApp.error(err)
+ }
+ }
+
+ if (typeof defaultErrorHandler === 'function') {
+ return handled
+ }
+
+ // Log to console
+ if (process.env.NODE_ENV !== 'production') {
+ console.error(err)
+ } else {
+ console.error(err.message || err)
+ }
+ }
+ Vue.config.$nuxt = {}
+}
+Vue.config.$nuxt.$nuxt = true
const errorHandler = Vue.config.errorHandler || console.error
@@ -502,6 +561,9 @@ function fixPrepatch (to, ___) {
}
checkForErrors(this)
+
+ // Hot reloading
+ setTimeout(() => hotReloadAPI(this), 100)
})
}
@@ -522,6 +584,110 @@ function nuxtReady (_app) {
})
}
+const noopData = () => { return {} }
+const noopFetch = () => {}
+
+// Special hot reload with asyncData(context)
+function getNuxtChildComponents ($parent, $components = []) {
+ $parent.$children.forEach(($child) => {
+ if ($child.$vnode && $child.$vnode.data.nuxtChild && !$components.find(c =>(c.$options.__file === $child.$options.__file))) {
+ $components.push($child)
+ }
+ if ($child.$children && $child.$children.length) {
+ getNuxtChildComponents($child, $components)
+ }
+ })
+
+ return $components
+}
+
+function hotReloadAPI(_app) {
+ if (!module.hot) return
+
+ let $components = getNuxtChildComponents(_app.$nuxt, [])
+
+ $components.forEach(addHotReload.bind(_app))
+}
+
+function addHotReload ($component, depth) {
+ if ($component.$vnode.data._hasHotReload) return
+ $component.$vnode.data._hasHotReload = true
+
+ var _forceUpdate = $component.$forceUpdate.bind($component.$parent)
+
+ $component.$vnode.context.$forceUpdate = async () => {
+ let Components = getMatchedComponents(router.currentRoute)
+ let Component = Components[depth]
+ if (!Component) {
+ return _forceUpdate()
+ }
+ if (typeof Component === 'object' && !Component.options) {
+ // Updated via vue-router resolveAsyncComponents()
+ Component = Vue.extend(Component)
+ Component._Ctor = Component
+ }
+ this.error()
+ let promises = []
+ const next = function (path) {
+ router.push(path)
+ }
+ await setContext(app, {
+ route: router.currentRoute,
+ isHMR: true,
+ next: next.bind(this)
+ })
+ const context = app.context
+
+ callMiddleware.call(this, Components, context)
+ .then(() => {
+ // If layout changed
+ if (depth !== 0) {
+ return
+ }
+
+ let layout = Component.options.layout || 'default'
+ if (typeof layout === 'function') {
+ layout = layout(context)
+ }
+ if (this.layoutName === layout) {
+ return
+ }
+ let promise = this.loadLayout(layout)
+ promise.then(() => {
+ this.setLayout(layout)
+ Vue.nextTick(() => hotReloadAPI(this))
+ })
+ return promise
+ })
+
+ .then(() => {
+ return callMiddleware.call(this, Components, context, this.layout)
+ })
+
+ .then(() => {
+ // Call asyncData(context)
+ let pAsyncData = promisify(Component.options.asyncData || noopData, context)
+ pAsyncData.then((asyncDataResult) => {
+ applyAsyncData(Component, asyncDataResult)
+ })
+ promises.push(pAsyncData)
+
+ // Call fetch()
+ Component.options.fetch = Component.options.fetch || noopFetch
+ let pFetch = Component.options.fetch.length && Component.options.fetch(context)
+ if (!pFetch || (!(pFetch instanceof Promise) && (typeof pFetch.then !== 'function'))) { pFetch = Promise.resolve(pFetch) }
+
+ promises.push(pFetch)
+
+ return Promise.all(promises)
+ })
+ .then(() => {
+ _forceUpdate()
+ setTimeout(() => hotReloadAPI(this), 100)
+ })
+ }
+}
+
async function mountApp (__app) {
// Set global variables
app = __app.app
@@ -551,6 +717,9 @@ async function mountApp (__app) {
Vue.nextTick(() => {
// Call window.{{globals.readyCallback}} callbacks
nuxtReady(_app)
+
+ // Enable hot reloading
+ hotReloadAPI(_app)
})
}
diff --git a/.nuxt/components/index.js b/.nuxt/components/index.js
index 3e65981..2948567 100644
--- a/.nuxt/components/index.js
+++ b/.nuxt/components/index.js
@@ -1,14 +1,14 @@
-export const Barrage = () => import('../../src/components/Barrage.vue' /* webpackChunkName: "components/barrage" */).then(c => wrapFunctional(c.default || c))
-export const BottomRightFixed = () => import('../../src/components/BottomRightFixed.vue' /* webpackChunkName: "components/bottom-right-fixed" */).then(c => wrapFunctional(c.default || c))
-export const CommonHeader = () => import('../../src/components/CommonHeader.vue' /* webpackChunkName: "components/common-header" */).then(c => wrapFunctional(c.default || c))
-export const DoctorItem = () => import('../../src/components/DoctorItem.vue' /* webpackChunkName: "components/doctor-item" */).then(c => wrapFunctional(c.default || c))
-export const DoctorVideoItem = () => import('../../src/components/DoctorVideoItem.vue' /* webpackChunkName: "components/doctor-video-item" */).then(c => wrapFunctional(c.default || c))
-export const MobileHeader = () => import('../../src/components/MobileHeader.vue' /* webpackChunkName: "components/mobile-header" */).then(c => wrapFunctional(c.default || c))
-export const NotLogin = () => import('../../src/components/NotLogin.vue' /* webpackChunkName: "components/not-login" */).then(c => wrapFunctional(c.default || c))
-export const UserInfoCommon = () => import('../../src/components/UserInfoCommon.vue' /* webpackChunkName: "components/user-info-common" */).then(c => wrapFunctional(c.default || c))
-export const VideoArticleListItem = () => import('../../src/components/VideoArticleListItem.vue' /* webpackChunkName: "components/video-article-list-item" */).then(c => wrapFunctional(c.default || c))
-export const WebFooter = () => import('../../src/components/WebFooter.vue' /* webpackChunkName: "components/web-footer" */).then(c => wrapFunctional(c.default || c))
-export const WebHeader = () => import('../../src/components/WebHeader.vue' /* webpackChunkName: "components/web-header" */).then(c => wrapFunctional(c.default || c))
+export { default as Barrage } from '../../src/components/Barrage.vue'
+export { default as BottomRightFixed } from '../../src/components/BottomRightFixed.vue'
+export { default as CommonHeader } from '../../src/components/CommonHeader.vue'
+export { default as DoctorItem } from '../../src/components/DoctorItem.vue'
+export { default as DoctorVideoItem } from '../../src/components/DoctorVideoItem.vue'
+export { default as MobileHeader } from '../../src/components/MobileHeader.vue'
+export { default as NotLogin } from '../../src/components/NotLogin.vue'
+export { default as UserInfoCommon } from '../../src/components/UserInfoCommon.vue'
+export { default as VideoArticleListItem } from '../../src/components/VideoArticleListItem.vue'
+export { default as WebFooter } from '../../src/components/WebFooter.vue'
+export { default as WebHeader } from '../../src/components/WebHeader.vue'
// nuxt/nuxt.js#8607
function wrapFunctional(options) {
diff --git a/.nuxt/components/nuxt-build-indicator.vue b/.nuxt/components/nuxt-build-indicator.vue
new file mode 100644
index 0000000..913f544
--- /dev/null
+++ b/.nuxt/components/nuxt-build-indicator.vue
@@ -0,0 +1,143 @@
+
+
An error occurred while rendering the page. Check developer tools console for details.
+ diff --git a/.nuxt/dist/client/0580729.js b/.nuxt/dist/client/0580729.js deleted file mode 100644 index ab60758..0000000 --- a/.nuxt/dist/client/0580729.js +++ /dev/null @@ -1 +0,0 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[11,4,6],{612:function(t,e,o){var content=o(615);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,o(23).default)("5f6ab9e8",content,!0,{sourceMap:!1})},613:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAAAXNSR0IArs4c6QAAA4NJREFUWEftmMtr1FAUxr+TtPoXqOjKheCmaLGKRTuTpI9kqiIqOCulglihVsVFUSpCF5ZCFcRCBUdERQXRheLCdtJHMomi4AtEQcWlYls3FVdqkyMT7djHzDTJdIYKzmqYe77v+90zN8m9ISzwDy1wPvzbgH2GsVKEKIMgAShzGc+JhDeaXDMQpvN6KqUyU5VAWMuMbwDp5Vz+WFGqP+byy9rBQdve5jo4CXB1NiGDPwDUJ04s6qyvrx7NBzs4+GSZU/Yj7dVIoFXZagl47MC9FJPlKzPHpwEahlH2E+I5EFr9dIiBV+Rwm1on6dnq9aGUyiKdIWCNHz8QhsdHRxrj8fiPyfoMYN/ww9Wi4L71ZTSriOKqHLkz9WfdtHcDfDuMnytgRSwa/ZzWZgB10/oEYEUYw9+av5CFwP3xeqPKkYoMYNK0EgQcCA8HeOuScRMkjAHusVzrzW8GM5/SFOk0JU2zgSBkXUN+zYpW57BGSdM+QuDzRQspwJiY22jATF1kUHMBPsWUXic9ZT0Do6qYKWG9vduYbloc1qAUunQHn4CxsRRhwTP4JSVNq4eAw8HFJVAQXaZkym4m5osliAseQdxKumGsB4lPg6tLoGBng/eo003rOoA9JYgMEnFDlaN7PcB+w64XiEPt8YIkBql1mRpiSmQws1kYMK27DOwIYlKsWgLuNcjRnZnNQvpL0jAqSBCHwFharGBfvoQxdp06TVFeTwP0IBfAFc1EBzUpkpiczKwtv56yroLR5Gu2811EuKZK0X1TbWcBPrCsJeWMfmasm+/8fH5EePGTENsSjX7JC5ge7DMMWSSxH8DiEkF+d9iJNSqKOTMv57k4adotBO4tBSCDDmly5EK2rLwH96RhdxHxiWJCMtCuydGuXBlzvlkYMO1eBrcUBZK5VVWkvP/SnIDe7ce0uglom09IIqGtQao5O5enL0DveW1Z++Bi1sl/roBs4wz3qCbLPX60vgE9SONRJch56cc4Zw3xVlWSHvj1CASYNu23rOUC4w4Ym/2G/Kl777gT2xtra98F0QUGTJt3dHQIm5S6BJj3+wy7Pz42sisejzs+6zNloQAn1bppdQJozx9K3aocOR4UbLK+IEDvCh+2qwTBbZ55tiZwwnWFhFYbeR4WLq0rGDDTTcOoJEFscl3+CpTf0pRNId+UTZ/OvAEW0qV82v+AhXb2F1BsL4A14kXbAAAAAElFTkSuQmCC"},614:function(t,e,o){"use strict";o(612)},615:function(t,e,o){var n=o(22),r=o(36),l=o(44),d=n(!1),c=r(l);d.push([t.i,"*{margin:0;border:none;padding:0}html{height:100%}body{position:relative;min-width:320px;min-height:100%;background:#fff;font-family:MicrosoftYaHei;font-size:0}body .outer-container{min-width:1258px}body .outer-container.isMobile{min-width:auto}body .outer-container.isMobile .content-container{padding:60px 0 62px;width:100%}body .outer-container.isMobile .content-container .left-content{display:block!important;margin-right:0!important;width:100%!important}body .outer-container.isMobile .content-container .footer-outer{position:absolute!important;min-width:auto!important}body .outer-container.isMobile .content-container .load-more{width:100%!important}body .outer-container.isMobile .content-container .common-flex{display:block!important}body .outer-container.isMobile .content-container .common-other-content{margin:0!important}body .outer-container.isMobile .content-container .common-other-content h6{margin-bottom:10px!important;font-size:20px!important;line-height:28px!important}body .outer-container.isMobile .content-container .common-other-content .font-content b,body .outer-container.isMobile .content-container .common-other-content .font-content h5,body .outer-container.isMobile .content-container .common-other-content .font-content h6,body .outer-container.isMobile .content-container .common-other-content .font-content p{margin-bottom:8px!important;font-size:16px!important;line-height:24px!important;word-break:break-all}body .outer-container.isMobile .content-container .common-other-content .font-content h5{font-size:18px!important}body .outer-container.isMobile.hasLoginBottom{padding-bottom:calc(env(safe-area-inset-bottom) + 55px)}body .outer-container.isMobile.hasLoginBottom .bottom-outer,body .outer-container.isMobile.hasLoginBottom .footer-outer{bottom:calc(constant(safe-area-inset-bottom) + 55px);bottom:calc(env(safe-area-inset-bottom) + 55px)}body .outer-container.isMobile.hasLoginBottom .fixed-box{bottom:calc(constant(safe-area-inset-bottom) + 65px)!important;bottom:calc(env(safe-area-inset-bottom) + 65px)!important}body .content-container{margin:0 auto;width:1080px}body img{vertical-align:top;-o-object-fit:cover;object-fit:cover}body a{text-decoration:none}body .detail-list-item.one-line-columns-4.large-width>p,body .text-ellipsis{display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}body .left-content{display:inline-block;margin-right:32px;width:723px}body .right-content{float:right;display:inline-block;width:325px}body .common-flex{display:grid;grid-template-columns:repeat(4,25%)}body .load-more{margin:0 auto;width:357px;height:50px;background:#f5f5f8;border-radius:4px;font-size:18px;font-family:PingFangSC-Regular,PingFang SC;font-weight:400;color:#939aa7;line-height:50px;text-align:center}body .footer-outer{position:fixed;bottom:0;left:0;width:100%;min-width:1258px;background:#f5f5f8;z-index:9}body .common-title{padding:20px 0 10px;text-align:left;font-size:24px;font-family:PingFangSC-Medium,PingFang SC;font-weight:500;color:#001965;line-height:33px}body .common-title a{float:right;font-size:16px;font-family:PingFangSC-Regular,PingFang SC;font-weight:400;color:#5d6269}body .common-title a i{color:#001965}body p.go-follow{margin-bottom:23px;height:50px;background:#e6553f;border-radius:4px;text-align:center;cursor:pointer;font-size:18px;font-family:PingFangSC-Medium,PingFang SC;font-weight:500;color:#fff;line-height:50px}body .common-other-content{margin:44px 0;padding:30px;box-sizing:border-box}body .common-other-content h6{margin-bottom:20px;font-size:24px;font-family:PingFangSC-Medium,PingFang SC;font-weight:500;color:#001965;line-height:33px}body .common-other-content .font-content b,body .common-other-content .font-content h5,body .common-other-content .font-content h6,body .common-other-content .font-content p{margin-bottom:12px;font-size:18px;color:#5d6269;line-height:30px}body .common-other-content .font-content h5{font-size:20px}body .el-message{top:50%!important}body .el-message i{font-size:16px}@media screen and (max-width:500px){body .el-message{min-width:200px;max-width:80%}}body .video-player-box .vjs-big-play-button{top:50%;left:50%;border:none;outline:none;width:68px;height:67px;transform:translate(-50%,-50%);background:url("+c+') 50% no-repeat;background-color:transparent!important;background-size:68px 67px}body .video-player-box .vjs-big-play-button .vjs-icon-placeholder:before{display:none}body .video-player-box .vjs-control-bar button{outline:none}body .el-avatar>img{width:100%}.detail-list-item{display:block;overflow:hidden;position:relative;margin-bottom:18px;background:#f5f5f8;border-radius:4px;cursor:pointer}.detail-list-item .top-img-box{position:relative;height:131px}.detail-list-item .top-img-box>img:first-child{width:100%;height:100%}.detail-list-item .top-img-box span{position:absolute;top:12px;right:12px;padding:0 9px;height:24px;background:rgba(0,0,0,.4);font-size:14px;font-family:PingFangSC-Regular,PingFang SC;font-weight:400;color:#fff;line-height:24px;border-radius:4px}.detail-list-item .top-img-box>img.play{position:absolute;top:50%;left:50%;margin:-34px 0 0 -34px;width:68px;height:67px}.detail-list-item>p{padding:12px 10px 0;font-size:16px;color:#5d6269;line-height:26px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}.detail-list-item .bottom{position:absolute;bottom:0;left:0;padding:0 10px 22px;width:100%;height:46px;box-sizing:border-box}.detail-list-item .bottom span:first-child{padding:0 9px;height:24px;border-radius:4px;border:1px solid #bac0c2;box-sizing:border-box;font-size:14px;font-family:PingFangSC-Regular,PingFang SC;font-weight:400;color:#939aa7;line-height:22px}.detail-list-item .bottom span:last-child{float:right;font-size:16px;font-family:Apis-Regular,Apis;color:#bac0c2;line-height:24px}.detail-list-item .bottom span:last-child i{margin-left:4px}.detail-list-item .bottom span:last-child img{margin:4px 0 0 4px;width:16px}.detail-list-item.one-line-columns-3{width:230px;height:274px}.detail-list-item.one-line-columns-4{width:255px;height:298px}.detail-list-item.one-line-columns-4 .top-img-box{height:144px}.detail-list-item.one-line-columns-4>p{padding-top:18px}.detail-list-item.one-line-columns-4 .bottom{padding-bottom:30px;height:54px}.detail-list-item.one-line-columns-4.large-width{position:relative;width:529px;grid-column-start:span 2}.detail-list-item.one-line-columns-4.large-width .top-img-box{height:100%}.detail-list-item.one-line-columns-4.large-width .top-img-box>img.play{display:none}.detail-list-item.one-line-columns-4.large-width:after{content:"";position:absolute;bottom:0;left:0;width:100%;height:120px;background:linear-gradient(180deg,transparent,rgba(0,0,0,.4))}.detail-list-item.one-line-columns-4.large-width>p{position:absolute;bottom:62px;left:12px;padding:0;width:calc(100% - 24px);z-index:1;font-size:18px;color:#fff}.detail-list-item.one-line-columns-4.large-width .bottom{z-index:1}.detail-list-item.one-line-columns-4.large-width .bottom span:first-child{border-color:hsla(0,0%,100%,.6);color:#fff}.detail-list-item.one-line-columns-4.large-width .bottom span:last-child{color:#fff}.detail-list-item.one-line-columns-4.large-width.only-img:after{display:none}.detail-list-item.one-line-columns-4.large-width.only-img>img{width:100%;height:100%}.detail-list-item.isMobile{position:relative;display:flex;margin-bottom:1px!important;padding:15px 15px 43px;width:100%!important;height:auto!important;flex-direction:column-reverse;background:#fff;box-sizing:border-box}.detail-list-item.isMobile>p{position:unset!important;display:block;margin-bottom:10px;padding:0;width:100%!important;font-size:18px;font-family:PingFangSC-Medium,PingFang SC;font-weight:500;color:#292b2c!important;line-height:25px;white-space:normal!important}.detail-list-item.isMobile .top-img-box{height:auto}.detail-list-item.isMobile .top-img-box img{border-radius:6px}.detail-list-item.isMobile .top-img-box span{top:auto;bottom:12px}.detail-list-item.isMobile .top-img-box img.play{display:block!important}.detail-list-item.isMobile .bottom{position:absolute;bottom:13px;left:15px;padding:0;width:auto;height:20px}.detail-list-item.isMobile .bottom span:first-child{display:none}.detail-list-item.isMobile .bottom span:last-child{font-size:14px;font-family:PingFangSC-Regular,PingFang SC;font-weight:400;color:#bac0c2!important;line-height:20px}.detail-list-item.isMobile.article-item .top-img-box{position:relative;padding-right:125px;height:80px}.detail-list-item.isMobile.article-item .top-img-box img{position:absolute;top:0;right:0;width:110px;height:80px;border-radius:6px}.detail-list-item.isMobile.article-item.no-intro>p{position:absolute!important;top:15px;padding-right:125px;width:calc(100% - 30px)!important;box-sizing:border-box;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}.detail-list-item.isMobile.article-item.has-intro .top-img-box p{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;font-size:16px;font-family:PingFangSC-Regular,PingFang SC;font-weight:400;color:#5d6269;line-height:24px}.detail-list-item.isMobile:after{display:none}',""]),t.exports=d},616:function(t,e,o){"use strict";o.r(e);o(99);var n={props:{detail:{type:Object,default:null},columnNum:{type:Number,default:1},deviceType:{type:String,default:"pc"}},created:function(){},methods:{goHref:function(t){this.$emit("addStat");var e=!1;"pc"===this.deviceType&&(e=!0),e?window.open(t,"_blank"):window.location.href=t}}},r=(o(614),o(11)),component=Object(r.a)(n,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return 38==t.detail.mainModule?n("div",{staticClass:"only-img detail-list-item large-width",class:"one-line-columns-"+t.columnNum+("pc"!==t.deviceType?" isMobile":""),on:{click:function(e){return t.goHref(t.detail.action_url)}}},[n("img",{attrs:{src:t.detail.image_url,alt:""}})]):n("div",{staticClass:"detail-list-item",class:(2==t.detail.showType?"large-width ":"")+"one-line-columns-"+t.columnNum+("pc"!==t.deviceType?" isMobile":"")+(47==t.detail.mainModule?" video-item":" article-item")+(t.detail.intro&&""!==t.detail.intro?" has-intro":" no-intro"),on:{click:function(e){t.goHref((47==t.detail.mainModule?"/video/":"/article/")+t.detail.id)}}},[n("div",{staticClass:"top-img-box"},[47===t.detail.mainModule||t.detail.thumb?n("img",{attrs:{src:47==t.detail.mainModule?t.detail.video_cover_url:t.detail.thumb,alt:""}}):n("img",{attrs:{src:o(417),alt:""}}),t._v(" "),"pc"!==t.deviceType&&t.detail.intro&&""!==t.detail.intro?n("p",[t._v("\n "+t._s(t.detail.intro)+"\n ")]):t._e(),t._v(" "),47==t.detail.mainModule?[n("span",[t._v(t._s(parseInt(t.detail.video_time/60)>9?parseInt(t.detail.video_time/60):"0"+parseInt(t.detail.video_time/60))+":"+t._s(parseInt(t.detail.video_time%60)>9?parseInt(t.detail.video_time%60):"0"+parseInt(t.detail.video_time%60)))]),t._v(" "),n("img",{staticClass:"play",attrs:{src:o(44),alt:""}})]:t._e()],2),t._v(" "),n("p",[t._v(t._s(t.detail.title))]),t._v(" "),n("div",{staticClass:"bottom"},[n("span",{style:{display:(47==t.detail.mainModule?t.detail.tag_name:t.detail.labelName)?"":"none"}},[t._v(t._s(47==t.detail.mainModule?t.detail.tag_name:t.detail.labelName))]),t._v(" "),n("span",[t._v(t._s(47==t.detail.mainModule?t.detail.play_num:t.detail.hit)),"pc"!==t.deviceType?[t._v(t._s(47==t.detail.mainModule?"播放":"阅读")+" ")]:n("i",{staticClass:"el-icon-view",staticStyle:{"margin-right":"8px"}}),t._v(t._s(47==t.detail.mainModule?t.detail.like_num:t.detail.collect)),"pc"!==t.deviceType?[t._v(t._s(47==t.detail.mainModule?"喜欢":"收藏")+" ")]:[47==t.detail.mainModule?n("img",{attrs:{src:o(613),alt:""}}):n("i",{staticClass:"el-icon-star-on",staticStyle:{"margin-left":"2px","font-size":"18px"}})]],2)])])}),[],!1,null,null,null);e.default=component.exports},617:function(t,e,o){var content=o(620);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,o(23).default)("b222edd0",content,!0,{sourceMap:!1})},618:function(t,e,o){t.exports=o.p+"img/doctor_play_icon.b7d2bd8.png"},619:function(t,e,o){"use strict";o(617)},620:function(t,e,o){var n=o(22),r=o(36),l=o(44),d=n(!1),c=r(l);d.push([t.i,"*{margin:0;border:none;padding:0}html{height:100%}body{position:relative;min-width:320px;min-height:100%;background:#fff;font-family:MicrosoftYaHei;font-size:0}body .outer-container{min-width:1258px}body .outer-container.isMobile{min-width:auto}body .outer-container.isMobile .content-container{padding:60px 0 62px;width:100%}body .outer-container.isMobile .content-container .left-content{display:block!important;margin-right:0!important;width:100%!important}body .outer-container.isMobile .content-container .footer-outer{position:absolute!important;min-width:auto!important}body .outer-container.isMobile .content-container .load-more{width:100%!important}body .outer-container.isMobile .content-container .common-flex{display:block!important}body .outer-container.isMobile .content-container .common-other-content{margin:0!important}body .outer-container.isMobile .content-container .common-other-content h6{margin-bottom:10px!important;font-size:20px!important;line-height:28px!important}body .outer-container.isMobile .content-container .common-other-content .font-content b,body .outer-container.isMobile .content-container .common-other-content .font-content h5,body .outer-container.isMobile .content-container .common-other-content .font-content h6,body .outer-container.isMobile .content-container .common-other-content .font-content p{margin-bottom:8px!important;font-size:16px!important;line-height:24px!important;word-break:break-all}body .outer-container.isMobile .content-container .common-other-content .font-content h5{font-size:18px!important}body .outer-container.isMobile.hasLoginBottom{padding-bottom:calc(env(safe-area-inset-bottom) + 55px)}body .outer-container.isMobile.hasLoginBottom .bottom-outer,body .outer-container.isMobile.hasLoginBottom .footer-outer{bottom:calc(constant(safe-area-inset-bottom) + 55px);bottom:calc(env(safe-area-inset-bottom) + 55px)}body .outer-container.isMobile.hasLoginBottom .fixed-box{bottom:calc(constant(safe-area-inset-bottom) + 65px)!important;bottom:calc(env(safe-area-inset-bottom) + 65px)!important}body .content-container{margin:0 auto;width:1080px}body img{vertical-align:top;-o-object-fit:cover;object-fit:cover}body a{text-decoration:none}body .text-ellipsis{display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}body .left-content{display:inline-block;margin-right:32px;width:723px}body .right-content{float:right;display:inline-block;width:325px}body .common-flex{display:grid;grid-template-columns:repeat(4,25%)}body .load-more{margin:0 auto;width:357px;height:50px;background:#f5f5f8;border-radius:4px;font-size:18px;font-family:PingFangSC-Regular,PingFang SC;font-weight:400;color:#939aa7;line-height:50px;text-align:center}body .footer-outer{position:fixed;bottom:0;left:0;width:100%;min-width:1258px;background:#f5f5f8;z-index:9}body .common-title{padding:20px 0 10px;text-align:left;font-size:24px;font-family:PingFangSC-Medium,PingFang SC;font-weight:500;color:#001965;line-height:33px}body .common-title a{float:right;font-size:16px;font-family:PingFangSC-Regular,PingFang SC;font-weight:400;color:#5d6269}body .common-title a i{color:#001965}body p.go-follow{margin-bottom:23px;height:50px;background:#e6553f;border-radius:4px;text-align:center;cursor:pointer;font-size:18px;font-family:PingFangSC-Medium,PingFang SC;font-weight:500;color:#fff;line-height:50px}body .common-other-content{margin:44px 0;padding:30px;box-sizing:border-box}body .common-other-content h6{margin-bottom:20px;font-size:24px;font-family:PingFangSC-Medium,PingFang SC;font-weight:500;color:#001965;line-height:33px}body .common-other-content .font-content b,body .common-other-content .font-content h5,body .common-other-content .font-content h6,body .common-other-content .font-content p{margin-bottom:12px;font-size:18px;color:#5d6269;line-height:30px}body .common-other-content .font-content h5{font-size:20px}body .el-message{top:50%!important}body .el-message i{font-size:16px}@media screen and (max-width:500px){body .el-message{min-width:200px;max-width:80%}}body .video-player-box .vjs-big-play-button{top:50%;left:50%;border:none;outline:none;width:68px;height:67px;transform:translate(-50%,-50%);background:url("+c+") 50% no-repeat;background-color:transparent!important;background-size:68px 67px}body .video-player-box .vjs-big-play-button .vjs-icon-placeholder:before{display:none}body .video-player-box .vjs-control-bar button{outline:none}body .el-avatar>img{width:100%}.doctor-item{padding:20px 10px 0;width:230px;height:385px;background:#f5f5f8;border-radius:4px;box-sizing:border-box;text-align:center;cursor:pointer}.doctor-item>img{margin:0 auto;border:1px solid #ededed;background:#fff;width:108px;height:108px;border-radius:54px}.doctor-item h5{margin-top:10px;font-size:18px;font-family:MicrosoftYaHei-Bold,MicrosoftYaHei;font-weight:700;color:#001965;line-height:24px}.doctor-item>p{font-size:16px;color:#939aa7;line-height:21px}.doctor-item>p:nth-child(3){margin:11px 0 1px}.doctor-item .expert-video-list{margin-top:21px}.doctor-item .expert-video-list p{display:flex;margin-bottom:22px;text-align:left;align-items:center}.doctor-item .expert-video-list p img{margin-right:10px;width:30px;height:30px;border-radius:15px}.doctor-item .expert-video-list p span{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;font-size:16px;color:#292b2c;line-height:21px}",""]),t.exports=d},624:function(t,e,o){"use strict";o.r(e);o(99);var n={props:{detail:{type:Object,default:null},columnNum:{type:Number,default:1}},created:function(){},methods:{goDoctor:function(t){this.$emit("addStat");var e=this.$router.resolve({path:"/doctor/"+t}).href;window.open(e,"_blank")}}},r=(o(619),o(11)),component=Object(r.a)(n,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{key:t.detail.id,staticClass:"doctor-item",on:{click:function(e){return t.goDoctor(t.detail.video_list[0].id)}}},[n("img",{attrs:{src:t.detail.expert_img,alt:t.detail.username}}),t._v(" "),n("h5",[t._v(t._s(t.detail.username)+" "+t._s(t.detail.title))]),t._v(" "),n("p",{staticClass:"text-ellipsis"},[t._v(t._s(t.detail.hospital_name))]),t._v(" "),n("p",{staticClass:"text-ellipsis"},[t._v(t._s(t.detail.department))]),t._v(" "),n("div",{staticClass:"expert-video-list"},[t._l(t.detail.video_list,(function(video,e){return[e<2?n("p",{key:"live"+video.id,on:{click:function(e){return e.stopPropagation(),t.goDoctor(video.id)}}},[n("img",{attrs:{src:o(618),alt:""}}),t._v(" "),n("span",[t._v(t._s(video.title))])]):t._e()]}))],2)])}),[],!1,null,null,null);e.default=component.exports},644:function(t,e,o){var content=o(685);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,o(23).default)("255c3334",content,!0,{sourceMap:!1})},683:function(t,e,o){t.exports=o.p+"img/novocare_qrcode.05479af.png"},684:function(t,e,o){"use strict";o(644)},685:function(t,e,o){var n=o(22),r=o(36),l=o(44),d=n(!1),c=r(l);d.push([t.i,"*{margin:0;border:none;padding:0}html{height:100%}body{position:relative;min-width:320px;min-height:100%;background:#fff;font-family:MicrosoftYaHei;font-size:0}body .outer-container{min-width:1258px}body .outer-container.isMobile{min-width:auto}body .outer-container.isMobile .content-container{padding:60px 0 62px;width:100%}body .outer-container.isMobile .content-container .left-content{display:block!important;margin-right:0!important;width:100%!important}body .outer-container.isMobile .content-container .footer-outer{position:absolute!important;min-width:auto!important}body .outer-container.isMobile .content-container .load-more{width:100%!important}body .outer-container.isMobile .content-container .common-flex{display:block!important}body .outer-container.isMobile .content-container .common-other-content{margin:0!important}body .outer-container.isMobile .content-container .common-other-content h6{margin-bottom:10px!important;font-size:20px!important;line-height:28px!important}body .outer-container.isMobile .content-container .common-other-content .font-content b,body .outer-container.isMobile .content-container .common-other-content .font-content h5,body .outer-container.isMobile .content-container .common-other-content .font-content h6,body .outer-container.isMobile .content-container .common-other-content .font-content p{margin-bottom:8px!important;font-size:16px!important;line-height:24px!important;word-break:break-all}body .outer-container.isMobile .content-container .common-other-content .font-content h5{font-size:18px!important}body .outer-container.isMobile.hasLoginBottom{padding-bottom:calc(env(safe-area-inset-bottom) + 55px)}body .outer-container.isMobile.hasLoginBottom .bottom-outer,body .outer-container.isMobile.hasLoginBottom .footer-outer{bottom:calc(constant(safe-area-inset-bottom) + 55px);bottom:calc(env(safe-area-inset-bottom) + 55px)}body .outer-container.isMobile.hasLoginBottom .fixed-box{bottom:calc(constant(safe-area-inset-bottom) + 65px)!important;bottom:calc(env(safe-area-inset-bottom) + 65px)!important}body .content-container{margin:0 auto;width:1080px}body img{vertical-align:top;-o-object-fit:cover;object-fit:cover}body a{text-decoration:none}body .text-ellipsis{display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}body .left-content{display:inline-block;margin-right:32px;width:723px}body .right-content{float:right;display:inline-block;width:325px}body .common-flex{display:grid;grid-template-columns:repeat(4,25%)}body .load-more{margin:0 auto;width:357px;height:50px;background:#f5f5f8;border-radius:4px;font-size:18px;font-family:PingFangSC-Regular,PingFang SC;font-weight:400;color:#939aa7;line-height:50px;text-align:center}body .footer-outer{position:fixed;bottom:0;left:0;width:100%;min-width:1258px;background:#f5f5f8;z-index:9}body .common-title{padding:20px 0 10px;text-align:left;font-size:24px;font-family:PingFangSC-Medium,PingFang SC;font-weight:500;color:#001965;line-height:33px}body .common-title a{float:right;font-size:16px;font-family:PingFangSC-Regular,PingFang SC;font-weight:400;color:#5d6269}body .common-title a i{color:#001965}body p.go-follow{margin-bottom:23px;height:50px;background:#e6553f;border-radius:4px;text-align:center;cursor:pointer;font-size:18px;font-family:PingFangSC-Medium,PingFang SC;font-weight:500;color:#fff;line-height:50px}body .common-other-content{margin:44px 0;padding:30px;box-sizing:border-box}body .common-other-content h6{margin-bottom:20px;font-size:24px;font-family:PingFangSC-Medium,PingFang SC;font-weight:500;color:#001965;line-height:33px}body .common-other-content .font-content b,body .common-other-content .font-content h5,body .common-other-content .font-content h6,body .common-other-content .font-content p{margin-bottom:12px;font-size:18px;color:#5d6269;line-height:30px}body .common-other-content .font-content h5{font-size:20px}body .el-message{top:50%!important}body .el-message i{font-size:16px}@media screen and (max-width:500px){body .el-message{min-width:200px;max-width:80%}}body .video-player-box .vjs-big-play-button{top:50%;left:50%;border:none;outline:none;width:68px;height:67px;transform:translate(-50%,-50%);background:url("+c+") 50% no-repeat;background-color:transparent!important;background-size:68px 67px}body .video-player-box .vjs-big-play-button .vjs-icon-placeholder:before{display:none}body .video-player-box .vjs-control-bar button{outline:none}body .el-avatar>img{width:100%}.index-page{padding:116px 0 76px}.index-page .header-outer{position:fixed;top:0;left:0;width:100%;min-width:1258px;background:#001965;z-index:9}.index-page .library-page{padding-top:30px}.index-page .library-page .top-banner{position:relative;border-bottom:1px solid #f5f5f8;padding-bottom:30px}.index-page .library-page .top-banner .pop-banner{position:absolute;top:0;left:0;width:100%;height:calc(100% - 30px);z-index:3}.index-page .library-page .top-banner .pop-banner span{position:absolute;top:12px;right:12px;width:100px;height:25px;border-radius:5px;background:rgba(0,0,0,.4);cursor:pointer;font-size:16px;color:#fff;line-height:25px;text-align:center}.index-page .library-page .top-banner .pop-banner img{width:100%;height:100%;cursor:pointer}.index-page .library-page .top-banner .top-banner-box{overflow:hidden;position:relative;height:100%;border-radius:4px}.index-page .library-page .top-banner .top-banner-box img{width:100%;height:100%;cursor:pointer}.index-page .library-page .top-banner .top-banner-box .mask{position:absolute;bottom:0;left:0;padding:43px 20px 0;width:100%;height:120px;background:linear-gradient(180deg,transparent,rgba(0,0,0,.4));box-sizing:border-box}.index-page .library-page .top-banner .top-banner-box .mask p{font-size:24px;color:#fff;line-height:30px}.index-page .library-page .top-banner .el-carousel__indicators--horizontal{left:0;padding-left:20px;transform:translateX(0)}.index-page .library-page .top-banner .el-carousel__indicators--horizontal .el-carousel__indicator--horizontal{margin-right:8px;padding:0 0 20px}.index-page .library-page .top-banner .el-carousel__indicators--horizontal .el-carousel__indicator--horizontal:last-child{margin-right:0}.index-page .library-page .top-banner .el-carousel__indicators--horizontal .el-carousel__indicator--horizontal .el-carousel__button{width:10px;height:10px;border-radius:5px;opacity:1}.index-page .library-page .top-banner .el-carousel__indicators--horizontal .el-carousel__indicator--horizontal.is-active .el-carousel__button{width:34px}.index-page .library-page .hot-videos{border-bottom:1px solid #f5f5f8;padding-bottom:10px}.index-page .library-page .doctor-box{border-bottom:1px solid #f5f5f8;padding-bottom:20px}.index-page .library-page .common-flex{grid-template-columns:repeat(3,33.33%)}.index-page .library-page .not-login-box{margin-bottom:20px;padding-top:55px;height:202px;background:#f5f5f8;border-radius:4px;box-sizing:border-box;text-align:center}.index-page .library-page .not-login-box h6{font-size:24px;color:#001965;line-height:31px;font-weight:400}.index-page .library-page .not-login-box p{margin:17px auto 0;width:208px;height:50px;background:#e6553f;border-radius:4px;font-size:18px;font-family:PingFangSC-Medium,PingFang SC;font-weight:500;color:#fff;line-height:50px;cursor:pointer}.index-page .library-page .hot-articles-box{margin-bottom:30px}.index-page .library-page .hot-articles-box .common-title{padding:0;font-size:18px;line-height:25px}.index-page .library-page .hot-articles-box .common-title span{position:relative;top:-1px;display:inline-block;margin-left:6px;width:30px;height:15px;background:#e6553f;text-align:center;font-family:PingFangSC-Medium,PingFang SC;font-weight:500;color:#fff;font-size:12px;line-height:15px;border-radius:8px}.index-page .library-page .hot-articles-box div{margin-top:8px}.index-page .library-page .hot-articles-box div a{display:block;position:relative;border-bottom:1px solid #f5f5f8;padding:10px 0 9px 124px;height:100px;box-sizing:border-box}.index-page .library-page .hot-articles-box div a img{position:absolute;left:0;width:110px;height:80px;border-radius:4px}.index-page .library-page .hot-articles-box div a p{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;font-size:16px;color:#292b2c;line-height:24px}.index-page .library-page .hot-articles-box div a p span{display:inline-block;margin-right:4px;width:25px;height:16px;background:#ccc5bd;border-radius:4px;text-align:center;font-size:14px;font-family:Apis-Regular,Apis;font-weight:400;color:#fff;line-height:16px}.index-page .library-page .hot-articles-box div a:first-child p span,.index-page .library-page .hot-articles-box div a:nth-child(2) p span,.index-page .library-page .hot-articles-box div a:nth-child(3) p span{background:#eaab00}.index-page .library-page .go-wechat{display:flex;margin-bottom:30px;padding:20px;width:325px;height:150px;background:#f5f5f8;border-radius:4px;box-sizing:border-box;align-items:center;justify-content:space-between}.index-page .library-page .go-wechat div h4{font-size:24px;color:#001965;line-height:31px}.index-page .library-page .go-wechat div p{margin-top:17px;font-size:16px;font-family:Apis-Regular,Apis;font-weight:400;color:#5d6269;line-height:26px}.index-page .library-page .go-wechat img{width:110px;height:110px;background:#fff}.index-page .library-page .right-banner{width:325px}.index-page .library-page .right-banner img{width:100%;height:150px;border-radius:4px;cursor:pointer}.index-page .bottom-ad{position:fixed;bottom:66px;width:100%;min-width:1258px;height:160px;background:rgba(0,0,0,.5);text-align:center;z-index:4}.index-page .bottom-ad>div{position:relative;margin:0 auto;width:1080px;height:160px;cursor:pointer}.index-page .bottom-ad>div img{width:1080px;height:100%;-o-object-fit:inherit;object-fit:inherit}.index-page .bottom-ad>div i{position:absolute;top:0;left:0;color:#fff;font-size:25px}.index-page.isMobile{padding:0}.index-page.isMobile .library-page{padding:0;background:#f5f5f8}.index-page.isMobile .library-page .top-banner{padding:15px;border-bottom:none;margin-bottom:10px;background:#fff}.index-page.isMobile .library-page .top-banner .el-carousel--horizontal{padding-bottom:16px}.index-page.isMobile .library-page .top-banner .top-banner-box .mask{padding:7px 11.5px 0;height:62px}.index-page.isMobile .library-page .top-banner .top-banner-box .mask p{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;font-size:16px;line-height:24px;white-space:inherit}.index-page.isMobile .library-page .top-banner .el-carousel__indicators--horizontal{bottom:0;left:50%;padding:0;transform:translateX(-50%)}.index-page.isMobile .library-page .top-banner .el-carousel__indicators--horizontal .el-carousel__indicator--horizontal{margin-right:4px;padding:0}.index-page.isMobile .library-page .top-banner .el-carousel__indicators--horizontal .el-carousel__indicator--horizontal .el-carousel__button{width:8px;height:4px;background:#e3e3e3;border-radius:2px}.index-page.isMobile .library-page .top-banner .el-carousel__indicators--horizontal .el-carousel__indicator--horizontal.is-active .el-carousel__button{width:16px;background:#001965}",""]),t.exports=d},703:function(t,e,o){"use strict";o.r(e);var n=[function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("div",[o("h4",[t._v("糖尿病网微信版")]),t._v(" "),o("p",[t._v("前沿专业的公益科普"),o("br"),t._v("专属糖友的知识社区")])])},function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"go-wechat"},[n("div",[n("h4",[t._v("养成健康好习惯")]),t._v(" "),n("p",[t._v("获积分 免费换针头"),n("br"),t._v("扫码前往诺和关怀")])]),t._v(" "),n("img",{attrs:{src:o(683),alt:""}})])}],r=(o(25),o(19),o(24),o(37),o(20),o(38),o(60),o(30),o(61),o(18),o(62),o(63),o(33)),l=o(12),d=o(7),c=(o(52),o(10),o(45),o(46),o(84),o(54),o(64),o(83),o(28));function m(t,e){var o="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!o){if(Array.isArray(t)||(o=function(t,e){if(!t)return;if("string"==typeof t)return h(t,e);var o=Object.prototype.toString.call(t).slice(8,-1);"Object"===o&&t.constructor&&(o=t.constructor.name);if("Map"===o||"Set"===o)return Array.from(t);if("Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o))return h(t,e)}(t))||e&&t&&"number"==typeof t.length){o&&(t=o);var i=0,n=function(){};return{s:n,n:function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r,l=!0,d=!1;return{s:function(){o=o.call(t)},n:function(){var t=o.next();return l=t.done,t},e:function(t){d=!0,r=t},f:function(){try{l||null==o.return||o.return()}finally{if(d)throw r}}}}function h(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,o=new Array(e);i