PageSourceSearch

https://rideshareguides.com/assets/BusinessDirectOwnerPreviewPage-4bzD-lXg.js

js rideshareguides.com collected 2026-10-08 20:46:35 UTC 34,938 bytes, 4 lines download raw bytes

1import{r as h,cd as Y,j as e,m as Q,S as T,aL as X,e as q,l as S,a6 as L,al as B,s as O,T as W,aJ as V,aH as ee,ag as te,a as H,R as se,ak as ae,an as re,ao as ie}from"./index-Bn97Kz8X.js";import{P as ne,i as le}from"./style-pAo4PIoY.js";import{S as ce}from"./SEO-BjAPr8No.js";import{B as oe}from"./BusinessSiteShareQR-Ccunt95A.js";import{g as de}from"./rsg-directory-data-DPrYofog.js";import{B as D}from"./badge-check-Ch_7psaO.js";import{C as pe}from"./clock-3-CzVCToOo.js";import{S as xe}from"./store-BWWfihH9.js";import{I as K}from"./image-off-Cijq1zHl.js";import"./index-BhvbDoYB.js";import"./share-2-m_Gi-ymW.js";const me="West Palm Beach, Florida",U="mt-2 h-12 w-full rounded-[13px] border border-stone-200 bg-white px-4 text-[16px] font-medium text-zinc-950 outline-none transition placeholder:text-stone-400 focus:border-[#F45815] focus:ring-2 focus:ring-[#F45815]/15 disabled:cursor-not-allowed disabled:bg-stone-50 sm:text-[14px]",J="flex items-center gap-1.5 text-[11px] font-black uppercase tracking-[0.1em] text-zinc-900",ue={"restaurant-dining":"Restaurant, dining","restaurant-takeout":"Restaurant, takeout / pickup","food-truck":"Food truck"},he={"restaurant-dining":{label:"Restaurant site",priceLabel:"$299/month"},"restaurant-takeout":{label:"Restaurant site",priceLabel:"$299/month"},"food-truck":{label:"Food-truck site",priceLabel:"$149/month"}};function b(t){return t&&typeof t=="object"&&!Array.isArray(t)?t:{}}function c(t,s=500){return typeof t=="string"?t.replace(/[\u0000-\u001F\u007F<>]/g," ").replace(/\s+/g," ").trim().slice(0,s):""}function y(t,s=2400){return typeof t=="string"?t.replace(/[\u0000-\u001F\u007F<>]/g," ").replace(/\r\n?/g,`
2`).split(`
3`).map(a=>a.replace(/\s+/g," ").trim()).filter(Boolean).join(`
4`).slice(0,s):""}function Z(t){let s=b(t);for(let a=0;a<6;a+=1){if(s.business||s.content||s.offer||s.next_steps)return s;const r=["data","result","response","body","payload"].map(x=>b(s[x])).find(x=>Object.keys(x).length);if(!r)break;s=r}return s}function z(t){const s=c(t,2e3);if(!s)return"";try{const a=new URL(s);return["http:","https:"].includes(a.protocol)&&!a.username&&!a.password?a.toString():""}catch{return""}}function be(){if(typeof window>"u")return"";const t=window.location.hash.replace(/^#/,""),s=new URLSearchParams(t).get("token")||"";return/^dbp_[a-f0-9]{64}$/.test(s.trim())?s.trim():""}function C(t,s,a=0){if(a>5||!t||typeof t!="object")return;if(Array.isArray(t)){for(const x of t){const d=C(x,s,a+1);if(d!==void 0)return d}return}const r=t;if(r[s]!==void 0&&r[s]!==null)return r[s];for(const x of["data","contact","result","response","body","payload"]){const d=C(r[x],s,a+1);if(d!==void 0)return d}}function fe(t){for(const s of["id","contact_id","contactId"]){const a=C(t,s);if(typeof a=="string"||typeof a=="number"){const r=String(a).trim();if(/^[A-Za-z0-9][A-Za-z0-9._:-]{0,159}$/.test(r))return r}}return""}function ge(t){const s=Z(t);if(c(s.state,30).toLowerCase()!=="available")return null;const a=b(s.business),r=b(s.content),x=c(a.business_type,50),d=he[x],g=c(a.name,240);if(!g||!d)return null;const j=(Array.isArray(s.sources)?s.sources:[]).flatMap(n=>{const o=b(n),l=z(o.url);return l?[{label:c(o.label,100)||"Public source",url:l}]:[]}).slice(0,8),w=(Array.isArray(s.media)?s.media:[]).flatMap(n=>{const o=b(n),l=z(o.url);if(!l)return[];const p=z(o.source_url);return[{url:de(l,760),alt:c(o.alt_text,220)||`${g} approved public media`,caption:c(o.caption,300)||"Approved public media",sourceUrl:p,attribution:c(o.attribution,220)||(p?`Source: ${new URL(p).hostname.replace(/^www\./,"")}`:"Public source media")}]}).slice(0,8),m=(Array.isArray(s.next_steps)?s.next_steps:[]).flatMap(n=>{const o=b(n),l=c(o.key,40);return l?[{key:l,label:c(o.label,120),priceLabel:c(o.price_label,60),statusLabel:c(o.status_label,100)||"Pending review",detail:y(o.detail,300)}]:[]}).slice(0,4);return{business:{name:g,businessType:x,businessTypeLabel:c(a.business_type_label,120)||ue[x],city:c(a.city,100)||"West Palm Beach",state:c(a.state,80)||"Florida"},content:{description:y(r.description,3e3),highlights:y(r.highlights,1800),hours:y(r.hours_service_area,1200),desiredCta:c(r.de
4sired_cta,160),ctaDestination:z(r.cta_destination_url),currentOffer:y(r.current_offer,700)},sources:j,media:w,mediaMessage:c(s.media_message,240)||(w.length?"Approved public media from the intake is shown below.":"No approved public media was included in this intake."),offer:{label:c(b(s.offer).label,100)||d.label,priceLabel:c(b(s.offer).price_label,50)||d.priceLabel,detail:y(b(s.offer).detail,320)||"RSG will confirm the site scope and next handoff manually.",statusLabel:c(b(s.offer).status_label,80)||"Pending review"},steps:m.length?m:[{key:"site",label:d.label,priceLabel:d.priceLabel,statusLabel:"Pending review",detail:"A site conversation comes first."},{key:"listing",label:"RSG Business Listing",priceLabel:"",statusLabel:"Pending verification",detail:"Listing review remains separate."},{key:"rewards",label:"RSG Rewards",priceLabel:"",statusLabel:"Separate pending review",detail:"Rewards is not active from this preview."},{key:"don_delivery",label:"DON Delivery",priceLabel:"",statusLabel:"City list / pre-launch",detail:"Availability depends on an active city."}],statusLabel:c(s.status_label,120)||"Private preview · Pending RSG review"}}function we(t){try{return new URL(t).hostname.replace(/^www\./,"")}catch{return"public source"}}function je({onFollowUp:t}){return e.jsxs("section",{className:"mt-7 overflow-hidden rounded-[22px] border border-[#D4AF37]/35 bg-[#FFFDF2] p-5 shadow-[0_18px_44px_rgba(154,116,0,0.08)] sm:p-7","aria-labelledby":"founding-pilot-title",children:[e.jsxs("div",{className:"flex flex-col gap-4 sm:flex-row sm:items-start sm:justify-between",children:[e.jsxs("div",{className:"flex items-start gap-3",children:[e.jsx("span",{className:"flex h-10 w-10 shrink-0 items-center justify-center rounded-full bg-[#D4AF37] text-white",children:e.jsx(O,{className:"h-5 w-5"})}),e.jsxs("div",{children:[e.jsx("p",{className:"text-[10px] font-black uppercase tracking-[0.18em] text-[#7A5D00]",children:"Founding Partner Pilot"}),e.jsx("h2",{id:"founding-pilot-title",className:"mt-1.5 text-[28px] font-black leading-tight tracking-[-0.03em] text-zinc-950",children:"Two separate ways to prepare for what RSG is building."}),e.jsx("p",{className:"mt-2 max-w-[68ch] text-[13px] leading-relaxed text-zinc-700",children:"While the RSG member network grows, eligible businesses can ask to be considered for Rewards promotion and the upcoming DON Delivery service. Member discovery, revenue, delivery availability, and approval depend on review and the city launch."})]})]}),e.jsx("span",{className:"inline-flex w-fit shrink-0 rounded-full border border-[#D4AF37]/35 bg-white px-3 py-1.5 text-[10px] font-black uppercase tracking-[0.14em] text-[#7A5D00]",children:"Limited time"})]}),e.jsxs("div",{className:"mt-5 grid gap-3 lg:grid-cols-2",children:[e.jsxs("article",{className:"rounded-[18px] border border-[#D4AF37]/30 bg-white p-5 shadow-sm sm:p-6",children:[e.jsxs("div",{className:"flex items-start justify-between gap-3",children:[e.jsxs("div",{className:"flex items-center gap-2.5",children:[e.jsx("span",{className:"flex h-9 w-9 items-center justify-center rounded-full bg-[#FFF1E8] text-[#F45815]",children:e.jsx(O,{className:"h-4 w-4"})}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-[15px] font-black text-zinc-950",children:"RSG Rewards"}),e.jsx("p",{className:"mt-0.5 text-[10px] font-black uppercase tracking-[0.12em] text-[#B9380B]",children:"Founding pilot"})]})]}),e.jsx("span",{className:"shrink-0 rounded-full border border-amber-200 bg-amber-50 px-2.5 py-1 text-[9px] font-black uppercase tracking-[0.1em] text-amber-800",children:"Pilot review pending"})]}),e.jsx("p",{className:"mt-4 text-[12px] leading-[1.75] text-zinc-700",children:"During the founding pilot, Rewards setup and promotion may be offered at no added program fee, subject to RSG review and capacity. Your business supplies one approved off-peak perk or value-add, normally capped at 20%. You keep the customer relationship and 100% of your food check. RSG takes no per-redemption commission or revenue split."}),e.jsx("p",{className:"mt-3 text-[11px] font-semibold leading-relaxed text-zinc-500",children:"A member discovery opportunity, with no guaranteed customer volume."})]}),e.jsxs("article",{className:"rounded-[18px] border border-[#D9E7E1] bg-white p-5 shadow-sm sm:p-6",children:[e.jsxs("div",{className:"flex items-start justify-between gap-3",children:[e.jsxs("div",{className:"flex items-center gap-2.5",children:[e.jsx("span",{className:"flex h-9 w-9 items-center justify-center rounded-full bg-[#E8F2EE] text-[#0E4B3A]",children:e.jsx(W,{className:"h-4 w-4"})}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-[15px] font-black text-zinc-950",children:"THE DON Delivery"}),e.jsx("p",{className:"mt-0.5 text-[10px] font-black uppercase tracking-[0.12em] text-[#0E4B3A]",children:"Upcoming city service"})]})]}),e.jsx("span",{className:"shrink-0 rounded-full border border-[#D9E7E1] bg-[#F7FBF8] px-2.5 py-1 text-[9px] font-black uppercase tracking-[0.1em] text-[#0E4B3A]",children:"City list · pre-launch"})]}),e.jsx("p",{className:"mt-4 text-[12px] leading-[1.75] text-zinc-700",children:"Prepare for an upcoming, city-by-city delivery service powered by RSG member drivers. Service begins when your city opens and requires separate business eligibility and ordering or handoff setup. No commission is taken from restaurant food sales. Any separate delivery fee is handled by the DON Delivery flow when active."}),e.jsx("p",{className:"mt-3 text-[11px] font-semibold leading-relaxed text-zinc-500",children:"This preview does not represent live delivery orders or driver dispatch."})]})]}),e.jsxs("div",{className:"mt-5 flex flex-col gap-3 border-t border-[#D4AF37]/20 pt-5 sm:flex-row sm:items-center sm:justify-between",children:[e.jsx("p",{className:"max-w-[70ch] text-[11px] leading-relaxed text-[#5C4A00]",children:"Both cards are requests for a separate RSG review. This private preview does not enroll Rewards, activate DON Delivery, publish the business, or start payment."}),e.jsxs("div",{className:"flex flex-col gap-2 sm:shrink-0 sm:flex-row",children:[e.jsxs("a",{href:"#direct-preview-follow-up",onClick:t,className:"inline-flex min-h-11 items-center justify-center gap-2 rounded-[13px] bg-[#F45815] px-4 py-2.5 text-[11px] font-black text-white transition hover:-translate-y-0.5 hover:bg-[#D9470D] focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[#F45815]/40 focu
4s-visible:ring-offset-2",children:["Ask about the pilot ",e.jsx(B,{className:"h-4 w-4"})]}),e.jsxs(S,{to:"/get-listed",className:"inline-flex min-h-11 items-center justify-center gap-2 rounded-[13px] border border-zinc-300 bg-white px-4 py-2.5 text-[11px] font-black text-zinc-900 transition hover:border-[#F45815]/45 hover:bg-[#FFF1E8] hover:text-[#B9380B]",children:["Review listing path ",e.jsx(B,{className:"h-4 w-4"})]})]})]})]})}function P({children:t}){return e.jsxs("div",{className:"min-h-screen overflow-x-clip bg-white text-zinc-950 selection:bg-[#F45815]/20",children:[e.jsx(ce,{title:"Private ETYN Business Preview | RideShareGuides",description:"Review a private, source-backed ETYN Marketing business site preview pending RSG review.",url:`${V}/business/direct-owner-preview`,noindex:!0}),e.jsx(ee,{guestSignInLabel:"Sign in",hideMenuGuestSignIn:!0}),e.jsx("main",{children:t}),e.jsx(te,{})]})}function $({loading:t,onRetry:s}){return e.jsx("div",{role:t?"status":"alert",className:"mx-auto mt-8 max-w-[720px] rounded-[26px] border border-stone-200 bg-[#FFFBF7] p-7 text-center shadow-[0_18px_50px_rgba(0,0,0,0.06)] sm:p-12",children:t?e.jsxs(e.Fragment,{children:[e.jsx(H,{className:"mx-auto h-8 w-8 animate-spin text-[#F45815]"}),e.jsx("p",{className:"mt-5 text-[10px] font-black uppercase tracking-[0.18em] text-[#B9380B]",children:"Opening private preview"}),e.jsx("p",{className:"mx-auto mt-3 max-w-[42ch] text-[13px] leading-relaxed text-zinc-600",children:"RSG is checking the secure link and preparing the source-backed page."})]}):e.jsxs(e.Fragment,{children:[e.jsx("span",{className:"mx-auto flex h-12 w-12 items-center justify-center rounded-full bg-[#FFF1E8] text-[#F45815]",children:e.jsx(T,{className:"h-6 w-6"})}),e.jsx("h1",{className:"mt-5 text-[28px] font-black tracking-tight",children:"This preview is unavailable"}),e.jsx("p",{className:"mx-auto mt-3 max-w-[44ch] text-[13px] leading-relaxed text-zinc-600",children:"The private link may be incomplete, revoked, or temporarily unavailable. Open the complete link from ETYN Marketing or try again."}),e.jsxs("button",{type:"button",onClick:s,className:"mt-7 inline-flex min-h-[46px] items-center gap-2 rounded-full bg-zinc-950 px-5 py-2.5 text-[12px] font-black text-white transition hover:bg-[#F45815] focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[#F45815]/35 focus-visible:ring-offset-2",children:[e.jsx(se,{className:"h-3.5 w-3.5"})," Try again"]})]})})}function ve({item:t,name:s}){const[a,r]=h.useState(!1);return e.jsxs("figure",{className:"overflow-hidden rounded-[20px] border border-stone-200 bg-white shadow-sm",children:[e.jsx("div",{className:"relative aspect-[4/3] overflow-hidden bg-zinc-950",children:a?e.jsxs("div",{className:"flex h-full flex-col items-center justify-center gap-2 bg-[#FFFBF7] text-center",children:[e.jsx(K,{className:"h-7 w-7 text-[#F45815]"}),e.jsx("span",{className:"px-4 text-[10px] font-black uppercase tracking-[0.12em] text-[#B9380B]",children:"Approved media unavailable"})]}):e.jsx("img",{src:t.url,alt:t.alt||`${s} approved public media`,loading:"lazy",decoding:"async",referrerPolicy:"no-referrer",onError:()=>r(!0),className:"h-full w-full object-cover transition duration-700 hover:scale-[1.02]"})}),e.jsxs("figcaption",{className:"space-y-1.5 border-t border-stone-100 px-4 py-3",children:[e.jsx("p",{className:"text-[11px] font-semibold leading-relaxed text-zinc-700",children:t.caption}),e.jsx("p",{className:"text-[10px] font-semibold text-zinc-500",children:t.attribution}),t.sourceUrl&&e.jsxs("a",{href:t.sourceUrl,target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-1 text-[10px] font-black text-[#B9380B] hover:text-[#F45815]",children:[e.jsx(L,{className:"h-3 w-3"})," View source"]})]})]})}function A({id:t,label:s,required:a,children:r}){return e.jsxs("div",{children:[e.jsxs("label",{htmlFor:t,className:J,children:[s," ",a?e.jsx("span",{className:"text-[#F45815]",children:"*"}):e.jsx("span",{className:"ml-1 font-medium normal-case tracking-normal text-stone-500",children:"optional"})]}),r]})}function Ne({token:t,preview:s}){const a=h.useId().replace(/:/g,""),[r,x]=h.useState(""),[d,g]=h.useState(""),[j,w]=h.useState(""),[m,n]=h.useState("email"),[o,l]=h.useState(""),[p,k]=h.useState(!1),[i,f]=h.useState(!1),R=async u=>
4{if(u.preventDefault(),p||i)return;const F=r.trim(),_=d.trim().toLowerCase(),N=j.trim();if(F.length<2){l("Enter your full name.");return}if(!/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(_)){l("Enter a valid email address.");return}if(N&&!le(N)){l("Enter a valid phone number or leave it blank.");return}if(m==="phone"&&!N){l("Add a phone number to choose phone follow-up.");return}k(!0),l("");try{let G;try{G=await re({email:_,first_name:F.split(/\s+/)[0],last_name:F.split(/\s+/).slice(1).join(" ")||void 0,...N?{phone:N}:{},contact_stage:"lead",tags:["direct-preview"],source:"direct-preview",append_notes:"Requested manual follow-up for a direct ETYN private business preview."})}catch{l("We could not save your contact details. Your entries are still here, so please try again.");return}const I=fe(G);if(!I){l("Your contact details were saved, but we could not record the follow-up request. Please try again.");return}try{const E=await Y({action:"submit_interest",token:t,full_name:F,email:_,phone:N||null,preferred_contact_method:m,crm_contact_id:I}),M=Z(E);if(c(M.state,30).toLowerCase()!=="submitted"||c(M.action,40)!=="submit_interest")throw new Error("follow_up_not_recorded")}catch{l("Your contact details were saved, but we could not record the follow-up request. Please try again.");return}f(!0);try{await ie({event_name:"etyn_direct_preview_interest_submitted",contact_email:_,properties:{source:"direct_etyn_social",page:"/business/direct-owner-preview",market:me,business_type:s.business.businessType,preferred_contact_method:m},source:"etyn-direct-preview"})}catch(E){console.warn("Direct preview interest event failed",E)}}finally{k(!1)}};if(i)return e.jsx("section",{className:"rounded-[24px] border border-emerald-200 bg-emerald-50 p-5 sm:p-7",role:"status","aria-live":"polite",children:e.jsxs("div",{className:"flex items-start gap-3",children:[e.jsx(D,{className:"mt-0.5 h-5 w-5 shrink-0 text-emerald-700"}),e.jsxs("div",{children:[e.jsx("p",{className:"text-[10px] font-black uppercase tracking-[0.16em] text-emerald-700",children:"Request received"}),e.jsx("h2",{className:"mt-1.5 text-[24px] font-black tracking-tight text-zinc-950",children:"RSG will follow up manually."}),e.jsxs("p",{className:"mt-3 text-[13px] leading-relaxed text-zinc-700",children:["Your request about ",e.jsx("span",{className:"font-bold",children:s.business.name})," is saved for review. It does not publish, approve, activate, or charge the business."]})]})]})});const v={name:`${a}-name`,email:`${a}-email`,phone:`${a}-phone`};return e.jsxs("section",{id:"direct-preview-follow-up",className:"rounded-[24px] border border-[#F45815]/25 bg-white shadow-[0_18px_48px_rgba(244,88,21,0.08)]",children:[e.jsxs("div",{className:"border-b border-stone-100 bg-[#FFFBF7] px-5 py-5 sm:px-7",children:[e.jsx("p",{className:"text-[10px] font-black uppercase tracking-[0.18em] text-[#F45815]",children:"Manual follow-up"}),e.jsx("h2",{className:"mt-1.5 text-[26px] font-black tracking-tight text-zinc-950",children:"Want to talk through this preview?"}),e.jsx("p",{className:"mt-2 max-w-[58ch] text-[13px] leading-relaxed text-zinc-600",children:"Share the best way to reach you. ETYN Marketing and RSG will review the request manually."})]}),e.jsxs("form",{onSubmit:R,noValidate:!0,"aria-busy":p,className:"space-y-5 px-5 py-5 sm:px-7 sm:py-7",children:[e.jsxs("div",{className:"grid gap-5 sm:grid-cols-2",children:[e.jsx(A,{id:v.name,label:"Full name",required:!0,children:e.jsx("input",{id:v.name,value:r,onChange:u=>{x(u.target.value),l("")},autoComplete:"name",placeholder:"Jordan Williams",disabled:p,className:U})}),e.jsx(A,{id:v.email,label:"Email",required:!0,children:e.jsx("input",{id:v.email,type:"email",value:d,onChange:u=>{g(u.target.value),l("")},autoComplete:"email",placeholder:"[email protected]",disabled:p,className:U})}),e.jsx(A,{id:v.phone,label:"Phone",children:e.jsx(ne,{value:j||void 0,onChange:u=>{w(u||""),l("")},defaultCountry:"US",international:!0,countryCallingCodeEditable:!1,autoComplete:"tel",placeholder:"+1 (561) 555-0000",disabled:p,numberInputProps:{id:v.phone,name:"phone","aria-label":"Phone number"},className:"mt-2 min-h-[48px] rounded-[13px] border border-stone-200 bg-white px-3 focus-within:border-[#F45815] focus-within:ring-2 focus-within:ring-[#F45815]/15"})}),e.jsxs("fieldset",{children:[e.jsxs("legend",{className:J,children:["Preferred contact method ",e.jsx("span",{className:"text-[#F45815]",children:"*"})]}),e.jsx("div",{className:"mt-2 grid grid-cols-2 gap-2.5",children:["email","phone"].map(u=>e.jsxs("label",{className:`flex min-h-12 cursor-pointer items-center gap-2 rounded-[13px] border px-3 text-[12px] font-bold ${m===u?"border-[#F45815]/50 bg-[#FFF1E8] text-[#B9380B]":"border-stone-200 bg-white text-zinc-700"}`,children:[e.jsx("input",{type:"radio",name:"preferred-contact",value:u,checked:m===u,onChange:()=>{n(u),l("")},disabled:p,className:"h-4 w-4 accent-orange-600"}),u==="email"?e.jsx(ae,{className:"h-4 w-4 text-[#F45815]"}):e.jsx(W,{className:"h-4 w-4 text-[#F45815]"}),e.jsx("span",{children:u==="email"?"Email":"Phone"})]},u))})]})]}),o&&e.jsx("p",{role:"alert",className:"rounded-[13px] border border-red-200 bg-red-50 px-3.5 py-3 text-[12px] font-semibold text-red-800",children:o}),e.jsxs("p",{className:"flex items-start gap-2 text-[11px] leading-relaxed text-zinc-500",children:[e.jsx(T,{className:"mt-0.5 h-4 w-4 shrink-0 text-[#F45815]"}),"Manual follow-up only. Phone is optional and does not enroll you in automated messages or calls."]}),e.jsxs("button",{type:"submit",disabled:p,className:"inline-flex min-h-12 w-full items-center justify-center gap-2 rounded-[13px] bg-[#F45815] px-5 py-3 text-[13px] font-black text-white shadow-[0_10px_22px_rgba(244,88,21,0.2)] transition hover:-translate-y-0.5 hover:bg-[#D9470D] disabled:cursor-not-allowed disabled:opacity-60 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[#F45815] focus-visible:ring-offset-2",children:[p?e.jsx(H,{className:"h-4 w-4 animate-spin"}):e.jsx(q,{className:"h-4 w-4"}),p?"Saving your request":"Ask RSG to follow up"]})]})]})}function Le(){const[t,s]=h.useState(null),[a,r]=h.useState(null),[x,d]=h.useState(!0),[g,j]=h.useState(0);h.useEffect(()=>{s(be())},[]),h.useEffect(()=>{if(t===null)return;if(!t){d(!1);return}let i=!1;return d(!0),(async()=>{try{const f=await Y({action:"get",token:t}),R=ge(f);i||(r(R),d(!1))}catch{i||(r(null),d(!1))}})(),()=>{i=!0}},[t,g]);const w=()=>{t?j(i=>i+1):window.location.reload()};if(t===null||x)return e.jsx(P,{children:e.jsx("div",{className:"mx-auto min-h-[58vh] w-full max-w-[1180px] px-5 pb-16 pt-4 sm:px-8 sm:pb-24",children:e.jsx($,{loading:!0,onRetry:w}
4)})});if(!a)return e.jsx(P,{children:e.jsx("div",{className:"mx-auto min-h-[58vh] w-full max-w-[1180px] px-5 pb-16 pt-4 sm:px-8 sm:pb-24",children:e.jsx($,{loading:!1,onRetry:w})})});const{business:m,content:n,offer:o}=a,l=[m.city,m.state].filter(Boolean).join(", "),p=/^dbp_[a-f0-9]{64}$/.test(t)?`${V}/business/direct-owner-preview#token=${encodeURIComponent(t)}`:"",k=i=>{var f;i.preventDefault(),(f=document.getElementById("direct-preview-follow-up"))==null||f.scrollIntoView({behavior:"smooth",block:"start"})};return e.jsx(P,{children:e.jsx("div",{className:"bg-[#FFFBF7]",children:e.jsxs("div",{className:"mx-auto w-full max-w-[1180px] px-5 pb-16 pt-5 sm:px-8 sm:pb-24 sm:pt-8",children:[e.jsx("div",{className:"mb-5 flex w-full justify-end",children:p&&e.jsx(oe,{shareUrl:p,businessName:m.name,label:"Private",compact:!0})}),e.jsxs(Q.div,{initial:{opacity:0,y:-8},animate:{opacity:1,y:0},className:"flex items-start gap-3 rounded-[18px] border border-[#D4AF37]/35 bg-[#FFFDF2] px-4 py-4 shadow-sm sm:px-5",children:[e.jsx(T,{className:"mt-0.5 h-5 w-5 shrink-0 text-[#9A7400]"}),e.jsxs("div",{children:[e.jsx("p",{className:"text-[10px] font-black uppercase tracking-[0.18em] text-[#7A5D00]",children:a.statusLabel}),e.jsxs("p",{className:"mt-1 text-[12px] font-semibold leading-relaxed text-zinc-700",children:[e.jsx("span",{className:"font-black text-zinc-950",children:"Prepared for a private conversation."})," This source-backed page is not live, published, approved, activated, paid, or a confirmed business partnership."]})]})]}),e.jsxs("section",{className:"relative mt-5 overflow-hidden rounded-[28px] border border-[#F45815]/20 bg-white shadow-[0_20px_60px_rgba(244,88,21,0.08)]",children:[e.jsx("div",{className:"pointer-events-none absolute -right-24 -top-28 h-80 w-80 rounded-full bg-[#F45815]/[0.08] blur-3xl"}),e.jsxs("div",{className:"relative grid gap-8 px-5 py-8 sm:px-8 sm:py-10 lg:grid-cols-[1fr_290px] lg:items-end lg:px-10",children:[e.jsxs("div",{children:[e.jsx("p",{className:"text-[10px] font-black uppercase tracking-[0.2em] text-[#F45815]",children:"Direct ETYN owner preview"}),e.jsx("h1",{className:"mt-3 max-w-[17ch] text-[50px] font-black leading-[0.9] tracking-[-0.055em] text-zinc-950 sm:text-[76px]",children:m.name}),e.jsxs("div",{className:"mt-5 flex flex-wrap gap-2 text-[11px] font-bold text-zinc-700",children:[e.jsx("span",{className:"rounded-full border border-zinc-200 bg-zinc-50 px-3 py-1.5",children:m.businessTypeLabel}),e.jsxs("span",{className:"inline-flex items-center gap-1.5 rounded-full border border-zinc-200 bg-white px-3 py-1.5",children:[e.jsx(X,{className:"h-3.5 w-3.5 text-[#F45815]"}),l]})]}),e.jsxs("div",{className:"mt-6 flex flex-col gap-2 sm:flex-row",children:[e.jsxs("a",{href:"#direct-preview-follow-up",onClick:k,className:"inline-flex min-h-12 items-center justify-center gap-2 rounded-[13px] bg-[#F45815] px-5 py-3 text-[12px] font-black text-white shadow-[0_10px_22px_rgba(244,88,21,0.2)] transition hover:-translate-y-0.5 hover:bg-[#D9470D] focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[#F45815]/40 focus-visible:ring-offset-2",children:[e.jsx(q,{className:"h-4 w-4"})," Ask for manual follow-up"]}),e.jsxs(S,{to:"/get-listed",className:"inline-flex min-h-12 items-center justify-center gap-2 rounded-[13px] border border-zinc-300 bg-white px-5 py-3 text-[12px] font-black text-zinc-900 transition hover:border-[#F45815]/45 hover:bg-[#FFF1E8] hover:text-[#B9380B]",children:[e.jsx(D,{className:"h-4 w-4 text-[#F45815]"})," Review the listing path"]})]})]}),e.jsxs("div",{className:"rounded-[18px] border border-zinc-200 bg-[#FFFBF7] p-4",children:[e.jsx("p",{className:"text-[10px] font-black uppercase tracking-[0.15em] text-[#B9380B]",children:"Review status"}),e.jsxs("p",{className:"mt-2 flex items-center gap-2 text-[13px] font-black text-zinc-950",children:[e.jsx("span",{className:"h-2 w-2 rounded-full bg-[#D4AF37]"})," Pending RSG review"]}),e.jsx("p",{className:"mt-2 text-[11px] leading-relaxed text-zinc-600",children:"The details below come from the public facts and media submitted through ETYN Marketing."})]})]})]}),e.jsxs("section",{className:"mt-7 grid gap-5 lg:grid-cols-[minmax(0,1.2fr)_minmax(280px,0.8fr)]",children:[e.jsxs("div",{className:"space-y-5",children:[e.jsxs("section",{className:"rounded-[22px] border border-zinc-200 bg-white p-5 shadow-sm sm:p-7",children:[e.jsx("p",{className:"text-[10px] font-black uppercase tracking-[0.18em] text-[#F45815]",children:"Source-backed business story"}),e.jsx("h2",{className:"mt-2 text-[30px] font-black leading-tight tracking-[-0.03em] text-zinc-950",children:"A clear starting point for the site conversation."}),n.description&&e.jsx("p",{className:"mt-4 whitespace-pre-line text-[14px] leading-[1.8] text-zinc-600",children:n.description}),n.highlights&&e.jsxs("div",{className:"mt-5 border-t border-zinc-100 pt-5",children:[e.jsx("p",{className:"text-[10px] font-black uppercase tracking-[0.16em] text-[#B9380B]",children:"Menu and service highlights"}),e.jsx("p",{className:"mt-3 whitespace-pre-line text-[13px] leading-[1.8] text-zinc-700",children:n.highlights})]})]}),n.hours&&e.jsxs("section",{className:"rounded-[22px] border border-zinc-200 bg-white p-5 shadow-sm sm:p-7",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(pe,{className:"h-4 w-4 text-[#F45815]"}),e.jsx("p",{className:"text-[10px] font-black uppercase tracking-[0.18em] text-[#B9380B]",children:"Hours and service area"})]}),e.jsx("p",{className:"mt-3 whitespace-pre-line text-[13px] leading-[1.8] text-zinc-700",children:n.hours})]}),(n.desiredCta||n.currentOffer)&&e.jsxs("section",{className:"rounded-[22px] border border-zinc-200 bg-white p-5 shadow-sm sm:p-7",children:[n.desiredCta&&e.jsxs(e.Fragment,{children:[e.jsx("p",{className:"text-[10px] font-black uppercase tracking-[0.16em] text-[#B9380B]",children:"Preferred customer action"}),e.jsx("p",{className:"mt-2 text-[15px] font-black text-zinc-950",children:n.desiredCta}),n.ctaDestination&&e.jsxs("a",{href:n.ctaDestination,target:"_blank",rel:"noopener noreferrer",className:"mt-3 inline-flex items-center gap-1.5 text-[11px] font-black text-[#B9380B] hover:text-[#F45815]",children:["Open public de
4stination ",e.jsx(L,{className:"h-3 w-3"})]})]}),n.currentOffer&&e.jsxs("div",{className:n.desiredCta?"mt-5 border-t border-zinc-100 pt-5":"",children:[e.jsx("p",{className:"text-[10px] font-black uppercase tracking-[0.16em] text-[#B9380B]",children:"Current offer submitted for review"}),e.jsx("p",{className:"mt-2 whitespace-pre-line text-[13px] leading-relaxed text-zinc-700",children:n.currentOffer})]})]})]}),e.jsxs("aside",{className:"space-y-5",children:[e.jsxs("section",{className:"rounded-[22px] border border-[#F45815]/25 bg-[#FFF8F3] p-5 shadow-sm sm:p-6",children:[e.jsx("p",{className:"text-[10px] font-black uppercase tracking-[0.18em] text-[#B9380B]",children:"Site offer"}),e.jsx("p",{className:"mt-3 text-[42px] font-black leading-none tracking-[-0.05em] text-zinc-950",children:o.priceLabel}),e.jsxs("p",{className:"mt-2 text-[13px] font-black text-zinc-950",children:[o.label," · ",o.statusLabel]}),e.jsxs("p",{className:"mt-4 border-t border-[#F45815]/15 pt-4 text-[12px] leading-[1.75] text-zinc-700",children:[o.detail," This preview has no checkout link. Payment, publication, and activation are separate decisions."]})]}),e.jsxs("section",{className:"rounded-[22px] border border-[#D9E7E1] bg-[#F7FBF8] p-5 shadow-sm sm:p-6",children:[e.jsxs("div",{className:"flex items-start gap-3",children:[e.jsx("span",{className:"flex h-9 w-9 shrink-0 items-center justify-center rounded-full bg-[#0E4B3A] text-white",children:e.jsx(xe,{className:"h-4 w-4"})}),e.jsxs("div",{children:[e.jsx("p",{className:"text-[10px] font-black uppercase tracking-[0.16em] text-[#0E4B3A]",children:"Separate business paths"}),e.jsx("h2",{className:"mt-1 text-[17px] font-black text-zinc-950",children:"Each next step stays distinct."})]})]}),e.jsx("p",{className:"mt-4 text-[12px] leading-[1.75] text-zinc-700",children:"The site conversation, listing verification, Rewards review, and DON Delivery city planning do not activate one another."})]})]})]}),e.jsx(je,{onFollowUp:k}),e.jsxs("section",{className:"mt-7 rounded-[22px] border border-zinc-200 bg-white p-5 shadow-sm sm:p-7","aria-labelledby":"next-steps-title",children:[e.jsxs("div",{className:"flex items-end justify-between gap-3",children:[e.jsxs("div",{children:[e.jsx("p",{className:"text-[10px] font-black uppercase tracking-[0.18em] text-[#F45815]",children:"Choose the next step"}),e.jsx("h2",{id:"next-steps-title",className:"mt-1 text-[28px] font-black tracking-[-0.03em] text-zinc-950",children:"Review one path at a time."})]}),e.jsx(D,{className:"h-6 w-6 text-[#F45815]","aria-hidden":"true"})]}),e.jsx("div",{className:"mt-5 grid gap-3 sm:grid-cols-2",children:a.steps.map(i=>e.jsxs("div",{className:"rounded-[17px] border border-stone-200 bg-[#FFFBF7] p-4",children:[e.jsxs("div",{className:"flex items-start justify-between gap-3",children:[e.jsxs("div",{children:[e.jsx("p",{className:"text-[13px] font-black text-zinc-950",children:i.label}),i.priceLabel&&e.jsx("p",{className:"mt-1 text-[12px] font-black text-[#B9380B]",children:i.priceLabel})]}),e.jsx("span",{className:"shrink-0 rounded-full border border-[#F45815]/20 bg-[#FFF1E8] px-2.5 py-1 text-[9px] font-black uppercase tracking-[0.1em] text-[#B9380B]",children:i.statusLabel})]}),e.jsx("p",{className:"mt-3 text-[11px] leading-relaxed text-zinc-600",children:i.detail})]},i.key))})]}),a.media.length>0?e.jsxs("section",{className:"mt-7","aria-labelledby":"media-title",children:[e.jsxs("div",{className:"flex flex-wrap items-end justify-between gap-3",children:[e.jsxs("div",{children:[e.jsx("p",{className:"text-[10px] font-black uppercase tracking-[0.18em] text-[#F45815]",children:"Approved public media"}),e.jsx("h2",{id:"media-title",className:"mt-1 text-[28px] font-black tracking-[-0.03em] text-zinc-950",children:"Visual direction with attribution."})]}),e.jsx("p",{className:"text-[11px] font-semibold text-zinc-500",children:a.mediaMessage})]}),e.jsx("div",{className:"mt-4 grid gap-3 md:grid-cols-2",children:a.media.map((i,f)=>e.jsx(ve,{item:i,name:m.name},`${i.url}-${f}`))})]}):e.jsxs("section",{className:"mt-7 flex items-start gap-3 rounded-[20px] border border-dashed border-stone-300 bg-white p-5 sm:p-6",children:[e.jsx(K,{className:"mt-0.5 h-5 w-5 shrink-0 text-[#F45815]"}),e.jsxs("div",{children:[e.jsx("p",{className:"text-[10px] font-black uppercase tracking-[0.16em] text-[#B9380B]",children:"No approved media included"}),e.jsxs("p",{className:"mt-1 text-[12px] leading-relaxed text-zinc-600",children:[a.mediaMessage," The written business facts remain available for the review conversation."]})]})]}),a.sources.length>0&&e.jsxs("section",{className:"mt-7 rounded-[22px] border border-zinc-200 bg-white p-5 shadow-sm sm:p-7",children:[e.jsx("p",{className:"text-[10px] font-black uppercase tracking-[0.18em] text-[#B9380B]",children:"Public source links"}),e.jsx("h2",{className:"mt-1 text-[25px] font-black tracking-[-0.025em] text-zinc-950",children:"See the sources behind this page."}),e.jsx("div",{className:"mt-4 grid gap-2 sm:grid-cols-2",children:a.sources.map(i=>e.jsxs("a",{href:i.url,target:"_blank",rel:"noopener noreferrer",className:"group flex min-h-12 items-center gap-3 rounded-[13px] border border-stone-200 bg-[#FFFBF7] px-3.5 py-3 transition hover:border-[#F45815]/35 hover:bg-[#FFF8F3]",children:[e.jsx("span",{className:"flex h-8 w-8 shrink-0 items-center justify-center rounded-full bg-white text-[#F45815]",children:e.jsx(L,{className:"h-3.5 w-3.5"})}),e.jsxs("span",{className:"min-w-0",children:[e.jsx("span",{className:"block text-[11px] font-black text-zinc-900",children:i.label}),e.jsx("span",{className:"mt-0.5 block truncate text-[10px] text-zinc-500",children:we(i.url)})]})]},i.url))})]}),e.jsx("div",{className:"mt-7",children:e.jsx(Ne,{token:t,preview:a})}),e.jsx("section",{className:"mt-5 rounded-[22px] border border-zinc-200 bg-white p-5 shadow-sm sm:p-7",children:e.jsxs("div",{className:"flex flex-col gap-4 sm:flex-row sm:items-center sm:justify-between",children:[e.jsxs("div",{children:[e.jsx("p",{className:"text-[10px] font-black uppercase tracking-[0.18em] text-[#F45815]",children:"Need a different next step?"}),e.jsx("h2",{className:"mt-1 text-[24px] font-black tracking-tight text-zinc-950",children:"Keep the review in your hands."}),e.jsx("p",{className:"mt-2 max-w-[58ch] text-[12px] leading-relaxed text-zinc-600",children:"Return to ETYN Marketing or open the separate RSG listing path. Neither action publishes or activates this preview."})]}),e.jsxs("div",{className:"flex flex-col gap-2 sm:shrink-0",children:[e.jsxs(S,{to:"/etyn-marketing",className:"inline-flex min-h-11 items-center justify-center gap-2 rounded-[13px] bg-zinc-950 px-4 py-2.5 text-[12px] font-black text-white hover:bg-[#F45815]",children:["Back to ETYN Marketing ",e.jsx(B,{className:"h-4 w-4"})]}),e.jsxs(S,{to:"/get-listed",className:"inline-flex min-h-11 items-center justify-center gap-2 rounded-[13px] border border-stone-300 bg-white px-4 py-2.5 text-[12px] font-black text-zinc-900 hover:border-[#F45815] hover:text-[#B9380B]",children:["Review Get Listed ",e.jsx(B,{className:"h-4 w-4"})]})]})]})})]})})})}export{Le 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.