PageSourceSearch

https://sportsid.io/_next/static/chunks/app/contact/page-87338a013dd92f58.js

js sportsid.io collected 2026-10-02 01:04:24 UTC 6,929 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[977],{21663:(e,s,a)=>{"use strict";a.d(s,{EZ:()=>n,Om:()=>c,Te:()=>l});var t=a(12115),r=a(98111);let l="[email protected]",n=450,i="https://dev.api.sportsid.click/api/email".replace(/\/$/,"");function c(e){let[s,a]=(0,t.useState)(!1),[c,o]=(0,t.useState)(!1),[d,m]=(0,t.useState)(!1),[p,u]=(0,t.useState)(""),x=(0,t.useRef)(null),h=(0,t.useRef)(null),y=(0,t.useCallback)(()=>{x.current&&(clearTimeout(x.current),x.current=null),h.current&&(clearTimeout(h.current),h.current=null)},[]);return{send:async(s,t)=>{u(""),a(!1),o(!1),y(),m(!0);try{if(!(await fetch("".concat(i,"/message/support"),{method:"POST",headers:{"Content-Type":"application/json","x-app-id":"SPORTSID"},body:JSON.stringify({...s,support_email:l})})).ok)throw Error("Failed to send message");return a(!0),r.zS.track(r.nt.contactFormSubmitted,{location:e}),x.current=setTimeout(()=>{a(!1),o(!0),x.current=null,h.current=setTimeout(()=>{null==t||t(),o(!1),h.current=null},n)},2e3),!0}catch(e){return u("Something went wrong. Please try again."),!1}finally{m(!1)}},isSuccess:s,isSettling:c,isSubmitting:d,error:p}}},24216:(e,s,a)=>{Promise.resolve().then(a.bind(a,81444))},59434:(e,s,a)=>{"use strict";a.d(s,{cn:()=>l});var t=a(7805),r=a(68025);function l(){for(var e=arguments.length,s=Array(e),a=0;a<e;a++)s[a]=arguments[a];return(0,r.QP)((0,t.$)(s))}},60802:(e,s,a)=>{"use strict";a.d(s,{f:()=>o});var t=a(95155),r=a(96334),l=a(59434),n=a(21663);let i="opacity ".concat(n.EZ,"ms ease-in-out"),c="opacity ".concat(n.EZ,"ms ease-in-out"),o=e=>{let{isSubmitting:s,isSuccess:a,isSettling:n=!1,size:o="lg",className:d}=e,m=!s&&!a,p=a&&!s;return(0,t.jsxs)(r.$nd,{type:"submit",size:o,disabled:s||a||n,variant:"primary",className:(0,l.cn)("relative h-auto min-h-[56px] overflow-hidden whitespace-normal py-3 transition-shadow duration-300",(a||n)&&"disabled:bg-primary disabled:text-white disabled:opacity-100",d),children:[(0,t.jsx)("span",{"aria-hidden":!0,className:(0,l.cn)("pointer-events-none absolute inset-0 rounded-full bg-premium-gradient",p?"opacity-100":"opacity-0"),style:{transition:c}}),(0,t.jsxs)("span",{className:"relative inline-grid place-items-center",children:[(0,t.jsx)("span",{className:(0,l.cn)("col-start-1 row-start-1",m?"opacity-100":"opacity-0"),style:{transition:i},children:"Send Message"}),(0,t.jsx)("span",{className:(0,l.cn)("col-start-1 row-start-1",s?"opacity-100":"opacity-0"),style:{transition:i},children:"Sending"}),(0,t.jsx)("span",{className:(0,l.cn)("col-start-1 row-start-1 max-w-[360px] text-center text-sm leading-snug",p?"opacity-100":"opacity-0"),style:{transition:i},children:"Message sent. We will reply within one business day."})]})]})}},81444:(e,s,a)=>{"use strict";a.d(s,{ContactsWidget:()=>p});var t=a(95155),r=a(6874),l=a.n(r),n=a(96334),i=a(7800),c=a(21663),o=a(60802),d=a(59434);let m="[email protected]",p=()=>{let{send:e,isSuccess:s,isSettling:a,isSubmitting:r,error:p}=(0,c.Om)("contact"),{register:u,handleSubmit:x,reset:h}=(0,i.mN)(),y=async s=>{await e({user_name:"".concat(s.firstName," ").concat(s.lastName),user_email:s.email,subject:s.subject,help_message:s.helpMessage},()=>h())};return(0,t.jsxs)("div",{className:"relative mx-auto flex w-full max-w-[1180px] flex-col items-center justify-center gap-[60px] px-5 py-[80px] lg:flex-row lg:items-start lg:gap-[120px] xl:px-0",children:[(0,t.jsxs)("div",{className:"flex max-w-[480px] flex-col gap-6",children:[(0,t.jsx)("h1",{className:"text-[40px] font-semibold text-heading",children:"Contact Us"}),(0,t.jsx)("p",{className:"text-xl text-body",children:"Our team responds to most messages within one business day. We are based in the United States and work on Eastern Time (ET). If you don't see our reply, please check your spam folder."}),(0,t.jsxs)("div",{className:"flex flex-col gap-3 text-body",children:[(0,t.jsx)("h2",{className:"text-xl font-medium text-heading",children:"Other ways to reach us"}),(0,t.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,t.jsxs)("p",{className:"text-base",children:["General and support:"," ",(0,t.jsx)("a",{href:"mailto:".concat(c.Te),className:"text-accent underline-offset-2 hover:underline",children:c.Te})]}),(0,t.jsxs)("p",{className:"text-base",children:["Press and partnerships:"," ",(0,t.jsx)("a",{href:"mailto:".concat(m),className:"text-accent underline-offset-2 hover:underline",children:m})]}),(0,t.jsxs)("p",{className:"text-base",children:["Most questions are answered in the"," ",(0,t.jsx)(l(),{href:"/help-center",className:"text-accent underline-offset-2 hover:underline",children:"Help Center"})," ","and"," ",(0,t.jsx)(l(),{href:"/faq",className:"text-accent underline-offset-2 hover:underline",children:"FAQ"}),"."]})]})]})]}),(0,t.jsx)("div",{className:"absolute bottom-0 left-8 hidden lg:block xl:left-0",children:(0,t.jsx)("img",{src:"/assets/contact.png",alt:"Contact Us",className:"w-[463px]"})}),(0,t.jsxs)("form",{onSubmit:x(y),className:"flex w-full max-w-[580px] flex-col gap-[77px] pt-[90px]",children:[(0,t.jsxs)("div",{className:(0,d.cn)("flex flex-col gap-7",a&&"pointer-events-none opacity-0"),style:{transition:"opacity ".concat(c.EZ,"ms ease-in-out")},children:[(0,t.jsxs)("div",{className:"flex w-full gap-8",children:[(0,t.jsx)(n.pde,{label:"First Name (required)",wrapperClassName:"w-full",registration:u("firstName",{required:"First name is required"}),labelClassName:"text-body",className:"bg-secondary-gray"}),(0,t.jsx)(n.pde,{label:"Last Name (required)",wrapperClassName:"w-full",registration:u("lastName",{required:"Last name is required"}),labelClassName:"text-body",className:"bg-secondary-gray"})]}),(0,t.jsx)(n.pde,{label:"Email (required)",type:"email",wrapperClassName:"w-full",registration:u("email",{required:"Email is required",pattern:{value:/^[^\s@]+@[^\s@]+\.[^\s@]+$/,message:"Invalid email address"}}),labelClassName:"text-body",className:"bg-secondary-gray"}),(0,t.jsx)(n.pde,{label:"Subject",wrapperClassName:"w-full",registration:u("subject"),labelClassName:"text-body",className:"bg-secondary-gray"}),(0,t.jsx)(n.TMX,{label:"How can we help you? (required)",placeholder:"Tell us how we 
1can help.",registration:u("helpMessage",{required:"Message is required"}),labelClassName:"text-body",className:"bg-secondary-gray",classNameContainer:"bg-trasparent"})]}),p&&(0,t.jsx)("p",{className:"text-sm text-warning",children:p}),(0,t.jsxs)("div",{className:"flex flex-col items-center gap-4",children:[(0,t.jsx)(o.f,{isSubmitting:r,isSuccess:s,isSettling:a,size:"lg",className:"w-full max-w-[420px]"}),(0,t.jsxs)("p",{className:"text-center text-sm text-body",children:["By submitting this form, you agree to our"," ",(0,t.jsx)(l(),{href:"/privacy-policy",className:"text-accent",children:"Privacy Policy"}),"."]})]})]})]})}}},e=>{var s=s=>e(e.s=s);e.O(0,[6599,7136,18,9386,4445,2596,1424,1883,3063,6330,4493,6874,8025,1959,6334,8111,8441,1684,7358],()=>s(24216)),_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.