1import{j as e,s as x,B as m,a4 as p,S as j,aF as C,ap as L,h as k}from"./index-CuSEeJFb.js";function S({register:o,watch:t,businessProfile:l,isGeneratingField:a,onGenerateField:n}){var f;const $=t("platformContent.headline1")||"",N=t("platformContent.headline2")||"",b=t("platformContent.headline3")||"",g=t("platformContent.description1")||"",v=t("platformContent.description2")||"",y=t("platformContent.path1")||"",u=t("platformContent.path2")||"",c={headline:30,description:90,path:15},h=(s,d)=>{const r=s/d;return r>.9?"text-red-500":r>.7?"text-orange-500":"text-gray-500"},w=l!=null&&l.website?l.website.replace(/^https?:\/\//,"").replace(/\/$/,""):"yourbusiness.com";return e.jsxs("div",{className:"max-w-4xl mx-auto",children:[e.jsxs("div",{className:"bg-white border rounded-lg overflow-hidden mb-6",children:[e.jsx("div",{className:"bg-gray-50 p-4 border-b",children:e.jsx("div",{className:"max-w-md mx-auto",children:e.jsxs("div",{className:"flex items-center bg-white border rounded-full px-4 py-2 shadow-sm",children:[e.jsx("span",{className:"text-gray-400 text-sm",children:"ð"}),e.jsxs("span",{className:"ml-3 text-gray-600 text-sm",children:[(l==null?void 0:l.industry)||"your service"," near me"]})]})})}),e.jsx("div",{className:"p-4",children:e.jsxs("div",{className:"space-y-4",children:[e.jsx("div",{className:"border-l-4 border-orange-400 pl-4 py-2 bg-orange-50/50",children:e.jsxs("div",{className:"space-y-1",children:[e.jsx("div",{className:"space-y-1",children:e.jsxs("h3",{className:"text-blue-600 text-lg leading-tight hover:underline cursor-pointer",children:[$||"Your Main Headline Here",N&&e.jsxs("span",{children:[" | ",N]}),b&&e.jsxs("span",{children:[" | ",b]})]})}),e.jsxs("div",{className:"text-green-700 text-sm",children:[e.jsx("span",{className:"font-medium",children:w}),y&&e.jsxs("span",{children:["/",y]}),u&&e.jsxs("span",{children:["/",u]})]}),e.jsxs("div",{className:"text-gray-700 text-sm space-y-1",children:[g&&e.jsx("p",{children:g}),v&&e.jsx("p",{children:v})]}),e.jsxs("div",{className:"flex items-center gap-2 mt-2",children:[e.jsx(x,{variant:"secondary",className:"text-xs bg-gray-100 text-gray-600",children:"Ad"}),e.jsx("span",{className:"text-xs text-gray-500",children:"Why this ad? Your location â"})]})]})}),e.jsx("div",{className:"space-y-4 opacity-60",children:e.jsxs("div",{children:[e.jsxs("h3",{className:"text-blue-600 text-lg hover:underline cursor-pointer",children:["Local Business Directory - ",(l==null?void 0:l.industry)||"Services"]}),e.jsx("div",{className:"text-green-700 text-sm",children:"directory.local ⺠business-listings"}),e.jsxs("p",{className:"text-gray-700 text-sm mt-1",children:["Find local ",((f=l==null?void 0:l.industry)==null?void 0:f.toLowerCase())||"service"," providers in your area. Compare ratings, reviews, and pricing from verified businesses."]})]})})]})})]}),e.jsxs("div",{className:"bg-white border rounded-lg p-6 space-y-6",children:[e.jsxs("div",{className:"flex items-center gap-2 mb-4",children:[e.jsx("div",{className:"w-8 h-8 bg-blue-100 rounded-full flex items-center justify-center",children:e.jsx("span",{className:"text-blue-600 font-semibold text-sm",children:"G"})}),e.jsx("h3",{className:"font-semibold text-lg",children:"Google Search Ad Configuration"})]}),e.jsxs("div",{className:"space-y-4",children:[e.jsxs("h4",{className:"font-medium text-gray-900 flex items-center gap-2",children:["Headlines",e.jsx(x,{variant:"secondary",className:"text-xs",children:"Up to 3 headlines, 30 chars each"})]}),e.jsx("div",{className:"grid gap-4",children:[1,2,3].map(s=>{var d,r,i;return e.jsxs("div",{className:"space-y-2",children:[e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsxs("label",{className:"text-sm font-medium text-gray-700",children:["Headline ",s," ",s===1&&e.jsx("span",{className:"text-red-500",children:"*"})]}),e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsxs("span",{className:`text-xs ${h(((d=t(`platformContent.headline${s}`))==null?void 0:d.length)||0,c.headline)}`,children:[((r=t(`platformContent.headline${s}`))==null?void 0:r.length)||0,"/",c.headline]}),e.jsx(m,{type:"button",variant:"ghost",size:"sm",className:"h-6 w-6 p-0",onClick:()=>n==null?void 0:n(`headline${s}`),disabled:a==null?void 0:a(`headline${s}`),children:a!=null&&a(`headline${s}
1`)?e.jsx(p,{className:"h-3 w-3 animate-spin"}):e.jsx(j,{className:"h-3 w-3"})})]})]}),e.jsx(C,{...o(`platformContent.headline${s}`),placeholder:`Compelling headline ${s}`,maxLength:c.headline,className:((i=t(`platformContent.headline${s}`))==null?void 0:i.length)>c.headline?"border-red-500":""})]},s)})})]}),e.jsxs("div",{className:"space-y-4",children:[e.jsxs("h4",{className:"font-medium text-gray-900 flex items-center gap-2",children:["Descriptions",e.jsx(x,{variant:"secondary",className:"text-xs",children:"Up to 2 descriptions, 90 chars each"})]}),e.jsx("div",{className:"grid gap-4",children:[1,2].map(s=>{var d,r,i;return e.jsxs("div",{className:"space-y-2",children:[e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsxs("label",{className:"text-sm font-medium text-gray-700",children:["Description ",s," ",s===1&&e.jsx("span",{className:"text-red-500",children:"*"})]}),e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsxs("span",{className:`text-xs ${h(((d=t(`platformContent.description${s}`))==null?void 0:d.length)||0,c.description)}`,children:[((r=t(`platformContent.description${s}`))==null?void 0:r.length)||0,"/",c.description]}),e.jsx(m,{type:"button",variant:"ghost",size:"sm",className:"h-6 w-6 p-0",onClick:()=>n==null?void 0:n(`description${s}`),disabled:a==null?void 0:a(`description${s}`),children:a!=null&&a(`description${s}
1`)?e.jsx(p,{className:"h-3 w-3 animate-spin"}):e.jsx(j,{className:"h-3 w-3"})})]})]}),e.jsx(L,{...o(`platformContent.description${s}`),placeholder:`Detailed description ${s} - highlight key benefits`,maxLength:c.description,rows:2,className:((i=t(`platformContent.description${s}`))==null?void 0:i.length)>c.description?"border-red-500":""})]},s)})})]}),e.jsxs("div",{className:"space-y-4",children:[e.jsxs("h4",{className:"font-medium text-gray-900 flex items-center gap-2",children:["URL Paths",e.jsx(x,{variant:"secondary",className:"text-xs",children:"Optional, 15 chars each"})]}),e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[1,2].map(s=>{var d,r,i;return e.jsxs("div",{className:"space-y-2",children:[e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsxs("label",{className:"text-sm font-medium text-gray-700",children:["Path ",s]}),e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsxs("span",{className:`text-xs ${h(((d=t(`platformContent.path${s}`))==null?void 0:d.length)||0,c.path)}`,children:[((r=t(`platformContent.path${s}`))==null?void 0:r.length)||0,"/",c.path]}),e.jsx(m,{type:"button",variant:"ghost",size:"sm",className:"h-6 w-6 p-0",onClick:()=>n==null?void 0:n(`path${s}`),disabled:a==null?void 0:a(`path${s}`),children:a!=null&&a(`path${s}`)?e.jsx(p,{className:"h-3 w-3 animate-spin"}):e.jsx(j,{className:"h-3 w-3"})})]})]}),e.jsx(C,{...o(`platformContent.path${s}`),placeholder:s===1?"services":"contact",maxLength:c.path,className:((i=t(`platformContent.path${s}`))==null?void 0:i.length)>c.path?"border-red-500":""})]},s)})})]}),e.jsx("div",{className:"bg-gradient-to-r from-blue-50 to-cyan-50 border border-blue-200 rounded-lg p-4",children:e.jsxs("div",{className:"flex items-start gap-3",children:[e.jsx("div",{className:"w-5 h-5 bg-blue-600 rounded-full flex items-center justify-center mt-0.5",children:e.jsx("span",{className:"text-white text-xs",children:"ð¯"})}),e.jsxs("div",{className:"space-y-2",children:[e.jsx("h5",{className:"font-medium text-blue-900",children:"Search Intent Optimization"}),e.jsxs("div",{className:"grid grid-cols-2 gap-2 text-xs",children:[e.jsxs("div",{className:"bg-white rounded p-2 border border-blue-100",children:[e.jsx("span",{className:"font-medium text-blue-800",children:"Informational"}),e.jsx("p",{className:"text-blue-600 mt-1",children:'"How to", "What is", "Best way"'})]}),e.jsxs("div",{className:"bg-white rounded p-2 border border-blue-100",children:[e.jsx("span",{className:"font-medium text-blue-800",children:"Commercial"}),e.jsx("p",{className:"text-blue-600 mt-1",children:'"Compare", "Review", "Best"'})]}),e.jsxs("div",{className:"bg-white rounded p-2 border border-blue-100",children:[e.jsx("span",{className:"font-medium text-blue-800",children:"Local"}),e.jsxs("p",{className:"text-blue-600 mt-1",children:['"Near me", "Local", "',City,'"']})]}),e.jsxs("div",{className:"bg-white rounded p-2 border border-blue-100",children:[e.jsx("span",{className:"font-medium text-blue-800",children:"Transactional"}),e.jsx("p",{className:"text-blue-600 mt-1",children:'"Buy", "Book", "Schedule"'})]})]})]})]})}),e.jsx("div",{className:"bg-blue-50 border border-blue-200 rounded-lg p-4",children:e.jsxs("div",{className:"flex items-start gap-3",children:[e.jsx(k,{className:"h-5 w-5 text-blue-600 mt-0.5"}),e.jsxs("div",{className:"space-y-2",children:[e.jsx("h5",{className:"font-medium text-blue-900",children:"Google Search Ad Best Practices"}),e.jsxs("ul",{className:"text-sm text-blue-800 space-y-1",children:[e.jsx("li",{children:"⢠Use keyword-rich headlines that match search intent above"}),e.jsx("li",{children:"⢠Include compelling benefits and unique value propositions"}),e.jsx("li",{children:"⢠Add URL paths that relate to your landing page content"}),e.jsx("li",{children:"⢠Headlines rotate automatically - create 3 strong variations"}),e.jsx("li",{children:"⢠Include location keywords for local businesses"}),e.jsx("li",{children:"⢠Match ad copy to landing page content for better Quality Score"})]})]})]})})]})]})}export{S as GoogleSearchMockup};
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.