{"version":3,"sources":["webpack:///../../../src/components/VGrid/VRow.ts","webpack:///./src/views/admin/components/VideoItem.vue?43f3","webpack:///./src/views/admin/components/VideoItem.vue","webpack:///./src/views/admin/components/VideoItem.vue?1d2d","webpack:///./src/views/admin/components/VideoItem.vue?90ca","webpack:///../../../src/components/VGrid/VCol.ts","webpack:///./src/views/admin/pages/HowToVideos.vue?389d","webpack:///./src/views/admin/pages/HowToVideos.vue","webpack:///./src/views/admin/pages/HowToVideos.vue?369c","webpack:///./src/views/admin/pages/HowToVideos.vue?ae72"],"names":["breakpoints","ALIGNMENT","makeProps","prefix","def","reduce","props","val","upperFirst","alignValidator","str","includes","alignProps","type","String","default","validator","justifyValidator","justifyProps","alignContentValidator","alignContentProps","propMap","align","Object","keys","justify","alignContent","classMap","breakpointClass","prop","className","breakpoint","replace","toLowerCase","cache","Map","Vue","extend","name","functional","tag","dense","Boolean","noGutters","render","h","data","children","cacheKey","classList","get","forEach","value","push","set","mergeData","staticClass","class","_vm","this","_h","$createElement","_c","_self","VDialog","attrs","model","callback","$$v","dialog","expression","VCard","editing","VTextField","newTitle","_v","_s","video","Title","VSpacer","VMenu","scopedSlots","_u","key","fn","ref","on","VBtn","_g","VIcon","VList","VListItem","loading","$event","$t","remove","ID","Video","URI","VTextarea","newDescription","Description","edit","_e","staticStyle","_f","CreatedAt","staticRenderFns","VideoItem","videoId","editVideo","deleteVideo","__decorate","Prop","Action","Component","components","VideoPlayer","component","breakpointProps","Number","offsetProps","orderProps","col","offset","order","cols","alignSelf","parent","hasColClasses","some","startsWith","VRow","VCol","getHowTos","videos","length","_l","i","HowToVideos","retrieved","Getter","CreateVideo"],"mappings":"sTAOMA,EAAc,CAAC,KAAM,KAAM,KAAM,MAEjCC,EAAY,CAAC,QAAS,MAAO,UAEnC,SAASC,EAAWC,EAAgBC,GAClC,OAAOJ,EAAYK,QAAO,SAACC,EAAOC,GAEhC,OADAD,EAAMH,EAASK,eAAWD,IAAQH,IAC3BE,IACN,IAGL,IAA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AIkC,SAASN,GAAG,CAAC,MAAQ5B,EAAI4E,YAAY,CAACxE,EAAG2B,EAAA,KAAM,CAAC/B,EAAIiB,GAAG,kBAAkB,IAAI,GAAGb,EAAGuE,EAAA,KAAK,CAACpE,MAAM,CAAC,KAAO,OAAO,CAAEP,EAAI6E,OAAOC,OAAS,IAAM9E,EAAIkC,QAAS9B,EAAG4B,EAAA,KAAMhC,EAAI+E,GAAI/E,EAAU,QAAE,SAASmB,EAAM6D,GAAG,OAAO5E,EAAG,YAAY,CAACqB,IAAIuD,EAAEzE,MAAM,CAAC,MAAQY,QAAW,GAAGf,EAAG,MAAM,CAAEJ,EAAW,QAAEI,EAAG,MAAM,CAACJ,EAAIiB,GAAGjB,EAAIkB,GAAGlB,EAAIoC,GAAG,sBAAsBpC,EAAI6C,KAAO7C,EAAI6E,OAAOC,OAA0D9E,EAAI6C,KAAtDzC,EAAG,MAAM,CAACJ,EAAIiB,GAAGjB,EAAIkB,GAAGlB,EAAIoC,GAAG,sBAA+B,IAAI,IAC9yBa,EAAkB,G,wHC2BDgC,EAAW,2HAQ7B,OAR6B,uCAM9B,WACOhF,KAAKiF,WAAWjF,KAAK2E,gBAC3B,EAR6B,CAASlG,cACb4E,gBAAzB6B,eAAO,mBAAiB,8BACG7B,gBAA3B6B,eAAO,qBAAmB,gCACC7B,gBAA3B6B,eAAO,qBAAmB,6BACC7B,gBAA3BE,eAAO,qBAAmB,gCAJRyB,EAAW,gBAD/BxB,eAAU,CAAEC,WAAY,CAAE0B,yBAAalC,2BACnB+B,WCnCqZ,I,YCOtarB,EAAY,eACd,EACA1E,EACA+D,GACA,EACA,KACA,KACA,MAIa,aAAAW,E","file":"assets/js/chunk-924d911a.bffdf34b.js","sourcesContent":["import './VGrid.sass'\n\nimport Vue, { PropOptions } from 'vue'\nimport mergeData from '../../util/mergeData'\nimport { upperFirst } from '../../util/helpers'\n\n// no xs\nconst breakpoints = ['sm', 'md', 'lg', 'xl']\n\nconst ALIGNMENT = ['start', 'end', 'center']\n\nfunction makeProps (prefix: string, def: () => PropOptions) {\n return breakpoints.reduce((props, val) => {\n props[prefix + upperFirst(val)] = def()\n return props\n }, {} as Dictionary)\n}\n\nconst alignValidator = (str: any) => [...ALIGNMENT, 'baseline', 'stretch'].includes(str)\nconst alignProps = makeProps('align', () => ({\n type: String,\n default: null,\n validator: alignValidator,\n}))\n\nconst justifyValidator = (str: any) => [...ALIGNMENT, 'space-between', 'space-around'].includes(str)\nconst justifyProps = makeProps('justify', () => ({\n type: String,\n default: null,\n validator: justifyValidator,\n}))\n\nconst alignContentValidator = (str: any) => [...ALIGNMENT, 'space-between', 'space-around', 'stretch'].includes(str)\nconst alignContentProps = makeProps('alignContent', () => ({\n type: String,\n default: null,\n validator: alignContentValidator,\n}))\n\nconst propMap = {\n align: Object.keys(alignProps),\n justify: Object.keys(justifyProps),\n alignContent: Object.keys(alignContentProps),\n}\n\nconst classMap = {\n align: 'align',\n justify: 'justify',\n alignContent: 'align-content',\n}\n\nfunction breakpointClass (type: keyof typeof propMap, prop: string, val: string) {\n let className = classMap[type]\n if (val == null) {\n return undefined\n }\n if (prop) {\n // alignSm -> Sm\n const breakpoint = prop.replace(type, '')\n className += `-${breakpoint}`\n }\n // .align-items-sm-center\n className += `-${val}`\n return className.toLowerCase()\n}\n\nconst cache = new Map()\n\nexport default Vue.extend({\n name: 'v-row',\n functional: true,\n props: {\n tag: {\n type: String,\n default: 'div',\n },\n dense: Boolean,\n noGutters: Boolean,\n align: {\n type: String,\n default: null,\n validator: alignValidator,\n },\n ...alignProps,\n justify: {\n type: String,\n default: null,\n validator: justifyValidator,\n },\n ...justifyProps,\n alignContent: {\n type: String,\n default: null,\n validator: alignContentValidator,\n },\n ...alignContentProps,\n },\n render (h, { props, data, children }) {\n // Super-fast memoization based on props, 5x faster than JSON.stringify\n let cacheKey = ''\n for (const prop in props) {\n cacheKey += String((props as any)[prop])\n }\n let classList = cache.get(cacheKey)\n\n if (!classList) {\n classList = []\n // Loop through `align`, `justify`, `alignContent` breakpoint props\n let type: keyof typeof propMap\n for (type in propMap) {\n propMap[type].forEach(prop => {\n const value: string = (props as any)[prop]\n const className = breakpointClass(type, prop, value)\n if (className) classList!.push(className)\n })\n }\n\n classList.push({\n 'no-gutters': props.noGutters,\n 'row--dense': props.dense,\n [`align-${props.align}`]: props.align,\n [`justify-${props.justify}`]: props.justify,\n [`align-content-${props.alignContent}`]: props.alignContent,\n })\n\n cache.set(cacheKey, classList)\n }\n\n return h(\n props.tag,\n mergeData(data, {\n staticClass: 'row',\n class: classList,\n }),\n children\n )\n },\n})\n","import { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VCard } from 'vuetify/lib/components/VCard';\nimport { VCardActions } from 'vuetify/lib/components/VCard';\nimport { VCardText } from 'vuetify/lib/components/VCard';\nimport { VCardTitle } from 'vuetify/lib/components/VCard';\nimport { VDialog } from 'vuetify/lib/components/VDialog';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VList } from 'vuetify/lib/components/VList';\nimport { VListItem } from 'vuetify/lib/components/VList';\nimport { VListItemContent } from 'vuetify/lib/components/VList';\nimport { VListItemSubtitle } from 'vuetify/lib/components/VList';\nimport { VListItemTitle } from 'vuetify/lib/components/VList';\nimport { VMenu } from 'vuetify/lib/components/VMenu';\nimport { VSpacer } from 'vuetify/lib/components/VGrid';\nimport { VTextField } from 'vuetify/lib/components/VTextField';\nimport { VTextarea } from 'vuetify/lib/components/VTextarea';\n\nvar render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c(VDialog,{attrs:{\"max-width\":\"600px\"},model:{value:(_vm.dialog),callback:function ($$v) {_vm.dialog=$$v},expression:\"dialog\"}},[_c(VCard,[_c(VCardTitle,{staticClass:\"d-flex\"},[(!_vm.editing)?_c('div',[_vm._v(_vm._s(_vm.video.Title))]):_c(VTextField,{attrs:{\"label\":\"Video Title\"},model:{value:(_vm.newTitle),callback:function ($$v) {_vm.newTitle=$$v},expression:\"newTitle\"}}),_c(VSpacer),_c(VMenu,{attrs:{\"offset-y\":\"\",\"left\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\nvar on = ref.on;\nreturn [_c(VBtn,_vm._g({attrs:{\"icon\":\"\"}},on),[_c(VIcon,[_vm._v(\"mdi-dots-vertical\")])],1)]}}])},[_c(VList,{attrs:{\"dense\":\"\"}},[_c(VListItem,{attrs:{\"disabled\":_vm.loading},on:{\"click\":function($event){_vm.editing = true}}},[_c(VListItemSubtitle,[_c(VIcon,{staticClass:\"mr-2\",attrs:{\"left\":\"\",\"small\":\"\"}},[_vm._v(\"mdi-pencil\")]),_c('span',[_vm._v(_vm._s(_vm.$t(\"videos.edit\")))])],1)],1),_c(VListItem,{attrs:{\"disabled\":_vm.loading},on:{\"click\":_vm.remove}},[_c(VListItemSubtitle,[_c(VIcon,{staticClass:\"mr-2\",attrs:{\"left\":\"\",\"small\":\"\"}},[_vm._v(\"mdi-delete\")]),_c('span',[_vm._v(_vm._s(_vm.$t(\"videos.delete\")))])],1)],1)],1)],1),_c(VBtn,{attrs:{\"icon\":\"\"},on:{\"click\":function($event){_vm.dialog = false}}},[_c(VIcon,[_vm._v(\"mdi-close\")])],1)],1),_c(VCardText,[_c('VideoPlayer',{key:_vm.video.ID,attrs:{\"id\":_vm.video.ID,\"url\":_vm.video.Video.URI}}),_c('div',{staticClass:\"my-4\"}),(!_vm.editing)?_c('div',[_vm._v(_vm._s(_vm.video.Description))]):_c(VTextarea,{attrs:{\"label\":_vm.$t('videos.desc'),\"auto-grow\":\"\",\"rows\":\"2\"},model:{value:(_vm.newDescription),callback:function ($$v) {_vm.newDescription=$$v},expression:\"newDescription\"}})],1),(_vm.editing)?_c(VCardActions,[_c(VSpacer),_c(VBtn,{attrs:{\"elevation\":\"0\"},on:{\"click\":function($event){_vm.editing = false}}},[_c('span',[_vm._v(_vm._s(_vm.$t(\"global.cancel\")))])]),_c(VBtn,{attrs:{\"elevation\":\"0\",\"color\":\"primary\"},on:{\"click\":_vm.edit}},[_c('span',[_vm._v(_vm._s(_vm.$t(\"videos.edit\")))])])],1):_vm._e()],1)],1),_c(VListItem,{on:{\"click\":function($event){_vm.dialog = true}}},[_c(VListItemContent,[_c('div',{staticClass:\"font-weight-bold text-overline\",staticStyle:{\"line-height\":\"16px\"}},[_c('span',{staticStyle:{\"letter-spacing\":\"2px\"}},[_vm._v(\"ID: #\"+_vm._s(_vm.video.ID))])]),_c(VListItemTitle,[_vm._v(_vm._s(_vm.video.Title))]),_c(VListItemSubtitle,[_c('span',[_vm._v(_vm._s(_vm._f(\"format\")(_vm.video.CreatedAt)))])])],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport Vue from \"vue\";\r\nimport { Action } from \"vuex-class\";\r\nimport { HowToVideo } from \"@/core/models\";\r\nimport { Component, Prop } from \"vue-property-decorator\";\r\nimport VideoPlayer from \"@/components/common/VideoPlayer.vue\";\r\n\r\n@Component({ components: { VideoPlayer } })\r\nexport default class VideoItem extends Vue {\r\n @Prop({ default: () => {} }) video!: HowToVideo;\r\n @Action(\"displaySnackbar\") displaySnackbar!: (msg: string) => void;\r\n @Action(\"howTos/editVideo\") editVideo!: Function;\r\n @Action(\"howTos/deleteVideo\") deleteVideo!: Function;\r\n\r\n dialog = false;\r\n loading = false;\r\n editing = false;\r\n newTitle = this.video.Title;\r\n newDescription = this.video.Description;\r\n\r\n async edit() {\r\n const data = {\r\n videoId: this.video.ID,\r\n newTitle: this.newTitle,\r\n newDescription: this.newDescription,\r\n };\r\n await this.editVideo(data);\r\n }\r\n\r\n async remove() {\r\n this.deleteVideo({ videoId: this.video.ID });\r\n }\r\n}\r\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--15-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./VideoItem.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--15-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./VideoItem.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./VideoItem.vue?vue&type=template&id=10778b63&\"\nimport script from \"./VideoItem.vue?vue&type=script&lang=ts&\"\nexport * from \"./VideoItem.vue?vue&type=script&lang=ts&\"\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","import './VGrid.sass'\n\nimport Vue, { VNode, PropOptions } from 'vue'\nimport mergeData from '../../util/mergeData'\nimport { upperFirst } from '../../util/helpers'\n\n// no xs\nconst breakpoints = ['sm', 'md', 'lg', 'xl']\n\nconst breakpointProps = (() => {\n return breakpoints.reduce((props, val) => {\n props[val] = {\n type: [Boolean, String, Number],\n default: false,\n }\n return props\n }, {} as Dictionary)\n})()\n\nconst offsetProps = (() => {\n return breakpoints.reduce((props, val) => {\n props['offset' + upperFirst(val)] = {\n type: [String, Number],\n default: null,\n }\n return props\n }, {} as Dictionary)\n})()\n\nconst orderProps = (() => {\n return breakpoints.reduce((props, val) => {\n props['order' + upperFirst(val)] = {\n type: [String, Number],\n default: null,\n }\n return props\n }, {} as Dictionary)\n})()\n\nconst propMap = {\n col: Object.keys(breakpointProps),\n offset: Object.keys(offsetProps),\n order: Object.keys(orderProps),\n}\n\nfunction breakpointClass (type: keyof typeof propMap, prop: string, val: boolean | string | number) {\n let className = type\n if (val == null || val === false) {\n return undefined\n }\n if (prop) {\n const breakpoint = prop.replace(type, '')\n className += `-${breakpoint}`\n }\n // Handling the boolean style prop when accepting [Boolean, String, Number]\n // means Vue will not convert to sm: true for us.\n // Since the default is false, an empty string indicates the prop's presence.\n if (type === 'col' && (val === '' || val === true)) {\n // .col-md\n return className.toLowerCase()\n }\n // .order-md-6\n className += `-${val}`\n return className.toLowerCase()\n}\n\nconst cache = new Map()\n\nexport default Vue.extend({\n name: 'v-col',\n functional: true,\n props: {\n cols: {\n type: [Boolean, String, Number],\n default: false,\n },\n ...breakpointProps,\n offset: {\n type: [String, Number],\n default: null,\n },\n ...offsetProps,\n order: {\n type: [String, Number],\n default: null,\n },\n ...orderProps,\n alignSelf: {\n type: String,\n default: null,\n validator: (str: any) => ['auto', 'start', 'end', 'center', 'baseline', 'stretch'].includes(str),\n },\n tag: {\n type: String,\n default: 'div',\n },\n },\n render (h, { props, data, children, parent }): VNode {\n // Super-fast memoization based on props, 5x faster than JSON.stringify\n let cacheKey = ''\n for (const prop in props) {\n cacheKey += String((props as any)[prop])\n }\n let classList = cache.get(cacheKey)\n\n if (!classList) {\n classList = []\n // Loop through `col`, `offset`, `order` breakpoint props\n let type: keyof typeof propMap\n for (type in propMap) {\n propMap[type].forEach(prop => {\n const value: string | number | boolean = (props as any)[prop]\n const className = breakpointClass(type, prop, value)\n if (className) classList!.push(className)\n })\n }\n\n const hasColClasses = classList.some(className => className.startsWith('col-'))\n\n classList.push({\n // Default to .col if no other col-{bp}-* classes generated nor `cols` specified.\n col: !hasColClasses || !props.cols,\n [`col-${props.cols}`]: props.cols,\n [`offset-${props.offset}`]: props.offset,\n [`order-${props.order}`]: props.order,\n [`align-self-${props.alignSelf}`]: props.alignSelf,\n })\n\n cache.set(cacheKey, classList)\n }\n\n return h(props.tag, mergeData(data, { class: classList }), children)\n },\n})\n","import { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VList } from 'vuetify/lib/components/VList';\nimport { VRow } from 'vuetify/lib/components/VGrid';\nimport { VSpacer } from 'vuetify/lib/components/VGrid';\n\nvar render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c(VRow,[_c(VCol,{staticClass:\"d-flex align-center\",attrs:{\"cols\":\"12\"}},[_c('span',{staticClass:\"display-1 font-weight-bold\"},[_vm._v(_vm._s(_vm.$t(\"howtos.title\")))]),_c(VSpacer),_c('CreateVideo'),_c('div',{staticClass:\"mx-2\"}),_c(VBtn,{attrs:{\"icon\":\"\",\"loading\":_vm.loading,\"disabled\":_vm.loading},on:{\"click\":_vm.getHowTos}},[_c(VIcon,[_vm._v(\"mdi-refresh\")])],1)],1),_c(VCol,{attrs:{\"cols\":\"12\"}},[(_vm.videos.length > 0 && !_vm.loading)?_c(VList,_vm._l((_vm.videos),function(video,i){return _c('VideoItem',{key:i,attrs:{\"video\":video}})}),1):_c('div',[(_vm.loading)?_c('div',[_vm._v(_vm._s(_vm.$t(\"howtos.loading\")))]):_vm._e(),(!_vm.videos.length)?_c('div',[_vm._v(_vm._s(_vm.$t(\"howtos.none\")))]):_vm._e()])],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport Vue from \"vue\";\r\nimport { Component } from \"vue-property-decorator\";\r\n\r\nimport VideoItem from \"@/views/admin/components/VideoItem.vue\";\r\nimport CreateVideo from \"@/views/admin/components/CreateVideo.vue\";\r\nimport { Action, Getter } from \"vuex-class\";\r\nimport { HowToVideo } from \"@/core/models\";\r\n\r\n@Component({ components: { CreateVideo, VideoItem } })\r\nexport default class HowToVideos extends Vue {\r\n @Getter(\"howTos/loading\") loading!: boolean;\r\n @Getter(\"howTos/retrieved\") retrieved!: boolean;\r\n @Getter(\"howTos/getVideos\") videos!: HowToVideo[];\r\n @Action(\"howTos/getHowTos\") getHowTos!: Function;\r\n\r\n created() {\r\n if (!this.retrieved) this.getHowTos();\r\n }\r\n}\r\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--15-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./HowToVideos.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--15-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./HowToVideos.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./HowToVideos.vue?vue&type=template&id=50551c66&\"\nimport script from \"./HowToVideos.vue?vue&type=script&lang=ts&\"\nexport * from \"./HowToVideos.vue?vue&type=script&lang=ts&\"\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":""}