1(this["webpackJsonp@betrybe/student-journey-web"]=this["webpackJsonp@betrybe/student-journey-web"]||[]).push([[25],{1197:function(e,a,t){"use strict";t.r(a),t.d(a,"default",(function(){return P}));var n=t(0),i=t(12),s=t(105),r=t(46),c=t(13),o=t(247);async function d(){var e;const a=await c.apiGatewayClient.get("/api/student_success/v2/users/me/jobs");return null!==(e=null===a||void 0===a?void 0:a.data)&&void 0!==e?e:null}var l=t(62),b=t(141),g=t(27),p=t(14);const j=Object(p.b)("section",{marginRight:"$spacing4xl",variants:{noData:{true:{display:"flex",justifyContent:"center"}}}}),u=Object(p.b)("div",{pointerEvents:"auto",font:"$bodyRegular",paddingBottom:"$spacing7xl",paddingTop:"$spacing2xl",margin:"0 $spacingLg",display:"flex",flexDirection:"column"}),m=Object(p.b)("ul",{display:"grid",justifyItems:"center",justifyContent:"center",height:"100%",margin:"0",paddingLeft:"0",gap:"$spacingLg",gridTemplateColumns:"repeat(auto-fit, minmax(auto, 290px))",li:{paddingTop:"0",paddingBottom:"0",listStyleType:"none"},"@md":{justifyItems:"start",justifyContent:"start"}}),h=Object(p.b)("div",{display:"inline",alignItems:"center",marginRight:"$spacingXsm"}),O=Object(p.b)("h4",{font:"$bodyBold",marginRight:"$spacingXsm",marginBottom:"$spacingSm"}),v=Object(p.b)("span",{font:"$bodyRegular"}),x=Object(p.b)("div",{font:"$captionRegular",marginBottom:"$spacingMd"}),$=Object(p.b)("div",{display:"flex",alignItems:"center"}),y=Object(p.b)("li",{pointerEvents:"auto",a:{"&:hover":{textDecoration:"none"}}}),f=Object(p.b)("p",{marginBottom:"$spacingMd"}),B=Object(p.b)("section",{marginBottom:"$spacing2xl","&:last-of-type":{marginBottom:"$spacing10xl"}}),k=Object(p.b)("section",{marginTop:"$spacingLg",marginLeft:"$spacingLg"});var I=t(1);var L=e=>{const{openings:a,label:t,openingsSent:n}=e,s=!!a.length;return Object(I.jsxs)(B,{children:[Object(I.jsxs)(x,{children:[Object(I.jsxs)(O,{css:!s&&{color:"$textColorSecondary"},children:[t,Object(I.jsxs)(v,{children:[" (",a.length,")"]})]}),s&&n&&Object(I.jsxs)($,{children:[Object(I.jsx)(h,{children:Object(I.jsx)(i.AdaIcon,{name:"info_outline",pxSize:16})}),Object(I.jsx)(v,{children:"Clique nas vagas abaixo para indicar em qual etapa do processo seletivo voc\xea se encontra."})]})]}),s&&Object(I.jsx)(j,{children:Object(I.jsx)(m,{"aria-label":`Listagem das minhas vagas, ${t}`,children:a.map((e=>Object(I.jsx)(y,{"aria-label":"Item da Listagem de Vagas",children:Object(I.jsx)(g.Link,{to:`/career/my-openings/${e.id}`,children:Object(I.jsx)(b.OpeningCard,{item:e})})},e.id)))})})]})};var _=()=>Object(I.jsx)(j,{noData:!0,children:Object(I.jsxs)(u,{children:[Object(I.jsx)("img",{src:"/assets/images/error/404.svg","aria-hidden":"true",alt:"Imagem de erro",className:"my-openings_error_image"}),Object(I.jsxs)(f,{children:["Parece que voc\xea ainda n\xe3o se inscreveu em nenhum processo seletivo.",Object(I.jsxs)("span",{role:"img","aria-label":"emoji.sad",children:[" ","\ud83d\ude41"]}),Object(I.jsx)("br",{}),"Que tal dar esse primeiro passo em dire\xe7\xe3o \xe0 sua carreira de sucesso?"]}),Object(I.jsx)(g.Link,{className:"my-openings_error_link",to:"/career/openings",children:"Encontre vagas agora!"})]})});function S(e){const{subscriptionSent:a,subscriptionInProgress:t,subscriptionFinished:n}=e,i=!(null!==a&&void 0!==a&&a.length)&&!(null!==t&&void 0!==t&&t.length)&&!(null!==n&&void 0!==n&&n.length);return Object(l.h)("Minhas vagas"),i?Object(I.jsx)(_,{}):Object(I.jsxs)(k,{children:[Object(I.jsx)(L,{openingsSent:!0,openings:a,label:"Candidaturas enviadas"}),Object(I.jsx)(L,{openings:t,label:"Em Andamento"}),Object(I.jsx)(L,{openings:n,label:"Processos Finalizados"})]})}var A=t(140),C=t(1295),M=t(1296);var T=Object(p.b)("section",{position:"sticky",top:"0",width:"-webkit-fill-available",background:"$backgroundSecondary",zIndex:"$zIndexSecondLevel",paddingTop:"$spacingXl",paddingLeft:"$spacingLg",backgroundImage:`url(${C.a}), url(${M.a})`,backgroundRepeat:"no-repeat",backgroundPosition:"left bottom, right top",[`& ${i.AdaBreadcrumb}`]:{marginBottom:"$spacingMd"}});var R=Object(p.b)("h2",{font:"$bodyRegular",marginTop:"$spacingMd"});var w=Object(p.b)("div",{marginTop:"$spacingMd",paddingBottom:"$spacingXl"});var E=Object(p.b)("h1",{font:"$headingXlBold"});i.AdaBreadcrumb.toString=()=>".ada-breadcrumb";const q=Object(A.keyframes)({"0%":{opacity:1},"100%":{opacity:0,height:0}}),z=Object(A.keyframes)({"0%":{opacity:0,height:0},"100%":{opacity:1}});var N=Object(p.b)("div",{transition:"500ms all ease-in-out",paddingBottom:"$spacingMd",position:"relative",[`& ${i.AdaBreadcrumb}`]:{pointerEvents:"initial"},variants:{shrunk:{true:{[`& ${i.AdaBreadcrumb}`]:{opacity:0,animation:`${q} 200ms`,height:0},[`& ${E}`]:{font:"$headingMdBold",marginTop:0},[`& ${w}`]:{paddingBottom:"$spacingLg"},[`& ${R}
1`]:{height:0,opacity:0,animation:`${q} 200ms`},[`& ${T}`]:{paddingTop:"$spacingMd"}},false:{[`& ${i.AdaBreadcrumb}`]:{opacity:1,animation:`${z} 200ms`},[`& ${R}`]:{opacity:1,animation:`${z} 200ms`}}}}});function P(){const{loading:e,error:a,result:t}=Object(c.useTask)(d),l=Object(c.useCohortRole)(),{user:b}=Object(c.useUser)(),g=null===b||void 0===b?void 0:b.id,{match:p,loading:j}=Object(s.useEvaluation)("my-openings",{entityId:g,context:{cohort_role:l}}),u=Object(n.useRef)(null),{isStartOfScroll:m}=Object(o.b)();return p||j?Object(I.jsxs)(N,{shrunk:!m,ref:u,children:[Object(I.jsxs)(T,{children:[Object(I.jsxs)(i.AdaBreadcrumb,{className:"ada-breadcrumb",children:[Object(I.jsx)(i.AdaBreadcrumb.Item,{href:"/learn/career",children:"Carreira"}),Object(I.jsx)(i.AdaBreadcrumb.Item,{children:"Minhas vagas"})]}),Object(I.jsxs)(w,{children:[Object(I.jsx)(E,{children:"Minhas vagas"}),Object(I.jsx)(R,{className:"my-openings_text_subtitle",children:"Aqui voc\xea pode visualizar todas as vagas para as quais j\xe1 se inscreveu."})]})]}),Object(I.jsxs)("section",{children:[e&&Object(I.jsx)("div",{role:"alert","aria-busy":"true","aria-label":"Carregando lista de vagas",className:"my-openings_loading",children:Object(I.jsx)(i.AdaLoading,{})}),t&&Object(I.jsx)(S,{subscriptionSent:t.subscription_sent,subscriptionInProgress:t.subscription_in_progress,subscriptionFinished:t.subscription_finished}),a&&Object(I.jsx)("p",{children:"Ocorreu um erro durante a listagem de vagas, tente novamente"})]})]}):Object(I.jsx)(r.c,{to:"/career/openings"})}},1295:function(e,a,t){"use strict";a.a=t.p+"static/media/lower-left-cube.64e7aaf8.svg"},1296:function(e,a,t){"use strict";a.a=t.p+"static/media/upper-right-cube.b6aecefd.svg"}}]);
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.