beelink/dist/js/chunk-14e01a5d.d2983560.js.map
2020-12-02 16:33:04 +08:00

1 line
26 KiB
Plaintext

{"version":3,"sources":["webpack:///./src/static/images/share.png","webpack:///./src/static/images/fenxiang.png","webpack:///./src/components/VideoPlay.vue?8ccb","webpack:///./src/components/VideoCont.vue?6fdb","webpack:///./src/views/regime/VideoInfo.vue?4bda","webpack:///./src/static/images/watch.png","webpack:///./src/views/regime/VideoInfo.vue","webpack:///./src/components/VideoPlay.vue","webpack:///./src/components/VideoPlay.vue?3a69","webpack:///./src/components/VideoPlay.vue?45b8","webpack:///./src/components/VideoCont.vue","webpack:///./src/components/VideoCont.vue?f007","webpack:///./src/components/VideoCont.vue?be26","webpack:///./src/views/regime/VideoInfo.vue?c397","webpack:///./src/views/regime/VideoInfo.vue?0795"],"names":["module","exports","class","title","result","url","fileid","videoid","yuanyin","statusdesc","date","createdAt","watch","share","status","videoinfo","score","src","alt","srcset","style","id","centered","footer","dialogClass","visible","getContainer","modalNode","width","closeIcon","fx","props","type","String","setup","ctx","play","console","log","lan","index","then","res","shareUrl","shareImg","shareTitle","window","open","TCPlayer","fileID","appID","to","from","next","dispose","document","getElementsByClassName","render","__scopeId","$t","update","drop","confirm-loading","confirmLoading","handleOk","Number","e","value","router","push","back","components","VideoPlay","VideoCont","VideoReview","query","commentlist"],"mappings":"mGAAAA,EAAOC,QAAU,khB,qBCAjBD,EAAOC,QAAU,sxB,oCCAjB,W,oCCAA,W,oCCAA,W,mECAAD,EAAOC,QAAU,slC,0JCCRC,MAAM,a,GACFA,MAAM,Q,sOADf,yBAMM,MANN,EAMM,CALF,yBAGM,MAHN,EAGM,CAFF,yBAAkE,GAAtDC,MAAO,EAAAC,OAAOD,MAAQE,IAAK,EAAAD,OAAOE,Q,wBAC9C,yBAA2K,GAA/JC,QAAS,EAAAH,OAAOG,QAAUC,QAAS,EAAAJ,OAAOK,WAAaC,KAAM,EAAAN,OAAOO,UAAYC,MAAO,EAAAR,OAAOQ,MAAQC,MAAO,E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PJMIxfQeRxaC2ANInsAJ0AsFwaoMDgXYh2C/ahmdnUY3BQGqFbzVEQ2ADmMvPpOR2lhgHLBsQBbBI5iz2ynNrULlgjM51qo3p1NlkuVFwpO4prZHJRRfgbd4C6nIq/+lBVw4RB/AnTLrlLo/x/wly4Mkl+4C1neewAEXOwZ/9ev/K1AOXsv4FzmMOXBSAwLMAugJDnjXEAQ218jtK8l7ImPBwAAAABJRU5ErkJggg==\"","module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABHNCSVQICAgIfAhkiAAAAfJJREFUWEftl08oBFEcx3fyJ7m4KAcnuTgpV61aiZuDmyQpF+SoWKT8K5KLA8vBgeLATTlIOW0cHRSlHOTGXZLG5ze9rdnZmd15O/Osg6lv82bm937fz/zezJt5lm3b3YlE4gg1ozDbB0FjlmWd5ILJUUf7EnWFSaBiXtgPW3R+ptGi0VFCswAkXQA9tK80c0j4owDYZXRcBGDFBdBI+x416ebyAnyRYAndou+AZO+Yi1nexn00cKIdVfn0q+fcPioYZi/AAsnXdO+iWDxgtVy/QDJMBZsXoBOAm7gAlPkZ+fpdOc/dx16ADgDu4gAIME+r4b3OeRgBCDBf5+bSXEthbg4AA3kIT9GAq5IbmM/KsVEAZX6Iz5CfuVGAMObGAALMMxhOUvq8iS72ISChhdEBGnWV3ddcVaCV/ROSfq+R3gJlvkOi8TDmuRj6DdLuQ5moAGK86zLfoz3hLXuxeSUqwDTJN5XBMfsRzIO+Ib4cUQFknp9Bn2hL11yIIgEUK23YaxUB4CGcArAXbf86AOZtGD+oCr1VAiCFubmPUamxj30mLGXovf4P8OcrkGQ2y+qOq048FZD3X1ZRzmb8t9znIVzl3HwQgCxMlpH8mmt9VEJUoZoYWc7NoZoggBB54g0pd3EaF4WzONVdnsdl7izPfwB42kY2tFiNbQAAAABJRU5ErkJggg==\"","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader-v16/dist/index.js??ref--0-1!./VideoPlay.vue?vue&type=style&index=0&id=471d113a&lang=scss&scoped=true\"","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader-v16/dist/index.js??ref--0-1!./VideoCont.vue?vue&type=style&index=0&id=003d59b2&lang=scss&scoped=true\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader-v16/dist/index.js??ref--0-1!./VideoInfo.vue?vue&type=style&index=0&id=f3c916e0&lang=scss&scoped=true\"","module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAAQCAYAAAD0xERiAAAC80lEQVQ4T21UTWhUVxg95yWdeRs1URdWV2Kxi4qIaLSLQpGWblTIeyaUQqsJgu+lcdNNtZMQR9NAFyXQn7wXf5JUIsKQedPWKFm10oUVXTluqlioICWbqkWQ+8bMO2WGzptJ9FtdvnvOud+93/ku8aqIvluXTax+WjwAcBuANQD+BXBXwJV4qX0KvUcfr6RyZSJbDI+DGiW4GsAjCbdJPRHYSaALwCbVhZNc7Ax838pviv060m4/3vADyI8g3YCFnOn2r688zI6CfQBHAbwNYta8WHsEvb3VGi4Vy0TBjAUehpQ35cXTyOeTGiA7N/GeyJ0ky7HjLdTFR0Yse/uGUyCHE2C64nj9qZgdBf0ALyRKchV3YKxRjR2FUwD6mtWpYLq9D0GqlstEQc6qVSn1GdefIUrjHbbsBxJvxK53sEHMRJM9FlSAdB7UrMRDJAcbxAYuWwznSewxzytbmImCEwTz1NJW4w4+TKsqhQuQbOP476bEKLhGcJVxvHdSXOHbzWp/7Q9Rw8wWw/u0eNN0H/uk9bHtYvhI0Hjs+l+nYnOBD4tjseN1LsNG4aygXcxG4T0Ct4zjfbwMUAofJsJExfG+arnScRIjxvHWL8cGlyTuZCYKPydwmtSbptv/q0kMfgKxKb6z2FXvrES7NPkbJGNc//30mj+f26wX1XtQkiOufbPaNpk/BdyMHe9AKvbj2Q+YJAuC5i3pcmK1OZTcpFp1Kz2fRimuFF6luNs8j9+o+8wuBkdATifQUMXxv2xaY3IU0BcNPwocj51jn6UdL4VDlnAGwGHjeBdbTBtOWTVPSWdMefFUw7SZubNvWVZ1R5LobuXQQLlp2tfzIIYkXIhd7+iyCUCh0Ga3/TMNstaI31FdGjY9g78AqBv0/6BdCvdBqI3TXggXTXVt/0vj1HyDSR/SGIEOQH9LvEXgqYAOUl0ANwp4CuBk7Hhha1df+jXqm/MTndmK1UdgP6DtAFcBegawLOhKnNEM9g88aRWqrf8DhK1QcCrNvQ0AAAAASUVORK5CYII=\"","<template>\n <div class=\"videoinfo\">\n <div class=\"info\">\n <VideoPlay :title=\"result.title\" :url=\"result.fileid\"></VideoPlay>\n <VideoCont :videoid=\"result.videoid\" :yuanyin=\"result.statusdesc\" :date=\"result.createdAt\" :watch=\"result.watch\" :share=\"result.share\" :status=\"result.status\"></VideoCont>\n </div>\n <VideoReview :videoinfo=\"result.score\" class=\"review\" v-if=\"result.status == 1\"></VideoReview>\n </div>\n</template>\n<style lang=\"scss\" scoped>\n.videoinfo{\n width: 1320px;\n height: 563px;\n .info{\n display: flex;\n justify-content: space-between;\n }\n .review{\n margin-top: 28px;\n }\n}\n</style>\n<script lang=\"ts\">\nimport { defineComponent, onMounted, ref } from 'vue';\nimport VideoPlay from \"@/components/VideoPlay.vue\"\nimport VideoCont from \"@/components/VideoCont.vue\"\nimport VideoReview from \"@/components/VideoReview.vue\";\nimport { getcommentlist, videodetail } from '@/api';\nimport { useRoute } from 'vue-router';\nexport default defineComponent({\n components:{\n VideoPlay,\n VideoCont,\n VideoReview\n },\n setup(){\n // console.log(1)\n console.log(useRoute().query)\n const result=ref({})\n const commentlist=ref({})\n const videoid=ref(useRoute().query.id)\n onMounted(async () => {\n result.value= await videodetail(useRoute().query.id)\n // commentlist.value=await getcommentlist({type:2,id:videoid.value})\n })\n \n return {\n result,\n commentlist,\n videoid\n }\n \n }\n})\n</script>","<template>\n <div class=\"video\">\n <div class=\"title\">{{title}}</div>\n <div class=\"title fenxiang\"> <img src=\"@/static/images/fenxiang.png\" alt=\"\"> 立即分享</div>\n <video style=\"width:100%; height:100%;\" :id=\"'a' + url\" ></video>\n <div class=\"modal-container\">\n <!-- @cancel=\"hideNoticeModal\" -->\n\n <a-modal\n centered\n :footer=\"null\"\n dialogClass=\"modal-dialog\"\n :visible=\"true\"\n title=\"请选择分享途径\"\n :getContainer=\"modalNode\"\n width=\"4rem\"\n >\n <template v-slot:closeIcon>\n <img src=\"@/static/images/delete.png\" class=\"close\" />\n </template>\n <div class=\"notice-container report\">\n <div @click=\"fx(1)\">\n <img src=\"@/static/images/weibo.png\" alt=\"\" srcset=\"\">\n 新浪微博\n </div>\n <div @click=\"fx(2)\">\n <img src=\"@/static/images/facebook.png\" alt=\"\" srcset=\"\">\n Facebook\n </div>\n \n </div>\n \n </a-modal>\n </div>\n </div>\n</template>\n<style lang=\"scss\" scoped>\n.video{\n width: 976px;\n height: 563px;\n border-radius: 17px;\n background: white;\n position: relative;\n // background-color: #0f0;\n overflow: hidden;\n >video{\n width: 100%;\n height: 100%;\n }\n .title{\n position: absolute;\n top: 23px;\n left: 51px;\n font-size: 13px;\n color: #fff;\n z-index: 999;\n }\n .fenxiang{\n left: unset;\n right: 51px;\n display: flex;\n align-items: center;\n >img{\n width: 11px;\n height: 11px;\n margin-right: 11px;\n }\n }\n}\n.modal-container {\n ::v-deep(.ant-modal-header){\n padding: 0;\n }\n ::v-deep(.ant-modal-title){\n font-size: 12px;\n margin-top: -0.09rem;\n padding-bottom: 20px;\n }\n ::v-deep(.ant-modal-close){\n top: 8px;\n }\n ::v-deep(.ant-modal-body){\n padding: 0;\n }\n ::v-deep(.modal-dialog) {\n border-radius: 36px;\n overflow: hidden;\n .close {\n width: 14px;\n height: 14px;\n }\n .ant-modal-content {\n box-sizing: border-box;\n padding: 35px 30px;\n // width: 569px;\n background: #ffffff;\n box-shadow: 0px 4px 6px 0px rgba(102, 102, 102, 0.07);\n border-radius: 26px;\n overflow: hidden;\n .notice-container {\n display: flex;\n align-items: center;\n padding-top: 30px;\n >div{\n width: auto;\n display: flex;\n align-items: center;\n font-size: 12px;\n >img{\n width: 35px;\n margin-right: 5px;\n }\n }\n >div:first-child{\n margin-right: 80px;\n\n }\n }\n .report {\n .sub-title {\n margin-bottom: 50px;\n }\n }\n }\n }\n }\n</style>\n<script lang=\"ts\">\nimport { share } from '@/api';\nimport router from '@/router';\nimport { useI18n } from '@/utils/i18n';\nimport { defineComponent, onMounted, onUpdated } from 'vue';\nimport { onBeforeRouteLeave, useRouter } from 'vue-router';\n\nexport default defineComponent({\n props:{\n url: {\n type: String\n },\n title: {\n type: String\n }\n },\n setup(props, ctx){\n console.log(1)\n let play: any;\n const lan = useI18n()\n onUpdated(()=>{\n console.log(props.url)\n play = window.TCPlayer('a' + props.url, { \n fileID: props.url,\n appID: '1303872925' \n });\n })\n onBeforeRouteLeave((to, from, next) => {\n console.log(121)\n play.dispose()\n next()\n })\n function fx(index: number){\n console.log(index)\n share().then((res: any)=>{\n console.log(res)\n let url = \"\";\n if(index == 1){\n url = `https://service.weibo.com/share/share.php?url=${res.shareUrl}&appkey=2754574056&language=zh_cn&pic=${res.shareImg}&searchPic=true&title=${res.shareTitle}`\n }else {\n url = `https://www.facebook.com/sharer/sharer.php?%20u=${res.shareUrl}&t=${res.shareTitle}`\n }\n window.open(url, \"_blank\")\n })\n }\n return{\n lan,\n modalNode: () =>\n document.getElementsByClassName(\"modal-container\")[0],\n fx\n }\n \n }\n})\n</script>","\nimport { share } from '@/api';\nimport router from '@/router';\nimport { useI18n } from '@/utils/i18n';\nimport { defineComponent, onMounted, onUpdated } from 'vue';\nimport { onBeforeRouteLeave, useRouter } from 'vue-router';\n\nexport default defineComponent({\n props:{\n url: {\n type: String\n },\n title: {\n type: String\n }\n },\n setup(props, ctx){\n console.log(1)\n let play: any;\n const lan = useI18n()\n onUpdated(()=>{\n console.log(props.url)\n play = window.TCPlayer('a' + props.url, { \n fileID: props.url,\n appID: '1303872925' \n });\n })\n onBeforeRouteLeave((to, from, next) => {\n console.log(121)\n play.dispose()\n next()\n })\n function fx(index: number){\n console.log(index)\n share().then((res: any)=>{\n console.log(res)\n let url = \"\";\n if(index == 1){\n url = `https://service.weibo.com/share/share.php?url=${res.shareUrl}&appkey=2754574056&language=zh_cn&pic=${res.shareImg}&searchPic=true&title=${res.shareTitle}`\n }else {\n url = `https://www.facebook.com/sharer/sharer.php?%20u=${res.shareUrl}&t=${res.shareTitle}`\n }\n window.open(url, \"_blank\")\n })\n }\n return{\n lan,\n modalNode: () =>\n document.getElementsByClassName(\"modal-container\")[0],\n fx\n }\n \n }\n})\n","import { render } from \"./VideoPlay.vue?vue&type=template&id=471d113a&scoped=true&bindings={}\"\nimport script from \"./VideoPlay.vue?vue&type=script&lang=ts\"\nexport * from \"./VideoPlay.vue?vue&type=script&lang=ts\"\n\nimport \"./VideoPlay.vue?vue&type=style&index=0&id=471d113a&lang=scss&scoped=true\"\nscript.render = render\nscript.__scopeId = \"data-v-471d113a\"\n\nexport default script"," <template>\n <div class=\"cont\">\n <div class=\"title\">{{lan.$t('shipinshuju')}}</div>\n <div class=\"info\">\n <div class=\"item\">\n <img src=\"@/static/images/livewatch.png\" alt=\"\" />\n <span> {{lan.$t('shangchuanshijian')}} </span>\n <span>{{date}}</span>\n \n </div>\n <div class=\"item\">\n <img src=\"@/static/images/watch.png\" alt=\"\" />\n <span>{{lan.$t('bofangliang')}}</span>\n <span> {{watch}}</span>\n \n </div>\n <div class=\"item\">\n <img src=\"@/static/images/share.png\" alt=\"\" />\n <span>{{lan.$t('zhuanfaliang')}}</span>\n <span>{{share}}</span>\n </div>\n <div class=\"item item1\" v-if=\"status==0\">\n <span>{{lan.$t('zhuangtai')}}</span>\n <span class=\"status\">{{lan.$t('shenheing')}}</span>\n </div>\n <!-- <div class=\"item item1\" v-if=\"status==1\">\n <span>{{lan.$t('zhuangtai')}}</span>\n <span class=\"status1\">{{lan.$t('shenheing')}}</span>\n \n </div> -->\n <div class=\"item item1\" v-if=\"status==2\">\n <span>{{lan.$t('zhuangtai')}}</span>\n <span class=\"status1\" style=\"color: #D12C2E\">{{lan.$t('shenheweitongguo')}}</span>\n </div>\n <div class=\"item item1\" v-if=\"status==2\">\n <span style=\"flex-shrink:0\">{{lan.$t('yuanyin')}}</span>\n <span> {{yuanyin}} </span>\n </div>\n \n </div>\n <div class=\"button\">\n <div class=\"modify\" @click=\"update(videoid)\">{{lan.$t('xiugaishipin')}}</div>\n <div class=\"del\" @click=\"drop(videoid)\">{{lan.$t('shanchushipin')}}</div>\n <a-modal\n title=\"确认删除\"\n v-model:visible=\"visible\"\n :confirm-loading=\"confirmLoading\"\n @ok=\"handleOk\"\n >\n <p>{{lan.$t('querenshanchu')}}</p>\n </a-modal>\n </div>\n </div>\n</template>\n<style lang=\"scss\" scoped>\n.cont {\n width: 316px;\n height: 563px;\n background-color: #fff;\n border-radius: 17px;\n padding: 0 28px;\n position: relative;\n .title {\n padding: 23px 0 11px 0;\n font-size: 13px;\n color: #111;\n line-height: 1;\n border-bottom: 1px solid #eee;\n }\n .info {\n .item1{\n position: relative;\n left:-12px\n }\n .status{\n color: #07AD97!important;\n // font-weight: bold;\n }\n .status1{\n color: #D12C2D!important;\n }\n .item {\n display: flex;\n align-content: center;\n margin-top: 23px;\n > img {\n width: 24px;\n height: 24px;\n // background-color: #0f0;\n }\n > span {\n font-size: 11px;\n color: #666;\n margin-left: 10px;\n }\n }\n }\n .button {\n position: absolute;\n width: 260px;\n bottom: 28px;\n display: flex;\n justify-content: space-between;\n > div {\n width: 114px;\n height: 23px;\n border-radius: 3px;\n font-size: 10px;\n color: #fff;\n line-height: 23px;\n text-align: center;\n cursor: pointer;\n }\n .modify {\n background-color: #08ae98;\n }\n .del {\n background-color: #d12c2e;\n }\n }\n}\n</style>\n<script lang=\"ts\">\nimport { videodel } from '@/api';\nimport router from '@/router';\nimport { useI18n } from '@/utils/i18n';\nimport { defineComponent, ref } from \"vue\";\nimport { useRoute } from 'vue-router';\n\nexport default defineComponent({\n props:{\n date: {\n type:String\n },\n watch: {\n type:Number\n },\n share: {\n type:Number\n },\n status: {\n type:Number\n },\n videoid: {\n type:Number\n },\n yuanyin: {\n type: String\n }\n },\n setup(){\n const lan: any = useI18n();\n console.log(1)\n const visible = ref(false);\n const confirmLoading = ref(false);\n let id = 0;\n function drop(e: number){\n console.log(e);\n id = e;\n visible.value = true;\n }\n function update(e: number) {\n router.push(\"/mine/video?id=\"+e)\n }\n function handleOk() {\n \n confirmLoading.value = true;\n videodel(id).then(()=>{\n visible.value = false;\n confirmLoading.value = false;\n router.back()\n })\n }\n return{\n drop,\n update,\n confirmLoading,\n visible,\n handleOk,\n lan\n }\n }\n});\n</script>","\nimport { videodel } from '@/api';\nimport router from '@/router';\nimport { useI18n } from '@/utils/i18n';\nimport { defineComponent, ref } from \"vue\";\nimport { useRoute } from 'vue-router';\n\nexport default defineComponent({\n props:{\n date: {\n type:String\n },\n watch: {\n type:Number\n },\n share: {\n type:Number\n },\n status: {\n type:Number\n },\n videoid: {\n type:Number\n },\n yuanyin: {\n type: String\n }\n },\n setup(){\n const lan: any = useI18n();\n console.log(1)\n const visible = ref(false);\n const confirmLoading = ref(false);\n let id = 0;\n function drop(e: number){\n console.log(e);\n id = e;\n visible.value = true;\n }\n function update(e: number) {\n router.push(\"/mine/video?id=\"+e)\n }\n function handleOk() {\n \n confirmLoading.value = true;\n videodel(id).then(()=>{\n visible.value = false;\n confirmLoading.value = false;\n router.back()\n })\n }\n return{\n drop,\n update,\n confirmLoading,\n visible,\n handleOk,\n lan\n }\n }\n});\n","import { render } from \"./VideoCont.vue?vue&type=template&id=003d59b2&scoped=true&bindings={}\"\nimport script from \"./VideoCont.vue?vue&type=script&lang=ts\"\nexport * from \"./VideoCont.vue?vue&type=script&lang=ts\"\n\nimport \"./VideoCont.vue?vue&type=style&index=0&id=003d59b2&lang=scss&scoped=true\"\nscript.render = render\nscript.__scopeId = \"data-v-003d59b2\"\n\nexport default script","\nimport { defineComponent, onMounted, ref } from 'vue';\nimport VideoPlay from \"@/components/VideoPlay.vue\"\nimport VideoCont from \"@/components/VideoCont.vue\"\nimport VideoReview from \"@/components/VideoReview.vue\";\nimport { getcommentlist, videodetail } from '@/api';\nimport { useRoute } from 'vue-router';\nexport default defineComponent({\n components:{\n VideoPlay,\n VideoCont,\n VideoReview\n },\n setup(){\n // console.log(1)\n console.log(useRoute().query)\n const result=ref({})\n const commentlist=ref({})\n const videoid=ref(useRoute().query.id)\n onMounted(async () => {\n result.value= await videodetail(useRoute().query.id)\n // commentlist.value=await getcommentlist({type:2,id:videoid.value})\n })\n \n return {\n result,\n commentlist,\n videoid\n }\n \n }\n})\n","import { render } from \"./VideoInfo.vue?vue&type=template&id=f3c916e0&scoped=true&bindings={}\"\nimport script from \"./VideoInfo.vue?vue&type=script&lang=ts\"\nexport * from \"./VideoInfo.vue?vue&type=script&lang=ts\"\n\nimport \"./VideoInfo.vue?vue&type=style&index=0&id=f3c916e0&lang=scss&scoped=true\"\nscript.render = render\nscript.__scopeId = \"data-v-f3c916e0\"\n\nexport default script"],"sourceRoot":""}