{"version":3,"sources":["webpack:///./src/components/physics/work/Lesson.vue","webpack:///./src/components/physics/work/Boxes.js","webpack:///src/components/physics/work/Lesson.vue","webpack:///./src/components/physics/work/Lesson.vue?7c2d","webpack:///./src/components/physics/work/Lesson.vue?1704","webpack:///./src/components/physics/work/Lesson.vue?685b"],"names":["attrs","_c","staticClass","staticRenderFns","_vm","_self","render","Boxes","box1","brd1","JXG","JSXGraph","initBoard","boundingbox","keepaspectratio","axis","ticks","visible","grid","showCopyright","showNavigation","pan","enabled","zoom","suspendUpdate","options","layer","board","minimizeReflow","point","showInfobox","line","highlight","image","makeResponsive","placeTitle","placeImage","wall0","create","wall01","wall02","wall03","wall2","wall21","wall22","wall23","gate1","gate2","Pt1","placePoint","track","placeArc","X","Y","placeDash","Glid","placeGlider","setLabel","label","setAttribute","CssStyle","fontSize","Math","round","canvasWidth","placeAngle","placeArrow","on","moveTo","hoverMe","unsuspendUpdate","name","created","_this","$store","commit","title","newTopics","img","action","goto","newshowhome","newPhys","newLeftArrow","newModule","mounted","MathJax","Hub","Queue","metaInfo","titleTemplate","meta","content","component"],"mappings":"mJAA4D,EAAU,W,IAAyxIA,EAAM,K,EAAC,W,OAAkB,WAAgB,KAAC,urIAAE,OAAIC,eAAS,GAACC,iBAAY,K,CAAyB,QAAK,CAAS,8BAAG,MAAM,CAAYF,GAAM,eAAoB,UAAE,MAAK,CAA2CE,iBAAiB,K,CAAQ,OAAO,mCAAyB,kBAAE,MAAK,CAAKA,iCACjnJ,QACGC,6CAAmCC,EAAI,oFAAI,QAAiB,EAAkB,YACjF,IAAC,OAAY,EAAO,EAAC,MAAI,G,OAAIA,EAAG,IAACC,CAAK,EAAG,uRAAC,WAC1C,IAAC,OAAY,EAAO,EAAC,MAAI,G,OAAID,EAAG,IAACC,CAAK,EAAG,2PAAC,WACzC,WAEF,EAASC,QAAQH,G,2WCmBXI,EAAQ,CAEVC,KAAM,WAEN,IAAIC,EAAOC,IAAIC,SAASC,UAAU,UAAU,CAACC,YA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AAD,MAAA,+BAAAE,IAAA,uBAAAC,OAAA,kBAAAN,EAAAO,KAAA,QACA,CAAAJ,MAAA,iBAAAE,IAAA,uBAAAC,OAAA,kBAAAN,EAAAO,KAAA,QACA,CAAAJ,MAAA,iBAAAE,IAAA,uBAAAC,OAAA,kBAAAN,EAAAO,KAAA,QACA,CAAAJ,MAAA,aAAAE,IAAA,oBAAAC,OAAA,kBAAAN,EAAAO,KAAA,gBAEA,KAAAN,OAAAC,OAAA,2BAAAE,GACA,IAAAI,GAAA,EACA,KAAAP,OAAAC,OAAA,4BAAAM,GACA,IAAAC,GAAA,EACA,KAAAR,OAAAC,OAAA,yBAAAO,GACA,IAAAC,GAAA,EACA,KAAAT,OAAAC,OAAA,8BAAAQ,GACA,IAAAC,GAAA,EACA,KAAAV,OAAAC,OAAA,2BAAAS,IAEAC,QAAA,WACAC,QAAAC,IAAAC,MAAA,WAAAF,QAAAC,MACAhF,EAAAC,QAEAiF,SAAA,WACA,OAAAb,MAAA,gBACAc,cAAA,2BACAC,KAAA,EAAApB,KAAA,WAAAqB,QAAA,uCACA,CAAArB,KAAA,cAAAqB,QAAA,2DClJ8W,I,wBCQ1WC,EAAY,eACd,EACA,EACA1F,GACA,EACA,KACA,KACA,MAIa,aAAA0F,E,2CCnBf,W","file":"js/chunk-39c9fb8b.03380604.js","sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',[_c('h3',[_vm._v(\"What is Work?\")]),_c('p',[_vm._v(\"\\n In our daily life, we refer to various activities as work. For example-when we sit and read a book, we say we\\n are doing work. Try pushing a wall, after few minutes you will be tired and you will say that you have done\\n work. But scientifically, all these activities are not considered as work.\\n \")]),_c('h5',[_vm._v(\"Scientific Definition of Work?\")]),_c('p',[_vm._v(\"\\n Work is said to be done when the force applied on an object makes the object move (i.e., produces a displacement\\n in it). In short, work is said to be done only when an object moves under the influence of the force applied on it.\\n \")]),_vm._m(0),_vm._v(\"\\n $$W=\\\\vec{F} \\\\cdot \\\\vec{S}= FS \\\\cos{\\\\theta} $$\\n \"),_c('p',[_vm._v(\"\\n where \\\\(F\\\\) is the force applied on the object, \\\\(S\\\\) is the displacement, and \\\\(\\\\theta\\\\) is the angle between\\n them. Work is a scalar quantity.\\n \")]),_c('p',[_vm._v(\"\\n Work done on a body can be zero, negative or positive depending on the angle between the direction of force\\n applied and displacement of the body. For example, when a stone tied to a string whirls around the string,\\n no work is said to be done even though tension force in the string applies a centripetal force on the stone.\\n It is because the displacement of the stone at all instants is normal to the direction of the tension force\\n applied on the stone.\\n \")]),_vm._m(1),_c('h3',[_vm._v(\"Energy\")]),_c('p',[_vm._v(\"\\n Energy is defined as the capacity of a body to do work. If a body can do work, it is said to possess energy.\\n Its S.I unit is joule. Whenever work is done, energy transfer takes place.\\n \")]),_c('p',[_vm._v(\"\\n There are different forms of energy, for example solar energy, heat energy, light energy, mechanical energy,\\n sound energy, magnetic energy etc. But primarily, there are two forms of energy, kinetic energy and potential\\n energy.\\n \")]),_c('h5',[_vm._v(\"Kinetic energy\")]),_c('p',[_vm._v(\"\\n The energy possessed by a body due to its state of motion is called kinetic energy. If a body is moving,\\n it possesses kinetic energy. For a body of mass m moving with a velocity \\\\(v\\\\), its kinetic energy \\\\(K\\\\) is\\n given as,\\n \")]),_vm._v(\"\\n $$K=\\\\frac{1}{2}mv^2$$\\n \"),_c('h5',[_vm._v(\"Potential energy\")]),_c('p',[_vm._v(\"\\n The energy possessed by a body because of its position, arrangement or state is known as potential energy.\\n Potential energy can convert to kinetic energy. Potential energy possessed by a body due to the\\n gravitational force applied on it by the earth is known as gravitational potential energy. It is the most\\n common form of potential energy that we will study and is equal to \\\\(m \\\\times g \\\\times h\\\\), where \\\\(m\\\\) is\\n the mass of the\\n body, \\\\(g\\\\) is the acceleration due to gravity and \\\\(h\\\\) is the height of the body.\\n \")]),_c('h3',[_vm._v(\"Work-Energy Theorem\")]),_vm._m(2),_vm._v(\"\\n $$W=\\\\Delta K =K_f - K_i$$\\n \"),_c('h5',[_vm._v(\"Derivation of work-energy theorem\")]),_c('p',[_vm._v(\"\\n Let us derive the work-energy theorem.\\n Consider a body of mass \\\\(m\\\\) moving with an initial velocity \\\\(u\\\\). A force \\\\(F\\\\) is applied on the body which\\n produces an acceleration \\\\(a\\\\) and displaces it through a distance \\\\(s\\\\). The final velocity of\\n the body is \\\\(v\\\\). Let \\\\(W\\\\) be the work done on the body throughout the entire process.\\n \")]),_vm._v(\"\\n $$\\n \\\\begin{equation} \\\\label{eq2}\\n \\\\begin{split}\\n \\\\text{Work}&= \\\\text{Force} \\\\times \\\\text{displacement}\\n =F \\\\times s \\\\;\\\\;\\\\;\\\\;\\\\;\\\\; -(i)\\n\\n \\\\end{split}\\n \\\\end{equation}\\n $$\\n\\n \"),_c('p',[_vm._v(\"\\n By the third equation of motion, we know \\\\(s=\\\\frac{v^2-u^2}{2a}\\\\). Therefore, replacing \\\\(s\\\\) in equation (i), we\\n get\\n \")]),_vm._v(\"\\n $$\\n \\\\begin{equation} \\\\label{eq3}\\n \\\\begin{split}\\n W&= F \\\\times \\\\left( \\\\frac {v^2-u^2}{2a} \\\\right)\\n \\\\\\\\&=ma \\\\times \\\\left( \\\\frac{v^2-u^2}{2a} \\\\right) \\\\;\\\\;\\\\;\\\\;\\\\;\\\\;\\\\;\\\\; \\\\because F=ma\\n \\\\\\\\&=\\\\frac{m(v^2-u^2)}{2}\\n\\n \\\\\\\\&=\\\\frac{1}{2}mv^2-\\\\frac{1}{2}mu^2\\n \\\\\\\\&=K_f-K_i\\n \\\\end{split}\\n \\\\end{equation}\\n $$\\n \"),_c('p',[_vm._v(\"Thus, we have derived that work done on a body is equal to the change in its kinetic energy.\")]),_c('v-responsive',[_c('v-layout',{attrs:{\"align-center\":\"\",\"justify-center\":\"\"}},[_c('div',{staticClass:\"edliy-box-about\",attrs:{\"id\":\"jxgbox1\"}})]),_c('v-layout',{attrs:{\"justify-center\":\"\"}},[_c('h5',[_vm._v(\" Follow this link \"),_c('a',{staticClass:\"icn\",attrs:{\"href\":\"https://edliy.com/magic\"}},[_c('i',{staticClass:\"fa fa-external-link-square\"})]),_vm._v(\" to learn how MagicGraphs help students accelerate their learning curve.\")])])],1)],1)\n}\nvar staticRenderFns = [function (){var _vm=this,_c=_vm._self._c;return _c('p',[_c('i',[_vm._v(\"The amount of work done is equal to the product of the force applied and displacement produced in the body in\\n the direction of the force applied. \")]),_vm._v(\"It is equal to the dot product of the force applied and the\\n displacement. It is given as,\\n \")])\n},function (){var _vm=this,_c=_vm._self._c;return _c('p',[_vm._v(\"\\n S.I unit of work is \"),_c('i',[_vm._v(\"Newton-meter\")]),_vm._v(\" or \"),_c('i',[_vm._v(\"joule.\")]),_vm._v(\"\\n One joule is the work done by a force of 1 newton in displacing the body through a distance of 1 meter in\\n its own direction.\\n \")])\n},function (){var _vm=this,_c=_vm._self._c;return _c('p',[_vm._v(\"\\n We have studied that work done on a body makes the body move and its energy changes. This change in energy\\n of the body is the change in its kinetic energy.\\n \"),_c('i',[_vm._v(\" The work-energy theorem states that the work done by the force applied on a body is equal to the change in\\n its kinetic energy.\")])])\n}]\n\nexport { render, staticRenderFns }","import {\r\n makeResponsive,\r\n placeTitle,\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 placeGravity,\r\n placeText,\r\n placeLine,\r\n placePoint,\r\n placeGlider,\r\n placeRuler,\r\n placeLeftText,\r\n placeCircle,\r\n placeAngle,\r\n placeDash,\r\n placeLabel,\r\n placeArc\r\n} from '../../../common/edliy_utils-circle';\r\nconst Boxes = {\r\n //JXG.Options.line.highlight=false;\r\n box1: function () {\r\n //Create the Board\r\n var brd1 = JXG.JSXGraph.initBoard('jxgbox1',{boundingbox: [-14, 12, 2, -4],\r\n keepaspectratio: true, axis:false, ticks:{visible:false},\r\n grid:true, showCopyright:false, showNavigation:false,\r\n pan:{enabled:false}, zoom:{enabled:false}});\r\n //suspend updates\r\n brd1.suspendUpdate();\r\n // Layering\r\n brd1.options.layer['image']=15;\r\n brd1.options.layer['text']=16;\r\n brd1.options.layer['line']=16;\r\n brd1.options.layer['point']=17;\r\n brd1.options.layer['glider']=17;\r\n brd1.options.layer['angle']=18;\r\n brd1.options.board.minimizeReflow = 'none';\r\n brd1.options.point.showInfobox =false;\r\n brd1.options.line.highlight=false;\r\n brd1.options.image.highlight=false;\r\n// brd1.options.text.display='internal';\r\n //Make the board responsive\r\n makeResponsive(brd1);\r\n // Creat titleStyle\r\n placeTitle(brd1, 'Work Done by a Force', '(Tap on the wall to move.)');\r\n //dragMe(brd1, 5, 5);\r\n //var stone=placeLine(brd1, [-2,0], [3,5], 10, 'grey');\r\n //\r\n var pts1 = [-15,0];\r\n var pts2 = [15,0];\r\n var pts3 = [15, -5];\r\n var pts4 = [-15, -5];\r\n var pts6= [-4, 6];\r\n var pts7 =[-4, 4];\r\n var i =0, j=0, k=0, l=0, m=0;\r\n //placeArrow(brd1, pts6, pts7, 'red');\r\n //placeGravity(brd1, [-4,6],[-4, 4], 'g');\r\n var soil =placeImage(brd1,'/assets/floor.svg', -14, -20, 20., 0)\r\n //var ground =placeRec(brd1, pts1, pts2, pts3, pts4, 'grey');\r\n //var stone = placeImage(brd1,'/assets/stone.svg', -2, -0.5, 4, 0);\r\n //var wall = placeImage(brd1,'/assets/wall.svg', -7, -0., 4., 0);\r\n var wall0 =brd1.create('image', ['/assets/wall.svg',[-4, -0], [1, 1]]);\r\n var wall01=brd1.create('image', ['/assets/wall.svg',[-4, 1], [1, 1]]);\r\n var wall02=brd1.create('image', ['/assets/wall.svg',[-4, 2], [1, 1]]);\r\n var wall03=brd1.create('image', ['/assets/wall.svg',[-4, 3], [1, 1]]);\r\n var wall2 =brd1.create('image', ['/assets/greenwall.svg',[-8, -0], [1, 1]]);\r\n var wall21=brd1.create('image', ['/assets/greenwall.svg',[-8, 1], [1, 1]]);\r\n var wall22=brd1.create('image', ['/assets/greenwall.svg',[-8, 2], [1, 1]]);\r\n var wall23=brd1.create('image', ['/assets/greenwall.svg',[-8, 3], [1, 1]]);\r\n var wall3 =brd1.create('image', ['/assets/purplewall.svg',[-13, -0], [1, 1]]);\r\n var wall31=brd1.create('image', ['/assets/purplewall.svg',[-13, 1], [1, 1]]);\r\n var wall32=brd1.create('image', ['/assets/purplewall.svg',[-13, 2], [1, 1]]);\r\n var wall33=brd1.create('image', ['/assets/purplewall.svg',[-13, 3], [1, 1]]);\r\n ////////////////////////\r\n var gate1 = brd1.create('image', ['/assets/minuss.svg',[-4, 5], [1, 1]]);\r\n var gate2 = brd1.create('image', ['/assets/minuss.svg',[-8, 5], [1, 1]]);\r\n //brd1.create('image', ['/assets/minuss.svg',[-13, 5], [1, 1]]);\r\n var Pt1 =placePoint(brd1, -2, 1, 2, 'white', 'black');\r\n var Pt2 =placePoint(brd1, 1, 1, 0, 'white', 'black');\r\n var Pt3 =placePoint(brd1, -2, 4 , 0, 'white', 'black');\r\n var track = placeArc(brd1, [()=>Pt1.X(), ()=>Pt1.Y()], [()=>Pt1.X()+3, ()=>Pt1.Y()], [()=>Pt1.X(), ()=>Pt1.Y()+3], 1, 'black');\r\n placeDash(brd1, [()=>Pt1.X(), 1], [()=>Pt1.X()+4, 1], 1, 'black');\r\n placeDash(brd1, [()=>Pt1.X(), 1], [()=>Pt1.X(), 5], 1, 'black');\r\n var Glid = placeGlider(brd1, track, 1, 4, 2, 'red', 'black');\r\n Glid.setLabel('F');\r\n Glid.label.setAttribute({CssStyle:'fontFamily:Oswald', fontSize:function(){return Math.round(22*brd1.canvasWidth/800.)}});\r\n ////////////////////\r\n placeAngle(brd1, [()=>Pt1.X()+3, ()=>Pt1.Y()], [()=>Pt1.X(), ()=>Pt1.Y()], [()=>Glid.X(), ()=>Glid.Y()], 1.5, 'black')\r\n placeArrow(brd1, [()=>Glid.X(), ()=>Glid.Y()],[()=>Pt1.X(), ()=>Pt1.Y()], 2, 'black');\r\n //placeRuler(brd1, [-4, 4.5],[-8, 4.5], '4 m');\r\n //placeRuler(brd1, [-8, 4.5],[-13, 4.5], '5 m');\r\n var box = placeImage(brd1,'/assets/box.svg', ()=>Pt1.X()-1, 0, 2., 0);\r\n gate1.on('down', function(){\r\n wall0.setAttribute({visible:false});\r\n wall01.setAttribute({visible:false});\r\n wall02.setAttribute({visible:false});\r\n wall03.setAttribute({visible:false});\r\n Pt1.moveTo([Pt1.X()-4, 1], 500);\r\n });\r\n gate2.on('down', function(){\r\n wall2.setAttribute({visible:false});\r\n wall21.setAttribute({visible:false});\r\n wall22.setAttribute({visible:false});\r\n wall23.setAttribute({visible:false});\r\n Pt1.moveTo([Pt1.X()-5, 1], 500);\r\n });\r\n hoverMe(brd1, gate1, 'Tap to remove red wall', 0, 80);\r\n hoverMe(brd1, gate2, 'Tap to remove green wall', 0, 80);\r\n //var bull = placeImage(brd1,'/assets/bulls.svg', -5.25, -0.65, 4.0, 0);\r\n //var dog =placeImage(brd1,'/assets/monkey1.svg'1, 0.25, 3, 1.5, 0)\r\n //var shuffle=placeImage(brd1,'/assets/shuffle.svg', 3, 6, 2., 0)\r\n //var stone =brd1.create('segment',[[-2.,0],[3, 5]],{strokeColor:'grey', strokeWidth:10, highlight:false});\r\n //var wallText =placeText(brd1, 0, 9, 'Tap on to apply the force exerted by the wall on the plank.');\r\n //var bullText =placeText(brd1, 0, 9, 'Tap on to apply the force exerted by the bull on the plank.');\r\n //var dogText =placeText(brd1, 0, 9, 'Tap on to apply the force exerted by the monkey on the plank.');\r\n //var groundText =placeText(brd1, 0, 9, 'Tap on to apply the force exerted by the floor on the plank');\r\n //placeText(brd1, 0, 8, '()=>'Total '+ (4-i-j-k-l).valueOf() +' objects remaining');\r\n /*brd1.create('text', [0., 9, ()=>''+ (m+2-i-j-k-l).valueOf() +' objects remaining !'],{anchorX:'middle', display:'internal', highlight:false, fontSize:function(){return 20*brd1.canvasHeight/800}, cssStyle:'fontFamily:Oswald', fixed:true});\r\n wallText.setAttribute({visible:false});\r\n bullText.setAttribute({visible:false});\r\n dogText.setAttribute({visible:false});\r\n groundText.setAttribute({visible:false});\r\n///////////////////////////////////////////////////////////\r\n\r\n hoverMe(brd1, wall, 'Wall',0.5*wall.size[0], 0.5*wall.size[1]);\r\n hoverMe(brd1, dog, 'Monkey Mo', 0, +100);\r\n hoverMe(brd1, bull, 'Bull Bo', 0.5*bull.size[0], 0.5*bull.size[1]);\r\n hoverMe(brd1, soil, 'Ground', 0.5*soil.size[0], 0.9*soil.size[1]);\r\n hoverMe(brd1, shuffle,'Tap to Shuffle!', 0, -20)\r\n var Fwall =placeGravity(brd1, [4, 2],[2, 4], 'F_w');\r\n var Fdog = placeGravity(brd1, [1, 3],[1, 1], 'mg');\r\n var Fbull = placeGravity(brd1, [-3, 1.],[-1, 1.], 'F_B');\r\n var Fsoil1 = placeGravity(brd1, [-2, -2],[-2, 0], 'F_n');\r\n var Fsoil2 = placeGravity(brd1, [-2, 0],[0, 0], 'F_s');\r\n // Making bull invisible\r\n Fbull[0].setAttribute({visible:()=>i==1});\r\n Fbull[1].setAttribute({visible:()=>i==1});\r\n/////////////////////////////////////////////////////////\r\n bull.setAttribute({visible:()=>i==0});\r\n// bull.on('down', ()=>i=1; ()=>bull.setAttribute({visible:false}));\r\n bull.on('down', function(){i=1; bull.setAttribute({visible:false})});\r\n//Making wall invisible\r\n Fwall[0].setAttribute({visible:()=>j==1});\r\n Fwall[1].setAttribute({visible:()=>j==1});\r\n//////////////////////////////////////////////\r\n wall.setAttribute({visible:()=>j==0});\r\n wall.on('down', ()=>j=1);\r\n///////////////////////////////////////////////////////\r\n Fdog[0].setAttribute({visible:()=>k==1});\r\n Fdog[1].setAttribute({visible:()=>k==1});\r\n dog.setAttribute({visible:()=>k==0});\r\n //dog.on('down', ()=>k=1);\r\n dog.on('down', function(){k=1; dog.setAttribute({visible:false})});\r\n//////////////////////////////////////////////////////////////\r\n Fsoil1[0].setAttribute({visible:()=>l==1});\r\n Fsoil1[1].setAttribute({visible:()=>l==1});\r\n Fsoil2[0].setAttribute({visible:()=>l==1});\r\n Fsoil2[1].setAttribute({visible:()=>l==1});\r\n soil.setAttribute({visible:()=>l==0});\r\n soil.on('down', ()=>l=1);\r\n bull.setAttribute({visible:false});\r\n dog.setAttribute({visible:false});\r\n//////////////////////////////////////////////////////////////\r\n shuffle.on('down', function(){\r\n if(m<2){m+=1}else{m=0}\r\n // if(m==0){l=0; j=0; i=2; k=2}\r\n if(m==0){ i=0;j=0;k=0;l=0;\r\n bull.setAttribute({visible:false});\r\n dog.setAttribute({visible:false});\r\n }\r\n if(m==1){ i=0;j=0;k=0;l=0;\r\n bull.setAttribute({visible:false});\r\n dog.setAttribute({visible:true});\r\n }\r\n if(m==2){l=0; j=0; i=0; k=0;\r\n bull.setAttribute({visible:true});\r\n dog.setAttribute({visible:true});\r\n }\r\n }\r\n );*/\r\n brd1.unsuspendUpdate();\r\n },\r\n }\r\nexport default Boxes;\r\n","\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!./Lesson.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!./Lesson.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Lesson.vue?vue&type=template&id=63f5b49f&\"\nimport script from \"./Lesson.vue?vue&type=script&lang=js&\"\nexport * from \"./Lesson.vue?vue&type=script&lang=js&\"\nimport style0 from \"./Lesson.vue?vue&type=style&index=0&id=63f5b49f&prod&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","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!./Lesson.vue?vue&type=style&index=0&id=63f5b49f&prod&lang=scss&\""],"sourceRoot":""}