PageSourceSearch

https://studycafe.se/_next/static/chunks/4316-975370daf73a0ff0.js

js studycafe.se collected 2026-10-08 03:21:29 UTC 13,986 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4316],{50613:function(e,t,o){var r=o(85893),n=o(87918),a=o(86010),i=o(50591);let l=e=>{let{sx:t,skin:o,color:l,rounded:c}=e,d=(0,i.Z)(),s={primary:{...d.primaryLight},secondary:{...d.secondaryLight},success:{...d.successLight},error:{...d.errorLight},warning:{...d.warningLight},info:{...d.infoLight}},p={...e};return p.rounded=void 0,(0,r.jsx)(n.Z,{...p,variant:"filled",className:(0,a.Z)({"MuiChip-rounded":c,"MuiChip-light":"light"===o}),sx:"light"===o&&l?Object.assign(s[l],t):t})};t.Z=l},81010:function(e,t,o){var r=o(85893),n=o(67294),a=o(41664),i=o.n(a),l=o(99226),c=o(38333),d=o(67720),s=o(18972),p=o(93946),g=o(63730),f=o(23918);let m=e=>{let{children:t,option:o}=e;return o.href?(0,r.jsx)(l.Z,{component:i(),href:o.href,...o.linkProps,sx:{px:4,py:1.5,width:"100%",display:"flex",color:"inherit",alignItems:"center",textDecoration:"none"},children:t}):(0,r.jsx)(r.Fragment,{children:t})},u=e=>{let{icon:t,options:o,menuProps:a,iconProps:i,leftAlignMenu:l,iconButtonProps:u}=e,[b,h]=(0,n.useState)(null),{settings:x}=(0,f.r)(),{direction:v}=x,y=e=>{h(e.currentTarget)},C=()=>{h(null)};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(p.Z,{"aria-haspopup":"true",onClick:y,...u,children:t||(0,r.jsx)(g.Z,{icon:"mdi:dots-vertical",...i})}),(0,r.jsx)(c.Z,{keepMounted:!0,anchorEl:b,onClose:C,open:!!b,...!l&&{anchorOrigin:{vertical:"bottom",horizontal:"ltr"===v?"right":"left"},transformOrigin:{vertical:"top",horizontal:"ltr"===v?"right":"left"}},...a,children:o.map((e,t)=>"string"==typeof e?(0,r.jsx)(s.Z,{onClick:C,children:e},t):"divider"in e?e.divider&&(0,r.jsx)(d.Z,{...e.dividerProps},t):(0,r.jsx)(s.Z,{...e.menuItemProps,...e.href&&{sx:{p:0}},onClick:t=>{C(),e.menuItemProps&&e.menuItemProps.onClick&&e.menuItemProps.onClick(t)},children:(0,r.jsxs)(m,{option:e,children:[e.icon?e.icon:null,e.text]})},t))})]})};t.Z=u},50591:function(e,t,o){var r=o(2734),n=o(25812);let a=()=>{let e=(0,r.Z)();return{primaryFilled:{color:e.palette.primary.contrastText,backgroundColor:e.palette.primary.main},primaryLight:{color:e.palette.primary.main,backgroundColor:(0,n.E)(e.palette.primary.main,.12)},secondaryFilled:{color:e.palette.secondary.contrastText,backgroundColor:e.palette.secondary.main},secondaryLight:{color:e.palette.secondary.main,backgroundColor:(0,n.E)(e.palette.secondary.main,.12)},successFilled:{color:e.palette.success.contrastText,backgroundColor:e.palette.success.main},successLight:{color:e.palette.success.main,backgroundColor:(0,n.E)(e.palette.success.main,.12)},errorFilled:{color:e.palette.error.contrastText,backgroundColor:e.palette.error.main},errorLight:{color:e.palette.error.main,backgroundColor:(0,n.E)(e.palette.error.main,.12)},warningFilled:{color:e.palette.warning.contrastText,backgroundColor:e.palette.warning.main},warningLight:{color:e.palette.warning.main,backgroundColor:(0,n.E)(e.palette.warning.main,.12)},infoFilled:{color:e.palette.info.contrastText,backgroundColor:e.palette.info.main},infoLight:{color:e.palette.info.main,backgroundColor:(0,n.E)(e.palette.info.main,.12)}}};t.Z=a},13529:function(e,t,o){var r=o(90948),n=o(99226),a=o(50591),i=o(25812);let l=(0,r.ZP)(n.Z)(e=>{let{theme:t,dateNumberHoverCursor:o}=e,r=(0,a.Z)();return{display:"flex",position:"relative",borderRadius:t.shape.borderRadius,"& .fc":{zIndex:1,".fc-col-header, .fc-daygrid-body, .fc-scrollgrid-sync-table, .fc-timegrid-body, .fc-timegrid-body table":{width:"100% !important"},"& .fc-toolbar":{flexDirection:"row !important","&.fc-header-toolbar":{marginBottom:t.spacing(6)},".fc-prev-button, & .fc-next-button":{display:"inline-block",borderColor:"transparent",backgroundColor:"transparent","& .fc-icon":{color:t.palette.text.primary,fontSize:t.typography.h4.fontSize},"&:hover, &:active, &:focus":{boxShadow:"none !important",borderColor:"transparent !important",backgroundColor:"transparent !important"}},"& .fc-prev-button":{paddingLeft:"0 !important"},"& .fc-toolbar-chunk:first-of-type":{display:"flex",flexWrap:"wrap",alignItems:"center",[t.breakpoints.down("md")]:{"& div:first-of-type":{display:"flex",alignItems:"center"}}},"& .fc-button":{padding:t.spacing(),"&:active, .&:focus":{boxShadow:"none"}},"& .fc-button-group":{"& .fc-button":{textTransform:"capitalize","&:focus":{boxShadow:"none"}},"& .fc-button-primary":{"&:not(.fc-prev-button):not(.fc-next-button)":{backgroundColor:"transparent",padding:t.spacing(1.5,5.08),color:t.palette.text.primary,borderColor:t.palette.divider,"&.fc-button-active, &:hover":{color:t.palette.primary.main,borderColor:t.palette.divider,backgroundColor:r.primaryLight.backgroundColor}}},"& .fc-sidebarToggle-button":{border:0,lineHeight:.8,borderColor:"transparent",paddingBottom:"0 !important",backgroundColor:"transparent",marginLeft:"".concat(t.spacing(-2)," !important"),padding:"".concat(t.spacing(1.275,2)," !important"),"&:focus":{outline:0,boxShadow:"none"},"&:not(.fc-prev-button):not(.fc-next-button):hover":{backgroundColor:"transparent !important"},"& + div":{marginLeft:0}},".fc-dayGridMonth-button, .fc-timeGridWeek-button, .fc-timeGridDay-button, & .fc-listMonth-button":{padding:t.spacing(2.2,6),"&:last-of-type, &:first-of-type":{borderRadius:t.shape.borderRadius},"&:first-of-type":{borderTopRightRadius:0,borderBottomRightRadius:0},"&:last-of-type":{borderTopLeftRadius:0,borderBottomLeftRadius:0}}},"& > * > :not(:first-of-type)":{marginLeft:0},"& .fc-toolbar-title":{fontWeight:600,marginLeft:t.spacing(1),marginRight:t.spacing(4),fontSize:t.typography.h6.fontSize},".fc-button:empty:not(.fc-sidebarToggle-button), & .fc-toolbar-chunk:empty":{display:"none"}},"& tbody td, & thead th":{borderColor:t.palette.divider,"&.fc-col-header-cell":{borderLeft:0},'&[role="presentation"]':{borderRightWidth:0}},"& .fc-event":{overflow:"hidden",cursor:"pointer","&:not(.fc-list-event)":{"&.bg-primary":{borderColor:"transparent",color:t.palette.primary.main,backgroundColor:r.primaryLight.backgroundColor,"& .fc-event-title, & .fc-event-time":{color:t.palette.primary.main}},"&.bg-success":{borderColor:"transparent",color:t.palette.success.main,backgroundColor:r.successFilled.backgroundColor,"& .fc-event-title, & .fc-event-time":{color:t.palette.success.main}},"&.bg-error":{borderColor:"transparent",color:t.palette.error.main,backgroundColor:r.errorLight.backgroundColor,"& .fc-event-title, & .fc-event-time":{color:t.palette.error.main}},"&.bg-warning":{borderColor:"transparent",color:t.palette.warning.main,backgroundColor:r.
1warningLight.backgroundColor,"& .fc-event-title, & .fc-event-time":{color:t.palette.warning.main}},"&.bg-info":{borderColor:"transparent",color:t.palette.info.main,backgroundColor:r.infoFilled.backgroundColor,"& .fc-event-title, & .fc-event-time":{color:t.palette.info.main}}},"&.bg-primary":{"& .fc-list-event-dot":{borderColor:t.palette.primary.main,backgroundColor:t.palette.primary.main},"&:hover td":{backgroundColor:(0,i.E)(t.palette.primary.light,.1)}},"&.bg-success":{"& .fc-list-event-dot":{borderColor:t.palette.success.main,backgroundColor:t.palette.success.main},"&:hover td":{backgroundColor:(0,i.E)(t.palette.success.light,.1)}},"&.bg-error":{"& .fc-list-event-dot":{borderColor:t.palette.error.main,backgroundColor:t.palette.error.main},"&:hover td":{backgroundColor:(0,i.E)(t.palette.error.light,.1)}},"&.bg-warning":{"& .fc-list-event-dot":{borderColor:t.palette.warning.main,backgroundColor:t.palette.warning.main},"&:hover td":{backgroundColor:(0,i.E)(t.palette.warning.light,.1)}},"&.bg-info":{"& .fc-list-event-dot":{borderColor:t.palette.info.main,backgroundColor:t.palette.info.main},"&:hover td":{backgroundColor:(0,i.E)(t.palette.info.light,.1)}},"&.fc-daygrid-event":{marginLeft:"4px",marginRight:"4px"}},"& .fc-view-harness":{minHeight:"650px",margin:t.spacing(0,-5.25),width:"calc(100% + ".concat(t.spacing(10.5),")")},"& .fc-col-header":{"& .fc-col-header-cell":{fontSize:".875rem",color:t.palette.text.primary,"& .fc-col-header-cell-cushion":{padding:t.spacing(2),textDecoration:"none !important"}}},"& .fc-scrollgrid-section-liquid > td":{borderBottom:0},"& .fc-daygrid-event-harness":{"& .fc-event":{fontWeight:600,fontSize:"0.8rem",padding:t.spacing(0,1)},"&:not(:last-of-type)":{marginBottom:t.spacing(1.2)}},"& .fc-daygrid-day-bottom":{marginTop:t.spacing(1.2)},"& .fc-daygrid-day":{padding:"5px"},"& .fc-scrollgrid":{borderColor:t.palette.divider},"& .fc-day-past, & .fc-day-future":{"&.fc-daygrid-day-number":{color:t.palette.text.disabled}},"& .fc-daygrid-day-number":{padding:t.spacing(1,1),cursor:o||"pointer",fontSize:".875rem"},"& .fc-daygrid-day-number, & .fc-timegrid-slot-label-cushion, & .fc-list-event-time":{textDecoration:"none !important",color:"".concat(t.palette.text.primary," !important")},"& .fc-day-today":{backgroundColor:"rgba(".concat(t.palette.customColors.main,", 0.04) !important"),"-webkit-box-shadow":"inset 0px 0px 0px 1px ".concat(t.palette.success.main),"-moz-box-shadow":"inset 0px 0px 0px 1px ".concat(t.palette.success.main),"box-shadow":"inset 0px 0px 0px 1px ".concat(t.palette.success.main),"& .fc-daygrid-day-number":{backgroundColor:t.palette.success.main,color:"".concat(t.palette.primary.contrastText," !important"),borderRadius:"50%",textAlign:"center",height:"29px",width:"29px"}},"& .fc-day-today:not(.fc-popover)":{backgroundColor:"rgba(".concat(t.palette.customColors.main,", 0.04) !important")},"& .fc-timegrid":{"& .fc-scrollgrid-section":{"& .fc-col-header-cell, & .fc-timegrid-axis":{borderLeft:0,borderRight:0,borderColor:t.palette.divider},"& .fc-timegrid-axis":{borderColor:t.palette.divider}},"& .fc-timegrid-axis":{"&.fc-scrollgrid-shrink":{"& .fc-timegrid-axis-cushion":{fontSize:".75rem",textTransform:"capitalize",color:t.palette.text.disabled}}},"& .fc-timegrid-slots":{"& .fc-timegrid-slot":{height:"3rem",borderColor:t.palette.divider,"&.fc-timegrid-slot-label":{borderRight:0},"&.fc-timegrid-slot-lane":{borderLeft:0},"& .fc-timegrid-slot-label-frame":{textAlign:"center","& .fc-timegrid-slot-label-cushion":{fontSize:".75rem",textTransform:"uppercase"}}}},"& .fc-timegrid-divider":{display:"none"},"& .fc-timegrid-event":{boxShadow:"none"}},"& .fc-list":{border:"none",'& th[colspan="3"]':{position:"relative"},"& .fc-list-day-cushion":{background:"rgba(".concat(t.palette.customColors.main,", 0.04)")},".fc-list-event":{cursor:"pointer","&:hover":{"& td":{backgroundColor:"rgba(".concat(t.palette.customColors.main,", 0.04)")}},"& td":{borderColor:t.palette.divider}},"& .fc-list-day":{backgroundColor:t.palette.action.hover,"& .fc-list-day-text, & .fc-list-day-side-text":{fontSize:".875rem",textDecoration:"none"},"&  >  *":{background:"none",borderColor:t.palette.divider}},"& .fc-list-event-title":{fontSize:".875rem",color:t.palette.text.primary},"& .fc-list-event-time":{fontSize:".875rem",color:t.palette.text.disabled}}
1,"& .fc-popover":{zIndex:20,boxShadow:1,borderColor:t.palette.divider,background:t.palette.background.paper,"& .fc-popover-header":{padding:t.spacing(2),background:t.palette.action.hover,"& .fc-popover-title, & .fc-popover-close":{color:t.palette.text.primary}},"& .fc-popover-body":{"& *:not(.fc-event-main):not(:last-of-type)":{marginBottom:t.spacing(1.2)}}},"& .fc-daygrid-week-number":{cursor:"default","&:hover":{textDecoration:"none"}},[t.breakpoints.up("md")]:{"& .fc-sidebarToggle-button":{display:"none"},"& .fc-toolbar-title":{marginLeft:0}},"@media (max-width:610px)":{"& .fc-header-toolbar .fc-toolbar-chunk:last-of-type":{marginTop:t.spacing(4)}}}}});t.Z=l},9354:function(e,t,o){o.d(t,{o:function(){return g}});var r=o(85893);o(67294);var n=o(37645),a=o(50657),i=o(99226),l=o(93946),c=o(6514),d=o(98456),s=o(50594);let p={spinner:{position:"absolute",top:"50%",left:"50%",marginTop:"-12px",marginLeft:"-12px"}},g=e=>{let{children:t,open:o,title:g,showSpinner:f=!1,containerStyles:m,onClose:u}=e,b=()=>{u()};return(0,r.jsx)(a.Z,{onClose:b,open:o,children:(0,r.jsxs)(i.Z,{sx:m,children:[(0,r.jsxs)(n.Z,{sx:{textAlign:"center",marginTop:"16px"},children:[g,(0,r.jsx)(l.Z,{onClick:u,sx:{position:"absolute",right:"8px",top:"8px",color:e=>e.palette.grey[500]},children:(0,r.jsx)(s.Z,{})})]}),(0,r.jsx)(c.Z,{children:f?(0,r.jsx)(d.Z,{sx:p.spinner}):t})]})})}},18597:function(e,t,o){var r=o(85893),n=o(67294),a=o(43907),i=o(17292),l=o(16993),c=o(61029),d=o(70125),s=o(39897);o(1351);var p=o(99226),g=o(15861),f=o(85946);let m={title:"",start:"",end:"",allDay:!1,url:"",extendedProps:{calendar:"",guests:[],location:"",description:""}},u=e=>{let{onDatesChanged:t,updateEvent:o,calendarApi:u,events:b,calendarsColor:h,setCalendarApi:x,handleSelectEvent:v,handleLeftSidebarToggle:y,handleAddEventSidebarToggle:C,initialView:k="dayGridMonth",hideHeader:w=!1}=e,Z=(0,n.useRef)();(0,n.useEffect)(()=>{if(null===u){var e;x(null===(e=Z.current)||void 0===e?void 0:e.getApi())}},[u,x]);let L={events:b,plugins:[s.ZP,l.Z,c.Z,i.Z,d.Z],initialView:k,headerToolbar:!w&&{start:"sidebarToggle, prev, next, title",end:"dayGridMonth,listMonth"},buttonText:{month:(0,f.t)("calendarComponent.month"),list:(0,f.t)("calendarComponent.list")},views:{week:{titleFormat:{year:"numeric",month:"long",day:"numeric"}}},locale:"sv-se",weekNumbers:e.weekNumbers,weekText:(0,f.t)("calendarComponent.weekShort"),firstDay:1,editable:!1,eventResizableFromStart:!0,dragScroll:!0,dayMaxEvents:2,navLinks:!0,displayEventTime:!1,eventContent(e){let{event:t}=e;return(0,r.jsxs)(p.Z,{children:[(0,r.jsx)(g.Z,{sx:{fontSize:"12px",fontWeight:500},children:t.extendedProps.name}),(0,r.jsx)(g.Z,{sx:{fontSize:"12px",fontWeight:400},children:t.extendedProps.time})]})},eventClassNames(e){let{event:t}=e,o=t._def.extendedProps.calendar;return["bg-".concat(o)]},eventClick(e){let{event:t}=e;v(t),C()},customButtons:{sidebarToggle:{icon:"bi bi-list",click(){y()}}},dateClick(e){let t={...m};t.start=e.date,t.end=e.date,v(t),C()},eventDrop(e){let{event:t}=e;o(t)},eventResize(e){let{event:t}=e;o(t)},ref:Z,datesSet(e){t(e)},navLinkDayClick:()=>null,navLinkWeekClick:()=>null};return(0,r.jsx)(a.Z,{...L})};t.Z=u}}]);

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.