PageSourceSearch

https://performrgo.com/assets/CustomDomainSitePage.Fl7Hcdan.js

js performrgo.com collected 2026-10-05 22:47:48 UTC 2,660 bytes, 1 lines download raw bytes

1import{d as i,j as t,e as a,T as m,cl as u,s as h,v as f,c3 as x}from"./index.BdFycjDt.js";import p from"./PerformerSitePage.Dkix4voP.js";import g from"./CoachMiniSitePage.BFh7-v8K.js";import"./AgreementText.C8b3ceCL.js";import"./Card.y4fRYbDG.js";import"./CardContent.BGaAZbjQ.js";import"./Stepper.3uq9S-ow.js";import"./CoachBookingWidget.PJBkE19R.js";import"./AccessTime.B66r6ZCl.js";import"./Divider.kxa6B8uw.js";import"./EventAvailable.D1X1RbG9.js";function y({name:s,theme:r}){const e=u(r);return i.useEffect(()=>{const o=document.createElement("link");o.rel="stylesheet",o.href=e.fontHref,document.head.appendChild(o);const n=document.createElement("meta");return n.name="robots",n.content="noindex",document.head.appendChild(n),()=>{o.remove(),n.remove()}},[e.fontHref]),i.useEffect(()=>{const o=document.documentElement,n=document.body.style.backgroundColor,c=o.style.colorScheme;return document.body.style.backgroundColor=e.bg,o.style.colorScheme=e.colorScheme,()=>{document.body.style.backgroundColor=n,o.style.colorScheme=c}},[e.bg,e.colorScheme]),i.useEffect(()=>{document.title=s||"Coming soon"},[s]),t.jsx(a,{sx:{minHeight:"100vh",bgcolor:e.bg,color:e.text,display:"flex",alignItems:"center",justifyContent:"center",px:3,py:8,textAlign:"center"},children:t.jsxs(a,{sx:{maxWidth:640},children:[t.jsx(m,{component:"h1",sx:{fontFamily:e.displayFont,fontWeight:500,fontSize:{xs:"2.5rem",sm:"3.6rem",md:"4.5rem"},lineHeight:1.05,letterSpacing:"-0.02em"},children:s}),t.jsx(a,{sx:{width:64,height:2,bgcolor:e.accent,mx:"auto",my:{xs:3.5,md:4.5}}}),t.jsx(m,{sx:{fontFamily:e.bodyFont,color:e.muted,fontSize:{xs:"1rem",md:"1.08rem"},letterSpacing:"0.02em"},children:"A new website is on its way."})]})})}function _({domain:s}){const[r,e]=i.useState(null),[o,n]=i.useState(!0);return i.useEffect(()=>{let c=!1;return(async()=>{n(!0);const{data:d,error:l}=await h.rpc("get_custom_domain_site",{p_domain:s});c||(l&&console.error("Could not resolve this domain:",l),e(d??null),n(!1))})(),()=>{c=!0}},[s]),o?t.jsx(a,{sx:{display:"flex",justifyContent:"center",alignItems:"center",minHeight:"60vh"},children:t.jsx(f,{})}):r?.kind==="coach"?t.jsx(g,{domain:s,preloaded:r.site}):r?.kind==="performer"?t.jsx(p,{domain:s,preloaded:r.site}):r?.kind==="holding"?t.jsx(y,{name:r.site.name,theme:r.site.theme}):t.jsxs(x,{maxWidth:"sm",sx:{py:10,textAlign:"center"},children:[t.jsx(m,{variant:"h5",gutterBottom:!0,children:"Nothing is set up at this address yet"}),t.jsx(m,{variant:"body2",color:"text.secondary",children:"The domain reaches us, but no site has claimed it. If this is your address, finish connecting it from your dashboard."})]})}
1export{_ as default};

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.