1import{r as a,al as x,j as e,P as f,X as b,ag as y,S as H,c1 as k,n as j,o as Z}from"./index-w9IQLG3n.js";import{s as A}from"./Funnel.es-C20kxpCD.js";const V=new Map([["bold",a.createElement(a.Fragment,null,a.createElement("path",{d:"M172,164a12,12,0,0,1-12,12H96a12,12,0,0,1,0-24h64A12,12,0,0,1,172,164Zm-12-52H96a12,12,0,0,0,0,24h64a12,12,0,0,0,0-24Zm60-64V216a20,20,0,0,1-20,20H56a20,20,0,0,1-20-20V48A20,20,0,0,1,56,28H90.53a51.88,51.88,0,0,1,74.94,0H200A20,20,0,0,1,220,48ZM100.29,60h55.42a28,28,0,0,0-55.42,0ZM196,52H178.59A52.13,52.13,0,0,1,180,64v8a12,12,0,0,1-12,12H88A12,12,0,0,1,76,72V64a52.13,52.13,0,0,1,1.41-12H60V212H196Z"}))],["duotone",a.createElement(a.Fragment,null,a.createElement("path",{d:"M208,48V216a8,8,0,0,1-8,8H56a8,8,0,0,1-8-8V48a8,8,0,0,1,8-8H96a39.83,39.83,0,0,0-8,24v8h80V64a39.83,39.83,0,0,0-8-24h40A8,8,0,0,1,208,48Z",opacity:"0.2"}),a.createElement("path",{d:"M168,152a8,8,0,0,1-8,8H96a8,8,0,0,1,0-16h64A8,8,0,0,1,168,152Zm-8-40H96a8,8,0,0,0,0,16h64a8,8,0,0,0,0-16Zm56-64V216a16,16,0,0,1-16,16H56a16,16,0,0,1-16-16V48A16,16,0,0,1,56,32H92.26a47.92,47.92,0,0,1,71.48,0H200A16,16,0,0,1,216,48ZM96,64h64a32,32,0,0,0-64,0ZM200,48H173.25A47.93,47.93,0,0,1,176,64v8a8,8,0,0,1-8,8H88a8,8,0,0,1-8-8V64a47.93,47.93,0,0,1,2.75-16H56V216H200Z"}))],["fill",a.createElement(a.Fragment,null,a.createElement("path",{d:"M200,32H163.74a47.92,47.92,0,0,0-71.48,0H56A16,16,0,0,0,40,48V216a16,16,0,0,0,16,16H200a16,16,0,0,0,16-16V48A16,16,0,0,0,200,32Zm-72,0a32,32,0,0,1,32,32H96A32,32,0,0,1,128,32Zm32,128H96a8,8,0,0,1,0-16h64a8,8,0,0,1,0,16Zm0-32H96a8,8,0,0,1,0-16h64a8,8,0,0,1,0,16Z"}))],["light",a.createElement(a.Fragment,null,a.createElement("path",{d:"M166,152a6,6,0,0,1-6,6H96a6,6,0,0,1,0-12h64A6,6,0,0,1,166,152Zm-6-38H96a6,6,0,0,0,0,12h64a6,6,0,0,0,0-12Zm54-66V216a14,14,0,0,1-14,14H56a14,14,0,0,1-14-14V48A14,14,0,0,1,56,34H93.17a45.91,45.91,0,0,1,69.66,0H200A14,14,0,0,1,214,48ZM94,64v2h68V64a34,34,0,0,0-68,0ZM202,48a2,2,0,0,0-2-2H170.33A45.77,45.77,0,0,1,174,64v8a6,6,0,0,1-6,6H88a6,6,0,0,1-6-6V64a45.77,45.77,0,0,1,3.67-18H56a2,2,0,0,0-2,2V216a2,2,0,0,0,2,2H200a2,2,0,0,0,2-2Z"}))],["regular",a.createElement(a.Fragment,null,a.createElement("path",{d:"M168,152a8,8,0,0,1-8,8H96a8,8,0,0,1,0-16h64A8,8,0,0,1,168,152Zm-8-40H96a8,8,0,0,0,0,16h64a8,8,0,0,0,0-16Zm56-64V216a16,16,0,0,1-16,16H56a16,16,0,0,1-16-16V48A16,16,0,0,1,56,32H92.26a47.92,47.92,0,0,1,71.48,0H200A16,16,0,0,1,216,48ZM96,64h64a32,32,0,0,0-64,0ZM200,48H173.25A47.93,47.93,0,0,1,176,64v8a8,8,0,0,1-8,8H88a8,8,0,0,1-8-8V64a47.93,47.93,0,0,1,2.75-16H56V216H200Z"}))],["thin",a.createElement(a.Fragment,null,a.createElement("path",{d:"M164,152a4,4,0,0,1-4,4H96a4,4,0,0,1,0-8h64A4,4,0,0,1,164,152Zm-4-36H96a4,4,0,0,0,0,8h64a4,4,0,0,0,0-8Zm52-68V216a12,12,0,0,1-12,12H56a12,12,0,0,1-12-12V48A12,12,0,0,1,56,36H94.08a44,44,0,0,1,67.84,0H200A12,12,0,0,1,212,48ZM92,64v4h72V64a36,36,0,0,0-72,0ZM204,48a4,4,0,0,0-4-4H167.17A43.71,43.71,0,0,1,172,64v8a4,4,0,0,1-4,4H88a4,4,0,0,1-4-4V64a43.71,43.71,0,0,1,4.83-20H56a4,4,0,0,0-4,4V216a4,4,0,0,0,4,4H200a4,4,0,0,0,4-4Z"}))]]),m=a.forwardRef((i,r)=>a.createElement(x,{ref:r,...i,weights:V}));m.displayName="ClipboardTextIcon";const E=m,g={findings:"Leaks",buyers:"Buyers",copy:"Copy",offer:"Offer",design:"Design",competitors:"Competitor Spy",traffic:"Traffic Fit",tests:"Tests"};function B(i){const r=i.map(n=>g[n]);return r.length===0?"Weâre turning your whole audit into one brief for the concepts. Review it before the first concept run so you set the creative direction.":r.length===1?`Built from your ${r[0]} findings.`:r.length===2?`Built from your ${r[0]} and ${r[1]} findings.`:`Built from your ${r.slice(0,-1).join(", ")} and ${r[r.length-1]} findings.`}function w({coverage:i=[],status:r="ready",version:n=null,summary:t,reviewing:d=!1,onReview:p}){const c=r==="synthesizing"?"reviewing":r==="ready"?"ready":"blocked",s=r==="synthesizing"?"Building your brief from the audit now":r==="locked"?`Set for this concept run${n?` · Brief v${n}`:""}`:r==="unavailable"?"Brief review is temporarily unavailable":`Ready to review${n?` · Brief v${n}`:""}`;return e.jsxs(H,{as:"section",padding:"standard",className:"r5-live-brief",children:[e.jsx("span",{className:"r5-live-brief-icon","aria-hidden":!0,
1children:e.jsx(E,{size:21,weight:"duotone"})}),e.jsxs("span",{className:"r5-live-brief-copy",children:[e.jsx("strong",{children:"Your audit is shaping the concepts"}),e.jsx("span",{className:"r5-live-brief-summary",children:t?.trim()||(i.length>0?null:B(i))}),e.jsx(k,{state:c,label:s})]}),i.length>0&&e.jsx("span",{className:"r5-live-brief-coverage","aria-label":"Audit coverage",children:i.map(l=>e.jsxs("span",{children:[e.jsx(j,{size:12,weight:"bold","aria-hidden":!0}),g[l]]},l))}),p&&e.jsx(Z,{variant:"secondary",onClick:p,disabled:d||r==="synthesizing"||r==="unavailable",className:"r5-live-brief-action",children:d?"Opening reviewâ¦":"Review and steer"})]})}function C(i){return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:h}),e.jsx(w,{...i})]})}function z({children:i,className:r,suppressEngineHeader:n=!0,briefReview:t}){return e.jsxs("section",{className:["r5-live-workflow","r5-live-workflow--concepts",t?"":"r5-live-workflow--bare",n?"r5-live-workflow--suppress-engine-head":"",r].filter(Boolean).join(" "),children:[e.jsx("style",{children:h}),t&&e.jsxs(e.Fragment,{children:[e.jsx("header",{className:"r5-live-workflow-head",children:e.jsx(f,{title:"Your design concepts"})}),e.jsx(w,{...t})]}),e.jsx("div",{className:"r5-live-workflow-engine",children:i})]})}function S({children:i,className:r,suppressEngineHeader:n=!0,phase:t="prepare",brandLabel:d,pageNoun:p,headingLevel:c="h1"}){const s=p?.trim()||"landing page",l=d?.trim()??"",o={prepare:{lead:"Build your ",trail:"",sub:l},building:{lead:"Your new ",trail:"",sub:l},ready:{lead:"Your new ",trail:" is ready",sub:""},failed:{lead:"Your ",trail:" build",sub:l}}[t],u=`${o.lead}${s}${o.trail}`,v=/funnel/i.test(s)?A:y;return e.jsxs("section",{className:["r5-live-workflow","r5-live-workflow--landing",n?"r5-live-workflow--suppress-engine-head":"",r].filter(Boolean).join(" "),children:[e.jsx("style",{children:h}),c==="h2"?e.jsxs("header",{className:"r5-live-workflow-head r5-live-workflow-head--sub",children:[e.jsxs("h2",{children:[u,"."]}),o.sub?e.jsx("p",{children:o.sub}):null]}):e.jsx("header",{className:"r5-live-workflow-head",children:e.jsx(f,{rich:!0,title:e.jsxs(e.Fragment,{children:[o.lead,e.jsx(b,{icon:v,children:s}),o.trail]}),description:o.sub||void 0})}),e.jsx("div",{className:"r5-live-workflow-stage",children:e.jsx("div",{className:"r5-live-workflow-engine",children:i})})]})}const h=` 2.r5-live-workflow { position: relative; width: 100%; max-width: 1180px; } 3.r5-live-workflow-head { max-width: 940px; } 4.r5-live-workflow-engine { min-width: 0; margin-top: 28px; } 5 6/* Demoted section heading (headingLevel="h2"): the host page owns the H1. */ 7.r5-live-workflow-head--sub h2 { 8 margin: 0; 9 font-size: 28px; 10 font-weight: 800; 11 letter-spacing: -0.02em; 12 line-height: 1.08; 13} 14.r5-live-workflow-head--sub p { 15 margin: 8px 0 0; 16 color: var(--ppc-text-muted); 17 font-size: 15px; 18 line-height: 1.5; 19} 20 21/* One centralized, automatic brief review â never a row of save buttons. */ 22.r5-live-brief { 23 display: grid; grid-template-columns: 42px minmax(220px, 1fr) auto auto; 24 align-items: center; gap: 13px 18px; margin-top: 24px; padding: 17px 18px; 25} 26.r5-live-brief-icon { 27 width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; 28 border: .5px solid var(--ppc-card-border); border-radius: var(--ppc-radius-control); 29 background: var(--ppc-panel-soft); color: var(--ppc-purple-700); 30} 31.r5-live-brief-copy { min-width: 0; display: grid; justify-items: start; gap: 6px; } 32.r5-live-brief-copy > strong { color: var(--ppc-ink); font-size: 16px; line-height: 1.25; } 33.r5-live-brief-summary { color: var(--ppc-text-muted); font-size: 14px; font-weight: 500; line-height: 1.5; } 34.r5-live-brief-summary:empty { display: none; } 35.r5-live-brief-coverage { display: flex; max-width: 280px; gap: 6px; flex-wrap: wrap; justify-content: flex-end; } 36.r5-live-brief-coverage > span { 37 display: inline-flex; align-items: center; gap: 4px; min-height: 28px; padding: 4px 9px; 38 border: .5px solid var(--ppc-card-border); border-radius: var(--ppc-radius-chip, 10px); background: var(--ppc-panel-soft); 39 color: var(--ppc-ink); font-size: 13px; font-weight: 700; white-space: nowrap; 40} 41.r5-live-brief-action { white-space: nowrap; } 42 43/* Each durable engine state now owns its one dominant work object (locked receipt, 44 evolving page, reveal browser or recovery card). The wrapper supplies spacing, 45 not a second card/shadow around that object. */ 46.r5-live-workflow-stage { margin-top: 28px; min-width: 0; } 47.r5-live-workflow-stage .r5-live-workflow-engine { margin-top: 0; } 48.r5-live-workflow--landing .r5-live-workflow-engine > .mx-auto { 49 max-width: none !important; padding-left: 0 !important; padding-right: 0 !important; 50} 51 52/* Current-engine header contract. The host may add data-r5-engine-header to 53 any future engine heading wrapper; the known July-2026 engine shapes are 54 covered below so no backend component edit is required today. */ 55.r5-live-workflow--suppress-engine-head [data-r5-engine-header] { display: none !important; } 56.r5-live-workflow--concepts.r5-live-workflow--suppress-engine-head 57 .ac-curator[data-curator-mode="pre_build"] > .space-y-12 > :first-child { display: none !important; } 58.r5-live-workflow--concepts.r5-live-workflow--suppress-engine-head 59 .r5-live-workflow-engine > div:not(.ac-curator) > h2:first-of-type { display: none !important; } 60.r5-live-workflow--concepts.r5-live-workflow--suppress-engine-head 61 .r5-live-workflow-engine > div:not(.ac-curator) > span:first-child { display: none !important; } 62.r5-live-workflow--landing.r5-live-workflow--suppress-engine-head 63 .r5-live-workflow-engine > div > h1:first-of-type { display: none !important; } 64 65/* Bring inline legacy-engine primary buttons onto the PPC.io control law 66 without taking ownership of their click handlers or disabled state. */ 67.r5-live-workflow-engine button[style*="var(--ember"] { 68 color: var(--ppc-card) !important; border: .5px solid var(--ppc-purple-700) !important; 69 border-radius: var(--ppc-radius-control) !important; box-shadow: var(--ppc-shadow-control) !important; 70} 71 72@media (max-width: 900px) { 73 .r5-live-brief { grid-template-columns: 42px minmax(0, 1fr) auto; } 74 .r5-live-brief-coverage { grid-column: 2 / -1; justify-content: flex-start; max-width: none; } 75} 76@media (max-width: 620px) { 77 .r5-live-workflow-engine { margin-top: 22px; } 78 .r5-live-brief { grid-template-columns: 38px minmax(0, 1fr); padding: 15px; } 79 .r5-live-brief-icon { width: 38px; height: 38px; } 80 .r5-live-brief-coverage, .r5-live-brief-action { grid-column: 1 / -1; justify-self: stretch; } 81 .r5-live-brief-action { width: 100%; } 82 .r5-live-workflow-stage { margin-top: 22px; } 83} 84`;export{C as R5BuildBriefReviewCard,z as R5ConceptWorkflowSurface,S as R5LandingPageWorkflowSurface};
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.