1!function(){try{var 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]="95355c91-26d7-4dbc-975d-c08839036684",e._sentryDebugIdIdentifier="sentry-dbid-95355c91-26d7-4dbc-975d-c08839036684")}catch(n){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6544],{93749:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/explore",function(){return n(58336)}])},54322:function(e,t,n){"use strict";var r=n(85893),i=n(90948),l=n(80822),o=n(64666),a=n(86886),s=n(37645),c=n(26447),u=n(23972),d=n(35713),h=n(67358),g=n(38895),p=n(22797),m=n(18843),v=n(10350),f=n(59334),x=n(33934);n(67294);var y=n(18763),b=n(23508);let j=async e=>{let t="Bearer ".concat(window.localStorage.getItem("accessToken")),n=await y._i.get(y.ET.career.detail(e),{headers:{Authorization:t}});return n},w={is:"",salary:{growth:"",range:{low:0,high:0,period:""}},related:[],questions:[]},Z=async e=>{let t="Bearer ".concat(window.localStorage.getItem("accessToken")),n=await y._i.get(y.ET.career.questions.list(e),{headers:{Authorization:t}}),r=n.reduce((e,t)=>{var n,r,i,l;return"is"===t.identifier&&(e.is=null!==(n=t.answer)&&void 0!==n?n:""),"salary"===t.identifier&&(e.salary={growth:null!==(r=t.metadata.careerOutlook)&&void 0!==r?r:0,range:null!==(i=t.metadata.salaryRange)&&void 0!==i?i:{low:0,high:0,period:""}}),"related"===t.identifier&&(e.related=null!==(l=t.metadata.careers)&&void 0!==l?l:[]),"questions"===t.identifier&&(e.questions=t.metadata.questions),e},{});return r},I=(0,i.ZP)(l.Z)({width:"100%",height:"auto",overflow:"hidden",img:{width:"100%",height:"100%",objectFit:"cover",objectPosition:"center"}}),k=(0,i.ZP)("p")({h2:{fontSize:"1.3rem !important"},h3:{fontSize:"1.3rem !important"}}),T=e=>{var t,n;let{careerId:i,open:l,onClose:y,image:T}=e,_=()=>y(),{data:E,isLoading:S}=(0,x.a)({queryKey:["career-info-".concat(i)],queryFn:()=>j(i)}),{data:C,isLoading:O}=(0,x.a)({queryKey:["career-questions-".concat(i)],queryFn:()=>Z(i)}),{is:P="",salary:q,related:D=[],questions:N=[]}=null!=C?C:w;return console.log(C),(0,r.jsx)(o.Z,{maxWidth:"lg",open:l,onClose:_,disableEscapeKeyDown:!0,children:(0,r.jsxs)(a.ZP,{container:!0,children:[(0,r.jsx)(a.ZP,{item:!0,xs:12,sm:6,children:(0,r.jsx)(I,{children:(0,r.jsx)("img",{src:T})})}),!O&&!S&&(0,r.jsxs)(a.ZP,{item:!0,xs:12,sm:6,children:[(0,r.jsx)(s.Z,{variant:"h4",mb:"15px",children:null==E?void 0:E.name}),(0,r.jsxs)(c.Z,{direction:"row",justifyContent:"space-between",alignItems:"center",textAlign:"center",bgcolor:"#e3e2de",p:3,children:[(0,r.jsxs)(u.Z,{sx:{flex:1,borderRight:"1px solid black"},children:["Projected Growth ",(0,r.jsx)("br",{})," ",null==q?void 0:q.growth,(0,r.jsx)("b",{})]}),(0,r.jsxs)(u.Z,{sx:{flex:1},children:["Salary Range ",(0,r.jsx)("br",{})," ",(0,r.jsxs)("b",{children:[new Intl.NumberFormat("en-US",{style:"currency",currency:"USD"}).format(null!==(t=null==q?void 0:q.range.low)&&void 0!==t?t:0)," ","-"," ",new Intl.NumberFormat("en-US",{style:"currency",currency:"USD"}).format(null!==(n=null==q?void 0:q.range.high)&&void 0!==n?n:0)]})]})]}),(0,r.jsxs)(d.Z,{sx:{maxHeight:"850px"},children:[(0,r.jsx)(k,{dangerouslySetInnerHTML:{__html:null!=P?P:""}}),(0,r.jsx)(u.Z,{variant:"h5",children:"Frequently Asked Questions"}),null==N?void 0:N.map((e,t)=>(0,r.jsxs)(h.Z,{children:[(0,r.jsx)(g.Z,{expandIcon:(0,r.jsx)(b.Z,{}),"aria-controls":"panel".concat(t,"-content"),id:"panel".concat(t,"-header"),children:(0,r.jsx)(u.Z,{children:e.question})}),(0,r.jsx)(p.Z,{children:e.answer})]},e.answer+e.question)),(0,r.jsx)(u.Z,{variant:"h5",children:"Related Careers"}),(0,r.jsx)(m.Z,{children:D.map(e=>(0,r.jsx)(v.ZP,{sx:{borderBottom:"1px solid #bebebe"},children:(0,r.jsx)(f.Z,{children:e.careerName})},e.careerName+e.onetCode))})]})]})]})})};t.Z=T},98766:function(e,t,n){"use strict";var r,i,l,o;n.d(t,{q:function(){return r}}),(l=r||(r={})).EMAIL_SENT="EMAIL_SENT",l.EMAIL_CLICKED="EMAIL_CLICKED",l.EMAIL_OPENED="EMAIL_OPENED",l.OPT_IN_OR_OUT="OPT_IN_OR_OUT",l.OPT_IN="OPT_IN",l.OPT_OUT="OPT_OUT",(o=i||(i={}))[o.Individual=0]="Individual",o[o["K-12 School"]=1]="K-12 School",o[o["College/University"]=2]="College/University",o[o["Trade/Vocational School"]=3]="Trade/Vocational School",o[o["
1Social Worker"]=4]="Social Worker",o[o["Career Counselor"]=5]="Career Counselor",o[o["Work Release Program"]=6]="Work Release Program"},58336:function(e,t,n){"use strict";n.r(t);var r=n(85893),i=n(90948),l=n(73313),o=n(40044),a=n(46574),s=n(86886),c=n(80822),u=n(66242),d=n(9974),h=n(83965),g=n(44267),p=n(34386),m=n(23972),v=n(26447),f=n(98456),x=n(82589),y=n(11163),b=n(67294),j=n(30202),w=n(33934),Z=n(18763),I=n(5085),k=n(72541),T=n(54322);let _=[{value:"post",label:"Posts",searchValue:"posts"},{value:"user",label:"People",searchValue:"users"},{value:"group",label:"Groups",searchValue:"groups"},{value:"school",label:"Schools",searchValue:"schools"},{value:"company",label:"Companies",searchValue:"companies"},{value:"career",label:"Careers",searchValue:"careers"}],E=(0,i.ZP)(e=>(0,r.jsx)(l.Z,{...e,TabIndicatorProps:{children:(0,r.jsx)("span",{className:"MuiTabs-indicatorSpan"})}}))({borderBottom:"none !important",marginBottom:20,"& .MuiTabs-indicator":{display:"flex",justifyContent:"center",backgroundColor:"transparent"},"& .MuiTabs-indicatorSpan":{width:"100%",backgroundColor:"#A44BF9"}}),S=(0,i.ZP)(e=>(0,r.jsx)(o.Z,{disableRipple:!0,...e}))(e=>{let{theme:t}=e;return{textTransform:"none",fontWeight:t.typography.fontWeightRegular,fontSize:t.typography.pxToRem(15),padding:0,minWidth:"fit-content",marginRight:"1.5rem","&.Mui-selected":{color:"#A44BF9"},"&.Mui-focusVisible":{backgroundColor:"#A44BF9"}}}),C=e=>e.filter((e,t,n)=>t===n.findIndex(t=>t.id===e.id)),O=async function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2?arguments[2]:void 0,r="Bearer ".concat(window.localStorage.getItem("accessToken")),i={query:e,type:t,page:n};"all"===t&&delete i.type;let l=e?await Z._i.get(Z.ET.search.list,{params:i,headers:{Authorization:r}}):{meta:{pagination:{skip:0,take:0,lastPage:0,total:0}},data:{posts:[],users:[],groups:[],schools:[],companies:[],careers:[]}};return l},P=()=>{var e,t,n,i,l,o,I,P;let[q,D]=(0,b.useState)({posts:[],users:[],groups:[],schools:[],companies:[],careers:[]}),N=(0,y.useRouter)(),L=(0,j.NL)(),[R,A]=(0,b.useState)({open:!1,id:null,image:null}),[M,B]=(0,b.useState)(null),[U,F]=(0,b.useState)({page:1,active:"post"}),{active:W,page:K}=U,{data:V,isLoading:z,isFetching:H}=(0,w.a)({queryKey:["search",N.query.q,W,K],queryFn:()=>O(N.query.q,W,K),refetchOnWindowFocus:!1,placeholderData:e=>e,staleTime:0});(0,b.useEffect)(()=>{(null==V?void 0:V.data)&&(1===K?D(V.data):D(e=>(0,k.nM)(e,V.data)))},[V,K]);let Q=(0,b.useMemo)(()=>{var e,t;if("all"===W)return C((null===(e=Object.values(q||{}))||void 0===e?void 0:e.flat())||[]);{let n=null===(t=_.find(e=>e.value===W))||void 0===t?void 0:t.searchValue;return n?C(q[n]||[]):[]}},[q,W]);(0,b.useEffect)(()=>{F(e=>({...e,page:1}))},[N.query.q]),(0,b.useEffect)(()=>{if(!N.isReady)return;let e=N.query.tab;e&&e!==W&&F({page:1,active:e})},[N.isReady,N.query.tab]);let Y=(e,t)=>{F({page:1,active:t}),N.push({pathname:N.pathname,query:{...N.query,tab:t}},void 0,{shallow:!0})},G=()=>A({open:!1,id:null,image:null}),X=async(e,t)=>{B(e);try{await Promise.all([L.fetchQuery({queryKey:["career-info-".concat(e)],queryFn:async()=>{let t="Bearer ".concat(window.localStorage.getItem("accessToken"));return Z._i.get(Z.ET.career.detail(e),{headers:{Authorization:t}})}}),L.fetchQuery({queryKey:["career-questions-".concat(e)],queryFn:async()=>{let t="Bearer ".concat(window.localStorage.getItem("accessToken")),n=await Z._i.get(Z.ET.career.questions.list(e),{headers:{Authorization:t}});return n.reduce((e,t)=>{var n,r,i,l;return"is"===t.identifier&&(e.is=null!==(n=t.answer)&&void 0!==n?n:""),"salary"===t.identifier&&(e.salary={growth:null!==(r=t.metadata.careerOutlook)&&void 0!==r?r:0,range:null!==(i=t.metadata.salaryRange)&&void 0!==i?i:{low:0,high:0,period:""}}),"related"===t.identifier&&(e.related=null!==(l=t.metadata.careers)&&void 0!==l?l:[]),"questions"===t.identifier&&(e.questions=t.metadata.questions),e},{})}})]),A({open:!0,id:e,image:t})}finally{B(null)}},J=e=>{if("school"===W){N.push("/school/".concat(e.id));return}if("company"===W){N.push("/company/".concat(e.id));return}if("career"===W){var t,n,r,i;let l=(null==e?void 0:null===(t=e.video)||void 0===t?void 0:t.thumbnailURL)||(null==e?void 0:null===(n=e.profilePic)||void 0===n?void 0:n.url)||(null==e?void 0:null===(r=e.image)||void 0===r?void 0:r.url)||(null==e?void 0:null===(i=e.profileImage)||void 0===i?void 0:i.url)||"/images/placeholder.jpg";X(e.id,l);return}if("group"===W||(null==e?void 0:e.privacy)){N.push("/join-group/".concat(e.id,"/"));return}if(e.firstName){N.push("/profile/@".concat(e.username));return}
1if(e.displayText){N.push("/posts/".concat(e.id));return}if("SCHOOL"===e.type){N.push("/school/".concat(e.id));return}if("COMPANY"===e.type){N.push("/company/".concat(e.id));return}},$=()=>F(e=>({...e,page:e.page+1})),ee=null!==(o=null==V?void 0:null===(e=V.meta)||void 0===e?void 0:null===(t=e.pagination)||void 0===t?void 0:t.take)&&void 0!==o?o:10,et="all"===W?Object.values(null!==(I=null==V?void 0:V.data)&&void 0!==I?I:{}).flat().length:null!==(P=null==V?void 0:null===(n=V.data)||void 0===n?void 0:null===(l=n[null===(i=_.find(e=>e.value===W))||void 0===i?void 0:i.searchValue])||void 0===l?void 0:l.length)&&void 0!==P?P:0,en=et>=ee;return(0,r.jsxs)(a.Z,{maxWidth:"xl",children:[(0,r.jsx)(E,{value:W,onChange:Y,"aria-label":"Search Tabs",children:_.map(e=>{let{value:t,label:n}=e;return(0,r.jsx)(S,{value:t,label:n},t)})}),(0,r.jsx)(s.ZP,{container:!0,spacing:4,children:(0,r.jsx)(s.ZP,{item:!0,xs:12,md:12,children:(0,r.jsxs)(c.Z,{sx:{maxHeight:"calc(100dvh - 164px)"},children:[(0,r.jsx)(s.ZP,{container:!0,spacing:4,children:Q.map((e,t)=>{var n,i,l,o,a,v,f,x,y,b;let j=e.displayText||e.name||"".concat(e.firstName," ").concat(e.lastName);if("school"===W||"company"===W){let w=(null==e?void 0:null===(a=e.bannerImage)||void 0===a?void 0:a.url)||"/images/jebbee-default-banner.png",Z=(null==e?void 0:null===(v=e.profileImage)||void 0===v?void 0:v.url)||"/images/jebbee-astrisk.png";return(0,r.jsx)(s.ZP,{item:!0,xs:6,sm:3,children:(0,r.jsxs)(u.Z,{sx:{cursor:"pointer",boxShadow:3,height:300,display:"flex",flexDirection:"column"},onClick:()=>J(e),children:[(0,r.jsxs)(d.Z,{disableRipple:!0,sx:{position:"relative"},children:[(0,r.jsx)(h.Z,{component:"img",height:"200",image:w,alt:j+" banner"}),(0,r.jsx)(c.Z,{zIndex:2,position:"absolute",sx:{top:"50%",left:"50%",transform:"translate(-50%, -50%)"},children:(0,r.jsx)(h.Z,{component:"img",height:"125",image:Z,alt:j+" image",sx:{borderRadius:3,width:"125px",margin:"0 auto",zIndex:1}})})]}),(0,r.jsxs)(g.Z,{children:[(0,r.jsx)(p.Z,{title:j,placement:"top",children:(0,r.jsx)(m.Z,{gutterBottom:!0,variant:"body2",component:"div",sx:{display:"-webkit-box",WebkitLineClamp:2,WebkitBoxOrient:"vertical",overflow:"hidden"},children:j})}),(0,r.jsx)(m.Z,{gutterBottom:!0,variant:"body2",component:"div",children:((null==e?void 0:e.city)||"")+((null==e?void 0:e.city)&&(null==e?void 0:e.state)?", ":"")+((null==e?void 0:e.state)||"")})]})]})},W+t)}if("post"===W||"career"===W){let I=(null==e?void 0:null===(f=e.video)||void 0===f?void 0:f.thumbnailURL)||(null==e?void 0:null===(x=e.profilePic)||void 0===x?void 0:x.url)||(null==e?void 0:null===(y=e.image)||void 0===y?void 0:y.url)||(null==e?void 0:null===(b=e.profileImage)||void 0===b?void 0:b.url)||"/images/placeholder.jpg";return(0,r.jsx)(s.ZP,{item:!0,xs:6,sm:2,children:(0,r.jsxs)(u.Z,{sx:{cursor:"pointer",boxShadow:3,height:360,display:"flex",flexDirection:"column"},onClick:()=>!M&&J(e),children:[(0,r.jsx)(h.Z,{sx:{height:260},image:I,title:j}),(0,r.jsx)(g.Z,{children:(0,r.jsx)(p.Z,{title:j,placement:"top",children:(0,r.jsx)(m.Z,{gutterBottom:!0,variant:"body2",component:"div",sx:{display:"-webkit-box",WebkitLineClamp:2,WebkitBoxOrient:"vertical",overflow:"hidden"},children:j})})})]})},W+t)}let k=(null==e?void 0:null===(n=e.video)||void 0===n?void 0:n.thumbnailURL)||(null==e?void 0:null===(i=e.profilePic)||void 0===i?void 0:i.url)||(null==e?void 0:null===(l=e.image)||void 0===l?void 0:l.url)||(null==e?void 0:null===(o=e.profileImage)||void 0===o?void 0:o.url)||"/images/placeholder.jpg";return(0,r.jsx)(s.ZP,{item:!0,xs:6,sm:2,children:(0,r.jsxs)(u.Z,{sx:{cursor:"pointer",boxShadow:3,height:300,display:"flex",flexDirection:"column"},onClick:()=>J(e),children:[(0,r.jsx)(h.Z,{sx:{height:200},image:k,title:j}),(0,r.jsx)(g.Z,{children:(0,r.jsx)(p.Z,{title:j,placement:"top",children:(0,r.jsx)(m.Z,{gutterBottom:!0,variant:"body2",component:"div",sx:{display:"-webkit-box",WebkitLineClamp:2,WebkitBoxOrient:"vertical",overflow:"hidden"},children:j})})})]})},W+t)})}),(z||H)&&(0,r.jsxs)(v.Z,{flexDirection:"column",justifyContent:"center",alignItems:"center",width:"100%",height:"100%",children:[(0,r.jsx)(f.Z,{sx:{mb:4}}),(0,r.jsx)(m.Z,{children:"Loading..."})]}),0===Q.length&&!z&&!H&&(0,r.jsx)(v.Z,{mt:12,flexDirection:"column",justifyContent:"center",alignItems:"center",width:"100%",height:"100%",children:(0,r.jsx)(m.Z,{children:"No Results..."})}),!z&&Q.length>0&&!H&&en&&(0,r.jsx)(v.Z,{flexDirection:"column",justifyContent:"center",alignItems:"center",paddingY:10,children:(0,r.jsx)(x.Z,{onClick:$,children:"Load More"})}),!z&&Q.length>0&&!H&&!en&&(0,r.jsx)(v.Z,{flexDirection:"column",justifyContent:"center",alignItems:"center",paddingY:10,children:(0,r.jsx)(m.Z,{color:"text.secondary",children:"No more results"})})]})})}),R.open&&R.id&&R.image&&(0,r.jsx)(T.Z,{onClose:G,open:R.open,careerId:R.id,image:R.image})]})};P.getLayout=e=>(0,r.jsx)(I.Z,{children:e}),t.default=P},72541:function(e,t,n){"use strict";n.d(t,{Fu:function(){return d},HO:function(){return u},RZ:function(){return v},ef:function(){return p},ei:function(){return s},g6:function(){return l},ks:function(){return o},nM:function(){return a},p6:function(){return g},sf:function(){return h},un:function(){return c},xG:function(){return m}});var r=n(42298),i=n(98766);let l=e=>{switch(e.event){case i.q.EMAIL_CLICKED:return"Email clicked";case i.q.EMAIL_OPENED:return"Email opened";case i.q.EMAIL_SENT:return"Email sent";case i.q.OPT_IN_OR_OUT:let t="REJECTED"===e.message;return t?"Opt-Out":"Opt-In";default:return""}};function o(e){return Object.fromEntries(Object.entries(e).filter(e=>{let[t,n]=e;return null!=n&&""!==n}))}function a(e,t){let n={};for(let r in e)Array.isArray(e[r])&&Array.isArray(t[r])?n[r]=[...e[r],...t[r]]:n[r]=void 0!==e[r]?e[r]:t[r];for(let i in t)i in n||(n[i]=t[i]);return n}let s=e=>{switch(e){case"instagram":return"Instagram";case"tiktok":return"TikTok";case"youtube":return"YouTube";case"facebook":return"Facebook";default:return""}},c=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=null==e?void 0:e.replace(/[^\d+]/g,""),n=null==t?void 0:t.match(/^(\+?\d{1,3})?(\d{3})(\d{3})(\d{4})$/);return n?[n[1]?n[1]+" ":"","(",n[2],") ",n[3],"-",n[4]].join(""):e};function u(e){return Object.fromEntries(Object.entries(e).filter(e=>{let[t,n]=e;return null!=n&&""!==n&&!(Array.isArray(n)&&0===n.length)&&!("object"==typeof n&&!Array.isArray(n)&&0===Object.keys(n).length)}))}let d=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=new Date(e),n=t.getFullYear(),r=(t.getMonth()+1).toString().padStart(2,"0"),i=t.getDate().toString().padStart(2,"0"),l="".concat(n,"-").concat(r,"-").concat(i);return l},h=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=new Date(e),n=t.toLocaleTimeString("en-US",{hour:"2-digit",minute:"2-digit",hour12:!1});return n},g=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new Date().toDateString(),t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"P",n=new Date(e);return(0,r.default)(new Date(n),t)},p=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return e.reduce(function(e,t){return(e[t.big5Question.category]=e[t.big5Question.category]||[]).push(t),e},{})},m=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=new Intl.NumberFormat("en-US",{style:"currency",currency:"USD"}).format(Number(e));return t},v=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return e.replace(/_/g," ").toLowerCase().replace(/\b\w/g,e=>e.toUpperCase())}}},function(e){e.O(0,[6886,7136,8739,5027,241,9491,1442,2260,4661,8960,8936,2179,4386,832,2808,2933,2469,5085,9774,2888,179],function(){return e(e.s=93749)}),_N_E=e.O()}]); 2//# sourceMappingURL=explore-5d33660473c6376c.js.map
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.