1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3400],{8739:function(e,t,s){(window.__NEXT_P=window.__NEXT_P||[]).push(["/questionapiold",function(){return s(8883)}])},7553:function(e,t,s){"use strict";var a=s(5893),i=s(4840),r=s(4742);let l=e=>{let{className:t,error:s,id:l,inputRef:n,input:o,label:d,preComponent:c,postComponent:x}=e;return(0,a.jsxs)("div",{className:(0,i.Z)("group/input",t),ref:n,children:[(0,a.jsxs)("label",{htmlFor:l,className:(0,i.Z)("flex items-end justify-between ",s?"text-red-500":"text-black3 group-focus-within/input:text-primary duration-500"),children:[(0,a.jsx)("div",{className:"text-sm font-medium",children:d.title}),(0,a.jsx)("div",{className:"text-xs ",children:d.required?"Required":"Optional"})]}),(0,a.jsxs)("div",{className:(0,i.Z)("w-full items-center flex mt-1 mx-auto duration-500 border-2 overflow-hidden rounded-md h-max ",s?"border-red-500 focus-within:border-red-700":"border-gray-200 focus-within:border-primary focus-within:scale-105"),children:[c&&c(),(0,a.jsx)("input",{type:o.type,name:l,id:l,disabled:o.disabled,defaultValue:o.defaultValue,value:o.value,className:(0,i.Z)("block flex-1 pl-2 py-2 bg-transparent outline-none sm:text-sm disabled:text-gray-500 ",s?"placeholder-red-300 text-red-500":"text-black"),placeholder:o.placeholder,onChange:o.onChange}),x&&x(),s&&(0,a.jsx)(r.Z,{className:"w-5 h-5 mx-2 text-red-300 duration-500 group-focus-within:text-red-700"})]}),s&&(0,a.jsx)("div",{className:"flex items-center gap-1 mt-1",children:(0,a.jsx)("div",{className:"text-xs text-red-600 ",children:s})})]})};t.Z=l},1152:function(e,t,s){"use strict";var a=s(5893),i=s(4840),r=s(4742),l=s(6093);let n=e=>{let{className:t,error:s,id:n,inputRef:o,textarea:d,label:c,preComponent:x,postComponent:m}=e;return(0,a.jsxs)("div",{className:(0,i.Z)("group/input",t),ref:o,children:[(0,a.jsxs)("label",{htmlFor:n,className:(0,i.Z)("flex items-end justify-between ",s?"text-red-500":"text-black3 group-focus-within/input:text-primary duration-500"),children:[(0,a.jsx)("div",{className:"text-sm font-medium",children:c.title}),(0,a.jsx)("div",{className:"text-xs ",children:c.required?"Required":"Optional"})]}),(0,a.jsxs)("div",{className:(0,i.Z)("w-full items-center flex mt-1 mx-auto duration-500 border-2 overflow-hidden rounded-md h-max ",s?"border-red-500 focus-within/input:border-red-700":"border-gray-200 focus-within/input:border-primary focus-within:scale-105"),children:[x&&x(),(0,a.jsx)(l.Z,{name:n,id:n,disabled:d.disabled,defaultValue:d.defaultValue,className:(0,i.Z)("block w-full py-2 pl-2 pr-4 bg-transparent rounded-md outline-none resize-none sm:text-sm",s?"placeholder-red-300 text-red-500":"text-black"),placeholder:d.placeholder,onChange:d.onChange}),m&&m(),s&&(0,a.jsx)(r.Z,{className:"w-5 h-5 mr-2 text-red-300 duration-500 group-focus-within:text-red-700"})]}),s&&(0,a.jsx)("div",{className:"flex items-center gap-1 mt-1",children:(0,a.jsx)("div",{className:"text-xs text-red-600 ",children:s})})]})};t.Z=n},8883:function(e,t,s){"use strict";s.r(t),s.d(t,{__N_SSP:function(){return y},default:function(){return N}});var a=s(5893),i=s(7294),r=s(1163),l=s(1721),n=s(2451),o=s(1664),d=s.n(o),c=s(5761),x=s(1090),m=s(4840),u=s(2865),p=s(7553),h=s(2420),f=s(1784),v=s(1152),g=s(5013),b=s(229),w=s(5695);let j=()=>{let[e,t]=(0,i.useState)(""),[s,r]=(0,i.useState)(""),[l,n]=(0,i.useState)(""),[o,d]=(0,i.useState)(""),[c,x]=(0,i.useState)(""),[j,y]=(0,i.useState)(""),[N,C]=(0,i.useState)(""),[k,S]=(0,i.useState)(""),[R,I]=(0,i.useState)(!1),[O,T]=(0,i.useState)(!1),A=()=>{let t=!1;if(b.Z.genericValidator(e)||(r("Name Cant Be Empty"),t=!0),b.Z.emailValidator(l)||(d("Email Invalid"),t=!0),b.Z.phoneNumberValidator(c)||(y("Phone Number Invalid"),t=!0),b.Z.genericValidator(N)||(S("Message Cant Be Empty"),t=!0),!t){I(!0);let s=new w.Z;s.contactUs(e,l,c,N).then(e=>{T(!0),I(!1),console.log(e)}).catch(e=>{I(!1),console.log(e)})}};return(0,a.jsxs)("div",{className:"max-w-3xl px-12 py-8 mx-auto bg-white shadow-2xl md:rounded-3xl",children:[(0,a.jsx)("div",{className:"mb-10 text-4xl md:text-5xl text-primary",children:"Drop a query"}),O?(0,a.jsx)("div",{className:"px-4 py-4 mt-4 text-lg text-center text-green-700 border border-green-700 border-dashed rounded-3xl",children:"Sent"}):R?(0,a.jsx)("div",{children:"Loading"}):(0,a.jsxs)("div",{children:[(0,a.jsx)(p.Z,{error:s,id:"name",className:"mt-4",input:{onChange(e){t(e.target.value),r("")},type:"text",placeholder:"Name"},label:{title:"Name",required:!0},preComponent:()=>(0,a.jsx)(h.Z,{className:(0,m.Z)("w-5 h-5 ml-2 duration-500 ",s?"text-red-300 group-focus-within/input:text-red-700":"text-gray-300 group-focus-within/input:text-primary")})}),(0,a.jsx)(p.Z,{error:o,id:"email",className:"mt-4",input:{onChange(e){n(e.target.value),d("")},type:"email",placeholder:"[email protected]"},label:{title:"Email",required:!0},preComponent:()=>(0,a.jsx)(u.Z,{className:(0,m.Z)("w-5 h-5 ml-2 duration-500 ",o?"text-red-300 group-focus-within/input:text-red-700":"text-gray-300 group-focus-within/input:text-primary")})}),(0,a.jsx)(f.Z,{className:"mt-4",error:j,id:"tel",input:{onChange(e){x(e.target.value),y("")},onCountryChange(e){},onEnter(){},placeholder:"9876543210"},label:{title:"Phone Number",required:!0},preComponent:()=>(0,a.jsx)("div",{className:(0,m.Z)(" h-5 text-sm ml-2 duration-500 ",j?"text-red-300 group-focus-within:text-red-700":"text-gray-300 group-focus-within:text-primary"),children:"+91"})}),(0,a.jsx)(v.Z,{className:"mt-4",id:"message",error:k,label:{title:"Message",required:!0}
1,textarea:{onChange(e){C(e.target.value),S("")},placeholder:"Message"},preComponent:()=>(0,a.jsx)(g.Z,{className:(0,m.Z)("w-5 h-5 ml-2 duration-500 ",k?"text-red-300 group-focus-within/input:text-red-700":"text-gray-300 group-focus-within/input:text-primary")})}),(0,a.jsx)("div",{className:"flex flex-col md:flex-row",children:(0,a.jsx)("div",{onClick(){A()},className:"w-full px-8 py-4 mt-6 ml-auto text-2xl text-center text-white rounded-md cursor-pointer bg-background md:w-max",children:"Get a Callback"})})]})]})};var y=!0;function N(e){let{token:t,user:s,tokenExpired:o}=e,[m,u]=(0,i.useState)(t),[p,h]=(0,i.useState)(!1),[f,v]=(0,i.useState)(!1),[g,b]=(0,i.useState)(),[w,y]=(0,i.useState)(),[N,C]=(0,i.useState)("SUCCESS");(0,r.useRouter)();let k=(0,i.useRef)();return(0,a.jsxs)(l.Z,{setToken(e){u(e)},user:s,isAuthNeeded:!1,tokenExpired:o,meta:{title:"Smart Hiring Simplified",description:"We are building intelligent AI APIs to enable ultra-fast, optimal hiring. Currently beta testing with early adopters. Join us in shaping the AI-driven future of hiring.",keywords:["Whitetable","AI assisted hiring","Candidate Ranking","Resume Ranking","Hiring","Recruiting"],structuredDatas:[c.Z.FAQ_STRUCTURED_DATA]},children:[(0,a.jsxs)("div",{className:"flex-1 w-screen overflow-hidden bg-background",children:[(0,a.jsxs)("div",{className:"relative",children:[(0,a.jsxs)("svg",{className:"absolute top-0 left-0 w-full h-90 md:h-full text-secondary/30",xmlns:"http://www.w3.org/2000/svg",version:"1.1",xlinkHref:"http://www.w3.org/1999/xlink",preserveAspectRatio:"none",viewBox:"0 0 1440 1000",stroke:"currentColor",children:[(0,a.jsxs)("g",{mask:'url("#SvgjsMask1078")',fill:"none",children:[(0,a.jsx)("path",{className:"path text-primary/30",d:"M -41.547461002446084,327 C 54.45,397.4 246.45,659.6 438.4525389975539,679 C 630.45,698.4 726.45,417.4 918.4525389975539,424 C 1110.45,430.6 1206.45,744.2 1398.4525389975538,712 C 1590.45,679.8 1870.14,286 1878.4525389975538,263 C 1886.76,240 1527.69,530.2 1440,597",strokeWidth:"2"}),(0,a.jsx)("path",{className:"path1 text-backblue/30",d:"M -13.332989079714821,325 C 82.67,370 274.67,553 466.6670109202852,550 C 658.67,547 754.67,293.8 946.6670109202852,310 C 1138.67,326.2 1234.67,599.4 1426.667010920285,631 C 1618.67,662.6 1904,450.8 1906.667010920285,468 C 1909.33,485.2 1533.33,667.2 1440,717",strokeWidth:"2"}),(0,a.jsx)("path",{className:"path text-primarylight/20",d:"M -924.1357956565387,672 C -828.14,630 -636.14,469.6 -444.1357956565387,462 C -252.14,454.4 -156.14,656 35.864204343461324,634 C 227.86,612 323.86,373.8 515.8642043434613,352 C 707.86,330.2 811.04,504 995.8642043434613,525 C 1180.69,546 1351.17,470.6 1440,457",strokeWidth:"3"}),(0,a.jsx)("path",{className:"path2 text-secondary/30",d:"M -91.14957934760025,477 C 4.85,508 196.85,657 388.85042065239975,632 C 580.85,607 676.85,366 868.8504206523997,352 C 1060.85,338 1156.85,539 1348.8504206523999,562 C 1540.85,585 1810.62,457 1828.8504206523999,467 C 1847.08,477 1517.77,583 1440,612",strokeWidth:"2"}),(0,a.jsx)("path",{className:"path text-[#ED4256]/30",d:"M -349.02417672247486,325 C -253.02,382.4 -61.02,586 130.97582327752514,612 C 322.98,638 418.98,449.6 610.9758232775251,455 C 802.98,460.4 898.98,670.6 1090.9758232775253,639 C 1282.98,607.4 1501.17,320 1570.9758232775253,297 C 1640.78,274 1466.2,478.6 1440,524",strokeWidth:"2"}),(0,a.jsx)("path",{className:"path text-[#F7B32C]/30",d:"M -380.1352399854518,666 C -284.14,610 -92.14,402.4 99.86476001454818,386 C 291.86,369.6 387.86,604.2 579.8647600145482,584 C 771.86,563.8 867.86,277.8 1059.8647600145482,285 C 1251.86,292.2 1463.84,604.2 1539.8647600145482,620 C 1615.89,635.8 1459.97,415.2 1440,364",strokeWidth:"2"}),(0,a.jsx)("path",{className:"path2 text-secondary/30",d:"M -208.24911330990454,411 C -112.25,437.4 79.75,561.4 271.75088669009546,543 C 463.75,524.6 559.75,320.4 751.7508866900955,319 C 943.75,317.6 1039.75,527 1231.7508866900955,536 C 1423.75,545 1670.1,369 1711.7508866900955,364 C 1753.4,359 1494.35,481.6 1440,511",strokeWidth:"2"})]}),(0,a.jsx)("defs",{children:(0,a.jsx)("mask",{id:"SvgjsMask1078",children:(0,a.jsx)("rect",{width:"1440",height:"1000",fill:"#ffffff"})})})]}),(0,a.jsxs)("div",{className:"relative flex flex-col max-w-6xl gap-4 p-4 pt-20 pb-24 mx-auto bg-transparent md:gap-20 md:flex-row",children:[(0,a.jsxs)(n.E.div,{className:"flex flex-col gap-16 m-auto md:gap-10 flex-2",initial:{opacity:0,scale:.95,y:100},viewport:{once:!0},whileInView:{opacity:1,scale:1,y:0},transition:{ease:"easeOut",duration:.5,once:!0},children:[(0,a.jsx)("h1",{className:"text-4xl font-bold md:text-6xl leading-[72px] text-bg-color",children:"Whitetable Question API"}),(0,a.jsxs)("div",{className:"text-base text-white md:text-xl",children:["Effortlessly generate both ",(0,a.jsx)("b",{children:"standardized"})," and"," ",(0,a.jsx)("b",{children:"personalized"})," interview questions with the"," ",(0,a.jsx)("b",{children:"Whitetable Question API"}),". Whether you're conducting human-led, AI-assisted, or fully automated interviews, our API provides the perfect balance between fairness and depth, ensuring a seamless and insightful interview experience."]}),(0,a.jsxs)("div",{className:"grid self-start flex-1 w-full grid-cols-2 gap-4",children:[(0,a.jsx)("button",{onClick(){k.current.scrollIntoView({behavior:"smooth",block:"center"})},className:"flex w-full p-4 text-lg text-center text-white rounded-md md:text-2xl md:px-12 md:py-4 bg-secondary",children:(0,a.jsx)("div",{className:"w-full text-center",children:"Contact Us"})}),(0,a.jsx)(d(),{href:"/documentation?api=1,2",className:"flex w-full p-4 text-lg text-center text-white rounded-md md:text-2xl md:px-12 md:py-4 bg-secondary",children:(0,a.jsx)("div",{className:"w-full text-center",children:"Documentation"})})]})]}),(0,a.jsx)(n.E.div,{className:"flex-1 hidden mt-8 md:block md:m-0 ",initial:{opacity:0,scale:.95,y:100},viewport:{once:!0},whileInView:{opacity:1,scale:1,y:0},transition:{ease:"easeOut",duration:.5,once:!0},children:(0,a.jsx)("div",{className:"relative mx-auto md:ml-auto md:mr-0 aspect-square max-h-[450px] max-w-[450px] "})})]})]}),(0,a.jsx)("div",{className:"relative pb-16 md:pb-24",children:(0,a.jsxs)("div",{className:"z-10 max-w-6xl p-4 mx-auto ",children:[(0,a.jsxs)("div",{children:[(0,a.jsx)("svg",{className:"absolute left-0 w-full h-40 top-30 md:h-60 text-secondary/30",xmlns:"http://www.w3.org/2000/svg",version:"1.1",xlinkHref:"http://www.w3.org/1999/xlink",preserveAspectRatio:"none",viewBox:"0 0 1440 1000",stroke:"currentColor",children:(0,a.jsx)("g",{mask:'url("#SvgjsMask1078")',fill:"none",children:(0,a.jsx)("path",{className:"path text-primary/30",d:"M -41.547461002446084,327 C 54.45,397.4 246.45,659.6 438.4525389975539,679 C 630.45,698.4 726.45,417.4 918.4525389975539,424 C 1110.45,430.6 1206.45,744.2 1398.4525389975538,712 C 1590.45,679.8 1870.14,286 1878.4525389975538,263 C 1886.76,240 1527.69,530.2 1440,597",strokeWidth:"2"})})}),(0,a.jsx)("div",{className:"relative flex flex-col items-center gap-4 px-4 py-6 mt-8 shadow-md md:p-8 bg-backblue rounded-3xl md:mt-16 md:gap-20 md:flex-row",children:(0,a.jsxs)(n.E.div,{className:"flex flex-col gap-4 m-auto md:gap-8 flex-2",initial:{opacity:0,scale:.95,y:30},viewport:{once:!0},whileInView:{opacity:1,scale:1,y:0},transition:{ease:"easeOut",duration:.5,once:!0},children:[(0,a.jsx)("div",{className:"flex",children:(0,a.jsx)("h2",{className:"text-4xl font-bold md:text-5xl text-primarydark",children:"Overview"})}),(0,a.jsxs)("div",{className:"text-lg md:text-xl text-[#333333]",children:[(0,a.jsxs)("div",{children:["The ",(0,a.jsx)("b",{children:"Whitetable Question API"})," enhances your interview process by offering two types of questions:"]}),(0,a.jsxs)("div",{className:"mt-4 ml-4 md:ml-6",children:[(0,a.jsxs)("div",{className:"mt-2",children:[(0,a.jsxs)("div",{className:"flex items-start gap-3",children:[(0,a.jsx)("div",{className:"w-2 h-2 mt-2.5 rounded bg-primary"}),(0,a.jsx)("div",{className:"text-lg font-bold md:text-xl",children:"Standard Questions"})]}),(0,a.jsx)("div",{className:"ml-5 text-sm md:text-base",children:"Common for all applicants based on the job description (JD), interview round type, and focus area. These ensure fairness in candidate comparison and can be reused throughout multiple interview stages"})]}),(0,a.jsxs)("div",{className:"mt-2",children:[(0,a.jsxs)("div",{className:"flex items-start gap-3",children:[(0,a.jsx)("div",{className:"w-2 h-2 mt-2.5 rounded bg-primary"}),(0,a.jsx)("div",{className:"text-lg font-bold md:text-xl",children:"Personalized Resume-Based Questions"})]}),(0,a.jsx)("div",{className:"ml-5 text-sm md:text-base",children:"Tailored specifically to each candidateâs resume, offering deeper insights into their skills and qualifications, while also aligned with the JD, interview round type, and focus area"})]})]}),(0,a.jsx)("div",{className:"mt-4 font-bold ",children:"Consistent Yet Tailored"}),(0,a.jsxs)("div",{className:"mt-2 ml-5 text-sm md:text-base",children:["Our two-pronged approach provides both ",(0,a.jsx)("b",{children:"fairness"})," and",(0,a.jsx)("b",{children:" individual insight"}),". Every candidate receives a core set of ",(0,a.jsx)("b",{children:" standard questions "}),", while",(0,a.jsx)("b",{children:" personalized questions "}),"help uncover deeper insights about each candidateâs unique background. You have full control over the balance, deciding the mix of ",(0,a.jsx)("b",{children:" standard "})," and",(0,a.jsx)("b",{children:" personalized "}),"questions."]})]})]})})]}),(0,a.jsxs)("div",{children:[(0,a.jsx)("svg",{className:"absolute left-0 w-full h-40 top-30 md:h-60 text-secondary/30",xmlns:"http://www.w3.org/2000/svg",version:"1.1",xlinkHref:"http://www.w3.org/1999/xlink",preserveAspectRatio:"none",viewBox:"0 0 1440 1000",stroke:"currentColor",children:(0,a.jsx)("g",{mask:'url("#SvgjsMask1078")',fill:"none",children:(0,a.jsx)("path",{className:"path text-[#ED4256]/30",d:"M -349.02417672247486,325 C -253.02,382.4 -61.02,586 130.97582327752514,612 C 322.98,638 418.98,449.6 610.9758232775251,455 C 802.98,460.4 898.98,670.6 1090.9758232775253,639 C 1282.98,607.4 1501.17,320 1570.9758232775253,297 C 1640.78,274 1466.2,478.6 1440,524",strokeWidth:"2"})})}),(0,a.jsx)("div",{className:"relative flex flex-col items-center gap-4 px-4 py-6 mt-8 shadow-md md:p-8 bg-backblue rounded-3xl md:mt-16 md:gap-20 md:flex-row",children:(0,a.jsxs)(n.E.div,{className:"flex flex-col gap-4 m-auto md:gap-8 flex-2",initial:{opacity:0,scale:.95,y:30},viewport:{once:!0},whileInView:{opacity:1,scale:1,y:0},transition:{ease:"easeOut",duration:.5,once:!0},children:[(0,a.jsx)("div",{className:"flex",children:(0,a.jsx)("h2",{className:"text-3xl font-bold md:text-5xl text-primarydark",children:"How It Works"})}),(0,a.jsxs)("div",{className:"text-lg md:text-xl text-[#333333]",children:[(0,a.jsxs)("div",{children:["The ",(0,a.jsx)("b",{children:" Whitetable Question API "})," works through two main endpoints, providing flexibility and control over the interview process. Hereâs how it works"]}),(0,a.jsxs)("div",{className:"ml-4 md:ml-6",children:[(0,a.jsxs)("div",{className:"mt-4",children:[(0,a.jsxs)("div",{className:"flex items-start gap-3",children:[(0,a.jsx)("div",{className:"text-lg font-bold text-primary md:text-xl",children:"1"}),(0,a.jsx)("div",{className:"text-lg font-bold md:text-xl",children:"Generate Standard Questions"})]}),(0,a.jsx)("div",{className:"mt-1 ml-5 text-sm md:text-base",children:"The first API helps you generate a set of standardized questions based on the job description (JD), interview round type, and focus area."}),(0,a.jsxs)("div",{className:"grid grid-cols-2 gap-4 mt-2 ml-5 w-max ",children:[(0,a.jsx)(d(),{href:"/documentation?api=1",className:"flex w-full px-4 py-2 text-sm text-center text-white rounded-md md:text-base bg-primary ",children:(0,a.jsx)("div",{className:"w-full text-center",children:"Documentation"})}),(0,a.jsx)(d(),{href:"https://docs.google.com/document/d/104NlTgBDVM2zPYlL524ViPsGohahZ3-Unjg80I8caVI/view",target:"_blank",className:"flex w-full px-4 py-2 text-sm text-center text-white rounded-md md:text-base bg-primary ",children:(0,a.jsx)("div",{className:"w-full text-center",children:"Test Data"})})]}),(0,a.jsx)("div",{className:"mt-4 ml-8 text-sm md:text-base md:ml-11",children:(0,a.jsxs)("div",{className:"flex gap-3",children:[(0,a.jsx)("div",{className:"w-2 h-2 mt-2 border rounded bg-primary"}),(0,a.jsx)("div",{className:"flex-1",children:"This API generates a set of standard questions and returns a round_id. This ID will be used to retrieve the same set of questions in later requests for consistency across all applicants"})]})})]}),(0,a.jsxs)("div",{className:"mt-4",children:[(0,a.jsxs)("div",{className:"flex items-start gap-3",children:[(0,a.jsx)("div",{className:"text-lg font-bold text-primary md:text-xl",children:"2"}),(0,a.jsx)("div",{className:"text-lg font-bold md:text-xl",children:"Generate Personalized and Standard Questions"})]}),(0,a.jsx)("div",{className:"mt-1 ml-5 text-sm md:text-base",children:"The second API combines the standard questions with personalized questions based on a candidate's resume. You provide the round_id from the first API, and the total number of questions you need."}),(0,a.jsxs)("div",{className:"grid grid-cols-2 gap-4 mt-2 ml-5 w-max ",children:[(0,a.jsx)(d(),{href:"/documentation?api=2",className:"flex w-full px-4 py-2 text-sm text-center text-white rounded-md md:text-base bg-primary ",children:(0,a.jsx)("div",{className:"w-full text-center",children:"Documentation"})}),(0,a.jsx)(d(),{href:"https://docs.google.com/document/d/1x3QmQxJl-RyHNl7LX98pHBC1e5q
1KiloCzOZFY0Rp9OY/view",target:"_blank",className:"flex w-full px-4 py-2 text-sm text-center text-white rounded-md md:text-base bg-primary ",children:(0,a.jsx)("div",{className:"w-full text-center",children:"Test Data"})})]}),(0,a.jsxs)("div",{className:"mt-4 ml-8 text-sm md:text-base md:ml-11",children:[(0,a.jsxs)("div",{className:"flex gap-3",children:[(0,a.jsx)("div",{className:"w-2 h-2 mt-2 border rounded bg-primary"}),(0,a.jsx)("div",{className:"flex-1",children:"This API returns the standard questions from the first API along with additional personalized questions based on the resume"})]}),(0,a.jsxs)("div",{className:"flex gap-3",children:[(0,a.jsx)("div",{className:"w-2 h-2 mt-2 border rounded bg-primary"}),(0,a.jsx)("div",{className:"flex-1",children:"For example, if the standard questions generated earlier included 10 questions, and you ask for 15 total, this API will return the 10 standard questions and generate 5 personalized questions, tailored to the candidateâs resume."})]})]})]})]})]})]})})]}),(0,a.jsxs)("div",{children:[(0,a.jsx)("svg",{className:"absolute left-0 w-full h-40 top-30 md:h-60 text-secondary/30",xmlns:"http://www.w3.org/2000/svg",version:"1.1",xlinkHref:"http://www.w3.org/1999/xlink",preserveAspectRatio:"none",viewBox:"0 0 1440 1000",stroke:"currentColor",children:(0,a.jsx)("g",{mask:'url("#SvgjsMask1078")',fill:"none",children:(0,a.jsx)("path",{className:"path text-[#F7B32C]/30",d:"M -380.1352399854518,666 C -284.14,610 -92.14,402.4 99.86476001454818,386 C 291.86,369.6 387.86,604.2 579.8647600145482,584 C 771.86,563.8 867.86,277.8 1059.8647600145482,285 C 1251.86,292.2 1463.84,604.2 1539.8647600145482,620 C 1615.89,635.8 1459.97,415.2 1440,364",strokeWidth:"2"})})}),(0,a.jsx)("div",{className:"relative flex flex-col items-center gap-4 px-4 py-6 mt-8 shadow-md md:p-8 bg-backblue rounded-3xl md:mt-16 md:gap-20 md:flex-row",children:(0,a.jsxs)(n.E.div,{className:"flex flex-col gap-4 m-auto md:gap-8 flex-2",initial:{opacity:0,scale:.95,y:30},viewport:{once:!0},whileInView:{opacity:1,scale:1,y:0},transition:{ease:"easeOut",duration:.5,once:!0},children:[(0,a.jsx)("div",{className:"flex",children:(0,a.jsx)("h2",{className:"text-3xl font-bold md:text-5xl text-primarydark",children:"Key Features"})}),(0,a.jsx)("div",{className:"text-lg md:text-xl text-[#333333]",children:(0,a.jsxs)("div",{className:"mt-4 ml-4 md:ml-6",children:[(0,a.jsxs)("div",{className:"mt-2",children:[(0,a.jsxs)("div",{className:"flex items-start gap-3",children:[(0,a.jsx)("div",{className:"text-lg font-bold text-primary md:text-xl",children:"1"}),(0,a.jsx)("div",{className:"text-lg font-bold md:text-xl",children:"Scalable for All Hiring Needs"})]}),(0,a.jsxs)("div",{className:"ml-5 text-sm md:text-base",children:["From small hiring batches to large-scale recruitment, the ",(0,a.jsx)("b",{children:" Whitetable Question API "})," scales effortlessly, handling high volumes without any loss of performance."]})]}),(0,a.jsxs)("div",{className:"mt-2",children:[(0,a.jsxs)("div",{className:"flex items-start gap-3",children:[(0,a.jsx)("div",{className:"text-lg font-bold text-primary md:text-xl",children:"2"}),(0,a.jsx)("div",{className:"text-lg font-bold md:text-xl",children:"Seamless Integration"})]}),(0,a.jsx)("div",{className:"ml-5 text-sm md:text-base",children:"The API is easy to integrate into any Applicant Tracking System (ATS) or custom recruiting platform, with a simple, well-documented RESTful interface."})]}),(0,a.jsxs)("div",{className:"mt-2",children:[(0,a.jsxs)("div",{className:"flex items-start gap-3",children:[(0,a.jsx)("div",{className:"text-lg font-bold text-primary md:text-xl",children:"3"}),(0,a.jsx)("div",{className:"text-lg font-bold md:text-xl",children:"Fast, Real-Time Question Generation"})]}),(0,a.jsx)("div",{className:"ml-5 text-sm md:text-base",children:"Generate questions on the fly with real-time responses. Whether for standard or personalized question sets, the API ensures your interview process remains smooth and efficient"})]}),(0,a.jsxs)("div",{className:"mt-2",children:[(0,a.jsxs)("div",{className:"flex items-start gap-3",children:[(0,a.jsx)("div",{className:"text-lg font-bold text-primary md:text-xl",children:"4"}),(0,a.jsx)("div",{className:"text-lg font-bold md:text-xl",children:"Standardized for Fairness"})]}),(0,a.jsxs)("div",{className:"ml-5 text-sm md:text-base",children:["Standard questions are consistent across all candidates for a given job, ensuring fairness. The same ",(0,a.jsx)("b",{children:" round_id "}),"is reused, making it easy to track performance and maintain consistency across interview stages."]})]}),(0,a.jsxs)("div",{className:"mt-2",children:[(0,a.jsxs)("div",{className:"flex items-start gap-3",children:[(0,a.jsx)("div",{className:"text-lg font-bold text-primary md:text-xl",children:"5"}),(0,a.jsx)("div",{className:"text-lg font-bold md:text-xl",children:"Deep Personalization"})]}),(0,a.jsx)("div",{className:"ml-5 text-sm md:text-base",children:"Personalized questions are generated by anal
1yzing a candidateâs resume, offering deeper insights into their experiences and qualifications. This provides interviewers with a richer understanding of each applicantâs strengths."})]}),(0,a.jsxs)("div",{className:"mt-2",children:[(0,a.jsxs)("div",{className:"flex items-start gap-3",children:[(0,a.jsx)("div",{className:"text-lg font-bold text-primary md:text-xl",children:"6"}),(0,a.jsx)("div",{className:"text-lg font-bold md:text-xl",children:"Customizable Question Mix"})]}),(0,a.jsx)("div",{className:"ml-5 text-sm md:text-base",children:"Recruiters control the balance between standard and personalized questions in each round. For example, you can request a set of 15 total questions with 10 from the standard set and 5 personalized to the candidate."})]}),(0,a.jsxs)("div",{className:"mt-2",children:[(0,a.jsxs)("div",{className:"flex items-start gap-3",children:[(0,a.jsx)("div",{className:"text-lg font-bold text-primary md:text-xl",children:"7"}),(0,a.jsx)("div",{className:"text-lg font-bold md:text-xl",children:"Versatile for AI-Assisted or Automated Interviews"})]}),(0,a.jsx)("div",{className:"ml-5 text-sm md:text-base",children:"The API works for both AI-assisted and fully automated interviews, allowing you to adjust for different types of interview setups."})]})]})})]})})]}),(0,a.jsxs)("div",{children:[(0,a.jsx)("svg",{className:"absolute left-0 w-full h-40 top-30 md:h-60 text-secondary/30",xmlns:"http://www.w3.org/2000/svg",version:"1.1",xlinkHref:"http://www.w3.org/1999/xlink",preserveAspectRatio:"none",viewBox:"0 0 1440 1000",stroke:"currentColor",children:(0,a.jsx)("g",{mask:'url("#SvgjsMask1078")',fill:"none",children:(0,a.jsx)("path",{className:"path text-[#ED4256]/30",d:"M -349.02417672247486,325 C -253.02,382.4 -61.02,586 130.97582327752514,612 C 322.98,638 418.98,449.6 610.9758232775251,455 C 802.98,460.4 898.98,670.6 1090.9758232775253,639 C 1282.98,607.4 1501.17,320 1570.9758232775253,297 C 1640.78,274 1466.2,478.6 1440,524",strokeWidth:"2"})})}),(0,a.jsx)("div",{className:"relative flex flex-col items-center gap-4 px-4 py-6 mt-8 shadow-md md:p-8 bg-backblue rounded-3xl md:mt-16 md:gap-20 md:flex-row",children:(0,a.jsxs)(n.E.div,{className:"flex flex-col gap-4 m-auto md:gap-8 flex-2",initial:{opacity:0,scale:.95,y:30},viewport:{once:!0},whileInView:{opacity:1,scale:1,y:0},transition:{ease:"easeOut",duration:.5,once:!0},children:[(0,a.jsx)("div",{className:"flex",children:(0,a.jsx)("h2",{className:"text-3xl font-bold md:text-5xl text-primarydark",children:"API Requests Overview"})}),(0,a.jsx)("div",{className:"text-lg md:text-xl text-[#333333]",children:(0,a.jsxs)("div",{className:"",children:[(0,a.jsxs)("div",{className:"mt-4",children:[(0,a.jsx)("div",{className:"flex items-center gap-3",children:(0,a.jsx)("div",{className:"text-lg font-bold md:text-xl",children:"First API: Generate Standard Questions"})}),(0,a.jsxs)("div",{className:"mt-4 ml-4 text-sm md:ml-6 md:text-base",children:[(0,a.jsxs)("div",{className:"flex gap-3",children:[(0,a.jsx)("div",{className:"w-2 h-2 mt-2 border rounded bg-primary"}),(0,a.jsxs)("div",{className:"flex-1",children:[(0,a.jsx)("b",{children:"Input"}),": Job ID, round type, focus area, number of standard questions."]})]}),(0,a.jsxs)("div",{className:"flex gap-3",children:[(0,a.jsx)("div",{className:"w-2 h-2 mt-2 border rounded bg-primary"}),(0,a.jsxs)("div",{className:"flex-1",children:[(0,a.jsx)("b",{children:"Output"}),": Standard questions and a unique",(0,a.jsx)("b",{children:" round_id "})," for reuse."]})]})]})]}),(0,a.jsxs)("div",{className:"mt-4",children:[(0,a.jsx)("div",{className:"flex items-center gap-3",children:(0,a.jsx)("div",{className:"text-lg font-bold md:text-xl",children:"Second API: Generate Personalized and Standard Questions"})}),(0,a.jsxs)("div",{className:"mt-4 ml-4 text-sm md:ml-6 md:text-base",children:[(0,a.jsxs)("div",{className:"flex gap-3",children:[(0,a.jsx)("div",{className:"w-2 h-2 mt-2 border rounded bg-primary"}),(0,a.jsxs)("div",{className:"flex-1",children:[(0,a.jsx)("b",{children:"Input"}),": Candidateâs resume,",(0,a.jsx)("b",{children:" round_id "}),"from the first API, total number of questions (noq), number of standard questions (nosq) from the first API."]})]}),(0,a.jsxs)("div",{className:"flex gap-3",children:[(0,a.jsx)("div",{className:"w-2 h-2 mt-2 border rounded bg-primary"}),(0,a.jsxs)("div",{className:"flex-1",children:[(0,a.jsx)("b",{children:"Output"}),": A mix of ",(0,a.jsx)("b",{children:" standard "})," and",(0,a.jsx)("b",{children:" personalized "})," questions based on the requested balance."]})]})]})]})]})})]})})]}),(0,a.jsxs)("div",{children:[(0,a.jsx)("svg",{className:"absolute left-0 w-full h-40 top-30 md:h-60 text-secondary/30",xmlns:"http://www.w3.org/2000/svg",version:"1.1",xlinkHref:"http://www.w3.org/1999/xlink",preserveAspectRatio:"none",viewBox:"0 0 1440 1000",stroke:"currentColor",children:(0,a.jsx)("g",{mask:'url("#SvgjsMask1078")',fill:"none",children:(0,a.jsx)("path",{className:"path text-[#ED4256]/30",d:"M -349.02417672247486,325 C -253.02,382.4 -61.02,586 130.97582327752514,612 C 322.98,638 418.98,449.6 610.9758232775251,455 C 802.98,460.4 898.98,670.6 1090.9758232775253,639 C 1282.98,607.4 1501.17,320 1570.9758232775253,297 C 1640.78,274 1466.2,478.6 1440,524",strokeWidth:"2"})})}),(0,a.jsx)("div",{className:"relative flex flex-col items-center gap-4 px-4 py-6 mt-8 shadow-md md:p-8 bg-backblue rounded-3xl md:mt-16 md:gap-20 md:flex-row",children:(0,a.jsxs)(n.E.div,{className:"flex flex-col gap-4 m-auto md:gap-8 flex-2",initial:{opacity:0,scale:.95,y:30},viewport:{once:!0},whileInView:{opacity:1,scale:1,y:0},transition:{ease:"easeOut",duration:.5,once:!0},children:[(0,a.jsx)("div",{className:"flex",children:(0,a.jsx)("h2",{className:"text-3xl font-bold md:text-5xl text-primarydark",children:"Example Use Cases"})}),(0,a.jsx)("div",{className:"text-lg md:text-xl text-[#333333]",children:(0,a.jsxs)("div",{className:"ml-4 md:ml-6",children:[(0,a.jsxs)("div",{className:"mt-4",children:[(0,a.jsxs)("div",{className:"flex items-start gap-3",children:[(0,a.jsx)("div",{className:"text-lg font-bold text-primary md:text-xl",children:"1"}),(0,a.jsx)("div",{className:"text-lg font-bold md:text-xl",children:"Using Standard Questions Across Multiple Candidates"})]}),(0,a.jsx)("div",{className:"mt-1 ml-5 text-sm md:text-base",children:"If you need fairness and consistency in your early rounds, you can use the first API to generate a set of standard questions that will be used across all applicants. Save the round_id and retrieve the same questions for each candidate."})]}),(0,a.jsxs)("div",{className:"mt-4",children:[(0,a.jsxs)("div",{className:"flex items-start gap-3",children:[(0,a.jsx)("div",{className:"text-lg font-bold text-primary md:text-xl",children:"2"}),(0,a.jsx)("div",{className:"text-lg font-bold md:text-xl",children:"Combining Standard and Personalized Questions"})]}),(0,a.jsx)("div",{className:"mt-1 ml-5 text-sm md:text-base",children:"For later rounds where deeper insights are needed, the second API allows you to combine the standard questions with personalized ones. For example, if youâve generated 10 standard questions but need 15 total, the API will return 10 standard and 5 personalized questions, ensuring a tailored experience for each applicant."})]})]})})]})})]}),(0,a.jsxs)("div",{children:[(0,a.jsx)("svg",{className:"absolute left-0 w-full h-40 top-30 md:h-60 text-secondary/30",xmlns:"http://www.w3.org/2000/svg",version:"1.1",xlinkHref:"http://www.w3.org/1999/xlink",preserveAspectRatio:"none",viewBox:"0 0 1440 1000",stroke:"currentColor",children:(0,a.jsx)("g",{mask:'url("#SvgjsMask1078")',fill:"none",children:(0,a.jsx)("path",{className:"path text-[#ED4256]/30",d:"M -349.02417672247486,325 C -253.02,382.4 -61.02,586 130.97582327752514,612 C 322.98,638 418.98,449.6 610.9758232775251,455 C 802.98,460.4 898.98,670.6 1090.9758232775253,639 C 1282.98,607.4 1501.17,320 1570.9758232775253,297 C 1640.78,274 1466.2,478.6 1440,524",strokeWidth:"2"})})}),(0,a.jsx)("div",{className:"relative flex flex-col items-center gap-4 px-4 py-6 mt-8 shadow-md md:p-8 bg-backblue rounded-3xl md:mt-16 md:gap-20 md:flex-row",children:(0,a.jsxs)(n.E.div,{className:"flex flex-col gap-4 m-auto md:gap-8 flex-2",initial:{opacity:0,scale:.95,y:30},viewport:{once:!0},whileInView:{opacity:1,scale:1,y:0},transition:{ease:"easeOut",duration:.5,once:!0},children:[(0,a.jsx)("div",{className:"flex",children:(0,a.jsx)("h2",{className:"text-3xl font-bold md:text-5xl text-primarydark",children:"Test Data"})}),(0,a.jsx)("div",{className:"text-base md:text-xl text-[#333333]",children:(0,a.jsxs)("div",{children:["Weâve extensively tested the"," ",(0,a.jsx)("b",{children:" Whitetable Question API "})," on a variety of real-world job descriptions and resumes.",(0,a.jsx)("br",{})," Visit our"," ",(0,a.jsx)(d(),{href:"https://docs.google.com/document/d/104NlTgBDVM2zPYlL524ViPsGohahZ3-Unjg80I8caVI/view",className:"underline text-primary",target:"_blank",children:"Test Data Repository 1"})," ",",",(0,a.jsx)(d(),{href:"https://docs.google.com/document/d/1x3QmQxJl-RyHNl7LX98pHBC1e5q
1KiloCzOZFY0Rp9OY/view",target:"_blank",className:"underline text-primary",children:"Test Data Repository 2"})," ","to explore how the API performs across different roles and candidate profiles."]})})]})})]}),(0,a.jsxs)("div",{children:[(0,a.jsx)("svg",{className:"absolute left-0 w-full h-40 top-30 md:h-60 text-secondary/30",xmlns:"http://www.w3.org/2000/svg",version:"1.1",xlinkHref:"http://www.w3.org/1999/xlink",preserveAspectRatio:"none",viewBox:"0 0 1440 1000",stroke:"currentColor",children:(0,a.jsx)("g",{mask:'url("#SvgjsMask1078")',fill:"none",children:(0,a.jsx)("path",{className:"path text-[#ED4256]/30",d:"M -349.02417672247486,325 C -253.02,382.4 -61.02,586 130.97582327752514,612 C 322.98,638 418.98,449.6 610.9758232775251,455 C 802.98,460.4 898.98,670.6 1090.9758232775253,639 C 1282.98,607.4 1501.17,320 1570.9758232775253,297 C 1640.78,274 1466.2,478.6 1440,524",strokeWidth:"2"})})}),(0,a.jsx)("div",{className:"relative flex flex-col items-center gap-4 px-4 py-6 mt-8 shadow-md md:p-8 bg-backblue rounded-3xl md:mt-16 md:gap-20 md:flex-row",children:(0,a.jsxs)(n.E.div,{className:"flex flex-col gap-4 m-auto md:gap-8 flex-2",initial:{opacity:0,scale:.95,y:30},viewport:{once:!0},whileInView:{opacity:1,scale:1,y:0},transition:{ease:"easeOut",duration:.5,once:!0},children:[(0,a.jsx)("div",{className:"flex",children:(0,a.jsx)("h2",{className:"text-4xl font-bold md:text-5xl text-primarydark",children:"Conclusion"})}),(0,a.jsx)("div",{className:"text-lg md:text-xl text-[#333333]",children:(0,a.jsxs)("div",{children:["The ",(0,a.jsx)("b",{children:" Whitetable Question API "})," provides a flexible and scalable solution for generating both standardized and personalized interview questions. With its real-time question generation, seamless integration, and control over question mix, the API is designed to improve the efficiency and fairness of your interview processâwhether for AI-assisted, automated, or human-led interviews."]})})]})})]})]})}),(0,a.jsx)(n.E.div,{className:"bg-primarylight",initial:{opacity:0,scale:.95,y:100},viewport:{once:!0},whileInView:{opacity:1,scale:1,y:0},transition:{ease:"easeOut",duration:.5,once:!0},children:(0,a.jsx)("div",{className:"flex flex-col max-w-6xl gap-8 p-4 py-12 mx-auto rounded-3xl md:gap-20 lg:px-8 lg:py-16 md:flex-row",children:(0,a.jsx)("div",{className:"flex flex-col justify-center gap-8 flex-2",children:(0,a.jsx)("div",{className:"text-2xl text-center md:text-6x text-primary",children:"Easy to integrate AI APIs for ATS, hiring automation platforms, and job platforms."})})})}),(0,a.jsxs)("div",{className:"relative py-16 md:py-24",children:[(0,a.jsx)("div",{id:"contact",className:"z-[1] relative",ref:k,children:(0,a.jsx)(j,{})}),(0,a.jsx)("svg",{className:"absolute top-[-90px] md:top-0 left-0 w-full h-60 text-secondary/30",xmlns:"http://www.w3.org/2000/svg",version:"1.1",xlinkHref:"http://www.w3.org/1999/xlink",preserveAspectRatio:"none",viewBox:"0 0 1440 1000",stroke:"currentColor",children:(0,a.jsx)("g",{mask:'url("#SvgjsMask1078")',fill:"none",children:(0,a.jsx)("path",{className:"path2 text-backblue",d:"M -41.547461002446084,327 C 54.45,397.4 246.45,659.6 438.4525389975539,679 C 630.45,698.4 726.45,417.4 918.4525389975539,424 C 1110.45,430.6 1206.45,744.2 1398.4525389975538,712 C 1590.45,679.8 1870.14,286 1878.4525389975538,263 C 1886.76,240 1527.69,530.2 1440,597",strokeWidth:"2"})})})]})]}),(0,a.jsx)(x.Z,{setShowDialog:v,showDialog:f,config:{title:g,description:w,showPrimaryButton:!0,primaryButton:"Okay",primaryButtonAction(){v(!1)},type:N}})]})}},5695:function(e,t,s){"use strict";s.d(t,{Z:function(){return l}});var a=s(9669),i=s.n(a),r=s(6865);class l{async contactUs(e,t,s,a,i){return await this._axios.post("contactUs",{name:e,email:t,phoneNumber:s,message:a,company:i},{headers:{"Content-Type":"application/json"}}).then(e=>{if(201==e.status)return e.data;throw new r.Z(e.status,"Failed To Sign Up")}).catch(e=>{if(e.response)throw new r.Z(e.response.status,e.response.data.errors.map(e=>e.msg).join(". "));if(e.request)throw new r.Z(503,"Server Down")})}constructor(){this._axios=i().create({baseURL:"https://apis.whitetable.ai/",headers:{}})}}},6865:function(e,t,s){"use strict";s.d(t,{Z:function(){return a}});
1class a extends Error{get code(){return this._code}get message(){return this._message}constructor(e,t){super(),Object.setPrototypeOf(this,a.prototype),this._code=e,this._message=t}}},4729:function(e,t,s){"use strict";s.d(t,{R:function(){return F}});var a,i,r,l,n=s(7294),o=s(1646),d=s(1147),c=s(4192),x=s(3781),m=s(9946),u=s(6723),p=s(3855),h=s(9650),f=s(4157),v=s(278),g=s(5918),b=s(476),w=s(6045),j=s(6567),y=s(4103),N=s(1497),C=s(9362),k=s(4575),S=s(8689),R=s(2984),I=s(5466),O=s(2351),T=s(1363),A=((a=A||{})[a.Open=0]="Open",a[a.Closed=1]="Closed",a),P=((i=P||{})[i.Single=0]="Single",i[i.Multi=1]="Multi",i),q=((r=q||{})[r.Pointer=0]="Pointer",r[r.Other=1]="Other",r),E=((l=E||{})[l.OpenListbox=0]="OpenListbox",l[l.CloseListbox=1]="CloseListbox",l[l.GoToOption=2]="GoToOption",l[l.Search=3]="Search",l[l.ClearSearch=4]="ClearSearch",l[l.RegisterOption=5]="RegisterOption",l[l.UnregisterOption=6]="UnregisterOption",l[l.RegisterLabel=7]="RegisterLabel",l);function z(e,t=e=>e){let s=null!==e.activeOptionIndex?e.options[e.activeOptionIndex]:null,a=(0,k.z2)(t(e.options.slice()),e=>e.dataRef.current.domRef.current),i=s?a.indexOf(s):null;return -1===i&&(i=null),{options:a,activeOptionIndex:i}}let M={1:e=>e.dataRef.current.disabled||1===e.listboxState?e:{...e,activeOptionIndex:null,listboxState:1},0(e){if(e.dataRef.current.disabled||0===e.listboxState)return e;let t=e.activeOptionIndex,{isSelected:s}=e.dataRef.current,a=e.options.findIndex(e=>s(e.dataRef.current.value));return -1!==a&&(t=a),{...e,listboxState:0,activeOptionIndex:t}},2(e,t){var s;if(e.dataRef.current.disabled||1===e.listboxState)return e;let a=z(e),i=(0,N.d)(t,{resolveItems:()=>a.options,resolveActiveIndex:()=>a.activeOptionIndex,resolveId:e=>e.id,resolveDisabled:e=>e.dataRef.current.disabled});return{...e,...a,searchQuery:"",activeOptionIndex:i,activationTrigger:null!=(s=t.trigger)?s:1}},3(e,t){if(e.dataRef.current.disabled||1===e.listboxState)return e;let s=""!==e.searchQuery?0:1,a=e.searchQuery+t.value.toLowerCase(),i=(null!==e.activeOptionIndex?e.options.slice(e.activeOptionIndex+s).concat(e.options.slice(0,e.activeOptionIndex+s)):e.options).find(e=>{var t;return!e.dataRef.current.disabled&&(null==(t=e.dataRef.current.textValue)?void 0:t.startsWith(a))}),r=i?e.options.indexOf(i):-1;return -1===r||r===e.activeOptionIndex?{...e,searchQuery:a}:{...e,searchQuery:a,activeOptionIndex:r,activationTrigger:1}},4:e=>e.dataRef.current.disabled||1===e.listboxState||""===e.searchQuery?e:{...e,searchQuery:""},5(e,t){let s={id:t.id,dataRef:t.dataRef},a=z(e,e=>[...e,s]);return null===e.activeOptionIndex&&e.dataRef.current.isSelected(t.dataRef.current.value)&&(a.activeOptionIndex=a.options.indexOf(s)),{...e,...a}},6(e,t){let s=z(e,e=>{let s=e.findIndex(e=>e.id===t.id);return -1!==s&&e.splice(s,1),e});return{...e,...s,activationTrigger:1}},7:(e,t)=>({...e,labelId:t.id})},D=(0,n.createContext)(null);function L(e){let t=(0,n.useContext)(D);if(null===t){let s=Error(`<${e} /> is missing a parent <Listbox /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(s,L),s}return t}D.displayName="ListboxActionsContext";let Z=(0,n.createContext)(null);function V(e){let t=(0,n.useContext)(Z);if(null===t){let s=Error(`<${e} /> is missing a parent <Listbox /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(s,V),s}return t}function _(e,t){return(0,R.E)(t.type,M,e,t)}Z.displayName="ListboxDataContext";let Q=n.Fragment,W=O.AN.RenderStrategy|O.AN.Static,F=Object.assign((0,O.yV)(function(e,t){let{value:s,defaultValue:a,form:i,name:r,onChange:l,by:o=(e,t)=>e===t,disabled:m=!1,horizontal:p=!1,multiple:f=!1,...g}=e,b=p?"horizontal":"vertical",y=(0,v.T)(t),[C=f?[]:void 0,I]=(0,d.q)(s,l,a),[T,A]=(0,n.useReducer)(_,{dataRef:(0,n.createRef)(),listboxState:1,options:[],searchQuery:"",labelId:null,activeOptionIndex:null,activationTrigger:1}),P=(0,n.useRef)({static:!1,hold:!1}),q=(0,n.useRef)(null),E=(0,n.useRef)(null),z=(0,n.useRef)(null),M=(0,x.z)("string"==typeof o?(e,t)=>(null==e?void 0:e[o])===(null==t?void 0:t[o]):o),L=(0,n.useCallback)(e=>(0,R.E)(V.mode,{1:()=>C.some(t=>M(t,e)),0:()=>M(C,e)}),[C]),V=(0,n.useMemo)(()=>({...T,value:C,disabled:m,mode:f?1:0,orientation:b,compare:M,isSelected:L,optionsPropsRef:P,labelRef:q,buttonRef:E,optionsRef:z}),[C,m,f,T]);(0,u.e)(()=>{T.dataRef.current=V},[V]),(0,h.O)([V.buttonRef,V.optionsRef],(e,t)=>{var s;A({type:1}),(0,k.sP)(t,k.tJ.Loose)||(e.preventDefault(),null==(s=V.buttonRef.current)||s.focus())},0===V.listboxState);let W=(0,n.useMemo)(()=>({open:0===V.listboxState,disabled:m,value:C}),[V,m,C]),F=(0,x.z)(e=>{let t=V.options.find(t=>
1t.id===e);t&&$(t.dataRef.current.value)}),B=(0,x.z)(()=>{if(null!==V.activeOptionIndex){let{dataRef:e,id:t}=V.options[V.activeOptionIndex];$(e.current.value),A({type:2,focus:N.T.Specific,id:t})}}),H=(0,x.z)(()=>A({type:0})),U=(0,x.z)(()=>A({type:1})),G=(0,x.z)((e,t,s)=>e===N.T.Specific?A({type:2,focus:N.T.Specific,id:t,trigger:s}):A({type:2,focus:e,trigger:s})),Y=(0,x.z)((e,t)=>(A({type:5,id:e,dataRef:t}),()=>A({type:6,id:e}))),J=(0,x.z)(e=>(A({type:7,id:e}),()=>A({type:7,id:null}))),$=(0,x.z)(e=>(0,R.E)(V.mode,{0:()=>null==I?void 0:I(e),1(){let t=V.value.slice(),s=t.findIndex(t=>M(t,e));return -1===s?t.push(e):t.splice(s,1),null==I?void 0:I(t)}})),K=(0,x.z)(e=>A({type:3,value:e})),X=(0,x.z)(()=>A({type:4})),ee=(0,n.useMemo)(()=>({onChange:$,registerOption:Y,registerLabel:J,goToOption:G,closeListbox:U,openListbox:H,selectActiveOption:B,selectOption:F,search:K,clearSearch:X}),[]),et=(0,n.useRef)(null),es=(0,c.G)();return(0,n.useEffect)(()=>{et.current&&void 0!==a&&es.addEventListener(et.current,"reset",()=>{null==I||I(a)})},[et,I]),n.createElement(D.Provider,{value:ee},n.createElement(Z.Provider,{value:V},n.createElement(j.up,{value:(0,R.E)(V.listboxState,{0:j.ZM.Open,1:j.ZM.Closed})},null!=r&&null!=C&&(0,S.t)({[r]:C}).map(([e,t],s)=>n.createElement(w._,{features:w.A.Hidden,ref:0===s?e=>{var t;et.current=null!=(t=null==e?void 0:e.closest("form"))?t:null}:void 0,...(0,O.oA)({key:e,as:"input",type:"hidden",hidden:!0,readOnly:!0,form:i,disabled:m,name:e,value:t})})),(0,O.sY)({ourProps:{ref:y},theirProps:g,slot:W,defaultTag:Q,name:"Listbox"}))))}),{Button:(0,O.yV)(function(e,t){var s;let a=(0,m.M)(),{id:i=`headlessui-listbox-button-${a}`,...r}=e,l=V("Listbox.Button"),d=L("Listbox.Button"),u=(0,v.T)(l.buttonRef,t),p=(0,c.G)(),h=(0,x.z)(e=>{switch(e.key){case T.R.Space:case T.R.Enter:case T.R.ArrowDown:e.preventDefault(),d.openListbox(),p.nextFrame(()=>{l.value||d.goToOption(N.T.First)});break;case T.R.ArrowUp:e.preventDefault(),d.openListbox(),p.nextFrame(()=>{l.value||d.goToOption(N.T.Last)})}}),g=(0,x.z)(e=>{e.key===T.R.Space&&e.preventDefault()}),b=(0,x.z)(e=>{if((0,y.P)(e.currentTarget))return e.preventDefault();0===l.listboxState?(d.closeListbox(),p.nextFrame(()=>{var e;return null==(e=l.buttonRef.current)?void 0:e.focus({preventScroll:!0})}
1)):(e.preventDefault(),d.openListbox())}),w=(0,o.v)(()=>{if(l.labelId)return[l.labelId,i].join(" ")},[l.labelId,i]),j=(0,n.useMemo)(()=>({open:0===l.listboxState,disabled:l.disabled,value:l.value}),[l]),C={ref:u,id:i,type:(0,f.f)(e,l.buttonRef),"aria-haspopup":"listbox","aria-controls":null==(s=l.optionsRef.current)?void 0:s.id,"aria-expanded":0===l.listboxState,"aria-labelledby":w,disabled:l.disabled,onKeyDown:h,onKeyUp:g,onClick:b};return(0,O.sY)({ourProps:C,theirProps:r,slot:j,defaultTag:"button",name:"Listbox.Button"})}),Label:(0,O.yV)(function(e,t){let s=(0,m.M)(),{id:a=`headlessui-listbox-label-${s}`,...i}=e,r=V("Listbox.Label"),l=L("Listbox.Label"),o=(0,v.T)(r.labelRef,t);(0,u.e)(()=>l.registerLabel(a),[a]);let d=(0,x.z)(()=>{var e;return null==(e=r.buttonRef.current)?void 0:e.focus({preventScroll:!0})}),c=(0,n.useMemo)(()=>({open:0===r.listboxState,disabled:r.disabled}),[r]);return(0,O.sY)({ourProps:{ref:o,id:a,onClick:d},theirProps:i,slot:c,defaultTag:"label",name:"Listbox.Label"})}),Options:(0,O.yV)(function(e,t){var s;let a=(0,m.M)(),{id:i=`headlessui-listbox-options-${a}`,...r}=e,l=V("Listbox.Options"),d=L("Listbox.Options"),u=(0,v.T)(l.optionsRef,t),p=(0,c.G)(),h=(0,c.G)(),f=(0,j.oJ)(),g=null!==f?(f&j.ZM.Open)===j.ZM.Open:0===l.listboxState;(0,n.useEffect)(()=>{var e;let t=l.optionsRef.current;t&&0===l.listboxState&&t!==(null==(e=(0,I.r)(t))?void 0:e.activeElement)&&t.focus({preventScroll:!0})},[l.listboxState,l.optionsRef]);let b=(0,x.z)(e=>{switch(h.dispose(),e.key){case T.R.Space:if(""!==l.searchQuery)return e.preventDefault(),e.stopPropagation(),d.search(e.key);case T.R.Enter:if(e.preventDefault(),e.stopPropagation(),null!==l.activeOptionIndex){let{dataRef:t}=l.options[l.activeOptionIndex];d.onChange(t.current.value)}0===l.mode&&(d.closeListbox(),(0,C.k)().nextFrame(()=>{var e;return null==(e=l.buttonRef.current)?void 0:e.focus({preventScroll:!0})}
1));break;case(0,R.E)(l.orientation,{vertical:T.R.ArrowDown,horizontal:T.R.ArrowRight}):return e.preventDefault(),e.stopPropagation(),d.goToOption(N.T.Next);case(0,R.E)(l.orientation,{vertical:T.R.ArrowUp,horizontal:T.R.ArrowLeft}):return e.preventDefault(),e.stopPropagation(),d.goToOption(N.T.Previous);case T.R.Home:case T.R.PageUp:return e.preventDefault(),e.stopPropagation(),d.goToOption(N.T.First);case T.R.End:case T.R.PageDown:return e.preventDefault(),e.stopPropagation(),d.goToOption(N.T.Last);case T.R.Escape:return e.preventDefault(),e.stopPropagation(),d.closeListbox(),p.nextFrame(()=>{var e;return null==(e=l.buttonRef.current)?void 0:e.focus({preventScroll:!0})});case T.R.Tab:e.preventDefault(),e.stopPropagation();break;default:1===e.key.length&&(d.search(e.key),h.setTimeout(()=>d.clearSearch(),350))}}),w=(0,o.v)(()=>{var e;return null==(e=l.buttonRef.current)?void 0:e.id},[l.buttonRef.current]),y=(0,n.useMemo)(()=>({open:0===l.listboxState}),[l]),k={"aria-activedescendant":null===l.activeOptionIndex||null==(s=l.options[l.activeOptionIndex])?void 0:s.id,"aria-multiselectable":1===l.mode||void 0,"aria-labelledby":w,"aria-orientation":l.orientation,id:i,onKeyDown:b,role:"listbox",tabIndex:0,ref:u};return(0,O.sY)({ourProps:k,theirProps:r,slot:y,defaultTag:"ul",features:W,visible:g,name:"Listbox.Options"})}),Option:(0,O.yV)(function(e,t){let s=(0,m.M)(),{id:a=`headlessui-listbox-option-${s}`,disabled:i=!1,value:r,...l}=e,o=V("Listbox.Option"),d=L("Listbox.Option"),c=null!==o.activeOptionIndex&&o.options[o.activeOptionIndex].id===a,h=o.isSelected(r),f=(0,n.useRef)(null),w=(0,g.x)(f),j=(0,p.E)({disabled:i,value:r,domRef:f,get textValue(){return w()}}),y=(0,v.T)(t,f);(0,u.e)(()=>{if(0!==o.listboxState||!c||0===o.activationTrigger)return;let e=(0,C.k)();return e.requestAnimationFrame(()=>{var e,t;null==(t=null==(e=f.current)?void 0:e.scrollIntoView)||t.call(e,{block:"nearest"})}),e.dispose},[f,c,o.listboxState,o.activationTrigger,o.activeOptionIndex]),(0,u.e)(()=>d.registerOption(a,j),[j,a]);let k=(0,x.z)(e=>{if(i)return e.preventDefault();d.onChange(r),0===o.mode&&(d.closeListbox(),(0,C.k)().nextFrame(()=>{var e;return null==(e=o.buttonRef.current)?void 0:e.focus({preventScroll:!0})}
1))}),S=(0,x.z)(()=>{if(i)return d.goToOption(N.T.Nothing);d.goToOption(N.T.Specific,a)}),R=(0,b.g)(),I=(0,x.z)(e=>R.update(e)),T=(0,x.z)(e=>{R.wasMoved(e)&&(i||c||d.goToOption(N.T.Specific,a,0))}),A=(0,x.z)(e=>{R.wasMoved(e)&&(i||c&&d.goToOption(N.T.Nothing))}),P=(0,n.useMemo)(()=>({active:c,selected:h,disabled:i}),[c,h,i]);return(0,O.sY)({ourProps:{id:a,ref:y,role:"option",tabIndex:!0===i?void 0:-1,"aria-disabled":!0===i||void 0,"aria-selected":h,disabled:void 0,onClick:k,onFocus:S,onPointerEnter:I,onMouseEnter:I,onPointerMove:T,onMouseMove:T,onPointerLeave:A,onMouseLeave:A},theirProps:l,slot:P,defaultTag:"li",name:"Listbox.Option"})})})},1646:function(e,t,s){"use strict";s.d(t,{v:function(){return l}});var a=s(7294),i=s(6723),r=s(3855);function l(e,t){let[s,l]=(0,a.useState)(e),n=(0,r.E)(e);return(0,i.e)(()=>l(n.current),[n,l,...t]),s}},1147:function(e,t,s){"use strict";s.d(t,{q:function(){return r}});var a=s(7294),i=s(3781);function r(e,t,s){let[r,l]=(0,a.useState)(s),n=void 0!==e,o=(0,a.useRef)(n),d=(0,a.useRef)(!1),c=(0,a.useRef)(!1);return!n||o.current||d.current?n||!o.current||c.current||(c.current=!0,o.current=n,console.error("A component is changing from controlled to uncontrolled. This may be caused by the value changing from a defined value to undefined, which should not happen.")):(d.current=!0,o.current=n,console.error("A component is changing from uncontrolled to controlled. This may be caused by the value changing from undefined to a defined value, which should not happen.")),[n?e:r,(0,i.z)(e=>(n||l(e),null==t?void 0:t(e)))]}},8689:function(e,t,s){"use strict";function a(e,t){return e?e+"["+t+"]":t}s.d(t,{t:function(){return function e(t={},s=null,i=[]){for(let[r,l]of Object.entries(t))!function t(s,i,r){if(Array.isArray(r))for(let[l,n]of r.entries())t(s,a(i,l.toString()),n);else r instanceof Date?s.push([i,r.toISOString()]):"boolean"==typeof r?s.push([i,r?"1":"0"]):"string"==typeof r?s.push([i,r]):"number"==typeof r?s.push([i,`${r}`]):null==r?s.push([i,""]):e(r,i,s)}(i,a(s,r),l);return i}}})}},function(e){e.O(0,[9278,9373,1664,7258,9669,8183,2451,6602,226,1721,5761,7631,9774,2888,179],function(){return e(e.s=8739)}),_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.