PageSourceSearch

https://awesomeinc.org/component---src-pages-confirmation-interview-index-js-eb2eb74730bd6fb9f046.js

js awesomeinc.org collected 2026-10-03 23:27:33 UTC 7,365 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunkainc_gatsby_sanity_web=self.webpackChunkainc_gatsby_sanity_web||[]).push([[1288],{62082:function(e,t,n){n.r(t),n.d(t,{default:function(){return k}});var r=n(27378),l=n(80754),a=n(57231),i=n(53738),o=n(74529),s="undefined"==typeof window?r.useEffect:r.useLayoutEffect,u=(e,t)=>0===e||e===t?0:"number"==typeof t?e-t:0,m=e=>({position:"relative",width:e,height:e}),c={display:"flex",justifyContent:"center",alignItems:"center",position:"absolute",left:0,top:0,width:"100%",height:"100%"},d=(e,t,n,r,l)=>{if(0===r)return t;return t+n*((l?r-e:e)/r)},h=e=>{var t,n;return null!=(n=null==(t=e.replace(/^#?([a-f\d])([a-f\d])([a-f\d])$/i,((e,t,n,r)=>`#${t}${t}${n}${n}${r}${r}`)).substring(1).match(/.{2}/g))?void 0:t.map((e=>parseInt(e,16))))?n:[]},f=(e,t)=>{var n;let{colors:r,colorsTime:l,isSmoothColorTransition:a=!0}=e;if("string"==typeof r)return r;let i=null!=(n=null==l?void 0:l.findIndex(((e,n)=>e>=t&&t>=l[n+1])))?n:-1;if(!l||-1===i)return r[0];if(!a)return r[i];let o=l[i]-t,s=l[i]-l[i+1],u=h(r[i]),m=h(r[i+1]),c=!!e.isGrowing;return`rgb(${u.map(((e,t)=>0|d(o,e,m[t]-e,s,c))).join(",")})`},p=e=>{let{duration:t,initialRemainingTime:n,updateInterval:l,size:a=180,strokeWidth:i=12,trailStrokeWidth:o,isPlaying:m=!1,isGrowing:c=!1,rotation:h="clockwise",onComplete:p,onUpdate:g}=e,y=(0,r.useRef)(),E=Math.max(i,null!=o?o:0),{path:b,pathLength:k}=((e,t,n)=>{let r=e/2,l=t/2,a=r-l,i=2*a,o="clockwise"===n?"1,0":"0,1";return{path:`m ${r},${l} a ${a},${a} 0 ${o} 0,${i} a ${a},${a} 0 ${o} 0,-${i}`,pathLength:2*Math.PI*a}})(a,E,h),{elapsedTime:w}=(({isPlaying:e,duration:t,startAt:n=0,updateInterval:l=0,onComplete:a,onUpdate:i})=>{let[o,u]=(0,r.useState)(n),m=(0,r.useRef)(0),c=(0,r.useRef)(n),d=(0,r.useRef)(-1e3*n),h=(0,r.useRef)(null),f=(0,r.useRef)(null),p=(0,r.useRef)(null),g=e=>{let n=e/1e3;if(null===f.current)return f.current=n,void(h.current=requestAnimationFrame(g));let r=n-f.current,a=m.current+r;f.current=n,m.current=a;let i=c.current+(0===l?a:(a/l|0)*l),o=c.current+a,s="number"==typeof t&&o>=t;u(s?t:i),s||(h.current=requestAnimationFrame(g))},y=()=>{h.current&&cancelAnimationFrame(h.current),p.current&&clearTimeout(p.current),f.current=null},E=(0,r.useCallback)((t=>{y(),m.current=0;let r="number"==typeof t?t:n;c.current=r,u(r),e&&(h.current=requestAnimationFrame(g))}),[e,n]);return s((()=>{if(null==i||i(o),t&&o>=t){d.current+=1e3*t;let{shouldRepeat:e=!1,delay:n=0,newStartAt:r}=(null==a?void 0:a(d.current/1e3))||{};e&&(p.current=setTimeout((()=>E(r)),1e3*n))}}),[o,t]),s((()=>(e&&(h.current=requestAnimationFrame(g)),y)),[e,t,l]),{elapsedTime:o,reset:E}})({isPlaying:m,duration:t,startAt:u(t,n),updateInterval:l,onUpdate:"function"==typeof g?e=>{let n=Math.ceil(t-e);n!==y.current&&(y.current=n,g(n))}:void 0,onComplete:"function"==typeof p?e=>{var n;let{shouldRepeat:r,delay:l,newInitialRemainingTime:a}=null!=(n=p(e))?n:{};if(r)return{shouldRepeat:r,delay:l,newStartAt:u(t,a)}}:void 0}),v=t-w;return{elapsedTime:w,path:b,pathLength:k,remainingTime:Math.ceil(v),rotation:h,size:a,stroke:f(e,v),strokeDashoffset:d(w,0,k,t,c),strokeWidth:i}},g=e=>{let{children:t,strokeLinecap:n,trailColor:l,trailStrokeWidth:a}=e,{path:i,pathLength:o,stroke:s,strokeDashoffset:u,remainingTime:d,elapsedTime:h,size:f,strokeWidth:g}=p(e);return r.createElement("div",{style:m(f)},r.createElement("svg",{viewBox:`0 0 ${f} ${f}`,width:f,height:f,xmlns:"http://www.w3.org/2000/svg"},r.createElement("path",{d:i,fill:"none",stroke:null!=l?l:"#d9d9d9",strokeWidth:null!=a?a:g}),r.createElement("path",{d:i,fill:"none",stroke:s,strokeLinecap:null!=n?n:"round",strokeWidth:g,strokeDasharray:o,strokeDashoffset:u})),"function"==typeof t&&r.createElement("div",{style:c},t({remainingTime:d,elapsedTime:h,color:s})))};g.displayName="CountdownCircleTimer";var y="interview-module--link--cc32d",E=n(88686);n(59397);const b=()=>{const{0:e,1:t}=(0,r.useState)(!1),n=(0,E.useLocation)(),s=new URLSearchParams(n.search),u=s.get("invitee_full_name"),m=s.get("event_start_time"),c=s.get("event_end_time"),d=s.get("invitee_email"),h=Boolean(m&&c),f=h?new Date(m):null,p=h?new Date(c):null,b=h?f.toLocaleStr
1ing("en-US",{weekday:"long",month:"long",day:"numeric",year:"numeric"}):null,k=h?f.toLocaleString("en-US",{hour:"numeric",minute:"numeric",hour12:!0}):null,w=h?p.toLocaleString("en-US",{hour:"numeric",minute:"numeric",hour12:!0}):null;return r.createElement(o.Z,null,r.createElement(l.Z,null,r.createElement(a.Z,{lg:{span:6,offset:3},className:""},r.createElement(i.Z,null,r.createElement("h1",{className:" ms-3 my-1"},"Bootcamp Interview Schedule")),r.createElement(i.Z,{className:"mt-5 my-1"},r.createElement(a.Z,{lg:{span:12,offset:0}},console.log(d),r.createElement("h4",{className:"ms-3 mb-5 ",style:{fontSize:"1.5 rem"}},u?"Thank you, "+u+"!":"Thank you!"),h&&r.createElement(r.Fragment,null,r.createElement("p",{className:"ms-3",style:{fontSize:"1.5 rem"}},"Your call is scheduled on"," ",r.createElement("strong",null,b," from ",k," to ",w,".")),r.createElement("p",{className:"ms-3",style:{fontSize:"1.5 rem"}},"Please check your inbox at"," ",r.createElement("a",{style:{color:"#C12029"},href:"mailto:"+d},d)," ","and confirm that you can make the scheduled time.")))),r.createElement(i.Z,{className:"justify-content-center my-3"},e?null:r.createElement(g,{isPlaying:!0,duration:290,onComplete:()=>{t(!0)},colors:[["#C12029"]],strokeLinecap:"square",strokeWidth:"5",size:60},(e=>{let{remainingTime:t}=e;return r.createElement("div",null,r.createElement("h1",{style:{fontSize:16,marginLeft:"30px",marginTop:"5px",fontWeight:"bold"}},Math.floor(t/60).toString().padStart(2,"0")+":"+(t%60).toString().padStart(2,"0")))}))),r.createElement(i.Z,null,r.createElement("ul",{className:"ms-5"},r.createElement("li",null,r.createElement("p",null,r.createElement("a",{className:y,style:{fontSize:"1.5 rem"},href:"https://forms.zohopublic.com/virtualoffice9155/form/BootcampApplicationBasicChallengesF20/formperma/eyRW9Evft9ta2yt2rE4dpWtevNxIo_W804G-905H9d4"},"Before your scheduled Call, please complete these basic challenges."))),r.createElement("li",null,r.createElement("p",null,r.createElement("a",{className:y,style:{fontSize:"1.5 rem"},href:"https://awesomeinc.org/blog/what-we-look-for-in-a-bootcamp-student/"},"Want to know what we'll talk about on our call? Check out our blog here!"))))),r.createElement(i.Z,null,r.createElement("p",{className:"ms-3"},"Didn't receive an email? You can call or text 859.960.4600 directly to confirm your interview.")))))};var k=()=>r.createElement(E.Router,{basepath:"/confirmation"},r.createElement(b,{path:"/interview"}))},59397:function(e,t,n){n.d(t,{W:function(){return r}});const r={colors:{brand:"#C12029",brand2:"#323232",brand3:"#FFFFFF",brandGrey:"#939597",brandGreyLight:"#E6E7E8",brandRedBright:"#ED3742"},fonts:{headingFont:"'Open Sans', sans-serif",subheadingFont:"'Open Sans', sans-serif",baseFont:"'Open Sans', sans-serif",fancyFont:"'The-Bohemian-Regular', serif"},sizes:{title:"2.0rem",title_huge:"3.2rem",title_big:"2.5rem",title_medium:"1.2rem",title_tiny:"0.5rem",title_small:".8rem",subtitle:"1.5rem",subtitle_small:"1.4rem",subtitle_tiny:"0.7rem",text:"1rem",text_small:"0.8rem",text_tiny:"0.6rem"},screens:{mobile:"480px",tablet:"768px",laptop:"1024px",desktop:"1200px"}}}}]);
2//# sourceMappingURL=component---src-pages-confirmation-interview-index-js-eb2eb74730bd6fb9f046.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.