1import{j as e}from"./motion-media-gStjI0N3.js";import{r as n}from"./redux-DOY1rMCd.js";import{C as P,F as L,y as b,L as F}from"./index-CJowTBIz.js";import{C as k}from"./CTA-D97FeEwE.js";import{F as H}from"./FAQ-DPZ7i3GI.js";import{U as B,F as D}from"./Footer-CeOFxftj.js";import{u as I,H as K}from"./Header-pt8Xb5h8.js";import{e as f}from"./eventsEnum-DcLi6CiT.js";import{F as V}from"./arrow-up-C95h6Grs.js";import{u as A}from"./is-mobile-DglT2hyt.js";import{B as M}from"./Table-kJ5ExKgr.js";import"./carousels-DHdzMqlr.js";import{c as U}from"./cdn-urls-KBX8KpJq.js";import{u as T,T as _}from"./i18n-CGpzbggT.js";import{L as $}from"./LatestResult-UJjaxcsy.js";import{T as q}from"./Testimonial-Cc8jVCSd.js";import{u as Z,U as G}from"./landing-page-2eABlcn7.js";import"./forms-Kwu4rUch.js";import"./firebase-core-B5vpvvhb.js";import"./hubx-analytics-D19Vo-9A.js";import"./growth-payment-B1wQ8toD.js";import"./react-vendor-DUUXGqhU.js";import"./Image-Dlav428_.js";import"./Accordion-BSH1Rbty.js";import"./to-capital-case-CVzcyPy9.js";import"./data-D1Bh5Wax.js";import"./data-3gGRmB7x.js";import"./landing-flow-B2xXuew3.js";import"./path-CLekxzdU.js";import"./Logo-B9UWr4MQ.js";import"./logo-B6DHjS6F.js";import"./logout-Cq7IURb9.js";import"./Modal-Cswphj1I.js";import"./ClearAllChat.module-HVcceKro.js";import"./names-BMg9Zd4j.js";import"./media-query-eMfj-Z98.js";import"./MenuButton-CI23OBal.js";import"./pro-Stoo-vQL.js";import"./firestore-BlaZ4Z77.js";import"./user-preferences-BZELLsYu.js";import"./log-big-query-event-x5rvQ5FB.js";import"./index-D4UPA4de.js";import"./content-rendering-C2G3YXCj.js";import"./location-DoaEaZrd.js";import"./Splide-B3lSNGZF.js";import"./award-CSVvn00E.js";const Q="_suggestions_11eox_1",W="_suggestions__title_11eox_1",X="_suggestions__list_11eox_1",z="_suggestions__item_11eox_1",c={suggestions:Q,suggestions__title:W,suggestions__list:X,suggestions__item:z,"suggestions__item-image-wrapper":"_suggestions__item-image-wrapper_11eox_1","suggestions__item-image":"_suggestions__item-image_11eox_1","suggestions__item-text":"_suggestions__item-text_11eox_1"};function J({onButtonClick:t,className:r}){const l=P(),a={title:l?.webPeopleSearched?.title??"",items:l?.webPeopleSearched?.mostPopularPersons?.map(o=>({name:o.name,thumbnail:o.thumbnail})).slice(0,4)??[]};return e.jsxs("div",{className:L(c.suggestions,r),children:[e.jsx("div",{className:c.suggestions__title,children:a.title}),e.jsx("div",{className:c.suggestions__list,children:a.items.map((o,m)=>e.jsxs("button",{type:"button",className:c.suggestions__item,onClick:()=>{t(o.name)},onKeyDown:h=>{h.key==="Enter"&&t(o.name)},children:[e.jsx("div",{className:c["suggestions__item-image-wrapper"],children:e.jsx("img",{src:o.thumbnail,alt:o.name,className:c["suggestions__item-image"],width:28,height:28,loading:"eager",decoding:"async"})}),e.jsx("span",{className:c["suggestions__item-text"],children:o.name})]},m))})]})}const O=({title:t,titleId:r,...l},a)=>n.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:a,"aria-labelledby":r,...l},t?n.createElement("title",{id:r},t):null,n.createElement("path",{d:"M8 5H10.5V19H8V5Z",fill:"white"}),n.createElement("path",{d:"M13.5 5H16V19H13.5V5Z",fill:"white"})),Y=n.forwardRef(O),ee=({title:t,titleId:r,...l},a)=>n.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:a,"aria-labelledby":r,...l},t?n.createElement("title",{id:r},t):null,n.createElement("path",{d:"M8 5.14L19 12L8 18.86L8 5.14Z",fill:"white"})),te=n.forwardRef(ee),se="_hero_11bwh_1",oe="_hero__content_11bwh_1",ie="_hero__video_11bwh_1",ne="_welcome_11bwh_1",re="_welcome__title_11bwh_1",ae="_welcome__subtitle_11bwh_1",le="_welcome__search_11bwh_1",s={hero:se,hero__content:oe,"hero__content-left":"_hero__content-left_11bwh_1","hero__content-right":"_hero__content-right_11bwh_1",hero__video:ie,"hero__video-container":"_hero__video-container_11bwh_1","hero__video-placeholder":"_hero__video-placeholder_11bwh_1","hero__video-control":"_hero__video-control_11bwh_1",welcome:ne,welcome__title:re,welcome__subtitle:ae,welcome__search:le,"welcome__title--highlight":"_welcome__title--highlight_11bwh_1","welcome__search-input":"_welcome__search-input_11bwh_1","welcome__search-button":"_welcome__search-button_11bwh_1","welcome__search-button-icon":"_welcome__search-button-icon_11bwh_1"};function ce({searchText:t,setSearchText:r,handleSearch:l}){const{t:a}=T(),o=A(768),[m,h]=n.useState(!1),[u,d]=n.useState(!1),[p,g]=n.useState(!1),w=n.useRef(null);n.useEffect(()=>{if(!o){g(!0);return}if(typeof window.requestIdleCallback!="function")return;const i=window.requestIdleCallback(()=>{g(!0)});return()=>{window.cancelIdleCallback(i)}},[o]);const j=()=>{const i=w.current;i!==null&&(i.paused?(i.play(),d(!1)):(i.pause(),d(!0)))},y=i=>{r(i.target.value)},N=i=>{i.key==="Enter"&&(i.preventDefault(),x())},x=()=>{t===null||t.trim()===""||(b({eventName:f.EventsEnum.BTN_LANDING_SEARCH,event_params:{query:t}}),l())},E=i=>{r(i),l(),b({eventName:f.EventsEnum.BTN_LANDING_EXAMPLE,event_params:{example_name:i}})},C=a(o?"hero.search.inputPlaceholder.mobile":"hero.search.inputPlaceholder.desktop"),R=a("hero.search.button","Search Now"),S=`${U}/hero.mp4`;return e.jsx("section",{className:s.hero,children:e.jsxs("div",{className:s.hero__content,children:[e.jsx("div",{className:s["hero__content-left"],children:e.jsxs("div",{className:s.welcome,children:[e.jsx("div",{className:s.welcome__title,children:e.jsxs(_,{i18nKey:"hero.welcome.title",components:{span:e.jsx("span",{className:s["welcome__title--highlight"]})},children:["Welcome to ",e.jsx("span",{children:"DeepSearch"})]})}),e.jsx("div",{className:s.welcome__subtitle,children:e.jsx(_,{i18nKey:"hero.welcome.subtitle",children:"Find people by name or number. Access their social profiles in seconds."})}),e.jsxs("div",{className:s.welcome__search,children:[e.jsx("input",{type:"text",className:s["welcome__search-input"],onChange:y,onKeyDown:N,placeholder:C,autoComplete:"off",value:t??""}),e.jsxs(M,{className:s["welcome__search-button"],onClick:x,disabled:t===null||t.trim()==="","aria-label":R,variant:"primary",children:[!
1o&&e.jsx(_,{i18nKey:"hero.search.button",children:"Search Now"}),e.jsx(V,{className:s["welcome__search-button-icon"]})]})]}),e.jsx(J,{onButtonClick:E})]})}),e.jsx("div",{className:s["hero__content-right"],children:e.jsxs("div",{className:s["hero__video-container"],children:[!m&&e.jsx("div",{className:s["hero__video-placeholder"],"aria-hidden":"true"}),p&&e.jsx("video",{ref:w,className:s.hero__video,autoPlay:!0,loop:!0,muted:!0,playsInline:!0,onLoadedData:()=>{h(!0)},preload:o?"metadata":"auto",style:{opacity:m?1:0},children:e.jsx("source",{src:S,type:"video/mp4"})}),p&&m&&e.jsx("button",{type:"button",className:s["hero__video-control"],onClick:j,"aria-label":u?a("hero.video.play","Play hero video"):a("hero.video.pause","Pause hero video"),children:u?e.jsx(te,{}):e.jsx(Y,{})})]})})]})})}const _e="_content_lavws_1",v={content:_e,"cta-container":"_cta-container_lavws_1"},ot=()=>{const{searchText:t,setSearchText:r}=F(),{handleSearch:l}=I();return Z(),e.jsxs(e.Fragment,{children:[e.jsx(K,{}),e.jsxs("main",{className:v.content,children:[e.jsx(ce,{searchText:t,setSearchText:r,handleSearch:l}),e.jsx(G,{items:B,title:e.jsx(_,{i18nKey:"useCases.title",children:"Use Cases"}),subtitle:e.jsxs(_,{i18nKey:"useCases.subtitle",children:["Explore how DeepSearch can help in real-world scenarios. ",e.jsx("br",{})," ","From recruiting to reconnecting, the possibilities are endless."]})}),e.jsx($,{title:e.jsx(_,{i18nKey:"latestResult.title",children:"Latest Results"}),subtitle:e.jsx(_,{i18nKey:"latestResult.subtitle",children:"Here are some of the latest results from our search service."})}),e.jsx(q,{}),e.jsx(H,{}),e.jsx("div",{className:v["cta-container"],children:e.jsx(k,{})})]}),e.jsx(D,{})]})};export{ot as LandingRoute}; 2//# sourceMappingURL=LandingRoute-Ds-pbwRz.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.