vibebusiness 1.2.71 → 1.2.72

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (109) hide show
  1. package/.next/standalone/.next/BUILD_ID +1 -1
  2. package/.next/standalone/.next/app-build-manifest.json +41 -25
  3. package/.next/standalone/.next/app-path-routes-manifest.json +1 -1
  4. package/.next/standalone/.next/build-manifest.json +4 -4
  5. package/.next/standalone/.next/prerender-manifest.json +1 -1
  6. package/.next/standalone/.next/routes-manifest.json +1 -1
  7. package/.next/standalone/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
  8. package/.next/standalone/.next/server/app/_not-found.html +1 -1
  9. package/.next/standalone/.next/server/app/_not-found.rsc +1 -1
  10. package/.next/standalone/.next/server/app/api/analyze/route.js +1 -1
  11. package/.next/standalone/.next/server/app/api/analyze/route.js.nft.json +1 -1
  12. package/.next/standalone/.next/server/app/api/config/route.js +1 -1
  13. package/.next/standalone/.next/server/app/api/config/route.js.nft.json +1 -1
  14. package/.next/standalone/.next/server/app/api/epics/[id]/ideas/route.js +1 -1
  15. package/.next/standalone/.next/server/app/api/epics/[id]/ideas/route.js.nft.json +1 -1
  16. package/.next/standalone/.next/server/app/api/epics/[id]/route.js +1 -1
  17. package/.next/standalone/.next/server/app/api/epics/[id]/route.js.nft.json +1 -1
  18. package/.next/standalone/.next/server/app/api/epics/route.js +1 -1
  19. package/.next/standalone/.next/server/app/api/epics/route.js.nft.json +1 -1
  20. package/.next/standalone/.next/server/app/api/goals/[id]/kpis/route.js +1 -1
  21. package/.next/standalone/.next/server/app/api/goals/[id]/kpis/route.js.nft.json +1 -1
  22. package/.next/standalone/.next/server/app/api/goals/[id]/route.js +1 -1
  23. package/.next/standalone/.next/server/app/api/goals/[id]/route.js.nft.json +1 -1
  24. package/.next/standalone/.next/server/app/api/goals/route.js +1 -1
  25. package/.next/standalone/.next/server/app/api/goals/route.js.nft.json +1 -1
  26. package/.next/standalone/.next/server/app/api/hypotheses/[id]/route.js +1 -1
  27. package/.next/standalone/.next/server/app/api/hypotheses/[id]/route.js.nft.json +1 -1
  28. package/.next/standalone/.next/server/app/api/hypotheses/route.js +1 -1
  29. package/.next/standalone/.next/server/app/api/hypotheses/route.js.nft.json +1 -1
  30. package/.next/standalone/.next/server/app/api/ideas/[id]/card/route.js +1 -1
  31. package/.next/standalone/.next/server/app/api/ideas/[id]/card/route.js.nft.json +1 -1
  32. package/.next/standalone/.next/server/app/api/ideas/[id]/comments/route.js +1 -1
  33. package/.next/standalone/.next/server/app/api/ideas/[id]/comments/route.js.nft.json +1 -1
  34. package/.next/standalone/.next/server/app/api/ideas/[id]/implement/route.js +1 -1
  35. package/.next/standalone/.next/server/app/api/ideas/[id]/implement/route.js.nft.json +1 -1
  36. package/.next/standalone/.next/server/app/api/ideas/[id]/route.js +1 -1
  37. package/.next/standalone/.next/server/app/api/ideas/[id]/route.js.nft.json +1 -1
  38. package/.next/standalone/.next/server/app/api/ideas/[id]/transition/route.js +1 -1
  39. package/.next/standalone/.next/server/app/api/ideas/[id]/transition/route.js.nft.json +1 -1
  40. package/.next/standalone/.next/server/app/api/ideas/route.js +1 -1
  41. package/.next/standalone/.next/server/app/api/ideas/route.js.nft.json +1 -1
  42. package/.next/standalone/.next/server/app/api/implementations/route.js +1 -1
  43. package/.next/standalone/.next/server/app/api/implementations/route.js.nft.json +1 -1
  44. package/.next/standalone/.next/server/app/api/kpis/refresh/route.js +1 -1
  45. package/.next/standalone/.next/server/app/api/kpis/refresh/route.js.nft.json +1 -1
  46. package/.next/standalone/.next/server/app/goals/[id]/page_client-reference-manifest.js +1 -1
  47. package/.next/standalone/.next/server/app/goals/page.js +1 -1
  48. package/.next/standalone/.next/server/app/goals/page.js.nft.json +1 -1
  49. package/.next/standalone/.next/server/app/goals/page_client-reference-manifest.js +1 -1
  50. package/.next/standalone/.next/server/app/hypotheses/[id]/page_client-reference-manifest.js +1 -1
  51. package/.next/standalone/.next/server/app/hypotheses/page.js +1 -1
  52. package/.next/standalone/.next/server/app/hypotheses/page.js.nft.json +1 -1
  53. package/.next/standalone/.next/server/app/hypotheses/page_client-reference-manifest.js +1 -1
  54. package/.next/standalone/.next/server/app/ideas/[id]/page.js +1 -1
  55. package/.next/standalone/.next/server/app/ideas/[id]/page.js.nft.json +1 -1
  56. package/.next/standalone/.next/server/app/ideas/[id]/page_client-reference-manifest.js +1 -1
  57. package/.next/standalone/.next/server/app/page.js +1 -1
  58. package/.next/standalone/.next/server/app/page.js.nft.json +1 -1
  59. package/.next/standalone/.next/server/app/page_client-reference-manifest.js +1 -1
  60. package/.next/standalone/.next/server/app/roadmap/[id]/page_client-reference-manifest.js +1 -1
  61. package/.next/standalone/.next/server/app/roadmap/investors/page.js +1 -0
  62. package/.next/standalone/.next/server/app/roadmap/investors/page.js.nft.json +1 -0
  63. package/.next/standalone/.next/server/app/roadmap/investors/page_client-reference-manifest.js +1 -0
  64. package/.next/standalone/.next/server/app/roadmap/page.js +1 -1
  65. package/.next/standalone/.next/server/app/roadmap/page.js.nft.json +1 -1
  66. package/.next/standalone/.next/server/app/roadmap/page_client-reference-manifest.js +1 -1
  67. package/.next/standalone/.next/server/app/roadmap/public/page.js +1 -0
  68. package/.next/standalone/.next/server/app/roadmap/public/page.js.nft.json +1 -0
  69. package/.next/standalone/.next/server/app/roadmap/public/page_client-reference-manifest.js +1 -0
  70. package/.next/standalone/.next/server/app/sessions/page.js +1 -1
  71. package/.next/standalone/.next/server/app/sessions/page.js.nft.json +1 -1
  72. package/.next/standalone/.next/server/app/sessions/page_client-reference-manifest.js +1 -1
  73. package/.next/standalone/.next/server/app/settings/page_client-reference-manifest.js +1 -1
  74. package/.next/standalone/.next/server/app/settings.html +1 -1
  75. package/.next/standalone/.next/server/app/settings.rsc +1 -1
  76. package/.next/standalone/.next/server/app/social/page_client-reference-manifest.js +1 -1
  77. package/.next/standalone/.next/server/app/social.html +1 -1
  78. package/.next/standalone/.next/server/app/social.rsc +1 -1
  79. package/.next/standalone/.next/server/app/updates/[id]/page.js +1 -1
  80. package/.next/standalone/.next/server/app/updates/[id]/page.js.nft.json +1 -1
  81. package/.next/standalone/.next/server/app/updates/[id]/page_client-reference-manifest.js +1 -1
  82. package/.next/standalone/.next/server/app/updates/new/page_client-reference-manifest.js +1 -1
  83. package/.next/standalone/.next/server/app/updates/new.html +1 -1
  84. package/.next/standalone/.next/server/app/updates/new.rsc +1 -1
  85. package/.next/standalone/.next/server/app/updates/page.js +1 -1
  86. package/.next/standalone/.next/server/app/updates/page.js.nft.json +1 -1
  87. package/.next/standalone/.next/server/app/updates/page_client-reference-manifest.js +1 -1
  88. package/.next/standalone/.next/server/app-paths-manifest.json +17 -15
  89. package/.next/standalone/.next/server/chunks/3871.js +1 -0
  90. package/.next/standalone/.next/server/chunks/6299.js +1 -0
  91. package/.next/standalone/.next/server/middleware-build-manifest.js +1 -1
  92. package/.next/standalone/.next/server/pages/404.html +1 -1
  93. package/.next/standalone/.next/server/pages/500.html +1 -1
  94. package/.next/standalone/.next/server/server-reference-manifest.json +1 -1
  95. package/.next/standalone/data/business-context.json +1 -1
  96. package/.next/standalone/data/goals.json +1 -1
  97. package/.next/standalone/data/social.json +25 -1
  98. package/.next/standalone/package.json +1 -1
  99. package/.next/static/chunks/app/ideas/[id]/page-b3dfe1e61fc656a4.js +1 -0
  100. package/.next/static/chunks/app/roadmap/investors/page-0095ea5695573796.js +1 -0
  101. package/.next/static/chunks/app/roadmap/public/page-6b791041894b76d2.js +1 -0
  102. package/.next/static/chunks/{main-d878b9441f29f13f.js → main-6ee938c5db2d5eb4.js} +1 -1
  103. package/.next/static/css/ba6f5fe78931fee2.css +3 -0
  104. package/package.json +1 -1
  105. package/.next/standalone/.next/server/chunks/534.js +0 -1
  106. package/.next/static/chunks/app/ideas/[id]/page-6d4f51cb25e7572d.js +0 -1
  107. package/.next/static/css/de9b407f2c259a06.css +0 -3
  108. /package/.next/static/{BBUKuE5twK2GcPPZZcp4j → qWTqRsgVgvrJaCLjUfRzd}/_buildManifest.js +0 -0
  109. /package/.next/static/{BBUKuE5twK2GcPPZZcp4j → qWTqRsgVgvrJaCLjUfRzd}/_ssgManifest.js +0 -0
@@ -1 +1 @@
1
- {"version":1,"files":["../../../../../data/.DS_Store","../../../../../data/.analysis-prompt.txt","../../../../../data/.gitkeep","../../../../../data/business-context.json","../../../../../data/codebase-snapshot.json","../../../../../data/competitors.json","../../../../../data/config.json","../../../../../data/copy/landing-improvements-2026-02-20.md","../../../../../data/copy/landing-landing-page-2026-02-20.md","../../../../../data/email-campaigns/sequences/onboarding.md","../../../../../data/email-campaigns/welcome-2026-02-20.md","../../../../../data/goals.json","../../../../../data/heartbeat-sessions.json","../../../../../data/hypotheses.json","../../../../../data/ideas.json","../../../../../data/implementations.json","../../../../../data/investor-updates.json","../../../../../data/marketplace-positioning.json","../../../../../data/pages.json","../../../../../data/payments.json","../../../../../data/positioning.json","../../../../../data/posthog.json","../../../../../data/reports/.DS_Store","../../../../../data/reports/visuals/idea-lp-og-meta-card.png","../../../../../data/reports/visuals/idea-readme-landing-url-card.png","../../../../../data/reports/visuals/idea-stripe-integration-card.png","../../../../../data/reports/visuals/promo-launch.png","../../../../../data/reports/visuals/promo-ship-fast.png","../../../../../data/reports/visuals/promo-while-you-slept-v2.png","../../../../../data/reports/visuals/promo-while-you-slept-v3.png","../../../../../data/reports/visuals/promo-while-you-slept.png","../../../../../data/roadmap.json","../../../../../data/sessions.json","../../../../../data/social.json","../../../../../data/video-ideas.md","../../../../../node_modules/next/dist/client/components/action-async-storage-instance.js","../../../../../node_modules/next/dist/client/components/action-async-storage.external.js","../../../../../node_modules/next/dist/client/components/async-local-storage.js","../../../../../node_modules/next/dist/client/components/request-async-storage-instance.js","../../../../../node_modules/next/dist/client/components/request-async-storage.external.js","../../../../../node_modules/next/dist/client/components/static-generation-async-storage-instance.js","../../../../../node_modules/next/dist/client/components/static-generation-async-storage.external.js","../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../node_modules/next/package.json","../../../../../package.json","../../../../package.json","../../../chunks/534.js","../../../chunks/5972.js","../../../chunks/9276.js","../../../webpack-runtime.js"]}
1
+ {"version":1,"files":["../../../../../data/.DS_Store","../../../../../data/.analysis-prompt.txt","../../../../../data/.gitkeep","../../../../../data/business-context.json","../../../../../data/codebase-snapshot.json","../../../../../data/competitors.json","../../../../../data/config.json","../../../../../data/copy/landing-improvements-2026-02-20.md","../../../../../data/copy/landing-landing-page-2026-02-20.md","../../../../../data/email-campaigns/sequences/onboarding.md","../../../../../data/email-campaigns/welcome-2026-02-20.md","../../../../../data/goals.json","../../../../../data/heartbeat-sessions.json","../../../../../data/hypotheses.json","../../../../../data/ideas.json","../../../../../data/implementations.json","../../../../../data/investor-updates.json","../../../../../data/marketplace-positioning.json","../../../../../data/pages.json","../../../../../data/payments.json","../../../../../data/positioning.json","../../../../../data/posthog.json","../../../../../data/reports/.DS_Store","../../../../../data/reports/visuals/idea-lp-og-meta-card.png","../../../../../data/reports/visuals/idea-readme-landing-url-card.png","../../../../../data/reports/visuals/idea-stripe-integration-card.png","../../../../../data/reports/visuals/promo-launch.png","../../../../../data/reports/visuals/promo-ship-fast.png","../../../../../data/reports/visuals/promo-while-you-slept-v2.png","../../../../../data/reports/visuals/promo-while-you-slept-v3.png","../../../../../data/reports/visuals/promo-while-you-slept.png","../../../../../data/roadmap.json","../../../../../data/sessions.json","../../../../../data/social.json","../../../../../data/video-ideas.md","../../../../../node_modules/next/dist/client/components/action-async-storage-instance.js","../../../../../node_modules/next/dist/client/components/action-async-storage.external.js","../../../../../node_modules/next/dist/client/components/async-local-storage.js","../../../../../node_modules/next/dist/client/components/request-async-storage-instance.js","../../../../../node_modules/next/dist/client/components/request-async-storage.external.js","../../../../../node_modules/next/dist/client/components/static-generation-async-storage-instance.js","../../../../../node_modules/next/dist/client/components/static-generation-async-storage.external.js","../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../node_modules/next/package.json","../../../../../package.json","../../../../package.json","../../../chunks/5972.js","../../../chunks/6299.js","../../../chunks/9276.js","../../../webpack-runtime.js"]}
@@ -1 +1 @@
1
- "use strict";(()=>{var e={};e.id=3201,e.ids=[3201],e.modules={399:e=>{e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},517:e=>{e.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},4770:e=>{e.exports=require("crypto")},2048:e=>{e.exports=require("fs")},5315:e=>{e.exports=require("path")},898:(e,t,r)=>{r.r(t),r.d(t,{originalPathname:()=>O,patchFetch:()=>k,requestAsyncStorage:()=>y,routeModule:()=>v,serverHooks:()=>S,staticGenerationAsyncStorage:()=>w});var s={};r.r(s),r.d(s,{POST:()=>m});var a=r(9303),n=r(8716),i=r(670),o=r(7070),l=r(534);function c(e){let t;if(null===e.current_value||null===e.target_value)return"on_track";let r=e.current_value,s=e.target_value;return"lower_is_better"===e.direction?(t=0===s?0:r/s)<=1?"on_track":t<=1.5?"at_risk":"behind":(t=0===s?0:r/s)>=1?"on_track":t>=.7?"at_risk":"behind"}class p{constructor(e){this.type="rest_api",this.id=e.id;let t=e.config?.url_env||"BACKEND_URL";if(this.baseUrl=process.env[t]||process.env.NEXT_PUBLIC_API_URL||"http://localhost:8001",this.path=e.config?.path||"",this.headers={},e.config?.headers)for(let[t,r]of Object.entries(e.config.headers))this.headers[t]=this.interpolateEnvVars(r);let r=e.field_mapping||{};for(let[e,t]of(this.fieldMapping={},Object.entries(r)))"string"==typeof t&&(this.fieldMapping[e]=t);this.transforms=e.transforms||{}}interpolateEnvVars(e){return e.replace(/\$\{(\w+)\}/g,(e,t)=>process.env[t]||"")}async fetch(e,t){let r=new URLSearchParams;e&&r.set("start_date",e),t&&r.set("end_date",t);let s=r.toString(),a=`${this.baseUrl}${this.path}${s?`?${s}`:""}`,n=await fetch(a,{headers:{"Content-Type":"application/json",...this.headers}});if(!n.ok){let e=await n.text();throw Error(`REST API adapter "${this.id}" failed: ${n.status} ${e}`)}let i=await n.json(),o={};for(let[e,t]of Object.entries(this.fieldMapping)){let r=i[t];if(null==r){o[e]=null;continue}o[e]=this.applyTransform(e,r)}let l=new Set(Object.values(this.fieldMapping)),c={};for(let[e,t]of Object.entries(i))l.has(e)||(c[e]=t);return{values:o,metadata:c,fetched_at:new Date().toISOString()}}applyTransform(e,t){return"percentage"===this.transforms[e]?Math.round(1e3*t)/10:t}async healthCheck(){try{return(await fetch(`${this.baseUrl}/health`,{method:"GET"})).ok}catch{return!1}}}class u{constructor(e){this.type="manual",this.id=e.id}async fetch(){return{values:{},fetched_at:new Date().toISOString()}}async healthCheck(){return!0}}class h{constructor(e){this.type="posthog",this.id=e.id,this.fieldMapping=e.field_mapping||{};let t=e.config?.url_env||"POSTHOG_API_HOST",r=e.config?.project_id_env||"POSTHOG_PROJECT_ID",s=process.env[t]||"https://us.i.posthog.com";if(this.host=s.replace("://us.i.posthog.com","://us.posthog.com"),this.projectId=process.env[r]||"",this.apiKey=process.env.POSTHOG_PERSONAL_API_KEY||"",!this.apiKey)throw Error("PostHog adapter requires POSTHOG_PERSONAL_API_KEY environment variable. Get a personal API key from: https://app.posthog.com/settings/user-api-keys");if(!this.projectId)throw Error("PostHog adapter requires POSTHOG_PROJECT_ID environment variable. Find your project ID in PostHog settings.")}async fetch(e,t){let r={},s={},a=t||new Date().toISOString().split("T")[0],n=e||new Date(Date.now()-2592e6).toISOString().split("T")[0],i=new Map;for(let[e,t]of Object.entries(this.fieldMapping)){let r=h.normalizeMapping(t),s=h.queryCacheKey(r),a=i.get(s);a?a.kpiIds.push(e):i.set(s,{query:r,kpiIds:[e]})}if(0===i.size)return{values:r,metadata:s,fetched_at:new Date().toISOString()};for(let[e,{query:t,kpiIds:o}]of Array.from(i.entries()))try{let i=await this.fetchEventCount(t.event,n,a,t.properties);for(let l of(s[e]={count:i,start:n,end:a,event:t.event,properties:t.properties},o))r[l]=i}catch(s){let t=s instanceof Error?s.message:String(s);for(let s of(console.warn(`PostHog: failed to fetch "${e}": ${t}`),o))r[s]=null}return{values:r,metadata:s,fetched_at:new Date().toISOString()}}static normalizeMapping(e){return"string"==typeof e?{event:e}:{event:e.event,properties:e.properties}}static queryCacheKey(e){if(!e.properties||0===Object.keys(e.properties).length)return e.event;let t=Object.entries(e.properties).sort(([e],[t])=>e.localeCompare(t));return`${e.event}[${t.map(([e,t])=>`${e}=${t}`).join(",")}]`}async healthCheck(){try{return(await fetch(`${this.host}/api/projects/${this.projectId}/`,{headers:{Authorization:`Bearer ${this.apiKey}`}})).ok}catch{return!1}}async fetchEventCount(e,t,r,s){let a=`${this.host}/api/projects/${this.projectId}/query/`,n=[`event = '${e.replace(/'/g,"\\'")}'`,`timestamp >= toDate('${t}')`,`timestamp <= toDate('${r}') + INTERVAL 1 DAY`];if(s)for(let[e,t]of Object.entries(s)){let r=e.replace(/'/g,"\\'"),s=t.replace(/'/g,"\\'");n.push(`properties['${r}'] = '${s}'`)}let i=`SELECT count() AS cnt FROM events WHERE ${n.join(" AND ")}`,o=await fetch(a,{method:"POST",headers:{"Content-Type":"application/json",Authorization:`Bearer ${this.apiKey}`},body:JSON.stringify({query:{kind:"HogQLQuery",query:i}})});if(!o.ok)throw Error(`PostHog API returned ${o.status}: ${await o.text()}`);let l=await o.json();return l?.results?.[0]?.[0]??0}}var f=r(2048),d=r(5315);class g{constructor(e){this.type="waitlist_file",this.id=e.id;let t=e.field_mapping||{};for(let[e,r]of(this.fieldMapping={},Object.entries(t)))"string"==typeof r&&(this.fieldMapping[e]=r);let r=e.config?.path||"website/data/waitlist.json";this.filePath=d.isAbsolute(r)?r:d.resolve(process.cwd(),r)}async fetch(){let e={},t={},r=this.readFile();if(!r){for(let t of Object.keys(this.fieldMapping))e[t]=null;return{values:e,metadata:{error:"File not found or unreadable"},fetched_at:new Date().toISOString()}}let s=r.emails||[],a=Date.now();for(let[r,n]of(t.total_count=s.length,t.file_path=this.filePath,Object.entries(this.fieldMapping)))switch(n){case"total_count":e[r]=s.length;break;case"count_7d":e[r]=this.countSince(s,a-6048e5);break;case"count_30d":e[r]=this.countSince(s,a-2592e6);break;default:e[r]=null}return{values:e,metadata:t,fetched_at:new Date().toISOString()}}async healthCheck(){return null!==this.readFile()}readFile(){try{let e=f.readFileSync(this.filePath,"utf-8");return JSON.parse(e)}catch{return null}}countSince(e,t){return e.filter(e=>!!e.created_at&&new Date(e.created_at).getTime()>=t).length}}async function _(e,t,r){let s={},a={};for(let n of e)try{let e=function(e){switch(e.type){case"rest_api":return new p(e);case"manual":return new u(e);case"posthog":return new h(e);case"waitlist_file":return new g(e);default:throw Error(`Unknown KPI adapter type: ${e.type}`)}}(n),i=await e.fetch(t,r);Object.assign(s,i.values),i.metadata&&(a[n.id]=i.metadata)}catch(t){let e=t instanceof Error?t.message:String(t);e.includes("environment variable")?console.warn(`KPI adapter "${n.id}" skipped: ${e}`):console.error(`KPI adapter "${n.id}" failed: ${e}`)}return{values:s,metadata:a,fetched_at:new Date().toISOString()}}async function m(e){try{let t;let{goal_id:r}=await e.json();if(!r)return o.NextResponse.json({success:!1,error:"goal_id is required"},{status:400});let s=await (0,l.a9)(r);if(!s)return o.NextResponse.json({success:!1,error:"Goal not found"},{status:404});let a=function(){let e=(0,l.uQ)(),t=d.join(e,"business-context.json");try{if(f.existsSync(t))return JSON.parse(f.readFileSync(t,"utf-8"))}catch{}return null}(),n=a?.kpi_adapters||[];if(0===n.length)return o.NextResponse.json({success:!1,error:"No KPI adapters configured in business-context.json"},{status:400});let i=s.kpis.filter(e=>"manual"!==e.source&&null!==function(e,t){for(let r of t)if(r.field_mapping&&e in r.field_mapping)return r;return null}(e.id,n));if(0===i.length)return o.NextResponse.json({success:!1,error:"No auto-refreshable KPIs found for this goal. Check adapter field_mapping."},{status:400});try{t=await _(n)}catch(e){return console.error("Failed to fetch KPIs from adapters:",e),o.NextResponse.json({success:!1,error:e instanceof Error?e.message:"Failed to fetch KPIs from adapters"},{status:502})}let p=0,u=new Date().toISOString().split("T")[0];for(let e of i){let s=t.values[e.id];null!=s&&(await (0,l.QV)(r,e.id,{value:s,date:u}),p++)}let h=await (0,l.a9)(r);if(h){let e=function(e){let t=e.kpis.filter(e=>null!==e.current_value&&null!==e.target_value);if(0===t.length)return e.status;let r=t.map(c),s=r.filter(e=>"behind"===e).length,a=r.filter(e=>"at_risk"===e).length;return(r.filter(e=>"on_track"===e).length,0===s&&0===a&&null!==e.current_value&&e.current_value>=e.target_value)?"achieved":s>0?"behind":a>0?"at_risk":"on_track"}(h);for(let t of(e!==h.status&&await (0,l.LB)(r,{status:e}),h.kpis))if(null!==t.current_value){await (0,l.LB)(r,{current_value:t.current_value});break}return o.NextResponse.json({success:!0,refreshed_at:new Date().toISOString(),kpis_updated:p,new_status:e,adapter_metadata:t.metadata})}return o.NextResponse.json({success:!0,refreshed_at:new Date().toISOString(),kpis_updated:p})}catch(e){return console.error("Error refreshing KPIs:",e),o.NextResponse.json({success:!1,error:e instanceof Error?e.message:"Internal server error"},{status:500})}}let v=new a.AppRouteRouteModule({definition:{kind:n.x.APP_ROUTE,page:"/api/kpis/refresh/route",pathname:"/api/kpis/refresh",filename:"route",bundlePath:"app/api/kpis/refresh/route"},resolvedPagePath:"/Users/luismey/Code/vibebusiness/src/app/api/kpis/refresh/route.ts",nextConfigOutput:"standalone",userland:s}),{requestAsyncStorage:y,staticGenerationAsyncStorage:w,serverHooks:S}=v,O="/api/kpis/refresh/route";function k(){return(0,i.patchFetch)({serverHooks:S,staticGenerationAsyncStorage:w})}}};var t=require("../../../../webpack-runtime.js");t.C(e);var r=e=>t(t.s=e),s=t.X(0,[9276,5972,534],()=>r(898));module.exports=s})();
1
+ "use strict";(()=>{var e={};e.id=3201,e.ids=[3201],e.modules={399:e=>{e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},517:e=>{e.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},4770:e=>{e.exports=require("crypto")},2048:e=>{e.exports=require("fs")},5315:e=>{e.exports=require("path")},898:(e,t,r)=>{r.r(t),r.d(t,{originalPathname:()=>O,patchFetch:()=>k,requestAsyncStorage:()=>y,routeModule:()=>v,serverHooks:()=>S,staticGenerationAsyncStorage:()=>w});var s={};r.r(s),r.d(s,{POST:()=>m});var a=r(9303),n=r(8716),i=r(670),o=r(7070),l=r(6299);function c(e){let t;if(null===e.current_value||null===e.target_value)return"on_track";let r=e.current_value,s=e.target_value;return"lower_is_better"===e.direction?(t=0===s?0:r/s)<=1?"on_track":t<=1.5?"at_risk":"behind":(t=0===s?0:r/s)>=1?"on_track":t>=.7?"at_risk":"behind"}class p{constructor(e){this.type="rest_api",this.id=e.id;let t=e.config?.url_env||"BACKEND_URL";if(this.baseUrl=process.env[t]||process.env.NEXT_PUBLIC_API_URL||"http://localhost:8001",this.path=e.config?.path||"",this.headers={},e.config?.headers)for(let[t,r]of Object.entries(e.config.headers))this.headers[t]=this.interpolateEnvVars(r);let r=e.field_mapping||{};for(let[e,t]of(this.fieldMapping={},Object.entries(r)))"string"==typeof t&&(this.fieldMapping[e]=t);this.transforms=e.transforms||{}}interpolateEnvVars(e){return e.replace(/\$\{(\w+)\}/g,(e,t)=>process.env[t]||"")}async fetch(e,t){let r=new URLSearchParams;e&&r.set("start_date",e),t&&r.set("end_date",t);let s=r.toString(),a=`${this.baseUrl}${this.path}${s?`?${s}`:""}`,n=await fetch(a,{headers:{"Content-Type":"application/json",...this.headers}});if(!n.ok){let e=await n.text();throw Error(`REST API adapter "${this.id}" failed: ${n.status} ${e}`)}let i=await n.json(),o={};for(let[e,t]of Object.entries(this.fieldMapping)){let r=i[t];if(null==r){o[e]=null;continue}o[e]=this.applyTransform(e,r)}let l=new Set(Object.values(this.fieldMapping)),c={};for(let[e,t]of Object.entries(i))l.has(e)||(c[e]=t);return{values:o,metadata:c,fetched_at:new Date().toISOString()}}applyTransform(e,t){return"percentage"===this.transforms[e]?Math.round(1e3*t)/10:t}async healthCheck(){try{return(await fetch(`${this.baseUrl}/health`,{method:"GET"})).ok}catch{return!1}}}class u{constructor(e){this.type="manual",this.id=e.id}async fetch(){return{values:{},fetched_at:new Date().toISOString()}}async healthCheck(){return!0}}class h{constructor(e){this.type="posthog",this.id=e.id,this.fieldMapping=e.field_mapping||{};let t=e.config?.url_env||"POSTHOG_API_HOST",r=e.config?.project_id_env||"POSTHOG_PROJECT_ID",s=process.env[t]||"https://us.i.posthog.com";if(this.host=s.replace("://us.i.posthog.com","://us.posthog.com"),this.projectId=process.env[r]||"",this.apiKey=process.env.POSTHOG_PERSONAL_API_KEY||"",!this.apiKey)throw Error("PostHog adapter requires POSTHOG_PERSONAL_API_KEY environment variable. Get a personal API key from: https://app.posthog.com/settings/user-api-keys");if(!this.projectId)throw Error("PostHog adapter requires POSTHOG_PROJECT_ID environment variable. Find your project ID in PostHog settings.")}async fetch(e,t){let r={},s={},a=t||new Date().toISOString().split("T")[0],n=e||new Date(Date.now()-2592e6).toISOString().split("T")[0],i=new Map;for(let[e,t]of Object.entries(this.fieldMapping)){let r=h.normalizeMapping(t),s=h.queryCacheKey(r),a=i.get(s);a?a.kpiIds.push(e):i.set(s,{query:r,kpiIds:[e]})}if(0===i.size)return{values:r,metadata:s,fetched_at:new Date().toISOString()};for(let[e,{query:t,kpiIds:o}]of Array.from(i.entries()))try{let i=await this.fetchEventCount(t.event,n,a,t.properties);for(let l of(s[e]={count:i,start:n,end:a,event:t.event,properties:t.properties},o))r[l]=i}catch(s){let t=s instanceof Error?s.message:String(s);for(let s of(console.warn(`PostHog: failed to fetch "${e}": ${t}`),o))r[s]=null}return{values:r,metadata:s,fetched_at:new Date().toISOString()}}static normalizeMapping(e){return"string"==typeof e?{event:e}:{event:e.event,properties:e.properties}}static queryCacheKey(e){if(!e.properties||0===Object.keys(e.properties).length)return e.event;let t=Object.entries(e.properties).sort(([e],[t])=>e.localeCompare(t));return`${e.event}[${t.map(([e,t])=>`${e}=${t}`).join(",")}]`}async healthCheck(){try{return(await fetch(`${this.host}/api/projects/${this.projectId}/`,{headers:{Authorization:`Bearer ${this.apiKey}`}})).ok}catch{return!1}}async fetchEventCount(e,t,r,s){let a=`${this.host}/api/projects/${this.projectId}/query/`,n=[`event = '${e.replace(/'/g,"\\'")}'`,`timestamp >= toDate('${t}')`,`timestamp <= toDate('${r}') + INTERVAL 1 DAY`];if(s)for(let[e,t]of Object.entries(s)){let r=e.replace(/'/g,"\\'"),s=t.replace(/'/g,"\\'");n.push(`properties['${r}'] = '${s}'`)}let i=`SELECT count() AS cnt FROM events WHERE ${n.join(" AND ")}`,o=await fetch(a,{method:"POST",headers:{"Content-Type":"application/json",Authorization:`Bearer ${this.apiKey}`},body:JSON.stringify({query:{kind:"HogQLQuery",query:i}})});if(!o.ok)throw Error(`PostHog API returned ${o.status}: ${await o.text()}`);let l=await o.json();return l?.results?.[0]?.[0]??0}}var f=r(2048),d=r(5315);class g{constructor(e){this.type="waitlist_file",this.id=e.id;let t=e.field_mapping||{};for(let[e,r]of(this.fieldMapping={},Object.entries(t)))"string"==typeof r&&(this.fieldMapping[e]=r);let r=e.config?.path||"website/data/waitlist.json";this.filePath=d.isAbsolute(r)?r:d.resolve(process.cwd(),r)}async fetch(){let e={},t={},r=this.readFile();if(!r){for(let t of Object.keys(this.fieldMapping))e[t]=null;return{values:e,metadata:{error:"File not found or unreadable"},fetched_at:new Date().toISOString()}}let s=r.emails||[],a=Date.now();for(let[r,n]of(t.total_count=s.length,t.file_path=this.filePath,Object.entries(this.fieldMapping)))switch(n){case"total_count":e[r]=s.length;break;case"count_7d":e[r]=this.countSince(s,a-6048e5);break;case"count_30d":e[r]=this.countSince(s,a-2592e6);break;default:e[r]=null}return{values:e,metadata:t,fetched_at:new Date().toISOString()}}async healthCheck(){return null!==this.readFile()}readFile(){try{let e=f.readFileSync(this.filePath,"utf-8");return JSON.parse(e)}catch{return null}}countSince(e,t){return e.filter(e=>!!e.created_at&&new Date(e.created_at).getTime()>=t).length}}async function _(e,t,r){let s={},a={};for(let n of e)try{let e=function(e){switch(e.type){case"rest_api":return new p(e);case"manual":return new u(e);case"posthog":return new h(e);case"waitlist_file":return new g(e);default:throw Error(`Unknown KPI adapter type: ${e.type}`)}}(n),i=await e.fetch(t,r);Object.assign(s,i.values),i.metadata&&(a[n.id]=i.metadata)}catch(t){let e=t instanceof Error?t.message:String(t);e.includes("environment variable")?console.warn(`KPI adapter "${n.id}" skipped: ${e}`):console.error(`KPI adapter "${n.id}" failed: ${e}`)}return{values:s,metadata:a,fetched_at:new Date().toISOString()}}async function m(e){try{let t;let{goal_id:r}=await e.json();if(!r)return o.NextResponse.json({success:!1,error:"goal_id is required"},{status:400});let s=await (0,l.a9)(r);if(!s)return o.NextResponse.json({success:!1,error:"Goal not found"},{status:404});let a=function(){let e=(0,l.uQ)(),t=d.join(e,"business-context.json");try{if(f.existsSync(t))return JSON.parse(f.readFileSync(t,"utf-8"))}catch{}return null}(),n=a?.kpi_adapters||[];if(0===n.length)return o.NextResponse.json({success:!1,error:"No KPI adapters configured in business-context.json"},{status:400});let i=s.kpis.filter(e=>"manual"!==e.source&&null!==function(e,t){for(let r of t)if(r.field_mapping&&e in r.field_mapping)return r;return null}(e.id,n));if(0===i.length)return o.NextResponse.json({success:!1,error:"No auto-refreshable KPIs found for this goal. Check adapter field_mapping."},{status:400});try{t=await _(n)}catch(e){return console.error("Failed to fetch KPIs from adapters:",e),o.NextResponse.json({success:!1,error:e instanceof Error?e.message:"Failed to fetch KPIs from adapters"},{status:502})}let p=0,u=new Date().toISOString().split("T")[0];for(let e of i){let s=t.values[e.id];null!=s&&(await (0,l.QV)(r,e.id,{value:s,date:u}),p++)}let h=await (0,l.a9)(r);if(h){let e=function(e){let t=e.kpis.filter(e=>null!==e.current_value&&null!==e.target_value);if(0===t.length)return e.status;let r=t.map(c),s=r.filter(e=>"behind"===e).length,a=r.filter(e=>"at_risk"===e).length;return(r.filter(e=>"on_track"===e).length,0===s&&0===a&&null!==e.current_value&&e.current_value>=e.target_value)?"achieved":s>0?"behind":a>0?"at_risk":"on_track"}(h);for(let t of(e!==h.status&&await (0,l.LB)(r,{status:e}),h.kpis))if(null!==t.current_value){await (0,l.LB)(r,{current_value:t.current_value});break}return o.NextResponse.json({success:!0,refreshed_at:new Date().toISOString(),kpis_updated:p,new_status:e,adapter_metadata:t.metadata})}return o.NextResponse.json({success:!0,refreshed_at:new Date().toISOString(),kpis_updated:p})}catch(e){return console.error("Error refreshing KPIs:",e),o.NextResponse.json({success:!1,error:e instanceof Error?e.message:"Internal server error"},{status:500})}}let v=new a.AppRouteRouteModule({definition:{kind:n.x.APP_ROUTE,page:"/api/kpis/refresh/route",pathname:"/api/kpis/refresh",filename:"route",bundlePath:"app/api/kpis/refresh/route"},resolvedPagePath:"/Users/luismey/Code/vibebusiness/src/app/api/kpis/refresh/route.ts",nextConfigOutput:"standalone",userland:s}),{requestAsyncStorage:y,staticGenerationAsyncStorage:w,serverHooks:S}=v,O="/api/kpis/refresh/route";function k(){return(0,i.patchFetch)({serverHooks:S,staticGenerationAsyncStorage:w})}}};var t=require("../../../../webpack-runtime.js");t.C(e);var r=e=>t(t.s=e),s=t.X(0,[9276,5972,6299],()=>r(898));module.exports=s})();
@@ -1 +1 @@
1
- {"version":1,"files":["../../../../../../data/.DS_Store","../../../../../../data/.analysis-prompt.txt","../../../../../../data/.gitkeep","../../../../../../data/business-context.json","../../../../../../data/codebase-snapshot.json","../../../../../../data/competitors.json","../../../../../../data/config.json","../../../../../../data/copy/landing-improvements-2026-02-20.md","../../../../../../data/copy/landing-landing-page-2026-02-20.md","../../../../../../data/email-campaigns/sequences/onboarding.md","../../../../../../data/email-campaigns/welcome-2026-02-20.md","../../../../../../data/goals.json","../../../../../../data/heartbeat-sessions.json","../../../../../../data/hypotheses.json","../../../../../../data/ideas.json","../../../../../../data/implementations.json","../../../../../../data/investor-updates.json","../../../../../../data/marketplace-positioning.json","../../../../../../data/pages.json","../../../../../../data/payments.json","../../../../../../data/positioning.json","../../../../../../data/posthog.json","../../../../../../data/reports/.DS_Store","../../../../../../data/reports/visuals/idea-lp-og-meta-card.png","../../../../../../data/reports/visuals/idea-readme-landing-url-card.png","../../../../../../data/reports/visuals/idea-stripe-integration-card.png","../../../../../../data/reports/visuals/promo-launch.png","../../../../../../data/reports/visuals/promo-ship-fast.png","../../../../../../data/reports/visuals/promo-while-you-slept-v2.png","../../../../../../data/reports/visuals/promo-while-you-slept-v3.png","../../../../../../data/reports/visuals/promo-while-you-slept.png","../../../../../../data/roadmap.json","../../../../../../data/sessions.json","../../../../../../data/social.json","../../../../../../data/video-ideas.md","../../../../../../node_modules/next/dist/client/components/action-async-storage-instance.js","../../../../../../node_modules/next/dist/client/components/action-async-storage.external.js","../../../../../../node_modules/next/dist/client/components/async-local-storage.js","../../../../../../node_modules/next/dist/client/components/request-async-storage-instance.js","../../../../../../node_modules/next/dist/client/components/request-async-storage.external.js","../../../../../../node_modules/next/dist/client/components/static-generation-async-storage-instance.js","../../../../../../node_modules/next/dist/client/components/static-generation-async-storage.external.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../node_modules/next/package.json","../../../../../../package.json","../../../../../package.json","../../../../chunks/534.js","../../../../chunks/5972.js","../../../../chunks/9276.js","../../../../webpack-runtime.js"]}
1
+ {"version":1,"files":["../../../../../../data/.DS_Store","../../../../../../data/.analysis-prompt.txt","../../../../../../data/.gitkeep","../../../../../../data/business-context.json","../../../../../../data/codebase-snapshot.json","../../../../../../data/competitors.json","../../../../../../data/config.json","../../../../../../data/copy/landing-improvements-2026-02-20.md","../../../../../../data/copy/landing-landing-page-2026-02-20.md","../../../../../../data/email-campaigns/sequences/onboarding.md","../../../../../../data/email-campaigns/welcome-2026-02-20.md","../../../../../../data/goals.json","../../../../../../data/heartbeat-sessions.json","../../../../../../data/hypotheses.json","../../../../../../data/ideas.json","../../../../../../data/implementations.json","../../../../../../data/investor-updates.json","../../../../../../data/marketplace-positioning.json","../../../../../../data/pages.json","../../../../../../data/payments.json","../../../../../../data/positioning.json","../../../../../../data/posthog.json","../../../../../../data/reports/.DS_Store","../../../../../../data/reports/visuals/idea-lp-og-meta-card.png","../../../../../../data/reports/visuals/idea-readme-landing-url-card.png","../../../../../../data/reports/visuals/idea-stripe-integration-card.png","../../../../../../data/reports/visuals/promo-launch.png","../../../../../../data/reports/visuals/promo-ship-fast.png","../../../../../../data/reports/visuals/promo-while-you-slept-v2.png","../../../../../../data/reports/visuals/promo-while-you-slept-v3.png","../../../../../../data/reports/visuals/promo-while-you-slept.png","../../../../../../data/roadmap.json","../../../../../../data/sessions.json","../../../../../../data/social.json","../../../../../../data/video-ideas.md","../../../../../../node_modules/next/dist/client/components/action-async-storage-instance.js","../../../../../../node_modules/next/dist/client/components/action-async-storage.external.js","../../../../../../node_modules/next/dist/client/components/async-local-storage.js","../../../../../../node_modules/next/dist/client/components/request-async-storage-instance.js","../../../../../../node_modules/next/dist/client/components/request-async-storage.external.js","../../../../../../node_modules/next/dist/client/components/static-generation-async-storage-instance.js","../../../../../../node_modules/next/dist/client/components/static-generation-async-storage.external.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../node_modules/next/package.json","../../../../../../package.json","../../../../../package.json","../../../../chunks/5972.js","../../../../chunks/6299.js","../../../../chunks/9276.js","../../../../webpack-runtime.js"]}
@@ -1 +1 @@
1
- globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/goals/[id]/page"]={"moduleLoading":{"prefix":"/_next/","crossOrigin":null},"ssrModuleMapping":{"47":{"*":{"id":"4812","name":"*","chunks":[],"async":false}},"80":{"*":{"id":"1868","name":"*","chunks":[],"async":false}},"786":{"*":{"id":"1855","name":"*","chunks":[],"async":false}},"1060":{"*":{"id":"9727","name":"*","chunks":[],"async":false}},"1259":{"*":{"id":"502","name":"*","chunks":[],"async":false}},"2674":{"*":{"id":"9973","name":"*","chunks":[],"async":false}},"2846":{"*":{"id":"2994","name":"*","chunks":[],"async":false}},"2972":{"*":{"id":"9404","name":"*","chunks":[],"async":false}},"3032":{"*":{"id":"1828","name":"*","chunks":[],"async":false}},"4067":{"*":{"id":"6893","name":"*","chunks":[],"async":false}},"4687":{"*":{"id":"8696","name":"*","chunks":[],"async":false}},"4707":{"*":{"id":"9671","name":"*","chunks":[],"async":false}},"6423":{"*":{"id":"4759","name":"*","chunks":[],"async":false}},"8301":{"*":{"id":"8206","name":"*","chunks":[],"async":false}},"8825":{"*":{"id":"4663","name":"*","chunks":[],"async":false}},"8935":{"*":{"id":"1358","name":"*","chunks":[],"async":false}},"9107":{"*":{"id":"6114","name":"*","chunks":[],"async":false}},"9252":{"*":{"id":"158","name":"*","chunks":[],"async":false}},"9525":{"*":{"id":"4107","name":"*","chunks":[],"async":false}},"9646":{"*":{"id":"8022","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/luismey/Code/vibebusiness/node_modules/next/dist/client/components/app-router.js":{"id":2846,"name":"*","chunks":[],"async":false},"/Users/luismey/Code/vibebusiness/node_modules/next/dist/esm/client/components/app-router.js":{"id":2846,"name":"*","chunks":[],"async":false},"/Users/luismey/Code/vibebusiness/node_modules/next/dist/client/components/client-page.js":{"id":9107,"name":"*","chunks":[],"async":false},"/Users/luismey/Code/vibebusiness/node_modules/next/dist/esm/client/components/client-page.js":{"id":9107,"name":"*","chunks":[],"async":false},"/Users/luismey/Code/vibebusiness/node_modules/next/dist/client/components/error-boundary.js":{"id":1060,"name":"*","chunks":[],"async":false},"/Users/luismey/Code/vibebusiness/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":1060,"name":"*","chunks":[],"async":false},"/Users/luismey/Code/vibebusiness/node_modules/next/dist/client/components/layout-router.js":{"id":4707,"name":"*","chunks":[],"async":false},"/Users/luismey/Code/vibebusiness/node_modules/next/dist/esm/client/components/layout-router.js":{"id":4707,"name":"*","chunks":[],"async":false},"/Users/luismey/Code/vibebusiness/node_modules/next/dist/client/components/not-found-boundary.js":{"id":80,"name":"*","chunks":[],"async":false},"/Users/luismey/Code/vibebusiness/node_modules/next/dist/esm/client/components/not-found-boundary.js":{"id":80,"name":"*","chunks":[],"async":false},"/Users/luismey/Code/vibebusiness/node_modules/next/dist/client/components/render-from-template-context.js":{"id":6423,"name":"*","chunks":[],"async":false},"/Users/luismey/Code/vibebusiness/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":6423,"name":"*","chunks":[],"async":false},"/Users/luismey/Code/vibebusiness/src/app/globals.css":{"id":2778,"name":"*","chunks":["185","static/chunks/app/layout-eeef7928298d2198.js"],"async":false},"/Users/luismey/Code/vibebusiness/src/app/goals/[id]/page.tsx":{"id":8935,"name":"*","chunks":["972","static/chunks/972-8c4b4e19760b26af.js","827","static/chunks/827-6cf4bfc10d1ff0c7.js","354","static/chunks/354-d5bc9619159f46c5.js","945","static/chunks/app/goals/%5Bid%5D/page-231bb4daae0f06eb.js"],"async":false},"/Users/luismey/Code/vibebusiness/src/app/hypotheses/[id]/page.tsx":{"id":9646,"name":"*","chunks":[],"async":false},"/Users/luismey/Code/vibebusiness/src/app/roadmap/[id]/page.tsx":{"id":47,"name":"*","chunks":[],"async":false},"/Users/luismey/Code/vibebusiness/src/app/updates/new/page.tsx":{"id":9525,"name":"*","chunks":[],"async":false},"/Users/luismey/Code/vibebusiness/src/app/social/page.tsx":{"id":4687,"name":"*","chunks":[],"async":false},"/Users/luismey/Code/vibebusiness/src/app/settings/page.tsx":{"id":8301,"name":"*","chunks":[],"async":false},"/Users/luismey/Code/vibebusiness/src/components/AnalystLayout.tsx":{"id":1259,"name":"*","chunks":["972","static/chunks/972-8c4b4e19760b26af.js","354","static/chunks/354-d5bc9619159f46c5.js","639","static/chunks/app/goals/page-4dfa36ac38853b88.js"],"async":false},"/Users/luismey/Code/vibebusiness/src/components/IdeaDetail.tsx":{"id":9252,"name":"*","chunks":[],"async":false},"/Users/luismey/Code/vibebusiness/src/app/DashboardHeader.tsx":{"id":4067,"name":"*","chunks":["972","static/chunks/972-8c4b4e19760b26af.js","851","static/chunks/851-65b033bf38847cbb.js","931","static/chunks/app/page-3635a292b3d471c0.js"],"async":false},"/Users/luismey/Code/vibebusiness/src/components/IdeaKanban.tsx":{"id":8825,"name":"*","chunks":["972","static/chunks/972-8c4b4e19760b26af.js","851","static/chunks/851-65b033bf38847cbb.js","931","static/chunks/app/page-3635a292b3d471c0.js"],"async":false},"/Users/luismey/Code/vibebusiness/src/components/GoalCard.tsx":{"id":2674,"name":"*","chunks":["972","static/chunks/972-8c4b4e19760b26af.js","354","static/chunks/354-d5bc9619159f46c5.js","639","static/chunks/app/goals/page-4dfa36ac38853b88.js"],"async":false},"/Users/luismey/Code/vibebusiness/src/components/RoadmapViewToggle.tsx":{"id":3032,"name":"*","chunks":[],"async":false},"/Users/luismey/Code/vibebusiness/node_modules/next/dist/client/link.js":{"id":2972,"name":"*","chunks":[],"async":false},"/Users/luismey/Code/vibebusiness/node_modules/next/dist/esm/client/link.js":{"id":2972,"name":"*","chunks":[],"async":false},"/Users/luismey/Code/vibebusiness/src/components/HypothesisCard.tsx":{"id":786,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/luismey/Code/vibebusiness/src/":[],"/Users/luismey/Code/vibebusiness/src/app/layout":["static/css/de9b407f2c259a06.css"],"/Users/luismey/Code/vibebusiness/src/app/page":[],"/Users/luismey/Code/vibebusiness/src/app/goals/page":[],"/Users/luismey/Code/vibebusiness/src/app/goals/[id]/page":[]}}
1
+ globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/goals/[id]/page"]={"moduleLoading":{"prefix":"/_next/","crossOrigin":null},"ssrModuleMapping":{"47":{"*":{"id":"4812","name":"*","chunks":[],"async":false}},"80":{"*":{"id":"1868","name":"*","chunks":[],"async":false}},"786":{"*":{"id":"1855","name":"*","chunks":[],"async":false}},"1034":{"*":{"id":"625","name":"*","chunks":[],"async":false}},"1060":{"*":{"id":"9727","name":"*","chunks":[],"async":false}},"1259":{"*":{"id":"502","name":"*","chunks":[],"async":false}},"2674":{"*":{"id":"9973","name":"*","chunks":[],"async":false}},"2846":{"*":{"id":"2994","name":"*","chunks":[],"async":false}},"2912":{"*":{"id":"7805","name":"*","chunks":[],"async":false}},"2972":{"*":{"id":"9404","name":"*","chunks":[],"async":false}},"3032":{"*":{"id":"1828","name":"*","chunks":[],"async":false}},"4067":{"*":{"id":"6893","name":"*","chunks":[],"async":false}},"4687":{"*":{"id":"8696","name":"*","chunks":[],"async":false}},"4707":{"*":{"id":"9671","name":"*","chunks":[],"async":false}},"5701":{"*":{"id":"1264","name":"*","chunks":[],"async":false}},"6423":{"*":{"id":"4759","name":"*","chunks":[],"async":false}},"6682":{"*":{"id":"5313","name":"*","chunks":[],"async":false}},"8013":{"*":{"id":"8841","name":"*","chunks":[],"async":false}},"8301":{"*":{"id":"8206","name":"*","chunks":[],"async":false}},"8825":{"*":{"id":"4663","name":"*","chunks":[],"async":false}},"8935":{"*":{"id":"1358","name":"*","chunks":[],"async":false}},"9107":{"*":{"id":"6114","name":"*","chunks":[],"async":false}},"9525":{"*":{"id":"4107","name":"*","chunks":[],"async":false}},"9646":{"*":{"id":"8022","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/luismey/Code/vibebusiness/node_modules/next/dist/client/components/app-router.js":{"id":2846,"name":"*","chunks":[],"async":false},"/Users/luismey/Code/vibebusiness/node_modules/next/dist/esm/client/components/app-router.js":{"id":2846,"name":"*","chunks":[],"async":false},"/Users/luismey/Code/vibebusiness/node_modules/next/dist/client/components/client-page.js":{"id":9107,"name":"*","chunks":[],"async":false},"/Users/luismey/Code/vibebusiness/node_modules/next/dist/esm/client/components/client-page.js":{"id":9107,"name":"*","chunks":[],"async":false},"/Users/luismey/Code/vibebusiness/node_modules/next/dist/client/components/error-boundary.js":{"id":1060,"name":"*","chunks":[],"async":false},"/Users/luismey/Code/vibebusiness/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":1060,"name":"*","chunks":[],"async":false},"/Users/luismey/Code/vibebusiness/node_modules/next/dist/client/components/layout-router.js":{"id":4707,"name":"*","chunks":[],"async":false},"/Users/luismey/Code/vibebusiness/node_modules/next/dist/esm/client/components/layout-router.js":{"id":4707,"name":"*","chunks":[],"async":false},"/Users/luismey/Code/vibebusiness/node_modules/next/dist/client/components/not-found-boundary.js":{"id":80,"name":"*","chunks":[],"async":false},"/Users/luismey/Code/vibebusiness/node_modules/next/dist/esm/client/components/not-found-boundary.js":{"id":80,"name":"*","chunks":[],"async":false},"/Users/luismey/Code/vibebusiness/node_modules/next/dist/client/components/render-from-template-context.js":{"id":6423,"name":"*","chunks":[],"async":false},"/Users/luismey/Code/vibebusiness/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":6423,"name":"*","chunks":[],"async":false},"/Users/luismey/Code/vibebusiness/src/app/globals.css":{"id":2778,"name":"*","chunks":["185","static/chunks/app/layout-eeef7928298d2198.js"],"async":false},"/Users/luismey/Code/vibebusiness/src/app/hypotheses/[id]/page.tsx":{"id":9646,"name":"*","chunks":[],"async":false},"/Users/luismey/Code/vibebusiness/src/app/goals/[id]/page.tsx":{"id":8935,"name":"*","chunks":["972","static/chunks/972-8c4b4e19760b26af.js","827","static/chunks/827-6cf4bfc10d1ff0c7.js","354","static/chunks/354-d5bc9619159f46c5.js","945","static/chunks/app/goals/%5Bid%5D/page-231bb4daae0f06eb.js"],"async":false},"/Users/luismey/Code/vibebusiness/src/app/roadmap/[id]/page.tsx":{"id":47,"name":"*","chunks":[],"async":false},"/Users/luismey/Code/vibebusiness/src/app/settings/page.tsx":{"id":8301,"name":"*","chunks":[],"async":false},"/Users/luismey/Code/vibebusiness/src/app/social/page.tsx":{"id":4687,"name":"*","chunks":[],"async":false},"/Users/luismey/Code/vibebusiness/src/app/updates/new/page.tsx":{"id":9525,"name":"*","chunks":[],"async":false},"/Users/luismey/Code/vibebusiness/src/components/AnalystLayout.tsx":{"id":1259,"name":"*","chunks":["972","static/chunks/972-8c4b4e19760b26af.js","354","static/chunks/354-d5bc9619159f46c5.js","639","static/chunks/app/goals/page-4dfa36ac38853b88.js"],"async":false},"/Users/luismey/Code/vibebusiness/src/components/IdeaDetail.tsx":{"id":2912,"name":"*","chunks":[],"async":false},"/Users/luismey/Code/vibebusiness/src/components/GoalCard.tsx":{"id":2674,"name":"*","chunks":["972","static/chunks/972-8c4b4e19760b26af.js","354","static/chunks/354-d5bc9619159f46c5.js","639","static/chunks/app/goals/page-4dfa36ac38853b88.js"],"async":false},"/Users/luismey/Code/vibebusiness/src/components/HypothesisCard.tsx":{"id":786,"name":"*","chunks":[],"async":false},"/Users/luismey/Code/vibebusiness/src/components/RoadmapViewToggle.tsx":{"id":3032,"name":"*","chunks":[],"async":false},"/Users/luismey/Code/vibebusiness/src/app/DashboardHeader.tsx":{"id":4067,"name":"*","chunks":["972","static/chunks/972-8c4b4e19760b26af.js","851","static/chunks/851-65b033bf38847cbb.js","931","static/chunks/app/page-3635a292b3d471c0.js"],"async":false},"/Users/luismey/Code/vibebusiness/src/components/IdeaKanban.tsx":{"id":8825,"name":"*","chunks":["972","static/chunks/972-8c4b4e19760b26af.js","851","static/chunks/851-65b033bf38847cbb.js","931","static/chunks/app/page-3635a292b3d471c0.js"],"async":false},"/Users/luismey/Code/vibebusiness/src/components/public-roadmap/ShareButtons.tsx":{"id":6682,"name":"*","chunks":[],"async":false},"/Users/luismey/Code/vibebusiness/node_modules/next/dist/client/link.js":{"id":2972,"name":"*","chunks":[],"async":false},"/Users/luismey/Code/vibebusiness/node_modules/next/dist/esm/client/link.js":{"id":2972,"name":"*","chunks":[],"async":false},"/Users/luismey/Code/vibebusiness/src/components/public-roadmap/PhaseNarrative.tsx":{"id":5701,"name":"*","chunks":[],"async":false},"/Users/luismey/Code/vibebusiness/src/components/public-roadmap/PhaseTimeline.tsx":{"id":8013,"name":"*","chunks":[],"async":false},"/Users/luismey/Code/vibebusiness/src/components/public-roadmap/PublicEpicCard.tsx":{"id":1034,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/luismey/Code/vibebusiness/src/":[],"/Users/luismey/Code/vibebusiness/src/app/layout":["static/css/ba6f5fe78931fee2.css"],"/Users/luismey/Code/vibebusiness/src/app/page":[],"/Users/luismey/Code/vibebusiness/src/app/goals/page":[],"/Users/luismey/Code/vibebusiness/src/app/goals/[id]/page":[]}}
@@ -1 +1 @@
1
- (()=>{var e={};e.id=9639,e.ids=[9639],e.modules={2934:e=>{"use strict";e.exports=require("next/dist/client/components/action-async-storage.external.js")},4580:e=>{"use strict";e.exports=require("next/dist/client/components/request-async-storage.external.js")},5869:e=>{"use strict";e.exports=require("next/dist/client/components/static-generation-async-storage.external.js")},399:e=>{"use strict";e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},4770:e=>{"use strict";e.exports=require("crypto")},2048:e=>{"use strict";e.exports=require("fs")},5315:e=>{"use strict";e.exports=require("path")},2861:(e,s,t)=>{"use strict";t.r(s),t.d(s,{GlobalError:()=>i.a,__next_app__:()=>m,originalPathname:()=>x,pages:()=>o,routeModule:()=>h,tree:()=>c}),t(3378),t(2029),t(5866);var a=t(3191),l=t(8716),r=t(7922),i=t.n(r),n=t(5231),d={};for(let e in n)0>["default","tree","pages","GlobalError","originalPathname","__next_app__","routeModule"].indexOf(e)&&(d[e]=()=>n[e]);t.d(s,d);let c=["",{children:["goals",{children:["__PAGE__",{},{page:[()=>Promise.resolve().then(t.bind(t,3378)),"/Users/luismey/Code/vibebusiness/src/app/goals/page.tsx"]}]},{}]},{layout:[()=>Promise.resolve().then(t.bind(t,2029)),"/Users/luismey/Code/vibebusiness/src/app/layout.tsx"],"not-found":[()=>Promise.resolve().then(t.t.bind(t,5866,23)),"next/dist/client/components/not-found-error"]}],o=["/Users/luismey/Code/vibebusiness/src/app/goals/page.tsx"],x="/goals/page",m={require:t,loadChunk:()=>Promise.resolve()},h=new a.AppPageRouteModule({definition:{kind:l.x.APP_PAGE,page:"/goals/page",pathname:"/goals",bundlePath:"",filename:"",appPaths:[]},userland:{loaderTree:c}})},8508:(e,s,t)=>{Promise.resolve().then(t.bind(t,502)),Promise.resolve().then(t.bind(t,9973))},6307:(e,s,t)=>{"use strict";t.d(s,{Z:()=>a});let a=(0,t(2881).Z)("CircleCheck",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]])},1405:(e,s,t)=>{"use strict";t.d(s,{Z:()=>a});let a=(0,t(2881).Z)("RefreshCw",[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]])},9163:(e,s,t)=>{"use strict";t.d(s,{Z:()=>a});let a=(0,t(2881).Z)("TrendingDown",[["polyline",{points:"22 17 13.5 8.5 8.5 13.5 2 7",key:"1r2t7k"}],["polyline",{points:"16 17 22 17 22 11",key:"11uiuu"}]])},7069:(e,s,t)=>{"use strict";t.d(s,{Z:()=>a});let a=(0,t(2881).Z)("TrendingUp",[["polyline",{points:"22 7 13.5 15.5 8.5 10.5 2 17",key:"126l90"}],["polyline",{points:"16 7 22 7 22 13",key:"kwv8wd"}]])},949:(e,s,t)=>{"use strict";t.d(s,{Z:()=>a});let a=(0,t(2881).Z)("TriangleAlert",[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]])},9973:(e,s,t)=>{"use strict";t.d(s,{default:()=>g});var a=t(326),l=t(434),r=t(7069),i=t(949),n=t(9163),d=t(6307),c=t(3468),o=t(1405),x=t(1135),m=t(9526),h=t(6087),u=t(2728);function p({status:e}){switch(e){case"on_track":return a.jsx(r.Z,{className:"w-4 h-4"});case"at_risk":return a.jsx(i.Z,{className:"w-4 h-4"});case"behind":return a.jsx(n.Z,{className:"w-4 h-4"});case"achieved":return a.jsx(d.Z,{className:"w-4 h-4"})}}function g({goal:e,compact:s=!1}){null!==e.current_value&&(e.current_value,e.target_value);let t=e.kpis.filter(e=>null!==e.current_value).length,r=e.kpis.length,i=function(e){let s=null;for(let t of e.kpis)if(t.history.length>0){let e=t.history[t.history.length-1];(!s||e.date>s)&&(s=e.date)}return s}(e);return a.jsx(l.default,{href:`/goals/${e.id}`,children:(0,a.jsxs)("div",{className:"bg-white rounded-lg border border-slate-200 p-4 hover:border-emerald-300 hover:shadow-md transition-all cursor-pointer",children:[(0,a.jsxs)("div",{className:"flex items-center justify-between mb-3",children:[(0,a.jsxs)("span",{className:(0,x.Z)("inline-flex items-center gap-1.5 px-2 py-1 rounded-full text-xs font-medium border",m.i2[e.status]),children:[a.jsx(p,{status:e.status}),a.jsx("span",{children:m.tV[e.status]})]}),a.jsx("span",{className:(0,x.Z)("text-xs px-2 py-0.5 rounded-full",m.l5[e.category]),children:m.kT[e.category]})]}),(0,a.jsxs)("div",{className:"flex items-start gap-3 mb-3",children:[a.jsx("div",{className:"w-10 h-10 bg-emerald-100 rounded-lg flex items-center justify-center flex-shrink-0",children:a.jsx(c.Z,{className:"w-5 h-5 text-emerald-600"})}),(0,a.jsxs)("div",{className:"flex-1 min-w-0",children:[a.jsx("h3",{className:"font-semibold text-slate-900 text-base leading-tight mb-1",children:e.title}),!s&&a.jsx("p",{className:"text-sm text-slate-500 line-clamp-2",children:e.description})]})]}),a.jsx("div",{className:"mb-3",children:a.jsx(h.Z,{current:e.current_value,target:e.target_value,unit:e.target_unit,status:e.status})}),!s&&e.kpis.length>0&&(0,a.jsxs)("div",{className:"mb-3 space-y-2",children:[e.kpis.slice(0,2).map(e=>(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[a.jsx("span",{className:"text-xs text-slate-500 w-28 truncate",title:e.name,children:e.name}),a.jsx("div",{className:"flex-1 h-6",children:a.jsx(u.Z,{kpi:e,height:24})}),a.jsx("span",{className:"text-xs font-medium text-slate-700 w-12 text-right",children:null!==e.current_value?`${e.current_value}${e.unit}`:"--"})]},e.id)),e.kpis.length>2&&(0,a.jsxs)("p",{className:"text-xs text-slate-400",children:["+",e.kpis.length-2," more KPIs"]})]}),(0,a.jsxs)("div",{className:"flex items-center justify-between pt-2 border-t border-slate-100",children:[(0,a.jsxs)("span",{className:"text-xs text-slate-500",children:["Deadline: ",a.jsx("span",{className:"font-medium text-slate-700",children:e.deadline})]}),(0,a.jsxs)("div",{className:"flex items-center gap-3",children:[i&&(0,a.jsxs)("span",{className:"text-xs text-slate-400 flex items-center gap-1",children:[a.jsx(o.Z,{className:"w-3 h-3"}),function(e){let s=new Date(e),t=Math.floor((new Date().getTime()-s.getTime())/6e4),a=Math.floor(t/60),l=Math.floor(a/24);return t<1?"just now":t<60?`${t} min${t>1?"s":""} ago`:a<24?`${a} hour${a>1?"s":""} ago`:l<7?`${l} day${l>1?"s":""} ago`:s.toLocaleDateString()}(i)]}),(0,a.jsxs)("span",{className:"text-xs text-slate-500",children:[t,"/",r," KPIs"]})]})]}),e.related_ideas.length>0&&a.jsx("div",{className:"mt-2 pt-2 border-t border-slate-100",children:(0,a.jsxs)("span",{className:"text-xs text-emerald-600",children:[e.related_ideas.length," linked idea",1!==e.related_ideas.length?"s":""]})})]})})}},6087:(e,s,t)=>{"use strict";t.d(s,{Z:()=>i});var a=t(326),l=t(1135);let r={on_track:"bg-emerald-500",at_risk:"bg-amber-500",behind:"bg-red-500",achieved:"bg-blue-500"};function i({current:e,target:s,unit:t,status:i,showLabels:n=!0}){let d=null!==e?Math.min(e/s*100,100):0,c=e=>null===e?"--":"percent"===t||"%"===t?`${e}%`:"hours"===t?`${e}h`:`${e} ${t}`;return(0,a.jsxs)("div",{children:[(0,a.jsxs)("div",{className:"relative h-2 bg-slate-100 rounded-full overflow-hidden",children:[a.jsx("div",{className:(0,l.Z)("absolute left-0 top-0 h-full rounded-full transition-all duration-500",r[i]),style:{width:`${d}%`}}),a.jsx("div",{className:"absolute top-0 w-0.5 h-full bg-slate-400",style:{left:"100%"},title:`Target: ${c(s)}`})]}),n&&(0,a.jsxs)("div",{className:"flex items-center justify-between mt-1",children:[(0,a.jsxs)("span",{className:"text-xs text-slate-500",children:["Current: ",a.jsx("span",{className:"font-medium text-slate-700",children:c(e)})]}),(0,a.jsxs)("span",{className:"text-xs text-slate-500",children:["Target: ",a.jsx("span",{className:"font-medium text-slate-700",children:c(s)})]})]})]})}},2728:(e,s,t)=>{"use strict";t.d(s,{Z:()=>r});var a=t(326),l=t(7577);function r({kpi:e,height:s=40,width:t,showTarget:r=!1}){let{path:i,areaPath:n,minValue:d,maxValue:c,points:o}=(0,l.useMemo)(()=>{let a=e.history;if(0===a.length)return{path:"",areaPath:"",minValue:0,maxValue:0,points:[]};let l=a.map(e=>e.value),i=r&&null!==e.target_value?[...l,e.target_value]:l,n=Math.min(...i),d=Math.max(...i),c=d-n||1,o=n-.1*c,x=d+.1*c-o||1,m=s-4,h=(t||100)/Math.max(a.length-1,1),u=a.map((e,s)=>({x:s*h,y:m-(e.value-o)/x*m+2,value:e.value,date:e.date}));return 1===u.length?{path:`M ${u[0].x} ${u[0].y}`,areaPath:"",minValue:n,maxValue:d,points:u}:{path:u.map((e,s)=>0===s?`M ${e.x} ${e.y}`:`L ${e.x} ${e.y}`).join(" "),areaPath:[`M ${u[0].x} ${m+2}`,`L ${u[0].x} ${u[0].y}`,...u.slice(1).map(e=>`L ${e.x} ${e.y}`),`L ${u[u.length-1].x} ${m+2}`,"Z"].join(" "),minValue:n,maxValue:d,points:u}},[e.history,e.target_value,s,t,r]),x=(()=>{if(e.history.length<2)return{stroke:"#94a3b8",fill:"rgba(148, 163, 184, 0.1)"};let s=e.history[0].value,t=e.history[e.history.length-1].value;return("higher_is_better"===e.direction?t>=s:t<=s)?{stroke:"#10b981",fill:"rgba(16, 185, 129, 0.1)"}:{stroke:"#ef4444",fill:"rgba(239, 68, 68, 0.1)"}})();if(0===e.history.length)return a.jsx("div",{className:"flex items-center justify-center text-xs text-slate-400",style:{height:s,width:t||"100%"},children:"No data"});let m=(()=>{if(!r||null===e.target_value||0===e.history.length)return null;let t=[...e.history.map(e=>e.value),e.target_value],a=Math.min(...t),l=Math.max(...t),i=l-a||1,n=a-.1*i,d=s-4;return d-(e.target_value-n)/(l+.1*i-n||1)*d+2})();return(0,a.jsxs)("svg",{width:t||"100%",height:s,viewBox:`0 0 ${t||100} ${s}`,preserveAspectRatio:"none",className:"overflow-visible",children:[n&&a.jsx("path",{d:n,fill:x.fill}),a.jsx("path",{d:i,fill:"none",stroke:x.stroke,strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),r&&null!==m&&a.jsx("line",{x1:0,y1:m,x2:t||100,y2:m,stroke:"#94a3b8",strokeWidth:1,strokeDasharray:"4 2"}),o.length>0&&a.jsx("circle",{cx:o[o.length-1].x,cy:o[o.length-1].y,r:3,fill:x.stroke})]})}},7162:(e,s,t)=>{"use strict";t.d(s,{Z:()=>d});var a=t(1159);let l=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),r=(...e)=>e.filter((e,s,t)=>!!e&&t.indexOf(e)===s).join(" ");var i={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let n=(0,a.forwardRef)(({color:e="currentColor",size:s=24,strokeWidth:t=2,absoluteStrokeWidth:l,className:n="",children:d,iconNode:c,...o},x)=>(0,a.createElement)("svg",{ref:x,...i,width:s,height:s,stroke:e,strokeWidth:l?24*Number(t)/Number(s):t,className:r("lucide",n),...o},[...c.map(([e,s])=>(0,a.createElement)(e,s)),...Array.isArray(d)?d:[d]])),d=(e,s)=>{let t=(0,a.forwardRef)(({className:t,...i},d)=>(0,a.createElement)(n,{ref:d,iconNode:s,className:r(`lucide-${l(e)}`,t),...i}));return t.displayName=`${e}`,t}},8648:(e,s,t)=>{"use strict";t.d(s,{Z:()=>a});let a=(0,t(7162).Z)("CircleCheck",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]])},3378:(e,s,t)=>{"use strict";t.r(s),t.d(s,{default:()=>p,dynamic:()=>h});var a=t(9510),l=t(7162);let r=(0,l.Z)("Target",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["circle",{cx:"12",cy:"12",r:"6",key:"1vlfrh"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}]]),i=(0,l.Z)("TrendingUp",[["polyline",{points:"22 7 13.5 15.5 8.5 10.5 2 17",key:"126l90"}],["polyline",{points:"16 7 22 7 22 13",key:"kwv8wd"}]]),n=(0,l.Z)("TriangleAlert",[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]]),d=(0,l.Z)("TrendingDown",[["polyline",{points:"22 17 13.5 8.5 8.5 13.5 2 7",key:"1r2t7k"}],["polyline",{points:"16 17 22 17 22 11",key:"11uiuu"}]]);var c=t(8648),o=t(2548);let x=(0,t(8570).createProxy)(String.raw`/Users/luismey/Code/vibebusiness/src/components/GoalCard.tsx#default`);var m=t(534);let h="force-dynamic";function u({goals:e}){let s={on_track:0,at_risk:0,behind:0,achieved:0};return e.forEach(e=>{s[e.status]++}),e.reduce((e,s)=>e+s.kpis.length,0),e.reduce((e,s)=>e+s.kpis.filter(e=>null!==e.current_value).length,0),(0,a.jsxs)("div",{className:"grid grid-cols-2 md:grid-cols-5 gap-4 mb-6",children:[(0,a.jsxs)("div",{className:"bg-white rounded-lg border border-slate-200 p-4",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2 mb-1",children:[a.jsx(r,{className:"w-4 h-4 text-slate-400"}),a.jsx("span",{className:"text-xs text-slate-500 uppercase font-medium",children:"Total Goals"})]}),a.jsx("p",{className:"text-2xl font-bold text-slate-900",children:e.length})]}),(0,a.jsxs)("div",{className:"bg-white rounded-lg border border-slate-200 p-4",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2 mb-1",children:[a.jsx(i,{className:"w-4 h-4 text-emerald-500"}),a.jsx("span",{className:"text-xs text-slate-500 uppercase font-medium",children:"On Track"})]}),a.jsx("p",{className:"text-2xl font-bold text-emerald-600",children:s.on_track})]}),(0,a.jsxs)("div",{className:"bg-white rounded-lg border border-slate-200 p-4",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2 mb-1",children:[a.jsx(n,{className:"w-4 h-4 text-amber-500"}),a.jsx("span",{className:"text-xs text-slate-500 uppercase font-medium",children:"At Risk"})]}),a.jsx("p",{className:"text-2xl font-bold text-amber-600",children:s.at_risk})]}),(0,a.jsxs)("div",{className:"bg-white rounded-lg border border-slate-200 p-4",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2 mb-1",children:[a.jsx(d,{className:"w-4 h-4 text-red-500"}),a.jsx("span",{className:"text-xs text-slate-500 uppercase font-medium",children:"Behind"})]}),a.jsx("p",{className:"text-2xl font-bold text-red-600",children:s.behind})]}),(0,a.jsxs)("div",{className:"bg-white rounded-lg border border-slate-200 p-4",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2 mb-1",children:[a.jsx(c.Z,{className:"w-4 h-4 text-blue-500"}),a.jsx("span",{className:"text-xs text-slate-500 uppercase font-medium",children:"Achieved"})]}),a.jsx("p",{className:"text-2xl font-bold text-blue-600",children:s.achieved})]})]})}async function p(){let e=await (0,m.M6)(),s={behind:0,at_risk:1,on_track:2,achieved:3},t=[...e].sort((e,t)=>s[e.status]-s[t.status]);return a.jsx(o.Z,{children:(0,a.jsxs)("div",{className:"p-6",children:[a.jsx("div",{className:"flex items-center justify-between mb-6",children:(0,a.jsxs)("div",{children:[a.jsx("h1",{className:"text-2xl font-bold text-slate-900",children:"Business Goals"}),a.jsx("p",{className:"text-sm text-slate-500 mt-1",children:"Track OKRs and KPIs aligned with your business objectives"})]})}),a.jsx(u,{goals:e}),0===e.length?(0,a.jsxs)("div",{className:"bg-white rounded-lg border border-slate-200 p-12 text-center",children:[a.jsx(r,{className:"w-12 h-12 text-slate-300 mx-auto mb-4"}),a.jsx("h2",{className:"text-lg font-medium text-slate-900 mb-2",children:"No goals yet"}),a.jsx("p",{className:"text-sm text-slate-500 mb-4",children:"Start by creating your first business goal to track progress and align ideas."})]}):a.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4",children:t.map(e=>a.jsx(x,{goal:e},e.id))}),(0,a.jsxs)("div",{className:"mt-8 bg-slate-50 rounded-lg border border-slate-200 p-6",children:[a.jsx("h3",{className:"text-sm font-medium text-slate-900 mb-2",children:"About Business Goals"}),a.jsx("p",{className:"text-sm text-slate-600 mb-4",children:"Goals are the foundation of your improvement strategy. Each goal is tracked through Key Performance Indicators (KPIs) and linked to ideas that support its achievement."}),(0,a.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-4 text-sm",children:[(0,a.jsxs)("div",{children:[a.jsx("h4",{className:"font-medium text-slate-700 mb-1",children:"Goals First"}),a.jsx("p",{className:"text-slate-500",children:"Define what success looks like before tracking metrics."})]}),(0,a.jsxs)("div",{children:[a.jsx("h4",{className:"font-medium text-slate-700 mb-1",children:"KPIs Second"}),a.jsx("p",{className:"text-slate-500",children:"Choose measurable indicators that reflect goal progress."})]}),(0,a.jsxs)("div",{children:[a.jsx("h4",{className:"font-medium text-slate-700 mb-1",children:"Ideas Aligned"}),a.jsx("p",{className:"text-slate-500",children:"Link improvement ideas to goals for focused execution."})]})]})]})]})})}},2548:(e,s,t)=>{"use strict";t.d(s,{Z:()=>a});let a=(0,t(8570).createProxy)(String.raw`/Users/luismey/Code/vibebusiness/src/components/AnalystLayout.tsx#default`)}};var s=require("../../webpack-runtime.js");s.C(e);var t=e=>s(s.s=e),a=s.X(0,[9276,4471,9404,534,995],()=>t(2861));module.exports=a})();
1
+ (()=>{var e={};e.id=9639,e.ids=[9639],e.modules={2934:e=>{"use strict";e.exports=require("next/dist/client/components/action-async-storage.external.js")},4580:e=>{"use strict";e.exports=require("next/dist/client/components/request-async-storage.external.js")},5869:e=>{"use strict";e.exports=require("next/dist/client/components/static-generation-async-storage.external.js")},399:e=>{"use strict";e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},4770:e=>{"use strict";e.exports=require("crypto")},2048:e=>{"use strict";e.exports=require("fs")},5315:e=>{"use strict";e.exports=require("path")},2861:(e,s,t)=>{"use strict";t.r(s),t.d(s,{GlobalError:()=>i.a,__next_app__:()=>m,originalPathname:()=>x,pages:()=>o,routeModule:()=>h,tree:()=>c}),t(3027),t(2029),t(5866);var a=t(3191),l=t(8716),r=t(7922),i=t.n(r),n=t(5231),d={};for(let e in n)0>["default","tree","pages","GlobalError","originalPathname","__next_app__","routeModule"].indexOf(e)&&(d[e]=()=>n[e]);t.d(s,d);let c=["",{children:["goals",{children:["__PAGE__",{},{page:[()=>Promise.resolve().then(t.bind(t,3027)),"/Users/luismey/Code/vibebusiness/src/app/goals/page.tsx"]}]},{}]},{layout:[()=>Promise.resolve().then(t.bind(t,2029)),"/Users/luismey/Code/vibebusiness/src/app/layout.tsx"],"not-found":[()=>Promise.resolve().then(t.t.bind(t,5866,23)),"next/dist/client/components/not-found-error"]}],o=["/Users/luismey/Code/vibebusiness/src/app/goals/page.tsx"],x="/goals/page",m={require:t,loadChunk:()=>Promise.resolve()},h=new a.AppPageRouteModule({definition:{kind:l.x.APP_PAGE,page:"/goals/page",pathname:"/goals",bundlePath:"",filename:"",appPaths:[]},userland:{loaderTree:c}})},8508:(e,s,t)=>{Promise.resolve().then(t.bind(t,502)),Promise.resolve().then(t.bind(t,9973))},6307:(e,s,t)=>{"use strict";t.d(s,{Z:()=>a});let a=(0,t(2881).Z)("CircleCheck",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]])},1405:(e,s,t)=>{"use strict";t.d(s,{Z:()=>a});let a=(0,t(2881).Z)("RefreshCw",[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]])},9163:(e,s,t)=>{"use strict";t.d(s,{Z:()=>a});let a=(0,t(2881).Z)("TrendingDown",[["polyline",{points:"22 17 13.5 8.5 8.5 13.5 2 7",key:"1r2t7k"}],["polyline",{points:"16 17 22 17 22 11",key:"11uiuu"}]])},7069:(e,s,t)=>{"use strict";t.d(s,{Z:()=>a});let a=(0,t(2881).Z)("TrendingUp",[["polyline",{points:"22 7 13.5 15.5 8.5 10.5 2 17",key:"126l90"}],["polyline",{points:"16 7 22 7 22 13",key:"kwv8wd"}]])},949:(e,s,t)=>{"use strict";t.d(s,{Z:()=>a});let a=(0,t(2881).Z)("TriangleAlert",[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]])},9973:(e,s,t)=>{"use strict";t.d(s,{default:()=>g});var a=t(326),l=t(434),r=t(7069),i=t(949),n=t(9163),d=t(6307),c=t(3468),o=t(1405),x=t(1135),m=t(9526),h=t(6087),u=t(2728);function p({status:e}){switch(e){case"on_track":return a.jsx(r.Z,{className:"w-4 h-4"});case"at_risk":return a.jsx(i.Z,{className:"w-4 h-4"});case"behind":return a.jsx(n.Z,{className:"w-4 h-4"});case"achieved":return a.jsx(d.Z,{className:"w-4 h-4"})}}function g({goal:e,compact:s=!1}){null!==e.current_value&&(e.current_value,e.target_value);let t=e.kpis.filter(e=>null!==e.current_value).length,r=e.kpis.length,i=function(e){let s=null;for(let t of e.kpis)if(t.history.length>0){let e=t.history[t.history.length-1];(!s||e.date>s)&&(s=e.date)}return s}(e);return a.jsx(l.default,{href:`/goals/${e.id}`,children:(0,a.jsxs)("div",{className:"bg-white rounded-lg border border-slate-200 p-4 hover:border-emerald-300 hover:shadow-md transition-all cursor-pointer",children:[(0,a.jsxs)("div",{className:"flex items-center justify-between mb-3",children:[(0,a.jsxs)("span",{className:(0,x.Z)("inline-flex items-center gap-1.5 px-2 py-1 rounded-full text-xs font-medium border",m.i2[e.status]),children:[a.jsx(p,{status:e.status}),a.jsx("span",{children:m.tV[e.status]})]}),a.jsx("span",{className:(0,x.Z)("text-xs px-2 py-0.5 rounded-full",m.l5[e.category]),children:m.kT[e.category]})]}),(0,a.jsxs)("div",{className:"flex items-start gap-3 mb-3",children:[a.jsx("div",{className:"w-10 h-10 bg-emerald-100 rounded-lg flex items-center justify-center flex-shrink-0",children:a.jsx(c.Z,{className:"w-5 h-5 text-emerald-600"})}),(0,a.jsxs)("div",{className:"flex-1 min-w-0",children:[a.jsx("h3",{className:"font-semibold text-slate-900 text-base leading-tight mb-1",children:e.title}),!s&&a.jsx("p",{className:"text-sm text-slate-500 line-clamp-2",children:e.description})]})]}),a.jsx("div",{className:"mb-3",children:a.jsx(h.Z,{current:e.current_value,target:e.target_value,unit:e.target_unit,status:e.status})}),!s&&e.kpis.length>0&&(0,a.jsxs)("div",{className:"mb-3 space-y-2",children:[e.kpis.slice(0,2).map(e=>(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[a.jsx("span",{className:"text-xs text-slate-500 w-28 truncate",title:e.name,children:e.name}),a.jsx("div",{className:"flex-1 h-6",children:a.jsx(u.Z,{kpi:e,height:24})}),a.jsx("span",{className:"text-xs font-medium text-slate-700 w-12 text-right",children:null!==e.current_value?`${e.current_value}${e.unit}`:"--"})]},e.id)),e.kpis.length>2&&(0,a.jsxs)("p",{className:"text-xs text-slate-400",children:["+",e.kpis.length-2," more KPIs"]})]}),(0,a.jsxs)("div",{className:"flex items-center justify-between pt-2 border-t border-slate-100",children:[(0,a.jsxs)("span",{className:"text-xs text-slate-500",children:["Deadline: ",a.jsx("span",{className:"font-medium text-slate-700",children:e.deadline})]}),(0,a.jsxs)("div",{className:"flex items-center gap-3",children:[i&&(0,a.jsxs)("span",{className:"text-xs text-slate-400 flex items-center gap-1",children:[a.jsx(o.Z,{className:"w-3 h-3"}),function(e){let s=new Date(e),t=Math.floor((new Date().getTime()-s.getTime())/6e4),a=Math.floor(t/60),l=Math.floor(a/24);return t<1?"just now":t<60?`${t} min${t>1?"s":""} ago`:a<24?`${a} hour${a>1?"s":""} ago`:l<7?`${l} day${l>1?"s":""} ago`:s.toLocaleDateString()}(i)]}),(0,a.jsxs)("span",{className:"text-xs text-slate-500",children:[t,"/",r," KPIs"]})]})]}),e.related_ideas.length>0&&a.jsx("div",{className:"mt-2 pt-2 border-t border-slate-100",children:(0,a.jsxs)("span",{className:"text-xs text-emerald-600",children:[e.related_ideas.length," linked idea",1!==e.related_ideas.length?"s":""]})})]})})}},6087:(e,s,t)=>{"use strict";t.d(s,{Z:()=>i});var a=t(326),l=t(1135);let r={on_track:"bg-emerald-500",at_risk:"bg-amber-500",behind:"bg-red-500",achieved:"bg-blue-500"};function i({current:e,target:s,unit:t,status:i,showLabels:n=!0}){let d=null!==e?Math.min(e/s*100,100):0,c=e=>null===e?"--":"percent"===t||"%"===t?`${e}%`:"hours"===t?`${e}h`:`${e} ${t}`;return(0,a.jsxs)("div",{children:[(0,a.jsxs)("div",{className:"relative h-2 bg-slate-100 rounded-full overflow-hidden",children:[a.jsx("div",{className:(0,l.Z)("absolute left-0 top-0 h-full rounded-full transition-all duration-500",r[i]),style:{width:`${d}%`}}),a.jsx("div",{className:"absolute top-0 w-0.5 h-full bg-slate-400",style:{left:"100%"},title:`Target: ${c(s)}`})]}),n&&(0,a.jsxs)("div",{className:"flex items-center justify-between mt-1",children:[(0,a.jsxs)("span",{className:"text-xs text-slate-500",children:["Current: ",a.jsx("span",{className:"font-medium text-slate-700",children:c(e)})]}),(0,a.jsxs)("span",{className:"text-xs text-slate-500",children:["Target: ",a.jsx("span",{className:"font-medium text-slate-700",children:c(s)})]})]})]})}},2728:(e,s,t)=>{"use strict";t.d(s,{Z:()=>r});var a=t(326),l=t(7577);function r({kpi:e,height:s=40,width:t,showTarget:r=!1}){let{path:i,areaPath:n,minValue:d,maxValue:c,points:o}=(0,l.useMemo)(()=>{let a=e.history;if(0===a.length)return{path:"",areaPath:"",minValue:0,maxValue:0,points:[]};let l=a.map(e=>e.value),i=r&&null!==e.target_value?[...l,e.target_value]:l,n=Math.min(...i),d=Math.max(...i),c=d-n||1,o=n-.1*c,x=d+.1*c-o||1,m=s-4,h=(t||100)/Math.max(a.length-1,1),u=a.map((e,s)=>({x:s*h,y:m-(e.value-o)/x*m+2,value:e.value,date:e.date}));return 1===u.length?{path:`M ${u[0].x} ${u[0].y}`,areaPath:"",minValue:n,maxValue:d,points:u}:{path:u.map((e,s)=>0===s?`M ${e.x} ${e.y}`:`L ${e.x} ${e.y}`).join(" "),areaPath:[`M ${u[0].x} ${m+2}`,`L ${u[0].x} ${u[0].y}`,...u.slice(1).map(e=>`L ${e.x} ${e.y}`),`L ${u[u.length-1].x} ${m+2}`,"Z"].join(" "),minValue:n,maxValue:d,points:u}},[e.history,e.target_value,s,t,r]),x=(()=>{if(e.history.length<2)return{stroke:"#94a3b8",fill:"rgba(148, 163, 184, 0.1)"};let s=e.history[0].value,t=e.history[e.history.length-1].value;return("higher_is_better"===e.direction?t>=s:t<=s)?{stroke:"#10b981",fill:"rgba(16, 185, 129, 0.1)"}:{stroke:"#ef4444",fill:"rgba(239, 68, 68, 0.1)"}})();if(0===e.history.length)return a.jsx("div",{className:"flex items-center justify-center text-xs text-slate-400",style:{height:s,width:t||"100%"},children:"No data"});let m=(()=>{if(!r||null===e.target_value||0===e.history.length)return null;let t=[...e.history.map(e=>e.value),e.target_value],a=Math.min(...t),l=Math.max(...t),i=l-a||1,n=a-.1*i,d=s-4;return d-(e.target_value-n)/(l+.1*i-n||1)*d+2})();return(0,a.jsxs)("svg",{width:t||"100%",height:s,viewBox:`0 0 ${t||100} ${s}`,preserveAspectRatio:"none",className:"overflow-visible",children:[n&&a.jsx("path",{d:n,fill:x.fill}),a.jsx("path",{d:i,fill:"none",stroke:x.stroke,strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),r&&null!==m&&a.jsx("line",{x1:0,y1:m,x2:t||100,y2:m,stroke:"#94a3b8",strokeWidth:1,strokeDasharray:"4 2"}),o.length>0&&a.jsx("circle",{cx:o[o.length-1].x,cy:o[o.length-1].y,r:3,fill:x.stroke})]})}},7162:(e,s,t)=>{"use strict";t.d(s,{Z:()=>d});var a=t(1159);let l=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),r=(...e)=>e.filter((e,s,t)=>!!e&&t.indexOf(e)===s).join(" ");var i={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let n=(0,a.forwardRef)(({color:e="currentColor",size:s=24,strokeWidth:t=2,absoluteStrokeWidth:l,className:n="",children:d,iconNode:c,...o},x)=>(0,a.createElement)("svg",{ref:x,...i,width:s,height:s,stroke:e,strokeWidth:l?24*Number(t)/Number(s):t,className:r("lucide",n),...o},[...c.map(([e,s])=>(0,a.createElement)(e,s)),...Array.isArray(d)?d:[d]])),d=(e,s)=>{let t=(0,a.forwardRef)(({className:t,...i},d)=>(0,a.createElement)(n,{ref:d,iconNode:s,className:r(`lucide-${l(e)}`,t),...i}));return t.displayName=`${e}`,t}},8648:(e,s,t)=>{"use strict";t.d(s,{Z:()=>a});let a=(0,t(7162).Z)("CircleCheck",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]])},9987:(e,s,t)=>{"use strict";t.d(s,{Z:()=>a});let a=(0,t(7162).Z)("Target",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["circle",{cx:"12",cy:"12",r:"6",key:"1vlfrh"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}]])},6359:(e,s,t)=>{"use strict";t.d(s,{Z:()=>a});let a=(0,t(7162).Z)("TrendingUp",[["polyline",{points:"22 7 13.5 15.5 8.5 10.5 2 17",key:"126l90"}],["polyline",{points:"16 7 22 7 22 13",key:"kwv8wd"}]])},3027:(e,s,t)=>{"use strict";t.r(s),t.d(s,{default:()=>p,dynamic:()=>h});var a=t(9510),l=t(9987),r=t(6359),i=t(7162);let n=(0,i.Z)("TriangleAlert",[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]]),d=(0,i.Z)("TrendingDown",[["polyline",{points:"22 17 13.5 8.5 8.5 13.5 2 7",key:"1r2t7k"}],["polyline",{points:"16 17 22 17 22 11",key:"11uiuu"}]]);var c=t(8648),o=t(2548);let x=(0,t(8570).createProxy)(String.raw`/Users/luismey/Code/vibebusiness/src/components/GoalCard.tsx#default`);var m=t(6299);let h="force-dynamic";function u({goals:e}){let s={on_track:0,at_risk:0,behind:0,achieved:0};return e.forEach(e=>{s[e.status]++}),e.reduce((e,s)=>e+s.kpis.length,0),e.reduce((e,s)=>e+s.kpis.filter(e=>null!==e.current_value).length,0),(0,a.jsxs)("div",{className:"grid grid-cols-2 md:grid-cols-5 gap-4 mb-6",children:[(0,a.jsxs)("div",{className:"bg-white rounded-lg border border-slate-200 p-4",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2 mb-1",children:[a.jsx(l.Z,{className:"w-4 h-4 text-slate-400"}),a.jsx("span",{className:"text-xs text-slate-500 uppercase font-medium",children:"Total Goals"})]}),a.jsx("p",{className:"text-2xl font-bold text-slate-900",children:e.length})]}),(0,a.jsxs)("div",{className:"bg-white rounded-lg border border-slate-200 p-4",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2 mb-1",children:[a.jsx(r.Z,{className:"w-4 h-4 text-emerald-500"}),a.jsx("span",{className:"text-xs text-slate-500 uppercase font-medium",children:"On Track"})]}),a.jsx("p",{className:"text-2xl font-bold text-emerald-600",children:s.on_track})]}),(0,a.jsxs)("div",{className:"bg-white rounded-lg border border-slate-200 p-4",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2 mb-1",children:[a.jsx(n,{className:"w-4 h-4 text-amber-500"}),a.jsx("span",{className:"text-xs text-slate-500 uppercase font-medium",children:"At Risk"})]}),a.jsx("p",{className:"text-2xl font-bold text-amber-600",children:s.at_risk})]}),(0,a.jsxs)("div",{className:"bg-white rounded-lg border border-slate-200 p-4",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2 mb-1",children:[a.jsx(d,{className:"w-4 h-4 text-red-500"}),a.jsx("span",{className:"text-xs text-slate-500 uppercase font-medium",children:"Behind"})]}),a.jsx("p",{className:"text-2xl font-bold text-red-600",children:s.behind})]}),(0,a.jsxs)("div",{className:"bg-white rounded-lg border border-slate-200 p-4",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2 mb-1",children:[a.jsx(c.Z,{className:"w-4 h-4 text-blue-500"}),a.jsx("span",{className:"text-xs text-slate-500 uppercase font-medium",children:"Achieved"})]}),a.jsx("p",{className:"text-2xl font-bold text-blue-600",children:s.achieved})]})]})}async function p(){let e=await (0,m.M6)(),s={behind:0,at_risk:1,on_track:2,achieved:3},t=[...e].sort((e,t)=>s[e.status]-s[t.status]);return a.jsx(o.Z,{children:(0,a.jsxs)("div",{className:"p-6",children:[a.jsx("div",{className:"flex items-center justify-between mb-6",children:(0,a.jsxs)("div",{children:[a.jsx("h1",{className:"text-2xl font-bold text-slate-900",children:"Business Goals"}),a.jsx("p",{className:"text-sm text-slate-500 mt-1",children:"Track OKRs and KPIs aligned with your business objectives"})]})}),a.jsx(u,{goals:e}),0===e.length?(0,a.jsxs)("div",{className:"bg-white rounded-lg border border-slate-200 p-12 text-center",children:[a.jsx(l.Z,{className:"w-12 h-12 text-slate-300 mx-auto mb-4"}),a.jsx("h2",{className:"text-lg font-medium text-slate-900 mb-2",children:"No goals yet"}),a.jsx("p",{className:"text-sm text-slate-500 mb-4",children:"Start by creating your first business goal to track progress and align ideas."})]}):a.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4",children:t.map(e=>a.jsx(x,{goal:e},e.id))}),(0,a.jsxs)("div",{className:"mt-8 bg-slate-50 rounded-lg border border-slate-200 p-6",children:[a.jsx("h3",{className:"text-sm font-medium text-slate-900 mb-2",children:"About Business Goals"}),a.jsx("p",{className:"text-sm text-slate-600 mb-4",children:"Goals are the foundation of your improvement strategy. Each goal is tracked through Key Performance Indicators (KPIs) and linked to ideas that support its achievement."}),(0,a.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-4 text-sm",children:[(0,a.jsxs)("div",{children:[a.jsx("h4",{className:"font-medium text-slate-700 mb-1",children:"Goals First"}),a.jsx("p",{className:"text-slate-500",children:"Define what success looks like before tracking metrics."})]}),(0,a.jsxs)("div",{children:[a.jsx("h4",{className:"font-medium text-slate-700 mb-1",children:"KPIs Second"}),a.jsx("p",{className:"text-slate-500",children:"Choose measurable indicators that reflect goal progress."})]}),(0,a.jsxs)("div",{children:[a.jsx("h4",{className:"font-medium text-slate-700 mb-1",children:"Ideas Aligned"}),a.jsx("p",{className:"text-slate-500",children:"Link improvement ideas to goals for focused execution."})]})]})]})]})})}},2548:(e,s,t)=>{"use strict";t.d(s,{Z:()=>a});let a=(0,t(8570).createProxy)(String.raw`/Users/luismey/Code/vibebusiness/src/components/AnalystLayout.tsx#default`)}};var s=require("../../webpack-runtime.js");s.C(e);var t=e=>s(s.s=e),a=s.X(0,[9276,4471,9404,6299,995],()=>t(2861));module.exports=a})();
@@ -1 +1 @@
1
- {"version":1,"files":["../../../../data/.DS_Store","../../../../data/.analysis-prompt.txt","../../../../data/.gitkeep","../../../../data/business-context.json","../../../../data/codebase-snapshot.json","../../../../data/competitors.json","../../../../data/config.json","../../../../data/copy/landing-improvements-2026-02-20.md","../../../../data/copy/landing-landing-page-2026-02-20.md","../../../../data/email-campaigns/sequences/onboarding.md","../../../../data/email-campaigns/welcome-2026-02-20.md","../../../../data/goals.json","../../../../data/heartbeat-sessions.json","../../../../data/hypotheses.json","../../../../data/ideas.json","../../../../data/implementations.json","../../../../data/investor-updates.json","../../../../data/marketplace-positioning.json","../../../../data/pages.json","../../../../data/payments.json","../../../../data/positioning.json","../../../../data/posthog.json","../../../../data/reports/.DS_Store","../../../../data/reports/visuals/idea-lp-og-meta-card.png","../../../../data/reports/visuals/idea-readme-landing-url-card.png","../../../../data/reports/visuals/idea-stripe-integration-card.png","../../../../data/reports/visuals/promo-launch.png","../../../../data/reports/visuals/promo-ship-fast.png","../../../../data/reports/visuals/promo-while-you-slept-v2.png","../../../../data/reports/visuals/promo-while-you-slept-v3.png","../../../../data/reports/visuals/promo-while-you-slept.png","../../../../data/roadmap.json","../../../../data/sessions.json","../../../../data/social.json","../../../../data/video-ideas.md","../../../../node_modules/next/dist/client/components/action-async-storage-instance.js","../../../../node_modules/next/dist/client/components/action-async-storage.external.js","../../../../node_modules/next/dist/client/components/async-local-storage.js","../../../../node_modules/next/dist/client/components/request-async-storage-instance.js","../../../../node_modules/next/dist/client/components/request-async-storage.external.js","../../../../node_modules/next/dist/client/components/static-generation-async-storage-instance.js","../../../../node_modules/next/dist/client/components/static-generation-async-storage.external.js","../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../node_modules/next/package.json","../../../../package.json","../../../package.json","../../chunks/4471.js","../../chunks/534.js","../../chunks/9276.js","../../chunks/9404.js","../../chunks/995.js","../../webpack-runtime.js","page_client-reference-manifest.js"]}
1
+ {"version":1,"files":["../../../../data/.DS_Store","../../../../data/.analysis-prompt.txt","../../../../data/.gitkeep","../../../../data/business-context.json","../../../../data/codebase-snapshot.json","../../../../data/competitors.json","../../../../data/config.json","../../../../data/copy/landing-improvements-2026-02-20.md","../../../../data/copy/landing-landing-page-2026-02-20.md","../../../../data/email-campaigns/sequences/onboarding.md","../../../../data/email-campaigns/welcome-2026-02-20.md","../../../../data/goals.json","../../../../data/heartbeat-sessions.json","../../../../data/hypotheses.json","../../../../data/ideas.json","../../../../data/implementations.json","../../../../data/investor-updates.json","../../../../data/marketplace-positioning.json","../../../../data/pages.json","../../../../data/payments.json","../../../../data/positioning.json","../../../../data/posthog.json","../../../../data/reports/.DS_Store","../../../../data/reports/visuals/idea-lp-og-meta-card.png","../../../../data/reports/visuals/idea-readme-landing-url-card.png","../../../../data/reports/visuals/idea-stripe-integration-card.png","../../../../data/reports/visuals/promo-launch.png","../../../../data/reports/visuals/promo-ship-fast.png","../../../../data/reports/visuals/promo-while-you-slept-v2.png","../../../../data/reports/visuals/promo-while-you-slept-v3.png","../../../../data/reports/visuals/promo-while-you-slept.png","../../../../data/roadmap.json","../../../../data/sessions.json","../../../../data/social.json","../../../../data/video-ideas.md","../../../../node_modules/next/dist/client/components/action-async-storage-instance.js","../../../../node_modules/next/dist/client/components/action-async-storage.external.js","../../../../node_modules/next/dist/client/components/async-local-storage.js","../../../../node_modules/next/dist/client/components/request-async-storage-instance.js","../../../../node_modules/next/dist/client/components/request-async-storage.external.js","../../../../node_modules/next/dist/client/components/static-generation-async-storage-instance.js","../../../../node_modules/next/dist/client/components/static-generation-async-storage.external.js","../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../node_modules/next/package.json","../../../../package.json","../../../package.json","../../chunks/4471.js","../../chunks/6299.js","../../chunks/9276.js","../../chunks/9404.js","../../chunks/995.js","../../webpack-runtime.js","page_client-reference-manifest.js"]}
@@ -1 +1 @@
1
- globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/goals/page"]={"moduleLoading":{"prefix":"/_next/","crossOrigin":null},"ssrModuleMapping":{"47":{"*":{"id":"4812","name":"*","chunks":[],"async":false}},"80":{"*":{"id":"1868","name":"*","chunks":[],"async":false}},"786":{"*":{"id":"1855","name":"*","chunks":[],"async":false}},"1060":{"*":{"id":"9727","name":"*","chunks":[],"async":false}},"1259":{"*":{"id":"502","name":"*","chunks":[],"async":false}},"2674":{"*":{"id":"9973","name":"*","chunks":[],"async":false}},"2846":{"*":{"id":"2994","name":"*","chunks":[],"async":false}},"2972":{"*":{"id":"9404","name":"*","chunks":[],"async":false}},"3032":{"*":{"id":"1828","name":"*","chunks":[],"async":false}},"4067":{"*":{"id":"6893","name":"*","chunks":[],"async":false}},"4687":{"*":{"id":"8696","name":"*","chunks":[],"async":false}},"4707":{"*":{"id":"9671","name":"*","chunks":[],"async":false}},"6423":{"*":{"id":"4759","name":"*","chunks":[],"async":false}},"8301":{"*":{"id":"8206","name":"*","chunks":[],"async":false}},"8825":{"*":{"id":"4663","name":"*","chunks":[],"async":false}},"8935":{"*":{"id":"1358","name":"*","chunks":[],"async":false}},"9107":{"*":{"id":"6114","name":"*","chunks":[],"async":false}},"9252":{"*":{"id":"158","name":"*","chunks":[],"async":false}},"9525":{"*":{"id":"4107","name":"*","chunks":[],"async":false}},"9646":{"*":{"id":"8022","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/luismey/Code/vibebusiness/node_modules/next/dist/client/components/app-router.js":{"id":2846,"name":"*","chunks":[],"async":false},"/Users/luismey/Code/vibebusiness/node_modules/next/dist/esm/client/components/app-router.js":{"id":2846,"name":"*","chunks":[],"async":false},"/Users/luismey/Code/vibebusiness/node_modules/next/dist/client/components/client-page.js":{"id":9107,"name":"*","chunks":[],"async":false},"/Users/luismey/Code/vibebusiness/node_modules/next/dist/esm/client/components/client-page.js":{"id":9107,"name":"*","chunks":[],"async":false},"/Users/luismey/Code/vibebusiness/node_modules/next/dist/client/components/error-boundary.js":{"id":1060,"name":"*","chunks":[],"async":false},"/Users/luismey/Code/vibebusiness/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":1060,"name":"*","chunks":[],"async":false},"/Users/luismey/Code/vibebusiness/node_modules/next/dist/client/components/layout-router.js":{"id":4707,"name":"*","chunks":[],"async":false},"/Users/luismey/Code/vibebusiness/node_modules/next/dist/esm/client/components/layout-router.js":{"id":4707,"name":"*","chunks":[],"async":false},"/Users/luismey/Code/vibebusiness/node_modules/next/dist/client/components/not-found-boundary.js":{"id":80,"name":"*","chunks":[],"async":false},"/Users/luismey/Code/vibebusiness/node_modules/next/dist/esm/client/components/not-found-boundary.js":{"id":80,"name":"*","chunks":[],"async":false},"/Users/luismey/Code/vibebusiness/node_modules/next/dist/client/components/render-from-template-context.js":{"id":6423,"name":"*","chunks":[],"async":false},"/Users/luismey/Code/vibebusiness/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":6423,"name":"*","chunks":[],"async":false},"/Users/luismey/Code/vibebusiness/src/app/globals.css":{"id":2778,"name":"*","chunks":["185","static/chunks/app/layout-eeef7928298d2198.js"],"async":false},"/Users/luismey/Code/vibebusiness/src/app/goals/[id]/page.tsx":{"id":8935,"name":"*","chunks":[],"async":false},"/Users/luismey/Code/vibebusiness/src/app/hypotheses/[id]/page.tsx":{"id":9646,"name":"*","chunks":[],"async":false},"/Users/luismey/Code/vibebusiness/src/app/roadmap/[id]/page.tsx":{"id":47,"name":"*","chunks":[],"async":false},"/Users/luismey/Code/vibebusiness/src/app/updates/new/page.tsx":{"id":9525,"name":"*","chunks":[],"async":false},"/Users/luismey/Code/vibebusiness/src/app/social/page.tsx":{"id":4687,"name":"*","chunks":[],"async":false},"/Users/luismey/Code/vibebusiness/src/app/settings/page.tsx":{"id":8301,"name":"*","chunks":[],"async":false},"/Users/luismey/Code/vibebusiness/src/components/AnalystLayout.tsx":{"id":1259,"name":"*","chunks":["972","static/chunks/972-8c4b4e19760b26af.js","354","static/chunks/354-d5bc9619159f46c5.js","639","static/chunks/app/goals/page-4dfa36ac38853b88.js"],"async":false},"/Users/luismey/Code/vibebusiness/src/components/IdeaDetail.tsx":{"id":9252,"name":"*","chunks":[],"async":false},"/Users/luismey/Code/vibebusiness/src/app/DashboardHeader.tsx":{"id":4067,"name":"*","chunks":["972","static/chunks/972-8c4b4e19760b26af.js","851","static/chunks/851-65b033bf38847cbb.js","931","static/chunks/app/page-3635a292b3d471c0.js"],"async":false},"/Users/luismey/Code/vibebusiness/src/components/IdeaKanban.tsx":{"id":8825,"name":"*","chunks":["972","static/chunks/972-8c4b4e19760b26af.js","851","static/chunks/851-65b033bf38847cbb.js","931","static/chunks/app/page-3635a292b3d471c0.js"],"async":false},"/Users/luismey/Code/vibebusiness/src/components/GoalCard.tsx":{"id":2674,"name":"*","chunks":["972","static/chunks/972-8c4b4e19760b26af.js","354","static/chunks/354-d5bc9619159f46c5.js","639","static/chunks/app/goals/page-4dfa36ac38853b88.js"],"async":false},"/Users/luismey/Code/vibebusiness/src/components/RoadmapViewToggle.tsx":{"id":3032,"name":"*","chunks":[],"async":false},"/Users/luismey/Code/vibebusiness/node_modules/next/dist/client/link.js":{"id":2972,"name":"*","chunks":[],"async":false},"/Users/luismey/Code/vibebusiness/node_modules/next/dist/esm/client/link.js":{"id":2972,"name":"*","chunks":[],"async":false},"/Users/luismey/Code/vibebusiness/src/components/HypothesisCard.tsx":{"id":786,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/luismey/Code/vibebusiness/src/":[],"/Users/luismey/Code/vibebusiness/src/app/layout":["static/css/de9b407f2c259a06.css"],"/Users/luismey/Code/vibebusiness/src/app/page":[],"/Users/luismey/Code/vibebusiness/src/app/goals/page":[]}}
1
+ globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/goals/page"]={"moduleLoading":{"prefix":"/_next/","crossOrigin":null},"ssrModuleMapping":{"47":{"*":{"id":"4812","name":"*","chunks":[],"async":false}},"80":{"*":{"id":"1868","name":"*","chunks":[],"async":false}},"786":{"*":{"id":"1855","name":"*","chunks":[],"async":false}},"1034":{"*":{"id":"625","name":"*","chunks":[],"async":false}},"1060":{"*":{"id":"9727","name":"*","chunks":[],"async":false}},"1259":{"*":{"id":"502","name":"*","chunks":[],"async":false}},"2674":{"*":{"id":"9973","name":"*","chunks":[],"async":false}},"2846":{"*":{"id":"2994","name":"*","chunks":[],"async":false}},"2912":{"*":{"id":"7805","name":"*","chunks":[],"async":false}},"2972":{"*":{"id":"9404","name":"*","chunks":[],"async":false}},"3032":{"*":{"id":"1828","name":"*","chunks":[],"async":false}},"4067":{"*":{"id":"6893","name":"*","chunks":[],"async":false}},"4687":{"*":{"id":"8696","name":"*","chunks":[],"async":false}},"4707":{"*":{"id":"9671","name":"*","chunks":[],"async":false}},"5701":{"*":{"id":"1264","name":"*","chunks":[],"async":false}},"6423":{"*":{"id":"4759","name":"*","chunks":[],"async":false}},"6682":{"*":{"id":"5313","name":"*","chunks":[],"async":false}},"8013":{"*":{"id":"8841","name":"*","chunks":[],"async":false}},"8301":{"*":{"id":"8206","name":"*","chunks":[],"async":false}},"8825":{"*":{"id":"4663","name":"*","chunks":[],"async":false}},"8935":{"*":{"id":"1358","name":"*","chunks":[],"async":false}},"9107":{"*":{"id":"6114","name":"*","chunks":[],"async":false}},"9525":{"*":{"id":"4107","name":"*","chunks":[],"async":false}},"9646":{"*":{"id":"8022","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/luismey/Code/vibebusiness/node_modules/next/dist/client/components/app-router.js":{"id":2846,"name":"*","chunks":[],"async":false},"/Users/luismey/Code/vibebusiness/node_modules/next/dist/esm/client/components/app-router.js":{"id":2846,"name":"*","chunks":[],"async":false},"/Users/luismey/Code/vibebusiness/node_modules/next/dist/client/components/client-page.js":{"id":9107,"name":"*","chunks":[],"async":false},"/Users/luismey/Code/vibebusiness/node_modules/next/dist/esm/client/components/client-page.js":{"id":9107,"name":"*","chunks":[],"async":false},"/Users/luismey/Code/vibebusiness/node_modules/next/dist/client/components/error-boundary.js":{"id":1060,"name":"*","chunks":[],"async":false},"/Users/luismey/Code/vibebusiness/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":1060,"name":"*","chunks":[],"async":false},"/Users/luismey/Code/vibebusiness/node_modules/next/dist/client/components/layout-router.js":{"id":4707,"name":"*","chunks":[],"async":false},"/Users/luismey/Code/vibebusiness/node_modules/next/dist/esm/client/components/layout-router.js":{"id":4707,"name":"*","chunks":[],"async":false},"/Users/luismey/Code/vibebusiness/node_modules/next/dist/client/components/not-found-boundary.js":{"id":80,"name":"*","chunks":[],"async":false},"/Users/luismey/Code/vibebusiness/node_modules/next/dist/esm/client/components/not-found-boundary.js":{"id":80,"name":"*","chunks":[],"async":false},"/Users/luismey/Code/vibebusiness/node_modules/next/dist/client/components/render-from-template-context.js":{"id":6423,"name":"*","chunks":[],"async":false},"/Users/luismey/Code/vibebusiness/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":6423,"name":"*","chunks":[],"async":false},"/Users/luismey/Code/vibebusiness/src/app/globals.css":{"id":2778,"name":"*","chunks":["185","static/chunks/app/layout-eeef7928298d2198.js"],"async":false},"/Users/luismey/Code/vibebusiness/src/app/hypotheses/[id]/page.tsx":{"id":9646,"name":"*","chunks":[],"async":false},"/Users/luismey/Code/vibebusiness/src/app/goals/[id]/page.tsx":{"id":8935,"name":"*","chunks":[],"async":false},"/Users/luismey/Code/vibebusiness/src/app/roadmap/[id]/page.tsx":{"id":47,"name":"*","chunks":[],"async":false},"/Users/luismey/Code/vibebusiness/src/app/settings/page.tsx":{"id":8301,"name":"*","chunks":[],"async":false},"/Users/luismey/Code/vibebusiness/src/app/social/page.tsx":{"id":4687,"name":"*","chunks":[],"async":false},"/Users/luismey/Code/vibebusiness/src/app/updates/new/page.tsx":{"id":9525,"name":"*","chunks":[],"async":false},"/Users/luismey/Code/vibebusiness/src/components/AnalystLayout.tsx":{"id":1259,"name":"*","chunks":["972","static/chunks/972-8c4b4e19760b26af.js","354","static/chunks/354-d5bc9619159f46c5.js","639","static/chunks/app/goals/page-4dfa36ac38853b88.js"],"async":false},"/Users/luismey/Code/vibebusiness/src/components/IdeaDetail.tsx":{"id":2912,"name":"*","chunks":[],"async":false},"/Users/luismey/Code/vibebusiness/src/components/GoalCard.tsx":{"id":2674,"name":"*","chunks":["972","static/chunks/972-8c4b4e19760b26af.js","354","static/chunks/354-d5bc9619159f46c5.js","639","static/chunks/app/goals/page-4dfa36ac38853b88.js"],"async":false},"/Users/luismey/Code/vibebusiness/src/components/HypothesisCard.tsx":{"id":786,"name":"*","chunks":[],"async":false},"/Users/luismey/Code/vibebusiness/src/components/RoadmapViewToggle.tsx":{"id":3032,"name":"*","chunks":[],"async":false},"/Users/luismey/Code/vibebusiness/src/app/DashboardHeader.tsx":{"id":4067,"name":"*","chunks":["972","static/chunks/972-8c4b4e19760b26af.js","851","static/chunks/851-65b033bf38847cbb.js","931","static/chunks/app/page-3635a292b3d471c0.js"],"async":false},"/Users/luismey/Code/vibebusiness/src/components/IdeaKanban.tsx":{"id":8825,"name":"*","chunks":["972","static/chunks/972-8c4b4e19760b26af.js","851","static/chunks/851-65b033bf38847cbb.js","931","static/chunks/app/page-3635a292b3d471c0.js"],"async":false},"/Users/luismey/Code/vibebusiness/src/components/public-roadmap/ShareButtons.tsx":{"id":6682,"name":"*","chunks":[],"async":false},"/Users/luismey/Code/vibebusiness/node_modules/next/dist/client/link.js":{"id":2972,"name":"*","chunks":[],"async":false},"/Users/luismey/Code/vibebusiness/node_modules/next/dist/esm/client/link.js":{"id":2972,"name":"*","chunks":[],"async":false},"/Users/luismey/Code/vibebusiness/src/components/public-roadmap/PhaseNarrative.tsx":{"id":5701,"name":"*","chunks":[],"async":false},"/Users/luismey/Code/vibebusiness/src/components/public-roadmap/PhaseTimeline.tsx":{"id":8013,"name":"*","chunks":[],"async":false},"/Users/luismey/Code/vibebusiness/src/components/public-roadmap/PublicEpicCard.tsx":{"id":1034,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/luismey/Code/vibebusiness/src/":[],"/Users/luismey/Code/vibebusiness/src/app/layout":["static/css/ba6f5fe78931fee2.css"],"/Users/luismey/Code/vibebusiness/src/app/page":[],"/Users/luismey/Code/vibebusiness/src/app/goals/page":[]}}
@@ -1 +1 @@
1
- globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/hypotheses/[id]/page"]={"moduleLoading":{"prefix":"/_next/","crossOrigin":null},"ssrModuleMapping":{"47":{"*":{"id":"4812","name":"*","chunks":[],"async":false}},"80":{"*":{"id":"1868","name":"*","chunks":[],"async":false}},"786":{"*":{"id":"1855","name":"*","chunks":[],"async":false}},"1060":{"*":{"id":"9727","name":"*","chunks":[],"async":false}},"1259":{"*":{"id":"502","name":"*","chunks":[],"async":false}},"2674":{"*":{"id":"9973","name":"*","chunks":[],"async":false}},"2846":{"*":{"id":"2994","name":"*","chunks":[],"async":false}},"2972":{"*":{"id":"9404","name":"*","chunks":[],"async":false}},"3032":{"*":{"id":"1828","name":"*","chunks":[],"async":false}},"4067":{"*":{"id":"6893","name":"*","chunks":[],"async":false}},"4687":{"*":{"id":"8696","name":"*","chunks":[],"async":false}},"4707":{"*":{"id":"9671","name":"*","chunks":[],"async":false}},"6423":{"*":{"id":"4759","name":"*","chunks":[],"async":false}},"8301":{"*":{"id":"8206","name":"*","chunks":[],"async":false}},"8825":{"*":{"id":"4663","name":"*","chunks":[],"async":false}},"8935":{"*":{"id":"1358","name":"*","chunks":[],"async":false}},"9107":{"*":{"id":"6114","name":"*","chunks":[],"async":false}},"9252":{"*":{"id":"158","name":"*","chunks":[],"async":false}},"9525":{"*":{"id":"4107","name":"*","chunks":[],"async":false}},"9646":{"*":{"id":"8022","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/luismey/Code/vibebusiness/node_modules/next/dist/client/components/app-router.js":{"id":2846,"name":"*","chunks":[],"async":false},"/Users/luismey/Code/vibebusiness/node_modules/next/dist/esm/client/components/app-router.js":{"id":2846,"name":"*","chunks":[],"async":false},"/Users/luismey/Code/vibebusiness/node_modules/next/dist/client/components/client-page.js":{"id":9107,"name":"*","chunks":[],"async":false},"/Users/luismey/Code/vibebusiness/node_modules/next/dist/esm/client/components/client-page.js":{"id":9107,"name":"*","chunks":[],"async":false},"/Users/luismey/Code/vibebusiness/node_modules/next/dist/client/components/error-boundary.js":{"id":1060,"name":"*","chunks":[],"async":false},"/Users/luismey/Code/vibebusiness/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":1060,"name":"*","chunks":[],"async":false},"/Users/luismey/Code/vibebusiness/node_modules/next/dist/client/components/layout-router.js":{"id":4707,"name":"*","chunks":[],"async":false},"/Users/luismey/Code/vibebusiness/node_modules/next/dist/esm/client/components/layout-router.js":{"id":4707,"name":"*","chunks":[],"async":false},"/Users/luismey/Code/vibebusiness/node_modules/next/dist/client/components/not-found-boundary.js":{"id":80,"name":"*","chunks":[],"async":false},"/Users/luismey/Code/vibebusiness/node_modules/next/dist/esm/client/components/not-found-boundary.js":{"id":80,"name":"*","chunks":[],"async":false},"/Users/luismey/Code/vibebusiness/node_modules/next/dist/client/components/render-from-template-context.js":{"id":6423,"name":"*","chunks":[],"async":false},"/Users/luismey/Code/vibebusiness/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":6423,"name":"*","chunks":[],"async":false},"/Users/luismey/Code/vibebusiness/src/app/globals.css":{"id":2778,"name":"*","chunks":["185","static/chunks/app/layout-eeef7928298d2198.js"],"async":false},"/Users/luismey/Code/vibebusiness/src/app/goals/[id]/page.tsx":{"id":8935,"name":"*","chunks":[],"async":false},"/Users/luismey/Code/vibebusiness/src/app/hypotheses/[id]/page.tsx":{"id":9646,"name":"*","chunks":["972","static/chunks/972-8c4b4e19760b26af.js","280","static/chunks/280-fd1092f75f985b1e.js","182","static/chunks/app/hypotheses/%5Bid%5D/page-6ec09d5470557c18.js"],"async":false},"/Users/luismey/Code/vibebusiness/src/app/roadmap/[id]/page.tsx":{"id":47,"name":"*","chunks":[],"async":false},"/Users/luismey/Code/vibebusiness/src/app/updates/new/page.tsx":{"id":9525,"name":"*","chunks":[],"async":false},"/Users/luismey/Code/vibebusiness/src/app/social/page.tsx":{"id":4687,"name":"*","chunks":[],"async":false},"/Users/luismey/Code/vibebusiness/src/app/settings/page.tsx":{"id":8301,"name":"*","chunks":[],"async":false},"/Users/luismey/Code/vibebusiness/src/components/AnalystLayout.tsx":{"id":1259,"name":"*","chunks":["972","static/chunks/972-8c4b4e19760b26af.js","204","static/chunks/app/hypotheses/page-1732b7466579493e.js"],"async":false},"/Users/luismey/Code/vibebusiness/src/components/IdeaDetail.tsx":{"id":9252,"name":"*","chunks":[],"async":false},"/Users/luismey/Code/vibebusiness/src/app/DashboardHeader.tsx":{"id":4067,"name":"*","chunks":["972","static/chunks/972-8c4b4e19760b26af.js","851","static/chunks/851-65b033bf38847cbb.js","931","static/chunks/app/page-3635a292b3d471c0.js"],"async":false},"/Users/luismey/Code/vibebusiness/src/components/IdeaKanban.tsx":{"id":8825,"name":"*","chunks":["972","static/chunks/972-8c4b4e19760b26af.js","851","static/chunks/851-65b033bf38847cbb.js","931","static/chunks/app/page-3635a292b3d471c0.js"],"async":false},"/Users/luismey/Code/vibebusiness/src/components/GoalCard.tsx":{"id":2674,"name":"*","chunks":[],"async":false},"/Users/luismey/Code/vibebusiness/src/components/RoadmapViewToggle.tsx":{"id":3032,"name":"*","chunks":[],"async":false},"/Users/luismey/Code/vibebusiness/node_modules/next/dist/client/link.js":{"id":2972,"name":"*","chunks":[],"async":false},"/Users/luismey/Code/vibebusiness/node_modules/next/dist/esm/client/link.js":{"id":2972,"name":"*","chunks":[],"async":false},"/Users/luismey/Code/vibebusiness/src/components/HypothesisCard.tsx":{"id":786,"name":"*","chunks":["972","static/chunks/972-8c4b4e19760b26af.js","204","static/chunks/app/hypotheses/page-1732b7466579493e.js"],"async":false}},"entryCSSFiles":{"/Users/luismey/Code/vibebusiness/src/":[],"/Users/luismey/Code/vibebusiness/src/app/layout":["static/css/de9b407f2c259a06.css"],"/Users/luismey/Code/vibebusiness/src/app/page":[],"/Users/luismey/Code/vibebusiness/src/app/hypotheses/page":[],"/Users/luismey/Code/vibebusiness/src/app/hypotheses/[id]/page":[]}}
1
+ globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/hypotheses/[id]/page"]={"moduleLoading":{"prefix":"/_next/","crossOrigin":null},"ssrModuleMapping":{"47":{"*":{"id":"4812","name":"*","chunks":[],"async":false}},"80":{"*":{"id":"1868","name":"*","chunks":[],"async":false}},"786":{"*":{"id":"1855","name":"*","chunks":[],"async":false}},"1034":{"*":{"id":"625","name":"*","chunks":[],"async":false}},"1060":{"*":{"id":"9727","name":"*","chunks":[],"async":false}},"1259":{"*":{"id":"502","name":"*","chunks":[],"async":false}},"2674":{"*":{"id":"9973","name":"*","chunks":[],"async":false}},"2846":{"*":{"id":"2994","name":"*","chunks":[],"async":false}},"2912":{"*":{"id":"7805","name":"*","chunks":[],"async":false}},"2972":{"*":{"id":"9404","name":"*","chunks":[],"async":false}},"3032":{"*":{"id":"1828","name":"*","chunks":[],"async":false}},"4067":{"*":{"id":"6893","name":"*","chunks":[],"async":false}},"4687":{"*":{"id":"8696","name":"*","chunks":[],"async":false}},"4707":{"*":{"id":"9671","name":"*","chunks":[],"async":false}},"5701":{"*":{"id":"1264","name":"*","chunks":[],"async":false}},"6423":{"*":{"id":"4759","name":"*","chunks":[],"async":false}},"6682":{"*":{"id":"5313","name":"*","chunks":[],"async":false}},"8013":{"*":{"id":"8841","name":"*","chunks":[],"async":false}},"8301":{"*":{"id":"8206","name":"*","chunks":[],"async":false}},"8825":{"*":{"id":"4663","name":"*","chunks":[],"async":false}},"8935":{"*":{"id":"1358","name":"*","chunks":[],"async":false}},"9107":{"*":{"id":"6114","name":"*","chunks":[],"async":false}},"9525":{"*":{"id":"4107","name":"*","chunks":[],"async":false}},"9646":{"*":{"id":"8022","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/luismey/Code/vibebusiness/node_modules/next/dist/client/components/app-router.js":{"id":2846,"name":"*","chunks":[],"async":false},"/Users/luismey/Code/vibebusiness/node_modules/next/dist/esm/client/components/app-router.js":{"id":2846,"name":"*","chunks":[],"async":false},"/Users/luismey/Code/vibebusiness/node_modules/next/dist/client/components/client-page.js":{"id":9107,"name":"*","chunks":[],"async":false},"/Users/luismey/Code/vibebusiness/node_modules/next/dist/esm/client/components/client-page.js":{"id":9107,"name":"*","chunks":[],"async":false},"/Users/luismey/Code/vibebusiness/node_modules/next/dist/client/components/error-boundary.js":{"id":1060,"name":"*","chunks":[],"async":false},"/Users/luismey/Code/vibebusiness/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":1060,"name":"*","chunks":[],"async":false},"/Users/luismey/Code/vibebusiness/node_modules/next/dist/client/components/layout-router.js":{"id":4707,"name":"*","chunks":[],"async":false},"/Users/luismey/Code/vibebusiness/node_modules/next/dist/esm/client/components/layout-router.js":{"id":4707,"name":"*","chunks":[],"async":false},"/Users/luismey/Code/vibebusiness/node_modules/next/dist/client/components/not-found-boundary.js":{"id":80,"name":"*","chunks":[],"async":false},"/Users/luismey/Code/vibebusiness/node_modules/next/dist/esm/client/components/not-found-boundary.js":{"id":80,"name":"*","chunks":[],"async":false},"/Users/luismey/Code/vibebusiness/node_modules/next/dist/client/components/render-from-template-context.js":{"id":6423,"name":"*","chunks":[],"async":false},"/Users/luismey/Code/vibebusiness/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":6423,"name":"*","chunks":[],"async":false},"/Users/luismey/Code/vibebusiness/src/app/globals.css":{"id":2778,"name":"*","chunks":["185","static/chunks/app/layout-eeef7928298d2198.js"],"async":false},"/Users/luismey/Code/vibebusiness/src/app/hypotheses/[id]/page.tsx":{"id":9646,"name":"*","chunks":["972","static/chunks/972-8c4b4e19760b26af.js","280","static/chunks/280-fd1092f75f985b1e.js","182","static/chunks/app/hypotheses/%5Bid%5D/page-6ec09d5470557c18.js"],"async":false},"/Users/luismey/Code/vibebusiness/src/app/goals/[id]/page.tsx":{"id":8935,"name":"*","chunks":[],"async":false},"/Users/luismey/Code/vibebusiness/src/app/roadmap/[id]/page.tsx":{"id":47,"name":"*","chunks":[],"async":false},"/Users/luismey/Code/vibebusiness/src/app/settings/page.tsx":{"id":8301,"name":"*","chunks":[],"async":false},"/Users/luismey/Code/vibebusiness/src/app/social/page.tsx":{"id":4687,"name":"*","chunks":[],"async":false},"/Users/luismey/Code/vibebusiness/src/app/updates/new/page.tsx":{"id":9525,"name":"*","chunks":[],"async":false},"/Users/luismey/Code/vibebusiness/src/components/AnalystLayout.tsx":{"id":1259,"name":"*","chunks":["972","static/chunks/972-8c4b4e19760b26af.js","204","static/chunks/app/hypotheses/page-1732b7466579493e.js"],"async":false},"/Users/luismey/Code/vibebusiness/src/components/IdeaDetail.tsx":{"id":2912,"name":"*","chunks":[],"async":false},"/Users/luismey/Code/vibebusiness/src/components/GoalCard.tsx":{"id":2674,"name":"*","chunks":[],"async":false},"/Users/luismey/Code/vibebusiness/src/components/HypothesisCard.tsx":{"id":786,"name":"*","chunks":["972","static/chunks/972-8c4b4e19760b26af.js","204","static/chunks/app/hypotheses/page-1732b7466579493e.js"],"async":false},"/Users/luismey/Code/vibebusiness/src/components/RoadmapViewToggle.tsx":{"id":3032,"name":"*","chunks":[],"async":false},"/Users/luismey/Code/vibebusiness/src/app/DashboardHeader.tsx":{"id":4067,"name":"*","chunks":["972","static/chunks/972-8c4b4e19760b26af.js","851","static/chunks/851-65b033bf38847cbb.js","931","static/chunks/app/page-3635a292b3d471c0.js"],"async":false},"/Users/luismey/Code/vibebusiness/src/components/IdeaKanban.tsx":{"id":8825,"name":"*","chunks":["972","static/chunks/972-8c4b4e19760b26af.js","851","static/chunks/851-65b033bf38847cbb.js","931","static/chunks/app/page-3635a292b3d471c0.js"],"async":false},"/Users/luismey/Code/vibebusiness/src/components/public-roadmap/ShareButtons.tsx":{"id":6682,"name":"*","chunks":[],"async":false},"/Users/luismey/Code/vibebusiness/node_modules/next/dist/client/link.js":{"id":2972,"name":"*","chunks":[],"async":false},"/Users/luismey/Code/vibebusiness/node_modules/next/dist/esm/client/link.js":{"id":2972,"name":"*","chunks":[],"async":false},"/Users/luismey/Code/vibebusiness/src/components/public-roadmap/PhaseNarrative.tsx":{"id":5701,"name":"*","chunks":[],"async":false},"/Users/luismey/Code/vibebusiness/src/components/public-roadmap/PhaseTimeline.tsx":{"id":8013,"name":"*","chunks":[],"async":false},"/Users/luismey/Code/vibebusiness/src/components/public-roadmap/PublicEpicCard.tsx":{"id":1034,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/luismey/Code/vibebusiness/src/":[],"/Users/luismey/Code/vibebusiness/src/app/layout":["static/css/ba6f5fe78931fee2.css"],"/Users/luismey/Code/vibebusiness/src/app/page":[],"/Users/luismey/Code/vibebusiness/src/app/hypotheses/page":[],"/Users/luismey/Code/vibebusiness/src/app/hypotheses/[id]/page":[]}}
@@ -1 +1 @@
1
- (()=>{var e={};e.id=8204,e.ids=[8204],e.modules={2934:e=>{"use strict";e.exports=require("next/dist/client/components/action-async-storage.external.js")},4580:e=>{"use strict";e.exports=require("next/dist/client/components/request-async-storage.external.js")},5869:e=>{"use strict";e.exports=require("next/dist/client/components/static-generation-async-storage.external.js")},399:e=>{"use strict";e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},4770:e=>{"use strict";e.exports=require("crypto")},2048:e=>{"use strict";e.exports=require("fs")},5315:e=>{"use strict";e.exports=require("path")},651:(e,s,t)=>{"use strict";t.r(s),t.d(s,{GlobalError:()=>i.a,__next_app__:()=>x,originalPathname:()=>m,pages:()=>o,routeModule:()=>h,tree:()=>c}),t(5565),t(2029),t(5866);var a=t(3191),r=t(8716),l=t(7922),i=t.n(l),d=t(5231),n={};for(let e in d)0>["default","tree","pages","GlobalError","originalPathname","__next_app__","routeModule"].indexOf(e)&&(n[e]=()=>d[e]);t.d(s,n);let c=["",{children:["hypotheses",{children:["__PAGE__",{},{page:[()=>Promise.resolve().then(t.bind(t,5565)),"/Users/luismey/Code/vibebusiness/src/app/hypotheses/page.tsx"]}]},{}]},{layout:[()=>Promise.resolve().then(t.bind(t,2029)),"/Users/luismey/Code/vibebusiness/src/app/layout.tsx"],"not-found":[()=>Promise.resolve().then(t.t.bind(t,5866,23)),"next/dist/client/components/not-found-error"]}],o=["/Users/luismey/Code/vibebusiness/src/app/hypotheses/page.tsx"],m="/hypotheses/page",x={require:t,loadChunk:()=>Promise.resolve()},h=new a.AppPageRouteModule({definition:{kind:r.x.APP_PAGE,page:"/hypotheses/page",pathname:"/hypotheses",bundlePath:"",filename:"",appPaths:[]},userland:{loaderTree:c}})},2939:(e,s,t)=>{Promise.resolve().then(t.bind(t,502)),Promise.resolve().then(t.bind(t,1855))},4802:(e,s,t)=>{"use strict";t.d(s,{Z:()=>a});let a=(0,t(2881).Z)("Lightbulb",[["path",{d:"M15 14c.2-1 .7-1.7 1.5-2.5 1-.9 1.5-2.2 1.5-3.5A6 6 0 0 0 6 8c0 1 .2 2.2 1.5 3.5.7.7 1.3 1.5 1.5 2.5",key:"1gvzjb"}],["path",{d:"M9 18h6",key:"x1upvd"}],["path",{d:"M10 22h4",key:"ceow96"}]])},687:(e,s,t)=>{"use strict";t.d(s,{Z:()=>a});let a=(0,t(2881).Z)("ThumbsDown",[["path",{d:"M17 14V2",key:"8ymqnk"}],["path",{d:"M9 18.12 10 14H4.17a2 2 0 0 1-1.92-2.56l2.33-8A2 2 0 0 1 6.5 2H20a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2h-2.76a2 2 0 0 0-1.79 1.11L12 22a3.13 3.13 0 0 1-3-3.88Z",key:"m61m77"}]])},9593:(e,s,t)=>{"use strict";t.d(s,{Z:()=>a});let a=(0,t(2881).Z)("ThumbsUp",[["path",{d:"M7 10v12",key:"1qc93n"}],["path",{d:"M15 5.88 14 10h5.83a2 2 0 0 1 1.92 2.56l-2.33 8A2 2 0 0 1 17.5 22H4a2 2 0 0 1-2-2v-8a2 2 0 0 1 2-2h2.76a2 2 0 0 0 1.79-1.11L12 2a3.13 3.13 0 0 1 3 3.88Z",key:"emmmcr"}]])},1855:(e,s,t)=>{"use strict";t.d(s,{default:()=>m});var a=t(326),r=t(434),l=t(8258),i=t(9593),d=t(687),n=t(4802),c=t(1135),o=t(9526);function m({hypothesis:e}){let s=e.evidence_for.length,t=e.evidence_against.length;return a.jsx(r.default,{href:`/hypotheses/${e.id}`,children:(0,a.jsxs)("div",{className:"bg-white rounded-lg border border-slate-200 p-4 hover:border-amber-300 hover:shadow-md transition-all cursor-pointer",children:[(0,a.jsxs)("div",{className:"flex items-center justify-between mb-3",children:[a.jsx("span",{className:(0,c.Z)("inline-flex items-center gap-1.5 px-2 py-1 rounded-full text-xs font-medium border",o.lE[e.status]),children:o.R$[e.status]}),a.jsx("span",{className:(0,c.Z)("text-xs px-2 py-0.5 rounded-full",o.tl[e.funnel_stage]),children:o.PW[e.funnel_stage]})]}),(0,a.jsxs)("div",{className:"flex items-start gap-3 mb-3",children:[a.jsx("div",{className:"w-10 h-10 bg-amber-100 rounded-lg flex items-center justify-center flex-shrink-0",children:a.jsx(l.Z,{className:"w-5 h-5 text-amber-600"})}),(0,a.jsxs)("div",{className:"flex-1 min-w-0",children:[a.jsx("h3",{className:"font-semibold text-slate-900 text-base leading-tight mb-1",children:e.title}),a.jsx("p",{className:"text-sm text-slate-500 line-clamp-2",children:e.statement})]})]}),(0,a.jsxs)("div",{className:"flex items-center gap-4 mb-3",children:[(0,a.jsxs)("div",{className:"flex items-center gap-1.5 text-sm",children:[a.jsx(i.Z,{className:"w-3.5 h-3.5 text-emerald-500"}),a.jsx("span",{className:"text-emerald-700 font-medium",children:s}),a.jsx("span",{className:"text-slate-400",children:"for"})]}),(0,a.jsxs)("div",{className:"flex items-center gap-1.5 text-sm",children:[a.jsx(d.Z,{className:"w-3.5 h-3.5 text-red-500"}),a.jsx("span",{className:"text-red-700 font-medium",children:t}),a.jsx("span",{className:"text-slate-400",children:"against"})]})]}),(0,a.jsxs)("div",{className:"flex items-center justify-between pt-2 border-t border-slate-100",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[a.jsx("span",{className:"text-xs px-1.5 py-0.5 rounded bg-slate-100 text-slate-600 font-medium",children:o.bi[e.effort_to_test]}),a.jsx("span",{className:(0,c.Z)("text-xs px-1.5 py-0.5 rounded border",o.Gs[e.priority]),children:o.rF[e.priority]})]}),e.validation_ideas.length>0&&(0,a.jsxs)("span",{className:"text-xs text-amber-600 flex items-center gap-1",children:[a.jsx(n.Z,{className:"w-3 h-3"}),e.validation_ideas.length," idea",1!==e.validation_ideas.length?"s":""]})]})]})})}},7162:(e,s,t)=>{"use strict";t.d(s,{Z:()=>n});var a=t(1159);let r=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),l=(...e)=>e.filter((e,s,t)=>!!e&&t.indexOf(e)===s).join(" ");var i={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let d=(0,a.forwardRef)(({color:e="currentColor",size:s=24,strokeWidth:t=2,absoluteStrokeWidth:r,className:d="",children:n,iconNode:c,...o},m)=>(0,a.createElement)("svg",{ref:m,...i,width:s,height:s,stroke:e,strokeWidth:r?24*Number(t)/Number(s):t,className:l("lucide",d),...o},[...c.map(([e,s])=>(0,a.createElement)(e,s)),...Array.isArray(n)?n:[n]])),n=(e,s)=>{let t=(0,a.forwardRef)(({className:t,...i},n)=>(0,a.createElement)(d,{ref:n,iconNode:s,className:l(`lucide-${r(e)}`,t),...i}));return t.displayName=`${e}`,t}},8648:(e,s,t)=>{"use strict";t.d(s,{Z:()=>a});let a=(0,t(7162).Z)("CircleCheck",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]])},9268:(e,s,t)=>{"use strict";t.d(s,{Z:()=>a});let a=(0,t(7162).Z)("CircleX",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"m9 9 6 6",key:"z0biqf"}]])},4120:(e,s,t)=>{"use strict";t.d(s,{Z:()=>a});let a=(0,t(7162).Z)("Clock",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 16 14",key:"68esgv"}]])},5565:(e,s,t)=>{"use strict";t.r(s),t.d(s,{default:()=>b,dynamic:()=>p});var a=t(9510),r=t(7162);let l=(0,r.Z)("FlaskConical",[["path",{d:"M10 2v7.527a2 2 0 0 1-.211.896L4.72 20.55a1 1 0 0 0 .9 1.45h12.76a1 1 0 0 0 .9-1.45l-5.069-10.127A2 2 0 0 1 14 9.527V2",key:"pzvekw"}],["path",{d:"M8.5 2h7",key:"csnxdl"}],["path",{d:"M7 16h10",key:"wp8him"}]]);var i=t(4120);let d=(0,r.Z)("Beaker",[["path",{d:"M4.5 3h15",key:"c7n0jr"}],["path",{d:"M6 3v16a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V3",key:"m1uhx7"}],["path",{d:"M6 14h12",key:"4cwo0f"}]]);var n=t(8648),c=t(9268);let o=(0,r.Z)("CirclePause",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"10",x2:"10",y1:"15",y2:"9",key:"c1nkhi"}],["line",{x1:"14",x2:"14",y1:"15",y2:"9",key:"h65svq"}]]);var m=t(2548);let x=(0,t(8570).createProxy)(String.raw`/Users/luismey/Code/vibebusiness/src/components/HypothesisCard.tsx#default`);var h=t(534);let p="force-dynamic";function u({hypotheses:e}){let s={stated:0,testing:0,validated:0,invalidated:0,deferred:0};return e.forEach(e=>{s[e.status]++}),(0,a.jsxs)("div",{className:"grid grid-cols-2 md:grid-cols-6 gap-4 mb-6",children:[(0,a.jsxs)("div",{className:"bg-white rounded-lg border border-slate-200 p-4",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2 mb-1",children:[a.jsx(l,{className:"w-4 h-4 text-slate-400"}),a.jsx("span",{className:"text-xs text-slate-500 uppercase font-medium",children:"Total"})]}),a.jsx("p",{className:"text-2xl font-bold text-slate-900",children:e.length})]}),(0,a.jsxs)("div",{className:"bg-white rounded-lg border border-slate-200 p-4",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2 mb-1",children:[a.jsx(i.Z,{className:"w-4 h-4 text-slate-500"}),a.jsx("span",{className:"text-xs text-slate-500 uppercase font-medium",children:"Stated"})]}),a.jsx("p",{className:"text-2xl font-bold text-slate-600",children:s.stated})]}),(0,a.jsxs)("div",{className:"bg-white rounded-lg border border-slate-200 p-4",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2 mb-1",children:[a.jsx(d,{className:"w-4 h-4 text-amber-500"}),a.jsx("span",{className:"text-xs text-slate-500 uppercase font-medium",children:"Testing"})]}),a.jsx("p",{className:"text-2xl font-bold text-amber-600",children:s.testing})]}),(0,a.jsxs)("div",{className:"bg-white rounded-lg border border-slate-200 p-4",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2 mb-1",children:[a.jsx(n.Z,{className:"w-4 h-4 text-emerald-500"}),a.jsx("span",{className:"text-xs text-slate-500 uppercase font-medium",children:"Validated"})]}),a.jsx("p",{className:"text-2xl font-bold text-emerald-600",children:s.validated})]}),(0,a.jsxs)("div",{className:"bg-white rounded-lg border border-slate-200 p-4",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2 mb-1",children:[a.jsx(c.Z,{className:"w-4 h-4 text-red-500"}),a.jsx("span",{className:"text-xs text-slate-500 uppercase font-medium",children:"Invalidated"})]}),a.jsx("p",{className:"text-2xl font-bold text-red-600",children:s.invalidated})]}),(0,a.jsxs)("div",{className:"bg-white rounded-lg border border-slate-200 p-4",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2 mb-1",children:[a.jsx(o,{className:"w-4 h-4 text-slate-400"}),a.jsx("span",{className:"text-xs text-slate-500 uppercase font-medium",children:"Deferred"})]}),a.jsx("p",{className:"text-2xl font-bold text-slate-500",children:s.deferred})]})]})}async function b(){let e=await (0,h.c5)(),s={acquisition:0,engagement:1,conversion:2,monetization:3},t={critical:0,high:1,medium:2,low:3},r=[...e].sort((e,a)=>{let r=s[e.funnel_stage]-s[a.funnel_stage];return 0!==r?r:t[e.priority]-t[a.priority]});return a.jsx(m.Z,{children:(0,a.jsxs)("div",{className:"p-6",children:[a.jsx("div",{className:"flex items-center justify-between mb-6",children:(0,a.jsxs)("div",{children:[a.jsx("h1",{className:"text-2xl font-bold text-slate-900",children:"Business Hypotheses"}),a.jsx("p",{className:"text-sm text-slate-500 mt-1",children:"Validate assumptions before building — test cheaply, learn fast"})]})}),a.jsx(u,{hypotheses:e}),0===e.length?(0,a.jsxs)("div",{className:"bg-white rounded-lg border border-slate-200 p-12 text-center",children:[a.jsx(l,{className:"w-12 h-12 text-slate-300 mx-auto mb-4"}),a.jsx("h2",{className:"text-lg font-medium text-slate-900 mb-2",children:"No hypotheses yet"}),a.jsx("p",{className:"text-sm text-slate-500 mb-4",children:"Start by stating your business hypotheses to validate before building."})]}):a.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4",children:r.map(e=>a.jsx(x,{hypothesis:e},e.id))}),(0,a.jsxs)("div",{className:"mt-8 bg-slate-50 rounded-lg border border-slate-200 p-6",children:[a.jsx("h3",{className:"text-sm font-medium text-slate-900 mb-2",children:"About Hypothesis-Driven Validation"}),a.jsx("p",{className:"text-sm text-slate-600 mb-4",children:"Every business assumption is a hypothesis until validated. State your beliefs, gather evidence for and against, then design the cheapest possible test to prove or disprove them."}),(0,a.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-4 text-sm",children:[(0,a.jsxs)("div",{children:[a.jsx("h4",{className:"font-medium text-slate-700 mb-1",children:"State It"}),a.jsx("p",{className:"text-slate-500",children:"Write falsifiable “If X, then Y” statements with clear success criteria."})]}),(0,a.jsxs)("div",{children:[a.jsx("h4",{className:"font-medium text-slate-700 mb-1",children:"Test Cheaply"}),a.jsx("p",{className:"text-slate-500",children:"Find the smallest experiment that could invalidate the hypothesis."})]}),(0,a.jsxs)("div",{children:[a.jsx("h4",{className:"font-medium text-slate-700 mb-1",children:"Learn Fast"}),a.jsx("p",{className:"text-slate-500",children:"Validated hypotheses become strategy. Invalidated ones save you from wasted effort."})]})]})]})]})})}},2548:(e,s,t)=>{"use strict";t.d(s,{Z:()=>a});let a=(0,t(8570).createProxy)(String.raw`/Users/luismey/Code/vibebusiness/src/components/AnalystLayout.tsx#default`)}};var s=require("../../webpack-runtime.js");s.C(e);var t=e=>s(s.s=e),a=s.X(0,[9276,4471,9404,534,995],()=>t(651));module.exports=a})();
1
+ (()=>{var e={};e.id=8204,e.ids=[8204],e.modules={2934:e=>{"use strict";e.exports=require("next/dist/client/components/action-async-storage.external.js")},4580:e=>{"use strict";e.exports=require("next/dist/client/components/request-async-storage.external.js")},5869:e=>{"use strict";e.exports=require("next/dist/client/components/static-generation-async-storage.external.js")},399:e=>{"use strict";e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},4770:e=>{"use strict";e.exports=require("crypto")},2048:e=>{"use strict";e.exports=require("fs")},5315:e=>{"use strict";e.exports=require("path")},8851:(e,s,t)=>{"use strict";t.r(s),t.d(s,{GlobalError:()=>i.a,__next_app__:()=>x,originalPathname:()=>m,pages:()=>o,routeModule:()=>h,tree:()=>c}),t(5565),t(2029),t(5866);var a=t(3191),r=t(8716),l=t(7922),i=t.n(l),d=t(5231),n={};for(let e in d)0>["default","tree","pages","GlobalError","originalPathname","__next_app__","routeModule"].indexOf(e)&&(n[e]=()=>d[e]);t.d(s,n);let c=["",{children:["hypotheses",{children:["__PAGE__",{},{page:[()=>Promise.resolve().then(t.bind(t,5565)),"/Users/luismey/Code/vibebusiness/src/app/hypotheses/page.tsx"]}]},{}]},{layout:[()=>Promise.resolve().then(t.bind(t,2029)),"/Users/luismey/Code/vibebusiness/src/app/layout.tsx"],"not-found":[()=>Promise.resolve().then(t.t.bind(t,5866,23)),"next/dist/client/components/not-found-error"]}],o=["/Users/luismey/Code/vibebusiness/src/app/hypotheses/page.tsx"],m="/hypotheses/page",x={require:t,loadChunk:()=>Promise.resolve()},h=new a.AppPageRouteModule({definition:{kind:r.x.APP_PAGE,page:"/hypotheses/page",pathname:"/hypotheses",bundlePath:"",filename:"",appPaths:[]},userland:{loaderTree:c}})},2939:(e,s,t)=>{Promise.resolve().then(t.bind(t,502)),Promise.resolve().then(t.bind(t,1855))},4802:(e,s,t)=>{"use strict";t.d(s,{Z:()=>a});let a=(0,t(2881).Z)("Lightbulb",[["path",{d:"M15 14c.2-1 .7-1.7 1.5-2.5 1-.9 1.5-2.2 1.5-3.5A6 6 0 0 0 6 8c0 1 .2 2.2 1.5 3.5.7.7 1.3 1.5 1.5 2.5",key:"1gvzjb"}],["path",{d:"M9 18h6",key:"x1upvd"}],["path",{d:"M10 22h4",key:"ceow96"}]])},687:(e,s,t)=>{"use strict";t.d(s,{Z:()=>a});let a=(0,t(2881).Z)("ThumbsDown",[["path",{d:"M17 14V2",key:"8ymqnk"}],["path",{d:"M9 18.12 10 14H4.17a2 2 0 0 1-1.92-2.56l2.33-8A2 2 0 0 1 6.5 2H20a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2h-2.76a2 2 0 0 0-1.79 1.11L12 22a3.13 3.13 0 0 1-3-3.88Z",key:"m61m77"}]])},9593:(e,s,t)=>{"use strict";t.d(s,{Z:()=>a});let a=(0,t(2881).Z)("ThumbsUp",[["path",{d:"M7 10v12",key:"1qc93n"}],["path",{d:"M15 5.88 14 10h5.83a2 2 0 0 1 1.92 2.56l-2.33 8A2 2 0 0 1 17.5 22H4a2 2 0 0 1-2-2v-8a2 2 0 0 1 2-2h2.76a2 2 0 0 0 1.79-1.11L12 2a3.13 3.13 0 0 1 3 3.88Z",key:"emmmcr"}]])},1855:(e,s,t)=>{"use strict";t.d(s,{default:()=>m});var a=t(326),r=t(434),l=t(8258),i=t(9593),d=t(687),n=t(4802),c=t(1135),o=t(9526);function m({hypothesis:e}){let s=e.evidence_for.length,t=e.evidence_against.length;return a.jsx(r.default,{href:`/hypotheses/${e.id}`,children:(0,a.jsxs)("div",{className:"bg-white rounded-lg border border-slate-200 p-4 hover:border-amber-300 hover:shadow-md transition-all cursor-pointer",children:[(0,a.jsxs)("div",{className:"flex items-center justify-between mb-3",children:[a.jsx("span",{className:(0,c.Z)("inline-flex items-center gap-1.5 px-2 py-1 rounded-full text-xs font-medium border",o.lE[e.status]),children:o.R$[e.status]}),a.jsx("span",{className:(0,c.Z)("text-xs px-2 py-0.5 rounded-full",o.tl[e.funnel_stage]),children:o.PW[e.funnel_stage]})]}),(0,a.jsxs)("div",{className:"flex items-start gap-3 mb-3",children:[a.jsx("div",{className:"w-10 h-10 bg-amber-100 rounded-lg flex items-center justify-center flex-shrink-0",children:a.jsx(l.Z,{className:"w-5 h-5 text-amber-600"})}),(0,a.jsxs)("div",{className:"flex-1 min-w-0",children:[a.jsx("h3",{className:"font-semibold text-slate-900 text-base leading-tight mb-1",children:e.title}),a.jsx("p",{className:"text-sm text-slate-500 line-clamp-2",children:e.statement})]})]}),(0,a.jsxs)("div",{className:"flex items-center gap-4 mb-3",children:[(0,a.jsxs)("div",{className:"flex items-center gap-1.5 text-sm",children:[a.jsx(i.Z,{className:"w-3.5 h-3.5 text-emerald-500"}),a.jsx("span",{className:"text-emerald-700 font-medium",children:s}),a.jsx("span",{className:"text-slate-400",children:"for"})]}),(0,a.jsxs)("div",{className:"flex items-center gap-1.5 text-sm",children:[a.jsx(d.Z,{className:"w-3.5 h-3.5 text-red-500"}),a.jsx("span",{className:"text-red-700 font-medium",children:t}),a.jsx("span",{className:"text-slate-400",children:"against"})]})]}),(0,a.jsxs)("div",{className:"flex items-center justify-between pt-2 border-t border-slate-100",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[a.jsx("span",{className:"text-xs px-1.5 py-0.5 rounded bg-slate-100 text-slate-600 font-medium",children:o.bi[e.effort_to_test]}),a.jsx("span",{className:(0,c.Z)("text-xs px-1.5 py-0.5 rounded border",o.Gs[e.priority]),children:o.rF[e.priority]})]}),e.validation_ideas.length>0&&(0,a.jsxs)("span",{className:"text-xs text-amber-600 flex items-center gap-1",children:[a.jsx(n.Z,{className:"w-3 h-3"}),e.validation_ideas.length," idea",1!==e.validation_ideas.length?"s":""]})]})]})})}},7162:(e,s,t)=>{"use strict";t.d(s,{Z:()=>n});var a=t(1159);let r=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),l=(...e)=>e.filter((e,s,t)=>!!e&&t.indexOf(e)===s).join(" ");var i={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let d=(0,a.forwardRef)(({color:e="currentColor",size:s=24,strokeWidth:t=2,absoluteStrokeWidth:r,className:d="",children:n,iconNode:c,...o},m)=>(0,a.createElement)("svg",{ref:m,...i,width:s,height:s,stroke:e,strokeWidth:r?24*Number(t)/Number(s):t,className:l("lucide",d),...o},[...c.map(([e,s])=>(0,a.createElement)(e,s)),...Array.isArray(n)?n:[n]])),n=(e,s)=>{let t=(0,a.forwardRef)(({className:t,...i},n)=>(0,a.createElement)(d,{ref:n,iconNode:s,className:l(`lucide-${r(e)}`,t),...i}));return t.displayName=`${e}`,t}},8648:(e,s,t)=>{"use strict";t.d(s,{Z:()=>a});let a=(0,t(7162).Z)("CircleCheck",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]])},9268:(e,s,t)=>{"use strict";t.d(s,{Z:()=>a});let a=(0,t(7162).Z)("CircleX",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"m9 9 6 6",key:"z0biqf"}]])},4120:(e,s,t)=>{"use strict";t.d(s,{Z:()=>a});let a=(0,t(7162).Z)("Clock",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 16 14",key:"68esgv"}]])},5565:(e,s,t)=>{"use strict";t.r(s),t.d(s,{default:()=>b,dynamic:()=>p});var a=t(9510),r=t(7162);let l=(0,r.Z)("FlaskConical",[["path",{d:"M10 2v7.527a2 2 0 0 1-.211.896L4.72 20.55a1 1 0 0 0 .9 1.45h12.76a1 1 0 0 0 .9-1.45l-5.069-10.127A2 2 0 0 1 14 9.527V2",key:"pzvekw"}],["path",{d:"M8.5 2h7",key:"csnxdl"}],["path",{d:"M7 16h10",key:"wp8him"}]]);var i=t(4120);let d=(0,r.Z)("Beaker",[["path",{d:"M4.5 3h15",key:"c7n0jr"}],["path",{d:"M6 3v16a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V3",key:"m1uhx7"}],["path",{d:"M6 14h12",key:"4cwo0f"}]]);var n=t(8648),c=t(9268);let o=(0,r.Z)("CirclePause",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"10",x2:"10",y1:"15",y2:"9",key:"c1nkhi"}],["line",{x1:"14",x2:"14",y1:"15",y2:"9",key:"h65svq"}]]);var m=t(2548);let x=(0,t(8570).createProxy)(String.raw`/Users/luismey/Code/vibebusiness/src/components/HypothesisCard.tsx#default`);var h=t(6299);let p="force-dynamic";function u({hypotheses:e}){let s={stated:0,testing:0,validated:0,invalidated:0,deferred:0};return e.forEach(e=>{s[e.status]++}),(0,a.jsxs)("div",{className:"grid grid-cols-2 md:grid-cols-6 gap-4 mb-6",children:[(0,a.jsxs)("div",{className:"bg-white rounded-lg border border-slate-200 p-4",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2 mb-1",children:[a.jsx(l,{className:"w-4 h-4 text-slate-400"}),a.jsx("span",{className:"text-xs text-slate-500 uppercase font-medium",children:"Total"})]}),a.jsx("p",{className:"text-2xl font-bold text-slate-900",children:e.length})]}),(0,a.jsxs)("div",{className:"bg-white rounded-lg border border-slate-200 p-4",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2 mb-1",children:[a.jsx(i.Z,{className:"w-4 h-4 text-slate-500"}),a.jsx("span",{className:"text-xs text-slate-500 uppercase font-medium",children:"Stated"})]}),a.jsx("p",{className:"text-2xl font-bold text-slate-600",children:s.stated})]}),(0,a.jsxs)("div",{className:"bg-white rounded-lg border border-slate-200 p-4",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2 mb-1",children:[a.jsx(d,{className:"w-4 h-4 text-amber-500"}),a.jsx("span",{className:"text-xs text-slate-500 uppercase font-medium",children:"Testing"})]}),a.jsx("p",{className:"text-2xl font-bold text-amber-600",children:s.testing})]}),(0,a.jsxs)("div",{className:"bg-white rounded-lg border border-slate-200 p-4",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2 mb-1",children:[a.jsx(n.Z,{className:"w-4 h-4 text-emerald-500"}),a.jsx("span",{className:"text-xs text-slate-500 uppercase font-medium",children:"Validated"})]}),a.jsx("p",{className:"text-2xl font-bold text-emerald-600",children:s.validated})]}),(0,a.jsxs)("div",{className:"bg-white rounded-lg border border-slate-200 p-4",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2 mb-1",children:[a.jsx(c.Z,{className:"w-4 h-4 text-red-500"}),a.jsx("span",{className:"text-xs text-slate-500 uppercase font-medium",children:"Invalidated"})]}),a.jsx("p",{className:"text-2xl font-bold text-red-600",children:s.invalidated})]}),(0,a.jsxs)("div",{className:"bg-white rounded-lg border border-slate-200 p-4",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2 mb-1",children:[a.jsx(o,{className:"w-4 h-4 text-slate-400"}),a.jsx("span",{className:"text-xs text-slate-500 uppercase font-medium",children:"Deferred"})]}),a.jsx("p",{className:"text-2xl font-bold text-slate-500",children:s.deferred})]})]})}async function b(){let e=await (0,h.c5)(),s={acquisition:0,engagement:1,conversion:2,monetization:3},t={critical:0,high:1,medium:2,low:3},r=[...e].sort((e,a)=>{let r=s[e.funnel_stage]-s[a.funnel_stage];return 0!==r?r:t[e.priority]-t[a.priority]});return a.jsx(m.Z,{children:(0,a.jsxs)("div",{className:"p-6",children:[a.jsx("div",{className:"flex items-center justify-between mb-6",children:(0,a.jsxs)("div",{children:[a.jsx("h1",{className:"text-2xl font-bold text-slate-900",children:"Business Hypotheses"}),a.jsx("p",{className:"text-sm text-slate-500 mt-1",children:"Validate assumptions before building — test cheaply, learn fast"})]})}),a.jsx(u,{hypotheses:e}),0===e.length?(0,a.jsxs)("div",{className:"bg-white rounded-lg border border-slate-200 p-12 text-center",children:[a.jsx(l,{className:"w-12 h-12 text-slate-300 mx-auto mb-4"}),a.jsx("h2",{className:"text-lg font-medium text-slate-900 mb-2",children:"No hypotheses yet"}),a.jsx("p",{className:"text-sm text-slate-500 mb-4",children:"Start by stating your business hypotheses to validate before building."})]}):a.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4",children:r.map(e=>a.jsx(x,{hypothesis:e},e.id))}),(0,a.jsxs)("div",{className:"mt-8 bg-slate-50 rounded-lg border border-slate-200 p-6",children:[a.jsx("h3",{className:"text-sm font-medium text-slate-900 mb-2",children:"About Hypothesis-Driven Validation"}),a.jsx("p",{className:"text-sm text-slate-600 mb-4",children:"Every business assumption is a hypothesis until validated. State your beliefs, gather evidence for and against, then design the cheapest possible test to prove or disprove them."}),(0,a.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-4 text-sm",children:[(0,a.jsxs)("div",{children:[a.jsx("h4",{className:"font-medium text-slate-700 mb-1",children:"State It"}),a.jsx("p",{className:"text-slate-500",children:"Write falsifiable “If X, then Y” statements with clear success criteria."})]}),(0,a.jsxs)("div",{children:[a.jsx("h4",{className:"font-medium text-slate-700 mb-1",children:"Test Cheaply"}),a.jsx("p",{className:"text-slate-500",children:"Find the smallest experiment that could invalidate the hypothesis."})]}),(0,a.jsxs)("div",{children:[a.jsx("h4",{className:"font-medium text-slate-700 mb-1",children:"Learn Fast"}),a.jsx("p",{className:"text-slate-500",children:"Validated hypotheses become strategy. Invalidated ones save you from wasted effort."})]})]})]})]})})}},2548:(e,s,t)=>{"use strict";t.d(s,{Z:()=>a});let a=(0,t(8570).createProxy)(String.raw`/Users/luismey/Code/vibebusiness/src/components/AnalystLayout.tsx#default`)}};var s=require("../../webpack-runtime.js");s.C(e);var t=e=>s(s.s=e),a=s.X(0,[9276,4471,9404,6299,995],()=>t(8851));module.exports=a})();
@@ -1 +1 @@
1
- {"version":1,"files":["../../../../data/.DS_Store","../../../../data/.analysis-prompt.txt","../../../../data/.gitkeep","../../../../data/business-context.json","../../../../data/codebase-snapshot.json","../../../../data/competitors.json","../../../../data/config.json","../../../../data/copy/landing-improvements-2026-02-20.md","../../../../data/copy/landing-landing-page-2026-02-20.md","../../../../data/email-campaigns/sequences/onboarding.md","../../../../data/email-campaigns/welcome-2026-02-20.md","../../../../data/goals.json","../../../../data/heartbeat-sessions.json","../../../../data/hypotheses.json","../../../../data/ideas.json","../../../../data/implementations.json","../../../../data/investor-updates.json","../../../../data/marketplace-positioning.json","../../../../data/pages.json","../../../../data/payments.json","../../../../data/positioning.json","../../../../data/posthog.json","../../../../data/reports/.DS_Store","../../../../data/reports/visuals/idea-lp-og-meta-card.png","../../../../data/reports/visuals/idea-readme-landing-url-card.png","../../../../data/reports/visuals/idea-stripe-integration-card.png","../../../../data/reports/visuals/promo-launch.png","../../../../data/reports/visuals/promo-ship-fast.png","../../../../data/reports/visuals/promo-while-you-slept-v2.png","../../../../data/reports/visuals/promo-while-you-slept-v3.png","../../../../data/reports/visuals/promo-while-you-slept.png","../../../../data/roadmap.json","../../../../data/sessions.json","../../../../data/social.json","../../../../data/video-ideas.md","../../../../node_modules/next/dist/client/components/action-async-storage-instance.js","../../../../node_modules/next/dist/client/components/action-async-storage.external.js","../../../../node_modules/next/dist/client/components/async-local-storage.js","../../../../node_modules/next/dist/client/components/request-async-storage-instance.js","../../../../node_modules/next/dist/client/components/request-async-storage.external.js","../../../../node_modules/next/dist/client/components/static-generation-async-storage-instance.js","../../../../node_modules/next/dist/client/components/static-generation-async-storage.external.js","../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../node_modules/next/package.json","../../../../package.json","../../../package.json","../../chunks/4471.js","../../chunks/534.js","../../chunks/9276.js","../../chunks/9404.js","../../chunks/995.js","../../webpack-runtime.js","page_client-reference-manifest.js"]}
1
+ {"version":1,"files":["../../../../data/.DS_Store","../../../../data/.analysis-prompt.txt","../../../../data/.gitkeep","../../../../data/business-context.json","../../../../data/codebase-snapshot.json","../../../../data/competitors.json","../../../../data/config.json","../../../../data/copy/landing-improvements-2026-02-20.md","../../../../data/copy/landing-landing-page-2026-02-20.md","../../../../data/email-campaigns/sequences/onboarding.md","../../../../data/email-campaigns/welcome-2026-02-20.md","../../../../data/goals.json","../../../../data/heartbeat-sessions.json","../../../../data/hypotheses.json","../../../../data/ideas.json","../../../../data/implementations.json","../../../../data/investor-updates.json","../../../../data/marketplace-positioning.json","../../../../data/pages.json","../../../../data/payments.json","../../../../data/positioning.json","../../../../data/posthog.json","../../../../data/reports/.DS_Store","../../../../data/reports/visuals/idea-lp-og-meta-card.png","../../../../data/reports/visuals/idea-readme-landing-url-card.png","../../../../data/reports/visuals/idea-stripe-integration-card.png","../../../../data/reports/visuals/promo-launch.png","../../../../data/reports/visuals/promo-ship-fast.png","../../../../data/reports/visuals/promo-while-you-slept-v2.png","../../../../data/reports/visuals/promo-while-you-slept-v3.png","../../../../data/reports/visuals/promo-while-you-slept.png","../../../../data/roadmap.json","../../../../data/sessions.json","../../../../data/social.json","../../../../data/video-ideas.md","../../../../node_modules/next/dist/client/components/action-async-storage-instance.js","../../../../node_modules/next/dist/client/components/action-async-storage.external.js","../../../../node_modules/next/dist/client/components/async-local-storage.js","../../../../node_modules/next/dist/client/components/request-async-storage-instance.js","../../../../node_modules/next/dist/client/components/request-async-storage.external.js","../../../../node_modules/next/dist/client/components/static-generation-async-storage-instance.js","../../../../node_modules/next/dist/client/components/static-generation-async-storage.external.js","../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../node_modules/next/package.json","../../../../package.json","../../../package.json","../../chunks/4471.js","../../chunks/6299.js","../../chunks/9276.js","../../chunks/9404.js","../../chunks/995.js","../../webpack-runtime.js","page_client-reference-manifest.js"]}