PageSourceSearch

https://studora.se/_next/static/chunks/pages/studieteknik-6f854964fd391d87.js

js studora.se collected 2026-10-05 07:11:26 UTC 10,500 bytes, 117 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2666],{10445:(e,t,r)=>{"use strict";r.d(t,{A:()=>i.A});var i=r(24451)},18852:(e,t,r)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/studieteknik",function(){return r(73387)}])},24451:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var i=r(37876),n=r(82702),a=r(34401);let s=(0,a.Ay)(n.A,{shouldForwardProp:e=>"green"!==e&&"gutterTop"!==e})`
2  color: ${({green:e,theme:t})=>e&&t.palette.primary.dark};
3  margin-top: ${({gutterTop:e})=>e&&"2.5rem"};
4`,o=({green:e,gutterTop:t,isOrigoData:r,variant:n,children:a})=>(0,i.jsx)(s,{component:"h1",variant:n,green:e,gutterTop:t,gutterBottom:!0,"data-cy":r&&"origo-heading",children:a})},27042:(e,t,r)=>{"use strict";r.d(t,{A:()=>f});var i=r(37876),n=r(82702),a=r(90330),s=r(34401),o=r(99974),d=r(9092),l=r(75283),c=r(98689),u=r(54587),m=r.n(u),h=r(4103),p=r.n(h),g=r(39807),x=r(61293),y=r(50307),A=r(55481);let b=(0,s.Ay)(a.Ay)`
5  display: flex;
6  padding: 0;
7  margin-bottom: ${({theme:e})=>e.spacing(1)};
8
9  ${({theme:e})=>e.containerQueries.up("sm")} {
10    margin-bottom: ${({theme:e})=>e.spacing(.125)};
11  }
12`,j=(0,s.Ay)(d.A)`
13  padding: ${({theme:e})=>e.spacing(2)};
14  border-radius: 0;
15  width: 100%;
16  display: grid;
17  grid-template-columns: 1fr 1fr;
18  gap: ${({theme:e})=>e.spacing(1)};
19  transition: background-color 820ms cubic-bezier(0.16, 1, 0.3, 1);
20
21  ${({theme:e})=>e.containerQueries.up("sm")} {
22    grid-template-columns: 10.625rem 1fr;
23    gap: ${({theme:e})=>e.spacing(3)};
24  }
25
26  @media (hover: hover) and (pointer: fine) {
27    &:hover {
28      background-color: ${({theme:e})=>(0,o.X4)(e.palette.primary.main,.04)};
29    }
30  }
31`,v=(0,s.Ay)(A.N_)`
32  display: block;
33  width: 100%;
34  color: inherit;
35  text-decoration: none;
36`,f=({id:e,title:t,subTitle:r,authors:a,description:s,readingTime:o,image:d,imgAltText:u,hideDescription:h})=>{let{isDarkMode:A}=(0,x.A)(),{t:f}=(0,g.u)(),w=p()(t,{lower:!0});return(0,i.jsx)(b,{children:(0,i.jsx)(v,{href:`/studieteknik/${e}/${w}`,className:(0,y.Y)(A),"aria-label":f("study-technique.show-aria-label",{title:t}),children:(0,i.jsxs)(j,{children:[(0,i.jsx)(c.A,{sx:{width:"100%",backgroundColor:"lightgrey",gridColumn:{"@xs":"1/-1","@sm":"1/2"},mb:{"@xs":2,sm:0},position:"relative",maxHeight:{"@sm":"12.188rem"},height:{"@xs":"12.5rem","@sm":"auto"},borderRadius:"0.25rem",overflow:"hidden",boxShadow:e=>e.shadows[1]},children:(0,i.jsx)(m(),{unoptimized:!0,fill:!0,src:d,alt:u,style:{objectFit:"cover"}})}),(0,i.jsxs)(c.A,{sx:{gridColumn:{"@xs":"1/-1","@sm":"2/3"}},children:[(0,i.jsx)(n.A,{component:"h2",variant:"h5",children:t}),(0,i.jsx)(n.A,{variant:"subtitle1",component:"h3",sx:{color:"text.secondary"},gutterBottom:!0,children:r}),(0,i.jsx)(n.A,{variant:"body2",sx:{color:"text.secondary"},gutterBottom:!0,children:a}),!h&&(0,i.jsx)(n.A,{variant:"body2",children:s})]}),(0,i.jsx)(l.A,{label:`${f("study-technique.reading-time")} ${o}`,sx:[()=>({backgroundColor:"grey.200",color:"text.primary",justifySelf:{"@xs":"start","@sm":"center"},alignSelf:"end"}),e=>e.applyStyles("dark",{color:e.palette.common.black})]})]})})})}},44726:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var i=r(40925),n=r(37876);let a=(0,i.A)((0,n.jsx)("path",{d:"M16.59 7.58 10 14.17l-3.59-3.58L5 12l5 5 8-8zM12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8"}),"CheckCircleOutline")},66571:(e,t,r)=>{"use strict";r.d(t,{A:()=>A});var i=r(37876),n=r(78011),a=r(98689),s=r(82702),o=r(34401),d=r(14232),l=r(59051),c=r(10651);let u=function(){let{data:e,isLoading:t}=(0,l.A)(["products","studyTechnique"],e=>e.products.studyTechnique(),{}),{filterProducts:r}=(0,c.A)();return{products:r((0,d.useMemo)(()=>e&&Array.isArray(e.products)?e.products.filter(e=>"biaf"!==e.type):[],[e]).sort(()=>Math.random()-.5)),isLoading:t}};var m=r(39807),h=r(50292),p=r(61293),g=r(50307),x=r(37687);let y=(0,o.Ay)(a.A)`
37  display: flex;
38  overflow: auto;
39  width: 100%;
40  padding: ${({theme:e})=>e.spacing(0,2,3,0)};
41`,A=()=>{let{t:e}=(0,m.u)(),{isDarkMode:t}=(0,p.A)(),{products:r}=u(),o=(0,h.A)("up","md");return r.length?(0,i.jsxs)(a.A,{sx:{backgroundColor:e=>e.palette.primary.light,borderRadius:o?"1.5rem":"0",mx:o?"0":"-1rem",color:e=>e.palette.primary.container,maxWidth:o?"47rem":"none",pb:o?4:3},children:[(0,i.jsx)(s.A,{variant:"h6",component:"h3",sx:{pt:o?3:2,pl:o?6:3,pb:2,color:e=>e.palette.tonal.primary[0]},children:e("study-technique.book-recommendations")}),o?(0,i.jsx)(n.ql,{items:r,itemsPerPage:4,getItemKey:e=>e.id,renderItem:({id:e,coverUrl:t,type:r,slug:n,title:a,subTitle:s,variants:o,artnr:d,subjects:l,coming:c,aiEnabled:u,publisher:m})=>(0,i.jsx)(x.A,{id:e,coverUrl:t,type:r,slug:n,title:a,subTitle:s,variants:o,artnr:d,subjects:l,coming:c,aiEnabled:u,publisher:m,cardSx:{width:"8.2994rem"},imageFrameSx:{maxWidth:{xs:"236px",md:"260px",lg:"268px"}}},e),duration:300,autoPlay:!1,navButtonClassName:(0,g.Y)(t),navButtonSx:{color:e=>e.palette.primary.container,"&:hover":{backgroundColor:"transparent",color:e=>e.palette.tonal.primary[90]}},indicatorAriaLabel:e("product-page"),indicatorSx:{width:"1.5rem",height:"1.5rem",minWidth:"1.5rem",minHeight:"1.5rem",color:"#6AA7AE",boxSizing:"border-box"},activeIndicatorSx:{color:"#fff"}
41,navButtonsWrapperSx:{display:"flex",alignItems:"center",height:"17.5rem"},pageSx:{px:5,justifyContent:"space-between",alignItems:"flex-end"},getPageSx:e=>e.length>1&&e.length<4?{gap:4,justifyContent:"flex-start"}:void 0}):(0,i.jsx)(y,{tabIndex:0,children:r.map(({id:e,coverUrl:t,type:r,slug:n,title:a,subTitle:s,variants:o,artnr:d,subjects:l,coming:c,aiEnabled:u,publisher:m})=>(0,i.jsx)(x.A,{id:e,coverUrl:t,type:r,slug:n,title:a,subTitle:s,variants:o,artnr:d,subjects:l,coming:c,isScroll:!0,aiEnabled:u,publisher:m,cardSx:{minWidth:"10rem"},imageFrameSx:{maxWidth:{xs:"8.5rem",md:"10rem",lg:"10.5rem"}}},e))})]}):null}},73387:(e,t,r)=>{"use strict";r.r(t),r.d(t,{__N_SSG:()=>F,default:()=>N});var i=r(37876),n=r(82702),a=r(34401),s=r(98689),o=r(39807),d=r(99417),l=r(92860),c=r(10445),u=r(15676),m=r(72971),h=r(14232),p=r(2797),g=r(59051),x=r(66571),y=r(27042);let A=(0,a.Ay)(p.A)`
42  margin-top: ${({theme:e})=>e.spacing(1)};
43
44  ${({theme:e})=>e.containerQueries.up("sm")} {
45    margin: ${({theme:e})=>e.spacing(2,0,1,0)};
46  }
47
48  max-width: 54rem;
49`,b=(0,a.Ay)(m.A)`
50  width: 100%;
51  height: 6.25rem;
52  margin-bottom: ${({theme:e})=>e.spacing(2)};
53
54  ${({theme:e})=>e.containerQueries.up("sm")} {
55    width: 43.75rem;
56    height: 10rem;
57  }
58`,j=()=>{let{t:e}=(0,o.u)(),[t,r]=(0,h.useState)(!1),{data:a,isLoading:d}=(0,g.A)(["studyTechniques","list"],e=>e.studyTechniques.list());return((0,h.useEffect)(()=>r(!0),[]),d||!t)?(0,i.jsxs)(s.A,{sx:{mt:2},children:[(0,i.jsx)(b,{variant:"rounded"}),(0,i.jsx)(b,{variant:"rounded"}),(0,i.jsx)(b,{variant:"rounded"})]}):!a||a.length<1?(0,i.jsx)(n.A,{variant:"body1",children:e("study-technique.no-list-content")}):(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(A,{children:a.map(({id:e,metadata:t})=>(0,i.jsx)(y.A,{id:e,...t},e))}),(0,i.jsx)(n.A,{variant:"body2",sx:{mb:4,maxWidth:"31.25rem"},children:e("study-technique.author-info")}),(0,i.jsx)(x.A,{})]})};var v=r(57084),f=r(78368),w=r(73717);let $=(0,a.Ay)(s.A)`
59  margin: ${({theme:e})=>e.spacing(0,-2,2,-2)};
60  flex-direction: column;
61  display: flex;
62
63  ${({theme:e})=>e.containerQueries.up("md")} {
64    margin: ${({theme:e})=>e.spacing(0,0,2,0)};
65    max-width: 100%;
66    min-width: 0;
67  }
68`,S=(0,a.Ay)(s.A)`
69  margin-bottom: ${({theme:e})=>e.spacing(2)};
70  padding-bottom: ${({theme:e})=>e.spacing(2)};
71  overflow: auto;
72  display: flex;
73
74  ${({theme:e})=>e.containerQueries.up("md")} {
75    gap: ${({theme:e})=>e.spacing(2)};
76    max-width: 54rem;
77    flex-wrap: wrap;
78    margin-left: 0;
79  }
80`,k=(0,a.Ay)(m.A)`
81  min-height: 15rem;
82  min-width: 12rem;
83`,q=()=>(0,i.jsxs)(S,{children:[(0,i.jsx)(k,{variant:"rounded"}),(0,i.jsx)(k,{variant:"rounded"}),(0,i.jsx)(k,{variant:"rounded"})]}),_=(0,a.Ay)(n.A)`
84  margin-left: ${({theme:e})=>e.spacing(2)};
85  max-width: 31.25rem;
86
87  ${({theme:e})=>e.containerQueries.up("md")} {
88    margin-left: 0;
89  }
90`,T=()=>{let{t:e}=(0,o.u)(),{videos:t,isLoading:r}=(()=>{let{data:e,isLoading:t}=(0,g.A)(["studyTechniques","videos"],e=>e.products.studyTechniqueVideos());return{videos:(0,h.useMemo)(()=>!e||t?[]:(0,v.WF)(e,null,!0),[e,t]),isLoading:t}})(),[n,a]=(0,h.useState)(!1);return(0,h.useEffect)(()=>a(!0),[]),(0,i.jsxs)($,{children:[(r||!n)&&(0,i.jsx)(q,{}),(0,i.jsx)(S,{children:t?.map(({id:e,authorAndEditor:r,title:n,numberOfEpisodes:a,coverUrl:s,preview:o,filename:d,url:l,slug:c,mediaFileId:u,progress:m,completed:h,subTitle:p,lengthSeconds:g,subtitles:x})=>(0,i.jsx)(f.A,{type:w.a0.VIDEO,isPreview:o,fileName:d,url:l,coverUrl:s,title:n,authorAndEditor:r,numberOfEpisodes:a,productId:e,slug:c,progress:m,completed:h,mediaFileId:u,subTitle:p,lengthSeconds:g,relatedMedia:t,subtitles:x,isStudyTechnique:!0},e))}),(0,i.jsx)(_,{variant:"body2",children:e("study-technique.author-info-videos")})]})},C=(0,a.Ay)(s.A,{shouldForwardProp:e=>"loggedIn"!==e})`
91  display: flex;
92  flex-direction: column;
93  align-items: ${({loggedIn:e})=>e?"flex-start":"center"};
94  gap: ${({theme:e})=>e.spacing(2)};
95
96  ${({theme:e})=>e.containerQueries.up("sm")} {
97    align-items: normal;
98  }
99
100  ${({theme:e})=>e.containerQueries.up("md")} {
101    gap: ${({theme:e})=>e.spacing(20)};
102    flex-direction: row;
103  }
104`,E=(0,a.Ay)(n.A)`
105  margin-bottom: ${({theme:e})=>e.spacing(3)};
106  max-width: 29rem;
107`,I=(0,a.Ay)(s.A,{shouldForwardProp:e=>"loggedIn"!==e})`
108  width: 100%;
109  padding: ${({theme:e})=>e.spacing(0,0,4,0)};
110
111  ${({theme:e,loggedIn:t})=>!t&&`
112      ${e.containerQueries.up("md")} {
113        max-width: 54rem;
114        margin: auto;
115      }
116    `}
117`;var F=!0;let N=()=>{let{isLoggedIn:e}=(0,d.A)(),{t}=(0,o.u)();return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(l.A,{pageTitle:t("study-technique.title")}),(0,i.jsx)(u.A,{noSidebar:!e,noHeader:!e,children:(0,i.jsxs)(I,{loggedIn:e,children:[(0,i.jsx)(c.A,{variant:"h4",children:t("study-technique.title")}),(0,i.jsx)(C,{loggedIn:e,children:(0,i.jsxs)(s.A,{children:[(0,i.jsx)(E,{variant:"body1",children:t("study-technique.description")}),!e&&(0,i.jsx)(E,{variant:"body1",children:t("study-technique.description-trial")})]})}),(0,i.jsx)(n.A,{component:"h2",variant:"h6",sx:{mb:2},children:t("videos")}),(0,i.jsx)(T,{}),(0,i.jsx)(n.A,{component:"h2",variant:"h6",children:t("articles")}),(0,i.jsx)(j,{})]})})]})}}},e=>{e.O(0,[9570,5762,5676,3840,7766,2949,636,6593,8792],()=>e(e.s=18852)),_N_E=e.O()}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.