(()=>{var e={};e.id=974,e.ids=[974],e.modules={643:e=>{"use strict";e.exports=require("node:perf_hooks")},1708:e=>{"use strict";e.exports=require("node:process")},3295:e=>{"use strict";e.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},4536:(e,t,s)=>{let{createProxy:r}=s(39844);e.exports=r("C:\\Users\\Ancient\\Documents\\GitHub\\intelli-wealth\\node_modules\\next\\dist\\client\\app-dir\\link.js")},4573:e=>{"use strict";e.exports=require("node:buffer")},7252:e=>{"use strict";e.exports=require("express")},10846:e=>{"use strict";e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},10974:(e,t,s)=>{"use strict";s.d(t,{cn:()=>n});var r=s(75986),i=s(8974);function n(...e){return(0,i.QP)((0,r.$)(e))}},14269:(e,t,s)=>{"use strict";s.r(t),s.d(t,{"4009da8f25d9356620d0f5e9dd95a3a817cf2b12aa":()=>r.x,"406f98e463c6dbcb8166f85fca804ff0e0772f227e":()=>u});var r=s(29894),i=s(91199);s(42087);var n=s(95427),a=s(37612),o=s(33331);let l=a.z.object({userBehavior:a.z.string().describe("A description of the user behavior on the website, including pages visited, time spent, and actions taken."),industryTrends:a.z.string().describe("Current industry trends related to financial inclusion and enterprise development."),availableContent:a.z.string().describe("A list of available content (blog posts, service offerings, project details) with brief descriptions, which can be used as context to generate relevant questions.")}),c=a.z.object({question:a.z.string().describe("A concise and relevant question the user can ask on WhatsApp for more information or engagement related to IntelliWealth Hub's offerings.")}),d=a.z.object({suggestedQuestions:a.z.array(c).describe("A list of suggested questions for WhatsApp.")});async function u(e){return x(e)}let m=n.ai.definePrompt({name:"suggestWhatsappQuestionsPrompt",input:{schema:l},output:{schema:d},prompt:`You are an AI assistant for IntelliWealth Hub. Your goal is to help users engage further by suggesting questions they can easily ask on WhatsApp.

Based on the user's website behavior, current industry trends, and IntelliWealth Hub's available content/services, generate 2-3 concise and relevant questions. These questions should encourage the user to seek more information or start a conversation related to IntelliWealth Hub's offerings.

User's behavior on the website:
{{userBehavior}}

Current industry trends:
{{industryTrends}}

Available IntelliWealth Hub content/services (use this as context for question topics):
{{availableContent}}

For each suggestion, provide only the question itself within the 'question' field.
Return the suggestions as an array of objects, under the 'suggestedQuestions' key.

Example of a single item in the 'suggestedQuestions' array:
{
  "question": "What are the first steps to digitize my VSLA group with IntelliWealth Hub?"
}
`}),x=n.ai.defineFlow({name:"suggestWhatsappQuestionsFlow",inputSchema:l,outputSchema:d},async e=>{let{output:t}=await m(e);return t});(0,o.D)([u]),(0,i.A)(u,"406f98e463c6dbcb8166f85fca804ff0e0772f227e",null)},14985:e=>{"use strict";e.exports=require("dns")},16141:e=>{"use strict";e.exports=require("node:zlib")},16698:e=>{"use strict";e.exports=require("node:async_hooks")},19063:e=>{"use strict";e.exports=require("require-in-the-middle")},19121:e=>{"use strict";e.exports=require("next/dist/server/app-render/action-async-storage.external.js")},19771:e=>{"use strict";e.exports=require("process")},21820:e=>{"use strict";e.exports=require("os")},21844:(e,t,s)=>{"use strict";s.r(t),s.d(t,{default:()=>h});var r=s(37413),i=s(4536),n=s.n(i),a=s(23469),o=s(78963);let l=(0,s(3515).A)("ArrowRight",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]);var c=s(34509);function d(){return(0,r.jsx)("section",{className:"py-20 md:py-32 bg-gradient-to-b from-background to-primary/5",children:(0,r.jsxs)("div",{className:"container mx-auto px-4 text-center",children:[(0,r.jsx)("h1",{className:"text-4xl md:text-5xl lg:text-6xl font-bold text-primary mb-6 text-shadow-primary",children:c.C3}),(0,r.jsx)("p",{className:"text-xl md:text-2xl text-foreground mb-4 max-w-3xl mx-auto",children:"Empowering Communities, Driving Sustainable Growth in East Africa."}),(0,r.jsx)("p",{className:"text-lg text-muted-foreground mb-10 max-w-2xl mx-auto",children:"We specialize in financial inclusion, enterprise development, and experiential marketing, with a focus on empowering women and youth through financial literacy, agribusiness training, and innovative digital solutions."}),(0,r.jsxs)("div",{className:"flex flex-col sm:flex-row justify-center gap-4",children:[(0,r.jsx)(a.$,{asChild:!0,size:"lg",className:"text-lg px-8 py-6",children:(0,r.jsxs)(n(),{href:"/services",children:["Explore Our Services ",(0,r.jsx)(l,{className:"ml-2 h-5 w-5"})]})}),(0,r.jsx)(a.$,{asChild:!0,variant:"outline",size:"lg",className:"text-lg px-8 py-6",children:(0,r.jsx)(n(),{href:"/about",children:"Learn More About Us"})})]})]})})}var u=s(34852),m=s(45731),x=s(28227),p=s(13004);async function h(){let e=await (0,p.Kc)(3);return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(d,{}),(0,r.jsx)("section",{className:"py-16 lg:py-24 bg-background",children:(0,r.jsxs)("div",{className:"container mx-auto px-4",children:[(0,r.jsxs)("div",{className:"text-center mb-12",children:[(0,r.jsx)("h2",{className:"text-3xl lg:text-4xl font-bold text-foreground",children:"Our Core Services"}),(0,r.jsx)("p",{className:"mt-4 text-lg text-muted-foreground max-w-2xl mx-auto",children:"Driving impact through specialized expertise in enterprise development, financial inclusion, digital innovation, and experiential marketing."})]}),(0,r.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-8",children:c.Rl.map(e=>(0,r.jsxs)(o.Zp,{className:"flex flex-col shadow-md hover:shadow-lg transition-shadow duration-300",children:[(0,r.jsxs)(o.aR,{className:"items-center text-center",children:[e.icon&&(0,r.jsx)(e.icon,{className:"h-12 w-12 text-primary mb-4"}),(0,r.jsx)(o.ZB,{className:"text-xl text-primary text-shadow-primary",children:e.title})]}),(0,r.jsxs)(o.Wu,{className:"flex-grow text-center",children:[(0,r.jsx)("p",{className:"text-sm text-muted-foreground mb-4",children:e.description}),(0,r.jsx)(a.$,{variant:"link",asChild:!0,className:"text-primary",children:(0,r.jsxs)(n(),{href:`/services#${e.id}`,children:["Learn More ",(0,r.jsx)(l,{className:"ml-2 h-4 w-4"})]})})]})]},e.id))})]})}),(0,r.jsx)("section",{className:"py-16 lg:py-24 bg-muted/30",children:(0,r.jsxs)("div",{className:"container mx-auto px-4",children:[(0,r.jsxs)("div",{className:"text-center mb-12",children:[(0,r.jsx)("h2",{className:"text-3xl lg:text-4xl font-bold text-foreground",children:"Making a Difference"}),(0,r.jsxs)("p",{className:"mt-4 text-lg text-muted-foreground max-w-2xl mx-auto",children:["Discover how ",c.C3," creates lasting impact through collaborative projects and innovative solutions."]})]}),e.length>0?(0,r.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8",children:e.map(e=>(0,r.jsx)(x.U,{project:e},e.id))}):(0,r.jsx)("p",{className:"text-center text-muted-foreground",children:"No projects to display at the moment. Check back soon!"}),(0,r.jsx)("div",{className:"text-center mt-12",children:(0,r.jsx)(a.$,{asChild:!0,size:"lg",children:(0,r.jsxs)(n(),{href:"/projects",children:["View All Projects ",(0,r.jsx)(l,{className:"ml-2 h-5 w-5"})]})})})]})}),(0,r.jsx)("section",{className:"py-16 lg:py-24 bg-background",children:(0,r.jsxs)("div",{className:"container mx-auto px-4",children:[(0,r.jsxs)("div",{className:"text-center mb-12",children:[(0,r.jsx)("h2",{className:"text-3xl lg:text-4xl font-bold text-foreground",children:"Want to Know More?"}),(0,r.jsx)("p",{className:"mt-4 text-lg text-muted-foreground max-w-2xl mx-auto",children:"Here are some questions you can ask us directly on WhatsApp."})]}),(0,r.jsx)("div",{className:"max-w-3xl mx-auto",children:(0,r.jsx)(m.DynamicContentSuggestions,{})})]})}),(0,r.jsx)("section",{className:"py-16 lg:py-24 bg-primary/10",children:(0,r.jsx)("div",{className:"container mx-auto px-4",children:(0,r.jsxs)("div",{className:"max-w-xl mx-auto text-center",children:[(0,r.jsx)("h2",{className:"text-3xl lg:text-4xl font-bold text-primary mb-4 text-shadow-primary",children:"Stay Updated"}),(0,r.jsxs)("p",{className:"text-lg text-muted-foreground mb-8",children:["Subscribe to our newsletter for the latest insights, news, and project updates from ",c.C3,"."]}),(0,r.jsx)(u.NewsletterForm,{})]})})})]})}},23469:(e,t,s)=>{"use strict";s.d(t,{$:()=>c});var r=s(37413),i=s(61120),n=s(70403),a=s(50662),o=s(10974);let l=(0,a.F)("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90 shadow-md shadow-primary/50",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",outline:"border border-input bg-background hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-10 px-4 py-2",sm:"h-9 rounded-md px-3",lg:"h-11 rounded-md px-8",icon:"h-10 w-10"}},defaultVariants:{variant:"default",size:"default"}}),c=i.forwardRef(({className:e,variant:t,size:s,asChild:i=!1,...a},c)=>{let d=i?n.DX:"button";return(0,r.jsx)(d,{className:(0,o.cn)(l({variant:t,size:s,className:e})),ref:c,...a})});c.displayName="Button"},27910:e=>{"use strict";e.exports=require("stream")},28227:(e,t,s)=>{"use strict";s.d(t,{U:()=>d});var r=s(37413),i=s(53384),n=s(78963),a=s(23469),o=s(38460),l=s(4536),c=s.n(l);function d({project:e}){return(0,r.jsxs)(n.Zp,{className:"flex flex-col h-full overflow-hidden shadow-lg hover:shadow-xl transition-shadow duration-300",children:[(0,r.jsx)("div",{className:"relative w-full h-48",children:(0,r.jsx)(i.default,{src:e.imageUrl,alt:e.title,fill:!0,style:{objectFit:"cover"},"data-ai-hint":e.imageHint})}),(0,r.jsxs)(n.aR,{children:[(0,r.jsx)(n.ZB,{className:"text-xl font-semibold text-primary text-shadow-primary",children:e.title}),(0,r.jsxs)(n.BT,{children:["In collaboration with ",(0,r.jsx)("span",{className:"font-medium text-foreground",children:e.organization})]})]}),(0,r.jsxs)(n.Wu,{className:"flex-grow",children:[(0,r.jsx)("p",{className:"text-sm text-muted-foreground mb-3 line-clamp-3",children:e.description}),(0,r.jsxs)("div",{className:"space-y-1",children:[(0,r.jsx)("h4",{className:"text-xs font-semibold uppercase text-foreground/80",children:"Key Impacts:"}),e.impact.slice(0,2).map((e,t)=>(0,r.jsxs)("p",{className:"text-xs text-muted-foreground",children:["• ",e]},t)),e.impact.length>2&&(0,r.jsx)("p",{className:"text-xs text-muted-foreground",children:"• and more..."})]})]}),(0,r.jsx)(n.wL,{children:(0,r.jsx)(a.$,{variant:"outline",size:"sm",asChild:!0,className:"text-accent border-accent hover:bg-accent/10",children:(0,r.jsxs)(c(),{href:`/projects/${e.id}`,"aria-label":`Learn more about project ${e.title}`,children:["Learn More ",(0,r.jsx)(o.A,{className:"ml-1 h-4 w-4"})]})})})]})}},28354:e=>{"use strict";e.exports=require("util")},29021:e=>{"use strict";e.exports=require("fs")},29294:e=>{"use strict";e.exports=require("next/dist/server/app-render/work-async-storage.external.js")},33873:e=>{"use strict";e.exports=require("path")},34631:e=>{"use strict";e.exports=require("tls")},34852:(e,t,s)=>{"use strict";s.d(t,{NewsletterForm:()=>r});let r=(0,s(12907).registerClientReference)(function(){throw Error("Attempted to call NewsletterForm() from the server but NewsletterForm is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"C:\\Users\\Ancient\\Documents\\GitHub\\intelli-wealth\\src\\components\\shared\\newsletter-form.tsx","NewsletterForm")},37067:e=>{"use strict";e.exports=require("node:http")},37830:e=>{"use strict";e.exports=require("node:stream/web")},38460:(e,t,s)=>{"use strict";s.d(t,{A:()=>r});let r=(0,s(3515).A)("ChevronRight",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]])},44708:e=>{"use strict";e.exports=require("node:https")},45731:(e,t,s)=>{"use strict";s.d(t,{DynamicContentSuggestions:()=>r});let r=(0,s(12907).registerClientReference)(function(){throw Error("Attempted to call DynamicContentSuggestions() from the server but DynamicContentSuggestions is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"C:\\Users\\Ancient\\Documents\\GitHub\\intelli-wealth\\src\\components\\shared\\dynamic-content-suggestions.tsx","DynamicContentSuggestions")},50662:(e,t,s)=>{"use strict";s.d(t,{F:()=>a});var r=s(75986);let i=e=>"boolean"==typeof e?`${e}`:0===e?"0":e,n=r.$,a=(e,t)=>s=>{var r;if((null==t?void 0:t.variants)==null)return n(e,null==s?void 0:s.class,null==s?void 0:s.className);let{variants:a,defaultVariants:o}=t,l=Object.keys(a).map(e=>{let t=null==s?void 0:s[e],r=null==o?void 0:o[e];if(null===t)return null;let n=i(t)||i(r);return a[e][n]}),c=s&&Object.entries(s).reduce((e,t)=>{let[s,r]=t;return void 0===r||(e[s]=r),e},{});return n(e,l,null==t?void 0:null===(r=t.compoundVariants)||void 0===r?void 0:r.reduce((e,t)=>{let{class:s,className:r,...i}=t;return Object.entries(i).every(e=>{let[t,s]=e;return Array.isArray(s)?s.includes({...o,...c}[t]):({...o,...c})[t]===s})?[...e,s,r]:e},[]),null==s?void 0:s.class,null==s?void 0:s.className)}},54489:(e,t,s)=>{"use strict";s.d(t,{NewsletterForm:()=>f});var r=s(60687),i=s(27605),n=s(43210),a=s(63442),o=s(45880),l=s(29523),c=s(89667),d=s(29867),u=s(6475);let m=(0,u.createServerReference)("60e903384aa8c03cf48837f5ef17ed9c6e39405957",u.callServer,void 0,u.findSourceMapURL,"subscribeToNewsletter"),x=(0,s(82614).A)("Mail",[["rect",{width:"20",height:"16",x:"2",y:"4",rx:"2",key:"18n3k1"}],["path",{d:"m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7",key:"1ocrg3"}]]),p=o.z.object({email:o.z.string().email({message:"Please enter a valid email address."})}),h={message:""};function f(){let{toast:e}=(0,d.dj)(),[t,s]=(0,n.useActionState)(m,h),o=(0,i.mN)({resolver:(0,a.u)(p),defaultValues:{email:""}});return(0,r.jsxs)("form",{action:s,onSubmit:o.handleSubmit(()=>{}),className:"flex flex-col sm:flex-row gap-2 w-full max-w-md",children:[(0,r.jsxs)("div",{className:"relative flex-grow",children:[(0,r.jsx)(x,{className:"absolute left-3 top-1/2 -translate-y-1/2 h-5 w-5 text-muted-foreground"}),(0,r.jsx)(c.p,{...o.register("email"),type:"email",name:"email",placeholder:"Enter your email address","aria-label":"Email address for newsletter",className:"pl-10 h-12 text-base"})]}),(0,r.jsx)(l.$,{type:"submit",size:"lg",className:"h-12 text-base",disabled:o.formState.isSubmitting,children:o.formState.isSubmitting?"Subscribing...":"Subscribe"}),o.formState.errors.email&&(0,r.jsx)("p",{className:"text-sm text-destructive mt-1 sm:col-span-2",children:o.formState.errors.email.message}),t.errors?.email&&!o.formState.errors.email&&(0,r.jsx)("p",{className:"text-sm text-destructive mt-1 sm:col-span-2",children:t.errors.email[0]})]})}},55511:e=>{"use strict";e.exports=require("crypto")},55591:e=>{"use strict";e.exports=require("https")},56801:e=>{"use strict";e.exports=require("import-in-the-middle")},57075:e=>{"use strict";e.exports=require("node:stream")},57975:e=>{"use strict";e.exports=require("node:util")},63033:e=>{"use strict";e.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},66845:(e,t,s)=>{Promise.resolve().then(s.t.bind(s,4536,23)),Promise.resolve().then(s.t.bind(s,49603,23)),Promise.resolve().then(s.bind(s,45731)),Promise.resolve().then(s.bind(s,34852))},70403:(e,t,s)=>{"use strict";s.d(t,{DX:()=>a});var r=s(61120);function i(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}var n=s(37413),a=r.forwardRef((e,t)=>{let{children:s,...i}=e,a=r.Children.toArray(s),l=a.find(c);if(l){let e=l.props.children,s=a.map(t=>t!==l?t:r.Children.count(e)>1?r.Children.only(null):r.isValidElement(e)?e.props.children:null);return(0,n.jsx)(o,{...i,ref:t,children:r.isValidElement(e)?r.cloneElement(e,void 0,s):null})}return(0,n.jsx)(o,{...i,ref:t,children:s})});a.displayName="Slot";var o=r.forwardRef((e,t)=>{let{children:s,...n}=e;if(r.isValidElement(s)){let e=function(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,s=t&&"isReactWarning"in t&&t.isReactWarning;return s?e.ref:(s=(t=Object.getOwnPropertyDescriptor(e,"ref")?.get)&&"isReactWarning"in t&&t.isReactWarning)?e.props.ref:e.props.ref||e.ref}(s),a=function(e,t){let s={...t};for(let r in t){let i=e[r],n=t[r];/^on[A-Z]/.test(r)?i&&n?s[r]=(...e)=>{n(...e),i(...e)}:i&&(s[r]=i):"style"===r?s[r]={...i,...n}:"className"===r&&(s[r]=[i,n].filter(Boolean).join(" "))}return{...e,...s}}(n,s.props);return s.type!==r.Fragment&&(a.ref=t?function(...e){return t=>{let s=!1,r=e.map(e=>{let r=i(e,t);return s||"function"!=typeof r||(s=!0),r});if(s)return()=>{for(let t=0;t<r.length;t++){let s=r[t];"function"==typeof s?s():i(e[t],null)}}}}(t,e):e),r.cloneElement(s,a)}return r.Children.count(s)>1?r.Children.only(null):null});o.displayName="SlotClone";var l=({children:e})=>(0,n.jsx)(n.Fragment,{children:e});function c(e){return r.isValidElement(e)&&e.type===l}},70440:(e,t,s)=>{"use strict";s.r(t),s.d(t,{default:()=>i});var r=s(31658);let i=async e=>[{type:"image/x-icon",sizes:"16x16",url:(0,r.fillMetadataSegment)(".",await e.params,"favicon.ico")+""}]},73024:e=>{"use strict";e.exports=require("node:fs")},73136:e=>{"use strict";e.exports=require("node:url")},73496:e=>{"use strict";e.exports=require("http2")},73566:e=>{"use strict";e.exports=require("worker_threads")},74075:e=>{"use strict";e.exports=require("zlib")},74998:e=>{"use strict";e.exports=require("perf_hooks")},76760:e=>{"use strict";e.exports=require("node:path")},77030:e=>{"use strict";e.exports=require("node:net")},77598:e=>{"use strict";e.exports=require("node:crypto")},78963:(e,t,s)=>{"use strict";s.d(t,{BT:()=>c,Wu:()=>d,ZB:()=>l,Zp:()=>a,aR:()=>o,wL:()=>u});var r=s(37413),i=s(61120),n=s(10974);let a=i.forwardRef(({className:e,...t},s)=>(0,r.jsx)("div",{ref:s,className:(0,n.cn)("rounded-lg border bg-card text-card-foreground shadow-sm",e),...t}));a.displayName="Card";let o=i.forwardRef(({className:e,...t},s)=>(0,r.jsx)("div",{ref:s,className:(0,n.cn)("flex flex-col space-y-1.5 p-6",e),...t}));o.displayName="CardHeader";let l=i.forwardRef(({className:e,...t},s)=>(0,r.jsx)("div",{ref:s,className:(0,n.cn)("text-2xl font-semibold leading-none tracking-tight",e),...t}));l.displayName="CardTitle";let c=i.forwardRef(({className:e,...t},s)=>(0,r.jsx)("div",{ref:s,className:(0,n.cn)("text-sm text-muted-foreground",e),...t}));c.displayName="CardDescription";let d=i.forwardRef(({className:e,...t},s)=>(0,r.jsx)("div",{ref:s,className:(0,n.cn)("p-6 pt-0",e),...t}));d.displayName="CardContent";let u=i.forwardRef(({className:e,...t},s)=>(0,r.jsx)("div",{ref:s,className:(0,n.cn)("flex items-center p-6 pt-0",e),...t}));u.displayName="CardFooter"},79428:e=>{"use strict";e.exports=require("buffer")},79551:e=>{"use strict";e.exports=require("url")},79646:e=>{"use strict";e.exports=require("child_process")},79748:e=>{"use strict";e.exports=require("fs/promises")},81630:e=>{"use strict";e.exports=require("http")},84297:e=>{"use strict";e.exports=require("async_hooks")},91645:e=>{"use strict";e.exports=require("net")},93056:(e,t,s)=>{"use strict";s.r(t),s.d(t,{GlobalError:()=>a.a,__next_app__:()=>u,pages:()=>d,routeModule:()=>m,tree:()=>c});var r=s(65239),i=s(48088),n=s(88170),a=s.n(n),o=s(30893),l={};for(let e in o)0>["default","tree","pages","GlobalError","__next_app__","routeModule"].indexOf(e)&&(l[e]=()=>o[e]);s.d(t,l);let c={children:["",{children:["__PAGE__",{},{page:[()=>Promise.resolve().then(s.bind(s,21844)),"C:\\Users\\Ancient\\Documents\\GitHub\\intelli-wealth\\src\\app\\page.tsx"],metadata:{icon:[async e=>(await Promise.resolve().then(s.bind(s,70440))).default(e)],apple:[],openGraph:[],twitter:[],manifest:void 0}}]},{layout:[()=>Promise.resolve().then(s.bind(s,94431)),"C:\\Users\\Ancient\\Documents\\GitHub\\intelli-wealth\\src\\app\\layout.tsx"],"not-found":[()=>Promise.resolve().then(s.t.bind(s,57398,23)),"next/dist/client/components/not-found-error"],forbidden:[()=>Promise.resolve().then(s.t.bind(s,89999,23)),"next/dist/client/components/forbidden-error"],unauthorized:[()=>Promise.resolve().then(s.t.bind(s,65284,23)),"next/dist/client/components/unauthorized-error"],metadata:{icon:[async e=>(await Promise.resolve().then(s.bind(s,70440))).default(e)],apple:[],openGraph:[],twitter:[],manifest:void 0}}]}.children,d=["C:\\Users\\Ancient\\Documents\\GitHub\\intelli-wealth\\src\\app\\page.tsx"],u={require:s,loadChunk:()=>Promise.resolve()},m=new r.AppPageRouteModule({definition:{kind:i.RouteKind.APP_PAGE,page:"/page",pathname:"/",bundlePath:"",filename:"",appPaths:[]},userland:{loaderTree:c}})},94461:(e,t,s)=>{Promise.resolve().then(s.t.bind(s,85814,23)),Promise.resolve().then(s.t.bind(s,46533,23)),Promise.resolve().then(s.bind(s,95774)),Promise.resolve().then(s.bind(s,54489))},94735:e=>{"use strict";e.exports=require("events")},95774:(e,t,s)=>{"use strict";s.d(t,{DynamicContentSuggestions:()=>v});var r=s(60687),i=s(43210),n=s(44493),a=s(29523),o=s(60368),l=s(82614);let c=(0,l.A)("MessageSquare",[["path",{d:"M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z",key:"1lielz"}]]),d=(0,l.A)("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"}]]);var u=s(6475);let m=(0,u.createServerReference)("406f98e463c6dbcb8166f85fca804ff0e0772f227e",u.callServer,void 0,u.findSourceMapURL,"suggestWhatsappQuestions");var x=s(7791),p=s(4780);function h({className:e,...t}){return(0,r.jsx)("div",{className:(0,p.cn)("animate-pulse rounded-md bg-muted",e),...t})}var f=s(85814),g=s.n(f);function v(){let[e,t]=(0,i.useState)(null),[s,l]=(0,i.useState)(!0),[u,p]=(0,i.useState)(null),f=async()=>{l(!0),p(null),t(null);try{let e=x.H1.map(e=>`${e.type}: ${e.title} - ${e.description}`).join("\n"),s={userBehavior:x.Cl,industryTrends:x.Pg,availableContent:e},r=await m(s);t(r.suggestedQuestions)}catch(e){console.error("Error fetching content suggestions:",e),p("Failed to load suggestions. Please try again.")}finally{l(!1)}};return(0,r.jsxs)(n.Zp,{className:"shadow-lg",children:[(0,r.jsxs)(n.aR,{className:"flex flex-row items-center justify-between",children:[(0,r.jsxs)("div",{className:"flex items-center",children:[(0,r.jsx)(c,{className:"h-6 w-6 text-primary mr-3"}),(0,r.jsxs)("div",{children:[(0,r.jsx)(n.ZB,{className:"text-xl",children:"Suggested Questions"}),(0,r.jsx)(n.BT,{children:"Tap a button to ask us on WhatsApp."})]})]}),(0,r.jsx)(a.$,{variant:"ghost",size:"icon",onClick:f,disabled:s,"aria-label":"Refresh suggestions",children:(0,r.jsx)(d,{className:`h-5 w-5 ${s?"animate-spin":""}`})})]}),(0,r.jsxs)(n.Wu,{children:[s&&(0,r.jsx)("div",{className:"space-y-4",children:[1,2].map((e,t)=>(0,r.jsx)("div",{className:"p-4 border rounded-lg",children:(0,r.jsxs)("div",{className:"flex flex-col sm:flex-row items-start sm:items-center justify-between gap-3",children:[(0,r.jsx)(h,{className:"h-5 w-3/4"}),(0,r.jsx)(h,{className:"h-9 w-full sm:w-36"})]})},t))}),u&&(0,r.jsx)("p",{className:"text-destructive text-sm",children:u}),!s&&!u&&(e&&0!==e.length?(0,r.jsx)("ul",{className:"space-y-4",children:e.map((e,t)=>(0,r.jsx)("li",{className:"p-4 border rounded-lg shadow-sm hover:shadow-md transition-shadow bg-card",children:(0,r.jsxs)("div",{className:"flex flex-col sm:flex-row items-start sm:items-center justify-between gap-3",children:[(0,r.jsx)("p",{className:"text-md text-foreground flex-grow",children:e.question}),(0,r.jsx)(a.$,{asChild:!0,size:"sm",variant:"outline",className:"flex-shrink-0 w-full sm:w-auto",children:(0,r.jsxs)(g(),{href:`https://wa.me/?text=${encodeURIComponent(e.question)}`,target:"_blank",rel:"noopener noreferrer","aria-label":`Ask this question on WhatsApp: ${e.question}`,children:["Ask on WhatsApp",(0,r.jsx)(o.A,{className:"ml-2 h-4 w-4"})]})})]})},t))}):(0,r.jsx)("p",{className:"text-muted-foreground text-sm",children:"No specific questions available at the moment. Explore our site to discover more!"}))]})]})}}};var t=require("../webpack-runtime.js");t.C(e);var s=e=>t(t.s=e),r=t.X(0,[447,755,353,658,17,105,384,4,36],()=>s(93056));module.exports=r})();