{"version":3,"sources":["webpack:///./src/views/SubTopics.vue?43e0","webpack:///./src/components/physics/springs/hooke/Boxes.js","webpack:///./src/components/physics/springs/SubtopicMenu.vue","webpack:///src/components/physics/springs/SubtopicMenu.vue","webpack:///./src/components/physics/springs/SubtopicMenu.vue?3d10","webpack:///./src/components/physics/springs/SubtopicMenu.vue?e264","webpack:///./src/views/SubTopics.vue","webpack:///src/views/SubTopics.vue","webpack:///./src/views/SubTopics.vue?bf9a","webpack:///./src/views/SubTopics.vue?89da"],"names":["Boxes","box1","brd","JXG","JSXGraph","initBoard","boundingbox","axis","keepaspectratio","showNavigation","showCopyright","zoom","enabled","pan","options","layer","point","highlight","curve","image","line","showInfobox","placeLogo","makeResponsive","placeTitle","create","name","fixed","anchorY","cssStyle","fontSize","canvasWidth","rotate","anchorX","k","placeSlider","setAttribute","snapWidth","unitLabel","vertices","visible","withLines","fillColor","placeGravity","hook","jk","Value","face","size","strokeColor","shadow","Pt1","Pt2","fung","x","Math","sin","PI","Y","trans","type","tape","strokeWidth","withLabel","placeTapeVert","point1","point2","unitsLabel","writeMiddleText","color","msg1","msg2","add","remove","on","alert","pts1","trace","pts","drawSegment","staticClass","class","$vuetify","breakpoint","lgAndUp","mdOnly","staticStyle","_vm","_c","attrs","_defineProperty","_v","_l","topics","key","staticRenderFns","components","SubtopicCard","data","headline","description","img","path","created","_this","$store","commit","newTopics","title","action","$router","push","mounted","MathJax","Hub","Queue","metaInfo","titleTemplate","meta","content","component","scopedSlots","fn","_ref","hover","props","String","default","required"],"mappings":"2IAAA,W,oCCAA,gBAsCMA,EAAQ,CACVC,KAAM,WAEJ,IAAIC,EAAMC,IAAIC,SAASC,UAAU,UAAW,CAACC,YAAY,EAAE,EAAG,EAAI,GAAI,GAAIC,MAAK,EAC7EC,iBAAgB,EAAMC,gBAAe,EAAOC,eAAc,EAAOC,KAAK,CAACC,SAAQ,GAAQC,IAAI,CAACD,SAAQ,KACpGV,EAAIY,QAAQC,MAAM,SAAU,EAC5Bb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X,I,YCOhXC,EAAY,eACd,EACA,EACAzB,GACA,EACA,KACA,KACA,MAIa,aAAAyB,E,uHClB4F,EAAK,W,IAAelC,O,EAAa,QAAU,G,OAAM,iBAACG,MAAM,CAAC,YAA4B,WAAE,YAAK,CAAYT,QAAY,O,MAAc,CAAkB,eAAgB,GAAI,MAAM,KAAK,CAACQ,EAAG,OAAS,CAAEiC,YAAYlC,O,MAAa,CAAUmC,eAAGC,G,iBAAgB,G,IAAI,K,UAAsD,C,YAAC,KAAW,CAACC,C,0BAA4B,G,IAAoB,EAAO,EAAC,M,MAAS,UAAU,C,YAAmB,eAAE,OAAIpC,UAAQ,MAACR,OAAW,OAAqCM,YAAY,QAAC,MAAQ,SAAO,iBAAIC,QAAO,KAAiHD,QAAW,C,YAAU,oCAAO,aAAIC,MAAO,UAA8FD,uBAAY,2C,YAAS,oCAAO,aAAIE,MAAG,UAAiCC,GAAK,GAAC,iE,YAAWY,O,YAAc,CAAE,iBAAQ,UAAG,wBAAQ,MAAK,CACh+B,UACGN,QAAkB,O,4BCmCP,GACf8B,MAAA,CACA1B,SAAA,CACAvC,KAAAkE,OACAC,QAAA,GACAC,UAAA,GAEA5B,YAAA,CACAxC,KAAAkE,OACAC,QAAA,GACAC,UAAA,GAEA3B,IAAA,CACAzC,KAAAkE,OACAC,QAAA,GACAC,UAAA,GAEA1B,KAAA,CACA1C,KAAAkE,OACAC,QAAA,GACAC,UAAA,KCzDmV,I,wBCQ/UR,EAAY,eACd,EACA,EACAzB,GACA,EACA,KACA,WACA,MAIa,OAAAyB,E","file":"js/chunk-26aad1a4.a9130bb9.js","sourcesContent":["export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/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/lib/index.js??vue-loader-options!./SubTopics.vue?vue&type=style&index=0&id=63f8118a&prod&scoped=true&lang=scss&\"","import {\r\n makeResponsive,\r\n //makeResponsive(brd1);\r\n placeTitle,\r\n //placeTitle(brd1,'title', 'subtitle');\r\n placeImage,\r\n placeInput,\r\n placeSlider,\r\n hoverMe,\r\n placeRec,\r\n hiddenPt,\r\n fixedPt,\r\n clearInputFields,\r\n dragMe,\r\n placeArrow,\r\n //placeArrow(board, pt1, pt2, width, cols)\r\n placeGravity,\r\n placeText,\r\n //placeText(board, positionX, positionY, message)\r\n placeLine,\r\n placePoint,\r\n placeGlider,\r\n placeRuler,\r\n placeLeftText,\r\n placeSliderSwitch,\r\n placeBoldText,\r\n //placeBoldText(brd6, -9, 1, 'Liquid');\r\n placeDash,\r\n // placeDash(board, [x1, y1], [x2, y2], width, cols)\r\n placeRightText,\r\n placeLabel,\r\n placeLogo,\r\n drawSegment,\r\n writeMiddleText,\r\n placeTapeVert,\r\n drawPoint,\r\n alert\r\n} from '../Utils';\r\nconst Boxes = {\r\n box1: function () {\r\n//JXG.Options.layer['arrow'] =11;\r\n var brd = JXG.JSXGraph.initBoard('jxgbox1', {boundingbox:[-2.,6., 8.,-4], axis:false,\r\n keepaspectratio:true, showNavigation:false, showCopyright:false, zoom:{enabled:false}, pan:{enabled:false}});\r\n brd.options.layer['image'] =2;\r\n brd.options.layer['point'] =5;\r\n brd.options.layer['line'] =4;\r\n brd.options.layer['curve'] =4;\r\n brd.options.layer['axis'] =1;\r\n brd.options.point.highlight=false;\r\n brd.options.curve.highlight=false;\r\n brd.options.image.highlight=false;\r\n brd.options.line.highlight=false;\r\n brd.options.point.showInfobox=false;\r\n placeLogo(brd);\r\n makeResponsive(brd);\r\n placeTitle(brd, 'Hooke\\'s Experiment', '(Add weights to stretch the spring)');\r\n//AXIS\r\n brd.create('axis', [[2, 0], [4, 0]],{name:'', fixed:true});\r\n brd.create('axis', [[2, 0], [2, 4]],{name:'', fixed:true});\r\n brd.create('text', [6.5, 0.1, 'Deflection(m)'],{anchorY:'bottom',cssStyle:'fontFamily:Oswald', fontSize:function(){return 22*brd.canvasWidth/800}, fixed:true});\r\n brd.create('text', [1.8, 4.5, 'Force (kgf)'], {rotate:90, anchorX:'right',cssStyle:'fontFamily:Oswald', fontSize:function(){return 22*brd.canvasWidth/800}, fixed:true});\r\n//SLIDERS\r\n var k= placeSlider(brd, 3, -1, 20, 28, 40, 2, '  k');\r\n k.setAttribute({snapWidth:1, unitLabel:' N/m'});\r\n//CEILING\r\n var base =brd.create('polygon',[[-2, 2.5],[2,2.5],[2, 2.0],[-2,2.0]], {vertices:{visible:false}, withLines:false, fillColor:'black', fixed:true});\r\n//Gravity\r\n placeGravity(brd, [-1, 0], [-1,-1], 'g');\r\n var hook =brd.create('point', [0.0, ()=>-jk*9.8/k.Value()], {name:'', face:'circle', size:()=>2*brd.canvasWidth/800, fillColor:'red', strokeColor:'red', shadow:false, fixed:true});\r\n//\r\n var Pt1 = brd.create('point', [1.0, 2.0], {name:'', face:'circle', size:0, fillColor:'white', strokeColor:'black', visible:false, fixed:true});\r\n//\r\n var Pt2= brd.create('point', [1.0, ()=>-jk*9.8/k.Value()], {name:'', face:'circle', size:0, fillColor:'white', strokeColor:'black', visible:false, fixed:true});\r\n//\r\n var fung =brd.create('functiongraph', [function(x){return 0.25*Math.sin(8*Math.PI*(x-2)/(2-hook.Y()))}, 2, function(){return hook.Y();}],{visible:false, strokeColor:'red'});\r\n//\r\n var trans =brd.create('transform', [1.57, 0, 0], {type:'rotate', size:0});\r\n// SPRING\r\n var spring = brd.create('curve', [fung, trans],{strokeColor:'black', strokeWidth:()=>5-4*(1-k.Value()/40), name:'Spring', withLabel:false, fixed:true});\r\n//tape\r\n var tape=placeTapeVert(brd, Pt1, Pt2, 'd');\r\n tape.setAttribute({point1:{face:'triangleup', size:4}, point2:{face:'triangledown', size:4}, unitsLabel:'m'});\r\n//\r\n var jk =0;\r\n//\r\n writeMiddleText(brd, 0, 2.75, ()=>jk+' kg').setAttribute({anchorY:'middle', color:'black'});\r\n//\r\n var hinge =brd.create('point', [0.0, 2], {size:0, name:'', face:'circle', fillColor:'white', strokeWidth:2, strokeColor:'black', shadow:false, fixed:true});\r\n//\r\n brd.create('image', ['/assets/hook.svg', [()=>-0.4*0.5, ()=>-0.3-jk*9.8/k.Value()], [0.4, 0.4]]);\r\n//\r\n brd.create('image', ['/assets/1-kg.svg', [()=>-0.8*jk*0.5, ()=>-jk*0.88-jk*9.8/k.Value()], [()=>jk*0.8, ()=>(jk)*0.8]], {visible:()=>jk==1});\r\n//\r\n brd.create('image', ['/assets/2-kg.svg', [()=>-0.5*jk*0.5, ()=>-jk*0.525-jk*9.8/k.Value()], [()=>jk*0.5, ()=>(jk)*0.5]], {visible:()=>jk==2});\r\n//\r\n brd.create('image', ['/assets/3-kg.svg', [()=>-0.5*jk*0.5, ()=>-jk*0.485-jk*9.8/k.Value()], [()=>jk*0.5, ()=>(jk)*0.5]], {visible:()=>jk==3});\r\n//\r\n brd.create('image', ['/assets/4-kg.svg', [()=>-0.5*jk*0.5, ()=>-jk*0.47-jk*9.8/k.Value()], [()=>jk*0.5, ()=>(jk)*0.5]], {visible:()=>jk==4});\r\n//\r\n/////////////////////////////////////////////////////////\r\n//////////////////\r\n// Buttons\r\n var msg1 =writeMiddleText(brd, 0., 3.5, 'Max weight reached!');\r\n msg1.setAttribute({color:'red', visible:false});\r\n //\r\n var msg2 =writeMiddleText(brd, 0., 3.5, 'No weights attached!');\r\n msg2.setAttribute({color:'red', visible:false});\r\n var add = brd.create('image', ['/assets/plus.svg', [-1., 2.5], [0.5, 0.5]],{fixed:true});\r\n var remove = brd.create('image', ['/assets/minuss.svg', [0.5, 2.5], [0.5, 0.5]],{fixed:true});\r\n add.on('down',function(){if(jk<4){jk+=1}else{jk=4; alert(brd, msg1);}});\r\n remove.on('down',function(){if(jk>0){jk-=1;}else{jk=0; alert(brd, msg2);}});\r\n //Plotting\r\n var pts1 = brd.create('point', [2, 0],{name:'',fillColor:'blue',strokeColor:'blue', fixed:true, trace:false});\r\n var pts = brd.create('point', [()=>2+jk*9.8/k.Value(), ()=>jk],{name:'',fixed:true, fillColor:'blue',strokeColor:'blue'});\r\n //\r\n var pts2 = brd.create('point', [()=>2+1*9.8/k.Value(), 1],{visible:()=>jk>=1, name:'',fixed:true, fillColor:'blue',strokeColor:'blue'});\r\n //\r\n var pts3 = brd.create('point', [()=>2+2*9.8/k.Value(), 2],{visible:()=>jk>=2, name:'',fixed:true, fillColor:'blue',strokeColor:'blue'});\r\n //\r\n var pts4 = brd.create('point', [()=>2+3*9.8/k.Value(), 3],{visible:()=>jk>=3, name:'',fixed:true, fillColor:'blue',strokeColor:'blue'});\r\n //\r\n var pts5 = brd.create('point', [()=>2+4*9.8/k.Value(), 4],{visible:()=>jk>=4, name:'', fixed:true, fillColor:'blue',strokeColor:'blue'});\r\n drawSegment(brd, pts1, pts).setAttribute({strokeColor:'blue'});\r\n },\r\n}\r\nexport default Boxes;\r\n","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',[_c('div',{staticClass:\"font-weight-light\",class:{'pa-5 headline': _vm.$vuetify.breakpoint.lgAndUp,'pa-2 subtitle-1': _vm.$vuetify.breakpoint.mdOnly, 'pa-1 body-2': _vm.$vuetify.breakpoint.smAndDown}},[_c('div',{staticClass:\"font-weight-medium\",class:{'display-1': _vm.$vuetify.breakpoint.lgAndUp,'headline': _vm.$vuetify.breakpoint.mdOnly, 'subheading': _vm.$vuetify.breakpoint.smAndDown}},[_c('span',{staticStyle:{\"font-family\":\"Oswald\"}},[_vm._v(\" Introduction\")])]),_c('div',{ref:\"ia\",staticStyle:{\"margin-top\":\"20px\"}}),_c('span',{staticClass:\"subhead\"},[_vm._v(\"A\")]),_vm._v(\" spring is a mechanical device that stores mechanical energy when it is compressed or stretched. When a force is applied to a spring, it deforms and the energy is stored in the spring. When the force is removed, the spring returns to its original shape and the stored energy is released.\"),_c('br'),_c('br'),_vm._v(\"\\n Springs are typically made of metals and are used in in a variety of mechanical systems such as suspensions, mechanical clocks, and toys.\"),_c('br'),_c('br'),_c('div',{staticStyle:{\"margin-top\":\"10px\"}}),_c('v-layout',{attrs:{\"align-center\":\"\",\"justify-center\":\"\",\"row\":\"\",\"wrap\":\"\"}},[_c('v-flex',{staticClass:\"font-weight-light\",class:{'headline': _vm.$vuetify.breakpoint.lgAndUp,'body-2': _vm.$vuetify.breakpoint.mdOnly, 'body-2': _vm.$vuetify.breakpoint.smAndDown},attrs:{\"xs12\":\"\",\"sm8\":\"\",\"md8\":\"\",\"lg8\":\"\",\"xl8\":\"\"}},[_c('div',{staticClass:\"font-weight-medium\",class:{'display-1': _vm.$vuetify.breakpoint.lgAndUp,'headline': _vm.$vuetify.breakpoint.mdOnly, 'subheading': _vm.$vuetify.breakpoint.smAndDown}},[_c('span',{staticStyle:{\"font-family\":\"Oswald\"}},[_vm._v(\" Force in a Spring: Hooke's Law\")])]),_c('div',{staticStyle:{\"margin-top\":\"20px\"}}),_vm._v(\"\\n\\n You may have noticed that when a spring is subjected to an external force, it compresses or stretches, and its length changes. The deformation in the spring is related to the applied force. This relationship is known as Hooke's law (named after british physicist Robert Hooke).\"),_c('br'),_c('br'),_vm._v(\"\\n Hooke, while experimenting with springs, found that the force required to stretch or compress a spring is linearly proportional to the amount of extension or compression in the spring.\\n Mathematically, Hooke's law can be expressed as:\\n $$ F \\\\propto x $$\\n where \\\\(x = l - l_0\\\\) is the extension or compression of the spring (equal to deformed length minus original length).\"),_c('br'),_c('br'),_vm._v(\"\\n Expressed as an equality (by introducing a proportionality constant \\\\(k\\\\)):\\n $$ F = k (l- l_0)$$\\n where \\\\(F\\\\) is the force applied on the spring, \\\\(l\\\\) is the deformed length and \\\\(l_0\\\\) is the original length of spring. The constant \\\\(k\\\\) in the equation is known as spring constant, and is a measure of the stiffness of the spring.\\n \")]),_c('v-flex',{attrs:{\"xs12\":\"\",\"sm4\":\"\",\"md4\":\"\",\"lg4\":\"\",\"xl4\":\"\"}},[_c('v-img',{staticClass:\"imgC\",attrs:{\"padding\":\"0px\",\"max-height\":\"500px\",\"max-width\":\"500px\",\"src\":\"/assets/Hooke.jpg\",\"contain\":\"\"}}),_c('br'),_c('h5',{staticStyle:{\"text-align\":\"center\"}},[_vm._v(\"\\n English scientist and engineer Robert Hooke discovered the relationship between the deformation and forces in a spring.\\n \")])],1)],1),_c('div',{ref:\"ib\",staticStyle:{\"margin-top\":\"20px\"}}),_c('div',{staticClass:\"font-weight-medium\",class:{'display-1': _vm.$vuetify.breakpoint.lgAndUp,'headline': _vm.$vuetify.breakpoint.mdOnly, 'subheading': _vm.$vuetify.breakpoint.smAndDown}},[_c('span',{staticStyle:{\"font-family\":\"Oswald\"}},[_vm._v(\" Lesson Plan\")])]),_c('div',{staticStyle:{\"margin-top\":\"20px\"}}),_c('div',{staticClass:\"font-weight-light\",class:{'headline': _vm.$vuetify.breakpoint.lgAndUp,'body-2': _vm.$vuetify.breakpoint.mdOnly, 'body-2': _vm.$vuetify.breakpoint.smAndDown}},[_vm._v(\"\\n This module on springs consists of three lessons. Each lesson comes with a visually interactive illustrations that offers students a uniquely engaging and effective learning experience.\\n \"),_c('div',{staticStyle:{\"margin-top\":\"10px\"}}),_c('h5',[_vm._v(\" Lesson 1 | Force & Energy in a Spring \")]),_c('div',{staticStyle:{\"margin-top\":\"10px\"}}),_vm._v(\"\\n Learn about the force and stored energy in a spring.\\n \"),_c('div',{staticStyle:{\"margin-top\":\"10px\"}}),_c('h5',[_vm._v(\" Lesson 2 | System of Springs \")]),_c('div',{staticStyle:{\"margin-top\":\"10px\"}}),_vm._v(\"\\n Learn to calculate the effective stiffness of a system of springs connected in series or parallel.\\n \"),_c('div',{staticStyle:{\"margin-top\":\"10px\"}}),_c('h5',[_vm._v(\" Lesson 2 | Spring-Mass System \")]),_c('div',{staticStyle:{\"margin-top\":\"10px\"}}),_vm._v(\"\\n Learn about the oscillations of spring-mass systems.\\n \")])],1),_c('div',{staticStyle:{\"margin-top\":\"20px\"}}),_c('v-responsive',[_c('v-layout',{attrs:{\"justify-center\":\"\"}},[_c('div',{staticClass:\"edliy-box-about\",attrs:{\"id\":\"jxgbox1\"}})]),_c('v-layout',{attrs:{\"justify-center\":\"\"}},[_c('h5',{staticClass:\"edliy-text-about\"},[_vm._v(\"\\n This is a visio-interactive demonstration of Hooke's experiment. Use \"),_c('i',{staticClass:\"plus ma-1\"}),_vm._v(\" button to add weights and \"),_c('i',{staticClass:\"minus ma-1\"}),_vm._v(\" button to remove weights.\\n Observe how the deformation of the spring changes with applied load.\\n \")])])],1),_c('div',{staticStyle:{\"margin-top\":\"20px\"}}),_c('div',{staticClass:\"font-weight-light\",class:{'pa-5 headline': _vm.$vuetify.breakpoint.lgAndUp,'pa-2 subtitle-1': _vm.$vuetify.breakpoint.mdOnly, 'pa-1 body-2': _vm.$vuetify.breakpoint.smAndDown}},[_c('div',{staticStyle:{\"margin-top\":\"10px\"}}),_c('div',{staticClass:\"font-weight-medium\",class:{'display-1': _vm.$vuetify.breakpoint.lgAndUp,'headline': _vm.$vuetify.breakpoint.mdOnly, 'subheading': _vm.$vuetify.breakpoint.smAndDown}},[_c('span',{staticStyle:{\"font-family\":\"Oswald\"}},[_vm._v(\" Let's get started\")])]),_c('div',{ref:\"ic\",staticStyle:{\"margin-top\":\"20px\"}}),_vm._v(\"\\n Check out our library of meticulously crafted lessons on springs. These specially designed lessons use visuo-spatiality and interactivity to help students improve engagement and retain concepts.\\n \"),_c('div',{staticStyle:{\"margin-top\":\"20px\"}}),_c('v-container',{attrs:{\"grid-list-xl\":\"\",\"text-xs-center\":\"\"}},[_c('v-layout',{attrs:{\"align-center\":\"\",\"justify-center\":\"\",\"row\":\"\"}},_vm._l((_vm.topics),function(topic){return _c('v-flex',{key:topic.key,attrs:{\"xs12\":\"\",\"sm12\":\"\",\"md12\":\"\",\"lg12\":\"\",\"xl12\":\"\"}},[_c('subtopic-card',{attrs:{\"headline\":topic.headline,\"subheading\":topic.subheading,\"subsubheading\":topic.subsubheading,\"description\":topic.description,\"img\":topic.img,\"path\":topic.path}})],1)}),1)],1),_c('br'),_c('br'),_c('br')],1)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\n\r\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SubtopicMenu.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SubtopicMenu.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./SubtopicMenu.vue?vue&type=template&id=f945cdba&\"\nimport script from \"./SubtopicMenu.vue?vue&type=script&lang=js&\"\nexport * from \"./SubtopicMenu.vue?vue&type=script&lang=js&\"\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","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('router-link',{attrs:{\"to\":_vm.path}},[_c('v-container',{staticStyle:{\"padding\":\"0px\"},attrs:{\"grid-list-xs\":\"\",\"fluid\":\"\"}},[_c('v-layout',{staticClass:\"px-1\",attrs:{\"align-center\":\"\",\"justify-center\":\"\",\"row\":\"\"}},[_c('v-hover',{scopedSlots:_vm._u([{key:\"default\",fn:function({ hover }){return [_c('v-card',{staticClass:\"rounded-card\",attrs:{\"elevation\":hover ? 9:2,\"height\":\"auto\",\"max-width\":\"400px\",\"align\":\"center\",\"justify\":\"center\",\"contain\":\"\"}},[_c('h3',{staticClass:\"font-weight-bold mt-3 text-center\",staticStyle:{\"color\":\"black\"}},[_vm._v(\"\\n \"+_vm._s(_vm.headline)+\"\\n \")]),_c('h4',{staticClass:\"font-weight-bold mt-2 text-center\",staticStyle:{\"color\":\"black\"}},[_vm._v(\"\\n \"+_vm._s(_vm.description)+\"\\n \")]),_c('v-divider',{staticClass:\"mt-3\",staticStyle:{\"color\":\"black\"}}),_c('v-img',{staticClass:\"mt-2 mb-2\",attrs:{\"src\":_vm.img,\"contain\":\"\"}})],1)]}}])})],1)],1)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\n\r\n\r\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SubTopics.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SubTopics.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./SubTopics.vue?vue&type=template&id=63f8118a&scoped=true&\"\nimport script from \"./SubTopics.vue?vue&type=script&lang=js&\"\nexport * from \"./SubTopics.vue?vue&type=script&lang=js&\"\nimport style0 from \"./SubTopics.vue?vue&type=style&index=0&id=63f8118a&prod&scoped=true&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 \"63f8118a\",\n null\n \n)\n\nexport default component.exports"],"sourceRoot":""}