PageSourceSearch

https://forzi.ai/assets/ContentStrategyAdvisor-BYXuXbIz.js

js forzi.ai collected 2026-10-05 13:43:23 UTC 6,063 bytes, 1 lines download raw bytes

1import{r as w,j as e,bg as z,I as m,t as S,B as d,aj as k,ak as D,al as T,E as L}from"./index-DZhdmuyI.js";import{L as c}from"./label-C6XqPx8a.js";import{u as P,T as A}from"./useToolGeneration-dsnBr_92.js";import{S as g}from"./StagedLoader-Bte4jdjT.js";import{D as B}from"./DownloadMenu-BXOLbMbe.js";import{u as E}from"./useAdvisorPage-DPU0Erv3.js";import{S as K}from"./sparkles-CRJ17_4h.js";import{m as M}from"./proxy-DP3iu0GK.js";import{C as I}from"./circle-stop-ZmxUzgsG.js";import{R}from"./refresh-ccw-DWqFkqNV.js";import{C as F}from"./copy-C-7SmP1P.js";import"./KpiLogCard-itvlxXLG.js";import"./check-BgyEZRFo.js";import"./chart-line-BeilTpnL.js";import"./arrow-left-BeReTZeS.js";import"./aiStream-BPW-kbUn.js";import"./pdfExport-yyIaYM_m.js";import"./dashboardLogic-CCcGOZz6.js";import"./adaptiveEngine-CYHBfJuA.js";import"./uocmf-BWQwOS3y.js";import"./index-B2uHzqzI.js";import"./sheet-B2zf51Z7.js";import"./index-TKMigujh.js";import"./Combination-Yd-JwnBm.js";import"./history-7rYpmc7h.js";import"./clock-CupRnpKb.js";import"./formatDistanceToNow-C5NMARHg.js";import"./en-US-CXXYYhpC.js";import"./chevron-right-BaQF1Fk3.js";import"./FileSaver.min-DSNESW1V.js";import"./dropdown-menu-BllvjZMJ.js";import"./index-CVuUG8eZ.js";import"./index-CzajfOBO.js";import"./circle-2c8ewn5p.js";import"./download-ChtTWRPk.js";import"./presentation-CDxwoNci.js";import"./diagnosticConfig-BRdahMvW.js";import"./africanCountries-DI5EvdyG.js";const h=["Reading workspace context…","Mapping content pillars and platform strategy…","Designing content-to-monetization bridge…","Building compound content system…"],we=()=>{const[t,s]=w.useState({niche:"",primary_platform:"",audience_size:"",monetization_stage:"",content_challenge:""}),{output:r,streaming:i,generate:x,stop:u,reset:y,loadHistoryOutput:b,downloadPDF:v,downloadDOCX:f,chainId:j}=P({assetType:"content_strategy_advisor",title:"Content Strategy Advisor",advisorKey:"content-strategy-advisor"}),o=E("content-strategy-advisor"),_=a=>s({niche:a.niche??"",primary_platform:a.primary_platform??"",audience_size:a.audience_size??"",monetization_stage:a.monetization_stage??"",content_challenge:a.content_challenge??""}),N=t.niche.trim()&&t.primary_platform.trim(),n=o.labels??{},l=o.placeholders??{};return e.jsx(A,{output:r,chainId:j,icon:z,title:o.title||"Content Strategy Advisor",description:o.description||"Design a content pillar architecture, platform strategy, and content-to-monetization bridge for your creator or personal brand.",assetType:"content_strategy_advisor",onHistoryLoad:b,children:!r&&!i?e.jsxs("div",{className:"space-y-5",children:[o.prompts.length>0&&e.jsxs("div",{children:[e.jsxs("p",{className:"text-xs text-muted-foreground mb-2 flex items-center gap-1",children:[e.jsx(K,{className:"h-3 w-3 text-primary"})," Try an example"]}),e.jsx("div",{className:"flex flex-wrap gap-2",children:o.prompts.map((a,C)=>{var p;return e.jsxs("button",{onClick:()=>_(a),className:"text-xs px-3 py-1.5 rounded-full border border-border bg-card/50 text-muted-foreground hover:border-primary/40 hover:text-primary transition-colors",children:[(p=a.niche)==null?void 0:p.slice(0,55),a.niche&&a.niche.length>55?"…":""]},C)})})]}),e.jsxs("div",{className:"space-y-4",children:[e.jsxs("div",{className:"space-y-2",children:[e.jsx(c,{children:n.niche??"Niche / Content Category"}),e.jsx(m,{placeholder:l.niche??"e.g. Personal finance for first-generation wealth builders",className:"bg-card border-border",value:t.niche,onChange:a=>s({...t,niche:a.target.value})})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(c,{children:n.primary_platform??"Primary Platform"}),e.jsx(m,{placeholder:l.primary_platform??"e.g. YouTube — long-form explainers and case studies",className:"bg-card border-border",value:t.primary_platform,onChange:a=>s({...t,primary_platform:a.target.value})})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(c,{children:n.audience_size??"Current audience size"}),e.jsx(m,{placeholder:l.audience_size??"e.g. 12K YouTube subscribers, 4K email list, 8K Instagram",className:"bg-card border-border",value:t.audie
1nce_size,onChange:a=>s({...t,audience_size:a.target.value})})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(c,{children:n.monetization_stage??"Monetization stage"}),e.jsx(m,{placeholder:l.monetization_stage??"e.g. Brand deals only — no owned products yet, target $10K/mo",className:"bg-card border-border",value:t.monetization_stage,onChange:a=>s({...t,monetization_stage:a.target.value})})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(c,{children:n.content_challenge??"Primary content challenge"}),e.jsx(S,{placeholder:l.content_challenge??"e.g. Content feels scattered across too many topics — I have no clear pillar strategy and consistency is low",className:"bg-card border-border",value:t.content_challenge,onChange:a=>s({...t,content_challenge:a.target.value})})]})]}),e.jsx(d,{variant:"hero",size:"lg",className:"w-full",onClick:()=>x({...t}),disabled:!N,children:o.generateLabel??"Build Content Strategy"})]}):e.jsxs(M.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},className:"space-y-4",children:[e.jsxs("div",{className:"rounded-2xl border border-border bg-card/50 p-6 min-h-[400px] relative overflow-hidden",children:[i&&!r&&e.jsx(g,{active:i,messages:h,className:"mt-20"}),r&&e.jsx(k,{content:r,streaming:i}),i&&r&&e.jsx("div",{className:"mt-4 border-t border-border pt-4",children:e.jsx(g,{active:!0,messages:h})})]}),e.jsx("div",{className:"flex gap-2",children:i?e.jsxs(d,{variant:"outline",className:"flex-1",onClick:u,children:[e.jsx(I,{className:"h-4 w-4 mr-2"})," Stop"]}):e.jsxs(e.Fragment,{children:[e.jsxs(d,{variant:"outline",className:"flex-1",onClick:y,children:[e.jsx(R,{className:"h-4 w-4 mr-2"})," New Analysis"]}),e.jsx(B,{onDownloadPDF:v,onDownloadDOCX:f,className:"flex-1"}),e.jsxs(d,{variant:"hero",className:"flex-1",onClick:()=>{navigator.clipboard.writeText(D(T(r))),L.success("Copied to clipboard")},children:[e.jsx(F,{className:"h-4 w-4 mr-2"})," Copy Output"]})]})})]})})};export{we 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.