1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]="01a0c949-3081-73f1-b99e-f5d2c8c06f2b")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[22998,28065,53358,72396],{10531:(e,i,t)=>{t.d(i,{AZ:()=>a,B3:()=>d,Mi:()=>p,VO:()=>c,is:()=>l,wO:()=>o});var n=t(87856),s=t(13702),r=t(12570);let l=n.Ay.div` 2 display: flex; 3 flex-direction: column; 4 gap: ${s.YK.base}; 5`,o=n.Ay.div` 6 display: flex; 7 justify-content: space-between; 8 align-items: center; 9 gap: ${s.YK.base}; 10`,a=n.Ay.div` 11 display: flex; 12 justify-content: start; 13 align-items: center; 14 gap: ${s.YK["0.25x"]}; 15`,d=n.Ay.a` 16 ${r.FR}; 17 color: ${s.Tj.secondary["500"]}; 18 ${({noElipsis:e})=>!e&&(0,n.AH)` 19 white-space: nowrap; 20 overflow: hidden; 21 text-overflow: ellipsis; 22 display: inline-block; 23 `} 24`,c=n.Ay.div` 25 display: flex; 26 flex-wrap: wrap; 27 margin-top: ${s.YK["0.5x"]}; 28 gap: ${s.YK["0.5x"]}; 29`,p=n.Ay.div` 30 display: flex; 31 flex-direction: column; 32 gap: ${s.YK.base}; 33 padding-top: ${s.YK.base}; 34`},11528:(e,i,t)=>{t.d(i,{E:()=>l,U:()=>r});var n=t(87856),s=t(13702);let r=n.Ay.div` 35 padding-bottom: ${s.YK.base}; 36`,l=n.Ay.div` 37 margin-top: ${s.YK.base}; 38`},22998:(e,i,t)=>{t.r(i),t.d(i,{default:()=>l});var n=t(37876),s=t(13702);let r=e=>(0,n.jsxs)("svg",{viewBox:"0 0 64 64",fill:"#807A75",xmlns:"http://www.w3.org/2000/svg",...e,children:[(0,n.jsxs)("g",{clipPath:"url(#clip0_84_2289)",children:[(0,n.jsx)("path",{d:"M28 13.9973C28 12.8928 27.1046 11.9973 26 11.9973C24.8954 11.9973 24 12.8928 24 13.9973V23.9973H14C12.8954 23.9973 12 24.8928 12 25.9973C12 27.1019 12.8954 27.9973 14 27.9973H24V37.9973C24 39.1019 24.8954 39.9973 26 39.9973C27.1046 39.9973 28 39.1019 28 37.9973V27.9973H38C39.1046 27.9973 40 27.1019 40 25.9973C40 24.8928 39.1046 23.9973 38 23.9973H28V13.9973Z"}),(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M43.2034 46.0266C41.1163 47.817 38.7487 49.277 36.1807 50.3409C31.399 52.3218 26.1373 52.8403 21.0609 51.8307C15.9845 50.8211 11.3216 48.3287 7.66176 44.6689C4.00192 41.0091 1.5096 36.3461 0.499996 31.2698C-0.50961 26.1934 0.008847 20.9316 1.9898 16.1499C3.97075 11.3682 7.32522 7.28139 11.629 4.40623C15.9327 1.53108 20.9924 -0.00323776 26.1682 -0.00266679C33.1074 -0.00190095 39.7622 2.75502 44.6689 7.66176C49.5756 12.5685 52.3326 19.2233 52.3333 26.1624C52.3339 31.3382 50.7996 36.3979 47.9244 40.7017C47.3418 41.5739 46.7093 42.4071 46.0314 43.1978L63.4144 60.5832C64.1954 61.3643 64.1953 62.6307 63.4142 63.4116C62.6331 64.1926 61.3668 64.1926 60.5858 63.4114L43.2034 46.0266ZM13.851 7.7323C17.4969 5.29663 21.7831 3.99685 26.1678 3.99733C32.0462 3.99798 37.6838 6.33348 41.8405 10.4902C45.9972 14.6469 48.3327 20.2844 48.3333 26.1629C48.3338 30.5475 47.034 34.8338 44.5984 38.4797C43.8036 39.6693 42.8996 40.7733 41.9016 41.7792C41.8814 41.7977 41.8616 41.8168 41.842 41.8364C41.8222 41.8561 41.8029 41.8762 41.7842 41.8966C39.7475 43.9187 37.3272 45.5362 34.6498 46.6454C30.599 48.3236 26.1416 48.7628 21.8412 47.9075C17.5408 47.0522 13.5906 44.9409 10.4902 41.8405C7.38979 38.7401 5.27844 34.7899 4.42316 30.4895C3.56788 26.1891 4.00709 21.7316 5.68523 17.6809C7.36338 13.6301 10.2051 10.168 13.851 7.7323Z"})]}),(0,n.jsx)("defs",{children:(0,n.jsx)("clipPath",{id:"clip0_84_2289",children:(0,n.jsx)("rect",{width:64,height:64,fill:"white"})})})]});function l({className:e,color:i=s.Tj.neutral["400"],size:t=s.YK.base}){return(0,n.jsx)(r,{width:t,height:t,className:e||"",fill:i})}},26668:(e,i,t)=>{t.d(i,{A:()=>ec});var n=t(37876),s=t(14232),r=t(56205),l=t(18533),o=t(5808),a=t(10531),d=t(42729),c=t(49969),p=t(94957),x=t(11528),h=t(47258),u=t(62221);let f=({experiences:e,username:i})=>{let[t,l]=(0,s.useState)(0),a=(0,u.A)({value:h.breakpoints.sm});return(0,s.useEffect)(()=>
38{l(e.length)},[e]),(0,n.jsxs)(n.Fragment,{children:[0===t&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(o.A,{children:"You have not completed your work experience."}),(0,n.jsx)(c.A,{children:"Potential clients want to know what youâve accomplished."})]}),(0,n.jsxs)(x.U,{children:[0===t&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(p.A,{show:!0,status:"warning",shake:!1,children:"You must add 1 experience for this section to be complete, but we recommend adding 3 or more if possible."}),(0,n.jsx)(x.E,{children:(0,n.jsx)(r.A,{as:"a",size:"sm",type:"secondary",href:`/profile/edit/${i}/experience`,block:a,children:"Add Experience"})})]}),t>0&&t<3&&(0,n.jsx)(p.A,{show:!0,status:"secondary",shake:!1,children:"We recommend adding at least 3 experiences if possible."})]})]})};var m=t(95062),g=t.n(m),j=t(87856),y=t(13702),$=t(30399);let b=j.Ay.div` 39 display: flex; 40 flex-direction: column; 41 height: 100%; 42`;j.Ay.div` 43 margin-top: ${y.YK["0.25x"]}; 44`;let w=j.Ay.div` 45 @media screen and (max-width: ${y.fi.sm}) { 46 display: none; 47 } 48 position: absolute; 49 top: calc(50% - ${y.YK["3.5x"]}); 50 right: ${e=>"end"===e.align?"0":"auto"}; 51 left: ${e=>"end"===e.align?"auto":"0"}; 52 cursor: pointer; 53 & svg { 54 background: ${y.Tj.secondary["200"]}; 55 padding: ${y.YK["2x"]} ${y.YK["0.25x"]}; 56 } 57 & svg:hover { 58 background: ${y.Tj.secondary["300"]}; 59 fill: ${y.Tj.secondary["800"]}; 60 } 61`,v=j.Ay.div` 62 height: calc(100% - ${y.YK["3.5x"]}); 63 overflow-y: scroll; 64 @media screen and (max-width: ${y.fi.sm}) { 65 padding: ${y.YK.base} ${y.YK["1.5x"]}; 66 height: calc(100% - ${y.YK["5.5x"]}); 67 } 68`,A=(0,j.Ay)($.A)` 69 height: 100%; 70`;var Y=t(28065),C=t(38842);let K=j.Ay.div` 71 display: flex; 72 gap: ${y.YK["0.25x"]}; 73 padding-top: ${y.YK["0.25x"]}; 74 75 @media screen and (max-width: ${y.fi.sm}) { 76 padding-bottom: ${y.YK.base}; 77 } 78 79 & a { 80 color: ${y.Tj.secondary["500"]}; 81 } 82`,k=({profile:e,openModal:i})=>(0,n.jsxs)(K,{children:[(0,n.jsxs)(c.A,{size:"xs",as:"a",onClick:e=>i(!1),children:[e.first_name," ",e.last_name]})," ",(0,n.jsxs)(c.A,{size:"xs",children:[">"," Experience"]})]});k.propTypes={profile:g().object,openModal:g().func};let _=e=>new Date(e).toLocaleString("en-US",{month:"short"}),T=e=>new Date(e).getFullYear(),E=e=>null!==e.end_date?`${_(e.start_date)} ${T(e.start_date)} - ${_(e.end_date)} ${T(e.end_date)}`:`${_(e.start_date)} ${T(e.start_date)} - Present`,S=j.Ay.div` 83 display: flex; 84 gap: ${y.YK["0.25x"]}; 85 flex-direction: column; 86 & a { 87 color: ${y.Tj.secondary["500"]}; 88 } 89`,L=j.Ay.div` 90 display: flex; 91 gap: ${y.YK.base}; 92 @media screen and (max-width: ${y.fi.sm}) { 93 flex-direction: column; 94 gap: 0; 95 } 96`;var O=t(40123),z=t.n(O);let P=({experience:e})=>(0,n.jsxs)(S,{children:[(0,n.jsxs)(L,{children:[(0,n.jsx)(o.A,{children:e.job_title}),(0,n.jsx)(c.A,{italic:!0,children:(e=>{let i=z()(e.public_company_name)?e.company_name:e.public_company_name;return!e.location||z()(e.location)?i:i&&e.location?`${i} - ${e.location}`:null})(e)})]}),(0,n.jsx)(c.A,{size:"sm",children:e.description}),(0,n.jsx)(c.A,{size:"sm",children:E(e)})]});P.propTypes={experience:g().object};let V=j.Ay.div` 97 display: flex; 98 position: relative; 99 height: 100%; 100 flex: 1; 101 justify-content: center; 102 align-items: center; 103 margin-bottom: ${y.YK["1.5x"]}; 104 cursor: ${e=>"zoom-out"===e.icon?"zoom-out":"zoom-in"}; 105`,M=j.Ay.div` 106 position: absolute; 107 left: ${y.YK["0.25x"]}; 108 bottom: ${y.YK["0.25x"]}; 109 mix-blend-mode: difference; 110`;var F=t(7813),H=t(22998),I=t(81078);let R=({image:e,setShowDetailView:i}
110)=>{let[t,r]=(0,s.useState)(!0);return(0,n.jsxs)(V,{onClick:e=>i(!1),children:[(0,n.jsx)(I.A,{embedded:!0,hidden:!t}),e&&(0,n.jsx)(F.Ay,{src:e?.image,alt:e?.caption,layout:"fill",objectFit:"contain",onLoad:()=>r(!1)}),(0,n.jsx)(M,{children:(0,n.jsx)(H.default,{color:y.Tj.neutral["400"]})})]})};R.propTypes={image:g().object,setShowDetailView:g().func};let Z=j.Ay.div` 111 display: flex; 112 gap: ${y.YK.base}; 113 position: sticky; 114 bottom: 20px; 115 @media screen and (max-width: ${y.fi.sm}) { 116 flex-direction: column; 117 } 118`,D=(0,j.Ay)(c.A)` 119 flex-wrap: nowrap; 120 min-width: ${y.YK["2.5x"]}; 121`,B=j.Ay.div` 122 display: flex; 123 justify-content: space-between; 124`;var N=t(18974);let J=j.Ay.div` 125 @media screen and (min-width: ${y.fi.sm}) { 126 display: none; 127 } 128 display: flex; 129 gap: ${y.YK["2x"]}; 130 z-index: 1000; 131`,U=({position:e,experience:i,setPosition:t})=>{let[r,l]=(0,s.useState)(!0);return(0,s.useEffect)(()=>{i.hasOwnProperty("images")&&1===i.images.length&&l(!1)},[e,i]),(0,n.jsx)(J,{children:r&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("div",{onClick:()=>{let n=--e;if(n<0)return void t(i.images.length-1);t(n)},children:(0,n.jsx)(Y.default,{color:C.T.neutral["900"]})}),(0,n.jsx)("div",{onClick:()=>{let n=++e;if(n>=i.images.length)return void t(0);t(n)},children:(0,n.jsx)(N.default,{color:C.T.neutral["900"]})})]})})};U.propTypes={position:g().number,experience:g().object,setPosition:g().func};let Q=({profile:e,image:i,position:t,experience:s,setPosition:r})=>(0,n.jsxs)(Z,{children:[(0,n.jsxs)(B,{children:[(0,n.jsx)("div",{children:(0,n.jsxs)(D,{children:[(()=>{let i=e.experience.findIndex(e=>e.id===s.id);return 0===i?t+1:e.experience.slice(0,i).reduce((e,i)=>e+i.images.length,1)+t})()," / ",e.experience.reduce((e,i)=>e+i.images.length,0)]})}),(0,n.jsx)(U,{position:t,experience:s,setPosition:r})]}),(0,n.jsx)(c.A,{children:i?.caption})]});Q.propTypes={profile:g().object,image:g().object,position:g().number,experience:g().object,setPosition:g().func};let W=e=>{let[i,t]=(0,s.useState)(!1);return(0,s.useEffect)(()=>{let i=({key:i})=>{i===e&&t(!0)},n=({key:i})=>{i===e&&t(!1)};return window.addEventListener("keydown",i),window.addEventListener("keyup",n),()=>{window.removeEventListener("keydown",i),window.removeEventListener("keyup",n)}},[e]),i},X=({image:e,position:i,profile:t,experience:r,setOpenModal:l,setPosition:o,setShowDetailView:a,setExperience:d})=>
131{let[c,p]=(0,s.useState)(!0),x=W("ArrowRight"),h=W("ArrowLeft"),[u,f]=(0,s.useState)([]);(0,s.useEffect)(()=>{x&&y()},[x]),(0,s.useEffect)(()=>{h&&m()},[h]),(0,s.useEffect)(()=>{let e=t.experience.filter(e=>e.images.length>0);f(e),r.hasOwnProperty("images")&&1===r.images.length&&1===e.length&&p(!1)},[i,r]);let m=()=>{let e=--i;if(e<0){let e=g();d(e),o(j(e));return}o(e)},g=()=>{let e=u.findIndex(e=>e.id===r.id);if(0===e){let e=u.length;return u[e-1]}return u[e-1]},j=e=>e.images.length-1,y=()=>{let e=++i;if(e>=r.images.length){d(v()),o(0);return}o(e)},v=()=>{let e=u.findIndex(e=>e.id===r.id);return e===u.length-1?u[0]:u[e+1]};return(0,n.jsxs)(n.Fragment,{children:[c&&(0,n.jsx)(w,{onClick:m,children:(0,n.jsx)(Y.default,{color:C.T.secondary["600"]})}),(0,n.jsx)(A,{container:!0,children:(0,n.jsx)($.A,{item:!0,start:1,col:8,children:(0,n.jsxs)(b,{children:[(0,n.jsx)(k,{profile:t,openModal:l}),(0,n.jsx)(P,{experience:r}),(0,n.jsx)(R,{image:e,setShowDetailView:a}),(0,n.jsx)(Q,{profile:t,image:e,position:i,experience:r,setPosition:o})]})})}),c&&(0,n.jsx)(w,{align:"end",onClick:y,children:(0,n.jsx)(N.default,{color:C.T.secondary["600"]})})]})};X.propTypes={image:g().object,position:g().number,profile:g().object,experience:g().oneOfType([g().array,g().object]),setOpenModal:g().func,setPosition:g().func,setShowDetailView:g().func,setExperience:g().func};let q=({image:e,zoomOut:i,imageDimension:t})=>{let[r,l]=(0,s.useState)(!0);return(0,n.jsx)(A,{container:!0,children:(0,n.jsx)($.A,{item:!0,start:1,col:8,children:(0,n.jsxs)(b,{children:[(0,n.jsx)(I.A,{embedded:!0,hidden:!r}),(0,n.jsx)(V,{onClick:e=>i(!0),icon:"zoom-out",style:{display:r?"none":"flex"},children:(0,n.jsx)(F.Ay,{src:e.image,alt:e.caption,width:t.width,height:t.height,placeholder:"blur",onLoad:()=>l(!1)})})]})})})};q.propTypes={image:g().object,zoomOut:g().func};var G=t(36501),ee=t(14715);let ei=({profile:e,open:i=!1,position:t=0,setPosition:r,setOpen:l,experience:o,setExperience:a})=>{let[d,c]=(0,s.useState)(),[p,x]=(0,s.useState)({}),[h,u]=(0,s.useState)(!0),[f,m]=(0,s.useState)(!0),g=(0,s.useRef)();g.current=h,(0,s.useEffect)(()=>{o.hasOwnProperty("images")&&(c(o.images[t]),j(o.images[t].fullImage))},[t,o]);let j=e=>{if(void 0===e)return;let i=new Image;i.src=e,i.onload=()=>{x({height:i.height,width:i.width}),m(!1)}};(0,s.useEffect)(()=>{i||u(!0)},[i]),(0,s.useEffect)(()=>{h||j(o.images[t].image_url)},[h]);let y=()=>{g.current&&l(!1),u(!0)};return(0,n.jsx)(ee.A,{open:i,onClose:y,fullScreen:!0,children:(0,n.jsxs)(v,{children:[(0,n.jsx)(G.A,{variant:"modal",onClose:y,layout:"grid",withShadow:!h}),h?(0,n.jsx)(X,{image:d,position:t,profile:e,experience:o,setOpenModal:l,setPosition:r,setShowDetailView:u,setExperience:a}):(0,n.jsx)(n.Fragment,{children:!f&&(0,n.jsx)(q,{zoomOut:u,image:d,imageDimension:p})})]})})};ei.propTypes={profile:g().object,open:g().bool,position:g().number,setPosition:g().func,setOpen:g().func,experience:g().oneOfType([g().array,g().object]),setExperience:g().func};var et=t(20519);let en=j.Ay.figure` 132 position: relative; 133 border-radius: ${y.YK["0.25x"]}; 134 height: 6rem; 135 overflow: hidden; 136 cursor: pointer; 137 margin: 0; 138 background-color: ${({caption:e})=>e?`${y.Tj.neutral["900"]}BF`:"auto"}; //BF is the 0.75 for opacity https://gist.github.com/lopspower/03fb1cc0ac9f32ef38f4 139`,es=j.Ay.figcaption` 140 width: calc(100% - ${y.YK.base}); 141 padding-left: ${y.YK["0.5x"]}; 142 padding-right: ${y.YK["0.5x"]}; 143 padding-bottom: ${y.YK["0.5x"]}; 144 position: absolute; 145 bottom: 0; 146 & > p { 147 bottom: 0; 148 overflow: hidden; 149 text-overflow: ellipsis; 150 display: -webkit-box; 151 -webkit-line-clamp: 2; 152 line-clamp: 2; 153 -webkit-box-orient: vertical; 154 } 155`,er=j.Ay.div` 156 position: absolute; 157 right: ${y.YK["0.25x"]}; 158 bottom: ${y.YK["0.25x"]}; 159`,el=({image:e,...i})=>{let[t,r]=(0,s.useState)(!1);return(0,n.jsxs)(en,{onMouseEnter:()=>{r(!!e.caption)},onMouseLeave:()=>{r(!1)},caption:t,...i,children:[(0,n.jsx)(F.Ay,{alt:e.caption,src:e.image,objectFit:"cover",layout:"fill",placeholder:"blur",style:{opacity:t?"0.25":"1"}}),e.caption&&(0,n.jsx)(n.Fragment,{children:!t&&(0,n.jsx)(er,{children:(0,n.jsx)(et.default,{color:C.T.neutral["500"]})})}),t&&(0,n.jsx)(es,{children:(0,n.jsx)(c.A,{size:"xs",color:C.T.neutral["0"],children:e.caption})})]})};var eo=t(21410),ea=t(42906);let ed=({data:e,showEdit:i=!0,idPrefix:t})=>{let{profile:p,hasPermission:x}
159=(0,s.useContext)(l.Ay),[h,u]=(0,s.useState)(0),[m,g]=(0,s.useState)(!1),[j,y]=(0,s.useState)([]),[$,b]=(0,s.useState)();(0,s.useEffect)(()=>{void 0===p?b(e):b(p)},[e,p]);let w=t?`${t}-experience`:"experience";return(0,n.jsxs)(a.is,{children:[(0,n.jsxs)(a.wO,{children:[(0,n.jsxs)(o.A,{size:"lg",as:"h2",children:["Experience",(0,n.jsx)("a",{id:w,href:""})]}),i&&(0,n.jsx)(r.A,{size:"sm",type:"link",as:"a",href:`/profile/edit/${$?.username}/experience`,children:"Edit"})]}),(0,n.jsxs)(d.Z2,{children:[$?.experience.length<3&&i&&(0,n.jsx)(f,{experiences:$.experience,username:$.username}),$?.experience.filter(e=>!e.hide_on_presentation).map((e,i)=>(0,n.jsxs)(d.Je,{children:[(0,n.jsxs)(d.k3,{children:[(0,n.jsx)(d.dV,{}),(0,n.jsxs)(o.A,{children:[e.job_title,","," ",(0,n.jsxs)("span",{children:[e.public_company_name||e.company_name," ",e.location&&` (${e.location})`,x&&e.original_lang&&"en"!==e.original_lang&&(0,n.jsxs)(ea.A,{color:"neutral-white",style:{marginLeft:"0.5rem"},children:[e.original_lang," / ",e.source]})]})]})]}),(0,n.jsxs)(d.xI,{children:[(0,n.jsx)(d.tQ,{size:"sm",children:E(e)}),(0,n.jsx)(c.A,{size:"sm",dangerouslySetInnerHTML:{__html:(0,eo.HA)(e.public_description||e.description)}}),(0,n.jsx)(d.VI,{children:e.images.map((i,t)=>(0,n.jsx)(el,{image:i,onClick:i=>{u(t),g(!0),y(e)}},t))})]})]},i))]}),(0,n.jsx)(ei,{open:m,position:h,setPosition:u,setOpen:g,experience:j,setExperience:y,profile:$})]})};ed.propTypes={data:g().object,showEdit:g().bool,idPrefix:g().string};let ec=ed},27126:(e,i,t)=>{t.d(i,{A:()=>s});var n=t(79350);let s=(0,n.J1)` 160 query LoggedIn($flashReferer: String) { 161 loggedIn(flashReferer: $flashReferer) { 162 username 163 mainDashboardRoute 164 } 165 } 166`},28065:(e,i,t)=>{t.r(i),t.d(i,{default:()=>l});var n=t(37876),s=t(13702);let r=e=>(0,n.jsxs)("svg",{viewBox:"0 0 64 64",fill:"#807A75",xmlns:"http://www.w3.org/2000/svg",...e,children:[(0,n.jsx)("g",{clipPath:"url(#clip0_84_2365)",children:(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M44.7475 0.585786C45.5286 1.36683 45.5286 2.63316 44.7475 3.41421L16.1618 32L44.7475 60.5858C45.5286 61.3668 45.5286 62.6332 44.7475 63.4142C43.9665 64.1953 42.7002 64.1953 41.9191 63.4142L13.3335 34.8286C13.3334 34.8285 13.3333 34.8284 13.3332 34.8283C12.9615 34.4571 12.6667 34.0163 12.4655 33.531C12.2642 33.0457 12.1606 32.5254 12.1606 32C12.1606 31.4746 12.2642 30.9543 12.4655 30.469C12.6667 29.9837 12.9615 29.5429 13.3332 29.1717C13.3333 29.1716 13.3334 29.1715 13.3335 29.1714L41.9191 0.585787C42.7002 -0.195262 43.9665 -0.195262 44.7475 0.585786Z"})}),(0,n.jsx)("defs",{children:(0,n.jsx)("clipPath",{id:"clip0_84_2365",children:(0,n.jsx)("rect",{width:64,height:64,fill:"white"})})})]});function l({className:e,color:i=s.Tj.neutral["400"],size:t=s.YK.base}){return(0,n.jsx)(r,{width:t,height:t,className:e||"",fill:i})}},34071:(e,i,t)=>{t.d(i,{NJ:()=>d,Ni:()=>l,SS:()=>c,VT:()=>x,YW:()=>o,de:()=>p,k3:()=>a,rm:()=>h});var n=t(87856),s=t(13702),r=t(12570);let l=n.Ay.div` 167 display: flex; 168 flex-direction: column; 169 width: 100%; 170 box-shadow: ${e=>e.withoutShadow?"initial":`${s.$F.xs}`}; 171 172 ${e=>e.withBorder&&(0,n.AH)` 173 border-bottom: ${s.YK["0.0625x"]} solid ${s.Tj.neutral["100"]}; 174 `}; 175 176 ${e=>!0===e.withPadding&&(0,n.AH)` 177 padding-bottom: ${s.YK["0.5x"]}; 178 `}; 179 180 ${e=>!0===e.withMargin&&(0,n.AH)` 181 margin-bottom: ${s.YK["0.5x"]}; 182 `}; 183`,o=n.Ay.div` 184 display: flex; 185 flex-direction: column; 186 gap: ${s.YK["0.5x"]}; 187 188 @media screen and (max-width: ${s.fi.sm}) { 189 display: flex; 190 flex-direction: row; 191 gap: ${s.YK["0.5x"]}; 192 & > div { 193 flex: 1 1 auto; 194 &:first-child { 195 flex: 0 1 auto; 196 } 197 } 198 } 199`,a=n.Ay.div` 200 display: flex; 201 justify-content: space-between; 202 align-items: center; 203`,d=n.Ay.div` 204 display: flex; 205 flex-wrap: wrap; 206 gap: ${s.YK["0.5x"]}; 207 margin-top: ${s.YK["0.5x"]}; 208 margin-bottom: ${s.YK["0.5x"]}; 209`,c=(0,n.Ay)(r.on).attrs({weight:"regular",size:"sm"})``,p=n.Ay.div` 210 display: flex; 211 align-items: center; 212 gap: ${s.YK["0.5x"]}; 213 & > span { 214 padding: 0 ${s.YK["0.25x"]}; 215 gap: ${s.YK["0.25x"]}; 216 background: ${s.Tj.neutral["500"]}; 217 border: ${s.YK["0.0625x"]} solid ${s.Tj.neutral["600"]}; 218 border-radius: ${s.YK["0.25x"]}; 219 color: ${s.Tj.neutral["0"]}; 220 } 221`,x=n.Ay.span` 222 position: absolute; 223 bottom: ${s.YK["0.5x"]}; 224 left: ${s.YK["0.5x"]}; 225`,h=n.Ay.div` 226 display: flex; 227 align-items: center; 228 gap: ${s.YK["0.5x"]}; 229`},42729:(e,i,t)=>{t.d(i,{Je:()=>d,VI:()=>h,Y9:()=>u,Z2:()=>o,dV:()=>x,k3:()=>p,tQ:()=>c,xI:()=>a});var n=t(87856),s=t(13702),r=t(49969),l=t(12570);let o=n.Ay.div` 230 display: flex; 231 flex-direction: column; 232 padding-left: ${s.YK["0.25x"]}; 233`,a=n.Ay.div` 234 padding-left: ${s.YK.base}; 235`,d=n.Ay.div` 236 padding-bottom: ${s.YK["0.5x"]}; 237 238 &:not(:last-child) { 239 > ${a} { 240 border-left: ${s.YK["0.125x"]} solid ${s.Tj.neutral["300"]}; 241 margin-left: calc(0.4375rem / 2); 242 } 243 } 244`,c=n.Ay.div` 245 ${l.dj}; 246 margin-top: ${s.YK["0.25x"]}; 247`,p=n.Ay.div` 248 display: flex; 249 align-items: center; 250 padding-left: 0; 251 gap: ${s.YK["0.5x"]}; 252 253 h1, 254 h2, 255 h3 { 256 span { 257 font-weight: initial; 258 } 259 } 260`,x=n.Ay.div` 261 height: ${s.YK["0.5x"]}; 262 width: ${s.YK["0.5x"]}; 263 background-color: ${s.Tj.secondary["500"]}; 264 border-radius: 50%; 265 flex: 0 0 auto; 266 margin-right: ${s.YK["0.25x"]}; 267`,h=n.Ay.div` 268 padding-bottom: ${s.YK["0.5x"]}; 269 display: grid; 270 grid-gap: ${s.YK["0.5x"]}; 271 grid-template-columns: repeat(2, 1fr); 272 @media (min-width: ${s.fi.xs}) { 273 grid-template-columns: repeat(6, 1fr); 274 } 275`;n.Ay.div` 276 position: absolute; 277 right: ${s.YK["0.25x"]}; 278 bottom: ${s.YK["0.25x"]}; 279`,n.Ay.div` 280 position: absolute; 281 bottom: ${s.YK["0.25x"]}; 282 height: ${s.YK["1.75x"]}; 283 display: flex; 284 min-width: 0; 285 width: 100%; 286 padding: 0 ${s.YK["0.125x"]}; 287`,(0,n.Ay)(r.A)` 288 text-overflow: ellipsis; 289 overflow: hidden; 290 mix-blend-mode: difference;
291 color: ${s.Tj.neutral["0"]}; 292`;let u=n.Ay.div` 293 display: flex; 294 justify-content: space-between; 295 align-items: center; 296 &.with-padding { 297 padding: ${s.YK["0.5x"]} 0; 298 } 299`},51901:(e,i,t)=>{t.d(i,{A:()=>s});var n=t(37876);let s=e=>(0,n.jsx)("svg",{viewBox:"0 0 64 64",fill:e.fill||"#807A75",xmlns:"http://www.w3.org/2000/svg",...e,children:(0,n.jsx)("path",{d:"M32 0C49.6731 0 64 14.3269 64 32C64 49.6731 49.6731 64 32 64C14.3269 64 0 49.6731 0 32C0 14.3269 14.3269 0 32 0ZM32 4C16.536 4 4 16.536 4 32C4 47.464 16.536 60 32 60C47.464 60 60 47.464 60 32C60 16.536 47.464 4 32 4ZM32 44C33.6568 44 35 45.3432 35 47C35 48.5977 33.7511 49.9037 32.1763 49.9949L32 50C30.3432 50 29 48.6568 29 47C29 45.4023 30.2489 44.0963 31.8237 44.0051L32 44ZM32.6897 14.0255C34.5186 14.1519 36.2777 14.7787 37.7744 15.8372C39.2711 16.8959 40.4481 18.3456 41.1763 20.0276C41.905 21.7098 42.157 23.5601 41.905 25.376C41.653 27.192 40.9069 28.9037 39.748 30.3239C38.589 31.7442 37.0617 32.8186 35.3336 33.4295C34.9432 33.5676 34.6053 33.8232 34.3668 34.1607C34.162 34.4506 34.0386 34.7885 34.0077 35.1404L34 35.3173V38C34 39.1046 33.1046 40 32 40C30.9456 40 30.0818 39.1841 30.0055 38.1493L30 38V35.3186C29.9992 34.0774 30.3835 32.8666 31.1001 31.8523C31.7613 30.9168 32.6754 30.1918 33.7328 29.7601L34.0001 29.6584C35.0372 29.2917 35.9535 28.6471 36.6488 27.795C37.344 26.943 37.7917 25.916 37.943 24.8262C38.0942 23.7366 37.943 22.6266 37.5057 21.6171C37.0688 20.6079 36.3626 19.7381 35.4646 19.103C34.5666 18.4678 33.5112 18.0918 32.4137 18.0159C31.3166 17.9401 30.2194 18.1673 29.2426 18.6728C28.2656 19.1783 27.4465 19.9426 26.8746 20.8822C26.3548 21.7364 26.0575 22.7056 26.0075 23.7011L26 24.0005C25.9998 25.1051 25.1042 26.0003 23.9996 26.0001C22.895 25.9999 21.9998 25.1043 22 23.9997C22.0004 22.1665 22.5046 20.3686 23.4577 18.8026C24.4109 17.2366 25.7761 15.9627 27.4042 15.1203C29.0323 14.2777 30.8609 13.899 32.6897 14.0255Z"})})},53358:(e,i,t)=>{t.r(i),t.d(i,{default:()=>l});var n=t(37876),s=t(13702),r=t(51901);function l({className:e,color:i=s.Tj.neutral["400"],size:t=s.YK.base}){return(0,n.jsx)(r.A,{width:t,height:t,className:e||"",fill:i})}},53775:(e,i,t)=>{t.d(i,{A:()=>p});var n=t(37876),s=t(15039),r=t.n(s),l=t(87856),o=t(13702),a=t(12570);let d=l.Ay.span` 300 display: inline-flex; 301 align-items: center; 302 gap: ${o.YK["0.25x"]}; 303 border-radius: calc(0.3125rem * 3); //5px 304 border: solid ${o.YK["0.0625x"]}; 305 border-color: ${o.Tj.neutral["300"]}; 306 307 ${a.FR}; 308 line-height: 1; 309 color: ${o.Tj.neutral["900"]}; 310 padding: ${o.YK["0.25x"]} ${o.YK["0.75x"]}; 311 cursor: default; 312 313 &.sys_skill { 314 ${({isAdminOrStaffing:e})=>e?(0,l.AH)` 315 border: 1px dashed ${o.Tj.neutral["500"]}; 316 `:(0,l.AH)` 317 border: dashed ${o.YK["0.0625x"]} ${o.Tj.neutral["300"]}; 318 `} 319 320 &.show_confidence { 321 border-color: rgba(128, 122, 117, var(--skill-confidence, 0.5)); 322 } 323 } 324 325 &.user_skill { 326 ${({isAdminOrStaffing:e})=>e?(0,l.AH)` 327 border: 1px solid ${o.Tj.neutral["500"]}; 328 `:(0,l.AH)` 329 border: solid ${o.YK["0.0625x"]} ${o.Tj.neutral["300"]}; 330 `} 331 332 &.show_confidence { 333 border-color: rgba(128, 122, 117, var(--skill-confidence, 0.5)); 334 } 335 } 336 337 &.sp_skill { 338 ${({isAdminOrStaffing:e})=>e?(0,l.AH)` 339 border: ${o.YK["0.125x"]} solid ${o.Tj.neutral["800"]}; 340 `:(0,l.AH)` 341 border: solid ${o.YK["0.125x"]} ${o.Tj.neutral["300"]}; 342 `} 343 344 &.show_confidence { 345 ${({isAdminOrStaffing:e})=>e?(0,l.AH)` 346 border-color: rgba(70, 67, 64, var(--skill-confidence, 0.5)); 347 `:(0,l.AH)` 348 border-color: rgba(128, 122, 117, var(--skill-confidence, 0.5)); 349 `} 350 } 351 } 352 353 &:hover { 354 ${({clickable:e})=>e&&(0,l.AH)` 355 background-color: ${o.Tj.secondary["100"]}; 356 border-color: ${o.Tj.secondary["500"]}; 357 cursor: pointer; 358 box-shadow: 0px ${o.YK["0.5x"]} ${o.YK.base} -${o.YK["0.5x"]} rgba(13, 12, 12, 0.1); 359 `} 360 } 361`,c=l.Ay.div` 362 display: inline-block; 363 border-radius: calc(0.3125rem * 2.4); 364 ${a.UK}; 365 line-height: 1; 366 color: ${o.Tj.secondary["500"]}; 367 background-color: ${o.Tj.secondary["100"]}; 368 padding: ${o.YK["0.125x"]} ${o.YK["0.5x"]}; 369 margin-right: -${o.YK["0.5x"]}; 370`,p=({skill:e,originalName:i,clickable:t=!1,...s})=>{let l=e.description||e.name,o=e?.sys_confidence||.5,a=null;e?.years?.toLowerCase().includes("month")||e?.years?.toLowerCase().includes("year")?a=e.years:e?.years&&e?.years!=0&&(a=1==e.years?"1 Year":`${e.years} Years`);let p={...s};s.isAdminOrStaffing&&(p.title=`Confidence: ${o}`,i&&(p.title+=` - Original: ${i}`));let x=s.isAdminOrStaffing?{sys_skill:0!==e.value&&(!!e.sys_value||!1===e.exists),sp_skill:!!e.sp_value,user_skill:!!e.value,show_confidence:!0}:{sys_skill:!1,sp_skill:!1,user_skill:!1,show_confidence:!1};return(0,n.jsxs)(d,{clickable:t,style:{"--skill-confidence":o},...p,className:r()(x),children:[l," ",a&&(0,n.jsx)(c,{clickable:t,children:a})]})}},57553:(e,i,t)=>{t.d(i,{A:()=>g});var n=t(37876),s=t(14232),r=t(95062),l=t.n(r),o=t(6705),a=t(69059),d=t(87856),c=t(34713),p=t(13702);let x=d.Ay.div` 371 max-width: 32rem; 372 position: relative; 373 padding: ${p.YK["0.5x"]}; 374`,h=d.Ay.div` 375 display: flex; 376 align-items: center; 377 justify-content: center; 378 padding: 0.375rem; 379`;d.Ay.button` 380 position: absolute; 381 top: 0; 382 right: 0; 383 padding: ${p.YK["0.5x"]}; 384 margin: ${p.YK["0.5x"]}; 385 vertical-align: middle; 386 cursor: pointer; 387 background: transparent; 388 border: 0; 389`;let u=(0,c.Ay)({overrides:{MuiPaper:{elevation1:{boxShadow:`${p.$F.sm} !important`,border:`1px solid ${p.Tj.neutral[200]}`}}}});var f=t(53358);let m=({anchorOrigin:e={vertical:"bottom",horizontal:"left"},transformOrigin:i={vertical:"top",horizontal:"center"},children:t,...r})=>
389{let[l,d]=(0,s.useState)(null),{scrollDirection:c}=function(){let[e,i]=(0,s.useState)(0),[t,n]=(0,s.useState)(document.body.getBoundingClientRect()),[r,l]=(0,s.useState)(t?.top),[o,a]=(0,s.useState)(t?.left),[d,c]=(0,s.useState)(),p=s=>{n(document.body.getBoundingClientRect()),l(-t.top),a(t.left),c(e>-t.top?"down":"up"),i(-t.top)};return(0,s.useEffect)(()=>(window.addEventListener("scroll",p),()=>{window.removeEventListener("scroll",p)})),{scrollY:r,scrollX:o,scrollDirection:d}}(),m=e=>{d(e.currentTarget)},g=()=>{d(null)};(0,s.useEffect)(()=>{j&&g()},[c]);let j=!!l;if(Array.isArray(t))throw Error("Adjacent JSX elements must be wrapped in an enclosing tag. Did you want a JSX fragment <>...</>?");return(0,n.jsxs)(o.A,{theme:u,children:[(0,n.jsx)(h,{onClick:j?g:m,onMouseEnter:m,onMouseLeave:g,children:(0,n.jsx)(f.default,{color:p.Tj.neutral["500"],size:p.YK["0.75x"]})}),(0,n.jsx)(a.Ay,{id:j?"help-icon-popover":void 0,style:{pointerEvents:"none"},open:j,anchorEl:l,elevation:1,onClose:g,anchorOrigin:e,transformOrigin:i,transitionDuration:100,disableRestoreFocus:!0,disableScrollLock:!0,children:(0,n.jsx)(x,{children:t})})]})};m.propTypes={anchorOrigin:l().shape({vertical:l().oneOf(["top","center","bottom"]),horizontal:l().oneOf(["left","center","right"])}),transformOrigin:l().shape({vertical:l().oneOf(["top","center","bottom"]),horizontal:l().oneOf(["left","center","right"])})};let g=m},67704:(e,i,t)=>{t.d(i,{O2:()=>a,Tu:()=>d,VI:()=>r,f$:()=>l,k3:()=>o});var n=t(87856),s=t(13702);let r=n.Ay.div` 390 position: relative; 391 width: 100%; 392 height: auto; 393 span { 394 border-radius: ${s.r8.xs}; 395 } 396 @media screen and (max-width: ${s.fi.sm}) { 397 width: 8.28rem; 398 height: 8.28rem; 399 } 400`,l=n.Ay.div` 401 position: relative; 402 margin-top: ${s.YK["0.5x"]}; 403 width: 100%; 404 height: auto; 405 span { 406 border-radius: ${s.r8.xs}; 407 } 408 display: block; 409 @media screen and (max-width: ${s.fi.sm}) { 410 display: none; 411 } 412`,o=n.Ay.div` 413 display: flex; 414 width: 100%; 415 justify-content: space-between; 416 align-items: center; 417 gap: ${s.YK["0.5x"]}; 418`,a=n.Ay.div` 419 display: flex; 420 width: 100%; 421 justify-content: space-between; 422 align-items: center; 423`,d=n.Ay.div` 424 display: flex; 425 width: 100%; 426 gap: ${s.YK["0.5x"]}; 427 align-items: center; 428 @media screen and (max-width: ${s.fi.sm}) { 429 > p.ellipsis { 430 width: 13.5rem; 431 white-space: nowrap; 432 overflow: hidden; 433 text-overflow: ellipsis; 434 } 435 } 436`},77980:(e,i,t)=>{t.d(i,{A:()=>w});var n=t(37876),s=t(14232),r=t(56557),l=t.n(r),o=t(56205),a=t(18533),d=t(5808),c=t(10531),p=t(42729),x=t(49969),h=t(94957),u=t(11528),f=t(47258),m=t(62221);let g=({education:e,username:i})=>{let[t,r]=(0,s.useState)(0),l=(0,m.A)({value:f.breakpoints.sm});return(0,s.useEffect)(()=>{r(e.length)},[e]),(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(d.A,{children:"You have not completed your education."}),(0,n.jsx)(x.A,{children:"Please share the schools youâve attended, credentials youâve earned and courses youâve completed."}),(0,n.jsxs)(u.U,{children:[0===t&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(h.A,{show:!0,status:"warning",shake:!1,children:"You must add 1 school for this section to be complete, but we recommend adding 2 or more if possible."}),(0,n.jsx)(u.E,{children:(0,n.jsx)(o.A,{as:"a",size:"sm",type:"secondary",href:`/profile/edit/${i}/education`,block:l,children:"Add Education"})})]}),t>0&&t<3&&(0,n.jsx)(h.A,{show:!0,status:"secondary",shake:!1,children:"We recommend adding at least 2 schools if possible."})]})]})};var j=t(95062),y=t.n(j),$=t(42906);let b=({data:e,showEdit:i=!0,idPrefix:t})=>{let{profile:r,hasPermission:h}=(0,s.useContext)(a.Ay),[u,f]=(0,s.useState)();(0,s.useEffect)(()=>{void 0===r?f(e):f(r)},[e,r]);let m=t?`${t}-education`:"education";return(0,n.jsxs)(c.is,{children:[(0,n.jsxs)(c.wO,{children:[(0,n.jsxs)(d.A,{size:"lg",as:"h2",children:["Education",(0,n.jsx)("a",{id:m,href:""})]}),i&&(0,n.jsx)(o.A,{size:"sm",type:"link",as:"a",href:`/profile/edit/${u?.username}/education`,children:"Edit"})]}),(0,n.jsxs)(p.Z2,{children:[u?.education.length<2&&i&&(0,n.jsx)(g,{education:u.education,username:u.username}),u?.education.map((e,i,{length:t})=>{let s=(e=>{if(null!==e.end_date){let i=l()(e.start_date),t=l()(e.end_date);return i.isValid()&&t.isValid()?`${i.format("YYYY")} - ${t.format("YYYY")}`:null}let i=l()(e.start_date);return i.isValid()?`${i.format("YYYY")} - Present`:null})(e);return(0,n.jsxs)(p.Je,{children:[(0,n.jsxs)(p.k3,{lastItem:i+1===t,children:[(0,n.jsx)(p.dV,{}),(0,n.jsxs)(d.A,{as:"h3",children:[e.school,", ",(0,n.jsx)("span",{children:e.degree}),h&&e.original_lang&&"en"!==e.original_lang&&(0,n.jsxs)($.A,{color:"neutral-white",style:{marginLeft:"0.5rem"},children:[e.original_lang," / ",e.source]})]})]}),(0,n.jsxs)(p.xI,{lastItem:i+1===t,children:[e.description?.length>0&&(0,n.jsx)(x.A,{as:"div",size:"sm",children:e.description}),s&&(0,n.jsx)(p.tQ,{children:s})]})]},i)})]})]})};b.propTypes={data:y().object,showEdit:y().bool,idPrefix:y().string};let w=b}}]); 437//# chunkId=01a0c949-3081-73f1-b99e-f5d2c8c06f2b
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.