1try{let e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="e39ea330-8dc9-4588-9f63-baa4d7dcb9c2",e._sentryDebugIdIdentifier="sentry-dbid-e39ea330-8dc9-4588-9f63-baa4d7dcb9c2")}catch(e){}(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4972],{3488:(e,t,o)=>{"use strict";o.r(t),o.d(t,{__N_SSP:()=>S,default:()=>b});var n=o(37876),r=o(13618),a=o(98617),i=o(9597),s=o(60542),c=o(58276),d=o(85629),u=o(79350);let l=(0,u.J1)` 2 query GetCompanyCoursesCategory { 3 coursesSortSections { 4 title 5 coursesSort 6 isDefaultForStandard 7 isDefaultForMicrolearning 8 } 9 } 10`;var y=o(39762),p=o(83287),f=o(34248),m=o(93919);let _=({format:e,companyId:t,companyName:o,sortOptions:r,initialFilters:a,initialSort:s,initialCoursesData:d})=>{let{translateAsString:u}=(0,c.A)(),l={id:`${y.hi}${t}`,name:u("header.company_courses",{company:o}),icon:"building-filled",coursesSortSections:r,companyId:t,onlyCompanyCourses:!0};
10return(0,n.jsx)(i.A,{categoryData:l,format:e,initialFilters:a,initialSort:s,initialCoursesData:d})};_.getServerSideAction=async(e,t)=>{let{TITLE_SUFFIX:o}=(0,r.SP)((0,a.q)(e.req)),{query:n,locale:i}=e,c=n.format,u=t?.user;if(!u?.companyId||!u?.companyName||!c)return{notFound:!0};let _=i||"cs";if(!s.PZ[_]?.includes(c)||(0,s.Kb)(c,_))return{notFound:!0};let S=`${u.companyName} - ${o}`,b=await (0,d.p)(e),{data:g}=await b.query(((e,t)=>{let{fetchPolicy:o,...n}=t;return{...e,...o&&{fetchPolicy:o},context:{...e.context,...n}}})({query:l},{useCache:!0,ttl:void 0})),w=(0,p.c7)(n),h=(0,p.R)(n),N=(0,s.ps)(c,_),D=`${y.hi}${u.companyId}`,C=await (0,m.cN)(b,D,N,n,!0,(0,f.Y)(g?.coursesSortSections,N===s.kA.STANDARD));return{pageProps:{title:S,format:c,companyId:u.companyId.toString(),companyName:u.companyName,sortOptions:g?.coursesSortSections||[],initialFilters:w.length>0?w:void 0,initialSort:h||void 0,initialCoursesData:C,openGraph:{type:"article",title:S}}}};var S=!0;let b=_},39036:(e,t,o)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/company-courses/[format]",function(){return o(3488)}])}},e=>{e.O(0,[4439,1730,8435,636,6593,8792],()=>e(e.s=39036)),_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.