PageSourceSearch

https://brandreel.com/assets/_slug-CMfbNvCa.js

js brandreel.com collected 2026-10-09 22:56:56 UTC 3,563 bytes, 4 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]="01a00a69-1f22-7781-bdf5-279f177cf4a9")}catch(e){}}();import{r as d,j as e,g as o,ac as c,q as x,A as m,C as u,ca as f,cr as p,cs as h,P as g,F as j}from"./index-JSH-Qnfn.js";import{T as b}from"./terminal-BvGGKdH-.js";function N({prompt:s}){const[n,a]=d.useState(null),r=async(t,l)=>{await navigator.clipboard.writeText(t),a(l),window.setTimeout(()=>a(null),1600)};return e.jsx("main",{className:"flex-1 px-6 py-12 sm:py-16",children:e.jsxs("div",{className:"mx-auto max-w-5xl",children:[e.jsxs(o,{to:"/agents",className:"inline-flex items-center gap-2 text-sm font-semibold text-muted-foreground hover:text-foreground",children:[e.jsx(c,{className:"size-4"})," All agent playbooks"]}),e.jsxs("div",{className:"mt-8 grid gap-10 lg:grid-cols-[1fr_0.9fr]",children:[e.jsxs("div",{children:[e.jsx("div",{className:"mb-5 flex size-12 items-center justify-center rounded-2xl bg-brand-studio-blue/10 text-brand-studio-blue",children:e.jsx(s.icon,{className:"size-6"})}),e.jsx("h1",{className:"text-4xl font-black tracking-tight text-foreground sm:text-6xl",children:s.title}),e.jsx("p",{className:"mt-5 text-lg leading-8 text-muted-foreground",children:s.summary}),e.jsx("div",{className:"mt-10 space-y-6",children:s.steps.map((t,l)=>e.jsxs("div",{className:"flex gap-4",children:[e.jsx("span",{className:"flex size-8 shrink-0 items-center justify-center rounded-full bg-brand-studio-blue text-sm font-bold text-white",children:l+1}),e.jsxs("div",{children:[e.jsx("h2",{className:"font-bold text-foreground",children:t.title}),e.jsx("p",{className:"mt-1 leading-7 text-muted-foreground",children:t.text})]})]},t.title))})]}),e.jsxs("div",{className:"space-y-5",children:[e.jsx(i,{title:"Copy this prompt",value:s.prompt,copied:n==="prompt",onCopy:()=>{r(s.prompt,"prompt")}}),e.jsx(i,{title:"CLI commands for this workflow",value:s.commands,copied:n==="commands",onCopy:()=>{r(s.commands,"commands")},mono:!0}),e.jsx(x,{asChild:!0,className:"w-full",children:e.jsxs(o,{to:"/dashboard/api-key",children:["Create an API key ",e.jsx(m,{className:"size-4"})]})})]})]})]})})}function i({title:s,value:n,copied:a,onCopy:r,mono:t=!1}){return e.jsxs("section",{className:"overflow-hidden rounded-2xl border border-border bg-card shadow-sm",children:[e.jsxs("div",{className:"flex items-center justify-between border-b border-border px-5 py-3",children:[e.jsxs("span",{className:"flex items-center gap-2 text-sm font-bold",children:[e.jsx(b,{className:"size-4 text-brand-studio-blue"}),s]}),e.jsxs("button",{type:"button",onClick:r,className:"inline-flex items-center gap-1.5 rounded-lg px-2 py-1 text-xs font-semibold text-muted-foreground hover:bg-muted hover:text-foreground",children:[a?e.jsx(u,{className:"size-3.5"}):e.jsx(f,{className:"size-3.5"}),a?"Copied":"Copy"]})]}),e.jsx("pre",{className:`whitespace-pre-wrap p-5 text-sm leading-7 ${t?"font-mono":"font-sans"}`,children:n})]})}function w(){const s=p(h.useParams().slug);return e.jsxs("div",{className:"flex min-h-svh flex-col bg-background",children:[e.jsx(g,{}),s?e.jsx(N,{prompt:s}):e.jsx("main",{className:"flex-1 px-6 py-24 text-center",children:e.jsx("h1",{className:"text-4xl font-black",children:"Workflow not found"})}),e.jsx(j,{})]})}export{w as component};
2//# sourceMappingURL=_slug-CMfbNvCa.js.map
3
4//# chunkId=01a00a69-1f22-7781-bdf5-279f177cf4a9

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.