-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy patha06405ea27deed606aa3.js.map
1 lines (1 loc) · 15.2 KB
/
a06405ea27deed606aa3.js.map
1
{"version":3,"sources":["webpack:///./utils/fetchTopic.js","webpack:///./pages/sponsors.vue?244d","webpack:///./pages/sponsors.vue?a682","webpack:///./pages/sponsors.vue?c35a","webpack:///pages/sponsors.vue","webpack:///./pages/sponsors.vue"],"names":["fetchDays","axios","get","process","then","_ref","days","data","fetchEventInfo","_ref2","conference","fetchTopics","_ref3","keys","Map","flatMap","day","timeslots","_ref4","events","filter","topic","has","internal","set","sort","left","right","display","localeCompare","fetchTopicById","id","_ref5","map","forEach","_ref6","date","_ref7","e","_e$time","time","startTime","endTime","Object","_babel_runtime_helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_5__","replace","toLowerCase","u","url","parse","path","basename","pathname","topicSlug","_babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_0__","_node_modules_extract_css_chunks_webpack_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_lib_loader_js_ref_9_oneOf_1_3_node_modules_vue_loader_lib_index_js_vue_loader_options_sponsors_vue_vue_type_style_index_0_lang_scss___WEBPACK_IMPORTED_MODULE_0__","__webpack_require__","n","pages_sponsorsvue_type_script_lang_js_","name","head","title","meta","hid","property","content","sponsors","patrons","asyncData","fetchTopic","component","componentNormalizer","_vm","this","_h","$createElement","_c","_self","staticClass","_v","_l","tier","key","_s","sponsor","attrs","src","logo","alt","domProps","innerHTML","description","_e","link","index","href","length","patron","__webpack_exports__"],"mappings":"0VAKe,SAASA,IAOtB,OAAOC,IAAMC,IAA8DC,6BACxEC,KAAK,SAAAC,GAAA,MAAyB,CAAEC,KAA3BD,EAAGE,KAAQD,QAGd,SAASE,IAOd,OAAOP,IA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AA,mBAAAP,EAAAW,GAAAC,EAAAvB,OAAA,oBAAAW,EAAAO,GAAA,KAAAK,EAAA,YAAAR,EAAA,OAAkHE,YAAA,mBAA8B,CAAAF,EAAA,WAAAA,EAAA,WAAAJ,EAAAO,GAAA,WAAAP,EAAAO,GAAA,KAAAH,EAAA,OAAsEE,YAAA,UAAAW,SAAA,CAAgCC,UAAAlB,EAAAW,GAAAC,EAAAO,oBAAyCnB,EAAAoB,KAAApB,EAAAO,GAAA,KAAAH,EAAA,OAAqCE,YAAA,WAAsB,CAAAF,EAAA,MAAWE,YAAA,SAAoBN,EAAAQ,GAAAI,EAAA,eAAAS,KAAAC,GAA6C,OAAAlB,EAAA,MAAgBM,IAAAY,GAAU,CAAAlB,EAAA,KAAUE,YAAA,iBAAAO,MAAA,CAAoCU,KAAAF,KAAA7C,MAAiB,CAAAwB,EAAAO,GAAAP,EAAAW,GAAAU,KAAAhC,cAAiC,WAAW,OAAOW,EAAAO,GAAA,KAAAP,EAAAL,QAAA6B,OAAA,EAAApB,EAAA,OAAiDE,YAAA,4BAAuC,CAAAF,EAAA,MAAWE,YAAA,cAAyB,CAAAN,EAAAO,GAAA,+BAAAP,EAAAO,GAAA,KAAAH,EAAA,OAA8DE,YAAA,sCAAiD,CAAAF,EAAA,OAAYE,YAAA,sEAAiF,CAAAF,EAAA,KAAAJ,EAAAQ,GAAAR,EAAA,iBAAAyB,GAAgD,OAAArB,EAAA,MAAgBM,IAAAe,GAAW,CAAAzB,EAAAO,GAAA,mBAAAP,EAAAW,GAAAc,GAAA,sBAA+D,SAAAzB,EAAAoB,MAAA,MAC34D,IGWA,EACA,KACA,KACA,MAIeM,EAAA,QAAA5B","file":"a06405ea27deed606aa3.js","sourcesContent":["import axios from 'axios';\nimport path from 'path';\nimport url from 'url';\nimport flatMap from 'lodash.flatmap';\n\nexport default function fetchDays() {\n // Use import local data\n if (process.server && process.env.NUXT_MODE === 'generate') {\n // eslint-disable-next-line\n return Promise.resolve(require('../static/data/timetable.json'));\n }\n\n return axios.get(process.client && process.env.NODE_ENV === 'production' ? process.env.PUBLIC_TIMETABLE_URL : process.env.TIMETABLE_URL)\n .then(({ data: { days } }) => ({ days }));\n}\n\nexport function fetchEventInfo() {\n // Use import local data\n if (process.server && process.env.NUXT_MODE === 'generate') {\n // eslint-disable-next-line\n return Promise.resolve(require('../static/data/event_info.json'));\n }\n\n return axios.get(process.client && process.env.NODE_ENV === 'production' ? process.env.PUBLIC_EVENT_INFO_URL : process.env.EVENT_INFO_URL)\n .then(({ data: { conference } }) => ({ conference }));\n}\n\nexport function topicSlug(topic) {\n if (typeof topic !== 'object') return '';\n if (typeof topic.internal !== 'string') return topic.replace(/[^_\\W]+/g, '', '').replace(' ', '-').toLowerCase();\n const u = url.parse(topic.internal);\n return path.basename(u.pathname);\n}\n\nexport function fetchTopics() {\n return fetchDays()\n .then(({ days }) => {\n const keys = new Map();\n return flatMap(\n days,\n day => flatMap(day.timeslots, ({ events }) => events),\n )\n .filter((topic) => {\n if (!topic || !topic.topic) {\n return false;\n }\n\n if (keys.has(topic.internal)) {\n return false;\n }\n keys.set(topic.internal, true);\n return true;\n })\n .sort((left, right) => left.display.localeCompare(right.display));\n });\n}\n\nexport function fetchTopicById(id) {\n return fetchDays()\n .then(({ days }) => {\n const map = new Map();\n days.forEach(({ day, date, timeslots }) => {\n timeslots.forEach(({ events }) => {\n events.forEach((e) => {\n if (!e.topic) return;\n const { startTime, endTime } = e.time;\n map.set(topicSlug(e), {\n day,\n date,\n startTime,\n endTime,\n ...e,\n });\n });\n });\n });\n return map.get(id);\n });\n}\n","import mod from \"-!../node_modules/extract-css-chunks-webpack-plugin/dist/loader.js??ref--9-oneOf-1-0!../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../node_modules/sass-loader/lib/loader.js??ref--9-oneOf-1-3!../node_modules/vue-loader/lib/index.js??vue-loader-options!./sponsors.vue?vue&type=style&index=0&lang=scss&\"; export default mod; export * from \"-!../node_modules/extract-css-chunks-webpack-plugin/dist/loader.js??ref--9-oneOf-1-0!../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../node_modules/sass-loader/lib/loader.js??ref--9-oneOf-1-3!../node_modules/vue-loader/lib/index.js??vue-loader-options!./sponsors.vue?vue&type=style&index=0&lang=scss&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('main',{staticClass:\"section\"},[_c('div',{staticClass:\"container sponsor__container\"},[_c('h1',{staticClass:\"title is-3\"},[_vm._v(\"\\n Sponsors\\n \")]),_vm._v(\" \"),_vm._l((_vm.sponsors),function(tier){return _c('div',{key:tier.name,staticClass:\"sponsor__container__tier\"},[_c('h2',{staticClass:\"title is-4\"},[_vm._v(\"\\n \"+_vm._s(tier.name)+\"\\n \")]),_vm._v(\" \"),_c('div',{staticClass:\"sponsor__container__tier__sponsors\"},_vm._l((tier.sponsors),function(sponsor){return _c('div',{key:sponsor.title,staticClass:\"sponsor__container__tier__sponsor\"},[_c('div',{staticClass:\"sponsor__container__tier__sponsor__logo\"},[_c('img',{attrs:{\"src\":sponsor.logo,\"alt\":sponsor.title}})]),_vm._v(\" \"),_c('div',{staticClass:\"sponsor__container__tier__sponsor__desc\"},[_c('h3',{staticClass:\"title is-5\"},[_vm._v(\"\\n \"+_vm._s(sponsor.title)+\"\\n \")]),_vm._v(\" \"),(sponsor.description)?_c('div',{staticClass:\"content-wrapper\"},[_c('details',[_c('summary',[_vm._v(\"About\")]),_vm._v(\" \"),_c('div',{staticClass:\"content\",domProps:{\"innerHTML\":_vm._s(sponsor.description)}})])]):_vm._e(),_vm._v(\" \"),_c('div',{staticClass:\"actions\"},[_c('ul',{staticClass:\"links\"},_vm._l((sponsor.links),function(link,index){return _c('li',{key:index},[_c('a',{staticClass:\"button is-link\",attrs:{\"href\":link.url}},[_vm._v(_vm._s(link.title))])])}),0)])])])}),0)])}),_vm._v(\" \"),(_vm.patrons.length > 0)?_c('div',{staticClass:\"sponsor__container__tier\"},[_c('h2',{staticClass:\"title is-3\"},[_vm._v(\"\\n Patrons\\n \")]),_vm._v(\" \"),_c('div',{staticClass:\"sponsor__container__tier__sponsors\"},[_c('div',{staticClass:\"sponsor__container__tier__sponsor sponsor__container__tier__patron\"},[_c('ul',_vm._l((_vm.patrons),function(patron){return _c('li',{key:patron},[_vm._v(\"\\n \"+_vm._s(patron)+\"\\n \")])}),0)])])]):_vm._e()],2)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../node_modules/babel-loader/lib/index.js??ref--2-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./sponsors.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../node_modules/babel-loader/lib/index.js??ref--2-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./sponsors.vue?vue&type=script&lang=js&\"","<style lang=\"scss\">\n.sponsor__container {\n h1.title {\n text-align: center;\n }\n}\n.sponsor__container__tier {\n margin: 2em 0 1em;\n h2 {\n text-align: center;\n }\n}\n.sponsor__container__tier__sponsors {\n display: flex;\n flex-wrap: wrap;\n justify-content: center;\n}\n.sponsor__container__tier__sponsor {\n width: calc( 100% - 2em );\n padding: 1em;\n margin: 1em 0;\n box-shadow: 0 2px 3px rgba(10,10,10,.1), 0 0 0 1px rgba(10,10,10,.1);\n @include media(\">=desktop\") {\n width: calc( 33.33% - 2em );\n margin: 1em;\n }\n}\n.sponsor__container__tier__sponsor__logo {\n display: flex;\n justify-content: center;\n align-items: center;\n padding: 1em;\n height: 320px;\n}\n.sponsor__container__tier__sponsor__desc {\n .content-wrapper {\n summary {\n cursor: pointer;\n }\n }\n}\n\n.sponsor__container__tier__patron {\n text-align: center;\n ul {\n list-style-type: none;\n li {\n display: block;\n line-height: 2.6em;\n font-size: 1.2em;\n }\n }\n}\n\n</style>\n\n<template>\n <main class=\"section\">\n <div class=\"container sponsor__container\">\n <h1 class=\"title is-3\">\n Sponsors\n </h1>\n <div\n v-for=\"tier in sponsors\"\n :key=\"tier.name\"\n class=\"sponsor__container__tier\"\n >\n <h2 class=\"title is-4\">\n {{ tier.name }}\n </h2>\n <div class=\"sponsor__container__tier__sponsors\">\n <div\n v-for=\"sponsor in tier.sponsors\"\n :key=\"sponsor.title\"\n class=\"sponsor__container__tier__sponsor\"\n >\n <div class=\"sponsor__container__tier__sponsor__logo\">\n <img\n :src=\"sponsor.logo\"\n :alt=\"sponsor.title\"\n >\n </div>\n <div class=\"sponsor__container__tier__sponsor__desc\">\n <h3 class=\"title is-5\">\n {{ sponsor.title }}\n </h3>\n <div\n v-if=\"sponsor.description\"\n class=\"content-wrapper\"\n >\n <details>\n <summary>About</summary>\n <div\n v-html=\"sponsor.description\"\n class=\"content\"\n />\n </details>\n </div>\n <div class=\"actions\">\n <ul class=\"links\">\n <li\n v-for=\"(link, index) in sponsor.links\"\n :key=\"index\"\n >\n <a\n :href=\"link.url\"\n class=\"button is-link\"\n >{{ link.title }}</a>\n </li>\n </ul>\n </div>\n </div>\n </div>\n </div>\n </div>\n <div\n v-if=\"patrons.length > 0\"\n class=\"sponsor__container__tier\"\n >\n <h2 class=\"title is-3\">\n Patrons\n </h2>\n <div class=\"sponsor__container__tier__sponsors\">\n <div class=\"sponsor__container__tier__sponsor sponsor__container__tier__patron\">\n <ul>\n <li\n v-for=\"patron in patrons\"\n :key=\"patron\"\n >\n {{ patron }}\n </li>\n </ul>\n </div>\n </div>\n </div>\n </div>\n </main>\n</template>\n\n<script>\nimport { fetchEventInfo } from '../utils/fetchTopic';\n\nexport default {\n name: 'Sponsors',\n head: {\n title: 'Sponsors | Hong Kong Open Source Confernce 2021',\n meta: [\n { hid: 'og:title', property: 'og:title', content: 'Sponsors Us | Hong Kong Open Source Conference 2021' },\n { hid: 'description', name: 'description', content: 'HKOSCon depends on the industry’s sponsorship as the event is at minimum cost.' },\n ],\n },\n data() {\n return {\n sponsors: [],\n patrons: [],\n };\n },\n asyncData: () => (\n fetchEventInfo()\n .then(data => ({\n sponsors: data.conference.sponsors,\n patrons: data.conference.patrons,\n }))\n ),\n};\n</script>\n","import { render, staticRenderFns } from \"./sponsors.vue?vue&type=template&id=7347f37c&\"\nimport script from \"./sponsors.vue?vue&type=script&lang=js&\"\nexport * from \"./sponsors.vue?vue&type=script&lang=js&\"\nimport style0 from \"./sponsors.vue?vue&type=style&index=0&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports"],"sourceRoot":""}